/* ==========================================================================
   Hizli Haber - Ana stil dosyasi
   Hafif, framework'suz, modern tasarim
   ========================================================================== */

:root {
	--hh-primary: #d62828;
	--hh-primary-dark: #a81f1f;
	--hh-dark: #16181d;
	--hh-text: #22252b;
	--hh-muted: #6b7280;
	--hh-border: #e6e8ec;
	--hh-bg: #f7f8fa;
	--hh-white: #ffffff;
	--hh-radius: 10px;
	--hh-shadow: 0 2px 14px rgba(20, 20, 30, 0.06);
	--hh-container: 1200px;
	--hh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--hh-font);
	color: var(--hh-text);
	background: var(--hh-bg);
	line-height: 1.6;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }

.hh-container {
	max-width: var(--hh-container);
	margin: 0 auto;
	padding: 0 20px;
}

.hh-btn {
	display: inline-block;
	background: var(--hh-primary);
	color: #fff;
	padding: 10px 22px;
	border-radius: 6px;
	font-weight: 600;
	transition: background .15s ease;
}
.hh-btn:hover { background: var(--hh-primary-dark); }

/* ---------------- HEADER ---------------- */
.hh-header { background: var(--hh-white); border-bottom: 1px solid var(--hh-border); transition: transform .25s ease; }
.hh-header.hh-sticky { position: sticky; top: 0; z-index: 500; }
.hh-header-hidden { transform: translateY(-100%); }
.hh-header-scrolled { box-shadow: var(--hh-shadow); }

.hh-topbar { background: var(--hh-dark); color: #cfd2d8; font-size: 13px; }
.hh-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; }
.hh-topbar-menu ul { display: flex; gap: 16px; }
.hh-topbar-menu a:hover { color: #fff; }

.hh-header-main { display: flex; align-items: center; gap: 24px; padding: 16px 20px; }
.hh-header-centered .hh-header-main { flex-direction: column; text-align: center; }
.hh-branding { flex-shrink: 0; }
.hh-site-title { font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: var(--hh-primary); }
.custom-logo { max-height: 60px; width: auto; }

.hh-primary-menu { flex: 1; }
.hh-primary-menu ul#hh-primary-list { display: flex; flex-wrap: wrap; gap: 4px; }
.hh-primary-menu ul#hh-primary-list > li > a {
	display: block; padding: 10px 14px; font-weight: 600; font-size: 15px;
	border-radius: 6px; transition: background .15s ease, color .15s ease;
}
.hh-primary-menu ul#hh-primary-list > li > a:hover,
.hh-primary-menu ul#hh-primary-list > li.current-menu-item > a {
	background: var(--hh-primary); color: #fff;
}
.hh-menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hh-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--hh-text); margin: 5px 0; }

.hh-header-actions { display: flex; align-items: center; gap: 10px; }
.hh-search-toggle { background: var(--hh-bg); border: 1px solid var(--hh-border); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

.hh-search-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: var(--hh-bg); border-top: 1px solid transparent; }
.hh-search-panel.is-open { max-height: 100px; border-top-color: var(--hh-border); }
.hh-search-panel .hh-container { padding: 14px 20px; }
.hh-search-form { display: flex; gap: 8px; }
.hh-search-field { flex: 1; padding: 10px 14px; border: 1px solid var(--hh-border); border-radius: 6px; font-size: 15px; }
.hh-search-submit { padding: 10px 18px; border: 0; background: var(--hh-primary); color: #fff; border-radius: 6px; font-weight: 600; cursor: pointer; }

/* ---------------- SLIDER (kutulu / boxed - tam genislik degil) ---------------- */
.hh-slider-wrap { padding-top: 22px; }
.hh-slider { position: relative; overflow: hidden; background: #000; border-radius: var(--hh-radius); box-shadow: var(--hh-shadow); max-width: 900px; margin: 0 auto; }
.hh-slider-track { display: flex; transition: transform .5s ease; }
.hh-slide { min-width: 100%; position: relative; }
.hh-slide-link { display: block; position: relative; }
.hh-slide-img { width: 100%; height: 340px; object-fit: cover; opacity: .9; }
.hh-slide-placeholder { background: linear-gradient(135deg, #333, #111); height: 340px; }
.hh-slide-caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 30px 20px;
	background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0));
	color: #fff;
}
.hh-slide-cat { display: inline-block; background: var(--hh-primary); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.hh-slide-title { font-size: 22px; font-weight: 800; max-width: 620px; line-height: 1.25; }
.hh-slide-date { opacity: .8; font-size: 12px; }
.hh-slider-nav {
	position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); color: #fff;
	border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 22px; cursor: pointer; z-index: 5;
}
.hh-slider-prev { left: 12px; }
.hh-slider-next { right: 12px; }
.hh-slider-dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 6px; z-index: 5; }
.hh-slider-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hh-slider-dot.is-active { background: var(--hh-primary); width: 18px; border-radius: 4px; }

