/**
 * Telked Duo Hero – kétoldalas (Eladó / Vevő) hero szekció.
 *
 * HTML:
 *   <section class="telked-duo-hero">
 *     <div class="telked-duo-hero__side telked-duo-hero__side--left"  style="background-image:url(...)">
 *       <div class="telked-duo-hero__shade"></div>
 *       <article class="telked-duo-hero__content"> … </article>
 *     </div>
 *     <div class="telked-duo-hero__side telked-duo-hero__side--right" style="background-image:url(...)"> … </div>
 *   </section>
 *
 * A háttérképek INLINE érkeznek (a shortcode teszi be), ezért itt nincsenek
 * url() szabályok — csak az elrendezés, az árnyékolás és a reszponzivitás.
 *
 * NE tévesztendő össze a kemenedkódolt telked-dual-hero osztályokkal.
 */

.telked-duo-hero,
.telked-duo-hero * {
    box-sizing: border-box;
}

.telked-duo-hero {
    position: relative;
    width: 100%;
    min-height: 760px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    font-family: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #06c76b;
}

.telked-duo-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    width: 1px;
    height: 430px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .46);
    pointer-events: none;
}

.telked-duo-hero__side {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

/* A tartalom vízszintes igazítása oldalanként (a korábbi #id szabályok helyett). */
.telked-duo-hero__side--left {
    justify-content: flex-end;
}

.telked-duo-hero__side--right {
    justify-content: flex-start;
}

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

.telked-duo-hero__side--left .telked-duo-hero__shade {
    background-image: linear-gradient(90deg, #01BF6000 0%, #01BF60 58%);
}

.telked-duo-hero__side--right .telked-duo-hero__shade {
    background-image: linear-gradient(260deg, #01BF6000 0%, #01BF60 58%);
}

.telked-duo-hero__content {
    width: min(520px, calc(100% - 96px));
    color: #fff;
}

.telked-duo-hero__side--left .telked-duo-hero__content {
    margin-right: clamp(56px, 5vw, 96px);
    text-align: right;
}

.telked-duo-hero__side--right .telked-duo-hero__content {
    margin-left: clamp(56px, 5vw, 96px);
    text-align: left;
}

.telked-duo-hero__eyebrow {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .82);
    line-height: 1;
    font-family: "JetBrains Mono", Sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.telked-duo-hero h2 {
    margin: 0;
    color: #fff;
    font-family: "Schibsted Grotesk", Sans-serif;
    font-size: clamp(40px, 3.05vw, 52px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: 0;
}

.telked-duo-hero__text {
    margin: 28px 0 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.62;
    font-weight: 600;
}

.telked-duo-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
}

.telked-duo-hero__side--left .telked-duo-hero__tags {
    justify-content: flex-end;
}

.telked-duo-hero__side--right .telked-duo-hero__tags {
    justify-content: flex-start;
}

.telked-duo-hero__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid #dfe5e2;
    padding: 8px 16px;
    background: #fff;
    line-height: 1;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
}

.telked-duo-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 58px;
    margin: 30px 0 0;
    font-family: "Schibsted Grotesk", Sans-serif;
    padding: 0 30px;
    border-radius: 999px;
    background: #fff;
    color: #18221e;
    text-decoration: none;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .13);
    transition: transform .2s ease, box-shadow .2s ease;
}

.telked-duo-hero__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 44px rgba(0, 0, 0, .18);
    color: #18221e;
}

.telked-duo-hero__button .hero-cta__icon {
    flex-shrink: 0;
}

.telked-duo-hero__note {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.45;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .telked-duo-hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .telked-duo-hero::before {
        display: none;
    }

    .telked-duo-hero__side {
        min-height: auto;
        justify-content: flex-start;
        padding: 78px 24px;
    }

    .telked-duo-hero__content,
    .telked-duo-hero__side--left .telked-duo-hero__content,
    .telked-duo-hero__side--right .telked-duo-hero__content {
        width: min(720px, 100%);
        margin: 0 auto;
        text-align: left;
    }

    .telked-duo-hero__side--left .telked-duo-hero__tags,
    .telked-duo-hero__side--right .telked-duo-hero__tags {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .telked-duo-hero__side {
        padding: 56px 16px;
    }

    .telked-duo-hero h2 {
        font-size: 36px;
        line-height: 1.08;
    }

    .telked-duo-hero__text {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.56;
    }

    .telked-duo-hero__tags {
        gap: 8px;
    }

    .telked-duo-hero__tags span {
        min-height: 32px;
        padding: 8px 13px;
        font-size: 13px;
    }

    .telked-duo-hero__button {
        width: 100%;
        min-height: 56px;
        margin-top: 26px;
    }

    .telked-duo-hero__note {
        font-size: 15px;
    }
}
