/* ========================================
   BOOK TO SCREEN — SHARED PUBLIC STYLES
======================================== */

html {
    box-sizing: border-box;
    scroll-padding-top: 62px;
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 88px;
    }
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: #f7f2ea;
    color: #241c15;
}

a {
    color: inherit;
}

/* ========================================
   SHARED TYPOGRAPHY
======================================== */

.eyebrow {
    margin: 0 0 8px;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #7a5c3e;
    font-weight: 700;
}

.page-title {
    margin: 0;
    font-size: clamp(2.15rem, 5vw, 3.75rem);
    line-height: 1.02;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.page-intro {
    max-width: 680px;
    margin: 16px 0 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #5d5146;
}

.editorial-title {
    margin: 0;
    font-weight: 700;
}

.body-copy {
    margin: 0 0 18px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5d5146;
}

.body-copy:last-child {
    margin-bottom: 0;
}

.book-author {
    margin: 8px 0 18px;
    font-style: italic;
    color: #75685b;
}

.card-summary {
    line-height: 1.6;
    color: #5d5146;
}


/* ========================================
   SHARED PAGE LAYOUT
======================================== */

.hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 72px 24px 56px;
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;
    font-size: 2rem;
}


/* ========================================
   SHARED CARDS
======================================== */

.card {
    background: #fffaf3;
    border: 1px solid #ded2c2;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(36, 28, 21, 0.05);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a5a32;
    font-weight: bold;
}

.card h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.card p {
    margin: 14px 0 18px;
    line-height: 1.55;
    color: #5d5146;
}

.card-link {
    font-weight: 600;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.b2s-save-button {
    padding: 8px 12px;
    border: 1px solid #cdbda8;
    border-radius: 6px;
    background: #fff;
    color: #2b2118;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.b2s-save-button:hover {
    background: #f1ece6;
}

.b2s-save-button:focus-visible {
    outline: 3px solid #7a5c3e;
    outline-offset: 2px;
}

.my-list-empty {
    margin-top: 24px;
    padding: 32px 24px;
    border: 1px solid #ded2c2;
    border-radius: 8px;
    background: #fffaf3;
    text-align: center;
}

.my-list-empty h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.my-list-empty p {
    margin: 0 0 14px;
    color: #5d5146;
}

.my-list-empty a {
    color: #7a5c3e;
    font-weight: 700;
}

.card-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e5d8c8;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.source-name {
    font-size: 0.9rem;
    color: #75685b;
}

.card-image {
    width: calc(100% + 44px);
    margin: -22px -22px 18px;
    aspect-ratio: 450 / 253;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #f2ece3;
}

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

.empty-state {
    background: #fffaf3;
    border: 1px dashed #c9b8a4;
    border-radius: 18px;
    padding: 28px;
    color: #5d5146;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
}

.button-primary {
    background: #2b2118;
    border: 2px solid #2b2118;
    color: #fffaf3;
}

.button-primary:hover {
    background: #443326;
    border-color: #443326;
}

.shimmer-button {
    position: relative;
    overflow: hidden;
}

.shimmer-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;

    width: 50%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );

    transform: skewX(-20deg);
    animation: button-shimmer 5s ease-in-out infinite;
}

@keyframes button-shimmer {
    0% {
        left: -75%;
    }

    55% {
        left: 125%;
    }

    100% {
        left: 125%;
    }
}

/* ========================================
   PAGINATION
======================================== */

.pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    font-weight: 600;
}

.pagination a {
    text-decoration: none;
    padding: 10px 14px;
    border: 1px solid #ded2c2;
    border-radius: 999px;
    background: #fffaf3;
}

.pagination a:hover {
    text-decoration: underline;
}

.pagination span {
    color: #75685b;
}


/* ========================================
   HOMEPAGE HERO
======================================== */

.home-hero h2 {
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 0.95;
    max-width: 820px;
}

.home-hero p {
    margin-top: 24px;
    max-width: 620px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #5d5146;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;
    border-radius: 999px;

    font: inherit;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.hero-button--primary {
    background: #7a5c3e;
    color: #fff;
    border: 2px solid #7a5c3e;
}

.hero-button--secondary {
    background: transparent;
    color: #222;
    border: 2px solid #d7c8b8;
}

/* Homepage cinematic charcoal prototype — delete this block and the .home-hero-band wrapper in index.php to revert. */
.home-hero-band {
    /* Phase 1: solid charcoal held below the buttons (includes the hero's own 56px padding). Phase 2: the fade. */
    --hold-height: 0px;
    --fade-height: 603px;
    position: relative;
    z-index: 0;
    padding-bottom: 24px;
    background:
        radial-gradient(ellipse 70% 700px at 15% 0%, rgba(184, 146, 92, 0.12), transparent 70%),
        #15181c;
}

/* Fade fills the band's bottom edge and ends in page tan, so the next section starts on plain #f7f2ea. */
.home-hero-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--fade-height);
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom,
            #15181c 0%,
            #181a1d 10%,
            #1e1d1e 20%,
            #28231f 30%,
            #392e25 40%,
            #4e3f31 50%,
            #67533f 59%,
            #836d57 68%,
            #a38f77 77%,
            #c4b6a0 85%,
            #dfd4c2 92%,
            #efe8dc 97%,
            #f7f2ea 100%);
}

