/* ============================================
   kids-sunday-school.css — weekly catechism page
   Builds on the shared NextGen styles.
   ============================================ */

.catechism-hero {
    align-items: center;
    background: url('../assets/nextgen-bible.png') center 60% / cover no-repeat;
    display: flex;
    justify-content: center;
    min-height: 455px;
    position: relative;
    text-align: center;
}

.catechism-hero__shade {
    background:
        linear-gradient(180deg, rgba(20, 6, 4, 0.34), rgba(16, 4, 3, 0.48) 52%, rgba(20, 5, 4, 0.8)),
        linear-gradient(90deg, rgba(23, 6, 5, 0.32), transparent 35%, transparent 65%, rgba(23, 6, 5, 0.32));
    inset: 0;
    position: absolute;
}

.catechism-hero__content {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 44px 24px 28px;
    position: relative;
    z-index: 1;
}

.catechism-hero__cross {
    fill: var(--nextgen-gold);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.52));
    height: 72px;
    margin-bottom: -41px;
    width: 108px;
}

.catechism-hero .nextgen-wordmark {
    font-size: clamp(4.8rem, 10vw, 7.8rem);
}

.catechism-hero__title {
    border-bottom: 1px solid rgba(239, 189, 112, 0.58);
    color: #fff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.55rem, 3.4vw, 2.15rem);
    font-weight: 600;
    letter-spacing: 0.34em;
    line-height: 1.1;
    margin: 17px 0 10px;
    padding: 0 0.7em 8px 1.04em;
    text-transform: uppercase;
}

.catechism-hero__tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.8);
}

