/* ═══════════════════════════════════════════════════════
   UnveilHiddenUSA — Featured Hero v2
   File: uhusa-featured-hero.css
   Layout: Left = dark content panel | Right = clean image
   Zero text-over-image overlap. Desktop + Mobile responsive.
═══════════════════════════════════════════════════════ */

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

/* ── scoped reset ── */
.uhf-hero,
.uhf-hero * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ══════════════════════════════════════════════
   SECTION — full viewport width breakout
══════════════════════════════════════════════ */
.uhf-hero {
    position: relative;
    left: 50%;
    margin-left:  -50vw !important;
    margin-right: -50vw !important;
    width:  100vw !important;
    max-width: 100vw !important;
    float: none !important;
    clear: both;

    display: grid;
    grid-template-columns: 1fr 1fr;   /* 50 / 50 split */
    min-height: 560px;
    font-family: 'DM Sans', sans-serif;
    background: #0a1f3c;             /* fallback if image fails */
}

/* ══════════════════════════════════════════════
   LEFT PANEL — solid dark background, all text
══════════════════════════════════════════════ */
.uhf-hero-left {
    background: #0a1f3c;             /* solid navy — no image here */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 52px 56px 56px;
    position: relative;
    z-index: 2;

    /* subtle right-edge shadow to separate from image */
    box-shadow: 6px 0 32px rgba(0,0,0,0.35);
}

/* Gold top accent line on left panel */
.uhf-hero-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e8a838, #f5c96a, #e8a838);
}

/* ── "Featured Article" label ── */
.uhf-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e8a838;
    margin-bottom: 18px;
}
.uhf-hero-label svg {
    width: 13px;
    height: 13px;
    color: #e8a838;
    flex-shrink: 0;
}

/* ── Category pills ── */
.uhf-hero-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.uhf-hero-cat {
    display: inline-block;
    background: rgba(232,168,56,0.12);
    border: 1px solid rgba(232,168,56,0.4);
    color: #f5c96a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
.uhf-hero-cat:hover {
    background: rgba(232,168,56,0.25);
    color: #fff;
}

/* ── Gold rule ── */
.uhf-hero-rule {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #e8a838, #f5c96a);
    border-radius: 3px;
    margin-bottom: 20px;
}

/* ── Title ── */
.uhf-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.55rem, 2.4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 16px;
}
.uhf-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}
.uhf-hero-title a:hover { color: #f5c96a; }

/* ── Excerpt ── */
.uhf-hero-excerpt {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.78;
    font-weight: 300;
    margin-bottom: 24px;
}

/* ── Meta row ── */
.uhf-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}
.uhf-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}
.uhf-hero-meta-item svg {
    width: 13px;
    height: 13px;
    color: #e8a838;
    flex-shrink: 0;
}
.uhf-hero-meta-sep {
    color: rgba(232,168,56,0.4);
    font-size: 0.85rem;
}

/* ── CTA Button ── */
.uhf-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #e8a838 0%, #c9960a 100%);
    color: #0a1f3c;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    align-self: flex-start;
    box-shadow: 0 6px 22px rgba(232,168,56,0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.uhf-hero-btn svg {
    width: 16px;
    height: 16px;
    color: #0a1f3c;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}
.uhf-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(232,168,56,0.52);
}
.uhf-hero-btn:hover svg { transform: translateX(4px); }

/* ══════════════════════════════════════════════
   RIGHT PANEL — pure image, zero text on top
══════════════════════════════════════════════ */
.uhf-hero-right {
    position: relative;
    overflow: hidden;
}

.uhf-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 6s ease;
}
.uhf-hero:hover .uhf-hero-img {
    transform: scale(1.04);
}

/* Subtle left-edge fade so image blends into panel */
.uhf-hero-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, #0a1f3c, transparent);
    z-index: 2;
    pointer-events: none;
}

/* No image placeholder */
.uhf-hero-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #111e35;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(232,168,56,0.4);
}
.uhf-hero-img-placeholder svg {
    width: 52px;
    height: 52px;
}
.uhf-hero-img-placeholder span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

/* ── Date badge — bottom-left corner of image ── */
.uhf-hero-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 4;
    background: linear-gradient(135deg, #e8a838, #c9960a);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.uhf-hero-badge-month {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0a1f3c;
}
.uhf-hero-badge-day {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a1f3c;
    margin-top: 2px;
}

/* ── "New" ribbon — top-right of image ── */
.uhf-hero-new-ribbon {
    position: absolute;
    top: 20px;
    right: -1px;
    z-index: 4;
    background: #b91c1c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 16px 6px 12px;
    border-radius: 3px 0 0 3px;
    box-shadow: -3px 3px 12px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 900px)
   Stack vertically: image top, content below
══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .uhf-hero {
        grid-template-columns: 1fr;
        grid-template-rows: 280px auto;
        min-height: unset;
    }

    /* Image goes on top */
    .uhf-hero-right { order: -1; min-height: 280px; }
    .uhf-hero-right::before { display: none; }

    .uhf-hero-left {
        padding: 36px 32px 44px;
        box-shadow: none;
    }
    .uhf-hero-left::before { height: 3px; }

    .uhf-hero-title { font-size: clamp(1.4rem, 4vw, 2rem); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 580px)
══════════════════════════════════════════════ */
@media (max-width: 580px) {
    .uhf-hero {
        grid-template-rows: 220px auto;
    }
    .uhf-hero-right { min-height: 220px; }
    .uhf-hero-left { padding: 28px 20px 36px; }

    .uhf-hero-title  { font-size: 1.35rem; }
    .uhf-hero-excerpt { font-size: 0.88rem; }
    .uhf-hero-meta   { gap: 6px; }
    .uhf-hero-btn    { font-size: 0.8rem; padding: 11px 22px; }

    .uhf-hero-badge  { bottom: 14px; left: 14px; padding: 8px 11px; }
    .uhf-hero-badge-day { font-size: 1.3rem; }
    .uhf-hero-new-ribbon { top: 14px; font-size: 0.6rem; padding: 5px 12px 5px 10px; }
}
