/* ============================================================================
   Press & media kit (/press)
   ----------------------------------------------------------------------------
   Loaded only by press.php via $head_data['pre_head_close_stuff'], as plain CSS
   rather than a partial in style.scss: the public bundle is compiled by
   bashy/compile-assets.sh, and rebuilding it with a different sass version
   rewrites colour notation across the whole file for no functional gain.
   ========================================================================== */

.press-intro {
    max-width: 640px;
    margin: 0 auto 46px;
    text-align: center;
}

.press-intro p {
    font-size: 17px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

.press-empty {
    text-align: center;
    color: #777;
    padding: 40px 0 60px;
}

/* ---------- one block per format ---------- */

.press-group {
    margin-bottom: 54px;
}

.press-group__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e6e9ee;
}

.press-group__head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #072A46;
}

.press-group__dims {
    font-size: 14px;
    font-weight: 500;
    color: #8a97a6;
}

/* ---------- cards ---------- */

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.press-card {
    margin: 0;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.press-card:hover {
    border-color: #d3dbe4;
    box-shadow: 0 10px 26px rgba(7, 42, 70, .12);
    transform: translateY(-2px);
}

/* The artwork is every shape from 850x2000 to 1920x1080, so give each preview
   the same box and letterbox the image inside it — a grid of wildly different
   card heights reads as broken rather than as variety. */
.press-card__shot {
    background: #072A46;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Tall enough that a 850x2000 roll-up still reads at a glance; a portrait piece
   capped to the same height as a landscape one shrinks to a sliver. */
.press-card__shot img {
    display: block;
    max-width: 100%;
    max-height: 340px;
    width: auto;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.press-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.press-card__body h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #072A46;
}

.press-card__size {
    margin: 0 0 14px;
    font-size: 13px;
    color: #8a97a6;
}

.press-card__dl {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 8px;
    background: #072A46;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease;
}

.press-card__dl:hover,
.press-card__dl:focus {
    background: #0054a6;
    color: #fff;
    text-decoration: none;
}

.press-card__dl i {
    font-size: 14px;
}

/* ---------- footer note ---------- */

.press-foot {
    margin-top: 10px;
    padding: 24px;
    background: #f4f7fa;
    border-radius: 12px;
    text-align: center;
}

.press-foot p {
    margin: 0;
    color: #555;
}

.press-foot a {
    color: #0054a6;
    font-weight: 600;
}

@media (max-width: 575px) {
    .press-grid {
        grid-template-columns: 1fr;
    }

    .press-card__shot {
        min-height: 180px;
    }
}