/* ---------------- PIYASA SERIDI (ticker) ---------------- */
.hh-ticker { background: var(--hh-dark); overflow: hidden; white-space: nowrap; margin-top: 18px; }
.hh-ticker-track { display: inline-flex; animation: hh-ticker-scroll 30s linear infinite; padding: 10px 0; }
.hh-ticker:hover .hh-ticker-track { animation-play-state: paused; }
.hh-ticker-item { display: inline-flex; align-items: center; gap: 6px; color: #dfe1e6; font-size: 13px; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.12); }
.hh-ticker-name { font-weight: 700; color: #fff; }
.hh-ticker-arrow { font-size: 10px; }
.hh-dir-up { color: #2ecc71; }
.hh-dir-down { color: #ff5c5c; }
.hh-ticker-change { color: var(--hh-muted); }
@keyframes hh-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- LAYOUT: ANA SAYFA / ARSIV ---------------- */
.hh-home-layout, .hh-archive-layout, .hh-single-layout, .hh-page-layout {
	display: grid; grid-template-columns: 1fr; gap: 32px; padding: 32px 20px;
}
.has-sidebar { grid-template-columns: minmax(0,1fr) 320px; }
.no-sidebar { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.hh-home-layout.no-sidebar, .hh-archive-layout.no-sidebar { max-width: var(--hh-container); }

.hh-section-title {
	font-size: 20px; font-weight: 800; margin-bottom: 18px; padding-bottom: 10px;
	border-bottom: 3px solid var(--hh-primary); display: inline-block;
}
.hh-home-section { margin-bottom: 40px; }
.hh-home-hint { font-size: 13px; color: var(--hh-muted); font-style: italic; }

/* ---------------- HABER KARTLARI (grid) ---------------- */
.hh-news-list.hh-layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hh-card { background: var(--hh-white); border-radius: var(--hh-radius); overflow: hidden; box-shadow: var(--hh-shadow); transition: transform .15s ease, box-shadow .15s ease; }
.hh-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,20,30,.1); }
.hh-card-thumb img { width: 100%; height: 190px; object-fit: cover; }
.hh-card-body { padding: 16px; }
.hh-card-cat { display: inline-block; color: var(--hh-primary); font-weight: 700; font-size: 12px; text-transform: uppercase; margin-bottom: 8px; }
.hh-card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.hh-card-title a:hover { color: var(--hh-primary); }
.hh-card-excerpt { font-size: 14px; color: var(--hh-muted); margin-bottom: 10px; }
.hh-card-meta { display: flex; gap: 10px; font-size: 12px; color: var(--hh-muted); }

/* ---------------- HABER LISTESI (widget - liste/grid/buyuk) ---------------- */
.hh-news-list.hh-layout-list .hh-news-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hh-border); }
.hh-news-list.hh-layout-list .hh-news-item:last-child { border-bottom: 0; }
.hh-news-thumb img { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; }
.hh-news-body { flex: 1; }
.hh-news-cat { color: var(--hh-primary); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.hh-news-title { font-size: 14.5px; font-weight: 700; margin: 3px 0; }
.hh-news-title a:hover { color: var(--hh-primary); }
.hh-news-meta { font-size: 12px; color: var(--hh-muted); }

.hh-news-list.hh-layout-grid.hh-widget-grid,
.home-section .hh-news-list.hh-layout-grid { grid-template-columns: repeat(3, 1fr); }

/* Sidebar dar oldugu icin grid gorunum tek sutuna duser (gorsel + haber kutusu) */
.hh-sidebar .hh-news-list.hh-layout-grid { grid-template-columns: 1fr; gap: 16px; }
.hh-sidebar .hh-card-thumb img { height: 170px; }

.hh-news-list.hh-layout-big .hh-news-item { margin-bottom: 18px; }
.hh-news-list.hh-layout-big .hh-news-thumb img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--hh-radius); }
.hh-news-list.hh-layout-big .hh-news-title { font-size: 20px; }

