/* Hero — 1 büyük panel + dikey peep paneller (referans: marketplace strip) */
.tk-hero {
    padding: 0.25rem 0 1.5rem;
    background: transparent;
}

.tk-hero__shell {
    border-radius: 1.15rem;
    overflow: hidden;
    background: #0d1016;
    box-shadow: var(--tk-shadow-sm, 0 4px 16px rgba(20, 24, 31, 0.06));
}

.tk-hero__panels {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) repeat(var(--tk-hero-peeps, 3), minmax(0, 1fr));
    gap: 3px;
    height: clamp(300px, 38vw, 420px);
    min-height: 280px;
    background: #0d1016;
}

.tk-hero__panel {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    text-decoration: none;
    display: block;
}

.tk-hero__panel:hover,
.tk-hero__panel:focus-visible {
    color: #fff;
}

.tk-hero__panel:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
    z-index: 2;
}

.tk-hero__panel picture {
    position: absolute;
    inset: 0;
    display: block;
}

.tk-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.7s var(--tk-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.tk-hero__image--fullfigure {
    object-fit: cover;
    object-position: center 18%;
}

.tk-hero__panel:hover .tk-hero__image,
.tk-hero__panel:focus-visible .tk-hero__image {
    transform: scale(1.04);
}

.tk-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.tk-hero__panel--featured .tk-hero__shade {
    background:
        linear-gradient(105deg, rgba(8, 10, 16, 0.72) 0%, rgba(8, 10, 16, 0.35) 42%, rgba(8, 10, 16, 0.12) 68%, rgba(8, 10, 16, 0.28) 100%),
        linear-gradient(180deg, rgba(8, 10, 16, 0.15) 0%, transparent 35%, rgba(8, 10, 16, 0.55) 100%);
}

.tk-hero__panel--compact .tk-hero__shade {
    background:
        linear-gradient(180deg, rgba(8, 10, 16, 0.05) 0%, rgba(8, 10, 16, 0.2) 45%, rgba(8, 10, 16, 0.72) 100%);
}

.tk-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    color: #fff;
    pointer-events: none;
}

.tk-hero__panel--featured .tk-hero__content {
    justify-content: space-between;
    align-items: flex-start;
    padding: clamp(1.15rem, 2.2vw, 1.85rem) clamp(1.2rem, 2.4vw, 2rem);
}

.tk-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: min(36ch, 92%);
}

.tk-hero__eyebrow {
    display: block;
    margin: 0;
    font-family: var(--tk-font, "Manrope", sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.tk-hero__title {
    display: block;
    margin: 0;
    font-family: var(--tk-font, "Manrope", sans-serif);
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.tk-hero__text {
    display: block;
    margin: 0.35rem 0 0;
    max-width: 34ch;
    font-family: var(--tk-font, "Manrope", sans-serif);
    font-size: clamp(0.86rem, 1.15vw, 1rem);
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.tk-hero__cta {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.55rem;
    padding: 0.55rem 1.25rem;
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: rgba(12, 14, 20, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--tk-font, "Manrope", sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: none;
    transition:
        transform 0.25s var(--tk-ease, ease),
        background 0.2s ease,
        border-color 0.2s ease;
}

.tk-hero__panel:hover .tk-hero__cta,
.tk-hero__panel:focus-visible .tk-hero__cta {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff;
}

.tk-hero__panel--compact .tk-hero__content {
    justify-content: flex-end;
    align-items: center;
    padding: 0.85rem 0.55rem 1.05rem;
}

.tk-hero__panel--compact .tk-hero__copy {
    display: none;
}

.tk-hero__panel--compact .tk-hero__cta {
    min-height: 2.2rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.72rem;
    max-width: calc(100% - 0.4rem);
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .tk-hero__shell {
        border-radius: 1rem;
    }

    .tk-hero__panels {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
        min-height: 0;
        gap: 3px;
    }

    .tk-hero__panel--featured {
        grid-column: 1 / -1;
        min-height: 280px;
    }

    .tk-hero__panel--compact {
        min-height: 220px;
    }

    .tk-hero__panel--compact .tk-hero__copy {
        display: flex;
        margin-bottom: 0.65rem;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .tk-hero__panel--compact .tk-hero__content {
        justify-content: flex-end;
        align-items: center;
        padding: 1rem 0.85rem 1.1rem;
    }

    .tk-hero__panel--compact .tk-hero__title {
        font-size: 1.05rem;
        font-weight: 800;
    }

    .tk-hero__panel--compact .tk-hero__text,
    .tk-hero__panel--compact .tk-hero__eyebrow {
        display: none;
    }

    .tk-hero__panel--compact .tk-hero__cta {
        font-size: 0.78rem;
        padding: 0.5rem 0.95rem;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .tk-hero__panels {
        grid-template-columns: 1fr;
    }

    .tk-hero__panel--featured {
        min-height: 260px;
    }

    .tk-hero__panel--compact {
        min-height: 200px;
    }

    .tk-hero__title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tk-hero__image {
        transition: none;
    }

    .tk-hero__panel:hover .tk-hero__cta,
    .tk-hero__panel:focus-visible .tk-hero__cta {
        transform: none;
    }
}
