/*
Theme Name: Yenisöz.az News
Theme URI: https://yenisoz.az/
Author: Yenisöz.az Development Team
Author URI: https://yenisoz.az/
Description: YENİSÖZ.AZ — pluginsiz, sürətli və SEO-optimallaşdırılmış Azərbaycan xəbər portalı teması. Manşet slayderi, SON DƏQİQƏ lenti, xəbər statusları, video embed, reklam sahələri, NewsArticle schema, AJAX canlı axtarış və özəl (gizli) admin sistemi daxildir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yenisoz
Tags: news, magazine, blog, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support, block-styles, wide-blocks
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap");

/* ==========================================================================
   YENİSÖZ.AZ — dizayn sistemi
   ========================================================================== */

:root {
  --navy-950: #060f24;
  --navy-900: #0a1f44;
  --navy-800: #0b2a5b;
  --navy-700: #14346a;
  --navy-600: #1a4480;
  --navy-500: #1e4fa3;
  --navy-400: #2b5cb8;
  --navy-100: #dbe5f5;
  --navy-50: #eef3fb;
  --gold-500: #c9a227;
  --gold-400: #d9b545;
  --red: #e11d48;
  --ink: #0f1c33;
  --muted: #5b6b85;
  --line: #dbe5f5;
  --bg: #edf1f7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 16px rgba(11, 42, 91, 0.08);
  --shadow-hover: 0 16px 36px rgba(11, 42, 91, 0.16);
  --shadow-soft: 0 10px 28px rgba(11, 42, 91, 0.12);
  --container: 1240px;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-manrope: "Manrope", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  margin: 0;
}

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

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

.screen-reader-text,
.skip-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed !important;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 10000;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
}

.site-header.not-sticky {
  position: static;
}

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.topbar-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.topbar-soc {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-soc a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  transition: color 0.15s;
}

.topbar-soc a:hover {
  color: #fff;
}

.topbar-lang {
  margin-left: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: #fff;
  font-size: 11px;
}

.header-main {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--navy-100);
  box-shadow: 0 4px 24px rgba(11, 42, 91, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700) 55%, var(--navy-500));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(11, 42, 91, 0.35);
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1;
}

.brand-name span {
  color: var(--navy-500);
}

.brand-tagline {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 3px;
}

.brand-logo {
  max-height: 44px;
  width: auto;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-logo {
  max-height: 48px;
  width: auto;
}

.main-nav {
  display: none;
  flex: 1;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  transition: background 0.15s, color 0.15s;
  text-transform: uppercase;
}

.main-nav a:hover {
  background: var(--navy-50);
  color: var(--navy-600);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-toggle,
.btn-ig,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: var(--navy-900);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
}

.search-toggle:hover {
  background: var(--navy-50);
}

.header-actions-label {
  display: none;
}

@media (min-width: 1280px) {
  .header-actions-label {
    display: inline;
  }
}

.btn-ig {
  display: none;
  background: linear-gradient(90deg, var(--navy-800), var(--navy-500));
  color: #fff;
  padding: 10px 16px;
  box-shadow: 0 6px 16px rgba(11, 42, 91, 0.35);
}

.btn-ig:hover {
  filter: brightness(1.1);
}

.menu-toggle {
  padding: 8px;
}

.menu-toggle:hover {
  background: var(--navy-50);
}

.search-panel {
  border-top: 1px solid var(--navy-100);
  background: #fff;
  padding: 14px 0;
}

.search-panel .search-field {
  max-width: 480px;
}

.live-results {
  max-width: 480px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.live-results a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--navy-50);
  color: var(--navy-900);
}

.live-results a:last-child {
  border-bottom: none;
}

.live-results img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--navy-100);
  padding: 14px 0;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile-nav a {
  display: block;
  background: var(--navy-50);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

@media (min-width: 992px) {
  .main-nav { display: flex; }
  .btn-ig { display: inline-flex; }
  .mobile-nav { display: none !important; }
  .menu-toggle { display: none; }
}

/* ==========================================================================
   TICKER (SON DƏQİQƏ)
   ========================================================================== */

.ticker {
  margin: 20px 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--navy-100);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(217, 181, 69, 0.25);
}

