@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+3:wght@400;600&display=swap');

/* ─── Hero Grid – Full Width Layout ─────────────────────────── */

.hg-hero {
    display: grid;
    grid-template-columns: 1fr 28%;
    grid-template-rows: 520px;
    gap: 4px;
    font-family: 'Source Sans 3', sans-serif;
    overflow: hidden;
    margin: 0 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* ─── Main large panel ──────────────────────────────────────── */

.hg-main {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    height: 100%;
}

.hg-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hg-main:hover img {
    transform: scale(1.04);
}

.hg-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 60px 32px 28px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.5)  40%,
        transparent      100%
    );
}

/* ─── Side column ───────────────────────────────────────────── */

.hg-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 100%;
}

.hg-side-card {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    height: 100%;
}

.hg-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hg-side-card:hover img {
    transform: scale(1.05);
}

.hg-side-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.3)  60%,
        transparent      100%
    );
}

/* ─── Category badge ────────────────────────────────────────── */

.hg-cat {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 2px;
    margin-bottom: 10px;
    line-height: 1;
}

/* ─── Main overlay text ─────────────────────────────────────── */

.hg-overlay h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 700;
    max-width: 680px;
}

.hg-overlay p {
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    margin: 0 0 12px;
    line-height: 1.55;
    max-width: 560px;
}

.hg-meta {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

/* ─── Side card text ────────────────────────────────────────── */

.hg-side-overlay h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
}

/* ─── Responsive ────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hg-hero {
        grid-template-columns: 1fr 32%;
        grid-template-rows: 420px;
    }
}

@media (max-width: 768px) {
    .hg-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .hg-main  { height: 300px; }
    .hg-side  { grid-template-rows: 200px 200px; height: auto; }
    .hg-side-card { height: 200px; }
    .hg-overlay h2 { font-size: 20px; }
}

@media (max-width: 480px) {
    .hg-main      { height: 240px; }
    .hg-side-card { height: 170px; }
    .hg-overlay   { padding: 40px 16px 16px; }
}
