:root {
    --navy: #081d33;
    --navy-light: #0d2b49;
    --gold: #c99b35;
    --gold-light: #f2cf77;
    --ivory: #f7f2e6;
    --ink: #162033;
    --white: #ffffff;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background-color: var(--ivory);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.navbar {
    background-color: var(--navy) !important;
}

.navbar-brand {
    color: var(--white);
    font-weight: 700;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--gold-light);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.84);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--gold-light);
}

/* Home page */

.hero {
    min-height: calc(100vh - 116px);
    background-image: url("/images/hero-doorway.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    min-height: calc(100vh - 116px);
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(
        90deg,
        rgba(4, 9, 13, 0.92) 0%,
        rgba(4, 9, 13, 0.70) 42%,
        rgba(4, 9, 13, 0.18) 72%,
        rgba(4, 9, 13, 0.05) 100%
    );
}

.hero-intro {
    margin-bottom: 22px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25rem;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 4px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
}

.hero h2 {
    max-width: 760px;
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero .lead {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.92);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.65;
}

.hero .btn {
    border-radius: 0;
    padding: 14px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.hero .btn-warning {
    border-color: var(--gold);
    background-color: var(--gold);
    color: var(--navy);
}

.hero .btn-warning:hover,
.hero .btn-warning:focus {
    border-color: var(--gold-light);
    background-color: var(--gold-light);
    color: var(--navy);
}

/* Journey page */

.journey-page {
    min-height: calc(100vh - 116px);
    padding: 72px 0 90px;
    background:
        radial-gradient(
            circle at top right,
            rgba(201, 155, 53, 0.12),
            transparent 32%
        ),
        var(--ivory);
}

.journey-header {
    max-width: 850px;
    margin: 0 auto 52px;
    text-align: center;
}

.journey-eyebrow {
    margin-bottom: 14px;
    color: #9b6a13;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
}

.journey-header h1 {
    margin-bottom: 14px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
}

.journey-welcome {
    margin-bottom: 10px;
    color: var(--navy-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
}

.journey-introduction {
    max-width: 680px;
    margin: 0 auto;
    color: #4f5964;
    font-size: 1.05rem;
    line-height: 1.7;
}

.journey-opening-scripture {
    max-width: 640px;
    margin: 34px auto 0;
    padding: 24px 30px;
    border-top: 1px solid rgba(201, 155, 53, 0.55);
    border-bottom: 1px solid rgba(201, 155, 53, 0.55);
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
}

.journey-opening-scripture p {
    margin-bottom: 8px;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
}

.journey-opening-scripture cite {
    color: #9b6a13;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 700;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.journey-card {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    padding: 34px;
    border-top: 4px solid var(--gold);
    background-color: var(--white);
    box-shadow: 0 18px 45px rgba(8, 29, 51, 0.10);
}

.journey-card-label {
    margin-bottom: 14px;
    color: #9b6a13;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.journey-card h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1.15;
}

.journey-card p,
.journey-card blockquote {
    color: #53606d;
    line-height: 1.7;
}

.journey-card-detail {
    margin-bottom: 10px;
    color: var(--navy-light) !important;
    font-weight: 700;
}

.journey-scripture,
.journey-prayer {
    margin-bottom: 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-style: italic;
}

.journey-action {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--gold);
    color: #8a5f10;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-decoration: none;
    text-transform: uppercase;
}

.journey-action:hover,
.journey-action:focus {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

/* ===========================================================
   ONE STORY PAGE
   =========================================================== */

.start-here-page {
    position: relative;
    min-height: calc(100vh - 94px);
    padding: 150px 0 108px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 155, 53, 0.16), transparent 31%),
        linear-gradient(180deg, #fbf7ee 0%, #f5efe3 52%, #eee5d7 100%);
}

.start-here-page::before {
    position: absolute;
    top: 94px;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 155, 53, 0.42), transparent);
    content: "";
}

.start-here-page > .container {
    position: relative;
    z-index: 1;
}

.start-here-header {
    max-width: 940px;
    margin: 0 auto 66px;
    text-align: center;
}

.start-here-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    color: #9b6a13;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.28rem;
    text-transform: uppercase;
}

.start-here-eyebrow::before,
.start-here-eyebrow::after {
    display: block;
    width: 42px;
    height: 1px;
    background-color: rgba(201, 155, 53, 0.58);
    content: "";
}