.ticker-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  padding: 0 24px;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}

.ticker-viewport:hover .ticker-track {
  animation-play-state: paused;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  padding: 12px 0;
}

.ticker-item:hover {
  color: var(--navy-500);
}

.ticker-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-500);
  flex-shrink: 0;
}

/* ==========================================================================
   HEADLINE / HERO SLAYDER
   ========================================================================== */

.headline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.slider-col {
  position: relative;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy-950);
  box-shadow: 0 16px 40px rgba(6, 15, 36, 0.25);
}

.slide {
  position: relative;
  display: none;
  height: 320px;
}

.slide.active {
  display: block;
  animation: hero-fade 0.5s ease both;
}

@keyframes hero-fade {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.slide > a {
  position: absolute;
  inset: 0;
  display: block;
}

.slide img,
.slide .thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide .thumb-placeholder {
  background: var(--navy-800);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 15, 36, 0.92), rgba(6, 15, 36, 0.4) 55%, transparent);
  pointer-events: none;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  z-index: 2;
}

.slide-caption h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  max-width: 640px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
  background: #fff;
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.slider-dots {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.slider-dots button {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.slider-dots button[aria-current="true"] {
  width: 26px;
  background: #fff;
}

.headline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.headline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-100);
  background: #fff;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow 0.15s;
}

.headline-item:hover,
.headline-item.is-active {
  box-shadow: var(--shadow-hover);
}

.headline-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
}

.headline-item.is-active .headline-num {
  background: var(--navy-800);
  color: #fff;
}

.headline-item h3 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-950);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.headline-item p {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.headline-item .red {
  color: var(--red);
}

@media (min-width: 992px) {
  .headline {
    grid-template-columns: 2fr 1fr;
  }
  .slide {
    height: 440px;
  }
}

/* ==========================================================================
   XƏBƏR KARTLARI / GRID
   ========================================================================== */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 34px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--navy-800);
}

.section-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--navy-950);
  text-transform: uppercase;
}

.section-head a {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy-500);
  text-transform: uppercase;
}

.section-head a:hover {
  color: var(--navy-800);
}

.section-head span:not(a) {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--navy-100);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-100);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy-100);
}

.card-cat-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(10, 31, 68, 0.95);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}

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

.card-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy-950);
  min-height: 40px;
}

.card-title a:hover {
  color: var(--navy-600);
}

.card-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.meta-arrow {
  color: var(--navy-500);
}

.card-cat-link {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--navy-50);
  color: var(--navy-700);
  padding: 4px 8px;
  border-radius: 6px;
}

.card-cat-link:hover {
  background: var(--navy-800);
  color: #fff;
}

.btn-read {
  display: none;
}

.status-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 5px;
  margin-right: 6px;
  vertical-align: middle;
}

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

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--navy-100);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-900);
  box-shadow: var(--shadow-card);
}

.pagination a:hover {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}

.pagination .current {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}

@media (min-width: 992px) {
  .with-sidebar {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 130px;
}

.widget {
  background: #fff;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.widget h3 {
  margin: 0 0 14px;
  padding-left: 11px;
  border-left: 4px solid var(--navy-800);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--navy-950);
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-item {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--navy-50);
}

.mini-item:first-child {
  padding-top: 0;
}