/* ---------------- SIDEBAR ---------------- */
.hh-sidebar { align-self: start; }
.hh-widget { background: var(--hh-white); border-radius: var(--hh-radius); padding: 18px; margin-bottom: 22px; box-shadow: var(--hh-shadow); }
.hh-widget-title { font-size: 15px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--hh-primary); }

/* ---------------- KOSE YAZARLARI ---------------- */
.hh-columnists-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hh-columnists-head .hh-widget-title { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.hh-columnists-all { font-size: 12px; font-weight: 700; color: var(--hh-primary); white-space: nowrap; }
.hh-columnists-list { display: flex; flex-direction: column; gap: 4px; }
.hh-columnist-card { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--hh-border); }
.hh-columnist-card:last-child { border-bottom: 0; }
.hh-columnist-avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.hh-columnist-name { display: block; font-weight: 700; font-size: 14px; }
.hh-columnist-latest { display: block; font-size: 12px; color: var(--hh-muted); margin-top: 2px; }
.hh-columnist-card { flex-wrap: wrap; }
.hh-columnist-card .hh-columnist-name, .hh-columnist-card .hh-columnist-latest { flex-basis: calc(100% - 58px); }

/* ---------------- PUAN DURUMU (spor) ---------------- */
.hh-league-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.hh-league-tab { background: var(--hh-bg); border: 1px solid var(--hh-border); border-radius: 4px; padding: 5px 10px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--hh-muted); }
.hh-league-tab.is-active { background: var(--hh-primary); border-color: var(--hh-primary); color: #fff; }
.hh-league-panel { display: none; }
.hh-league-panel.is-active { display: block; }
.hh-league-name { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.hh-league-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.hh-league-table th, .hh-league-table td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--hh-border); }
.hh-league-table th { color: var(--hh-muted); font-weight: 700; font-size: 11px; }
.hh-league-team { text-align: left !important; font-weight: 600; }

/* ---------------- DOVIZ / PIYASA TABLOSU ---------------- */
.hh-currency-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hh-currency-table th, .hh-currency-table td { padding: 8px 4px; text-align: left; border-bottom: 1px solid var(--hh-border); }
.hh-currency-table th { color: var(--hh-muted); font-weight: 700; font-size: 11px; text-transform: uppercase; }
.hh-currency-table td:last-child, .hh-currency-table th:last-child { text-align: right; }

/* ---------------- BURCLAR ---------------- */
.hh-horoscope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hh-horoscope-item { border: 1px solid var(--hh-border); border-radius: 8px; overflow: hidden; }
.hh-horoscope-sign { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; cursor: pointer; list-style: none; text-align: center; }
.hh-horoscope-sign::-webkit-details-marker { display: none; }
.hh-horoscope-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--hh-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hh-horoscope-icon img { width: 100%; height: 100%; object-fit: cover; }
.hh-horoscope-symbol { font-size: 20px; color: var(--hh-primary); }
.hh-horoscope-label { font-size: 11.5px; font-weight: 700; }
.hh-horoscope-reading { padding: 10px 12px 14px; font-size: 12.5px; color: var(--hh-muted); border-top: 1px solid var(--hh-border); }
.hh-horoscope-date { display: block; font-size: 11px; color: var(--hh-primary); font-weight: 700; margin-bottom: 4px; }
.hh-horoscope-item[open] { grid-column: 1 / -1; }
.hh-horoscope-item[open] .hh-horoscope-sign { flex-direction: row; justify-content: flex-start; }

