/* ==========================================================================
   HaberCMS — EsenHaber demo8 görünüm katmanı
   ==========================================================================
   Temel theme (main.css) üzerine bindirilen EsenHaber tasarım dili:
   - Poppins/Inter tipografi, lacivert (#0a192e) üst bar + kırmızı (#e00000)
   - 1220px esen-container
   - Tek satır navigasyon (logo + orta menü + arama)
   - Kırmızı SON DAKİKA bandı (sweepLight taraması)
   - 3 sütunlu manşet (kenar listeler + numara/progress şeritli slider)
   - Başlık + TÜMÜ linkli bölüm başlıkları, görsel üstü kategori rozetleri
   - Piyasa şeridi, oval yazar kartları, lacivert 4 kolonlu footer
   ========================================================================== */

/* ---------- Tipografi ---------- */
h1, h2, h3, h4, h5, h6,
.entry-title,
.news-title,
.hero-card-title,
.cat-hero-title,
.cat-card-title,
.section-title,
.author-name {
	font-family: var(--font-heading);
}

body {
	background: var(--page-bg, #f1f3f6);
}

/* ---------- EsenHaber container (1220px) ---------- */
@media (min-width: 1200px) {
	.container { max-width: var(--container-w); }
}
@media (min-width: 1550px) {
	.container { max-width: var(--container-w); }
}

section {
	padding: 1.25rem 0;
}

/* ========================================================================
   ÜST BAR (habercms-topbar)
   ======================================================================== */
.habercms-topbar {
	background: var(--brand-navy, #0a192e);
	color: #e8edf4;
	font-size: .72rem;
	letter-spacing: .03em;
	z-index: 60;
}
.topbar-inner {
	min-height: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar-left {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}
.top-elements {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
}
.te-item a {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .32rem .65rem;
	color: #e8edf4;
	font-weight: 700;
	transition: color .2s ease, background .2s ease;
}
.te-item a:hover {
	color: #fff;
}
.te-item a i {
	font-size: .72rem;
	color: var(--brand);
}
.te-item:first-child a {
	padding-left: 0;
}
.te-item.legacy a {
	padding: .32rem .6rem;
	border-left: 1px solid rgba(255, 255, 255, .12);
	color: #b7c2d0;
	font-size: .66rem;
	font-weight: 600;
}
.te-item.legacy a:hover {
	color: #fff;
}
.te-item.legacy .sp-icon {
	color: var(--brand);
	font-size: .6rem;
}
.topbar-right {
	gap: .85rem;
}
.topbar-weather-link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: #dceaff;
	font-weight: 700;
	font-size: .74rem;
	white-space: nowrap;
}
.topbar-weather-link:hover {
	color: #fff;
}
.topbar-weather-link i {
	color: #ffd45e;
	font-size: .82rem;
}
.topbar-weather-link .tw-temp {
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
}
.topbar-date {
	color: #93a1b5;
	font-size: .7rem;
	font-weight: 500;
}
.topbar-date-label {
	background: var(--brand);
}
.topbar-right .social-links a {
	width: 22px;
	height: 22px;
	line-height: 22px;
	font-size: .7rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
}

/* Topbar widget araçları: döviz, bildirim, push, arama */
.topbar-doviz {
	display: inline-flex;
	align-items: center;
}
.topbar-doviz-inner {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
}
.topbar-doviz-item {
	display: inline-flex;
	align-items: baseline;
	gap: .35rem;
	white-space: nowrap;
}
.topbar-doviz-name {
	color: #93a1b5;
	font-weight: 600;
}
.topbar-doviz-value {
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
}
.topbar-doviz-change {
	font-size: .64rem;
	font-weight: 700;
}
.topbar-doviz-change.up { color: #4cd07d; }
.topbar-doviz-change.down { color: #ff6b6b; }

.topbar-notification-btn,
.topbar-push-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #e8edf4;
	font-size: .76rem;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.topbar-notification-btn:hover,
.topbar-push-btn:hover,
.topbar-notification-btn.is-open,
.topbar-push-btn.is-subscribed {
	background: var(--brand);
	color: #fff;
}
.notification-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 15px;
	height: 15px;
	line-height: 15px;
	padding: 0 4px;
	border-radius: 8px;
	background: #e03131;
	color: #fff;
	font-size: .6rem;
	font-weight: 700;
	text-align: center;
	box-sizing: border-box;
}
.header-notification-btn .notification-count {
	top: 0;
	right: 0;
}
.topbar-search-form {
	display: flex;
	align-items: center;
	gap: .4rem;
}
.topbar-search-input {
	width: 108px;
	padding: .28rem .55rem;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 20px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: .7rem;
	line-height: 1;
	outline: none;
	transition: width .25s ease, border-color .2s ease;
}
.topbar-search-input::placeholder { color: #93a1b5; }
.topbar-search-input:focus {
	width: 150px;
	border-color: var(--brand);
}
.topbar-search-btn {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: transparent;
	color: #dceaff;
	font-size: .76rem;
	cursor: pointer;
}
.topbar-search-btn:hover { color: #fff; }

/* Bildirim çanı açılır paneli (JS tarafından body'e eklenir) */
.habercms-notifications-panel {
	position: fixed;
	z-index: 999999;
	width: 320px;
	max-width: calc(100vw - 22px);
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 10px;
	box-shadow: 0 14px 40px -6px rgba(15, 23, 42, .28);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.habercms-notifications-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.habercms-notif-head {
	padding: .65rem .9rem;
	background: var(--brand);
	color: #fff;
	font-family: var(--font-heading);
	font-size: .82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.habercms-notif-item {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	padding: .7rem .9rem;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	text-decoration: none;
	transition: background .15s ease;
}
.habercms-notif-item:last-child { border-bottom: 0; }
.habercms-notif-item:hover { background: #f6f7f9; }
.habercms-notif-thumb {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--surface-alt, #eef0f3);
}
.habercms-notif-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.habercms-notif-body {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: .2rem;
}
.habercms-notif-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #1c2333;
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.35;
}
.habercms-notif-date {
	color: #8a93a6;
	font-size: .68rem;
}
.habercms-notif-empty {
	padding: 1.6rem 1rem;
	text-align: center;
	color: #8a93a6;
	font-size: .8rem;
}

/* ========================================================================
   HEADER — tek satır navigasyon
   ======================================================================== */
#header {
	background: var(--surface);
	box-shadow: 0 3px 7px -3px rgba(0, 0, 0, .1);
}
.header-bar > .container {
	border-bottom: 0;
	height: var(--header-h);
}
.nav-container {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.header-bar .logo {
	flex: 0 0 auto;
	height: 44px;
	width: 195px;
	margin-right: .25rem;
}

/* Menü — ortalama */
#mainnav {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
	border-bottom: 0;
	padding: 0;
	position: static;
	top: auto;
}
#mainnav .main-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
#mainnav .main-menu > li {
	margin-right: 0;
}
#mainnav .main-menu > li > a {
	display: inline-flex;
	align-items: center;
	height: var(--header-h);
	padding: 0 .9rem;
	color: var(--heading);
	font-family: var(--font-heading);
	font-size: .94rem;
	font-weight: 600;
	position: relative;
	white-space: nowrap;
	transition: color .15s ease;
}
#mainnav .main-menu > li > a::after {
	content: "";
	position: absolute;
	left: .9rem;
	right: .9rem;
	bottom: 0;
	height: 3px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
#mainnav .main-menu > li:hover > a,
#mainnav .main-menu > li.current-menu-item > a,
#mainnav .main-menu > li.current-category-ancestor > a,
#mainnav .main-menu > li.current_page_item > a {
	color: var(--brand);
}
#mainnav .main-menu > li:hover > a::after,
#mainnav .main-menu > li.current-menu-item > a::after,
#mainnav .main-menu > li.current-category-ancestor > a::after,
#mainnav .main-menu > li.current_page_item > a::after {
	transform: scaleX(1);
}
#mainnav .main-menu > li:last-child {
	margin-left: 0;
	margin-right: 0;
}
#mainnav .main-menu ul.sub-menu {
	background: var(--surface);
	box-shadow: 0 16px 32px -12px rgba(10, 25, 46, .25);
	border: 1px solid var(--border);
	border-top: 3px solid var(--brand);
	border-radius: 0 0 8px 8px;
	padding: .5rem 0;
}
#mainnav .main-menu ul.sub-menu a {
	padding: .55rem 1.1rem;
	color: var(--text);
	font-size: .86rem;
	font-weight: 500;
}
#mainnav .main-menu ul.sub-menu a:hover {
	color: var(--brand);
	background: var(--surface-alt);
}

