/*
Theme Name: Haber Tema
Description: Haber siteleri için hızlı, okunaklı WordPress teması. Anasayfa bölümleri yönetim panelindeki "Anasayfa Yöneticisi"nden düzenlenir; renkler, son dakika bandı ve alt alan Özelleştirici'den, sayfalar ise standart editörden yönetilir.
Version: 1.7.132
Requires at least: 6.2
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: haber-tema
*/

/* ==========================================================================
   Değişkenler
   ========================================================================== */
:root {
	--ht-accent: #c8102e;
	--ht-bg: #f4f4f1;
	--ht-surface: #fff;
	--ht-text: #16181d;
	--ht-muted: #667085;
	--ht-border: #e2e2dd;
	--ht-dark: #0f1115;
	--ht-radius: 6px;
	--ht-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ht-serif: Georgia, "Times New Roman", serif;
	--ht-container: 1200px;
	--ht-gap: 20px; /* Satırlar, bloklar, widget'lar ve alt alan öncesi boşluk (Özelleştir → Görünüm → Bloklar arası boşluk). */
}

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

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

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

img, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ht-accent); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: var(--ht-hw, 700); } /* Başlık kalınlığı: Görünüm Ayarları → Başlık kalınlığı. */
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

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

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

.ht-container {
	width: 100%;
	max-width: var(--ht-container);
	margin: 0 auto;
	padding: 0 16px;
}
.ht-site-content { padding: var(--ht-gap) 0; } /* Üst ve alt boşluk "Bloklar arası boşluk" ayarına bağlı. */

.ht-layout { display: block; }
.ht-layout.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--ht-gap);
	align-items: start;
}
.ht-main { min-width: 0; }

/* ==========================================================================
   Üst alan
   ========================================================================== */
/* Header kutusu düzen oluşturmaz: bantlar doğrudan gövdenin çocuğu gibi davranır; böylece yapışkan menü sayfa boyunca üstte kalabilir. */
.ht-header { display: contents; }

.ht-topbar { background: var(--ht-dark); color: #c9ced8; font-size: 13px; }
.ht-topbar-inner { display: flex; align-items: center; gap: 2px 20px; min-height: 36px; flex-wrap: wrap; } /* Satır boşluğu 2 px: sosyal medya alt satıra geçince araları açılmaz. */
.ht-topbar a:hover { color: #fff; }
.ht-menu-top { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.ht-topmenu { margin-right: auto; margin-left: 4px; }
.ht-date { white-space: nowrap; }
.ht-social { display: flex; gap: 14px; margin-left: auto; }

.ht-branding { background: var(--ht-surface); border-bottom: 1px solid var(--ht-border); }
.ht-branding-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; padding-top: 10px; padding-bottom: 10px; /* Logo satırının üst ve alt boşluğu */
}
.ht-site-title {
	font-family: var(--ht-serif);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 700; letter-spacing: -.02em; margin: 0; line-height: 1.1;
}
.ht-site-title a:hover { color: var(--ht-accent); }
.ht-tagline { margin: 4px 0 0; color: var(--ht-muted); font-size: 14px; }
.ht-logo img { display: block; max-height: var(--ht-logo-h, 40px); width: auto; } /* Satır içi görsel altında yazı satırı boşluğu bırakır; blok yapınca üst ve alt boşluk eşit kalır. */
.ht-header-ad { max-width: 728px; overflow: hidden; }
.ht-header-ad .ht-widget { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; } /* Reklam görseli çerçevesiz, boşluksuz görünür. */
.ht-header-ad img { display: block; max-width: 100%; height: auto; }
.ht-header-ad .ht-widget > *, .ht-header-ad figure, .ht-header-ad p { margin-top: 0; margin-bottom: 0; } /* Blok görsel ve paragraf sarmalayıcılarının alt boşluğu reklamı aşağı itmesin. */

.ht-navbar { background: var(--ht-accent); color: #fff; position: relative; z-index: 50; }
.ht-nav-dark .ht-navbar { background: var(--ht-dark); }
.ht-nav-light .ht-navbar { background: var(--ht-surface); color: var(--ht-text); border-bottom: 2px solid var(--ht-accent); }
.ht-sticky .ht-navbar { position: sticky; top: 0; }
.admin-bar.ht-sticky .ht-navbar { top: 32px; }

.ht-navbar-inner { display: flex; align-items: center; gap: 12px; }
.ht-nav { flex: 1; min-width: 0; }
.ht-menu, .ht-nav ul { list-style: none; margin: 0; padding: 0; }
.ht-menu { display: flex; flex-wrap: wrap; }
.ht-menu li { position: relative; }
.ht-menu a {
	display: block; padding: 13px 14px;
	font-weight: 600; font-size: 15px; white-space: nowrap;
}
.ht-menu a:hover,
.ht-menu .current-menu-item > a,
.ht-menu .current-cat > a { background: rgba(0, 0, 0, .18); color: inherit; }
.ht-nav-light .ht-menu a:hover,
.ht-nav-light .ht-menu .current-menu-item > a { background: rgba(0, 0, 0, .06); color: var(--ht-accent); }

.ht-menu .sub-menu, .ht-menu .children {
	position: absolute; left: 0; top: 100%; min-width: 210px;
	background: var(--ht-surface); color: var(--ht-text);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	display: none; z-index: 20;
	border-top: 2px solid var(--ht-accent);
}
.ht-menu li:hover > .sub-menu,
.ht-menu li:focus-within > .sub-menu,
.ht-menu li:hover > .children,
.ht-menu li:focus-within > .children { display: block; }
.ht-menu .sub-menu a, .ht-menu .children a { white-space: normal; }
.ht-menu .sub-menu a:hover, .ht-menu .children a:hover { background: var(--ht-bg); color: var(--ht-accent); }

.ht-tools { display: flex; gap: 2px; margin-left: auto; }
.ht-tool, .ht-nav-toggle {
	background: none; border: 0; color: inherit; cursor: pointer;
	width: 42px; height: 42px; font-size: 18px; line-height: 1;
}
.ht-tool:hover, .ht-nav-toggle:hover { background: rgba(0, 0, 0, .18); }
.ht-tool-ic { display: block; width: 18px; height: 18px; margin: 0 auto; } /* Büyüteç düğmesi satır içi SVG: emoji/karakter gibi cihaza göre küçülmez; rengi menü yazısıyla aynı. */
@media (max-width: 820px) { .ht-tool-ic { width: 20px; height: 20px; } }
.ht-nav-toggle { display: none; }
.ht-burger, .ht-burger::before, .ht-burger::after {
	display: block; width: 22px; height: 2px; background: currentColor; position: relative; margin: 0 auto;
}
.ht-burger::before, .ht-burger::after { content: ""; position: absolute; left: 0; }
.ht-burger::before { top: -7px; }
.ht-burger::after { top: 7px; }

.ht-search-panel { background: var(--ht-surface); border-bottom: 1px solid var(--ht-border); padding: 14px 0; color: var(--ht-text); }
.ht-searchform { display: flex; gap: 8px; }
.ht-search-input {
	flex: 1; padding: 11px 14px; font-size: 16px;
	border: 1px solid var(--ht-border); border-radius: var(--ht-radius);
	background: var(--ht-bg); color: var(--ht-text);
}
.ht-search-submit, .ht-button, .comment-form .submit {
	background: var(--ht-accent); color: #fff; border: 0; cursor: pointer;
	padding: 11px 20px; border-radius: var(--ht-radius); font-weight: 600; font-size: 15px;
}
.ht-search-submit:hover, .comment-form .submit:hover { filter: brightness(.9); }

/* Son dakika bandı */
.ht-ticker { background: var(--ht-surface); border-bottom: 1px solid var(--ht-border); }
.ht-ticker-inner { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.ht-ticker-label {
	background: var(--ht-accent); color: #fff; font-weight: 700; font-size: 12px;
	letter-spacing: .06em; padding: 5px 10px; border-radius: 3px; white-space: nowrap;
}
/* Son dakika bandı: rozet yerine simge (Özelleştir → Üst Alan → "Bant etiketi: rozet mi simge mi?"). */
.ht-ticker-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--ht-accent); }
.ht-ticker-ic svg { display: block; width: 22px; height: 22px; }
/* Simge ile yazı arasındaki görünen boşluk her simgede 14 px (kutu boşluğu 14 px; çizimlerin kutuyu doldurma farkı kadar düzeltilir). */
.ht-ticker-ic--dot { margin-right: -6px; } .ht-ticker-ic--bolt { margin-right: -5.6px; } .ht-ticker-ic--bell { margin-right: -4.5px; } .ht-ticker-ic--exclaim, .ht-ticker-ic--wave { margin-right: -2.8px; } .ht-ticker-ic--siren { margin-right: -3.3px; }
.ht-ticker-ic--dot i { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--ht-accent); animation: ht-tick-blink 1.2s ease-in-out infinite; }
.ht-ticker-ic--dot i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ht-accent); animation: ht-tick-ring 1.2s ease-out infinite; }
@keyframes ht-tick-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } } /* Nokta gerçekten yanıp söner. */
@keyframes ht-tick-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.4); opacity: 0; } }
/* Diğer simgeler de hareketlidir (hareket azaltma ayarı açıksa sabit). */
.ht-ticker-ic--bolt svg { animation: ht-ic-flash 1.6s linear infinite; }
.ht-ticker-ic--bell svg { transform-origin: 50% 12%; animation: ht-ic-ring 1.8s ease-in-out infinite; }
.ht-ticker-ic--exclaim svg { animation: ht-ic-beat 1.2s ease-in-out infinite; }
.ht-ticker-ic--wave .w1 { animation: ht-ic-wave 1.5s ease-in-out infinite; }
.ht-ticker-ic--wave .w2 { animation: ht-ic-wave 1.5s ease-in-out .5s infinite; }
.ht-ticker-ic--siren .rays { animation: ht-ic-rays .9s steps(1, end) infinite; }
@keyframes ht-ic-flash { 0%, 50%, 100% { opacity: 1; } 8% { opacity: .15; } 16% { opacity: 1; } 24% { opacity: .2; } 32% { opacity: 1; } }
@keyframes ht-ic-ring { 0%, 50%, 100% { transform: rotate(0); } 8% { transform: rotate(16deg); } 16% { transform: rotate(-14deg); } 24% { transform: rotate(10deg); } 32% { transform: rotate(-8deg); } 40% { transform: rotate(4deg); } }
@keyframes ht-ic-beat { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .55; } }
@keyframes ht-ic-wave { 0% { opacity: .15; } 40% { opacity: 1; } 100% { opacity: .15; } }
@keyframes ht-ic-rays { 0% { opacity: 1; } 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .ht-ticker-ic svg, .ht-ticker-ic--wave .w1, .ht-ticker-ic--wave .w2, .ht-ticker-ic--siren .rays { animation: none; } }
@media (prefers-reduced-motion: reduce) { .ht-ticker-ic--dot i, .ht-ticker-ic--dot i::after { animation: none; } .ht-ticker-ic--dot i::after { display: none; } }
.ht-ticker-items { position: relative; flex: 1; min-width: 0; height: 24px; overflow: hidden; }
.ht-ticker-item {
	position: absolute; inset: 0; display: block; opacity: 0; transform: translateY(8px);
	transition: opacity .4s, transform .4s; font-weight: 600;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
.ht-ticker-item.is-active, .ht-ticker:not(.is-ready) .ht-ticker-item:first-child {
	opacity: 1; transform: none; pointer-events: auto;
}

/* Haber yazısı akışı (Özelleştir → Üst Alan → "Haber yazısı nasıl aksın?"). Varsayılan "up": yukarıdaki kurallar (alttan gelir). */
.ht-ticker--fx-down .ht-ticker-item { transform: translateY(-8px); }
.ht-ticker--fx-down .ht-ticker-item.is-out { transform: translateY(8px); }
.ht-ticker--fx-left .ht-ticker-item { transform: translateX(40px); }
.ht-ticker--fx-left .ht-ticker-item.is-out { transform: translateX(-40px); }
.ht-ticker--fx-right .ht-ticker-item { transform: translateX(-40px); }
.ht-ticker--fx-right .ht-ticker-item.is-out { transform: translateX(40px); }
.ht-ticker--fx-fade .ht-ticker-item, .ht-ticker--fx-type .ht-ticker-item { transform: none; }
.ht-ticker--fx-type .ht-ticker-item.is-active { animation: ht-tk-type 1.1s steps(32, end) both; }
@keyframes ht-tk-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* Kayan şerit: haberler tek satırda yan yana; sığmıyorsa JS ikinci kopyayı ekler ve akıtır. */
.ht-tk-track { display: flex; align-items: center; height: 24px; width: max-content; }
.ht-ticker--fx-marquee .ht-tk-track .ht-ticker-item { position: static; flex: none; opacity: 1; transform: none; pointer-events: auto; overflow: visible; text-overflow: clip; }
.ht-ticker--fx-marquee .ht-tk-track .ht-ticker-item::after { content: "\2022"; margin: 0 22px; opacity: .45; }
.ht-ticker--fx-marquee.is-flow .ht-tk-track { animation: ht-tk-flow var(--tk-dur, 30s) linear infinite; }
.ht-ticker--fx-marquee.is-flow:hover .ht-tk-track, .ht-ticker--fx-marquee.is-flow.is-paused .ht-tk-track { animation-play-state: paused; }
@keyframes ht-tk-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ht-ticker--fx-type .ht-ticker-item.is-active { animation: none; } .ht-ticker--fx-marquee.is-flow .ht-tk-track { animation: none; } .ht-ticker .ht-ticker-item { transition: none; } }

/* ==========================================================================
   Bölüm başlıkları, rozet, meta
   ========================================================================== */
.ht-section { margin-bottom: 36px; }
.ht-section-head {
	display: flex; align-items: baseline; justify-content: space-between;
	border-bottom: 2px solid var(--ht-border); margin-bottom: 18px;
}
.ht-section-title {
	font-family: var(--ht-serif); font-size: calc(1.35rem * var(--ht-ts, 1)); margin: 0;
	padding-bottom: 8px; margin-bottom: -2px; border-bottom: 2px solid var(--ht-accent);
}
.ht-more { font-size: 13px; color: inherit; font-weight: 600; } /* Başlıkla aynı renk. */

