/*
Theme Name: Manşet Haber
Theme URI: https://example.com/manset
Author: Manşet
Description: Profesyonel, hızlı ve Google AdSense uyumlu haber / dergi teması. Kendi yönetim paneli (Görünüm > Manşet Ayarları), kategori renkleri, ana sayfa blok düzenleyici, son dakika şeridi, reklam alanları, ads.txt yönetimi, karanlık mod ve hazır yasal sayfalar içerir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manset
Tags: news, blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   1. DEĞİŞKENLER
   ========================================================= */
:root {
	--m-primary: #d32f2f;
	--m-nav-bg: #1f2329;
	--m-nav-text: #ffffff;
	--m-topbar-bg: #111418;
	--m-body-bg: #eef0f3;
	--m-surface: #ffffff;
	--m-text: #1d2127;
	--m-muted: #6b7280;
	--m-border: #e3e6ea;
	--m-link: #1d2127;
	--m-footer-bg: #16191d;
	--m-footer-text: #c3c8cf;
	--m-radius: 4px;
	--m-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--m-font-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--m-container: 1200px;
	--m-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

html[data-theme="dark"] {
	--m-body-bg: #0f1216;
	--m-surface: #181c22;
	--m-text: #e7e9ec;
	--m-muted: #9aa3ae;
	--m-border: #2a3038;
	--m-link: #e7e9ec;
	--m-shadow: none;
}

/* =========================================================
   2. TEMEL
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--m-body-bg);
	color: var(--m-text);
	font-family: var(--m-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--m-link); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--m-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--m-font-head); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000;
	background: var(--m-surface); padding: 10px 16px; border-radius: var(--m-radius);
}
.m-container { max-width: var(--m-container); margin: 0 auto; padding: 0 16px; }
body.m-boxed .m-site { max-width: calc(var(--m-container) + 32px); margin: 0 auto; background: var(--m-body-bg); box-shadow: 0 0 24px rgba(0,0,0,.08); }

/* =========================================================
   3. ÜST BAR
   ========================================================= */
.m-topbar { background: var(--m-topbar-bg); color: #b9c0c9; font-size: 13px; }
.m-topbar .m-container { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
.m-topbar a { color: #d7dce2; }
.m-topbar a:hover { color: #fff; }
.m-topbar__left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.m-topbar__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.m-topbar__date { white-space: nowrap; }
.m-social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.m-social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; }
.m-social svg { width: 15px; height: 15px; fill: currentColor; }

/* =========================================================
   4. HEADER
   ========================================================= */
.m-header { background: var(--m-surface); border-bottom: 1px solid var(--m-border); }
.m-header .m-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.m-header.is-centered .m-container { flex-direction: column; text-align: center; }
.m-logo img { max-height: 70px; width: auto; }
.m-logo__text { font-family: var(--m-font-head); font-size: 34px; font-weight: 800; letter-spacing: -.5px; color: var(--m-text); line-height: 1.1; display: block; }
.m-logo__text span { color: var(--m-primary); }
.m-logo__desc { margin: 4px 0 0; font-size: 13px; color: var(--m-muted); }
.m-header__ad { flex: 0 1 728px; min-width: 0; }

/* =========================================================
   5. NAVİGASYON
   ========================================================= */
.m-nav { background: var(--m-nav-bg); color: var(--m-nav-text); position: relative; z-index: 50; border-bottom: 3px solid var(--m-primary); }
.m-nav.is-sticky { position: sticky; top: 0; }
body.admin-bar .m-nav.is-sticky { top: 32px; }
.m-nav .m-container { display: flex; align-items: stretch; min-height: 50px; }
.m-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; flex: 1; }
.m-menu > li { position: relative; }
.m-menu > li > a {
	display: flex; align-items: center; height: 100%; min-height: 50px; padding: 0 16px;
	color: var(--m-nav-text); font-family: var(--m-font-head); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .3px;
	border-top: 3px solid transparent; margin-top: -0px;
}
.m-menu > li > a:hover, .m-menu > li.current-menu-item > a, .m-menu > li.current-menu-ancestor > a, .m-menu > li.current-post-ancestor > a {
	background: rgba(255,255,255,.06); border-top-color: var(--cat-color, var(--m-primary)); color: #fff;
}
.m-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 6px 0;
	background: var(--m-surface); box-shadow: 0 8px 24px rgba(0,0,0,.14); border-top: 3px solid var(--m-primary);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; z-index: 60;
}
.m-menu .sub-menu .sub-menu { top: -9px; left: 100%; }
.m-menu li:hover > .sub-menu, .m-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.m-menu .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; color: var(--m-text); }
.m-menu .sub-menu a:hover { color: var(--m-primary); background: rgba(127,127,127,.08); }
.m-menu .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 0 0 8px; opacity: .7; }
.m-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); float: right; margin-top: 8px; }
.m-nav__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.m-icon-btn {
	background: transparent; border: 0; color: var(--m-nav-text); width: 44px; height: 50px; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.m-icon-btn:hover { background: rgba(255,255,255,.08); }
.m-icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.m-burger { display: none; }

/* Arama açılır */
.m-search-panel { display: none; background: var(--m-surface); border-bottom: 1px solid var(--m-border); }
.m-search-panel.is-open { display: block; }
.m-search-panel .m-container { padding-top: 14px; padding-bottom: 14px; }
.m-searchform { display: flex; gap: 0; }
.m-searchform input[type="search"] {
	flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--m-border); border-right: 0;
	border-radius: var(--m-radius) 0 0 var(--m-radius); background: var(--m-surface);
}
.m-searchform button { padding: 0 18px; border: 0; background: var(--m-primary); color: #fff; border-radius: 0 var(--m-radius) var(--m-radius) 0; cursor: pointer; font-weight: 600; }

/* Mobil menü */
.m-drawer { position: fixed; inset: 0; z-index: 9999; visibility: hidden; }
.m-drawer.is-open { visibility: visible; }
.m-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s; }
.m-drawer.is-open .m-drawer__overlay { opacity: 1; }
.m-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: 86%; max-width: 340px; background: var(--m-surface);
	transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; padding: 16px;
}
.m-drawer.is-open .m-drawer__panel { transform: none; }
.m-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.m-drawer__head .m-icon-btn { color: var(--m-text); height: 44px; }
.m-drawer .m-mobile-menu { list-style: none; margin: 0 0 16px; padding: 0; }
.m-drawer .m-mobile-menu ul { list-style: none; padding-left: 14px; margin: 0; }
.m-drawer .m-mobile-menu a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--m-border); font-weight: 600; }
.m-drawer .m-social a { color: var(--m-text); }