/* Sağ araçlar */
.header-actions {
	margin-left: 0;
	flex: 0 0 auto;
}
.header-tools .header-tools-link {
	margin-left: .35rem;
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	color: var(--text-secondary);
	font-size: 1rem;
}
.header-tools .header-tools-link:hover {
	background: var(--surface-alt);
	color: var(--brand);
}
.header-tools .header-tools-link svg {
	display: none;
}

/* Açılır arama paneli */
.header-search-panel {
	background: var(--brand-navy);
}

/* Mobil menü butonu */
.header-bar .nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	color: var(--heading);
	border-radius: 6px;
}
.header-bar .nav-toggle:hover {
	background: var(--surface-alt);
	color: var(--brand);
}

/* ========================================================================
   SON DAKİKA BANDI
   ======================================================================== */
.sondakika-band {
	background: var(--esh-red, #dd0000);
}
.breaking-ticker {
	background: transparent;
	min-height: 45px;
	align-items: stretch;
	max-width: calc(100% - 2rem);
	margin: 0 auto;
}
.breaking-ticker-label {
	background: var(--brand-navy, #0a192e);
	color: #fff;
	font-size: .78rem;
	letter-spacing: .08em;
	padding: 0 1.1rem;
	position: relative;
	overflow: hidden;
	font-weight: 800;
	gap: .5rem;
}
.breaking-ticker-label i.fa-bolt {
	color: #ffd24d;
}
.breaking-ticker-label::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
	transform: skewX(-20deg);
	animation: habercms-sweep 3s infinite linear;
}
@keyframes habercms-sweep {
	0% { left: -60%; }
	55% { left: 120%; }
	100% { left: 120%; }
}
.breaking-dot {
	width: 7px;
	height: 7px;
	background: var(--brand);
}
.breaking-ticker-track {
	display: flex;
	align-items: center;
}
.breaking-ticker-content {
	display: inline-flex;
	align-items: center;
}
.breaking-ticker-item {
	color: #fff;
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .005em;
}
.breaking-ticker-item:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.breaking-ticker-sep {
	margin: 0 .9rem;
	color: rgba(255, 255, 255, .75);
	font-size: .8rem;
}
.breaking-ticker-arrows {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	border-left: 1px solid rgba(255, 255, 255, .25);
}
.breaking-ticker-arrows button {
	width: 42px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: .95rem;
	transition: background .2s ease;
}
.breaking-ticker-arrows button:hover {
	background: rgba(0, 0, 0, .18);
}
.breaking-ticker-arrows button + button {
	border-left: 1px solid rgba(255, 255, 255, .25);
}

/* ========================================================================
   BÖLÜM BAŞLIKLARI — pill + TÜMÜ linki
   ======================================================================== */
.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 2px solid var(--sec-color, var(--brand));
	margin-bottom: 1.25rem;
	padding-bottom: .4rem;
}
.section-heading .section-title,
.section-title,
.section-title.plain {
	font-family: var(--font-heading);
	font-size: 1.3125rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--heading);
	letter-spacing: .01em;
	text-transform: uppercase;
	margin: 0;
	padding-left: 0;
	padding-bottom: 0;
	overflow: visible;
}
.section-title::before,
.section-title::after,
.section-title.plain::before,
.section-title.plain::after {
	content: none;
	background: none;
}
.section-heading .section-title a,
.section-title a {
	color: var(--heading);
}
.section-heading .section-title a:hover,
.section-title a:hover {
	color: var(--sec-color, var(--brand));
}
.cat-title-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--sec-color, var(--brand));
	margin-right: .55rem;
	vertical-align: middle;
}
.k-category-link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-family: var(--font-sans);
	font-size: .76rem;
	font-weight: 700;
	color: var(--sec-color, var(--brand));
	letter-spacing: .04em;
	padding: .2rem .55rem;
	border: 1px solid var(--sec-color, var(--brand));
	border-radius: 40px;
	transition: background .2s ease, color .2s ease;
}
.k-category-link:hover {
	background: var(--sec-color, var(--brand));
	color: #fff;
}
/* `.section-title` dışında kalan başlıklar için bölüm kartları */
.weather-section .section-title,
.headlines-section .section-title,
.tabbed-section .section-title,
.widget .section-title {
	border-bottom: 2px solid var(--blue);
	padding-bottom: .4rem;
	margin-bottom: 1.1rem;
}

