/* Shared final header styles extracted from approved header HTML. */
body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: #00142a;
            color: #d2e4ff;
        }
        
        .glass-card {
            background: rgba(221, 221, 221, 0.05);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(221, 221, 221, 0.1);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        }
        
        .glass-card-hover:hover {
            transform: scale(1.02);
            border-color: rgba(221, 221, 221, 0.2);
            background: rgba(221, 221, 221, 0.08);
        }

        .gradient-text {
            background: linear-gradient(to right, #b0c6ff, #86d5c8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .glow-effect {
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle, rgba(94, 142, 244, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
            top: -25%;
            left: -25%;
            pointer-events: none;
            z-index: -1;
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #00142a; 
        }
        ::-webkit-scrollbar-thumb {
            background: #1a3655; 
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #5e8ef4; 
        }

        .hide-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .hide-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* Mega Menu Styles */
        .group:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Gradient Border Card */
        .gradient-border-card {
            position: relative;
            background: rgba(0, 20, 42, 0.6);
            background-clip: padding-box;
            border: 1px solid transparent;
            backdrop-filter: blur(24px);
        }
        .gradient-border-card::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: -1;
            margin: -1px;
            border-radius: inherit;
            background: linear-gradient(to bottom right, rgba(176, 198, 255, 0.3), rgba(134, 213, 200, 0.1));
        }
        .gradient-border-card:hover {
            box-shadow: 0 0 30px rgba(94, 142, 244, 0.2);
            transform: translateY(-5px);
        }
        
        /* Slider Styles */
        .slider-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        .slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            pointer-events: none;
            z-index: 1;
        }
        .slide.active {
            opacity: 1;
            pointer-events: auto;
            z-index: 2;
        }
        .slide-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            transition: transform 7s ease-out;
            transform: scale(1);
        }
        .slide.active .slide-bg {
            transform: scale(1.05);
        }
    
        /* Iraneet debug/fix layer */
        .font-display-lg,
        .font-display-lg-mobile,
        .font-headline-md,
        .font-body-lg,
        .font-body-md,
        .font-label-sm,
        .font-body-sm {
            font-family: 'Vazirmatn', sans-serif;
        }
        .font-display-lg-mobile {
            font-size: 32px;
            line-height: 1.2;
            font-weight: 800;
            letter-spacing: -0.02em;
        }
        .font-display-lg {
            font-size: 48px;
            line-height: 1.2;
            font-weight: 800;
            letter-spacing: -0.02em;
        }
        .font-headline-md {
            font-size: 24px;
            line-height: 1.4;
            font-weight: 700;
        }
        .font-body-lg {
            font-size: 18px;
            line-height: 1.6;
            font-weight: 400;
        }
        .font-body-md {
            font-size: 16px;
            line-height: 1.6;
            font-weight: 400;
        }
        .font-body-sm {
            font-size: 14px;
            line-height: 1.6;
            font-weight: 400;
        }
        .font-label-sm {
            font-size: 13px;
            line-height: 1;
            font-weight: 600;
            letter-spacing: 0.01em;
        }
        @media (min-width: 768px) {
            .md\:font-display-lg {
                font-size: 48px;
                line-height: 1.2;
                font-weight: 800;
                letter-spacing: -0.02em;
            }
            .md\:font-display-lg-mobile {
                font-size: 32px;
                line-height: 1.2;
                font-weight: 800;
            }
        }
        .ir-bg-aurora {
            background:
                radial-gradient(circle at 18% 14%, rgba(94, 142, 244, 0.22), transparent 28%),
                radial-gradient(circle at 80% 22%, rgba(134, 213, 200, 0.14), transparent 26%),
                radial-gradient(circle at 48% 78%, rgba(187, 195, 255, 0.12), transparent 30%),
                linear-gradient(180deg, #000f21 0%, #00142a 55%, #000f21 100%);
        }
        .ir-bg-aurora::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(rgba(210, 228, 255, 0.22) 1px, transparent 1px),
                radial-gradient(rgba(134, 213, 200, 0.16) 1px, transparent 1px);
            background-size: 72px 72px, 116px 116px;
            background-position: 0 0, 32px 48px;
            opacity: 0.18;
        }
        .glass-card,
        .gradient-border-card {
            will-change: transform;
            transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
        }
        .glass-card {
            position: relative;
            overflow: hidden;
        }
        .glass-card::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 34%, transparent 70%);
            opacity: 0.45;
            z-index: 0;
        }
        .glass-card > * {
            position: relative;
            z-index: 1;
        }
        .ir-floating-panel {
            background: rgba(0, 20, 42, 0.78);
            backdrop-filter: blur(28px);
            -webkit-backdrop-filter: blur(28px);
            border: 1px solid rgba(221, 221, 221, 0.12);
            box-shadow: 0 30px 80px rgba(0,0,0,0.38);
        }
        .ir-modal[hidden],
        .ir-mobile-menu[hidden] {
            display: none;
        }
        .ir-bottom-nav {
            padding-bottom: max(12px, env(safe-area-inset-bottom));
        }
        .ir-bottom-nav a[aria-current="page"]::after {
            content: "";
            position: absolute;
            bottom: 6px;
            width: 5px;
            height: 5px;
            border-radius: 9999px;
            background: #86d5c8;
            box-shadow: 0 0 14px rgba(134, 213, 200, 0.8);
        }


        /* Creators, comments and optimized mobile menu */
        .ir-section-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(221, 221, 221, 0.10);
        }
        .ir-creator-card,
        .ir-comment-card,
        .ir-mobile-link {
            position: relative;
            overflow: hidden;
        }
        .ir-creator-card::after,
        .ir-comment-card::after,
        .ir-mobile-link::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(135deg, rgba(176,198,255,0.12), transparent 40%, rgba(134,213,200,0.08));
            opacity: 0;
            transition: opacity 240ms ease;
        }
        .ir-creator-card:hover::after,
        .ir-comment-card:hover::after,
        .ir-mobile-link:hover::after { opacity: 1; }
        .ir-avatar-ring {
            padding: 2px;
            background: linear-gradient(135deg, rgba(176,198,255,0.85), rgba(134,213,200,0.85));
            box-shadow: 0 18px 40px rgba(66,116,217,0.18);
        }
        .ir-badge-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            border-radius: 9999px;
            border: 1px solid rgba(221,221,221,0.12);
            background: rgba(255,255,255,0.055);
            padding: 0.45rem 0.7rem;
            color: var(--tw-prose-body, #c3c6d5);
            font-size: 0.75rem;
            line-height: 1;
            backdrop-filter: blur(16px);
        }
        .ir-score-bar {
            height: 0.45rem;
            border-radius: 9999px;
            background: rgba(255,255,255,0.09);
            overflow: hidden;
        }
        .ir-score-bar > span {
            display: block;
            height: 100%;
            border-radius: inherit;
            background: linear-gradient(90deg, #86d5c8, #b0c6ff);
            box-shadow: 0 0 20px rgba(134,213,200,0.35);
        }
        .ir-comment-avatar {
            width: 46px;
            height: 46px;
            border-radius: 18px;
            display: grid;
            place-items: center;
            font-weight: 900;
            color: #002d6e;
            background: linear-gradient(135deg, #b0c6ff, #86d5c8);
            flex: 0 0 auto;
        }
        .ir-mobile-menu.is-open .ir-mobile-drawer {
            animation: irDrawerIn 240ms cubic-bezier(.22,.61,.36,1) both;
        }
        @keyframes irDrawerIn {
            from { opacity: 0; transform: translateY(18px) scale(.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .ir-mobile-drawer {
            width: min(100% - 24px, 460px);
            right: 12px;
            left: 12px;
            bottom: calc(12px + env(safe-area-inset-bottom));
            top: auto;
            max-height: min(78vh, 720px);
            border-radius: 30px;
        }
        .ir-mobile-quick-search {
            min-height: 46px;
            border-radius: 18px;
            background: rgba(255,255,255,0.055);
            border: 1px solid rgba(221,221,221,0.10);
        }
        .ir-mobile-link {
            border-radius: 22px;
            background: rgba(255,255,255,0.045);
            border: 1px solid rgba(221,221,221,0.10);
            min-height: 56px;
            transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
        }
        .ir-mobile-link:active { transform: scale(.98); }
        .ir-mobile-link strong,
        .ir-mobile-link span { position: relative; z-index: 1; }
        .ir-mobile-link .material-symbols-outlined {
            width: 36px;
            height: 36px;
            border-radius: 15px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(176,198,255,0.10);
        }
        body.ir-lock-scroll { overflow: hidden; }
        html:not(.dark) .ir-creator-card,
        html:not(.dark) .ir-comment-card,
        html:not(.dark) .ir-mobile-link,
        html:not(.dark) .ir-mobile-quick-search {
            background: rgba(255,255,255,0.78) !important;
            border-color: rgba(32,90,190,0.12) !important;
        }
        html:not(.dark) .ir-badge-chip {
            background: rgba(32,90,190,0.07);
            border-color: rgba(32,90,190,0.12);
            color: #3c526a;
        }
        @media (max-width: 767px) {
            .ir-section-head {
                align-items: flex-start;
                flex-direction: column;
            }
            .ir-mobile-drawer {
                max-height: min(84vh, 760px);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
            }
        }
        @media (max-width: 767px) {
            main {
                padding-top: 104px;
            }
        }



        /* Light mode: real color switching for the standalone HTML preview */
        html:not(.dark) {
            color-scheme: light;
        }
        html.dark {
            color-scheme: dark;
        }
        html:not(.dark) body {
            background-color: #f4f8ff;
            color: #12304c;
        }
        html:not(.dark) .ir-bg-aurora {
            background:
                radial-gradient(circle at 18% 14%, rgba(66, 116, 217, 0.20), transparent 30%),
                radial-gradient(circle at 82% 20%, rgba(111, 190, 178, 0.20), transparent 28%),
                radial-gradient(circle at 48% 78%, rgba(94, 142, 244, 0.11), transparent 34%),
                linear-gradient(180deg, #edf5ff 0%, #f7fbff 48%, #eaf3ff 100%) !important;
        }
        html:not(.dark) .ir-bg-aurora::after {
            background-image:
                radial-gradient(rgba(32, 90, 190, 0.16) 1px, transparent 1px),
                radial-gradient(rgba(0, 101, 91, 0.12) 1px, transparent 1px);
            opacity: 0.22;
        }
        html:not(.dark) .ir-theme-overlay {
            background: rgba(244, 248, 255, 0.72) !important;
            mix-blend-mode: normal !important;
        }
        html:not(.dark) .ir-theme-fade {
            background: linear-gradient(to bottom, transparent 0%, rgba(244, 248, 255, 0.62) 55%, #f4f8ff 100%) !important;
        }
        html:not(.dark) header {
            background: rgba(255, 255, 255, 0.76) !important;
            border-color: rgba(31, 59, 89, 0.14) !important;
            box-shadow: 0 18px 50px rgba(31, 59, 89, 0.14) !important;
        }
        html:not(.dark) .mega-menu {
            background: rgba(255, 255, 255, 0.94) !important;
            border-color: rgba(31, 59, 89, 0.14) !important;
        }
        html:not(.dark) .glass-card,
        html:not(.dark) .gradient-border-card,
        html:not(.dark) .ir-floating-panel {
            background: rgba(255, 255, 255, 0.72) !important;
            border-color: rgba(31, 59, 89, 0.14) !important;
            box-shadow: 0 24px 70px rgba(31, 59, 89, 0.16) !important;
            color: #12304c;
        }
        html:not(.dark) .glass-card::before {
            background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(176,198,255,0.20) 38%, transparent 72%);
            opacity: 0.62;
        }
        html:not(.dark) .glass-card-hover:hover,
        html:not(.dark) .glass-card:hover,
        html:not(.dark) .gradient-border-card:hover {
            background: rgba(255, 255, 255, 0.90) !important;
            border-color: rgba(32, 90, 190, 0.24) !important;
            box-shadow: 0 28px 80px rgba(32, 90, 190, 0.16) !important;
        }
        html:not(.dark) .text-on-surface,
        html:not(.dark) .text-on-background,
        html:not(.dark) .text-white {
            color: #12304c !important;
        }
        html:not(.dark) .text-on-surface-variant,
        html:not(.dark) [class*="text-on-surface-variant"] {
            color: #53677d !important;
        }
        html:not(.dark) .text-primary,
        html:not(.dark) .hover\:text-primary:hover {
            color: #205abe !important;
        }
        html:not(.dark) .text-secondary,
        html:not(.dark) .hover\:text-secondary:hover {
            color: #00655b !important;
        }
        html:not(.dark) .text-tertiary {
            color: #33408b !important;
        }
        html:not(.dark) .bg-primary {
            background-color: #205abe !important;
        }
        html:not(.dark) .text-on-primary {
            color: #ffffff !important;
        }
        html:not(.dark) .bg-surface,
        html:not(.dark) .bg-surface\/95,
        html:not(.dark) [class*="bg-surface/"] {
            background-color: rgba(255, 255, 255, 0.76) !important;
        }
        html:not(.dark) .bg-surface-variant,
        html:not(.dark) [class*="bg-surface-variant"] {
            background-color: rgba(210, 228, 255, 0.70) !important;
        }
        html:not(.dark) .border-surface-variant\/30,
        html:not(.dark) .border-surface-variant\/50,
        html:not(.dark) [class*="border-surface-variant"] {
            border-color: rgba(31, 59, 89, 0.15) !important;
        }
        html:not(.dark) .slide .text-on-surface,
        html:not(.dark) .slide .text-on-surface-variant,
        html:not(.dark) .slide .text-white {
            color: #ffffff !important;
            text-shadow: 0 2px 18px rgba(0,0,0,0.35);
        }
        html:not(.dark) .slide .absolute.inset-0.bg-gradient-to-t {
            background: linear-gradient(to top, rgba(0, 20, 42, 0.78), rgba(0, 20, 42, 0.34), transparent) !important;
        }
        html:not(.dark) input,
        html:not(.dark) textarea,
        html:not(.dark) select {
            color: #12304c !important;
        }
        html:not(.dark) input::placeholder {
            color: #6a7e92 !important;
        }
        html:not(.dark) ::-webkit-scrollbar-track {
            background: #edf5ff;
        }
        html:not(.dark) ::-webkit-scrollbar-thumb {
            background: #b7c9df;
        }



        /* Iranit premium polish layer: background, header, footer, forms, icons */
        .ir-bg-mesh {
            overflow: hidden;
            background:
                radial-gradient(circle at 14% 16%, rgba(94, 142, 244, 0.28), transparent 30%),
                radial-gradient(circle at 84% 10%, rgba(134, 213, 200, 0.20), transparent 28%),
                radial-gradient(circle at 52% 42%, rgba(187, 195, 255, 0.11), transparent 35%),
                radial-gradient(circle at 22% 86%, rgba(41, 54, 129, 0.22), transparent 34%),
                linear-gradient(180deg, #000b19 0%, #00142a 44%, #000f21 100%);
        }
        .ir-bg-orb {
            position: absolute;
            width: 34rem;
            height: 34rem;
            border-radius: 9999px;
            filter: blur(54px);
            opacity: 0.42;
            mix-blend-mode: screen;
            animation: ir-float 16s ease-in-out infinite;
        }
        .ir-bg-orb.one { top: -9rem; right: 8%; background: rgba(66, 116, 217, 0.55); }
        .ir-bg-orb.two { top: 22rem; left: -10rem; background: rgba(111, 190, 178, 0.36); animation-delay: -5s; }
        .ir-bg-orb.three { bottom: 2rem; right: 34%; background: rgba(187, 195, 255, 0.26); animation-delay: -9s; }
        .ir-bg-grid {
            background-image:
                linear-gradient(rgba(221, 221, 221, 0.055) 1px, transparent 1px),
                linear-gradient(90deg, rgba(221, 221, 221, 0.045) 1px, transparent 1px);
            background-size: 84px 84px;
            mask-image: radial-gradient(circle at center, rgba(0,0,0,0.72), transparent 72%);
            opacity: 0.34;
        }
        .ir-noise {
            background-image:
                radial-gradient(rgba(255,255,255,0.16) 0.8px, transparent 0.8px),
                radial-gradient(rgba(134,213,200,0.11) 0.8px, transparent 0.8px);
            background-size: 38px 38px, 62px 62px;
            background-position: 0 0, 19px 31px;
            opacity: 0.18;
        }
        @keyframes ir-float {
            0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
            50% { transform: translate3d(-24px, 18px, 0) scale(1.08); }
        }
        .ir-site-header {
            pointer-events: none;
        }
        .ir-header-shell {
            pointer-events: auto;
            min-height: 72px;
            background: linear-gradient(135deg, rgba(0, 20, 42, 0.76), rgba(13, 43, 73, 0.58));
            border: 1px solid rgba(221, 221, 221, 0.13);
            box-shadow: 0 24px 80px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.08);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
        }
        .ir-header-shell::before,
        .ir-site-footer::before,
        .ir-footer-newsletter::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03) 32%, transparent 72%);
            opacity: 0.56;
        }
        .ir-logo-mark {
            background: linear-gradient(135deg, rgba(176,198,255,0.92), rgba(134,213,200,0.82));
            color: #002d6e;
            box-shadow: 0 12px 38px rgba(66,116,217,0.28), inset 0 1px 0 rgba(255,255,255,0.42);
        }
        .ir-main-nav {
            background: transparent;
            border: 0;
            box-shadow: none;
        }
        .ir-nav-link {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            color: rgba(210, 228, 255, 0.76);
            border-radius: 9999px;
            padding: 0.62rem 0.9rem;
            font-size: 13px;
            font-weight: 700;
            transition: 220ms ease;
        }
        .ir-nav-link:hover,
        .ir-nav-link.active {
            color: #d2e4ff;
            background: rgba(176,198,255,0.12);
            box-shadow: inset 0 0 0 1px rgba(176,198,255,0.16);
        }
        .ir-nav-link.active::after {
            content: "";
            position: absolute;
            bottom: 4px;
            width: 5px;
            height: 5px;
            border-radius: 9999px;
            background: #86d5c8;
            box-shadow: 0 0 16px rgba(134,213,200,0.9);
        }
        .ir-header-action,
        .ir-icon-btn {
            min-width: 44px;
            min-height: 44px;
            border-radius: 9999px;
            background: rgba(255,255,255,0.055);
            border: 1px solid rgba(255,255,255,0.10);
            color: #d2e4ff;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
            transition: 220ms ease;
        }
        .ir-header-action:hover,
        .ir-icon-btn:hover {
            transform: translateY(-1px);
            color: #b0c6ff;
            background: rgba(176,198,255,0.12);
            border-color: rgba(176,198,255,0.22);
        }
        .ir-primary-cta {
            background: linear-gradient(135deg, #4274D9, #5e8ef4 54%, #86d5c8);
            color: #001945;
            box-shadow: 0 16px 45px rgba(66,116,217,0.32), inset 0 1px 0 rgba(255,255,255,0.38);
            border: 1px solid rgba(255,255,255,0.18);
        }
        .ir-primary-cta:hover { transform: translateY(-1px); filter: saturate(1.06); }
        .ir-mega-menu {
            background: rgba(0, 15, 33, 0.90);
            border: 1px solid rgba(221,221,221,0.12);
            box-shadow: 0 32px 90px rgba(0,0,0,0.46);
            backdrop-filter: blur(32px);
            -webkit-backdrop-filter: blur(32px);
        }
        .ir-kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            width: max-content;
            padding: 0.45rem 0.85rem;
            border-radius: 9999px;
            color: #86d5c8;
            background: rgba(134,213,200,0.10);
            border: 1px solid rgba(134,213,200,0.18);
            font-size: 12px;
            font-weight: 800;
        }
        .ir-field {
            position: relative;
        }
        .ir-field .material-symbols-outlined {
            position: absolute;
            top: 50%;
            right: 16px;
            transform: translateY(-50%);
            color: rgba(176,198,255,0.82);
            pointer-events: none;
        }
        .ir-input {
            width: 100%;
            min-height: 52px;
            border-radius: 18px;
            border: 1px solid rgba(221,221,221,0.12);
            background: rgba(0,15,33,0.42);
            color: #d2e4ff;
            padding: 0 3.15rem 0 1rem;
            outline: none;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
            transition: 200ms ease;
        }
        .ir-input:focus {
            border-color: rgba(176,198,255,0.38);
            box-shadow: 0 0 0 4px rgba(176,198,255,0.10), inset 0 1px 0 rgba(255,255,255,0.08);
        }
        .ir-input::placeholder { color: rgba(195,198,213,0.72); }
        .ir-site-footer {
            overflow: hidden;
            background:
                radial-gradient(circle at 14% 0%, rgba(94,142,244,0.20), transparent 32%),
                radial-gradient(circle at 84% 24%, rgba(134,213,200,0.12), transparent 30%),
                rgba(0, 15, 33, 0.86);
            border-top: 1px solid rgba(221,221,221,0.12);
            box-shadow: 0 -24px 80px rgba(0,0,0,0.35);
        }
        .ir-footer-newsletter {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(0,32,62,0.74), rgba(13,43,73,0.52));
            border: 1px solid rgba(221,221,221,0.12);
            box-shadow: 0 24px 80px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.08);
            backdrop-filter: blur(28px);
        }
        .ir-footer-title {
            color: #d2e4ff;
            font-size: 1.05rem;
            font-weight: 900;
            margin-bottom: 1rem;
        }
        .ir-footer-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(195,198,213,0.86);
            transition: 200ms ease;
        }
        .ir-footer-link:hover {
            color: #b0c6ff;
            transform: translateX(-3px);
        }
        .ir-social-icon {
            width: 46px;
            height: 46px;
            border-radius: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.055);
            border: 1px solid rgba(255,255,255,0.10);
            color: rgba(210,228,255,0.82);
            transition: 220ms ease;
        }
        .ir-social-icon:hover {
            color: #001945;
            background: linear-gradient(135deg, #b0c6ff, #86d5c8);
            transform: translateY(-3px);
        }
        .ir-stat-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border-radius: 9999px;
            padding: 0.5rem 0.8rem;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.10);
            color: rgba(210,228,255,0.86);
            font-size: 12px;
            font-weight: 800;
        }
        html:not(.dark) .ir-bg-mesh {
            background:
                radial-gradient(circle at 14% 16%, rgba(66,116,217,0.20), transparent 30%),
                radial-gradient(circle at 84% 10%, rgba(111,190,178,0.22), transparent 28%),
                radial-gradient(circle at 50% 44%, rgba(94,142,244,0.12), transparent 34%),
                linear-gradient(180deg, #eaf3ff 0%, #f8fbff 48%, #edf6ff 100%) !important;
        }
        html:not(.dark) .ir-bg-orb { mix-blend-mode: multiply; opacity: 0.28; }
        html:not(.dark) .ir-bg-grid { opacity: 0.38; background-image: linear-gradient(rgba(32,90,190,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,101,91,0.06) 1px, transparent 1px); }
        html:not(.dark) .ir-header-shell,
        html:not(.dark) .ir-floating-panel,
        html:not(.dark) .ir-site-footer,
        html:not(.dark) .ir-footer-newsletter,
        html:not(.dark) .ir-mega-menu {
            background: rgba(255,255,255,0.72) !important;
            border-color: rgba(32,90,190,0.14) !important;
            box-shadow: 0 18px 56px rgba(37,78,126,0.14), inset 0 1px 0 rgba(255,255,255,0.68) !important;
        }
        html:not(.dark) .ir-nav-link,
        html:not(.dark) .ir-footer-link,
        html:not(.dark) .ir-stat-pill { color: rgba(18,48,76,0.78) !important; }
        html:not(.dark) .ir-nav-link:hover,
        html:not(.dark) .ir-nav-link.active,
        html:not(.dark) .ir-footer-link:hover { color: #205abe !important; background: rgba(32,90,190,0.08); }
        html:not(.dark) .ir-main-nav {
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
        }
        html:not(.dark) .ir-header-action,
        html:not(.dark) .ir-icon-btn,
        html:not(.dark) .ir-social-icon,
        html:not(.dark) .ir-stat-pill {
            background: rgba(255,255,255,0.72) !important;
            border-color: rgba(32,90,190,0.12) !important;
            color: #153250 !important;
        }
        html:not(.dark) .ir-input {
            background: rgba(255,255,255,0.70) !important;
            color: #12304c !important;
            border-color: rgba(32,90,190,0.14) !important;
        }
        html:not(.dark) .ir-footer-title { color: #12304c !important; }
        html:not(.dark) .ir-kicker { color: #005048; background: rgba(0,101,91,0.08); border-color: rgba(0,101,91,0.16); }
        @media (max-width: 1023px) {
            .ir-site-header { top: 12px; right: 12px; left: 12px; }
            .ir-header-shell { min-height: 64px; }
        }


        .group:hover .ir-mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }



        /* Footer newsletter radius fix: prevent Tailwind forms/browser styles from making inputs square */
        .ir-footer-newsletter form,
        .ir-footer-newsletter .ir-field,
        .ir-footer-newsletter .ir-input,
        .ir-footer-newsletter input,
        .ir-footer-newsletter button {
            border-radius: 22px !important;
        }
        .ir-footer-newsletter .ir-field {
            display: block;
            overflow: hidden;
            isolation: isolate;
        }
        .ir-footer-newsletter .ir-input,
        .ir-search-input.ir-input {
            -webkit-appearance: none !important;
            appearance: none !important;
            overflow: hidden;
            background-clip: padding-box;
        }
        .ir-footer-newsletter .ir-primary-cta {
            border-radius: 22px !important;
        }
        @media (max-width: 640px) {
            .ir-footer-newsletter form,
            .ir-footer-newsletter .ir-field,
            .ir-footer-newsletter .ir-input,
            .ir-footer-newsletter input,
            .ir-footer-newsletter button {
                border-radius: 18px !important;
            }
        }

    
        .border-white\/8 { border-color: rgba(255,255,255,0.08); }
        html:not(.dark) .bg-background { background-color: #f4f8ff !important; }

    

        /* Mobile-only horizontal carousels for content rows */
        @media (max-width: 767px) {
            .ir-mobile-carousel {
                display: flex !important;
                grid-template-columns: none !important;
                gap: 16px !important;
                overflow-x: auto !important;
                overflow-y: hidden !important;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding: 2px 16px 14px 16px;
                margin-inline: -16px;
                scrollbar-width: none;
            }
            .ir-mobile-carousel::-webkit-scrollbar {
                display: none;
            }
            .ir-mobile-carousel > * {
                flex: 0 0 min(84vw, 340px);
                scroll-snap-align: start;
            }
            .ir-mobile-carousel.ir-mobile-carousel-wide > * {
                flex-basis: min(88vw, 380px);
            }
            .ir-mobile-carousel.ir-mobile-carousel-compact > * {
                flex-basis: min(78vw, 300px);
            }
            .ir-mobile-carousel .glass-card,
            .ir-mobile-carousel article,
            .ir-mobile-carousel a {
                height: auto;
            }
        }


        /* Category marquee: pills fit content and never clip text */
        .ir-category-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 48px;
            width: max-content;
            min-width: max-content;
            max-width: none;
            flex: 0 0 auto;
            padding: 0 20px;
            line-height: 1;
            white-space: nowrap;
            word-break: keep-all;
            overflow: visible;
            border-radius: 9999px;
        }
        .ir-category-pill .material-symbols-outlined {
            flex: 0 0 auto;
        }
        .ir-category-marquee {
            position: relative;
            overflow: hidden;
            width: 100%;
            -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
        }
        .ir-category-track {
            display: flex;
            align-items: center;
            gap: 12px;
            width: max-content;
            min-width: max-content;
            will-change: transform;
        }
        .ir-category-track-rtl {
            animation: ir-category-marquee-rtl 28s linear infinite;
        }
        .ir-category-track-ltr {
            animation: ir-category-marquee-ltr 30s linear infinite;
        }
        .ir-category-marquee:hover .ir-category-track {
            animation-play-state: paused;
        }
        @keyframes ir-category-marquee-rtl {
            from { transform: translateX(0); }
            to { transform: translateX(50%); }
        }
        @keyframes ir-category-marquee-ltr {
            from { transform: translateX(50%); }
            to { transform: translateX(0); }
        }
        @media (max-width: 767px) {
            .ir-category-marquee-wrap {
                margin-inline: -16px;
                padding-inline: 16px;
                overflow: hidden;
            }
            .ir-category-pill {
                min-height: 46px;
                padding: 0 18px;
                font-size: 13px;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .ir-category-track {
                animation: none !important;
            }
            .ir-category-marquee {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            .ir-category-marquee::-webkit-scrollbar {
                display: none;
            }
        }

/* Fix: remove the unwanted rectangular layer behind the header in light mode */
html:not(.dark) .ir-site-header{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html:not(.dark) .ir-site-header::before,
html:not(.dark) .ir-site-header::after{
  content: none !important;
  display: none !important;
}

html:not(.dark) .ir-header-shell{
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(32,90,190,.14) !important;
  box-shadow: 0 18px 56px rgba(37,78,126,.14), inset 0 1px 0 rgba(255,255,255,.68) !important;
  backdrop-filter: blur(24px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.12) !important;
}

html:not(.dark) .ir-header-shell::before{
  background: transparent !important;
  opacity: 0 !important;
}

html:not(.dark) .ir-header-shell::after{
  content: none !important;
  display: none !important;
}

