/*
Theme Name: Akçakoca Gazetesi
Theme URI: https://akcakocagazetesi.com
Author: Akçakoca Gazetesi
Description: Akçakoca Gazetesi için yerel haber teması. Numaralı manşet, son dakika bandı, kategori blokları, yazarlar, cenaze ilanları, en çok okunanlar, video/foto galeri, piyasa-hava-namaz vakti bilgileri, reklam alanları, karanlık mod ve NewsArticle yapılandırılmış veri içerir.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.9
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: akcakoca
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================
   1. Değişkenler
   ========================================================== */
:root {
	--primary: #d0021b;
	--dark: #0d1b2a;
	--accent: #0077b6;
	--cat: var(--primary);

	--bg: #f3f4f6;
	--surface: #ffffff;
	--text: #111827;
	--muted: #6b7280;
	--line: #e5e7eb;

	--radius: 8px;
	--radius-sm: 5px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--container: 1240px;
	--gap: 24px;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;
	--fs-article: 18px;
}

html.is-dark {
	--bg: #0b1220;
	--surface: #121a2b;
	--text: #e5e7eb;
	--muted: #9ca3af;
	--line: #243047;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4);
	color-scheme: dark;
}

/* ==========================================================
   2. Temel
   ========================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }

button { font: inherit; cursor: pointer; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 16px;
}
.container--narrow { max-width: 860px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	background: #fff; color: #000; padding: 8px 14px; border-radius: 4px;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--muted); }

.btn {
	display: inline-block;
	background: var(--primary);
	color: #fff;
	padding: 10px 20px;
	border-radius: var(--radius-sm);
	font-weight: 600;
}
.btn:hover { color: #fff; filter: brightness(1.08); }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; color: inherit; padding: 6px;
	border-radius: 6px;
}

/* ==========================================================
   3. Üst bar
   ========================================================== */
