:root {
    color-scheme: light;
    --bg: #f5f8fb;
    --surface: #ffffff;
    --surface-soft: #edf6f8;
    --surface-warm: #fff7ec;
    --text: #17212f;
    --muted: #637083;
    --soft: #8792a2;
    --line: #dbe5ee;
    --accent: #0aa7a3;
    --blue: #2457c5;
    --gold: #d79a28;
    --coral: #e96e61;
    --green: #1f9d67;
    --shadow: 0 24px 70px rgba(33, 54, 82, 0.14);
    --content-max: 1920px;
    --content-gutter: clamp(32px, 4vw, 80px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 320px;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    background:
        linear-gradient(180deg, #f9fcff 0%, #edf6f8 48%, #ffffff 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body > main {
    flex: 1 0 auto;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.page-pattern {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(36, 87, 197, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 167, 163, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 84px;
    padding: 10px clamp(16px, 4vw, 54px);
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(219, 229, 238, 0.86);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.34);
    border-radius: 12px;
    background: linear-gradient(135deg, #e3fbfa, #fff4dc);
    color: #086c69;
    font-size: 0.84rem;
    font-weight: 900;
}

.brand-mark.has-image {
    width: 68px;
    height: 68px;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
    overflow: hidden;
    max-width: 230px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand strong {
    font-size: 0.98rem;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.8vw, 22px);
    color: #455366;
    font-size: 0.92rem;
    font-weight: 750;
}

@media (min-width: 1041px) {
    .site-header {
        justify-content: flex-start;
        gap: clamp(8px, 1vw, 14px);
        padding-right: clamp(18px, 2vw, 28px);
        padding-left: clamp(18px, 2vw, 28px);
    }

    .brand {
        flex: 0 1 auto;
        gap: 10px;
    }

    .main-nav {
        --nav-item-inline-padding: clamp(7px, 0.65vw, 10px);
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        gap: 2px;
        font-size: 0.89rem;
    }

    .header-actions {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

@media (min-width: 1041px) and (max-width: 1200px) {
    .site-header {
        gap: 6px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark.has-image {
        width: 58px;
        height: 58px;
    }

    .brand strong {
        max-width: 120px;
        font-size: 0.88rem;
    }

    .brand small,
    .header-action span {
        display: none;
    }

    .main-nav {
        --nav-item-inline-padding: 6px;
        gap: 0;
        font-size: 0.8rem;
    }

    .header-actions {
        --header-actions-gap: 6px;
    }

    .header-action {
        --action-inline-padding: 0px;
        width: 44px;
    }
}

.main-nav a {
    padding: 9px var(--nav-item-inline-padding, 12px);
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--blue);
    border-color: rgba(10, 167, 163, 0.18);
    background: rgba(10, 167, 163, 0.08);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 40px;
    padding: 0 var(--nav-item-inline-padding, 12px);
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #455366;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-dropdown > button:hover,
.nav-dropdown > button.is-active,
.nav-dropdown.is-open > button {
    color: var(--blue);
    border-color: rgba(10, 167, 163, 0.18);
    background: rgba(10, 167, 163, 0.08);
}

.nav-dropdown > button svg {
    width: 15px;
    height: 15px;
    transition: transform 180ms ease;
}

.nav-dropdown.is-open > button svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 40;
    display: grid;
    min-width: 270px;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(198, 214, 226, 0.92);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 253, 0.99));
    box-shadow: inset 0 3px 0 rgba(248, 200, 107, 0.78), 0 26px 64px rgba(33, 54, 82, 0.2), 0 8px 20px rgba(33, 54, 82, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px) scale(0.98);
    transform-origin: top center;
    visibility: hidden;
    backdrop-filter: blur(16px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.nav-dropdown-menu::before {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    border-top: 1px solid rgba(198, 214, 226, 0.92);
    border-left: 1px solid rgba(198, 214, 226, 0.92);
    background: #ffffff;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    visibility: visible;
}

.nav-dropdown-menu-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 2px 3px;
    padding: 3px 3px 12px;
    border-bottom: 1px solid rgba(214, 225, 234, 0.82);
}

.nav-dropdown-menu-heading > span {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 10px;
    background: linear-gradient(145deg, #eafafa, #ffffff);
    color: var(--green);
    box-shadow: 0 7px 16px rgba(10, 167, 163, 0.1);
}

.nav-dropdown-menu-heading svg {
    width: 17px;
    height: 17px;
}

.nav-dropdown-menu-heading div,
.nav-dropdown-menu-heading small,
.nav-dropdown-menu-heading strong {
    display: block;
    min-width: 0;
}

.nav-dropdown-menu-heading small {
    color: #a06c09;
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.075em;
    line-height: 1.1;
    text-transform: uppercase;
}

.nav-dropdown-menu-heading strong {
    margin-top: 3px;
    color: #24394f;
    font-size: 0.82rem;
    line-height: 1.15;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 7px 8px;
    border: 1px solid rgba(210, 224, 234, 0.78);
    border-radius: 12px;
    background: rgba(250, 252, 254, 0.82);
    color: #536579;
    font-size: 0.84rem;
    font-weight: 850;
    white-space: nowrap;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-dropdown-menu a svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.nav-dropdown-item-icon,
.nav-dropdown-item-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.nav-dropdown-item-icon {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(10, 167, 163, 0.16);
    border-radius: 10px;
    background: linear-gradient(145deg, #eafafa, #ffffff);
    color: var(--green);
    box-shadow: 0 6px 14px rgba(10, 167, 163, 0.08);
}

.nav-dropdown-item-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-dropdown-item-arrow {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(36, 87, 197, 0.1);
    border-radius: 9px;
    background: #ffffff;
    color: #8ca0b2;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-dropdown-menu a.is-private-page {
    color: #5f3dc4;
}

.nav-dropdown-menu a.is-current {
    border-color: rgba(10, 167, 163, 0.3);
    background: linear-gradient(135deg, #e8fbfa, #f4fbff);
    color: var(--blue);
    box-shadow: 0 9px 22px rgba(10, 167, 163, 0.1);
}

.nav-dropdown-menu a.is-current .nav-dropdown-item-icon {
    border-color: transparent;
    background: linear-gradient(145deg, var(--accent), #35c5b5);
    color: #ffffff;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    border-color: rgba(10, 167, 163, 0.28);
    background: linear-gradient(135deg, #edfafa, #f7fcff);
    color: var(--blue);
    box-shadow: 0 10px 22px rgba(10, 167, 163, 0.1);
    transform: translateY(-1px);
}

.nav-dropdown-menu a:hover .nav-dropdown-item-arrow,
.nav-dropdown-menu a:focus-visible .nav-dropdown-item-arrow {
    background: var(--blue);
    color: #ffffff;
    transform: translate(1px, -1px);
}

.header-action,
.primary-action,
.secondary-action,
.ghost-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 var(--action-inline-padding, 16px);
    border-radius: 8px;
    font-weight: 850;
    cursor: pointer;
}

.header-action,
.primary-action {
    border: 1px solid rgba(10, 167, 163, 0.32);
    background: linear-gradient(135deg, #0aa7a3, #55d6b6);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(10, 167, 163, 0.22);
}

.secondary-action,
.ghost-action {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
}

.ghost-action {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background-image: var(--hero-image);
    background-position: center right;
    background-size: cover;
}

.hero-light {
    filter: saturate(1.08) contrast(1.08);
}

.home-page .hero {
    min-height: 62vh;
}

.home-page .hero-inner {
    padding-top: clamp(28px, 4vw, 38px);
}

.home-broadcast-hero {
    position: relative;
    min-height: calc(100vh - 74px);
    overflow: hidden;
    padding: clamp(48px, 7vw, 86px) 0 clamp(42px, 6vw, 70px);
    background-image: var(--hero-image);
    background-position: center right;
    background-size: cover;
}

.home-broadcast-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 38%, rgba(255, 255, 255, 0.28) 70%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(245, 248, 251, 0.82) 100%);
}

.home-broadcast-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
}

.home-broadcast-copy h1 {
    margin: 14px 0 12px;
    max-width: 620px;
    color: var(--text);
    font-size: clamp(2.5rem, 5.4vw, 5.05rem);
    line-height: 1;
}

.home-broadcast-copy p {
    max-width: 600px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
}

.home-live-summary {
    max-width: 520px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(219, 229, 238, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 54px rgba(33, 54, 82, 0.1);
    backdrop-filter: blur(12px);
}

.home-live-summary strong,
.home-live-summary small {
    display: block;
}

.home-live-summary strong {
    margin: 10px 0 4px;
    font-size: 1.15rem;
}

.home-live-summary small {
    color: var(--muted);
    line-height: 1.55;
}

.home-player-column {
    align-self: center;
}

.home-player-column .player-stage {
    transform: translateY(10px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.54) 34%, rgba(255, 255, 255, 0.02) 64%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 248, 251, 0.42) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(280px, 360px);
    gap: clamp(24px, 5vw, 70px);
    width: min(var(--content-max), calc(100% - var(--content-gutter)));
    margin: 0 auto;
    padding: 86px 0 52px;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.panel-kicker,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9d6e10;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-live-indicator {
    gap: 10px;
}

.hero-live-indicator .live-dot {
    animation: livePulse 1.4s infinite, heroDotBlink 1.4s infinite ease-in-out;
}

.hero-live-indicator .live-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.hero-live-indicator .live-dot:nth-child(3) {
    animation-delay: 0.36s;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes heroDotBlink {
    0%,
    100% {
        opacity: 0.42;
        transform: scale(0.82);
    }

    40% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.hero h1,
.page-title h1,
.section-heading h2 {
    margin: 14px 0 12px;
    color: var(--text);
    line-height: 1;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(2.7rem, 6vw, 5.55rem);
}

.page-title h1 {
    max-width: 850px;
    font-size: clamp(2.15rem, 5vw, 4.6rem);
}

.section-heading h2 {
    max-width: 720px;
    font-size: clamp(1.9rem, 4vw, 3.5rem);
}

.hero p,
.page-title p,
.section-heading p,
.now-card p,
.info-card p,
.schedule-item p,
.portal-tile small,
.announcement-card span,
.feature-list span {
    color: var(--muted);
    line-height: 1.7;
}

.hero p {
    max-width: 660px;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions,
.inline-actions,
.title-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-status,
.now-card,
.next-card,
.share-card,
.home-social-card,
.portal-tile,
.announcement-card,
.prayer-form,
.prayer-wall article,
.info-card,
.giving-card,
.feature-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.hero-status {
    align-self: end;
    position: relative;
    overflow: hidden;
    padding: 22px;
    backdrop-filter: blur(16px);
}

.hero-status::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.hero-status strong {
    display: block;
    margin: 12px 0 6px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-status small {
    color: var(--muted);
    line-height: 1.5;
}

.mini-meter {
    height: 7px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2eaf1;
}

.mini-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--coral));
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 0 rgba(233, 110, 97, 0.62);
    animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
    70% { box-shadow: 0 0 0 10px rgba(233, 110, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 110, 97, 0); }
}

.section-shell {
    width: min(var(--content-max), calc(100% - var(--content-gutter)));
    margin: 0 auto;
}

.section-block,
.watch-section {
    padding: clamp(48px, 7vw, 92px) 0;
}

.section-white {
    background: rgba(255, 255, 255, 0.72);
}

.section-soft {
    background: linear-gradient(90deg, rgba(10, 167, 163, 0.1), rgba(215, 154, 40, 0.12), rgba(233, 110, 97, 0.09));
}

.page-title {
    padding: clamp(46px, 7vw, 86px) 0 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(237, 246, 248, 0.78)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
    border-bottom: 1px solid var(--line);
}

.schedule-page .page-title {
    padding: 24px 0 26px;
}

.schedule-page .page-title h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.schedule-page .page-title p {
    max-width: 760px;
}

.schedule-page .section-block {
    padding-top: 28px;
}

.dynamic-page .dynamic-page-title {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px) 0;
    background:
        radial-gradient(circle at 82% 10%, rgba(36, 87, 197, 0.13), transparent 26%),
        radial-gradient(circle at 68% 100%, rgba(10, 167, 163, 0.15), transparent 30%),
        linear-gradient(125deg, rgba(255, 255, 255, 0.98), rgba(237, 247, 249, 0.94));
}

.dynamic-page .dynamic-page-title.has-page-dates {
    padding-bottom: clamp(14px, 1.7vw, 20px);
}

.dynamic-page-title::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -98px;
    right: clamp(32px, 8vw, 150px);
    width: 210px;
    height: 210px;
    border: 1px solid rgba(36, 87, 197, 0.12);
    border-radius: 42%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(24deg);
}

.dynamic-page-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.dynamic-page-title-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 56px);
}

.dynamic-page-title-copy {
    min-width: 0;
    max-width: 960px;
}

.dynamic-page-title-heading {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.3vw, 16px);
}

.dynamic-page-title-heading > svg {
    width: clamp(24px, 2.4vw, 31px);
    height: clamp(24px, 2.4vw, 31px);
    flex: 0 0 auto;
    color: var(--blue);
    stroke-width: 1.9;
}

.dynamic-page-title h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 3.3rem);
    line-height: 1.08;
    text-wrap: balance;
}

.dynamic-page-title p {
    max-width: 780px;
    margin: 7px 0 0;
    font-size: clamp(0.92rem, 1.15vw, 1.03rem);
    line-height: 1.55;
    text-wrap: pretty;
}

.dynamic-page-title-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 8px;
}

.dynamic-page-title-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(36, 87, 197, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #52677d;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
}

.dynamic-page-title-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: var(--blue);
    stroke-width: 2;
}

.dynamic-page-title-meta time {
    color: var(--text);
    font-weight: 900;
}

.dynamic-page-title-mark {
    display: grid;
    width: clamp(62px, 6.5vw, 78px);
    height: clamp(62px, 6.5vw, 78px);
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(229, 248, 247, 0.84));
    color: var(--blue);
    box-shadow:
        0 16px 36px rgba(33, 54, 82, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: rotate(3deg);
}

.dynamic-page-title-mark svg {
    width: 42%;
    height: 42%;
    stroke-width: 1.8;
}

.dynamic-page .section-block {
    padding-top: 28px;
}

.about-page .section-block {
    padding-top: 28px;
}

.about-page-title {
    padding: 24px 0 26px;
}

.about-page-title h1 {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.about-content-section {
    padding-top: 28px;
}

.about-content-panel {
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(219, 229, 238, 0.92);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 249, 0.9)),
        #ffffff;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.08);
}

.about-section-text {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.about-section-text > *:first-child {
    margin-top: 0;
}

.about-section-text > *:last-child {
    margin-bottom: 0;
}

.about-section-text p,
.about-section-text ul,
.about-section-text ol,
.about-section-text blockquote {
    margin: 0.75rem 0;
}

.about-section-text ul,
.about-section-text ol {
    padding-left: 1.25rem;
}

.about-section-text a {
    color: var(--blue);
    font-weight: 850;
}

.about-section-text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

.about-section-text blockquote {
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 3px solid var(--gold);
    color: var(--text);
}

.leadership-page-title {
    padding: 14px 0 20px;
}

.leadership-title-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.leadership-page-title h1 {
    margin: 5px 0 7px;
    font-size: clamp(2.2rem, 4.5vw, 4.25rem);
}

.leadership-page-title p {
    max-width: 680px;
    margin: 0;
    font-size: 1.04rem;
}

.leadership-title-mark {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: var(--accent);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.08);
}

.leadership-title-mark svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.leadership-section {
    padding-top: clamp(24px, 3vw, 38px);
    background:
        radial-gradient(circle at 12% 18%, rgba(10, 167, 163, 0.07), transparent 24%),
        radial-gradient(circle at 88% 76%, rgba(215, 154, 40, 0.08), transparent 24%),
        rgba(255, 255, 255, 0.76);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 374px));
    justify-content: center;
    align-items: start;
    gap: clamp(24px, 3vw, 38px);
}

.leadership-card.is-revealed {
    animation: leadershipCardReveal 320ms ease-out both;
}

@keyframes leadershipCardReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leadership-load-more {
    display: flex;
    justify-content: center;
    margin-top: clamp(30px, 4vw, 48px);
}

.leadership-load-more[hidden] {
    display: none;
}

.leadership-load-more-button {
    display: inline-flex;
    min-width: min(100%, 286px);
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 22px 9px 12px;
    border: 1px solid rgba(184, 157, 92, 0.46);
    border-radius: 999px;
    background: linear-gradient(145deg, #ffffff, #f7f4ec);
    color: #263a50;
    font: inherit;
    text-align: left;
    box-shadow: 0 14px 34px rgba(33, 54, 82, 0.11);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.leadership-load-more-button:hover,
.leadership-load-more-button:focus-visible {
    border-color: rgba(10, 167, 163, 0.52);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.16);
    transform: translateY(-2px);
}

.leadership-load-more-button:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.26);
    outline-offset: 4px;
}

.leadership-load-more-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(184, 157, 92, 0.34);
    border-radius: 50%;
    background: #20344c;
    color: #f4d785;
}

.leadership-load-more-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.leadership-load-more-copy {
    display: grid;
    gap: 2px;
}

.leadership-load-more-copy strong,
.leadership-load-more-copy small {
    display: block;
}

.leadership-load-more-copy strong {
    font-size: 0.88rem;
}

.leadership-load-more-copy small {
    color: #6f7f8c;
    font-size: 0.72rem;
    font-weight: 750;
}

.leadership-load-more.is-complete .leadership-load-more-button {
    border-color: rgba(10, 167, 163, 0.28);
    background: #f2fbfa;
    box-shadow: none;
    cursor: default;
    transform: none;
}

.leadership-load-more.is-complete .leadership-load-more-icon {
    border-color: rgba(10, 167, 163, 0.24);
    background: #0a7773;
    color: #ffffff;
}

.leadership-card {
    position: relative;
    padding: 9px 9px 14px;
    overflow: visible;
    border: 1px solid rgba(184, 157, 92, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 248, 0.98)),
        #ffffff;
    box-shadow:
        0 24px 64px rgba(33, 54, 82, 0.13),
        inset 0 0 0 1px rgba(255, 255, 255, 0.88);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.leadership-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 42%;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.leadership-card::after {
    content: "";
    position: absolute;
    inset: 15px;
    z-index: 0;
    border: 1px solid rgba(184, 157, 92, 0.16);
    border-radius: 12px;
    pointer-events: none;
}

.leadership-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 72px rgba(33, 54, 82, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.leadership-photo {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 4.45;
    overflow: hidden;
    border: 1px solid rgba(184, 157, 92, 0.28);
    border-radius: 12px 12px 5px 5px;
    background: linear-gradient(145deg, #e8f3f4, #f7f1e5);
}

.leadership-photo-trigger {
    display: block;
    width: 100%;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.leadership-photo-trigger:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.65);
    outline-offset: 4px;
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease;
}

.leadership-photo-empty {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), transparent 29%),
        linear-gradient(145deg, #e7f1f2, #f6f1e6);
}

.leadership-photo-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 12px;
    color: #61707b;
}

.leadership-photo-placeholder svg {
    width: 72px;
    height: 72px;
    stroke-width: 1.15;
}

.leadership-photo-placeholder small {
    color: #596976;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.leadership-card:hover .leadership-photo img {
    transform: scale(1.025);
}

.leadership-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 52%, rgba(14, 23, 38, 0.42) 100%),
        linear-gradient(90deg, rgba(16, 31, 51, 0.09), transparent 20%, transparent 80%, rgba(16, 31, 51, 0.09));
    pointer-events: none;
}

.leadership-photo-accent {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: 104px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.leadership-card-seal {
    position: absolute;
    right: 18px;
    bottom: 17px;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 50%;
    background: rgba(20, 30, 50, 0.76);
    color: #f8d887;
    box-shadow: 0 10px 26px rgba(8, 16, 30, 0.25);
    backdrop-filter: blur(8px);
}

.leadership-card-seal svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.7;
}

.leadership-photo-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    background: rgba(14, 23, 38, 0.68);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 160ms ease, transform 160ms ease;
    backdrop-filter: blur(8px);
}

.leadership-photo-hint svg {
    width: 15px;
    height: 15px;
}

.leadership-photo-trigger:hover .leadership-photo-hint,
.leadership-photo-trigger:focus-visible .leadership-photo-hint {
    opacity: 1;
    transform: translateY(0);
}

.leadership-photo-modal {
    width: fit-content;
    max-width: calc(100% - 36px);
    max-height: calc(100dvh - 36px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    color: #ffffff;
    box-shadow:
        0 44px 120px rgba(3, 6, 18, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

.leadership-photo-modal::backdrop {
    background:
        radial-gradient(circle at 18% 10%, rgba(88, 56, 170, 0.24), transparent 32%),
        rgba(4, 6, 17, 0.86);
    backdrop-filter: blur(12px) saturate(0.8);
}

.leadership-photo-modal[open] {
    animation: leadershipModalIn 180ms ease-out;
}

@keyframes leadershipModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.leadership-modal-shell {
    position: relative;
    padding: 0;
}

.leadership-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    background: rgba(11, 10, 34, 0.52);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(3, 6, 18, 0.24);
    backdrop-filter: blur(12px);
}

.leadership-modal-close:hover,
.leadership-modal-close:focus-visible {
    border-color: #f8d887;
    background: rgba(11, 10, 34, 0.9);
    color: #f8d887;
    outline: none;
}

.leadership-modal-close svg {
    width: 22px;
    height: 22px;
}

.leadership-photo-modal figure {
    display: grid;
    grid-template-columns: minmax(280px, auto) minmax(280px, 330px);
    max-width: min(980px, calc(100vw - 36px));
    max-height: calc(100dvh - 36px);
    margin: 0;
}

.leadership-modal-image-stage {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 280px;
    min-height: 430px;
    place-items: center;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
    background:
        linear-gradient(135deg, rgba(238, 229, 204, 0.14), transparent 34%),
        #090e18;
}

.leadership-modal-image-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    border-radius: inherit;
    box-shadow: inset -32px 0 52px rgba(7, 7, 28, 0.1);
    pointer-events: none;
}

.leadership-modal-image-stage img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 36px);
    object-fit: contain;
}

.leadership-modal-profile {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 54px 34px 38px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.2), transparent 30%),
        radial-gradient(circle at 10% 100%, rgba(168, 85, 247, 0.22), transparent 34%),
        linear-gradient(150deg, #171331 0%, #27205b 54%, #4c1d95 100%);
}

.leadership-modal-profile::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(248, 216, 135, 0.2);
    border-radius: 14px;
    pointer-events: none;
}

.leadership-modal-profile::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -78px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    box-shadow:
        0 0 0 24px rgba(255, 255, 255, 0.025),
        0 0 0 48px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.leadership-modal-emblem {
    position: relative;
    z-index: 1;
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid rgba(248, 216, 135, 0.38);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f8d887;
    box-shadow: 0 18px 40px rgba(5, 7, 24, 0.24);
}

.leadership-modal-emblem svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.45;
}

.leadership-modal-caption-kicker {
    position: relative;
    z-index: 1;
    padding: 6px 10px;
    border: 1px solid rgba(248, 216, 135, 0.3);
    border-radius: 999px;
    background: rgba(248, 216, 135, 0.08);
    color: #f8d887;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.leadership-photo-modal figcaption strong {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    color: #ffffff;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.leadership-modal-profile.is-badge-hidden > strong {
    margin-top: 0;
}

.leadership-photo-modal figcaption small {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: #f8d887;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.leadership-modal-divider {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 2px;
    margin: 24px 0 20px;
    background: linear-gradient(90deg, #f8d887, rgba(248, 216, 135, 0.12));
}

.leadership-modal-profile p {
    position: relative;
    z-index: 1;
    max-width: 230px;
    margin: 0;
    color: rgba(239, 237, 255, 0.72);
    font-size: 0.96rem;
    line-height: 1.7;
}

.leadership-modal-signature {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 38px auto 38px;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: rgba(248, 216, 135, 0.8);
}

.leadership-modal-signature span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(248, 216, 135, 0.55));
}

.leadership-modal-signature span:last-child {
    background: linear-gradient(90deg, rgba(248, 216, 135, 0.55), transparent);
}

.leadership-modal-signature svg {
    width: 15px;
    height: 15px;
}

.leadership-card-copy {
    position: relative;
    z-index: 2;
    min-height: 235px;
    margin: -19px 12px 0;
    padding: 25px 24px 20px;
    border: 1px solid rgba(184, 157, 92, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.12);
    text-align: center;
}

.leadership-card-heading {
    display: grid;
    justify-items: center;
    gap: 7px;
}

.leadership-card-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 999px;
    background: rgba(10, 167, 163, 0.07);
    color: #087370;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.leadership-role {
    display: block;
    color: #8b610f;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.leadership-card h2 {
    margin: 12px 0 13px;
    color: var(--text);
    font-size: clamp(1.42rem, 2vw, 1.82rem);
    line-height: 1.12;
}

.leadership-card p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.68;
}

.leadership-card-ornament {
    display: grid;
    grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
    align-items: center;
    gap: 9px;
    width: min(180px, 84%);
    margin: 18px auto 0;
    color: rgba(139, 97, 15, 0.72);
}

.leadership-card-ornament span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 157, 92, 0.58));
}

.leadership-card-ornament span:last-child {
    background: linear-gradient(90deg, rgba(184, 157, 92, 0.58), transparent);
}

.leadership-card-ornament svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.5;
}

.leadership-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 64px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f3faf9);
    box-shadow: var(--shadow);
    text-align: center;
}

.leadership-empty > span {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: rgba(10, 167, 163, 0.1);
    color: var(--accent);
}

.leadership-empty h2 {
    margin: 0 0 8px;
    color: var(--text);
}

.leadership-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 920px) {
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
    }
}