@media (max-width: 900px) {
    .home-hero-band {
        --hold-height: 120px;
        --fade-height: 260px;
    }
}

@media (max-width: 600px) {
    .home-hero-band {
        --hold-height: 56px;
        --fade-height: 170px;
    }
}

.home-hero-band .home-hero h2 {
    color: #f7f2ea;
}

.home-hero-band .home-hero p {
    color: #d8cbb9;
}

.home-hero-band .home-hero p.eyebrow {
    color: #c9a56a;
}

.home-hero-band .hero-button--primary {
    background: #8a6743;
    border-color: #8a6743;
}

.home-hero-band .hero-button--secondary {
    color: #f7f2ea;
    border-color: #a8916f;
}

@media (max-width: 600px) {
    .hero-actions {
        gap: 10px;
    }

    .hero-button {
        padding: 12px 18px;
    }
}

/* ========================================
   RECENTLY RELEASED ADAPTATIONS
======================================== */

.released-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.released-card {
    min-width: 0;
}

.released-poster-link {
    display: block;
}

button.released-poster-link {
    width: 100%;
}

button.released-poster-link,
button.released-title-link,
.released-actions button {
    appearance: none;
    border: 0;
    padding: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.released-poster {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

.released-poster {
    transition: opacity 0.15s ease;
}

.released-poster:hover {
    opacity: 0.9;
}

.released-card-body h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.released-card-body h3 a,
.released-card-body h3 .released-title-link {
    color: inherit;
    text-decoration: none;
}

.released-card-body h3 a:hover,
.released-card-body h3 .released-title-link:hover {
    text-decoration: underline;
}

.released-date {
    margin: 0 0 8px;
    color: #666;
    font-size: 0.9rem;
}

.released-author {
    margin: 0 0 12px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.45;
}

.released-author a {
    color: #7a5c3e;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 600;
}

.released-author a:hover {
    text-decoration: underline;
}

.released-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
}

.released-actions a,
.released-actions button,
.released-actions .b2s-save-button {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;

    color: #7a5c3e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
}

/* Separate each visible action with a "|", skipping the first item so there's no leading separator. */
.released-actions a:not(:first-child)::before,
.released-actions button:not(:first-child)::before {
    content: "|";
    margin: 0 8px;
    color: #cdbda8;
    font-weight: 400;
}

.released-actions a:hover,
.released-actions button:hover {
    text-decoration: underline;
}

.released-actions a:focus-visible,
.released-actions button:focus-visible {
    outline: 3px solid #7a5c3e;
    outline-offset: 2px;
}

.released-more a {
    color: #7a5c3e;
    text-decoration: none;
    font-weight: 600;
}

.released-more a:hover {
    text-decoration: underline;
}

.released-more a.button-primary,
.released-more a.button-primary:hover {
    color: #fffaf3;
    text-decoration: none;
    font-weight: bold;
}

.released-more {
    margin-top: 40px;
}

@media (min-width: 701px) {
    .released-more--end {
        text-align: right;
    }
}

@media (max-width: 900px) {
    .released-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .released-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HOMEPAGE DISCOVERY FEATURE (RECOMMENDATION WIZARD ENTRY POINT)
======================================== */

.discovery-section {
    margin-top: 16px;
    padding-top: 34px;
    padding-bottom: 34px;
    border-top: 1px solid #ded2c2;
}

.discovery-feature {
    background: #fffaf3;
    border: 1px solid #ded2c2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(36, 28, 21, 0.05);
    padding: 28px 32px;
    max-width: 680px;
}

.discovery-feature h2 {
    margin: 0;
    font-size: 1.6rem;
}

.discovery-feature .body-copy {
    max-width: 560px;
}

.discovery-feature-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.discovery-feature .button {
    margin-top: 0;
}

.button-secondary {
    background: transparent;
    color: #222;
    border: 2px solid #d7c8b8;
}

.button-secondary:hover {
    background: #f2ece3;
}

/* ========================================
   HOMEPAGE B2S 100 FEATURE
======================================== */

.b2s-feature-section,
.discover-section,
#latest-announcements {
    margin-top: 16px;
    padding-top: 34px;
    padding-bottom: 34px;
    border-top: 1px solid #ded2c2;
}

.b2s-feature-heading {
    align-items: flex-start;
}

.b2s-feature-heading h2 {
    max-width: 720px;
}

.b2s-feature-heading p:not(.eyebrow) {
    max-width: 650px;
    margin: 10px 0 0;
    color: #5d5146;
    line-height: 1.55;
}

.b2s-feature-links {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
    white-space: nowrap;
}

.b2s-feature-explore {
    padding: 10px 14px;
    border-radius: 999px;
    background: #2b2118;
    color: #fffaf3;
    font-size: .9rem;
    font-weight: bold;
    text-decoration: none;
}

.b2s-feature-explore:hover {
    background: #443326;
}

.b2s-feature-all {
    color: #7a5c3e;
    font-size: .9rem;
    font-weight: bold;
    text-decoration: none;
}

.b2s-feature-all:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.b2s-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.b2s-feature-poster-link {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #eee5da;
    cursor: pointer;
}

.b2s-feature-poster-link:focus-visible,
.b2s-feature-explore:focus-visible,
.b2s-feature-all:focus-visible {
    outline: 3px solid #7a5c3e;
    outline-offset: 3px;
}

.b2s-feature-poster,
.b2s-feature-poster-link img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: #eee5da;
}

