/* ==========================================================================
   PVM West - Hero & Subhero Styles
   ========================================================================== */

/* ==========================================================================
   HERO / SUBHERO (home.blade.php uses .hero, public.blade.php uses .subhero)
   ========================================================================== */

.hero,
.subhero {
    position: relative;
    min-height: 68vh;
    background:
        linear-gradient(0deg, rgba(16, 31, 52, 0.25), rgba(16, 31, 52, 0.25)),
        radial-gradient(circle at 78% 20%, rgba(146, 215, 247, 0.25), transparent 36%),
        linear-gradient(130deg, var(--hero-top), var(--hero-bottom));
    color: #ffffff;    
}

/* hero-only glow effect */
.hero::after {
    content: "";
    position: absolute;
    inset: auto -4rem -6rem auto;
    /* width: 33rem;
    height: 33rem; */
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 216, 249, 0.48), transparent 66%);
    pointer-events: none;
}

/* Hero Image Carousel */
.hero-image-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-image.active {
    opacity: 1;
    z-index: 2;
}

/* Subhero variant with lighter gradient */
.subhero {
    min-height: 16rem;
    background:
        linear-gradient(0deg, rgba(16, 31, 52, 0.34), rgba(16, 31, 52, 0.46)),
        radial-gradient(circle at 78% 20%, rgba(146, 215, 247, 0.34), transparent 38%),
        linear-gradient(130deg, var(--hero-top), var(--hero-bottom));
}

/* ==========================================================================
   HERO CONTENT (home.blade.php only)
   ========================================================================== */

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: clamp(3rem, 13vw, 9rem);
    padding-bottom: clamp(3rem, 11vw, 8rem);
    background:
        linear-gradient(0deg, rgba(16, 31, 52, 0.25), rgba(16, 31, 52, 0.25)),
        radial-gradient(circle at 78% 20%, rgba(146, 215, 247, 0.25), transparent 36%),
        linear-gradient(130deg, var(--hero-top), var(--hero-bottom), transparent 50%);
    border-radius: 20px;
    margin-top: 2rem;
}

.hero-content h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2rem, 4.8vw, 3.35rem);
    line-height: 1.1;
    font-weight: 700;
}

.hero-content p {
    margin: 1rem 0 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Hero content container padding override */
.hero-content .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* ==========================================================================
    SUBHERO TITLE & BREADCRUMB (public.blade.php only)
    ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb-sep {
    opacity: 0.55;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

.subhero-title {
    padding: 1.5rem 0 1.9rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.15;
    font-weight: 700;
    margin: 0;
    max-width: 24ch;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media (max-width: 860px) {
    .hero {
        min-height: 58vh;
    }

    .feature-card {
        grid-template-columns: 1fr;
    }

    .news-board {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .menu-list a {
        font-size: 1.3rem;
    }

    .post-cover-layout {
        grid-template-columns: 1fr;
        max-width: 48rem;
    }

    .post-excerpt {
        max-width: none;
    }
}