@media (max-width: 600px) {
    .leadership-page-title {
        padding: 12px 0 17px;
    }

    .leadership-page-title h1 {
        margin-top: 4px;
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .leadership-title-mark {
        display: none;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-card-copy {
        min-height: 0;
        margin-inline: 9px;
        padding: 24px 19px 19px;
    }

    .leadership-photo-hint {
        opacity: 1;
        transform: none;
    }

    .leadership-photo-modal {
        width: calc(100% - 14px);
        max-width: calc(100% - 14px);
        max-height: calc(100dvh - 14px);
        border-radius: 18px;
    }

    .leadership-modal-shell {
        padding: 0;
    }

    .leadership-modal-close {
        top: 14px;
        right: 14px;
    }

    .leadership-photo-modal figure {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, auto) auto;
        width: 100%;
        max-height: calc(100dvh - 14px);
    }

    .leadership-modal-image-stage {
        min-width: 0;
        min-height: 220px;
        max-height: 62dvh;
        border-radius: 18px 18px 0 0;
    }

    .leadership-modal-image-stage img {
        max-height: 62dvh;
    }

    .leadership-modal-profile {
        min-height: 0;
        padding: 25px 24px 27px;
        align-items: center;
        text-align: center;
    }

    .leadership-modal-profile::before {
        inset: 9px;
        border-radius: 11px;
    }

    .leadership-modal-emblem {
        display: none;
    }

    .leadership-modal-caption-kicker {
        width: fit-content;
    }

    .leadership-photo-modal figcaption strong {
        margin-top: 12px;
        font-size: 1.8rem;
    }

    .leadership-photo-modal figcaption small {
        margin-top: 6px;
    }

    .leadership-modal-divider {
        margin: 16px 0 12px;
    }

    .leadership-modal-profile p,
    .leadership-modal-signature {
        display: none;
    }
}

.prayer-page .page-title {
    padding: 24px 0 26px;
}

.prayer-page .page-title h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.prayer-page .page-title p {
    max-width: 720px;
}

.prayer-page .section-block {
    padding-top: 28px;
}

.giving-page .page-title {
    padding: 24px 0 26px;
}

.giving-page .page-title h1 {
    max-width: none;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    white-space: nowrap;
}

.giving-page .page-title p {
    max-width: 720px;
}

.giving-page .section-block {
    padding-top: 28px;
}

.contact-page .page-title {
    padding: 24px 0 26px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 249, 250, 0.92) 54%, rgba(236, 243, 252, 0.82) 100%),
        url("../img/hero-church-broadcast-light.png") right center / 38% auto no-repeat;
}

.contact-page .page-title h1 {
    max-width: none;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    white-space: nowrap;
}

.contact-page .page-title p {
    max-width: 720px;
}

.contact-page .section-block {
    padding-top: 28px;
}

.giving-contact-action {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-color: rgba(10, 167, 163, 0.42);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%),
        linear-gradient(135deg, #10253a 0%, #0aa7a3 56%, #58d9b8 100%);
    font-size: 0.96rem;
    box-shadow:
        0 16px 30px rgba(10, 167, 163, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.giving-contact-action::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 44%);
    opacity: 0.9;
}

.giving-contact-action:hover,
.giving-contact-action:focus-visible {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow:
        0 20px 36px rgba(10, 167, 163, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

.giving-contact-action svg {
    box-sizing: content-box;
    width: 18px;
    height: 18px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
    gap: 18px;
    align-items: start;
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-card,
.contact-social-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.09);
}

.contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 164px;
    padding: 18px;
    overflow: hidden;
}

.contact-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: #eafbfa;
    color: var(--accent);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card div {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.contact-card div > span {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card strong {
    color: var(--text);
    font-size: clamp(1rem, 1.6vw, 1.28rem);
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.contact-card a,
.contact-card button {
    grid-column: 2;
    justify-self: start;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(36, 87, 197, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--blue);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-card a:hover,
.contact-card a:focus-visible,
.contact-card button:hover,
.contact-card button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.36);
    background: #effbfb;
    outline: none;
}

.contact-card .copy-feedback {
    grid-column: 2;
    min-height: 18px;
    margin: -4px 0 0;
    color: #0f9a63;
    font-size: 0.78rem;
    font-weight: 900;
}

.contact-card.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.42);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 255, 244, 0.94)),
        linear-gradient(120deg, rgba(37, 211, 102, 0.16), rgba(18, 140, 69, 0.08));
    box-shadow: 0 20px 48px rgba(18, 140, 69, 0.14);
}

.contact-card.is-whatsapp .contact-card-icon {
    background: linear-gradient(135deg, #25d366, #128c45);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(18, 140, 69, 0.2);
}

.contact-card.is-whatsapp div > span {
    color: #128c45;
}

.contact-card.is-whatsapp a {
    border-color: rgba(18, 140, 69, 0.18);
    background: linear-gradient(135deg, #25d366, #19b45a);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(18, 140, 69, 0.18);
}

.contact-card.is-whatsapp a:hover,
.contact-card.is-whatsapp a:focus-visible {
    border-color: rgba(18, 140, 69, 0.35);
    background: linear-gradient(135deg, #21c45f, #128c45);
}

.contact-card.is-address {
    grid-column: 1 / -1;
}

.contact-social-panel {
    display: grid;
    gap: 12px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 249, 252, 0.92)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.09));
}

.contact-social-panel h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.16;
}

.contact-social-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-social-list {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.contact-social-link {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(33, 54, 82, 0.06);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-social-link svg {
    width: 18px;
    height: 18px;
}

.contact-social-link.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.32);
    color: #128c45;
}

.contact-social-link.is-youtube,
.home-social-link.is-youtube,
.site-footer-social.is-youtube {
    border-color: rgba(255, 0, 0, 0.22);
    color: #ff0000;
}

.contact-social-link.is-tiktok,
.home-social-link.is-tiktok,
.site-footer-social.is-tiktok {
    border-color: rgba(17, 24, 39, 0.18);
    color: #111827;
}

.contact-social-link.is-x,
.home-social-link.is-x,
.site-footer-social.is-x {
    border-color: rgba(17, 24, 39, 0.2);
    color: #111827;
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.38);
    background: #eafafa;
    outline: none;
}

.member-auth-theme {
    background-color: #f8fbf8;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 251, 249, 0.78) 48%, rgba(237, 249, 247, 0.86)),
        radial-gradient(circle at 52% 100%, rgba(190, 214, 94, 0.22), transparent 30%),
        radial-gradient(circle at 0% 0%, rgba(233, 110, 97, 0.1), transparent 34%),
        url("../img/evento-fox-web-tv.png");
    background-position: center, center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: cover, auto, auto, cover;
    background-attachment: fixed, scroll, scroll, fixed;
}

.member-auth-theme .page-pattern {
    opacity: 0.08;
}

.member-auth-theme .page-title {
    padding: 28px 0 10px;
    background: transparent;
    border-bottom: 0;
}

.member-auth-theme .page-title .section-shell,
.member-auth-theme .member-auth-section .section-shell {
    width: min(1120px, calc(100% - 32px));
}

.member-auth-theme .member-auth-title .title-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 22px;
    padding: 24px 28px;
    border: 1px solid rgba(219, 229, 238, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 54px rgba(33, 54, 82, 0.1);
}

.member-auth-title-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-auth-title-icon,
.member-auth-intro-icon {
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #44d5e9, #ffe0a3);
    color: #0f5f69;
}

.member-auth-title-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

.member-auth-theme .page-title h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.12;
}

.member-auth-theme .page-title p {
    justify-self: end;
    max-width: 430px;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.title-grid,
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
    gap: clamp(22px, 5vw, 58px);
    align-items: center;
}

.compact-heading {
    margin-bottom: 22px;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 14px;
    margin-top: 0;
    position: relative;
    z-index: 3;
}

.portal-grid-original {
    display: none;
}

.portal-grid-below-player {
    margin-top: clamp(18px, 3vw, 30px);
}

.portal-grid-below-player .portal-tile {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(33, 54, 82, 0.1);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portal-grid-below-player .portal-tile::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
    opacity: 0;
    transition: opacity 180ms ease;
}

.portal-grid-below-player .portal-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(10, 167, 163, 0.42);
    box-shadow: 0 24px 58px rgba(33, 54, 82, 0.16);
}

.portal-grid-below-player .portal-tile:hover::before {
    opacity: 1;
}

.portal-tile {
    display: grid;
    gap: 10px;
    min-height: 180px;
    padding: 20px;
}

.portal-tile.featured {
    background: linear-gradient(135deg, #ffffff, #e6fbfa);
    border-color: rgba(10, 167, 163, 0.35);
}

.portal-tile span,
.announcement-card em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 900;
}

.portal-tile strong {
    font-size: 1.28rem;
}

.watch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
    gap: 22px;
    align-items: start;
}

.home-watch-grid {
    grid-template-columns: minmax(300px, 0.54fr) minmax(0, 1.46fr);
    gap: clamp(18px, 2.4vw, 30px);
}

.home-watch-grid.is-player-only {
    grid-template-columns: minmax(0, 1fr);
}

.home-page .watch-section {
    padding-top: clamp(22px, 3vw, 34px);
    padding-bottom: clamp(24px, 3vw, 38px);
    background:
        radial-gradient(circle at 85% 8%, rgba(36, 87, 197, 0.11), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 248, 0.82)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.09), rgba(36, 87, 197, 0.06), rgba(215, 154, 40, 0.08));
}

.home-live-separator {
    display: grid;
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
    align-items: center;
    gap: 16px;
    margin: 0 0 clamp(24px, 3vw, 34px);
}

.home-live-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(10, 167, 163, 0), rgba(10, 167, 163, 0.5), rgba(215, 154, 40, 0.48), rgba(233, 110, 97, 0));
}

.home-live-line:first-child {
    background: linear-gradient(90deg, rgba(233, 110, 97, 0), rgba(215, 154, 40, 0.48), rgba(10, 167, 163, 0.5));
}

.home-live-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--accent);
    box-shadow: 0 14px 32px rgba(10, 167, 163, 0.14);
}

.home-live-mark::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    border: 1px solid rgba(215, 154, 40, 0.24);
}

.home-live-mark svg {
    position: relative;
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.church-highlights-block {
    margin-top: clamp(14px, 2vw, 24px);
}

.church-highlights-heading {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.church-highlights-heading h2 {
    max-width: 620px;
    margin: 0;
    color: var(--text);
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.church-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.church-highlight-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 220px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(219, 229, 238, 0.96);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.78)),
        linear-gradient(120deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.08));
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.1);
}

.church-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.church-highlight-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #e9fbf9;
    color: var(--accent);
}

.church-highlight-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.4;
}

.church-highlight-card small {
    color: #9d6e10;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.church-highlight-card strong {
    color: var(--text);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.16;
}

.church-highlight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.church-highlight-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    color: var(--blue);
    font-weight: 900;
}

.church-highlight-card a svg {
    width: 16px;
    height: 16px;
}

.portal-announcements {
    position: relative;
    isolation: isolate;
    margin-top: clamp(18px, 2.4vw, 30px);
    overflow: hidden;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid rgba(77, 139, 222, 0.38);
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 5%, rgba(83, 214, 182, 0.22), transparent 28%),
        radial-gradient(circle at 8% 100%, rgba(215, 154, 40, 0.2), transparent 30%),
        linear-gradient(135deg, #10284b 0%, #173f75 52%, #0e6672 100%);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(20, 50, 91, 0.24);
    scroll-margin-top: 92px;
}

.portal-announcements::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.portal-announcements-header,
.portal-announcements-heading,
.portal-announcements-controls,
.portal-announcements-footer,
.portal-announcements-dots {
    display: flex;
    align-items: center;
}

.portal-announcements-header {
    position: relative;
    z-index: 2;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.portal-announcements-heading {
    gap: 14px;
}

.portal-announcements-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #7ff4df;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.035);
}

.portal-announcements-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.4;
}

.portal-announcements .panel-kicker {
    color: #ffd36d;
}

.portal-announcements-heading h2 {
    margin: 2px 0 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.1;
}

.portal-announcements-heading p {
    margin: 6px 0 0;
    color: rgba(232, 244, 255, 0.78);
    font-size: 0.9rem;
}

.portal-announcements-controls {
    gap: 8px;
}

.portal-announcements-controls button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.portal-announcements-controls button:hover,
.portal-announcements-controls button:focus-visible {
    border-color: rgba(127, 244, 223, 0.8);
    background: rgba(127, 244, 223, 0.16);
    transform: translateY(-2px);
}

.portal-announcements-controls svg {
    width: 18px;
    height: 18px;
}

.portal-announcements-stage {
    position: relative;
    z-index: 1;
    display: grid;
}

.portal-announcement-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(16px, 2.4vw, 28px);
    align-items: center;
    min-height: 154px;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    background: rgba(7, 22, 45, 0.34);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    pointer-events: none;
    transition: opacity 360ms ease, transform 360ms ease, visibility 360ms ease;
}

.portal-announcement-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.portal-announcement-number {
    color: rgba(127, 244, 223, 0.72);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.portal-announcement-copy small {
    color: #ffd36d;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.portal-announcement-copy h3 {
    margin: 5px 0 0;
    color: #ffffff;
    font-size: clamp(1.25rem, 2.3vw, 2.05rem);
    line-height: 1.12;
}

.portal-announcement-copy p {
    max-width: 760px;
    margin: 9px 0 0;
    color: rgba(236, 246, 255, 0.82);
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    line-height: 1.55;
}

.portal-announcement-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: #ffffff;
    color: #173f75;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(3, 16, 34, 0.24);
}

.portal-announcement-action:hover,
.portal-announcement-action:focus-visible {
    background: #e9fffa;
    color: #0b6f6c;
}

.portal-announcement-action svg {
    width: 17px;
    height: 17px;
}

.portal-announcements-footer {
    position: relative;
    z-index: 2;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.portal-announcements-dots {
    gap: 7px;
}

.portal-announcements-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease;
}

.portal-announcements-dots button.is-active {
    width: 28px;
    background: #7ff4df;
}

.portal-announcements-footer > span {
    color: rgba(235, 246, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 850;
}

.portal-announcements.is-sidebar {
    margin-top: 0;
    padding: 16px;
    border-radius: 9px;
}

.portal-announcements.is-sidebar .portal-announcements-header {
    gap: 8px;
    margin-bottom: 14px;
}

.portal-announcements.is-sidebar .portal-announcements-heading {
    min-width: 0;
    gap: 9px;
}

.portal-announcements.is-sidebar .portal-announcements-heading > div {
    min-width: 0;
}

.portal-announcements.is-sidebar .portal-announcements-heading p {
    display: none;
}

.portal-announcements.is-sidebar .portal-announcements-icon {
    width: 40px;
    height: 40px;
}

.portal-announcements.is-sidebar .portal-announcements-icon svg {
    width: 19px;
    height: 19px;
}

.portal-announcements.is-sidebar .panel-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.055em;
    white-space: nowrap;
}

.portal-announcements.is-sidebar .portal-announcements-heading h2 {
    overflow: hidden;
    font-size: 1.12rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-announcements.is-sidebar .portal-announcements-controls {
    flex: 0 0 auto;
    gap: 5px;
}

.portal-announcements.is-sidebar .portal-announcements-controls button {
    width: 34px;
    height: 34px;
}

.portal-announcements.is-sidebar .portal-announcement-slide {
    grid-template-columns: 1fr;
    gap: 11px;
    min-height: 0;
    padding: 16px;
}

.portal-announcements.is-sidebar .portal-announcement-number {
    font-size: 2rem;
}

.portal-announcements.is-sidebar .portal-announcement-copy h3 {
    font-size: 1.2rem;
}

.portal-announcements.is-sidebar .portal-announcement-copy p {
    font-size: 0.88rem;
}

.portal-announcements.is-sidebar .portal-announcement-action {
    width: max-content;
    max-width: 100%;
    margin-top: 3px;
}

.portal-announcements.is-sidebar .portal-announcements-footer {
    margin-top: 13px;
}

@media (max-width: 720px) {
    .portal-announcements-header {
        align-items: flex-end;
    }

    .portal-announcements-heading {
        align-items: flex-start;
    }

    .portal-announcements-heading p {
        display: none;
    }

    .portal-announcements-icon {
        width: 44px;
        height: 44px;
    }

    .portal-announcement-slide {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portal-announcement-number {
        font-size: 2rem;
    }

    .portal-announcement-action {
        width: max-content;
        margin-top: 4px;
    }
}

@media (max-width: 430px) {
    .portal-announcements {
        padding: 16px;
    }

    .portal-announcements-header {
        display: grid;
    }

    .portal-announcements-controls {
        justify-self: end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-announcement-slide,
    .portal-announcements-controls button,
    .portal-announcements-dots button {
        transition: none;
    }
}

.player-stage-shell {
    position: relative;
}

.player-stage-shell.is-sticky-space {
    min-height: var(--player-stage-height, 420px);
}

.player-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(104, 224, 197, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, #0b1320, #05070a);
    box-shadow: 0 34px 88px rgba(15, 25, 38, 0.38), 0 0 0 8px rgba(255, 255, 255, 0.58), 0 0 48px rgba(10, 167, 163, 0.14);
}

.player-stage::before {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold), var(--coral));
    content: "";
    pointer-events: none;
}

body.player-sticky-active:not(.tv-mode-page) .player-stage {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: var(--player-sticky-bottom, clamp(16px, 3vw, 32px));
    z-index: 95;
    width: min(430px, calc(100vw - 32px));
    transform: none !important;
    border-color: rgba(104, 224, 197, 0.44);
    box-shadow: 0 24px 74px rgba(8, 18, 31, 0.42), 0 0 0 6px rgba(255, 255, 255, 0.68);
    animation: floatingPlayerIn 180ms ease-out;
}

@keyframes floatingPlayerIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body.player-sticky-active:not(.tv-mode-page) .broadcast-topline {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
}

body.player-sticky-active:not(.tv-mode-page) .player-controls {
    gap: 8px;
    padding: 8px;
}

body.player-sticky-active:not(.tv-mode-page) .icon-button {
    width: 36px;
    height: 36px;
}

body.player-sticky-active:not(.tv-mode-page) .live-bug {
    top: 10px;
    right: 10px;
    padding: 6px 9px;
    font-size: 0.68rem;
}

body.player-sticky-active:not(.tv-mode-page) .lower-third {
    right: 12px;
    bottom: 10px;
    left: 12px;
    padding: 9px 11px;
}

.broadcast-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    color: #d8e6ef;
    background: linear-gradient(90deg, #121d29, #152536);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.broadcast-topline-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.sticky-player-close {
    display: none;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sticky-player-close:hover,
.sticky-player-close:focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.sticky-player-close svg {
    width: 16px;
    height: 16px;
}

body.player-sticky-active:not(.tv-mode-page) .sticky-player-close {
    display: grid;
}

.status-pill {
    color: #ffffff;
}

.player-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #05070a;
    contain: paint;
    isolation: isolate;
}

.player-frame video,
.youtube-layer,
.youtube-layer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-frame video {
    object-fit: cover;
    pointer-events: none;
}

.is-hidden {
    display: none !important;
}

.youtube-layer {
    display: none;
    pointer-events: none;
}

.youtube-layer iframe {
    pointer-events: none;
}

.youtube-layer.is-active {
    display: block;
}

.start-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(5, 7, 10, 0.38), rgba(5, 7, 10, 0.82));
    pointer-events: none;
}

.start-overlay-action {
    display: grid;
    gap: 12px;
    place-items: center;
    padding: 18px 26px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}

.start-overlay-action:hover,
.start-overlay-action:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: 2px solid rgba(104, 224, 197, 0.72);
    outline-offset: 3px;
}

.start-overlay-action svg {
    width: clamp(58px, 7vw, 92px);
    height: clamp(58px, 7vw, 92px);
    color: #68e0c5;
    filter: drop-shadow(0 12px 28px rgba(10, 167, 163, 0.28));
}

.start-overlay-action span {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 900;
}

.premiere-countdown {
    position: absolute;
    inset: 0;
    z-index: 7;
    box-sizing: border-box;
    display: none;
    place-content: center;
    justify-items: center;
    padding: 24px;
    background: rgba(4, 9, 15, 0.84);
    color: #ffffff;
    text-align: center;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.premiere-countdown.is-active {
    display: grid;
}

.premiere-countdown span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffe0a3;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.premiere-countdown strong {
    margin: 12px 0 8px;
    color: #68e0c5;
    font-size: clamp(2.5rem, 8vw, 5.4rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.premiere-countdown b {
    max-width: 620px;
    font-size: clamp(1.15rem, 3vw, 1.8rem);
}

.premiere-countdown small {
    margin-top: 6px;
    color: #c9d7e1;
}

.premiere-countdown.is-compact {
    inset: 14px 14px auto auto;
    width: clamp(124px, 23%, 188px);
    aspect-ratio: 1;
    place-content: center;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(104, 224, 197, 0.36);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(8, 17, 28, 0.9), rgba(3, 9, 16, 0.84));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.premiere-countdown.is-compact span {
    gap: 4px;
    font-size: 0.63rem;
}

.premiere-countdown.is-compact span svg {
    width: 14px;
    height: 14px;
}

.premiere-countdown.is-compact strong {
    margin: 7px 0 5px;
    font-size: clamp(1.28rem, 3.4vw, 2.25rem);
}

.premiere-countdown.is-compact b {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.16;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.premiere-countdown.is-compact small {
    margin-top: 5px;
    font-size: 0.68rem;
    line-height: 1.2;
}

.live-bug,
.lower-third {
    position: absolute;
    z-index: 5;
}

.live-bug {
    top: 14px;
    right: 14px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.46);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

.player-alert {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 128px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: calc(100% - 156px);
    min-height: 36px;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid rgba(104, 224, 197, 0.34);
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(8, 108, 105, 0.48));
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.player-alert svg {
    flex: none;
    width: 16px;
    height: 16px;
    color: #68e0c5;
}

.player-alert span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lower-third {
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-left: 3px solid #68e0c5;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.32));
    color: #fff;
    backdrop-filter: blur(12px);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lower-third span {
    flex: none;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(215, 154, 40, 0.22);
    color: #ffe0a3;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lower-third strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0c121b;
}

.icon-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

.icon-button:hover {
    border-color: rgba(104, 224, 197, 0.62);
    color: #68e0c5;
}

.companion-panel,
.info-stack {
    display: grid;
    gap: 14px;
}

.companion-panel {
    align-content: start;
    padding: 10px;
    border: 1px solid rgba(219, 229, 238, 0.84);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 251, 0.88)),
        linear-gradient(135deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.1);
}

.now-card,
.next-card,
.premiere-companion,
.share-card,
.home-social-card,
.info-card,
.giving-card {
    padding: 20px;
}

.now-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-color: rgba(10, 167, 163, 0.34);
    background:
        radial-gradient(circle at 100% 0%, rgba(36, 87, 197, 0.12), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #effbfb 58%, #fff8ec 100%);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.11);
}

.now-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--accent), var(--gold));
}

.now-card-heading {
    display: flex;
    align-items: center;
    gap: 9px;
}

.now-live-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #e6fbfa;
    color: #086c69;
    box-shadow: 0 10px 24px rgba(10, 167, 163, 0.12);
}

.now-live-icon svg {
    width: 17px;
    height: 17px;
}

.now-card h2 {
    margin: 14px 0 7px;
    font-size: clamp(1.34rem, 2.2vw, 1.82rem);
    line-height: 1.16;
}

.now-card p {
    margin: 0;
}

.program-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
}

