/* ==========================================================================
   Verses of Hope - Core Styles & Hero Section
   ========================================================================== */

/* --- Variables --- */
:root {
    /* Color Palette - Signature Brand Upgrade */
    --primary: #1F6F6B;
    /* Deep Teal */
    --primary-hover: #185B57;
    --accent: #D1A22B;
    /* Warm Gold */
    --bg-main: #FAF6EF;
    /* Warm Ivory Background */
    --text-primary: #1E1A16;
    /* Deep Espresso Text */
    --text-secondary: #4A4540;
    --card-bg: #FFFFFF;
    --soft-divider: rgba(30, 26, 22, 0.08);
    --gold-accent: #D1A22B;
    --border-color: #E8E5DF;
    --teal-overlay: rgba(31, 111, 107, 0.08);

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Lora', serif;

    /* Spacing */
    --spacing-sm: 0.75rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
}

/* --- Resets & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
.serif-heading {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* --- Header / Brand --- */
.site-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

/* Subpage Header adjustments (Nav + Brand side-by-side) */
.site-header-compact {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-container-left {
    align-items: flex-start;
    gap: 0.25rem;
}

.brand-container-left .brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

.brand-container-left .brand-tagline {
    font-size: 0.9rem;
}

.site-identity-line {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    opacity: 0.8;
}

.header-presence-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* --- Texture Backgrounds --- */
.texture-bg {
    background-image: url('../images/texture-paper.jpg');
    background-repeat: repeat;
    background-size: 400px;
    background-blend-mode: multiply;
    background-color: var(--bg-main);
}

/* --- Broadcast Hero (Homepage) --- */
.broadcast-hero,
.authority-hero {
    padding: 12rem 0 10rem;
    background-color: var(--bg-main);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    max-width: 600px;
}

.authority-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.dynamic-date-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

.pyramid-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
    opacity: 0.9;
}

.broadcast-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.broadcast-heading {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.broadcast-subtext {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 600px;
    opacity: 0.9;
}

.hero-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #ebe7de;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--teal-overlay);
    pointer-events: none;
    z-index: 2;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* --- Visual Breaks --- */
.visual-break-section {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.visual-break-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.visual-break-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--teal-overlay);
    pointer-events: none;
}

.visual-break-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-break-full {
    width: 100%;
    height: 60vh;
    min-height: 400px;
}

/* --- Featured Card Slots --- */
.featured-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.featured-image-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.featured-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--teal-overlay);
    pointer-events: none;
    z-index: 2;
}

.featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* --- Buttons --- */
.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    padding: 1.1rem 2.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 111, 107, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    padding: 1.1rem 2.5rem;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 111, 107, 0.1);
}

/* --- Section Elements --- */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-weight: 600;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-family: var(--font-serif);
    font-style: italic;
}

/* --- Scripture Section & Cards --- */
.scripture-section {
    padding: var(--spacing-xl) 0;
    background-color: #fff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.scripture-card {
    background-color: var(--bg-main);
    padding: 3rem 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.scripture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-color: #E0DDD6;
}

.card-category {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
    display: block;
}

.command-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gold-accent);
    margin: 0;
}

.presence-anchor-line {
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: var(--spacing-xl) auto;
    max-width: 650px;
    line-height: 1.7;
    letter-spacing: 0.03em;
    opacity: 0.8;
}

/* --- Scripture Divider --- */
.scripture-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: var(--spacing-xl) 0;
}

.scripture-divider .line {
    height: 1px;
    width: 60px;
    background-color: var(--border-color);
}

.scripture-divider .dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold-accent);
    border-radius: 50%;
}

/* --- Pyramid Divider --- */
.pyramid-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: var(--spacing-lg) 0;
}

.pyramid-divider .line {
    height: 1px;
    flex-grow: 1;
    max-width: 100px;
    background-color: var(--border-color);
}

.pyramid-divider .text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.8;
    letter-spacing: 0.05em;
}

/* --- Devotionals Hub --- */
.card-verse {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
}

.card-verse cite {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: normal;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-encouragement {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.card-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    /* Pushes link to the bottom */
}

.card-link span {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.card-link:hover {
    color: var(--accent);
}

.card-link:hover span {
    transform: translateX(4px);
}

.card-link:hover span {
    transform: translateX(4px);
}

/* --- Pillars Section --- */
.pillars-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-main);
}

