.blog-btn {
    background: var(--b2c-primary, #1d4ed8);
    border-color: var(--b2c-primary, #1d4ed8);
    color: #ffffff;
}
.blog-btn:hover,
.blog-btn:focus {
    background: var(--b2c-primary-dark, #1739ab);
    border-color: var(--b2c-primary-dark, #1739ab);
    color: #ffffff;
}

.hero-bg {
    position: relative;
    overflow: hidden;
    min-height: var(--hero-height-vh, 62vh);
    display: flex;
    align-items: center;
    color: var(--hero-text-color, #ffffff);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 7s ease;
    filter: brightness(1.05) contrast(1.08) saturate(1.08);
    transform: scale(1);

    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-mode-animated .hero-slide.active {
    transform: scale(1.07);
}

.hero-mode-static .hero-slide {
    transition: none;
}

.hero-slide-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-slide-link-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.home-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--b2c-radius-lg, 16px);
    overflow: hidden;
    background: #000;
}

.home-video-player iframe,
.home-video-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.blog-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--b2c-radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--b2c-shadow-sm, 0 4px 16px rgba(0,0,0,.08));
}

.hero-content {
    position: relative;
    z-index: 3;

    pointer-events: none;
}

.hero-content a,
.hero-content button {
    pointer-events: auto;
}

.hero-content .badge p,
.hero-content .btn p {
    margin: 0;
    display: inline;
}

.hero-bg h1,
.hero-bg p {
    color: var(--hero-text-color, #ffffff);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    overflow-wrap: anywhere;
}

.hero-bg h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-btn-row {
    flex-wrap: wrap;
    row-gap: .75rem;
}

.hero-bg .lead { font-size: clamp(1rem, 2vw, 1.2rem); }

.hero-bg .badge {
    background-color: var(--hero-badge-color, #2563eb) !important;
    color: #16130a;
    font-size: .78rem;
    letter-spacing: .04em;
}

.hero-bg .btn-info.hero-main-btn {
    background-color: var(--hero-badge-color, #2563eb) !important;
    border-color: var(--hero-badge-color, #2563eb) !important;
    color: #16130a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.hero-bg .btn-info.hero-main-btn:hover {
    filter: brightness(0.94);
    color: #16130a;
    transform: translateY(-2px);
}

.hero-bg .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    transition: background .2s ease, transform .2s ease;
}
.hero-bg .btn-outline-light:hover { transform: translateY(-2px); }

.home-banner-slider {
    border-radius: var(--b2c-radius-lg, 16px);
    background-color: var(--b2c-surface-muted, #f0f0f0);
    border: 1px solid var(--b2c-line, #e0e0e0);
    box-shadow: var(--b2c-shadow-sm);
}

.hero-bg ~ section img.rounded { box-shadow: var(--b2c-shadow-sm); }

@media (max-width: 991px) {
    .hero-bg { min-height: 58vh; }
}

@media (max-width: 768px) {
    .hero-bg { min-height: 52vh; }
    .home-banner-slider { border-radius: var(--b2c-radius-md, 12px); }
}

@media (max-width: 480px) {
    .hero-bg { min-height: 46vh; }
    .hero-bg .d-flex.gap-3 { flex-direction: column; width: 100%; }
    .hero-bg .d-flex.gap-3 .btn { width: 100%; }
}

.home-shelf-link {
    color: var(--b2c-primary, #0dcaf0) !important;
}

.hero-btn-row a p { display: inline; margin: 0; }