.program-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(10, 167, 163, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.program-meta span b {
    overflow: hidden;
    color: #526174;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.program-meta svg,
.info-card svg,
.feature-list svg {
    color: var(--accent);
}

.companion-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.next-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff, #eef8ff);
    border-color: rgba(36, 87, 197, 0.22);
}

.next-card small {
    color: var(--muted);
    font-weight: 500;
}

.premiere-companion {
    display: grid;
    gap: 7px;
    padding: 18px;
    border: 1px solid rgba(215, 154, 40, 0.28);
    border-radius: 8px;
    background: #fff8ed;
}

.premiere-companion small {
    color: #8b610f;
    font-weight: 850;
}

.live-engagement-section { background: linear-gradient(180deg, #f7fbfc, #eef7f8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-page .live-engagement-section { padding-top: clamp(28px, 4vw, 44px); }
.live-engagement-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.notification-optin { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(36, 87, 197, 0.24); border-radius: 8px; background: #fff; color: #2457c5; font-weight: 900; cursor: pointer; }
.notification-optin:hover { border-color: rgba(10, 167, 163, 0.42); color: #086c69; }
.companion-notification-action {
    width: 100%;
    min-height: 50px;
    padding: 0 13px;
    border-color: rgba(255, 126, 51, 0.42);
    background: linear-gradient(135deg, #ffcf4a, #18c5b8);
    color: #102033;
    box-shadow: 0 12px 28px rgba(255, 122, 51, 0.18), 0 8px 22px rgba(24, 197, 184, 0.13);
    font-weight: 950;
}

.companion-notification-action:hover,
.companion-notification-action:focus-visible {
    border-color: rgba(24, 197, 184, 0.72);
    color: #071725;
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(255, 122, 51, 0.22), 0 10px 26px rgba(24, 197, 184, 0.18);
}

.companion-notification-action svg {
    color: #102033;
}
.live-engagement-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr); gap: 18px; align-items: start; }
.live-engagement-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.interaction-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.live-interaction-card, .live-wall-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(33, 54, 82, 0.08); }
.live-interaction-card { display: grid; gap: 14px; align-content: start; padding: 15px; }
.live-interaction-card.interaction-card-poll { grid-column: 1 / -1; gap: 16px; padding: 18px; border-color: rgba(10, 167, 163, 0.34); background: linear-gradient(135deg, #ffffff, #effbfb 64%, #fff8ed); box-shadow: 0 20px 48px rgba(33, 54, 82, 0.1); }
.live-interaction-card.interaction-card-attendance { gap: 12px; min-height: 0; padding: 14px; box-shadow: 0 12px 30px rgba(33, 54, 82, 0.06); }
.live-interaction-card > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; align-items: center; }
.live-interaction-card.interaction-card-poll > header { grid-template-columns: 48px minmax(0, 1fr); }
.live-interaction-card header strong, .live-interaction-card header small { display: block; }
.live-interaction-card header strong { font-size: 1.02rem; line-height: 1.2; }
.live-interaction-card.interaction-card-poll header strong { font-size: clamp(1.1rem, 1.7vw, 1.32rem); }
.live-interaction-card header small { margin-top: 3px; color: var(--muted); line-height: 1.4; }
.interaction-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: #e6fbfa; color: #086c69; }
.interaction-card-poll .interaction-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #e6fbfa, #eef4ff); color: var(--blue); }
.interaction-card-attendance .interaction-icon { background: #e8fbf2; color: #1f8f5c; }
.poll-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.poll-options label { position: relative; overflow: hidden; cursor: pointer; }
.poll-options input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.poll-options span { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid rgba(36, 87, 197, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.78); color: var(--muted); font-weight: 900; text-align: center; transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.poll-options input:checked + span { border-color: rgba(10, 167, 163, 0.55); background: #e6fbfa; color: #086c69; box-shadow: inset 0 0 0 1px rgba(10, 167, 163, 0.14); }
.interaction-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.interaction-fields .full { grid-column: 1 / -1; }
.live-interaction-card label, .live-message-form label { display: grid; gap: 6px; color: var(--muted); font-size: 0.82rem; font-weight: 850; }
.live-interaction-card input:not([type="radio"]):not([type="checkbox"]), .live-message-form input:not([type="radio"]):not([type="checkbox"]), .live-message-form select, .live-message-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; color: var(--text); outline: none; }
.live-message-form input:not([type="radio"]):not([type="checkbox"]), .live-message-form select, .live-message-form textarea { font-weight: 500; }
.live-interaction-card input:not([type="radio"]):not([type="checkbox"]), .live-message-form input:not([type="radio"]):not([type="checkbox"]), .live-message-form select { height: 42px; padding: 0 10px; }
.live-message-form textarea { min-height: 84px; padding: 10px; resize: vertical; }
.interaction-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 0; border-radius: 8px; background: #152536; color: #fff; font-weight: 900; cursor: pointer; }
.interaction-card-attendance .interaction-submit { min-height: 40px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.form-honeypot input { width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; }
.live-wall-panel { overflow: hidden; border-color: rgba(215, 154, 40, 0.25); background: linear-gradient(180deg, #fffdf8, #ffffff 42%, #f7fbfb); box-shadow: 0 18px 44px rgba(33, 54, 82, 0.09); }
.live-wall-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px; border-bottom: 1px solid rgba(215, 154, 40, 0.18); background: linear-gradient(135deg, #fffaf1, #f3fbfb); }
.live-wall-panel h3 { margin: 4px 0 0; font-size: 1.3rem; }
.live-wall-status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.78rem; font-weight: 850; }
.live-message-feed { display: grid; max-height: 350px; overflow: auto; background: rgba(255, 255, 255, 0.62); }
.live-message-feed article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 15px 18px; border-bottom: 1px solid rgba(219, 229, 238, 0.78); }
.message-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #eef8ff, #e7fbf7); color: #2457c5; font-weight: 950; box-shadow: inset 0 0 0 1px rgba(36, 87, 197, 0.08); }
.live-message-feed strong, .live-message-feed small { display: block; }
.live-message-feed small { margin-top: 2px; }
.wall-message-meta,
.live-message-feed .wall-message-meta,
.public-wall-card .wall-message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wall-message-meta span {
    color: #5c7288;
    font-size: 0.78rem;
    font-weight: 850;
}

.wall-message-meta b {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e8fbfa;
    color: #08736f;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
}

.is-testimony .wall-message-meta b {
    background: #fff1d6;
    color: #9d6109;
}

.live-message-feed .wall-message-meta b {
    min-height: 19px;
    padding: 0 7px;
    font-size: 0.66rem;
}
.live-message-feed p { margin: 8px 0 0; padding-left: 10px; border-left: 3px solid rgba(10, 167, 163, 0.22); color: var(--muted); line-height: 1.5; }
.live-message-feed-empty { padding: 18px 16px; color: var(--muted); font-weight: 850; }
.live-message-more { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; gap: 6px; margin: 10px 16px 0 auto; padding: 0 12px; border: 1px solid rgba(36, 87, 197, 0.14); border-radius: 8px; background: rgba(255, 255, 255, 0.74); color: #315f99; font-size: 0.82rem; font-weight: 900; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease; }
.live-message-more:hover, .live-message-more:focus-visible { border-color: rgba(36, 87, 197, 0.28); background: #ffffff; color: var(--blue); transform: translateY(-1px); }
.live-message-more svg { width: 15px; height: 15px; }
.live-message-toggle { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 14px 16px 0; border: 1px solid rgba(10, 167, 163, 0.32); border-radius: 8px; background: linear-gradient(135deg, #ffffff, #e8fbfa); color: #086c69; font-weight: 950; cursor: pointer; box-shadow: 0 14px 28px rgba(10, 167, 163, 0.12); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.live-message-toggle:hover, .live-message-toggle:focus-visible, .live-message-toggle.is-open { border-color: rgba(10, 167, 163, 0.58); background: linear-gradient(135deg, #eafffb, #d9f7f5); box-shadow: 0 18px 34px rgba(10, 167, 163, 0.18); transform: translateY(-1px); }
.live-message-toggle svg { width: 18px; height: 18px; }
.live-message-form[hidden] { display: none; }
.live-message-form { display: grid; gap: 10px; padding: 16px; background: #f8fbfd; }
.live-message-form .check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 8px;
    background: rgba(230, 251, 250, 0.58);
    color: #415168;
    line-height: 1.35;
    cursor: pointer;
}
.live-message-form .check-row input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
    flex: 0 0 auto;
    cursor: pointer;
}
.live-message-form .check-row:focus-within {
    border-color: rgba(10, 167, 163, 0.55);
    box-shadow: 0 0 0 3px rgba(10, 167, 163, 0.1);
}
.two-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.notification-toast { position: fixed; right: 18px; bottom: 18px; z-index: 1100; display: grid; grid-template-columns: 42px minmax(0, 1fr) 34px; gap: 11px; width: min(420px, calc(100% - 28px)); padding: 14px; border: 1px solid rgba(10, 167, 163, 0.32); border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(15, 25, 38, 0.24); opacity: 0; pointer-events: none; transform: translateY(18px); transition: bottom 180ms ease, opacity 180ms ease, transform 180ms ease; }
.notification-toast.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.notification-toast-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: #e6fbfa; color: #086c69; }
.notification-toast p { margin: 3px 0 7px; color: var(--muted); line-height: 1.4; }
.notification-toast a { color: #2457c5; font-weight: 900; }
.notification-toast button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; }

.public-wall-shell {
    display: grid;
    gap: 18px;
}

.public-wall-page .page-title {
    padding: 24px 0 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 249, 248, 0.9) 58%, rgba(255, 249, 238, 0.82)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.1), rgba(215, 154, 40, 0.1));
}

.public-wall-page .section-block {
    padding: 26px 0 clamp(54px, 7vw, 86px);
}

.public-wall-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
    gap: clamp(18px, 4vw, 44px);
    align-items: center;
}

.public-wall-hero-copy h1 {
    max-width: 760px;
    margin-top: 12px;
    font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}

.public-wall-hero-copy p {
    max-width: 720px;
    font-size: 1rem;
}

.public-wall-hero-actions {
    display: grid;
    gap: 12px;
    align-self: center;
}

.public-wall-hero-actions .primary-action {
    width: 100%;
    justify-content: center;
}

.public-wall-hero-actions > .primary-action {
    border: 0;
    cursor: pointer;
}

.public-wall-hero-actions > .primary-action.is-open {
    background: #152536;
}

.public-wall-message-form {
    margin-top: 2px;
    padding: 14px;
    border: 1px solid rgba(219, 229, 238, 0.92);
    border-radius: 8px;
    background: rgba(248, 251, 253, 0.94);
}

.public-wall-message-form .primary-action {
    border: 0;
    cursor: pointer;
}

.public-wall-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.public-wall-tabs a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.06);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.public-wall-tabs a:hover,
.public-wall-tabs a:focus-visible,
.public-wall-tabs a.is-active {
    border-color: rgba(10, 167, 163, 0.36);
    background: linear-gradient(135deg, #ffffff, #effafa);
    box-shadow: 0 16px 34px rgba(33, 54, 82, 0.1);
    transform: translateY(-1px);
}

.public-wall-tabs a.is-active {
    box-shadow: 0 0 0 3px rgba(10, 167, 163, 0.11), 0 16px 34px rgba(33, 54, 82, 0.1);
}

.public-wall-tabs svg {
    width: 18px;
    height: 18px;
    color: #0aa7a3;
}

.public-wall-tabs b {
    display: inline-flex;
    min-width: 28px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef4fb;
    color: var(--blue);
    font-size: 0.78rem;
}

.public-wall-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.public-wall-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--line);
    border-left: 4px solid rgba(10, 167, 163, 0.62);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(33, 54, 82, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.public-wall-card:hover {
    border-color: rgba(10, 167, 163, 0.28);
    box-shadow: 0 20px 42px rgba(33, 54, 82, 0.12);
    transform: translateY(-1px);
}

.public-wall-card.is-testimony {
    border-left-color: rgba(215, 154, 40, 0.78);
    background: linear-gradient(135deg, #ffffff, #fffaf0);
}

.public-wall-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.public-wall-card strong,
.public-wall-card small {
    display: block;
}

.public-wall-card small {
    margin-top: 3px;
}

.public-wall-card time {
    color: var(--soft);
    font-size: 0.74rem;
    font-weight: 850;
    white-space: nowrap;
}

.public-wall-card p {
    margin: 10px 0 0;
    padding-left: 12px;
    border-left: 3px solid rgba(10, 167, 163, 0.2);
    color: var(--muted);
    line-height: 1.6;
}

.public-wall-card.is-testimony p {
    border-left-color: rgba(215, 154, 40, 0.34);
}

.public-wall-empty {
    display: grid;
    grid-column: 1 / -1;
    justify-items: start;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(33, 54, 82, 0.07);
}

.public-wall-empty svg {
    width: 38px;
    height: 38px;
    color: var(--blue);
}

.public-wall-empty span {
    color: var(--muted);
}

.public-wall-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.public-wall-pagination p {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.pagination-nav,
.pagination-pages {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pagination-control,
.pagination-page,
.pagination-ellipsis {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.pagination-page {
    min-width: 34px;
    padding: 0 9px;
}

.pagination-control svg {
    width: 16px;
    height: 16px;
}

.pagination-control:hover,
.pagination-page:hover,
.pagination-page.is-current {
    border-color: rgba(10, 167, 163, 0.42);
    background: #eafffb;
    color: #086c69;
}

.pagination-control.is-disabled {
    opacity: 0.48;
    pointer-events: none;
}

.notification-subscribe-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr) minmax(230px, 0.68fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 8px;
    background: linear-gradient(90deg, #ffffff, #effafa);
    box-shadow: 0 16px 38px rgba(33, 54, 82, 0.08);
}

.notification-subscribe-copy {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.notification-subscribe-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #e6fbfa;
    color: #086c69;
}

.notification-subscribe-copy strong,
.notification-subscribe-copy small {
    display: block;
}

.notification-subscribe-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.notification-subscribe-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.notification-subscribe-fields label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
}

.notification-subscribe-fields input {
    width: 100%;
    height: 42px;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
}

.notification-subscribe-consents {
    display: grid;
    gap: 6px;
}

.notification-subscribe-consents .check-row {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.notification-subscribe-panel > .interaction-submit {
    min-width: 142px;
    padding: 0 12px;
}

.notification-subscribe-panel > .form-feedback {
    grid-column: 1 / -1;
}

.share-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-color: rgba(215, 154, 40, 0.2);
    background: rgba(255, 255, 255, 0.78);
}

.share-card .ghost-action {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.86rem;
}

.share-card .ghost-action span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.church-command-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(219, 229, 238, 0.9);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(230, 251, 250, 0.82)),
        linear-gradient(90deg, rgba(36, 87, 197, 0.08), rgba(215, 154, 40, 0.1));
    box-shadow: 0 22px 60px rgba(33, 54, 82, 0.12);
}

.command-copy h3 {
    margin: 10px 0 8px;
    font-size: 1.55rem;
    line-height: 1.15;
}

.command-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.command-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.command-chip {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(219, 229, 238, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(33, 54, 82, 0.08);
}

.command-chip svg {
    color: var(--blue);
}

.command-chip strong {
    font-size: 1rem;
}

.command-chip span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.command-chip:hover {
    border-color: rgba(10, 167, 163, 0.45);
    background: #ffffff;
}

.home-social-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-color: rgba(10, 167, 163, 0.2);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 251, 250, 0.88)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
}

.home-social-card strong {
    color: var(--text);
    font-size: 1rem;
    font-weight: 950;
}

.home-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-social-link {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(33, 54, 82, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-social-link svg {
    width: 19px;
    height: 19px;
}

.home-social-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.home-social-link.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.32);
    background: #f0fff6;
    color: #128c45;
}

.home-social-link:hover,
.home-social-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.38);
    background: #eafafa;
    outline: none;
}

.home-social-link.is-whatsapp:hover,
.home-social-link.is-whatsapp:focus-visible {
    border-color: rgba(37, 211, 102, 0.52);
    background: #dcfce8;
}

.schedule-rail {
    display: grid;
    gap: 12px;
}

.schedule-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 36px;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.schedule-item.is-current {
    border-color: rgba(10, 167, 163, 0.44);
    background: linear-gradient(90deg, rgba(10, 167, 163, 0.12), rgba(255, 255, 255, 0.94));
}

.schedule-item time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff4d8;
    color: #f2a900;
    font-size: 1.32rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(242, 169, 0, 0.22);
}

.schedule-item-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.schedule-item span {
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.schedule-item-labels b {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4d4d, #c91f35);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 18px rgba(201, 31, 53, 0.2);
}

.schedule-item h3 {
    margin: 5px 0 3px;
    font-size: 1.15rem;
}

.schedule-item p {
    margin: 0;
    font-size: 0.95rem;
}

.schedule-item svg {
    color: var(--soft);
}

.day-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.day-tabs a {
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 850;
}

.day-tabs a.is-active,
.day-tabs a:hover {
    border-color: rgba(10, 167, 163, 0.38);
    background: #e6fbfa;
    color: #086c69;
}

.schedule-page-grid,
.prayer-grid,
.giving-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
    gap: 22px;
    align-items: start;
}

.schedule-now-sidebar {
    display: grid;
    gap: 14px;
    align-content: start;
}

.schedule-page-grid .schedule-now-card {
    position: relative;
    top: auto;
}

.schedule-now-card {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 12px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(219, 229, 238, 0.92);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(10, 167, 163, 0.1), transparent 35%),
        linear-gradient(135deg, #ffffff, #fbfdff);
    box-shadow: 0 18px 44px rgba(33, 54, 82, 0.1);
}

.schedule-now-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.schedule-now-card h2 {
    margin: 2px 0 0;
    color: var(--text);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.22;
}

.schedule-now-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.schedule-now-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8f3fb;
}

.schedule-now-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--blue));
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-showcase {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 251, 0.94) 100%),
        linear-gradient(90deg, rgba(233, 110, 97, 0.07), rgba(10, 167, 163, 0.08));
}

.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.premium-feature-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 205px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(219, 229, 238, 0.96);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(33, 54, 82, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.premium-feature-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--coral));
}

.premium-feature-card svg {
    width: 34px;
    height: 34px;
    color: var(--accent);
}

.premium-feature-card strong {
    font-size: 1.12rem;
}

.premium-feature-card span {
    color: var(--muted);
    line-height: 1.62;
}

.premium-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(10, 167, 163, 0.36);
    box-shadow: 0 24px 58px rgba(33, 54, 82, 0.14);
}

.announcement-card {
    display: grid;
    gap: 10px;
    min-height: 160px;
    padding: 18px;
}

.announcement-card strong {
    font-size: 1.1rem;
}

.announcement-card em {
    margin-top: auto;
    color: var(--coral);
}

.prayer-form {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow: hidden;
    padding: 24px;
    border-color: rgba(10, 167, 163, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 253, 253, 0.96)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.06));
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.1);
}

.prayer-grid > div:last-child {
    position: sticky;
    top: 92px;
    align-self: start;
}

.prayer-form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.prayer-form .full,
.check-row,
.prayer-form button,
.form-feedback {
    grid-column: 1 / -1;
}

.prayer-form label {
    display: grid;
    gap: 8px;
    color: #526174;
    font-size: 0.9rem;
    font-weight: 850;
}

.prayer-form input,
.prayer-form textarea {
    width: 100%;
    border: 1px solid rgba(196, 216, 229, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-weight: 500;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.prayer-form input::placeholder,
.prayer-form textarea::placeholder {
    color: #8a96a6;
    font-weight: 600;
}

.prayer-form input {
    height: 48px;
    padding: 0 14px;
}

.prayer-form textarea {
    min-height: 138px;
    resize: vertical;
    padding: 14px;
}

.prayer-form input:focus,
.prayer-form textarea:focus {
    border-color: rgba(10, 167, 163, 0.58);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(10, 167, 163, 0.1);
}

.prayer-form .check-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(10, 167, 163, 0.16);
    border-radius: 8px;
    background: rgba(230, 251, 250, 0.5);
    color: #415168;
}

.prayer-form .check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.prayer-form .primary-action {
    min-height: 48px;
    border-color: rgba(10, 167, 163, 0.38);
    background: linear-gradient(135deg, #0aa7a3, #39c9b4);
    box-shadow: 0 14px 30px rgba(10, 167, 163, 0.2);
}

.form-feedback,
.copy-feedback {
    min-height: 22px;
    margin: 0;
    color: var(--green);
    font-weight: 850;
}

.prayer-wall {
    display: grid;
    gap: 12px;
    max-height: clamp(330px, 44vh, 430px);
    overflow: auto;
    padding: 2px 6px 2px 0;
    scrollbar-color: rgba(10, 167, 163, 0.42) transparent;
    scrollbar-width: thin;
}

.prayer-wall::-webkit-scrollbar {
    width: 8px;
}

.prayer-wall::-webkit-scrollbar-track {
    background: transparent;
}

.prayer-wall::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(10, 167, 163, 0.42);
    background-clip: padding-box;
}

.prayer-wall article {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
        "avatar name"
        "avatar city"
        ". message";
    gap: 2px 12px;
    padding: 16px;
    border-color: rgba(202, 220, 232, 0.9);
    background:
        linear-gradient(135deg, #ffffff, #fbfefd),
        linear-gradient(90deg, rgba(10, 167, 163, 0.06), rgba(215, 154, 40, 0.05));
    box-shadow: 0 12px 30px rgba(33, 54, 82, 0.08);
}

.prayer-wall article::before {
    content: "";
    grid-area: avatar;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(10, 167, 163, 0.15), rgba(36, 87, 197, 0.08)),
        #eefafa;
}

.prayer-wall strong,
.prayer-wall span {
    display: block;
}

.prayer-wall strong {
    grid-area: name;
    color: var(--text);
    font-size: 1rem;
}

.prayer-wall span {
    grid-area: city;
    width: fit-content;
    margin-top: 2px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff4da;
    color: #986500;
    font-size: 0.78rem;
    font-weight: 850;
}

.prayer-wall p {
    grid-area: message;
    margin: 12px 0 0;
    padding-left: 12px;
    border-left: 3px solid rgba(10, 167, 163, 0.22);
    color: #526174;
    line-height: 1.6;
}

.prayer-wall-more {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid rgba(10, 167, 163, 0.24);
    border-radius: 8px;
    background: rgba(230, 251, 250, 0.72);
    color: #087a77;
    font-weight: 850;
    cursor: pointer;
}

.prayer-wall-more svg {
    width: 18px;
    height: 18px;
}

.prayer-page .compact-heading {
    margin-bottom: 18px;
}

.prayer-page .compact-heading h2 {
    max-width: 520px;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.04;
}

.giving-card {
    display: grid;
    gap: 18px;
    background: linear-gradient(135deg, #ffffff, #fff6e6);
}

.pix-giving-card {
    gap: 22px;
    background:
        linear-gradient(135deg, #ffffff, #fff7e8),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
}

.pix-giving-header h2 {
    margin: 10px 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.06;
}

.pix-giving-header p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.pix-giving-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.pix-giving-layout.is-key-only {
    grid-template-columns: minmax(0, 1fr);
}

.pix-qr-frame {
    display: grid;
    width: min(100%, 320px);
    aspect-ratio: 1;
    place-items: center;
    padding: 16px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(33, 54, 82, 0.12);
}

.pix-qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pix-qr-frame svg {
    width: 76px;
    height: 76px;
    color: var(--accent);
}

.pix-qr-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    color: var(--muted);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 800;
}

.pix-copy-panel {
    display: grid;
    min-width: 0;
}

.pix-key-card {
    display: grid;
    min-width: 0;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.08);
}

.pix-key-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.pix-key-heading > .pix-key-label {
    color: #8a5a0f;
    font-size: 0.84rem;
    font-weight: 950;
    letter-spacing: 0.01em;
}

.pix-key-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(36, 87, 197, 0.2);
    border-radius: 999px;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(36, 87, 197, 0.09), rgba(10, 167, 163, 0.08));
    box-shadow: 0 6px 16px rgba(36, 87, 197, 0.08);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.pix-key-type-badge svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--blue);
}

.main-giving strong {
    overflow-wrap: anywhere;
    color: var(--blue);
    font-size: clamp(1.65rem, 3.6vw, 3rem);
}

.pix-key-display {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.pix-key-display > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--accent);
}

.pix-key-display > .pix-key-value {
    display: block;
    min-width: 0;
    max-width: 100%;
    font-size: 1.55rem;
    line-height: 1.28;
    overflow-x: auto;
    overflow-y: hidden;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
    user-select: all;
    scrollbar-width: thin;
}

.pix-key-display > .pix-key-value.is-long {
    font-size: 1.28rem;
    line-height: 1.34;
}

.pix-key-display > .pix-key-value.is-very-long {
    font-size: 1.08rem;
    line-height: 1.4;
}

.pix-key-receiver {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.84rem;
}

.pix-key-receiver svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: var(--accent);
}

.pix-key-receiver strong {
    color: var(--ink);
    font-size: inherit;
}

.pix-copy-panel small {
    color: var(--muted);
    line-height: 1.6;
}

.pix-key-card .copy-feedback {
    margin: 0;
}

.pix-key-card .copy-feedback:empty {
    display: none;
}

.pix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.pix-key-card .pix-actions .primary-action {
    position: relative;
    min-height: 50px;
    padding: 0 21px;
    border-color: rgba(4, 123, 125, 0.36);
    border-radius: 11px;
    background: linear-gradient(135deg, #087f82 0%, #0aa7a3 48%, #3cccad 100%);
    box-shadow:
        0 14px 28px rgba(10, 167, 163, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pix-key-card .pix-actions .primary-action svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.3;
}

.pix-key-card .pix-actions .primary-action:focus-visible {
    outline: 3px solid rgba(36, 87, 197, 0.22);
    outline-offset: 3px;
}

.pix-key-card .pix-actions .primary-action:active {
    transform: translateY(1px);
    box-shadow: 0 8px 18px rgba(10, 167, 163, 0.22);
}

@media (hover: hover) {
    .pix-key-card .pix-actions .primary-action:hover {
        transform: translateY(-2px);
        filter: saturate(1.08) brightness(1.03);
        box-shadow:
            0 18px 34px rgba(10, 167, 163, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.contribution-security {
    border-color: rgba(10, 167, 163, 0.28);
    background: linear-gradient(135deg, #ffffff, #eefbfa);
}

.info-card {
    display: grid;
    gap: 10px;
}

.info-card strong {
    font-size: 1.08rem;
}

.info-card p {
    margin: 0;
}

.pix-confirm-card {
    align-content: start;
    border-color: rgba(36, 87, 197, 0.18);
    background: linear-gradient(135deg, #ffffff, #edf4ff);
}

.pix-confirm-card label {
    display: grid;
    gap: 6px;
}

.pix-confirm-card label span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.pix-confirm-card input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.pix-confirm-card .secondary-action {
    width: 100%;
    justify-content: center;
}

.member-title-card,
.member-auth-card,
.member-dashboard-hero,
.member-quick-card,
.member-spotlight-card,
.member-stat-grid article,
.member-course-card,
.member-content-card,
.member-panel,
.certificate-sheet,
.certificate-not-found {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.member-title-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    background:
        linear-gradient(135deg, #ffffff, #eafafa),
        linear-gradient(90deg, rgba(36, 87, 197, 0.06), rgba(215, 154, 40, 0.08));
}

.member-title-card svg {
    width: 44px;
    height: 44px;
    color: var(--blue);
}

.member-title-card strong {
    font-size: 1.5rem;
}

.member-title-card span,
.member-auth-card small,
.member-course-card p,
.member-content-card p,
.member-content-body,
.member-empty,
.member-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.member-wow-title {
    padding: 18px 0;
}

.member-wow-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
    gap: 16px;
    align-items: center;
}

.member-wow-copy {
    min-width: 0;
}

.member-wow-copy h1 {
    max-width: 760px;
    margin: 7px 0 8px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 0.98;
}

.member-wow-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.member-wow-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 132px;
    padding: 16px;
    box-shadow: 0 18px 44px rgba(33, 54, 82, 0.12);
}

.member-wow-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(199, 137, 27, 0.24);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff6e6, #eafafa);
    color: var(--gold);
}

.member-wow-card-icon svg {
    width: 22px;
    height: 22px;
}

.member-wow-card strong {
    display: block;
    margin: 0 0 5px;
    font-size: 1.05rem;
    line-height: 1.18;
}

.member-wow-card span {
    line-height: 1.45;
}

.member-wow-card .secondary-action {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 38px;
    padding: 0 12px;
}

.member-wow-card .secondary-action svg {
    width: 17px;
    height: 17px;
}

.member-notice {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 8px;
    background: #eafafa;
    color: #086c69;
    font-weight: 900;
}

.member-notice.error {
    border-color: rgba(220, 63, 100, 0.25);
    background: #fff1f4;
    color: var(--danger);
}

.member-registration-email-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    border-color: rgba(234, 132, 14, 0.38);
    background: #fff7e6;
    color: #a54f00;
}

.member-registration-email-notice svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.member-notice.danger,
.member-admin-preview-notice {
    border-color: rgba(220, 63, 100, 0.32);
    background: #fff0f3;
    color: #a52443;
}

.member-admin-preview-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(220, 63, 100, 0.12);
    font-weight: 950;
}

.member-admin-preview-notice svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--danger);
}

.member-auth-section {
    padding: 10px 0 58px;
}

.member-auth-grid {
    display: grid;
    grid-template-columns: 260px minmax(380px, 560px);
    justify-content: center;
    gap: 12px;
    align-items: start;
}

.member-auth-intro {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 12px;
    min-height: auto;
    padding: 30px 22px;
    overflow: hidden;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 52px rgba(33, 54, 82, 0.1);
    text-align: center;
}

.member-auth-intro::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-auth-intro-icon {
    width: 56px;
    height: 56px;
    margin-top: 4px;
}

.member-auth-intro-icon svg {
    width: 27px;
    height: 27px;
}

.member-auth-intro h2 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.2;
}

.member-auth-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.member-auth-benefits {
    display: grid;
    justify-items: start;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.member-auth-benefits span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 900;
}

.member-auth-benefits svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--green);
}

.member-auth-forms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}

.member-auth-card {
    position: relative;
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 56px rgba(33, 54, 82, 0.12);
}

.member-auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #3fd7e8, #2ecf78, #ffd98b);
}

.member-login-card .primary-action {
    border-color: transparent;
    background: linear-gradient(90deg, #47d6e7, #24c871);
    box-shadow: 0 16px 34px rgba(36, 200, 113, 0.24);
}

.member-auth-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-register-summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    border-radius: 8px;
    transition: transform 160ms ease, background 160ms ease;
}

.member-register-summary::-webkit-details-marker {
    display: none;
}

.member-register-summary:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.16);
    outline-offset: 5px;
}

.member-register-disclosure:not([open]) .member-register-summary:hover {
    transform: translateY(-1px);
    background: rgba(10, 167, 163, 0.04);
}