.catechism-intro {
    background:
        radial-gradient(circle at 16% 35%, rgba(139, 54, 45, 0.4), transparent 35%),
        linear-gradient(110deg, #5c2221, #3b1213 60%, #501b1b);
    padding: 62px 0;
}

.catechism-intro__grid {
    align-items: center;
    display: grid;
    gap: 32px 48px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.catechism-intro__copy {
    border-right: 1px solid rgba(239, 189, 112, 0.58);
    padding-right: 58px;
}

.catechism-intro__copy h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.08;
    margin-bottom: 18px;
}

.catechism-intro__copy > p:last-child {
    color: var(--nextgen-muted);
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 0;
    max-width: 680px;
}

.catechism-book-card {
    align-items: center;
    background: rgba(39, 9, 9, 0.3);
    border: 1px solid rgba(239, 189, 112, 0.42);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 30px 28px;
    text-align: center;
}

.catechism-book-card svg {
    fill: none;
    height: 56px;
    margin-bottom: 18px;
    stroke: var(--nextgen-gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.7;
    width: 56px;
}

.catechism-book-card__name {
    color: #fff;
    font-size: 0.92rem;
    letter-spacing: 0.2em;
    line-height: 1.55;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.catechism-book-card__scripture {
    color: var(--nextgen-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.45;
    margin: 0;
}

.catechism-book-card__scripture span {
    font-size: 0.78em;
    font-style: normal;
    white-space: nowrap;
}

.catechism-esv-notice {
    color: rgba(246, 235, 218, 0.7);
    font-size: 0.75rem;
    grid-column: 1 / -1;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.catechism-lesson {
    background: url('../assets/nextgen-bible.png') center / cover no-repeat;
    padding: 62px 0;
    position: relative;
}

.catechism-lesson__shade {
    background: linear-gradient(180deg, rgba(16, 4, 3, 0.72), rgba(22, 6, 4, 0.58));
    inset: 0;
    position: absolute;
}

.catechism-lesson__content {
    position: relative;
    z-index: 1;
}

.catechism-question-card {
    background:
        radial-gradient(circle at 54% 42%, rgba(108, 36, 35, 0.44), transparent 58%),
        rgba(42, 11, 11, 0.92);
    border: 1px solid var(--nextgen-gold);
    border-radius: 6px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.38);
    margin: 0 auto;
    max-width: 920px;
    padding: 28px 38px 22px;
}

.catechism-question-card > .nextgen-kicker {
    margin-bottom: 27px;
}

.catechism-question-card--empty {
    padding-bottom: 42px;
    padding-top: 42px;
    text-align: center;
}

.catechism-question-card--empty > .nextgen-kicker {
    margin-bottom: 12px;
}

.catechism-question-card--empty h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 10px;
}

.catechism-question-card--empty > p:last-child {
    color: var(--nextgen-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.catechism-question-card__grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: 124px 1fr;
}

.catechism-week {
    align-self: center;
    border: 1px solid rgba(239, 189, 112, 0.78);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-self: center;
    min-width: 82px;
    padding: 12px 10px;
    text-align: center;
}

.catechism-week span {
    font-size: 0.68rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.catechism-week strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.35rem;
    font-weight: 600;
    line-height: 0.95;
    margin-top: 5px;
}

.catechism-qa {
    border-left: 1px solid rgba(239, 189, 112, 0.56);
    display: grid;
    gap: 20px;
    padding: 2px 0 4px 32px;
}

.catechism-qa__row {
    display: grid;
    gap: 16px;
    grid-template-columns: 30px 1fr;
}

.catechism-qa__label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.15;
}

.catechism-qa__row p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.35rem, 2.7vw, 1.8rem);
    font-weight: 500;
    line-height: 1.18;
    margin-bottom: 0;
}

.catechism-scripture {
    border-top: 1px solid rgba(239, 189, 112, 0.36);
    margin-top: 5px;
    padding-top: 22px;
}

.catechism-scripture__label {
    color: var(--nextgen-gold);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.catechism-scripture h3 {
    color: var(--nextgen-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
}

.catechism-scripture__text {
    color: var(--nextgen-muted);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 18px;
}

.catechism-lesson-link {
    align-items: center;
    border: 1px solid rgba(239, 189, 112, 0.76);
    border-radius: 3px;
    color: var(--nextgen-gold);
    display: inline-flex;
    font-size: 0.72rem;
    gap: 9px;
    letter-spacing: 0.12em;
    padding: 10px 15px;
    margin-bottom:20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.catechism-lesson-link svg {
    fill: none;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 15px;
}

.catechism-lesson-link:hover,
.catechism-lesson-link:focus-visible {
    background: var(--nextgen-gold);
    color: #2a0b0b;
}

.catechism-question-card__source,
.catechism-question-card__practice {
    color: var(--nextgen-gold);
    font-size: 0.71rem;
    letter-spacing: 0.17em;
    text-align: center;
    text-transform: uppercase;
}

.catechism-question-card__source {
    margin: 25px 0 10px;
}

.catechism-question-card__source span {
    margin: 0 6px;
}

.catechism-question-card__practice {
    margin-bottom: 0;
}

.catechism-parent-tips {
    background:
        radial-gradient(circle at 15% 15%, rgba(127, 50, 44, 0.3), transparent 32%),
        radial-gradient(circle at 90% 80%, rgba(107, 38, 34, 0.28), transparent 30%),
        #2c0d0e;
    padding: 64px 0 68px;
}

.catechism-parent-tips__heading {
    margin: 0 auto 36px;
    max-width: 720px;
    text-align: center;
}

.catechism-parent-tips__heading .nextgen-kicker {
    margin-bottom: 10px;
}

.catechism-parent-tips__heading h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3.1rem);
    font-weight: 500;
    line-height: 1.08;
    margin-bottom: 14px;
}

.catechism-parent-tips__heading > p:last-child {
    color: var(--nextgen-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}

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

.catechism-parent-tip {
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(92, 31, 30, 0.72), rgba(54, 15, 16, 0.84));
    border: 1px solid rgba(239, 189, 112, 0.35);
    border-radius: 5px;
    display: grid;
    gap: 19px;
    grid-template-columns: 52px 1fr;
    padding: 26px 28px;
}

.catechism-parent-tip svg {
    fill: none;
    height: 48px;
    stroke: var(--nextgen-gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 48px;
}

.catechism-parent-tip h3 {
    color: var(--nextgen-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 8px;
}

.catechism-parent-tip p {
    color: var(--nextgen-muted);
    font-size: 1rem;
    line-height: 1.58;
    margin-bottom: 0;
}

.catechism-conversation-starter {
    align-items: center;
    border-bottom: 1px solid rgba(239, 189, 112, 0.52);
    border-top: 1px solid rgba(239, 189, 112, 0.52);
    display: grid;
    gap: 32px;
    grid-template-columns: auto 1fr;
    margin-top: 34px;
    padding: 23px 26px;
}

.catechism-conversation-starter > p {
    color: var(--nextgen-gold);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 0;
    text-transform: uppercase;
}

.catechism-conversation-starter blockquote {
    color: var(--nextgen-cream);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-style: italic;
    line-height: 1.3;
    margin: 0;
}

.catechism-schedule {
    background:
        linear-gradient(rgba(101, 31, 29, 0.87), rgba(101, 31, 29, 0.87)),
        url('../assets/rug.png') center / 520px auto repeat;
    padding: 38px 24px 40px;
    text-align: center;
}

.catechism-schedule h2,
.catechism-contact h2 {
    color: var(--nextgen-gold);
    font-size: 0.92rem;
    font-weight: normal;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.catechism-schedule p,
.catechism-contact p {
    color: var(--nextgen-muted);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.04rem;
    font-style: italic;
    margin-bottom: 20px;
}

.catechism-contact {
    background: linear-gradient(100deg, #250b0b, #421414 50%, #250b0b);
    padding: 40px 24px;
    text-align: center;
}

.catechism-resources {
    background:
        linear-gradient(rgba(72, 22, 21, 0.9), rgba(72, 22, 21, 0.9)),
        url('../assets/rug.png') center / 520px auto repeat;
    padding: 30px 24px 34px;
    text-align: center;
}

.catechism-resources__heading {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr auto 1fr;
    margin: 0 auto;
    max-width: 760px;
}

.catechism-resources__heading > span {
    background: rgba(239, 189, 112, 0.62);
    height: 1px;
}

.catechism-resources h2 {
    color: var(--nextgen-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.catechism-resources p {
    color: var(--nextgen-muted);
    font-size: 0.78rem;
    margin-bottom: 0;
}

.catechism-resources__links {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 18px;
}

.catechism-resources__links a {
    color: var(--nextgen-cream);
    font-size: 0.84rem;
    text-underline-offset: 4px;
}

.catechism-resources__links a:hover,
.catechism-resources__links a:focus-visible {
    color: var(--nextgen-gold);
}

@media (max-width: 700px) {
    .catechism-hero {
        min-height: 410px;
    }

    .catechism-hero__title {
        letter-spacing: 0.24em;
    }

    .catechism-intro {
        padding: 50px 0;
    }

    .catechism-intro__grid {
        grid-template-columns: 1fr;
    }

    .catechism-intro__copy {
        border-bottom: 1px solid rgba(239, 189, 112, 0.48);
        border-right: 0;
        padding: 0 0 38px;
    }

    .catechism-book-card {
        justify-self: center;
        width: min(340px, 100%);
    }

    .catechism-question-card {
        padding: 27px 24px 22px;
    }

    .catechism-question-card__grid {
        gap: 26px;
        grid-template-columns: 1fr;
    }

    .catechism-week {
        justify-self: start;
    }

    .catechism-qa {
        border-left: 0;
        border-top: 1px solid rgba(239, 189, 112, 0.56);
        padding: 27px 0 0;
    }

    .catechism-scripture__text {
        font-size: 1rem;
    }

    .catechism-parent-tips {
        padding: 52px 0 56px;
    }

    .catechism-parent-tips__grid {
        grid-template-columns: 1fr;
    }

    .catechism-conversation-starter {
        gap: 10px;
        grid-template-columns: 1fr;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 480px) {
    .catechism-hero {
        min-height: 380px;
    }

    .catechism-hero__cross {
        height: 62px;
        margin-bottom: -35px;
        width: 92px;
    }

    .catechism-hero .nextgen-wordmark {
        font-size: clamp(3.65rem, 19vw, 5rem);
    }

    .catechism-hero__title {
        font-size: 1.25rem;
        letter-spacing: 0.18em;
        padding-left: 0.88em;
    }

    .catechism-hero__tagline {
        font-size: 1.08rem;
    }

    .catechism-question-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .catechism-qa__row {
        gap: 10px;
        grid-template-columns: 25px 1fr;
    }

    .catechism-qa__label {
        font-size: 1.4rem;
    }

    .catechism-question-card__source {
        line-height: 1.7;
    }

    .catechism-parent-tip {
        gap: 15px;
        grid-template-columns: 42px 1fr;
        padding: 23px 20px;
    }

    .catechism-parent-tip svg {
        height: 40px;
        width: 40px;
    }

    .catechism-resources__heading {
        grid-template-columns: 36px auto 36px;
    }

    .catechism-resources__links {
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }
}