/* =========================================================
   6. SON DAKİKA ŞERİDİ
   ========================================================= */
.m-breaking { background: var(--m-surface); border-bottom: 1px solid var(--m-border); }
.m-breaking .m-container { display: flex; align-items: center; gap: 12px; min-height: 44px; overflow: hidden; }
.m-breaking__label {
	flex: none; background: var(--m-primary); color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase;
	padding: 5px 12px; border-radius: var(--m-radius); display: inline-flex; align-items: center; gap: 6px;
}
.m-breaking__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: m-pulse 1.4s infinite; }
@keyframes m-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.m-breaking__track { flex: 1; min-width: 0; position: relative; height: 26px; overflow: hidden; }
.m-breaking__list { list-style: none; margin: 0; padding: 0; }
.m-breaking__list li {
	position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 26px;
	opacity: 0; transform: translateY(100%); transition: all .4s ease; font-weight: 500;
}
.m-breaking__list li.is-active { opacity: 1; transform: none; }
.m-breaking__list li:first-child { opacity: 1; transform: none; }
.m-breaking__list.is-ready li:first-child:not(.is-active) { opacity: 0; transform: translateY(-100%); }
.m-breaking__list time { color: var(--m-primary); font-weight: 700; margin-right: 8px; font-size: 13px; }
.m-breaking__nav { display: flex; gap: 4px; flex: none; }
.m-breaking__nav button { width: 28px; height: 28px; border: 1px solid var(--m-border); background: var(--m-surface); cursor: pointer; border-radius: var(--m-radius); color: var(--m-text); }
.m-breaking__nav button:hover { border-color: var(--m-primary); color: var(--m-primary); }

/* =========================================================
   7. YERLEŞİM
   ========================================================= */
