/* === media-hub.css === */

.mh-section {
    background: #071e27;
    padding: 60px 0 72px;
}

/* ── 3-column grid ───────────────────────────────────────── */
.mh-inner {
    display: grid;
    grid-template-columns: 0.65fr 1fr 1fr;
    gap: 24px;
    width: 100%;
    padding: 0 24px;
    align-items: start;
}

/* ── Card base ───────────────────────────────────────────── */
.mh-card {
    background: #f0f4f4;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* remove min-height: 480px; ← delete this line */
}

/* Change View All button color when card is hovered */
.mh-view-all--orange {
    background: #0e3d49; /* green default */
}

/* Hover entire card → bottom button turns orange */
.mh-card:hover .mh-view-all--orange,
.mh-card:hover .mh-footer {
    background: #e8521a;
}

/* Keep text white */
.mh-card:hover .mh-view-all--teal,
.mh-card:hover .mh-view-all--orange {
    color: #f2f2f2;
    font-size: 20px;
}
.mh-footer,
.mh-view-all--orange {
    transition: background 0.25s ease;
}

.mh-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0e3d49;
    padding: 20px 28px 14px;
    margin: 0;
    flex-shrink: 0;
}

/* ── COL 1: Reports ──────────────────────────────────────── */
.mh-report-list {
    list-style: none;
    flex: 1;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
}

.mh-report-item {
    border-bottom: 1px solid #7a7a7a;
    padding: 14px 0;
}

.mh-report-item:last-child {
    border-bottom: none;
}

.mh-report-item a {
    font-size: 16px;
    color: #2a2a2a;
    text-decoration: none;
    line-height: 16px;
    display: block;
    transition: color 0.2s;
    letter-spacing: 3%;
}

.mh-report-item a:hover {
    color: #0e3d49;
}

/* Orange View All button */
.mh-view-all--orange {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0e3d49;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 18px 28px;
    margin-top: auto;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mh-view-all--orange:hover {
    background: #cf4515;
}

.mh-view-all--orange svg {
    width: 18px;
    height: 18px;
}

/* ── COL 2 & 3: Press / Articles ─────────────────────────── */
.mh-article-wrap {
    position: relative;
    flex: 1;
    padding: 0 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ← content hugs the top */
    align-content: flex-start;
}

/* Articles — only active one is shown */
.mh-article {
    display: none;
}

.mh-article.is-active {
    display: block;
    animation: mhFadeIn 0.4s ease;
}

@keyframes mhFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Article image */
.mh-article-img {
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
    margin-bottom: 16px;
    background: #1a5c6b;
}

.mh-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.mh-article-img:hover img {
    transform: scale(1.04);
}

/* Fallback teal block when no image */
.mh-article-img.img-fallback {
    background: linear-gradient(135deg, #1a5c6b 0%, #0d3d49 100%);
}

.mh-date {
    display: block;
    font-size: 16px;
    color: #888;
    margin-bottom: 8px;
}

.mh-excerpt {
    font-size: 20px;
    line-height: 1.25;
    color: #000000;
    margin: 0;
}

/* ── Footer row: < View All > ────────────────────────────── */
.mh-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #0e3d49;
    padding: 16px 28px;
    margin-top: auto;
    flex-shrink: 0;
}

.mh-nav-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition:
        color 0.2s,
        background 0.2s;
    padding: 0;
}

.mh-nav-btn:hover {
    color: #f2f2f2;
    background: rgba(255, 255, 255, 0.1);
}

.mh-nav-btn svg {
    width: 18px;
    height: 18px;
}

.mh-view-all--teal {
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.2s;
}

.mh-view-all--teal:hover {
    color: #4ecdc4;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
    .mh-inner {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
    .mh-section {
        padding: 48px 0 60px;
    }
    .mh-section {
        padding: 48px 24px 60px;
    }
}

@media (max-width: 600px) {
    .mh-article-img {
        height: 180px;
    }
}

.mh-inner {
    display: grid;
    grid-template-columns: 0.65fr 1fr 1fr;
    gap: 24px;
    width: 100%;
    padding: 0 24px;
    align-items: stretch; /* ← was: start */
}

/* Each card fills its column fully */
.mh-col {
    display: flex;
    flex-direction: column;
}

.mh-card {
    flex: 1; /* ← fill the full column height */
    background: #f0f4f4;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* remove min-height: 480px if still there */
}

/* Footer always pins to bottom */
.mh-footer,
.mh-view-all--orange {
    margin-top: auto;
}

/* Article wrap: content hugs top, no stretching */
.mh-article-wrap {
    position: relative;
    flex: 0 0 auto; /* ← don't grow */
    padding: 0 28px 20px;
}