/* ========================================================================
   MANŞET — 3 SÜTUNLU HERO
   ======================================================================== */
.slider.home-hero {
	background: var(--surface);
	padding-top: 1.5rem;
}
.hero-grid {
	display: flex;
	align-items: stretch;
	gap: 1.5rem;
}
.hero-side {
	flex: 1 1 0;
	min-width: 0;
	background: #fbfcfe;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: .9rem .9rem .4rem;
}
.hero-main {
	flex: 2.55 1 0;
	min-width: 0;
}

/* Yan sütun listeleri (li-con) */
.hero-side-list {
	display: flex;
	flex-direction: column;
}
.li-con {
	border-bottom: 1px solid var(--border);
	padding-bottom: .75rem;
	margin-bottom: .75rem;
}
.li-con:last-child {
	border-bottom: 0;
	padding-bottom: .5rem;
}
.li-con a {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
}
.li-con .post-image {
	flex: 0 0 96px;
	width: 96px;
	height: 64px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--grey-200);
}
.li-con .post-image img,
.li-con .post-image .slide-ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.li-con .slide-ph {
	background: linear-gradient(135deg, #1b2a3d, #0a58ca);
}
.li-con .post-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--text);
	font-family: var(--font-heading);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.25;
	transition: color .15s ease;
}
.li-con a:hover .post-title {
	color: var(--brand);
}

