/**
 * Homepage responsive modernization overrides
 * Scope: mobile + tablet only, desktop stays untouched.
 */

@media (max-width: 1199px) {
    .site-page--home {
        --home-mobile-radius: 18px;
        --home-mobile-shadow: 0 14px 34px rgba(8, 24, 41, 0.14);
        --home-mobile-tap-min: 44px;
        --home-mobile-ease: cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-page--home section[id] {
        scroll-margin-top: calc(var(--chrome-height, 120px) + 14px);
    }

    .site-page--home .hero-cinematic__inner {
        padding-top: calc(var(--chrome-height, 116px) + 0.55rem);
    }

    .site-page--home .hero-cinematic__layout {
        gap: clamp(1.1rem, 2.8vw, 1.8rem);
    }

    .site-page--home .hero-cinematic__copy {
        max-width: 100%;
    }

    .site-page--home .hero-cinematic__chips {
        gap: 0.55rem;
    }

    .site-page--home .hero-chip {
        border-radius: 999px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        min-height: var(--home-mobile-tap-min);
        padding-inline: 0.8rem;
    }

    /* Header tone + compact spacing for tablet/mobile */
    .site-page--home .hero-header__utility-inner {
        min-height: 34px;
        gap: 0.5rem 0.85rem;
    }

    .site-page--home .hero-header__region {
        font-size: 0.67rem;
        letter-spacing: 0.075em;
    }

    .site-page--home .hero-header__main {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .site-page--home .hero-header__utility-link,
    .site-page--home .hero-header__social a,
    .site-page--home .hero-header__toggle,
    .site-page--home .hero-header__parent,
    .site-page--home .hero-header__link {
        min-height: var(--home-mobile-tap-min);
        min-width: var(--home-mobile-tap-min);
    }

    /* Quick strip: modern card tiles */
    .site-page--home .hero-quick-strip {
        padding: 0.6rem 0.55rem 0.45rem;
    }

    .site-page--home .hero-quick-strip__grid {
        gap: 0.55rem;
    }

    .site-page--home .hero-quick-strip__tile {
        border-right: none !important;
        border-bottom: none !important;
        border-radius: 14px;
        min-height: 74px;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        transition: transform 0.28s var(--home-mobile-ease), filter 0.22s ease, box-shadow 0.28s var(--home-mobile-ease);
        will-change: transform;
    }

    .site-page--home .hero-quick-strip__tile:hover {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .site-page--home .hero-quick-strip__tile:active {
        transform: scale(0.985);
        filter: brightness(1.05);
    }

    .site-page--home .hero-quick-strip__icon {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
    }

    .site-page--home .hero-quick-strip__text strong {
        font-size: 0.72rem;
    }

    .site-page--home .hero-quick-strip__text span {
        font-size: 0.66rem;
    }

    /* Shared section rhythm */
    .site-page--home .president-spotlight,
    .site-page--home .home-services,
    .site-page--home .news-showcase,
    .site-page--home .duyuru-hub,
    .site-page--home .haber-merkez,
    .site-page--home .home-block {
        padding-top: clamp(2.7rem, 5vw, 3.4rem);
        padding-bottom: clamp(2.7rem, 5vw, 3.4rem);
    }

    /* Card language consistency */
    .site-page--home .service-panel,
    .site-page--home .news-showcase__slide,
    .site-page--home .duyuru-spotlight__stage,
    .site-page--home .haber-merkez__stage,
    .site-page--home .president-hub__pane {
        border-radius: var(--home-mobile-radius);
        box-shadow: var(--home-mobile-shadow);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .site-page--home .service-panel__head,
    .site-page--home .news-showcase__slide-body,
    .site-page--home .duyuru-spotlight__content,
    .site-page--home .haber-merkez__pane-body,
    .site-page--home .president-hub__content {
        padding: clamp(1rem, 2vw, 1.4rem);
    }

    .site-page--home .president-spotlight__grid,
    .site-page--home .news-showcase__head,
    .site-page--home .duyuru-hub__header,
    .site-page--home .haber-merkez__header {
        gap: 0.95rem;
    }

    .site-page--home .service-panel__action,
    .site-page--home .service-panel__cta,
    .site-page--home .home-block__link,
    .site-page--home .news-showcase__all-link,
    .site-page--home .duyuru-hub__all,
    .site-page--home .haber-merkez__all-link,
    .site-page--home .president-hub__read,
    .site-page--home .president-spotlight__cta,
    .site-page--home .portal-card {
        min-height: var(--home-mobile-tap-min);
    }

    /* Premium buton geçiş dili */
    .site-page--home .service-panel__action,
    .site-page--home .service-panel__cta,
    .site-page--home .home-block__link,
    .site-page--home .news-showcase__all-link,
    .site-page--home .duyuru-hub__all,
    .site-page--home .haber-merkez__all-link,
    .site-page--home .president-hub__read,
    .site-page--home .president-spotlight__cta {
        transition: transform 0.24s var(--home-mobile-ease), box-shadow 0.24s var(--home-mobile-ease), background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
        will-change: transform;
    }

    .site-page--home .service-panel__action:active,
    .site-page--home .service-panel__cta:active,
    .site-page--home .home-block__link:active,
    .site-page--home .news-showcase__all-link:active,
    .site-page--home .duyuru-hub__all:active,
    .site-page--home .haber-merkez__all-link:active,
    .site-page--home .president-hub__read:active,
    .site-page--home .president-spotlight__cta:active {
        transform: scale(0.985);
    }

    /* Yatay listelerde daha akıcı parmak kaydırma */
    .site-page--home .president-hub__nav,
    .site-page--home .duyuru-timeline__track,
    .site-page--home .haber-merkez__list,
    .site-page--home .news-showcase__thumbs {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: thin;
    }

    .site-page--home .president-hub__nav-item,
    .site-page--home .duyuru-chip,
    .site-page--home .news-showcase__thumb {
        scroll-snap-align: start;
    }

    .site-page--home .president-hub__nav,
    .site-page--home .duyuru-chips,
    .site-page--home .news-showcase__thumbs {
        scroll-snap-type: x proximity;
    }

    /* Bölümler için hafif giriş animasyonu */
    @media (prefers-reduced-motion: no-preference) {
        .site-page--home .president-spotlight,
        .site-page--home .home-services,
        .site-page--home .news-showcase,
        .site-page--home .duyuru-hub,
        .site-page--home .haber-merkez,
        .site-page--home .home-block {
            animation: homeMobileReveal 0.55s var(--home-mobile-ease) both;
        }

        .site-page--home .hero-quick-strip__tile {
            animation: homeMobileTileIn 0.44s var(--home-mobile-ease) both;
        }

        .site-page--home .hero-quick-strip__tile:nth-child(2) { animation-delay: 0.03s; }
        .site-page--home .hero-quick-strip__tile:nth-child(3) { animation-delay: 0.06s; }
        .site-page--home .hero-quick-strip__tile:nth-child(4) { animation-delay: 0.09s; }
        .site-page--home .hero-quick-strip__tile:nth-child(5) { animation-delay: 0.12s; }
        .site-page--home .hero-quick-strip__tile:nth-child(6) { animation-delay: 0.15s; }
    }
}

@media (max-width: 991px) {
    .site-page--home .hero-header:not(.is-compact) {
        --hh-logo-full: 80px;
        --hh-logo: var(--hh-logo-full);
        --hh-row-min: 84px;
        --hh-menu-h: 40px;
    }

    .site-page--home .hero-header.is-compact {
        --hh-logo-compact: 62px;
        --hh-logo: var(--hh-logo-compact);
        --hh-logo-overhang: max(0px, calc(var(--hh-logo-compact) - var(--hh-bar-h)));
        --hh-bar-h: 48px;
        --hh-row-min: var(--hh-bar-h);
    }

    .site-page--home .hero-header__utility-links {
        gap: 0.65rem;
        justify-content: center;
    }

    .site-page--home .hero-header__main {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }

    .site-page--home .hero-cinematic__title {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }

    .site-page--home .hero-cinematic__lead {
        max-width: 100%;
    }

    .site-page--home .president-spotlight__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-page--home .president-spotlight__visual {
        max-width: min(360px, 84vw);
        margin-inline: auto;
    }

    .site-page--home .president-spotlight__intro {
        max-width: 34rem;
        margin-inline: auto;
    }

    .site-page--home .duyuru-hub__layout,
    .site-page--home .haber-merkez__layout,
    .site-page--home .president-hub__layout,
    .site-page--home .home-services__grid {
        grid-template-columns: 1fr;
    }

    .site-page--home .portal-grid {
        grid-template-columns: repeat(3, minmax(132px, 1fr));
        gap: 0.8rem;
    }

    .site-page--home .news-showcase__slides,
    .site-page--home .news-showcase__slide {
        min-height: 360px;
    }

    .site-page--home .duyuru-spotlight__stage,
    .site-page--home .duyuru-spotlight__pane {
        min-height: 360px;
    }
}

@media (max-width: 575px) {
    .site-page--home .hero-cinematic__container,
    .site-page--home .president-spotlight .container,
    .site-page--home .home-services .container,
    .site-page--home .news-showcase .container,
    .site-page--home .duyuru-hub .container,
    .site-page--home .haber-merkez .container,
    .site-page--home .home-block .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-page--home .hero-quick-strip {
        margin-top: 0.3rem;
        padding: 0.5rem 0 0.2rem;
        background: linear-gradient(180deg, rgba(5, 24, 39, 0.38) 0%, rgba(5, 24, 39, 0.08) 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-page--home .hero-quick-strip__grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(76%, 82%);
        grid-template-columns: none;
        gap: 0.55rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 14px 0.45rem;
        scrollbar-width: none;
    }

    .site-page--home .hero-quick-strip__grid::-webkit-scrollbar {
        display: none;
    }

    .site-page--home .hero-quick-strip__tile {
        min-height: 74px;
        padding: 0.78rem 0.8rem;
        border-radius: 14px;
        scroll-snap-align: start;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.12),
            0 10px 22px rgba(0, 0, 0, 0.22);
    }

    .site-page--home .hero-quick-strip__text span {
        -webkit-line-clamp: 2;
    }

    .site-page--home .news-showcase__head,
    .site-page--home .duyuru-hub__header,
    .site-page--home .haber-merkez__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-page--home .portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-page--home .service-panel__head-link,
    .site-page--home .news-showcase__all-link,
    .site-page--home .duyuru-hub__all,
    .site-page--home .haber-merkez__all-link {
        width: 100%;
        justify-content: center;
    }

    .site-page--home .service-panel__row {
        gap: 0.75rem;
    }

    .site-page--home .service-panel__actions {
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .site-page--home .service-panel__action {
        flex: 1 1 auto;
        justify-content: center;
    }

    .site-page--home .president-spotlight__actions,
    .site-page--home .president-hub__pane-actions {
        width: 100%;
    }

    .site-page--home .president-spotlight__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .site-page--home .hero-quick-strip__grid {
        grid-auto-columns: minmax(84%, 90%);
    }

    .site-page--home .portal-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    .site-page--home .hero-quick-strip__text strong {
        font-size: 0.7rem;
    }
}

/* 1024 tablet landscape polish */
@media (max-width: 1024px) {
    .site-page--home .hero-cinematic__container,
    .site-page--home .home-services .container,
    .site-page--home .news-showcase .container,
    .site-page--home .duyuru-hub .container,
    .site-page--home .haber-merkez .container,
    .site-page--home .home-block .container {
        max-width: 980px;
    }

    .site-page--home .hero-quick-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-page--home .portal-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .site-page--home .news-showcase__slide-body,
    .site-page--home .duyuru-spotlight__content,
    .site-page--home .haber-merkez__pane-body {
        padding: 1.2rem 1.2rem 1.35rem;
    }
}

/* 768 tablet portrait polish */
@media (max-width: 768px) {
    .site-page--home .hero-header__utility {
        display: none !important;
        max-height: 0 !important;
        opacity: 0 !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-page--home .hero-header__utility-inner {
        min-height: 32px;
    }

    .site-page--home .hero-header__region {
        font-size: 0.63rem;
    }

    .site-page--home .hero-cinematic__inner {
        padding-top: calc(var(--chrome-height, 92px) + 0.25rem);
    }

    .site-page--home .hero-cinematic__container {
        position: relative;
        top: 0;
        margin-top: 0;
        min-height: auto;
        padding-bottom: 1rem;
    }

    .site-page--home .hero-cinematic__chips {
        width: 100%;
        flex-wrap: wrap;
    }

    .site-page--home .hero-chip {
        font-size: 0.78rem;
    }

    .site-page--home .service-panel__head h2 {
        font-size: 1.08rem;
    }

    .site-page--home .service-panel__row-text strong {
        font-size: 0.92rem;
    }

    .site-page--home .news-showcase__slide-title,
    .site-page--home .duyuru-spotlight__heading,
    .site-page--home .haber-merkez__pane-title {
        font-size: clamp(1.05rem, 3.2vw, 1.35rem);
    }
}

/* 430 large phone polish */
@media (max-width: 430px) {
    .site-page--home .hero-cinematic__inner {
        padding-top: calc(var(--chrome-height, 100px) + 0.35rem);
    }

    .site-page--home .hero-cinematic__title {
        font-size: clamp(1.72rem, 8.2vw, 2.05rem);
        line-height: 1.06;
    }

    .site-page--home .hero-cinematic__lead-primary {
        font-size: 0.94rem;
    }

    .site-page--home .hero-cinematic__lead-secondary {
        font-size: 0.82rem;
    }

    .site-page--home .hero-chip {
        min-height: 40px;
        font-size: 0.74rem;
        padding-inline: 0.7rem;
    }

    .site-page--home .hero-quick-strip {
        padding-inline: 0.38rem;
    }

    .site-page--home .hero-quick-strip__tile {
        min-height: 64px;
        border-radius: 12px;
    }

    .site-page--home .hero-quick-strip__icon {
        width: 30px;
        height: 30px;
        font-size: 0.94rem;
    }

    .site-page--home .service-panel,
    .site-page--home .news-showcase__slide,
    .site-page--home .duyuru-spotlight__stage,
    .site-page--home .haber-merkez__stage,
    .site-page--home .president-hub__pane {
        border-radius: 15px;
    }

    .site-page--home .portal-card {
        min-height: 114px;
        border-radius: 14px;
    }
}

/* 390 compact phone polish */
@media (max-width: 390px) {
    .site-page--home .hero-header:not(.is-compact) {
        --hh-logo-full: 74px;
        --hh-logo: var(--hh-logo-full);
        --hh-row-min: 78px;
    }

    .site-page--home .hero-header.is-compact {
        --hh-logo-compact: 58px;
        --hh-logo: var(--hh-logo-compact);
        --hh-bar-h: 46px;
        --hh-row-min: var(--hh-bar-h);
    }

    .site-page--home .hero-cinematic__inner {
        padding-top: calc(var(--chrome-height, 86px) + 0.2rem);
    }

    .site-page--home .hero-cinematic__container,
    .site-page--home .president-spotlight .container,
    .site-page--home .home-services .container,
    .site-page--home .news-showcase .container,
    .site-page--home .duyuru-hub .container,
    .site-page--home .haber-merkez .container,
    .site-page--home .home-block .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-page--home .hero-quick-strip__tile {
        min-height: 70px;
        padding: 0.68rem 0.72rem;
    }

    .site-page--home .hero-quick-strip__text strong {
        font-size: 0.67rem;
        letter-spacing: 0.035em;
    }

    .site-page--home .hero-quick-strip__text span {
        font-size: 0.61rem;
    }

    .site-page--home .service-panel__head,
    .site-page--home .news-showcase__slide-body,
    .site-page--home .duyuru-spotlight__content,
    .site-page--home .haber-merkez__pane-body,
    .site-page--home .president-hub__content {
        padding: 0.9rem;
    }

    .site-page--home .service-panel__action,
    .site-page--home .service-panel__cta,
    .site-page--home .president-spotlight__cta,
    .site-page--home .home-block__link {
        font-size: 0.78rem;
    }

    .site-page--home .portal-grid {
        gap: 0.62rem;
    }

    .site-page--home .portal-card__name {
        font-size: 0.75rem;
    }
}

/* ===== Hero quick-strip visibility fix (short mobile screens) ===== */
@media (max-width: 767px) and (max-height: 760px) {
    .site-page--home .hero-cinematic {
        height: auto !important;
        min-height: calc(100svh - var(--chrome-active-h, var(--chrome-slot-h, 96px)));
        overflow: visible !important;
    }

    .site-page--home .hero-cinematic__inner {
        min-height: 0 !important;
        padding-bottom: 0.55rem !important;
    }

    .site-page--home .hero-cinematic__container {
        padding-bottom: 0.35rem !important;
    }

    .site-page--home #hero-quick-strip,
    .site-page--home .hero-quick-strip {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 35;
        margin-top: 0.45rem !important;
    }

    .site-page--home .hero-quick-strip__grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(88%, 92%) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 0.52rem !important;
    }
}

@media (max-width: 430px) and (max-height: 760px) {
    .site-page--home .hero-quick-strip__tile {
        min-height: 66px !important;
        padding: 0.66rem 0.7rem !important;
    }

    .site-page--home .hero-quick-strip__text strong {
        font-size: 0.68rem !important;
    }

    .site-page--home .hero-quick-strip__text span {
        font-size: 0.62rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-page--home .hero-quick-strip__tile,
    .site-page--home .service-panel__action,
    .site-page--home .service-panel__cta,
    .site-page--home .home-block__link,
    .site-page--home .news-showcase__all-link,
    .site-page--home .duyuru-hub__all,
    .site-page--home .haber-merkez__all-link,
    .site-page--home .president-hub__read,
    .site-page--home .president-spotlight__cta {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transform: none !important;
    }
}

@keyframes homeMobileReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeMobileTileIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Mobile hero layout hotfix (final override) ===== */
@media (max-width: 768px) {
    /* Utility band hidden completely on mobile */
    .site-page--home .hero-header__utility {
        display: none !important;
        max-height: 0 !important;
        opacity: 0 !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Keep hero top spacing compact and stable */
    .site-page--home .hero-cinematic__inner {
        padding-top: calc(var(--chrome-height, 90px) + 0.2rem) !important;
    }

    .site-page--home .hero-cinematic__container {
        top: 0 !important;
        margin-top: 0 !important;
        min-height: auto !important;
        padding-bottom: 0.8rem !important;
    }

    /* Remove extra floating dots in crowded viewport */
    .site-page--home .hero-cinematic__slides {
        display: none !important;
    }

    /* Nöbet panel: lighter visual weight on mobile */
    .site-page--home .hero-nobet__panel {
        border-radius: 16px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

    .site-page--home .hero-nobet__list {
        max-height: 240px;
        padding: 0.55rem 0.6rem;
    }

    .site-page--home .hero-nobet__card {
        padding: 0.62rem 0.64rem;
        border-radius: 12px;
    }
}

@media (max-width: 575px) {
    /* Quick strip redesign: horizontal swipe cards */
    .site-page--home .hero-quick-strip {
        margin-top: 0.35rem !important;
        padding: 0.5rem 0 0.25rem !important;
        background: linear-gradient(180deg, rgba(5, 24, 39, 0.34) 0%, rgba(5, 24, 39, 0.08) 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-page--home .hero-quick-strip__grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(80%, 86%) !important;
        grid-template-columns: none !important;
        gap: 0.55rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        padding: 0 14px 0.5rem !important;
        scrollbar-width: none;
    }

    .site-page--home .hero-quick-strip__grid::-webkit-scrollbar {
        display: none;
    }

    .site-page--home .hero-quick-strip__tile {
        min-height: 72px !important;
        padding: 0.76rem 0.78rem !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-radius: 14px !important;
        scroll-snap-align: start;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.12),
            0 10px 22px rgba(0, 0, 0, 0.2);
    }

    .site-page--home .hero-quick-strip__text strong {
        font-size: 0.7rem;
    }

    .site-page--home .hero-quick-strip__text span {
        -webkit-line-clamp: 2 !important;
        font-size: 0.64rem;
    }
}

@media (max-width: 390px) {
    .site-page--home .hero-cinematic__inner {
        padding-top: calc(var(--chrome-height, 84px) + 0.15rem) !important;
    }

    .site-page--home .hero-quick-strip__grid {
        grid-auto-columns: minmax(88%, 92%) !important;
        gap: 0.48rem !important;
    }

    .site-page--home .hero-quick-strip__tile {
        min-height: 68px !important;
        padding: 0.66rem 0.7rem !important;
    }

    .site-page--home .home-block--links .portal-grid {
        gap: 0.66rem;
    }

    .site-page--home .home-block--links .portal-card {
        min-height: 124px;
        padding: 0.9rem 0.68rem;
        border-radius: 14px;
    }

    .site-page--home .home-block--links .portal-card__icon-wrap {
        height: 54px;
    }

    .site-page--home .home-block--links .portal-card__name {
        font-size: 0.77rem;
    }
}

/* ===== Mobile declutter: hero + duyuru + haber ===== */
@media (max-width: 575px) {
    /* HERO */
    .site-page--home .hero-cinematic__inner {
        min-height: auto;
        padding-bottom: 0.35rem;
    }

    .site-page--home .hero-cinematic__container {
        padding-bottom: 0.55rem !important;
    }

    /* Scroll ring/button mobilde karmaşa yaratıyor */
    .site-page--home .hero-cinematic__scroll,
    .site-page--home .hero-cinematic__scroll-ring {
        display: none !important;
    }

    .site-page--home .hero-cinematic__copy {
        text-align: left;
        padding-top: 0.42rem;
    }

    .site-page--home .hero-cinematic__eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        margin-top: 0.35rem;
        margin-bottom: 0.6rem;
        padding: 0.34rem 0.62rem;
        border-radius: 999px;
        background: rgba(8, 30, 48, 0.58);
        border: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    }

    .site-page--home .hero-cinematic__eyebrow .hero-cinematic__badge {
        font-size: 0.64rem;
        letter-spacing: 0.08em;
    }

    .site-page--home .hero-cinematic__eyebrow .hero-cinematic__tagline {
        font-size: 0.72rem;
        opacity: 0.9;
    }

    .site-page--home .hero-cinematic__chips {
        gap: 0.45rem;
    }

    /* Hero nöbet paneli — mobilde ultra sade/tek bakış */
    .site-page--home .hero-nobet__panel {
        border-radius: 14px;
        border-width: 1px;
    }

    .site-page--home .hero-nobet__head {
        padding: 0.66rem 0.72rem;
        gap: 0.55rem;
    }

    .site-page--home .hero-nobet__head-icon {
        transform: scale(0.9);
    }

    .site-page--home .hero-nobet__title {
        font-size: 0.88rem;
        line-height: 1.25;
    }

    .site-page--home .hero-nobet__meta {
        display: none;
    }

    .site-page--home .hero-nobet__all {
        min-height: 34px;
        padding: 0.26rem 0.58rem;
        font-size: 0.66rem;
    }

    .site-page--home .hero-nobet__list {
        max-height: 252px;
        overflow-y: auto;
        padding: 0.42rem 0.48rem;
        gap: 0.34rem;
        scrollbar-width: thin;
    }

    .site-page--home .hero-nobet__card {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.48rem;
        padding: 0.5rem 0.54rem;
        border-radius: 10px;
        align-items: center;
    }

    .site-page--home .hero-nobet__info {
        grid-column: 2;
    }

    .site-page--home .hero-nobet__logo,
    .site-page--home .guard-pharmacy-avatar {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .site-page--home .hero-nobet__info strong {
        font-size: 0.84rem;
        line-height: 1.25;
    }

    .site-page--home .hero-nobet__addr {
        display: none;
    }

    .site-page--home .hero-nobet__meta-row {
        gap: 0.2rem 0.5rem;
        font-size: 0.72rem;
        margin-top: 0.12rem;
    }

    .site-page--home .hero-nobet__district {
        display: none;
    }

    .site-page--home .hero-nobet__phone {
        display: inline-flex;
        align-items: center;
        padding: 0.16rem 0.42rem;
        border-radius: 999px;
        background: rgba(43, 143, 199, 0.12);
        border: 1px solid rgba(43, 143, 199, 0.2);
        color: #1a6fa3;
        font-weight: 700;
        font-size: 0.68rem;
    }

    .site-page--home .hero-nobet__map {
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        padding: 0.16rem 0.42rem;
        border-radius: 999px;
        background: rgba(16, 185, 129, 0.12);
        border: 1px solid rgba(16, 185, 129, 0.25);
        color: #0f766e;
        font-weight: 700;
        font-size: 0.68rem;
    }

    .site-page--home .hero-nobet__map i {
        font-size: 0.62rem;
    }

    .site-page--home .hero-nobet__phone i {
        display: none;
    }

    .site-page--home .hero-nobet__badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        grid-column: 3;
        justify-self: end;
        align-self: center;
        margin-top: 0;
        font-size: 0.54rem;
        padding: 0.22rem 0.4rem;
        border-radius: 999px;
        white-space: nowrap;
    }

    .site-page--home .hero-nobet__cta {
        min-height: 40px;
        padding: 0.62rem 0.78rem;
        font-size: 0.76rem;
    }

    /* DUYURU HUB — timeline gizle, sade spotlight + chips */
    .site-page--home .duyuru-hub {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }

    .site-page--home .duyuru-hub__header-main,
    .site-page--home .duyuru-hub__header-actions {
        width: 100%;
    }

    .site-page--home .duyuru-hub__count {
        width: 100%;
        text-align: center;
    }

    .site-page--home .duyuru-hub__all {
        width: 100%;
        justify-content: center;
    }

    .site-page--home .duyuru-timeline {
        display: none !important;
    }

    .site-page--home .duyuru-spotlight {
        border-radius: 16px;
        overflow: hidden;
    }

    .site-page--home .duyuru-spotlight__stage,
    .site-page--home .duyuru-spotlight__pane {
        min-height: 330px !important;
    }

    .site-page--home .duyuru-spotlight__visual {
        min-height: 164px;
    }

    .site-page--home .duyuru-spotlight__content {
        padding: 1rem 0.95rem 0.95rem;
    }

    .site-page--home .duyuru-spotlight__heading {
        font-size: 1.02rem;
        line-height: 1.35;
    }

    .site-page--home .duyuru-spotlight__excerpt {
        -webkit-line-clamp: 3;
        font-size: 0.84rem;
    }

    .site-page--home .duyuru-chips {
        margin-top: 0.72rem;
    }

    .site-page--home .duyuru-chip {
        min-height: 42px;
    }

    /* HABER MERKEZ — sol listeyi gizle, tek sahne + nav */
    .site-page--home .haber-merkez {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }

    .site-page--home .haber-merkez__header-main,
    .site-page--home .haber-merkez__header-aside {
        width: 100%;
    }

    .site-page--home .haber-merkez__count {
        width: 100%;
        text-align: center;
    }

    .site-page--home .haber-merkez__all-link {
        width: 100%;
        justify-content: center;
    }

    .site-page--home .haber-merkez__toolbar {
        margin-bottom: 0.65rem;
    }

    .site-page--home .haber-merkez__filters {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        gap: 0.42rem;
        padding-bottom: 0.2rem;
        scrollbar-width: none;
    }

    .site-page--home .haber-merkez__filters::-webkit-scrollbar {
        display: none;
    }

    .site-page--home .haber-merkez__list-wrap {
        display: none !important;
    }

    .site-page--home .haber-merkez__stage {
        min-height: 360px !important;
        border-radius: 16px;
        overflow: hidden;
    }

    .site-page--home .haber-merkez__pane-body {
        padding: 1rem 0.95rem 3.35rem !important;
    }

    .site-page--home .haber-merkez__pane-title {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .site-page--home .haber-merkez__pane-excerpt {
        -webkit-line-clamp: 3;
        font-size: 0.84rem;
    }

    .site-page--home .haber-merkez__stage-nav {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.45rem;
    }

    /* FAYDALI BAGLANTILAR — mobilde dokunma rahatligi */
    .site-page--home .home-block--links {
        padding-top: 2.25rem;
        padding-bottom: 2.5rem;
    }

    .site-page--home .home-block--links .home-block__head {
        margin-bottom: 1.15rem;
    }

    .site-page--home .home-block--links .portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.82rem;
        align-items: stretch;
    }

    .site-page--home .home-block--links .portal-card {
        min-height: 132px;
        padding: 1rem 0.78rem;
        border-radius: 16px;
        justify-content: space-between;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .site-page--home .home-block--links .portal-card:active {
        transform: scale(0.985);
    }

    .site-page--home .home-block--links .portal-card__icon-wrap {
        height: 60px;
    }

    .site-page--home .home-block--links .portal-card__logo {
        max-height: 60px;
    }

    .site-page--home .home-block--links .portal-card__name {
        font-size: 0.82rem;
        line-height: 1.35;
        min-height: 2.2em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .site-page--home .home-block--links .portal-card__go {
        width: 28px;
        height: 28px;
        opacity: 1;
        transform: none;
        font-size: 0.68rem;
    }
}

@media (max-width: 390px) {
    .site-page--home .hero-cinematic__copy {
        padding-top: 0.3rem;
    }

    .site-page--home .hero-cinematic__eyebrow {
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        padding: 0.3rem 0.54rem;
    }
}

/* Horizontal overflow guard — mobile only */
@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body.site-page--home {
        overflow-x: hidden;
    }

    .site-page--home,
    .site-page--home #site-chrome,
    .site-page--home .hero-cinematic,
    .site-page--home .hero-cinematic__inner,
    .site-page--home .hero-cinematic__container,
    .site-page--home .hero-cinematic__layout,
    .site-page--home .hero-cinematic__copy,
    .site-page--home .hero-nobet,
    .site-page--home .hero-nobet__panel,
    .site-page--home .hero-quick-strip,
    .site-page--home .home-services,
    .site-page--home .duyuru-hub,
    .site-page--home .haber-merkez,
    .site-page--home .home-block {
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Scroll olmasi gereken alanlar kendi icinde kalsin */
    .site-page--home .hero-quick-strip__grid,
    .site-page--home .duyuru-chips,
    .site-page--home .haber-merkez__filters {
        width: 100%;
        box-sizing: border-box;
    }
}
