/* Home pillar surface */
@media (min-width: 1025px) {
    .home .yo-page .yo-home-kitalar-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .home .yo-page .yo-home-kitalar-grid--world {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
    }

    .home .yo-page .yo-home-kitalar-grid .yo-kita-card {
        flex: 0 1 calc((100% - 48px) / 4);
        max-width: calc((100% - 48px) / 4);
    }
}


/* Homepage section headings */
.home .yo-hp-section__title {
    margin: 0;
    color: #1A5252;
    font-family: var(--yo-font-ui);
    font-size: clamp(1.2rem, 2.1vw, 1.8rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: uppercase;
}


/* === Destinasyon Rota Section === */
.yo-hp-rota {
    padding: 48px 0 64px;
}

.yo-hp-rota__grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.yo-hp-rota__grid::-webkit-scrollbar {
    display: none;
}

.yo-hp-rota__item,
.yo-hp-rota__card {
    flex: 0 0 140px;
    scroll-snap-align: start;
}

.yo-hp-rota__item {
    position: relative;
}

.yo-hp-rota__card {
    position: relative;
    display: block;
    width: 100%;
    height: 210px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    flex-shrink: 0;
}

.yo-hp-rota__card:hover,
.yo-hp-rota__card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,.22);
}

.yo-hp-rota__card:focus-visible {
    outline: 2px solid #e0f0e8;
    outline-offset: 3px;
}

.yo-hp-rota__bg {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.65);
    transform: scale(1.06);
    transition: filter 0.3s ease;
}

.yo-hp-rota__card:hover .yo-hp-rota__bg {
    filter: blur(1px) brightness(0.75);
}

.yo-hp-rota__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: grid;
    gap: 4px;
    min-height: 78px;
    padding: 34px 10px 12px;
    background: linear-gradient(to top, rgba(10,30,30,.9) 0%, rgba(10,30,30,.6) 46%, transparent 100%);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
    text-align: center;
}

.yo-hp-rota__title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

