        /* Knowledge Center — intentionally uses the global Ajeeb variables/theme from layouts.app */
        .knowledge-page {
            background: var(--bg);
            color: var(--text);
            overflow: hidden
        }

        .kc-container {
            width: min(calc(100% - (var(--side-padding, clamp(18px, 6vw, 80px))*2)), var(--container, 1140px));
            margin-inline: auto
        }

        .kc-section {
            padding: clamp(72px, 8vw, 115px) 0
        }

        .kc-center {
            text-align: center
        }

        .kc-kicker {
            margin: 0 0 14px;
            color: #985356;
            font-size: 8px;
            font-weight: 900;
            letter-spacing: .32em;
            text-transform: uppercase
        }

        .kc-title {
            margin: 0;
            font-size: clamp(34px, 4vw, 56px);
            line-height: 1;
            letter-spacing: -.045em;
            font-weight: 850
        }

        .kc-copy {
            margin: 14px auto 0;
            max-width: 680px;
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.6
        }

        /* ======================================================
   KNOWLEDGE CENTER HERO
   Uses the existing global website variables
====================================================== */
        .knowledge-hero {
            position: relative;
            isolation: isolate;
            min-height: 510px;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding:
                90px var(--page-padding, 24px) 105px;
            background:
                var(--bg);
            color:
                var(--text);
            position: relative;
            isolation: isolate;
            width: 100%;
            max-width: 100%;
            min-height: 100vh;
            padding: 128px var(--side-padding) 120px;
            overflow: hidden;
            box-sizing: border-box;
        }

        /* ======================================================
   BACKGROUND GLOW
====================================================== */
        .knowledge-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -4;
            background:
                radial-gradient(circle at 8% 12%,
                    rgba(202, 76, 78, .19),
                    transparent 31%),
                radial-gradient(circle at 92% 20%,
                    rgba(214, 111, 113, .16),
                    transparent 32%),
                linear-gradient(180deg,
                    #f6f4f4,
                    #f7f6f6 60%,
                    var(--bg) 100%);
        }

        /* Extra glow elements */
        .knowledge-glow {
            position: absolute;
            z-index: -2;
            border-radius: 50%;
            pointer-events: none;
            filter: blur(85px);
            opacity: .55;
        }

        .knowledge-glow-left {
            width: 420px;
            height: 420px;
            left: -230px;
            top: -80px;
            background:
                color-mix(in srgb,
                    var(--primary) 35%,
                    transparent);
        }

        .knowledge-glow-right {
            width: 480px;
            height: 280px;
            right: -250px;
            bottom: -480px;
            background:
                color-mix(in srgb,
                    var(--primary) 80%,
                    transparent);
        }

        /* ======================================================
   CONTAINER
====================================================== */
        .knowledge-hero__container {
            position: relative;
            z-index: 2;
            width: min(100%,
                    var(--container, 1180px));
            margin-inline: auto;
            text-align: center;
        }

        /* ======================================================
   EYEBROW
====================================================== */
        .knowledge-eyebrow {
            margin-bottom: 20px;
            color:
                var(--primary);
            font-size: 10px;
            line-height: 1.2;
            font-weight: 700;
            letter-spacing: .34em;
            text-transform: uppercase;
        }

        /* ======================================================
   TITLE
====================================================== */
        .knowledge-title {
            max-width: 900px;
            margin:
                0 auto;
            color:
                var(--text);
            font-size:
                clamp(48px,
                    6.2vw,
                    82px);
            font-weight: 800;
            line-height: .94;
            letter-spacing: -.055em;
        }

        .knowledge-title__accent {
            color:
                var(--primary);
        }

        /* ======================================================
   DESCRIPTION
====================================================== */
        .knowledge-description {
            max-width: 760px;
            margin:
                26px auto 0;
            color:
                var(--text-secondary);
            font-size: 15px;
            line-height: 1.65;
            font-weight: 400;
        }

        /* ======================================================
   SEARCH
====================================================== */
        .knowledge-search {
            width: min(720px,
                    100%);
            min-height: 60px;
            margin:
                35px auto 0;
            padding: 6px;
            display: flex;
            align-items: center;
            border:
                1px solid var(--border);
            border-radius: 16px;
            background:
                color-mix(in srgb,
                    var(--surface) 88%,
                    transparent);
            box-shadow:
                0 18px 45px rgba(0, 0, 0, .07);
            backdrop-filter:
                blur(18px);
            -webkit-backdrop-filter:
                blur(18px);
            transition:
                border-color .3s var(--ease),
                box-shadow .3s var(--ease),
                transform .3s var(--ease);
        }

        .knowledge-search:focus-within {
            border-color:
                color-mix(in srgb,
                    var(--primary) 35%,
                    var(--border));
            box-shadow:
                0 20px 55px rgba(0, 0, 0, .08),
                0 0 0 4px color-mix(in srgb,
                    var(--primary) 6%,
                    transparent);
        }

        /* ======================================================
   INPUT WRAPPER
====================================================== */
        .knowledge-search__input-wrap {
            min-width: 0;
            flex: 1;
            display: flex;
            align-items: center;
            padding-inline:
                16px 8px;
        }

        /* ======================================================
   SEARCH ICON
====================================================== */
        .knowledge-search__icon {
            width: 18px;
            height: 18px;
            flex: 0 0 auto;
            margin-inline-end: 13px;
            fill: none;
            stroke:
                var(--text-secondary);
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
            opacity: .8;
        }

        /* ======================================================
   INPUT
====================================================== */
        .knowledge-search__input {
            width: 100%;
            height: 46px;
            border: 0;
            outline: 0;
            background:
                transparent;
            color:
                var(--text);
            font: inherit;
            font-size: 12px;
            line-height: 1;
        }

        .knowledge-search__input::placeholder {
            color:
                var(--text-secondary);
            opacity: .65;
        }

        /* Remove default search decorations */
        .knowledge-search__input::-webkit-search-cancel-button {
            cursor: pointer;
        }

        /* ======================================================
   SEARCH BUTTON
====================================================== */
        .knowledge-search__button {
            min-width: 92px;
            height: 47px;
            padding:
                0 20px;
            flex: 0 0 auto;
            border: 0;
            border-radius: 12px;
            background:
                var(--primary);
            color:
                #ffffff;
            font: inherit;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            box-shadow:
                0 9px 22px color-mix(in srgb,
                    var(--primary) 30%,
                    transparent);
            transition:
                transform .25s var(--ease),
                box-shadow .25s var(--ease),
                filter .25s var(--ease);
        }

        .knowledge-search__button:hover {
            transform:
                translateY(-2px);
            filter:
                brightness(.94);
            box-shadow:
                0 13px 28px color-mix(in srgb,
                    var(--primary) 38%,
                    transparent);
        }

        .knowledge-search__button:active {
            transform:
                translateY(0) scale(.98);
        }

        /* ======================================================
   SEARCH FEEDBACK
====================================================== */
        .knowledge-search__feedback {
            min-height: 18px;
            margin-top: 11px;
            color:
                var(--text-secondary);
            font-size: 10px;
            opacity: 0;
            transition:
                opacity .25s var(--ease);
        }

        .knowledge-search__feedback.show {
            opacity: 1;
        }

        /* ======================================================
   DARK MODE
   Your existing JS already changes:
   html[data-theme="light"]
   html[data-theme="dark"]
   No duplicate theme JS is needed.
====================================================== */

        html[data-theme="dark"] .knowledge-hero::before {
            background:
                radial-gradient(circle at 7% 38%,
                    color-mix(in srgb,
                        var(--primary) 19%,
                        transparent) 0%,
                    color-mix(in srgb,
                        var(--primary) 7%,
                        transparent) 30%,
                    transparent 55%),
                radial-gradient(circle at 95% 58%,
                    color-mix(in srgb,
                        var(--primary) 17%,
                        transparent) 0%,
                    color-mix(in srgb,
                        var(--primary) 6%,
                        transparent) 30%,
                    transparent 55%);
        }


        html[data-theme="dark"] .knowledge-search {
            background:
                color-mix(in srgb,
                    var(--surface) 82%,
                    transparent);
            box-shadow:
                0 20px 50px rgba(0, 0, 0, .28);
        }


        html[data-theme="dark"] .knowledge-glow {
            opacity: .28;
        }

        /* ======================================================
   RTL / ARABIC
====================================================== */

        html[dir="rtl"] .knowledge-eyebrow {
            letter-spacing: .08em;
        }


        html[dir="rtl"] .knowledge-title {
            letter-spacing: -.025em;
        }


        html[dir="rtl"] .knowledge-search__input {
            text-align: right;
        }

        /* ======================================================
   TABLET
====================================================== */
        @media (max-width: 900px) {
            .knowledge-hero {
                min-height: 480px;
                padding-top: 80px;
                padding-bottom: 90px;
            }

            .knowledge-title {
                max-width: 750px;
                font-size:
                    clamp(45px,
                        8vw,
                        67px);
            }

            .knowledge-description {
                max-width: 650px;
            }
        }

        /* ======================================================
   MOBILE
====================================================== */
        @media (max-width: 600px) {
            .knowledge-hero {
                min-height: 530px;
                padding:
                    75px var(--page-padding, 18px) 80px;
            }

            .knowledge-eyebrow {
                margin-bottom: 17px;
                font-size: 8px;
                letter-spacing: .22em;
            }

            .knowledge-title {
                max-width: 100%;
                font-size:
                    clamp(42px,
                        13vw,
                        58px);
                line-height: .97;
            }

            .knowledge-description {
                max-width: 95%;
                margin-top: 22px;
                font-size: 13px;
                line-height: 1.6;
            }

            .knowledge-search {
                min-height: 56px;
                margin-top: 28px;
                padding: 5px;
                border-radius: 14px;
            }

            .knowledge-search__input-wrap {
                padding-inline:
                    11px 5px;
            }

            .knowledge-search__icon {
                width: 16px;
                height: 16px;
                margin-inline-end: 8px;
            }

            .knowledge-search__input {
                height: 43px;
                font-size: 11px;
            }

            .knowledge-search__button {
                min-width: 78px;
                height: 43px;
                padding:
                    0 14px;
                border-radius: 10px;
                font-size: 11px;
            }

            .knowledge-glow-left {
                width: 300px;
                height: 300px;
                left: -190px;
            }

            .knowledge-glow-right {
                width: 320px;
                height: 320px;
                right: -200px;
            }
        }

        /* ======================================================
   VERY SMALL MOBILE
====================================================== */
        @media (max-width: 390px) {
            .knowledge-title {
                font-size: 41px;
            }

            .knowledge-search__icon {
                display: none;
            }

            .knowledge-search__input-wrap {
                padding-inline:
                    9px 4px;
            }

            .knowledge-search__button {
                min-width: 72px;
                padding:
                    0 11px;
            }
        }

        /* ======================================================
   REDUCED MOTION
====================================================== */
        @media (prefers-reduced-motion: reduce) {

            .knowledge-search,
            .knowledge-search__button {
                transition: none;
            }
        }

        /* ======================================================
   EXPLORE BY TOPIC
====================================================== */
        .knowledge-topics {
            position: relative;
            isolation: isolate;
            padding:
                72px var(--page-padding, 24px) 88px;
            overflow: hidden;
            color:
                var(--text);
        }

        /* ======================================================
   SUBTLE BACKGROUND GLOW
====================================================== */
        .knowledge-topics::before {
            content: "";
            position: absolute;
            z-index: -1;
            width: 520px;
            height: 360px;
            right: -180px;
            top: -160px;
            border-radius: 50%;
            filter:
                blur(90px);
            pointer-events: none;
        }

        /* ======================================================
   CONTAINER
====================================================== */
        .knowledge-topics__container {
            width: min(100%,
                    950px);
            margin-inline: auto;
        }

        /* ======================================================
   HEADING
====================================================== */
        .knowledge-topics__heading {
            margin-bottom: 31px;
            text-align: center;
        }

        .knowledge-topics__eyebrow {
            margin:
                0 0 12px;
            color:
                var(--primary);
            font-size: 8px;
            font-weight: 750;
            letter-spacing: .3em;
            text-transform: uppercase;
        }

        .knowledge-topics__heading h2 {
            margin: 0;
            color:
                var(--text);
            font-size:
                clamp(34px,
                    4vw,
                    45px);
            line-height: 1;
            font-weight: 800;
            letter-spacing: -.045em;
        }

        .knowledge-topics__subtitle {
            margin:
                13px 0 0;
            color:
                var(--text-secondary);
            font-size: 12px;
            line-height: 1.5;
        }

        /* ======================================================
   GRID
====================================================== */
        .knowledge-topics__grid {
            display: grid;
            grid-template-columns:
                repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        /* ======================================================
   CARD
====================================================== */
        .topic-card {
            position: relative;
            min-width: 0;
            min-height: 68px;
            padding:
                9px 17px 9px 11px;
            display: flex;
            align-items: center;
            gap: 13px;
            overflow: hidden;
            border:
                1px solid var(--border);
            border-radius: 15px;
            background:
                color-mix(in srgb,
                    var(--surface) 92%,
                    transparent);
            color:
                var(--text);
            text-decoration: none;
            box-shadow:
                0 10px 27px rgba(0, 0, 0, .045);
            backdrop-filter:
                blur(15px);
            -webkit-backdrop-filter:
                blur(15px);
            transition:
                transform .28s var(--ease),
                border-color .28s var(--ease),
                box-shadow .28s var(--ease),
                background .28s var(--ease);
        }

        /* subtle hover light */
        .topic-card::before {
            content: "";
            position: absolute;
            width: 110px;
            height: 110px;
            left: -70px;
            top: -60px;
            border-radius: 50%;
            background:
                color-mix(in srgb,
                    var(--primary) 8%,
                    transparent);
            opacity: 0;
            transition:
                opacity .3s var(--ease);
            pointer-events: none;
        }

        /* hover */
        .topic-card:hover {
            transform:
                translateY(-4px);
            border-color:
                color-mix(in srgb,
                    var(--primary) 22%,
                    var(--border));
            background:
                var(--surface);
            box-shadow:
                0 16px 35px rgba(0, 0, 0, .075);
        }

        .topic-card:hover::before {
            opacity: 1;
        }

        /* ======================================================
   ICON
====================================================== */
        .topic-card__icon {
            position: relative;
            width: 39px;
            height: 39px;
            flex:
                0 0 39px;
            display: grid;
            place-items: center;
            border-radius: 10px;
            background:
                var(--primary);
            color:
                #ffffff;
            box-shadow:
                0 7px 15px color-mix(in srgb,
                    var(--primary) 34%,
                    transparent);
            transition:
                transform .3s var(--ease),
                box-shadow .3s var(--ease);
        }

        .topic-card:hover .topic-card__icon {
            transform:
                scale(1.06);
            box-shadow:
                0 9px 20px color-mix(in srgb,
                    var(--primary) 42%,
                    transparent);
        }

        /* Icon shine */
        .topic-card__icon::before {
            content: "";
            position: absolute;
            inset: 1px;
            border-radius: 9px;
            background:
                linear-gradient(145deg,
                    rgba(255, 255, 255, .17),
                    transparent 55%);
            pointer-events: none;
        }

        /* SVG */
        .topic-card__icon svg {
            position: relative;
            z-index: 2;
            width: 20px;
            height: 20px;
            fill: none;
            stroke:
                currentColor;
            stroke-width: 1.45;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* ======================================================
   CARD CONTENT
====================================================== */
        .topic-card__content {
            min-width: 0;
            flex: 1;
            display: flex;
            align-items: baseline;
            gap: 5px;
        }

        .topic-card__content strong {
            overflow: hidden;
            color:
                var(--text);
            font-size: 12px;
            line-height: 1.3;
            font-weight: 700;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .topic-card__content span {
            flex: 0 0 auto;
            color:
                var(--text-secondary);
            font-size: 9px;
            font-weight: 400;
        }

        /* ======================================================
   ARROW
====================================================== */
        .topic-card__arrow {
            flex: 0 0 auto;
            margin-inline-start: auto;
            color:
                var(--primary);
            font-size: 14px;
            line-height: 1;
            transition:
                transform .25s var(--ease);
        }

        .topic-card:hover .topic-card__arrow {
            transform:
                translateX(4px);
        }

        /* ======================================================
   DARK MODE
====================================================== */

        html[data-theme="dark"] .knowledge-topics::before {
            opacity: .6;
        }


        html[data-theme="dark"] .topic-card {
            background:
                color-mix(in srgb,
                    var(--surface) 88%,
                    transparent);
            box-shadow:
                0 12px 30px rgba(0, 0, 0, .18);
        }


        html[data-theme="dark"] .topic-card:hover {
            background:
                var(--surface);
            box-shadow:
                0 17px 40px rgba(0, 0, 0, .28);
        }

        /* ======================================================
   RTL
====================================================== */

        html[dir="rtl"] .knowledge-topics__eyebrow {
            letter-spacing: .07em;
        }


        html[dir="rtl"] .knowledge-topics__heading h2 {
            letter-spacing: -.015em;
        }


        html[dir="rtl"] .topic-card {
            padding:
                9px 11px 9px 17px;
        }


        html[dir="rtl"] .topic-card__arrow {
            transform:
                rotate(180deg);
        }


        html[dir="rtl"] .topic-card:hover .topic-card__arrow {
            transform:
                rotate(180deg) translateX(4px);
        }

        /* ======================================================
   TABLET
====================================================== */
        @media (max-width: 900px) {
            .knowledge-topics {
                padding-top: 65px;
                padding-bottom: 75px;
            }

            .knowledge-topics__grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }
        }

        /* ======================================================
   MOBILE
====================================================== */
        @media (max-width: 600px) {
            .knowledge-topics {
                padding:
                    58px var(--page-padding, 18px) 65px;
            }

            .knowledge-topics__heading {
                margin-bottom: 25px;
            }

            .knowledge-topics__eyebrow {
                font-size: 7px;
                letter-spacing: .23em;
            }

            .knowledge-topics__heading h2 {
                font-size: 35px;
            }

            .knowledge-topics__subtitle {
                font-size: 11px;
            }

            .knowledge-topics__grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .topic-card {
                min-height: 67px;
                padding:
                    9px 15px 9px 10px;
                border-radius: 14px;
            }

            .topic-card__icon {
                width: 40px;
                height: 40px;
                flex-basis: 40px;
            }

            .topic-card__content strong {
                font-size: 12px;
            }
        }

        /* ======================================================
   REDUCED MOTION
====================================================== */
        @media (prefers-reduced-motion: reduce) {

            .topic-card,
            .topic-card__icon,
            .topic-card__arrow {
                transition: none;
            }
        }

        /* ======================================================
   FEATURED ARTICLES
====================================================== */
        .featured-articles {
            position: relative;
            isolation: isolate;
            padding:
                78px var(--page-padding, 24px) 72px;
            overflow: hidden;
            color:
                var(--text);
        }

        /* subtle background glow */
        .featured-articles::before {
            content: "";
            position: absolute;
            z-index: -1;
            width: 500px;
            height: 350px;
            right: -220px;
            top: -180px;
            border-radius: 50%;
            filter: blur(100px);
            pointer-events: none;
        }

        /* ======================================================
   CONTAINER
====================================================== */
        .featured-articles__container {
          width: min(
        100%,
        var(--container, 1100px)
    );
            margin-inline: auto;
        }

        /* ======================================================
   HEADING
====================================================== */
        .featured-articles__heading {
            margin-bottom: 35px;
            text-align: center;
        }

        .featured-articles__eyebrow {
            margin:
                0 0 13px;
            color:
                var(--primary);
            font-size: 8px;
            line-height: 1;
            font-weight: 750;
            letter-spacing: .31em;
            text-transform: uppercase;
        }

        .featured-articles__heading h2 {
            margin: 0;
            color:
                var(--text);
            font-size:
                clamp(34px,
                    4vw,
                    44px);
            line-height: 1;
            font-weight: 800;
            letter-spacing: -.045em;
        }

        .featured-articles__subtitle {
            margin:
                15px 0 0;
            color:
                var(--text-secondary);
            font-size: 12px;
            line-height: 1.5;
        }

        /* ======================================================
   ARTICLES GRID
====================================================== */
        .featured-articles__grid {
            display: grid;
            grid-template-columns:
                repeat(4, minmax(0, 1fr));
            gap: 14px;
        }

        /* ======================================================
   ARTICLE CARD
====================================================== */
        .featured-card {
            position: relative;
            min-width: 0;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border:
                1px solid var(--border);
            border-radius: 18px;
            background:
                var(--surface);
            color:
                var(--text);
            text-decoration: none;
            box-shadow:
                0 12px 28px rgba(0, 0, 0, .045);
            transition:
                transform .3s var(--ease),
                box-shadow .3s var(--ease),
                border-color .3s var(--ease);
        }

        /* hover */
        .featured-card:hover {
            transform:
                translateY(-6px);
            border-color:
                color-mix(in srgb,
                    var(--primary) 18%,
                    var(--border));
            box-shadow:
                0 19px 42px rgba(0, 0, 0, .09);
        }

        /* ======================================================
   IMAGE
====================================================== */
        .featured-card__image {
            position: relative;
            width: 100%;
            aspect-ratio:
                1.75 / 1;
            overflow: hidden;
            background:
                color-mix(in srgb,
                    var(--surface) 75%,
                    var(--bg));
        }

        .featured-card__image::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg,
                    transparent 65%,
                    rgba(0, 0, 0, .035));
            pointer-events: none;
        }

        .featured-card__image img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition:
                transform .5s var(--ease),
                filter .5s var(--ease);
        }

        .featured-card:hover .featured-card__image img {
            transform:
                scale(1.045);
        }

        /* ======================================================
   CARD BODY
====================================================== */
        .featured-card__body {
            min-height: 116px;
            padding:
                14px 16px 15px;
            display: flex;
            flex-direction: column;
        }

        /* ======================================================
   CATEGORY TAG
====================================================== */
        .featured-card__tag {
            width: max-content;
            max-width: 100%;
            min-height: 19px;
            padding:
                0 8px;
            display: inline-flex;
            align-items: center;
            border:
                1px solid color-mix(in srgb,
                    var(--primary) 20%,
                    transparent);
            border-radius: 999px;
            background:
                color-mix(in srgb,
                    var(--primary) 7%,
                    var(--surface));
            color:
                var(--primary);
            font-size: 6px;
            line-height: 1;
            font-weight: 750;
            letter-spacing: .18em;
            text-transform: uppercase;
            white-space: nowrap;
        }

        /* ======================================================
   ARTICLE TITLE
====================================================== */
        .featured-card h3 {
            margin:
                13px 0 17px;
            color:
                var(--text);
            font-size: 12px;
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: -.015em;
        }

        /* ======================================================
   META
====================================================== */
        .featured-card__meta {
            margin-top: auto;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
            color:
                var(--text-secondary);
            font-size: 6px;
            line-height: 1.4;
            font-weight: 600;
            letter-spacing: .16em;
            text-transform: uppercase;
        }

        .featured-card__meta i {
            color:
                color-mix(in srgb,
                    var(--text-secondary) 55%,
                    transparent);
            font-size: 6px;
            font-style: normal;
        }

        /* ======================================================
   VIEW ALL
====================================================== */
        .featured-articles__footer {
            margin-top: 29px;
            display: flex;
            justify-content: center;
        }

        .featured-articles__view-all {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color:
                var(--primary);
            font-size: 10px;
            line-height: 1;
            font-weight: 700;
            text-decoration: none;
            transition:
                gap .25s var(--ease),
                opacity .25s var(--ease);
        }

        .featured-articles__arrow {
            display: inline-block;
            font-size: 13px;
            transition:
                transform .25s var(--ease);
        }

        .featured-articles__view-all:hover {
            gap: 13px;
        }

        .featured-articles__view-all:hover .featured-articles__arrow {
            transform:
                translateX(3px);
        }

        /* ======================================================
   DARK MODE
====================================================== */

        html[data-theme="dark"] .featured-card {
            box-shadow:
                0 14px 32px rgba(0, 0, 0, .19);
        }


        html[data-theme="dark"] .featured-card:hover {
            box-shadow:
                0 20px 45px rgba(0, 0, 0, .3);
        }


        html[data-theme="dark"] .featured-card__image img {
            filter:
                brightness(.88);
        }


        html[data-theme="dark"] .featured-card:hover .featured-card__image img {
            filter:
                brightness(.98);
        }

        /* ======================================================
   RTL
====================================================== */

        html[dir="rtl"] .featured-articles__eyebrow {
            letter-spacing: .06em;
        }


        html[dir="rtl"] .featured-articles__heading h2 {
            letter-spacing: -.015em;
        }


        html[dir="rtl"] .featured-card__body {
            text-align: right;
        }


        html[dir="rtl"] .featured-card__meta {
            direction: rtl;
        }


        html[dir="rtl"] .featured-articles__arrow {
            transform:
                rotate(180deg);
        }


        html[dir="rtl"] .featured-articles__view-all:hover .featured-articles__arrow {
            transform:
                rotate(180deg) translateX(3px);
        }

        /* ======================================================
   TABLET
====================================================== */
        @media (max-width: 950px) {
            .featured-articles__grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
                gap: 16px;
            }

            .featured-card__image {
                aspect-ratio:
                    1.8 / 1;
            }

            .featured-card h3 {
                font-size: 14px;
            }
        }

        /* ======================================================
   MOBILE
====================================================== */
        @media (max-width: 600px) {
            .featured-articles {
                padding:
                    60px var(--page-padding, 18px) 65px;
            }

            .featured-articles__heading {
                margin-bottom: 28px;
            }

            .featured-articles__eyebrow {
                font-size: 7px;
                letter-spacing: .23em;
            }

            .featured-articles__heading h2 {
                font-size: 35px;
            }

            .featured-articles__subtitle {
                max-width: 310px;
                margin:
                    12px auto 0;
                font-size: 11px;
            }

            .featured-articles__grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .featured-card {
                border-radius: 17px;
            }

            .featured-card__image {
                aspect-ratio:
                    1.85 / 1;
            }

            .featured-card__body {
                min-height: 125px;
                padding:
                    16px 17px;
            }

            .featured-card h3 {
                margin-top: 13px;
                font-size: 15px;
            }

            .featured-card__meta {
                font-size: 7px;
            }

            .featured-articles__footer {
                margin-top: 27px;
            }

            .featured-articles__view-all {
                font-size: 11px;
            }
        }

        /* ======================================================
   REDUCED MOTION
====================================================== */
        @media (prefers-reduced-motion: reduce) {

            .featured-card,
            .featured-card__image img,
            .featured-articles__view-all,
            .featured-articles__arrow {
                transition: none;
            }
        }

        /* ======================================================
   COMPLETE GUIDES
====================================================== */
        .complete-guides {
            position: relative;
            isolation: isolate;
            padding:
                78px var(--page-padding, 24px) 85px;
            overflow: hidden;
            color: var(--text);
        }

        /* ======================================================
   BACKGROUND
====================================================== */
        .complete-guides::before {
            content: "";
            position: absolute;
            z-index: -1;
            width: 520px;
            height: 380px;
            right: -220px;
            top: -190px;
            border-radius: 50%;
            filter: blur(100px);
            pointer-events: none;
        }

        /* ======================================================
   CONTAINER
====================================================== */
        .complete-guides__container {
            width: min(100%,
                    950px);
            margin-inline: auto;
        }

        /* ======================================================
   HEADING
====================================================== */
        .complete-guides__heading {
            margin-bottom: 32px;
            text-align: center;
        }

        .complete-guides__eyebrow {
            margin: 0 0 13px;
            color: var(--primary);
            font-size: 8px;
            line-height: 1;
            font-weight: 750;
            letter-spacing: .31em;
            text-transform: uppercase;
        }

        .complete-guides__heading h2 {
            margin: 0;
            color: var(--text);
            font-size:
                clamp(34px,
                    4vw,
                    44px);
            line-height: 1;
            font-weight: 800;
            letter-spacing: -.045em;
        }

        .complete-guides__subtitle {
            margin: 15px 0 0;
            color: var(--text-secondary);
            font-size: 12px;
            line-height: 1.55;
        }

        /* ======================================================
   GRID
====================================================== */
        .complete-guides__grid {
            display: grid;
            grid-template-columns:
                repeat(3, minmax(0, 1fr));
            gap: 13px;
        }

        /* ======================================================
   GUIDE CARD
====================================================== */
        .guide-card {
            position: relative;
            min-width: 0;
            min-height: 168px;
            padding:
                19px 20px 18px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border:
                1px solid var(--border);
            border-radius: 18px;
            background:
                color-mix(in srgb,
                    var(--surface) 94%,
                    transparent);
            color: var(--text);
            text-decoration: none;
            box-shadow:
                0 12px 30px rgba(0, 0, 0, .045);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition:
                transform .3s var(--ease),
                box-shadow .3s var(--ease),
                border-color .3s var(--ease),
                background .3s var(--ease);
        }

        /* subtle hover glow */
        .guide-card::before {
            content: "";
            position: absolute;
            width: 160px;
            height: 160px;
            right: -100px;
            top: -100px;
            border-radius: 50%;
            background:
                color-mix(in srgb,
                    var(--primary) 8%,
                    transparent);
            opacity: 0;
            transition:
                opacity .3s var(--ease);
            pointer-events: none;
        }

        .guide-card:hover {
            transform: translateY(-5px);
            border-color:
                color-mix(in srgb,
                    var(--primary) 20%,
                    var(--border));
            background: var(--surface);
            box-shadow:
                0 18px 40px rgba(0, 0, 0, .08);
        }

        .guide-card:hover::before {
            opacity: 1;
        }

        /* ======================================================
   TAG
====================================================== */
        .guide-card__top {
            position: relative;
            z-index: 2;
            margin-bottom: 12px;
        }

        .guide-card__tag {
            width: max-content;
            max-width: 100%;
            min-height: 18px;
            padding: 0 8px;
            display: inline-flex;
            align-items: center;
            border:
                1px solid color-mix(in srgb,
                    var(--primary) 22%,
                    transparent);
            border-radius: 999px;
            background:
                color-mix(in srgb,
                    var(--primary) 7%,
                    var(--surface));
            color: var(--primary);
            font-size: 6px;
            line-height: 1;
            font-weight: 750;
            letter-spacing: .17em;
            text-transform: uppercase;
            white-space: nowrap;
        }

        /* ======================================================
   TITLE
====================================================== */
        .guide-card h3 {
            position: relative;
            z-index: 2;
            margin: 0;
            color: var(--text);
            font-size: 11px;
            line-height: 1.35;
            font-weight: 750;
            letter-spacing: -.02em;
        }

        /* ======================================================
   DESCRIPTION
====================================================== */
        .guide-card>p {
            position: relative;
            z-index: 2;
            margin: 12px 0 17px;
            color: var(--text-secondary);
            font-size: 10px;
            line-height: 1.55;
            font-weight: 400;
        }

        /* ======================================================
   CHAPTERS
====================================================== */
        .guide-card__chapters {
            position: relative;
            z-index: 2;
            margin-top: auto;
            color: var(--text-secondary);
            font-size: 6px;
            line-height: 1;
            font-weight: 650;
            letter-spacing: .2em;
            text-transform: uppercase;
        }

        /* ======================================================
   VIEW ALL
====================================================== */
        .complete-guides__footer {
            margin-top: 29px;
            display: flex;
            justify-content: center;
        }

        .complete-guides__view-all {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: var(--primary);
            font-size: 10px;
            line-height: 1;
            font-weight: 700;
            text-decoration: none;
            transition:
                gap .25s var(--ease),
                opacity .25s var(--ease);
        }

        .complete-guides__arrow {
            display: inline-block;
            font-size: 13px;
            transition:
                transform .25s var(--ease);
        }

        .complete-guides__view-all:hover {
            gap: 13px;
        }

        .complete-guides__view-all:hover .complete-guides__arrow {
            transform: translateX(3px);
        }

        /* ======================================================
   DARK MODE
====================================================== */

        html[data-theme="dark"] .guide-card {
            background:
                color-mix(in srgb,
                    var(--surface) 90%,
                    transparent);
            box-shadow:
                0 13px 32px rgba(0, 0, 0, .2);
        }


        html[data-theme="dark"] .guide-card:hover {
            background: var(--surface);
            box-shadow:
                0 20px 45px rgba(0, 0, 0, .3);
        }


        html[data-theme="dark"] .complete-guides::before {
            opacity: .6;
        }

        /* ======================================================
   RTL
====================================================== */

        html[dir="rtl"] .complete-guides__eyebrow {
            letter-spacing: .06em;
        }


        html[dir="rtl"] .complete-guides__heading h2 {
            letter-spacing: -.015em;
        }


        html[dir="rtl"] .guide-card {
            text-align: right;
        }


        html[dir="rtl"] .guide-card__tag {
            letter-spacing: .04em;
        }


        html[dir="rtl"] .guide-card__chapters {
            letter-spacing: .05em;
        }


        html[dir="rtl"] .complete-guides__arrow {
            transform: rotate(180deg);
        }


        html[dir="rtl"] .complete-guides__view-all:hover .complete-guides__arrow {
            transform:
                rotate(180deg) translateX(3px);
        }

        /* ======================================================
   TABLET
====================================================== */
        @media (max-width: 900px) {
            .complete-guides__grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
                gap: 14px;
            }

            .guide-card {
                min-height: 180px;
                padding: 20px;
            }

            .guide-card h3 {
                font-size: 13px;
            }

            .guide-card>p {
                font-size: 11px;
            }
        }

        /* ======================================================
   MOBILE
====================================================== */
        @media (max-width: 600px) {
            .complete-guides {
                padding:
                    60px var(--page-padding, 18px) 65px;
            }

            .complete-guides__heading {
                margin-bottom: 27px;
            }

            .complete-guides__eyebrow {
                font-size: 7px;
                letter-spacing: .22em;
            }

            .complete-guides__heading h2 {
                font-size: 35px;
            }

            .complete-guides__subtitle {
                max-width: 330px;
                margin:
                    12px auto 0;
                font-size: 11px;
            }

            .desktop-only {
                display: none;
            }

            .complete-guides__grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .guide-card {
                min-height: 175px;
                padding:
                    20px 18px;
                border-radius: 16px;
            }

            .guide-card h3 {
                font-size: 14px;
            }

            .guide-card>p {
                margin-top: 11px;
                font-size: 11px;
                line-height: 1.6;
            }

            .guide-card__tag {
                font-size: 7px;
            }

            .guide-card__chapters {
                font-size: 7px;
            }

            .complete-guides__footer {
                margin-top: 27px;
            }

            .complete-guides__view-all {
                font-size: 11px;
            }
        }

        /* ======================================================
   REDUCED MOTION
====================================================== */
        @media (prefers-reduced-motion: reduce) {

            .guide-card,
            .complete-guides__view-all,
            .complete-guides__arrow {
                transition: none;
            }
        }

        .kc-calculator-wrap {
            padding: 70px 0;
            background: var(--bg)
        }

        /* calculator */
        .kc-calc-tabs {
            display: flex;
            justify-content: center;
            gap: 9px;
            flex-wrap: wrap;
            margin: 32px 0 18px
        }

        .kc-calc-tab {
            padding: 12px 20px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            color: var(--text-secondary);
            font-weight: 700;
            cursor: pointer
        }

        .kc-calc-tab.active {
            background: var(--primary);
            color: #fff;
            box-shadow: var(--shadow-red)
        }

        .kc-calc-tools {
            display: flex;
            justify-content: space-between;
            gap: 15px;
            align-items: center;
            padding: 15px 20px;
            border: 1px solid var(--border);
            border-radius: 14px;
            background: var(--surface);
            color: var(--text-secondary);
            font-size: 10px
        }

        .kc-tool-buttons {
            display: flex;
            gap: 8px
        }

        .kc-tool-buttons button {
            border: 0;
            background: transparent;
            color: var(--text);
            cursor: pointer
        }

        .kc-calc-panel {
            display: none
        }

        .kc-calc-panel.active {
            display: grid
        }

        .kc-calc-box {
            margin-top: 14px;
            grid-template-columns: 1.35fr .95fr;
            gap: 26px;
            padding: 26px;
            border: 1px solid var(--border);
            border-radius: 24px;
            background: var(--surface);
            box-shadow: var(--shadow-sm)
        }

        .kc-calc-form {
            padding: 6px
        }

        .kc-pill {
            display: inline-flex;
            padding: 5px 11px;
            border: 1px solid rgba(189, 30, 32, .25);
            border-radius: 999px;
            background: rgba(189, 30, 32, .08);
            color: #985356;
            font-size: 7px;
            font-weight: 900;
            letter-spacing: .2em
        }

        .kc-calc-form h3 {
            font-size: 23px;
            margin: 20px 0 8px
        }

        .kc-calc-form p {
            color: var(--text-secondary);
            font-size: 12px;
            line-height: 1.5;
            max-width: 510px
        }

        .kc-fields {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-top: 36px
        }

        .kc-field label {
            display: block;
            margin-bottom: 7px;
            color: var(--text-secondary);
            font-size: 9px
        }

        .kc-field input,
        .kc-field select {
            width: 100%;
            height: 42px;
            border: 0;
            outline: 0;
            border-radius: 11px;
            padding: 0 12px;
            background: var(--bg-secondary);
            color: var(--text)
        }

        .kc-formula {
            margin-top: 15px !important;
            font-family: monospace;
            font-size: 9px !important
        }

        .kc-result {
            padding: 25px;
            border: 1px solid rgba(189, 30, 32, .25);
            border-radius: 20px;
            background: color-mix(in srgb, var(--primary-light) 65%, var(--surface));
            align-self: stretch
        }

        .kc-result-label {
            margin-top: 28px;
            color: #985356;
            font-size: 11px
        }

        .kc-result-number {
            font-size: 43px;
            font-weight: 900;
            letter-spacing: -.04em
        }

        .kc-result-number small {
            font-size: .7em;
            color: var(--text-secondary);
            font-weight: 500
        }

        .kc-result hr {
            border: 0;
            border-top: 1px solid rgba(189, 30, 32, .14);
            margin: 24px 0
        }

        .kc-result p {
            font-size: 10px;
            color: var(--text-secondary);
            line-height: 1.6
        }

        .kc-result a {
            display: inline-block;
            margin-top: 20px;
            color: #8d1719;
            font-size: 10px;
            font-weight: 800
        }

        .kc-faq-head {
            display: flex;
            justify-content: space-between;
            align-items: end;
            margin-bottom: 30px
        }

        .kc-faq-list {
            display: grid;
            gap: 10px
        }

        .kc-faq-item {
            border: 1px solid var(--border);
            border-radius: 18px;
            background: var(--surface);
            box-shadow: var(--shadow-sm);
            overflow: hidden
        }

        .kc-faq-q {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 22px;
            border: 0;
            background: transparent;
            color: var(--text);
            text-align: start;
            font-weight: 750;
            cursor: pointer
        }

        .kc-faq-a {
            display: none;
            padding: 0 22px 22px;
            color: var(--text-secondary);
            font-size: 12px;
            line-height: 1.6
        }

        .kc-faq-item.open .kc-faq-a {
            display: block
        }

        .kc-cta {
            padding: 20px 0 90px
        }

        .kc-cta-card {
            position: relative;
            overflow: hidden;
            padding: 65px 25px;
            border-radius: 30px;
            text-align: center;
            color: #fff;
            background: radial-gradient(circle at 10% 20%, rgba(189, 30, 32, .5), transparent 35%), linear-gradient(120deg, #3c2425, #171719 65%);
            box-shadow: var(--shadow-md)
        }

        .kc-cta-card h2 {
            max-width: 650px;
            margin: 0 auto;
            font-size: clamp(35px, 4vw, 52px);
            line-height: 1.02
        }

        .kc-cta-card p {
            max-width: 620px;
            margin: 18px auto 0;
            color: rgba(255, 255, 255, .68);
            line-height: 1.6
        }

        .kc-cta-actions {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px
        }

        .kc-cta-actions a {
            min-height: 46px;
            padding: 0 22px;
            display: inline-flex;
            align-items: center;
            border-radius: 13px;
            font-weight: 750
        }

        .kc-quote {
            background: #fff;
            color: #8d1719
        }

        .kc-whatsapp {
            border: 1px solid rgba(255, 255, 255, .3);
            background: rgba(255, 255, 255, .08);
            color: #fff
        }

        html[dir="rtl"] .kc-kicker,
        html[dir="rtl"] .kc-meta,
        html[dir="rtl"] .kc-pill {
            letter-spacing: .03em
        }

        .knowledge-page * {
            box-sizing: border-box
        }

        @media(max-width:900px) {
            .kc-grid-4 {
                grid-template-columns: repeat(2, 1fr)
            }

            .kc-video-grid,
            .kc-article-grid {
                grid-template-columns: 1fr 1fr
            }

            .kc-calc-box {
                grid-template-columns: 1fr
            }

            .kc-fields {
                grid-template-columns: 1fr 1fr
            }
        }

        @media(max-width:620px) {
            .kc-hero {
                padding-top: 120px
            }

            .kc-hero h1 {
                font-size: 44px
            }

            .kc-search {
                margin-inline: 0
            }

            .kc-audience {
                flex-wrap: wrap
            }

            .kc-filter {
                flex: 1;
                white-space: nowrap;
                padding-inline: 12px
            }

            .kc-grid-4,
            .kc-video-grid,
            .kc-article-grid {
                grid-template-columns: 1fr
            }

            .kc-fields {
                grid-template-columns: 1fr 1fr
            }

            .kc-calc-tools {
                align-items: flex-start;
                flex-direction: column
            }

            .kc-faq-head {
                align-items: flex-start;
                flex-direction: column;
                gap: 12px
            }

            .kc-cta-actions {
                flex-direction: column;
                align-items: stretch
            }

            .kc-cta-actions a {
                justify-content: center
            }
        }