/* =========================================================
   HABERVERIYORUZ – EK STİL DOSYASI
   Yer: wp-content/themes/publisher/ek-css/ek-stil.css
   (Eskiden Görünüm > Özelleştir > Ek CSS alanındaydı, 03.12.2026'da dosyaya taşındı)
   Yeni CSS eklemek için bu dosyanın EN ALTINA yazın.
   ========================================================= */


/* ---------- 1. SON DAKİKA BANDI ---------- */
.son-dakika-bandi {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: translateY(-20px) !important; /* bandı 20px yukarı çeker */
}
.son-dakika-bandi + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
div:has(> .son-dakika-bandi) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ---------- 2. WIDGET (YAN SÜTUN) BOŞLUKLARI ---------- */
.widget,
.sidebar .widget,
#sidebar-secondary-sidebar .widget,
aside.widget {
    margin-bottom: 5px !important;
    padding-bottom: 5px !important;
}
.widget > div,
.widget-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* ---------- 3. SLIDER NUMARALARI (1-2-3 kutucukları) ----------
   Küçük, sık dizilmiş kutular: 17 numara telefonda da tek satıra sığar.
   Altlarındaki boşluk da kısaltıldı, alttaki bölüm yukarı çıkar. */
.better-control-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 6px 0 2px !important;
    padding: 0 !important;
    position: static !important;
    bottom: auto !important;
    height: auto !important;
    line-height: 1 !important;
}
.better-control-nav li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1 !important;
}
.better-control-nav li a {
    text-indent: 0 !important;
    overflow: visible !important;
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #e6e6e6 !important;
    color: #333 !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
.better-control-nav li a.active,
.better-control-nav li a.better-active,
.better-control-nav li.slick-active a,
.better-control-nav li.active a {
    background-color: #cc0000 !important;
    color: #ffffff !important;
}
.better-control-nav li a:hover {
    background-color: #333 !important;
    color: #fff !important;
}
/* slider kutusunun altındaki fazladan boşluk */
.bs-slider-1 .better-slider,
.bs-slider-1 .better-slider .better-viewport { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.bs-shortcode.bs-slider-1 { margin-bottom: 4px !important; padding-bottom: 0 !important; }


/* ---------- 4. WPBAKERY SATIR BOŞLUKLARI ---------- */
body .vc_row,
body .wpb_row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
body .wpb_content_element {
    margin-bottom: 0 !important;
}


/* ---------- 5. HV-FOOTER ---------- */
.hv-footer {
    --hv-bg: #2a2a2d;
    --hv-bg-deep: #212124;
    --hv-line: rgba(255,255,255,0.09);
    --hv-text: #d8d8dc;
    --hv-muted: #9b9ba3;
    --hv-white: #ffffff;
    --hv-accent: #e30a17;
    background: var(--hv-bg);
    color: var(--hv-text);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.hv-footer * { box-sizing: border-box; }
.hv-footer a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.hv-footer a:hover { color: var(--hv-white); }
.hv-footer a:focus-visible { outline: 2px solid var(--hv-accent); outline-offset: 3px; border-radius: 2px; }
.hv-footer ul { list-style: none; margin: 0; padding: 0; }

.hv-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* üst 4 bölüm */
.hv-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
    gap: 48px;
    padding: 64px 0 56px;
}
.hv-title {
    margin: 0 0 22px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hv-white);
    padding-bottom: 14px;
    position: relative;
}
.hv-title::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 32px; height: 2px; background: var(--hv-accent);
}

/* 1 — Hakkımızda */
.hv-brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.05;
    color: var(--hv-white);
    margin: 0 0 14px;
}
.hv-brand span { display: block; color: var(--hv-accent); }
.hv-about p { margin: 0 0 18px; color: var(--hv-muted); max-width: 34ch; }
.hv-since {
    display: inline-block;
    font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--hv-text);
    border: 1px solid var(--hv-line);
    padding: 6px 12px; border-radius: 999px;
    margin-bottom: 22px;
}
.hv-social { display: flex; gap: 10px; }
.hv-social a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid var(--hv-line);
    border-radius: 50%;
    font-size: 16px; font-weight: 700; line-height: 1;
}
.hv-social a:hover { background: var(--hv-accent); border-color: var(--hv-accent); }

/* 2 — Bilgi için */
.hv-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.hv-ico { flex: none; width: 22px; color: var(--hv-accent); font-size: 12px; line-height: 1.4; text-align: center; }
.hv-contact .hv-sep { height: 1px; background: var(--hv-line); margin: 20px 0; }
.hv-contact a { color: var(--hv-text); }

