/* ---------------------------------------------------------------------
   Maktoob — Core Design Tokens & Global Utilities
   author:   Islam Nasser
   Version:  1.0  •  28‑Apr‑2025
   ---------------------------------------------------------------------
   ✦ HOW TO USE
   1.  Import _after_ any framework (e.g. Bootstrap) so these variables can
       override its defaults.
   2.  Reference in components with:  var(--color‑name)
   3.  Extend or modify the palette as the brand evolves.
   --------------------------------------------------------------------- */

/***** 1. ROOT COLOR TOKENS *************************************************/
:root {
    /* === Brand (Red) ======================================================= */
    --color-primary: #EE2937;
    /* base */
    --color-primary-light: #F65A66;
    /* tint  @+10% */
    --color-primary-dark: #C9202D;
    /* shade @‑15% */
    --background-color-primary: hsl(356 85% 96% / 1);

    --color-primary-border: hsl(356 85% 90% / 1);
    /* === Secondary / Accent (Blue) ======================================== */
    --color-secondary: #019ECF;
    --color-secondary-hover: #0179A0;


    /* === Neutral Greys ===================================================== */
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F2F2F2;
    /* cards */
    --color-gray-200: #E5E7EB;
    /* borders */
    --color-gray-300: #D1D5DB;
    /* strokes */
    --color-muted: #6C7A99;
    /* secondary text */
    --color-dark: #000000;
    /* primary text */

    /* === Semantic States =================================================== */
    --color-success: #28C76F;
    --color-danger: #EF4444;
    --color-warning: #F59E0B;
    --color-info: #06B6D4;

    --panel-bg: rgba(255, 255, 255, 0.72);
    --panel-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    --panel-radius: 12px;
    --tag-pill-hover: var(--color-primary);
    --tag-pill-bg: #f5f5f5;
    --tag-pill-color: var(--color-dark);
    --transition-speed: 0.3s;

    --pagination-gap: 0.5rem;
    --pagination-size: 2.5rem;
    --pagination-bg: #f2f2f2;
    --pagination-hover: #EE2937;
    --pagination-active: #EE2937;
    --pagination-color: #333;
    --pagination-color-inverse: #fff;
}

/***** 2. GLOBAL RESET ******************************************************/
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
}

.container {
    max-width: 1140px;
}

/***** 3. TYPOGRAPHY ********************************************************/
@font-face {
    font-family: "OpenSans-Regular";
    src: url(../fonts/en/Open_Sans/OpenSans-Regular.ttf);
}

@font-face {
    font-family: "OpenSans-SemiBold";
    src: url(../fonts/en/Open_Sans/OpenSans-SemiBold.ttf);

}

@font-face {
    font-family: "OpenSans-Bold";
    src: url(../fonts/en/Open_Sans/OpenSans-Bold.ttf);

}

@font-face {
    font-family: "CrimsonText-Regular";
    src: url(../fonts/en/Crimson_Text/CrimsonText-Regular.ttf);
}

@font-face {
    font-family: "CrimsonText-SemiBold";
    src: url(../fonts/en/Crimson_Text/CrimsonText-SemiBold.ttf);
}

@font-face {
    font-family: "CrimsonText-Bold";
    src: url(../fonts/en/Crimson_Text/CrimsonText-Bold.ttf);
}


body {
    font-family: "OpenSans-Regular";
    color: var(--color-dark);
    line-height: 1.5;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "CrimsonText-Bold";

    margin: 0;
    line-height: 1.3;
    color: var(--color-dark);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.3rem;
}

p {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;

}

/***** 4. UTILITIES *********************************************************/
.text-muted {
    color: var(--color-muted) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/***** 5. BUTTONS ***********************************************************/
.btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: .5rem;
    padding: .5rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
    cursor: pointer;
}

/* Primary */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    -webkit-transition: background-color .3s ease, border-color .3s ease;
    -o-transition: background-color .3s ease, border-color .3s ease;
    transition: background-color .3s ease, border-color .3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* Secondary */
.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    -webkit-transition: background-color .3s ease, border-color .3s ease;
    -o-transition: background-color .3s ease, border-color .3s ease;
    transition: background-color .3s ease, border-color .3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
}

.btn-outline-secondary {
    background-color: rgba(235, 242, 255, .37);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    -webkit-transition: background-color .3s ease, border-color .3s ease;
    -o-transition: background-color .3s ease, border-color .3s ease;
    transition: background-color .3s ease, border-color .3s ease;
}

.border-danger {
    border-color: var(--color-danger) !important;
}

.text-danger {
    color: var(--color-danger) !important;
}

/***** 6. OVERLAYS **********************************************************/
.col-middle .overlay {
    background: rgba(0, 0, 0, .6);
    color: var(--color-white);
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
}

/***** 7. LIST & IMAGE RESET ***********************************************/
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* END OF FILE */
/* =====================  Header / Navbar  ===================== */
.site-header {
    background: var(--color-white);
    position: relative;
    z-index: 100;
}

.header-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

/* ---------- Brand ---------- */
.brand {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.brand__mark {
    width: 180px;
    -o-object-fit: contain;
    object-fit: contain;
}

/* ---------- Menu Toggle (Mobile) ---------- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--color-dark);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

/* ---------- Main Nav ---------- */
.primary-nav {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.primary-nav ul {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    display: inline-block;
    padding: 0.25rem 0;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--color-dark);
    -webkit-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus {
    color: var(--color-primary);
}

.primary-nav .active {
    color: var(--color-primary);
    font-weight: 600;
}

.primary-nav .has-dropdown i {
    margin-left: 0.2rem;
    font-size: 0.55rem;
}

/* ---------- Dropdown Styles ---------- */
.primary-nav .has-dropdown {
    position: relative;
}

.primary-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
    display: none;
    min-width: 180px;
    z-index: 99;
}

.primary-nav .dropdown-menu li {
    width: 100%;
}

.primary-nav .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--color-dark);
    white-space: nowrap;
    -webkit-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.primary-nav .dropdown-menu a:hover {
    background-color: var(--color-gray-100);
    color: var(--color-primary);
}

/* ---------- Show Dropdown on Hover ---------- */
.primary-nav .has-dropdown:hover .dropdown-menu {
    display: block;
}

/* =====================  Breaking‑News Ticker  ===================== */
.breaking-bar {
    border-top: 1px solid var(--color-gray-200);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    overflow: hidden;
}

.container-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;

    margin: 0 auto;
}

/* Breaking-News Ticker */
.breaking-bar__label {
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.breaking-ticker {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    white-space: normal; /* allow wrapping */
    text-align: justify; /* justify text */
}

.ticker-track {
    display: block; /* full width block */
    white-space: normal; /* allow multiple lines */
    will-change: auto; /* disable animation */
    animation: none !important; /* stop ticker animation */
}

.ticker-item {
    display: block; /* single item as block */
    padding: 0 .75rem;
    border: none; /* remove borders since only one item */
}

.breaking-bar__label {
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.breaking-ticker {
    flex: 1 1 auto;
    white-space: normal;
}

.ticker-track {
    display: flex;
    flex-direction: column; /* stack items vertically */
    gap: 8px; /* space between items */
}

.ticker-item {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.ticker-item:last-child {
    border-bottom: none; /* remove border from last */
}

.ticker-item a {
    display: block;
    text-align: justify; /* justify text */
    color: inherit;
    text-decoration: none;
}

/* =====================  Breaking News (Pro)  ===================== */
/* Root variables fallback */
:root {
    --bn-bg: #0f172a; /* navy/ink background */
    --bn-text: #f8fafc; /* near-white */
    --bn-muted: #cbd5e1; /* muted text */
    --bn-accent: #ef4444; /* red accent */
    --bn-sep: rgba(255, 255, 255, .14);
    --bn-link: #ffffff;
}

/* Wrapper */
.breaking-pro {
    background: var(--bn-bg);
    color: var(--bn-text);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .18);
}

/* Left badge */
.breaking-pro__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--bn-accent), #fb7185);
    color: #fff;
    flex: 0 0 auto;
    font-size: 12px;
    white-space: nowrap;
}

.breaking-pro__badge i {
    font-size: 12px;
}

/* List (two stacked items) */
.breaking-pro__list {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

/* Item */
.bn-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bn-sep);
}

.bn-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Title link */
.bn-item__title {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
    text-align: justify; /* requested justify */
}

.bn-item__title a {
    color: var(--bn-link);
    text-decoration: none;
    transition: opacity .15s ease, text-decoration-color .15s ease;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.bn-item__title a:hover {
    opacity: .92;
    text-decoration: underline;
}

/* Meta (optional time or source) */
.bn-item__meta {
    color: var(--bn-muted);
    font-size: 12px;
    white-space: nowrap;
    padding-left: 10px;
    border-left: 1px solid var(--bn-sep);
    align-self: center;
}

/* Social (right side; collapses under on small screens) */
.breaking-pro__social {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.breaking-pro__social a img {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(1.2);
    transition: transform .12s ease, opacity .12s ease;
}

.breaking-pro__social a:hover img {
    transform: translateY(-1px);
    opacity: .9;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .breaking-pro {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .bn-item {
        grid-template-columns: 1fr; /* put meta under title on mobile */
    }

    .bn-item__meta {
        border-left: none;
        padding-left: 0;
        justify-self: start;
    }

    .bn-item__title {
        font-size: 14px;
    }
}

/* =====================  Action & Social Icons  ===================== */
.header-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.75rem;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.action-btn {
    width: 36px;
    height: 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 1px solid var(--color-primary-border);
    background: var(--background-color-primary);
    color: var(--color-primary);
    cursor: pointer;
    -webkit-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    transition: background 0.2s ease;
}


.social-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    background-color: var(--color-primary);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 0.75;
}

/* =====================  Featured Section ===================== */

.featured-section {
    padding: 2.5rem 0;
}


.col-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
}


.col-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
}

/* Text card */
.card-text {
    background: var(--color-white);

    border-bottom: 1px solid #777;

}

.category {
    display: inline-block;
    padding: 0.25em 0.75em;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    border: 1px solid #eee;
    max-height: 24px;
}

.category-india {
    background-color: #d1f7e2;
    color: #0d6b58;
}

.category-gaza-genocide {
    background-color: #ffe3e3;
    color: #d82424;
}

.category-north-india {
    background-color: #E3F2FD;
    color: #1565C0;
}

.category-south-india {
    background-color: #FFF3E0;
    color: #EF6C00;
}

.category-central-india {
    background-color: #f3e8ff;
    color: #8a2be2;
}

.category-east-india {
    background-color: #e6fcf5;
    color: #20c997;
}

.category-western-india {
    background-color: #fff9db;
    color: #ffc107;
}

.category-north-east-india {
    background-color: #f0f5e5;
    color: #51cf66;
}

.category-world {
    background-color: #e7f1ff;
    color: #339af0;
}

.category-kashmir {
    background-color: #e9ecef;
    color: #495057;
}

.category-features {
    background-color: #FBE9E7;
    color: #D84315;
}

.category-factcheck {
    background-color: #e7f5ff;
    color: #1971c2;
}

.category-opinion {
    background-color: #f8f9fa;
    color: #212529;
}

.category-science-technology {
    background-color: #e0fcff;
    color: #12b886;
}

.category-photo {
    background-color: #e5f2ff;
    color: #339af0;
}

.category-film-tv {
    background-color: #f0e5ff;
    color: #6610f2;
}

.category-video {
    background-color: #e6fadf;
    color: #51cf66;
}

.category-education {
    background-color: #fffcd5;
    color: #f59f00;
}

.category-music {
    background-color: #ffe3ec;
    color: #f06595;
}

.category-business-and-economy {
    background-color: #fffdd0;
    color: #f08c00;
}

.category-bookshelf {
    background-color: #ffe5f0;
    color: #e64980;
}

.category-sports {
    background-color: #e5f7dc;
    color: #37b24d;
}

.category-lifestyle {
    background-color: #f0fff4;
    color: #51cf66;
}

.card-text:last-child {
    border: none;
}

/*.card-text:last-child h2 {*/
/*    margin-top: 0;*/
/*}*/