.start-here-header .one-story-title {
    max-width: 820px;
    margin: 0 auto 28px;
    color: #302a24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.15rem, 5.2vw, 4.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.04;
}

.start-here-introduction {
    max-width: 720px;
    margin: 0 auto 16px;
    color: #4d463f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 1.65vw, 1.45rem);
    line-height: 1.64;
}

.start-here-welcome {
    max-width: 700px;
    margin: 0 auto 34px;
    color: #675f56;
    font-size: 1.06rem;
    line-height: 1.76;
}

.start-here-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1160px;
    margin: 0 auto;
}

.start-here-card {
    position: relative;
    display: flex;
    min-height: 305px;
    flex-direction: column;
    padding: 38px 40px 40px;
    overflow: hidden;
    border: 1px solid rgba(114, 91, 54, 0.12);
    border-top: 4px solid var(--gold);
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 240, 0.98));
    box-shadow: 0 18px 42px rgba(63, 49, 35, 0.09), 0 2px 6px rgba(63, 49, 35, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.start-here-card:hover {
    border-color: rgba(201, 155, 53, 0.34);
    box-shadow: 0 24px 52px rgba(63, 49, 35, 0.13), 0 4px 10px rgba(63, 49, 35, 0.07);
    transform: translateY(-4px);
}

.start-here-card-number {
    margin: 0 0 16px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
}

.start-here-card h2 {
    margin: 0 0 18px;
    color: #302a24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 2.3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.12;
}

.start-here-card p {
    margin: 0;
    color: #5e574f;
    font-size: 1.02rem;
    line-height: 1.78;
}

.start-here-next-step {
    position: relative;
    max-width: 900px;
    margin: 86px auto 0;
    padding: 62px 60px;
    border: 1px solid rgba(201, 155, 53, 0.28);
    border-radius: 3px;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 155, 53, 0.13), transparent 42%),
        linear-gradient(180deg, #2b2824 0%, #211f1c 100%);
    box-shadow: 0 22px 52px rgba(35, 30, 24, 0.18);
    text-align: center;
}

.start-here-next-step h2 {
    max-width: 730px;
    margin: 0 auto 22px;
    color: #f5efe2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 3.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.16;
}

.start-here-next-step .start-here-welcome {
    color: rgba(247, 242, 230, 0.8);
}

.start-here-primary-action {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #211f1c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.11rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.start-here-primary-action:hover,
.start-here-primary-action:focus {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    color: #211f1c;
    transform: translateY(-3px);
}

/* ===========================================================
   LIBRARY PAGE
   =========================================================== */

.library-page {
    position: relative;
    min-height: calc(100vh - 94px);
    padding: 150px 0 104px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201, 155, 53, 0.14),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #fbf7ee 0%,
            #f6efe3 52%,
            #efe6d8 100%
        );
}

.library-page::before {
    position: absolute;
    top: 94px;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 155, 53, 0.42),
        transparent
    );
    content: "";
}

.library-page > .container {
    position: relative;
    z-index: 1;
}

.library-header {
    max-width: 940px;
    margin: 0 auto 66px;
    text-align: center;
}

.library-eyebrow {
    margin: 0 0 16px;
    color: #9b6a13;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.23rem;
    text-transform: uppercase;
}

.library-header h1 {
    margin: 0 0 16px;
    color: #302a24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.15rem, 5.5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.02;
    text-wrap: balance;
}

.library-header h2 {
    margin: 0 0 24px;
    color: #8f6519;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
}

.library-introduction {
    max-width: 720px;
    margin: 0 auto;
    color: #5e574f;
    font-size: 1.05rem;
    line-height: 1.75;
}


/* ===========================================================
   LIVING TRUTH JOURNEY TIMELINE
   =========================================================== */

.library-roadmap {
    max-width: 980px;
    margin: 0 auto 96px;
}

.library-roadmap-header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.library-roadmap-header h2 {
    margin: 0 0 12px;
    color: #302a24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4vw, 3.45rem);
    font-weight: 700;
    line-height: 1.1;
}

.library-roadmap-header > p:last-child {
    margin: 0;
    color: #675f56;
    line-height: 1.7;
}