/* 3 — Popüler kategoriler */
.hv-cats li { border-bottom: 1px solid var(--hv-line); }
.hv-cats li:last-child { border-bottom: none; }
.hv-cats a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 0;
}
.hv-count {
    min-width: 46px; text-align: center;
    font-size: 12px; font-weight: 600;
    background: rgba(255,255,255,0.07);
    color: var(--hv-text);
    padding: 3px 10px; border-radius: 999px;
}
.hv-cats a:hover .hv-count { background: var(--hv-accent); color: var(--hv-white); }

/* 4 — Öne çıkan */
.hv-feature {
    display: block;
    padding: 16px 16px 16px 20px;
    border: 1px solid var(--hv-line);
    border-left: 3px solid var(--hv-accent);
    background: rgba(255,255,255,0.03);
    margin-bottom: 14px;
}
.hv-feature:hover { background: rgba(255,255,255,0.07); }
.hv-feature small {
    display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--hv-muted); margin-bottom: 4px;
}
.hv-feature strong { display: block; color: var(--hv-white); font-size: 14px; line-height: 1.35; }

/* alt link dizini */
.hv-directory { background: var(--hv-bg-deep); border-top: 1px solid var(--hv-line); }
.hv-dir-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 48px 0 44px;
}
.hv-dir-title {
    margin: 0 0 16px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--hv-muted);
}
.hv-dir-grid li { margin-bottom: 9px; }
.hv-dir-grid a { font-size: 16px; color: var(--hv-text); }
.hv-dir-grid a:hover { color: var(--hv-white); padding-left: 4px; }

/* en alt şerit */
.hv-bottom { border-top: 1px solid var(--hv-line); }
.hv-bottom .hv-wrap {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding-top: 20px; padding-bottom: 20px;
    font-size: 15px; color: var(--hv-muted);
}
.hv-bottom a { color: var(--hv-white); font-weight: 600; }
.hv-bottom a:hover { color: var(--hv-accent); }

/* bölüm bölüm kullanım */
.hv-part { background: transparent; padding: 8px 0; }
.hv-part-dir { background: var(--hv-bg-deep); padding: 0; }
.hv-part-bottom { background: var(--hv-bg-deep); padding: 0; }