.yo-hp-rota__meta {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.yo-hp-rota__chevron {
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transform: translateX(0);
    transition: transform 200ms ease-out;
}

.yo-hp-rota__card:hover .yo-hp-rota__chevron,
.yo-hp-rota__card:focus-visible .yo-hp-rota__chevron {
    transform: translateX(4px);
}

.yo-hp-rota__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

/* Mobil: overflow-x clip parent etkisini kır + blur/scale kenar beyazlığını kaldır */
@media (max-width: 767px) {
    .yo-hp-rota {
        overflow-x: visible;
    }
    .yo-hp-rota__grid {
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-behavior: smooth;
    }
    .yo-hp-rota__grid--nudging {
        animation: yo-rota-grid-nudge 980ms ease-out both;
        will-change: transform;
    }
    .yo-hp-rota__bg {
        filter: blur(2px) brightness(0.65);
        width: auto;
        height: auto;
        min-width: 100%;
        min-height: 100%;
    }
    .yo-hp-rota__links {
        justify-content: center;
        margin-inline: auto;
        padding: 0;
    }
    .yo-hp-rota__link {
        flex: 0 0 auto;
    }
}

@keyframes yo-rota-grid-nudge {
    0% {
        transform: translateX(0);
    }
    34% {
        transform: translateX(-28px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Tablet ve desktop: grid'e geç */
@media (min-width: 768px) {
    .yo-hp-rota__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        overflow-x: visible;
    }
    .yo-hp-rota__card {
        flex: unset;
        height: 160px;
    }
    .yo-hp-rota__item {
        flex: unset;
    }
}

@media (min-width: 1024px) {
    .yo-hp-rota__grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 12px;
        justify-items: stretch;
    }
    .yo-hp-rota__card {
        height: 230px;
    }
    .yo-hp-rota__label {
        font-size: 15px;
    }
    .yo-hp-rota__title {
        font-size: 15px;
    }
    .yo-hp-rota__meta {
        font-size: 12px;
    }
}

/* Mobil H2 başlıkları: UPPERCASE, tek satır */
@media (max-width: 767px) {
    .home .yo-hp-section__title {
        font-size: clamp(1.02rem, 5vw, 1.28rem);
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Migrated home-specific core rules */



.home .entry-header,
.home .page-title,
.home .ct-page-title {
    display: none;
}



/* Map live dot — Türkiye */
.yo-hp-map__wrap {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
}

.yo-hp-map__wrap .yo-hp-map__img {
    border-radius: 0;
}

/* Türkiye konumu */
.yo-hp-map__dot {
    position: absolute;
    left: 55.2%;
    top: 38.8%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

/* Dalga pulse — merkezden dışa yayılır */
.yo-hp-map__dot::before {
    content: '';
    position: absolute;
    inset: 13px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.65);
    animation: yo-map-pulse 1.8s ease-out infinite;
}

/* İç nokta */
.yo-hp-map__dot::after {
    content: '';
    position: absolute;
    inset: 13px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 1px #fff, 0 0 8px rgba(34,197,94,.85);
}

.yo-hp-map__dot-home {
    display: none;
}

.yo-hp-map__tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    display: grid;
    gap: 4px;
    width: max-content;
    max-width: min(230px, calc(100vw - 32px));
    padding: 9px 11px;
    border: 1px solid rgba(26, 82, 82, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
    color: #172430;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(-50%, 4px);
    transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.yo-hp-map__tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(26, 82, 82, .16);
    border-bottom: 1px solid rgba(26, 82, 82, .16);
    background: rgba(255, 255, 255, .96);
    transform: translate(-50%, -4px) rotate(45deg);
}

.yo-hp-map__tooltip-title {
    color: #123f3f;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
}

.yo-hp-map__tooltip-text {
    color: #3d4b55;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.yo-hp-map__dot:hover .yo-hp-map__tooltip,
.yo-hp-map__dot:focus-visible .yo-hp-map__tooltip,
.yo-hp-map__dot.is-open .yo-hp-map__tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.yo-hp-map__dot:focus-visible {
    outline: 2px solid #e0f0e8;
    outline-offset: 2px;
}

@keyframes yo-map-pulse {
    0%   { transform: scale(1);   opacity: .75; }
    100% { transform: scale(7);   opacity: 0; }
}

/* Live dot — kıta kartı: label üstünde 10px, yatayda orta */
.yo-live-dot-wrap {
    --yo-tooltip-shift: 0px;
    position: absolute;
    bottom: 86px; /* label üstünden yaklaşık 50px yukarı */
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    z-index: 10;
    text-decoration: none;
}

.yo-live-dot-trigger {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.yo-live-dot {
    position: relative;
    display: block;
    width: 10px;
    height: 10px;
}

.yo-live-dot::before {
    content: '';
    position: absolute;
    inset: -11px;
    border-radius: 50%;
    border: 1px solid rgba(255, 124, 71, .68);
    background: rgba(255, 124, 71, .08);
    animation: yo-live-wave 2.8s ease-in-out infinite;
}

.yo-live-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ff7c47;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .76), 0 4px 12px rgba(0, 0, 0, .24);
}

.yo-live-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    display: grid;
    gap: 3px;
    width: max-content;
    max-width: 220px;
    padding: 9px 11px;
    border: 1px solid rgba(26, 82, 82, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
    color: #172430;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    text-decoration: none;
    transform: translate(calc(-50% + var(--yo-tooltip-shift)), 4px);
    transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.yo-live-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(26, 82, 82, .16);
    border-bottom: 1px solid rgba(26, 82, 82, .16);
    background: rgba(255, 255, 255, .96);
    transform: translate(-50%, -4px) rotate(45deg);
}

.yo-live-dot-wrap.is-open .yo-live-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translate(calc(-50% + var(--yo-tooltip-shift)), 0);
}

@media (hover: hover) and (pointer: fine) {
    .yo-live-dot-wrap:hover .yo-live-tooltip {
        opacity: 1;
        pointer-events: auto;
        transform: translate(calc(-50% + var(--yo-tooltip-shift)), 0);
    }
}

.yo-live-dot-trigger:focus-visible,
.yo-live-dot-wrap:focus-visible {
    outline: 2px solid #e0f0e8;
    outline-offset: 3px;
    border-radius: 999px;
}

.yo-live-tooltip__kicker {
    color: #a14d1c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.yo-live-tooltip__title {
    color: #172430;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

/* Footer nav inline dot */
.yo-live-dot--inline {
    position: relative ;
    bottom: auto ;
    left: auto ;
    transform: none ;
    display: block ;
    width: 7px;
    height: 7px;
}
.yo-footer-nav--live {
    display: inline-flex;
    align-items: center;
}

.yo-footer-nav-item--live {
    position: relative;
}

.yo-live-dot-wrap--inline {
    position: absolute;
    bottom: auto;
    left: auto;
    display: inline-block;
    width: 10px;
    height: 10px;
    line-height: 0;
    margin-left: 0;
    text-decoration: none;
    transform: none;
    vertical-align: baseline;
    z-index: 4;
}

.yo-live-tooltip--footer {
    left: auto;
    right: -6px;
    bottom: calc(100% + 7px);
    max-width: 210px;
    transform: translate(0, 4px);
}

.yo-live-tooltip--footer::after {
    left: auto;
    right: 12px;
    transform: translate(0, -4px) rotate(45deg);
}

.yo-live-dot-wrap--inline:hover .yo-live-tooltip,
.yo-live-dot-wrap--inline:focus-visible .yo-live-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, 0);
}

.yo-live-dot--inline::before {
    display: block;
    inset: -8px;
}
.yo-live-dot--inline::after {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ff7c47;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .72);
}

@keyframes yo-live-wave {
    0%   { transform: scale(.72); opacity: .9; }
    55%  { transform: scale(1.45); opacity: .2; }
    100% { transform: scale(.72); opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
    .yo-hp-rota__grid--nudging {
        animation: none;
    }
    .yo-live-dot::before {
        animation: none;
    }
}