.journey-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.journey-timeline::before {
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 34px;
    width: 1px;
    background: linear-gradient(
        180deg,
        rgba(201, 155, 53, 0.18),
        rgba(201, 155, 53, 0.9) 8%,
        rgba(201, 155, 53, 0.9) 92%,
        rgba(201, 155, 53, 0.18)
    );
    content: "";
}

.journey-timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 70px 104px minmax(0, 1fr);
    min-height: 142px;
    align-items: center;
    gap: 28px;
    padding: 14px 0;
}

.journey-timeline-step + .journey-timeline-step {
    margin-top: 10px;
}

.journey-timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background-color: #fbf7ee;
    box-shadow: 0 5px 14px rgba(63, 49, 35, 0.08);
}

.journey-timeline-marker span {
    color: #8f6519;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.journey-timeline-cover {
    display: block;
    width: 104px;
    text-decoration: none;
    transition:
        filter 180ms ease,
        transform 180ms ease;
}

.journey-timeline-cover img {
    display: block;
    width: 100%;
    height: 138px;
    border-radius: 2px;
    box-shadow:
        0 12px 24px rgba(45, 35, 25, 0.18),
        0 2px 5px rgba(45, 35, 25, 0.12);
    object-fit: contain;
    object-position: center;
}

.journey-timeline-cover:hover,
.journey-timeline-cover:focus {
    filter: brightness(1.04);
    transform: translateY(-3px);
}

.journey-timeline-content {
    min-width: 0;
    padding: 12px 0;
}

.journey-timeline-stage,
.library-book-stage {
    margin: 0 0 8px;
    color: #865b10 !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.19rem;
    line-height: 1;
    text-transform: uppercase;
}

.journey-timeline-content h3 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 2.6vw, 2.3rem);
    font-weight: 600;
    line-height: 1.14;
}

.journey-timeline-content h3 a {
    color: #302a24;
    text-decoration: none;
    transition: color 180ms ease;
}

.journey-timeline-content h3 a:hover,
.journey-timeline-content h3 a:focus {
    color: #9b6a13;
}

.journey-timeline-content > p:last-child {
    max-width: 610px;
    margin: 0;
    color: #625a52;
    font-size: 1rem;
    line-height: 1.68;
}


/* ===========================================================
   LIBRARY CATALOG
   =========================================================== */

.library-catalog {
    position: relative;
    padding-top: 76px;
    border-top: 1px solid rgba(201, 155, 53, 0.42);
}

