/* ===================================================
   NEWS PORTAL - PROFESSIONAL RED THEME
   Bootstrap 5 compatible - Mobile first
   =================================================== */

:root {
  --red:         #d32f2f;
  --red-dark:    #b71c1c;
  --red-light:   #ef5350;
  --dark:        #1a1a2e;
  --dark2:       #16213e;
  --grey:        #f5f5f5;
  --border:      #e0e0e0;
  --text:        #222;
  --text-muted:  #666;
  --white:       #fff;
  /* Overridden at runtime via inline <style> from DB settings */
  --header-bg:      #cc0000;
  --topbar-bg:      #111827;
  --navbar-bg:      #ffffff;
  --nav-text:       #222222;
  --nav-active:     #cc0000;
  --footer-bg:      #1a1a2e;
  --footer-text:    #aaaaaa;
  --site-font:      'Segoe UI', Arial, sans-serif;
}

body { font-family: var(--site-font); }

/* ===================================================
   BOOTSTRAP RESETS & OVERRIDES
   =================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  background: #ebebeb;
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

a { text-decoration: none !important; color: inherit; }
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 0.8rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ===================================================
   TOP INFO BAR
   =================================================== */
.topbar {
  background: var(--topbar-bg);
  color: #ccc;
  font-size: 11px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.topbar-inner {
  display: flex;
  align-items: stretch;
  min-height: 34px;
  max-width: 1280px;
  margin: 0 auto;
}

.topbar-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.topbar-widget {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-right: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  gap: 4px;
  height: 34px;
  font-size: 11px;
  flex-shrink: 0;
}

.topbar-widget .label {
  color: #aaa;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.topbar-widget .value {
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.topbar-widget .change-up   { color: #4caf50; font-size: 10px; }
.topbar-widget .change-down { color: #ef5350; font-size: 10px; }

.topbar-date {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #ccc;
  font-size: 11px;
  border-right: 1px solid rgba(255,255,255,0.08);
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar-right a {
  display: flex;
  align-items: center;
  padding: 0 9px;
  height: 34px;
  color: #ccc;
  font-size: 13px;
  border-left: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s;
}

.topbar-right a:hover { background: rgba(255,255,255,0.06); color: #fff; }

.btn-haber-ekle {
  background: var(--red) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0 12px !important;
}
.btn-haber-ekle:hover { background: var(--red-dark) !important; }

.topbar-wa-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px !important;
  font-size: 11px !important;
  font-weight: 700;
  color: #25d366 !important;
  border-right: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  height: 34px;
}
.topbar-wa-btn:hover { background: rgba(37,211,102,0.12) !important; color: #25d366 !important; }

/* ===================================================
   HEADER (LOGO + SEARCH)
   =================================================== */
.site-header {
  background: var(--header-bg);
  padding: 8px 0;
  border-bottom: none;
  position: relative;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-logo-text-wrap { display: flex; flex-direction: column; }

.site-logo-text {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  text-transform: uppercase;
}

.site-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 360px;
}

.header-search form {
  display: flex;
  width: 100%;
}

.header-search input {
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  padding: 6px 12px;
  font-size: 13px;
  outline: none;
  flex: 1;
  min-width: 0;
  height: 36px;
  border-right: none;
}

.header-search button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 16px;
  height: 36px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}

/* Mobile search toggle button */
.header-search-toggle {
  display: none;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  height: 36px;
  align-items: center;
}

/* ===================================================
   MAIN NAVIGATION
   =================================================== */
.main-nav {
  background: var(--navbar-bg);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
/* white-nav modifier already applied via class in HTML */

.main-nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.main-nav-links {
  display: flex;
  align-items: stretch;
  flex: 1;
  overflow: visible; /* must be visible so dropdown can escape the bar */
}

/* Nav link style — white navbar */
.main-nav-links > a,
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 44px;
  color: var(--nav-text);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  border-right: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none !important;
  background: transparent;
}

/* Home link — always bold, red only when active */
.main-nav-links > a.nav-home-link {
  font-weight: 700;
}
.main-nav-links > a.nav-home-link.active {
  color: var(--nav-active);
  border-bottom-color: var(--nav-active);
}

.main-nav-links > a:hover,
.main-nav-links > a.active,
.nav-dropdown-trigger.active,
.nav-dropdown-trigger:hover {
  color: var(--nav-active);
  background: transparent;
  border-bottom-color: var(--nav-active);
}
.nav-dropdown-wrap.active > .nav-dropdown-trigger {
  color: var(--nav-active);
  border-bottom-color: var(--nav-active);
}
.nav-dropdown-item.active {
  color: var(--nav-active);
  font-weight: 700;
}

/* ---- Dropdown submenu ---- */
.nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-dropdown-trigger {
  gap: 5px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.nav-chevron {
  font-size: 9px;
  transition: transform 0.2s;
  opacity: 0.7;
  flex-shrink: 0;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-top: 3px solid var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 500;
  border-radius: 0 0 6px 6px;
}

.nav-dropdown-wrap:hover > .nav-dropdown { display: block; }
.nav-dropdown-wrap:hover > .nav-dropdown-trigger .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* Dropdown items — completely separate from .main-nav-links > a rules */
.nav-dropdown-item {
  display: block !important;
  padding: 10px 18px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #333 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  height: auto !important;
  line-height: 1.4 !important;
  background: #fff !important;
  border-right: none !important;
  transition: background 0.12s, color 0.12s, padding-left 0.12s !important;
}
.nav-dropdown-item:last-child { border-bottom: none !important; }
.nav-dropdown-item:hover {
  background: #fff5f5 !important;
  color: var(--red) !important;
  padding-left: 24px !important;
}

/* Category sidebar drawer */
.cat-drawer-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 44px;
  color: var(--nav-active);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.cat-drawer-toggle:hover { background: rgba(0,0,0,0.04); }

.cat-drawer-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  z-index: 998;
  animation: fadeInOverlay 0.22s ease;
}
@keyframes fadeInOverlay { from { opacity:0 } to { opacity:1 } }
.cat-drawer-overlay.open { display: block; }

.cat-drawer {
  position: fixed;
  top: 0; left: -300px;
  width: 300px; height: 100%;
  background: #fafafa;
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
  transition: left 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 6px 0 32px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
}
.cat-drawer.open { left: 0; }

/* Head */
.cat-drawer-head {
  background: #cc0000;
  color: #fff;
  padding: 0 16px;
  height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 2;
}
.cat-drawer-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cat-drawer-head-bar {
  display: inline-block;
  width: 3px;
  height: 18px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}
.cat-drawer-close {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  color: #fff;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.cat-drawer-close:hover { background: rgba(255,255,255,0.28); }

/* Nav container */
.cat-drawer-nav {
  padding: 6px 0 24px;
  flex: 1;
}

/* Drawer item */
.cdi {
  border-bottom: 1px solid #ebebeb;
}
.cdi:last-child { border-bottom: none; }

.cdi-row {
  display: flex;
  align-items: stretch;
}
.cdi-link {
  flex: 1;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: color 0.12s, background 0.12s;
  display: flex;
  align-items: center;
}
.cdi-link:hover {
  color: #cc0000;
  background: #fff8f8;
}
.cdi--has-sub .cdi-link {
  border-right: 1px solid #ebebeb;
}
.cdi-arrow {
  color: #ccc;
  font-size: 10px;
  margin: auto 14px auto 0;
  flex-shrink: 0;
}

/* Expand toggle */
.cdi-toggle {
  background: none;
  border: none;
  padding: 0 16px;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  flex-shrink: 0;
}
.cdi-toggle .bi {
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
  display: inline-block;
}
.cdi-toggle:hover { color: #cc0000; }
.cdi-toggle.active { color: #cc0000; }
.cdi-toggle.active .bi { transform: rotate(180deg); }

/* Submenu */
.cdi-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.22,1,0.36,1);
  background: #fff;
}
.cdi-sub.open {
  max-height: 600px;
}
.cdi-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 30px;
  font-size: 12.5px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  border-top: 1px solid #f0f0f0;
  transition: color 0.12s, background 0.12s;
  position: relative;
}
.cdi-sub-link::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #cc0000;
  opacity: 0.5;
  flex-shrink: 0;
}
.cdi-sub-link:hover {
  color: #cc0000;
  background: #fff5f5;
}
.cdi-sub-link:hover::before { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--nav-text);
  font-size: 22px;
  padding: 0 12px;
  cursor: pointer;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-mobile-cats { display: none !important; }

/* ===================================================
   BREAKING BAR
   =================================================== */
.breaking-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: 32px;
  overflow: hidden;
}

.breaking-label {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.breaking-ticker-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.breaking-ticker {
  display: flex;
  gap: 0;
  animation: scroll-ticker 60s linear infinite;
  white-space: nowrap;
}

.breaking-ticker a {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  padding: 0 20px;
  border-right: 1px solid var(--border);
  height: 32px;
  display: flex;
  align-items: center;
}

.breaking-ticker a:hover { color: var(--red); }

@keyframes scroll-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   LOGO CAROUSEL
   =================================================== */
.logo-carousel-wrap {
  background: #fff;
  border-bottom: 2px solid var(--border);
  padding: 5px 0;
  overflow: hidden;
}

.logo-carousel-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  animation: scroll-logos 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.logo-carousel-inner:hover { animation-play-state: paused; }

.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 2px 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fafafa;
  font-size: 10px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo-carousel-section {
  background: #fff;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.logo-carousel-label {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 12px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.logo-item {
  position: relative;
  text-decoration: none !important;
  transition: border-color 0.15s;
}
.logo-item:hover { border-color: var(--red) !important; color: var(--red) !important; }
.logo-item img { height: 22px; width: auto; display: block; }
.logo-item--pdf { border-color: #ffcccc !important; }
.pdf-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  padding: 0 3px;
  border-radius: 2px;
  line-height: 12px;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   LAYOUT WRAPPER
   =================================================== */
.site-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 10px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 10px;
  align-items: start;
}

/* Prevent grid children from overflowing their track */
.content-grid > main,
.content-grid > aside {
  min-width: 0;
}

.content-grid > main {
  overflow: hidden;
}

/* ===================================================
   HERO SLIDER
   =================================================== */
.hero-slider-wrap {
  position: relative;
  background: #000;
  border-radius: 4px;
  margin-bottom: 10px;
  /* No overflow:hidden here — it would clip hero-controls scroll */
}

.hero-slider {
  position: relative;
  width: 100%;
  /* aspect-ratio for modern browsers; padding-bottom fallback via ::before */
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: #000;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 21/9) {
  .hero-slider {
    height: 0;
    padding-bottom: 42%;
  }
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Blurred fill layer — always present, visible only in portrait mode */
.slide-blur-bg {
  position: absolute;
  top: -10%; left: -10%; right: -10%; bottom: -10%;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(.5) saturate(1.3);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 0;
}

/* Main image layer — background-image based for reliable cover/contain */
.slide-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
  transition: background-size .3s;
}

/* SEO-only img: hidden visually, still crawlable */
.slide-seo-img {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
  top: 0; left: 0;
  z-index: -1;
}

/* Portrait mode — JS adds .is-portrait when naturalHeight > naturalWidth * 1.1 */
.hero-slide.is-portrait .slide-blur-bg {
  opacity: 1;
}
.hero-slide.is-portrait .slide-cover-bg {
  background-size: contain;
  background-position: center 10%;
}

.hero-slide-no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 4rem;
}

.hero-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  padding: 40px 16px 14px;
  z-index: 2;
}

.hero-caption .cat-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.hero-caption h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  margin: 0;
}

.hero-caption h2 a { color: #fff; }
.hero-caption h2 a:hover { color: #ffcdd2; }

/* Numbered controls */
.hero-controls {
  display: flex;
  background: var(--dark2);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 4px 4px;
}

.hero-controls::-webkit-scrollbar { display: none; }

.hero-ctrl-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  text-align: left;
  flex-shrink: 0;
  min-width: 110px;
  max-width: 150px;
  transition: background 0.15s;
  white-space: nowrap;
}

.hero-ctrl-btn:hover { background: rgba(255,255,255,0.05); }

.hero-ctrl-btn.active {
  background: var(--red);
  color: #fff;
}

.hero-ctrl-btn .ctrl-num {
  font-size: 18px;
  font-weight: 900;
  opacity: 0.5;
  flex-shrink: 0;
  line-height: 1;
}

.hero-ctrl-btn.active .ctrl-num { opacity: 1; }

.hero-ctrl-btn .ctrl-title {
  font-size: 11px;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: left;
  white-space: normal;
}

/* ===================================================
   SECTION HEADERS
   =================================================== */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
}

.section-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-head-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-head-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-head-more {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
}

.section-head-more:hover { text-decoration: underline !important; }

/* ===================================================
   NEWS CARDS
   =================================================== */
.news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center top;  /* favour top content — faces/headlines */
  display: block;
}