.card-text h2 {
    font-size: 1.5rem;
    margin: 16px 0 16px;
    line-height: 1.2;
}


.card-text .excerpt {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 20px;
}

.meta {
    font-size: 0.8rem;
    color: var(--color-muted);
    gap: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.meta time,
.meta .author {
    background-color: #F2F2F2;
    color: #000000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 0.25em 0.75em;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.meta time img,
.meta .author img {
    width: auto !important;
    height: auto !important;
}

/* Large image card with overlay */
.card-image-large {
    position: relative;
    overflow: hidden;
    height: 510px;
}

.card-image-large img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.card-image-large .overlay {
    position: absolute;
    top: unset !important;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 1);
    color: #fff;
    padding: 1rem;
}


.card-image-large .overlay h2 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #fff;
}

.card-image-large .overlay p {
    color: #fff;
    font-size: 0.85rem;

}

.card-image-small {
    height: 200px;
    overflow: hidden;
}

/* Small image top */
.card-image-small img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;

}

/* Small text card */
.card-text-small {
    background: var(--color-white);
}


.card-text-small h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.card-text-small p {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.card-text-small .meta {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

/* Thumbnail carousel */
.col-footer-carousel {
    margin-top: 16px;
}

.thumb-carousel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0 0;
    border-top: 1px solid #777;
}

.card-thumb {
    min-width: 200px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    gap: 10px;
}

.thumb-carousel .card-thumb img {
    width: 120px;
    display: block;
    height: auto;
    aspect-ratio: 4/3;
}

.group-small-articles img {
    width: 100%;
}

.group-small-articles {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    gap: 12px;
}

.group-small-articles .card-thumb {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    min-width: auto;
    gap: 10px;
}

.group-small-articles .card-thumb .category,
.thumb-caption .category {
    font-size: 10px;

}

.group-small-articles .thumb-caption h4 {
    font-size: 14px;
}

.thumb-caption h4 {
    font-size: 0.9rem;
    margin: 0.3rem 0 0;
}

.thumb-caption p {
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .featured-section .grid-layout {
        -ms-grid-columns: (1fr) [ 6 ];
        grid-template-columns: repeat(6, 1fr);
    }


}

@media (max-width: 767.98px) {
    .featured-section .grid-layout {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .brand__mark {
        width: 160px;
    }

}

.trending-section {
    padding: 2.5rem 0;
}

.trending-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: "OpenSans-SemiBold";

}

/* More professional pulsing animation for .trending-dot */
.trending-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    position: relative;
    /* smoother timing function */
    -webkit-animation: pulse 2s cubic-bezier(0.66, 0, 0, 1) infinite;
    animation: pulse 2s cubic-bezier(0.66, 0, 0, 1) infinite;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 0 rgba(216, 36, 36, 0.7);
        box-shadow: 0 0 0 0 rgba(216, 36, 36, 0.7);
    }

    50% {
        -webkit-transform: scale(1.4);
        transform: scale(1.4);
        -webkit-box-shadow: 0 0 0 8px rgba(216, 36, 36, 0);
        box-shadow: 0 0 0 8px rgba(216, 36, 36, 0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 0 rgba(216, 36, 36, 0);
        box-shadow: 0 0 0 0 rgba(216, 36, 36, 0);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 0 rgba(216, 36, 36, 0.7);
        box-shadow: 0 0 0 0 rgba(216, 36, 36, 0.7);
    }

    50% {
        -webkit-transform: scale(1.4);
        transform: scale(1.4);
        -webkit-box-shadow: 0 0 0 8px rgba(216, 36, 36, 0);
        box-shadow: 0 0 0 8px rgba(216, 36, 36, 0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 0 rgba(216, 36, 36, 0);
        box-shadow: 0 0 0 0 rgba(216, 36, 36, 0);
    }
}


.trend-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    width: 95%;
}

.trend-large .card-large {
    position: relative;
    overflow: hidden;
    height: 460px;
}

.card-large .card-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.card-large .card-body {
    position: absolute;
    bottom: 16px;
    left: 1rem;
    color: #fff;

}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgb(0, 0, 0, .6);
    top: 0;
}

.card-large .card-body .card-title {
    margin: 0.75rem 0 0;
    font-size: 1.25rem;
}

.small-cards-wrapper {
    overflow: hidden;
}

.small-cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    gap: 1rem;

}

.small-cards .item.group .card-small {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: none;
}

.small-cards .item.group .card-small .thumb {
    flex: 0 0 160px;
    width: 160px;
    height: 140px;
    -o-object-fit: cover;
    object-fit: cover;
}

.small-cards .card-small .info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 12px;
}

.card-small .title {
    font-size: 1.2rem;
    margin: 8px 0;
}

.trending-controls {
    position: absolute;
    right: -50px;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.5rem;
}

.trending-controls button {
    background: var(--color-primary);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: background .2s;
    -o-transition: background .2s;
    transition: background .2s;
    font-size: 1rem;
    cursor: pointer;
}

.item.group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
}

.features-section {
    Padding: 2.5rem 0;
}

/* Features Section Styles */
.features-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    font-family: "OpenSans-Bold";

}

.section-title hr {
    width: 100%;
    border-top: 3px solid var(--color-primary);
    opacity: 1;
}


.feature-card {
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 240px;
    -o-object-fit: cover;
    object-fit: cover;
}

.feature-body .category {
    font-size: 0.7rem;
}

.feature-body {
    padding-top: 16px;
}

.feature-body .feature-title {
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

.photos-section {
    background: #EFF9FF;
    padding: 16px;
}

.photos-title {
    font-size: 1.1rem;
    font-family: "OpenSans-Bold";

    border-left: 3px solid var(--color-primary);
    padding-left: 0.5rem;
}

.photos-section .photo-hero {
    height: 420px;
}

.photo-hero img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Custom Owl Carousel dots */
.photos-slider .owl-dots {
    text-align: center;
    margin-top: 1rem;
}

.photos-slider .owl-dots .owl-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 0.20rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.photos-slider .owl-dots .owl-dot.active {
    opacity: 1;
    width: 36px;
    height: 8px;
    border-radius: 4px;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;

}

.small-photo-card img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 80px;
    height: 70px;
}

.small-photo-title {
    font-size: 14px;
}

.small-photos .category,
.small-photos .meta time,
.small-photos .meta .author {
    font-size: 10px;
}


/*  World Section Styles */
.world-section {
    background: #EFF9FF;
    padding: 2.5rem 0;
}

.section-header {
    position: relative;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    padding-left: 1rem;
    font-family: "OpenSans-Bold";

}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 4px;
    height: 1.5rem;
    background: var(--color-primary);
}

.world-featured {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.world-featured__image img {
    width: 100%;
    height: 500px;
    -o-object-fit: cover;
    object-fit: cover;
}

.world-featured__meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: -2rem;
    padding: 0 1rem;
}

.world-featured__meta .category-world {
    background: #e7f1ff;
    color: #339af0;
}

.meta-details time,
.meta-details .author {
    display: inline-block;
    background: var(--color-gray-100);
    color: var(--color-dark);
    padding: 0.25em 0.75em;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.world-featured__title {
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--color-dark);
    padding: 0 1rem;
    margin: 0;
}

.world-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
    gap: 1rem;
}

.world-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: var(--color-white);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.world-card__img img {
    width: 160px;
    height: 120px;
    -o-object-fit: cover;
    object-fit: cover;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.world-card__body {
    padding: 0.75rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.world-card__meta time,
.world-card__meta .author {
    font-size: 0.7rem;
    color: var(--color-muted);
}

.world-card__meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.world-card__title {
    font-size: 1.2rem;
    color: var(--color-dark);
    line-height: 1.2;
    margin: 0;
}


/* videos-section.css */
.videos-section {
    padding: 2.5rem 0;
}

.videos-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.videos-header h2 {
    font-family: 'CrimsonText-Bold', serif;
    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 0;
}

.videos-header .line {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 3px;
    background: var(--color-primary);
}

.video-featured,
.videos-thumbs {
    display: -ms-grid;
    display: grid;
    gap: 1rem;
}

.video-featured {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
}

.video-wrapper,
.thumb-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-wrapper {
    padding-top: 42%;
    /* 16:9 ratio */
}

.thumb-wrapper {
    padding-top: 50%;
}

.video-wrapper img,
.thumb-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
}

.video-play:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1000;
}

.video-modal.open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
}

.iframe-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive thumbs grid */
@media (min-width: 576px) {
    .videos-thumbs {
        -ms-grid-columns: (1fr) [ 3 ];
        grid-template-columns: repeat(3, 1fr);
    }
}


/* films section*/
.films-section {
    position: relative;
    padding: 2.5rem 0;
    background: url(../img/background-films.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.films-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.films-header h2 {
    font-family: "OpenSans-Bold";

    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 0;
}

.films-header .line {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 2px;
    background: var(--color-primary);
}

.about-controls,
.films-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .5rem;
}

.about-controls button,
.films-controls button {
    background: var(--color-primary);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: background .2s;
    -o-transition: background .2s;
    transition: background .2s;
}

.about-controls button:hover,
.films-controls button:hover {
    background: var(--color-primary-dark);
}

/* Carousel cards */
.film-card {
    background: var(--color-white);
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.film-card .card-body {
    padding-top: 16px;
}

.film-card .card-body h3 {
    font-size: 2rem;
    margin: 10px 0 0;
    line-height: 1.2;
}


/**/

/* SECTION LAYOUT */
.categories-section {
    padding: 2.5rem 0;
}

.category-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.category-header h2 {
    font-family: "OpenSans-Bold";

    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 0;
}

.category-header .line {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 3px;
    background: var(--color-primary);
}


/* FEATURED CARD */
.featured-card {
    background: var(--color-white);
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 1rem;
}

.featured-card .image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.education-featured .image {
    display: block;
    margin-bottom: 16px;
    height: 360px;
}

.featured-card h3 {
    font-size: 1.25rem;
    margin: .5rem 0;
    line-height: 1.3;
}

.featured-card p {
    font-size: .9rem;
    color: var(--color-muted);
    margin: 0;
}

/* SMALL CARD LIST */
.cards-list {
    display: -ms-grid;
    display: grid;
    gap: 16px;
}

.bg-section {
    padding: 1rem;
    height: 100%;
}

.card-small {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
}

.card-small > img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 180px;
    flex: 0 0 180px;
    width: 180px;
    height: 140px;
    -o-object-fit: cover;
    object-fit: cover;
}

.card-small .body {
    padding: .5rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.card-small .body h4 {
    font-size: 1.2rem;
    margin: 8px 0;
    line-height: 1.2;
    color: var(--color-dark);
}


/* RESPONSIVE */
@media (max-width: 767.98px) {
    .category-header {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
    }
}

/**/

/* opinion-section.css */
.opinion-section {
    background: #2C2C2C;
    color: var(--color-white);
    padding: 4rem 0;

}

.opinion-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
}

.opinion-header h2 {
    font-family: "OpenSans-Bold";
    font-size: 1.5rem;
    margin: 0;
}

.opinion-header .line {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 3px;
    background: #212529;
}

.opinion-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .5rem;
}

.bannar-mak {
    margin: 60px auto;
}

.opinion-controls button {
    background: var(--color-primary);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: background .2s;
    -o-transition: background .2s;
    transition: background .2s;
}

/* Cards */
.opinion-card {
    background: transparent;
    overflow: hidden;
}

.opinion-card .card-thumb img {
    width: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.opinion-card .card-body {
    padding: 16px 0 0;
}


.opinion-card h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0;
    margin-top: 8px;
}


/* subscribe-section.css */
.subscribe-section {
    padding: 4rem 0;
    background: -o-linear-gradient(315deg, #fff 0%, #ffeaea 100%);
    background: linear-gradient(135deg, #fff 0%, #ffeaea 100%);
}

.subscribe-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subscribe-content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 320px;
    flex: 1 1 320px;
}

.subscribe-content h2 {
    font-family: 'CrimsonText-Bold';
    font-size: 4rem;
    margin: 0 0 1rem;
    color: var(--color-dark);
    line-height: 120%;

}

.subscribe-content p {
    font-size: 1rem;
    color: var(--color-muted);
    margin: 0;
    max-width: 300px;
}

.subscribe-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 320px;
    flex: 1 1 320px;
    max-width: 500px;
}