.member-register-click-hint {
    display: block;
    margin-top: 5px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 950;
}

.member-register-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(10, 167, 163, 0.24);
    border-radius: 999px;
    background: #eafafa;
    color: #087875;
    font-size: 0.72rem;
    font-weight: 950;
    white-space: nowrap;
}

.member-register-form {
    display: grid;
    gap: 14px;
}

.member-register-chevron {
    width: 15px;
    height: 15px;
    color: currentColor;
    transition: transform 160ms ease, color 160ms ease;
}

.member-register-disclosure[open] .member-register-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.member-register-disclosure:not([open]) {
    cursor: pointer;
}

.member-register-disclosure:not([open]) .member-register-summary h2 {
    margin-bottom: 0;
}

.member-auth-card-header > span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 8px;
    background: #eafafa;
    color: var(--accent);
}

.member-auth-card-header > .member-register-action {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    height: 34px;
    min-height: 34px;
    margin-left: auto;
    padding: 0 12px;
    gap: 7px;
    border-radius: 999px;
    background: #eafafa;
    color: #087875;
    white-space: nowrap;
}

.member-auth-card-header > .member-register-action > span {
    color: #075985;
    font-size: 0.78rem;
}

.member-auth-card-header > .member-register-action .member-register-chevron {
    width: 15px;
    height: 15px;
}

.member-auth-card-header svg {
    width: 21px;
    height: 21px;
}

.member-auth-card h2,
.member-dashboard-hero h2,
.member-section-heading h2,
.member-content-card header strong,
.member-panel h2 {
    margin: 6px 0;
    color: var(--text);
    line-height: 1.05;
}

.member-auth-card label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.member-auth-card input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
    color: var(--text);
    outline: none;
}

.member-input-wrap {
    min-height: 46px;
}

.member-input-wrap {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.member-password-wrap {
    grid-template-columns: 42px minmax(0, 1fr) auto;
}

.member-auth-theme .member-input-wrap {
    border-color: #d4e2f6;
    background: #eef5ff;
}

.member-input-wrap:focus-within {
    border-color: rgba(10, 167, 163, 0.54);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 167, 163, 0.1);
}

.member-input-wrap > svg {
    justify-self: center;
    width: 18px;
    height: 18px;
    color: var(--soft);
}

.member-input-wrap input {
    min-height: 44px;
    padding: 0 13px 0 0;
    border: 0;
    background: transparent;
}

.member-password-toggle {
    align-self: stretch;
    min-width: 86px;
    padding: 0 13px;
    border: 0;
    border-left: 1px solid rgba(135, 146, 162, 0.22);
    background: transparent;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    cursor: pointer;
}

.member-password-toggle:hover,
.member-password-toggle:focus-visible {
    background: rgba(36, 87, 197, 0.07);
    color: #1642a0;
    outline: none;
}

.member-login-help {
    display: flex;
    justify-content: flex-end;
    margin-top: -3px;
}

.member-login-help a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #174ca8;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.member-login-help a:hover,
.member-login-help a:focus-visible {
    color: #087875;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.member-login-help svg {
    width: 16px;
    height: 16px;
}

.member-recovery-layout {
    display: grid;
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
}

.member-recovery-card {
    width: 100%;
}

.member-recovery-card .primary-action,
.member-recovery-card .secondary-action {
    width: 100%;
}

.member-recovery-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 10px;
    background: rgba(234, 250, 250, 0.72);
    color: #436079;
    font-size: 0.84rem;
    line-height: 1.55;
}

.member-recovery-note svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: #087875;
}

.member-recovery-actions {
    display: grid;
    gap: 10px;
}

.member-recovery-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    color: #174ca8;
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.member-recovery-back:hover,
.member-recovery-back:focus-visible {
    color: #087875;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.member-recovery-back svg {
    width: 16px;
    height: 16px;
}

.member-auth-theme .member-auth-card-header {
    justify-content: center;
    text-align: left;
}

.member-auth-theme .member-auth-card-header > span {
    border-color: rgba(36, 87, 197, 0.16);
    background: #eff8ff;
    color: var(--accent);
}

.member-login-card .primary-action,
.member-register-form .secondary-action {
    width: 100%;
}

.member-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.member-form-grid .full {
    grid-column: 1 / -1;
}

.member-dashboard-block {
    padding-top: 16px;
}

.member-dashboard-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.58fr);
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 250, 250, 0.96) 58%, rgba(239, 246, 255, 0.74) 100%),
        url("../img/hero-church-broadcast-light.png") right center / 46% auto no-repeat,
        linear-gradient(135deg, #ffffff, #eefbfa);
}

.member-dashboard-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold), var(--coral));
}

.member-dashboard-copy,
.member-journey-summary {
    position: relative;
    z-index: 1;
}

.member-dashboard-copy {
    display: grid;
    align-content: center;
    gap: 12px;
}

.member-dashboard-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.member-panel-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(8, 155, 152, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #087a77;
    font-size: 0.76rem;
    font-weight: 950;
}

.member-panel-pill svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.member-dashboard-copy h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.18rem);
    line-height: 1.02;
}

.member-name-highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.08em;
    color: #087a77;
    text-shadow: 0 10px 28px rgba(8, 155, 152, 0.18);
}

.member-name-highlight::after {
    content: "";
    position: absolute;
    right: 0.02em;
    bottom: 0.08em;
    left: 0.02em;
    z-index: -1;
    height: 0.28em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(85, 214, 182, 0.38), rgba(215, 154, 40, 0.28));
}

.member-dashboard-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.member-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.member-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(8, 155, 152, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #34536b;
    font-size: 0.8rem;
    font-weight: 900;
}

.member-hero-badges svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.member-email-delivery-info {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    max-width: 720px;
    margin-top: 2px;
    padding: 10px 12px;
    border: 1px solid rgba(36, 87, 197, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #4c6278;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.5;
    box-shadow: 0 8px 22px rgba(36, 87, 197, 0.06);
}

.member-email-delivery-info > span:first-child {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 9px;
    background: linear-gradient(145deg, #e8fafa, #ffffff);
    color: var(--accent);
}

.member-email-delivery-info svg {
    width: 16px;
    height: 16px;
}

.member-hero-badges .member-badge-label {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 34px;
    margin-left: 2px;
    color: #7f5a0f;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.member-hero-badges .member-status-badge {
    gap: 8px;
    min-height: 38px;
    padding: 0 13px 0 7px;
    border-color: rgba(199, 137, 27, 0.38);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 229, 0.96)),
        linear-gradient(90deg, rgba(199, 137, 27, 0.16), rgba(233, 110, 97, 0.08));
    color: #845607;
    box-shadow: 0 12px 28px rgba(199, 137, 27, 0.16);
}

.member-hero-badges .member-status-badge svg {
    width: 26px;
    height: 26px;
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c7891b, #f0b84a);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(199, 137, 27, 0.24);
}

.member-journey-summary {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding-left: 22px;
    border-left: 1px solid rgba(93, 122, 150, 0.18);
}

.member-journey-summary > div:last-child {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.member-journey-summary strong,
.member-quick-card strong,
.member-spotlight-card strong {
    color: var(--text);
    line-height: 1.2;
}

.member-journey-summary span,
.member-quick-card small,
.member-spotlight-card p,
.member-mini-progress small {
    color: var(--muted);
    line-height: 1.55;
}

.member-journey-summary .primary-action {
    justify-self: start;
    min-height: 40px;
}

.member-journey-ring {
    --journey: 0;
    position: relative;
    display: grid;
    width: 106px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--accent) calc(var(--journey) * 1%), rgba(200, 219, 231, 0.72) 0);
    color: var(--blue);
}

.member-journey-ring::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: inherit;
    background: #f8fcff;
    box-shadow: inset 0 0 0 1px rgba(200, 219, 231, 0.82);
}

.member-journey-ring span,
.member-journey-ring small {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
}

.member-journey-ring span {
    align-self: end;
    font-size: 1.52rem;
    font-weight: 950;
    line-height: 1;
}

.member-journey-ring small {
    align-self: start;
    max-width: 64px;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.member-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

.member-quick-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.member-quick-card:hover,
.member-quick-card:focus-visible {
    border-color: rgba(8, 155, 152, 0.4);
    box-shadow: 0 20px 48px rgba(33, 54, 82, 0.13);
    outline: none;
    transform: translateY(-2px);
}

.member-quick-icon,
.member-spotlight-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(8, 155, 152, 0.18);
    border-radius: 8px;
    background: #eafafa;
    color: var(--accent);
}

.member-quick-icon svg,
.member-spotlight-icon svg {
    width: 20px;
    height: 20px;
}

.member-quick-card span:last-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.member-quick-card small {
    font-size: 0.78rem;
    font-weight: 850;
}

.member-spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 14px;
    margin: 0 0 18px;
}

.member-spotlight-card {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 240px;
    padding: 18px;
}

.member-spotlight-card header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.member-spotlight-card h3 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.18;
}

.member-spotlight-card > strong {
    font-size: 1.28rem;
}

.member-spotlight-card p {
    margin: 0;
}

.member-spotlight-card .primary-action,
.member-spotlight-card .secondary-action {
    align-self: end;
    justify-self: start;
    margin-top: auto;
}

.member-spotlight-primary {
    border-color: rgba(8, 155, 152, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(234, 250, 250, 0.96)),
        linear-gradient(90deg, rgba(8, 155, 152, 0.1), rgba(36, 95, 189, 0.08));
}

.member-spotlight-icon.is-gold {
    border-color: rgba(199, 137, 27, 0.22);
    background: #fff6e6;
    color: var(--gold);
}

.member-spotlight-icon.is-coral {
    border-color: rgba(216, 102, 92, 0.22);
    background: #fff3f1;
    color: var(--coral);
}

.member-mini-progress {
    display: grid;
    gap: 7px;
}

.member-mini-progress > span {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfeaf1;
}

.member-mini-progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.member-stat-grid article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 5px 12px;
    align-items: start;
    min-height: 118px;
    padding: 18px;
}

.member-stat-icon {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 8px;
    background: #edf5fb;
    color: var(--blue);
}

.member-stat-grid strong {
    display: block;
    grid-column: 2;
    color: var(--blue);
    font-size: 2.35rem;
    line-height: 1;
}

.member-stat-grid span {
    display: block;
    grid-column: 2;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 900;
}

.member-dashboard-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 32px;
}

.member-section-heading {
    margin: 28px 0 16px;
}

.member-individual-preview-block {
    position: relative;
    overflow: hidden;
    margin: 28px 0 32px;
    padding: clamp(18px, 2.4vw, 28px);
    border: 1px solid rgba(116, 151, 184, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.09), transparent 34%),
        radial-gradient(circle at 0 100%, rgba(10, 167, 163, 0.08), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 252, 0.96));
    box-shadow:
        0 22px 52px rgba(33, 54, 82, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    isolation: isolate;
}

.member-individual-preview-block::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-individual-preview-block::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(36, 87, 197, 0.05);
    filter: blur(2px);
    pointer-events: none;
}

.member-individual-preview-block > * {
    position: relative;
    z-index: 2;
}

.member-individual-preview-block .member-section-heading {
    margin: 0 0 20px;
}

.member-individual-preview-block .member-individual-grid {
    margin-bottom: 18px;
}

.member-individual-preview-block .member-individual-more {
    margin: 0;
}

.member-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.member-courses-page-block {
    padding-top: 30px;
}

.member-courses-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(250, 253, 255, 0.98), rgba(235, 247, 248, 0.95)),
        url("../img/hero-church-broadcast-light.png") right center / 34% auto no-repeat;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.1);
}

.member-courses-hero.member-individual-contents-hero {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 540px);
    align-items: center;
}

.member-courses-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
}

.member-individual-contents-hero h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.15rem);
    white-space: nowrap;
}

.member-courses-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.member-courses-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    gap: 8px;
    min-width: min(460px, 100%);
}

.member-courses-summary span {
    display: grid;
    gap: 3px;
    min-height: 74px;
    align-content: center;
    padding: 10px;
    border: 1px solid rgba(93, 122, 150, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.member-courses-summary strong {
    color: var(--blue);
    font-size: 1.5rem;
    line-height: 1;
}

.member-courses-summary small {
    color: var(--soft);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-courses-summary.member-individual-contents-summary {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    justify-self: end;
    width: min(100%, 540px);
}

.member-courses-page-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.member-courses-page-grid .member-course-card {
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
    gap: 22px;
    align-items: start;
    padding: 22px;
}

.member-course-overview {
    display: grid;
    gap: 14px;
    min-width: 0;
    align-content: start;
    padding-right: 22px;
    border-right: 1px solid rgba(93, 122, 150, 0.16);
}

.member-course-overview > p {
    margin: 0;
}

.member-course-completion-summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(33, 141, 99, 0.24);
    border-radius: 11px;
    background:
        radial-gradient(circle at 100% 0, rgba(215, 154, 40, 0.12), transparent 38%),
        linear-gradient(135deg, #f4fcf7, #ecf9f2);
    box-shadow: 0 8px 20px rgba(33, 141, 99, 0.08);
}

.member-course-completion-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(33, 141, 99, 0.24);
    border-radius: 10px;
    background: #ffffff;
    color: var(--green);
}

.member-course-completion-icon svg {
    width: 21px;
    height: 21px;
}

.member-course-completion-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.member-course-completion-copy strong {
    color: #16734f;
    font-size: 0.84rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-course-completion-copy span {
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 900;
}

.member-course-completion-copy small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.4;
}

.member-course-completion-summary .member-course-certificate-link,
.member-course-completion-summary .member-complete-chip {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    justify-content: center;
}

.member-course-lessons-column {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.member-course-lessons-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(93, 122, 150, 0.14);
}

.member-course-lessons-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 950;
}

.member-course-lessons-title span svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.member-course-lessons-title small {
    color: var(--soft);
    font-size: 0.72rem;
    font-weight: 850;
}

.member-courses-page-grid .member-course-actions {
    align-self: center;
}

@media (max-width: 900px) {
    .member-courses-page-grid .member-course-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .member-course-overview {
        padding-right: 0;
        padding-bottom: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(93, 122, 150, 0.16);
    }

}

.member-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.member-contents-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.member-course-card {
    position: relative;
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 20px;
}

.member-course-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #dce8ef;
}

.member-course-card.is-active::before {
    background: linear-gradient(90deg, var(--accent), var(--blue));
}

.member-course-card.is-complete::before {
    background: linear-gradient(90deg, var(--green), var(--gold));
}

.member-content-card {
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 18px;
}

.member-contents-page-grid .member-content-card {
    position: relative;
    display: flex;
    align-content: initial;
    gap: 0;
    min-height: 0;
    flex-direction: column;
    padding: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(33, 54, 82, 0.1);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-content-card.is-featured {
    border-color: rgba(215, 154, 40, 0.7);
    background:
        linear-gradient(135deg, #ffffff, #fff8e8),
        linear-gradient(90deg, rgba(215, 154, 40, 0.12), rgba(10, 167, 163, 0.08));
    box-shadow:
        0 18px 38px rgba(142, 101, 28, 0.16),
        inset 0 0 0 1px rgba(215, 154, 40, 0.14);
}

.member-individual-card.is-important {
    border-color: rgba(36, 95, 189, 0.42);
    background:
        linear-gradient(135deg, #ffffff, #f2f7ff),
        linear-gradient(90deg, rgba(36, 95, 189, 0.1), rgba(10, 167, 163, 0.08));
    box-shadow:
        0 18px 42px rgba(36, 95, 189, 0.14),
        inset 0 0 0 1px rgba(36, 95, 189, 0.12);
}

.member-individual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.member-individual-more {
    display: flex;
    justify-content: flex-end;
    margin: -10px 0 32px;
}

.member-individual-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.member-individual-pagination p {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.member-individual-card {
    position: relative;
    align-content: start;
    gap: 16px;
    min-height: 100%;
    padding: 22px;
    border-color: rgba(116, 151, 184, 0.28);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.08), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(33, 54, 82, 0.09);
    isolation: isolate;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-individual-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue));
}

.member-individual-card.is-important::before {
    background: linear-gradient(90deg, var(--gold), #f2bb55, var(--blue));
}

.member-individual-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.member-individual-icon {
    display: grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 14px;
    background: linear-gradient(145deg, #eaf2ff, #f5f9ff);
    color: var(--blue);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.member-individual-icon svg {
    width: 21px;
    height: 21px;
}

.member-individual-card.is-important .member-individual-icon {
    border-color: rgba(215, 154, 40, 0.24);
    background: linear-gradient(145deg, #fff2d5, #fffaf0);
    color: #a96d08;
}

.member-individual-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.member-private-badge,
.member-individual-card .member-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    min-height: 29px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 950;
    letter-spacing: 0.025em;
    line-height: 1;
    text-transform: uppercase;
}

.member-private-badge {
    border: 1px solid rgba(10, 167, 163, 0.18);
    background: #ebf9f8;
    color: #087875;
}

.member-private-badge svg,
.member-individual-card .member-featured-badge svg {
    width: 13px;
    height: 13px;
}

.member-individual-card .member-featured-badge {
    min-height: 29px;
    padding: 0 9px;
    border-color: rgba(215, 154, 40, 0.28);
    background: #fff3d9;
    color: #936006;
    font-size: 0.69rem;
}

.member-individual-header {
    display: grid;
    gap: 6px;
}

.member-individual-card .member-individual-header > span {
    color: var(--blue);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
}

.member-individual-card .member-individual-header strong {
    margin: 0;
    font-size: clamp(1.16rem, 2vw, 1.38rem);
    line-height: 1.2;
}

.member-individual-card .member-individual-description {
    margin: 0;
    color: #5a718a;
    font-size: 0.94rem;
    line-height: 1.62;
}

.member-content-cover {
    width: calc(100% + 36px);
    height: 150px;
    margin: -18px -18px 2px;
    object-fit: cover;
    background: #eaf1f7;
}

.member-contents-page-grid .member-content-cover {
    width: 100%;
    height: 100%;
    margin: 0;
}

.member-content-cover-wrap {
    position: relative;
    flex: 0 0 auto;
    height: 190px;
    overflow: hidden;
    border-bottom: 1px solid rgba(116, 151, 184, 0.16);
    background: #e8f0f6;
}

.member-content-cover-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(19, 40, 68, 0.2));
    pointer-events: none;
}

.member-content-cover-wrap.is-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 80% 12%, rgba(36, 87, 197, 0.2), transparent 30%),
        linear-gradient(135deg, #e9f7f6, #e8effc);
}

.member-content-cover-placeholder {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--blue);
    box-shadow: 0 14px 30px rgba(36, 87, 197, 0.12);
}

.member-content-cover-placeholder svg {
    width: 30px;
    height: 30px;
}

.member-contents-page-grid .member-content-cover-wrap .member-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    min-height: 30px;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 247, 226, 0.94);
    box-shadow: 0 8px 18px rgba(80, 52, 10, 0.14);
    backdrop-filter: blur(8px);
}

.member-content-card-inner {
    display: flex;
    flex: 1;
    gap: 11px;
    padding: 17px;
    flex-direction: column;
}

.member-content-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.member-content-type {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 999px;
    background: #edfafa;
    color: #087875;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-featured-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 7px;
    width: fit-content;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(215, 154, 40, 0.34);
    border-radius: 999px;
    background: #fff4dc;
    color: #9a6508;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-contents-page-grid .member-featured-badge {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.68rem;
}

.member-contents-page-grid .member-featured-badge svg {
    width: 13px;
    height: 13px;
}

.member-featured-badge svg {
    width: 15px;
    height: 15px;
}

.member-course-card header {
    display: grid;
    gap: 7px;
}

.member-course-card header > span,
.member-content-card header > span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-course-card header strong,
.member-content-card header strong {
    font-size: 1.35rem;
    line-height: 1.16;
}

.member-contents-page-grid .member-content-card header {
    display: grid;
    gap: 3px;
}

.member-contents-page-grid .member-content-card header strong {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.25;
}

.member-contents-page-grid .member-content-card header small {
    font-size: 0.76rem;
}

.member-content-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #71869a;
    font-size: 0.74rem;
    font-weight: 850;
    white-space: nowrap;
}

.member-content-category svg {
    width: 13px;
    height: 13px;
}

.member-course-card header small,
.member-content-card header small {
    color: var(--soft);
    font-weight: 850;
}

.member-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 31px;
    padding: 0 9px;
    border: 1px solid rgba(93, 122, 150, 0.16);
    border-radius: 999px;
    background: #f4f8fb;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.member-course-meta span.is-started {
    border-color: rgba(10, 167, 163, 0.24);
    background: #eafbfa;
    color: #087875;
}

.member-course-meta span.is-completed-date {
    border-color: rgba(33, 141, 99, 0.22);
    background: #ecfbf3;
    color: var(--green);
}

.member-course-meta svg {
    width: 14px;
    height: 14px;
    color: var(--blue);
}

.member-content-card .secondary-action {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.member-content-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.member-content-actions .secondary-action {
    margin-top: 0;
}

.member-content-actions .member-content-download-action {
    border-color: rgba(10, 167, 163, 0.28);
    background: #e8fbf8;
    color: #087f7c;
}

.member-individual-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: auto;
}