.news-card-body {
  padding: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-cat-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1px 6px;
  border-radius: 2px;
  margin-bottom: 4px;
}

.news-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--red); }

.news-card-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================================================
   OVERLAY CARD (nc-ov) — photo fills card, red gradient left, text bottom
   =================================================== */
.nc-ov {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
}
.nc-ov-link {
  display: block;
  text-decoration: none;
}
.nc-ov-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.nc-ov:hover .nc-ov-img { transform: scale(1.04); }
.nc-ov-grad {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to right,
    rgba(140,0,0,.55) 0%,
    rgba(100,0,0,.32) 35%,
    rgba(0,0,0,.10) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}
.nc-ov-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
  z-index: 2;
}
.nc-ov-cat {
  display: inline-block;
  background: rgba(204,0,0,.85);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .4px;
  align-self: flex-start;
  margin-bottom: 2px;
}
.nc-ov-title {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.nc-ov-meta {
  color: rgba(255,255,255,.7);
  font-size: 10px;
}
.nc-ov-meta i { margin-right: 3px; }
.nc-ov-big .nc-ov-img { height: 320px; }
.nc-ov-big .nc-ov-title { font-size: 16px; -webkit-line-clamp: 4; }
/* Cover images (GD-generated branded images): contain so text isn't cropped */
.nc-ov-img.nc-ov-cover {
  object-fit: contain;
  background: #111;
}
.nc-ov:hover .nc-ov-img.nc-ov-cover { transform: none; }
@media (max-width: 575px) {
  .nc-ov-img { height: 190px; }
  .nc-ov-big .nc-ov-img { height: 210px; }
  .nc-ov-title { font-size: 13px; -webkit-line-clamp: 2; }
}

/* ── Sidebar News Row — Editorial horizontal card ── */
.news-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0ece8;
  transition: background .15s;
}
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: #faf9f7; }

.news-row-img {
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 2px;
  filter: brightness(.97);
  transition: filter .2s;
}
.news-row:hover .news-row-img { filter: brightness(1.02); }

.news-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-row-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  letter-spacing: -.01em;
}
.news-row-title a { color: inherit; text-decoration: none; }
.news-row-title a:hover { color: var(--red); }

.news-row-meta {
  font-size: 10px;
  color: #a09888;
  letter-spacing: .2px;
}

/* Grid layouts */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.news-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

/* Featured big + small combo */
.news-combo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.news-combo-big { grid-row: span 2; }

/* ===================================================
   CONTENT BLOCK
   =================================================== */
.content-block {
  background: #fff;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

/* ===================================================
   SIDEBAR — Editorial Redesign
   =================================================== */
aside { min-width: 0; }

.sidebar-mobile-grid { display: block; }

/* ── Widget shell ── */
.sidebar-widget {
  background: #fff;
  border: 1px solid #ebe8e3;
  border-top: none;
  margin-bottom: 20px;
  overflow: hidden;
}

/* ── Widget header: white + left red bar + uppercase label ── */
.sidebar-widget-head {
  background: #fff;
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 11px 14px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--red);
  border-bottom: 1px solid #ebe8e3;
  line-height: 1;
}
.sidebar-widget-head i {
  color: var(--red);
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Widget body ── */
.sidebar-widget-body {
  padding: 10px 14px;
}

/* ── Most-read list ── */
.most-read-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: sidebar-rank;
}

.most-read-list li {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 9px 0;
  border-bottom: 1px solid #f3efe9;
  counter-increment: sidebar-rank;
}
.most-read-list li:last-child { border-bottom: none; }

/* Large typographic number */
.most-read-num {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: .85;
  color: var(--red);
  opacity: .18;
  flex-shrink: 0;
  min-width: 36px;
  letter-spacing: -2px;
  font-feature-settings: "tnum";
  transition: opacity .2s;
}
.most-read-list li:hover .most-read-num { opacity: .35; }

.most-read-title {
  flex: 1;
  min-width: 0;
  padding-top: 3px;
}
.most-read-title a {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -.01em;
  transition: color .15s;
}
.most-read-title a:hover { color: var(--red); }