.library-catalog::before {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    border: 2px solid #f6efe3;
    background-color: var(--gold);
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.library-catalog-header {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.library-catalog-header h2 {
    margin: 0 0 14px;
    color: #302a24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 4.8vw, 4.1rem);
    font-weight: 700;
    line-height: 1.08;
}

.library-catalog-header > p:last-child {
    margin: 0;
    color: #675f56;
    line-height: 1.7;
}

.library-book-cover {
    width: 100%;
    height: 520px;
    padding: 14px;
    border-bottom: 1px solid rgba(114, 91, 54, 0.1);
    background: linear-gradient(180deg, #fbf8f1, #f2eadf);
    object-fit: contain;
    object-position: center;
}

.library-catalog .card {
    overflow: hidden;
    border: 1px solid rgba(114, 91, 54, 0.12);
    border-radius: 3px;
    background-color: var(--white);
    box-shadow:
        0 16px 36px rgba(63, 49, 35, 0.09),
        0 2px 5px rgba(63, 49, 35, 0.05) !important;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.library-catalog .card:hover {
    border-color: rgba(201, 155, 53, 0.34);
    box-shadow:
        0 22px 46px rgba(63, 49, 35, 0.13),
        0 4px 9px rgba(63, 49, 35, 0.06) !important;
    transform: translateY(-4px);
}

.library-catalog .card-body {
    padding: 28px;
}

.library-catalog .card h3 {
    margin: 0 0 14px;
    color: #302a24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.72rem;
    line-height: 1.16;
}

.library-catalog .card p:not(.library-book-stage) {
    color: #625a52;
    line-height: 1.68;
}

.library-catalog .journey-action {
    display: inline-flex;
    align-self: flex-start;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    margin-top: 18px !important;
    padding: 11px 17px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    color: #80580e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07rem;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.library-catalog .journey-action:hover,
.library-catalog .journey-action:focus {
    background-color: var(--gold);
    box-shadow: 0 8px 18px rgba(63, 49, 35, 0.14);
    color: #211f1c;
    transform: translateY(-2px);
}


/* ===========================================================
   LIBRARY — TABLET
   =========================================================== */

@media (max-width: 991px) {
    .library-page {
        padding-top: 128px;
    }

    .journey-timeline-step {
        grid-template-columns: 64px 90px minmax(0, 1fr);
        gap: 22px;
    }

    .journey-timeline::before {
        left: 31px;
    }

    .journey-timeline-marker {
        width: 64px;
        height: 64px;
    }

    .journey-timeline-cover {
        width: 90px;
    }

    .journey-timeline-cover img {
        height: 122px;
    }
}


/* ===========================================================
   LIBRARY — MOBILE
   =========================================================== */

@media (max-width: 767px) {
    .library-page {
        padding: 116px 0 78px;
    }

    .library-header {
        margin-bottom: 52px;
        text-align: center;
    }

    .library-header h1 {
        font-size: clamp(2.75rem, 12vw, 3.8rem);
    }

    .library-header h2 {
        font-size: 1.3rem;
    }

    .library-roadmap {
        margin-bottom: 68px;
    }

    .library-roadmap-header {
        margin-bottom: 34px;
    }

    .journey-timeline::before {
        top: 30px;
        bottom: 30px;
        left: 27px;
    }

    .journey-timeline-step {
        grid-template-columns: 56px 74px minmax(0, 1fr);
        min-height: 122px;
        gap: 14px;
        padding: 10px 0;
    }

    .journey-timeline-marker {
        width: 56px;
        height: 56px;
    }

    .journey-timeline-marker span {
        font-size: 0.86rem;
    }

    .journey-timeline-cover {
        width: 74px;
    }

    .journey-timeline-cover img {
        height: 104px;
    }

    .journey-timeline-stage {
        margin-bottom: 6px;
        font-size: 0.64rem;
        letter-spacing: 0.13rem;
    }

    .journey-timeline-content h3 {
        margin-bottom: 7px;
        font-size: clamp(1.2rem, 5.8vw, 1.55rem);
    }

    .journey-timeline-content > p:last-child {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .library-catalog {
        padding-top: 58px;
    }

    .library-catalog-header {
        margin-bottom: 34px;
        text-align: center;
    }

    .library-book-cover {
        height: 460px;
    }
}


/* ===========================================================
   LIBRARY — SMALL MOBILE
   =========================================================== */

@media (max-width: 480px) {
    .journey-timeline::before {
        left: 23px;
    }

    .journey-timeline-step {
        grid-template-columns: 48px 60px minmax(0, 1fr);
        gap: 11px;
    }

    .journey-timeline-marker {
        width: 48px;
        height: 48px;
    }

    .journey-timeline-cover {
        width: 60px;
    }

    .journey-timeline-cover img {
        height: 88px;
    }

    .journey-timeline-content > p:last-child {
        display: none;
    }
}

.site-footer {
    padding: 24px 0;
    border-top: 1px solid rgba(226, 181, 67, 0.7);
    background: linear-gradient(180deg, #2a2723 0%, #211f1c 100%);
    color: rgba(247, 242, 230, 0.72);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 767px) {
    .hero,
    .hero-overlay {
        min-height: calc(100vh - 104px);
    }

    .hero {
        background-position: 58% center;
    }

    .hero-overlay {
        align-items: flex-end;
        padding: 70px 0 55px;
        background: linear-gradient(
            0deg,
            rgba(4, 9, 13, 0.96) 0%,
            rgba(4, 9, 13, 0.78) 55%,
            rgba(4, 9, 13, 0.25) 100%
        );
    }

    .hero .lead {
        font-size: 1.05rem;
    }

    .hero .btn {
        display: block;
        width: 100%;
        margin: 0 0 12px !important;
    }

    .journey-page,
    .start-here-page,
    .library-page {
        padding: 52px 0 70px;
    }

    .journey-header,
    .start-here-header,
    .library-header,
    .library-roadmap-header,
    .library-catalog-header {
        text-align: left;
    }

    .journey-header,
    .start-here-header,
    .library-header {
        margin-bottom: 38px;
    }

    .journey-opening-scripture {
        padding: 20px 0;
    }

    .journey-grid,
    .start-here-grid {
        grid-template-columns: 1fr;
    }

    .journey-card,
    .start-here-card {
        min-height: auto;
        padding: 28px;
    }

    .start-here-primary-action {
        width: 100%;
        text-align: center;
    }

    .roadmap-step {
        padding: 28px 24px;
        text-align: left;
    }

    .roadmap-step p:last-child {
        margin: 0;
    }

    .library-book-cover {
        height: 460px;
    }
}	

.ministry-brand-logo {
    display: block;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .ministry-brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .ministry-brand-name {
        font-size: 1.2rem;
    }

    .ministry-brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.2rem;
    }

    .navbar-nav {
        gap: 2px;
        padding-top: 18px;
    }

    .nav-contact {
        margin-left: 0;
        margin-top: 8px;
        text-align: left;
    }
}

/* ===========================================================
   FINAL SITE HEADER AND NAVIGATION
   =========================================================== */

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

.site-navigation {
    position: relative;

    min-height: 94px;

    padding: 0;

    border-bottom: 1px solid rgba(226, 181, 67, 0.78);

    background:
        linear-gradient(
            180deg,
            rgba(42, 39, 35, 0.97) 0%,
            rgba(37, 34, 30, 0.965) 52%,
            rgba(31, 29, 26, 0.97) 100%
        ) !important;

    box-shadow:
        0 5px 22px rgba(0, 0, 0, 0.24),
        0 1px 0 rgba(255, 255, 255, 0.03) inset,
        0 -1px 8px rgba(212, 175, 55, 0.08) inset;

    -webkit-backdrop-filter: blur(8px) saturate(108%);
    backdrop-filter: blur(8px) saturate(108%);
}


/* ===========================================================
   HEADER CONTAINER
   =========================================================== */

.site-navigation .container {
    display: flex;

    width: 100%;
    max-width: 1540px;
    min-height: 94px;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-right: 24px;
    padding-left: 24px;
}

.site-navigation::after {
    position: absolute;

    right: 0;
    bottom: -1px;
    left: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(212, 175, 55, 0.34) 10%,
            rgba(244, 217, 139, 0.92) 50%,
            rgba(212, 175, 55, 0.34) 90%,
            transparent 100%
        );

    box-shadow:
        0 0 8px rgba(212, 175, 55, 0.2);

    content: "";

    pointer-events: none;
}


/* ===========================================================
   MINISTRY BRAND
   =========================================================== */

.site-navigation .ministry-brand {
    display: inline-flex !important;

    width: auto;
    min-width: 0;

    align-items: center;
    justify-content: flex-start;

    flex: 0 0 auto;
    flex-direction: row !important;

    gap: 16px;

    margin: 0;
    padding: 7px 0;

    color: var(--white);

    text-decoration: none;

    white-space: nowrap;
}

.site-navigation .ministry-brand-logo {
    display: block;

    width: 66px;
    height: 66px;

    flex: 0 0 66px;

    object-fit: contain;
    object-position: center;

    filter:
        drop-shadow(
            0 3px 7px rgba(0, 0, 0, 0.28)
        );
}

.site-navigation .ministry-brand-title {
    display: inline-block;

    margin: 0;

    color: #f5efe2;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.22rem, 1.42vw, 1.48rem);

    font-weight: 700;

    letter-spacing: 0.04em;

    line-height: 1.08;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35);

    white-space: nowrap;

    transition:
        color 180ms ease;
}

.site-navigation .ministry-brand:hover .ministry-brand-title,
.site-navigation .ministry-brand:focus .ministry-brand-title {
    color: var(--gold-light);
}


/* ===========================================================
   DESKTOP NAVIGATION
   =========================================================== */

.site-navigation .navbar-collapse {
    flex-grow: 0;
}

.site-navigation .navbar-nav {
    align-items: center;

    gap: clamp(9px, 0.85vw, 15px);

    margin: 0;

    white-space: nowrap;
}

.site-navigation .navbar-nav .nav-link {
    position: relative;

    padding: 35px 0 32px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.78rem;

    font-weight: 500;

    letter-spacing: 0.01em;

    line-height: 1;

    text-transform: none;

    white-space: nowrap;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.site-navigation .navbar-nav .nav-link::after {
    position: absolute;

    right: 0;
    bottom: 22px;
    left: 0;

    height: 1px;

    background-color: var(--gold-light);

    content: "";

    opacity: 0;

    transform: scaleX(0);

    transform-origin: center;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.site-navigation .navbar-nav .nav-link:hover,
.site-navigation .navbar-nav .nav-link:focus,
.site-navigation .navbar-nav .nav-link.active,
.site-navigation .navbar-nav .nav-link[aria-current="page"] {
    color: var(--gold-light);
}

.site-navigation .navbar-nav .nav-link:hover::after,
.site-navigation .navbar-nav .nav-link:focus::after,
.site-navigation .navbar-nav .nav-link.active::after,
.site-navigation .navbar-nav .nav-link[aria-current="page"]::after {
    opacity: 1;

    transform: scaleX(1);
}

.site-navigation .nav-contact {
    margin-left: 2px;
}


/* ===========================================================
   MENU TOGGLER
   =========================================================== */

.site-navigation .navbar-toggler {
    padding: 7px 9px;

    border-color: rgba(242, 207, 119, 0.5);

    border-radius: 2px;

    box-shadow: none;
}

.site-navigation .navbar-toggler:hover,
.site-navigation .navbar-toggler:focus {
    border-color: var(--gold-light);

    box-shadow:
        0 0 0 2px rgba(242, 207, 119, 0.12);
}


/* ===========================================================
   HEADER — COMPACT DESKTOP
   =========================================================== */

@media (max-width: 1199px) {

    .site-navigation .container {
        gap: 12px;

        padding-right: 16px;
        padding-left: 16px;
    }

    .site-navigation .ministry-brand {
        gap: 10px;
    }

    .site-navigation .ministry-brand-logo {
        width: 56px;
        height: 56px;

        flex-basis: 56px;
    }

    .site-navigation .ministry-brand-title {
        font-size: 1.04rem;

        letter-spacing: 0.025em;
    }

    .site-navigation .navbar-nav {
        gap: 8px;
    }

    .site-navigation .navbar-nav .nav-link {
        font-size: 0.70rem;

        letter-spacing: 0;
    }
}


/* ===========================================================
   HEADER — TABLET AND MOBILE
   =========================================================== */

@media (max-width: 991px) {

    .site-navigation {
        min-height: 78px;
    }

    .site-navigation .container {
        min-height: 78px;

        flex-wrap: wrap;

        padding-top: 5px;
        padding-bottom: 5px;
    }

    .site-navigation .ministry-brand {
        gap: 10px;

        padding: 4px 0;
    }

    .site-navigation .ministry-brand-logo {
        width: 56px;
        height: 56px;

        flex-basis: 56px;
    }

    .site-navigation .ministry-brand-title {
        font-size: 1.05rem;
    }

    .site-navigation .navbar-collapse {
        width: 100%;

        flex-basis: 100%;

        padding: 12px 0 18px;

        border-top:
            1px solid rgba(201, 155, 53, 0.2);
    }

    .site-navigation .navbar-nav {
        align-items: stretch !important;

        gap: 2px;

        white-space: normal;
    }

    .site-navigation .navbar-nav .nav-link {
        padding: 11px 4px;

        font-size: 0.84rem;

        white-space: normal;
    }

    .site-navigation .navbar-nav .nav-link::after {
        right: auto;
        bottom: 6px;

        width: 34px;
    }

    .site-navigation .nav-contact {
        margin: 0;
    }
}


/* ===========================================================
   HEADER — SMALL MOBILE
   =========================================================== */

@media (max-width: 575px) {

    .site-navigation {
        min-height: 72px;
    }

    .site-navigation .container {
        min-height: 72px;
    }

    .site-navigation .ministry-brand {
        max-width: calc(100% - 58px);

        gap: 8px;
    }

    .site-navigation .ministry-brand-logo {
        width: 49px;
        height: 49px;

        flex-basis: 49px;
    }

    .site-navigation .ministry-brand-title {
        overflow: hidden;

        font-size: 0.94rem;

        text-overflow: ellipsis;
    }
}


/* ===========================================================
   REDUCED MOTION — HEADER
   =========================================================== */

@media (prefers-reduced-motion: reduce) {

    .site-navigation .ministry-brand-title,
    .site-navigation .navbar-nav .nav-link,
    .site-navigation .navbar-nav .nav-link::after {
        transition: none;
    }
}

/* ===========================================================
   JOURNEY FINAL SPACING AND NEXT STEP
   =========================================================== */

.journey-page {
    padding-top: 150px;
}

.journey-next-step {
    max-width: 900px;
    margin: 76px auto 0;
    padding: 54px 56px;
    border: 1px solid rgba(201, 155, 53, 0.24);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(63, 49, 35, 0.09);
    text-align: center;
}

.journey-next-step h2 {
    margin: 0 0 18px;
    color: #302a24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 700;
}

.journey-next-step > p:not(.journey-eyebrow) {
    max-width: 650px;
    margin: 0 auto 28px;
    color: #5e574f;
    line-height: 1.75;
}

.journey-next-step-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #211f1c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .start-here-page,
    .journey-page {
        padding-top: 128px;
    }

    .start-here-header .one-story-title {
        font-size: clamp(3rem, 7vw, 4.2rem);
    }
}

@media (max-width: 767px) {
    .start-here-page,
    .journey-page {
        padding-top: 118px;
    }

    .start-here-header {
        text-align: center;
    }

    .start-here-header .one-story-title {
        font-size: clamp(2.55rem, 12vw, 3.65rem);
    }

    .start-here-next-step,
    .journey-next-step {
        margin-top: 54px;
        padding: 42px 24px;
    }

    .start-here-primary-action,
    .journey-next-step-button {
        width: 100%;
    }
}


@media (prefers-reduced-motion: reduce) {
    .journey-timeline-cover,
    .journey-timeline-content h3 a,
    .library-catalog .card,
    .library-catalog .journey-action {
        transition: none;
    }
	
	/* ===========================================================
   RESOURCES DROPDOWN
   =========================================================== */

.site-navigation .dropdown-menu {
    min-width: 210px;

    margin-top: 0;

    padding: 8px;

    border: 1px solid rgba(201, 155, 53, 0.42);

    border-radius: 3px;

    background:
        linear-gradient(
            180deg,
            rgba(42, 39, 35, 0.99) 0%,
            rgba(31, 29, 26, 0.99) 100%
        );

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.32);

    overflow: hidden;
}

.site-navigation .dropdown-item {
    position: relative;

    padding: 12px 16px;

    border-radius: 2px;

    color: rgba(247, 242, 230, 0.88);

    font-size: 0.82rem;

    font-weight: 500;

    letter-spacing: 0.015em;

    transition:
        background-color 180ms ease,
        color 180ms ease,
        padding-left 180ms ease;
}

.site-navigation .dropdown-item:hover,
.site-navigation .dropdown-item:focus {
    background-color: rgba(201, 155, 53, 0.14);

    color: var(--gold-light);

    padding-left: 20px;
}

.site-navigation .dropdown-item.active,
.site-navigation .dropdown-item:active {
    background-color: rgba(201, 155, 53, 0.22);

    color: var(--gold-light);
}

.site-navigation .dropdown-toggle::before {
    display: none;
}

.site-navigation .dropdown-toggle::after {
    margin-left: 6px;

    vertical-align: 0.15em;

    border-top-color: rgba(242, 207, 119, 0.78);Other settings

    transition:
        transform 180ms ease;
}

.site-navigation .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}


/* ===========================================================
   RESOURCES DROPDOWN — MOBILE
   =========================================================== */

@media (max-width: 991px) {

    .site-navigation .dropdown-menu {
        margin: 2px 0 8px 14px;

        padding: 5px;

        border-color: rgba(201, 155, 53, 0.22);

        background: rgba(20, 18, 16, 0.42);

        box-shadow: none;
    }

    .site-navigation .dropdown-item {
        padding: 10px 14px;

        font-size: 0.82rem;
    }

    .site-navigation .dropdown-item:hover,
    .site-navigation .dropdown-item:focus {
        padding-left: 18px;
    }
}


/* ===========================================================
   REDUCED MOTION — DROPDOWN
   =========================================================== */

@media (prefers-reduced-motion: reduce) {

    .site-navigation .dropdown-item,
    .site-navigation .dropdown-toggle::after {
        transition: none;
    }
}
	
}