/* ---------------- REKLAM ALANLARI ---------------- */
.hh-ad-wrap { text-align: center; margin: 20px 0; }
.hh-ad-area, .hh-ad-code { display: inline-block; max-width: 100%; }
.hh-ad-label { display: block; font-size: 10px; color: var(--hh-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.hh-ad-banner img { max-width: 100%; border-radius: 6px; }

/* ---------------- TEKIL YAZI ---------------- */
.hh-single-header { margin-bottom: 18px; }
.hh-single-cat { display: inline-block; color: var(--hh-primary); font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.hh-single-title { font-size: 32px; font-weight: 800; line-height: 1.2; }
.hh-single-meta { display: flex; gap: 16px; font-size: 13px; color: var(--hh-muted); flex-wrap: wrap; }
.hh-single-thumb { margin: 20px 0; border-radius: var(--hh-radius); overflow: hidden; }
.hh-single-thumb img { width: 100%; }
.hh-single-content { font-size: 17px; line-height: 1.8; }
.hh-single-content p { margin-bottom: 1.3em; }
.hh-single-content img { border-radius: 8px; margin: 1em 0; }
.hh-single-tags a { display: inline-block; background: var(--hh-bg); border: 1px solid var(--hh-border); padding: 5px 12px; border-radius: 20px; font-size: 12px; margin: 4px 6px 4px 0; }

/* ---------------- YAZAR KUTUSU ---------------- */
.hh-author-box { display: flex; gap: 16px; background: var(--hh-white); border: 1px solid var(--hh-border); border-radius: var(--hh-radius); padding: 20px; margin: 30px 0; }
.hh-author-avatar img { border-radius: 50%; }
.hh-author-name { font-size: 17px; }
.hh-author-title { display: block; color: var(--hh-primary); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.hh-author-bio { font-size: 14px; color: var(--hh-muted); }
.hh-author-social { display: flex; gap: 12px; font-size: 13px; }
.hh-author-social a { color: var(--hh-primary); font-weight: 600; }
.hh-author-archive-header .hh-author-box { margin: 0 0 30px; }

/* ---------------- YORUMLAR ---------------- */
.hh-comments { margin-top: 40px; }
.hh-comments-title { font-size: 18px; font-weight: 800; }
.hh-comment-list li { list-style: none; padding: 16px 0; border-bottom: 1px solid var(--hh-border); }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--hh-border); border-radius: 6px; font-family: inherit; margin-bottom: 10px; }
.comment-form textarea { min-height: 120px; }
.comment-form input[type="submit"] { width: auto; background: var(--hh-primary); color: #fff; border: 0; font-weight: 700; cursor: pointer; padding: 10px 24px; }

/* ---------------- FOOTER ---------------- */
.hh-footer { background: var(--hh-dark); color: #cfd2d8; margin-top: 40px; }
.hh-footer-widgets { display: grid; gap: 24px; padding: 40px 20px; }
.hh-footer-cols-1 { grid-template-columns: 1fr; }
.hh-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hh-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hh-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
.hh-footer-title { color: #fff; font-size: 14px; text-transform: uppercase; margin-bottom: 12px; }
.hh-footer-col a:hover { color: #fff; }
.hh-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; flex-wrap: wrap; gap: 10px; }
.hh-footer-menu ul { display: flex; gap: 16px; }

/* ---------------- 404 ---------------- */
.hh-404-wrap { padding: 80px 20px; text-align: center; }
.hh-404-inner h1 { font-size: 72px; color: var(--hh-primary); }

/* ---------------- PAGINATION ---------------- */
.hh-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.hh-pagination .page-numbers { padding: 8px 14px; background: var(--hh-white); border: 1px solid var(--hh-border); border-radius: 6px; font-size: 14px; }
.hh-pagination .page-numbers.current { background: var(--hh-primary); color: #fff; border-color: var(--hh-primary); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 960px) {
	.has-sidebar { grid-template-columns: 1fr; }
	.hh-news-list.hh-layout-grid { grid-template-columns: repeat(2, 1fr); }
	.hh-footer-cols-4, .hh-footer-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.hh-header-main { flex-wrap: wrap; }
	.hh-menu-toggle { display: block; order: 3; margin-left: auto; }
	.hh-primary-menu { order: 4; flex-basis: 100%; }
	.hh-primary-menu ul#hh-primary-list { display: none; flex-direction: column; }
	.hh-primary-menu ul#hh-primary-list.is-open { display: flex; }
	.hh-news-list.hh-layout-grid { grid-template-columns: 1fr; }
	.hh-slide-title { font-size: 22px; }
	.hh-slide-caption { padding: 24px; }
	.hh-single-title { font-size: 24px; }
	.hh-footer-cols-4, .hh-footer-cols-3, .hh-footer-cols-2 { grid-template-columns: 1fr; }
	.hh-author-box { flex-direction: column; text-align: center; }
	.hh-author-social { justify-content: center; }
}

/* Erisilebilirlik: klavye odagi */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--hh-primary); outline-offset: 2px; }
