/* ═══════════════════════════════════════════════════
   HERO CATEGORY GRID  [dc_hero_grid]
═══════════════════════════════════════════════════ */

.hc-hero-grid {
    display: grid;
    grid-template-columns: repeat(var(--hero-columns, 2), 1fr);
    gap: 6px;
    width: 100%;
}

/* ── Card shell ── */
.hc-hero-card {
    position: relative;
    height: var(--hero-height, 350px);
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

/* ── Background image — zooms on hover ── */
.hc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.hc-hero-card:hover .hc-hero-bg {
    transform: scale(1.07);
}

/* ── Dark-to-teal gradient overlay ── */
.hc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 75, 65, 0.92) 0%,
        rgba(10, 75, 65, 0.52) 42%,
        rgba(0, 0, 0, 0.12) 100%
    );
    transition: opacity 0.4s ease;
}
.hc-hero-card:hover .hc-hero-overlay {
    opacity: 0.78;
}

/* ── Teal inner-glow border on hover ── */
.hc-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid rgba(100, 220, 195, 0);
    box-shadow: inset 0 0 0 rgba(100, 220, 195, 0);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 3;
    pointer-events: none;
}
.hc-hero-card:hover::after {
    border-color: rgba(100, 220, 195, 0.65);
    box-shadow: inset 0 0 30px rgba(100, 220, 195, 0.12);
}

/* ── Text content — pinned to bottom-left ── */
.hc-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* Category name — underline swipes across on hover */
.hc-hero-name {
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    line-height: 1.15;
    display: block;
    background: linear-gradient(currentColor, currentColor) no-repeat left bottom;
    background-size: 0% 2px;
    padding-bottom: 4px;
    transition: background-size 0.38s ease;
}
.hc-hero-card:hover .hc-hero-name {
    background-size: 100% 2px;
}

/* CTA pill — slides up on hover */
.hc-hero-cta {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: #fff;
    background: rgba(100, 220, 195, 0.18);
    border: 1px solid rgba(100, 220, 195, 0.60);
    padding: 7px 18px;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease 0.07s, transform 0.35s ease 0.07s;
    display: inline-block;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hc-hero-card:hover .hc-hero-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hc-hero-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hc-hero-card {
        height: 300px;
    }
}
@media (max-width: 600px) {
    .hc-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 4px;
    }
    .hc-hero-card {
        height: 260px;
    }
    .hc-hero-content {
        padding: 24px 20px;
    }
}

.hc-empty {
    color: #888;
    font-style: italic;
}