.m-main { padding: 24px 0 40px; }
.m-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 28px; align-items: start; }
.m-layout.sidebar-left { grid-template-columns: 336px minmax(0, 1fr); }
.m-layout.sidebar-left .m-content { order: 2; }
.m-layout.sidebar-none { grid-template-columns: minmax(0, 1fr); }
.m-layout.sidebar-none .m-content { max-width: 860px; margin: 0 auto; width: 100%; }
.m-box { background: var(--m-surface); border-radius: var(--m-radius); box-shadow: var(--m-shadow); padding: 20px; margin-bottom: 24px; border: 1px solid var(--m-border); }
.m-sidebar.is-sticky { position: sticky; top: 70px; }

/* Bölüm başlığı */
.m-section-title {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	border-bottom: 2px solid var(--m-border); margin: 0 0 18px; position: relative;
}
.m-section-title h2, .m-section-title h3, .widget-title {
	margin: 0; font-size: 17px; text-transform: uppercase; letter-spacing: .4px;
}
.m-section-title .m-section-title__text {
	display: inline-block; background: var(--cat-color, var(--m-primary)); color: #fff; padding: 7px 14px 6px;
	position: relative; bottom: -2px; border-radius: var(--m-radius) var(--m-radius) 0 0;
}
.m-section-title a.m-more { font-size: 13px; color: var(--m-muted); font-weight: 600; white-space: nowrap; }
.m-section-title a.m-more:hover { color: var(--cat-color, var(--m-primary)); }

/* =========================================================
   8. KARTLAR
   ========================================================= */
.m-thumb { position: relative; display: block; overflow: hidden; border-radius: var(--m-radius); background: #d7dbe0; aspect-ratio: 16 / 10; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.m-thumb:hover img, .m-card:hover .m-thumb img { transform: scale(1.04); }
.m-thumb--placeholder { background: linear-gradient(135deg, var(--cat-color, var(--m-primary)), #1f2329); }
.m-thumb--placeholder::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,.35)'%3E%3Cpath d='M19 5v14H5V5h14m0-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-4.86 8.86-3 3.87L9 13.14 6 17h12l-3.86-5.14z'/%3E%3C/svg%3E") center / 40px no-repeat; }
.m-cat-badge {
	display: inline-block; background: var(--cat-color, var(--m-primary)); color: #fff !important; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; border-radius: 2px; line-height: 1.5;
}
.m-thumb .m-cat-badge { position: absolute; left: 10px; top: 10px; z-index: 2; }
.m-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; color: var(--m-muted); }
.m-meta a { color: var(--m-muted); }
.m-meta a:hover { color: var(--m-primary); }
.m-meta span { display: inline-flex; align-items: center; gap: 4px; }
.m-meta svg { width: 13px; height: 13px; fill: currentColor; opacity: .8; }
.m-card__title { margin: 10px 0 6px; font-size: 17px; line-height: 1.35; }
.m-card__title a { color: var(--m-text); }
.m-card__title a:hover { color: var(--cat-color, var(--m-primary)); }
.m-card__excerpt { color: var(--m-muted); font-size: 14.5px; margin: 8px 0 0; }
.m-card--big .m-card__title { font-size: 22px; }
.m-card--small { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: start; }
.m-card--small .m-thumb { aspect-ratio: 4 / 3; }
.m-card--small .m-card__title { font-size: 14.5px; margin: 0 0 4px; }
.m-card--small + .m-card--small { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--m-border); }
.m-card--overlay { position: relative; border-radius: var(--m-radius); overflow: hidden; display: block; }
.m-card--overlay .m-thumb { aspect-ratio: auto; height: 100%; border-radius: 0; }
.m-card--overlay .m-card__body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 2;
	background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 60%, transparent 100%);
}
.m-card--overlay .m-card__title { margin: 8px 0 4px; }
.m-card--overlay .m-card__title a, .m-card--overlay .m-meta, .m-card--overlay .m-meta a { color: #fff; }
.m-card--overlay .m-card__title a:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   9. MANŞET (ÖNE ÇIKANLAR)
   ========================================================= */
.m-featured { display: grid; gap: 4px; margin-bottom: 24px; }
.m-featured--grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
.m-featured--grid > :first-child { grid-row: span 2; }
.m-featured--grid > :nth-child(1) .m-card__title { font-size: 28px; }
.m-featured--grid .m-card__title { font-size: 16px; }
.m-featured--grid3 { grid-template-columns: 2fr 1fr; grid-template-rows: 220px 220px; }
.m-featured--grid3 > :first-child { grid-row: span 2; }
.m-featured--grid3 > :nth-child(1) .m-card__title { font-size: 28px; }
.m-featured .m-card--overlay { height: 100%; }

/* Kaydırmalı manşet (slider) */
.m-slider { position: relative; margin-bottom: 24px; border-radius: var(--m-radius); overflow: hidden; background: #000; }
.m-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.m-slider__track::-webkit-scrollbar { display: none; }
.m-slider__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 8; }
.m-slider__slide .m-card--overlay { height: 100%; }
.m-slider__slide .m-card__title { font-size: 30px; }
.m-slider__dots { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 6px; z-index: 5; }
.m-slider__dots button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.m-slider__dots button.is-active { background: var(--m-primary); }

/* =========================================================
   10. ANA SAYFA BLOKLARI
   ========================================================= */
.m-blocks { display: flex; flex-wrap: wrap; gap: 0 24px; }
.m-block { flex: 0 0 100%; min-width: 0; }
.m-block.is-half { flex: 0 0 calc(50% - 12px); }
.m-block-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.m-block.is-half .m-block-1 { grid-template-columns: 1fr; }
.m-grid { display: grid; gap: 20px; }
.m-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m-block.is-half .m-grid--3, .m-block.is-half .m-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-block-3__top { margin-bottom: 18px; }
.m-block-3__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.m-block-3__list .m-card--small + .m-card--small { margin-top: 0; padding-top: 0; border-top: 0; }
.m-block.is-half .m-block-3__list { grid-template-columns: 1fr; }
.m-block-list .m-card--list { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; }
.m-block-list .m-card--list + .m-card--list { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--m-border); }
.m-block-list .m-card--list .m-card__title { margin-top: 6px; font-size: 19px; }

