/* Beşiktaş Mutfak - Newspaper temasının üzerine eklenen düzeltmeler.
   Tema CSS'ine dokunmaz; yalnızca üst bölüm ve küçük iyileştirmeleri tanımlar. */
:root { --bm-accent: #f9b800; --bm-ink: #1c1c1c; --bm-line: #ececec; }

/* ---- Üst bölüm ---- */
.bm-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--bm-line);
  box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.bm-wrap { display: flex; align-items: center; gap: 28px; max-width: 1200px; margin: 0 auto; padding: 8px 20px; }
.bm-logo { flex: none; display: block; line-height: 0; }
.bm-logo img { height: 56px; width: auto; display: block; }
.bm-nav { flex: 1; }
.bm-menu, .bm-menu ul { list-style: none; margin: 0; padding: 0; }
.bm-menu { display: flex; justify-content: flex-end; gap: 2px; }
.bm-menu > li { position: relative; }
.bm-menu a { display: block; padding: 22px 14px; font: 500 14px/1 Roboto, Arial, sans-serif; letter-spacing: .02em;
  text-transform: uppercase; color: var(--bm-ink); text-decoration: none; transition: color .15s; }
.bm-menu i { display: none; }
.bm-menu > li:hover > a, .bm-menu > li.current-menu-item > a, .bm-menu > li.current-menu-ancestor > a { color: #000; box-shadow: inset 0 -3px 0 var(--bm-accent); }
.bm-menu > li.menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 7px; width: 5px; height: 5px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.bm-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff;
  border: 1px solid var(--bm-line); border-top: 3px solid var(--bm-accent); box-shadow: 0 12px 28px rgba(0,0,0,.12); padding: 6px 0; }
