/*
 * Hand-written site styles.
 *
 * bootstrap.min.css and styles.min.css are generated by Bootstrap Studio and
 * must not be hand-edited — regenerating them would discard the changes. This
 * file is the place for CSS written outside that tool. header.php loads it
 * last, so it wins on equal specificity.
 */

/* --- Section headings ----------------------------------------------------
 * The gold heading with a rule under it, repeated down the marketing pages.
 * Was four copies of the same inline style plus a separate 2px spacer div.
 */
.section-heading {
    color: var(--bs-primary);
    font-size: 23px;
    line-height: 27px;
    margin: 65px 0 17px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--bs-primary);
}

/* A heading that opens a page follows the title bar (or the trailer on the
 * home page) rather than another section, so it needs far less room above —
 * but not zero, or it reads as cramped. Beats the 45px mobile rule below on
 * specificity, which is intended. */
.section-heading:first-child {
    margin-top: 32px;
}

/* --- Body copy -----------------------------------------------------------
 * Replaces the repeated inline font sizing and the <span style="color:#fff">
 * wrappers; --bs-body-color is already this colour.
 */
.body-copy {
    font-size: 15px;
    line-height: 25px;
}

.body-copy:last-child {
    margin-bottom: 0;
}

/* --- Profile rows --------------------------------------------------------
 * Character bios on the home page and credits on the team page: a round
 * portrait beside its text.
 */
.profile-row + .profile-row {
    margin-top: 40px;
}

.profile-name {
    color: var(--bs-link-color);
    font-size: 22px;
    margin-bottom: 12px;
}

.profile-portrait {
    max-width: 333px;
    width: 100%;
    height: auto;
}

/* Stacked on phones, the portrait needs breathing room under it. */
@media (max-width: 767.98px) {
    .profile-portrait {
        margin-bottom: 18px;
    }

    .section-heading {
        margin-top: 45px;
    }
}

/* --- Cards ---------------------------------------------------------------
 * Interview and review cards on the news page. Equal-height rows so the
 * Watch Now buttons line up instead of floating mid-card.
 */
.media-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Pin the button to the bottom of each card. */
.media-card .card-actions {
    margin-top: auto;
    padding-top: 12px;
}

.media-card .card-thumb {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