/* Arşiv listesi */
.m-archive-list .m-card--list { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
.m-archive-list .m-card--list + .m-card--list { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--m-border); }
.m-archive-list .m-card--list .m-card__title { font-size: 20px; margin-top: 6px; }
.m-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.m-archive-header { margin-bottom: 20px; }
.m-archive-header h1 { font-size: 26px; margin: 0; }
.m-archive-header .m-archive-desc { color: var(--m-muted); margin-top: 8px; }
.m-archive-header .m-archive-desc p:last-child { margin: 0; }

/* Sayfalama */
.m-pagination { margin-top: 28px; }
.m-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.m-pagination .page-numbers {
	min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--m-surface); border: 1px solid var(--m-border); border-radius: var(--m-radius); font-weight: 600;
}
.m-pagination .page-numbers.current, .m-pagination a.page-numbers:hover { background: var(--m-primary); border-color: var(--m-primary); color: #fff; }

/* =========================================================
   11. YAZI DETAY
   ========================================================= */
.m-breadcrumb { font-size: 13px; color: var(--m-muted); margin-bottom: 14px; }
.m-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.m-breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.m-breadcrumb a { color: var(--m-muted); }
.m-article__title { font-size: 34px; line-height: 1.22; margin: 12px 0 14px; letter-spacing: -.3px; }
.m-article__lead { font-size: 19px; line-height: 1.55; color: var(--m-muted); font-weight: 500; margin: 0 0 16px; }
.m-article__meta { padding: 12px 0; border-top: 1px solid var(--m-border); border-bottom: 1px solid var(--m-border); margin-bottom: 20px; justify-content: space-between; }
.m-article__meta .m-author-mini { display: inline-flex; align-items: center; gap: 8px; }
.m-article__meta .m-author-mini img { width: 32px; height: 32px; border-radius: 50%; }
.m-article__thumb { margin: 0 0 22px; }
.m-article__thumb img { width: 100%; border-radius: var(--m-radius); }
.m-article__thumb figcaption { font-size: 13px; color: var(--m-muted); margin-top: 6px; }
.m-entry { font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.m-entry h2 { font-size: 26px; margin-top: 1.4em; }
.m-entry h3 { font-size: 22px; margin-top: 1.3em; }
.m-entry h4 { font-size: 19px; margin-top: 1.2em; }
.m-entry a { color: var(--m-primary); text-decoration: underline; text-underline-offset: 2px; }
.m-entry img { border-radius: var(--m-radius); }
.m-entry ul, .m-entry ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.m-entry li { margin-bottom: .4em; }
.m-entry blockquote {
	margin: 1.6em 0; padding: 14px 22px; border-left: 4px solid var(--m-primary); background: rgba(127,127,127,.07);
	font-size: 19px; font-style: italic; border-radius: 0 var(--m-radius) var(--m-radius) 0;
}
.m-entry blockquote p:last-child { margin: 0; }
.m-entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; display: block; overflow-x: auto; }
.m-entry th, .m-entry td { border: 1px solid var(--m-border); padding: 8px 12px; text-align: left; }
.m-entry th { background: rgba(127,127,127,.08); }
.m-entry figure { margin: 1.4em 0; }
.m-entry figcaption, .wp-caption-text { font-size: 13px; color: var(--m-muted); text-align: center; margin-top: 6px; }
.m-entry pre { background: #1f2329; color: #e7e9ec; padding: 16px; border-radius: var(--m-radius); overflow-x: auto; font-size: 14px; }
.m-entry iframe { width: 100%; }
.m-entry .wp-block-embed__wrapper iframe, .m-entry iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { width: 100%; }
.sticky, .bypostauthor, .gallery-caption { /* WordPress çekirdek sınıfları */ }
.m-page-links { clear: both; margin: 20px 0; font-weight: 600; }

.m-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; align-items: center; }
.m-tags strong { margin-right: 4px; font-size: 14px; }
.m-tags a { font-size: 13px; padding: 4px 10px; border: 1px solid var(--m-border); border-radius: 20px; color: var(--m-muted); }
.m-tags a:hover { border-color: var(--m-primary); color: var(--m-primary); }

.m-share { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 18px 0; }
.m-share__label { font-weight: 700; font-size: 14px; margin-right: 4px; }
.m-share a, .m-share button {
	display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; color: #fff !important; border-radius: var(--m-radius);
	font-size: 13px; font-weight: 600; border: 0; cursor: pointer; text-decoration: none !important;
}
.m-share svg { width: 16px; height: 16px; fill: #fff; }
.m-share .is-facebook { background: #1877f2; }
.m-share .is-x { background: #111; }
.m-share .is-whatsapp { background: #25d366; }
.m-share .is-telegram { background: #229ed9; }
.m-share .is-linkedin { background: #0a66c2; }
.m-share .is-copy { background: #6b7280; }
.m-share a:hover, .m-share button:hover { filter: brightness(1.1); }

.m-author-box { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; }
.m-author-box img { width: 80px; height: 80px; border-radius: 50%; }
.m-author-box h3 { font-size: 18px; margin: 0 0 6px; }
.m-author-box p { margin: 0; color: var(--m-muted); font-size: 15px; }

.m-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.m-post-nav a { display: block; }
.m-post-nav small { display: block; color: var(--m-muted); font-size: 12px; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.m-post-nav strong { font-family: var(--m-font-head); font-size: 15px; line-height: 1.35; display: block; }
.m-post-nav .is-next { text-align: right; }

/* =========================================================
   12. YORUMLAR
   ========================================================= */
.m-comments .comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.m-comments .comment-list .children { list-style: none; padding-left: 28px; margin: 0; }
.m-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--m-border); }
.m-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.m-comments .comment-author img { border-radius: 50%; }
.m-comments .comment-author .says { display: none; }
.m-comments .comment-metadata { font-size: 12px; margin: 2px 0 8px 50px; }
.m-comments .comment-metadata a { color: var(--m-muted); }
.m-comments .comment-content { margin-left: 50px; font-size: 15.5px; }
.m-comments .reply { margin-left: 50px; font-size: 13px; font-weight: 700; }
.m-comments label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.m-comments input[type="text"], .m-comments input[type="email"], .m-comments input[type="url"], .m-comments textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--m-border); border-radius: var(--m-radius); background: var(--m-surface);
}
.m-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.m-comments .comment-form-cookies-consent label { font-weight: 400; }
.m-btn, .m-comments .submit, .wp-block-button__link, input[type="submit"] {
	display: inline-block; background: var(--m-primary); color: #fff; border: 0; padding: 11px 22px; border-radius: var(--m-radius);
	font-weight: 700; cursor: pointer;
}
.m-btn:hover, .m-comments .submit:hover { filter: brightness(1.08); color: #fff; }

/* =========================================================
   13. WIDGET / SIDEBAR
   ========================================================= */
.widget { background: var(--m-surface); border: 1px solid var(--m-border); border-radius: var(--m-radius); box-shadow: var(--m-shadow); padding: 18px; margin-bottom: 24px; }
.widget-title { border-bottom: 2px solid var(--m-border); margin: -2px 0 16px !important; padding: 0; }
.widget-title span { display: inline-block; background: var(--m-primary); color: #fff; padding: 6px 12px 5px; position: relative; bottom: -2px; border-radius: var(--m-radius) var(--m-radius) 0 0; font-size: 15px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget > ul > li, .widget .menu > li { padding: 8px 0; border-bottom: 1px solid var(--m-border); }
.widget > ul > li:last-child { border-bottom: 0; }
.widget select { width: 100%; padding: 8px; border: 1px solid var(--m-border); border-radius: var(--m-radius); background: var(--m-surface); }
.widget_tag_cloud a, .wp-block-tag-cloud a { display: inline-block; font-size: 13px !important; padding: 4px 10px; border: 1px solid var(--m-border); border-radius: 20px; margin: 0 4px 6px 0; }
.m-w-posts .m-card--small .m-card__title { font-size: 14px; }
.m-w-numbered { counter-reset: mnum; }
.m-w-numbered .m-card--small { grid-template-columns: 34px minmax(0, 1fr); }
.m-w-numbered .m-card--small::before {
	counter-increment: mnum; content: counter(mnum); font-family: var(--m-font-head); font-size: 26px; font-weight: 800; color: var(--m-primary); line-height: 1; opacity: .85;
}
.m-w-social { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.m-w-social a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: #fff !important; border-radius: var(--m-radius); font-weight: 600; font-size: 14px; }
.m-w-social svg { width: 18px; height: 18px; fill: #fff; }
.m-w-social .is-facebook { background: #1877f2; } .m-w-social .is-x { background: #111; } .m-w-social .is-instagram { background: #d6249f; }
.m-w-social .is-youtube { background: #ff0000; } .m-w-social .is-tiktok { background: #010101; } .m-w-social .is-telegram { background: #229ed9; }
.m-w-social .is-linkedin { background: #0a66c2; } .m-w-social .is-whatsapp { background: #25d366; }

/* =========================================================
   14. REKLAM ALANLARI
   ========================================================= */
.m-ad { text-align: center; margin: 0 auto 24px; overflow: hidden; clear: both; }
.m-ad__label { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--m-muted); margin-bottom: 4px; }
.m-ad--header { margin: 0; }
.m-ad--below-nav { margin-top: 20px; margin-bottom: 0; }
.m-ad--in-content, .m-ad--before-content, .m-ad--after-content { margin: 24px auto; }
.m-ad--archive { margin: 20px 0; }
.m-ad--footer { margin: 0 auto; padding: 20px 0; }
.m-ad ins.adsbygoogle { display: block; }
.m-ad--header { min-height: 90px; }
.m-ad-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: var(--m-surface); box-shadow: 0 -2px 10px rgba(0,0,0,.15);
	text-align: center; padding: 4px 0; display: none; min-height: 54px;
}
.m-ad-sticky__close { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; background: var(--m-surface); color: var(--m-text); border-radius: 4px 4px 0 0; cursor: pointer; font-size: 16px; line-height: 1; box-shadow: 0 -2px 6px rgba(0,0,0,.1); }

/* =========================================================
   15. FOOTER
   ========================================================= */
.m-footer { background: var(--m-footer-bg); color: var(--m-footer-text); font-size: 14.5px; margin-top: 10px; }
.m-footer a { color: var(--m-footer-text); }
.m-footer a:hover { color: #fff; }
.m-footer__widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 40px 0 16px; }
.m-footer .widget { background: transparent; border: 0; box-shadow: none; padding: 0; }
.m-footer .widget-title { border-bottom-color: rgba(255,255,255,.12); color: #fff; }
.m-footer .widget > ul > li { border-bottom-color: rgba(255,255,255,.08); }
.m-footer .m-card__title a { color: #e7e9ec; }
.m-footer .m-meta { color: #8f98a3; }
.m-footer__about .m-logo__text { color: #fff; font-size: 26px; }
.m-footer__about p { margin-top: 12px; }
.m-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; }
.m-footer__bottom .m-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: center; }
.m-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }

.m-totop {
	position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--m-primary);
	color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: all .2s; z-index: 9980; box-shadow: 0 4px 12px rgba(0,0,0,.2);
	display: flex; align-items: center; justify-content: center;
}
.m-totop.is-visible { opacity: 1; visibility: visible; }
.m-totop svg { width: 20px; height: 20px; fill: #fff; }
body.has-sticky-ad .m-totop { bottom: 80px; }

/* Çerez bildirimi */
.m-cookie {
	position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; z-index: 9995; background: var(--m-surface); color: var(--m-text);
	border: 1px solid var(--m-border); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 16px 18px; font-size: 14px; display: none;
}
.m-cookie.is-visible { display: block; }
.m-cookie p { margin: 0 0 12px; }
.m-cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.m-cookie__actions .m-btn { padding: 8px 18px; font-size: 14px; }
.m-cookie__actions .m-btn--ghost { background: transparent; color: var(--m-text); border: 1px solid var(--m-border); }

/* 404 */
.m-404 { text-align: center; padding: 40px 20px; }
.m-404 .m-404__code { font-family: var(--m-font-head); font-size: 110px; font-weight: 800; color: var(--m-primary); line-height: 1; }
.m-404 .m-searchform { max-width: 460px; margin: 20px auto 0; }

/* =========================================================
   16. DUYARLI (RESPONSIVE)
   ========================================================= */
@media (max-width: 1100px) {
	.m-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
	.m-layout.sidebar-left { grid-template-columns: 300px minmax(0, 1fr); }
	.m-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.m-layout, .m-layout.sidebar-left { grid-template-columns: minmax(0, 1fr); }
	.m-layout.sidebar-left .m-content { order: 0; }
	.m-sidebar.is-sticky { position: static; }
	.m-menu { display: none; }
	.m-burger { display: inline-flex; }
	.m-nav .m-container { padding-left: 0; }
	.m-nav__brand { display: flex; align-items: center; color: var(--m-nav-text); font-family: var(--m-font-head); font-weight: 800; font-size: 18px; }
	.m-header__ad { display: none; }
	.m-header .m-container { justify-content: center; padding-top: 16px; padding-bottom: 16px; }
	.m-featured--grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px 180px; }
	.m-featured--grid > :first-child { grid-column: span 2; grid-row: auto; }
	.m-featured--grid3 { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px; }
	.m-featured--grid3 > :first-child { grid-column: span 2; grid-row: auto; }
	.m-footer__widgets { grid-template-columns: 1fr 1fr; }
	body.admin-bar .m-nav.is-sticky { top: 0; }
}
@media (min-width: 961px) { .m-nav__brand { display: none; } }
@media (max-width: 782px) {
	body.admin-bar .m-nav.is-sticky { top: 46px; }
}
@media (max-width: 680px) {
	body { font-size: 15.5px; }
	.m-topbar__menu { display: none; }
	.m-topbar .m-social { display: none; }
	.m-main { padding-top: 16px; }
	.m-box, .widget { padding: 16px; }
	.m-block.is-half { flex: 0 0 100%; }
	.m-block-1, .m-block-3__list, .m-archive-grid { grid-template-columns: 1fr; }
	.m-grid--2, .m-grid--3, .m-grid--4 { grid-template-columns: 1fr; }
	.m-grid--4.is-compact, .m-grid--3.is-compact { grid-template-columns: 1fr 1fr; }
	.m-block-list .m-card--list, .m-archive-list .m-card--list { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
	.m-block-list .m-card--list .m-card__title, .m-archive-list .m-card--list .m-card__title { font-size: 15.5px; }
	.m-block-list .m-card__excerpt, .m-archive-list .m-card__excerpt { display: none; }
	.m-block-list .m-card--list .m-thumb, .m-archive-list .m-card--list .m-thumb { aspect-ratio: 4 / 3; }
	.m-featured--grid, .m-featured--grid3 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
	.m-featured--grid > :first-child, .m-featured--grid3 > :first-child { grid-column: auto; }
	.m-featured--grid > :nth-child(1) .m-card__title, .m-featured--grid3 > :nth-child(1) .m-card__title { font-size: 21px; }
	.m-featured--grid > :nth-child(n+4) { display: none; }
	.m-slider__slide { aspect-ratio: 4 / 3; }
	.m-slider__slide .m-card__title { font-size: 20px; }
	.m-article__title { font-size: 25px; }
	.m-article__lead { font-size: 17px; }
	.m-entry { font-size: 17px; }
	.m-post-nav { grid-template-columns: 1fr; }
	.m-post-nav .is-next { text-align: left; }
	.m-footer__widgets { grid-template-columns: 1fr; }
	.m-breaking__nav { display: none; }
	.m-share__label { width: 100%; }
	.m-share a span, .m-share button span { display: none; }
	.m-ad-sticky { display: block; }
	.m-comments .comment-content, .m-comments .comment-metadata, .m-comments .reply { margin-left: 0; }
	.alignleft, .alignright { float: none; margin: 1em auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.m-topbar, .m-nav, .m-breaking, .m-sidebar, .m-footer, .m-ad, .m-ad-sticky, .m-share, .m-comments, .m-related, .m-totop, .m-cookie { display: none !important; }
	.m-layout { display: block; }
}

/* =========================================================
   17. EKLER
   ========================================================= */
.m-logo__dark { display: none; }
html[data-theme="dark"] .m-logo__light { display: none; }
html[data-theme="dark"] .m-logo__dark { display: block; }
.m-theme-toggle__moon { display: inline-flex; }
.m-theme-toggle__sun { display: none; }
html[data-theme="dark"] .m-theme-toggle__sun { display: inline-flex; }
html[data-theme="dark"] .m-theme-toggle__moon { display: none; }
html[data-theme="dark"] .m-thumb { background: #262b33; }
html[data-theme="dark"] .m-header { background: var(--m-surface); }
html[data-theme="dark"] .m-logo__text { color: #fff; }
.m-drawer .m-logo__text { font-size: 24px; }
.m-drawer .m-searchform { margin-bottom: 12px; }
.m-article .m-cat-badge { margin-bottom: 2px; }
.m-section-title h1 { margin: 0; font-size: 20px; text-transform: uppercase; }
.m-block-1__list { min-width: 0; }
.comment-respond { margin-top: 10px; }
.comment-form p { margin-bottom: 14px; }
.comment-reply-title small { margin-left: 10px; font-size: 13px; text-transform: none; }
.m-comments .comment-reply-title small a { color: rgba(255,255,255,.85); }

/* Stil 3 üst haber yatay */
.m-block-3__top .m-card--list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.m-block-3__top .m-card--list .m-card__title { font-size: 21px; margin-top: 8px; }
.m-block.is-half .m-block-3__top .m-card--list { grid-template-columns: 1fr; }
@media (max-width: 680px) { .m-block-3__top .m-card--list { grid-template-columns: 1fr; gap: 10px; } }

/* WordPress blok bileşenleri (varsayılan bileşenler) */
.widget .wp-block-heading, .widget .wp-block-search__label {
	font-size: 15px; text-transform: uppercase; letter-spacing: .4px; margin: 0 0 14px; padding-bottom: 8px;
	border-bottom: 2px solid var(--m-border); position: relative; display: block; font-weight: 700;
}
.widget .wp-block-heading::after, .widget .wp-block-search__label::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--m-primary); }
.widget .wp-block-search__inside-wrapper { display: flex; }
.widget .wp-block-search__input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--m-border); border-radius: var(--m-radius) 0 0 var(--m-radius); background: var(--m-surface); }
.widget .wp-block-search__button { margin: 0; border: 0; background: var(--m-primary); color: #fff; padding: 0 16px; border-radius: 0 var(--m-radius) var(--m-radius) 0; font-weight: 600; cursor: pointer; }
.widget .wp-block-latest-posts li, .widget .wp-block-latest-comments li, .widget .wp-block-archives li, .widget .wp-block-categories li { padding: 8px 0; border-bottom: 1px solid var(--m-border); margin: 0; }
.widget .wp-block-latest-posts li:last-child, .widget .wp-block-latest-comments li:last-child, .widget .wp-block-archives li:last-child, .widget .wp-block-categories li:last-child { border-bottom: 0; }
.widget .wp-block-latest-posts a { font-weight: 600; font-family: var(--m-font-head); }
.widget .wp-block-latest-comments { padding: 0; margin: 0; }
.widget .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
