        :root {
            --hw-primary: #6D1232;
            --hw-primary-dark: #4A0D24;
            --hw-primary-light: #8C1D45;
            --hw-gold: #D6A84F;
            --hw-gold-soft: #F4E6C4;
            --hw-ivory: #FFFDF8;
            --hw-cream: #FBF7F0;
            --hw-ink: #1B1420;
            --hw-muted: #6B6470;
            --hw-line: rgba(109, 18, 50, 0.14);
            --hw-shadow: 0 18px 48px rgba(74, 13, 36, 0.12);
        }

        html {
            overflow-x: hidden;
            scroll-behavior: smooth;
        }
        body {
            overflow-x: hidden;
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--hw-ink);
            background: var(--hw-ivory);
        }
        body::before {
            content: "";
            position: fixed;
            inset: 0;
            z-index: -1;
            background:
                linear-gradient(180deg, rgba(251, 247, 240, 0.86), rgba(255, 253, 248, 1) 44%),
                radial-gradient(circle at 13% 16%, rgba(214, 168, 79, 0.18), transparent 28%),
                radial-gradient(circle at 88% 6%, rgba(109, 18, 50, 0.10), transparent 28%);
        }
        .container {
            width: min(1180px, calc(100% - 32px));
            margin: 0 auto;
            padding: 0;
        }
        .site-header {
            background: rgba(255, 253, 248, 0.92);
            border-bottom: 1px solid var(--hw-line);
            backdrop-filter: blur(16px);
            box-shadow: 0 12px 34px rgba(74, 13, 36, 0.06);
        }
        .site-header .header-content { min-height: 78px; }
        .site-header .logo a { display: inline-flex; align-items: center; }
        .site-header .main-nav ul { align-items: center; gap: 0.2rem; }
        .site-header .main-nav ul li { margin-left: 0.45rem; }
        .site-header .main-nav ul li a {
            border-radius: 999px;
            color: var(--hw-primary-dark);
            font-weight: 800;
            text-decoration: none;
        }
        .site-header .main-nav ul li a:hover,
        .site-header .main-nav ul li a[aria-current="page"] {
            color: var(--hw-primary);
            background: rgba(109, 18, 50, 0.07);
            border-bottom: 0;
        }
        .site-header .header-buttons .btn-secondary {
            border: 1px solid rgba(109, 18, 50, 0.18);
            color: var(--hw-primary-dark);
            background: rgba(255, 255, 255, 0.72);
        }
        .site-header .header-buttons .btn-primary {
            border: 0;
            color: #fff;
            background: linear-gradient(135deg, var(--hw-primary), var(--hw-primary-light));
            box-shadow: 0 12px 26px rgba(109, 18, 50, 0.22);
        }
        .mobile-menu-toggle {
            width: 46px;
            height: 46px;
            border: 1px solid rgba(109, 18, 50, 0.16);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.76);
            box-shadow: 0 10px 22px rgba(74, 13, 36, 0.08);
        }
        .mobile-menu-toggle .bar {
            width: 23px;
            height: 2px;
            margin: 5px auto;
            border-radius: 999px;
            background-color: var(--hw-primary-dark);
        }
        .homily-hero {
            position: relative;
            overflow: hidden;
            padding: 76px 0 48px;
            background:
                linear-gradient(115deg, rgba(255, 253, 248, 0.96) 0%, rgba(251, 247, 240, 0.94) 54%, rgba(74, 13, 36, 0.84) 100%),
                url('/img/Religious-art-background.png') center/cover;
        }
        .homily-hero::after {
            content: "";
            position: absolute;
            right: -120px;
            bottom: -160px;
            width: 420px;
            height: 420px;
            background: radial-gradient(circle, rgba(214, 168, 79, 0.28), transparent 66%);
            pointer-events: none;
        }
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 1.4rem;
            color: var(--hw-muted);
            font-size: 0.94rem;
            font-weight: 700;
        }
        .breadcrumb a { color: var(--hw-primary); text-decoration: none; }
        .breadcrumb a:hover { text-decoration: underline; }
        .hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
            gap: 3rem;
            align-items: end;
            position: relative;
            z-index: 1;
        }
        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            width: fit-content;
            margin-bottom: 1rem;
            padding: 0.45rem 0.75rem;
            border: 1px solid rgba(214, 168, 79, 0.45);
            border-radius: 999px;
            color: var(--hw-primary-dark);
            background: rgba(255, 255, 255, 0.72);
            font-size: 0.83rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }
        .homily-hero h1 {
            max-width: 820px;
            margin: 0 0 1rem;
            color: var(--hw-ink);
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(2.5rem, 5vw, 4.9rem);
            font-weight: 800;
            line-height: 1.02;
            letter-spacing: 0;
            overflow-wrap: anywhere;
        }
        .homily-hero p {
            max-width: 720px;
            margin: 0;
            color: #4B4450;
            font-size: clamp(1.05rem, 2vw, 1.24rem);
            line-height: 1.7;
        }
        .hero-panel {
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.62);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.74);
            box-shadow: var(--hw-shadow);
        }
        .hero-panel h2 {
            margin: 0 0 0.8rem;
            color: var(--hw-primary-dark);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.35rem;
        }
        .hero-panel dl {
            display: grid;
            gap: 0.75rem;
            margin: 0;
        }
        .hero-panel div {
            padding: 0.9rem;
            border: 1px solid var(--hw-line);
            border-radius: 8px;
            background: rgba(255, 253, 248, 0.86);
        }
        .hero-panel dt {
            color: var(--hw-muted);
            font-size: 0.78rem;
            font-weight: 800;
            text-transform: uppercase;
        }
        .hero-panel dd {
            margin: 0.18rem 0 0;
            color: var(--hw-primary-dark);
            font-weight: 800;
            line-height: 1.35;
        }
        .homily-shell { padding: 42px 0 78px; }
        .homily-content {
            overflow: hidden;
            border: 1px solid var(--hw-line);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: 0 16px 38px rgba(74, 13, 36, 0.09);
        }
        .homily-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--hw-line);
            background: linear-gradient(180deg, rgba(251, 247, 240, 0.9), rgba(255, 255, 255, 0.84));
        }
        .homily-date {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.85rem;
            color: var(--hw-primary);
            font-size: 0.95rem;
            font-weight: 800;
        }
        .homily-title {
            margin: 0;
            color: var(--hw-primary-dark);
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(1.8rem, 4vw, 3rem);
            line-height: 1.08;
            letter-spacing: 0;
            overflow-wrap: anywhere;
        }
        .actions-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1.3rem;
        }
        .action-btn,
        .cta-button,
        .floating-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
            min-height: 48px;
            border-radius: 999px;
            font-weight: 800;
            text-decoration: none;
            transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
        }
        .action-btn {
            padding: 0.75rem 1rem;
            border: 1px solid rgba(109, 18, 50, 0.16);
            color: var(--hw-primary-dark);
            background: #fff;
        }
        .action-btn:hover {
            color: #fff;
            background: var(--hw-primary);
            text-decoration: none;
            transform: translateY(-1px);
        }
        .homily-body {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 300px;
            gap: 2rem;
            align-items: start;
            padding: 1.5rem;
        }
        .resource-column { min-width: 0; }
        .readings-section,
        .related-link,
        .tool-promotion,
        .sources-card,
        .error-message,
        .side-card {
            border: 1px solid var(--hw-line);
            border-radius: 8px;
            background: rgba(255, 253, 248, 0.92);
        }
        .readings-section {
            margin-bottom: 1.5rem;
            padding: 1.2rem;
            border-left: 5px solid var(--hw-gold);
        }
        .section-title {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin: 0 0 1rem;
            color: var(--hw-primary-dark);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.45rem;
            line-height: 1.15;
        }
        .section-title i {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 8px;
            color: var(--hw-primary);
            background: var(--hw-gold-soft);
            font-size: 0.95rem;
        }
        .reading-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.8rem;
        }
        .reading {
            min-width: 0;
            padding: 0.95rem;
            border-radius: 8px;
            background: #fff;
            border: 1px solid rgba(109, 18, 50, 0.1);
        }
        .reading-title {
            margin-bottom: 0.28rem;
            color: var(--hw-muted);
            font-size: 0.78rem;
            font-weight: 800;
            text-transform: uppercase;
        }
        .reading div:last-child {
            color: var(--hw-primary-dark);
            font-weight: 800;
            line-height: 1.4;
        }
        .homily-text {
            color: #2D2631;
            font-family: Georgia, 'Times New Roman', serif;
            font-size: 1.16rem;
            line-height: 1.86;
        }
        .homily-text p {
            margin: 0 0 1.35rem;
        }
        .homily-text p:first-child::first-letter {
            float: left;
            margin: 0.1rem 0.45rem 0 0;
            color: var(--hw-primary);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 3.6rem;
            line-height: 0.88;
        }
        .sources-card {
            margin-top: 2rem;
            padding: 1.1rem;
            font-family: 'DM Sans', sans-serif;
        }
        .sources-card h3 {
            margin: 0 0 0.7rem;
            color: var(--hw-primary-dark);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.3rem;
        }
        .sources-card p {
            margin: 0 0 0.75rem;
            color: var(--hw-muted);
            font-size: 0.95rem;
            line-height: 1.6;
        }
        .side-stack {
            display: grid;
            gap: 1rem;
            position: sticky;
            top: 96px;
        }
        .side-card,
        .related-link {
            padding: 1rem;
        }
        .side-card h3,
        .related-link h3 {
            margin: 0 0 0.65rem;
            color: var(--hw-primary-dark);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.2rem;
        }
        .side-card p,
        .related-link p {
            margin: 0 0 0.85rem;
            color: var(--hw-muted);
            line-height: 1.55;
        }
        .side-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .side-list li {
            display: flex;
            gap: 0.55rem;
            padding: 0.55rem 0;
            border-top: 1px solid rgba(109, 18, 50, 0.08);
            color: var(--hw-primary-dark);
            font-weight: 700;
            line-height: 1.35;
        }
        .side-list i {
            margin-top: 0.15rem;
            color: var(--hw-gold);
        }
        .tool-promotion {
            margin-top: 1.5rem;
            padding: 1.25rem;
            color: #fff;
            background:
                linear-gradient(135deg, rgba(109, 18, 50, 0.98), rgba(140, 29, 69, 0.95)),
                url('/img/Religious-art-background.png') center/cover;
            box-shadow: 0 16px 34px rgba(74, 13, 36, 0.16);
        }
        .tool-promotion h3 {
            margin: 0 0 0.65rem;
            color: #fff;
            font-family: 'Fraunces', Georgia, serif;
            font-size: clamp(1.45rem, 3vw, 2.1rem);
            line-height: 1.15;
            overflow-wrap: anywhere;
        }
        .tool-promotion p {
            max-width: 760px;
            margin: 0 0 1rem;
            color: rgba(255, 255, 255, 0.88);
            line-height: 1.65;
        }
        .cta-button {
            min-height: 50px;
            padding: 0.85rem 1.2rem;
            color: var(--hw-primary-dark);
            background: var(--hw-gold-soft);
            box-shadow: 0 12px 24px rgba(20, 7, 14, 0.2);
        }
        .cta-button:hover {
            color: var(--hw-primary-dark);
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 16px 30px rgba(20, 7, 14, 0.26);
        }
        .related-link {
            margin-top: 1rem;
            border-left: 5px solid var(--hw-primary);
        }
        .related-link a {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            color: var(--hw-primary);
            font-weight: 800;
            text-decoration: none;
        }
        .related-link a:hover { text-decoration: underline; }
        .error-message {
            padding: 1.35rem;
            border-left: 5px solid var(--hw-primary);
        }
        .error-message h2 {
            margin: 0 0 0.55rem;
            color: var(--hw-primary-dark);
            font-family: 'Fraunces', Georgia, serif;
            overflow-wrap: anywhere;
        }
        .floating-cta {
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 999;
            min-height: 52px;
            max-width: calc(100vw - 24px);
            padding: 0.85rem 1rem;
            color: #fff;
            background: linear-gradient(135deg, var(--hw-primary), var(--hw-primary-light));
            box-shadow: 0 12px 28px rgba(74, 13, 36, 0.28);
        }
        .floating-cta:hover {
            color: #fff;
            text-decoration: none;
            transform: translateY(-2px);
        }
        .site-footer {
            background: var(--hw-primary-dark);
            color: rgba(255, 255, 255, 0.82);
        }
        .site-footer a { color: rgba(255, 255, 255, 0.86); }
        .site-footer h3 { color: #fff; }
        .footer-logo p { color: rgba(255, 255, 255, 0.78); }
        .footer-bottom { border-top-color: rgba(255, 255, 255, 0.14); }
        .exit-popup-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 99999;
            align-items: center;
            justify-content: center;
            padding: 16px;
            background: rgba(27, 20, 32, 0.72);
            backdrop-filter: blur(3px);
        }
        .exit-popup-overlay.active { display: flex; }
        .exit-popup-box {
            position: relative;
            width: min(480px, 100%);
            padding: 2.4rem;
            border: 1px solid rgba(214, 168, 79, 0.5);
            border-radius: 8px;
            background: var(--hw-ivory);
            text-align: center;
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
        }
        .exit-popup-close {
            position: absolute;
            top: 12px;
            right: 14px;
            border: 0;
            background: transparent;
            color: var(--hw-muted);
            font-size: 26px;
            line-height: 1;
            cursor: pointer;
        }
        .exit-popup-badge {
            display: inline-flex;
            margin-bottom: 0.9rem;
            padding: 0.35rem 0.7rem;
            border-radius: 999px;
            background: var(--hw-gold-soft);
            color: var(--hw-primary-dark);
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .exit-popup-title {
            margin: 0 0 0.65rem;
            color: var(--hw-primary-dark);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.65rem;
            line-height: 1.15;
        }
        .exit-popup-subtitle {
            margin: 0 0 1rem;
            color: var(--hw-muted);
            line-height: 1.55;
        }
        .exit-popup-benefits {
            list-style: none;
            margin: 0 0 1.3rem;
            padding: 0;
            text-align: left;
        }
        .exit-popup-benefits li {
            padding: 0.45rem 0;
            border-top: 1px solid rgba(109, 18, 50, 0.08);
            color: var(--hw-primary-dark);
            font-size: 0.94rem;
            font-weight: 700;
        }
        .exit-popup-cta {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 50px;
            padding: 0.85rem 1rem;
            border-radius: 999px;
            color: #fff !important;
            background: linear-gradient(135deg, var(--hw-primary), var(--hw-primary-light));
            font-weight: 800;
            text-decoration: none !important;
            box-shadow: 0 12px 24px rgba(109, 18, 50, 0.24);
        }
        .exit-popup-no-thanks { margin: 0.85rem 0 0; }
        #exitPopupDismiss {
            color: var(--hw-muted);
            font-size: 0.86rem;
            cursor: pointer;
            text-decoration: underline;
        }
        .exit-popup-trust {
            margin: 0.8rem 0 0;
            color: var(--hw-muted);
            font-size: 0.8rem;
        }
        @media (max-width: 980px) {
            .hero-grid,
            .homily-body {
                grid-template-columns: 1fr;
            }
            .side-stack {
                position: static;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        @media (max-width: 768px) {
            .homily-hero { padding: 44px 0 32px; }
            .breadcrumb { font-size: 0.86rem; }
            .hero-grid { gap: 1.4rem; }
            .homily-hero h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
            .homily-shell { padding: 24px 0 72px; }
            .homily-header,
            .homily-body { padding: 1rem; }
            .actions-container { flex-direction: column; }
            .action-btn { width: 100%; }
            .reading-grid,
            .side-stack {
                grid-template-columns: 1fr;
            }
            .homily-text {
                font-size: 1.08rem;
                line-height: 1.78;
            }
            .floating-cta {
                right: 12px;
                bottom: 12px;
                min-height: 48px;
                padding: 0.75rem 0.9rem;
                font-size: 0.92rem;
            }
            .exit-popup-box { padding: 2rem 1.3rem 1.5rem; }
        }
        @media (max-width: 440px) {
            .homily-hero h1 { font-size: 2.28rem; }
            .error-message h2,
            .tool-promotion h3 { font-size: 1.7rem; }
            .floating-cta {
                right: 10px;
                padding-inline: 0.8rem;
                font-size: 0.86rem;
            }
        }
        @media (max-width: 560px) {
            .floating-cta { display: none; }
        }
        @media print {
            .site-header,
            .homily-hero,
            .actions-container,
            .side-stack,
            .tool-promotion,
            .related-link,
            .floating-cta,
            .site-footer,
            .exit-popup-overlay { display: none !important; }
            body { background: #fff; }
            body::before { display: none; }
            .homily-shell { padding: 0; }
            .homily-content { border: 0; box-shadow: none; }
            .homily-body { display: block; padding: 0; }
        }
