/* =================================================================
   Ana sayfa hero — header-corp uyumlu (yonv2 + v1 override helpers)
   deploy-marker: yon-home-hero-v9
   ================================================================= */

.yonv2-hero__trust,
.yon-hero-h__trust {
    display: none !important;
}

/* ── yonv2 ana sayfa slider ── */
.yonv2-hero {
    --hero-accent: var(--h-blue, #667afa);
    --hero-accent-soft: var(--h-blue-soft, rgba(102, 122, 250, 0.14));
    --hero-green: var(--h-green, #11d377);
    padding: 14px 0 10px;
}

.yonv2-hero__shell {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.yonv2-hero__box {
    position: relative;
    border-radius: var(--h-radius-lg, 14px);
    overflow: hidden;
    background: var(--h-bg-card, #1c2233);
    border: 1px solid var(--h-border, rgba(50, 57, 78, 0.72));
    box-shadow: var(--h-shadow-elevated, 0 18px 48px rgba(0, 0, 0, 0.35));
}

.yonv2-hero__box::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    z-index: 6;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--hero-accent) 55%, transparent) 22%,
        color-mix(in srgb, var(--hero-green) 70%, transparent) 50%,
        color-mix(in srgb, var(--hero-accent) 55%, transparent) 78%,
        transparent 100%
    );
}

.yonv2-hero__track {
    position: relative;
    width: 100%;
    aspect-ratio: var(--hero-ar, 21 / 9);
    min-height: 220px;
    max-height: min(480px, 54vh);
}

.yonv2-hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.45s ease;
}

.yonv2-hero__slide.is-on {
    opacity: 1;
    visibility: visible;
}

.yonv2-hero__slide picture,
.yonv2-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yonv2-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        color-mix(in srgb, var(--h-bg-page, #161b28) 86%, transparent) 0%,
        color-mix(in srgb, var(--h-bg-page, #161b28) 40%, transparent) 40%,
        transparent 72%
    );
    pointer-events: none;
}

.yonv2-hero__caption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    max-width: min(480px, 86%);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: var(--h-radius, 12px);
    border: 1px solid var(--h-border, rgba(50, 57, 78, 0.72));
    background: color-mix(in srgb, var(--h-bg-card, #1c2233) 88%, transparent);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: var(--h-shadow-card, 0 8px 24px rgba(0, 0, 0, 0.28));
}

.yonv2-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--hero-accent-soft);
    border: 1px solid color-mix(in srgb, var(--hero-accent) 35%, transparent);
    color: var(--h-blue-text, #93a8ff);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.yonv2-hero__eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--h-text-muted, #94a3b8);
}

.yonv2-hero__title {
    margin: 0;
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--h-text-bright, #fff);
}

.yonv2-hero__desc {
    margin: 0;
    font-size: clamp(13px, 1.5vw, 14.5px);
    line-height: 1.55;
    color: var(--h-text, #c8d0e0);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yonv2-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--hero-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 0 0 3px var(--hero-accent-soft);
}

.yonv2-hero__slide:hover .yonv2-hero__cta {
    filter: brightness(1.06);
}

.yonv2-hero__ui {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: var(--h-radius, 12px);
    background: color-mix(in srgb, var(--h-bg-raised, #23283a) 80%, transparent);
    border: 1px solid var(--h-border, rgba(50, 57, 78, 0.72));
    backdrop-filter: blur(12px);
}

.yonv2-hero__counter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--h-text, #c8d0e0);
    font-variant-numeric: tabular-nums;
}

.yonv2-hero__counter-current {
    color: var(--h-blue-text, #93a8ff);
}

.yonv2-hero__counter-sep {
    opacity: 0.4;
}

.yonv2-hero__arrow {
    width: 34px;
    height: 34px;
    border-radius: var(--h-radius-sm, 8px);
    background: var(--h-bg-raised, #23283a);
    border: 1px solid var(--h-border, rgba(50, 57, 78, 0.72));
    color: var(--h-text-bright, #fff);
    font-size: 16px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yonv2-hero__arrow:hover {
    background: var(--hero-accent-soft);
    border-color: color-mix(in srgb, var(--hero-accent) 35%, var(--h-border));
    color: var(--h-blue-text, #93a8ff);
}

.yonv2-hero__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.yonv2-hero__dots button {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    padding: 0;
    transition: width 0.2s ease, background 0.2s ease;
}

.yonv2-hero__dots button.is-on {
    width: 22px;
    background: linear-gradient(90deg, var(--hero-accent), var(--hero-green));
}

@media (max-width: 767px) {
    .yonv2-hero__track {
        aspect-ratio: var(--hero-ar, 16 / 10);
        min-height: 200px;
        max-height: 360px;
    }

    .yonv2-hero__caption {
        left: 10px;
        right: 10px;
        bottom: 12px;
        max-width: none;
        padding: 12px 14px;
    }

    .yonv2-hero__title {
        font-size: 18px;
    }

    .yonv2-hero__desc {
        font-size: 12.5px;
    }

    .yonv2-hero__ui {
        top: 8px;
        right: 8px;
    }

    .yonv2-hero__counter {
        display: none;
    }
}