/* ── Category list — newspaper section index ── */
.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-list li {
  border-bottom: 1px solid #f3efe9;
}
.cat-list li:last-child { border-bottom: none; }

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 2px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color .15s, padding-left .15s;
  letter-spacing: .1px;
}
.cat-list a::after {
  content: '›';
  color: #ccc;
  font-size: 14px;
  transition: color .15s, transform .15s;
  flex-shrink: 0;
}
.cat-list a:hover {
  color: var(--red);
  padding-left: 4px;
}
.cat-list a:hover::after { color: var(--red); }

/* ===================================================
   DETAIL PAGE
   =================================================== */
.news-detail-wrap {
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 10px;
}

.news-detail-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 10px;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  align-items: center;
}

.news-content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.news-content p { margin-bottom: 1rem; }
.news-content img { max-width: 100%; border-radius: 4px; margin: 8px 0; }
.news-content h2, .news-content h3 { color: var(--dark); margin: 1.4rem 0 0.7rem; font-size: 1.15rem; }

.news-summary-box {
  border-left: 4px solid var(--red);
  background: #fff8f8;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  line-height: 1.6;
  margin-bottom: 14px;
  border-radius: 0 4px 4px 0;
}

/* ===================================================
   PAGINATION
   =================================================== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.15s;
}

.page-btn:hover, .page-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 16px;
  padding: 24px 0 0;
  font-size: 12px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-brand { font-size: 1.4rem; font-weight: 900; color: var(--red); margin-bottom: 6px; }
.footer-logo-link { display: inline-block; }
.footer-slogan { font-size: 11px; color: #666; }

.footer-col h6 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: #999;
  font-size: 12px;
  padding: 3px 0;
}

.footer-col a:hover { color: var(--red); }

.footer-newsletter input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 7px 10px;
  border-radius: 4px 4px 0 0;
  font-size: 12px;
  outline: none;
}

.footer-newsletter button {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 7px;
  border-radius: 0 0 4px 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #aaa;
  transition: background 0.15s;
}

.footer-social a:hover { background: var(--red); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 12px 0;
  text-align: center;
  font-size: 11px;
  color: #555;
}

/* ===================================================
   UTILITY
   =================================================== */
.bg-section { background: var(--grey); padding: 10px; border-radius: 4px; margin-bottom: 10px; }
.text-red { color: var(--red); }
.fw-800 { font-weight: 800; }

/* Bootstrap badge/btn integration */
.badge { font-weight: 700; }
.news-cat-badge { display: inline-block; }

/* ===================================================
   GLOBAL PUBLIC BUTTON SYSTEM
   =================================================== */
.btn-pub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .12s;
  white-space: nowrap;
  line-height: 1;
}
.btn-pub:hover  { transform: translateY(-1px); text-decoration: none; }
.btn-pub:active { transform: none; }

/* Sizes */
.btn-pub-sm  { padding: 6px 14px; font-size: 12px; border-radius: 7px; }
.btn-pub-lg  { padding: 12px 28px; font-size: 14px; border-radius: 10px; }
.btn-pub-full { width: 100%; }