.member-individual-actions .secondary-action {
    min-height: 46px;
    margin-top: 0;
    border-color: rgba(36, 87, 197, 0.18);
    border-radius: 11px;
    background: #eef4ff;
    color: #204fae;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.member-individual-actions .secondary-action svg,
.member-individual-ack .ghost-action svg {
    width: 18px;
    height: 18px;
}

.member-individual-ack {
    margin: 0;
}

.member-individual-ack .ghost-action {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-color: #ad4905;
    border-radius: 11px;
    background: linear-gradient(135deg, #d96d0b, #b94f06);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(185, 79, 6, 0.2);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.member-read-confirmed {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(33, 141, 99, 0.22);
    border-radius: 999px;
    background: #ecfbf3;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 950;
}

.member-read-confirmed svg {
    width: 16px;
    height: 16px;
}

.member-content-body {
    max-height: 210px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfd;
}

.member-individual-card .member-content-body {
    max-height: 230px;
    padding: 14px;
    border-color: rgba(116, 151, 184, 0.24);
    border-radius: 12px;
    background: rgba(244, 248, 252, 0.86);
    color: #536b84;
    scrollbar-color: rgba(36, 87, 197, 0.3) transparent;
    scrollbar-width: thin;
}

@media (hover: hover) {
    .member-individual-card:hover {
        border-color: rgba(36, 87, 197, 0.32);
        box-shadow: 0 20px 46px rgba(33, 54, 82, 0.14);
        transform: translateY(-3px);
    }

    .member-individual-actions .secondary-action:hover {
        border-color: rgba(36, 87, 197, 0.34);
        background: #e2edff;
        color: #173f93;
        transform: translateY(-1px);
    }

    .member-individual-ack .ghost-action:hover {
        border-color: #923d04;
        background: linear-gradient(135deg, #c85d06, #9f4003);
        color: #ffffff;
        transform: translateY(-1px);
    }
}

.member-individual-actions .secondary-action:focus-visible,
.member-individual-ack .ghost-action:focus-visible {
    outline: 3px solid rgba(217, 109, 11, 0.3);
    outline-offset: 3px;
}

.member-contents-page-grid .member-content-card-inner > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.member-contents-page-grid .member-content-body {
    max-height: none;
    overflow: visible;
    padding: 11px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.member-contents-page-grid .member-content-body p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
}

.member-article-details {
    overflow: hidden;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 11px;
    background: #f8fbff;
}

.member-article-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 13px;
    color: #204fae;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.member-article-details > summary::-webkit-details-marker {
    display: none;
}

.member-article-details > summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.member-article-details > summary svg {
    width: 17px;
    height: 17px;
}

.member-article-details > summary > svg:last-child {
    transition: transform 180ms ease;
}

.member-article-details[open] > summary {
    border-bottom: 1px solid rgba(36, 87, 197, 0.14);
    background: #eef4ff;
}

.member-article-details[open] > summary > svg:last-child {
    transform: rotate(180deg);
}

.member-article-details .member-content-body {
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.member-contents-page-grid .secondary-action {
    min-height: 42px;
    margin-top: auto;
    padding: 0 13px;
    border-color: rgba(36, 87, 197, 0.18);
    border-radius: 10px;
    background: #eef4ff;
    color: #204fae;
    font-size: 0.84rem;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.member-contents-page-grid .member-content-download-action {
    border-color: rgba(10, 167, 163, 0.3);
    background: #e8fbf8;
    color: #087f7c;
}

@media (hover: hover) {
    .member-contents-page-grid .member-content-card:hover {
        border-color: rgba(36, 87, 197, 0.28);
        box-shadow: 0 22px 46px rgba(33, 54, 82, 0.15);
        transform: translateY(-4px);
    }

    .member-contents-page-grid .member-content-card:hover .member-content-cover {
        transform: scale(1.035);
    }

    .member-contents-page-grid .secondary-action:hover {
        border-color: rgba(36, 87, 197, 0.32);
        background: #e1ecff;
        transform: translateY(-1px);
    }

    .member-contents-page-grid .member-content-download-action:hover {
        border-color: rgba(8, 127, 124, 0.42);
        background: #d8f7f3;
    }
}

.member-contents-page-grid .member-content-cover {
    transition: transform 280ms ease;
}

.member-content-body > *:first-child {
    margin-top: 0;
}

.member-content-body > *:last-child {
    margin-bottom: 0;
}

.member-content-body h1,
.member-content-body h2,
.member-content-body h3,
.member-content-body h4 {
    margin: 0.9rem 0 0.45rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.2;
}

.member-content-body p,
.member-content-body ul,
.member-content-body ol,
.member-content-body blockquote {
    margin: 0.65rem 0;
}

.member-content-body ul,
.member-content-body ol {
    padding-left: 1.2rem;
}

.member-content-body a {
    color: var(--blue);
    font-weight: 850;
}

.member-content-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.85rem auto;
    border-radius: 8px;
}

.member-content-body blockquote {
    padding-left: 0.9rem;
    border-left: 3px solid var(--accent);
    color: var(--text);
}

.member-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.member-progress > span {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2eaf1;
}

.member-progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-progress strong {
    color: var(--blue);
}

.member-course-start-form {
    margin: 0;
}

.member-start-course-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(232, 151, 43, 0.34);
    border-radius: 8px;
    background: linear-gradient(135deg, #f29b22, #f6c44f);
    color: #3c2500;
    font-size: 0.92rem;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(232, 151, 43, 0.24);
}

.member-start-course-button:hover,
.member-start-course-button:focus-visible {
    border-color: rgba(233, 110, 97, 0.36);
    background: linear-gradient(135deg, #e96e61, #f2a12a);
    color: #ffffff;
}

.member-start-course-button svg {
    width: 18px;
    height: 18px;
}

.member-lesson-list {
    display: grid;
    gap: 7px;
    counter-reset: member-lesson;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    line-height: 1.5;
}

.member-lesson-list li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    min-width: 0;
    counter-increment: member-lesson;
}

.member-lesson-main,
.member-lesson-list summary span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.member-lesson-main > span,
.member-lesson-list summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(36, 87, 197, 0.2);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff, #f2f7fc);
    color: #2f4d69;
    font-size: 0.98rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(33, 54, 82, 0.07);
}

.member-lesson-main > span::before,
.member-lesson-list summary::before {
    content: counter(member-lesson);
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #2457c5, #3978df);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 950;
    box-shadow: 0 7px 15px rgba(36, 87, 197, 0.2);
}

.member-lesson-list li.is-complete .member-lesson-main > span,
.member-lesson-list li.is-complete summary {
    border-color: rgba(33, 141, 99, 0.22);
    background: #f0fbf4;
    color: var(--text);
}

.member-lesson-list li.is-complete .member-lesson-main > span::before,
.member-lesson-list li.is-complete summary::before {
    background: linear-gradient(135deg, #218d63, #38aa7c);
    color: #ffffff;
    box-shadow: 0 7px 15px rgba(33, 141, 99, 0.18);
}

.member-lesson-list details {
    display: grid;
    min-width: 0;
}

.member-lesson-list summary {
    cursor: pointer;
    list-style: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-lesson-list summary > span {
    color: var(--text);
    font-weight: 950;
    line-height: 1.25;
}

.member-lesson-list summary::-webkit-details-marker {
    display: none;
}

.member-lesson-list summary .member-lesson-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 102px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(10, 167, 163, 0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, #edfbfa, #dcf6f4);
    color: #087c79;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 0 5px 12px rgba(10, 126, 122, 0.08);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.member-lesson-toggle svg {
    width: 15px;
    height: 15px;
    transition: transform 180ms ease;
}

.member-lesson-toggle-close {
    display: none;
}

@media (hover: hover) {
    .member-lesson-list summary:hover {
        border-color: rgba(10, 167, 163, 0.42);
        background:
            radial-gradient(circle at 100% 0, rgba(10, 167, 163, 0.1), transparent 34%),
            linear-gradient(135deg, #ffffff, #edfafa);
        box-shadow: 0 12px 24px rgba(10, 126, 122, 0.11);
        transform: translateY(-1px);
    }
}

.member-lesson-list summary:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.17);
    outline-offset: 2px;
}

.member-lesson-list details[open] summary {
    border-color: rgba(10, 167, 163, 0.5);
    background:
        radial-gradient(circle at 100% 0, rgba(10, 167, 163, 0.13), transparent 36%),
        linear-gradient(135deg, #faffff, #e9f9f8);
    color: var(--text);
    box-shadow: 0 12px 26px rgba(10, 126, 122, 0.12);
}

.member-lesson-list details[open] .member-lesson-toggle {
    border-color: rgba(36, 87, 197, 0.3);
    background: linear-gradient(135deg, #edf3ff, #dfeaff);
    color: #2457c5;
}

.member-lesson-list details[open] .member-lesson-toggle-open {
    display: none;
}

.member-lesson-list details[open] .member-lesson-toggle-close {
    display: inline;
}

.member-lesson-list details[open] .member-lesson-toggle svg {
    transform: rotate(180deg);
}

@media (max-width: 560px) {
    .member-lesson-main > span,
    .member-lesson-list summary {
        gap: 9px;
        min-height: 54px;
        padding: 9px;
    }

    .member-lesson-main > span::before,
    .member-lesson-list summary::before {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .member-lesson-list summary .member-lesson-toggle {
        min-width: 88px;
        min-height: 32px;
        padding: 0 8px;
        font-size: 0.65rem;
    }
}

.member-lesson-content {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
    margin-top: 7px;
    padding: 10px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.member-lesson-editor-area {
    display: grid;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(33, 54, 82, 0.06);
}

.member-lesson-editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(10, 167, 163, 0.16);
    background: linear-gradient(135deg, #f9fefe, #edfafa);
}

.member-lesson-editor-heading span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 950;
}

.member-lesson-editor-heading span svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.member-lesson-editor-heading small {
    color: var(--soft);
    font-size: 0.7rem;
    font-weight: 800;
}

.member-lesson-editor-scroll {
    min-width: 0;
    max-width: 100%;
    max-height: min(64vh, 620px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 18px;
}

.member-lesson-editor-scroll::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

.member-lesson-editor-scroll::-webkit-scrollbar-thumb {
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: rgba(93, 122, 150, 0.38);
}

.member-lesson-editor-scroll::-webkit-scrollbar-track {
    background: #f3f8fa;
}

.member-lesson-rich-text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.member-lesson-rich-text > * {
    max-width: 100%;
}

.member-lesson-rich-text > *:first-child {
    margin-top: 0;
}

.member-lesson-rich-text > *:last-child {
    margin-bottom: 0;
}

.member-lesson-rich-text p,
.member-lesson-rich-text ul,
.member-lesson-rich-text ol,
.member-lesson-rich-text blockquote {
    margin: 0 0 0.75em;
}

.member-lesson-rich-text ul,
.member-lesson-rich-text ol {
    padding-left: 1.4rem;
}

.member-lesson-rich-text li + li {
    margin-top: 0.3em;
}

.member-lesson-rich-text h1,
.member-lesson-rich-text h2,
.member-lesson-rich-text h3,
.member-lesson-rich-text h4,
.member-lesson-rich-text h5,
.member-lesson-rich-text h6 {
    margin: 1em 0 0.45em;
    color: var(--text);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.member-lesson-rich-text h1 {
    font-size: 1.45rem;
}

.member-lesson-rich-text h2 {
    font-size: 1.25rem;
}

.member-lesson-rich-text h3,
.member-lesson-rich-text h4,
.member-lesson-rich-text h5,
.member-lesson-rich-text h6 {
    font-size: 1.05rem;
}

.member-lesson-rich-text a {
    color: var(--blue);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.member-lesson-rich-text img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 12px auto;
    border-radius: 8px;
}

.member-lesson-rich-text blockquote {
    padding: 10px 12px;
    border-left: 3px solid rgba(10, 167, 163, 0.45);
    border-radius: 0 7px 7px 0;
    background: #f2fbfb;
}

.member-lesson-rich-text hr {
    height: 1px;
    margin: 1.15rem 0;
    border: 0;
    background: rgba(93, 122, 150, 0.2);
}

.member-lesson-rich-text pre {
    max-width: 100%;
    overflow: auto;
    margin: 0 0 0.85em;
    padding: 12px 14px;
    border: 1px solid rgba(36, 87, 197, 0.16);
    border-radius: 8px;
    background: #172433;
    color: #eef7ff;
    font: 0.82rem/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    white-space: pre;
    tab-size: 4;
}

.member-lesson-rich-text code {
    padding: 0.12em 0.35em;
    border-radius: 4px;
    background: rgba(36, 87, 197, 0.09);
    color: #234f9f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
}

.member-lesson-rich-text pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    white-space: inherit;
}

.member-lesson-rich-text table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    margin: 0 0 0.9em;
    border: 1px solid rgba(93, 122, 150, 0.2);
    border-collapse: collapse;
    border-radius: 8px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.member-lesson-rich-text th,
.member-lesson-rich-text td {
    min-width: 120px;
    padding: 9px 11px;
    border: 1px solid rgba(93, 122, 150, 0.18);
    color: var(--muted);
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
}

.member-lesson-rich-text th {
    background: #eff6fb;
    color: var(--text);
    font-weight: 900;
}

.member-lesson-rich-text tbody tr:nth-child(even) td {
    background: #f9fcfd;
}

.member-lesson-attachments {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(36, 87, 197, 0.15);
    border-radius: 10px;
    background: linear-gradient(135deg, #f7fbfe, #eef7fa);
}

.member-lesson-attachments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(93, 122, 150, 0.16);
}

.member-lesson-attachments-heading span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 950;
}

.member-lesson-attachments-heading span svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
}

.member-lesson-attachments-heading small {
    color: var(--soft);
    font-size: 0.7rem;
    font-weight: 800;
}

@media (max-width: 620px) {
    .member-lesson-editor-heading,
    .member-lesson-attachments-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .member-lesson-editor-scroll {
        max-height: min(68vh, 540px);
        padding: 14px;
    }

    .member-lesson-resource-links {
        grid-template-columns: minmax(0, 1fr);
    }
}

.member-lesson-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 9px;
    background: #101923;
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.13);
}

.member-lesson-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.member-lesson-resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
}

.member-lesson-resource-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(93, 122, 150, 0.16);
    border-radius: 8px;
    background: #f8fbfd;
    color: var(--text);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.member-lesson-resource-link > svg:first-child {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 8px;
    background: #e9f1ff;
    color: var(--blue);
}

.member-lesson-resource-link > svg:last-child {
    width: 17px;
    height: 17px;
    color: var(--soft);
}

.member-lesson-resource-link span,
.member-lesson-resource-link strong,
.member-lesson-resource-link small {
    display: block;
    min-width: 0;
}

.member-lesson-resource-link strong {
    color: var(--text);
    font-size: 0.82rem;
}

.member-lesson-resource-link small {
    margin-top: 2px;
    color: var(--soft);
    font-size: 0.68rem;
    font-weight: 750;
}

.member-lesson-resource-link.is-pdf > svg:first-child {
    background: #fff0f2;
    color: #c03a54;
}

.member-lesson-resource-link.is-download > svg:first-child {
    background: #eaf8f1;
    color: #218d63;
}

@media (hover: hover) {
    .member-lesson-resource-link:hover {
        border-color: rgba(10, 167, 163, 0.3);
        background: #f0fbfb;
        transform: translateY(-1px);
    }
}

.member-lesson-actions {
    display: flex;
    justify-content: stretch;
}

.member-lesson-actions form {
    width: 100%;
    margin: 0;
}

.member-lesson-complete-button,
.member-lesson-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 11px;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.member-lesson-complete-button {
    width: 100%;
    border: 1px solid rgba(93, 122, 150, 0.24);
    background:
        radial-gradient(circle at 100% 0, rgba(93, 122, 150, 0.1), transparent 36%),
        linear-gradient(135deg, #fafcfd, #edf2f6);
    color: #4f6579;
    box-shadow: 0 7px 16px rgba(62, 83, 105, 0.08);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-lesson-complete-button:hover,
.member-lesson-complete-button:focus-visible {
    border-color: rgba(74, 104, 134, 0.4);
    background:
        radial-gradient(circle at 100% 0, rgba(93, 122, 150, 0.14), transparent 36%),
        linear-gradient(135deg, #f7fafc, #e4ebf1);
    color: #334e67;
    box-shadow: 0 10px 21px rgba(62, 83, 105, 0.13);
    transform: translateY(-1px);
}

.member-lesson-complete-button:focus-visible {
    outline: 3px solid rgba(93, 122, 150, 0.16);
    outline-offset: 2px;
}

.member-lesson-complete-button svg {
    color: #657f97;
}

.member-lesson-complete-button svg,
.member-lesson-done svg {
    width: 15px;
    height: 15px;
}

.member-lesson-done {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(33, 141, 99, 0.22);
    background: #ecfbf3;
    color: var(--green);
}

.member-course-actions,
.certificate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.member-complete-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    color: var(--green);
    font-weight: 950;
}

.member-started-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(10, 167, 163, 0.25);
    border-radius: 999px;
    background: #eafbfa;
    color: #087875;
    font-size: 0.86rem;
    font-weight: 950;
}

.member-started-chip svg {
    width: 16px;
    height: 16px;
}

.member-portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
    align-items: start;
}

.member-panel {
    padding: 20px;
}

.member-panel header {
    margin-bottom: 14px;
}

.certificate-list {
    display: grid;
    gap: 10px;
}

.certificate-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.certificate-list svg {
    color: var(--gold);
}

.certificate-list strong,
.certificate-list small {
    display: block;
}

.certificate-list small {
    color: var(--muted);
}

.member-certificate-dashboard-summary {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(215, 154, 40, 0.24);
    border-radius: 8px;
    background: #fffaf0;
}

.member-certificate-dashboard-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    background: #fff0c9;
    color: #a66b08;
}

.member-certificate-dashboard-summary strong,
.member-certificate-dashboard-summary small {
    display: block;
}

.member-certificate-dashboard-summary strong {
    color: var(--text);
    font-size: 0.9rem;
}

.member-certificate-dashboard-summary small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.member-certificate-dashboard-link {
    width: 100%;
    min-height: 42px;
}

.member-certificates-hero {
    background:
        linear-gradient(90deg, rgba(255, 253, 247, 0.98), rgba(241, 249, 251, 0.96)),
        url("../img/hero-church-broadcast-light.png") right center / 34% auto no-repeat;
}

.member-certificates-summary {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    min-width: min(300px, 100%);
}

.member-certificates-summary span:last-child strong {
    font-size: 1rem;
    line-height: 1.15;
}

.member-certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.member-certificate-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(205, 219, 232, 0.94);
    border-radius: 10px;
    background: linear-gradient(160deg, #ffffff 0%, #fbfdff 68%, #fffaf0 100%);
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.08);
}

.member-certificate-card > header {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.member-certificate-seal {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(215, 154, 40, 0.28);
    border-radius: 10px;
    background: linear-gradient(145deg, #fff6d9, #ffebbc);
    color: #9c6509;
    box-shadow: 0 8px 18px rgba(215, 154, 40, 0.12);
}

.member-certificate-seal svg {
    width: 27px;
    height: 27px;
}

.member-certificate-card header div > span {
    color: #9c6509;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.member-certificate-card h2 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.25;
}

.member-certificate-meta {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.member-certificate-meta > span {
    display: grid;
    grid-template-columns: 21px minmax(82px, 0.72fr) minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    min-width: 0;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.94);
}

.member-certificate-meta svg {
    width: 17px;
    color: var(--blue);
}

.member-certificate-meta small {
    color: var(--soft);
    font-size: 0.69rem;
    font-weight: 850;
}

.member-certificate-meta strong {
    overflow: hidden;
    color: var(--text);
    font-size: 0.74rem;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-certificate-code {
    align-self: end;
    min-width: 0;
    padding: 11px;
    border: 1px dashed rgba(36, 87, 197, 0.26);
    border-radius: 8px;
    background: #f4f8ff;
}

.member-certificate-code span,
.member-certificate-code strong {
    display: block;
}

.member-certificate-code span {
    color: var(--soft);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.member-certificate-code strong {
    overflow-wrap: anywhere;
    margin-top: 4px;
    color: var(--blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
}

.member-certificate-card > footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.member-certificate-card > footer .primary-action,
.member-certificate-card > footer .secondary-action {
    min-width: 0;
    min-height: 41px;
    padding-inline: 10px;
    font-size: 0.78rem;
}

.member-certificate-card > footer .primary-action {
    min-height: 46px;
    border-color: rgba(27, 99, 184, 0.28);
    border-radius: 9px;
    background: linear-gradient(135deg, #2457c5 0%, #0aa7a3 100%);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px rgba(25, 91, 174, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.member-certificate-card > footer .primary-action svg {
    width: 20px;
    height: 20px;
    padding: 2px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.16);
    stroke-width: 2.4;
}

.member-certificate-card > footer .primary-action:focus-visible {
    outline: 3px solid rgba(36, 87, 197, 0.2);
    outline-offset: 2px;
}

@media (hover: hover) {
    .member-certificate-card > footer .primary-action:hover {
        filter: saturate(1.08) brightness(1.04);
        box-shadow: 0 16px 30px rgba(25, 91, 174, 0.3);
        transform: translateY(-2px);
    }
}

.member-certificates-empty {
    display: grid;
    justify-items: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 44px 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(155deg, #ffffff, #f6fafc);
    text-align: center;
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.07);
}

.member-certificates-empty > span {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 18px;
    background: #fff2ca;
    color: #a66b08;
}

.member-certificates-empty > span svg {
    width: 34px;
    height: 34px;
}

.member-certificates-empty h2 {
    margin: 18px 0 7px;
}

.member-certificates-empty p {
    max-width: 480px;
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 1120px) {
    .member-certificates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .member-certificates-grid,
    .member-certificate-card > footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .member-certificates-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .member-certificates-summary span {
        min-width: 0;
    }
}

.certificate-page .section-block {
    padding-top: clamp(20px, 3vw, 34px);
}

.certificate-actions {
    justify-content: center;
    margin-top: 16px;
}

.certificate-sheet {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(14px, 3vw, 28px);
    border: 1px solid rgba(38, 60, 82, 0.14);
    border-radius: 12px;
    background: linear-gradient(145deg, #eef3f6, #dfe8ee);
    box-shadow: 0 26px 70px rgba(33, 54, 82, 0.16);
}

.certificate-border {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 680px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px) clamp(24px, 6vw, 72px);
    border: 1px solid rgba(174, 124, 31, 0.62);
    border-radius: 6px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(10, 167, 163, 0.055), transparent 34%),
        linear-gradient(135deg, rgba(215, 154, 40, 0.09), transparent 28%),
        linear-gradient(315deg, rgba(10, 167, 163, 0.08), transparent 30%),
        #fffefb;
    color: #203246;
}

.certificate-border::before {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(10, 126, 122, 0.38);
    border-radius: 3px;
    pointer-events: none;
    content: "";
}

.certificate-border::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(38vw, 360px);
    aspect-ratio: 1;
    border: 34px double rgba(10, 126, 122, 0.025);
    border-radius: 50%;
    transform: translate(-50%, -46%);
    pointer-events: none;
    content: "";
}

.certificate-border > * {
    position: relative;
    z-index: 1;
}

.certificate-corner {
    position: absolute;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-color: rgba(174, 124, 31, 0.72);
    pointer-events: none;
}

.certificate-corner-top-left {
    top: 18px;
    left: 18px;
    border-top: 3px solid;
    border-left: 3px solid;
}

.certificate-corner-top-right {
    top: 18px;
    right: 18px;
    border-top: 3px solid;
    border-right: 3px solid;
}

.certificate-corner-bottom-left {
    bottom: 18px;
    left: 18px;
    border-bottom: 3px solid;
    border-left: 3px solid;
}

.certificate-corner-bottom-right {
    right: 18px;
    bottom: 18px;
    border-right: 3px solid;
    border-bottom: 3px solid;
}

.certificate-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 188px;
    margin-bottom: 0;
}

.certificate-brand-logo {
    display: grid;
    width: 160px;
    height: 160px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(10, 126, 122, 0.26);
    border-radius: 14px;
    background: #ffffff;
    color: #087a76;
    font-size: 1rem;
    font-weight: 950;
    box-shadow: 0 8px 22px rgba(33, 54, 82, 0.09);
}

.certificate-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.certificate-brand-copy {
    min-width: 0;
    text-align: center;
}

.certificate-brand-copy strong,
.certificate-brand-copy small {
    display: block;
}

.certificate-brand-copy strong {
    color: #203246;
    font-size: 1rem;
    line-height: 1.2;
}

.certificate-brand-copy small {
    margin-top: 3px;
    color: #708092;
    font-size: 0.76rem;
    font-weight: 750;
}

.certificate-seal {
    display: grid;
    width: 56px;
    height: 56px;
    margin-top: 4px;
    place-items: center;
    border: 1px solid rgba(174, 124, 31, 0.34);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff5d8, #f3d993);
    color: #95610a;
    box-shadow: 0 9px 20px rgba(174, 124, 31, 0.13);
}

.certificate-seal svg {
    width: 28px;
    height: 28px;
}

.certificate-kicker {
    color: #93600b;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.certificate-border h1 {
    margin: 0 0 5px;
    color: #19364c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

.certificate-border h2 {
    max-width: 880px;
    margin: 0;
    color: #176b72;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3.4vw, 2.55rem);
    line-height: 1.08;
}

.certificate-recipient {
    max-width: 920px;
    color: #17283b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.6vw, 3.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.04;
}

.certificate-border p {
    margin: 0;
    color: #66778a;
    font-size: 0.98rem;
}

.certificate-intro {
    margin-top: 4px !important;
}

.certificate-name-line {
    width: min(100%, 620px);
    height: 1px;
    margin: 2px 0 5px;
    background: linear-gradient(90deg, transparent, rgba(174, 124, 31, 0.65), transparent);
}

.certificate-statement {
    margin-top: 2px !important;
}

.certificate-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: min(100%, 650px);
    margin-top: 14px;
}

.certificate-meta > span {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 2px 8px;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid rgba(83, 111, 137, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    text-align: left;
}

.certificate-meta svg {
    grid-row: 1 / 3;
    width: 19px;
    color: #19767a;
}

.certificate-meta small,
.certificate-code small {
    color: #8794a1;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.certificate-meta b {
    overflow: hidden;
    color: #31475b;
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.certificate-footer {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
    gap: 42px;
    align-items: end;
    width: min(100%, 820px);
    margin-top: auto;
    padding-top: 18px;
}

.certificate-signature {
    display: grid;
    gap: 3px;
    text-align: center;
}

.certificate-signature > span {
    height: 1px;
    margin-bottom: 5px;
    background: #8a99a7;
}

.certificate-signature strong {
    color: #31475b;
    font-size: 0.78rem;
}

.certificate-signature small {
    color: #8794a1;
    font-size: 0.68rem;
}

.certificate-code {
    display: grid;
    gap: 3px;
    padding: 10px 13px;
    border: 1px dashed rgba(36, 87, 197, 0.28);
    border-radius: 8px;
    background: rgba(244, 248, 255, 0.86);
    text-align: left;
}

.certificate-code b {
    overflow-wrap: anywhere;
    color: #2457c5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.055em;
}

.certificate-code > span {
    color: #8794a1;
    font-size: 0.65rem;
}

.certificate-not-found {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 28px;
}

.certificate-not-found svg {
    width: 42px;
    height: 42px;
    color: var(--danger);
}

.dynamic-page-content,
.dynamic-page-locked,
.dynamic-page-empty,
.dynamic-page-preview-note {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.dynamic-page-shell {
    max-width: 1360px;
}

.dynamic-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
    gap: 22px;
    align-items: start;
}

.dynamic-page-main {
    min-width: 0;
}

.dynamic-page-layout .schedule-now-sidebar {
    position: static;
}

.dynamic-page-layout .schedule-now-card {
    position: relative;
    top: auto;
}

.dynamic-page-content {
    padding: clamp(24px, 5vw, 54px);
    color: var(--text);
    line-height: 1.75;
}

.dynamic-page-content > *:first-child {
    margin-top: 0;
}

.dynamic-page-content > *:last-child {
    margin-bottom: 0;
}

.dynamic-page-content h1,
.dynamic-page-content h2,
.dynamic-page-content h3,
.dynamic-page-content h4 {
    margin: 1.35em 0 0.55em;
    color: var(--text);
    line-height: 1.12;
}

.dynamic-page-content h1 {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.dynamic-page-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.dynamic-page-content h3 {
    font-size: 1.45rem;
}

.dynamic-page-content p,
.dynamic-page-content li {
    color: var(--muted);
}

.dynamic-page-content a {
    color: var(--blue);
    font-weight: 850;
    text-decoration: underline;
    text-decoration-color: rgba(36, 87, 197, 0.32);
}

.dynamic-page-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.16);
}

.dynamic-page-content blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: #eefbfa;
    color: var(--text);
}

.dynamic-page-content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

.dynamic-page-content th,
.dynamic-page-content td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.dynamic-page-content th {
    background: #eafafa;
    color: var(--blue);
}

.dynamic-page-content pre {
    overflow: auto;
    padding: 16px;
    border-radius: 8px;
    background: #102037;
    color: #eff5ff;
}

.dynamic-page-locked,
.dynamic-page-empty {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 28px;
}

.dynamic-page-locked svg,
.dynamic-page-empty svg {
    width: 42px;
    height: 42px;
    color: var(--blue);
}

.dynamic-page-locked h2,
.dynamic-page-empty h1 {
    margin: 0;
}

.dynamic-page-locked p,
.dynamic-page-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.dynamic-page-preview-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #8b610f;
    font-weight: 850;
    background: #fff7e8;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-list article {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.feature-list strong {
    font-size: 1.05rem;
}

.site-footer {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 82px;
    padding: 14px clamp(18px, 4vw, 54px);
    border-top: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 249, 0.92)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.08));
    color: var(--muted);
}

.site-footer-identity {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    line-height: 1.35;
}

.site-footer strong,
.site-footer span,
.site-footer small {
    display: block;
}

.site-footer small {
    margin-top: 0;
    color: var(--soft);
    font-size: 0.76rem;
    font-weight: 800;
}

.site-footer strong {
    color: var(--text);
    font-size: 0.95rem;
}

.site-footer-links {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 8px;
    margin-left: auto;
}

.site-footer nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-weight: 850;
}

.site-footer-links > nav:first-child a + a::before {
    content: "|";
    margin-right: 10px;
    color: var(--soft);
    font-weight: 800;
}

.site-footer-contact {
    font-size: 0.82rem;
}

.site-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}

.site-footer-contact a svg {
    width: 16px;
    height: 16px;
}

.site-footer-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer-social {
    width: 30px;
    height: 30px;
    justify-content: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(33, 54, 82, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-footer-social.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.32);
    background: #f0fff6;
    color: #128c45;
}

.site-footer-social span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.site-footer-social:hover,
.site-footer-social:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.38);
    background: #eafafa;
    outline: none;
}

.site-footer-social.is-whatsapp:hover,
.site-footer-social.is-whatsapp:focus-visible {
    border-color: rgba(37, 211, 102, 0.52);
    background: #dcfce8;
}

.site-footer a {
    color: var(--blue);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.38), transparent 34%),
        linear-gradient(135deg, #1d64d8, #12b8b3);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(33, 54, 82, 0.18), 0 7px 16px rgba(10, 167, 163, 0.18);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.94);
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.8;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top.is-over-footer {
    bottom: 112px;
}

.back-to-top:hover {
    box-shadow: 0 18px 38px rgba(33, 54, 82, 0.22), 0 9px 20px rgba(10, 167, 163, 0.22);
    transform: translateY(-2px) scale(1.03);
}

body.player-sticky-active:not(.tv-mode-page) .back-to-top {
    right: auto;
    left: 50%;
    transform: translate(-50%, 14px) scale(0.94);
}

body.player-sticky-active:not(.tv-mode-page) .back-to-top.is-visible {
    transform: translate(-50%, 0) scale(1);
}

body.player-sticky-active:not(.tv-mode-page) .back-to-top.is-visible:hover {
    transform: translate(-50%, -2px) scale(1.03);
}

.focus-mode .site-header,
.focus-mode .companion-panel,
.focus-mode .section-white,
.focus-mode .section-block,
.focus-mode .page-title,
.focus-mode .site-footer {
    opacity: 0.08;
    transition: opacity 180ms ease;
}

.focus-mode .site-header:hover,
.focus-mode .companion-panel:hover,
.focus-mode .watch-section {
    opacity: 1;
}

.radio-experience {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
    gap: 18px;
    align-items: stretch;
}

.radio-stream-player,
.radio-schedule-card,
.member-private-channel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.radio-stream-player {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: clamp(18px, 4vw, 38px);
    align-items: center;
    min-height: 420px;
    padding: clamp(22px, 5vw, 42px);
    background:
        linear-gradient(135deg, #ffffff 0%, #eefbfa 44%, #fff7ea 100%),
        linear-gradient(90deg, rgba(36, 87, 197, 0.08), rgba(233, 110, 97, 0.08));
}

.radio-stream-player::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--radio-accent), var(--blue), var(--gold), var(--coral));
}