.b2s-feature-poster-link img {
    transition: opacity .15s ease;
}

.b2s-feature-poster-link:hover img {
    opacity: .86;
}

.b2s-feature-poster--empty {
    display: grid;
    place-items: center;
    color: #75685b;
    font-size: .85rem;
    text-align: center;
}

.b2s-feature-card__body {
    padding-top: 9px;
}

.b2s-feature-card__body span {
    display: block;
    margin-bottom: 4px;
    color: #8a5a32;
    font-size: .75rem;
    font-weight: bold;
    letter-spacing: .06em;
}

.b2s-feature-card__body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.b2s-feature-card__body p {
    margin: 4px 0 0;
    color: #75685b;
    font-size: .87rem;
}

@media (max-width: 760px) {
    .b2s-feature-heading {
        flex-direction: column;
    }

    .b2s-feature-links {
        padding-top: 0;
    }

    .b2s-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .b2s-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* ========================================
   HOMEPAGE LATEST GRID
======================================== */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1000px) {
    .latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .latest-grid {
        grid-template-columns: 1fr;
    }
}

#latest-announcements .card {
    padding: 16px;
}

#latest-announcements .card-image {
    width: calc(100% + 32px);
    margin: -16px -16px 14px;
}

#latest-announcements .card-meta {
    gap: 8px;
    margin-bottom: 10px;
}

#latest-announcements .card h3 {
    font-size: 1.2rem;
    line-height: 1.25;
}

#latest-announcements .card p {
    margin: 10px 0 12px;
}

#latest-announcements .card .book-author {
    margin: 5px 0 12px;
}

#latest-announcements .card-footer {
    padding-top: 12px;
    gap: 8px;
}

#latest-announcements .card-actions {
    gap: 10px;
}

/* ========================================
   HOMEPAGE ABOUT PANEL
======================================== */

.about {
    margin: 0;
    background: #2b2118;
    color: #fffaf3;
    border-radius: 24px;
    padding: 44px 36px;
}

.about h2 {
    margin: 0 0 12px;
}

.about .eyebrow {
    margin-bottom: 14px;
}

.about p {
    max-width: 720px;
    margin: 0 0 12px;
    line-height: 1.65;
    color: #eadfce;
}

.about p:last-child {
    margin-bottom: 0;
}


/* ========================================
   DISCOVER
======================================== */

.discover-section {
    padding-bottom: 34px;
}

.discover-feature {
    background: #fffaf3;
    border: 1px solid #ded2c2;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 14px 38px rgba(36, 28, 21, 0.07);
}

.discover-feature-image {
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
    background: #f2ece3;
}

.discover-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discover-feature-content {
    padding: 24px 26px 26px;
}

.discover-feature-content h3 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.12;
}

.discover-feature-content .based-on {
    margin: 14px 0 0;
    font-size: 1.05rem;
    color: #5d5146;
}

.discover-feature-content .book-author {
    margin: 7px 0 18px;
}

.discover-feature-content .card-summary {
    max-width: 780px;
    font-size: 1.05rem;
    line-height: 1.65;
}

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