/* Ana slider */
.main-slider {
	border-radius: var(--radius-md);
	overflow: visible;
}
.main-slider .swiper-wrapper {
	border-radius: var(--radius-md);
}
.main-slider .swiper-slide {
	border-radius: var(--radius-md);
	overflow: hidden;
}
.hero-card {
	height: 100%;
}
.hero-card .hero-card-image {
	aspect-ratio: 16 / 9;
}
.hero-card-shade {
	background: linear-gradient(180deg, rgba(10, 20, 35, 0) 30%, rgba(10, 20, 35, .25) 55%, rgba(10, 20, 35, .93) 100%);
}
.hero-card-content {
	padding: 1.1rem 1.2rem;
}
.hero-card-category {
	background: var(--cat-color, var(--brand));
	border-radius: 30px;
	padding: .3rem .8rem;
	font-family: var(--font-heading);
	font-size: .7rem;
	letter-spacing: .12em;
}
.hero-card-title {
	font-size: clamp(1.4rem, 2.2vw, 2.15rem);
	font-weight: 800;
	max-width: 96%;
}
.hero-card-meta {
	color: rgba(255, 255, 255, .82);
}

/* Numara şeridi + progress */
.news-progress-container {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-top: .5rem;
	background: transparent;
}
.news-progress-bar {
	flex: 1 1 auto;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, #a02121, #ff0000);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--manset-dur, 5s) linear;
	will-change: transform;
}
.news-progress-bar.active {
	transform: scaleX(1);
}
.slider-numbers {
	display: flex;
	align-items: center;
	gap: .1rem;
}
.slider-number {
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: .8rem;
	font-weight: 800;
	color: var(--text-muted);
	padding: .3rem .28rem;
	border-top: 3px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}
.slider-number:hover {
	color: var(--heading);
}
.slider-number.is-active {
	color: var(--brand);
	border-top-color: var(--brand);
}

/* Mevcut pusülle pagination'ı gizle (numara şeridi kullanılır) */
.main-slider > .swiper-pagination {
	display: none;
}

/* Manşet altı kartlar */
.manset-alti {
	margin-top: 1.25rem;
	border-bottom: 0;
	padding-top: 1rem;
}

/* ========================================================================
   HABER KARTLARI — görsel üstü kategori rozeti
   ======================================================================== */