.bm-menu li:hover > .sub-menu, .bm-menu li:focus-within > .sub-menu { display: block; }
.bm-menu .sub-menu a { padding: 11px 20px; text-transform: none; font-size: 14px; letter-spacing: 0; }
.bm-menu .sub-menu a:hover, .bm-menu .sub-menu .current-menu-item > a { background: #faf6e8; box-shadow: none; }
.bm-cta { flex: none; background: var(--bm-accent); color: #111; font: 700 13px/1 Roboto, Arial, sans-serif; text-transform: uppercase;
  letter-spacing: .04em; padding: 13px 20px; border-radius: 3px; text-decoration: none; transition: background .15s, transform .15s; }
.bm-cta:hover { background: #e3a700; color: #000; transform: translateY(-1px); }
.bm-header #td-top-mobile-toggle { display: none; margin-left: auto; }
.bm-header #td-top-mobile-toggle a { display: block; padding: 10px; color: var(--bm-ink); font-size: 22px; line-height: 1; }

@media (max-width: 1018px) {
  .bm-nav, .bm-cta { display: none; }
  .bm-header #td-top-mobile-toggle { display: block; }
  .bm-wrap { padding: 6px 16px; }
  .bm-logo img { height: 46px; }
}

/* ---- Alt bölüm: logo koyu zeminde görünsün ---- */
.td-footer-wrapper .footer-logo-wrap img { filter: brightness(0) invert(1); max-width: 220px; height: auto; }

/* ---- Tek yazı tipi: Roboto (içerikteki elle yazılmış Verdana / Josefin Sans ayarları dahil) ---- */
body :is(p, li, a, span, strong, em, b, div, h1, h2, h3, h4, h5, h6, input, textarea, select, button,
         label, blockquote, pre, code, td, th, small, time, figcaption):not([class*="icon"]):not(.td-icon-font) {
  font-family: Roboto, Arial, sans-serif !important;
}
body { font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* ---- Tam genişlik / dolgusuz WPBakery satırları (İletişim, Teklif Al vb.): metin kenara yapışmasın ---- */
.vc_row-no-padding .wpb_text_column,
.vc_row-no-padding .wpb_map_heading { max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.vc_row-no-padding .wpb_map_heading { text-align: center; }
.vc_row-no-padding .wpb_text_column p { text-align: center; }

/* ---- Bağlantı listeleri (İstanbul ilçeleri): temiz, çok sütunlu ---- */
.bm-linklist { background: #f7f6f2; border-left: 4px solid var(--bm-accent); border-radius: 4px; padding: 24px 28px; }
.bm-list-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; letter-spacing: .03em; color: var(--bm-ink); text-align: left !important; }
.bm-linklist ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.bm-linklist li { margin: 0; padding: 5px 0; break-inside: avoid; font-size: 15px; }
.bm-linklist a { color: var(--bm-ink) !important; border-bottom: 1px solid var(--bm-accent); text-decoration: none; }
.bm-linklist a:hover { background: var(--bm-accent); }

/* ---- Harita başlığı ("Biz Buradayız!") ---- */
.wpb_gmaps_widget .wpb_map_heading { display: block; background: none !important; color: var(--bm-ink) !important; text-align: center;
  font-size: 26px; font-weight: 700; margin: 0 auto 18px; padding: 0 0 12px; position: relative; max-width: none; }
.wpb_gmaps_widget .wpb_map_heading::after { content: ""; display: block; width: 44px; height: 3px; background: var(--bm-accent); margin: 12px auto 0; }
.wpb_map_wraper iframe { width: 100%; display: block; }

/* ---- Okunabilirlik: açık zeminde sarı bağlantılar okunmuyordu ---- */
.wpb_text_column a:not(.vc_btn3), .td-post-content a { color: #a86e00; }
.wpb_text_column a:not(.vc_btn3):hover, .td-post-content a:hover { color: #000; }
.td-post-content img, .wpb_text_column img { max-width: 100%; height: auto; }

/* ---- Yorumlar kapalı: yazı başlığındaki yorum sayacı gizli ---- */
.td-post-comments { display: none !important; }

/* ---- Gömülü videolar: YouTube Embed Plus eklentisi yerine duyarlı oran ---- */
.td-post-content iframe[src*="youtube"], .wpb_content_element iframe[src*="youtube"], .wpb_video_widget iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; }

/* ---- Alt bölüm ---- */
.bm-footer { background: #222; color: #bdbdbd; padding: 8px 20px 0; border-top: 1px solid #333; }
.bm-footer-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1100px; margin: 0 auto; padding: 36px 0 28px; }
.bm-fcol h4 { margin: 0 0 14px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bm-fcol h4::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 8px; background: var(--bm-accent); }
.bm-fcol ul { list-style: none; margin: 0; padding: 0; }
.bm-fcol li { margin: 0 0 8px; }
.bm-fcol a, .bm-fcol p { color: #d6d6d6; font-size: 15px; line-height: 1.9; text-decoration: none; }
.bm-fcol a:hover { color: var(--bm-accent); }
.bm-fbtn { display: inline-block; margin-top: 14px; background: var(--bm-accent); color: #111 !important; font-weight: 700; padding: 11px 18px; border-radius: 3px; }
.bm-fbtn:hover { background: #e3a700; color: #000 !important; }
.bm-copy { max-width: 1100px; margin: 0 auto; padding: 18px 0 22px; border-top: 1px solid #333; font-size: 13px; color: #8d8d8d; text-align: center; }
@media (max-width: 760px) { .bm-footer-wrap { grid-template-columns: 1fr; gap: 26px; } }

/* ---- WhatsApp düğmesi ve yukarı çık oku ---- */
.bm-wa { position: fixed; right: 20px; bottom: 20px; z-index: 9998; width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: transform .15s; }
.bm-wa:hover { transform: scale(1.08); }
body .td-scroll-up, body.single-post .td-scroll-up { right: 26px; bottom: 90px; background-color: #222; border-radius: 3px; transform: translate3d(0, 220px, 0); }
.td-scroll-up-visible { transform: translate3d(0, 0, 0); }

/* ---- Kartlar: hafif yakınlaşma ve başlık vurgusu ---- */
/* büyük kutu (big-grid) şablonları görseli kendi yerleşimiyle verir; onlara dokunma */
.td_module_wrap:not([class*="big-grid"]) .td-module-thumb .td-image-wrap { display: block; overflow: hidden; border-radius: 3px; }
.td-module-thumb img { transition: transform .4s ease; }
.td_module_wrap:hover .td-module-thumb img { transform: scale(1.05); }
.td-module-title a { transition: color .15s; }
.td_module_wrap:hover .td-module-title a { color: #a86e00; }

/* ---- İlçe / model açılış sayfaları ---- */
.bm-landing { max-width: 1100px; margin: 0 auto; padding: 48px 20px 64px; }
.bm-h1 { margin: 0 0 14px; font-size: 38px; line-height: 1.2; font-weight: 700; color: var(--bm-ink); }
.bm-lead { max-width: 760px; margin: 0 0 24px; font-size: 18px; line-height: 1.7; color: #444; }
.bm-landing h2 { margin: 44px 0 18px; font-size: 24px; font-weight: 700; padding-bottom: 12px; position: relative; }
.bm-landing h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--bm-accent); }
.bm-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.bm-btn { display: inline-block; padding: 13px 22px; border-radius: 3px; background: var(--bm-accent); color: #111 !important; font-weight: 700;
  text-decoration: none; transition: background .15s, transform .15s; }
.bm-btn:hover { background: #e3a700; transform: translateY(-1px); }
.bm-btn-wa { background: #25d366; color: #fff !important; }
.bm-btn-wa:hover { background: #1fb957; }
.bm-btn-line { background: transparent; border: 2px solid var(--bm-ink); padding: 11px 20px; }
.bm-btn-line:hover { background: var(--bm-ink); color: #fff !important; }
.bm-models { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bm-models a { display: block; padding: 10px 18px; border: 1px solid #e2e2e2; border-radius: 30px; color: var(--bm-ink); text-decoration: none; font-weight: 500; }
.bm-models a:hover { background: var(--bm-accent); border-color: var(--bm-accent); }
.bm-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bm-work { display: block; color: var(--bm-ink); text-decoration: none; }
.bm-work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; display: block; transition: transform .4s; }
.bm-work { overflow: hidden; }
.bm-work:hover img { transform: scale(1.04); }
.bm-work span { display: block; margin-top: 10px; font-weight: 500; line-height: 1.4; }
.bm-closing { margin-top: 40px; padding: 22px 26px; background: #f7f6f2; border-left: 4px solid var(--bm-accent); font-size: 17px; }
@media (max-width: 760px) { .bm-works { grid-template-columns: 1fr 1fr; gap: 14px; } .bm-h1 { font-size: 28px; } }

/* ---- Arşiv sayfaları (kategori / etiket / yazar): boş kenar çubuğu yok, kartlar tam genişlikte 3 sütun ---- */
body.archive .td-pb-span8.td-main-content { width: 100%; float: none; }
body.archive .td-pb-span4.td-main-sidebar, body.archive .td-main-sidebar { display: none; }
body.archive .td-ss-main-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 26px; }
body.archive .td-ss-main-content > * { grid-column: 1 / -1; }
body.archive .td-ss-main-content > .td-block-row { display: contents; }
body.archive .td-block-row::before, body.archive .td-block-row::after { display: none; }
body.archive .td-block-row > .td-block-span6 { width: auto; float: none; padding: 0; margin: 0 0 14px; }
@media (max-width: 980px) { body.archive .td-ss-main-content { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { body.archive .td-ss-main-content { grid-template-columns: 1fr; } }

/* ---- SEO düzeni: görünümü değiştirmeden doğru başlık seviyeleri ---- */
.bm-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h2.bm-as-h1 { font-size: 32px; line-height: 40px; margin-top: 33px; margin-bottom: 23px; }
h1.bm-as-h2 { font-size: 27px; line-height: 38px; margin-top: 30px; margin-bottom: 20px; }

/* ---- Yıla özel yazılar: bilgi notu ---- */
.bm-dated-note { margin: 0 0 26px; padding: 14px 18px; background: #f7f6f2; border-left: 4px solid var(--bm-accent); font-size: 15px; line-height: 1.6; color: #444; }
.bm-dated-note a { color: #a86e00; font-weight: 500; }

/* ---- Panelden oluşturulan sayfa ve yazılar ---- */
.bm-article { max-width: 820px; margin: 0 auto; padding: 40px 20px 64px; font-size: 17px; line-height: 1.8; }
.bm-article .bm-h1 { margin: 0 0 8px; font-size: 36px; line-height: 1.25; font-weight: 700; }
.bm-article .bm-meta { margin: 0 0 22px; color: #777; font-size: 14px; }
.bm-article .bm-hero { width: 100%; height: auto; border-radius: 4px; margin: 0 0 26px; display: block; }
.bm-article h2 { margin: 36px 0 12px; font-size: 26px; line-height: 1.3; }
.bm-article h3 { margin: 28px 0 10px; font-size: 21px; }
.bm-article img { max-width: 100%; height: auto; border-radius: 3px; }
.bm-article blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--bm-accent); background: #f7f6f2; }
.bm-article a { color: #a86e00; }
@media (max-width: 760px) { .bm-article .bm-h1 { font-size: 28px; } .bm-article { font-size: 16px; } }
.bm-work .bm-meta { display: block; margin-top: 2px; color: #888; font-size: 13px; }
.bm-landing.bm-new { padding-bottom: 8px; }