/* alt link dizini büyütme (bölüm bölüm kullanımda) */
.hv-part-dir .hv-dir-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
}
.hv-part-dir .hv-directory a {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #cccccc !important;
}
.hv-part-dir .hv-directory li { margin-bottom: 8px !important; }
.hv-part-dir .hv-directory a:hover { color: #ffffff !important; }

/* footer mobil */
@media (max-width: 767px) {
    .hv-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hv-dir-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .hv-top, .hv-dir-grid { grid-template-columns: 1fr; gap: 36px; }
    .hv-top { padding: 48px 0 40px; }
    .hv-bottom .hv-wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .hv-footer * { transition: none !important; }
}


/* ---------- 6. MOBİL: ANASAYFA SLIDER + GENEL ---------- */
@media (max-width: 767px) {

    /* slider yüksekliği */
    .bs-slider-item,
    .bs-slider-1-item,
    .bs-slider-item .item-content,
    .bs-slider-1-item .item-content {
        height: 210px !important;
        min-height: 0 !important;
    }
    .bs-slider-item .img-cont {
        background-size: cover !important;
        background-position: center 30% !important;
        background-repeat: no-repeat !important;
    }
    .bs-slider-item .content-container {
        padding: 10px 12px !important;
    }
    .bs-slider-item .title,
    .bs-slider-item .title a {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    .bs-slider-item .post-summary {
        display: none !important;
    }
    .bs-slider-item .bs-slider-arrow,
    .bs-slider .better-direction-nav a {
        transform: scale(.8);
    }

    /* resimlere ince çerçeve + haber başlığındaki kategori rozetini gizle
       (bunlar şu an zaten sadece telefonda çalışıyordu, öyle bırakıldı) */
    .content-wrap img:not(.emoji):not(.wp-smiley),
    .content-wrap .img-holder,
    .content-wrap .img-cont {
        border: 1px solid rgba(0, 0, 0, .18);
        box-sizing: border-box;
    }
    .post-tp-1-header .term-badges { display: none !important; }
}


/* ---------- 7. MOBİL: HABER DETAY SAYFASI SIKILAŞTIRMA ---------- */
@media (max-width: 767px) {

    /* üst boşluk: breadcrumb (Ana Sayfa > Spor) ince şerit olsun */
    body.single-post .bf-breadcrumb,
    body.single-post .bf-breadcrumb .bf-breadcrumb-items,
    body.single-post .bf-breadcrumb .container {
        margin: 0 !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        min-height: 0 !important;
    }
    body.single-post .bf-breadcrumb,
    body.single-post .bf-breadcrumb li,
    body.single-post .bf-breadcrumb a,
    body.single-post .bf-breadcrumb span {
        font-size: 11px !important;
        line-height: 18px !important;
    }
    body.single-post .content-container,
    body.single-post .layout-bc-before,
    body.single-post .main-section,
    body.single-post .single-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    /* sadece dış haber kutusu (yazı alanına dokunmaz) */
    body.single-post article.single-post-content {
        margin-top: 0 !important;
        padding: 4px 10px 10px !important;
    }
    body.single-post .content-column,
    body.single-post .main-section > .content-column {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* başlık / alt başlık / meta */
    body.single-post .post-tp-1-header {
        margin: 0 !important;
        padding: 0 !important;
    }
    body.single-post .post-tp-1-header .single-post-title {
        margin: 2px 0 6px !important;
        font-size: 22px !important;
        line-height: 1.2 !important;
    }
    body.single-post .post-tp-1-header .post-subtitle {
        margin: 0 0 6px !important;
        line-height: 1.3 !important;   /* yazı boyutu A-/A+ ile kalıyor */
    }
    body.single-post .post-tp-1-header .post-meta-wrap {
        margin: 0 0 6px !important;
    }

    /* resim ve altı */
    body.single-post .single-featured {
        margin: 0 0 6px !important;
        padding: 0 !important;
    }
    body.single-post .single-featured img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* paylaş butonları */
    body.single-post .post-share.top-share,
    body.single-post .post-share.bottom-share {
        margin: 6px 0 !important;
        padding: 0 !important;
    }
    body.single-post .post-share .share-handler {
        height: 34px !important;
        line-height: 34px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
    }
    body.single-post .post-share .social-item a {
        height: 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        line-height: 34px !important;
        padding: 0 !important;
    }
    body.single-post .post-share .social-item a .bf-icon,
    body.single-post .post-share .social-item a i,
    body.single-post .post-share .share-handler i {
        font-size: 15px !important;
        line-height: 34px !important;
    }
    body.single-post .post-share .social-item {
        margin: 0 4px 0 0 !important;
    }

    /* "Yaklaşık 21 Yıldır" bandı (yazı üstü reklam alanı) */
    body.single-post .entry-content .buc-post-top {
        margin: 0 0 6px !important;
    }

    /* Haberi Dinle kutusu (#hv-dinle) */
    body.single-post #hv-dinle {
        margin: 4px 0 !important;
        padding: 4px 8px !important;
    }
    body.single-post #hv-dinle button {
        padding: 6px 12px !important;
        font-size: 14px !important;
        height: auto !important;
        min-height: 0 !important;
    }
    body.single-post #hv-dinle select {
        padding: 4px 6px !important;
        font-size: 14px !important;
        height: 34px !important;
        min-height: 0 !important;
    }
}
/* === SLIDER: karartma sadece yazının altında, resimler net === */

/* 1) Tüm resmi kaplayan perdeyi alt yarıya indir ve hafiflet */
.bs-slider-1 .hvcs-perde {
    top: auto !important;
    bottom: 0 !important;
    height: 55% !important;
    background: linear-gradient(0deg,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.45) 45%,
        rgba(0,0,0,0) 100%) !important;
}

/* 2) Temanın ekstra alt gradyanını kaldır (perdeyle çift karartıyordu) */
.bs-slider-1 .img-cont:after {
    display: none !important;
}

/* 3) Yazı kutusunun arkasındaki siyah zemini kaldır */
.bs-slider-1 .content-container {
    background: transparent !important;
}

/* Yazılar her resimde okunaklı kalsın diye hafif gölge */
.bs-slider-1 .hvcs-yazi,
.bs-slider-1 .content-container {
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
}


/* ---------- 8. HİZMET SAYFASI (/hizmet/) – YAZI BOYUTU ----------
   Büyük gelirse 17px'i 16px, küçük gelirse 18px yapın. */
.hz{font-size:17px !important}
.hz-hero{padding:30px 28px !important}
.hz-hero .hz-big{width:90px !important;height:90px !important}
.hz-card{padding:22px !important}
@media(max-width:700px){
  .hz{font-size:16px !important}
  .hz-hero{padding:24px 16px !important}
  .hz-card{padding:16px !important}
}