.pillars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.pillar-card {
    flex: 1 1 200px;
    /* Base width of 200px allows 5 on wide screens, 3/2 wrap, etc. */
    max-width: 320px;
    background-color: transparent;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pillar-card:hover {
    background-color: #fff;
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transform: translateY(-5px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: #f5f3ef;
    /* Slightly darker than bg for contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    /* Restrained icon color */
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    background-color: var(--accent);
    color: #fff;
}

.pillar-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.pillar-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Featured Devotional Section --- */
.devotional-section {
    padding: var(--spacing-xl) 0;
    background-color: #f7f5f0;
    /* Slightly darker and warmer neutral */
}

.devotional-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    /* Kept slightly narrower for reading comfort */
}

.devotional-content {
    flex: 1;
    max-width: 550px;
}

.devotional-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.devotional-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.devotional-scripture {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
}

.devotional-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Abstract placeholder for image, meant to look like an editorial image space */
.devotional-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.devotional-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background-color: #ebe7de;
    border-radius: 4px;
    /* Slight soft edge */
    position: relative;
}

/* Subtle decorative element for the image */
.devotional-image-placeholder::before {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    z-index: -1;
}

/* --- Quiet Prayer Section --- */
.prayer-section {
    padding: var(--spacing-xl) 0;
    background-color: #f2f4ef;
    /* Very soft, muted sage/neutral */
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.prayer-container {
    max-width: 800px;
    margin: 0 auto;
}

.prayer-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

.prayer-text {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

/* Subtle decorative quotes */
.prayer-text::before {
    content: '“';
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.15;
    font-family: var(--font-serif);
    line-height: 1;
}

.prayer-reflection {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

.prayer-tagline {
    display: block;
    margin-top: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 2rem 0;
    }

    .hero-section {
        padding: 4rem 0 5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .scripture-card {
        padding: 2.5rem 2rem;
    }

    .devotional-container {
        flex-direction: column;
        gap: 3rem;
    }

    .devotional-content {
        max-width: 100%;
        text-align: center;
    }

    .devotional-scripture {
        text-align: left;
        /* Keep scripture left-aligned for readability even when centered overall */
        font-size: 1.05rem;
    }

    .devotional-image-wrapper {
        justify-content: center;
        width: 100%;
    }

    .devotional-image-placeholder {
        max-width: 100%;
    }
}

/* --- Quiet Tools Preview Section --- */
.quiet-tools-section {
    padding: var(--spacing-xl) 0;
    background-color: #ffffff;
    /* Bright, clean space after the soft prayer section */
}

.tools-header {
    margin-bottom: 4rem;
}

.tools-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.tool-card {
    background-color: var(--bg-main);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border-color: #e2dfd8;
}

.tool-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.tool-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tool-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tool-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tool-card:hover .tool-btn {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.tools-footer {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.tools-closing {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* --- Quiet Tools Responsive --- */
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tool-card {
        padding: 2.5rem 2rem;
    }

    /* Devotionals Hub Mobile Refinements */
    .site-header-compact .container-nav {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .brand-container-left {
        align-items: center;
    }

    .page-hero {
        padding: 3rem 0;
    }

    .featured-card-large {
        flex-direction: column;
        min-height: auto;
    }

    .featured-image-soft {
        height: 250px;
        order: 1;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .featured-card-content {
        order: 2;
        padding: 2.5rem 1.5rem;
    }

    .featured-title {
        font-size: 1.75rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }

    .category-icon {
        margin-bottom: 0.5rem;
    }

    .feed-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Rotating Encouragement Strip --- */
.encouragement-strip {
    background-color: var(--accent);
    /* Uses the soft sage accent color */
    padding: 2.5rem 0;
    overflow: hidden;
    /* Hide the sliding text outside the container */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    /* Add flex to container */
    white-space: nowrap;
    /* Prevent wrapping */
}

.strip-container {
    width: 100%;
    /* Added to gracefully hide the starting clipping on some viewport widths */
    padding: 0 1.5rem;
}

.strip-content {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollHorizontal 35s linear infinite;
    /* Slowed down to be far more readable/calm */
    gap: 4rem;
    /* Spacing between phrases */
}

.strip-phrase {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    color: #ffffff;
    /* White text against sage accent */
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
}

/* Bullet decoration between items */
.strip-phrase::after {
    content: '•';
    color: rgba(255, 255, 255, 0.4);
    margin-left: 4rem;
    font-style: normal;
}

/* CSS-Only Animation to Scroll Horizontally */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(100%);
        /* Start completely off-screen right */
    }

    100% {
        transform: translateX(-100%);
        /* End completely off-screen left */
    }
}

/* Pause on hover so the user can read if they stop there */
.encouragement-strip:hover .strip-content {
    animation-play-state: paused;
}

/* ==========================================================================
   Subpages: Devotionals Hub (Aesthetic Overhaul)
   ========================================================================== */

/* Page Background */
.subpage {
    background-color: var(--bg-main);
}

/* Scripture Command Banner Component */
.scripture-command-banner {
    background-color: #7b836d;
    /* Muted olive leadership tone */
    color: #fcfbf8 !important;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.command-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.02em;
    color: #fcfbf8;
}

/* Page Hero: Minimalist & Breathable */
.page-hero {
    padding: 10rem 0 8rem;
    background-color: var(--bg-main);
    text-align: left;
}

.page-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    /* Tighter letter-spacing for premium feel */
    font-weight: 500;
}

.page-leadership-mantra {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.authority-divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    margin: 0 auto 2.5rem;
    opacity: 0.4;
}

.page-guidance {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--accent);
    /* Using the sage accent for the guiding voice */
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Layer #1.5: Leadership Welcome Section */
.leadership-welcome {
    padding: 0 0 6rem;
    background-color: transparent;
    text-align: center;
}

.welcome-content-narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.welcome-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.welcome-text {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4rem;
    font-weight: 300;
}

.subtle-divider {
    width: 80px;
    height: 1px;
    background-color: var(--accent);
    margin: 0 auto;
    opacity: 0.3;
}

/* Layer #2: Scripture Authority Band */
.scripture-authority-band {
    padding: 6rem 0;
    background-color: #f7f6f2;
    /* Subtle beige background */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Center decorative dividers */
.scripture-authority-band::before,
.scripture-authority-band::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    opacity: 0.4;
}

.scripture-authority-band::before {
    top: 2rem;
}

.scripture-authority-band::after {
    bottom: 2rem;
}

.scripture-band-content {
    max-width: 750px;
    margin: 0 auto;
}

.band-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.band-scripture {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
}

.band-cite {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Featured Devotional Area (Layered Layout) */
.featured-devo-area {
    padding: 4rem 0 10rem;
    position: relative;
    overflow: hidden;
}

/* The Background Layer (Soft Dawn Gradient) */
.featured-devo-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(163, 168, 153, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 70%, rgba(224, 221, 214, 0.2) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.featured-card-large {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background-color: transparent;
    /* Card transparency for layering */
    border: none;
    border-radius: 0;
    overflow: visible;
    min-height: 600px;
    align-items: center;
    gap: 0;
}

.featured-image-soft {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe7df 100%);
    position: relative;
    box-shadow: 20px 40px 80px rgba(0, 0, 0, 0.04);
    z-index: 1;
    border: 1px solid var(--border-color);
}

/* Overlapping Text Card */
.featured-card-content {
    background-color: #fff;
    padding: 5rem 6rem;
    margin-left: -100px;
    /* The overlap */
    z-index: 2;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    position: relative;
}

.featured-card-content::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    opacity: 0.3;
    pointer-events: none;
}

.featured-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.featured-scripture {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

.featured-excerpt {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

/* Encouragement Page Specifics */
.encouragement-grid-area {
    padding: 10rem 0;
    background-color: #fff;
}

.encouragement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.encouragement-card {
    padding: 4rem 3rem;
    background-color: #fcfbf8;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.encouragement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}

.enc-card-tag {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

.enc-card-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.enc-card-excerpt {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.enc-card-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.enc-card-link:hover {
    color: var(--accent);
}

/* Layer #2.5: Move Forward Today Motivational Section */
.move-forward-section {
    padding: 6rem 0;
    background-color: transparent;
}

/* Global Next Step Section (Forward-Moving Faith Coach Mode) */
.next-step-section {
    padding: 8rem 0;
    background-color: transparent;
}

.next-step-panel {
    max-width: 850px;
    margin: 0 auto;
    padding: 7rem 4rem;
    background-color: #f3efe8;
    /* Warm neutral background */
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(163, 168, 153, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.03);
}

.step-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

.next-step-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.next-step-text {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4rem;
    font-weight: 300;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.next-step-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.next-step-actions .btn {
    min-width: 220px;
}

/* Layer #2.7: Today's Declaration Strip */
.declaration-strip {
    padding: 6rem 0;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.declaration-strip-text {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-primary);
    font-style: italic;
    font-weight: 400;
    margin: 0;
}

/* Prayer Builder Preview Section */
.prayer-preview-section {
    padding: 10rem 0;
    background-color: var(--bg-main);
}

.prayer-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 5rem;
}

.preview-step {
    text-align: center;
}

.preview-step-num {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.preview-step-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.preview-step-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* Layer #2.7: Today's Declaration */
.declaration-section {
    padding: 8rem 0;
    background-color: transparent;
    text-align: center;
}

.declaration-content {
    max-width: 600px;
    margin: 0 auto;
}

.declaration-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

.declaration-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.declaration-list {
    margin-bottom: 4rem;
}

.declaration-list p {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-style: italic;
    font-weight: 400;
}

.declaration-section .btn {
    min-width: 250px;
}

/* Category Grid: Floating Tiles */
.devo-categories {
    padding: 10rem 0;
    background-color: #fff;
    position: relative;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.category-card {
    background-color: var(--bg-main);
    border: none;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-bottom: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-12px);
    background-color: #fff;
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.05);
    border-bottom-color: var(--accent);
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background-color: rgba(163, 168, 153, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.category-card:hover .category-icon {
    background-color: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.category-name {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-count {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.85rem;
    color: #aaa;
}

/* Recent Devotionals Feed: Magazine Style */
.recent-devo-list {
    padding: 12rem 0;
    background-color: var(--bg-main);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.devo-feed {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feed-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6rem;
    animation: fadeIn 1s ease-out;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--accent);
}

.feed-date {
    color: var(--text-secondary);
    opacity: 0.6;
}

.feed-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.feed-title a:hover {
    color: var(--accent);
}

.feed-excerpt {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2;
    font-weight: 300;
    max-width: 90%;
}

.feed-actions {
    margin-top: 8rem;
    text-align: center;
}

/* Layer #3: Quiet Guidance CTA Section */
.quiet-guidance-cta {
    padding: 10rem 0;
    background-color: #fff;
    text-align: center;
}

.cta-content-boxed {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 4rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    position: relative;
    border-radius: 2px;
}

/* Thin accent frame */
.cta-content-boxed::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(163, 168, 153, 0.2);
    pointer-events: none;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
}

.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .featured-card-large {
        grid-template-columns: 1fr;
    }

    .featured-card-content {
        margin-left: 0;
        margin-top: -60px;
        padding: 4rem 2.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .devo-feed {
        gap: 4rem;
    }

    .feed-item {
        padding-bottom: 4rem;
    }

    .feed-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Overriding and extending common elements for subpages */
.subpage .site-header-compact {
    border-bottom: none;
    /* Cleaner, floating effect */
    background: transparent;
}

.subpage .container-nav {
    padding: 2rem 1.5rem;
}

@media (max-width: 768px) {
    .prayer-preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Trust Statement --- */
.trust-statement {
    padding: 5rem 0;
    /* Expanded padding to match the breathing room of other sections */
    background-color: var(--bg-main);
    /* Bring it back to the warm core neutral */
    text-align: center;
}

.trust-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Ensure consistent container padding */
}

.trust-message {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    /* Slight bump for readability */
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    /* Give disclaimer more space */
}

.trust-highlight {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.15rem;
}

.trust-disclaimer {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9DA097;
    /* Very subtle grey, recessed slightly more than secondary text */
}

/* --- Footer --- */
.site-footer {
    background-color: #2E2C28;
    color: #ffffff;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--accent);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1100px;
}

.footer-brand-section {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.footer-mission {
    font-size: 0.9rem;
    color: #9DA097;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

.footer-links-grid {
    display: flex;
    gap: 6rem;
}

.footer-nav-col {
    min-width: 140px;
}

.footer-col-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--gold-accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #D3D4CE;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.8;
}

.footer-nav a:hover {
    color: var(--gold-accent);
    text-decoration: underline;
    opacity: 1;
}

.footer-bottom {
    width: 100%;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

/* --- Return Engine Elements --- */
.declaration-strip-alt {
    background-color: #F6F4F0;
    padding: 3.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.declaration-strip-text-alt {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin: 0;
}

.return-micro-line-container {
    text-align: center;
    padding: 2.5rem 0;
    background-color: var(--bg-main);
}

.return-micro-line {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    font-style: italic;
    letter-spacing: 0.05em;
}

/* Prayer Builder Specifics */
.prayer-framework-area {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.prayer-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prayer-step-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.prayer-step-card:hover {
    border-color: var(--accent);
}

.prayer-step-card.active {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.step-header {
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-number {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
    flex-grow: 1;
    margin-left: 2rem;
}

.step-icon {
    color: var(--accent);
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.prayer-step-card.active .step-icon {
    transform: rotate(180deg);
}

.step-body {
    max-height: 0;
    padding: 0 3rem;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.prayer-step-card.active .step-body {
    max-height: 400px;
    padding-bottom: 3rem;
}

.step-prompt {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.prayer-input {
    width: 100%;
    min-height: 120px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-main);
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.prayer-input:focus {
    border-color: var(--accent);
}

/* --- Form Utilities --- */
.utility-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* Scripture Anchor Bar */
.scripture-anchor-bar {
    padding: 4rem 0;
    background-color: #f7f6f2;
    /* Subtle beige */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.rotating-scripture {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    font-style: italic;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.rotating-scripture.fade-in {
    opacity: 1;
}

/* --- Interactive Tools --- */
.tool-content-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breathing-space {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
}

.breath-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: breathe 8s infinite ease-in-out;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(2.5);
        opacity: 0.4;
    }
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

/* Prayer Completion Message */
.prayer-completion {
    padding: 10rem 0;
    background-color: #fff;
}

.completion-box {
    max-width: 700px;
    margin: 0 auto;
}

.completion-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 4rem;
    line-height: 1.4;
}

/* Prayer Builder Progress */
.prayer-progress-container {
    max-width: 800px;
    margin: 4rem auto 2rem;
    padding: 0 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.progress-bar-bg {
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--accent);
    width: 0%;
    transition: width 0.5s ease;
}

/* Prayer Summary Box */
.prayer-summary-box {
    display: none;
    /* Shown via JS */
    max-width: 800px;
    margin: 6rem auto;
    padding: 5rem 4rem;
    background-color: #fff;
    border: 1px solid var(--accent);
    border-radius: 4px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.summary-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.summary-content {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-primary);
    white-space: pre-wrap;
    margin-bottom: 4rem;
}

.summary-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

/* Saved Prayers Section */
.saved-prayers-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.saved-prayer-card {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.saved-prayer-date {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

/* --- Footer Responsive Adjustments --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-brand-section {
        max-width: 100%;
    }

    .footer-links-grid {
        gap: 3rem;
        flex-direction: column;
        width: 100%;
    }

    .footer-nav-col {
        min-width: 100%;
    }

    .footer-bottom {
        text-align: left;
    }
}

/* --- Encouragement Page Specifics --- */
.encouragement-hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background-color: var(--bg-main);
    text-align: center;
}

.encouragement-steps {
    padding: var(--spacing-xl) 0;
    background-color: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    padding: 3rem 2rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-color: var(--accent);
}

.step-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.step-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.directive-line {
    display: block;
    margin-top: 5rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.theme-grid-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-main);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.theme-card {
    background-color: #fff;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.theme-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.theme-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.theme-count {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--accent);
}

/* --- Filter Status Banner --- */
.filter-status {
    background-color: #f2f4ef;
    border: 1px solid var(--accent);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    display: none;
}

.filter-status strong {
    color: var(--accent);
    text-transform: capitalize;
}

.filter-status .clear-filter {
    color: var(--text-secondary);
    text-decoration: underline;
    margin-left: 1rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.filter-status .clear-filter:hover {
    color: var(--accent);
}

/* --- Signature Image System --- */
.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    text-align: left !important;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--teal-overlay);
    pointer-events: none;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-image-container:hover img {
    transform: scale(1.05);
}

/* Mid-Page Visual Break */
.visual-break-section {
    width: 100%;
    padding: var(--spacing-lg) 0;
}

.visual-break-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.visual-break-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--teal-overlay);
    pointer-events: none;
}

.visual-break-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Featured Thumbnails */
.featured-with-thumb {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.featured-thumb-slot {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--bg-main);
}

.featured-thumb-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Recent Feed Thumbnails */
.feed-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feed-thumb {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--bg-main);
}

.feed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center !important;
        gap: 3rem;
    }

    .hero-image-container {
        order: -1;
        aspect-ratio: 16/9;
    }

    .featured-with-thumb {
        flex-direction: column;
        gap: 1.5rem;
    }

    .featured-thumb-slot {
        width: 100%;
        height: 200px;
    }
}