.news-card {
	margin-bottom: 1.4rem;
	background: var(--surface);
}
.news-card-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: .6rem;
	line-height: 0;
}
.news-card-thumb img {
	border-radius: 0;
	aspect-ratio: 16 / 9;
}
.news-card-thumb .news-ph {
	aspect-ratio: 16 / 9;
}
.article-category {
	position: absolute;
	left: .55rem;
	bottom: .55rem;
	z-index: 2;
	display: inline-block;
	background: var(--cat-color, var(--brand));
	color: #fff;
	font-family: var(--font-heading);
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 30px;
	padding: .24rem .6rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.news-title {
	font-size: .98rem;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--text);
	margin: 0;
}
.news-title a {
	color: var(--text);
	transition: color .15s ease;
}
.news-title a:hover {
	color: var(--brand);
}
.news-card-meta {
	display: block;
	margin-top: .3rem;
}
.news-card-meta time {
	color: var(--text-muted);
	font-size: .76rem;
}
.news-card-meta .news-card-category,
.news-card-meta a.news-card-category {
	display: none;
}
.news-desc {
	display: none;
}

/* ========================================================================
   KATEGORİ BÖLÜMÜ
   ======================================================================== */
.category-section {
	background: var(--surface);
}
.cat-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: start;
}
.cat-hero .cat-hero-link {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	line-height: 0;
	margin-bottom: .7rem;
}
.cat-hero .cat-hero-link img {
	border-radius: 0;
	width: 100%;
}
.cat-hero-title {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}
.cat-hero-title a {
	color: var(--text);
}
.cat-hero-title a:hover {
	color: var(--brand);
}
.cat-side {
	display: grid;
	gap: 1.1rem;
}
.cat-card > a {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	line-height: 0;
	margin-bottom: .5rem;
}
.cat-card > a img {
	border-radius: 0;
	width: 100%;
}
.cat-card-title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}
.cat-card-title a {
	color: var(--text);
}
.cat-card-title a:hover {
	color: var(--brand);
}

@media (max-width: 991px) {
	.cat-layout { grid-template-columns: 1fr; }
}

/* ========================================================================
   PİYASA ŞERİDİ (döviz)
   ======================================================================== */