.mini-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mini-item a:first-child {
  flex-shrink: 0;
  width: 84px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.mini-item img,
.mini-item .thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-item h4 {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-950);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-item h4 a:hover {
  color: var(--navy-600);
}

.mini-item time {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cat-links a {
  font-size: 12px;
  font-weight: 700;
  background: var(--navy-50);
  color: var(--navy-800);
  padding: 6px 11px;
  border-radius: 8px;
}

.cat-links a:hover {
  background: var(--navy-800);
  color: #fff;
}

/* Reklam widget-lərini görsəl olaraq fərqləndir */
.widget:has(.ad-slot),
.widget.ad-widget {
  border: 2px dashed var(--navy-100);
  background: var(--navy-50);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  margin: 16px 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumbs a:hover {
  color: var(--navy-700);
}

.breadcrumbs span[aria-hidden] {
  color: var(--navy-200, #b9c9e6);
}

/* ==========================================================================
   TƏK MƏQALƏ (SINGLE)
   ========================================================================== */

.single-article {
  background: #fff;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px;
  margin-bottom: 10px;
}

.article-head h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy-950);
}

.article-lead {
  border-left: 4px solid var(--navy-100);
  padding-left: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: var(--navy-50);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 18px;
}

.article-meta a:hover {
  color: var(--navy-600);
}

.article-figure {
  margin: 0 0 20px;
}

.article-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.cat-pill {
  display: inline-block;
  background: var(--navy-800);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px;
}

.article-body {
  font-family: var(--font-manrope);
  font-size: 16.5px;
  line-height: 1.9;
  color: #24344f;
  letter-spacing: -0.01em;
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-body p:first-of-type::first-letter {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy-800);
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
}

.article-body img {
  border-radius: 12px;
  margin: 10px 0;
}

.article-body a {
  color: var(--navy-600);
  text-decoration: underline;
}

.video-embed {
  position: relative;
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-950);
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

.source-line {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  margin: 6px 0 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--navy-50);
}

.tag-list a {
  font-size: 12px;
  font-weight: 700;
  background: var(--navy-50);
  color: var(--navy-800);
  padding: 5px 10px;
  border-radius: 8px;
}

.tag-list a:hover {
  background: var(--navy-800);
  color: #fff;
}

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--navy-50);
}

.share span {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.share a,
.share button {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--navy-100);
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 8px;
}

.share a:hover,
.share button:hover {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}

/* ==========================================================================
   AXTARIŞ FORMASI
   ========================================================================== */

.search-field {
  display: flex;
  gap: 8px;
}

.yenisoz-search-input {
  flex: 1;
  border: 1px solid var(--navy-100);
  background: var(--navy-50);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
}

.yenisoz-search-input:focus {
  outline: none;
  border-color: var(--navy-500);
  background: #fff;
}

.search-field button {
  border: none;
  background: var(--navy-800);
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  cursor: pointer;
}

.search-field button:hover {
  background: var(--navy-700);
}

/* ==========================================================================
   404
   ========================================================================== */

.error-hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.error-hero .code {
  font-size: 84px;
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1;
  background: linear-gradient(90deg, var(--navy-800), var(--navy-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.comment-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

#comments {
  background: #fff;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   TO-TOP DÜYMƏSİ
   ========================================================================== */

#yenisoz-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy-800);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  z-index: 400;
}

#yenisoz-to-top[hidden] {
  display: none;
}

/* ==========================================================================
   ADS
   ========================================================================== */

.ad-slot {
  display: block;
  text-align: center;
  margin: 20px 0;
}

.ad-slot img {
  margin: 0 auto;
  border-radius: var(--radius);
}

.only-mobile {
  display: block;
}

@media (min-width: 992px) {
  .only-mobile {
    display: none;
  }
}

/* ==========================================================================
   RTL DƏSTƏYİ
   ========================================================================== */

body.rtl {
  direction: rtl;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  margin-top: 48px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-500), var(--gold-400), var(--navy-500));
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.3fr;
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
}

.footer-logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-logo-text span {
  color: var(--navy-400);
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 320px;
}

.footer-mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  width: fit-content;
  transition: background 0.2s;
}

.footer-mail-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.col-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 10px;
}

.footer-menu-list a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-menu-list a:hover {
  color: #fff;
}

.social-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 14px;
  line-height: 1.6;
  max-width: 280px;
}

.social-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.soc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s;
}

.soc-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.copy-left strong {
  color: rgba(255, 255, 255, 0.75);
}

.copy-notice {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .bottom-flex { flex-direction: column; text-align: center; }
}

@media (max-width: 550px) {
  .footer-container { grid-template-columns: 1fr; }
}
