/* ============================
   Becks2Butte — Prayer Letters
   ============================ */

/* Page intro */
/* .lead {
    font-size: 1.2rem;
    color: var(--color-soft-charcoal);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.6;
}  */

body.prayer-letters .prayer-letters-intro {
    text-align: center;
    max-width: 850px;
}

body.prayer-letters .prayer-letters-intro .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-top: 1rem;
    color: var(--color-charcoal);
}

/* Section spacing */
.section,
.section-alt {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* .section-alt {
    background-color: var(--color-gray-50);
} */

/* Timeline container */
.timeline {
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline items */
.timeline-item {
    background-color: var(--color-warm-paper);
    background-image: var(--texture-grain);
    background-size: 300px;
    background-repeat: repeat;
    background-blend-mode: multiply;

    /* Card layout */
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);

    /* Depth */
    box-shadow:
        inset 0 0 8px rgba(0,0,0,0.25),   /* subtle inner shadow */
        0 1px 4px rgba(0,0,0,0.25);       /* outer shadow */

    /* Smooth hover animation */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover lift (desktop only) */
@media (hover: hover) {
    .timeline-item:hover {
        transform: translateY(-2px);
        box-shadow:
            inset 0 0 8px rgba(0,0,0,0.25),
            0 4px 10px rgba(0,0,0,0.35); /* slightly stronger on hover */
    }
}

/* Text clarity */
.timeline-item h2,
.timeline-item a,
.timeline-item p {
    color: white;
}

.timeline-item:last-child {
    border-bottom: none;
}

/* Headings inside timeline */
.timeline-item h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-pine);
    margin-bottom: 0.75rem;
}

/* PDF links */
.timeline-item a {
    color: var(--color-pine);
    text-decoration: none;
    font-weight: 600;
}

.timeline-item a:hover {
    text-decoration: underline;
}

/* Pictures PDF link */
.pictures-link {
    font-size: 1rem;
    margin-left: 0.25rem;
    color: var(--color-charcoal);
}

/* Video wrapper */
.video-wrapper {
    margin-top: 1rem;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 800px) {

    .timeline-item h2 {
        font-size: 1.2rem;
    }

    .lead {
        font-size: 1.05rem;
    }
}

.timeline-item {
    background-color: var(--color-warm-paper);
    background-image: var(--texture-grain);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
}

.timeline-item h2 {
    margin-bottom: 0.4rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-pine);
}

.timeline-item a {
    color: var(--color-pine);
    text-decoration: none;
    font-weight: 600;
}

.timeline-item a:hover {
    text-decoration: underline;
}

.pictures-link {
    font-size: 1rem;
    margin-left: 0.25rem;
    color: var(--color-charcoal);
}

/* Video wrapper stays the same */
.video-wrapper {
    margin-top: 0.75rem;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}