/* Psychological CTA banners — styled to blend with the LSBR editorial design
   (cream backgrounds, Playfair Display serif, gold ornaments, crimson pill buttons) */
.psy-cta {
    --psy-crimson: #A51C30;
    --psy-crimson-dark: #8B1A1A;
    --psy-gold: #C5A572;
    --psy-ink: #1C1C1C;
    --psy-slate: #475569;
    --psy-muted: #64748b;
    --psy-cream: #FDFBF7;
    --psy-cream-deep: #F8F6F1;
    --psy-hairline: #e2e8f0;
    font-family: 'Inter', system-ui, sans-serif;
    transition: opacity 0.28s ease;
}
.psy-cta--fade { opacity: 0.3; }
.psy-cta__inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.psy-cta__inner--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2.5rem;
    flex-wrap: wrap;
}
.psy-cta__copy { flex: 1 1 300px; min-width: 0; }

/* Gold ornament line — matches the site's section-header ornament */
.psy-cta__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.psy-cta__ornament span {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--psy-gold);
}
.psy-cta__ornament i {
    font-style: normal;
    font-size: 0.55rem;
    color: var(--psy-gold);
    line-height: 1;
}

.psy-cta__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--psy-gold);
}
.psy-cta__headline {
    margin: 0 0 0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--psy-ink);
}
.psy-cta__support {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--psy-slate);
    font-weight: 400;
}
.psy-cta__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    background: var(--psy-crimson);
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.psy-cta__btn:hover {
    background: var(--psy-crimson-dark);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(165, 28, 48, 0.22);
}

/* ── Strip: slim full-width row on cream, hairline borders ── */
.psy-cta--strip {
    background: var(--psy-cream);
    border-top: 1px solid var(--psy-hairline);
    border-bottom: 1px solid var(--psy-hairline);
    padding: 1.25rem 0;
}
.psy-cta--strip .psy-cta__headline { font-size: clamp(1.05rem, 2.2vw, 1.3rem); }
.psy-cta--strip .psy-cta__support { font-size: 1rem; }

/* ── Inline: in-column editorial insert (course page body) ── */
.psy-cta--inline {
    margin: 0 0 5rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--psy-cream) 0%, var(--psy-cream-deep) 100%);
    border: 1px solid var(--psy-hairline);
    border-top: 2px solid var(--psy-gold);
    text-align: center;
}
.psy-cta--inline .psy-cta__headline {
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    max-width: 34rem;
    margin: 0 auto 0.6rem;
}
.psy-cta--inline .psy-cta__support {
    max-width: 32rem;
    margin: 0 auto 1.6rem;
}

/* ── Panel: full-width centered band between page sections ── */
.psy-cta--panel {
    background: var(--psy-cream-deep);
    border-top: 1px solid var(--psy-hairline);
    border-bottom: 1px solid var(--psy-hairline);
    padding: 4.5rem 0;
    text-align: center;
}
.psy-cta--panel .psy-cta__inner { max-width: 860px; }
.psy-cta--panel .psy-cta__headline {
    font-size: clamp(1.6rem, 3.4vw, 2.25rem);
    margin-bottom: 0.85rem;
}
.psy-cta--panel .psy-cta__support {
    font-size: 1.2rem;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

/* ── Footer: quiet dark band, mirrors the site's dark sections ── */
.psy-cta--footer {
    background: #1C1C1C;
    border-top: 1px solid rgba(197, 165, 114, 0.35);
    padding: 2.5rem 0;
}
.psy-cta--footer .psy-cta__headline { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
.psy-cta--footer .psy-cta__support { color: #94a3b8; font-size: 1.05rem; }

/* ── LMS: white imperial card above page content ── */
.lms-content .psy-cta--strip {
    background: #fff;
    border: 1px solid var(--psy-hairline);
    border-left: 3px solid var(--psy-crimson);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.5rem;
}
.lms-content .psy-cta--strip .psy-cta__inner { padding: 0; max-width: none; }

@media (max-width: 768px) {
    .psy-cta__inner--row { flex-direction: column; align-items: flex-start; }
    .psy-cta--strip .psy-cta__btn,
    .psy-cta--footer .psy-cta__btn { width: 100%; }
    .psy-cta--inline { padding: 2rem 1.25rem; margin-bottom: 3.5rem; }
    .psy-cta--panel { padding: 3rem 0; }
}