/* Red solid */
.btn-pub-red {
  background: var(--red);
  color: #fff !important;
  border-color: var(--red);
  box-shadow: 0 2px 8px rgba(204,0,0,.2);
}
.btn-pub-red:hover {
  background: var(--red-dark, #a30000);
  border-color: var(--red-dark, #a30000);
  box-shadow: 0 4px 16px rgba(204,0,0,.35);
}

/* Red ghost / outline */
.btn-pub-ghost {
  background: transparent;
  color: var(--red) !important;
  border-color: var(--red);
}
.btn-pub-ghost:hover {
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(204,0,0,.2);
}

/* Light / neutral */
.btn-pub-light {
  background: #f4f4f6;
  color: #444 !important;
  border-color: #e0e0e0;
}
.btn-pub-light:hover {
  background: #e8e8ec;
  border-color: #ccc;
}

/* Dark */
.btn-pub-dark {
  background: #1a1a1a;
  color: #fff !important;
  border-color: #1a1a1a;
}
.btn-pub-dark:hover {
  background: #333;
  border-color: #333;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* Comment form button */
.btn-comment-submit {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .18s, box-shadow .18s, transform .12s;
  letter-spacing: .2px;
}
.btn-comment-submit:hover {
  background: var(--red-dark, #a30000);
  box-shadow: 0 4px 14px rgba(204,0,0,.3);
  transform: translateY(-1px);
}
.btn-comment-submit:active { transform: none; }

/* Share pills — improved */
.share-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.share-strip-label { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.share-strip-btns  { display: flex; gap: 8px; flex-wrap: wrap; }
.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all .18s;
  letter-spacing: .2px;
}
.share-pill:hover { transform: translateY(-2px); text-decoration: none; }
.share-pill-fb {
  background: #1877f2;
  color: #fff !important;
  border-color: #1877f2;
}
.share-pill-fb:hover { background: #1557b0; border-color: #1557b0; box-shadow: 0 4px 12px rgba(24,119,242,.35); }
.share-pill-x {
  background: #000;
  color: #fff !important;
  border-color: #000;
}
.share-pill-x:hover { background: #222; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.share-pill-wa {
  background: #25d366;
  color: #fff !important;
  border-color: #25d366;
}
.share-pill-wa:hover { background: #1ea952; border-color: #1ea952; box-shadow: 0 4px 12px rgba(37,211,102,.35); }

/* Comment card redesign */
.comment-item {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.comment-item-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.comment-item-body { flex: 1; min-width: 0; }
.comment-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.comment-item-name { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.comment-item-date { font-size: 11px; color: #bbb; }
.comment-item-text { font-size: 13px; color: #444; line-height: 1.6; margin: 0; }

/* Comment form redesign */
.comment-form-wrap {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 8px;
}
.comment-form-title {
  font-size: 14px; font-weight: 800; color: #1a1a1a;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 7px;
}
.comment-form-title i { color: var(--red); }
.comment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.comment-form-field {
  display: flex; flex-direction: column; gap: 0;
}
.comment-form-input {
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #1a1a1a;
  outline: none;
  background: #fafafa;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.comment-form-input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(204,0,0,.08);
}
.comment-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #166534;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.comment-error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #991b1b;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}

@media (max-width: 576px) {
  .comment-form-grid { grid-template-columns: 1fr; }
}

/* Section bar used in news-detail (Bootstrap bg-danger span) */
.section-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  flex-shrink: 0;
}
.section-header {
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

/* Prevent Bootstrap from affecting our specific layout elements */
.topbar, .site-header, .main-nav, .breaking-bar,
.logo-carousel-wrap, .site-wrapper, .site-footer {
  box-sizing: border-box;
}

/* Bootstrap link color reset for our nav and topbar */
.main-nav a, .topbar a, .topbar a:hover { text-decoration: none !important; }
.main-nav a:hover { color: #fff; }

/* Bootstrap form-control inside header search */
.header-search input:focus { outline: none; box-shadow: none; }

/* Bootstrap table margin reset */
.table { margin-bottom: 0; }

/* Bootstrap breadcrumb in news-detail */
.breadcrumb { background: transparent; padding: 0; margin: 0 0 12px; }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ===================================================
   RESPONSIVE - TABLET (max 1024px)
   =================================================== */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-ctrl-btn { min-width: 100px; }
}

/* ===================================================
   RESPONSIVE - SMALL TABLET (max 768px)
   =================================================== */
@media (max-width: 768px) {

  /* Layout: sidebar goes below content */
  .content-grid {
    grid-template-columns: 1fr;
  }

  /* Show sidebar on mobile (below content) */
  aside {
    display: block !important;
  }

  /* Sidebar: 2-column grid on tablet */
  .sidebar-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Hero — wider aspect on tablet */
  .hero-slider { aspect-ratio: 2/1; padding-bottom: 0; height: auto; }
  .hero-caption { padding: 30px 12px 12px; }
  .hero-caption h2 { font-size: 1rem; }
  .hero-ctrl-btn { min-width: 80px; max-width: 120px; padding: 6px 8px; }
  .hero-ctrl-btn .ctrl-num { font-size: 14px; }

  /* News card images: fix height on tablet */
  .news-card-img { aspect-ratio: 16/9; height: auto; }

  /* Navbar - hamburger mode */
  .nav-toggle { display: flex; }
  /* Hide cat-drawer-toggle on tablet/mobile to avoid double icon row */
  .cat-drawer-toggle { display: none; }
  /* Show kategoriler link inside mobile dropdown */
  .nav-mobile-cats { display: flex !important; }

  .main-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 400;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    overflow: visible;
    border-top: 2px solid var(--border);
  }

  .main-nav-links.open {
    display: flex;
  }

  .main-nav-links a {
    height: 44px;
    border-right: none;
    border-bottom: 1px solid var(--border) !important;
    color: var(--nav-text) !important;
    font-size: 13px;
    width: 100%;
    padding: 0 16px;
  }

  /* Dropdown in mobile: full-width column, tap to open */
  .nav-dropdown-wrap {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-dropdown-trigger {
    height: 44px;
    border-right: none;
    border-bottom: none !important;
    font-size: 13px;
    width: 100%;
    padding: 0 16px;
    justify-content: space-between;
    background: transparent !important;
    color: var(--nav-text) !important;
  }
  .nav-dropdown-trigger:hover { background: rgba(0,0,0,0.04) !important; }
  /* Disable CSS :hover dropdown on mobile — JS .open class handles it */
  .nav-dropdown-wrap:hover > .nav-dropdown { display: none; }
  .nav-dropdown-wrap:hover > .nav-dropdown-trigger .nav-chevron { transform: none; opacity: 0.7; }
  /* JS-toggled open state */
  .nav-dropdown-wrap.open > .nav-dropdown { display: block; }
  .nav-dropdown-wrap.open > .nav-dropdown-trigger .nav-chevron { transform: rotate(180deg); opacity: 1; }
  /* Dropdown panel in mobile: stays in flow, light background */
  .nav-dropdown {
    position: static !important;
    box-shadow: none !important;
    border-top: 1px solid var(--border) !important;
    border-radius: 0 !important;
    background: #fafafa !important;
    min-width: unset !important;
  }
  .nav-dropdown-item {
    background: transparent !important;
    color: #555 !important;
    border-bottom: 1px solid #eee !important;
    border-right: none !important;
    padding: 10px 16px 10px 28px !important;
    font-size: 12px !important;
  }
  .nav-dropdown-item::before { content: '›  '; opacity: 0.4; }
  .nav-dropdown-item:hover {
    background: #fff5f5 !important;
    color: var(--nav-active) !important;
    padding-left: 34px !important;
  }

  .main-nav-links > a {
    height: 44px;
    border-right: none;
    border-bottom: 1px solid var(--border) !important;
    color: var(--nav-text) !important;
    font-size: 13px;
    width: 100%;
    padding: 0 16px;
  }
  .main-nav-links > a.nav-home-link {
    color: var(--nav-active) !important;
    font-weight: 700;
    background: #fff5f5;
    border-bottom: none !important;
  }

  /* Header */
  .site-logo-text { font-size: 1.5rem; }
  .site-logo-sub  { display: none; }
  .top-action-nav { display: none; }

  /* Topbar: hide currency on tablet */
  .topbar-widget:nth-child(n+3) { display: none; }
  .btn-haber-ekle { display: none; }

  /* News grids */
  .news-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .news-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* News combo */
  .news-combo { grid-template-columns: 1fr; }
  .news-combo-big { grid-row: span 1; }

  /* Wrapper padding */
  .site-wrapper { padding: 8px 8px 0; }
}

/* ===================================================
   RESPONSIVE - MOBILE (max 576px)
   =================================================== */
@media (max-width: 576px) {

  /* Site wrapper: full-bleed feel */
  .site-wrapper { padding: 6px 6px 0; }

  /* Topbar: only date on left, minimal right */
  .topbar-widget { display: none; }
  .topbar-date {
    font-size: 10px;
    padding: 0 8px;
  }
  .topbar-right a { padding: 0 7px; font-size: 12px; }
  .topbar-right a.btn-haber-ekle { display: none; }
  /* WhatsApp button: icon only on small screens */
  .topbar-wa-btn .wa-text { display: none; }
  .topbar-wa-btn { padding: 0 8px !important; }

  /* Header: compact */
  .site-header { padding: 6px 0; }
  .site-header-inner { gap: 8px; padding: 0 8px; }
  .site-logo-text { font-size: 1.3rem; letter-spacing: -1px; }

  /* Search: icon only on mobile, expand on click */
  .header-search { display: none; }
  .header-search.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 250; padding: 8px; background: #fff; border-bottom: 2px solid var(--red); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
  .header-search-toggle { display: flex; }

  /* Breaking bar: smaller */
  .breaking-label { font-size: 9px; padding: 0 8px; }
  .breaking-ticker a { font-size: 11px; padding: 0 14px; }

  /* Logo carousel: hide on mobile entirely including label */
  .logo-carousel-wrap { display: none; }
  .logo-carousel-section { display: none; }

  /* Hero — 16:9 on mobile */
  .hero-slider { aspect-ratio: 16/9; padding-bottom: 0; height: auto; }
  .hero-caption { padding: 20px 10px 8px; }
  .hero-caption h2 { font-size: 0.88rem; }
  .hero-caption .cat-badge { font-size: 9px; padding: 1px 6px; }
  .hero-ctrl-btn { min-width: 70px; max-width: 100px; padding: 4px 6px; }
  .hero-ctrl-btn .ctrl-title { font-size: 10px; }
  .hero-ctrl-btn .ctrl-num { font-size: 13px; }

  /* News card images: consistent 16:9 on mobile */
  .news-card-img { aspect-ratio: 16/9; height: auto; max-height: 220px; }

  /* News grids: single column */
  .news-grid-3,
  .news-grid-4,
  .news-grid-2 { grid-template-columns: 1fr; }

  /* News rows: smaller image */
  .news-row-img { width: 80px; height: 62px; }

  /* Sidebar: full width, single col */
  .sidebar-mobile-grid { grid-template-columns: 1fr; }

  /* Content blocks */
  .content-block { padding: 8px; margin-bottom: 8px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { padding: 16px 0 0; }
}

/* ===================================================
   RESPONSIVE - SMALL MOBILE (max 400px)
   =================================================== */
@media (max-width: 400px) {
  .hero-caption h2 { font-size: 0.82rem; }
  .hero-ctrl-btn { min-width: 60px; max-width: 90px; }
  .news-row-img { width: 70px; height: 56px; }
  .site-logo-text { font-size: 1.1rem; }
  .topbar-date { font-size: 9px; }
  .manset-title { font-size: 12px; }
  .section-head-title { font-size: 12px; }
  .content-block { padding: 6px; }
}

/* ===================================================
   MANSET GRID
   =================================================== */
.manset-block { margin-bottom: 16px; }

.manset-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 8px;
  align-items: stretch;
}

.manset-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Main item: spans 2 rows, image fills all available space */
.manset-main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.manset-main .manset-img-link {
  flex: 1;        /* grow to fill remaining height in the flex column */
  min-height: 180px;
  position: relative;
  overflow: hidden;
  display: block;
}

.manset-main .manset-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s;
}

.manset-main .manset-img-link:hover .manset-img { transform: scale(1.03); }

/* Sub items: column 2, normal aspect-ratio image */
.manset-sub {
  grid-column: 2;
}

.manset-sub .manset-img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}

.manset-sub .manset-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s;
}

.manset-sub .manset-img-link:hover .manset-img { transform: scale(1.03); }

.manset-body {
  padding: 8px 10px;
  flex-shrink: 0;
}

.manset-title {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.manset-main .manset-title { font-size: 16px; }
.manset-title a { color: #111; text-decoration: none; }
.manset-title a:hover { color: var(--red); }
.manset-summary { font-size: 12px; color: #666; line-height: 1.5; }

/* Tablet: 2 col equal, no row-span */
@media (max-width: 768px) {
  .manset-grid { grid-template-columns: 1fr 1fr; }
  .manset-main { grid-column: auto; grid-row: auto; }
  .manset-sub  { grid-column: auto; }
  .manset-main .manset-title { font-size: 13px; }
  /* img-link: stop flex-growing, define height via aspect-ratio */
  .manset-main .manset-img-link {
    flex: none;
    min-height: unset;
    aspect-ratio: 16/9;
    /* img inside remains position:absolute filling this box */
  }
}

/* Mobile: single column stack */
@media (max-width: 480px) {
  .manset-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   AD ZONE
   =================================================== */
.ad-zone { margin-bottom: 12px; }
.ad-block img { border-radius: 4px; }

/* ===================================================
   FOOTER MANSET BAR
   =================================================== */
.footer-manset-bar {
  background: #1a1a2e;
  border-top: 3px solid var(--red);
  padding: 14px 0;
}
.footer-manset-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.footer-manset-label {
  flex-shrink: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--red);
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  align-self: center;
}
.footer-manset-list {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.footer-manset-list::-webkit-scrollbar { display: none; }
.footer-manset-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: 220px;
  text-decoration: none;
  color: #ccc;
  transition: color .15s;
}
.footer-manset-item:hover { color: #fff; }
.fmi-img {
  flex-shrink: 0;
  width: 60px;
  height: 44px;
  border-radius: 3px;
  overflow: hidden;
  background: #333;
}
.fmi-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.fmi-title {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 576px) {
  .footer-manset-inner { flex-direction: column; gap: 10px; }
  .footer-manset-list { flex-wrap: wrap; }
  .footer-manset-item { max-width: 48%; }
}

/* ===================================================
   CATEGORY NAV BAR (second menu)
   =================================================== */
.cat-nav {
  background: #fff;
  border-bottom: 2px solid #e8e8e8;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 12px;
  white-space: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}
.cat-nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.cat-nav-link:hover,
.cat-nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ===================================================
   TOPBAR EZAN BUTTON
   =================================================== */
.topbar-ezan {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: #e8c56a;
  height: 34px;
  border-left: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.topbar-ezan:hover { color: #f5d87a; }

/* ===================================================
   FOCAL POINT PICKER
   =================================================== */
.focal-picker-wrap {
  position: relative;
  display: inline-block;
  cursor: crosshair;
  user-select: none;
}
.focal-picker-wrap img {
  display: block;
  width: 100%;
  border-radius: 4px;
}
.focal-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(204,0,0,0.8);
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left 0.1s, top 0.1s;
}
.news-thumb[data-fx][data-fy] {
  object-position: attr(data-fx) attr(data-fy);
}

/* ===================================================
   NEW TOPBAR WIDGETS (T18 redesign)
   =================================================== */
.topbar-breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 10px;
  height: 34px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.topbar-breaking-text {
  font-size: 12px;
  font-weight: 600;
  color: #eee;
  padding: 0 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 340px;
}
.topbar-date--right { border-left: 1px solid rgba(255,255,255,0.1); }
.topbar-weather { gap: 4px; color: #e8d46a; }
.topbar-weather i { font-size: 13px; }
.topbar-widget-label { color: #aaa; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.topbar-widget-val   { color: #fff; font-weight: 700; font-size: 12px; }
.topbar-chg-up       { color: #4caf50; font-size: 10px; }
.topbar-chg-down     { color: #ef5350; font-size: 10px; }
.topbar-prayer-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 0 10px; font-size: 11px; font-weight: 700; color: #e8c56a;
  height: 34px; border: none; background: none; cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.topbar-prayer-btn:hover { color: #f5d87a; }
.topbar-hide-lg { display: flex; }
.topbar-hide-md { display: flex; }
.topbar-hide-sm { display: flex; }
@media (max-width: 1024px) { .topbar-hide-lg { display: none !important; } }
@media (max-width: 768px)  { .topbar-hide-md { display: none !important; } }
@media (max-width: 576px)  { .topbar-hide-sm { display: none !important; } }

/* ===================================================
   SITE HEADER (T18) — red background
   =================================================== */
.site-header-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px; max-width: 1280px; margin: 0 auto; min-height: 58px; flex-wrap: nowrap;
}
.site-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.site-logo-img { max-height: 44px; width: auto; }
.site-logo-text-wrap { display: flex; flex-direction: column; }
.mega-menu-toggle {
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; flex-shrink: 0; transition: background 0.15s;
}
.mega-menu-toggle:hover { background: rgba(255,255,255,0.22); }
.top-action-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow: hidden; }
.top-action-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9);
  text-decoration: none; border-radius: 4px; white-space: nowrap;
  transition: background 0.15s; letter-spacing: 0.2px;
}
.top-action-link:hover { background: rgba(255,255,255,0.15); color: #fff; }
.top-action-link i { font-size: 13px; }
.header-icons { display: flex; align-items: center; gap: 2px; flex-shrink: 0; margin-left: auto; }
.header-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  width: 38px; height: 38px; border-radius: 6px; background: rgba(255,255,255,0.12);
  border: none; color: #fff; font-size: 15px; cursor: pointer;
  text-decoration: none; transition: background 0.15s; flex-shrink: 0; position: relative;
}
.header-icon-btn:hover { background: rgba(255,255,255,0.22); color: #fff; }
.header-notif-badge {
  position: absolute; top: 4px; right: 3px; background: #ff9800; color: #fff;
  font-size: 9px; font-weight: 800; border-radius: 10px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px; line-height: 1;
}
.header-panel-btn, .header-ihbar-btn {
  width: auto; padding: 0 14px; gap: 6px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.6px; border-radius: 20px; text-transform: uppercase;
}
.header-icon-label { font-size: 11px; font-weight: 800; letter-spacing: 0.3px; }
/* Panel button: white pill */
.header-panel-btn {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  color: #fff !important;
}
.header-panel-btn:hover { background: rgba(255,255,255,0.28) !important; }
/* Ihbar / WA button: solid red-dark pill */
.header-ihbar-btn {
  background: rgba(0,0,0,0.25) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  position: relative; overflow: hidden;
}
.header-ihbar-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(255,255,255,0.08),transparent);
  pointer-events: none;
}
.header-ihbar-btn:hover { background: rgba(0,0,0,0.45) !important; }
.header-premium-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 36px;
  border-radius: 20px; background: #fff; color: var(--red); font-size: 12px; font-weight: 800;
  letter-spacing: 0.3px; text-decoration: none; white-space: nowrap;
  transition: box-shadow 0.15s; flex-shrink: 0;
}
.header-premium-btn:hover { background: #ffe8e8; }
.header-search-drop {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 3px solid var(--red);
  box-shadow: 0 12px 32px rgba(0,0,0,.18); z-index: 600;
}
.header-search-drop.open { display: block; animation: searchSlideIn .18s ease; }
@keyframes searchSlideIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.header-search-drop-inner { max-width: 1280px; margin: 0 auto; padding: 18px 20px 16px; }

.header-search-form {
  display: flex; align-items: center; width: 100%;
  background: #f7f7f9; border: 2px solid #e5e5ea; border-radius: 10px;
  overflow: hidden; transition: border-color .18s;
}
.header-search-form:focus-within { border-color: var(--red); background: #fff; }
.header-search-form-icon {
  padding: 0 10px 0 14px; font-size: 16px; color: #aaa; pointer-events: none;
}
.header-search-form input {
  flex: 1; border: none; background: transparent;
  padding: 11px 4px; font-size: 15px; color: #1a1a1a; outline: none;
}
.header-search-form input::placeholder { color: #aaa; }
.header-search-form button {
  background: var(--red); color: #fff; border: none;
  padding: 0 20px; height: 44px; border-radius: 0 8px 8px 0;
  cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  transition: background .15s;
}
.header-search-form button:hover { background: var(--red-dark,#a30000); }

/* Kesfet section */
.header-search-kesfet { margin-top: 14px; display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.kesfet-label {
  font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase;
  letter-spacing: .6px; white-space: nowrap; padding-top: 5px;
  display: flex; align-items: center; gap: 4px;
}
.kesfet-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.kesfet-tag {
  display: inline-block; padding: 4px 12px; font-size: 12px; font-weight: 600;
  background: #f1f1f3; color: #444; border-radius: 20px; text-decoration: none;
  transition: background .15s, color .15s;
}
.kesfet-tag:hover { background: var(--red); color: #fff; }

/* ===================================================
   MEGA MENU (T18)
   =================================================== */
.mega-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--header-bg); border-top: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35); z-index: 599; max-height: 70vh; overflow-y: auto;
}
.mega-menu.open { display: block; }
.mega-menu-inner {
  max-width: 1280px; margin: 0 auto; padding: 24px 16px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px 24px;
}
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-col-head {
  font-size: 12px; font-weight: 800; color: #fff; text-transform: uppercase;
  letter-spacing: 0.8px; margin-bottom: 6px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.2); text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}
.mega-col-head:hover { color: #ffcdd2; }
.mega-col-link {
  font-size: 13px; color: rgba(255,255,255,0.82); text-decoration: none;
  padding: 4px 0; transition: color 0.12s, padding-left 0.12s; display: block;
}
.mega-col-link:hover { color: #fff; padding-left: 6px; }
@media (max-width: 576px) {
  .mega-menu-inner { grid-template-columns: 1fr 1fr; padding: 16px 12px; }
}

/* ===================================================
   WHITE NAV EXTRAS (T18)
   =================================================== */
.nav-right { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; padding-right: 8px; }
.nav-darkmode-btn {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--nav-text); cursor: pointer; transition: background 0.15s;
}
.nav-darkmode-btn:hover { background: #f5f5f5; color: var(--nav-active); }
.header-search     { display: none !important; }
.header-search-toggle { display: none !important; }

/* ===================================================
   DARK MODE
   =================================================== */
html.dark-mode {
  --navbar-bg:  #1e1e2e; --nav-text: #ccc; --nav-active: #ef5350;
  --border: #333; --grey: #1a1a2a; --text: #e0e0e0; --text-muted: #999;
}
html.dark-mode body        { background: #131320; color: #e0e0e0; }
html.dark-mode .news-card,
html.dark-mode .content-block { background: #1e1e2e; }
html.dark-mode .news-card-title a { color: #e0e0e0; }
html.dark-mode .nav-dropdown { background: #1e1e2e !important; }
html.dark-mode .nav-dropdown-item { color: #ccc !important; background: #1e1e2e !important; border-color: #333 !important; }
html.dark-mode .cat-drawer        { background: #1a1a2a; }
html.dark-mode .cdi               { border-color: #2e2e3e; }
html.dark-mode .cdi-link          { color: #ddd; }
html.dark-mode .cdi-link:hover    { color: #ff4444; background: #22001a; }
html.dark-mode .cdi--has-sub .cdi-link { border-color: #2e2e3e; }
html.dark-mode .cdi-toggle        { color: #666; }
html.dark-mode .cdi-toggle:hover,
html.dark-mode .cdi-toggle.active { color: #ff4444; }
html.dark-mode .cdi-sub           { background: #12121e; }
html.dark-mode .cdi-sub-link      { color: #aaa; border-color: #2a2a3a; }
html.dark-mode .cdi-sub-link:hover { color: #ff4444; background: #1a0010; }
html.dark-mode .header-search-drop { background: #1e1e2e; }
html.dark-mode .header-search-form input { background: #2a2a3e; border-color: #444; color: #eee; }
html.dark-mode .site-footer  { background: #0e0e1a; }

/* ===================================================
   RESPONSIVE — header on mobile (T18)
   =================================================== */
@media (max-width: 768px) {
  .top-action-nav     { display: none; }
  .header-icon-label  { display: none; }
  .header-panel-btn,
  .header-ihbar-btn   { width: 38px; padding: 0; gap: 0; border-radius: 8px; }
  .header-premium-btn span { display: none; }
  .header-premium-btn { width: 38px; padding: 0; gap: 0; border-radius: 6px; }
  .site-header-inner  { min-height: 52px; gap: 6px; padding: 0 8px; }
}
@media (max-width: 480px) {
  .site-logo-text { font-size: 1.2rem; letter-spacing: -1px; }
  .mega-menu-toggle { width: 32px; height: 32px; font-size: 14px; }
}

/* ===================================================
   BOOTSTRAP PAGINATION — Red Theme Override
   =================================================== */
.pagination .page-link {
  color: #cc0000;
  border-color: #e5e5e5;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pagination .page-link:hover,
.pagination .page-link:focus {
  background: #cc0000;
  border-color: #cc0000;
  color: #fff;
  box-shadow: none;
}
.pagination .page-item.active .page-link {
  background: #cc0000;
  border-color: #cc0000;
  color: #fff;
}
.pagination .page-item.disabled .page-link { color: #bbb; }

/* ===================================================
   SHARE STRIP — Professional Social Share Buttons
   Frontend-Design Skill: Editorial Red Theme
   =================================================== */
.share-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin: 16px 0 4px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.share-strip-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #999;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.share-strip-label .bi { color: #cc0000; font-size: 12px; }
.share-strip-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Base pill */
.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s, opacity 0.15s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.share-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.15s;
}
.share-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.share-pill:hover::after { background: rgba(255,255,255,0.08); }
.share-pill:active { transform: translateY(0); box-shadow: none; }
.share-pill .bi { font-size: 14px; line-height: 1; }

/* Facebook — deep red-maroon  */
.share-pill-fb {
  background: linear-gradient(135deg, #a10000 0%, #cc0000 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(170,0,0,0.25);
}
/* X / Twitter — near-black */
.share-pill-x {
  background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
/* WhatsApp — dark crimson (no green!) */
.share-pill-wa {
  background: linear-gradient(135deg, #7a0000 0%, #bb0000 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(120,0,0,0.25);
}

@media (max-width: 480px) {
  .share-pill span { display: none; }
  .share-pill { padding: 9px 14px; border-radius: 50%; gap: 0; }
  .share-pill .bi { font-size: 15px; }
  .share-strip { gap: 10px; }
}

/* ===================================================
   ICON DOUBLE-RENDER FIX
   Prevent any pseudo-element from duplicating bi icons
   =================================================== */
.bi::before { box-sizing: content-box; }
.cat-drawer-toggle .bi + .bi,
.nav-dropdown-trigger .bi + .bi { display: none; }

/* ============================================================
   YAZARLAR — Authors Block & Sidebar Widget
   Editorial newspaper aesthetic · Red accent system
   ============================================================ */

/* ── Shared token layer ───────────────────────────────────── */
.authors-block,
.sw-authors {
  --au-red:        #cc0000;
  --au-red-dark:   #a50000;
  --au-red-glow:   rgba(204, 0, 0, .18);
  --au-border:     #ececec;
  --au-card-bg:    #ffffff;
  --au-shadow:     0 1px 4px rgba(0,0,0,.07), 0 2px 12px rgba(0,0,0,.04);
  --au-shadow-hov: 0 4px 20px rgba(204,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
  --au-text:       #111111;
  --au-muted:      #757575;
  --au-avatar-sz:  56px;
  --au-radius:     7px;
}

/* ============================================================
   HOMEPAGE — .authors-block
   ============================================================ */

.authors-block {
  margin-bottom: 28px;
}

/* Section header */
.authors-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--au-red);
  padding-bottom: 8px;
}

.authors-block-head-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  color: var(--au-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.authors-block-head-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--au-red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Prev/Next nav buttons */
.au-nav-group {
  display: flex;
  gap: 6px;
}

.au-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #d0d0d0;
  background: #fff;
  color: #666;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
  padding: 0;
  line-height: 1;
}

.au-nav-btn:hover {
  border-color: var(--au-red);
  color: var(--au-red);
  background: #fff5f5;
  transform: scale(1.08);
}

.au-nav-btn:active { transform: scale(.96); }

/* 2-column grid for homepage */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 575px) {
  .authors-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ── Individual card ──────────────────────────────────────── */
.author-card-hp {
  background: var(--au-card-bg);
  border: 1px solid var(--au-border);
  border-left: 3px solid var(--au-red);
  border-radius: var(--au-radius);
  box-shadow: var(--au-shadow);
  padding: 13px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow .22s, transform .18s;
}

.author-card-hp:hover {
  box-shadow: var(--au-shadow-hov);
  transform: translateY(-2px);
}

/* Main row: avatar + info */
.achp-main {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

/* Circular avatar */
.achp-avatar,
.achp-avatar-init {
  width: var(--au-avatar-sz);
  height: var(--au-avatar-sz);
  border-radius: 50%;
  flex-shrink: 0;
}

.achp-avatar {
  object-fit: cover;
  border: 2.5px solid var(--au-red);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(204,0,0,.15);
  transition: box-shadow .2s;
  display: block;
}

.author-card-hp:hover .achp-avatar {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(204,0,0,.4);
}

.achp-avatar-init {
  background: linear-gradient(135deg, var(--au-red) 0%, var(--au-red-dark) 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.5px;
  border: 2.5px solid var(--au-red);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(204,0,0,.15);
  text-decoration: none;
}

/* Info column */
.achp-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.achp-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--au-text);
  text-decoration: none;
  line-height: 1.25;
  letter-spacing: -.1px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s;
}

.achp-name:hover { color: var(--au-red); }

/* Red pill badge */
.achp-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--au-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px 2px 6px;
  border-radius: 20px;
  letter-spacing: .2px;
  width: fit-content;
  line-height: 1.5;
}

/* Bio text */
.achp-bio {
  font-size: 11.5px;
  color: var(--au-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Article list */
.achp-articles {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--au-border);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.achp-articles li {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.achp-articles li::before {
  content: '›';
  color: var(--au-red);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.3;
}

.achp-article-link {
  font-size: 11.5px;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .14s;
  flex: 1;
  min-width: 0;
}

.achp-article-link:hover { color: var(--au-red); }

/* Footer row */
.achp-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 4px;
  border-top: 1px solid var(--au-border);
  margin-top: 2px;
}

.achp-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--au-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: .2px;
  text-transform: uppercase;
  opacity: .85;
  transition: opacity .15s, gap .15s;
}

.achp-more:hover {
  opacity: 1;
  gap: 7px;
  color: var(--au-red);
}

/* ============================================================
   SIDEBAR — .sw-authors
   ============================================================ */

.sw-authors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Compact sidebar card */
.sw-author-card {
  background: var(--au-card-bg);
  border: 1px solid var(--au-border);
  border-left: 3px solid var(--au-red);
  border-radius: 6px;
  padding: 10px 11px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .16s;
}

.sw-author-card:hover {
  box-shadow: 0 3px 14px rgba(204,0,0,.1);
  transform: translateX(2px);
}

.sw-author-card .achp-avatar,
.sw-author-card .achp-avatar-init {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.sw-author-card .achp-name { font-size: 13px; }
.sw-author-card .achp-bio  { font-size: 11px; -webkit-line-clamp: 1; }
.sw-author-card .achp-stat { font-size: 9.5px; padding: 1px 7px 1px 5px; }

/* ── Responsive tweaks ────────────────────────────────────── */
@media (max-width: 767px) {
  .authors-block-head-title { font-size: 13px; letter-spacing: 1px; }
  .author-card-hp { padding: 11px 12px 9px; }
  .achp-name  { font-size: 13.5px; }
  .achp-bio   { font-size: 11px; }
  .achp-article-link { font-size: 11px; }
}

@media (max-width: 400px) {
  .achp-avatar,
  .achp-avatar-init { width: 48px; height: 48px; font-size: 17px; }
  .achp-stat { font-size: 9.5px; }
}

/* ===================================================
   BORSA PAGE — Stock Market
   =================================================== */
.borsa-page {
  --brs-bg: #0d0f14;
  --brs-surface: #161920;
  --brs-card: #1c2030;
  --brs-border: #252a3a;
  --brs-red: #cc0000;
  --brs-green: #00b87a;
  --brs-dn: #e03333;
  --brs-up: #00b87a;
  --brs-muted: #7a8499;
  --brs-text: #e2e8f0;
  --brs-head: #f8fafc;
  background: var(--brs-bg);
  color: var(--brs-text);
  min-height: 100vh;
  font-family: 'Courier New', monospace;
}

.borsa-header {
  background: var(--brs-surface);
  border-bottom: 1px solid var(--brs-border);
  padding: 14px 0;
}

.borsa-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brs-head);
  letter-spacing: .5px;
}

.borsa-header .brs-subtitle {
  font-size: 12px;
  color: var(--brs-muted);
  margin-top: 2px;
}

/* Ticker tape */
.borsa-ticker {
  background: var(--brs-red);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.borsa-ticker-inner {
  display: inline-block;
  animation: brs-ticker 40s linear infinite;
}

.borsa-ticker-inner:hover { animation-play-state: paused; }

@keyframes brs-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bti-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 36px;
}

.bti-sym  { font-weight: 700; letter-spacing: .5px; }
.bti-prc  { opacity: .9; }
.bti-chg.up { color: #a0ffcc; }
.bti-chg.dn { color: #ffaaaa; }

/* Hero cards row */
.borsa-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

@media (max-width: 991px) { .borsa-hero { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .borsa-hero { grid-template-columns: 1fr 1fr; gap: 10px; } }

.borsa-hero-card {
  background: var(--brs-card);
  border: 1px solid var(--brs-border);
  border-radius: 10px;
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}

.borsa-hero-card:hover { border-color: var(--brs-red); }

.bhc-label {
  font-size: 11px;
  color: var(--brs-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
}

.bhc-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--brs-head);
  line-height: 1.2;
}

.bhc-change {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.bhc-change.up { color: var(--brs-up); }
.bhc-change.dn { color: var(--brs-dn); }

.bhc-sparkline {
  position: absolute;
  bottom: 0; right: 0;
  width: 80px;
  height: 40px;
  opacity: .25;
}

/* Grid */
.borsa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

@media (max-width: 991px) { .borsa-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .borsa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .borsa-grid { grid-template-columns: 1fr; } }

/* Individual stock card */
.borsa-card {
  background: var(--brs-card);
  border: 1px solid var(--brs-border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .2s, transform .15s;
  cursor: default;
}

.borsa-card:hover {
  border-color: var(--brs-red);
  transform: translateY(-2px);
}

.borsa-card.up { border-left: 3px solid var(--brs-up); }
.borsa-card.dn { border-left: 3px solid var(--brs-dn); }

.bc-sym {
  font-size: 13px;
  font-weight: 700;
  color: var(--brs-head);
  letter-spacing: .5px;
}

.bc-name {
  font-size: 10px;
  color: var(--brs-muted);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--brs-head);
}

.bc-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
}

.bc-change.up { color: var(--brs-up); }
.bc-change.dn { color: var(--brs-dn); }

.borsa-card .bc-vol {
  font-size: 10px;
  color: var(--brs-muted);
  margin-top: 4px;
}

/* Section headings */
.borsa-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.borsa-section-head h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brs-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.borsa-section-head .bsh-line {
  flex: 1;
  height: 1px;
  background: var(--brs-border);
}

.borsa-section-head .bsh-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brs-red);
  animation: bsh-blink 1.5s infinite;
}

@keyframes bsh-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

/* Loading / error states */
.borsa-loading {
  text-align: center;
  color: var(--brs-muted);
  padding: 40px;
  font-size: 13px;
}

.borsa-error {
  background: rgba(204,0,0,.1);
  border: 1px solid var(--brs-red);
  border-radius: 8px;
  color: var(--brs-dn);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* =====================================================
   SCROLL ANIMATIONS — Framer Motion style (pure CSS)
   ===================================================== */

/* Base: sections start invisible, shifted down */
.hp-section-block {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.hp-section-block.anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside each block */
.hp-section-block .t1-card,
.hp-section-block .t2-main,
.hp-section-block .t2-list,
.hp-section-block .t3-card,
.hp-section-block .t4-item,
.hp-section-block .t5-item,
.hp-section-block .t6-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s ease, transform .4s ease;
}
.hp-section-block.anim-in .t1-card:nth-child(1),
.hp-section-block.anim-in .t3-card:nth-child(1),
.hp-section-block.anim-in .t4-item:nth-child(1),
.hp-section-block.anim-in .t5-item:nth-child(1),
.hp-section-block.anim-in .t6-item:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:.08s; }
.hp-section-block.anim-in .t1-card:nth-child(2),
.hp-section-block.anim-in .t3-card:nth-child(2),
.hp-section-block.anim-in .t4-item:nth-child(2),
.hp-section-block.anim-in .t5-item:nth-child(2),
.hp-section-block.anim-in .t6-item:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:.16s; }
.hp-section-block.anim-in .t1-card:nth-child(3),
.hp-section-block.anim-in .t3-card:nth-child(3),
.hp-section-block.anim-in .t4-item:nth-child(3),
.hp-section-block.anim-in .t5-item:nth-child(3),
.hp-section-block.anim-in .t6-item:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:.24s; }
.hp-section-block.anim-in .t1-card:nth-child(4),
.hp-section-block.anim-in .t3-card:nth-child(4),
.hp-section-block.anim-in .t4-item:nth-child(4),
.hp-section-block.anim-in .t5-item:nth-child(4),
.hp-section-block.anim-in .t6-item:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:.32s; }
.hp-section-block.anim-in .t1-card:nth-child(5),
.hp-section-block.anim-in .t3-card:nth-child(5),
.hp-section-block.anim-in .t4-item:nth-child(5),
.hp-section-block.anim-in .t5-item:nth-child(5),
.hp-section-block.anim-in .t6-item:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:.40s; }
.hp-section-block.anim-in .t1-card:nth-child(6),
.hp-section-block.anim-in .t3-card:nth-child(6),
.hp-section-block.anim-in .t4-item:nth-child(6),
.hp-section-block.anim-in .t6-item:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:.48s; }

/* T2 special: big image + list fade in separately */
.hp-section-block.anim-in .t2-main { opacity:1; transform:translateY(0); transition-delay:.06s; }
.hp-section-block.anim-in .t2-list { opacity:1; transform:translateY(0); transition-delay:.18s; }

/* Section head title bar — slides in from left */
.section-head {
  transform: translateX(-12px);
  opacity: 0;
  transition: opacity .4s ease, transform .4s ease;
}
.hp-section-block.anim-in .section-head {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

/* Hero slider: fade in on load */
.hero-slider-wrap {
  animation: heroFadeIn .7s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes heroFadeIn {
  from { opacity:0; transform:scale(.98); }
  to   { opacity:1; transform:scale(1); }
}

/* Manset grid animation */
.manset-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.manset-section.anim-in { opacity:1; transform:translateY(0); }

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hp-section-block, .hp-section-block *,
  .manset-section, .hero-slider-wrap { animation:none; transition:none; opacity:1; transform:none; }
}

/* =====================================================
   AUTHORS BLOCK — Premium Redesign with Animations
   ===================================================== */

/* Keyframes */
@keyframes auRingRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes auCardIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auAvatarPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  70%  { transform: scale(.97); }
  100% { transform: scale(1); }
}
@keyframes auLineFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* Grid: 3 columns on wide, 2 on tablet, 1 on mobile */
.authors-block .authors-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px)  { .authors-block .authors-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .authors-block .authors-grid { grid-template-columns: 1fr; } }

/* Stagger animation — triggered by IntersectionObserver via .anim-in on parent */
.hp-section-block.anim-in .author-card-hp:nth-child(1) { animation: auCardIn .5s cubic-bezier(.22,.61,.36,1) .05s both; }
.hp-section-block.anim-in .author-card-hp:nth-child(2) { animation: auCardIn .5s cubic-bezier(.22,.61,.36,1) .15s both; }
.hp-section-block.anim-in .author-card-hp:nth-child(3) { animation: auCardIn .5s cubic-bezier(.22,.61,.36,1) .25s both; }
.hp-section-block.anim-in .author-card-hp:nth-child(4) { animation: auCardIn .5s cubic-bezier(.22,.61,.36,1) .35s both; }
.hp-section-block.anim-in .author-card-hp:nth-child(5) { animation: auCardIn .5s cubic-bezier(.22,.61,.36,1) .45s both; }
.hp-section-block.anim-in .author-card-hp:nth-child(6) { animation: auCardIn .5s cubic-bezier(.22,.61,.36,1) .55s both; }

/* Card base — premium redesign */
.author-card-hp {
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: box-shadow .25s cubic-bezier(.22,.61,.36,1), transform .25s cubic-bezier(.22,.61,.36,1);
  position: relative;
}

/* Gradient top accent bar */
.author-card-hp::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #cc0000 0%, #ff4444 50%, #cc0000 100%);
  background-size: 200% 100%;
  transition: background-position .4s ease;
}
.author-card-hp:hover::before {
  background-position: right center;
}

.author-card-hp:hover {
  box-shadow: 0 8px 32px rgba(204,0,0,.15), 0 2px 8px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

/* Card body */
.achp-main {
  padding: 16px 16px 10px;
  align-items: center;
  gap: 14px;
}

/* Avatar with animated ring */
.achp-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: calc(var(--au-avatar-sz) + 8px);
  height: calc(var(--au-avatar-sz) + 8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.achp-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#cc0000 0%, #ff7777 30%, #fff3f3 50%, #ff7777 70%, #cc0000 100%);
  opacity: 0;
  transition: opacity .25s;
}

.author-card-hp:hover .achp-avatar-ring {
  opacity: 1;
  animation: auRingRotate 2s linear infinite;
}

.achp-avatar,
.achp-avatar-init {
  position: relative;
  z-index: 1;
  width: var(--au-avatar-sz) !important;
  height: var(--au-avatar-sz) !important;
  border: 2.5px solid #fff !important;
  box-shadow: 0 0 0 2px var(--au-red) !important;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}

.author-card-hp:hover .achp-avatar,
.author-card-hp:hover .achp-avatar-init {
  transform: scale(1.06);
  animation: auAvatarPop .35s ease forwards;
}

/* Name with animated underline */
.achp-name {
  position: relative;
  white-space: normal;
}
.achp-name::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--au-red);
  transition: width .25s ease;
}
.achp-name:hover::after { width: 100%; }
.achp-name:hover { color: var(--au-red); }

/* Article list — reveal animation */
.achp-articles {
  padding: 8px 16px 0;
  margin-top: 0;
}

.achp-articles li {
  transform: translateX(-6px);
  opacity: .7;
  transition: transform .2s ease, opacity .2s ease;
}
.author-card-hp:hover .achp-articles li:nth-child(1) { transform: translateX(0); opacity: 1; transition-delay: .03s; }
.author-card-hp:hover .achp-articles li:nth-child(2) { transform: translateX(0); opacity: 1; transition-delay: .09s; }
.author-card-hp:hover .achp-articles li:nth-child(3) { transform: translateX(0); opacity: 1; transition-delay: .15s; }

/* Footer */
.achp-footer {
  padding: 8px 16px 14px;
  margin-top: auto;
}

/* "Tüm Yazıları" button — animated arrow */
.achp-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--au-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 4px 10px;
  border: 1.5px solid var(--au-red);
  border-radius: 20px;
  background: transparent;
  transition: background .2s, color .2s, gap .2s, padding-right .2s;
  opacity: .85;
}
.achp-more:hover {
  background: var(--au-red);
  color: #fff;
  gap: 9px;
  padding-right: 14px;
  opacity: 1;
}
.achp-more .bi { transition: transform .2s; }
.achp-more:hover .bi { transform: translateX(3px); }

/* Section header — animated underline */
.authors-block-head {
  position: relative;
  border-bottom: none;
  padding-bottom: 10px;
}
.authors-block-head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--au-red) 0%, transparent 100%);
  width: 0;
  transition: width .6s cubic-bezier(.22,.61,.36,1);
}
.hp-section-block.anim-in .authors-block-head::after {
  width: 100%;
}

/* ===== Template 4: Team Showcase ===== */
.team-showcase-block { }
.team-showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: start;
}

/* Mosaic photo grid */
.ts-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
}
.ts-photo {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: #e8e8e8;
  transition: transform .25s, box-shadow .25s;
}
.ts-photo:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.ts-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.ts-photo:hover img { transform: scale(1.06); }
.ts-photo-init {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #cc0000; color: #fff;
  font-size: 2rem; font-weight: 800;
}
.ts-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 10px 8px 8px;
  opacity: 0;
  transition: opacity .25s;
}
.ts-photo:hover .ts-photo-overlay { opacity: 1; }
.ts-photo-overlay span { color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; }
.ts-photo-overlay small { color: rgba(255,255,255,.75); font-size: 10px; margin-top: 2px; }

/* Author list on right */
.ts-list { display: flex; flex-direction: column; gap: 0; }
.ts-list-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.ts-list-item:last-child { border-bottom: none; }
.ts-list-item:hover { background: #fafafa; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 6px; }
.ts-li-num {
  font-size: 11px; font-weight: 800; color: #cc0000;
  min-width: 22px; text-align: center; flex-shrink: 0;
}
.ts-li-avatar { flex-shrink: 0; }
.ts-li-avatar img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 2px solid #eee;
  display: block;
}
.ts-li-init {
  width: 40px; height: 40px; border-radius: 50%;
  background: #cc0000; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.ts-li-info { flex: 1; min-width: 0; }
.ts-li-name {
  font-size: 13px; font-weight: 700; color: #1a1a1a;
  text-decoration: none; display: block;
}
.ts-li-name:hover { color: #cc0000; }
.ts-li-bio { font-size: 11px; color: #777; line-height: 1.3; margin-top: 1px; }
.ts-li-meta {
  display: flex; align-items: center; gap: 8px; margin-top: 3px;
  font-size: 11px; color: #999;
}
.ts-social {
  color: #bbb; font-size: 13px; text-decoration: none;
  transition: color .15s;
}
.ts-social:hover { color: #cc0000; }
.ts-li-arrow {
  color: #ddd; font-size: 14px; flex-shrink: 0;
  text-decoration: none; transition: color .15s, transform .15s;
}
.ts-list-item:hover .ts-li-arrow { color: #cc0000; transform: translateX(3px); }

@media (max-width: 768px) {
  .team-showcase { grid-template-columns: 1fr; }
  .ts-mosaic { grid-template-columns: repeat(3, 1fr); max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .author-card-hp, .achp-avatar-ring,
  .authors-block-head::after,
  .achp-articles li { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