.radio-disc-panel {
    display: grid;
    justify-items: center;
    gap: 22px;
}

.radio-disc {
    position: relative;
    display: grid;
    width: 190px;
    height: 190px;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.86), transparent 18%),
        conic-gradient(from 210deg, var(--radio-accent), var(--blue), var(--gold), var(--coral), var(--radio-accent));
    box-shadow:
        inset 0 0 0 16px rgba(255, 255, 255, 0.18),
        0 22px 54px rgba(33, 54, 82, 0.18);
}

.radio-disc span,
.radio-disc b {
    position: absolute;
    border-radius: 50%;
}

.radio-disc span {
    inset: 34px;
    border: 1px solid rgba(255, 255, 255, 0.44);
}

.radio-disc b {
    width: 34px;
    height: 34px;
    background: #ffffff;
    box-shadow: inset 0 0 0 9px rgba(23, 33, 47, 0.08);
}

.radio-stream-player.is-playing .radio-disc {
    animation: radioSpin 7s linear infinite;
}

.radio-equalizer {
    display: flex;
    align-items: end;
    gap: 5px;
    width: min(210px, 100%);
    height: 56px;
    padding: 10px;
    border: 1px solid rgba(219, 229, 238, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.radio-equalizer span {
    flex: 1;
    min-width: 4px;
    height: 30%;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--radio-accent), var(--blue), var(--gold));
    animation: radioBars 1.35s ease-in-out infinite;
    animation-play-state: paused;
}

.radio-equalizer span:nth-child(2n) {
    animation-delay: 0.12s;
}

.radio-equalizer span:nth-child(3n) {
    animation-delay: 0.24s;
}

.radio-stream-player.is-playing .radio-equalizer span {
    animation-play-state: running;
}

.radio-player-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.radio-player-copy h2,
.private-channel-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.02;
}

.radio-player-copy p,
.private-channel-copy p,
.private-channel-copy small,
.radio-schedule-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.radio-now-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 4px;
    max-width: 580px;
    padding: 16px 18px;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 8px;
    background: #ffffff;
}

.radio-now-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 10px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--radio-accent), var(--blue), var(--gold), var(--coral));
    background-size: 180% 100%;
}

.radio-stream-player.is-playing .radio-now-card::after {
    animation: radioSweep 2.4s linear infinite;
}

.radio-now-card span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.radio-now-card strong {
    color: var(--text);
    font-size: 1.24rem;
}

.radio-now-card small {
    color: var(--muted);
}

.radio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.radio-mute-action {
    width: 44px;
    padding: 0;
}

.radio-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 900;
}

.radio-volume input {
    width: 130px;
    accent-color: var(--radio-accent);
}

.radio-schedule-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 22px;
    background:
        linear-gradient(135deg, #ffffff, #f2fbfb),
        linear-gradient(90deg, rgba(36, 87, 197, 0.06), rgba(215, 154, 40, 0.08));
}

.radio-schedule-card h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.18;
}

.radio-schedule-list {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.radio-schedule-list span {
    display: block;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font-weight: 850;
}

.radio-title-card {
    min-height: 220px;
}

.member-private-channel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    grid-template-areas:
        "copy player"
        "playlist player";
    gap: 20px;
    align-items: start;
    margin: 0 0 30px;
    padding: 22px;
    background:
        linear-gradient(135deg, #ffffff, #eef3ff),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.08));
}

.member-private-channel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--private-accent), var(--accent), var(--gold));
}

.member-dashboard-hero + .member-private-channel {
    margin-top: 18px;
    margin-bottom: 18px;
}

.private-channel-copy {
    grid-area: copy;
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.private-channel-copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.private-channel-copy small {
    display: inline-flex;
    width: fit-content;
    padding: 10px 12px;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 850;
}

.private-player-card {
    grid-area: player;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: start;
    min-height: 320px;
    border: 1px solid rgba(13, 25, 38, 0.86);
    border-radius: 8px;
    background: #070a0f;
    box-shadow: 0 24px 56px rgba(33, 54, 82, 0.2);
}

.private-player-frame {
    position: relative;
    min-height: 320px;
    background: #05080d;
}

.private-player-card [hidden] {
    display: none !important;
}

.private-player-card video,
.private-player-card iframe,
.private-youtube-frame {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    border: 0;
    background: #05080d;
}

.private-youtube-frame iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.private-player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 320px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #05080d;
    color: #ffffff;
    cursor: pointer;
}

.private-player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(7, 10, 15, 0.02), rgba(7, 10, 15, 0.28)),
        linear-gradient(180deg, rgba(7, 10, 15, 0.08), rgba(7, 10, 15, 0.34));
}

.private-player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.private-player-cover span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(10, 167, 163, 0.9);
    box-shadow: 0 18px 42px rgba(7, 10, 15, 0.34);
    transition: transform 160ms ease, background 160ms ease;
}

.private-player-cover span svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
    fill: currentColor;
}

.private-player-cover:hover span {
    background: var(--private-accent);
    transform: scale(1.05);
}

.private-player-hint {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(7, 10, 15, 0.76);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.private-player-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(90deg, rgba(10, 167, 163, 0.16), rgba(36, 87, 197, 0.12)),
        #0b111a;
    color: #ffffff;
}

.private-player-current {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.private-player-current span,
.private-playlist-heading small,
.private-playlist-copy small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.private-player-current strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-player-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.private-player-controls button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.private-player-controls button:hover {
    border-color: rgba(10, 167, 163, 0.78);
    background: rgba(10, 167, 163, 0.22);
    transform: translateY(-1px);
}

.private-playlist-panel {
    grid-area: playlist;
    display: grid;
    gap: 10px;
    padding: 12px 14px 14px;
    overflow: hidden;
    border: 1px solid rgba(13, 25, 38, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(13, 20, 31, 0.98), rgba(16, 38, 54, 0.98)),
        #0d141f;
    box-shadow: 0 16px 34px rgba(33, 54, 82, 0.13);
}

.private-playlist-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
    font-weight: 950;
}