.slider-doviz.standalone {
	background: var(--surface);
	padding: 0 0 1.25rem;
}
.dovizbar {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	height: auto;
	min-height: 74px;
	margin-top: 0;
	padding: .5rem 1rem;
	box-shadow: 0 2px 10px -6px rgba(10, 25, 46, .15);
	overflow: hidden;
}
.dovizbar-logo {
	gap: .55rem;
	padding: 0 1.4rem 0 0;
	border-right: 1px solid var(--border);
	margin-right: 1rem;
	color: var(--heading);
	font-family: var(--font-heading);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .06em;
}
.dovizbar-logo img { display: none; }
.dovizbar-logo i {
	font-size: 1.05rem;
	color: var(--blue);
}
.dovizbar-items {
	gap: .25rem;
	justify-content: space-between;
}
.dovizbar-item {
	color: var(--text);
	padding: .45rem 1.1rem;
	text-align: left;
	border-radius: 8px;
	transition: background .2s ease;
}
.dovizbar-item::after {
	display: none;
}
.dovizbar-item.up:hover,
.dovizbar-item.down:hover {
	background: var(--surface-alt);
}
.dovizbar-name {
	display: flex;
	align-items: center;
	gap: .4rem;
	color: var(--heading);
	font-family: var(--font-heading);
	font-size: .8rem;
	font-weight: 700;
	margin-bottom: .15rem;
}
.dovizbar-name i {
	font-size: .85rem;
	color: var(--blue);
}
.dovizbar-rate {
	color: var(--text);
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: .1rem;
}
.dovizbar-change {
	color: var(--green);
	font-size: .72rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: .15rem;
}
.dovizbar-item.down .dovizbar-change {
	color: var(--brand);
}
.dovizbar-item.down .dovizbar-rate {
	color: var(--brand);
}
/* İlk PİYASALAR öğesi — kırmızı gradyan */
.dovizbar-item:first-child {
	background: linear-gradient(135deg, #e00000, #ff4d3a);
	color: #fff;
}
.dovizbar-item:first-child:hover { background: linear-gradient(135deg, #c30000, #f23d2c); }
.dovizbar-item:first-child .dovizbar-name,
.dovizbar-item:first-child .dovizbar-rate,
.dovizbar-item:first-child .dovizbar-change {
	color: #fff;
}
.dovizbar-item:first-child .dovizbar-name i {
	color: rgba(255, 255, 255, .85);
}

@media (max-width: 767px) {
	.dovizbar { padding: .6rem; }
	.dovizbar-logo { padding: 0 .8rem 0 .2rem; margin-right: .5rem; }
	.dovizbar-item { padding: .35rem .55rem; }
}

/* ========================================================================
   YAZARLAR — oval avatarlar
   ======================================================================== */
.authors {
	background: var(--surface);
}
.authors-slider-wrap {
	padding: .25rem 0 .25rem;
}
.author-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .45rem;
	padding: 1rem .75rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	transition: box-shadow .2s ease, border-color .2s ease;
	height: 100%;
}
.author-card:hover {
	border-color: var(--brand);
	box-shadow: 0 10px 22px -12px rgba(10, 25, 46, .25);
}
.author-avatar {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px -4px rgba(10, 25, 46, .35);
	overflow: hidden;
	background: var(--grey-200);
	display: flex;
	align-items: center;
	justify-content: center;
}
.author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.author-name {
	font-family: var(--font-heading);
	font-size: .95rem;
	font-weight: 700;
	color: var(--heading);
}
.author-article {
	font-size: .76rem;
	color: var(--text-muted);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.author-card:hover .author-name {
	color: var(--brand);
}

/* ========================================================================
   FOOTER — lacivert
   ======================================================================== */
footer {
	background: linear-gradient(180deg, var(--brand-navy, #0a192e), #081220);
	color: #cdd7e4;
	margin-top: 2.5rem;
}
footer .footer-main {
	box-shadow: none;
	padding: 3.2rem 0 2.6rem;
}
footer .footer-grid {
	gap: 2.5rem;
}
footer .footer-logo { margin-bottom: 1.5rem; }
footer .footer-card > p {
	color: #9fb0c4;
	font-size: .84rem;
	line-height: 1.55;
}
footer .footer-heading {
	color: #fff;
	font-family: var(--font-heading);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	border-left: 3px solid var(--brand);
	padding-left: .7rem;
	margin-bottom: 1.1rem;
}
footer .footer-menu a {
	color: #9fb0c4;
	font-size: .84rem;
}
footer .footer-menu a:hover {
	color: #fff;
}
footer .footer-bottom {
	background: #050c16;
	border-top: 1px solid rgba(255, 255, 255, .06);
}
footer .footer-copyright,
footer .footer-legal {
	color: #cdd7e4;
}
footer .footer-social .social-links a {
	background: rgba(255, 255, 255, .09);
	color: #fff;
}
footer .footer-social .social-links a:hover {
	background: var(--brand);
}

/* ========================================================================
   DİĞER BÖLÜMLER — kart görünümü
   ======================================================================== */
.headlines-section,
.weather-section,
.tabbed-section,
.social-bar-wrap {
	background: var(--surface);
}
.headlines-section .container,
.weather-section .container,
.tabbed-section .container {
	padding-top: .25rem;
	padding-bottom: .25rem;
}

/* Gündem konu şeridi */
.home-topicbar {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}
.home-topicbar-label {
	background: var(--brand);
}
.home-topicbar-link {
	color: var(--heading);
	font-weight: 600;
}
.home-topicbar-link:hover {
	color: var(--brand);
}

/* Spor bölümü — EsenHaber yeşil vurgu */
.sport {
	background: var(--sport-bg);
}
.sport-heading {
	color: #fff;
}
.sport-ig {
	color: var(--green);
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1200px) {
	.header-bar .logo { width: 170px; }
	#mainnav .main-menu > li > a { padding: 0 .65rem; }
}

@media (max-width: 991px) {
	#mainnav { display: none; }
	.header-bar .nav-toggle { display: flex; }
	.header-bar > .container { justify-content: space-between; }
	.header-tools .header-tools-link:not(.nav-user) { display: flex; }
	.header-tools .header-tools-link { margin-left: .1rem; }

	.hero-grid { flex-direction: column; }
	.hero-side { flex: none; }
	.hero-side-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		column-gap: 1rem;
	}
	.li-con:nth-child(n) { border-bottom: 1px solid var(--border); }

	/* Panel: "Mobilde Yan Listeleri Gizle" (slider.mobile_side_hide). */
	.hero-grid.hc-hide-sides .hero-side { display: none; }
}

@media (max-width: 767px) {
	.header-bar > .container { height: 56px; }
	.header-bar .logo { position: static; transform: none; height: 30px; width: 150px; }
	.header-bar .nav-toggle { order: -1; }

	.sondakika-band { padding: 0 0 0 .5rem; }
	.breaking-ticker { max-width: 100%; }
	.breaking-ticker-label { padding: 0 .7rem; font-size: .68rem; }
	.breaking-ticker-label .breaking-dot { display: none; }
	.breaking-ticker-arrows { display: none; }

	.hero-side-list { grid-template-columns: 1fr; }
	.main-slider .hero-card-image { aspect-ratio: 16 / 9; }
	.slider-numbers { display: none; }
	.news-progress-bar { display: none; }

	footer .footer-grid { grid-template-columns: 1fr; }
	footer .footer-links { grid-template-columns: 1fr 1fr; }
	.topbar-right .topbar-date { display: none; }
	.te-item.legacy { display: none; }
}

@media (max-width: 576px) {
	.header-tools .header-tools-link { width: 34px; height: 34px; }
	.news-grid.cols-4 .news-card-thumb { flex: 0 0 118px; }
	.topbar-inner { justify-content: space-between; gap: .5rem; flex-wrap: nowrap; min-height: 34px; }
	.topbar-right { display: flex; }
	.topbar-right .social-links { display: none; }
	.topbar-right .topbar-date { display: none; }
	.te-item a { padding: .28rem .45rem; }
}

/* ========================================================================
   KOYU MOD DÜZELTMELERİ
   ======================================================================== */
:root[data-theme="dark"] body {
	background: #0e131a;
}
:root[data-theme="dark"] .habercms-topbar {
	background: #050b14;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
:root[data-theme="dark"] .breaking-ticker-label {
	background: #050b14;
}
:root[data-theme="dark"] .hero-side {
	background: var(--grey-100, #1d232b);
}
:root[data-theme="dark"] .dovizbar {
	border-color: var(--grey-300, #2a313b);
}
:root[data-theme="dark"] .dovizbar-logo {
	border-color: var(--grey-300, #2a313b);
}
:root[data-theme="dark"] .author-card {
	border-color: var(--grey-300, #2a313b);
	background: var(--grey-100, #1d232b);
}
:root[data-theme="dark"] .header-tools .header-tools-link:hover {
	background: var(--grey-100, #1d232b);
}
:root[data-theme="dark"] #mainnav .main-menu ul.sub-menu {
	background: var(--grey-100, #1d232b);
	border-color: var(--grey-300, #2a313b);
}
:root[data-theme="dark"] .dovizbar-item.up:hover,
:root[data-theme="dark"] .dovizbar-item.down:hover {
	background: var(--grey-100, #1d232b);
}
:root[data-theme="dark"] footer {
	background: linear-gradient(180deg, #081120, #040a12);
}
:root[data-theme="dark"] footer .footer-bottom {
	background: #03060b;
}
/* ========================================================================
   MANŞET — Ken Burns efekti (slider.kenburns)
   Aktif slayttaki görsele yavaş sinematik yakınlaşma uygular.
   ======================================================================== */
@keyframes habercms-kenburns {
	0%   { transform: scale(1); }
	100% { transform: scale(1.09); }
}
.swiper.kenburns .swiper-slide-active .hero-card-image,
.swiper.kenburns .swiper-slide-active .overlay-bg,
.swiper.kenburns .swiper-slide-active img,
.swiper.kenburns .swiper-slide-active .slide-ph {
	animation: habercms-kenburns 7s ease-out forwards;
	will-change: transform;
}
.swiper.kenburns .swiper-slide-active .hero-card-image:hover,
.swiper.kenburns .swiper-slide-active img:hover {
	animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
	.swiper.kenburns .swiper-slide-active .hero-card-image,
	.swiper.kenburns .swiper-slide-active .overlay-bg,
	.swiper.kenburns .swiper-slide-active img,
	.swiper.kenburns .swiper-slide-active .slide-ph {
		animation: none;
	}
}
