/* ==========================================================================
   Public Speaking & Spoken English Course — page-specific styles
   (personalitydevelopment.php) — loaded ON TOP of style.css, same theme:
   primary orange rgb(225, 139, 29), text #2c3e50, Poppins.
   ========================================================================== */

/* The campaign poster is portrait — show it whole instead of the 3:2 crop */
.sj-frame--poster img {
    aspect-ratio: auto;
    object-fit: contain;
    background: #fff;
}

/* Regular-price note under the offer price on the fee card */
.pd-price-was {
    font-size: 13px;
    color: #7a5a25;
    background: var(--primary-soft, #fdf3e3);
    border: 1px dashed rgba(225, 139, 29, 0.45);
    border-radius: 10px;
    padding: 9px 13px;
    margin: 2px 0 14px;
}
.pd-price-was s { opacity: 0.75; }
.pd-price-was b { color: var(--primary-hover, rgb(200, 120, 20)); }

/* Keep the hero float cards clear of the taller poster on small screens */
@media (max-width: 991.98px) {
    .sj-frame--poster img { max-height: 520px; width: 100%; object-fit: contain; }
}

/* On desktop, frame the poster with the two float cards instead of
   stacking them over the poster's own price graphics */
@media (min-width: 992px) {
    .sj-hero__media .sj-float-card--award { top: -16px; bottom: auto; left: -18px; }
    .sj-hero__media .sj-float-card--pool { bottom: -16px; right: -10px; }
    .sj-hero__media .sj-frame--poster { margin: 14px 0 16px; }
}