.private-playlist-list {
    display: grid;
    gap: 8px;
    max-height: 190px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.private-playlist-list button {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.private-playlist-list button:hover,
.private-playlist-list button.is-active {
    border-color: rgba(10, 167, 163, 0.72);
    background:
        linear-gradient(90deg, rgba(10, 167, 163, 0.24), rgba(215, 154, 40, 0.12)),
        rgba(255, 255, 255, 0.08);
}

.private-playlist-list button.is-active {
    box-shadow: inset 3px 0 0 var(--private-accent);
}

.private-playlist-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #8ff0e7;
    font-size: 0.78rem;
    font-weight: 950;
}

.private-playlist-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.private-playlist-copy strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-player-empty {
    display: grid;
    min-height: 320px;
    place-items: center;
    gap: 8px;
    padding: 24px;
    color: #ffffff;
    text-align: center;
}

.private-player-empty svg {
    width: 42px;
    height: 42px;
    color: #8ff0e7;
}

.private-player-empty strong {
    font-size: 1.15rem;
    font-weight: 950;
}

.private-player-empty span {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
}

@keyframes radioSpin {
    to { transform: rotate(360deg); }
}

@keyframes radioBars {
    0%, 100% { height: 22%; }
    45% { height: 100%; }
    70% { height: 46%; }
}

@keyframes radioSweep {
    to { background-position: 180% 0; }
}

@media (max-width: 1040px) {
    .live-engagement-grid {
        grid-template-columns: 1fr;
    }

    .public-wall-list {
        grid-template-columns: 1fr;
    }

    .notification-subscribe-panel {
        grid-template-columns: 1fr 1fr;
    }

    .notification-subscribe-fields,
    .notification-subscribe-panel > .form-feedback {
        grid-column: 1 / -1;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: 12px;
        z-index: 45;
        display: grid;
        gap: 7px;
        max-height: min(72vh, 560px);
        padding: 10px;
        overflow: auto;
        border: 1px solid rgba(191, 218, 225, 0.92);
        border-radius: 16px;
        background:
            linear-gradient(180deg, rgba(240, 251, 251, 0.98), rgba(255, 255, 255, 0.99) 24%),
            #ffffff;
        box-shadow:
            inset 0 3px 0 rgba(10, 167, 163, 0.72),
            0 24px 62px rgba(33, 54, 82, 0.22);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease;
        scrollbar-color: rgba(80, 105, 122, 0.72) transparent;
        scrollbar-width: thin;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a,
    .nav-dropdown > button {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        padding: 0 14px;
        border: 1px solid rgba(207, 222, 233, 0.94);
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff, #fbfdff);
        color: var(--text);
        font-weight: 900;
        line-height: 1.2;
        box-shadow: 0 3px 10px rgba(41, 65, 91, 0.045);
        transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .main-nav a:hover,
    .main-nav a.is-active,
    .nav-dropdown > button:hover,
    .nav-dropdown > button.is-active,
    .nav-dropdown.is-open > button {
        border-color: rgba(10, 167, 163, 0.42);
        background: linear-gradient(135deg, #e8fafa, #f4fbff);
        color: var(--blue);
        box-shadow: inset 4px 0 0 var(--accent), 0 7px 18px rgba(10, 167, 163, 0.1);
    }

    .main-nav > a:active,
    .nav-dropdown > button:active {
        transform: scale(0.992);
    }

    .nav-dropdown > button svg {
        margin-left: auto;
    }

    .nav-dropdown {
        display: grid;
        gap: 6px;
        margin: 2px 0;
        padding: 6px;
        border: 1px solid rgba(10, 167, 163, 0.18);
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(232, 250, 250, 0.8), rgba(245, 251, 255, 0.9));
    }

    .nav-dropdown > button {
        min-height: 50px;
        padding: 0 12px;
        border-color: rgba(10, 167, 163, 0.28);
        background: linear-gradient(135deg, #eefafa, #f7fcff);
        color: var(--blue);
        box-shadow: 0 5px 14px rgba(10, 167, 163, 0.08);
    }

    .nav-dropdown > button::before {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        border: 1px solid rgba(10, 167, 163, 0.22);
        border-radius: 9px;
        background:
            radial-gradient(circle at 35% 35%, #ffffff 0 2px, transparent 2.5px),
            radial-gradient(circle at 65% 35%, #ffffff 0 2px, transparent 2.5px),
            radial-gradient(circle at 35% 65%, #ffffff 0 2px, transparent 2.5px),
            radial-gradient(circle at 65% 65%, #ffffff 0 2px, transparent 2.5px),
            linear-gradient(135deg, var(--green), var(--accent));
        box-shadow: 0 5px 12px rgba(10, 167, 163, 0.18);
        content: "";
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        gap: 6px;
        margin: 0 5px 2px 18px;
        padding: 3px 0 1px 14px;
        border: 0;
        border-left: 2px solid rgba(10, 167, 163, 0.34);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
        backdrop-filter: none;
        transition: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-menu-heading {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: grid;
        transform: none;
    }

    .nav-dropdown-menu a {
        position: relative;
        min-height: 44px;
        padding: 5px 8px;
        border-color: rgba(201, 220, 231, 0.9);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.94);
        font-size: 0.84rem;
        box-shadow: 0 4px 12px rgba(41, 65, 91, 0.055);
        white-space: normal;
    }

    .nav-dropdown-menu a::before {
        position: absolute;
        top: 50%;
        left: -15px;
        width: 12px;
        border-top: 2px solid rgba(10, 167, 163, 0.34);
        content: "";
        transform: translateY(-50%);
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a:focus-visible,
    .nav-dropdown-menu a.is-current {
        border-color: rgba(10, 167, 163, 0.3);
        background: #ffffff;
        color: var(--blue);
        box-shadow: 0 7px 16px rgba(10, 167, 163, 0.1);
        transform: translateX(2px);
    }

    .header-icon-action.menu-toggle {
        border-color: rgba(10, 167, 163, 0.3);
        border-radius: 12px;
        background: linear-gradient(145deg, #ffffff, #eefafa);
        box-shadow: 0 8px 18px rgba(26, 74, 91, 0.1);
        transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .header-icon-action.menu-toggle[aria-expanded="true"] {
        border-color: transparent;
        background: linear-gradient(135deg, var(--blue), var(--accent));
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(10, 167, 163, 0.28);
        transform: rotate(2deg);
    }

    .portal-grid,
    .announcement-grid,
    .church-highlights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner,
    .home-broadcast-grid,
    .watch-grid,
    .public-wall-hero-grid,
    .radio-experience,
    .radio-stream-player,
    .member-private-channel,
    .church-command-panel,
    .split-layout,
    .title-grid,
    .schedule-page-grid,
    .dynamic-page-layout,
    .prayer-grid,
    .giving-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .dynamic-page-layout .schedule-now-card {
        position: static;
    }

    .home-watch-grid .player-stage-shell {
        order: 1;
    }

    .home-watch-grid .companion-panel {
        order: 2;
    }

    .member-private-channel {
        grid-template-areas:
            "copy"
            "player"
            "playlist";
    }

    .premium-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-broadcast-hero {
        min-height: auto;
    }

    .home-player-column .player-stage {
        transform: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-status {
        max-width: 520px;
    }

    .title-actions {
        margin-top: 0;
    }

}

@media (max-width: 680px) {
    .schedule-page .page-title {
        padding: 18px 0 20px;
    }

    .schedule-page .section-block {
        padding-top: 20px;
    }

    .dynamic-page .dynamic-page-title {
        padding: 18px 0 20px;
    }

    .dynamic-page-title-mark {
        display: none;
    }

    .dynamic-page-title h1 {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }

    .dynamic-page-title-heading {
        align-items: flex-start;
        gap: 10px;
    }

    .dynamic-page-title-heading > svg {
        width: 22px;
        height: 22px;
        margin-top: 2px;
    }

    .dynamic-page .section-block {
        padding-top: 20px;
    }

    .about-page .section-block {
        padding-top: 20px;
    }

    .about-page-title {
        padding: 18px 0 20px;
    }

    .about-page-title h1 {
        font-size: clamp(1.2rem, 7vw, 2rem);
    }

    .about-content-section {
        padding-top: 20px;
    }

    .about-content-panel {
        padding: 20px;
    }

    .about-section-text {
        font-size: 1rem;
        line-height: 1.72;
    }

    .prayer-page .page-title {
        padding: 18px 0 20px;
    }

    .prayer-page .section-block {
        padding-top: 20px;
    }

    .giving-page .page-title {
        padding: 18px 0 20px;
    }

    .giving-page .page-title h1 {
        font-size: clamp(1rem, 5.4vw, 2rem);
    }

    .giving-page .section-block {
        padding-top: 20px;
    }

    .contact-page .page-title {
        padding: 18px 0 20px;
        background-size: 58% auto;
        background-position: right bottom;
    }

    .contact-page .page-title h1 {
        white-space: normal;
    }

    .contact-page .section-block {
        padding-top: 20px;
    }

    .contact-channel-grid {
        grid-template-columns: 1fr;
    }

    .contact-card.is-address {
        grid-column: auto;
    }

    .contact-card {
        min-height: 0;
        padding: 16px;
    }

    .prayer-grid > div:last-child {
        position: static;
    }

    .prayer-form {
        padding: 18px;
    }

    .prayer-page .compact-heading h2 {
        font-size: clamp(1.9rem, 10vw, 2.6rem);
    }

    .prayer-wall {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .prayer-wall:not(.is-expanded) article:nth-of-type(n+6) {
        display: none;
    }

    .prayer-wall-more {
        display: inline-flex;
    }

    .prayer-wall.is-expanded + .prayer-wall-more {
        display: none;
    }

    .prayer-wall article {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 14px;
    }

    .prayer-wall article::before {
        width: 38px;
        height: 38px;
    }

    .public-wall-page .page-title {
        padding: 18px 0 20px;
    }

    .public-wall-page .section-block {
        padding-top: 18px;
    }

    .public-wall-hero-copy h1 {
        font-size: clamp(1.95rem, 11vw, 2.8rem);
    }

    .public-wall-card {
        padding: 14px;
    }

    .radio-stream-player,
    .member-private-channel {
        padding: 18px;
    }

    .radio-disc {
        width: 150px;
        height: 150px;
    }

    .radio-actions {
        align-items: stretch;
    }

    .radio-actions .primary-action,
    .radio-actions .secondary-action,
    .radio-volume,
    .radio-mute-action {
        width: 100%;
        justify-content: center;
    }

    .radio-volume input {
        flex: 1;
        min-width: 0;
    }

    .private-player-card,
    .private-player-frame,
    .private-player-card video,
    .private-player-card iframe,
    .private-youtube-frame,
    .private-player-cover,
    .private-player-empty {
        min-height: 220px;
    }

    .private-player-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .private-player-controls {
        width: 100%;
    }

    .private-player-controls button {
        flex: 1;
    }

    .public-wall-tabs,
    .public-wall-pagination {
        grid-template-columns: 1fr;
    }

    .public-wall-tabs {
        display: grid;
    }

    .public-wall-card,
    .public-wall-card header,
    .public-wall-pagination {
        align-items: stretch;
    }

    .public-wall-card header,
    .public-wall-pagination {
        flex-direction: column;
    }

    .public-wall-card time {
        white-space: normal;
    }

    .schedule-now-card {
        position: static;
    }

    .live-engagement-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .interaction-stack,
    .poll-options,
    .interaction-fields,
    .program-meta,
    .share-card,
    .two-inputs {
        grid-template-columns: 1fr;
    }

    .notification-subscribe-panel,
    .notification-subscribe-fields {
        grid-template-columns: 1fr;
    }

    .notification-subscribe-fields,
    .notification-subscribe-panel > .form-feedback {
        grid-column: auto;
    }

    .live-interaction-card.interaction-card-poll,
    .interaction-fields .full {
        grid-column: auto;
    }

    .site-header {
        gap: 8px;
        padding: 10px 14px;
    }

    .brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .brand-mark.has-image {
        width: 58px;
        height: 58px;
    }

    .brand {
        gap: 10px;
    }

    .brand strong {
        max-width: min(44vw, 170px);
    }

    .brand small,
    .header-action span {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }

    .header-icon-action,
    .tv-action,
    .header-action {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    .hero-inner {
        width: min(100% - 24px, 1180px);
        padding: 48px 0 38px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 13vw, 4rem);
    }

    .home-broadcast-copy h1 {
        font-size: clamp(2.2rem, 12vw, 3.8rem);
    }

    .section-shell {
        width: min(100% - 24px, 1180px);
    }

    /* Mantém player e cards de acompanhamento igualmente afastados das bordas no celular. */
    .home-page .home-watch-grid {
        padding-right: 4px;
        padding-left: 4px;
    }

    .portal-grid,
    .announcement-grid,
    .church-highlights-grid,
    .premium-feature-grid,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .church-highlights-heading {
        display: grid;
        gap: 6px;
    }

    .church-command-panel {
        padding: 18px;
    }

    .command-actions {
        grid-template-columns: 1fr;
    }

    .command-chip {
        min-height: 112px;
    }

    .portal-grid {
        margin-top: 0;
    }

    .portal-grid-below-player {
        margin-top: 18px;
    }

    .player-controls {
        justify-content: space-between;
    }

    .home-page .home-watch-grid .player-controls {
        gap: 5px;
        padding: 8px;
    }

    .home-page .home-watch-grid .icon-button {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    body.player-sticky-active:not(.tv-mode-page) .player-stage {
        right: 10px;
        bottom: 10px;
        width: min(310px, calc(100vw - 20px));
        box-shadow: 0 18px 58px rgba(8, 18, 31, 0.42), 0 0 0 4px rgba(255, 255, 255, 0.72);
    }

    body.player-sticky-active:not(.tv-mode-page) .broadcast-topline {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    body.player-sticky-active:not(.tv-mode-page) .player-controls {
        justify-content: flex-start;
        gap: 6px;
        padding: 7px;
    }

    body.player-sticky-active:not(.tv-mode-page) .icon-button {
        width: 34px;
        height: 34px;
    }

    body.player-sticky-active:not(.tv-mode-page) #live-sync,
    body.player-sticky-active:not(.tv-mode-page) #focus-toggle,
    body.player-sticky-active:not(.tv-mode-page) #cast-toggle,
    body.player-sticky-active:not(.tv-mode-page) #tv-mode-link,
    body.player-sticky-active:not(.tv-mode-page) .player-device-status {
        display: none !important;
    }

    .premiere-countdown.is-compact {
        inset: 10px 10px auto auto;
        width: clamp(112px, 34%, 138px);
        padding: 10px;
    }

    .premiere-countdown.is-compact span {
        font-size: 0.58rem;
    }

    .premiere-countdown.is-compact strong {
        margin: 6px 0 4px;
        font-size: clamp(1.12rem, 6.8vw, 1.65rem);
    }

    .premiere-countdown.is-compact b {
        font-size: 0.72rem;
    }

    .premiere-countdown.is-compact small {
        display: none;
    }

    .pix-giving-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pix-key-card {
        padding: 15px;
    }

    .pix-key-display > .pix-key-value {
        font-size: 1.3rem;
    }

    .pix-key-display > .pix-key-value.is-long {
        font-size: 0.9rem;
    }

    .pix-key-display > .pix-key-value.is-very-long {
        font-size: 0.82rem;
    }

    .pix-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pix-qr-frame {
        width: 100%;
    }

    .pix-actions .primary-action,
    .pix-actions .secondary-action {
        width: 100%;
    }

    .icon-button {
        width: 42px;
        height: 42px;
    }

    .lower-third {
        left: 10px;
        right: 10px;
        bottom: 10px;
        align-items: center;
        flex-direction: row;
        gap: 8px;
        min-height: auto;
        padding: 8px 10px;
    }

    .player-alert {
        right: 14px;
        max-width: calc(100% - 28px);
    }

    .lower-third strong {
        max-width: 100%;
        white-space: nowrap;
    }

    .schedule-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .schedule-item svg {
        display: none;
    }

    .prayer-form {
        grid-template-columns: 1fr;
    }

    .site-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        min-height: auto;
        padding: 16px;
    }

    .site-footer-links {
        justify-items: start;
        gap: 9px;
        width: 100%;
        margin-left: 0;
    }

    .site-footer nav {
        justify-content: flex-start;
        gap: 10px;
    }

    .site-footer .site-footer-contact {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }

    .back-to-top.is-over-footer {
        bottom: 156px;
    }
}

/* Aplicativo instalável e dispositivos */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--header-actions-gap, 8px);
}

.member-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(95, 61, 196, 0.24);
    border-radius: 8px;
    background: #f2efff;
    color: #5f3dc4;
    font-weight: 900;
    cursor: pointer;
}

.member-sidebar-toggle svg {
    width: 19px;
    height: 19px;
}

.member-sidebar-backdrop {
    display: none;
}

.member-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    width: var(--member-sidebar-width, 286px);
    height: 100dvh;
    overflow: hidden;
    border-right: 1px solid rgba(145, 166, 196, 0.2);
    background:
        radial-gradient(circle at 0 0, rgba(85, 214, 182, 0.18), transparent 30%),
        linear-gradient(180deg, #14253b 0%, #182e49 58%, #102035 100%);
    color: #ffffff;
    box-shadow: 22px 0 60px rgba(16, 32, 53, 0.18);
}

.member-sidebar-header {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 38px;
    gap: 11px;
    align-items: center;
    min-height: 76px;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-sidebar-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(100, 229, 201, 0.36);
    border-radius: 9px;
    background: linear-gradient(135deg, #16b9ae, #4876df);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(10, 167, 163, 0.18);
}

.member-sidebar-identity {
    min-width: 0;
}

.member-sidebar-identity small,
.member-sidebar-identity strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-sidebar-identity small {
    margin-bottom: 3px;
    color: #7de3d2;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-sidebar-identity strong {
    font-size: 1rem;
}

.member-sidebar-close {
    display: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
}

.member-sidebar-close svg {
    width: 18px;
    height: 18px;
}

.member-sidebar-nav {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
}

.member-sidebar-nav a,
.member-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #c6d4e5;
    font-size: 0.86rem;
    font-weight: 850;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.member-sidebar-nav a svg,
.member-sidebar-footer a svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.member-sidebar-nav a:hover,
.member-sidebar-nav a:focus-visible,
.member-sidebar-nav a.is-active {
    border-color: rgba(111, 225, 204, 0.22);
    background: rgba(48, 195, 174, 0.12);
    color: #ffffff;
}

.member-sidebar-nav a.is-active {
    box-shadow: inset 3px 0 0 #55d6b6;
}

.member-sidebar-section-label {
    margin: 13px 10px 2px;
    color: #7890aa;
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.member-sidebar-empty {
    padding: 8px 11px;
    color: #8fa3ba;
    font-size: 0.78rem;
    line-height: 1.45;
}

.member-sidebar-footer {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.member-sidebar-footer > span {
    overflow: hidden;
    padding: 0 5px;
    color: #8fa3ba;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-sidebar-footer a {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #f4d4d0;
}

.member-sidebar-footer a:hover,
.member-sidebar-footer a:focus-visible {
    border-color: rgba(233, 110, 97, 0.28);
    background: rgba(233, 110, 97, 0.1);
    color: #ffffff;
}

body.has-member-sidebar {
    --member-sidebar-width: 286px;
    padding-left: var(--member-sidebar-width);
}

#visao-geral,
#cursos,
#certificados,
#acompanhamento {
    scroll-margin-top: 92px;
}

.member-hub-nav {
    position: sticky;
    top: 74px;
    z-index: 29;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 58px;
    overflow-x: auto;
    padding: 8px clamp(16px, 4vw, 54px);
    border-bottom: 1px solid rgba(219, 229, 238, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.06);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
}

.member-hub-nav::-webkit-scrollbar {
    display: none;
}

.member-hub-nav > a,
.member-hub-dropdown > summary,
.member-hub-identity {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.member-hub-nav > a svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.member-hub-dropdown > summary svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.member-hub-nav > a:hover,
.member-hub-nav > a:focus-visible,
.member-hub-nav > a.is-active,
.member-hub-dropdown > summary:hover,
.member-hub-dropdown > summary:focus-visible,
.member-hub-dropdown[open] > summary {
    border-color: rgba(10, 167, 163, 0.24);
    background: #eafafa;
    color: #086c69;
}

.member-hub-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.member-hub-dropdown > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 6px 4px 7px;
    border-color: rgba(27, 128, 180, 0.22);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(225, 246, 247, 0.92));
    box-shadow:
        0 7px 18px rgba(29, 74, 111, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: #244b68;
    cursor: pointer;
    list-style: none;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.member-hub-dropdown > summary::-webkit-details-marker {
    display: none;
}

.member-hub-dropdown > summary > svg:first-child {
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e77c8, #0aa7a3);
    box-shadow: 0 5px 12px rgba(18, 112, 157, 0.2);
    color: #ffffff;
}

.member-hub-dropdown > summary:hover,
.member-hub-dropdown > summary:focus-visible,
.member-hub-dropdown[open] > summary {
    border-color: rgba(10, 167, 163, 0.42);
    background: linear-gradient(135deg, #ffffff, #dff7f5);
    box-shadow:
        0 9px 22px rgba(21, 102, 132, 0.14),
        inset 0 1px 0 #ffffff;
    color: #086c69;
}

.member-hub-dropdown > summary:focus-visible {
    outline: 2px solid rgba(10, 167, 163, 0.38);
    outline-offset: 2px;
}

.member-hub-dropdown > summary:hover {
    transform: translateY(-1px);
}

.member-hub-dropdown .member-hub-chevron {
    width: 22px;
    height: 22px;
    margin-left: 1px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(21, 105, 147, 0.09);
    color: #35667f;
    transition:
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.member-hub-dropdown[open] .member-hub-chevron {
    transform: rotate(180deg);
    background: rgba(10, 167, 163, 0.14);
    color: #087a77;
}

.member-hub-dropdown-menu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    z-index: 50;
    display: grid;
    min-width: 230px;
    padding: 8px;
    border: 1px solid rgba(27, 128, 180, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 50px rgba(33, 54, 82, 0.18);
}

.member-hub-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 900;
    white-space: nowrap;
}

.member-hub-dropdown-menu a svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.member-hub-dropdown-menu a:hover,
.member-hub-dropdown-menu a:focus-visible,
.member-hub-dropdown-menu a.is-active {
    background: #eafafa;
    color: #086c69;
}

@media (min-width: 1041px) {
    .member-hub-nav {
        overflow: visible;
    }
}

.member-hub-identity {
    margin-right: 3px;
    padding-left: 2px;
    color: var(--text);
}

.member-hub-avatar {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #16b9ae, #4876df);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 950;
}

.member-hub-label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin-left: 5px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(197, 139, 29, 0.18);
    border-radius: 999px;
    background: #fff7e7;
    color: #93630c;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.member-hub-label b {
    color: #087875;
    font-size: 0.86rem;
    line-height: 1;
}

.member-hub-nav > a.member-hub-logout {
    margin-left: auto;
    border-color: rgba(233, 110, 97, 0.18);
    background: #fff5f3;
    color: #be4b41;
}

.member-hub-nav > a.member-hub-logout:hover,
.member-hub-nav > a.member-hub-logout:focus-visible {
    border-color: rgba(233, 110, 97, 0.34);
    background: #ffe9e6;
    color: #a83d35;
}

body.member-portal-theme,
body.member-private-theme {
    --bg: #e7f0f6;
    --surface: #f6fbfe;
    --surface-soft: #dfeef5;
    --surface-warm: #edf3fb;
    --text: #1b2b3d;
    --muted: #5d7186;
    --soft: #7e94a9;
    --line: #c8dbe7;
    --accent: #089b98;
    --blue: #245fbd;
    --gold: #c7891b;
    --coral: #d8665c;
    --green: #218d63;
    background:
        radial-gradient(circle at 82% -8%, rgba(81, 132, 215, 0.18), transparent 30%),
        radial-gradient(circle at 6% 12%, rgba(10, 167, 163, 0.12), transparent 26%),
        linear-gradient(180deg, #edf5fa 0%, #e3edf4 48%, #f2f7fa 100%);
}

body.member-portal-theme .page-pattern,
body.member-private-theme .page-pattern {
    opacity: 0.72;
    background-image:
        linear-gradient(rgba(36, 95, 189, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 155, 152, 0.05) 1px, transparent 1px);
}

body.member-portal-theme .site-header,
body.member-private-theme .site-header {
    border-bottom-color: rgba(119, 153, 184, 0.28);
    background: rgba(244, 250, 253, 0.9);
}

body.member-portal-theme .brand strong,
body.member-private-theme .brand strong,
body.member-portal-theme .main-nav a,
body.member-private-theme .main-nav a,
body.member-portal-theme .nav-dropdown > button,
body.member-private-theme .nav-dropdown > button {
    color: #334b63;
}

body.member-portal-theme .brand small,
body.member-private-theme .brand small {
    color: #6d8499;
}

body.member-portal-theme .header-icon-action,
body.member-private-theme .header-icon-action {
    border-color: rgba(36, 95, 189, 0.2);
    background: #edf5fb;
    color: #245fbd;
}

body.member-portal-theme .header-action,
body.member-private-theme .header-action {
    background: linear-gradient(135deg, #2575bd, #18aba1);
    color: #ffffff;
}

body.member-portal-theme .member-hub-nav,
body.member-private-theme .member-hub-nav {
    border-bottom-color: rgba(119, 153, 184, 0.26);
    background: rgba(222, 239, 244, 0.94);
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.08);
}

body.member-portal-theme .member-hub-nav > a,
body.member-private-theme .member-hub-nav > a,
body.member-portal-theme .member-hub-dropdown > summary,
body.member-private-theme .member-hub-dropdown > summary,
body.member-portal-theme .member-hub-identity,
body.member-private-theme .member-hub-identity {
    color: #486278;
}

body.member-portal-theme .member-hub-nav > a:hover,
body.member-portal-theme .member-hub-nav > a:focus-visible,
body.member-portal-theme .member-hub-nav > a.is-active,
body.member-portal-theme .member-hub-dropdown > summary:hover,
body.member-portal-theme .member-hub-dropdown > summary:focus-visible,
body.member-portal-theme .member-hub-dropdown[open] > summary,
body.member-private-theme .member-hub-nav > a:hover,
body.member-private-theme .member-hub-nav > a:focus-visible,
body.member-private-theme .member-hub-nav > a.is-active,
body.member-private-theme .member-hub-dropdown > summary:hover,
body.member-private-theme .member-hub-dropdown > summary:focus-visible,
body.member-private-theme .member-hub-dropdown[open] > summary {
    border-color: rgba(8, 155, 152, 0.28);
    background: rgba(255, 255, 255, 0.7);
    color: #087a77;
}

body.member-portal-theme .member-hub-dropdown-menu,
body.member-private-theme .member-hub-dropdown-menu {
    border-color: var(--line);
    background: #f5fbfe;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.16);
}

body.member-portal-theme .member-hub-dropdown-menu a,
body.member-private-theme .member-hub-dropdown-menu a {
    color: #4b647a;
}

body.member-portal-theme .member-hub-dropdown-menu a:hover,
body.member-portal-theme .member-hub-dropdown-menu a:focus-visible,
body.member-portal-theme .member-hub-dropdown-menu a.is-active,
body.member-private-theme .member-hub-dropdown-menu a:hover,
body.member-private-theme .member-hub-dropdown-menu a:focus-visible,
body.member-private-theme .member-hub-dropdown-menu a.is-active {
    background: #dff1f1;
    color: #087a77;
}

body.member-portal-theme .member-hub-label,
body.member-private-theme .member-hub-label {
    border-color: rgba(197, 139, 29, 0.2);
    background: #fff7e7;
    color: #93630c;
}

body.member-portal-theme .member-hub-nav > a.member-hub-logout,
body.member-private-theme .member-hub-nav > a.member-hub-logout {
    border-color: rgba(216, 102, 92, 0.2);
    background: #fff3f1;
    color: #bc5148;
}

body.member-portal-theme .page-title,
body.member-private-theme .page-title {
    border-bottom-color: var(--line);
    background:
        radial-gradient(circle at 78% 18%, rgba(74, 128, 218, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(242, 249, 252, 0.98), rgba(222, 237, 246, 0.95));
}

body.member-portal-theme .member-wow-title {
    padding: 14px 0;
    background:
        linear-gradient(90deg, rgba(245, 251, 253, 0.96), rgba(226, 240, 249, 0.92)),
        linear-gradient(135deg, rgba(8, 155, 152, 0.1), rgba(199, 137, 27, 0.08));
}

body.member-portal-theme .member-wow-card {
    border-color: rgba(119, 153, 184, 0.24);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 251, 0.92)),
        linear-gradient(90deg, rgba(8, 155, 152, 0.08), rgba(199, 137, 27, 0.09));
    box-shadow: 0 16px 38px rgba(33, 54, 82, 0.1);
}

body.member-portal-theme .member-title-card:not(.member-wow-card),
body.member-portal-theme .member-private-channel,
body.member-private-theme .dynamic-page-content {
    border-color: var(--line);
    background:
        linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(229, 240, 248, 0.98)),
        linear-gradient(90deg, rgba(8, 155, 152, 0.08), rgba(36, 95, 189, 0.08));
    box-shadow: 0 22px 56px rgba(33, 54, 82, 0.12);
}

body.member-portal-theme .member-dashboard-hero {
    border-color: var(--line);
    background:
        linear-gradient(90deg, rgba(250, 253, 255, 0.98) 0%, rgba(236, 246, 248, 0.96) 58%, rgba(230, 240, 250, 0.74) 100%),
        url("../img/hero-church-broadcast-light.png") right center / 46% auto no-repeat,
        linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(229, 240, 248, 0.98));
    box-shadow: 0 22px 56px rgba(33, 54, 82, 0.12);
}

body.member-portal-theme .member-stat-grid article,
body.member-portal-theme .member-quick-card,
body.member-portal-theme .member-spotlight-card,
body.member-portal-theme .member-course-card,
body.member-portal-theme .member-content-card,
body.member-portal-theme .member-panel {
    border-color: var(--line);
    background: rgba(250, 253, 255, 0.9);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.1);
}

body.member-portal-theme .member-content-card.is-featured {
    border-color: rgba(199, 137, 27, 0.6);
    background:
        linear-gradient(135deg, #ffffff, #fff7e8),
        linear-gradient(90deg, rgba(199, 137, 27, 0.12), rgba(8, 155, 152, 0.08));
    box-shadow: 0 20px 46px rgba(142, 101, 28, 0.16);
}

body.member-portal-theme .member-individual-card.is-important {
    border-color: rgba(36, 95, 189, 0.42);
    background:
        radial-gradient(circle at 100% 0, rgba(215, 154, 40, 0.12), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow: 0 20px 48px rgba(36, 95, 189, 0.13);
}

body.member-portal-theme .member-individual-card:not(.is-important) {
    border-color: rgba(116, 151, 184, 0.28);
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.08), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(33, 54, 82, 0.09);
}

@media (hover: hover) {
    body.member-portal-theme .member-individual-card:hover {
        border-color: rgba(36, 87, 197, 0.34);
        box-shadow: 0 22px 50px rgba(33, 54, 82, 0.15);
        transform: translateY(-3px);
    }
}

body.member-portal-theme .member-progress > span {
    background: #d7e5ed;
}

body.member-portal-theme .certificate-list a {
    border-color: var(--line);
    background: #f8fcff;
    color: var(--text);
}

body.member-private-theme .dynamic-page-content blockquote {
    background: #e6f3f3;
}

body.member-private-theme .dynamic-page-content th {
    background: #dcecf8;
    color: #245fbd;
}

body.member-portal-theme .private-channel-copy small {
    border-color: rgba(36, 95, 189, 0.16);
    background: #f7fbfe;
}

body.member-portal-theme .site-footer,
body.member-private-theme .site-footer {
    border-top-color: var(--line);
    background: #dceaf3;
}

body.member-portal-theme .site-footer a,
body.member-private-theme .site-footer a {
    color: #245fbd;
}

.header-icon-action,
.tv-action {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    cursor: pointer;
}

.header-icon-action:hover,
.tv-action:hover {
    border-color: rgba(10, 167, 163, 0.48);
    color: #086c69;
}

.header-icon-action.menu-toggle {
    display: none;
}

@media (min-width: 1041px) and (max-width: 1400px) {
    body.has-member-sidebar .site-header {
        gap: 10px;
        padding-right: 18px;
        padding-left: 18px;
    }

    body.has-member-sidebar .brand {
        gap: 9px;
    }

    body.has-member-sidebar .brand strong {
        max-width: 150px;
    }

    body.has-member-sidebar .brand small,
    body.has-member-sidebar .header-action span {
        display: none;
    }

    body.has-member-sidebar .main-nav {
        gap: 8px;
        font-size: 0.84rem;
    }

    body.has-member-sidebar .header-action {
        width: 44px;
        padding: 0;
    }
}

@media (max-width: 1040px) {
    body.has-member-sidebar {
        padding-left: 0;
    }

    body.member-sidebar-open {
        overflow: hidden;
    }

    .header-icon-action.menu-toggle {
        display: grid;
    }

    .member-sidebar-toggle {
        display: inline-flex;
    }

    .member-sidebar {
        width: min(88vw, 320px);
        transform: translateX(-104%);
        transition: transform 190ms ease;
    }

    body.member-sidebar-open .member-sidebar {
        transform: translateX(0);
    }

    .member-sidebar-close {
        display: grid;
    }

    .member-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 105;
        display: block;
        border: 0;
        background: rgba(8, 18, 31, 0.58);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
    }

    body.member-sidebar-open .member-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

}

@media (max-width: 1040px) {
    .member-hub-nav {
        top: 64px;
        padding: 7px 14px;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .member-hub-dropdown-menu {
        position: fixed;
        top: var(--member-dropdown-top, 126px);
        right: auto;
        left: var(--member-dropdown-left, 12px);
        width: var(--member-dropdown-width, calc(100vw - 24px));
        min-width: 0;
    }
}

@media (max-width: 680px) {
    .header-actions {
        gap: 6px;
    }

    .header-icon-action,
    .tv-action,
    .header-action,
    .member-sidebar-toggle {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    .member-sidebar-toggle span {
        display: none;
    }

    .member-hub-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: 54px;
        gap: 5px;
        overflow: visible;
        padding: 8px 10px;
    }

    .member-hub-nav > a,
    .member-hub-dropdown > summary,
    .member-hub-identity {
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 34px;
        padding: 0 7px;
        font-size: 0.74rem;
    }

    .member-hub-dropdown > summary {
        gap: 4px;
        min-height: 34px;
        padding: 2px 5px 2px 8px;
        border-radius: 9px;
        box-shadow:
            0 3px 9px rgba(29, 74, 111, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.88);
    }

    .member-hub-dropdown > summary > svg:first-child {
        display: none;
    }

    .member-hub-dropdown .member-hub-chevron {
        width: 18px;
        height: 18px;
        margin-left: 2px;
        padding: 4px;
    }

    .member-hub-dropdown {
        min-width: 0;
    }

    .member-hub-nav > a span,
    .member-hub-dropdown > summary span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .member-hub-dropdown > summary span {
        flex: 0 0 auto;
        overflow: visible;
        text-overflow: clip;
    }

    .member-hub-dropdown-menu {
        max-height: min(280px, calc(100dvh - var(--member-dropdown-top, 126px) - 12px));
        overflow-y: auto;
        padding: 6px;
        border-radius: 12px;
        box-shadow: 0 16px 34px rgba(33, 54, 82, 0.2);
    }

    .member-hub-dropdown-menu a {
        min-height: 38px;
        padding: 7px 9px;
        font-size: 0.8rem;
    }

    .member-hub-identity {
        width: 100%;
        padding: 0;
    }

    .member-hub-identity > span:not(.member-hub-avatar),
    .member-hub-label {
        display: none;
    }

    .member-hub-avatar {
        width: 30px;
        height: 30px;
    }

    .member-hub-nav > a.member-hub-logout {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        padding: 0;
    }

    .member-hub-nav > a.member-hub-logout span {
        display: none;
    }
}

@media (max-width: 420px) {
    .member-hub-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 380px) {
    .site-header {
        padding-right: 10px;
        padding-left: 10px;
    }

    .brand strong {
        max-width: 112px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-icon-action,
    .tv-action,
    .header-action,
    .member-sidebar-toggle {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .home-page .home-watch-grid .player-controls {
        gap: 3px;
        padding: 6px;
    }

    .home-page .home-watch-grid .icon-button {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}

.player-control-spacer {
    flex: 1;
}

.player-device-status {
    overflow: hidden;
    max-width: 0;
    color: #9fb2c5;
    font-size: 0.76rem;
    font-weight: 800;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 180ms ease, opacity 180ms ease;
}

.player-device-status.is-visible {
    max-width: 280px;
    opacity: 1;
}

.icon-button.is-active {
    border-color: #68e0c5;
    background: rgba(10, 167, 163, 0.2);
    color: #68e0c5;
}

.icon-button.is-unavailable {
    border-color: rgba(255, 255, 255, 0.1);
    color: #7f91a2;
}

/* Modo TV */
.tv-mode-page {
    min-height: 100vh;
    overflow: hidden;
    background: #090e14;
    color: #ffffff;
}

.tv-mode-page > .site-header,
.tv-mode-page > .page-pattern,
.tv-mode-page > .site-footer {
    display: none;
}

.tv-mode-page #tv-mode-link {
    display: none;
}

.tv-experience {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(10, 167, 163, 0.08), transparent 34%),
        #090e14;
}

.tv-channel-bar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 78px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(9, 14, 20, 0.94);
    transition: opacity 180ms ease, transform 180ms ease;
}

.tv-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tv-brand strong,
.tv-brand small {
    display: block;
    overflow: hidden;
    max-width: 340px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tv-brand small {
    margin-top: 2px;
    color: #93a7ba;
    font-size: 0.76rem;
}

.tv-channel-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tv-channel-status .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(233, 110, 97, 0.32);
    border-radius: 8px;
    background: rgba(233, 110, 97, 0.12);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tv-channel-status > strong {
    min-width: 58px;
    color: #d9e5ee;
    font-size: 1.08rem;
    text-align: center;
}

.tv-channel-status .tv-action {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.tv-stage-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 390px);
    height: calc(100vh - 78px);
    transition: grid-template-columns 220ms ease;
}

.tv-player-area {
    display: grid;
    min-width: 0;
    min-height: 0;
    place-items: center;
    padding: clamp(12px, 2vw, 28px);
}

.tv-player-area .player-stage {
    width: 100%;
    max-height: 100%;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.tv-player-area .broadcast-topline {
    background: #111923;
}

.tv-guide {
    overflow-y: auto;
    min-width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: #101821;
    transition: opacity 180ms ease, transform 220ms ease;
}

.tv-guide > section,
.tv-guide-actions {
    padding: clamp(20px, 2.2vw, 30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.tv-guide .panel-kicker {
    color: #68e0c5;
}

.tv-guide-current h1 {
    margin: 12px 0 9px;
    font-size: clamp(1.45rem, 2vw, 2.15rem);
    line-height: 1.12;
}

.tv-guide-current p {
    margin: 0;
    color: #9fb0c0;
    line-height: 1.55;
}

.tv-program-meta {
    display: grid;
    gap: 9px;
    margin-top: 20px;
}

.tv-program-meta span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c8d5df;
    font-size: 0.82rem;
}

.tv-program-meta svg {
    width: 17px;
    color: #d79a28;
}

.tv-guide-next {
    display: grid;
    gap: 8px;
    background: rgba(36, 87, 197, 0.1);
}

.tv-guide-next strong {
    font-size: 1.12rem;
}

.tv-guide-next small {
    color: #f0c975;
    font-weight: 800;
}

.tv-cast-panel {
    display: grid;
    gap: 9px;
    background: rgba(10, 167, 163, 0.06);
}

.tv-cast-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tv-cast-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(104, 224, 197, 0.26);
    border-radius: 8px;
    background: rgba(10, 167, 163, 0.12);
    color: #68e0c5;
}

.tv-cast-icon svg {
    width: 20px;
    height: 20px;
}

.tv-source-badge {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 6px;
    color: #b7c7d4;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tv-cast-panel > strong {
    font-size: 1.04rem;
}

.tv-cast-panel > small {
    color: #9fb0c0;
    line-height: 1.5;
}

.tv-cast-panel.is-connected .tv-cast-icon {
    border-color: rgba(104, 224, 197, 0.56);
    background: rgba(10, 167, 163, 0.22);
}

.tv-cast-panel.is-youtube {
    background: rgba(229, 76, 63, 0.06);
}

.tv-cast-panel.is-youtube .tv-cast-icon {
    border-color: rgba(229, 76, 63, 0.3);
    background: rgba(229, 76, 63, 0.12);
    color: #ff8d83;
}

.tv-guide-playlist {
    display: grid;
    gap: 4px;
}

.tv-playlist-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tv-playlist-row b {
    color: #68e0c5;
    font-size: 0.74rem;
}

.tv-playlist-row span {
    overflow: hidden;
    color: #d6e1e9;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tv-guide-actions {
    display: grid;
    gap: 8px;
}

.tv-action-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d6e1e9;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.tv-action-row svg {
    color: #68e0c5;
}

.tv-cast-panel .tv-action-row {
    margin-top: 5px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
}

.tv-cast-panel .tv-action-row:hover,
.tv-cast-panel .tv-action-row:focus-visible {
    border-color: rgba(104, 224, 197, 0.42);
    background: rgba(10, 167, 163, 0.1);
}

.tv-youtube-action svg {
    color: #ff8d83;
}

.tv-action:focus-visible,
.tv-action-row:focus-visible,
.tv-mode-page .icon-button:focus-visible {
    outline: 3px solid #f0c975;
    outline-offset: 3px;
}

.tv-guide-collapsed .tv-stage-layout {
    grid-template-columns: minmax(0, 1fr) 0;
}

.tv-guide-collapsed .tv-guide {
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
}

.tv-ui-idle .tv-channel-bar {
    opacity: 0.12;
    transform: translateY(-8px);
}

.tv-ui-idle .player-controls,
.tv-ui-idle .broadcast-topline {
    opacity: 0.18;
    transition: opacity 180ms ease;
}

@media (max-width: 1100px) {
    .member-courses-hero.member-individual-contents-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .member-individual-contents-summary {
        min-width: 0;
    }
}

@media (max-width: 920px) {
    .member-auth-grid,
    .member-auth-forms,
    .member-portal-grid,
    .member-wow-shell,
    .member-course-grid,
    .member-content-grid,
    .member-spotlight-grid {
        grid-template-columns: 1fr;
    }

    .member-individual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-contents-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-dashboard-hero {
        grid-template-columns: 1fr;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 250, 0.94)),
            linear-gradient(135deg, #ffffff, #eefbfa);
    }

    body.member-portal-theme .member-dashboard-hero {
        background:
            linear-gradient(90deg, rgba(250, 253, 255, 0.98), rgba(236, 246, 248, 0.94)),
            linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(229, 240, 248, 0.98));
    }

    .member-journey-summary {
        padding-top: 18px;
        padding-left: 0;
        border-top: 1px solid rgba(93, 122, 150, 0.18);
        border-left: 0;
    }

    .member-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-stat-grid,
    .certificate-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-dashboard-hero {
        align-items: flex-start;
    }

    .member-wow-card {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        min-height: 96px;
    }

    .member-wow-card .secondary-action {
        grid-column: auto;
        align-self: center;
    }

    .member-auth-forms {
        order: 1;
    }

    .member-auth-intro {
        order: 2;
    }

    .tv-mode-page {
        overflow: auto;
    }

    .tv-stage-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .tv-player-area {
        padding: 12px;
    }

    .tv-guide {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .tv-guide-collapsed .tv-stage-layout {
        grid-template-columns: 1fr;
    }

    .tv-guide-collapsed .tv-guide {
        display: none;
    }
}

@media (max-width: 680px) {
    .member-individual-grid {
        grid-template-columns: 1fr;
    }

    .member-contents-page-grid {
        grid-template-columns: 1fr;
    }

    .member-auth-theme {
        background-image:
            linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 249, 0.88) 48%, rgba(237, 249, 247, 0.92)),
            radial-gradient(circle at 52% 100%, rgba(190, 214, 94, 0.18), transparent 30%),
            radial-gradient(circle at 0% 0%, rgba(233, 110, 97, 0.08), transparent 34%),
            url("../img/evento-fox-web-tv.png");
        background-attachment: scroll;
    }

    .member-auth-theme .page-title {
        padding: 18px 0 8px;
    }

    .member-auth-theme .member-auth-title .title-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .member-auth-theme .page-title h1 {
        font-size: clamp(1.35rem, 8vw, 1.8rem);
    }

    .member-auth-theme .page-title p {
        justify-self: start;
        font-size: 0.88rem;
    }

    .member-auth-theme .member-title-card {
        display: none;
    }

    .member-wow-title {
        padding: 12px 0;
    }

    .member-wow-copy h1 {
        font-size: clamp(1.7rem, 9vw, 2.25rem);
    }

    .member-wow-copy p {
        font-size: 0.9rem;
    }

    .member-wow-card {
        grid-template-columns: 42px minmax(0, 1fr);
        min-height: auto;
        padding: 14px;
    }

    .member-wow-card .secondary-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .member-form-grid,
    .member-quick-grid,
    .member-spotlight-grid,
    .member-stat-grid,
    .certificate-meta {
        grid-template-columns: 1fr;
    }

    .member-dashboard-copy h2 {
        font-size: clamp(1.55rem, 8vw, 2.25rem);
    }

    .member-journey-summary {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .member-dashboard-actions {
        justify-content: stretch;
    }

    .member-dashboard-actions .secondary-action {
        width: 100%;
    }

    .member-auth-intro,
    .member-auth-card {
        padding: 16px;
    }

    .member-auth-benefits {
        grid-template-columns: 1fr;
    }

    .member-courses-hero {
        grid-template-columns: 1fr;
        padding: 16px;
        background:
            linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(235, 247, 248, 0.95));
    }

    .member-courses-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .member-individual-contents-hero h1 {
        white-space: normal;
    }

    .member-courses-summary.member-individual-contents-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-self: stretch;
        width: 100%;
    }

    .member-lesson-list li {
        grid-template-columns: 1fr;
    }

    .member-lesson-actions,
    .member-lesson-actions form,
    .member-lesson-complete-button,
    .member-lesson-done {
        width: 100%;
    }

    .member-course-actions .primary-action,
    .member-course-actions .secondary-action,
    .member-course-actions .ghost-action,
    .member-course-actions form {
        width: 100%;
    }

    .certificate-actions {
        justify-content: stretch;
    }

    .certificate-actions .primary-action,
    .certificate-actions .secondary-action {
        flex: 1;
    }

    .certificate-border {
        min-height: auto;
        padding: 24px 16px;
    }

    .certificate-brand {
        padding-inline: 38px;
    }

    .certificate-brand-logo {
        width: 120px;
        height: 120px;
    }

    .certificate-meta,
    .certificate-footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .certificate-footer {
        gap: 18px;
        margin-top: 16px;
    }

    .certificate-corner {
        width: 42px;
        height: 42px;
    }

    .header-actions {
        margin-left: auto;
    }

    .player-control-spacer,
    .player-device-status {
        display: none;
    }

    .tv-channel-bar {
        height: 68px;
        padding: 10px 12px;
    }

    .tv-brand small,
    .tv-channel-status .status-pill,
    .tv-channel-status > strong {
        display: none;
    }

    .tv-player-area .player-controls {
        gap: 5px;
        padding: 9px;
    }

    .tv-player-area .icon-button {
        width: 39px;
        height: 39px;
    }
}

@media print {
    @page {
        size: A4 landscape;
        margin: 6mm;
    }

    .certificate-page .site-header,
    .certificate-page .site-footer,
    .certificate-page .member-hub-nav,
    .certificate-page .page-pattern,
    .certificate-actions {
        display: none !important;
    }

    html,
    body.certificate-page {
        width: 100%;
        min-height: 0;
        background: #ffffff !important;
    }

    .certificate-page,
    .certificate-page main,
    .certificate-page .section-block,
    .certificate-page .section-shell {
        margin: 0;
        padding: 0;
        background: #ffffff;
        max-width: none;
        width: 100%;
    }

    .certificate-sheet {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
        padding: 0;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .certificate-border {
        height: 186mm;
        min-height: 0;
        gap: 1.5mm;
        padding: 5mm 12mm;
        border-color: #ae7c1f;
        border-radius: 0;
        background: #fffefb;
        box-decoration-break: clone;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .certificate-border::before {
        border-color: #278b87;
    }

    .certificate-border::after {
        width: 80mm;
        border: 5mm double #f2f7f4;
    }

    .certificate-corner {
        border-color: #ae7c1f;
    }

    .certificate-brand {
        min-height: 0;
        gap: 1.5mm;
    }

    .certificate-brand-logo {
        width: 30mm;
        height: 30mm;
        border-color: #b9dddb;
        box-shadow: none;
    }

    .certificate-seal {
        width: 12mm;
        height: 12mm;
        margin-top: 0;
        border-color: #d8bc7d;
        background: #fff5d8;
        box-shadow: none;
    }

    .certificate-border h1 {
        font-size: 28pt;
    }

    .certificate-recipient {
        font-size: 25pt;
    }

    .certificate-border h2 {
        font-size: 19pt;
    }

    .certificate-meta,
    .certificate-footer {
        width: 84%;
    }

    .certificate-meta {
        margin-top: 2mm;
    }

    .certificate-meta > span {
        padding: 2mm 3mm;
        border-color: #dce3ea;
        background: #ffffff;
    }

    .certificate-name-line {
        background: #c5a258;
    }

    .certificate-footer {
        gap: 10mm;
        margin-top: 1.5mm;
        padding-top: 2mm;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .certificate-code {
        padding: 2mm 3mm;
        border-color: #b9c9ef;
        background: #f4f8ff;
    }
}

/* Premium vibrant public theme */
body.site-theme-premium {
    --bg: #f4f1ff;
    --surface: #ffffff;
    --surface-soft: #f0edff;
    --surface-warm: #fff4df;
    --text: #17142b;
    --muted: #67637c;
    --soft: #8a86a0;
    --line: #ddd7f2;
    --accent: #7c3aed;
    --blue: #4f46e5;
    --gold: #f59e0b;
    --coral: #f43f5e;
    --green: #059669;
    --premium-cyan: #06b6d4;
    --premium-navy: #171132;
    --premium-purple: #6d28d9;
    --shadow: 0 28px 72px rgba(59, 35, 125, 0.18);
    background:
        radial-gradient(circle at 8% 10%, rgba(124, 58, 237, 0.16), transparent 28%),
        radial-gradient(circle at 92% 20%, rgba(6, 182, 212, 0.14), transparent 30%),
        linear-gradient(180deg, #faf9ff 0%, #f1effc 50%, #ffffff 100%);
}

body.site-theme-premium .page-pattern {
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 20% 14%, rgba(124, 58, 237, 0.16), transparent 22%),
        radial-gradient(circle at 84% 8%, rgba(6, 182, 212, 0.14), transparent 24%),
        linear-gradient(rgba(109, 40, 217, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
}

body.site-theme-premium .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 88% 0%, rgba(6, 182, 212, 0.2), transparent 28%),
        linear-gradient(120deg, rgba(20, 15, 48, 0.97), rgba(43, 27, 91, 0.95));
    box-shadow: 0 18px 42px rgba(20, 15, 48, 0.22);
    backdrop-filter: blur(22px) saturate(1.2);
}

body.site-theme-premium .brand strong {
    color: #ffffff;
}

body.site-theme-premium .brand small {
    color: #c8c1eb;
}

body.site-theme-premium .brand-mark {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.82), rgba(6, 182, 212, 0.72));
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.2);
}

body.site-theme-premium .brand-mark.has-image {
    width: 68px;
    height: 68px;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.site-theme-premium .main-nav,
body.site-theme-premium .nav-dropdown > button {
    color: #d9d4f4;
}

@media (min-width: 1041px) {
    body.site-theme-premium.member-portal-theme .main-nav > a,
    body.site-theme-premium.member-private-theme .main-nav > a,
    body.site-theme-premium.member-portal-theme .nav-dropdown > button,
    body.site-theme-premium.member-private-theme .nav-dropdown > button {
        color: #d9d4f4;
    }
}

body.site-theme-premium .main-nav a:hover,
body.site-theme-premium .main-nav a.is-active,
body.site-theme-premium .nav-dropdown > button:hover,
body.site-theme-premium .nav-dropdown > button.is-active,
body.site-theme-premium .nav-dropdown.is-open > button {
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(6, 182, 212, 0.5));
    box-shadow: 0 10px 24px rgba(7, 8, 40, 0.2);
}

body.site-theme-premium .nav-dropdown-menu {
    border-color: rgba(124, 58, 237, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 60px rgba(20, 15, 48, 0.24);
}

body.site-theme-premium .nav-dropdown-menu a:hover,
body.site-theme-premium .nav-dropdown-menu a:focus-visible {
    color: var(--premium-purple);
    background: #f1edff;
}

body.site-theme-premium .nav-dropdown-menu a.is-current {
    border-color: rgba(124, 58, 237, 0.26);
    color: var(--premium-purple);
    background: linear-gradient(135deg, #f0ebff, #eefbff);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.11);
}

body.site-theme-premium .nav-dropdown-menu a.is-current .nav-dropdown-item-icon {
    background: linear-gradient(145deg, #7c3aed, #06b6d4);
    color: #ffffff;
}

body.site-theme-premium .header-action,
body.site-theme-premium .primary-action {
    border-color: rgba(124, 58, 237, 0.32);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 48%, #06b6d4 100%);
    box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
}

body.site-theme-premium .member-journey-summary .primary-action span {
    color: #ffffff;
}

body.site-theme-premium .site-header .header-action {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, #f59e0b, #f43f5e);
    box-shadow: 0 14px 30px rgba(244, 63, 94, 0.24);
}

body.site-theme-premium .secondary-action,
body.site-theme-premium .ghost-action {
    border-color: rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    color: var(--premium-purple);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(59, 35, 125, 0.08);
}

body.site-theme-premium .page-title {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(124, 58, 237, 0.18);
    background:
        radial-gradient(circle at 80% 22%, rgba(34, 211, 238, 0.28), transparent 26%),
        radial-gradient(circle at 18% 0%, rgba(167, 139, 250, 0.24), transparent 28%),
        linear-gradient(135deg, #171132 0%, #31236d 58%, #6d28d9 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

body.site-theme-premium .page-title h1,
body.site-theme-premium .page-title h2 {
    color: #ffffff;
    text-shadow: 0 10px 34px rgba(7, 8, 40, 0.28);
}

body.site-theme-premium .page-title p {
    color: rgba(235, 232, 255, 0.78);
}

body.site-theme-premium .dynamic-page-title-meta > span {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(239, 236, 255, 0.76);
}

body.site-theme-premium .dynamic-page-title-meta svg {
    color: #67e8f9;
}

body.site-theme-premium .dynamic-page-title-meta time {
    color: #ffffff;
}

body.site-theme-premium.member-auth-theme .member-auth-title h1 {
    color: #241a4d;
    text-shadow: none;
}

body.site-theme-premium.member-auth-theme .member-auth-title .title-grid > p {
    color: #625b78;
}

body.site-theme-premium .page-title .panel-kicker,
body.site-theme-premium .page-title .admin-kicker {
    color: #fbbf24;
}

body.site-theme-premium .home-broadcast-hero::before {
    background:
        linear-gradient(90deg, rgba(16, 11, 40, 0.9) 0%, rgba(49, 35, 109, 0.67) 44%, rgba(49, 35, 109, 0.12) 76%),
        radial-gradient(circle at 78% 26%, rgba(6, 182, 212, 0.22), transparent 34%);
}

body.site-theme-premium .home-broadcast-copy h1,
body.site-theme-premium .hero-copy h1 {
    text-shadow: 0 16px 44px rgba(12, 8, 34, 0.42);
}

body.site-theme-premium .section-soft {
    background:
        radial-gradient(circle at 8% 50%, rgba(124, 58, 237, 0.12), transparent 28%),
        radial-gradient(circle at 92% 30%, rgba(6, 182, 212, 0.12), transparent 28%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(242, 238, 255, 0.86));
}

body.site-theme-premium .section-white {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
}

/* O backdrop-filter cria um bloco de referência para descendentes fixed.
   Removê-lo durante o modo flutuante mantém o player preso à janela. */
body.site-theme-premium.player-sticky-active:not(.tv-mode-page) #ao-vivo-home {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.site-theme-premium .hero-status,
body.site-theme-premium .now-card,
body.site-theme-premium .next-card,
body.site-theme-premium .share-card,
body.site-theme-premium .home-social-card,
body.site-theme-premium .portal-tile,
body.site-theme-premium .announcement-card,
body.site-theme-premium .prayer-form,
body.site-theme-premium .prayer-wall article,
body.site-theme-premium .info-card,
body.site-theme-premium .giving-card,
body.site-theme-premium .feature-list article,
body.site-theme-premium .contact-card,
body.site-theme-premium .contact-social-panel,
body.site-theme-premium .schedule-item,
body.site-theme-premium .schedule-now-card,
body.site-theme-premium .premium-feature-card,
body.site-theme-premium .live-interaction-card,
body.site-theme-premium .live-wall-panel,
body.site-theme-premium .public-wall-card,
body.site-theme-premium .notification-subscribe-panel,
body.site-theme-premium .church-command-panel,
body.site-theme-premium .member-title-card,
body.site-theme-premium .member-auth-card,
body.site-theme-premium .member-quick-card,
body.site-theme-premium .member-spotlight-card,
body.site-theme-premium .member-course-card,
body.site-theme-premium .member-content-card,
body.site-theme-premium .member-panel,
body.site-theme-premium .radio-schedule-card,
body.site-theme-premium .radio-disc-panel,
body.site-theme-premium .private-player-card,
body.site-theme-premium .private-playlist-panel {
    border-color: rgba(109, 40, 217, 0.17);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.09), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 255, 0.94));
    box-shadow:
        0 24px 58px rgba(59, 35, 125, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.site-theme-premium .companion-panel {
    border-color: rgba(124, 58, 237, 0.18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.13), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 235, 255, 0.9));
    box-shadow: 0 28px 64px rgba(59, 35, 125, 0.16);
}

body.site-theme-premium .private-playlist-heading {
    color: #21183f;
}

body.site-theme-premium .private-playlist-heading small {
    color: #6d28d9;
}

body.site-theme-premium .private-playlist-list button {
    border-color: rgba(109, 40, 217, 0.16);
    color: #21183f;
    background: rgba(255, 255, 255, 0.76);
}

body.site-theme-premium .private-playlist-list button:hover,
body.site-theme-premium .private-playlist-list button.is-active {
    border-color: rgba(6, 182, 212, 0.68);
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.13), rgba(6, 182, 212, 0.12)),
        #ffffff;
}

body.site-theme-premium .private-playlist-list button.is-active {
    box-shadow: inset 3px 0 0 #6d28d9, 0 10px 22px rgba(79, 70, 229, 0.1);
}

body.site-theme-premium .private-playlist-number {
    background: rgba(109, 40, 217, 0.1);
    color: #6d28d9;
}

body.site-theme-premium .private-playlist-list button.is-active .private-playlist-number {
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

body.site-theme-premium .private-playlist-copy strong {
    color: #21183f;
}

body.site-theme-premium .private-playlist-copy small {
    color: #675f7d;
}

body.site-theme-premium .now-card,
body.site-theme-premium .schedule-item.is-current,
body.site-theme-premium .radio-now-card {
    border-color: rgba(124, 58, 237, 0.34);
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.18), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f0ebff 58%, #fff3dd 100%);
}

body.site-theme-premium .now-card::before,
body.site-theme-premium .schedule-now-card::before,
body.site-theme-premium .member-auth-card::before,
body.site-theme-premium .member-course-card::before {
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f59e0b, #f43f5e);
}

body.site-theme-premium .contact-card-icon,
body.site-theme-premium .now-live-icon,
body.site-theme-premium .member-wow-card-icon {
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(145deg, #7c3aed, #06b6d4);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
}

body.site-theme-premium .panel-kicker,
body.site-theme-premium .admin-kicker {
    color: var(--premium-purple);
}

body.site-theme-premium .portal-announcements .panel-kicker {
    color: #ffd36d;
    text-shadow: 0 1px 10px rgba(255, 211, 109, 0.16);
}

body.site-theme-premium .program-meta span,
body.site-theme-premium .pix-key-display,
body.site-theme-premium .prayer-form input,
body.site-theme-premium .prayer-form textarea,
body.site-theme-premium .member-auth-card input,
body.site-theme-premium .live-interaction-card input:not([type="radio"]):not([type="checkbox"]),
body.site-theme-premium .live-message-form input:not([type="radio"]):not([type="checkbox"]),
body.site-theme-premium .live-message-form select,
body.site-theme-premium .live-message-form textarea {
    border-color: rgba(124, 58, 237, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
}

body.site-theme-premium .prayer-form input:focus,
body.site-theme-premium .prayer-form textarea:focus,
body.site-theme-premium .member-auth-card input:focus {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

body.site-theme-premium .pix-key-card {
    border-color: rgba(124, 58, 237, 0.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 95% 0%, rgba(6, 182, 212, 0.12), transparent 26%),
        linear-gradient(145deg, #ffffff, #f5f1ff);
    box-shadow: 0 22px 48px rgba(59, 35, 125, 0.13);
}

body.site-theme-premium .pix-key-heading > .pix-key-label {
    color: #7c3aed;
}

body.site-theme-premium .pix-key-type-badge {
    border-color: rgba(124, 58, 237, 0.22);
    color: #6d28d9;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.1));
}

body.site-theme-premium .pix-key-card .pix-actions .primary-action {
    border-color: rgba(124, 58, 237, 0.32);
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 48%, #06b6d4 100%);
    box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
}

body.site-theme-premium .premium-feature-card:hover,
body.site-theme-premium .portal-tile:hover,
body.site-theme-premium .member-quick-card:hover,
body.site-theme-premium .public-wall-card:hover {
    border-color: rgba(124, 58, 237, 0.34);
    transform: translateY(-4px);
    box-shadow: 0 30px 68px rgba(59, 35, 125, 0.2);
}

body.site-theme-premium .site-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: #e9e5ff;
    background:
        radial-gradient(circle at 82% 10%, rgba(6, 182, 212, 0.16), transparent 24%),
        linear-gradient(135deg, #171132, #2c1d60 60%, #3f1d78);
    box-shadow: 0 -20px 52px rgba(23, 17, 50, 0.16);
}

body.site-theme-premium .site-footer strong,
body.site-theme-premium .site-footer a {
    color: #ffffff;
}

body.site-theme-premium .site-footer small,
body.site-theme-premium .site-footer span {
    color: #c8c1e6;
}

body.site-theme-premium .site-footer-social {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.09);
}

body.site-theme-premium .site-footer-social.is-whatsapp {
    border-color: rgba(74, 222, 128, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #25d366, #16a34a);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.28);
}

body.site-theme-premium .site-footer-social.is-whatsapp:hover,
body.site-theme-premium .site-footer-social.is-whatsapp:focus-visible {
    border-color: rgba(134, 239, 172, 0.72);
    color: #ffffff;
    background: linear-gradient(135deg, #20bd5a, #12883d);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.36);
}

body.site-theme-premium .site-footer-social.is-whatsapp svg {
    color: currentColor;
    stroke: currentColor;
}

body.site-theme-premium .site-footer-social.is-youtube {
    border-color: rgba(255, 104, 104, 0.56);
    color: #ffffff;
    background: linear-gradient(135deg, #ff0033, #c90024);
    box-shadow: 0 10px 24px rgba(255, 0, 51, 0.3);
}

body.site-theme-premium .site-footer-social.is-youtube:hover,
body.site-theme-premium .site-footer-social.is-youtube:focus-visible {
    border-color: rgba(255, 160, 160, 0.8);
    color: #ffffff;
    background: linear-gradient(135deg, #e6002e, #a8001e);
    box-shadow: 0 14px 28px rgba(255, 0, 51, 0.38);
}

body.site-theme-premium .site-footer-social.is-youtube svg {
    color: currentColor;
    stroke: currentColor;
}

@media (max-width: 1040px) {
    body.site-theme-premium .brand-mark.has-image {
        width: 58px;
        height: 58px;
    }

    body.site-theme-premium .main-nav {
        border-color: rgba(124, 58, 237, 0.2);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 52px rgba(20, 15, 48, 0.22);
    }

    body.site-theme-premium .main-nav,
    body.site-theme-premium .nav-dropdown > button {
        color: #37304f;
    }

    body.site-theme-premium .main-nav a:hover,
    body.site-theme-premium .main-nav a.is-active,
    body.site-theme-premium .nav-dropdown > button:hover,
    body.site-theme-premium .nav-dropdown > button.is-active,
    body.site-theme-premium .nav-dropdown.is-open > button {
        color: #ffffff;
    }

    body.site-theme-premium .nav-dropdown-menu a:hover,
    body.site-theme-premium .nav-dropdown-menu a:focus-visible,
    body.site-theme-premium .nav-dropdown-menu a:active {
        border-color: rgba(255, 255, 255, 0.3);
        background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #06b6d4 100%);
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(79, 70, 229, 0.28);
    }

    body.site-theme-premium .nav-dropdown-menu a:hover .nav-dropdown-item-icon,
    body.site-theme-premium .nav-dropdown-menu a:focus-visible .nav-dropdown-item-icon,
    body.site-theme-premium .nav-dropdown-menu a:active .nav-dropdown-item-icon {
        border-color: #ffffff;
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    }

    body.site-theme-premium .nav-dropdown-menu a:hover .nav-dropdown-item-arrow,
    body.site-theme-premium .nav-dropdown-menu a:focus-visible .nav-dropdown-item-arrow,
    body.site-theme-premium .nav-dropdown-menu a:active .nav-dropdown-item-arrow {
        border-color: rgba(255, 255, 255, 0.34);
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.site-theme-premium .hero-status,
    body.site-theme-premium .now-card,
    body.site-theme-premium .portal-tile,
    body.site-theme-premium .premium-feature-card,
    body.site-theme-premium .member-quick-card {
        transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }
}

/* Privacidade, consentimento e política de cookies */
.site-footer-cookie-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.site-footer-cookie-button:hover,
.site-footer-cookie-button:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent {
    position: fixed;
    z-index: 1200;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 12px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(36, 87, 197, 0.2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(10, 167, 163, 0.12), transparent 38%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 70px rgba(21, 42, 73, 0.22);
    color: #1c2c40;
    backdrop-filter: blur(18px);
}

.cookie-consent-icon,
.privacy-section-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 12px;
    background: rgba(10, 167, 163, 0.09);
    color: #078f8b;
}

.cookie-consent-icon svg,
.privacy-section-icon svg {
    width: 20px;
    height: 20px;
}

.privacy-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

.privacy-section-icon svg {
    width: 23px;
    height: 23px;
}

.cookie-consent-copy strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.94rem;
}

.cookie-consent-copy p {
    margin: 0;
    color: #5c7089;
    font-size: 0.82rem;
    line-height: 1.4;
}

.cookie-consent-copy a {
    color: #225bc2;
    font-weight: 800;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.cookie-action {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 9px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.cookie-action:hover {
    transform: translateY(-1px);
}

.cookie-action-primary {
    border: 1px solid #2457c5;
    background: linear-gradient(135deg, #2457c5, #1443a8);
    color: #fff;
    box-shadow: 0 10px 22px rgba(36, 87, 197, 0.2);
}

.cookie-action-secondary {
    border: 1px solid #cbd8e7;
    background: #fff;
    color: #263c56;
}

html.cookie-banner-visible .notification-toast {
    bottom: calc(var(--cookie-banner-height, 0px) + 40px);
}

html.cookie-banner-visible .back-to-top {
    bottom: calc(var(--cookie-banner-height, 0px) + 40px);
}

.cookie-preferences {
    width: min(620px, calc(100% - 28px));
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: #1c2c40;
    overflow: visible;
}

.cookie-preferences::backdrop {
    background: rgba(15, 28, 46, 0.58);
    backdrop-filter: blur(4px);
}

.cookie-preferences-card {
    padding: 26px;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(9, 25, 46, 0.34);
}

.cookie-preferences-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cookie-preferences-card h2 {
    margin: 4px 0 0;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.cookie-preferences-card > p {
    margin: 12px 0 20px;
    color: #62758d;
    line-height: 1.55;
}

.cookie-dialog-close {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d5e0ec;
    border-radius: 12px;
    background: #f7fafd;
    color: #2d435d;
    cursor: pointer;
}

.cookie-preference-list {
    display: grid;
    gap: 11px;
}

.cookie-preference-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px;
    border: 1px solid #d8e3ee;
    border-radius: 15px;
    background: #f9fbfd;
}

.cookie-preference-row span {
    display: grid;
    gap: 4px;
}

.cookie-preference-row small {
    color: #687c94;
    line-height: 1.45;
}

.cookie-preference-row input {
    width: 22px;
    height: 22px;
    accent-color: #0aa7a3;
}

.cookie-preference-row.is-required {
    border-color: rgba(10, 167, 163, 0.22);
    background: rgba(10, 167, 163, 0.06);
}

.cookie-preferences-note {
    padding: 11px 13px;
    border-radius: 10px;
    background: #f3f6fa;
    font-size: 0.86rem;
}

.cookie-preferences-card > footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.privacy-main {
    width: min(1180px, calc(100% - 40px));
    margin: 18px auto 72px;
}

.privacy-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(36, 87, 197, 0.15);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(10, 167, 163, 0.16), transparent 34%),
        linear-gradient(135deg, #ffffff, #f3f9fc);
    box-shadow: 0 22px 54px rgba(31, 66, 105, 0.1);
}

.privacy-hero h1 {
    max-width: 780px;
    margin: 7px 0 8px;
    color: #1a2c42;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.privacy-hero p {
    max-width: 700px;
    margin: 0;
    color: #60758e;
    font-size: clamp(0.96rem, 1.6vw, 1.06rem);
    line-height: 1.55;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    margin-top: 30px;
}

.privacy-index {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid #dbe6ef;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.9);
}

.privacy-index strong {
    margin: 0 8px 8px;
    color: #233b58;
}

.privacy-index a {
    padding: 9px 10px;
    border-radius: 9px;
    color: #5c718a;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.privacy-index a:hover {
    background: rgba(10, 167, 163, 0.08);
    color: #087e7b;
}

.privacy-content {
    display: grid;
    gap: 18px;
}

.privacy-content > section {
    scroll-margin-top: 110px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dbe5ef;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 34px rgba(30, 62, 98, 0.07);
}

.privacy-content > section > div {
    min-width: 0;
    flex: 1;
}

.privacy-content h2 {
    margin: 2px 0 10px;
    color: #1d3149;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.privacy-content p {
    margin: 0;
    color: #5c718a;
    line-height: 1.7;
}

.privacy-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.privacy-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.privacy-table th,
.privacy-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #dde7f0;
    text-align: left;
    vertical-align: top;
}

.privacy-table th {
    background: #f3f7fb;
    color: #324b68;
}

.privacy-table code {
    color: #1557b0;
    font-weight: 700;
}

.privacy-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px !important;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(10, 167, 163, 0.08);
    color: #24605f !important;
}

.privacy-status svg {
    width: 20px;
    height: 20px;
}

.privacy-manage-button {
    margin-top: 18px;
    border: 0;
    cursor: pointer;
}

.privacy-contact {
    margin-top: 18px !important;
    font-size: 0.92rem;
}

.privacy-contact a {
    color: #225bc2;
    font-weight: 800;
}

@media (max-width: 900px) {
    .cookie-consent {
        grid-template-columns: auto minmax(0, 1fr);
        max-width: 720px;
    }

    .cookie-consent-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .cookie-consent-actions .cookie-action {
        flex: 1;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .privacy-index {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .privacy-index strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 12px;
        border-radius: 14px;
    }

    .cookie-consent-icon {
        display: none;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .cookie-consent-actions .cookie-action-primary {
        grid-column: auto;
        grid-row: auto;
    }

    .cookie-consent-copy p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .cookie-consent-actions .cookie-action {
        min-width: 0;
        min-height: 42px;
        padding: 7px 6px;
        font-size: 0.72rem;
        line-height: 1.18;
    }

    html.cookie-banner-visible .notification-toast {
        bottom: 18px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(14px);
    }

    html.cookie-banner-visible .back-to-top {
        opacity: 0;
        pointer-events: none;
    }

    .cookie-preferences-card {
        padding: 20px;
    }

    .cookie-preference-row {
        align-items: flex-start;
    }

    .cookie-preferences-card > footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .privacy-main {
        width: min(100% - 24px, 1180px);
        margin-top: 12px;
    }

    .privacy-hero {
        border-radius: 20px;
    }

    .privacy-layout {
        gap: 18px;
    }

    .privacy-index {
        display: none;
    }

    .privacy-content > section {
        display: grid;
        gap: 14px;
        border-radius: 18px;
    }
}