.ht-badge {
	position: relative; z-index: 2; display: inline-block;
	background: var(--ht-accent); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.2;
	text-transform: uppercase; letter-spacing: .09em;
	padding: 4px 9px 3px; border-radius: 3px; margin-bottom: 8px;
}
.ht-badge:hover { color: #fff; filter: brightness(.9); }
.ht-meta { font-size: 12.5px; color: var(--ht-muted); }

/* ==========================================================================
   Kartlar
   ========================================================================== */
.ht-thumb {
	display: block; position: relative; overflow: hidden;
	aspect-ratio: 3 / 2; background: #ecece7; /* Görsel yüklenene kadar yumuşak zemin. */
}
.ht-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ht-card:hover .ht-thumb img, .ht-overlay:hover .ht-thumb img, .ht-row-card:hover .ht-thumb img { transform: scale(1.04); }
.ht-noimg { position: relative; display: block; width: 100%; height: 100%; background: radial-gradient(120% 90% at 30% 15%, #fbfbf9 0%, #efefea 55%, #e4e4de 100%); }
.ht-noimg::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15%; min-width: 28px; max-width: 52px; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--ht-muted); opacity: .32; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.7'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.7'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat; }

.ht-grid { display: grid; gap: var(--ht-gap); } /* Sütunlar ve satırlar arası: "Bloklar arası boşluk" ayarı. */
.ht-grid--square .ht-card, .ht-grid--square .ht-thumb { border-radius: 0; }
.ht-cols-1 { grid-template-columns: minmax(0, 1fr); }
.ht-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.ht-card { background: var(--ht-surface); border-radius: var(--ht-radius); overflow: hidden; border: 1px solid var(--ht-border); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.ht-card:hover { box-shadow: 0 12px 26px rgba(16, 24, 40, .11); transform: translateY(-3px); border-color: rgba(var(--ht-accent-rgb, 200, 16, 46), .3); }
.ht-card:hover .ht-card-title a { color: var(--ht-accent); }
/* Yatay kayan listelerin içinde kart yukarı kalkmaz (üst kenar kırpılırdı): yalnızca gölge ve kenarlık değişir. */
.ht-grid--d-swipe .ht-card:hover, .ht-gslide .ht-card:hover { transform: none; }
@media (prefers-reduced-motion: reduce) { .ht-card, .ht-ecz-card { transition: none; } .ht-card:hover, .ht-ecz-card:hover { transform: none; } }
.ht-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.ht-card-body .ht-badge { align-self: flex-start; }
.ht-card-media { position: relative; }
.ht-card-media .ht-badge { position: absolute; top: 10px; left: 10px; margin: 0; z-index: 2; }
/* Haber başlıkları: bloğun "Yazı" ayarındaki değerler (--nt-*); yoksa ortak ayarlar. */
.ht-card-title { font-family: var(--nt-f, var(--ht-serif)); font-weight: var(--nt-w, var(--ht-hw, 700)); font-size: calc(1.12rem * var(--ht-ts, 1) * var(--nt-s, 1)); margin: 0 0 8px; }
.ht-card-title a:hover, .ht-row-title a:hover { color: var(--ht-accent); }
.ht-card-spot { font-size: 14.5px; color: var(--ht-muted); margin: 0 0 10px; }
.ht-card .ht-meta { margin-top: auto; }
/* Son dakika etiketi (kart ızgarası): çapraz köşe şeridi veya dikey kenar şeridi; yanıp söner. */
.ht-card-media { overflow: hidden; }
.ht-breaking { position: absolute; z-index: 3; background: #d90000; color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap; box-shadow: 0 1px 6px rgba(0, 0, 0, .35); animation: ht-blink 1s steps(1, end) infinite; pointer-events: none; }
.ht-breaking--diag { top: 22px; right: -38px; width: 150px; padding: 6px 0; text-align: center; font-size: 11px; transform: rotate(45deg); }
.ht-breaking--vert { top: 0; right: 0; bottom: 0; width: 26px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.ht-breaking--vert > span { writing-mode: vertical-rl; transform: rotate(180deg); }
/* Üst/alt bant: görselin tam genişliğinde. */
.ht-breaking--top, .ht-breaking--bottom { left: 0; right: 0; padding: 6px 0; text-align: center; font-size: 12px; box-shadow: none; }
.ht-breaking--top { top: 0; }
.ht-card-media:has(.ht-breaking--top) .ht-badge { top: 38px; }
.ht-breaking--bottom { bottom: 0; }
/* Canlı rozeti: yanıp sönen beyaz nokta + yazı, sağ üstte yuvarlak. */
.ht-breaking--live { top: 10px; right: 10px; padding: 6px 11px 6px 9px; border-radius: 99px; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; animation: none; }
.ht-breaking--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ht-blink 1s steps(1, end) infinite; }
/* Çerçeve: görselin çevresinde yanıp sönen kırmızı kenar, altta küçük yazı. */
.ht-breaking--frame { inset: 0; background: transparent; border: 4px solid #d90000; box-shadow: none; }
.ht-breaking--frame > span { position: absolute; left: 0; bottom: 0; background: #d90000; padding: 5px 10px; font-size: 11px; }
/* Başlık önü: kırmızı yazı, kutu yok. */
.ht-breaking--title { position: static; display: inline; background: none; box-shadow: none; color: #d90000; font-family: var(--ht-font); font-size: .72em; margin-right: 4px; vertical-align: .08em; }
/* Ek tasarımlar. */
.ht-card-media:has(.ht-breaking--stripe) .ht-badge { top: 40px; }
.ht-breaking--arrows { left: 0; right: 0; bottom: 0; padding: 7px 0; display: flex; justify-content: center; gap: 10px; font-size: 12px; box-shadow: none; animation: none; }
.ht-breaking--arrows::before, .ht-breaking--arrows::after { content: "\00BB\00BB"; letter-spacing: -2px; font-size: 14px; line-height: 1; animation: ht-arr-r .8s ease-in-out infinite alternate; }
.ht-breaking--arrows::after { content: "\00AB\00AB"; animation-name: ht-arr-l; }
@keyframes ht-arr-r { from { transform: translateX(-4px); opacity: .4; } to { transform: translateX(4px); opacity: 1; } }
@keyframes ht-arr-l { from { transform: translateX(4px); opacity: .4; } to { transform: translateX(-4px); opacity: 1; } }
.ht-breaking--ticker { left: 0; right: 0; bottom: 0; padding: 7px 0; overflow: hidden; font-size: 12px; box-shadow: none; animation: none; }
.ht-breaking--ticker > span { display: inline-block; animation: ht-marquee 14s linear infinite; }
@keyframes ht-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ht-breaking--siren { left: 10px; bottom: 10px; padding: 7px 12px; display: inline-flex; align-items: center; gap: 8px; background: #111; border-radius: 4px; font-size: 12px; animation: none; }
.ht-breaking--siren::before, .ht-breaking--siren::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff2a2a; animation: ht-siren .6s steps(1, end) infinite; }
.ht-breaking--siren::after { animation-delay: -.3s; }
@keyframes ht-siren { 0%, 100% { background: #ff2a2a; box-shadow: 0 0 8px #ff2a2a; } 50% { background: #2a6bff; box-shadow: 0 0 8px #2a6bff; } }
.ht-breaking--stripe { top: 0; left: 0; right: 0; padding: 6px 0; text-align: center; background: repeating-linear-gradient(-45deg, #ffd400 0 12px, #111 12px 24px); background-size: 33.94px 33.94px; box-shadow: none; animation: ht-stripe 1s linear infinite; }
.ht-breaking--stripe > span { display: inline-block; background: #111; color: #ffd400; padding: 3px 10px; font-size: 12px; }
@keyframes ht-stripe { from { background-position: 0 0; } to { background-position: 33.94px 0; } }
.ht-breaking--tag { left: 0; bottom: 14px; padding: 7px 24px 7px 12px; font-size: 12px; box-shadow: none; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); animation: ht-nudge 1.2s ease-in-out infinite; overflow: hidden; }
.ht-breaking--tag > span { position: relative; }
.ht-breaking--tag::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-120%); animation: ht-shine 1.6s ease-in-out infinite; }
@keyframes ht-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 8px 0; } }
@keyframes ht-shine { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(320%); } }
.ht-breaking--stamp { right: 12px; bottom: 12px; padding: 5px 10px; background: rgba(255, 255, 255, .93); color: #d90000; border: 3px double #d90000; font-size: 13px; transform: rotate(-6deg); box-shadow: none; animation: ht-thump 1.4s ease-in-out infinite; }
@keyframes ht-thump { 0%, 60%, 100% { scale: 1; } 72% { scale: 1.22; } 82% { scale: .96; } 90% { scale: 1.05; } }
/* Üçgen oklar: yazının iki yanında ikişer üçgen, uçları yazıya bakar (3 hareket türü). */
.ht-breaking--tri { left: 0; right: 0; bottom: 0; padding: 8px 0; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; box-shadow: none; animation: none; }
.ht-breaking--tri b { display: flex; gap: 4px; align-items: center; }
.ht-breaking--tri i { display: block; width: 9px; height: 13px; background: #fff; }
.ht-breaking--tri .l i { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ht-breaking--tri .r i { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.ht-breaking--tri .l { --d: 1; }
.ht-breaking--tri .r { --d: -1; }
/* 1: dıştaki üçgen önce, içteki sonra yanar; yazıyı gösteren bir dalga gibi. */
.ht-breaking--tri1 i { animation: ht-tri-chase 1s steps(1, end) infinite; opacity: .25; }
.ht-breaking--tri1 i.n { animation-delay: .25s; }
@keyframes ht-tri-chase { 0% { opacity: .25; } 25% { opacity: 1; } 50%, 100% { opacity: .25; } }
/* 2: iki çift birlikte yazıya doğru vurup geri çekilir. */
.ht-breaking--tri2 b { animation: ht-tri-push .8s ease-in-out infinite; }
@keyframes ht-tri-push { 0%, 100% { transform: translateX(0); } 45%, 60% { transform: translateX(calc(var(--d) * 7px)); } }
/* 3: üçgenler dışarıdan yazıya doğru süzülür, yaklaşınca solar. */
.ht-breaking--tri3 i { animation: ht-tri-flow 1.2s ease-in infinite; }
.ht-breaking--tri3 i.n { animation-delay: .3s; }
@keyframes ht-tri-flow { 0% { transform: translateX(calc(var(--d) * -9px)); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(calc(var(--d) * 7px)); opacity: 0; } }
/* Üçgenli tasarımlarda yazı da hareket eder (tasarıma göre farklı). */
.ht-breaking--tri > span { display: inline-block; }
.ht-breaking--tri1 > span { animation: ht-tri-txt-blink 1s steps(1, end) infinite; }
@keyframes ht-tri-txt-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .2; } }
.ht-breaking--tri2 > span { animation: ht-tri-txt-pop .8s ease-in-out infinite; }
@keyframes ht-tri-txt-pop { 0%, 100% { scale: 1; } 45%, 60% { scale: 1.1; } }
.ht-breaking--tri3 > span { animation: ht-tri-txt-glow 1.2s ease-in-out infinite; }
@keyframes ht-tri-txt-glow { 0%, 100% { text-shadow: none; opacity: 1; } 60% { text-shadow: 0 0 8px #fff, 0 0 14px #fff; opacity: .85; } }
/* Sağ kenar (dikey) üçgen oklar: üstte ve altta ikişer üçgen, uçları ortadaki yazıya bakar. */
.ht-breaking--v { left: auto; top: 0; right: 0; bottom: 0; width: 30px; padding: 0; flex-direction: column; gap: 10px; }
.ht-breaking--v b { flex-direction: column; }
.ht-breaking--v i { width: 13px; height: 9px; }
.ht-breaking--v .l i { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ht-breaking--v .r i { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ht-breaking--v > span { writing-mode: vertical-rl; transform: rotate(180deg); }
.ht-breaking--v.ht-breaking--tri2 b { animation-name: ht-tri-pushv; }
.ht-breaking--v.ht-breaking--tri3 i { animation-name: ht-tri-flowv; }
@keyframes ht-tri-pushv { 0%, 100% { transform: translateY(0); } 45%, 60% { transform: translateY(calc(var(--d) * 7px)); } }
@keyframes ht-tri-flowv { 0% { transform: translateY(calc(var(--d) * -9px)); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(calc(var(--d) * 7px)); opacity: 0; } }
@keyframes ht-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ht-breaking, .ht-breaking::before, .ht-breaking::after, .ht-breaking--live::before, .ht-breaking > span, .ht-breaking--tri i, .ht-breaking--tri b { animation: none !important; } }

.ht-row-card {
	display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px;
	padding: 12px 0; border-bottom: 1px solid var(--ht-border);
}
.ht-row-card:last-child { border-bottom: 0; }
.ht-row-card .ht-thumb { aspect-ratio: 16 / 11; border-radius: 4px; }
.ht-row-media { position: relative; min-width: 0; }
.ht-row-media .ht-badge { position: absolute; top: 8px; left: 8px; margin: 0; z-index: 2; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-row-title { font-family: var(--nt-f, var(--ht-serif)); font-weight: var(--nt-w, var(--ht-hw, 700)); font-size: calc(1.02rem * var(--ht-ts, 1) * var(--nt-s, 1)); margin: 0 0 4px; }
.ht-list .ht-row-card { grid-template-columns: 220px minmax(0, 1fr); padding: 18px 0; }
.ht-list .ht-row-title { font-size: calc(1.25rem * var(--ht-ts, 1) * var(--nt-s, 1)); }
/* Liste özeti: yazı rengine yakın (soluk değil) ve bir punto büyük. */
.ht-list .ht-card-spot { font-size: calc(15.5px * var(--ns-s, 1)); font-family: var(--ns-f, inherit); font-weight: var(--ns-w, normal); color: var(--ht-text); opacity: .88; line-height: 1.5; }
.ht-columns .ht-row-card { padding: 10px 0; }

/* Görsel üzeri başlıklı kartlar */
.ht-overlay { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: var(--ht-radius); background: #000; min-height: 220px; color: #fff; }
.ht-overlay .ht-thumb { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
/* Gövde konumlandırılmaz (static): başlık bağlantısının ::after katmanı tüm kartı kaplasın, görsele tıklayınca haber açılsın. */
/* Karartma yalnızca yazı alanında: altta %100 siyah, yukarıda %0 ile biter; yazı uzadıkça gölge de uzar. Üstteki boşluk geçişi yumuşatır. */
.ht-overlay-body { position: static; padding: 44px 16px 10px; z-index: 2; background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) var(--gs, 15%), rgba(0, 0, 0, 0) 100%); }
.ht-overlay-title { font-family: var(--nt-f, var(--ht-serif)); font-weight: var(--nt-w, var(--ht-hw, 700)); font-size: calc(1.05rem * var(--ht-ts, 1) * var(--nt-s, 1)); margin: 0 0 3px; }
.ht-overlay-title a { color: #fff; }
.ht-overlay-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ht-overlay-title a:hover { color: #fff; text-decoration: none; }
.ht-overlay .ht-meta { color: rgba(255, 255, 255, .8); }
.ht-overlay.is-big .ht-overlay-title { font-size: calc(clamp(1.4rem, 3vw, 2.1rem) * var(--ht-ts, 1) * var(--nt-s, 1)); }
.ht-overlay.is-big .ht-overlay-body { padding: 56px 24px 14px; }
.ht-overlay-spot { color: rgba(255, 255, 255, .88); margin: 0 0 4px; max-width: 60ch; }

/* Manşet ızgarası */
.ht-hero-grid {
	display: grid; gap: 10px;
	grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(210px, 1fr));
}
.ht-hero-grid .ht-overlay:first-child { grid-row: 1 / 3; min-height: 440px; }
.ht-hero-grid--1-2 { grid-template-columns: 3fr 2fr; } /* 1 büyük + 2 küçük: büyük solda, iki küçük sağda alt alta. */
.ht-hero-grid.is-few { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-template-rows: auto; }
.ht-hero-grid.is-few .ht-overlay:first-child { grid-row: auto; min-height: 320px; }

/* Slider */
.ht-slider { position: relative; border-radius: var(--ht-radius); overflow: hidden; background: #000; }
.ht-slides { position: relative; aspect-ratio: var(--sr, 16 / 8); }
/* Slider yüksekliği: --sr geniş, --sr-m orta, --sr-s dar sütun/ekran oranıdır. Normal = eski görünüm. */
.ht-slider--h-xlow { --sr: 16 / 5;   --sr-m: 2 / 1;    --sr-s: 4 / 3; }
.ht-slider--h-low  { --sr: 16 / 6.5; --sr-m: 16 / 9;   --sr-s: 5 / 4; }
.ht-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s; }
.ht-slide .ht-overlay { height: 100%; border-radius: 0; }
.ht-slide.is-active, .ht-slider:not(.is-ready) .ht-slide:first-child { opacity: 1; visibility: visible; z-index: 1; }
.ht-slider-btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 24px; height: 56px; padding: 0; border: 0; cursor: pointer; font-size: 36px; line-height: 1;
	background: rgba(0, 0, 0, .5); color: #fff;
}
.ht-slider-btn:hover { background: var(--ht-accent); }
/* Parmakla kaydırma için dikey kaydırma serbest kalır; mobil/tablette okları gizleme seçeneği. */
.ht-slider { touch-action: pan-y; }
/* Yana kayma efekti: slaytlar yatay konumlanır (konumu JS verir). */
.ht-slider--slide .ht-slide { opacity: 1; transition: none; will-change: transform; }
.ht-slider--slide .ht-slide.is-moving { visibility: visible; }
@media (hover: none), (pointer: coarse), (max-width: 820px) { .ht-slider--noarrows-m .ht-slider-btn { display: none; } }
/* Renkli gölge (Haber Tema Ayarları → Manşet Slider Renkleri): her haber slaytı sırayla kendi rengini alır. */
.ht-slide.has-grad .ht-overlay-body { background: linear-gradient(to top, rgba(var(--g), 1) 0%, rgba(var(--g), 0) 100%); }
/* Gölge (slider ve manşet): alttaki kısım tam koyu (%100; --gs, panelden seçilir, varsayılan %15), üstü %100'den %0'a iner. Temel kural .ht-overlay-body'de. */
.ht-slider .ht-slide.has-grad .ht-overlay-body { background: linear-gradient(to top, rgba(var(--g), 1) 0%, rgba(var(--g), 1) var(--gs, 15%), rgba(var(--g), 0) 100%); }
/* Özel slayt (reklam, duyuru, tebrik): görsel kırpılmaz, slider'a sığar; yanlarda kalan boşluk görselin bulanık, karartılmış kopyasıyla dolar. */
.ht-ad-slide { position: absolute; inset: 0; background: #111; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ht-ad-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.5); transform: scale(1.15); }
.ht-ad-slide picture { display: contents; }
.ht-ad-link { position: relative; display: block; width: 100%; height: 100%; }
.ht-ad-img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.ht-ad-slide--code { background: #f3f3f0; }
.ht-ad-codewrap { position: relative; max-width: 100%; max-height: 100%; overflow: auto; display: flex; align-items: center; justify-content: center; }
/* Dokunmatik ekranlarda okun görünmez dokunma alanı 36x72 px'e genişler (görünen kutu 24x56 kalır). */
@media (hover: none), (pointer: coarse) {
	.ht-slider-btn::before { content: ""; position: absolute; top: -8px; bottom: -8px; }
	.ht-prev::before { left: 0; right: -12px; }
	.ht-next::before { right: 0; left: -12px; }
}
/* Başlık okların altına girmesin: slider metni iki yandan ok genişliği kadar içeride durur. */
.ht-slider .ht-overlay.is-big .ht-overlay-body { padding: 56px 32px 14px; }
@media (max-width: 600px) { .ht-slider .ht-overlay.is-big .ht-overlay-body { padding: 44px 32px 10px; } }
/* Gölge yönü "Solda" (yalnızca manşet slider): karartma soldan sağa iner. Slider genişliğinin ilk %30'u tam koyu, sonraki %40'ı %100'den %0'a solar (toplam %70). Başlık da bu %70'lik alanda, dikey ortalı durur; satır arttıkça üstten ve alttan eşit büyür. Soldaki ok düğmesinin sağından başlar. Özel slaytlar (reklam) etkilenmez. */
.ht-slider.ht-slider--gl .ht-overlay { flex-direction: row; justify-content: flex-start; align-items: stretch; }
.ht-slider.ht-slider--gl .ht-overlay.is-big .ht-overlay-body {
	flex: none; box-sizing: border-box; width: 70%; max-width: 70%; min-width: 0; overflow: hidden;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding: 20px 20px 20px 35px; /* 35px: sol ok düğmesi 24px + 11px boşluk */
	background: none; /* karartma ::before katmanında */
}
/* Karartma yazı alanından ayrı bir katmandır (yazı alanı %70'te kalır): slider'ın ilk %40'ı tam koyu, sonraki %40'ı %100'den %0'a solar (toplam %80). Katman genişliği %80; %50'si = slider'ın %40'ı. */
.ht-slider.ht-slider--gl .ht-overlay.is-big::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 80%; z-index: 1; pointer-events: none; background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%); }
.ht-slider.ht-slider--gl .ht-slide.has-grad .ht-overlay.is-big::before { background: linear-gradient(to right, rgba(var(--g), 1) 0%, rgba(var(--g), 1) 50%, rgba(var(--g), 0) 100%); }
.ht-slider.ht-slider--gl .ht-overlay-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; max-width: 100%; overflow-wrap: anywhere; padding-bottom: 2mm; margin-bottom: calc(3px - 2mm); } /* Çok uzun başlıkta en fazla 6 satır: alttan/üstten taşmaz. padding-bottom: 2mm: son satırda g, y, ğ gibi harflerin kuyruğu kesilmesin (overflow: hidden satır kutusunun altından keser); margin aynı miktar azaltılır, aralık değişmez. Satır yüksekliği normal kalır. */
/* Mobil ve tablette oklar gizlenmişse (Gösterilmesin seçeneği) sol ok yoktur: yazı 10 px'ten başlar. Koşul, okları gizleyen kuralla aynıdır. */
@media (hover: none), (pointer: coarse), (max-width: 820px) { .ht-slider.ht-slider--gl.ht-slider--noarrows-m .ht-overlay.is-big .ht-overlay-body { padding-left: 10px; } }
.ht-slider.ht-slider--gl .ht-overlay-title.is-clamped { padding-bottom: .1em; margin-bottom: calc(3px - .1em); } /* Başlık 6 satıra kısaltılmışsa (…): alt boşluk küçülür, yoksa gizlenen 7. satırın üst ucu boşlukta görünür. */
/* Görsel yerleşimi "Gölgenin bittiği yerden başlasın" (yalnızca Solda gölgesiyle, geniş ekranda): görsel slider'ın sağ %60'ını kaplar; sol %40 gölgenin tam koyu rengi (gradyan rengi seçiliyse o renk, yoksa siyah) olur. Gradyan %40'tan başlayıp görselin üstünde solar. Telefon ve tablette (800 px ve altı) görsel tüm slaytı kaplar. Özel slaytlar (reklam) .ht-overlay kullanmadığı için etkilenmez. */
@media (min-width: 801px) {
	.ht-slider.ht-slider--gl.ht-slider--gr .ht-overlay .ht-thumb { inset: 0 0 0 40%; }
	.ht-slider.ht-slider--gl.ht-slider--gr .ht-slide.has-grad .ht-overlay { background: rgb(var(--g)); }
}
.ht-slider--h-xlow .ht-overlay.is-big .ht-overlay-body { padding-top: 36px; padding-bottom: 8px; }
/* Manşet slider Tipografi bölümü (panelde slider içinden; --slt-* başlık, --sld-* tarih). Yalnızca .ht-slider içinde geçerli; manşet (hero) etkilenmez. */
.ht-slider .ht-overlay.is-big .ht-overlay-title { font-family: var(--slt-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--slt-d, 2.125rem); font-weight: var(--slt-w, 700); font-style: var(--slt-i, normal); }
.ht-slider .ht-overlay.is-big .ht-overlay-title a, .ht-slider .ht-overlay.is-big .ht-overlay-title a:hover { color: var(--slt-c, #fff); }
.ht-slider .ht-overlay .ht-meta { font-family: var(--sld-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--sld-d, .78125rem); font-weight: var(--sld-w, 400); font-style: var(--sld-i, normal); color: var(--sld-c, #9e9e9e); }
@media (max-width: 1024px) { .ht-slider .ht-overlay.is-big .ht-overlay-title { font-size: var(--slt-t, 1.875rem); } .ht-slider .ht-overlay .ht-meta { font-size: var(--sld-t, .78125rem); } }
@media (max-width: 600px) { .ht-slider .ht-overlay.is-big .ht-overlay-title { font-size: var(--slt-m, 1.625rem); } .ht-slider .ht-overlay .ht-meta { font-size: var(--sld-m, .78125rem); } }
/* Manşet (hero) Tipografi bölümü (panelde hero içinden; --hrt-* başlık, --hrd-* tarih). Yalnızca .ht-hero içinde geçerli; manşet slider etkilenmez. */
.ht-hero .ht-overlay-title { font-family: var(--hrt-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-weight: var(--hrt-w, 700); font-style: var(--hrt-i, normal); font-size: var(--hrt-sd, 1.375rem); }
.ht-hero .ht-overlay.is-big .ht-overlay-title { font-size: var(--hrt-bd, 1.875rem); }
.ht-hero .ht-overlay-title a { color: var(--hrt-c, #fff); }
.ht-hero .ht-overlay-title a:hover { color: var(--ht-accent); }
.ht-hero .ht-overlay .ht-meta { font-family: var(--hrd-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--hrd-d, .78125rem); font-weight: var(--hrd-w, 400); font-style: var(--hrd-i, normal); color: var(--hrd-c, #9e9e9e); }
@media (max-width: 1024px) { .ht-hero .ht-overlay-title { font-size: var(--hrt-st, 1.25rem); } .ht-hero .ht-overlay.is-big .ht-overlay-title { font-size: var(--hrt-bt, 1.625rem); } .ht-hero .ht-overlay .ht-meta { font-size: var(--hrd-t, .78125rem); } }
@media (max-width: 600px) { .ht-hero .ht-overlay-title { font-size: var(--hrt-sm, 1.125rem); } .ht-hero .ht-overlay.is-big .ht-overlay-title { font-size: var(--hrt-bm, 1.375rem); } .ht-hero .ht-overlay .ht-meta { font-size: var(--hrd-m, .78125rem); } }
/* Haber listesi Tipografi bölümü (panelde liste içinden; --lt-* başlık, --ls-* özet, --ld-* tarih). Yalnızca .ht-lst (liste bloğu) içinde geçerli; arşiv, arama ve diğer listeler etkilenmez. Özet telefonda (560 px ve altı) ve dar sütunda (700 px ve altı) gizli kalır; bu kurallar yukarıda (ht-card-spot display:none). */
.ht-section.ht-lst .ht-row-card { border-bottom-color: var(--ll-c, #e2e2dd); }
.ht-section.ht-lst .ht-row-title { font-family: var(--lt-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--lt-d, 1.25rem); font-weight: var(--lt-w, 700); font-style: var(--lt-i, normal); }
.ht-section.ht-lst .ht-row-title a { color: var(--lt-c, #16181d); }
.ht-section.ht-lst .ht-row-title a:hover { color: var(--ht-accent); }
.ht-section.ht-lst .ht-card-spot { font-family: var(--ls-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--ls-d, .96875rem); font-weight: var(--ls-w, 400); font-style: var(--ls-i, normal); color: var(--ls-c, #323438); opacity: 1; }
.ht-section.ht-lst .ht-row-body .ht-meta { font-family: var(--ld-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--ld-d, .78125rem); font-weight: var(--ld-w, 400); font-style: var(--ld-i, normal); color: var(--ld-c, #667085); }
@media (max-width: 1024px) { .ht-section.ht-lst .ht-row-title { font-size: var(--lt-t, 1.1875rem); } .ht-section.ht-lst .ht-card-spot { font-size: var(--ls-t, .9375rem); } .ht-section.ht-lst .ht-row-body .ht-meta { font-size: var(--ld-t, .78125rem); } }
@media (max-width: 600px) { .ht-section.ht-lst .ht-row-title { font-size: var(--lt-m, 1.125rem); } .ht-section.ht-lst .ht-row-body .ht-meta { font-size: var(--ld-m, .78125rem); } }
/* Çoklu kategori Tipografi bölümü (panelde blok içinden; --ct-* başlık, --cd-* tarih, --cl-c çizgi). Yalnızca .ht-colsec içinde geçerli. Büyük haber = .ht-card-title, küçük haber = .ht-row-title. */
.ht-section.ht-colsec .ht-card-title, .ht-section.ht-colsec .ht-row-title { font-family: var(--ct-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-weight: var(--ct-w, 700); font-style: var(--ct-i, normal); }
.ht-section.ht-colsec .ht-card-title { font-size: var(--ct-bd, 1.125rem); }
.ht-section.ht-colsec .ht-row-title { font-size: var(--ct-sd, 1rem); }
.ht-section.ht-colsec .ht-card-title a, .ht-section.ht-colsec .ht-row-title a { color: var(--ct-c, #16181d); }
.ht-section.ht-colsec .ht-card:hover .ht-card-title a, .ht-section.ht-colsec .ht-card-title a:hover, .ht-section.ht-colsec .ht-row-title a:hover { color: var(--ht-accent); } /* Büyük haberde kartın herhangi bir yerine (görsel dahil) gelince de başlık vurgu rengine döner (eski davranış). */
.ht-section.ht-colsec .ht-meta { font-family: var(--cd-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--cd-d, .78125rem); font-weight: var(--cd-w, 400); font-style: var(--cd-i, normal); color: var(--cd-c, #667085); }
.ht-section.ht-colsec .ht-row-card { border-bottom-color: var(--cl-c, #e2e2dd); }
.ht-section.ht-colsec .ht-card, .ht-section.ht-colsec .ht-card:hover { box-shadow: none; } /* Büyük haberde gölge yok (normal halde de, fare gelince de). */
.ht-section.ht-colsec .ht-card { margin-bottom: 10px; } /* Büyük haber ile çizgi arasındaki boşluk, küçük haberlerin üst iç boşluğuyla aynı (10px). */
.ht-section.ht-colsec .ht-card + .ht-row-card { border-top: 1px solid var(--cl-c, #e2e2dd); } /* Büyük haberden sonraki çizgi: küçük haberler arasındakiyle aynı renk. Kart yukarı kalksa da çizgi yerinde durur. */
@media (max-width: 1024px) { .ht-section.ht-colsec .ht-card-title { font-size: var(--ct-bt, 1.125rem); } .ht-section.ht-colsec .ht-row-title { font-size: var(--ct-st, 1rem); } .ht-section.ht-colsec .ht-meta { font-size: var(--cd-t, .78125rem); } }
@media (max-width: 600px) { .ht-section.ht-colsec .ht-card-title { font-size: var(--ct-bm, 1.125rem); } .ht-section.ht-colsec .ht-row-title { font-size: var(--ct-sm, 1rem); } .ht-section.ht-colsec .ht-meta { font-size: var(--cd-m, .78125rem); } }
/* Çoklu kategori sütun kutusu: her sütun (başlık + büyük haber + küçük haberler) tek kutu; zemin ve kenar rengi bloğun Tipografi bölümünden (--cx-bg, --cx-bd). İç boşluk her yerde 14px. */
.ht-section.ht-colsec .ht-col { background: var(--cx-bg, #fff); border: 1px solid var(--cx-bd, #e2e2dd); border-radius: var(--ht-radius); padding: 14px; min-width: 0; }
.ht-section.ht-colsec .ht-card:hover { transform: none; } /* Kutunun içinde büyük haber yukarı kalkmaz. */
/* Kart ızgarası Tipografi bölümü (panelde ızgara içinden; --gt-* başlık, --gd-* tarih, --gx-bg / --gx-bd kart zemini ve kenarı). Yalnızca .ht-grdsec içinde geçerli. */
.ht-section.ht-grdsec .ht-card { background: var(--gx-bg, #fff); border-color: var(--gx-bd, #e2e2dd); }
.ht-section.ht-grdsec .ht-card:hover { border-color: rgba(var(--ht-accent-rgb, 200, 16, 46), .3); }
.ht-section.ht-grdsec .ht-card-title { font-family: var(--gt-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--gt-d, 1.125rem); font-weight: var(--gt-w, 700); font-style: var(--gt-i, normal); }
.ht-section.ht-grdsec .ht-card-title a { color: var(--gt-c, #16181d); }
.ht-section.ht-grdsec .ht-card:hover .ht-card-title a, .ht-section.ht-grdsec .ht-card-title a:hover { color: var(--ht-accent); }
.ht-section.ht-grdsec .ht-card .ht-meta { font-family: var(--gd-f, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: var(--gd-d, .78125rem); font-weight: var(--gd-w, 400); font-style: var(--gd-i, normal); color: var(--gd-c, #667085); }
@media (max-width: 1024px) { .ht-section.ht-grdsec .ht-card-title { font-size: var(--gt-t, 1.125rem); } .ht-section.ht-grdsec .ht-card .ht-meta { font-size: var(--gd-t, .78125rem); } }
@media (max-width: 600px) { .ht-section.ht-grdsec .ht-card-title { font-size: var(--gt-m, 1.125rem); } .ht-section.ht-grdsec .ht-card .ht-meta { font-size: var(--gd-m, .78125rem); } }
.ht-prev { left: 0; border-radius: 0 4px 4px 0; }
.ht-next { right: 0; border-radius: 4px 0 0 4px; }
.ht-dots { position: absolute; right: 16px; top: 14px; z-index: 5; display: flex; gap: 6px; }
.ht-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .5); }
.ht-dot.is-active { background: var(--ht-accent); box-shadow: 0 0 0 2px #fff; }

/* Kategori sütunları */
.ht-columns { display: grid; gap: 26px; }
/* Blok arka plan rengi (başlık satırı dahil): yazı rengi renge göre açık/koyu. */
.ht-section--bg { padding: 16px; border-radius: var(--ht-radius); }
.ht-boxbg > .ht-box { background: none; border: 0; padding: 0; }
.ht-section--bg-dark { --ht-text: #fff; --ht-muted: rgba(255, 255, 255, .72); --ht-border: rgba(255, 255, 255, .22); color: #fff; }
/* Arka plan görseli varken başlık, "Tümü" bağlantısı ve çizgiler beyaz. */
.ht-section--bgimg .ht-section-title, .ht-section--bgimg .ht-more { color: #fff; }
.ht-section--bg-light { --ht-text: #16181d; --ht-muted: #667085; --ht-border: rgba(0, 0, 0, .12); color: #16181d; }
.ht-columns.ht-cols-1 { grid-template-columns: 1fr; }
.ht-columns .ht-card { border: 0; background: transparent; }
.ht-columns .ht-card-body { padding: 10px 0 0; }

.ht-custom .ht-html, .ht-home-content { background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); padding: 18px 20px; }
.ht-home-content { margin-bottom: 28px; }
.ht-ad { text-align: center; overflow: hidden; }
.ht-notice { background: #fff8e1; border: 1px solid #f0d98a; padding: 12px 16px; border-radius: var(--ht-radius); color: #5c4a00; }

/* ==========================================================================
   Kenar çubuğu ve widget'lar
   ========================================================================== */
.ht-sidebar { display: flex; flex-direction: column; gap: var(--ht-gap); }
.ht-widget { background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); padding: 16px; }
.ht-widget.ht-section--bg { border: 0; } /* Arka planlı widget: kutunun kendi çerçevesi kalkar, renk/görsel kutuya verilir. */
.ht-widget.ht-section--bg .ht-widget-title { color: var(--ht-text); }
.ht-widget.ht-section--bgimg .ht-widget-title { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.ht-widget.ht-section--bgimg.ht-bgimg--dark .ht-widget-title { color: #16181d; text-shadow: none; }
.ht-widget-title {
	font-family: var(--ht-serif); font-size: calc(1.1rem * var(--ht-ts, 1)); margin: 0 0 12px;
	padding-bottom: 8px; border-bottom: 2px solid var(--ht-accent);
}
.ht-widget .wp-block-heading, .ht-widget .widgettitle, .ht-widget .widget-title { font-family: var(--ht-serif); font-size: calc(1.1rem * var(--ht-ts, 1)); font-weight: 700; line-height: 1.3; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ht-accent); } /* WordPress'in kendi blok widget'ları (Arşiv, Kategoriler…) da tema başlığıyla aynı görünür. */
.ht-widget ul { list-style: none; padding: 0; margin: 0; }
.ht-widget li { padding: 6px 0; border-bottom: 1px solid var(--ht-border); }
.ht-widget li:last-child { border-bottom: 0; }
.ht-widget-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: start; }
.ht-widget-item.no-thumb { grid-template-columns: 1fr; }
.ht-widget-item .ht-thumb { aspect-ratio: 4 / 3; border-radius: 4px; }
.ht-widget-link { font-weight: 600; font-size: calc(14.5px * var(--ht-ts, 1)); line-height: 1.35; display: block; margin-bottom: 3px; }

/* ==========================================================================
   Haber ve sayfa
   ========================================================================== */
.ht-article, .ht-page {
	background: var(--ht-surface); border: 1px solid var(--ht-border);
	border-radius: var(--ht-radius); padding: clamp(16px, 3vw, 32px); margin-bottom: var(--ht-gap);
}
.ht-article-title, .ht-page-title { font-family: var(--ht-serif); font-size: calc(clamp(1.7rem, 4vw, 2.5rem) * var(--ht-ts, 1)); margin: 4px 0 12px; letter-spacing: -.01em; }
.ht-article-spot { font-size: 1.2rem; color: var(--ht-muted); line-height: 1.5; margin-bottom: 16px; }
.ht-article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ht-muted); padding-bottom: 14px; border-bottom: 1px solid var(--ht-border); margin-bottom: 18px; }
.ht-author { font-weight: 700; color: var(--ht-text); }
.ht-article-figure { margin: 0 0 18px; }
.ht-article-figure img { width: 100%; border-radius: var(--ht-radius); display: block; }
.ht-article-figure figcaption { font-size: 13px; color: var(--ht-muted); padding-top: 6px; }

.entry-content { font-size: var(--ht-fs-text, 1.1rem); line-height: 1.8; overflow-wrap: break-word; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-family: var(--ht-serif); font-size: 1.45em; margin-top: 1.6em; }
.entry-content h3 { font-family: var(--ht-serif); font-size: 1.18em; margin-top: 1.4em; }
.entry-content a { color: var(--ht-accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content blockquote {
	margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--ht-accent);
	font-family: var(--ht-serif); font-size: 1.2rem; color: var(--ht-muted);
}
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--ht-border); padding: 8px 10px; }
.entry-content .alignwide { max-width: none; }
.entry-content .alignleft { float: left; margin: 4px 20px 12px 0; }
.entry-content .alignright { float: right; margin: 4px 0 12px 20px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Haber içi galeri (assets/js/gallery.js): peşpeşe resimler yan yana, hepsi aynı oranda kırpılmış önizleme. Dosya değişmez, yalnızca ekranda kırpılır. */
.ht-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 1.2em 0; }
.ht-gal--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-gal .ht-gal-item { display: block; width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; position: relative; cursor: zoom-in; background: var(--ht-surface); border-radius: var(--ht-radius); aspect-ratio: var(--gal-r, 4 / 3); }
.ht-gal .ht-gal-item img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: center; transition: transform .25s ease; }
.ht-gal .ht-gal-item:focus-visible { outline: 2px solid var(--ht-accent); outline-offset: 2px; }
@media (hover: hover) { .ht-gal .ht-gal-item:hover img { transform: scale(1.04); } }
@media (max-width: 560px) { .ht-gal, .ht-gal--c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ht-gal .ht-gal-item img { transition: none; } }

/* Büyütme penceresi */
html.ht-lb-open { overflow: hidden; }
.ht-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .96); display: flex; align-items: center; justify-content: center; }
.ht-lb[hidden] { display: none; }
.ht-lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 64px; touch-action: pan-y; }
.ht-lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.ht-lb-img.is-next { animation: ht-lb-in-r .25s ease; }
.ht-lb-img.is-prev { animation: ht-lb-in-l .25s ease; }
@keyframes ht-lb-in-r { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes ht-lb-in-l { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.ht-lb-err { color: #fff; font-size: 15px; margin: 0; }
.ht-lb-btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }
.ht-lb-btn:hover { background: rgba(255, 255, 255, .3); }
.ht-lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ht-lb-close { top: 12px; right: 12px; }
.ht-lb-prev { left: 12px; top: 50%; margin-top: -22px; }
.ht-lb-next { right: 12px; top: 50%; margin-top: -22px; }
.ht-lb-count { position: absolute; top: 20px; left: 16px; color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .16); padding: 4px 12px; border-radius: 99px; }
@media (max-width: 560px) {
	.ht-lb-stage { padding: 56px 8px; }
	.ht-lb-prev, .ht-lb-next { width: 38px; height: 38px; margin-top: -19px; background: rgba(0, 0, 0, .45); }
	.ht-lb-prev { left: 6px; } .ht-lb-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .ht-lb-img.is-next, .ht-lb-img.is-prev { animation: none; } }
.wp-caption, .wp-caption-text, .gallery-caption { font-size: 13px; color: var(--ht-muted); }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor { display: block; }

.ht-page-layout--narrow .ht-main { max-width: 820px; margin: 0 auto; }
.ht-container--wide { max-width: 1400px; }
.ht-page-head { margin-bottom: 16px; }

.ht-tags { margin-top: var(--ht-gap); display: flex; flex-wrap: wrap; gap: 8px; }
.ht-tags a { background: var(--ht-bg); border: 1px solid var(--ht-border); padding: 3px 10px; border-radius: 99px; font-size: 13px; }
.ht-tags a:hover { border-color: var(--ht-accent); }

.ht-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; font-size: 13px; }
.ht-share-label { font-weight: 700; margin-right: 4px; }
.ht-share-link {
	background: var(--ht-bg); border: 1px solid var(--ht-border); color: var(--ht-text);
	padding: 5px 12px; border-radius: 99px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.ht-share-link:hover { background: var(--ht-accent); border-color: var(--ht-accent); color: #fff; }

.ht-post-ad { margin-bottom: var(--ht-gap); text-align: center; }
.ht-authorbox { display: flex; gap: 16px; background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); padding: 18px; margin-bottom: var(--ht-gap); }
.ht-authorbox img { border-radius: 50%; }
.ht-authorbox p { margin: 4px 0 0; color: var(--ht-muted); font-size: 14.5px; }


.ht-page-links { margin-top: 20px; font-weight: 600; }
.ht-page-links a, .ht-page-links > span { margin: 0 4px; }

/* Arşiv, arama, 404 */
.ht-archive-head { margin-bottom: var(--ht-gap); padding-bottom: 16px; border-bottom: 2px solid var(--ht-border); }
.ht-archive-title { font-family: var(--ht-serif); font-size: calc(clamp(1.6rem, 3.5vw, 2.2rem) * var(--ht-ts, 1)); margin: 0 0 6px; border-left: 5px solid var(--ht-accent); padding-left: 12px; }
.ht-archive-desc { color: var(--ht-muted); }
.ht-none, .ht-notfound { background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); padding: 28px; }
.ht-notfound { text-align: center; margin-bottom: var(--ht-gap); }
.ht-notfound .ht-searchform { max-width: 480px; margin: 18px auto 0; }
.ht-notfound-code { font-family: var(--ht-serif); font-size: 5rem; font-weight: 700; color: var(--ht-accent); margin: 0; line-height: 1; }

.pagination, .posts-navigation { margin: var(--ht-gap) 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers {
	display: inline-block; min-width: 38px; padding: 7px 12px; text-align: center;
	background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); font-weight: 600;
}
.page-numbers.current, a.page-numbers:hover { background: var(--ht-accent); border-color: var(--ht-accent); color: #fff; }

/* Yorumlar */
.ht-comments { background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); padding: 24px; margin-bottom: var(--ht-gap); }
.ht-comment-list { list-style: none; padding: 0; margin: 20px 0; }
.ht-comment-list .children { list-style: none; padding-left: 28px; }
.ht-comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--ht-border); }
.ht-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.ht-comment-list .comment-meta { font-size: 13px; color: var(--ht-muted); margin-bottom: 6px; }
.comment-form label { display: block; font-weight: 600; 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(--ht-border); border-radius: var(--ht-radius);
	background: var(--ht-bg); color: var(--ht-text); font: inherit;
}

/* ==========================================================================
   Alt alan
   ========================================================================== */
.ht-footer { background: var(--ht-dark); color: #c9ced8; margin-top: 0; }
.ht-footer a:hover { color: #fff; }
.ht-footer-widgets { padding: 36px 0 12px; border-bottom: 1px solid #262b35; }
.ht-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ht-footer .ht-widget { background: transparent; border: 0; padding: 0; margin-bottom: var(--ht-gap); }
.ht-footer .ht-widget-title { color: #fff; }
.ht-footer .ht-widget li { border-color: #262b35; }
.ht-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 13.5px; }
.ht-menu-footer { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.ht-footer .ht-social { margin-left: auto; }
.ht-topbar .ht-social.is-wrapped, .ht-footer .ht-social.is-wrapped, .ht-topmenu.is-wrapped { margin-left: 0; } /* Alt satıra düşünce sola yaslanır (main.js sınıfı ekler). */

.ht-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--ht-accent); color: #fff; font-size: 20px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.ht-top[hidden] { display: none; }

/* ==========================================================================
   Duyarlı
   ========================================================================== */
@media (max-width: 1000px) {
	.ht-layout.has-sidebar { grid-template-columns: minmax(0, 1fr); }
	.ht-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ht-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ht-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
	.ht-nav-toggle { display: block; }
	.ht-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--ht-surface); color: var(--ht-text);
		box-shadow: 0 10px 24px rgba(0, 0, 0, .2); max-height: 75vh; overflow-y: auto;
	}
	.ht-nav.is-open { display: block; }
	.ht-menu { display: block; }
	.ht-menu a { border-bottom: 1px solid var(--ht-border); }
	.ht-menu .sub-menu, .ht-menu .children { position: static; display: block; box-shadow: none; border-top: 0; padding-left: 14px; }
	/* Dar ekranda logo ortalanır (reklam olsa da olmasa da); reklam varsa logonun altına, ekran genişliğine sığacak şekilde küçülerek gelir. */
	.ht-branding-inner { flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
	.ht-logo { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
	.ht-logo img { margin: 0 auto; }
	.ht-header-ad { width: 100%; max-width: 728px; text-align: center; }
	.ht-header-ad img { margin: 0 auto; }
	.ht-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.ht-hero-grid .ht-overlay:first-child { grid-column: 1 / 3; grid-row: auto; min-height: 320px; }
	.ht-slides { aspect-ratio: var(--sr-m, 4 / 3); }
	.ht-cols-3, .ht-cols-5, .ht-columns.ht-cols-2, .ht-columns.ht-cols-3, .ht-columns.ht-cols-4 { grid-template-columns: 1fr 1fr; }
	.ht-list .ht-row-card { grid-template-columns: 140px minmax(0, 1fr); }
	.admin-bar.ht-sticky .ht-navbar { top: 46px; }
}

@media (max-width: 560px) {
	.ht-cols-2, .ht-cols-3, .ht-cols-4, .ht-cols-5,
	.ht-columns.ht-cols-2, .ht-columns.ht-cols-3, .ht-columns.ht-cols-4 { grid-template-columns: 1fr; }
	.ht-hero-grid { grid-template-columns: 1fr; }
	.ht-hero-grid .ht-overlay:first-child { grid-column: auto; min-height: 280px; }
	.ht-hero-grid .ht-overlay { min-height: 200px; }
	.ht-list .ht-row-card { grid-template-columns: 110px minmax(0, 1fr); }
	.ht-list .ht-card-spot { display: none; }
	.ht-footer-grid { grid-template-columns: 1fr; }
	.ht-topbar-inner { padding-top: 5px; padding-bottom: 5px; } /* Sosyal medya bağlantıları (sağa yaslı) alt satıra geçse de aralık dar kalır. */
	.ht-slides { aspect-ratio: var(--sr-s, 1 / 1); }
	.ht-slider .ht-overlay-spot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Modül kutuları: anket, piyasa verileri, hava durumu (inc/modules/)
   ========================================================================== */
.ht-box {
	background: var(--ht-surface); border: 1px solid var(--ht-border);
	border-radius: var(--ht-radius); padding: 16px; min-width: 0;
}
.ht-widget .ht-box { background: none; border: 0; padding: 0; }
.ht-box-title {
	font-family: var(--ht-serif); font-size: calc(1.1rem * var(--ht-ts, 1)); margin: 0 0 12px;
	padding-bottom: 8px; border-bottom: 2px solid var(--ht-accent);
}
.ht-box-note { margin: 12px 0 0; font-size: 12px; color: var(--ht-muted); }
.ht-box-note a { text-decoration: underline; }

/* Anket */
.ht-poll-question { font-weight: 700; margin: 0 0 12px; }
.ht-poll-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.ht-poll-opt { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; }
.ht-poll-opt input { margin-top: 5px; accent-color: var(--ht-accent); }
.ht-poll-opt label { cursor: pointer; flex: 1; }
.ht-poll-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.ht-poll-actions .ht-button:disabled { opacity: .6; cursor: wait; }
.ht-linkbtn {
	background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
	font-size: 13px; color: var(--ht-muted); text-decoration: underline;
}
.ht-linkbtn:hover { color: var(--ht-accent); }
.ht-poll-msg { margin: 8px 0 0; font-size: 13px; color: var(--ht-accent); min-height: 1em; }
.ht-poll-results { list-style: none; margin: 0; padding: 0; }
.ht-poll-row { margin-bottom: 12px; }
.ht-poll-rowhead { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; margin-bottom: 4px; }
.ht-poll-row.is-top .ht-poll-text { font-weight: 700; }
.ht-poll-bar { height: 8px; background: var(--ht-border); border-radius: 99px; overflow: hidden; }
.ht-poll-bar span { display: block; height: 100%; background: var(--ht-accent); border-radius: 99px; transition: width .5s; }
.ht-poll-total { font-size: 12.5px; color: var(--ht-muted); margin: 4px 0 8px; }

/* Piyasa verileri */
.ht-fx-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ht-fx-table th, .ht-fx-table td { padding: 5px 4px; text-align: right; border-bottom: 1px solid var(--ht-border); font-size: 14.5px; }
.ht-fx-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ht-muted); }
.ht-fx-table th:first-child { text-align: left; }
.ht-fx-table tbody th { font-weight: 700; }
.ht-fx-name { display: block; font-weight: 400; font-size: 12px; color: var(--ht-muted); }
.ht-fx-chg { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ht-fx-chg.up { color: #1a7f37; }
.ht-fx-chg.down { color: #c8102e; }
.ht-fx-table tbody tr:last-child th, .ht-fx-table tbody tr:last-child td { border-bottom: 0; }

/* Hava durumu */
.ht-wx-list { list-style: none; margin: 0; padding: 0; }
.ht-wx-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ht-border); }
.ht-wx-row:last-child { border-bottom: 0; }
.ht-wx-icon { font-size: 28px; line-height: 1; text-align: center; }
.ht-wx-info { display: flex; flex-direction: column; min-width: 0; }
.ht-wx-info span { color: var(--ht-muted); font-size: 13px; }
.ht-wx-temp { font-size: 1.5rem; font-weight: 700; text-align: right; line-height: 1.1; }
.ht-wx-temp b { font-weight: 700; }
.ht-section--bgimg .ht-wx { --ht-text: #fff; --ht-muted: rgba(255, 255, 255, .86); --ht-border: rgba(255, 255, 255, .28); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); } /* Görselli arka plan: yazılar beyaz, okunurluk için hafif gölge. */
.ht-section--bgimg .ht-wx .ht-box-title { color: #fff; }
.ht-section--bgimg.ht-bgimg--dark .ht-wx { --ht-text: #16181d; --ht-muted: #374151; --ht-border: rgba(0, 0, 0, .18); color: #16181d; text-shadow: none; } /* Görselde koyu yazı seçeneği. */
.ht-section--bgimg.ht-bgimg--dark .ht-wx .ht-box-title { color: #16181d; }
.ht-wx-temp small { display: block; font-size: 12px; font-weight: 400; color: var(--ht-muted); }

/* Hava durumu — yatay: şehirler yan yana kartlarda (bilgisayarda 4, tabletde 3, telefonda %86). */
.ht-wxh { --wxh-bg: var(--ht-surface); }
.ht-wxh-list.ht-wxh-list--scroll { --wxp: 4; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.ht-wxh-list--scroll::-webkit-scrollbar { display: none; }
.ht-wxh-list.ht-wxh-list--flow { scroll-snap-type: none; scroll-behavior: auto; }
.ht-wxh-list--flow > .ht-wxc { scroll-snap-align: none; }
.ht-wxh-list--scroll > .ht-wxc { flex: 0 0 calc((100% - 14px * (min(var(--wxn, 4), var(--wxp)) - 1)) / min(var(--wxn, 4), var(--wxp))); scroll-snap-align: start; }
@media (max-width: 900px) { .ht-wxh-list.ht-wxh-list--scroll { --wxp: 3; } }
@media (max-width: 640px) { .ht-wxh-list--scroll > .ht-wxc { flex-basis: 86%; } .ht-wxh-list--scroll[style*="--wxn:1"] > .ht-wxc { flex-basis: 100%; } }
.ht-wxc { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden; padding: 4px 14px; border: 1px solid var(--ht-border); border-radius: 12px; color: var(--ht-text); background-color: var(--wxh-bg); background-image: var(--wxh-bgimg, none); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.ht-wxc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ht-wxc-icon { font-size: 34px; line-height: 1; }
.ht-wxc-temp { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.ht-wxc-city { margin-top: 6px; font-size: 1.05rem; font-weight: 700; }
.ht-wxc-desc { color: var(--ht-text); font-size: 13px; }
.ht-wxc-det, .ht-wxc-range { color: var(--ht-muted); font-size: 12.5px; }
.ht-wxc { background-size: cover; background-position: center; }
.ht-wxc-tcol { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ht-wxc-range { font-weight: 600; white-space: nowrap; }
/* 2. görünüm: simge | şehir adı + açıklama | derece tek satırda bölünmez; uzun ad "…" ile kısalır. */
.ht-wxc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 6px; }
.ht-wxc-mid { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ht-wxc--v2 .ht-wxc-city { margin: 0; font-size: 15px; }
.ht-wxc--v2 .ht-wxc-city, .ht-wxc--v2 .ht-wxc-desc { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Kart tonu: koyu kart rengi seçilince; blok zemini koyu/görselli olsa da kart kendi renginde kalır. */
.ht-wxh--cardtone-dark .ht-wxc { --ht-text: #f2f5fa; --ht-muted: #cfd8e6; --ht-border: rgba(255, 255, 255, .22); }
.ht-boxbg.ht-section--bg-dark .ht-wxc, .ht-section--bgimg .ht-wxh .ht-wxc { --ht-text: #16181d; --ht-muted: #667085; --ht-border: #e2e2dd; text-shadow: none; }
.ht-boxbg.ht-section--bg-dark .ht-wxh--cardtone-dark .ht-wxc, .ht-section--bgimg .ht-wxh--cardtone-dark .ht-wxc { --ht-text: #f2f5fa; --ht-muted: #cfd8e6; --ht-border: rgba(255, 255, 255, .22); }
/* Kart arka plan görseli: yazı rengi seçilebilir (açık: beyaz + hafif gölge). */
.ht-box.ht-wxh.ht-wxh--cardimg-light .ht-wxc { --ht-text: #fff; --ht-muted: rgba(255, 255, 255, .9); --ht-border: rgba(255, 255, 255, .3); text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.ht-box.ht-wxh.ht-wxh--cardimg-dark .ht-wxc { --ht-text: #16181d; --ht-muted: #374151; --ht-border: rgba(0, 0, 0, .18); text-shadow: none; }

/* ==========================================================================
   Anasayfa satırları ve sütunları
   ========================================================================== */
.ht-rowbg { padding: var(--ht-gap) 20px 0; margin-bottom: var(--ht-gap); border-radius: var(--ht-radius); background-repeat: no-repeat; }
.ht-rowbg > .ht-home-row { margin-bottom: 0; }
.ht-rowbg > .ht-home-row > .ht-cell > .ht-section:last-child { margin-bottom: var(--ht-gap); }
/* Ekranın tamamına yayılan satır arka planı: kutu ekranın iki kenarına uzar, iç boşluk içeriği site genişliğinde tutar. */
.ht-rowbg--full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); border-radius: 0; }
body { overflow-x: clip; }
.ht-home-row {
	display: grid; gap: var(--ht-gap); margin-bottom: var(--ht-gap);
	grid-template-columns: minmax(0, 1fr);
}
.ht-home-row--50-50 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-home-row--60-40 { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.ht-home-row--40-60 { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.ht-home-row--70-30 { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
.ht-home-row--30-70 { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.ht-home-row--33-33-33 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-home-row--35-35-30 { grid-template-columns: minmax(0, 35fr) minmax(0, 35fr) minmax(0, 30fr); }
.ht-home-row--30-35-35 { grid-template-columns: minmax(0, 30fr) minmax(0, 35fr) minmax(0, 35fr); }
.ht-home-row--25-75 { grid-template-columns: minmax(0, 25fr) minmax(0, 75fr); }
.ht-home-row--75-25 { grid-template-columns: minmax(0, 75fr) minmax(0, 25fr); }
.ht-home-row--25-25-50 { grid-template-columns: minmax(0, 25fr) minmax(0, 25fr) minmax(0, 50fr); }
.ht-home-row--50-25-25 { grid-template-columns: minmax(0, 50fr) minmax(0, 25fr) minmax(0, 25fr); }
.ht-home-row--25-50-25 { grid-template-columns: minmax(0, 25fr) minmax(0, 50fr) minmax(0, 25fr); }
.ht-home-row--25-25-25-25 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Her sütun kendi genişliğine göre uyum sağlar (aşağıdaki @container kuralları). */
.ht-cell { min-width: 0; container-type: inline-size; container-name: ht-cell; }
.ht-cell > :last-child { margin-bottom: 0; }
/* Aynı sütundaki art arda içerikler arasında boşluk (widget alanı bölüm kabuğu taşımaz). */
.ht-cell > .ht-sidebar:not(:last-child) { margin-bottom: var(--ht-gap); }
/* Aynı sütunda alt alta duran bloklar arası. */
.ht-cell > .ht-section:not(:last-child) { margin-bottom: var(--ht-gap); }
/* Yan yana sütunlarda içi kısa kutular tüm satır yüksekliğine uzamasın. */
.ht-cell > .ht-sidebar { align-content: start; }

@media (max-width: 1000px) {
	.ht-home-row--25-25-25-25 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
	.ht-home-row[class*="ht-home-row--"] { grid-template-columns: minmax(0, 1fr); }
}

/* Sütun alt kenarlarını eşitle: yalnızca yöneticinin satırda açtığı durumda (masaüstü). Otomatik değildir. */
@media (min-width: 801px) {
	.ht-home-row.is-equal > .ht-cell { display: flex; flex-direction: column; }
	.ht-home-row.is-equal > .ht-cell > .ht-section:last-child { flex: 1; display: flex; flex-direction: column; }
	.ht-home-row.is-equal > .ht-cell > .ht-section:last-child > .ht-box,
	.ht-home-row.is-equal > .ht-cell > .ht-section:last-child > .ht-slider { flex: 1; }
	.ht-home-row.is-equal .ht-slider { display: flex; flex-direction: column; }
	.ht-home-row.is-equal .ht-slider .ht-slides { flex: 1 1 auto; }
	/* Kart ızgarası: satırlar uzar, kartlar boşluğu doldurur */
	.ht-home-row.is-equal > .ht-cell > .ht-section:last-child > .ht-grid { flex: 1; }
	/* Manşet ızgarası ve widget alanı */
	.ht-home-row.is-equal > .ht-cell > .ht-section:last-child > .ht-hero-grid { flex: 1; }
	.ht-home-row.is-equal > .ht-cell > .ht-sidebar:last-child { flex: 1; }
	.ht-home-row.is-equal > .ht-cell > .ht-sidebar:last-child > .ht-widget:last-child { flex: 1; }
}

/* Kart ızgarası: panelde "Masaüstü görünümü" (.ht-grid--d-swipe, 821 px ve üstü) ve "Mobil ve tablet görünümü" (.ht-grid--m-*, 820 px ve altı). */
/* Kart ızgarası masaüstü slayt (821 px ve üstü): hep tek satır; sütun sayısı kadar kart görünür */
.ht-gslide { position: relative; }
@media (min-width: 821px) {
	.ht-grid.ht-grid--d-swipe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
	.ht-grid.ht-grid--d-swipe::-webkit-scrollbar { display: none; }
	.ht-grid--d-swipe > .ht-card { flex: 0 0 calc((100% - 14px * (var(--gc, 3) - 1)) / var(--gc, 3)); scroll-snap-align: start; }
}
@media (max-width: 820px) {
	.ht-gslide .ht-colnav { display: none; }
	.ht-grid--m-swipe .ht-card:hover, .ht-grid--m-pairs .ht-card:hover { transform: none; }
	.ht-grid.ht-grid--m-swipe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
	.ht-grid.ht-grid--m-swipe::-webkit-scrollbar { display: none; }
	.ht-grid--m-swipe > .ht-card { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
	/* 2: iki haber yan yana, fazlası altına ikişerli. */
	.ht-grid.ht-grid--m-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	/* 3: ikişerli sayfalar halinde yatay kaydırma. */
	.ht-grid.ht-grid--m-pairs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
	.ht-grid.ht-grid--m-pairs::-webkit-scrollbar { display: none; }
	.ht-grid--m-pairs > .ht-card { flex: 0 0 calc((100% - 14px) / 2); scroll-snap-align: none; }
	.ht-grid--m-pairs > .ht-card:nth-child(odd) { scroll-snap-align: start; }
}

/* Dar sütunda içerikler kendilerini toparlar */
@container ht-cell (max-width: 900px) {
	.ht-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container ht-cell (max-width: 700px) {
	.ht-cols-3, .ht-cols-4, .ht-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ht-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.ht-hero-grid .ht-overlay:first-child { grid-column: 1 / 3; grid-row: auto; min-height: 320px; }
	.ht-slides { aspect-ratio: var(--sr-m, 4 / 3); }
}
@container ht-cell (max-width: 470px) {
	.ht-cols-2, .ht-cols-3, .ht-cols-4, .ht-cols-5 { grid-template-columns: 1fr; }
	.ht-hero-grid { grid-template-columns: 1fr; }
	.ht-hero-grid .ht-overlay:first-child { grid-column: auto; min-height: 280px; }
	.ht-hero-grid .ht-overlay { min-height: 200px; }
	.ht-list .ht-row-card { grid-template-columns: 110px minmax(0, 1fr); }
	.ht-list .ht-card-spot { display: none; }
	.ht-slides { aspect-ratio: var(--sr-s, 1 / 1); }
	.ht-slider .ht-overlay-spot { display: none; }
}

/* Süper Lig puan durumu */
.ht-st-scroll { overflow-x: auto; }
.ht-st-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.ht-st-table th, .ht-st-table td { padding: 7px 4px; text-align: center; border-bottom: 1px solid var(--ht-border); }
.ht-st-table thead th { font-size: 12px; text-transform: uppercase; color: var(--ht-muted); }
.ht-st-table tbody th { text-align: left; font-weight: 600; white-space: nowrap; width: 100%; max-width: 0; overflow: hidden; text-overflow: ellipsis; } /* Dar alanda uzun takım adı "…" ile kısalır, sayıların üstüne taşmaz (tam ad üzerine gelince görünür). */
.ht-st-table thead th.ht-st-team { text-align: left; }
.ht-st-badge--empty { display: inline-block; vertical-align: middle; }
.ht-st-table tbody th span { margin-left: 8px; }
.ht-st-badge { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; }
.ht-st-rank { color: var(--ht-muted); width: 1.6em; }
.ht-st-pts { font-weight: 700; }
@media (max-width: 560px) { .ht-st-opt { display: none; } } /* Telefonda A ve Y sütunları gizlenir. */
/* Puan durumu bölge işaretleri: üst (yeşil) ve alt (kırmızı) bölge, sıra numarasının solunda ince şerit. */
.ht-st-table tr.is-top .ht-st-rank { box-shadow: inset 3px 0 0 #1a7f37; }
.ht-st-table tr.is-bottom .ht-st-rank { box-shadow: inset 3px 0 0 #c62828; }
.ht-st-table tr.is-mine th, .ht-st-table tr.is-mine td { background: var(--ht-accent-soft, rgba(200, 16, 46, .12)); font-weight: 700; }
.ht-st-table tr.ht-st-gap td { padding: 0; line-height: 1; color: var(--ht-muted); letter-spacing: 2px; }
.ht-st-table tbody tr:last-child th, .ht-st-table tbody tr:last-child td { border-bottom: 0; }

/* Son yorumlar */
.ht-rc-list { list-style: none; margin: 0; padding: 0; }
.ht-rc-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--ht-border); }
.ht-rc-item:first-child { padding-top: 2px; }
.ht-rc-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.ht-rc-av { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--ht-bg); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ht-border); }
.ht-rc-av .ht-rc-img, .ht-rc-av img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ht-rc-ini { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--ht-accent-soft, rgba(200, 16, 46, .12)); color: var(--ht-accent); font-weight: 700; font-size: 17px; }
.ht-rc-body { flex: 1; min-width: 0; }
.ht-rc-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--ht-text); line-height: 1.3; margin-bottom: 4px; }
.ht-rc-text { display: block; position: relative; background: var(--ht-bg); border-radius: 0 10px 10px 10px; padding: 8px 11px; font-size: 14.5px; line-height: 1.45; color: #344054; transition: color .2s ease, background .2s ease; }
.ht-rc-text:hover { color: var(--ht-text); background: var(--ht-accent-soft, rgba(200, 16, 46, .12)); }
.ht-rc-item--noav .ht-rc-text { border-radius: 10px; }

/* En çok okunan haberler */
.ht-pop-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ht-pop-list li.ht-pop-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; }
.ht-pop-list li.ht-pop-item:first-child { padding-top: 0; }
.ht-pop-list li.ht-pop-item:last-child { padding-bottom: 0; }
.ht-pop-media { position: relative; }
.ht-pop-media .ht-thumb { aspect-ratio: 4 / 3; border-radius: 6px; }
.ht-pop-rank {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px;
	background: var(--ht-accent); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
}
.ht-pop-media .ht-pop-rank { position: absolute; top: 6px; left: 6px; z-index: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.ht-pop-text { min-width: 0; }
.ht-pop-link { display: block; font-weight: 600; font-size: calc(14.5px * var(--ht-ts, 1)); line-height: 1.35; }
.ht-pop-link:hover { color: var(--ht-accent); }
.ht-pop-text .ht-meta { margin-top: 4px; font-size: 12px; }
.ht-pop-cat { color: var(--ht-accent); font-weight: 600; }
/* Resimsiz */
.ht-pop-list.ht-pop--text li.ht-pop-item { grid-template-columns: minmax(0, 1fr); }
.ht-pop--text .ht-pop-text { display: flex; gap: 10px; align-items: flex-start; }
.ht-pop--text .ht-pop-rank { flex: none; margin-top: 1px; }
/* İlk haber büyük */
.ht-pop-list.ht-pop--big li.ht-pop-item.is-lead { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ht-pop--big .ht-pop-item.is-lead .ht-thumb { aspect-ratio: 16 / 10; }
.ht-pop--big .ht-pop-item.is-lead .ht-pop-link { font-size: calc(1.05rem * var(--ht-ts, 1)); font-family: var(--ht-serif); line-height: 1.3; }
.ht-pop--big .ht-pop-item.is-lead .ht-pop-rank { top: 10px; left: 10px; }
.ht-pop-list li.ht-pop-item { border-bottom: 1px solid var(--ht-border); }
.ht-pop-list li.ht-pop-item:last-child { border-bottom: 0; }

/* Köşe yazarları */
.ht-colgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ht-colgrid--page { grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr)); gap: 20px; margin-bottom: 40px; }
.ht-widget .ht-colgrid { grid-template-columns: 1fr; }
.ht-colcard { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); min-width: 0; }
.ht-widget .ht-colcard { padding: 8px 0; border: 0; border-bottom: 1px solid var(--ht-border); border-radius: 0; background: none; }
.ht-widget .ht-colcard:last-child { border-bottom: 0; }
.ht-colcard-photo { flex: none; }
.ht-colcard img.avatar, .ht-byline img.avatar, .ht-colbox img.avatar, .ht-colhead img.avatar { border-radius: 50%; object-fit: cover; display: block; }
.ht-colcard img.avatar { width: 64px; height: 64px; }
.ht-colcard-body { min-width: 0; }
/* Yazar adı / son yazı başlığı: bloğun "Yazı" ayarındaki değerler (--cn-*, --cp-*); yoksa ortak ayarlar. */
.ht-colcard-name { margin: 0 0 2px; font-size: calc(1rem * var(--ht-ts, 1) * var(--cn-s, 1)); font-family: var(--cn-f, var(--ht-serif)); font-weight: var(--cn-w, var(--ht-hw, 700)); }
.ht-colcard-last { display: block; font-size: calc(15.5px * var(--ht-ts, 1) * var(--cp-s, 1)); line-height: 1.35; font-family: var(--cp-f, inherit); font-weight: var(--cp-w, 600); color: var(--ht-text); }
.ht-colcard-last:hover { color: var(--ht-accent); }
/* anasayfa bloğu: yatay kaydırma (kenar çubuğunda dikey liste kalır) */
.ht-colscroll { position: relative; }
.ht-colgrid--scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.ht-colgrid--scroll::-webkit-scrollbar { display: none; }
.ht-colgrid--scroll .ht-colcard { flex: 0 0 min(340px, var(--ht-peek, 86%)); scroll-snap-align: start; gap: 16px; padding: 20px 18px; min-height: 140px; }
.ht-colgrid--narrow .ht-colcard { flex-basis: min(280px, var(--ht-peek, 86%)); }
.ht-colgrid--wide .ht-colcard { flex-basis: min(400px, var(--ht-peek, 86%)); }
.ht-colgrid--scroll .ht-colcard img.avatar { width: 96px; height: 96px; }
.ht-colgrid--scroll .ht-colcard-name { font-size: calc(1.1rem * var(--ht-ts, 1) * var(--cn-s, 1)); margin-bottom: 6px; }
.ht-widget .ht-colscroll { display: contents; }
.ht-widget .ht-colgrid--scroll { display: grid; overflow: visible; padding: 0; }
.ht-widget .ht-colgrid--scroll .ht-colcard { flex: none; gap: 12px; padding: 8px 0; min-height: 0; }
.ht-widget .ht-colgrid--scroll .ht-colcard img.avatar { width: 64px; height: 64px; }
.ht-widget .ht-colgrid--scroll .ht-colcard-name { font-size: calc(1rem * var(--ht-ts, 1)); margin-bottom: 2px; }
.ht-widget .ht-colnav { display: none; }
.ht-colnav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; background: var(--ht-accent); color: #fff; cursor: pointer; font-size: 26px; line-height: 1; padding: 0 0 3px; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: filter .15s, transform .15s; }
.ht-colnav:hover { filter: brightness(.88); transform: translateY(-50%) scale(1.08); }
.ht-colnav[hidden] { display: none; }
.ht-colnav--prev { left: -12px; }
.ht-colnav--next { right: -10px; }
/* Slayt ok tuşu tasarımları: rect (dikdörtgen), tri (üçgen), round (yuvarlak, varsayılan taban), chev (sadece ok işareti) */
.ht-arr--rect .ht-colnav { width: 28px; height: 64px; border-radius: 6px; border-width: 2px; font-size: 24px; padding: 0 0 4px; }
.ht-arr--rect .ht-colnav--prev { left: -14px; }
.ht-arr--rect .ht-colnav--next { right: -14px; }
.ht-arr--tri .ht-colnav { width: 26px; height: 40px; border: 0; border-radius: 0; background: var(--ht-accent); box-shadow: none; font-size: 0; padding: 0; }
.ht-arr--tri .ht-colnav--prev { left: -12px; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.ht-arr--tri .ht-colnav--next { right: -12px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ht-arr--chev .ht-colnav { width: 34px; height: 64px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ht-accent); font-size: 64px; font-weight: 700; line-height: 60px; padding: 0 0 6px; }
.ht-arr--chev .ht-colnav--prev { left: -8px; }
.ht-arr--chev .ht-colnav--next { right: -8px; }
.ht-arr--chev .ht-colnav:hover { filter: brightness(.85); transform: translateY(-50%) scale(1.12); }
.ht-arr--tri .ht-colnav:hover { filter: brightness(.88); transform: translateY(-50%) scale(1.1); }
.ht-colnav[hidden] { display: none; }
@media (hover: none), (pointer: coarse), (max-width: 820px) { .ht-colnav { display: none; } }
.ht-col-all { margin: 12px 0 0; font-size: 13.5px; font-weight: 600; }
.ht-col-social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13px; }
.ht-col-social a { text-decoration: underline; color: var(--ht-muted); }
.ht-col-social a:hover { color: var(--ht-accent); }
/* Yazar sayfası */
.ht-colhead { display: flex; gap: 24px; align-items: center; padding: 24px 0 28px; border-bottom: 1px solid var(--ht-border); margin-bottom: 24px; }
.ht-colhead img.avatar { width: 140px; height: 140px; flex: none; }
.ht-colhead-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ht-accent); font-weight: 700; }
.ht-colhead-bio { margin: 8px 0 0; max-width: 60ch; color: var(--ht-muted); }
/* Haber sayfası */
.ht-byline { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.ht-byline { gap: 22px; margin-bottom: 26px; }
.ht-byline img.avatar { width: 140px; height: 140px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.ht-byline strong { font-family: var(--ht-serif); font-size: 1.6rem; }
.ht-byline span { display: flex; flex-direction: column; line-height: 1.25; }
.ht-byline small { color: var(--ht-accent); font-weight: 600; font-size: 14px; margin-top: 3px; }
@media (max-width: 640px) { .ht-byline img.avatar { width: 104px; height: 104px; } .ht-byline strong { font-size: 1.35rem; } }
.ht-colgrid--page .ht-colcard { gap: 22px; padding: 24px; min-height: 180px; }
.ht-colgrid--page .ht-colcard img.avatar { width: 140px; height: 140px; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.ht-colgrid--page .ht-colcard-name { font-size: calc(1.25rem * var(--ht-ts, 1)); margin-bottom: 8px; }
.ht-column .ht-article-meta .ht-author, .ht-column .ht-article-head .ht-badge { display: none; }
.ht-colbox { margin: 32px 0; padding: 20px; background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); }
.ht-colbox-title { font-size: 1rem; margin: 0 0 8px; }
.ht-colbox-list { list-style: none; margin: 0; padding: 0; }
.ht-colbox-list li { padding: 6px 0; display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.ht-colbox-list a { font-weight: 600; }
.ht-colbox-list time { color: var(--ht-muted); font-size: 12.5px; white-space: nowrap; }
.ht-colbox-all { font-size: 13.5px; font-weight: 600; }
@media (max-width: 600px) {
	.ht-colhead { flex-direction: column; text-align: center; }
	.ht-colhead .ht-col-social { justify-content: center; }
	.ht-colbox-list li { flex-direction: column; gap: 0; }
}

.ht-thumb img.ht-thumb-author { object-fit: cover; object-position: center 20%; }
@media (max-width: 480px) { .ht-colgrid--page .ht-colcard { padding: 18px; gap: 16px; } .ht-colgrid--page .ht-colcard img.avatar { width: 104px; height: 104px; } }

/* Yazarlar ızgarası: "Yeni yazı" işareti (rozet / halka / çapraz şerit). */
.ht-colcard--new { position: relative; overflow: hidden; }
.ht-colnew { font-family: var(--ht-font); font-weight: 800; font-size: 10.5px; line-height: 1; letter-spacing: .07em; color: #fff; white-space: nowrap; background: linear-gradient(100deg, #d90000 35%, #ff5a4d 50%, #d90000 65%) 0 0 / 250% 100%; animation: ht-colnew-shine 2.2s linear infinite; }
@keyframes ht-colnew-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.ht-colnew::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #fff; vertical-align: 1px; animation: ht-colnew-ping 1.3s ease-out infinite; }
@keyframes ht-colnew-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .85); } 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
.ht-colnew--badge { position: absolute; top: 8px; right: 8px; padding: 5px 9px; border-radius: 99px; box-shadow: 0 2px 8px rgba(217, 0, 0, .35); z-index: 2; }
.ht-colnew--ribbon { position: absolute; top: 17px; right: -36px; width: 140px; padding: 6px 0; text-align: center; transform: rotate(45deg); box-shadow: 0 1px 6px rgba(0, 0, 0, .3); z-index: 2; }
.ht-colnew--ring { display: inline-block; align-self: flex-start; padding: 4px 8px; border-radius: 99px; margin-bottom: 5px; }
.ht-colcard--new-ringonly .ht-colcard-photo, .ht-colcard--new-ring .ht-colcard-photo { position: relative; display: block; border-radius: 50%; }
.ht-colcard--new-ringonly .ht-colcard-photo::before, .ht-colcard--new-ring .ht-colcard-photo::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(#d90000, #ff9a00, #fff3, #d90000); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: ht-colnew-spin 1.8s linear infinite; }
@keyframes ht-colnew-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ht-colnew, .ht-colnew::before, .ht-colcard--new-ringonly .ht-colcard-photo::before, .ht-colcard--new-ring .ht-colcard-photo::before { animation: none; } }

/* ==========================================================================
   Videolu haber işareti (Özelleştir → Videolu Haber İşareti)
   ========================================================================== */
.ht-vid { position: absolute; z-index: 3; pointer-events: none; }
.ht-vid--play { top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(0,0,0,.55); box-shadow: 0 0 0 2px rgba(255,255,255,.85) inset; transition: background .2s, transform .2s; }
.ht-vid--play::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -6px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.ht-card:hover .ht-vid--play, .ht-overlay:hover .ht-vid--play, .ht-row-card:hover .ht-vid--play { background: var(--ht-accent); transform: scale(1.08); }
.ht-overlay.is-big .ht-vid--play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.ht-overlay.is-big .ht-vid--play::before { margin: -12px 0 0 -8px; border-width: 12px 0 12px 20px; }
.ht-widget-item .ht-vid--play, .ht-row-card .ht-vid--play, .ht-pop-media .ht-vid--play { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
.ht-widget-item .ht-vid--play::before, .ht-row-card .ht-vid--play::before, .ht-pop-media .ht-vid--play::before { margin: -6px 0 0 -4px; border-width: 6px 0 6px 10px; }
.ht-vid--badge { display: inline-flex; align-items: baseline; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 4px; background: rgba(0,0,0,.75); color: #fff; font: 700 15px/1.2 var(--ht-font); letter-spacing: .04em; }
.ht-vid--badge i, .ht-vid-single i { display: inline-block; border-style: solid; border-width: .38em 0 .38em .62em; border-color: transparent transparent transparent currentColor; } /* Yüksekliği rakam/büyük harf boyuna eşit, taban çizgisine oturur. */
.ht-vid--bl { left: 10px; bottom: 10px; }
.ht-vid--br { right: 10px; bottom: 10px; }
.ht-vid--tl { left: 10px; top: 10px; }
.ht-vid--tr { right: 10px; top: 10px; }
/* Yazının görselin üstüne bindiği kartlarda (manşet, slider) alt konumlar üste alınır. */
.ht-overlay .ht-vid--bl { bottom: auto; top: 10px; }
.ht-overlay .ht-vid--br { bottom: auto; top: 10px; }
/* Dar kartlarda (kenar çubuğu, küçük liste görseli) rozet biraz küçülür. */
.ht-widget-item .ht-vid--badge, .ht-row-card .ht-vid--badge, .ht-pop-media .ht-vid--badge { padding: 3px 7px 3px 6px; font-size: 11px; gap: 5px; }
.ht-vid-pre { display: inline-block; vertical-align: -.12em; margin-right: .3em; color: var(--ht-accent); line-height: 1; }
.ht-overlay .ht-vid-pre { color: inherit; }
.ht-vid-single { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 8px; border-radius: 3px; background: var(--ht-accent); color: #fff; font-family: var(--ht-font); font-weight: 700; font-size: 11px; line-height: inherit; letter-spacing: .04em; text-transform: uppercase; }
/* Haber başlığının üstünde kategori etiketi ve VİDEO etiketi aynı hizada, aynı yükseklikte. */
.ht-article-tags { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; margin-bottom: 8px; }
.ht-article-tags > * { margin: 0; }

/* Video işareti animasyonları (Özelleştir → İşaret animasyonu); "hareket azalt" açıksa çalışmaz.
   Köşe rozetinde iki üçgen art arda yanıp söner (ileri sarma gibi). Nabız: rozet kırmızıya döner ve etrafında halka yayılır. Parlama: üzerinden ışık geçer. */
.ht-vid--play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.ht-vid--a-pulse.ht-vid--play::after { animation: htVidRing 1.6s ease-out infinite; }
.ht-vid--a-shine.ht-vid--play { overflow: hidden; }
.ht-vid--a-shine.ht-vid--play::after, .ht-vid--a-shine.ht-vid--badge::after, .ht-vid--a-shine.ht-vid-single::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); animation: htVidShine 2.2s ease-in-out infinite; }
.ht-vid--badge { overflow: hidden; }
.ht-vid-single { position: relative; overflow: hidden; }
.ht-vid--badge i + i { margin-left: -4px; } /* İki üçgen birbirine yakın durur. */
.ht-vid--a-pulse.ht-vid--badge { overflow: visible; animation: htVidBadge 1.6s ease-in-out infinite; }
.ht-vid-single.ht-vid--a-pulse { overflow: visible; animation: htVidGlow 1.8s ease-out infinite; }
.ht-vid--a-shine.ht-vid--badge::after, .ht-vid--a-shine.ht-vid-single::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); pointer-events: none; }
.ht-vid--a-pulse.ht-vid--badge i, .ht-vid--a-shine.ht-vid--badge i { animation: htVidChase 1.1s ease-in-out infinite; }
.ht-vid--a-pulse.ht-vid--badge i + i, .ht-vid--a-shine.ht-vid--badge i + i { animation-delay: .28s; }
.ht-vid--a-pulse.ht-vid-single i { animation: htVidNudge 1.8s ease-in-out infinite; }
.ht-vid-pre.ht-vid--a-pulse svg { animation: htVidBeat 1.4s ease-in-out infinite; }
.ht-vid-pre.ht-vid--a-shine svg { animation: htVidFlash 1.6s ease-in-out infinite; }
@keyframes htVidRing { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 100% { box-shadow: 0 0 0 20px rgba(255,255,255,0); } }
@keyframes htVidGlow { 0% { box-shadow: 0 0 0 0 rgba(var(--ht-accent-rgb, 200, 16, 46), .85); } 100% { box-shadow: 0 0 0 11px rgba(var(--ht-accent-rgb, 200, 16, 46), 0); } }
@keyframes htVidBadge {
	0%, 100% { background: rgba(0,0,0,.78); transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--ht-accent-rgb, 200, 16, 46), .8); }
	45% { background: var(--ht-accent); transform: scale(1.07); box-shadow: 0 0 0 0 rgba(var(--ht-accent-rgb, 200, 16, 46), .8); }
	100% { box-shadow: 0 0 0 12px rgba(var(--ht-accent-rgb, 200, 16, 46), 0); }
}
@keyframes htVidChase { 0%, 100% { opacity: .25; transform: translateX(-2px); } 40% { opacity: 1; transform: translateX(2px); } }
@keyframes htVidShine { 0%, 50% { left: -60%; } 100% { left: 130%; } }
@keyframes htVidNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
@keyframes htVidBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes htVidFlash { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ht-vid, .ht-vid::after, .ht-vid i, .ht-vid-pre svg, .ht-vid-single, .ht-vid-single::after, .ht-vid-single i { animation: none !important; } }

/* Haber metnindeki video yerleştirmeleri (YouTube, Vimeo, Dailymotion): genel "iframe { height: auto }" kuralı iframe'in yüksekliğini 150 px'e düşürüyordu; genişliğe oranlı yükseklik verilir. */
.ht-article-body iframe[src*="youtube"], .ht-article-body iframe[src*="youtu.be"], .ht-article-body iframe[src*="vimeo"], .ht-article-body iframe[src*="dailymotion"] { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.ht-article-body .wp-has-aspect-ratio iframe { aspect-ratio: auto; } /* WordPress'in kendi oran kutusu varsa ona bırak. */

/* Köşe yazarları bloğu kutusunun içindeki bölüm başlığı: kutunun iç boşluğuyla uyumlu. */
.ht-col .ht-section-head { margin-bottom: 14px; }

/* Görsel bloğu (Anasayfa Yöneticisi → Görsel). */
.ht-imgblock { text-align: center; }
.ht-imgblock-link { display: block; }
.ht-imgblock-img { display: block; width: 100%; height: auto; border-radius: var(--ht-radius); }
.ht-imgblock--natural .ht-imgblock-img { width: auto; max-width: 100%; margin: 0 auto; }
.ht-imgblock--natural .ht-imgblock-link { display: inline-block; max-width: 100%; }

/* Alt alan öncesi boşluk: içeriğin son öğesinin alt boşluğu sıfırlanır; geriye yalnızca .ht-site-content'in alt iç boşluğu (--ht-gap) kalır, böylece her sayfada alt alana tam bu kadar boşluk olur. */
.ht-site-content .ht-home-rows > :last-child, .ht-site-content .ht-main > :last-child { margin-bottom: 0; }

/* Haber, arşiv ve arama sayfaları: içerik parçaları arası boşluk da --ht-gap (ilgili haberler, arşiv kartları ve listesi). */
.ht-main > .ht-related { margin-bottom: var(--ht-gap); }
.ht-main > .ht-grid, .ht-related .ht-grid { gap: var(--ht-gap); }
.ht-main > .ht-list .ht-row-card { padding-top: calc(var(--ht-gap) / 2); padding-bottom: calc(var(--ht-gap) / 2); }
.ht-main > .ht-list .ht-row-card:first-child { padding-top: 0; }
.ht-main > .ht-list .ht-row-card:last-child { padding-bottom: 0; }

/* ==========================================================================
   Header düzeni: ana menü logo satırında (Özelleştir > Üst Alan > Logonun yanındaki alan)
   ========================================================================== */
.ht-branding .ht-navbar--inline { background: none; color: var(--ht-text); border: 0; position: static; flex: 1 1 auto; min-width: 0; }
.ht-navbar--inline .ht-navbar-inner { justify-content: flex-end; gap: 4px; }
.ht-navbar--inline .ht-nav { flex: 0 1 auto; }
.ht-navbar--inline .ht-tools { margin-left: 0; }
.ht-navbar--inline .ht-menu { justify-content: flex-start; } /* Tek satırda menü kutusu içeriği kadar daralıp sağda durur; alt satıra sarınca satırlar sol baştan başlar. */
.ht-navbar--inline .ht-menu > li > a { padding: 2px 12px; } /* Satır yüksekliği ~28 px: menü sarınca sıkışık görünmez. */
.ht-branding .ht-navbar--inline .ht-menu > li > a:hover,
.ht-branding .ht-navbar--inline .ht-menu > .current-menu-item > a,
.ht-branding .ht-navbar--inline .ht-menu > .current-cat > a { background: none; color: var(--ht-accent); }
.ht-navbar--inline .ht-tool:hover, .ht-navbar--inline .ht-nav-toggle:hover { background: rgba(128, 128, 128, .18); }
.ht-sticky .ht-hdr-slot-menu .ht-branding { position: sticky; top: 0; z-index: 50; }
.admin-bar.ht-sticky .ht-hdr-slot-menu .ht-branding { top: 32px; }
@media (max-width: 800px) {
	.ht-hdr-slot-menu .ht-branding { position: relative; }
	.ht-sticky .ht-hdr-slot-menu .ht-branding { position: sticky; }
	.admin-bar.ht-sticky .ht-hdr-slot-menu .ht-branding { top: 46px; }
	/* Menü logonun yanındadır: logo solda, arama / hamburger sağda. */
	.ht-hdr-slot-menu .ht-branding-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
	.ht-hdr-slot-menu .ht-logo { width: auto; flex: 1 1 auto; min-width: 0; align-items: flex-start; text-align: left; }
	.ht-hdr-slot-menu .ht-logo img { margin: 0; max-width: 100%; height: auto; }
	.ht-branding .ht-navbar--inline { flex: 0 0 auto; }
	.ht-navbar--inline .ht-tools { order: 1; }
	.ht-navbar--inline .ht-nav-toggle { order: 2; }
}

/* Renkli zeminli köşe yazarları bloğu: kartlar kendi yüzeyini korur, kart içi yazı renkleri kartın temasına göre sabitlenir. */
:root:root .ht-boxbg.ht-section--bg-dark .ht-colcard { --ht-text: #16181d; --ht-muted: #667085; --ht-border: #e2e2dd; color: var(--ht-text); }

/* Künye: başlık ve bilgi iki hizalı sütun (en uzun başlığa göre genişler); dar ekranda alt alta. */
.ht-kunye { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0 0 var(--ht-gap); border-top: 1px solid var(--ht-border); }
.ht-kunye-row { display: contents; }
.ht-kunye dt, .ht-kunye dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--ht-border); }
.ht-kunye dt { font-weight: 700; padding-right: 24px; }
.ht-kunye dt:not(:empty)::after { content: ":"; }
.ht-kunye dd { overflow-wrap: anywhere; }
.ht-kunye-empty { color: var(--ht-muted); }
@media (max-width: 560px) {
	.ht-kunye { grid-template-columns: minmax(0, 1fr); }
	.ht-kunye dt { padding: 12px 0 0; border-bottom: 0; }
	.ht-kunye dd { padding: 2px 0 12px; }
}

/* Resmi ilanlar: tarih filtresi, o günün ilan listesi */
.ht-ri-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 var(--ht-gap); padding: 14px 16px; background: var(--ht-surface); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); }
.ht-ri-filter label { font-weight: 700; }
.ht-ri-filter input[type="date"] { padding: 9px 12px; font: inherit; border: 1px solid var(--ht-border); border-radius: var(--ht-radius); background: var(--ht-bg); color: var(--ht-text); }
.ht-ri-today { font-weight: 600; color: var(--ht-accent); }
.ht-ri-info { margin: 0 0 var(--ht-gap); color: var(--ht-muted); font-weight: 600; }
.ht-ri-list { border-top: 1px solid var(--ht-border); }
.ht-ri-item { padding: 16px 0; border-bottom: 1px solid var(--ht-border); }
.ht-ri-title { margin: 0 0 4px; font-family: var(--ht-serif); font-size: calc(1.25rem * var(--ht-ts, 1)); line-height: 1.3; }
.ht-ri-title a:hover { color: var(--ht-accent); }
.ht-ri-dates { margin: 0; font-size: 14px; color: var(--ht-muted); }
.ht-ri-excerpt { margin: 8px 0 0; }
.ht-ri-empty { padding: 24px 0; color: var(--ht-muted); }
.ht-ri-back { margin: 0 0 var(--ht-gap); font-weight: 600; }
.ht-ri-back a:hover { color: var(--ht-accent); }
.ht-ri-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 20px; padding: 10px 14px; background: rgba(128, 128, 128, .12); border-radius: var(--ht-radius); font-size: 14px; font-weight: 600; }
.ht-ri-no { margin-left: auto; }

/* Slayt göstergesi: numaralı seçenekler. Hepsinde numara vardır ve numaralar slider'ın altındadır (yalnızca bilgisayar ve büyük tabletler; telefon ve küçük tabletlerde noktalar kalır). */
.ht-nums { display: none; }
@media (min-width: 821px) {
	.ht-slider--nums { --ht-nums-h: 40px; }
	.ht-slider--nums .ht-dots { display: none; }
	.ht-slider--nums .ht-nums { display: flex; background: #111; }
	.ht-slider--nums .ht-slider-btn { top: calc(50% - var(--ht-nums-h) / 2); } /* Numara alanı yüksekliğinin yarısı kadar yukarı: oklar görselin ortasında kalır. */
	.ht-num { flex: 1 1 0; min-width: 0; height: 40px; padding: 0; border: 0; border-right: 1px solid rgba(255, 255, 255, .14); background: transparent; color: rgba(255, 255, 255, .72); font: 600 15px/1 var(--ht-font); cursor: pointer; transition: background .25s, color .25s, font-size .25s; }
	.ht-num:last-child { border-right: 0; }
	.ht-num:hover { background: rgba(255, 255, 255, .14); color: #fff; }
	.ht-num.is-active { background: var(--ht-accent); color: #fff; font-size: 18px; font-weight: 800; }

	/* Yuvarlak ve kare: ortada, küçük düğmeler. */
	.ht-nums--round, .ht-nums--square { --ht-nums-h: 48px; }
	.ht-nums--round .ht-nums, .ht-nums--square .ht-nums { justify-content: center; align-items: center; gap: 8px; height: 48px; padding: 0 12px; }
	.ht-nums--round .ht-num, .ht-nums--square .ht-num { flex: none; width: 30px; height: 30px; border: 1px solid rgba(255, 255, 255, .35); font-size: 14px; }
	.ht-nums--round .ht-num { border-radius: 50%; }
	.ht-nums--square .ht-num { border-radius: 5px; }
	.ht-nums--round .ht-num:last-child, .ht-nums--square .ht-num:last-child { border-right: 1px solid rgba(255, 255, 255, .35); }
	.ht-nums--round .ht-num:hover, .ht-nums--square .ht-num:hover { border-color: #fff; }
	.ht-nums--round .ht-num.is-active, .ht-nums--square .ht-num.is-active { border-color: var(--ht-accent); font-size: 14px; font-weight: 800; transform: scale(1.12); }

	/* Çizgili ve ilerleme çubuklu: tam genişlikte hücreler; aktif numaranın üstünde çizgi. */
	.ht-nums--line .ht-num, .ht-nums--progress .ht-num { position: relative; border-right: 0; }
	.ht-nums--line .ht-num::before, .ht-nums--progress .ht-num::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .18); }
	.ht-nums--line .ht-num:hover, .ht-nums--progress .ht-num:hover { background: rgba(255, 255, 255, .08); }
	.ht-nums--line .ht-num.is-active, .ht-nums--progress .ht-num.is-active { background: transparent; color: var(--ht-accent); font-size: 18px; }
	.ht-nums--line .ht-num.is-active::before { background: var(--ht-accent); }
	.ht-nums--progress .ht-num.is-active::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--ht-accent); transform: scaleX(1); transform-origin: left; }
	.ht-nums--progress .ht-num.is-run::after { transform: scaleX(0); animation: ht-num-fill var(--ht-int, 6000ms) linear forwards; }

	/* Halkalı: yuvarlak düğme; aktif olanın çevresinde ilerleme halkası slayt süresi boyunca dolar. */
	.ht-nums--ring { --ht-nums-h: 48px; }
	.ht-nums--ring .ht-nums { justify-content: center; align-items: center; gap: 8px; height: 48px; padding: 0 12px; }
	.ht-nums--ring .ht-num { position: relative; flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; font-size: 14px; }
	.ht-nums--ring .ht-num:last-child { border-right: 0; }
	.ht-nums--ring .ht-ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
	.ht-nums--ring .ht-ring circle { fill: none; stroke-width: 2; }
	.ht-nums--ring .ht-ring-bg { stroke: rgba(255, 255, 255, .3); }
	.ht-nums--ring .ht-ring-fg { stroke: transparent; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
	.ht-nums--ring .ht-num:hover { background: rgba(255, 255, 255, .14); }
	.ht-nums--ring .ht-num.is-active { background: transparent; color: #fff; font-size: 14px; font-weight: 800; }
	.ht-nums--ring .ht-num.is-active .ht-ring-fg { stroke: var(--ht-accent); }
	.ht-nums--ring .ht-num.is-run .ht-ring-fg { stroke-dashoffset: 100; animation: ht-ring-fill var(--ht-int, 6000ms) linear forwards; }
	.ht-slider--nums.ht-nums--ring:hover .ht-num.is-run .ht-ring-fg { animation-play-state: paused; }
	/* Kare halkalı: köşeleri yuvarlatılmış kare düğme; aktif olanın çevresinde ilerleme çizgisi slayt süresi boyunca dolar. */
	.ht-nums--sqring { --ht-nums-h: 48px; }
	.ht-nums--sqring .ht-nums { justify-content: center; align-items: center; gap: 8px; height: 48px; padding: 0 12px; }
	.ht-nums--sqring .ht-num { position: relative; flex: none; width: 32px; height: 32px; border: 0; border-radius: 6px; font-size: 14px; }
	.ht-nums--sqring .ht-num:last-child { border-right: 0; }
	.ht-nums--sqring .ht-ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
	.ht-nums--sqring .ht-ring rect { fill: none; stroke-width: 2; }
	.ht-nums--sqring .ht-ring-bg { stroke: rgba(255, 255, 255, .3); }
	.ht-nums--sqring .ht-ring-fg { stroke: transparent; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
	.ht-nums--sqring .ht-num:hover { background: rgba(255, 255, 255, .14); }
	.ht-nums--sqring .ht-num.is-active { background: transparent; color: #fff; font-size: 14px; font-weight: 800; }
	.ht-nums--sqring .ht-num.is-active .ht-ring-fg { stroke: var(--ht-accent); }
	.ht-nums--sqring .ht-num.is-run .ht-ring-fg { stroke-dashoffset: 100; animation: ht-ring-fill var(--ht-int, 6000ms) linear forwards; }
	.ht-slider--nums.ht-nums--sqring:hover .ht-num.is-run .ht-ring-fg { animation-play-state: paused; }
}
.ht-slider--nums.ht-nums--progress:hover .ht-num.is-run::after { animation-play-state: paused; }
@keyframes ht-num-fill { to { transform: scaleX(1); } }
@keyframes ht-ring-fill { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ht-nums--progress .ht-num.is-run::after { animation: none; transform: scaleX(1); } .ht-nums--ring .ht-num.is-run .ht-ring-fg, .ht-nums--sqring .ht-num.is-run .ht-ring-fg { animation: none; stroke-dashoffset: 0; } }

/* Son dakika bandında piyasa verileri: haberler solda, veriler sağda yatay. */
.ht-ticker-market { position: relative; flex: none; margin-left: auto; padding-left: 14px; border-left: 1px solid var(--ht-border); } /* relative: gizli okuyucu metinleri kaydırma alanının dışına taşmasın. */
.ht-mk-strip { display: flex; align-items: center; gap: 4px 14px; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ht-mk-item { display: inline-flex; align-items: center; gap: 5px; }
.ht-mk-name { color: var(--ht-muted); font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.ht-mk-val { font-weight: 700; }
.ht-mk-chg { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px; border-radius: 99px; font-size: 11.5px; font-weight: 700; }
.ht-mk-chg i { font-style: normal; font-size: 8px; }
.ht-mk-chg.up { color: #1a7f37; background: rgba(26, 127, 55, .12); }
.ht-mk-chg.down { color: #c8102e; background: rgba(200, 16, 46, .12); }
.ht-mk-track { display: flex; width: max-content; }
.ht-mk-clone { display: none; }
.ht-ticker-market.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.ht-ticker-market.is-marquee .ht-mk-clone { display: flex; }
.ht-ticker-market.is-marquee .ht-mk-strip { padding-right: 24px; flex: none; }
.ht-ticker-market.is-marquee .ht-mk-track { animation: ht-mk-flow var(--mk-dur, 20s) linear infinite; }
.ht-ticker-market.is-marquee:hover .ht-mk-track, .ht-ticker-market.is-marquee.is-paused .ht-mk-track { animation-play-state: paused; }
@keyframes ht-mk-flow { to { transform: translateX(calc(var(--mk-shift, 50%) * -1)); } } /* --mk-shift: bir şerit kopyasının genişliği (JS ölçer); kopyalar ekranı doldurana kadar çoğaltılır. */
/* Piyasa şeridi görünümleri (Özelleştir → Üst Alan → "Piyasa şeridi görünümü"). Yalnızca bant şeridi; tablo etkilenmez. Varsayılan "badge": yukarıdaki kurallar.
   RENKLER: koyu terminal zeminleri ve yazı renkleri hemen aşağıdaki değişkenlerden değiştirilir (tek yer). */
.ht-ticker {
	--mk-term-bg: #0b0f14;    /* Koyu terminal 1 zemin rengi */
	--mk-term-name: #8b98a5;  /* Koyu terminal 1: enstrüman adı */
	--mk-term2-bg: #1c0f45;   /* Koyu terminal 2 zemin rengi */
	--mk-term2-name: #a99fd6; /* Koyu terminal 2: enstrüman adı */
	--mk-term3-bg: #0000cd;   /* Koyu terminal 3 zemin rengi */
	--mk-term3-name: #c7d2ff; /* Koyu terminal 3: enstrüman adı */
	--mk-term3-up: #7dffb0;   /* Koyu terminal 3: artış rengi */
	--mk-term3-down: #ff9aa6; /* Koyu terminal 3: düşüş rengi */
	--mk-term4-bg: #1e90ff;   /* Koyu terminal 4 zemin rengi */
	--mk-term4-name: #eaf4ff; /* Koyu terminal 4: enstrüman adı */
	--mk-term4-up: #d4ffe4;   /* Koyu terminal 4: artış rengi */
	--mk-term4-down: #ffe0e4; /* Koyu terminal 4: düşüş rengi */
	--mk-term-val: #fff;      /* Tüm terminallerde değer rengi */
	--mk-term-up: #3ddc84;    /* Terminal 1 ve 2: artış rengi */
	--mk-term-down: #ff5c6c;  /* Terminal 1 ve 2: düşüş rengi */
}
.ht-ticker--mk-plain .ht-mk-chg.up, .ht-ticker--mk-plain .ht-mk-chg.down,
.ht-ticker--mk-lines .ht-mk-chg.up, .ht-ticker--mk-lines .ht-mk-chg.down,
.ht-ticker--mk-cards .ht-mk-chg.up, .ht-ticker--mk-cards .ht-mk-chg.down,
.ht-ticker--mk-dots .ht-mk-chg.up, .ht-ticker--mk-dots .ht-mk-chg.down { background: none; padding: 0; }
.ht-ticker--mk-lines .ht-mk-item { padding-left: 14px; border-left: 1px solid var(--ht-border); }
.ht-ticker--mk-cards .ht-mk-item { padding: 3px 10px; border: 1px solid var(--ht-border); border-radius: 6px; background: var(--ht-bg); }
.ht-ticker--mk-dots .ht-mk-chg i { font-size: 0; }
.ht-ticker--mk-dots .ht-mk-chg i::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* Koyu terminal ve kartlı koyu terminal: her varyantın paleti (--tp-*) burada seçilir, çizim kuralları aşağıda ortaktır. */
.ht-ticker--mk-term, .ht-ticker--mk-cardterm, .ht-ticker--mk-term2, .ht-ticker--mk-cardterm2 { --tp-up: var(--mk-term-up); --tp-down: var(--mk-term-down); }
.ht-ticker--mk-term, .ht-ticker--mk-cardterm { --tp-bg: var(--mk-term-bg); --tp-name: var(--mk-term-name); }
.ht-ticker--mk-term2, .ht-ticker--mk-cardterm2 { --tp-bg: var(--mk-term2-bg); --tp-name: var(--mk-term2-name); }
.ht-ticker--mk-term3, .ht-ticker--mk-cardterm3 { --tp-bg: var(--mk-term3-bg); --tp-name: var(--mk-term3-name); --tp-up: var(--mk-term3-up); --tp-down: var(--mk-term3-down); }
.ht-ticker--mk-term4, .ht-ticker--mk-cardterm4 { --tp-bg: var(--mk-term4-bg); --tp-name: var(--mk-term4-name); --tp-up: var(--mk-term4-up); --tp-down: var(--mk-term4-down); }
/* Koyu terminal: şeridin tamamı koyu bir kutu. */
.ht-ticker[class*="ht-ticker--mk-term"] .ht-ticker-market { padding: 4px 12px; border: 0; border-radius: 6px; color: #e6edf3; background: var(--tp-bg); -webkit-mask-image: none; mask-image: none; }
/* Kartlı koyu terminal: her enstrüman koyu zeminli kendi kartında. */
.ht-ticker[class*="ht-ticker--mk-cardterm"] .ht-mk-item { padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; background: var(--tp-bg); }
.ht-ticker[class*="ht-ticker--mk-term"] .ht-mk-name, .ht-ticker[class*="ht-ticker--mk-cardterm"] .ht-mk-name { color: var(--tp-name); }
.ht-ticker[class*="ht-ticker--mk-term"] .ht-mk-val, .ht-ticker[class*="ht-ticker--mk-cardterm"] .ht-mk-val { color: var(--mk-term-val); }
.ht-ticker[class*="ht-ticker--mk-term"] .ht-mk-chg.up, .ht-ticker[class*="ht-ticker--mk-cardterm"] .ht-mk-chg.up { color: var(--tp-up); background: none; padding: 0; }
.ht-ticker[class*="ht-ticker--mk-term"] .ht-mk-chg.down, .ht-ticker[class*="ht-ticker--mk-cardterm"] .ht-mk-chg.down { color: var(--tp-down); background: none; padding: 0; }
/* Bantta haber yazısı ve piyasa verileri kalan genişliği yarı yarıya paylaşır (simgenin/rozetin yanındaki alan %50 - %50); piyasa verileri bu pencerede sürekli akar. Telefonda piyasa alt satırda tam genişliktedir. */
.ht-ticker-items { flex: 1 1 0; }
.ht-ticker-market { flex: 1 1 0; min-width: 0; overflow: hidden; }
/* Bantta haber yoksa yalnızca piyasa verileri vardır: tam genişlikte akar. */
.ht-ticker--solo .ht-ticker-market { flex: 1 1 auto; width: auto; margin-left: 0; padding-left: 0; border-left: 0; }
@media (max-width: 800px) {
	/* Telefonda şerit bandın alt satırına iner, tam genişlikte; sığmayan içerik akar. */
	.ht-ticker-inner { flex-wrap: wrap; row-gap: 0; padding-top: 9px; } /* Tek satırda min-height ortalıyordu; iki satırda yükseklik min-height'ı aştığı için etiket üst çizgiye yapışıyordu: aynı üst boşluk verilir. */
	.ht-ticker-market { order: 3; margin-top: 9px; flex: 1 1 100%; width: auto; padding: 6px 0 8px; border-left: 0; border-top: 1px solid var(--ht-border); }
}
@media (prefers-reduced-motion: reduce) {
	.ht-ticker-market { overflow-x: auto; scrollbar-width: none; }
	.ht-ticker-market::-webkit-scrollbar { display: none; }
}

/* Nöbetçi eczane */
.ht-ecz-searchbox { margin: 0 0 18px; }
.ht-ecz-search { width: 100%; padding: 14px 18px 14px 48px; border: 1.5px solid var(--ht-border); border-radius: 999px; font: inherit; font-size: 16px; background: var(--ht-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px center / 20px; color: var(--ht-text); box-shadow: 0 2px 10px rgba(16, 24, 40, .05); transition: box-shadow .2s, border-color .2s; }
.ht-ecz-search:focus { outline: 0; border-color: var(--ecz-red); box-shadow: 0 0 0 4px rgba(225, 48, 43, .16); }
.ht-ecz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
@media (max-width: 560px) { .ht-ecz-grid { grid-template-columns: 1fr; } } /* Telefonda tek sütun: uzun il adları (Afyonkarahisar) kartın dışına taşmaz. */
.ht-ecz-il { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px 11px 12px; border: 1px solid var(--ht-border); border-radius: 14px; background: var(--ht-surface); color: var(--ht-text); text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ht-ecz-plate { flex: none; min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .3)) var(--ecz-red); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 3px 8px rgba(225, 48, 43, .3); }
.ht-ecz-iltxt { flex: 1; }
.ht-ecz-iltxt { min-width: 0; overflow-wrap: anywhere; }
.ht-ecz-iltxt strong { display: block; font-size: 15px; line-height: 1.2; }
.ht-ecz-iltxt small { display: block; margin-top: 2px; font-size: 12px; color: var(--ht-muted); }
.ht-ecz-il:hover { border-color: #e29b96; color: var(--ecz-red); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 24, 40, .10); }
.ht-ecz-il[hidden] { display: none; }
.ht-ecz-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; }
.ht-ecz-crumb a { padding: 7px 14px; border: 1px solid var(--ht-border); border-radius: 999px; background: var(--ht-surface); font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.ht-ecz-crumb a:hover { border-color: var(--ecz-red); }
.ht-ecz-crumb span { color: var(--ht-muted); }
.ht-ecz-sub { margin: 0 0 12px; color: var(--ht-muted); font-size: 14px; }
.ht-ecz-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.ht-ecz-fbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--ht-border); border-radius: 999px; background: var(--ht-surface); color: var(--ht-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: transform .15s, border-color .15s, color .15s, background .15s; }
.ht-ecz-fbtn:hover { border-color: var(--ecz-red); color: var(--ecz-red); }
.ht-ecz-fbtn b { padding: 2px 8px; border-radius: 999px; background: rgba(225, 48, 43, .14); color: var(--ecz-red); font-size: 12px; }
.ht-ecz-fbtn.is-on { background: var(--ecz-red); border-color: var(--ecz-red); color: #fff; box-shadow: 0 6px 14px rgba(225, 48, 43, .32); }
.ht-ecz-fbtn.is-on b { background: rgba(255,255,255,.25); color: #fff; }
.ht-ecz-fbtn.is-zero { opacity: .55; }
.ht-ecz-count { margin: 0 0 12px; font-size: 13px; color: var(--ht-muted, #667); }
.ht-ecz-card[hidden] { display: none; }
.ht-ecz-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .ht-ecz-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ht-ecz-list { grid-template-columns: minmax(0, 1fr); } }
.ht-ecz-list--col { grid-template-columns: minmax(0, 1fr); }
/* yatay blok: bilgisayarda 3 kart, tablette 2, telefonda kenarı görünen tek kart; kaydırma ve oklar ortak yatay kaydırmadan gelir */
.ht-ecz-list.ht-ecz-list--scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.ht-ecz-list--scroll::-webkit-scrollbar { display: none; }
.ht-ecz-list.ht-ecz-list--flow { scroll-snap-type: none; scroll-behavior: auto; }
.ht-ecz-list--flow > .ht-ecz-card { scroll-snap-align: none; }
.ht-ecz-list--scroll > .ht-ecz-card { flex: 0 0 calc((100% - 42px) / 4); scroll-snap-align: start; }
@media (max-width: 900px) { .ht-ecz-list--scroll > .ht-ecz-card { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 640px) { .ht-ecz-list--scroll > .ht-ecz-card { flex-basis: 86%; } }
:root { --ecz-red: #e1302b; } /* Eczane tabelasının kırmızısı: eczane sayfası ve kartları tema vurgu rengine bağlı değildir. */
.ht-ecz { --ecz-bg: var(--ht-surface); } /* Blok ayarındaki kart rengi bu değişkeni satır içi stille ezer. */
.ht-ecz-card { --ecz-fg: var(--ht-text); --ecz-muted: var(--ht-muted); --ecz-line: var(--ht-border); position: relative; color: var(--ecz-fg); overflow: hidden; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--ecz-line); border-radius: 12px; background-color: var(--ecz-bg); background-image: var(--ecz-bgimg, none); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.ht-ecz-card:hover { box-shadow: 0 12px 26px rgba(16, 24, 40, .11); transform: translateY(-3px); border-color: #e2b0ab; }
.ht-ecz-list--scroll .ht-ecz-card:hover { transform: none; }
/* Eczane yatay blok kartları (widget ve sayfa etkilenmez): üst/alt boşluk 4 px, satır aralığı 4 px, hover çerçevesi açık mavi. */
.ht-ecz--h .ht-ecz-card { padding: 4px 14px; gap: 4px; }
.ht-ecz--h .ht-ecz-card h4 { margin-top: 0; }
.ht-ecz--h .ht-ecz-card:hover { border-color: #1f6feb; }
.ht-ecz--h .ht-ecz-card h4 a:hover, .ht-ecz--h a.ht-ecz-card--mini:hover h4 { color: #1f6feb; } /* Yatay blok: eczane adı hover'ı açık mavi (beyaz ve koyu kartta). */
.ht-ecz-live { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 700; color: #1a7f37; letter-spacing: .02em; }
.ht-ecz-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22a24b; flex: none; }
.ht-ecz-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22a24b; opacity: 0; animation: ht-ecz-pulse 2s ease-out infinite; }
@keyframes ht-ecz-pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ht-ecz-live i::after { animation: none; } }
.ht-ecz-ic { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--ecz-red); }
.ht-ecz-addr, .ht-ecz-tel { display: flex; align-items: flex-start; gap: 8px; }
.ht-ecz-card h4 { margin: 2px 0 0; font-size: 16.5px; line-height: 1.3; }
.ht-ecz-addr, .ht-ecz-near, .ht-ecz-tel { margin: 0; font-size: 14px; line-height: 1.5; }
.ht-ecz-near { color: var(--ht-muted); font-size: 13px; }
.ht-ecz-tel { font-weight: 700; font-size: 16px; }
.ht-ecz-tel a { color: inherit; text-decoration: none; }
.ht-ecz-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.ht-ecz-btn { flex: 1 1 auto; white-space: nowrap; background: transparent; text-align: center; padding: 9px 8px; border: 1px solid var(--ht-border); border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--ht-text); text-decoration: none; }
.ht-ecz-btn { transition: transform .15s, box-shadow .15s, filter .15s; }
.ht-ecz-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.ht-ecz-btn--call { color: #fff; border-color: transparent; background: linear-gradient(135deg, #f0463f, #c9211c); box-shadow: 0 3px 8px rgba(201, 33, 28, .3); }
.ht-ecz-btn--map { color: #fff; border-color: transparent; background: linear-gradient(135deg, #374151, #111827); box-shadow: 0 3px 8px rgba(17, 24, 39, .25); }
.ht-ecz-btn--call:hover, .ht-ecz-btn--map:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .ht-ecz-btn { transition: none; } .ht-ecz-btn:hover { transform: none; } }

/* Kart arka planı (blok ayarı "Kart arka plan rengi"). */
.ht-ecz--cardtone-dark .ht-ecz-card { --ecz-fg: #f2f5fa; --ecz-muted: #cfd8e6; --ecz-line: rgba(255, 255, 255, .22); --ht-text: #f2f5fa; --ht-muted: #cfd8e6; }
.ht-ecz--cardtone-dark .ht-ecz-card .ht-ecz-btn--map { background: linear-gradient(135deg, #4b5563, #1f2937); border-color: rgba(255, 255, 255, .28); }
.ht-ecz--cardtone-dark .ht-ecz-live { color: #6ee7a0; }
.ht-ecz--cardtone-dark .ht-ecz-live i, .ht-ecz--cardtone-dark .ht-ecz-live i::after { background: #4ade80; border-color: #4ade80; }
.ht-ecz--cardtone-dark .ht-ecz-ic { color: #ff8a9a; }
.ht-ecz--cardtone-dark .ht-ecz-dist { color: #e1302b; }
.ht-ecz-dist { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ecz-red); }
.ht-ecz-card h4 { color: var(--ecz-fg); }
.ht-ecz-tel a { color: inherit; }

/* Sayfa: üst tanıtım bandı */
.ht-ecz-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; margin: 0 0 18px; padding: 22px 24px; border: 1px solid #e2c2bd; border-radius: 18px; background: linear-gradient(120deg, #fcebe8 0%, #fff 70%); }
.ht-ecz-hero-ic { flex: none; display: block; width: 58px; height: 58px; line-height: 0; color: var(--ecz-red); box-shadow: 0 6px 16px rgba(225, 48, 43, .22); } /* Eczane logosu: kırmızı kare çizgi içinde kırmızı E. */
.ht-ecz-hero-ic svg { width: 100%; height: 100%; display: block; }
.ht-ecz-hero-tx { position: relative; z-index: 1; min-width: 0; }
.ht-ecz-hero h1, .ht-ecz-hero h2 { margin: 0 0 4px; font-family: var(--ht-serif); font-size: calc(1.5rem * var(--ht-ts, 1)); line-height: 1.2; }
.ht-ecz-hero h1:last-child { margin: 0; }
.ht-ecz-hero p { margin: 0; color: var(--ht-muted); font-size: 14.5px; }
@media (max-width: 560px) { .ht-ecz-hero { padding: 16px; gap: 12px; } .ht-ecz-hero-ic { width: 48px; height: 48px; } .ht-ecz-hero h1, .ht-ecz-hero h2 { font-size: calc(1.25rem * var(--ht-ts, 1)); } }
.ht-box.ht-ecz--page { background: none; border: 0; box-shadow: none; padding: 0; }
.ht-ecz--page > .ht-box-note { text-align: center; }
/* Renkli blokta kartlar kendi zeminini korur: açık renkli blokta da, koyu renkli blokta da okunur. */
:root:root .ht-boxbg.ht-section--bg-dark .ht-ecz-card { --ht-text: #16181d; --ht-muted: #667085; --ht-border: #e2e2dd; }
:root:root .ht-boxbg.ht-section--bg-dark .ht-ecz--cardtone-dark .ht-ecz-card { --ht-text: #f2f5fa; --ht-muted: #cfd8e6; }
.ht-ecz-card h4 a, .ht-ecz-dist a { color: inherit; text-decoration: none; transition: color .15s; }
.ht-ecz-card h4 a:hover, .ht-ecz-dist a:hover { color: var(--ecz-red); }
.ht-ecz--cardtone-dark .ht-ecz-card h4 a:hover { color: #1f6feb; }
.ht-ecz--cardtone-dark .ht-ecz-dist a:hover { color: #e1302b; }
/* Özet kart: kartın tamamı bağlantı. */
.ht-ecz-card--mini { text-decoration: none; justify-content: center; }
a.ht-ecz-card--mini { cursor: pointer; }
.ht-ecz-top { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 4px 12px; }
a.ht-ecz-card--mini:hover h4 { color: var(--ecz-red); }
a.ht-ecz-card--mini:focus-visible { outline: 3px solid rgba(225, 48, 43, .45); outline-offset: 2px; }
.ht-ecz--cardtone-dark a.ht-ecz-card--mini:hover h4 { color: #1f6feb; }
/* Kart içi yerleşim: varsayılan olarak sarmalayıcılar görünmez (sayfa ve widget eskisi gibi). */
.ht-ecz-body, .ht-ecz-main { display: contents; }
.ht-ecz-more { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.ht-ecz-empty { margin: 0; color: var(--ht-muted); }
.ht-ecz .ht-box-note { margin-top: 12px; }

/* ===== Hava durumu sayfası (template-hava-durumu.php) ===== */
.ht-wxp .ht-ecz-plate { box-shadow: 0 3px 8px rgba(31, 111, 235, .3); } .ht-wxp .ht-ecz-il:hover { border-color: #94b4e3; } .ht-wxp .ht-ecz-search:focus { box-shadow: 0 0 0 4px rgba(31, 111, 235, .16); } /* Eczane kurallarının mavi karşılıkları (düz renk kodu). */
.ht-wxp { --ecz-red: #1f6feb; } /* Eczane sayfasının il ızgarası/arama/ekmek kırıntısı bu rengi kullanır; burada mavi. */
.ht-wxp-hero { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; padding: 22px 24px; border: 1px solid #cfe0f7; border-radius: 18px; background: linear-gradient(120deg, #eaf3ff, #fff 70%); }
.ht-wxp-hero-ic { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(145deg, #4aa3ff, #1f6feb); font-size: 30px; box-shadow: 0 6px 16px rgba(31, 111, 235, .28); }
.ht-wxp-hero h1 { margin: 0 0 4px; font-family: var(--ht-serif); font-size: calc(1.5rem * var(--ht-ts, 1)); line-height: 1.2; }
.ht-wxp-hero h1:last-child { margin: 0; }
.ht-wxp-hero p { margin: 0; color: var(--ht-muted); font-size: 14.5px; }
.ht-wxp-now { margin: 0 0 var(--ht-gap, 20px); padding: 22px; border-radius: 18px; background: linear-gradient(150deg, #1d62d6, #4aa3ff); color: #fff; box-shadow: 0 10px 28px rgba(31, 111, 235, .25); }
.ht-wxp-now-main { display: flex; align-items: center; gap: 18px; }
.ht-wxp-now-ic { font-size: 64px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .2)); }
.ht-wxp-now-temp { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.ht-wxp-now-desc { margin-top: 4px; font-size: 18px; font-weight: 600; }
.ht-wxp-now-sub { margin-top: 2px; font-size: 14px; opacity: .92; }
.ht-wxp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.ht-wxp-tiles li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); }
.ht-wxp-tiles span { font-size: 12.5px; opacity: .88; }
.ht-wxp-tiles b { font-size: 17px; font-weight: 700; }
.ht-wxp-tiles small { font-size: 12px; opacity: .85; }
.ht-wxp-box { margin: 0 0 var(--ht-gap, 20px); }
.ht-wxp-hours { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.ht-wxp-hour { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; padding: 10px 8px; border: 1px solid var(--ht-border); border-radius: 14px; background: var(--ht-surface); }
.ht-wxp-hour.is-now { border-color: #1f6feb; background: #eaf3ff; }
.ht-wxp-hour-t { font-size: 12.5px; color: var(--ht-muted); }
.ht-wxp-hour-ic { font-size: 24px; line-height: 1.2; }
.ht-wxp-hour b { font-size: 16px; }
.ht-wxp-hour small { min-height: 14px; font-size: 11.5px; font-weight: 600; color: #1f6feb; }
.ht-wxp-days { margin: 0; padding: 0; list-style: none; }
.ht-wxp-day { display: grid; grid-template-columns: 110px minmax(120px, 1.3fr) 80px 110px minmax(170px, 1.4fr); align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--ht-border); }
.ht-wxp-day:first-child { border-top: 0; }
.ht-wxp-day-n strong, .ht-wxp-day-n small { display: block; }
.ht-wxp-day-n small { font-size: 12.5px; color: var(--ht-muted); }
.ht-wxp-day-d { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ht-wxp-day-ic { font-size: 24px; }
.ht-wxp-day-tx { font-size: 14px; }
.ht-wxp-day-r b, .ht-wxp-day-r small { display: block; }
.ht-wxp-day-r b { font-size: 14px; color: #1f6feb; }
.ht-wxp-day-r small, .ht-wxp-day-w { font-size: 12.5px; color: var(--ht-muted); }
.ht-wxp-day-t { display: flex; align-items: center; gap: 8px; }
.ht-wxp-lo, .ht-wxp-hi { width: 34px; font-weight: 700; font-size: 14px; }
.ht-wxp-lo { text-align: right; color: var(--ht-muted); }
.ht-wxp-bar { position: relative; flex: 1; height: 7px; border-radius: 99px; background: #e8edf3; }
.ht-wxp-bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #4aa3ff, #f5a524); }
@media (max-width: 720px) {
	.ht-wxp-hero { padding: 16px; gap: 12px; }
	.ht-wxp-hero-ic { width: 48px; height: 48px; font-size: 24px; }
	.ht-wxp-now { padding: 16px; }
	.ht-wxp-now-temp { font-size: 46px; }
	.ht-wxp-day { grid-template-columns: 78px 1fr 64px; grid-template-areas: "n d r" "n t t"; row-gap: 6px; }
	.ht-wxp-day-n { grid-area: n; } .ht-wxp-day-d { grid-area: d; } .ht-wxp-day-r { grid-area: r; text-align: right; } .ht-wxp-day-t { grid-area: t; } .ht-wxp-day-w { display: none; }
}

/* Hava durumu: şehre tıklayınca il sayfası (bağlantı satırın/kartın tamamını kaplar), başlık il listesine gider. */
.ht-wx-row { position: relative; }
.ht-wx-link, .ht-wxc-link, .ht-wx-titlelink { color: inherit; text-decoration: none; }
.ht-wx-link::after, .ht-wxc-link::after { content: ""; position: absolute; inset: 0; }
.ht-wx-row:hover .ht-wx-link, .ht-wxc:hover .ht-wxc-link, .ht-wx-titlelink:hover { color: var(--ht-accent); }
.ht-wxc--link:hover { border-color: #ff3030; } /* Yatay kart: üzerine gelince çerçeve vurgu rengi. */
.ht-wx-row:focus-within, .ht-wxc:focus-within { outline: 2px solid var(--ht-accent); outline-offset: 2px; border-radius: 6px; }
/* Yorum formu: başlık kaldırılınca boş kalan başlık kutusu görünmesin. */
.comment-reply-title:empty { display: none; }
