/* ============================================================
   FB Photo Feed — Spiritual Program Post Styles
   Classic, devotional, world-class aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ── Wrapper ─────────────────────────────────────────────── */
.spp-wrap {
    font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
    color: #2c1a0e;
    max-width: 860px;
    margin: 0 auto 40px;
    background: #fdf8f0;
    border: 1px solid #e0c898;
}

/* ── Hero banner ─────────────────────────────────────────── */
.spp-hero {
    background: #1a0a00;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(200,151,42,.04) 2px,
            rgba(200,151,42,.04) 4px
        );
    padding: 52px 40px 44px;
    text-align: center;
    border-bottom: 3px solid #c8972a;
}

.spp-hero-om {
    color: #c8972a;
    font-size: 22px;
    letter-spacing: 10px;
    margin-bottom: 16px;
    opacity: .85;
}

.spp-hero-title {
    font-family: 'Cinzel', 'Palatino Linotype', serif !important;
    color: #f5dfa0 !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    text-shadow: 0 1px 20px rgba(200,151,42,.3);
    letter-spacing: .5px;
}

.spp-hero-subtitle {
    color: #c8972a;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-family: 'Cinzel', serif;
}

.spp-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.spp-meta-item {
    color: #e8c878;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'EB Garamond', Georgia, serif;
}

.spp-meta-item + .spp-meta-item::before {
    content: '·';
    color: #c8972a;
    font-size: 18px;
    line-height: 1;
}

.spp-meta-dot {
    display: none;
}

/* ── Ornamental dividers ─────────────────────────────────── */
.spp-ornament {
    text-align: center;
    padding: 18px 0 10px;
    color: #c8972a;
    font-size: 16px;
    letter-spacing: 10px;
    background: #fdf8f0;
}

.spp-divider {
    text-align: center;
    padding: 12px 0;
    color: #c8972a;
    font-size: 16px;
    letter-spacing: 8px;
    opacity: .5;
    background: #fdf8f0;
}

/* ── Introduction text ───────────────────────────────────── */
.spp-intro {
    padding: 24px 48px 20px;
    text-align: center;
    border-bottom: 1px solid #e8d5b0;
    background: #fdf8f0;
}

.spp-intro p,
.spp-intro p * {
    font-size: 18px !important;
    line-height: 1.9 !important;
    color: #4a2e10 !important;
    font-style: italic;
    font-family: 'EB Garamond', Georgia, serif !important;
    margin: 0 !important;
}

/* ── Program sections ────────────────────────────────────── */
.spp-section {
    padding: 30px 40px 10px;
    background: #fdf8f0;
}

.spp-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.spp-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8972a 40%, #c8972a 60%, transparent);
}

.spp-section-badge {
    background: #3d1f00;
    color: #f5dfa0;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 7px 18px;
    border-radius: 2px;
    white-space: nowrap;
    text-transform: uppercase;
    border: 1px solid #c8972a;
    flex-shrink: 0;
}

/* ── Section description text ────────────────────────────── */
.spp-section-body {
    margin-bottom: 20px;
}

.spp-section-body p {
    font-size: 17px !important;
    line-height: 1.9 !important;
    color: #3a2010 !important;
    font-family: 'EB Garamond', Georgia, serif !important;
    margin-bottom: 12px !important;
}

/* ── Photo gallery spacing inside sections ───────────────── */
.spp-section .fbpf-wrap {
    margin-bottom: 10px;
}

.spp-section .fbpf-gallery-title {
    display: none; /* title is shown in the badge */
}

/* ── Quote block ─────────────────────────────────────────── */
.spp-quote-wrap {
    padding: 0 40px;
    margin: 4px 0 24px;
    background: #fdf8f0;
}

.spp-quote {
    border-left: 4px solid #c8972a;
    background: #fdf2e0;
    padding: 20px 28px;
    margin: 0;
}

.spp-quote p {
    font-style: italic;
    font-size: 19px !important;
    color: #4a2e10 !important;
    line-height: 1.8 !important;
    margin: 0 0 10px !important;
    font-family: 'EB Garamond', Georgia, serif !important;
}

.spp-quote cite {
    display: block;
    font-size: 13px;
    color: #8b6030;
    font-style: normal;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
}

/* ── Footer ──────────────────────────────────────────────── */
.spp-footer {
    background: #3d1f00;
    padding: 22px 40px;
    text-align: center;
    border-top: 2px solid #c8972a;
}

.spp-footer p {
    color: #c8972a !important;
    font-family: 'Cinzel', serif !important;
    font-size: 12px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase;
    margin: 0 !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .spp-hero          { padding: 36px 20px 30px; }
    .spp-hero-title    { font-size: 22px !important; }
    .spp-section       { padding: 24px 20px 10px; }
    .spp-intro         { padding: 20px 20px; }
    .spp-quote-wrap    { padding: 0 20px; }
    .spp-section-badge { font-size: 10px; padding: 6px 12px; }
}

/* ── Single inline photo [fb_photo] ─────────────────────── */
.fbpf-single-photo {
    border: 1px solid #e0c898;
    padding: 6px;
    background: #fdf8f0;
}

.fbpf-single-caption {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 14px;
    font-style: italic;
    color: #8b6030;
    text-align: center;
    padding: 8px 4px 2px;
}

@media (max-width: 600px) {
    .fbpf-single-photo {
        float: none !important;
        margin: 1em auto !important;
    }
}
