/* Shared inner-page hero (video + breadcrumbs + tag + title + subtitle + optional CTAs) */

.inner-page-hero {
    position: relative;
    width: 100%;
    min-height: 65vh;
    min-height: min(70vh, 900px);
    background-color: #02040a;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 3.5rem;
}

.inner-hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.inner-hero-video-wrap video,
.inner-hero-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.inner-hero-video-wrap img {
    display: block;
    object-position: center;
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.inner-hero-overlay--standard {
    background: linear-gradient(
        90deg,
        #02040a 0%,
        rgba(2, 4, 10, 0.92) 42%,
        rgba(2, 4, 10, 0.5) 78%,
        rgba(2, 4, 10, 0.15) 100%
    );
}

.inner-hero-overlay--v5 {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        radial-gradient(ellipse 75% 55% at 88% 38%, rgba(124, 58, 237, 0.38), transparent 58%),
        radial-gradient(ellipse 45% 40% at 15% 75%, rgba(59, 130, 246, 0.12), transparent 50%),
        linear-gradient(90deg, #030308 0%, rgba(3, 3, 12, 0.96) 42%, rgba(8, 5, 22, 0.55) 72%, transparent 100%);
}

.inner-hero-grid-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(270.02deg, rgba(0, 0, 0, 0.27) 33.28%, rgba(0, 0, 0, 0.893614) 62.26%, rgba(0, 0, 0, 0.9) 92.25%);
}

.inner-hero-ambient {
    position: absolute;
    width: 60%;
    height: 100%;
    top: -10%;
    right: -5%;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.12), transparent 70%);
}

.inner-hero-inner {
    position: relative;
    z-index: 4;
    color: #fff;
}

.inner-hero-breadcrumb {
    margin-bottom: 1.25rem;
}

.inner-hero-bc-current {
    color: rgba(255, 255, 255, 0.95);
}

/* Breadcrumb row (includes/hero-inner.php — flat a / span markup, not Bootstrap .breadcrumb) */
.inner-page-hero .dark-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.55);
}

.inner-page-hero .dark-breadcrumb a {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.inner-page-hero .dark-breadcrumb a:hover {
    color: #bae6fd;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

.inner-page-hero .dark-breadcrumb a:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.85);
    outline-offset: 3px;
    border-radius: 2px;
}

.inner-page-hero .dark-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.28);
    font-weight: 400;
    user-select: none;
}

/* Middle crumbs rendered as plain <span> (no URL) */
.inner-page-hero .dark-breadcrumb span:not(.separator):not(.current) {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
}

.inner-page-hero .dark-breadcrumb .current {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 600;
}

.inner-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 40px); /* Light upper part */
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.inner-hero-title-accent {
    background: linear-gradient(90deg, #4efee3 0%, #3B96FF 30%, #3B96FF 70%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -1.8px;
    display: block;
    margin-top: 15px;
}

.inner-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.inner-hero-meta-wrap {
    margin-top: 1rem;
}

.inner-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
}

.inner-hero-meta-sep {
    opacity: 0.5;
}

@media (max-width: 576px) {
    .inner-page-hero {
        min-height: 55vh;
        padding-top: 88px;
        padding-bottom: 2.5rem;
    }

    .inner-hero-video-wrap video,
    .inner-hero-video-wrap img {
        opacity: 0.35;
    }
}

@media (max-width: 480px) {
    .inner-hero-video-wrap video {
        display: none;
    }
    .inner-hero-video-wrap img {
        opacity: 0.45;
    }

    .inner-page-hero {
        background: linear-gradient(160deg, #02040a 0%, #0a1628 50%, #02040a 100%);
    }
}
