/**
 * Blog Post Layout — scoped to .choice-bp.
 *
 * px throughout: the live theme sets html { font-size: 10px }, so rem is a trap.
 * The body column is deliberately narrow for line length; the hero, CTA and
 * related row break out to full width around it.
 */

.choice-bp {
    font-size: 16px;
    font-family: proxima-nova, Arial, Helvetica, sans-serif;
    color: #4b5563;
    box-sizing: border-box;
}
.choice-bp *,
.choice-bp *::before,
.choice-bp *::after { box-sizing: inherit; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.choice-bp .bp-hero-inner {
    max-width: var(--bp-read-w, 760px);
    margin: 0 auto;
    padding: 46px 20px 30px;
    text-align: center;
}

.choice-bp .bp-back {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 600;
}
.choice-bp .bp-back a {
    color: #8b8f98;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.choice-bp .bp-back a:hover { color: var(--bp-primary, #913f90); }

.choice-bp .bp-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 16px;
}
.choice-bp .bp-cat {
    padding: 5px 14px;
    border-radius: 999px;
    background: #f6eef6;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bp-primary, #913f90);
    text-decoration: none;
}
.choice-bp .bp-cat:hover {
    background: var(--bp-primary, #913f90);
    color: #fff;
}

.choice-bp .bp-title {
    font-family: ivypresto-display, 'Times New Roman', Times, serif;
    font-weight: 300;
    font-size: 46px;
    line-height: 1.12;
    color: #2b4854;
    margin: 0 0 18px;
}

.choice-bp .bp-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    color: #8b8f98;
}

.choice-bp .bp-hero-media {
    max-width: var(--bp-wide-w, 1200px);
    margin: 0 auto 44px;
    padding: 0 20px;
}
.choice-bp .bp-hero-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    /* No fixed box: the image keeps its own proportions, never cropped, and the
       rounded corners sit on the image itself (client, 21 Sept). */
}

/* ── Body — the reading column ───────────────────────────────────────────── */
.choice-bp .bp-body {
    max-width: var(--bp-read-w, 760px);
    margin: 0 auto;
    padding: 0 20px 8px;
    font-size: 18px;
    line-height: 1.72;
}
.choice-bp .bp-body > *:first-child { margin-top: 0; }
.choice-bp .bp-body p { margin: 0 0 22px; }

.choice-bp .bp-body h2,
.choice-bp .bp-body h3,
.choice-bp .bp-body h4 {
    font-family: ivypresto-display, 'Times New Roman', Times, serif;
    font-weight: 300;
    color: #2b4854;
    line-height: 1.25;
    margin: 44px 0 14px;
}
.choice-bp .bp-body h2 { font-size: 32px; }
.choice-bp .bp-body h3 { font-size: 26px; }
.choice-bp .bp-body h4 { font-size: 21px; }

.choice-bp .bp-body a {
    color: var(--bp-primary, #913f90);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.choice-bp .bp-body ul,
.choice-bp .bp-body ol { margin: 0 0 22px; padding-left: 24px; }
.choice-bp .bp-body li { margin: 6px 0; }
.choice-bp .bp-body li::marker { color: var(--bp-primary, #913f90); }

.choice-bp .bp-body img,
.choice-bp .bp-body iframe,
.choice-bp .bp-body video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 28px auto;
}
/* Embedded players (YouTube etc.) keep 16:9 at the reading width. Gutenberg's
   embed block sizes its iframe with a padding-top pseudo-element that the
   display:block/height:auto above defeats, leaving the 150px browser default. */
.choice-bp .bp-body iframe,
.choice-bp .bp-body .wp-block-embed__wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    position: static;
}
.choice-bp .bp-body .wp-block-embed__wrapper::before { display: none; }

.choice-bp .bp-body blockquote {
    margin: 30px 0;
    padding: 6px 0 6px 22px;
    border-left: 3px solid var(--bp-accent, #37aec9);
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: #2b4854;
}

/* ── Closing CTA ─────────────────────────────────────────────────────────── */
.choice-bp .bp-cta {
    margin: 52px auto 0;
    max-width: var(--bp-read-w, 760px);
    padding: 0 20px;
}
.choice-bp .bp-cta-inner {
    border-radius: 18px;
    padding: 34px 36px;
    background: linear-gradient(120deg, var(--bp-primary, #913f90), var(--bp-accent, #37aec9));
    color: #fff;
    text-align: center;
}
.choice-bp .bp-cta-heading {
    font-family: ivypresto-display, 'Times New Roman', Times, serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 10px;
}
.choice-bp .bp-cta-text {
    margin: 0 auto 22px;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}
.choice-bp .bp-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.choice-bp .bp-cta-btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 8px;
    background: #fff;
    color: var(--bp-primary, #913f90);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease, background .2s ease, color .2s ease;
}
.choice-bp .bp-cta-btn:hover { opacity: .92; transform: translateY(-1px); }
.choice-bp .bp-cta-btn--ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
}
.choice-bp .bp-cta-btn--ghost:hover { background: #fff; color: var(--bp-primary, #913f90); }

/* ── Related ─────────────────────────────────────────────────────────────── */
.choice-bp .bp-related {
    margin-top: 60px;
    padding: 52px 0 4px;
    border-top: 1px solid #ece9f1;
}
.choice-bp .bp-related-inner {
    max-width: var(--bp-wide-w, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}
.choice-bp .bp-related-heading {
    font-family: ivypresto-display, 'Times New Roman', Times, serif;
    font-weight: 300;
    font-size: 30px;
    color: #2b4854;
    margin: 0 0 26px;
    text-align: center;
}
.choice-bp .bp-related-grid {
    display: grid;
    grid-template-columns: repeat(var(--bp-rel-cols, 3), minmax(0, 1fr));
    gap: 24px;
}

.choice-bp .bp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ece9f1;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.choice-bp .bp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(43, 72, 84, .12);
}
.choice-bp .bp-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #f4f1f7;
    overflow: hidden;
}
.choice-bp .bp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}
.choice-bp .bp-card-media--empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #f4f1f7, #e9f4f7);
}
.choice-bp .bp-card-body { padding: 18px 20px 22px; }
.choice-bp .bp-card-cat {
    margin: 0 0 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bp-primary, #913f90);
}
.choice-bp .bp-card-title {
    font-family: ivypresto-display, 'Times New Roman', Times, serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.28;
    margin: 0;
    color: #2b4854;
}
.choice-bp .bp-card-title a { color: inherit; text-decoration: none; }
.choice-bp .bp-card-title a:hover { color: var(--bp-primary, #913f90); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .choice-bp .bp-title { font-size: 34px; }
    .choice-bp .bp-body { font-size: 17px; }
    .choice-bp .bp-body h2 { font-size: 27px; }
    .choice-bp .bp-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .choice-bp .bp-hero-inner { padding: 30px 16px 22px; }
    .choice-bp .bp-title { font-size: 28px; }
    .choice-bp .bp-related-grid { grid-template-columns: 1fr; }
    .choice-bp .bp-cta-inner { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .choice-bp .bp-card { transition: none; }
    .choice-bp .bp-card:hover { transform: none; }
}