.discover-card {
    display: flex;
    flex-direction: column;
    background: #fffaf3;
    border: 1px solid #ded2c2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(36, 28, 21, 0.05);
}

.discover-card-image {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: #f2ece3;
}

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

.discover-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.discover-card-content .card-meta {
    margin-bottom: 10px;
}

.discover-card-content h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.18;
}

.discover-card-content .based-on {
    margin: 8px 0 0;
    color: #5d5146;
}

.discover-card-content .book-author {
    margin: 5px 0 12px;
}

.discover-card-content .card-summary {
    margin-top: 0;
    line-height: 1.5;
}

.discover-card-content .card-footer {
    margin-top: auto;
    padding-top: 12px;
}


/* ========================================
   ABOUT PAGE
======================================== */

.about-page .section {
    padding: 18px 24px;
}

.about-hero {
    padding-top: 84px;
    padding-bottom: 32px;
}

.about-hero h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 0.98;
}

.hero-intro {
    max-width: 680px;
    margin: 24px 0 0;
    font-size: 1.2rem;
    line-height: 1.65;
    color: #5d5146;
}

.content-card {
    background: #fffaf3;
    border: 1px solid #ded2c2;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(36, 28, 21, 0.05);
}

.content-card h2 {
    margin: 0 0 16px;
    font-size: 2rem;
}

.content-card p {
    max-width: 760px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.process-step {
    padding: 24px;
    border: 1px solid #e5d8c8;
    border-radius: 18px;
    background: #fdf8f1;
}

.process-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #8a5a32;
    color: #fffaf3;
    font-size: 0.85rem;
    font-weight: bold;
}

.process-step h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.process-step p {
    margin: 0;
    font-size: 0.98rem;
}

.team-card {
    background: #2b2118;
    color: #fffaf3;
    border-radius: 24px;
    padding: 36px;
}

.team-card .eyebrow {
    color: #d7aa7a;
}

.team-card h2 {
    margin: 0 0 24px;
    font-size: 2rem;
}

.team-member {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 250, 243, 0.18);
}

.team-member:first-of-type {
    padding-top: 0;
    border-top: none;
}

.team-member:last-of-type {
    padding-bottom: 0;
}

.team-member h3 {
    margin: 0 0 6px;
    font-size: 1.45rem;
}

.team-role {
    margin: 0 0 14px;
    color: #d7aa7a;
    font-weight: bold;
    letter-spacing: 0.03em;
}

.team-description {
    margin: 0;
    max-width: 720px;
    line-height: 1.7;
    color: #eadfce;
}

.faq-card {
    padding: 36px;
    border: 1px solid #ded2c2;
    border-radius: 24px;
    background: #fffaf3;
    box-shadow: 0 10px 30px rgba(36, 28, 21, 0.05);
}

.faq-card h2 {
    margin: 0 0 18px;
    font-size: 2rem;
}

.faq-item {
    border-top: 1px solid #e5d8c8;
}

.faq-item summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    color: #241c15;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    flex: 0 0 auto;
    content: "";
    width: 14px;
    height: 14px;
    background-image: linear-gradient(#7a5c3e, #7a5c3e), linear-gradient(#7a5c3e, #7a5c3e);
    background-position: center;
    background-size: 14px 2px, 2px 14px;
    background-repeat: no-repeat;
    transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:focus-visible {
    outline: 3px solid #7a5c3e;
    outline-offset: 3px;
}

.faq-item p {
    max-width: 760px;
    margin: 0 36px 22px 0;
    color: #5d5146;
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
    .faq-item summary::after {
        transition: none;
    }
}

.contribute-card {
    text-align: center;
    padding: 44px 36px;
    background: #eadfce;
    border-radius: 24px;
}

.contribute-card h2 {
    margin: 0 0 14px;
    font-size: 2rem;
}

.contribute-card p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 700px) {
    .section-heading {
        display: block;
    }

    .hero {
        padding-top: 12px;
    }

    .discover-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .discover-feature-image {
        aspect-ratio: 16 / 9;
    }

    .discover-card-image {
        aspect-ratio: 16 / 9;
    }

    .discover-feature-content {
        padding: 24px;
    }

    .discover-feature-content h3 {
        font-size: 1.9rem;
    }

    .discover-card-content {
        padding: 22px;
    }

    .content-card,
    .team-card,
    .faq-card,
    .contribute-card {
        padding: 28px 24px;
    }

    .faq-card h2 {
        font-size: 1.75rem;
    }

    .faq-item summary {
        min-height: 60px;
        gap: 12px;
        font-size: 1.05rem;
    }

    .faq-item p {
        margin-right: 0;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .site-header-inner {
        align-items: flex-start;
    }
}