/*
 * EnFavori Homepage System v3
 * ============================
 * Ana sayfanin tek layout sozlesmesi.
 *
 * Bu dosya yalniz ana sayfa kabugu ve ana sayfa ortak bilesenlerini yonetir.
 * Arama, hero ve makaleler kendi component CSS dosyalarinda kalir.
 * Eski stability/final/patch katmanlari kullanilmaz.
 */

html body .hm-home-page {
    --ef-home-max: 1320px;
    --ef-home-gutter-desktop: 24px;
    --ef-home-gutter-laptop: 20px;
    --ef-home-gutter-mobile: 16px;
    --ef-home-gutter-small: 12px;
    --ef-home-section-gap: 30px;
    --ef-home-section-gap-tablet: 26px;
    --ef-home-section-gap-mobile: 22px;
    --ef-home-grid-gap: 16px;
    --ef-home-card-radius: 14px;
    --ef-home-card-border: var(--ef-color-border, #e1e8ef);
    --ef-home-surface: var(--ef-color-surface, #fff);
    --ef-home-navy: var(--ef-color-navy, #142844);
    --ef-home-blue: var(--ef-color-blue, #2ea7ff);
    --ef-home-blue-dark: var(--ef-color-blue-dark, #168fe0);
    --ef-home-teal: var(--ef-color-turquoise, #18d2c3);
    --ef-home-teal-dark: var(--ef-color-turquoise-dark, #10b8aa);
    --ef-home-text: var(--ef-color-text, #172033);
    --ef-home-muted: var(--ef-color-muted, #64748b);
    --ef-home-soft-blue: var(--ef-color-info-soft, #edf7ff);
    --ef-home-soft-green: var(--ef-color-success-soft, #e9fbf8);
    --ef-home-success: var(--ef-color-success, #169b78);
    --ef-home-danger: var(--ef-color-danger, #dc3545);

    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 28px !important;
    overflow-x: clip;
    color: var(--ef-home-text);
}

html body .hm-home-page,
html body .hm-home-page *,
html body .hm-home-page *::before,
html body .hm-home-page *::after {
    box-sizing: border-box;
}

html body .hm-home-page img {
    max-width: 100%;
}

/* ========================================================================== 
   1. TEK YATAY IZGARA
   ========================================================================== */
html body .hm-home-page .container,
html body .ef-home-articles-section > .container {
    width: calc(100% - (var(--ef-home-gutter-desktop) * 2)) !important;
    max-width: var(--ef-home-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html body .hm-home-page > .container.hm-home-container {
    width: calc(100% - (var(--ef-home-gutter-desktop) * 2)) !important;
    max-width: var(--ef-home-max) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

@media (min-width: 1200px) {
    html body .ef-header > .container {
        width: calc(100% - 48px) !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .efx-footer-inner {
        width: min(1320px, calc(100% - 48px)) !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ========================================================================== 
   2. DIKEY RITIM VE BOLUM BASLIKLARI
   ========================================================================== */
html body .hm-home-page .hm-home-section,
html body .ef-home-articles-section {
    margin-top: 0 !important;
    margin-bottom: var(--ef-home-section-gap) !important;
}

html body .hm-home-page .hm-home-section:last-child,
html body .ef-home-articles-section:last-child {
    margin-bottom: 0 !important;
}

html body .hm-home-page .hm-home-section-header,
html body .hm-home-page .hm-home-live-header,
html body .ef-home-articles-head {
    min-height: 40px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

html body .hm-home-page .hm-home-section-header,
html body .ef-home-articles-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

html body .hm-home-page .hm-home-section-heading,
html body .ef-home-articles-heading {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

html body .hm-home-page .hm-home-section-icon,
html body .ef-home-articles-heading-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: var(--ef-home-navy) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

html body .hm-home-page .hm-home-section-icon i,
html body .ef-home-articles-heading-icon i {
    font-size: 16px;
    line-height: 1;
}

html body .hm-home-page .hm-home-section-title,
html body .ef-home-articles-title,
html body .hm-home-page .hm-home-live-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ef-home-navy) !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.025em !important;
}

/* ========================================================================== 
   3. KONUM KARTI
   ========================================================================== */
html body .hm-home-page .ef-location-discovery-final {
    width: 100%;
    margin: 14px 0 18px;
}

html body .hm-home-page .ef-location-discovery-final__link {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 76px;
    padding: 12px 14px;
    color: var(--ef-home-navy);
    background: linear-gradient(135deg, #f9fcff 0%, #eef7fb 100%);
    border: 1px solid #d9e6ef;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(20, 40, 68, .05);
    text-decoration: none !important;
}

html body .hm-home-page .ef-location-discovery-final__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: #17b9ad;
    border-radius: 13px;
    font-size: 18px;
}

html body .hm-home-page .ef-location-discovery-final__copy {
    min-width: 0;
}

html body .hm-home-page .ef-location-discovery-final__copy strong {
    display: block;
    margin: 0 0 3px;
    color: var(--ef-home-navy);
    font-size: 17px;
    font-weight: 850;
    line-height: 1.2;
}

html body .hm-home-page .ef-location-discovery-final__copy span {
    display: block;
    color: #6b7d91;
    font-size: 13px;
    line-height: 1.4;
}

html body .hm-home-page .ef-location-discovery-final__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 38px;
    height: 38px;
    color: var(--ef-home-navy);
    background: #fff;
    border: 1px solid #dce7ef;
    border-radius: 50%;
    font-size: 15px;
}

/* ========================================================================== 
   4. CANLI ENFAVORI
   ========================================================================== */
html body .hm-home-page .hm-home-live-header {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

html body .hm-home-page .hm-home-live-copy {
    min-width: 0;
}

html body .hm-home-page .hm-home-live-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    color: #087d72;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .055em;
    text-transform: uppercase;
}

html body .hm-home-page .hm-home-live-dot {
    width: 7px;
    height: 7px;
    background: #19b88e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(25, 184, 142, .12);
}

html body .hm-home-page .hm-home-live-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

html body .hm-home-page .hm-home-live-title::before {
    content: "";
    display: inline-block;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--ef-home-navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l5-5 4 4 8-9'/%3E%3Cpath d='M14 7h6v6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

html body .hm-home-page .hm-home-live-description {
    margin: 5px 0 0;
    color: var(--ef-home-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

html body .hm-home-page .hm-home-live-window {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 4px 0;
    color: var(--ef-home-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

html body .hm-home-page .hm-home-live-window i {
    color: var(--ef-home-teal-dark);
}

html body .hm-home-page .hm-home-insights-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--ef-home-grid-gap) !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body .hm-home-page .hm-home-insights-grid.hm-home-insights-single {
    grid-template-columns: minmax(0, 1fr) !important;
}

html body .hm-home-page .hm-home-insight-card {
    align-self: stretch !important;
    width: 100%;
    height: 100% !important;
    min-width: 0;
    padding: 16px;
    background: var(--ef-home-surface);
    border: 1px solid var(--ef-home-card-border);
    border-radius: var(--ef-home-card-radius);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .045);
}

html body .hm-home-page .hm-home-insight-title {
    position: relative;
    margin: 0 0 12px;
    padding: 0 0 9px;
    color: var(--ef-home-navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

html body .hm-home-page .hm-home-insight-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--ef-home-teal);
    border-radius: 999px;
}

html body .hm-home-page .hm-home-insight-card-compact .hm-home-trending-item {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Rank rows */
html body .hm-home-page .hm-home-rank-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--ef-home-card-border);
}

html body .hm-home-page .hm-home-rank-item:first-of-type { padding-top: 0; }
html body .hm-home-page .hm-home-rank-item:last-child { padding-bottom: 0; border-bottom: 0; }

html body .hm-home-page .hm-home-rank-image-link {
    display: block;
    width: 62px;
    height: 62px;
    overflow: hidden;
    background: #edf1f5;
    border-radius: 10px;
}

html body .hm-home-page .hm-home-rank-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html body .hm-home-page .hm-home-rank-content { min-width: 0; }

html body .hm-home-page .hm-home-rank-title {
    display: block;
    color: var(--ef-home-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

html body .hm-home-page .hm-home-rank-number { color: var(--ef-home-blue-dark); }
html body .hm-home-page .hm-home-rank-number.is-falling { color: var(--ef-home-danger); }

html body .hm-home-page .hm-home-rank-detail {
    display: block;
    margin-top: 3px;
    color: var(--ef-home-muted);
    font-size: 12.5px;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

html body .hm-home-page .hm-home-rank-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: var(--ef-home-muted);
    font-size: 11.5px;
    font-weight: 600;
}

html body .hm-home-page .hm-home-rank-count i { color: var(--ef-home-blue); }

html body .hm-home-page .hm-home-rank-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 44px;
    height: 34px;
    padding: 0 8px;
    color: var(--ef-home-success);
    background: rgba(22, 155, 120, .09);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

html body .hm-home-page .hm-home-rank-direction.is-falling {
    color: var(--ef-home-danger);
    background: rgba(220, 53, 69, .09);
}

/* Trend rows */
html body .hm-home-page .hm-home-trending-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--ef-home-card-border);
}

html body .hm-home-page .hm-home-trending-item:first-of-type { padding-top: 0; }
html body .hm-home-page .hm-home-trending-item:last-child { padding-bottom: 0; border-bottom: 0; }

html body .hm-home-page .hm-home-trending-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #edf1f5;
    border-radius: 10px;
}

html body .hm-home-page .hm-home-trending-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

html body .hm-home-page .hm-home-trending-content { min-width: 0; }

/* ========================================================================== 
   5. ORTAK META ETIKETLERI
   ========================================================================== */
html body .hm-home-page .hm-home-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 7px;
}

html body .hm-home-page .hm-home-category,
html body .hm-home-page .hm-home-channel {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

html body .hm-home-page .hm-home-category {
    color: #087d72;
    background: var(--ef-home-soft-green);
    border: 1px solid #c9f1eb;
}

html body .hm-home-page .hm-home-channel {
    color: #1e78b5;
    background: var(--ef-home-soft-blue);
    border: 1px solid #d3ebfb;
}

html body .hm-home-page .hm-home-trending-title,
html body .hm-home-page .hm-home-list-title {
    display: block;
    color: var(--ef-home-text);
    font-weight: 800;
    line-height: 1.38;
    text-decoration: none;
    overflow-wrap: anywhere;
}

html body .hm-home-page .hm-home-trending-title { font-size: 16px; }

html body .hm-home-page .hm-home-vote-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--ef-home-muted);
    font-size: 12px;
    font-weight: 600;
}

html body .hm-home-page .hm-home-vote-count i { color: var(--ef-home-blue-dark); }

/* ========================================================================== 
   6. KANALLAR
   ========================================================================== */
html body .hm-home-page .hm-home-channel-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

html body .hm-home-page .hm-home-channel-swipe-hint { display: none; }

html body .hm-home-page .hm-home-channel-nav {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--ef-home-navy);
    background: #fff;
    border: 1px solid var(--ef-home-card-border);
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .07);
    cursor: pointer;
}

html body .hm-home-page .hm-home-channels-panel {
    width: 100%;
    margin: 0;
    padding: 16px 0;
    background: #fff;
    border-top: 1px solid var(--ef-home-card-border);
    border-bottom: 1px solid var(--ef-home-card-border);
    overflow: hidden;
}

html body .hm-home-page .hm-home-channel-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
}

html body .hm-home-page .hm-home-channel-scroll {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

html body .hm-home-page .hm-home-channel-scroll::-webkit-scrollbar { display: none; }

html body .hm-home-page .hm-home-channel-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex: 0 0 calc((100% - 60px) / 6) !important;
    width: calc((100% - 60px) / 6) !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 9px !important;
    margin: 0 !important;
    color: var(--ef-home-navy) !important;
    background: #fff !important;
    border: 1px solid var(--ef-home-card-border) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    scroll-snap-align: start;
    text-decoration: none !important;
    overflow: hidden !important;
}

html body .hm-home-page .hm-home-channel-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #edf1f5;
    border-radius: 9px;
}

html body .hm-home-page .hm-home-channel-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html body .hm-home-page .hm-home-channel-title {
    display: -webkit-box;
    width: 100%;
    min-height: 35px;
    max-height: 35px;
    margin: 8px 0 0;
    padding: 0 2px;
    overflow: hidden;
    color: var(--ef-home-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html body .hm-home-page .hm-home-channel-count {
    display: block;
    margin-top: 2px;
    padding: 0 2px 2px;
    color: var(--ef-home-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

html body .hm-home-page .hm-home-channel-count.is-coming-soon {
    color: #087d72;
    font-weight: 800;
}

/* ========================================================================== 
   7. SON EKLENEN LISTELER
   ========================================================================== */
html body .hm-home-page .hm-home-latest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
}

html body .hm-home-page .hm-home-list-panel {
    width: 100%;
    min-width: 0;
    padding: 14px;
    background: var(--ef-home-surface);
    border: 1px solid var(--ef-home-card-border);
    border-radius: var(--ef-home-card-radius);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .045);
}

html body .hm-home-page .hm-home-latest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: stretch;
}

html body .hm-home-page .hm-home-list-item {
    display: grid;
    grid-template-columns: 182px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--ef-home-card-border);
    border-radius: 12px;
}

html body .hm-home-page .hm-home-list-image-link {
    display: block;
    width: 182px;
    min-height: 118px;
    overflow: hidden;
    background: #e9eef4;
    border-radius: 10px;
    aspect-ratio: 16 / 10;
}

html body .hm-home-page .hm-home-list-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 118px;
    object-fit: cover;
}

html body .hm-home-page .hm-home-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0;
}

html body .hm-home-page .hm-home-list-title {
    font-size: 16px;
    line-height: 1.32;
}

html body .hm-home-page .hm-home-list-metrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

html body .hm-home-page .hm-home-list-metric {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 27px;
    padding: 5px 8px;
    color: #526176;
    background: #f6f9fc;
    border: 1px solid #e4ebf2;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

html body .hm-home-page .hm-home-list-metric i {
    color: var(--ef-home-blue-dark);
    font-size: 10px;
}

html body .hm-home-page .hm-home-list-metric-secondary {
    color: #64748b;
    background: #fbfcfd;
    border-color: #e8edf3;
}

html body .hm-home-page .hm-home-list-metric-participation {
    color: #087d72;
    background: #e9fbf8;
    border-color: #c9f1eb;
}

html body .hm-home-page .hm-home-list-metric-preparing {
    color: #64748b;
    background: #f8fafc;
    border-color: #dce6ef;
}

html body .hm-home-page .hm-home-list-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 7px;
    width: fit-content;
    min-height: 34px;
    margin-top: 11px;
    padding: 7px 11px;
    color: #fff;
    background: var(--ef-home-navy);
    border: 1px solid var(--ef-home-navy);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

html body .hm-home-page .hm-home-list-cta i:first-child {
    color: #5ee1d5;
}

html body .hm-home-page .hm-home-list-cta.is-preparing {
    color: #64748b;
    background: #f8fafc;
    border-color: #dce6ef;
}

html body .hm-home-page .hm-home-list-cta-text-tablet { display: none; }

/* Pagination: loader yerine kontrollu sayfalama */
html body .hm-home-page .hm-home-pagination {
    margin-top: 16px;
}

html body .hm-home-page .hm-home-pagination .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

html body .hm-home-page .hm-home-pagination .page-link {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ef-home-navy);
    background: #fff;
    border: 1px solid var(--ef-home-card-border);
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 700;
}

html body .hm-home-page .hm-home-pagination .page-item.active .page-link {
    color: #fff;
    background: var(--ef-home-teal-dark);
    border-color: var(--ef-home-teal-dark);
}

/* ========================================================================== 
   8. LAPTOP 992-1199
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
    html body .hm-home-page .container,
    html body .ef-home-articles-section > .container,
    html body .hm-home-page > .container.hm-home-container,
    html body .ef-header > .container {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .hm-home-page .hm-home-channel-card {
        flex-basis: calc((100% - 48px) / 5) !important;
        width: calc((100% - 48px) / 5) !important;
    }

    html body .hm-home-page .hm-home-latest-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    html body .hm-home-page .hm-home-list-item {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    html body .hm-home-page .hm-home-list-image-link {
        width: 220px;
    }
}

/* ========================================================================== 
   9. TABLET 768-991
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
    html body .hm-home-page .container,
    html body .ef-home-articles-section > .container,
    html body .hm-home-page > .container.hm-home-container {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .hm-home-page .hm-home-section,
    html body .ef-home-articles-section {
        margin-bottom: var(--ef-home-section-gap-tablet) !important;
    }

    html body .hm-home-page .hm-home-insights-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    html body .hm-home-page .hm-home-channel-card {
        flex-basis: calc((100% - 36px) / 4) !important;
        width: calc((100% - 36px) / 4) !important;
    }

    html body .hm-home-page .hm-home-latest-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    html body .hm-home-page .hm-home-list-item {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    html body .hm-home-page .hm-home-list-image-link {
        width: 190px;
    }
}

/* ========================================================================== 
   10. MOBIL <=767
   ========================================================================== */
@media (max-width: 767.98px) {
    html body .hm-home-page {
        padding-bottom: 20px !important;
    }

    html body .hm-home-page .container,
    html body .ef-home-articles-section > .container,
    html body .hm-home-page > .container.hm-home-container {
        width: calc(100% - 32px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .hm-home-page .hm-home-section,
    html body .ef-home-articles-section {
        margin-bottom: var(--ef-home-section-gap-mobile) !important;
    }

    html body .hm-home-page .hm-home-section-header,
    html body .hm-home-page .hm-home-live-header,
    html body .ef-home-articles-head {
        min-height: 36px !important;
        margin-bottom: 11px !important;
    }

    html body .hm-home-page .hm-home-section-icon,
    html body .ef-home-articles-heading-icon,
    html body .hm-home-page .hm-home-live-title::before {
        flex-basis: 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        border-radius: 9px !important;
    }

    html body .hm-home-page .hm-home-section-title,
    html body .ef-home-articles-title,
    html body .hm-home-page .hm-home-live-title {
        font-size: 18px !important;
    }

    html body .hm-home-page .ef-location-discovery-final { margin: 10px 0 16px; }

    html body .hm-home-page .ef-location-discovery-final__link {
        grid-template-columns: 42px minmax(0, 1fr) 32px;
        gap: 10px;
        min-height: 68px;
        padding: 10px 11px;
        border-radius: 12px;
    }

    html body .hm-home-page .ef-location-discovery-final__icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        font-size: 16px;
    }

    html body .hm-home-page .ef-location-discovery-final__copy strong { font-size: 15.5px; }
    html body .hm-home-page .ef-location-discovery-final__copy span { font-size: 11.8px; line-height: 1.35; }
    html body .hm-home-page .ef-location-discovery-final__arrow { width: 32px; height: 32px; font-size: 13px; }

    html body .hm-home-page .hm-home-live-header { align-items: flex-start !important; }
    html body .hm-home-page .hm-home-live-window { font-size: 10.5px; }

    html body .hm-home-page .hm-home-insights-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    html body .hm-home-page .hm-home-insight-card,
    html body .hm-home-page .hm-home-list-panel {
        padding: 12px;
    }

    html body .hm-home-page .hm-home-rank-item {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        gap: 10px;
    }

    html body .hm-home-page .hm-home-rank-image-link { width: 56px; height: 56px; }
    html body .hm-home-page .hm-home-rank-title { font-size: 13.5px; }
    html body .hm-home-page .hm-home-rank-detail { font-size: 12px; }
    html body .hm-home-page .hm-home-rank-direction { min-width: 42px; height: 32px; padding: 0 7px; }

    html body .hm-home-page .hm-home-trending-item {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 11px;
    }

    html body .hm-home-page .hm-home-trending-title { font-size: 14.5px; }

    html body .hm-home-page .hm-home-channel-nav { display: none !important; }
    html body .hm-home-page .hm-home-channels-panel { padding: 12px 0; }

    /* Mobilde iki tam kart. Bu davranisin tek kaynagi artik bu dosya. */
    html body .hm-home-page .hm-home-channel-scroll {
        gap: 12px !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    html body .hm-home-page .hm-home-channel-card {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        width: calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
        padding: 8px !important;
    }

    html body .hm-home-page .hm-home-channel-title {
        min-height: 33px;
        max-height: 33px;
        font-size: 11.5px;
    }

    html body .hm-home-page .hm-home-latest-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    html body .hm-home-page .hm-home-list-item {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 11px;
        padding: 10px;
    }

    html body .hm-home-page .hm-home-list-image-link {
        width: 116px;
        min-width: 116px;
        min-height: 92px;
        aspect-ratio: 4 / 3;
    }

    html body .hm-home-page .hm-home-list-image {
        min-height: 92px;
        aspect-ratio: 4 / 3;
    }

    html body .hm-home-page .hm-home-list-title {
        display: -webkit-box;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    html body .hm-home-page .hm-home-list-metrics {
        gap: 5px;
        margin-top: 7px;
    }

    html body .hm-home-page .hm-home-list-metric {
        min-height: 24px;
        padding: 4px 6px;
        font-size: 9.5px;
    }

    html body .hm-home-page .hm-home-list-cta {
        align-self: flex-end;
        height: 36px;
        min-height: 36px;
        margin-top: 8px;
        padding: 0 10px;
        gap: 6px;
        font-size: 10.5px;
    }

    html body .hm-home-page .hm-home-list-cta-text-desktop { display: none; }
    html body .hm-home-page .hm-home-list-cta-text-tablet { display: inline; }
    html body .hm-home-page .hm-home-list-cta-arrow { display: none; }
}

@media (max-width: 389.98px) {
    html body .hm-home-page .container,
    html body .ef-home-articles-section > .container,
    html body .hm-home-page > .container.hm-home-container {
        width: calc(100% - 24px) !important;
    }

    html body .hm-home-page .hm-home-live-window { display: none; }

    html body .hm-home-page .hm-home-list-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 9px;
        padding: 9px;
    }

    html body .hm-home-page .hm-home-list-image-link {
        width: 96px;
        min-width: 96px;
        min-height: 80px;
    }

    html body .hm-home-page .hm-home-list-image { min-height: 80px; }
}

html body .hm-home-page a:focus-visible,
html body .hm-home-page button:focus-visible {
    outline: 3px solid rgba(28, 156, 240, .24);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html body .hm-home-page *,
    html body .hm-home-page *::before,
    html body .hm-home-page *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}