.input-wrapper {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: var(--color-muted);
    font-size: 1rem;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--color-gray-200);
    font-size: 1rem;
    color: var(--color-dark);
}

.btn-subscribe {
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    padding: 0 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    -webkit-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.btn-subscribe:hover {
    background: var(--color-primary);
}

@media (max-width: 767.98px) {
    .subscribe-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }

    .subscribe-form {
        width: 100%;
    }


    .btn-subscribe {
        width: 100%;
    }
}

/*Footer*/
.site-footer {
    background: #2C2C2C;
    color: #fff;
    padding-top: 3rem;
    font-size: 0.9rem;
}

.footer-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1.6fr 2rem 2fr 2rem 1fr 2rem 2fr;
    grid-template-columns: 1.6fr 2fr 1fr 2fr;
    gap: 2rem;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-about p {
    max-width: 260px;
    margin: 1rem 0;
    color: #FFFFFF;
}

.footer-logo img {
    width: 180px;
    height: auto;
}

.social-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.social-list a {
    color: #fff;
    font-size: 1rem;
    -webkit-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

.social-list a:hover {
    color: var(--color-primary);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li + li {
    margin-top: 0.5rem;
}

.footer-nav a {
    color: var(--color-muted);
    text-decoration: none;
    -webkit-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

/* Gallery */
.footer-gallery .gallery-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 0.5rem 1fr 0.5rem 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.footer-gallery img {
    width: 100%;
    height: 60px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

/* Footer bottom bar */
.footer-bottom {
    background: #242424;
    border-top: 1px solid #171717;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

footer a {
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 576px) {
    .footer-container {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-gallery .gallery-grid {
        -ms-grid-columns: (minmax(0, 1fr)) [ 3 ];
        grid-template-columns: repeat(3, minmax(0, 1fr));
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/* Links styling */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li + li {
    margin-top: 0.5rem;
}

.footer-nav a {
    display: inline-block;
    color: var(--color-muted);
    text-decoration: none;
    -webkit-transition: color 0.2s, padding-left 0.2s;
    -o-transition: color 0.2s, padding-left 0.2s;
    transition: color 0.2s, padding-left 0.2s;
    padding-left: 0;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

/* Make headings consistent */
.footer-col h4 {
    font-family: 'CrimsonText-Bold';
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

/* Social icons hover tweaks */
.social-list a {
    color: #fff;
    font-size: 1.1rem;
    -webkit-transition: color 0.2s, -webkit-transform 0.2s;
    transition: color 0.2s, -webkit-transform 0.2s;
    -o-transition: color 0.2s, transform 0.2s;
    transition: color 0.2s, transform 0.2s;
    transition: color 0.2s, transform 0.2s, -webkit-transform 0.2s;
}

.footer-explore ul {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.footer-explore ul li,
.footer-links ul li {
    margin-bottom: 8px;
}

.social-list a:hover {
    color: var(--color-primary);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}


/* Mixed Featured & Grid Section */
.mixed-section {
    padding: 2rem 0;
}

.mixed-section .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Featured left column */
.mixed-featured {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 48%;
    flex: 1 1 48%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.mixed-featured > a img {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-bottom: 16px;
}


.mixed-featured h2 {
    font-family: 'CrimsonText-Bold';
    font-size: 1.5rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    color: var(--color-dark);
}

.mixed-featured p {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

.mixed-featured .meta {
    margin-bottom: 12px;
}

/* Grid right column */
.mixed-grid {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 48%;
    flex: 1 1 48%;
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.mixed-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    background: var(--color-white);
}

.mixed-card > a img {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.mixed-card .body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 8px;
}


.mixed-card .body h4 {
    font-size: 15px;
    margin: 0;
    line-height: 1.2;
    color: var(--color-dark);
}

.mixed-card .body .meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.5rem;
    font-size: 0.65rem;
    color: var(--color-muted);
}


.main-articles {
    padding: 40px 0;
}

.list-horizontal-news {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 24px;
}

.horizontal-news-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
}

.horizontal-news-card > a {
    display: block;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 250px;
    flex: 0 0 250px;
}

.horizontal-news-card .img-article {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
}


.horizontal-news-card .body-article .title-article {
    font-size: 24px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.horizontal-news-card .body-article p {
    font-size: 16px;
}

/* Base meta row */
.meta-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 1rem;
}

/* article-categories container */
.article-categories {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
}


/* More article-categories trigger */
.category-more-wrapper {
    position: relative;

}

.category-more {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    -webkit-transition: -webkit-transform var(--transition-speed);
    transition: -webkit-transform var(--transition-speed);
    -o-transition: transform var(--transition-speed);
    transition: transform var(--transition-speed);
    transition: transform var(--transition-speed), -webkit-transform var(--transition-speed);
}

.category-more:active {
    -webkit-transform: scale(0.88);
    -ms-transform: scale(0.88);
    transform: scale(0.88);
}

/* Tags dropdown panel */
.categories-dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    -webkit-transform: translateX(-50%) scale(0.8);
    -ms-transform: translateX(-50%) scale(0.8);
    transform: translateX(-50%) scale(0.8);
    width: 180px;
    background: var(--panel-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    -webkit-box-shadow: var(--panel-shadow);
    box-shadow: var(--panel-shadow);
    padding: 1rem;
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity var(--transition-speed), -webkit-transform var(--transition-speed);
    transition: opacity var(--transition-speed), -webkit-transform var(--transition-speed);
    -o-transition: opacity var(--transition-speed), transform var(--transition-speed);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
    transition: opacity var(--transition-speed), transform var(--transition-speed), -webkit-transform var(--transition-speed);
    z-index: 1000;
}

.categories-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
}

.categories-dropdown .category {
    background: var(--tag-pill-bg);
    color: var(--tag-pill-color);
    text-align: center;
    -webkit-transition: background var(--transition-speed), color var(--transition-speed);
    -o-transition: background var(--transition-speed), color var(--transition-speed);
    transition: background var(--transition-speed), color var(--transition-speed);
    width: 100%;
}

.categories-dropdown .category:hover {
    background: var(--tag-pill-hover);
    color: #fff;
}

.bannar {
    height: 160px;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Author panel */
.author-wrapper {
    position: relative;
}

.author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.author img {
    width: 16px;
    height: 16px;
}

.author-wrapper {
    position: relative;
    display: inline-block;
}

.author-popup {
    position: absolute;
    top: 100%;
    right: 0;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background: #fff;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.8rem;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.6rem;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.author-popup.spcial {
    bottom: 100%;
    top: unset;

}

.author-wrapper:hover .author-popup {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}


.author-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0.2rem 0;
    -webkit-transition: background var(--transition-speed);
    -o-transition: background var(--transition-speed);
    transition: background var(--transition-speed);
}


.author-card img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
}

.author-card span {
    font-size: 0.85rem;
    color: var(--color-dark);
}


.sidebar {
    background: #EFF9FF;
    padding: 12px;
}

.sidebar .trending-title {
    font-size: 20px;
}

.sidebar .meta .author,
.sidebar .meta time {
    background-color: transparent;
    color: #777;
    border-radius: 0;
    white-space: nowrap;
    padding: 0;
    border: none;
}

.list-horizontal-news.small {
    gap: 12px;
}

.small .horizontal-news-card {
    gap: 10px;
}

.small .horizontal-news-card > a {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80px;
    flex: 0 0 80px;
}

.small .horizontal-news-card .img-article {
    width: 100%;
    height: 70px;
}


.small .horizontal-news-card .title-article {
    font-size: 14px;
    margin: 6px 0 0;
}


.numbered-list-section {
    margin: 20px 0;
}

.numbered-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1.5rem;
}

.numbered-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10px;
}

.item-index {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30px;
    flex: 0 0 30px;
    font-size: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: bold;
    color: var(--color-primary);
    background: var(--background-color-primary);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 1px solid hsl(355, 73%, 90%);
}

.item-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.5rem;
}

.item-badges {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
}


.item-title {
    margin: 0;
    font-family: 'CrimsonText-Bold';
    font-size: 1rem;
    line-height: 1.4;
    color: var(--color-dark);
}

@media (max-width: 576px) {
    .numbered-item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .item-index {
        font-size: 1rem;
    }
}

.sidebar .trend-large {
    margin: 20px 0;
}

.sidebar .trend-large .card-large {
    height: 300px;

}

/* ============================================
Product Card Styles
============================================ */
.product-card {
    background: #fff;
    overflow: hidden;
    font-family: 'OpenSans-Regular', sans-serif;
    color: #333;
    border: 1px solid #ddd;

}

.product-card .image-wrapper {
    position: relative;
    background: #f5f5f5;
}

.product-card img {
    width: 100%;
    height: 260px;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Discount badge */
.product-card .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-card .card-body {
    padding: 16px;
}

.product-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Rating stars */
.product-card .rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.product-card .rating i {
    color: #f5c518;
    font-size: 1rem;
}

.product-card .rating .rating-value {
    font-size: 0.85rem;
    color: #666;
    margin-left: 4px;
}

/* Price */
.product-card .price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-card .price .current-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.product-card .price .old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

/* Quantity controls */
.product-card .quantity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.product-card .qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--color-primary);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
}

.product-card .qty-btn:hover {
    background: #e55a5a;
}

.product-card .qty-input {
    width: 32px;
    text-align: center;
    border: 1px solid #ccc;
    padding: 4px;
    font-size: 0.9rem;
}

/* Add to cart button */
.product-card .btn-add-cart {
    width: 100%;
    padding: 10px;
    border: none;
    background: var(--color-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 6px;
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
}

.product-card .btn-add-cart:hover {
    background: #e55a5a;
}

/* ---------------- Pagination Layout ---------------- */
.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: var(--pagination-gap);
    padding: 0;
    margin: 2rem 0;
    list-style: none;
}

/* ---------------- Page Item Base ---------------- */
.page-item {
    display: block;
}

.pagination .page-item .page-link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: var(--pagination-size);
    height: var(--pagination-size);
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50%;
    -webkit-transition: background 0.3s, color 0.3s, -webkit-transform 0.2s;
    transition: background 0.3s, color 0.3s, -webkit-transform 0.2s;
    -o-transition: background 0.3s, color 0.3s, transform 0.2s;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    transition: background 0.3s, color 0.3s, transform 0.2s, -webkit-transform 0.2s;
    background: var(--pagination-bg);
    color: var(--pagination-color);
    border: none;
}

.page-item:hover:not(.active):not(.disabled) {
    background: #f5f5f5;
}

/* ---------------- Active & Disabled States ---------------- */
.active > .page-link, .page-link.active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ---------------- Ellipsis Item ---------------- */
.page-dots {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    padding: 0 0.75rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .pagination {
        gap: 0.25rem;
    }

    .page-item {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* ======= Support Page Custom Styles ======= */
.support-banner {
    position: relative;
    color: #fff;
    text-align: center;
    height: 450px;
}

.support-banner img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.support-content {
    background: var(--color-white);
    padding: 2rem;
    margin: -4rem auto 2rem;
    max-width: 800px;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

/* ======= Subscriptions shell refinement ======= */
.subscriptions {
    border: 1px solid var(--color-primary-border);
    background: var(--panel-bg);
    -webkit-backdrop-filter: blur(6px) saturate(1.1);
    backdrop-filter: blur(6px) saturate(1.1);
    -webkit-box-shadow: var(--panel-shadow);
    box-shadow: var(--panel-shadow);
    padding: 1rem;
}

/* Tabs */
.subscriptions-section .nav-tabs {
    border-bottom: 2px solid var(--color-primary-border);
    gap: .4rem;
}

.subscriptions-section .nav-link {
    color: var(--color-dark);
    font-weight: 700;
    border: 0;
    padding: .7rem 1rem;
    -webkit-transition: background var(--transition-speed), color var(--transition-speed);
    -o-transition: background var(--transition-speed), color var(--transition-speed);
    transition: background var(--transition-speed), color var(--transition-speed);
}

.subscriptions-section .nav-link:hover {
    background: var(--background-color-primary);
}

.subscriptions-section .nav-link.active {
    color: var(--color-white);
    background: var(--color-primary);
}

/* Cards grid */
.subscription-cards {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

/* Plan card */
.subscription-cards .card-plan {
    border: 1px solid var(--color-gray-200);
    position: relative;
    background: var(--color-white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: border-color var(--transition-speed), -webkit-transform var(--transition-speed), -webkit-box-shadow var(--transition-speed);
    transition: border-color var(--transition-speed), -webkit-transform var(--transition-speed), -webkit-box-shadow var(--transition-speed);
    -o-transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed), -webkit-transform var(--transition-speed), -webkit-box-shadow var(--transition-speed);
}

.subscription-cards .card-plan:hover {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    border-color: var(--color-primary-border);
    -webkit-box-shadow: 0 12px 24px hsl(0 0% 0% / .08);
    box-shadow: 0 12px 24px hsl(0 0% 0% / .08);
}

/* Header */
.card-plan .plan-header {
    background: -webkit-gradient(linear, left top, right top, from(var(--color-primary)), to(var(--color-primary-dark)));
    background: -o-linear-gradient(left, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-align: center;
    font-weight: 800;
    padding: .9rem 1rem;
}

.plan-name {
    display: inline-block;
}

/* Body */
.card-plan .plan-body {
    padding: 1rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.plan-price {
    text-align: center;
    margin: .35rem 0 .75rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    font-size: 1.6rem;
}

.plan-price .currency {
    opacity: .85;
    font-size: .9em;
    margin-right: .15rem
}

.plan-price .per {
    color: var(--color-muted);
    font-size: .85rem;
    margin-left: .35rem;
    font-weight: 600;
}

.plan-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -ms-grid;
    display: grid;
    gap: .4rem;
}

.plan-points li {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto .6rem 1fr;
    grid-template-columns:auto 1fr;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .6rem;
    padding: .45rem .55rem;
    border: 1px dashed var(--color-gray-200);
    color: var(--color-dark);
    background: var(--color-gray-50);
}

.plan-points i {
    color: var(--color-success);
}

/* Button */
.card-plan .btn-plan {
    background: var(--color-primary);
    color: var(--color-white);
    border: 0;
    padding: .85rem 1rem;
    font-weight: 800;
    cursor: pointer;
    -webkit-transition: background var(--transition-speed), -webkit-transform var(--transition-speed), -webkit-box-shadow var(--transition-speed);
    transition: background var(--transition-speed), -webkit-transform var(--transition-speed), -webkit-box-shadow var(--transition-speed);
    -o-transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed), -webkit-transform var(--transition-speed), -webkit-box-shadow var(--transition-speed);
    border-top: 1px solid var(--color-primary-border);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.card-plan .btn-plan:hover {
    background: var(--color-primary-dark);
    -webkit-box-shadow: 0 10px 20px rgba(238, 41, 55, .18);
    box-shadow: 0 10px 20px rgba(238, 41, 55, .18);
}

.card-plan .btn-plan:active {
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
}

/* One-time separator */
.line-en {
    color: var(--color-primary);
    gap: .75rem;
}

.line-en hr {
    border-color: var(--color-primary);
    opacity: .5;
}

.one-time-note {
    margin-top: .25rem;
    color: var(--color-muted);
    font-size: .95rem;
}

/* Optional: highlight middle card as “popular” without تغيير الباك-إند */
.subscription-cards .card-plan:nth-child(2)::after {
    content: "Most popular";
    position: absolute;
    top: 10px;
    right: -14px;
    background: var(--color-secondary);
    color: #fff;
    padding: .25rem .6rem;
    font-weight: 800;
    font-size: .75rem;
    border-radius: 999px;
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
}

.line-en {
    gap: 10px;
    color: var(--color-primary);

}

.line-en hr {
    height: 1px;
    width: 100%;
    border-color: hsl(356 80% 50% / 1);

}

.btn-onetime {
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    -webkit-transition: background 0.3s ease, color 0.3s ease;
    -o-transition: background 0.3s ease, color 0.3s ease;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-onetime:hover,
.btn-onetime:focus {
    background: var(--color-primary);
    color: #fff;
}

.btn-onetime:focus small,
.btn-onetime:hover small {
    color: #fff;

}

.btn-onetime i {
    font-size: 0.6rem;

}

/* Optional: tighten the small text */
.btn-onetime small {
    font-size: 0.6rem;
    text-align: center;
    color: var(--color-muted)
}


.disclaimer {
    background-color: var(--color-gray-50);
    font-size: 0.95rem;
    line-height: 1.5;
}

.disclaimer a {
    color: var(--color-primary);
}

.bank-details ul li i {
    width: 1.25rem;
    text-align: center;
}

/* Single Article Page Styles */
.single-article-page {
    padding: 40px 0;
}

.single-article-page h1 {
    font-size: 2.4rem;
    line-height: 120%;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.single-article-page .meta-info {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.single-article-page .meta-info i {
    margin-right: 0.25rem;
}


.article-image {
    width: 100%;
    height: 675px;
    -o-object-fit: cover;
    object-fit: cover;
    margin: 1.5rem 0;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-article-page p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.single-article-page .title-single-article {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.tags-list .tag {
    font-size: 0.85rem;
    padding: 0.25em 0.75em;
}


/* Donate banner */
.donate-banner img {
    width: 100%;
    margin: 2rem 0;
}

.tags-list .tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    color: var(--color-muted);
    background-color: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    text-decoration: none;
    -webkit-transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    -o-transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.tags-list .tag:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}


.share-buttons {
    margin-bottom: 20px;
    gap: 10px;
}

.share-buttons h5 {
    font-family: "OpenSans-Bold";
    margin-right: 10px;
}

.share-buttons a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 8px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    background: #F5F5F5;
    font-family: "OpenSans-SemiBold";
}

.line-horizontal {
    background: rgba(70, 70, 70, 0.20);
    width: 1px;
    height: 14px;
}

.button-copy {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 40px;
    border: 1px solid var(--color-gray-200, rgba(0, 0, 0, .2));
    background: #F5F5F5;
    cursor: pointer;
    padding: 12px;
}

.button-copy i {
    font-size: 1rem;
}

.button-copy:hover {
    background: var(--color-primary, #1877F2);
    color: #fff;
    border-color: var(--color-primary, #1877F2);
}

.button-copy.is-copied {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
}

.share-buttons .button-facebook {
    border: 1px solid rgba(24, 119, 242, 0.20);
    background: #E8F0FE;
    color: #1877F2;
}

.share-buttons .button-facebook:hover {
    background: #1877F2;
    color: #fff;
}

.share-buttons .button-facebook .line-horizontal {
    background: rgba(24, 119, 242, 0.20);

}

.share-buttons .button-twitter {
    border: 1px solid rgba(0, 0, 0, 0.20);
    background: #F5F5F5;
    color: #000000;
}

.share-buttons .button-twitter:hover {
    background: #000000;
    color: #fff;
}

.share-buttons .button-twitter .line-horizontal {
    background: rgba(0, 0, 0, 0.20);

}


.share-buttons .button-whatsapp {
    border: 1px solid rgba(37, 211, 102, 0.20);
    background: #E9FCEF;
    color: #25D366;
}

.share-buttons .button-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.share-buttons .button-whatsapp .line-horizontal {
    background: rgba(37, 211, 102, 0.20);
}

.share-buttons .button-instagram {
    border: 1px solid hsl(340 75% 90% / 1);
    background: #FDEDEF;
    color: #E1306C;
}

.share-buttons .button-instagram:hover {
    background: #E1306C;
    color: #fff;
}

.share-buttons .button-instagram .line-horizontal {
    background: hsl(340 75% 90% / 1);
}

.post-authors__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
}

#authors-heading {
    position: relative;
    padding-bottom: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
}

#authors-heading::after {
    content: '';
    height: 1px;
    width: 100%;
    background: var(--color-primary);
    left: 0;
    bottom: 0;
}

.post-authors__list .post-authors__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-primary-border);
    padding-bottom: 16px;
}

.post-authors__list .post-authors__item:last-child {
    padding-bottom: 0;
    border: none;
}

.post-authors__info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    gap: 8px;
}

.post-authors__avatar {
    width: 90px;
    height: 90px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
}


.post-authors__name {
    color: #000;
    font-size: 1rem;

    font-family: "OpenSans-SemiBold";


}

.post-authors__role {
    margin: 0 !important;
    font-size: .85rem;
}

.post-authors__social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 6px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.post-authors__social a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 16px;
    height: 16px;
    padding: 11px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    aspect-ratio: 1/1;
    border: 0.5px solid #EE2937;
    background: rgba(246, 173, 178, 0.30);
    color: #EE2937;
    font-size: .85rem;
}


/* Author Profile Page Styles */
.author-page {
    padding: 4rem 0;
}

.author-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 3rem;
}

.author-avatar-wrapper {
    position: relative;
}

.author-avatar {
    position: relative;

    width: 352px;
    height: 460px;
    border-radius: 460px;
    border: 3px solid #FFF;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-avatar-wrapper::before {
    content: "";
    width: 352px;
    height: 460px;
    border-radius: 460px;
    background: #fce6e8;
    position: absolute;
    left: 0;
    bottom: -48px;

}

.author-details {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-family: "OpenSans-Regular";

}

.author-badge-articles {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #fff;
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
}

.author-details h1 {
    font-family: "OpenSans-Bold";

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.author-details h3 {
    font-family: "OpenSans-Bold";

}

.author-details .verified {
    color: #306BFF;
    margin-left: 0.5rem;
}

.author-details .role {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.author-bio-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.author-bio-title .icon-bio {
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem;
}

.author-bio {
    line-height: 1.7;
}


.author-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

.author-social a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 32px;
    height: 32px;
    padding: 11px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    aspect-ratio: 1/1;
    border: 0.5px solid #EE2937;
    background: rgba(246, 173, 178, 0.30);
    color: var(--color-primary);

}

/* Hover effect */
.author-social a:hover {
    background: #EE2937;
    color: #fff;
    -webkit-transform: translateY(-2px) scale(1.05);
    -ms-transform: translateY(-2px) scale(1.05);
    transform: translateY(-2px) scale(1.05);
    -webkit-box-shadow: 0 4px 10px rgba(238, 41, 55, 0.3);
    box-shadow: 0 4px 10px rgba(238, 41, 55, 0.3);
    border-color: #EE2937;
}

.works-section {
    margin-top: 8rem;
}

.works-section h2 {
    position: relative;
    text-align: center;
    font-family: 'CrimsonText-Bold';
    margin-bottom: 2rem;
}

.works-section h2::before {
    content: 'Works';
    color: rgba(0, 0, 0, 0.05);
    font-size: 4rem;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    top: -0.5rem;
    z-index: -1;
}

.work-card {
    border: none;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.work-card > img {
    height: 180px;
    -o-object-fit: cover;
    object-fit: cover;
}

.work-card-body {
    padding: 1rem;
}

.work-card-body h5 {
    font-size: 1rem;
    margin: 0.5rem 0;
}


.contact-hero {
    background: url('../img/bg-2.png') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.contact-hero h1 {
    color: #fff;
    font-family: "OpenSans-Bold";
    max-width: 720px;
    margin: auto;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #fff;
    font-family: "OpenSans-Regular";
    max-width: 720px;
    margin: auto;

}

.contact-section {
    padding: 60px 0;
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info .info-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.contact-info .info-item i {
    font-size: 1.3rem;
    background: rgba(238, 41, 55, 0.1);
    color: var(--color-primary, #EE2937);
    padding: 12px;
    border-radius: 50%;
    min-width: 48px;
    text-align: center;
}

.contact-info .info-item strong {
    font-weight: 600;
    color: #222;
}

.contact-info .info-item span a,
.contact-info .info-item span {
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
}

.contact-form {
    padding-left: 40px;
}

.contact-info .info-item span a:hover {
    color: var(--color-primary, #EE2937);
}

.social-links {
    margin-top: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    gap: 12px;
}

.social-links span {
    font-weight: 600;
    margin-right: 10px;
}

.social-links a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-primary, #EE2937);
    color: var(--color-primary, #EE2937);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-primary, #EE2937);
    color: #fff;
}

/* Form Fields */
.contact-form input,
.contact-form textarea {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    -webkit-transition: border 0.3s, -webkit-box-shadow 0.3s;
    transition: border 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: border 0.3s, box-shadow 0.3s;
    transition: border 0.3s, box-shadow 0.3s;
    transition: border 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary, #EE2937);
    background: #fff;
    -webkit-box-shadow: 0 0 5px rgba(238, 41, 55, 0.2);
    box-shadow: 0 0 5px rgba(238, 41, 55, 0.2);
    outline: none;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#EE2937), to(#B31024));
    background: -o-linear-gradient(left, #EE2937 0%, #B31024 100%);
    background: linear-gradient(90deg, #EE2937 0%, #B31024 100%);
    color: #fff;
    padding: 0.75rem;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-transition: background 0.3s, -webkit-box-shadow 0.3s;
    transition: background 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.btn-submit:hover {
    background: -webkit-gradient(linear, left top, right top, from(#B31024), to(#EE2937));
    background: -o-linear-gradient(left, #B31024 0%, #EE2937 100%);
    background: linear-gradient(90deg, #B31024 0%, #EE2937 100%);
    -webkit-box-shadow: 0 4px 10px rgba(238, 41, 55, 0.3);
    box-shadow: 0 4px 10px rgba(238, 41, 55, 0.3);
}

.search-section {
    background: #f9f9f9;
}

/* ── Container Styling ── */
.search-filter {
    background: #fff;
    padding: 1rem 1.25rem;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
}

/* ── أيقونة + حقل الإدخال │ wrapper ── */
.search-filter .input-icon {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 180px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* ── أيقونة داخل الـ wrapper ── */
.search-filter .input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 1rem;
    color: #999;
}

/* ── حقل التاريخ والقوائم المنسدلة ── */
.search-filter .input-icon input,
.search-filter .input-icon select {
    width: 100%;
    height: 2.5rem;
    padding: 0.45rem 0.75rem 0.45rem 2.5rem;
    border: 1px solid #ddd;
    background: #f9f9f9;
    font-size: 0.9rem;
    -webkit-transition: border-color 0.3s, -webkit-box-shadow 0.3s;
    transition: border-color 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: border-color 0.3s, box-shadow 0.3s;
    transition: border-color 0.3s, box-shadow 0.3s;
    transition: border-color 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

/* ── تأثير الفوكس ── */
.search-filter .input-icon input:focus,
.search-filter .input-icon select:focus {
    border-color: #EE2937;
    -webkit-box-shadow: 0 0 0 3px rgba(238, 41, 55, 0.1);
    box-shadow: 0 0 0 3px rgba(238, 41, 55, 0.1);
    outline: none;
    background: #fff;
}

.search-filter .btn-primary {
    height: 2.5rem;
    padding: 0 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
    background: #EE2937;
    border-color: #EE2937;
    -webkit-transition: background 0.3s, -webkit-box-shadow 0.3s;
    transition: background 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.search-filter .btn-primary i {
    font-size: 1rem;
}

.search-filter .btn-primary:hover {
    background: #C9202D;
    -webkit-box-shadow: 0 4px 10px rgba(238, 41, 55, 0.2);
    box-shadow: 0 4px 10px rgba(238, 41, 55, 0.2);
}


.search-card {
    background: #fff;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}


.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.2rem;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.play-btn:hover {
    background: rgba(238, 41, 55, 0.8);
}

.search-section .card-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.search-section .card-image {
    height: 240px;
    overflow: hidden;
}

.search-section .card-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    padding: 16px;

}

.card-content .title {
    font-size: 1rem;
    color: #222;
    margin: 0;
}

.card-content .meta time,
.card-content .meta span {
    font-size: 0.8rem;
    color: #666;
}

.card-content .tags .badge {
    font-size: 0.75rem;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.2rem;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.video-play:hover {
    background: rgba(238, 41, 55, 0.9);
}

.tags .badge {
    font-size: 0.75rem;
    margin-right: 0.25rem;
}

.custom-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: var(--pagination-gap);
    padding: 0;
    margin: 2rem 0;
    list-style: none;
}

.custom-pagination li {
    display: block;
}

.custom-pagination .page-link,
.custom-pagination .page-ellipsis {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: var(--pagination-size);
    height: var(--pagination-size);
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50%;
    -webkit-transition: background 0.3s, color 0.3s, -webkit-transform 0.2s;
    transition: background 0.3s, color 0.3s, -webkit-transform 0.2s;
    -o-transition: background 0.3s, color 0.3s, transform 0.2s;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    transition: background 0.3s, color 0.3s, transform 0.2s, -webkit-transform 0.2s;
}

.custom-pagination .page-link {
    background: var(--pagination-bg);
    color: var(--pagination-color);
    border: none;
}

.custom-pagination .page-link:hover {
    background: var(--pagination-hover);
    color: var(--pagination-color-inverse);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.custom-pagination .page-link.active {
    background: var(--pagination-active);
    color: var(--pagination-color-inverse);
    font-weight: 600;
    cursor: default;
}

.custom-pagination .page-ellipsis {
    width: auto;
    padding: 0 0.75rem;
    background: transparent;
    color: var(--pagination-color);
    font-size: 1.2rem;
    cursor: default;
}

.custom-pagination .prev,
.custom-pagination .next {
    background: var(--pagination-bg);
    color: var(--pagination-color);
}

.custom-pagination .prev:hover,
.custom-pagination .next:hover {
    background: var(--pagination-hover);
    color: var(--pagination-color-inverse);
}

.education-featured h3 {
    font-size: 1.8em;
}


/* =========================
   LOGIN WRAPPER & CARD
   ========================= */
.login-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100vh;
    background: #fbfbfb;
    /* light gray background */
}

.login-card {
    background: #ffffff;
    -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2rem;
    text-align: center;
}

/* =========================
   LOGO
   ========================= */
.login-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
}

/* =========================
   TITLES
   ========================= */
.login-title {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: #222;
}

.login-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.75rem;
}

/* =========================
   FORM GROUPS
   ========================= */
.login-form .form-group {
    margin-bottom: 1rem;
    text-align: start;
}

.login-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #333;
}

/* INPUT FIELDS */
.login-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    -webkit-transition: border 0.2s;
    -o-transition: border 0.2s;
    transition: border 0.2s;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #EE2937;
    -webkit-box-shadow: 0 0 0 3px rgba(238, 41, 55, 0.15);
    box-shadow: 0 0 0 3px rgba(238, 41, 55, 0.15);
}

/* PASSWORD WRAPPER */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 3rem;
    /* space for the toggle icon */
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 1.1rem;
    cursor: pointer;
}

/* =========================
   OPTIONS ROW (Remember & Forgot)
   ========================= */
.options-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1.75rem;
    font-size: 0.875rem;
}

.options-row label {
    margin: 0;
}

.checkbox-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #EE2937;
    cursor: pointer;
}

/* =========================
   PRIMARY BUTTON
   ========================= */
.btn-primary {
    width: 100%;
    padding: 0.85rem;
    background-color: #111111;
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

.btn-primary:hover {
    background-color: #333333;
}

/* =========================
   SIGN UP PROMPT
   ========================= */
.signup-prompt {
    font-size: 0.9rem;
    color: #555555;
}

.signup-prompt a {
    font-weight: 600;
    margin-left: 0.25rem;
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }

    .btn-primary {
        font-size: 0.95rem;
    }
}


/* ==========================================
       DASHBOARD PAGE STYLES
       All selectors are prefixed with .dashboard
       to avoid conflicts with existing CSS.
       ========================================== */

.dashboard {
    min-height: 100vh;
    font-family: "OpenSans-Regular", sans-serif;

}

.analytics-container {
    background-color: #fff5f7;
    padding: 1.2rem;
    margin-bottom: 2rem;

}

/* ---------- Top Bar ---------- */
.dashboard .topbar {
    background-color: #ffeaea;
    background-color: #fff5f7;

    padding: 0.75rem 1.5rem;

}

.dashboard .topbar-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.dashboard .topbar .user-profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #D62532;
}

.dashboard .topbar .user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    border: 2px solid hsl(356 71% 85% / 1);
}

.dashboard .topbar .user-profile .username {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.dashboard .topbar .top-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
}

.dashboard .topbar .top-icons .btn-top {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #ee2937;
    position: relative;
    border: 1px solid #D62532;
    background: rgba(250, 189, 193, 0.30);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.dashboard .topbar .top-icons .btn-top:hover {
    color: #c9202d;
}

/* ========== TOPBAR DROPDOWN ========== */
.topbar-menu {
    position: absolute;
    top: 110%;
    right: 12px;
    width: 266px;
    background: #fff;
    border: 1px solid #e5e7eb;
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    display: none;
    z-index: 1000;
    border: 1px solid #F4BEC2;

    background: #fff5f7;
}

.topbar-menu.show {
    display: block;
}

.topbar-menu li {
    list-style: none;
}

.topbar-menu a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
}

.topbar-menu a:hover {
    background: #f9f9f9;
}

.topbar-menu hr {
    margin: 0.25rem 0;
    border-color: #eee;
}

/* ========== NOTIFICATION PANEL ========== */
/* ========== NOTIFICATION PANEL ========== */
.notif-panel {
    position: fixed;
    top: 0;
    left: -400px;
    /* hidden off-canvas */
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background: #ffffff;
    -webkit-box-shadow: 4px 0 18px rgba(0, 0, 0, .08);
    box-shadow: 4px 0 18px rgba(0, 0, 0, .08);
    padding: 0 0 1rem;
    overflow-y: auto;
    -webkit-transition: left .35s ease;
    -o-transition: left .35s ease;
    transition: left .35s ease;
    z-index: 1050;
}

/* Slide-in */
.notif-panel.open {
    left: 0;
}

/* Sticky header inside panel */
.notif-top {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.notif-top h5 {
    font-family: "OpenSans-bold";
}

.notif-top .count {
    color: var(--color-primary, #EE2937);
}

/* Mark-all button */
.notif-top .mark-all {
    font-size: .85rem;
    color: var(--color-primary, #EE2937);
    background: none;
    border: none;
    cursor: pointer;
}

.notif-top .mark-all:hover {
    text-decoration: underline;
}

/* List layout */
.notif-list {
    margin: 0;
    padding: .5rem 0;
    list-style: none;
}

.notif-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .75rem;
    padding: .9rem 1.25rem;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

/* Icon circle */
.notif-item .icon {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 1.15rem;
    background: rgba(238, 41, 55, .12);
    color: var(--color-primary, #EE2937);
    padding: .55rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
}

/* Red dot for unread */
.notif-item.unread::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 18px;
    width: 10px;
    height: 10px;
    background: #EE2937;
    border-radius: 50%;
}

/* Text & time */
.notif-body .notif-text {
    font-size: .9rem;
    margin: 0 0 .15rem;
    color: #333;
}

.notif-body .notif-time {
    font-size: .75rem;
    color: #777;
}

/* Divider label */
.notif-divider {
    font-size: .8rem;
    font-weight: 600;
    color: #999;
    padding: .6rem 1.25rem .2rem;
    text-transform: uppercase;
}

/* Footer link */
.notif-footer {
    display: block;
    text-align: center;
    font-weight: 600;
    color: var(--color-primary, #EE2937);
    padding: .85rem 0;
    border-top: 1px solid #f0f0f0;
}

.notif-footer:hover {
    text-decoration: underline;
}

/* Badge on bell */
.btn-top {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #EE2937;
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: #EE2937;
    color: #fff;
    font-size: .65rem;
    padding: 1px 5px;
    border-radius: 50%;
}

/* Responsive tweak */
@media (max-width: 576px) {
    .notif-panel {
        width: 100%;
    }
}

/* ---------- Main Container ---------- */
.dashboard .container-main {
    margin: 2.5rem auto;
}

/* ---------- Header: Analytics ---------- */
.dashboard .analytics-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.dashboard .analytics-header h2 {
    font-size: 1.75rem;
    color: #333;
    margin: 0;
    font-family: "OpenSans-bold";


}

.dashboard .analytics-header .date-range {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    color: #555;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
}

.dashboard .analytics-header .date-range i {
    color: #ee2937;
}

/* ---------- Statistics Cards ---------- */
.dashboard .stats-cards {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.dashboard .stats-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    position: relative;
    padding: 1rem 1.25rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: hidden;
}

/* Decorative red accent on left */
.dashboard .stats-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #ee2937;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.dashboard .stats-card .card-content {
    z-index: 1;
}

.dashboard .stats-card .card-content .label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.25rem;
}

.dashboard .stats-card .card-content .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
}

.dashboard .stats-card .card-icon {
    z-index: 1;
    font-size: 1.5rem;
    color: #ee2937;
    background-color: rgba(238, 41, 55, 0.1);
    padding: 0.75rem;
}

.dashboard .events-sidebar,
.latest-news {
    background-color: #fff5f7;
    padding: 1.2rem;
}

/* ---------- Latest News Grid ---------- */
.dashboard .section-title {
    font-family: "opensans-bold", serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.dashboard .news-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.dashboard .news-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: -webkit-box-shadow 0.2s ease;
    transition: -webkit-box-shadow 0.2s ease;
    -o-transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.dashboard .news-card:hover {
    -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dashboard .news-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    -o-object-fit: cover;
    object-fit: cover;
}

.dashboard .news-card .card-body {
    padding: 0.75rem 1rem 1rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}


.dashboard .news-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0.5rem 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.dashboard .read-more {
    font-size: 0.9rem;
    color: #ee2937;
    text-decoration: none;
    margin-top: 0.5rem;
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.dashboard .news-card .read-more:hover {
    text-decoration: underline;
}

/* ---------- Events Sidebar ---------- */


.dashboard .events-sidebar .section-title {
    margin-bottom: 1rem;
}

.dashboard .event-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.75rem;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-transition: -webkit-box-shadow 0.2s ease;
    transition: -webkit-box-shadow 0.2s ease;
    -o-transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.dashboard .event-card:hover {
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dashboard .event-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    border: 2px solid #ee2937;
}

.dashboard .event-details {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.dashboard .event-details .event-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.25rem;
}

.dashboard .event-details .event-date {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.dashboard .event-details .event-desc {
    font-size: 0.85rem;
    color: #555;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.dashboard .event-card .bookmark-icon {
    font-size: 1.25rem;
    color: #ee2937;
    padding: 0.25rem;
    cursor: pointer;
}

.dashboard .event-card .bookmark-icon:hover {
    background-color: rgba(238, 41, 55, 0.2);
}

/* ---------- Grid Layout for News + Sidebar ---------- */
.dashboard .content-row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1.5rem 360px;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .dashboard .content-row {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .dashboard .events-sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .dashboard .stats-cards {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .dashboard .news-card img {
        height: 140px;
    }
}

/* ===============  SAVED-FILTER  =============== */
.saved-filter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-gray-200);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    margin-bottom: 2rem;
}

.saved-filter .input-icon {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 100%;
}

.saved-filter .input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
}

.saved-filter .form-control,
.saved-filter .form-select {
    padding-left: 2.5rem;
    /* space for icon */
    height: 42px;
    font-size: .9rem;
    border: 1px solid var(--color-gray-200);
    -webkit-transition: border-color .2s;
    -o-transition: border-color .2s;
    transition: border-color .2s;
}

.saved-filter .form-control:focus,
.saved-filter .form-select:focus {
    border-color: var(--color-primary);
    -webkit-box-shadow: 0 0 0 2px hsl(356 85% 96% / .8);
    box-shadow: 0 0 0 2px hsl(356 85% 96% / .8);
}

.saved-filter .btn-search {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .4rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    height: 42px;
    padding: 0 1.25rem;
    font-weight: 600;
    -webkit-transition: background .25s;
    -o-transition: background .25s;
    transition: background .25s;
}

.saved-filter .btn-search:hover {
    background: var(--color-primary-dark);
}

/* ===============  SAVED-GRID / CARDS  =============== */
.saved-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.saved-card {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: -webkit-box-shadow .25s;
    transition: -webkit-box-shadow .25s;
    -o-transition: box-shadow .25s;
    transition: box-shadow .25s;
    transition: box-shadow .25s, -webkit-box-shadow .25s;
}

.saved-card:hover {
    -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
}

.saved-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    -o-object-fit: cover;
    object-fit: cover;
}

.saved-card .card-body {
    padding: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: .5rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.saved-card .card-body .meta {
    font-size: .75rem;
    color: var(--color-muted);
}

.saved-card .card-title {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}

.saved-card .card-actions {
    margin-top: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.saved-card .btn-remove {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .35rem;
    background: var(--background-color-primary);
    color: var(--color-primary);
    border: 1px solid var(--color-primary-border);
    padding: .4rem .75rem;
    font-size: .8rem;
    cursor: pointer;
    -webkit-transition: background .2s, color .2s;
    -o-transition: background .2s, color .2s;
    transition: background .2s, color .2s;
}

.saved-card .btn-remove:hover {
    background: var(--color-primary);
    color: #fff;
}


/* ====== أزرار تغيير العرض ====== */
.view-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .4rem;
    -webkit-margin-start: auto;
    margin-inline-start: auto;
    margin-bottom: 20px;
}

.toggle-btn {
    width: 38px;
    height: 38px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 1px solid var(--color-gray-200);
    background: #fff;
    color: var(--color-dark);
    -webkit-transition: background .2s, border-color .2s;
    -o-transition: background .2s, border-color .2s;
    transition: background .2s, border-color .2s;
    cursor: pointer;
}

.toggle-btn:hover {
    background: var(--background-color-primary)
}

.toggle-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ====== المظهر الشبكي (الأساسي) ====== */
.saved-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ====== المظهر القائمى (List) ====== */
.saved-grid.list-view {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.saved-grid.list-view .saved-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 0;
    border: 1px solid var(--color-gray-200);
}

.saved-grid.list-view .saved-card img {
    width: 260px;
    height: 170px;
    -o-object-fit: cover;
    object-fit: cover;
}

.saved-grid.list-view .saved-card .card-body {
    padding: 1rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/* تلطيف العناوين لتمنع التكسير المفاجئ */
.saved-card .card-title {
    line-height: 1.4
}

/* Fallback avatar with first letter */
.user-profile .avatar-fallback {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary, #EE2937);
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

/* --------------  Responsive tweaks -------------- */
@media (max-width: 992px) {
    .saved-filter .input-icon {
        min-width: 150px;
    }
}

@media (max-width: 576px) {
    .saved-filter {
        gap: .75rem;
        padding: 1rem;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .saved-filter .input-icon {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .saved-filter .btn-search {
        width: 100%;
    }

    .dashboard .topbar {
        padding: 10px 0 !important;
    }

    .dashboard .topbar .user-profile img {
        width: 30px;
        height: 30px;
    }

    .dashboard .topbar .user-profile .username {
        font-size: 12px;
    }

    .dashboard .topbar .user-profile {
        gap: 5px;
        padding: 8px;
    }

    .dashboard .topbar .top-icons .btn-top {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .saved-grid.list-view .saved-card img {
        width: 120px;
        height: 140px;
    }

    .saved-grid.list-view .saved-card .card-body {
        padding: 10px;
    }

    .saved-card .card-body .meta {
        display: none !important;
    }

    .saved-card .card-title {
        font-size: 14px;
    }

    .dashboard .read-more {
        font-size: 12px;
    }
}

.thumb-carousel .thumb-caption {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.trending-section .card-large .author-popup {
    top: unset;
    bottom: 101%;
}

.categories-section .card-small img {
    height: 130px;
    width: 160px;
    -o-object-fit: cover;
    object-fit: cover;
}

.small-photos .small-photo-card > a {
    flex: 0 0 80px;
}

.small-photos .small-photo-card {
    gap: 10px;
}

/* Responsive */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .primary-nav {
        display: none;
    }

    .primary-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        border-top: 1px solid var(--color-gray-200);
        padding: 1rem;
    }

    .primary-nav.open ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1rem;
    }

    .trending-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }


    .trending-controls {
        display: none;
    }

    .thumb-carousel {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 16px 0;
    }

    .featured-section .row .col-md-6 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .featured-section .row .col-md-6:last-child {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .col-middle {
        margin-bottom: 20px;
    }

    .world-card,
    .small-cards .item.group .card-small {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }

    .world-card__img img,
    .small-cards .item.group .card-small .thumb {
        width: 100%;
        height: 200px;
        -o-object-fit: cover;
        object-fit: cover;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .world-card__img a,
    .small-cards .item.group .card-small a {
        width: 100%;
    }

    .trend-right,
    .item.group {
        width: 100%;
    }

    .trend-large .card-large {
        margin-bottom: 20px;
    }

    .trend-large .card-large .card-body .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start !important;
        -ms-flex-align: start !important;
        align-items: start !important;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
        gap: 10px;
    }

    .small-cards .card-small .info .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start !important;
        -ms-flex-align: start !important;
        align-items: start !important;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
        gap: 10px;
    }

    .world-section {
        padding: 1.5rem 0;
    }

    .world-featured__meta {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .footer-col ul {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .world-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .card-thumb {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse;
        flex-flow: row-reverse;
        gap: 16px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .card-thumb img {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .card-small {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .card-small > img {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        width: 100%;
        height: 220px;
    }

    .opinion-card .card-thumb img {
        height: 220px;
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;

    }

    .subscribe-form {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;

    }

    .btn-subscribe {
        -webkit-box-flex: .2;
        -ms-flex: .2;
        flex: .2;
    }

    .footer-col h4 {
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        margin: auto;
        margin-bottom: 1rem;
    }

    .footer-about p {
        max-width: 100%;
    }

    .horizontal-news-card {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .meta-row {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
        flex-flow: column-reverse;
    }

    .horizontal-news-card .img-article {
        height: 220px;

        width: 100%;
    }

    .small .horizontal-news-card > a {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        width: 100%;
    }

    .horizontal-news-card > a {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        width: 100%;
    }

    .small .horizontal-news-card .img-article {
        height: 220px;
    }

    .item-title,
    .small .horizontal-news-card .title-article {
        font-size: 1.2rem;
    }

    .main-articles .col-md-3 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .main-articles .col-md-9 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;

    }

    .author-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;

    }

    .author-page {
        padding: 4rem 1rem;
    }

    .author-avatar-wrapper::before,
    .author-avatar {
        width: 100%;
    }

    .author-details .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }


    .contact-section {
        padding: 40px 20px;
    }

    .contact-form {
        padding-left: 0;
        margin-top: 40px;
    }

    .single-article-page {
        padding: 40px 20px;
    }


    .article-image {
        width: 100%;
        height: 300px;
    }

    .share-buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .share-buttons a {
        width: 48%;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .sidebar {
        margin-top: 20px;
    }

    .search-filter {
        padding: 0.75rem;
    }

    .search-filter .input-icon {
        min-width: 140px;
    }

    .mixed-section .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .mixed-featured,
    .mixed-grid {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .thumb-caption h4 {
        font-size: 0.9rem;
    }

    .author-details h1 {
        font-size: 1.6rem;
    }

    h1 {
        font-size: 3rem;
    }

    .single-article-page h1 {
        font-size: 2rem;
    }

    .world-featured__image img {
        width: 100%;
        height: 300px;
    }

    .small-photo-card .author {
        display: none;
    }

    .world-featured__meta {
        gap: 12px;
    }

    .support-banner {

        height: 250px;
    }

    .support-content {
        margin: 0;
        padding: 20px
    }

    .subscriptions-section .nav-tabs li,
    .subscriptions-section .nav-tabs li button {
        width: 100%;
    }


    .categories-section .card-small img {
        height: 180px;
        width: 100%;

    }

    .thumb-carousel .card-thumb img {
        aspect-ratio: 1 / .7;

    }

    .col-right {
        margin-top: 20px;
    }

    .subscribe-content {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
    }

    .subscribe-content h2 {
        font-size: 3rem
    }

    .featured-section,
    .world-section,
    .videos-section,
    .films-section,
    .categories-section,
    .opinion-section,
    .subscribe-section {
        padding: 2rem 0;
    }

    .opinion-header {
        margin-bottom: 1.5rem
    }

    .category-header.sport {
        margin-top: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .primary-nav {
        display: none;
    }

    .primary-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        border-top: 1px solid var(--color-gray-200);
        padding: 1rem;
    }

    .primary-nav.open ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1rem;
    }

    .trending-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }


    .trending-controls {
        display: none;
    }

    .thumb-carousel {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 16px 0;
    }

    .featured-section .row .col-md-6 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .featured-section .row .col-md-6:last-child {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .col-middle {
        margin-bottom: 20px;
    }

    .world-card,
    .small-cards .item.group .card-small {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }

    .world-card__img img,
    .small-cards .item.group .card-small .thumb {
        width: 100%;
        height: 400px;
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
    }

    .trend-right,
    .item.group {
        width: 100%;
    }

    .trend-large .card-large {
        margin-bottom: 20px;
    }

    .trend-large .card-large .card-body .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start !important;
        -ms-flex-align: start !important;
        align-items: start !important;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
        gap: 10px;
    }

    .small-cards .card-small .info .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start !important;
        -ms-flex-align: start !important;
        align-items: start !important;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
        gap: 10px;
    }


    .world-featured__meta {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .footer-col ul {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .world-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .card-thumb {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse;
        flex-flow: row-reverse;
        gap: 16px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .card-thumb img {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .card-small {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .card-small > img {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        width: 100%;
        height: 220px;
    }

    .opinion-card .card-thumb img {
        height: 220px;
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;

    }

    .subscribe-form {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;

    }

    .btn-subscribe {
        -webkit-box-flex: .2;
        -ms-flex: .2;
        flex: .2;
    }

    .footer-col h4 {
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        margin: auto;
        margin-bottom: 1rem;
    }

    .footer-about p {
        max-width: 100%;
    }

    .horizontal-news-card {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .meta-row {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
        flex-flow: column-reverse;
    }

    .horizontal-news-card .img-article {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        height: 220px;

        width: 100%;
    }

    .small .horizontal-news-card .img-article {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        height: 220px;
    }

    .item-title,
    .small .horizontal-news-card .title-article {
        font-size: 1.2rem;
    }

    .main-articles .col-md-3 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .main-articles .col-md-9 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;

    }

    .author-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;

    }

    .author-page {
        padding: 4rem 1rem;
    }

    .author-avatar-wrapper::before,
    .author-avatar {
        width: 100%;
    }

    .author-details .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }


    .contact-section {
        padding: 40px 20px;
    }

    .contact-form {
        padding-left: 0;
        margin-top: 40px;
    }

    .single-article-page {
        padding: 40px 20px;
    }


    .article-image {
        width: 100%;
        height: 300px;
    }

    .share-buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .share-buttons button {
        width: 48%;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .sidebar {
        margin-top: 20px;
    }

    .search-filter {
        padding: 0.75rem;
    }

    .search-filter .input-icon {
        min-width: 140px;
    }

    .mixed-section .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .mixed-featured,
    .mixed-grid {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .thumb-caption h4 {
        font-size: 1.8rem;
    }

    .card-thumb img {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 240px;
        flex: 0 0 240px;
        height: 200px;
    }


    .group-small-articles .card-thumb {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: start;
    }

    .card-text-small h3 {
        font-size: 2rem;
    }

    .card-text-small p {
        font-size: 1rem;
    }

    .group-small-articles .thumb-caption h4 {
        font-size: 1.4rem;
    }

    .category,
    .meta time,
    .meta .author,
    .group-small-articles .card-thumb .category,
    .thumb-caption .category {
        font-size: 14px;
    }

    .card-large .card-body .card-title {
        font-size: 2rem;
    }

    .card-small .title {
        font-size: 1.8rem;
    }

    .feature-img {
        height: 400px;
    }

    .education-featured h3,
    .world-featured__title,
    .feature-body .feature-title {
        font-size: 2rem;
    }

    .opinion-card h3,
    .card-small .body h4,
    .world-card__title,
    .small-photo-title {
        font-size: 1.6rem;
    }

    .card-small .body {
        padding: 1rem;
    }

    .small-photo-card > img {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 200px;
        flex: 0 0 200px;
    }

    .small-photos .category,
    .small-photos .meta time,
    .small-photos .meta .author {
        font-size: 14px;
    }

    .small-photos article {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 12px !important;
    }

    .row-meta {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-box-align: start !important;
        -ms-flex-align: start !important;
        align-items: start !important;
        gap: 12px;
    }

    .owl-carousel .owl-item img {
        display: block;
        width: 100%;
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
    }

    .film-card .card-body h3 {
        font-size: 1.8rem;
    }

    .category-header h2 {
        font-size: 2rem;
    }

    .footer-container {

        -ms-grid-columns: 1fr 1fr;

        grid-template-columns: 1fr 1fr;
    }

    .footer-col h4 {
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        margin: 0;
        margin-bottom: 1rem;
    }
}

@media only screen and (device-width: 1024px) and (device-height: 1366px) and (orientation: portrait) {
    .col-left .card-text > .d-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
        flex-flow: column-reverse;
        gap: 10px;
        -webkit-box-align: start !important;
        -ms-flex-align: start !important;
        align-items: start !important;
    }

    .group-small-articles {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;

    }


    .card-text-small h3 {
        font-size: 1.6rem;
    }

    .featured-section .col-lg-9 {
        width: 65%;
    }

    .featured-section .col-lg-3 {
        width: 35%;
    }

    .small-cards .item.group .card-small .thumb {
        width: 140px;
        height: 120px;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .world-card,
    .small-cards .item.group .card-small {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .small-cards .card-small .info .d-flex {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .card-small .title {
        font-size: 1.2rem;
    }

    .world-card,
    .small-cards .item.group .card-small .author {
        display: none;
    }

    .feature-img {
        height: 260px;
    }

    .education-featured h3,
    .world-featured__title,
    .feature-body .feature-title {
        font-size: 1.6rem;
    }

    .small-photos article {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .small-photo-card > img {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        width: 100%;
    }

    .small-photo-card .author {
        display: none;
    }

    .opinion-card h3,
    .card-small .body h4,
    .world-card__title,
    .small-photo-title {
        font-size: 1.2rem;
    }


}

/* ===== Support Hero (Pro) — uses your color tokens ===== */

.support-hero {
    position: relative;
    min-height: 70vh;
    /* taller but responsive */
    display: -ms-grid;
    display: grid;
    place-items: center;
    color: var(--color-white);
    isolation: isolate;
    background: -o-radial-gradient(100% -10%, 1200px 600px, color-mix(in srgb, var(--color-secondary) 25%, transparent), transparent 60%),
    -o-radial-gradient(-10% 100%, 900px 500px, color-mix(in srgb, var(--color-primary) 28%, transparent), transparent 60%),
    url('../img/support-header.jpg') center/cover no-repeat;
    background: radial-gradient(1200px 600px at 100% -10%, color-mix(in srgb, var(--color-secondary) 25%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, color-mix(in srgb, var(--color-primary) 28%, transparent), transparent 60%),
    url('../img/support-header.jpg') center/cover no-repeat;
}

/* dark film for contrast */
.support-hero__overlay {
    position: absolute;
    inset: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .45)), to(rgba(0, 0, 0, .55)));
    background: -o-linear-gradient(top, rgba(0, 0, 0, .45), rgba(0, 0, 0, .55));
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .55));
    z-index: -1;
}

/* soft brand gradient tint */
.support-hero__gradient {
    position: absolute;
    inset: 0;
    background: -o-radial-gradient(75% 20%, 600px 300px, rgba(255, 255, 255, .12), transparent 60%),
    -o-radial-gradient(15% 80%, 420px 260px, color-mix(in srgb, var(--color-primary) 14%, transparent), transparent 60%);
    background: radial-gradient(600px 300px at 75% 20%, rgba(255, 255, 255, .12), transparent 60%),
    radial-gradient(420px 260px at 15% 80%, color-mix(in srgb, var(--color-primary) 14%, transparent), transparent 60%);
    mix-blend-mode: screen;
    z-index: -1;

    -webkit-backdrop-filter: saturate(1.1) blur(4px);

    backdrop-filter: saturate(1.1) blur(4px);
}

.support-hero__container {
    width: 100%;

}

.support-hero__content {
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(1.25rem, 2.5vw, 2.25rem);
    text-align: center;
}

.eyebrow-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    gap: .5rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .4rem .8rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .03em;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    margin-bottom: .75rem;
    color: var(--color-white);
}

.support-hero__title {
    margin: 0 0 .5rem;
    font-weight: 800;
    line-height: 1.1;
    font-size: clamp(2rem, 4.8vw, 3.25rem);
    color: var(--color-white);
}

.support-hero__subtitle {
    margin: 0 auto 1.25rem;
    max-width: 54ch;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: color-mix(in srgb, var(--color-white) 92%, var(--color-dark));
}

/* CTAs */
.support-hero__actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .75rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: .25rem 0 1rem;
}

.btn-cta {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.15rem;
    font-weight: 700;
    text-decoration: none;
    -webkit-transition: background .2s ease, color .2s ease, -webkit-transform .2s ease, -webkit-box-shadow .2s ease;
    transition: background .2s ease, color .2s ease, -webkit-transform .2s ease, -webkit-box-shadow .2s ease;
    -o-transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, -webkit-transform .2s ease, -webkit-box-shadow .2s ease;
    border: 2px solid transparent;
    will-change: transform;
}

.btn-cta:focus {
    outline: 2px solid var(--color-primary-border);
    outline-offset: 2px;
}

.btn-cta--primary {
    background: var(--color-primary);
    color: var(--color-white);
    -webkit-box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 25%, transparent);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.btn-cta--primary:hover {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.btn-cta--ghost {
    background: rgba(255, 255, 255, .08);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, .25);
}

.btn-cta--ghost:hover {
    background: var(--color-white);
    color: #111;
}

/* trust line */
.support-hero__trust {
    margin: .25rem 0 0;
    font-size: .92rem;
    color: rgba(255, 255, 255, .85);
}

/* Accessibility: reduce movement */
@media (prefers-reduced-motion: reduce) {
    .btn-cta {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

/* Mobile tuning */
@media (max-width: 576px) {
    .support-hero {
        min-height: 52vh;
    }

    .support-hero__content {
        padding: 1.25rem;
    }
}

/* ===== Support Intro (matches hero aesthetic) ===== */
.support-intro {
    position: relative;
    margin-top: -4rem;
    z-index: 10;
}

.support-intro__card {
    /* max-width: 980px; */
    background: var(--panel-bg);
    -webkit-backdrop-filter: saturate(1.1) blur(6px);
    backdrop-filter: saturate(1.1) blur(6px);
    border: 1px solid var(--color-primary-border);
    -webkit-box-shadow: var(--panel-shadow);
    box-shadow: var(--panel-shadow);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.support-intro__header {
    margin-bottom: 1rem;
}

.pill {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid var(--color-primary-border);
    background: var(--background-color-primary);
    color: var(--color-primary-dark);
}

.pill i {
    color: var(--color-primary);
}

.support-intro__title {
    margin: .5rem 0 .25rem;
    font-weight: 800;
    color: var(--color-dark);
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    line-height: 1.2;
}

.support-intro__lead {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.support-intro__grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1.2fr clamp(1rem, 3vw, 2rem) .8fr;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 1rem 0 1rem;
}

@media (max-width: 768px) {
    .support-intro__grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .action-btn {
        width: 28px;
        height: 28px;
    }
}

.support-intro__col p {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: .85rem;
}

.support-callout {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto .75rem 1fr;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    margin: 1rem 0;
    padding: .9rem 1rem;
    background: var(--background-color-primary);
    border: 1px dashed var(--color-primary-border);
}

.support-callout i {
    color: var(--color-primary);
    font-size: 1.15rem;
    line-height: 1;
    margin-top: .15rem;
}

.support-callout strong {
    color: var(--color-dark);
    display: block;
}

.support-callout span {
    color: var(--color-muted);
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: -ms-grid;
    display: grid;
    gap: .55rem;
}

.benefits li {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto .6rem 1fr;
    grid-template-columns: auto 1fr;
    gap: .6rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .55rem .7rem;
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    color: var(--color-dark);
    font-weight: 600;
}

.benefits i {
    color: var(--color-secondary);
}

.support-quote {
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--color-primary);
    background: var(--color-gray-50);
}

.support-quote p {
    margin: 0 0 .5rem;
    color: var(--color-dark);
    font-weight: 700;
}

.support-quote footer {
    color: var(--color-muted);
    font-size: .95rem;
}

.signature {
    margin-top: 1.2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--color-gray-200);
}

.signature__meta strong {
    display: block;
    color: var(--color-dark);
}

.signature__meta span {
    color: var(--color-muted);
    font-size: .95rem;
}

/* ===== Card shell matching hero aesthetic ===== */
.card-clean {
    background: var(--panel-bg);
    border: 1px solid var(--color-primary-border);
    -webkit-box-shadow: var(--panel-shadow);
    box-shadow: var(--panel-shadow);
    padding: clamp(1rem, 2vw, 1.5rem);
    -webkit-backdrop-filter: blur(6px) saturate(1.05);
    backdrop-filter: blur(6px) saturate(1.05);
}

/* Heading */
.section-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .75rem;
    font-weight: 800;
    color: var(--color-dark);
}

.section-heading i {
    color: var(--color-primary);
}

/* Disclaimer text */
.disclaimer-copy p {
    font-size: .97rem;
    line-height: 1.65;
    color: var(--color-muted);
}

.link-underline {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Bank card */
.bank-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    padding: 1rem;
}

.bank-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .75rem;
    font-weight: 800;
    color: var(--color-dark);
}

.bank-title i {
    color: var(--color-primary);
}

/* Bank list items */
.bank-list {
    display: -ms-grid;
    display: grid;
    gap: .5rem;
}

.bank-item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 28px .5rem 120px .5rem 1fr .5rem auto;
    grid-template-columns: 28px 120px 1fr auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    padding: .55rem .5rem;
    border: 1px solid var(--color-gray-200);
    -webkit-transition: border-color .2s ease, background .2s ease;
    -o-transition: border-color .2s ease, background .2s ease;
    transition: border-color .2s ease, background .2s ease;
}

.bank-item:hover {
    border-color: var(--color-primary-border);
    background: var(--color-gray-50);
}

.bank-item .icon {
    display: -ms-grid;
    display: grid;
    place-items: center;
    color: var(--color-primary);
}

.bank-item .label {
    font-weight: 700;
    color: var(--color-dark);
}

.bank-item .value {
    color: var(--color-muted);
    overflow-wrap: anywhere;
}

/* Copy button */
.copy-btn {
    border: 0;
    background: transparent;
    color: var(--color-muted);
    padding: .35rem .4rem;
    cursor: pointer;
    -webkit-transition: color .2s ease, background .2s ease;
    -o-transition: color .2s ease, background .2s ease;
    transition: color .2s ease, background .2s ease;
}

.copy-btn:hover {
    color: var(--color-primary);
    background: var(--color-gray-100);
}

/* Hint */
.bank-hint {
    margin-top: .75rem;
    font-size: .9rem;
    color: var(--color-muted);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    background: var(--background-color-primary);
    border: 1px dashed var(--color-primary-border);
    padding: .6rem .75rem;
}

.bank-hint i {
    color: var(--color-secondary);
}

/* Small screens */
@media (max-width: 576px) {
    .bank-item {
        -ms-grid-columns: 24px 100px 1fr auto;
        grid-template-columns: 24px 100px 1fr auto;
        padding: .5rem .45rem;
    }
}

.pro-onboarding-alert {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: calc(100vh - 80px - 5rem);

}

/* ========= Pro Subscription Alert ========= */
.pro-alert {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 64px 1rem 1fr;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    background: var(--background-color-primary);
    border: 1px solid var(--color-primary-border);
    border-left: 6px solid var(--color-primary);
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
    -webkit-animation: proFadeIn .45s ease;
    animation: proFadeIn .45s ease;
    margin: 1.5rem auto;
    width: 100%;
}

.pro-alert__close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: -ms-grid;
    display: grid;
    place-items: center;
}

.pro-alert__close:hover {
    background: rgba(0, 0, 0, .04);
    color: var(--color-dark)
}

.pro-alert__icon {
    align-self: flex-start;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: -ms-grid;
    display: grid;
    place-items: center;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.35rem;
    -webkit-box-shadow: 0 6px 14px rgba(238, 41, 55, .25);
    box-shadow: 0 6px 14px rgba(238, 41, 55, .25);
}

.pro-alert__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: .65rem
}

.pro-alert__badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    gap: .4rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .28rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .02em;
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--color-primary-border);
    color: var(--color-dark);
    margin-bottom: .25rem;
}

.pro-alert__title {
    margin: 0 0 .15rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-dark);
    font-family: "OpenSans-Bold", sans-serif;
}

.pro-alert__subtitle {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: .96rem;
}

/* benefits */
.pro-alert__benefits {
    list-style: none;
    padding: 0;
    margin: .35rem 0;
    display: -ms-grid;
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap: .35rem .75rem;
}

.pro-alert__benefits li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .5rem;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    color: var(--color-dark);
    font-weight: 600;
}

.pro-alert__benefits i {
    color: var(--color-success);
    margin-top: .15rem;
    font-size: .95rem;
}

/* progress */
.pro-alert__progress {
    margin: .4rem 0 .2rem
}

.pro-alert__progress-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--color-muted);
    margin-bottom: .25rem;
}

.pro-alert__bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: var(--color-gray-100);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
}

.pro-alert__bar-fill {
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, from(var(--color-primary)), to(var(--color-primary-dark)));
    background: -o-linear-gradient(left, var(--color-primary), var(--color-primary-dark));
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    border-right: 2px solid rgba(255, 255, 255, .7);
    -webkit-transition: width .4s ease;
    -o-transition: width .4s ease;
    transition: width .4s ease;
}

.pro-alert__progress-note {
    display: block;
    margin-top: .35rem;
    color: var(--color-muted);
}

/* actions */
.pro-alert__actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .25rem;
}

.btn-cta {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.1rem;
    font-weight: 800;
    text-decoration: none;
    -webkit-transition: background .2s ease, color .2s ease, -webkit-transform .2s ease, -webkit-box-shadow .2s ease;
    transition: background .2s ease, color .2s ease, -webkit-transform .2s ease, -webkit-box-shadow .2s ease;
    -o-transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, -webkit-transform .2s ease, -webkit-box-shadow .2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-cta--primary:hover {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.btn-cta--ghost {
    background: #fff;
    color: var(--color-dark);
    border-color: var(--color-primary-border);
}

.btn-cta--ghost:hover {
    background: var(--color-gray-50)
}

/* trust row */
.pro-alert__trust {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .75rem;
    margin-top: .35rem;
}

.pro-alert__trust-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .8rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: .87rem
}

.pro-trust-lock, .pro-trust-refund {
    color: var(--color-muted)
}

.pro-trust-lock i {
    color: var(--color-success);
    margin-right: .35rem
}

.pro-trust-refund i {
    color: var(--color-primary);
    margin-right: .35rem
}

.pro-alert__trust-logos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .45rem;
    opacity: .85;
    font-size: 1.25rem;
    color: var(--color-muted)
}

/* responsive */
@media (max-width: 576px) {
    .pro-alert {
        -ms-grid-columns: 48px 1fr;
        grid-template-columns: 48px 1fr;
        padding: 1rem;
        border-left-width: 5px;
    }

    .pro-alert__icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem
    }

    .pro-alert__title {
        font-size: 1.1rem
    }

    .pro-alert__subtitle {
        font-size: .9rem
    }
}

/* animation */
@-webkit-keyframes proFadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px)
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes proFadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px)
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

/* ===== Section tint base (apply with one of the .is-* tokens below) ===== */
.sec-tint {
    --cat-bg: #f7f7f7;
    --cat-fg: #333333;

    /* Soft layered background */
    background: radial-gradient(1200px 600px at 100% 0%,
    color-mix(in srgb, var(--cat-bg) 82%, #ffffff) 0%,
    transparent 70%),
    linear-gradient(180deg,
        color-mix(in srgb, var(--cat-bg) 92%, #ffffff) 0%,
        #ffffff 100%);

    border: 1px solid color-mix(in srgb, var(--cat-fg) 18%, #ffffff);
    padding: clamp(16px, 2.5vw, 28px);
}

/* Flat variant (ultra subtle) */
.sec-tint--flat {
    background: color-mix(in srgb, var(--cat-bg) 32%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--cat-fg) 14%, #ffffff);
}

/* Stronger variant */
.sec-tint--bold {
    background: linear-gradient(180deg,
    color-mix(in srgb, var(--cat-bg) 70%, #ffffff) 0%,
    color-mix(in srgb, var(--cat-bg) 40%, #ffffff) 100%);
    border: 1px solid color-mix(in srgb, var(--cat-fg) 22%, #ffffff);
}

/* Fallback when color-mix is not supported */
@supports not (color: color-mix(in srgb, #000, #fff)) {
    .sec-tint {
        background: var(--cat-bg);
        border-color: rgba(0, 0, 0, .06);
    }

    .sec-tint--flat {
        background: var(--cat-bg);
    }

    .sec-tint--bold {
        background: var(--cat-bg);
    }
}

/* Optional helpers */
.sec-tint a {
    color: color-mix(in srgb, var(--cat-fg) 70%, #000000);
}

.sec-tint .section-title {
    color: color-mix(in srgb, var(--cat-fg) 80%, #000000);
}

/* ===== Category tokens: set palette via CSS variables ===== */
.is-india {
    --cat-bg: #d1f7e2;
    --cat-fg: #0d6b58;
}

.is-gaza-genocide {
    --cat-bg: #ffe3e3;
    --cat-fg: #d82424;
}

.is-north-india {
    --cat-bg: #E3F2FD;
    --cat-fg: #1565C0;
}

.is-south-india {
    --cat-bg: #FFF3E0;
    --cat-fg: #EF6C00;
}

.is-central-india {
    --cat-bg: #f3e8ff;
    --cat-fg: #8a2be2;
}

.is-east-india {
    --cat-bg: #e6fcf5;
    --cat-fg: #20c997;
}

.is-western-india {
    --cat-bg: #fff9db;
    --cat-fg: #ffc107;
}

.is-north-east-india {
    --cat-bg: #f0f5e5;
    --cat-fg: #51cf66;
}

.is-world {
    --cat-bg: #e7f1ff;
    --cat-fg: #339af0;
}

.is-kashmir {
    --cat-bg: #e9ecef;
    --cat-fg: #495057;
}

.is-features {
    --cat-bg: #FBE9E7;
    --cat-fg: #D84315;
}

.is-factcheck {
    --cat-bg: #e7f5ff;
    --cat-fg: #1971c2;
}

.is-opinion {
    --cat-bg: #f8f9fa;
    --cat-fg: #212529;
}

.is-science-technology {
    --cat-bg: #e0fcff;
    --cat-fg: #12b886;
}

.is-photo {
    --cat-bg: #e5f2ff;
    --cat-fg: #339af0;
}

.is-film-tv {
    --cat-bg: #f0e5ff;
    --cat-fg: #6610f2;
}

.is-video {
    --cat-bg: #e6fadf;
    --cat-fg: #51cf66;
}

.is-education {
    --cat-bg: #fffcd5;
    --cat-fg: #f59f00;
}

.is-music {
    --cat-bg: #ffe3ec;
    --cat-fg: #f06595;
}

.is-business-and-economy {
    --cat-bg: #fffdd0;
    --cat-fg: #f08c00;
}

.is-bookshelf {
    --cat-bg: #ffe5f0;
    --cat-fg: #e64980;
}

.is-sports {
    --cat-bg: #e5f7dc;
    --cat-fg: #37b24d;
}

.is-lifestyle {
    --cat-bg: #f0fff4;
    --cat-fg: #51cf66;
}

.post-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: .25rem;
}

.post-actions i {
    margin: 0 !important;
}
