/*
Theme Name: Hanbey Haber
Theme URI: https://malatyamhaber.com
Author: Hanbey Group Medya
Author URI: https://malatyamhaber.com
Description: Yüksek performanslı özel WordPress haber teması.
Version: 1.3.8
Text Domain: malatyamhaber
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; line-height: 1.6; color: #222; background: #ffffff; overflow-x: clip; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Header & Menü */
.site-header { background: #fff; border-bottom: 2px solid #e60000; }
.top-bar { background: #fff; border-bottom: 1px solid #eee; }
.header-main { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo h1 { font-size: 28px; color: #e60000; text-transform: uppercase; margin: 0; }

.main-navigation { background: #111; color: #fff; }
.main-navigation ul { display: flex; list-style: none; padding: 0; margin: 0; }
.main-navigation ul li a { display: block; padding: 12px 18px; color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase; transition: background 0.2s; }
.main-navigation ul li a:hover { background: #e60000; }


/* Ana Sayfa Düzeni & Kategori Blokları */
.main-wrapper { 
    display: flex; 
    gap: 20px; 
    margin-top: 20px; 
    align-items: flex-start;
    width: 100%;
}
.content-area { flex: 1; min-width: 0; width: 100%; }
.sidebar-area { 
    width: 300px; 
    flex-shrink: 0; 
    position: sticky;
    top: 20px;
}

.kategori-block { background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 25px; border: 1px solid #eee; }
.kat-title-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #e60000; padding-bottom: 8px; margin-bottom: 15px; }
.kat-title-bar h3 { font-size: 18px; color: #111; text-transform: uppercase; margin: 0; }
.kat-title-bar h3 a { color: #111; }
.kat-title-bar .tumunu-gor { font-size: 16px; color: #e60000; font-weight: 700; }
.kat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.kat-grid.kat-grid-full { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

.kat-card { background: #fdfdfd; border: 1px solid #eee; border-radius: 4px; overflow: hidden; }
.kat-card-img { aspect-ratio: 16 / 9; overflow: hidden; width: 100%; background: #f0f0f0; }
.kat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.kat-card-body { padding: 10px; }
.kat-card h4 { 
    font-size: 13px; 
    color: #222; 
    line-height: 1.4; 
    font-weight: 600; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* Widget'lar & Footer */
.widget-box, .widget { background: #fff; padding: 15px; margin-bottom: 20px; border-radius: 4px; border: 1px solid #eee; }
.site-footer { background: #111; color: #aaa; margin-top: 40px; padding-top: 40px; font-size: 14px; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 30px; }
.footer-col h3 { color: #fff; margin-bottom: 10px; font-size: 22px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 15px; border-bottom: 2px solid #e60000; padding-bottom: 5px; display: inline-block; }
.footer-nav ul, .footer-news-list { list-style: none; padding: 0; margin: 0; }
.footer-nav li, .footer-news-list li { margin-bottom: 8px; }
.footer-nav a, .footer-news-list a { color: #ccc; transition: color 0.2s; }
.footer-nav a:hover, .footer-news-list a:hover { color: #e60000; }
.footer-bottom { background: #080808; border-top: 1px solid #222; padding: 15px 0; text-align: center; font-size: 13px; color: #777; }

/* Haber Detayı: İlginizi Çekebilir Kutusu */
.ilginizi-cekebilir-wrapper {
    margin-top: 35px;
    margin-bottom: 30px;
    clear: both;
    width: 100%;
}

.single-block-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #ce1818;
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

.related-card {
    display: block;
    width: 100%;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.related-card a {
    text-decoration: none;
    color: #222;
    display: block;
}

.related-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-body {
    padding: 10px;
}

.related-card-body h4 {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Yorum Alanı */
.comments-wrapper,
.comments-area-custom {
    margin-top: 35px;
    padding-top: 10px;
    clear: both;
    width: 100%;
}

.comments-title-custom { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 15px; border-bottom: 2px solid #e60000; padding-bottom: 5px; display: inline-block; }
.comment-form-container { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.03); margin-bottom: 30px; width: 100%; }
.comment-form-container form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.comment-form-field textarea, .comment-form-field input[type="text"] { width: 100%; background-color: #fcfcfc; border: 1px solid #dcdcdc; border-radius: 4px; padding: 12px 15px; font-size: 14px; color: #333; font-family: inherit; outline: none; transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; box-sizing: border-box; }
.comment-form-field textarea { height: 110px; resize: vertical; }
.comment-form-field textarea:focus, .comment-form-field input[type="text"]:focus { background-color: #fff; border-color: #111; box-shadow: 0 0 0 2px rgba(0,0,0,0.05); }
.submit-btn-custom { align-self: flex-start; background-color: #1a202c; color: #ffffff; font-weight: 600; font-size: 14px; padding: 10px 24px; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.2s ease; margin-top: 5px; }
.submit-btn-custom:hover { background-color: #e60000; }
.comment-disclaimer-box { background-color: #fffbeb; border: 1px solid #fef3c7; color: #b45309; font-size: 12px; line-height: 1.5; padding: 12px 15px; border-radius: 4px; margin-top: 15px; }
.comments-list-wrapper { margin-top: 30px; width: 100%; }
.existing-comments-title { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 15px; }
.comment-list { list-style: none; padding: 0; margin: 0; width: 100%; }
.comment-list .comment { background: #f8fafc; border: 1px solid #edf2f7; border-radius: 6px; padding: 15px; margin-bottom: 15px; }
.comment-list .comment-author { font-weight: 700; font-size: 14px; color: #1a202c; margin-bottom: 5px; }
.comment-list .comment-meta { font-size: 11px; color: #a0aec0; margin-bottom: 10px; }
.comment-list p { font-size: 14px; color: #4a5568; line-height: 1.5; margin: 0; }


/* Yazar Biyografi Kutusu */
.single-author-box {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    margin-top: 35px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.single-author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e60000;
}
.single-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-author-details h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px 0;
}
.single-author-details .author-job-title {
    font-size: 12px;
    color: #e60000;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}
.single-author-details p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Medya Sorguları / Responsive Düzenlemeler */
@media (max-width: 992px) {
    .kat-grid.kat-grid-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip !important;
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .container, 
    .container.main-wrapper,
    .site-header .container,
    .header-main {
        padding-left: 8px !important;
        padding-right: 8px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-wrapper { 
        flex-direction: column !important; 
        gap: 0 !important;
        margin-top: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    article.content-area.single-post,
    .content-area {
        padding: 4px 4px !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        background: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
    }

    .sidebar-area { 
        width: 100% !important; 
        max-width: 100% !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
    }

    .kat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-widgets { grid-template-columns: 1fr; gap: 20px; }
    .main-navigation ul { flex-wrap: wrap; }
    .related-posts-grid { grid-template-columns: repeat(1, 1fr); }
    .yazarlar-grid { grid-template-columns: repeat(1, 1fr); }

    /* YouTube ve Gömülü Videolar İçin Kesin Esnek Çözüm */
    .single-video-container,
    .video-icerik,
    .wp-block-embed,
    .wp-block-embed__wrapper,
    .wp-block-embed-youtube,
    .elementor-video,
    iframe[src*="youtube.com"],
    iframe[src*="youtu.be"],
    .entry-content iframe,
    .entry-content video,
    iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        max-height: none !important;
        min-height: auto !important;
        float: none !important;
        display: block !important;
        margin: 10px 0 !important;
    }

    .single-video-title,
    .video-baslik {
        position: relative !important;
        inset: auto !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        background: #fff !important;
        color: #222 !important;
        padding: 5px 0 !important;
        text-shadow: none !important;
        z-index: 1 !important;
    }
}

/* =========================================================
   MALATYA OLAY - YENI UST ALAN VE MEGA MENU
   ========================================================= */
/* Logo boyutlarini buradan kolayca ayarlayabilirsin.
   height:auto oldugu icin logo orani otomatik korunur. */
:root {
    --hanbey-logo-width-desktop: 300px;
    --hanbey-logo-max-height-desktop: 90px;
    --hanbey-logo-width-mobile: 275px;
    --hanbey-logo-max-height-mobile: 75px;
    --hanbey-logo-width-small: 230px;
    --hanbey-logo-max-height-small: 70px;
}

.site-header-custom {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    color: #ffffff;
    background: #1e293b;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}

.header-top-shell {
    position: relative;
    z-index: 20;
    width: 100%;
    background: #1e293b;
}

.header-top-row {
    min-height: 84px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-logo-box {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site-title-logo,
.site-title-logo a,
.site-title-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-box img {
    display: block;
    width: var(--hanbey-logo-width-desktop);
    height: auto;
    max-width: 100%;
    max-height: var(--hanbey-logo-max-height-desktop);
    object-fit: contain;
}

.site-title-text {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.header-main-nav {
    min-width: 0;
}

.header-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav-list li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.header-nav-list li a {
    display: block;
    padding: 11px 12px;
    border-radius: 3px;
    color: #f8fafc;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.header-nav-list li a:hover,
.header-nav-list li.current-menu-item > a,
.header-nav-list li.current-menu-ancestor > a {
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.header-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    transition: background-color .15s ease;
}

.header-icon-button:hover,
.header-icon-button:focus-visible {
    background: rgba(255, 255, 255, .14);
    outline: none;
}

.header-icon-button svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hanbey-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10020;
    width: 100%;
    color: #273244;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
}

.hanbey-mega-menu[hidden] {
    display: none !important;
}


.hanbey-mega-menu {
    max-height: calc(100vh - 84px);
    overflow-y: auto;
}

.hanbey-mega-inner {
    padding-top: 20px;
    padding-bottom: 0;
}

.hanbey-mega-main-row {
    display: grid;
    grid-template-columns: minmax(250px, 30%) minmax(0, 1fr);
    gap: 16px;
}

.hanbey-mega-heading {
    margin: 0 0 9px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 750;
}

.hanbey-mega-quick {
    padding: 12px 14px;
    border: 1px solid #e2e6ec;
    background: #f8fafc;
}

.hanbey-mega-quick-list,
.hanbey-mega-main-list,
.hanbey-mega-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hanbey-mega-quick-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e1e5eb;
}

.hanbey-mega-quick-list li:last-child {
    border-bottom: 0;
}

.hanbey-mega-quick-list a {
    display: block;
    padding: 9px 2px;
    color: #374151;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.hanbey-mega-quick-list a:hover,
.hanbey-mega-main-list a:hover,
.hanbey-mega-footer-list a:hover {
    color: #d92332;
}

.hanbey-mega-categories {
    min-width: 0;
    padding: 5px 0 0;
}

.hanbey-mega-main-list {
    columns: 2;
    column-gap: 28px;
}

.hanbey-mega-main-list li {
    break-inside: avoid;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
}

.hanbey-mega-main-list a {
    display: block;
    padding: 9px 2px;
    color: #374151;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.hanbey-mega-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    min-height: 52px;
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid #edf0f3;
}

.hanbey-mega-social-title {
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.hanbey-mega-social a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4b5563;
    font-size: 13px;
    text-decoration: none;
}

.hanbey-mega-social a:hover {
    color: #d92332;
}

.hanbey-mega-social svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hanbey-mega-social .hanbey-youtube-play {
    fill: currentColor;
    stroke: none;
}

.hanbey-mega-footer {
    color: #ffffff;
    background: #1e293b;
}

.hanbey-mega-footer .container {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.hanbey-mega-footer-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    width: 100%;
}

.hanbey-mega-footer-list a {
    display: block;
    padding: 13px 0;
    color: #f8fafc;
    font-size: 13px;
    text-decoration: none;
}

.hanbey-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Ana sayfa son dakika şeridi: referans görseldeki beyaz satır */
.hanbey-header-ticker {
    width: 100%;
    color: #222222;
    background: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid #e5e7eb;
}

.hanbey-header-ticker .hanbey-son-dakika {
    min-height: 42px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.hanbey-header-ticker .hanbey-son-dakika-label {
    padding: 0 14px 0 0 !important;
    color: #d92332 !important;
    background: #ffffff !important;
    font-size: 13px !important;
}

.hanbey-header-ticker .hanbey-son-dakika-dot {
    display: none !important;
}

.hanbey-header-ticker .hanbey-son-dakika-item {
    min-height: 42px !important;
    padding: 0 17px !important;
    color: #222222 !important;
    border-right: 0 !important;
    font-size: 13px !important;
}

.hanbey-header-ticker .hanbey-son-dakika-time {
    color: #333333 !important;
    font-size: 12px !important;
}

.hanbey-header-ticker .hanbey-son-dakika-title {
    color: #333333 !important;
    font-weight: 500 !important;
}

@media (max-width: 1100px) {
    .header-top-row {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 76px;
        gap: 16px;
    }

    .header-main-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-top-row {
        min-height: 68px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header-logo-box img {
        width: var(--hanbey-logo-width-mobile);
        height: auto;
        max-width: 100%;
        max-height: var(--hanbey-logo-max-height-mobile);
    }

    .site-title-text {
        font-size: 21px;
    }

    .header-icon-button {
        width: 39px;
        height: 39px;
    }

    .hanbey-mega-menu {
        max-height: calc(100vh - 68px);
    }

    .hanbey-mega-inner {
        padding-top: 14px;
    }

    .hanbey-mega-main-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hanbey-mega-quick-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
    }

    .hanbey-mega-main-list {
        columns: 2;
        column-gap: 18px;
    }

    .hanbey-mega-social {
        gap: 14px;
    }

    .hanbey-mega-social-title {
        width: 100%;
    }

    .hanbey-mega-footer .container {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .hanbey-mega-footer-list {
        gap: 4px 18px;
    }

    .hanbey-mega-footer-list a {
        padding: 6px 0;
        font-size: 12px;
    }

    .hanbey-header-ticker .hanbey-son-dakika-label {
        padding-right: 10px !important;
        font-size: 11px !important;
    }

    .hanbey-header-ticker .hanbey-son-dakika-item {
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 420px) {
    .header-top-row.container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-logo-box img {
        width: var(--hanbey-logo-width-small);
        height: auto;
        max-width: 100%;
        max-height: var(--hanbey-logo-max-height-small);
    }

    .header-actions {
        gap: 2px;
    }

    .header-icon-button {
        width: 36px;
        height: 36px;
    }

    .hanbey-mega-main-list {
        columns: 1;
    }
}
@media (max-width: 768px) {
    .header-nav-list { justify-content: flex-start; }
}


/* Functions.php içindeki ön yüz widget stilleri */
.haber-reklam-kutusu { margin: 25px 0; text-align: center; }
.manset-alti-reklam { margin-top: 20px; }
/* MOBİL VE TABLET ANA KATEGORİ MENÜSÜ */

@media (max-width: 1100px) {

    .header-top-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        row-gap: 2px;
        min-height: 0;
    }

    /* Logo üst satırda */
    .header-logo-box {
        grid-column: 1;
        grid-row: 1;
    }

    /* Arama ve hamburger üst satırda */
    .header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    /* Ana kategoriler logonun altında */
    .header-main-nav {
        display: block;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        padding-top: 2px;
    }

    /* Kategoriler yatay kaydırılabilir */
    .header-nav-list {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        gap: 2px;
    }

    .header-nav-list::-webkit-scrollbar {
        display: none;
    }

    .header-nav-list li {
        flex: 0 0 auto;
    }

    .header-nav-list li a {
        white-space: nowrap;
        padding: 9px 12px;
        font-size: 13px;
    }

    .hanbey-mega-menu {
        max-height: calc(100vh - 118px);
    }
}

@media (max-width: 767px) {

    .header-top-row {
        row-gap: 0;
    }

    .header-main-nav {
        padding-top: 2px;
        border-top: 1px solid rgba(255,255,255,.12);
    }

    .header-nav-list li a {
        padding: 8px 10px;
        font-size: 12px;
    }

    .hanbey-mega-menu {
        max-height: calc(100vh - 106px);
    }
}

/* MOBİLDE HEADER DA ÜSTTE SABİT KALSIN */
@media screen and (max-width: 768px) {
    html,
    body {
        overflow-x: clip !important;
    }

    #hanbey-site-header.site-header-custom {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
}


/* Mega menude admin panelinden gelen sosyal medya hesaplari */
.hanbey-mega-social a.hanbey-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    white-space: nowrap;
}

.hanbey-mega-social a.hanbey-social-link svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.hanbey-mega-footer-list li {
    flex: 0 0 auto;
}