.topbar {
	background: var(--dark);
	color: #cbd5e1;
	font-size: 12.5px;
}
.topbar-inner {
	display: flex; align-items: center; gap: 18px;
	min-height: 38px;
}
.tb-left { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.tb-weather, .tb-prayer { display: inline-flex; align-items: center; gap: 6px; }
.tb-weather b, .tb-prayer b { color: #fff; font-weight: 600; }
.tb-prayer b { font-variant-numeric: tabular-nums; }

.tb-markets {
	display: flex; gap: 18px; list-style: none; margin: 0 auto; padding: 0;
	font-variant-numeric: tabular-nums;
}
.tb-markets li { display: flex; gap: 6px; align-items: baseline; white-space: nowrap; }
.tb-markets span { color: #94a3b8; font-size: 11px; letter-spacing: .04em; }
.tb-markets b { color: #fff; font-weight: 600; }
.tb-markets .up::after { content: "▲"; color: #22c55e; font-size: 9px; margin-left: 3px; }
.tb-markets .down::after { content: "▼"; color: #ef4444; font-size: 9px; margin-left: 3px; }

.tb-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.tb-menu { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.tb-menu a:hover { color: #fff; }

.social-links { display: flex; gap: 4px; }
.social-links a { display: inline-flex; padding: 5px; border-radius: 50%; }
.tb-social a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.theme-toggle { color: #cbd5e1; }
.theme-toggle:hover { color: #fff; }
.theme-toggle .i-sun { display: none; }
html.is-dark .theme-toggle .i-sun { display: block; }
html.is-dark .theme-toggle .i-moon { display: none; }

/* ==========================================================
   4. Başlık / logo / menü
   ========================================================== */
.site-header { background: var(--surface); box-shadow: var(--shadow); position: relative; z-index: 50; }

.header-inner {
	display: flex; align-items: center; gap: 20px;
	min-height: 96px;
}
.branding { flex-shrink: 0; }
.custom-logo { max-height: 72px; width: auto; }
.site-logo { display: block; }
.site-logo img { height: 50px; width: auto; }
.logo-dark { display: none; }
html.is-dark .logo-light { display: none; }
html.is-dark .logo-dark { display: block; }
html.is-dark .custom-logo-link + .logo-dark { display: block; }
html.is-dark .custom-logo-link:has(+ .logo-dark) { display: none; }
html.is-dark .custom-logo-link:not(:has(+ .logo-dark)) .custom-logo { filter: brightness(0) invert(1); }

.site-title { margin: 0; font-family: var(--font-head); line-height: 1; }
.site-title a { display: flex; flex-direction: column; }
.st-main {
	font-size: 40px; font-weight: 700; letter-spacing: -.01em;
	color: var(--primary); text-transform: uppercase;
}
.st-sub {
	font-family: var(--font); font-size: 12px; font-weight: 500;
	color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px;
}

.header-ad { flex: 1; display: flex; justify-content: flex-end; min-width: 0; }
.header-ad .ad-slot { margin: 0; max-width: 728px; }

.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-toggle { width: 42px; height: 42px; }
.search-toggle:hover { background: var(--bg); }

.main-nav { background: var(--primary); color: #fff; }
.main-nav.is-stuck { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.nav-inner { display: flex; align-items: stretch; }
.nav-home { display: flex; align-items: center; padding: 0 14px 0 0; }
.nav-home:hover { color: #fff; opacity: .85; }
.main-nav .menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: block; padding: 0 14px; line-height: 46px;
	font-family: var(--font-head); font-size: 17px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .02em;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-category-ancestor > a,
.main-nav .menu > li.current-cat > a { background: rgba(0, 0, 0, .18); color: #fff; }

.main-nav .sub-menu, .main-nav .children {
	position: absolute; top: 100%; left: 0; min-width: 210px;
	list-style: none; margin: 0; padding: 6px 0;
	background: var(--surface); color: var(--text);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15); border-radius: 0 0 var(--radius) var(--radius);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 8px 16px; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--bg); }

/* Arama katmanı */
.search-overlay {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(13, 27, 42, .96);
	display: flex; align-items: flex-start; padding-top: 18vh;
}
.search-overlay[hidden] { display: none; }
.search-overlay .container { position: relative; max-width: 760px; }
.search-overlay .search-field { font-size: 22px; padding: 18px 20px; }
.search-close {
	position: absolute; top: -70px; right: 16px;
	background: none; border: 0; color: #fff; font-size: 44px; line-height: 1;
}

.search-form { display: flex; gap: 8px; }
.search-field {
	flex: 1; min-width: 0; padding: 12px 14px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: var(--surface); color: var(--text); font: inherit;
}
.search-submit {
	border: 0; background: var(--primary); color: #fff;
	padding: 0 22px; border-radius: var(--radius-sm); font-weight: 600;
}

/* ==========================================================
   5. Son dakika
   ========================================================== */
.breaking { background: var(--surface); border-bottom: 1px solid var(--line); }
.breaking-inner { display: flex; align-items: center; gap: 14px; height: 46px; }
.breaking-label {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
	background: var(--primary); color: #fff;
	font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .04em;
	padding: 4px 12px; border-radius: 4px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ak-pulse 1.4s infinite; }
@keyframes ak-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.breaking-track { position: relative; flex: 1; height: 100%; overflow: hidden; }
.breaking-item {
	position: absolute; inset: 0; display: flex; align-items: center; gap: 10px;
	font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	opacity: 0; transform: translateY(100%); transition: transform .35s, opacity .35s;
}
.breaking-item.is-active { opacity: 1; transform: none; }
.breaking-item.is-leaving { opacity: 0; transform: translateY(-100%); }
.breaking-item time { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.breaking-nav { display: flex; gap: 4px; }
.breaking-nav button {
	width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 4px;
	background: var(--surface); color: var(--text); font-size: 18px; line-height: 1;
}
.breaking-nav button:hover { border-color: var(--primary); color: var(--primary); }

/* ==========================================================
   6. Yerleşim
   ========================================================== */
.site-main { padding: 24px 0 48px; min-height: 50vh; }

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--gap);
	align-items: start;
}
.sidebar-sticky { position: sticky; top: 64px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-4--in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .layout-main .grid-4--in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.home-section { margin-bottom: 32px; }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	border-bottom: 2px solid var(--line); margin-bottom: 16px;
}
.section-title {
	position: relative; margin: 0; padding-bottom: 8px;
	font-family: var(--font-head); font-size: 24px; font-weight: 700; text-transform: uppercase;
}
.section-title::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--cat);
}
.section-more { font-size: 13px; font-weight: 600; color: var(--muted); padding-bottom: 8px; }
.section-more:hover { color: var(--cat); }

/* ==========================================================
   7. Haber kartları
   ========================================================== */
.news-card { position: relative; min-width: 0; }

.nc-thumb {
	position: relative; display: block; overflow: hidden;
	aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--line);
}
.nc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .nc-thumb img { transform: scale(1.04); }

.thumb-placeholder {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--dark), var(--accent));
	color: rgba(255, 255, 255, .55); font-family: var(--font-head); font-weight: 700;
	text-transform: uppercase; font-size: 15px; text-align: center; padding: 8px;
}

.format-icon {
	position: absolute; left: 10px; bottom: 10px; z-index: 2;
	width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(0, 0, 0, .65); color: #fff; border: 2px solid rgba(255,255,255,.85);
}

.cat-badge {
	display: inline-block; background: var(--cat); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	padding: 3px 8px; border-radius: 3px; line-height: 1.4;
}
.cat-badge:hover { color: #fff; filter: brightness(1.1); }

/* Varsayılan kart */
.nc-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.nc-card .nc-thumb { border-radius: var(--radius) var(--radius) 0 0; }
.nc-card .nc-body { padding: 12px 14px 14px; }
.nc-card .cat-badge { margin-bottom: 8px; }
.nc-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.nc-card .nc-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc-excerpt { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.nc-meta { font-size: 12px; color: var(--muted); }

/* Görsel üstü yazı */
.nc-overlay .nc-thumb { aspect-ratio: 16 / 10; }
.nc-overlay .nc-thumb::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .85));
}
.nc-overlay .nc-body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; z-index: 2;
	pointer-events: none;
}
.nc-overlay .nc-body a { pointer-events: auto; }
.nc-overlay .nc-title { font-size: 19px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.nc-overlay .nc-title a:hover { color: #fff; text-decoration: underline; }
.nc-overlay .cat-badge { margin-bottom: 8px; }
.nc-overlay .nc-meta { color: rgba(255, 255, 255, .8); }
.nc-overlay .format-icon { left: auto; right: 12px; top: 12px; bottom: auto; }

/* Yatay liste */
.nc-list { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
.nc-list .nc-thumb { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); }
.nc-list .nc-title { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc-list .format-icon { width: 26px; height: 26px; left: 6px; bottom: 6px; }
.nc-list .format-icon svg { width: 12px; }

.side-list { display: grid; gap: 14px; }
.search-list .nc-list { grid-template-columns: 240px minmax(0, 1fr); background: var(--surface); padding: 12px; border-radius: var(--radius); box-shadow: var(--shadow); }
.search-list .nc-title { font-size: 18px; }

/* ==========================================================
   8. Manşet
   ========================================================== */
.home-hero {
	display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 16px; margin-bottom: 28px;
}
.slider {
	position: relative; border-radius: var(--radius); overflow: hidden;
	background: #000; box-shadow: var(--shadow);
}
.slides { position: relative; aspect-ratio: 16 / 9; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-link, .slide-img { display: block; width: 100%; height: 100%; }
.slide-img img, .slide-img .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.slide-link:hover { color: #fff; }
.slide-body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .88));
	color: #fff;
}
.slide-body .cat-badge { margin-bottom: 10px; }
.slide-title {
	display: block; font-family: var(--font-head); font-weight: 700;
	font-size: clamp(24px, 3vw, 40px); line-height: 1.08; text-transform: none;
	text-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}

.slider-arrow {
	position: absolute; top: 40%; transform: translateY(-50%); z-index: 3;
	width: 42px; height: 56px; border: 0; background: rgba(0, 0, 0, .45); color: #fff;
	font-size: 32px; line-height: 1; opacity: 0; transition: opacity .2s;
}
.slider:hover .slider-arrow { opacity: 1; }
.slider-arrow.prev { left: 0; border-radius: 0 6px 6px 0; }
.slider-arrow.next { right: 0; border-radius: 6px 0 0 6px; }
.slider-arrow:hover { background: var(--primary); }

.slider-pager {
	display: flex; list-style: none; margin: 0; padding: 0;
	background: var(--dark);
}
.slider-pager li { flex: 1; }
.slider-pager button {
	width: 100%; height: 36px; border: 0; background: none;
	color: #cbd5e1; font-weight: 700; font-size: 13px;
	border-right: 1px solid rgba(255, 255, 255, .08); transition: background .15s;
}
.slider-pager li:last-child button { border-right: 0; }
.slider-pager button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.slider-pager button.is-active { background: var(--primary); color: #fff; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero-side .news-card, .hero-side .nc-thumb { height: 100%; }
.hero-side .nc-thumb { aspect-ratio: auto; min-height: 180px; }

/* ==========================================================
   9. Kategori blokları
   ========================================================== */
.hb-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; }
.hb-lead-main .nc-title { font-size: 21px; }
.hb-lead-list { display: grid; gap: 14px; align-content: start; }

.hb-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hb-split .nc-list { background: var(--surface); padding: 10px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Yazarlar */
.columnists-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
	gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
	scrollbar-width: thin;
}
.columnist {
	scroll-snap-align: start; display: flex; gap: 12px; align-items: center;
	background: var(--surface); padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow);
	border-top: 3px solid var(--accent);
}
.columnist-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.columnist-body { display: flex; flex-direction: column; min-width: 0; }
.columnist-name { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.columnist-title {
	font-weight: 600; line-height: 1.3; margin-top: 3px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Video / Galeri */
.media-block { background: var(--dark); color: #fff; padding: 34px 0 40px; margin: 8px 0 -48px; }
.media-block .section-head { border-color: rgba(255, 255, 255, .15); }
.media-block .section-more { color: #94a3b8; }
.media-grid {
	display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
}
.media-grid .news-card:first-child { grid-row: span 2; }
.media-grid .nc-thumb { height: 100%; aspect-ratio: auto; min-height: 170px; }
.media-grid .news-card:not(:first-child) .nc-title { font-size: 15px; }
.media-grid .news-card:first-child .nc-title { font-size: 26px; font-family: var(--font-head); }

/* ==========================================================
   10. Yan sütun & widget
   ========================================================== */
.widget {
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 16px; margin-bottom: 20px;
}
.widget-title {
	font-family: var(--font-head); font-size: 20px; text-transform: uppercase;
	margin: -2px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); position: relative;
}
.widget-title span { position: relative; }
.widget-title span::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 3px; background: var(--primary);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: 8px; }
.widget-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--primary); }

.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.popular-list li + li { margin-top: 0; border-top: 1px solid var(--line); }
.popular-list a { display: grid; grid-template-columns: 28px 78px 1fr; gap: 10px; align-items: center; padding: 10px 0; }
.pl-num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--primary); line-height: 1; text-align: center; }
.pl-thumb { display: block; aspect-ratio: 16/10; border-radius: 4px; overflow: hidden; background: var(--line); }
.pl-thumb img, .pl-thumb .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; font-size: 9px; }
.pl-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.pl-meta { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }

.vefat-list li + li { margin-top: 0; border-top: 1px solid var(--line); }
.vefat-list a { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.vl-date {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 48px; height: 48px; flex-shrink: 0; border-radius: 6px;
	background: var(--bg); color: var(--muted); font-size: 11px; text-transform: uppercase; line-height: 1.1;
}
.vl-date b { font-size: 18px; color: var(--text); }
.vl-title { display: block; font-weight: 700; }
.vl-meta { display: block; font-size: 12px; color: var(--muted); }

/* Reklam */
.ad-slot { text-align: center; margin: 0 auto 24px; position: relative; overflow: hidden; }
.ad-slot img { margin: 0 auto; }
.ad-label { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sidebar .ad-slot { margin-bottom: 20px; }

/* ==========================================================
   11. Haber detay
   ========================================================== */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 6px; opacity: .6; }

.single-article {
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 28px 32px;
}
.article-header .cat-badge { margin-bottom: 12px; }
.article-title {
	font-family: var(--font-head); font-weight: 700;
	font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 14px;
}
.article-spot { font-size: 19px; font-weight: 500; line-height: 1.5; color: var(--text); opacity: .86; margin: 0 0 18px; }

.article-meta {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	padding: 12px 0; margin-bottom: 20px;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	font-size: 13px; color: var(--muted);
}
.am-left { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.am-author a { color: var(--text); font-weight: 600; }
.am-views::before { content: "👁 "; }
.am-right { display: flex; gap: 10px; align-items: center; }

.font-size { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.font-size button { border: 0; background: var(--surface); color: var(--text); padding: 6px 10px; font-weight: 700; font-size: 13px; }
.font-size button + button { border-left: 1px solid var(--line); }
.font-size button:hover { background: var(--bg); }

.share-buttons { display: flex; gap: 6px; }
.share-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%; border: 0; color: #fff;
}
.share-btn:hover { color: #fff; filter: brightness(1.12); }
.share-facebook { background: #1877f2; }
.share-x { background: #111; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #229ed9; }
.share-copy { background: #6b7280; }
.share-copy.is-copied { background: #16a34a; }

.article-image { margin: 0 0 22px; }
.article-image img { width: 100%; border-radius: var(--radius); }
.article-image figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.entry-content { font-size: var(--fs-article); line-height: 1.75; overflow-wrap: break-word; }
.entry-content > * { margin: 0 0 1.1em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content h2 { font-size: 1.45em; margin-top: 1.4em; }
.entry-content h3 { font-size: 1.22em; margin-top: 1.3em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote {
	margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--primary);
	font-size: 1.1em; font-style: italic; color: var(--text);
}
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9em; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.article-footer { margin-top: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 18px; }
.tags-label { font-weight: 700; margin-right: 6px; font-size: 13px; }
.tags a { background: var(--bg); padding: 5px 11px; border-radius: 30px; font-size: 13px; }
.tags a:hover { background: var(--primary); color: #fff; }
.share-bottom {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
	padding: 14px 16px; background: var(--bg); border-radius: var(--radius); font-weight: 700;
}

.column-author { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.column-author img { border-radius: 50%; width: 64px; height: 64px; }
.ca-name { display: block; font-weight: 700; font-size: 18px; }
.ca-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }

.author-box { display: flex; gap: 16px; padding: 18px; margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.ab-name { font-weight: 700; font-size: 17px; }
.author-box p { margin: 4px 0 0; color: var(--muted); }

.related { margin-top: 34px; }
.related .nc-card { box-shadow: none; border: 1px solid var(--line); }

.page-links { margin: 20px 0; font-weight: 600; }

/* Yorumlar */
.comments-area { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-family: var(--font-head); font-size: 24px; text-transform: uppercase; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-meta { font-size: 12px; color: var(--muted); }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: 13px; font-weight: 600; color: var(--primary); }
.comment-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: var(--surface); color: var(--text); font: inherit;
}
.comment-form .submit { background: var(--primary); color: #fff; border: 0; padding: 11px 22px; border-radius: var(--radius-sm); font-weight: 700; }
.comment-policy { font-size: 12.5px; color: var(--muted); }

/* ==========================================================
   12. Arşiv, yazar, 404, vefat
   ========================================================== */
.archive-header {
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 20px 24px; margin-bottom: 22px; border-left: 5px solid var(--cat);
}
.archive-title { font-family: var(--font-head); font-size: 34px; text-transform: uppercase; margin: 0; }
.archive-desc { color: var(--muted); margin-top: 6px; }
.archive-desc p { margin: 0; }
.archive-search { margin-top: 14px; max-width: 520px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.subcats a { display: block; padding: 5px 12px; background: var(--bg); border-radius: 30px; font-size: 13px; font-weight: 600; }
.subcats a:hover { background: var(--cat); color: #fff; }
.archive-lead { margin-bottom: 18px; }
.archive-lead .nc-thumb { aspect-ratio: 16 / 8; }
.archive-lead .nc-title { font-size: 30px; font-family: var(--font-head); }

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

.author-header {
	display: flex; gap: 20px; align-items: center;
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 22px; margin-bottom: 22px;
}
.author-header img { border-radius: 50%; flex-shrink: 0; }
.author-url { font-size: 13px; color: var(--accent); }

.authors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.author-card {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 16px;
}
.author-card img { border-radius: 50%; }
.ac-name { font-weight: 700; font-size: 17px; margin-top: 6px; }
.ac-post { font-weight: 500; line-height: 1.35; }
.author-card time { font-size: 12px; color: var(--muted); }

.error-404 { text-align: center; padding: 50px 20px; max-width: 620px; margin: 0 auto 30px; }
.e404-code { display: block; font-family: var(--font-head); font-size: 140px; font-weight: 700; line-height: 1; color: var(--primary); }
.error-404 .search-form { margin: 22px 0; }

.no-results { background: var(--surface); padding: 30px; border-radius: var(--radius); }

.archive-vefat { border-left-color: #374151; }
.vefat-cards { display: grid; gap: 14px; }
.vefat-card {
	display: flex; gap: 18px; background: var(--surface); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 18px; border-left: 4px solid #374151;
}
.vc-photo img { width: 96px; height: 120px; object-fit: cover; border-radius: 6px; filter: grayscale(1); }
.vc-name { font-size: 20px; margin-bottom: 8px; }
.vefat-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px; margin: 0; font-size: 14px; }
.vefat-details dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.vefat-details dd { margin: 0; font-weight: 600; }
.vefat-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.vs-photo img { width: 140px; border-radius: 8px; filter: grayscale(1); }
.vs-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.vefat-wish { font-style: italic; color: var(--muted); text-align: center; padding: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0; }

/* ==========================================================
   13. Alt alan
   ========================================================== */
.site-footer { background: var(--dark); color: #cbd5e1; border-top: 4px solid var(--primary); }
.footer-top {
	display: grid; grid-template-columns: minmax(260px, 1.2fr) 2fr; gap: 40px; padding-top: 44px; padding-bottom: 36px;
}
.footer-brand .site-title .st-main { color: #fff; }
.footer-brand .site-title .st-sub { color: #94a3b8; }
.footer-brand .custom-logo { filter: brightness(0) invert(1); max-height: 60px; }
.footer-brand .site-logo img { height: 46px; }
.footer-about { font-size: 14px; margin: 14px 0; }
.footer-about p { margin: 0 0 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; }
.footer-contact li + li { margin-top: 4px; }
.footer-social a { background: rgba(255, 255, 255, .08); width: 36px; height: 36px; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-menus { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.footer-title, .site-footer .widget-title {
	font-family: var(--font-head); font-size: 18px; color: #fff; text-transform: uppercase;
	margin-bottom: 14px; border: 0; padding: 0;
}
.site-footer .widget-title span::after { display: none; }
.site-footer .widget { background: none; box-shadow: none; padding: 0; }
.footer-menu, .site-footer .widget ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.footer-menu li { margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #94a3b8; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; }

.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	display: flex; align-items: center; gap: 8px;
	background: #25d366; color: #fff; padding: 10px 16px 10px 12px;
	border-radius: 40px; box-shadow: 0 6px 18px rgba(37, 211, 102, .4); font-weight: 700; font-size: 14px;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }

.to-top {
	position: fixed; right: 22px; bottom: 80px; z-index: 89;
	width: 42px; height: 42px; border-radius: 50%; border: 0;
	background: var(--dark); color: #fff; font-size: 18px; box-shadow: var(--shadow);
}
.to-top[hidden] { display: none; }

/* WordPress çekirdek sınıfları */
.sticky {}
.bypostauthor {}
.gallery-caption {}
.wp-block-image { margin-bottom: 1.1em; }

/* ==========================================================
   14. Duyarlı
   ========================================================== */
@media (max-width: 1100px) {
	.tb-markets li:nth-child(n+3) { display: none; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar-sticky { position: static; }
	.home-hero { grid-template-columns: minmax(0, 1fr); }
	.hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.hero-side .nc-thumb { aspect-ratio: 16 / 10; min-height: 0; }
	.media-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.media-grid .news-card:first-child { grid-column: span 2; grid-row: auto; }
	.media-grid .nc-thumb { aspect-ratio: 16 / 10; min-height: 0; }
	.footer-top { grid-template-columns: 1fr; }

	/* Mobil menü */
	.menu-toggle { display: inline-flex; }
	.header-inner { min-height: 66px; }
	.branding { flex: 1; text-align: center; display: flex; justify-content: center; }
	.custom-logo { max-height: 46px; }
	.site-logo img { height: 40px; }
	.st-main { font-size: 28px; }
	.st-sub { display: none; }
	.header-ad { display: none; }
	.main-nav {
		position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); z-index: 300;
		transform: translateX(-100%); transition: transform .25s; overflow-y: auto;
		box-shadow: 4px 0 24px rgba(0, 0, 0, .3);
	}
	.main-nav.is-stuck { position: fixed; right: auto; }
	.main-nav.is-open { transform: none; }
	.nav-inner { flex-direction: column; padding: 16px; }
	.nav-home { padding: 10px 14px; }
	.main-nav .menu { flex-direction: column; }
	.main-nav .menu > li > a { line-height: 44px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.main-nav .sub-menu, .main-nav .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		background: rgba(0, 0, 0, .15); color: #fff; box-shadow: none; border-radius: 0;
	}
	.main-nav .sub-menu a:hover { background: rgba(0, 0, 0, .2); }
	body.nav-open { overflow: hidden; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 250; }
	.site-header { position: sticky; top: 0; }
}

@media (max-width: 720px) {
	body { font-size: 14.5px; }
	.topbar-inner { gap: 10px; min-height: 34px; overflow: hidden; }
	.tb-date, .tb-menu, .tb-social { display: none; }
	.tb-markets { margin: 0; gap: 12px; }
	.tb-markets li:nth-child(n+3) { display: none; }
	.tb-left { gap: 10px; }
	.tb-prayer { display: none !important; }

	.breaking-inner { height: 42px; gap: 10px; }
	.breaking-label { font-size: 13px; padding: 3px 8px; }
	.breaking-nav { display: none; }
	.breaking-item time { display: none; }

	.site-main { padding-top: 14px; }
	.grid-3, .hb-lead, .hb-split { grid-template-columns: minmax(0, 1fr); }
	.grid-4, .grid-4--in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.grid-4 .nc-title, .related .nc-title { font-size: 14px; }
	.related .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.related .nc-card .nc-body { padding: 10px; }
	.grid-4 .nc-card .nc-body { padding: 10px; }
	.hero-side { grid-template-columns: minmax(0, 1fr); }
	.slider-arrow { display: none; }
	.slider-pager { overflow-x: auto; }
	.slider-pager li { flex: 0 0 34px; }
	.slide-body { padding: 40px 14px 14px; }

	.single-article { padding: 18px 16px; border-radius: 0; margin: 0 -16px; box-shadow: none; }
	.article-meta { flex-direction: column; }
	.am-right { justify-content: space-between; }
	:root { --fs-article: 17px; }
	.search-list .nc-list { grid-template-columns: 120px minmax(0, 1fr); }
	.search-list .nc-title { font-size: 15px; }
	.search-list .nc-excerpt { display: none; }
	.archive-title { font-size: 28px; }
	.archive-lead .nc-title { font-size: 22px; }
	.vefat-head, .vefat-card { flex-direction: column; }
	.footer-bottom-inner { flex-direction: column; }
	.wa-float span { display: none; }
	.wa-float { padding: 12px; }
	.media-grid { grid-template-columns: minmax(0, 1fr); }
	.media-grid .news-card:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .breaking, .sidebar, .site-footer, .share-buttons, .share-bottom, .related, .comments-area, .ad-slot, .wa-float, .to-top, .font-size { display: none !important; }
	.layout { display: block; }
	.single-article { box-shadow: none; padding: 0; }
	body { background: #fff; color: #000; }
}
