/*
Theme Name: AzNews.ws News
Theme URI: https://aznews.ws/
Author: AzNews.ws Development Team
Author URI: https://aznews.ws/
Description: AZNEWS.WS — 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: aznews
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=Montserrat:wght@400;500;600;700;800;900&display=swap");

/* ==========================================================================
   AZNEWS.WS — dizayn sistemi
   ========================================================================== */

:root {
  --navy-950: #071a2c;
  --navy-900: #0f2438;
  --navy-800: #16324c;
  --navy-700: #1f3f5c;
  --navy-600: #2b5170;
  --navy-500: #3a6584;
  --navy-400: #4f7a97;
  --navy-100: #dbe6ec;
  --navy-50: #eef3f6;
  --gold-500: #0d9488;
  --gold-400: #14b8a6;
  --red: #dc2626;
  --ink: #0f1c2c;
  --muted: #5b6b78;
  --line: #dbe6ec;
  --bg: #eef1f4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 16px rgba(10, 30, 45, 0.08);
  --shadow-hover: 0 16px 36px rgba(10, 30, 45, 0.16);
  --shadow-soft: 0 10px 28px rgba(10, 30, 45, 0.12);
  --container: 1240px;
  --font-sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-manrope: "Montserrat", 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-50);
  color: var(--navy-900);
  border-bottom: 1px solid var(--navy-100);
}

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

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-800);
  white-space: nowrap;
}

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

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

.topbar-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--gold-600, var(--gold-500));
  white-space: nowrap;
}

.topbar-tagline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.4s infinite;
}

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

.topbar-soc a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(10, 30, 45, 0.06);
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.topbar-soc a:hover {
  background: var(--gold-500);
  color: #fff;
}

.topbar-lang {
  margin-left: 4px;
  background: rgba(10, 30, 45, 0.06);
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 800;
  color: var(--navy-800);
  font-size: 11px;
}

.topbar-market {
  display: none;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--navy-100);
}

.topbar-market-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.topbar-market-item b {
  color: var(--navy-950);
  font-weight: 800;
}

.topbar-market-item em {
  font-style: normal;
  font-weight: 800;
}

.topbar-market-item em.is-up {
  color: #16a34a;
}

.topbar-market-item em.is-down {
  color: #dc2626;
}

@media (min-width: 1100px) {
  .topbar-market {
    display: inline-flex;
  }
}

.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: 80px;
}

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

.brand-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
  flex-shrink: 0;
}

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

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

.brand-tagline {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  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;
}

.header-search {
  position: relative;
  display: none;
  flex: 1;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
}

.header-search svg {
  color: var(--muted);
  flex-shrink: 0;
}

.header-search input {
  flex: 1;
  border: none;
  background: none;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  flex-shrink: 0;
  border: none;
  background: var(--gold-500);
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.header-search button:hover {
  background: var(--gold-400);
}

@media (min-width: 860px) {
  .header-search {
    display: flex;
  }
}

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

.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-live:hover {
  background: #b91c1c;
}

.btn-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.4s infinite;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--navy-900);
  border-radius: 8px;
  padding: 8px;
}

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

.live-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  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;
}

.main-nav-row {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--navy-100);
}

.main-nav-row ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav-row ul::-webkit-scrollbar {
  display: none;
}

.main-nav-row a {
  display: inline-block;
  padding: 15px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--navy-900);
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}

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

.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-row { display: block; }
  .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: 10px;
  background: var(--red);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.4s infinite;
}

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

.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  padding: 0 20px;
  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: 700;
  color: #fff;
  padding: 12px 0;
}

.ticker-item:hover {
  color: rgba(255, 255, 255, 0.75);
}

.ticker-time {
  flex-shrink: 0;
  background: #fff;
  color: var(--red);
  font-weight: 900;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 5px;
}

/* ==========================================================================
   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-top {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-cat {
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
}

.slide-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
}

.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;
}

.slide-excerpt {
  margin: 8px 0 0;
  max-width: 560px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.slide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.slide-meta svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.slider-arrows {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-btn {
  position: static;
  transform: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.slider-btn:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.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: var(--gold-500);
}

.headline-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.headline-list-head {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.headline-list-head span:first-of-type {
  flex: 1;
}

.headline-list-head svg {
  color: var(--gold-400);
}

.headline-top-badge {
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 900;
}

.headline-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--navy-50);
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.headline-item:last-child {
  border-bottom: none;
}

.headline-item:hover {
  background: var(--navy-50);
  border-left-color: var(--gold-500);
  transform: translateX(2px);
}

.headline-thumb {
  position: relative;
  flex-shrink: 0;
  width: 84px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(7, 26, 44, 0.18);
}

.headline-thumb img,
.headline-thumb .thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.headline-item:hover .headline-thumb img {
  transform: scale(1.08);
}

.headline-cat {
  position: absolute;
  left: 5px;
  top: 5px;
  background: var(--gold-500);
  color: #fff;
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 4px;
}

.headline-body {
  flex: 1;
  min-width: 0;
}

.headline-title-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy-950);
}

.headline-item:hover .headline-title-text {
  color: var(--gold-600, var(--navy-600));
}

.headline-item-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

@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;
  position: relative;
  padding-right: 12px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 2px;
  background: var(--gold-500);
}

.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); }
}

/* Dizaynda "Son xəbərlər" (və digər bütün grid-lər) HƏMİŞƏ 3 sütunludur —
   geniş ekranlarda 4-cü sütuna keçmir. */

/* .grid-3: always caps at 3 columns, regardless of viewport (used where
   exactly 3 items are shown, e.g. related posts) so no empty track appears. */
.grid-3 {
  grid-template-columns: 1fr;
}

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

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

@media (min-width: 1400px) {
  .grid-3 { grid-template-columns: repeat(3, 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-views-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  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;
  max-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.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;
  flex-direction: column;
  gap: 8px;
}

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

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

.card-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-foot-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-foot-tag svg {
  flex-shrink: 0;
  color: var(--navy-500);
}

.card-foot-tag:hover {
  color: var(--navy-500);
}

.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: 320px 1fr;
    align-items: start;
  }
  /* AzNews.ws dizaynında yan panel SOLDADIR. */
  .with-sidebar > aside.sidebar {
    order: -1;
  }
}

.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);
}

.widget-head-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.widget-head-flex h3 {
  margin: 0;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
}

.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.8s infinite;
}

/* Xəbər lenti (timeline) */
.timeline-list {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--navy-100);
}

.timeline-item {
  position: relative;
  display: block;
  padding: 10px 0 10px 24px;
}

.timeline-dot {
  position: absolute;
  left: 3px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 0 0 3px var(--navy-50);
  transition: background 0.15s;
}

.timeline-item:hover .timeline-dot {
  background: var(--gold-500);
}

.timeline-meta {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy-700);
}

.timeline-meta span {
  color: var(--muted);
  font-weight: 600;
  margin: 0 2px;
}

.timeline-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-950);
}

.timeline-item:hover .timeline-title {
  color: var(--navy-600);
}

.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 .mini-thumb {
  flex-shrink: 0;
  width: 84px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.mini-item > div {
  flex: 1;
  min-width: 0;
}

.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;
  max-height: calc(1.35em * 2);
  color: var(--navy-950);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

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

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

/* Lent (feed) variant — sidebar SON XƏBƏRLƏR: hover-də yüngül vurğu */
.mini-list-feed .mini-item {
  border-radius: 10px;
  transition: background 0.15s;
}

.mini-list-feed .mini-item:hover {
  background: var(--navy-50);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

/* Nömrəli (ranked) variant — sidebar ÇOX OXUNANLAR */
.mini-list-ranked .mini-item {
  align-items: center;
}

.mini-rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  align-self: flex-start;
  margin-top: 2px;
}

.mini-list-ranked .mini-item:nth-child(1) .mini-rank,
.mini-list-ranked .mini-item:nth-child(2) .mini-rank,
.mini-list-ranked .mini-item:nth-child(3) .mini-rank {
  background: var(--navy-800);
  color: #fff;
}

/* Tünd (dark) widget varianti — ÇOX OXUNANLAR */
.widget-dark {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.widget-dark h3 {
  color: #fff;
  border-left-color: var(--gold-500);
}

.widget-dark .mini-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.widget-dark .mini-item h4 {
  color: rgba(255, 255, 255, 0.92);
}

.widget-dark .mini-item h4 a:hover {
  color: var(--gold-400);
}

.widget-dark .mini-item time {
  color: rgba(255, 255, 255, 0.5);
}

.widget-dark .mini-rank {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}

.widget-dark .mini-list-ranked .mini-item:nth-child(1) .mini-rank {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* ==========================================================================
   ƏN ÇOX OXUNANLAR (tab widget)
   ========================================================================== */

.most-read-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.mr-tab {
  flex: 1;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
}

.mr-tab.is-active {
  background: var(--gold-500);
  color: #fff;
}

.mr-panel {
  display: none;
}

.mr-panel.is-active {
  display: block;
}

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

.most-read-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.most-read-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.most-read-list li:first-child {
  padding-top: 0;
}

.mr-num {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--gold-400);
  min-width: 16px;
}

.most-read-list a {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.most-read-list a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   XƏBƏR LENTİ (sadə siyahı)
   ========================================================================== */

.widget-count,
.widget-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.widget-eyebrow {
  background: var(--navy-50);
  color: var(--navy-700);
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 800;
}

.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 920px;
  overflow-y: auto;
}

.feed-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--navy-50);
}

.feed-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-list li:first-child {
  padding-top: 0;
}

.feed-list a {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-950);
}

.feed-list a:hover {
  color: var(--gold-500);
}

.feed-hot {
  display: inline-block;
  margin-left: 6px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.feed-list time {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

/* ==========================================================================
   GÜNDƏM (agenda)
   ========================================================================== */

/* ==========================================================================
   GÜNÜN MÖVZUSU
   ========================================================================== */

.topic-card {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy-950);
}

.topic-card img,
.topic-card .thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.topic-card:hover img {
  transform: scale(1.05);
}

.topic-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(7, 26, 44, 0.95), rgba(7, 26, 44, 0.1) 70%, transparent);
}

.topic-cat {
  display: inline-block;
  background: var(--gold-500);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.topic-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
}

/* ==========================================================================
   GÜNDƏM (agenda)
   ========================================================================== */

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

.agenda-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--navy-50);
}

.agenda-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.agenda-list li:first-child {
  padding-top: 0;
}

.agenda-time {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--navy-900);
  min-width: 38px;
}

.agenda-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-top: 5px;
}

.agenda-body {
  min-width: 0;
}

.agenda-type {
  display: inline-block;
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.agenda-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agenda-title:hover {
  color: var(--gold-500);
}

/* ==========================================================================
   SORĞU (poll)
   ========================================================================== */

.poll-question {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-950);
  margin: 0 0 14px;
  line-height: 1.4;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poll-option-btn {
  text-align: left;
  border: 1px solid var(--navy-100);
  background: var(--navy-50);
  color: var(--navy-900);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.poll-option-btn:hover:not(:disabled) {
  background: #fff;
  border-color: var(--gold-500);
}

.poll-option-btn:disabled {
  cursor: default;
  opacity: 0.6;
}

.poll-result-row {
  margin-bottom: 12px;
}

.poll-result-row.is-picked .poll-result-label span {
  color: var(--gold-500);
}

.poll-result-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 5px;
}

.poll-bar {
  height: 8px;
  background: var(--navy-50);
  border-radius: 6px;
  overflow: hidden;
}

.poll-bar span {
  display: block;
  height: 100%;
  background: var(--gold-500);
  border-radius: 6px;
  transition: width 0.4s ease;
}

.poll-total {
  margin: 10px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}

/* ==========================================================================
   KATEQORİYA TABLARI (ana səhifə)
   ========================================================================== */

.tabs-section {
  margin-top: 36px;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--navy-50);
  padding-bottom: 2px;
}

.tabs-btn {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 10px 4px;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
}

.tabs-btn.is-active {
  color: var(--navy-950);
  border-bottom-color: var(--gold-500);
}

.tabs-panel {
  display: none;
}

.tabs-panel.is-active {
  display: block;
}

/* ==========================================================================
   MÜƏLLİFLƏRDƏN
   ========================================================================== */

.authors-section {
  margin-top: 36px;
}

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

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

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

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

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

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

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

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

.author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.author-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.author-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-950);
}

.author-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.author-last {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy-950);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.author-card:hover .author-last {
  color: var(--gold-600, var(--gold-500));
}

.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;
}

.aznews-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);
}

.aznews-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İ
   ========================================================================== */

#aznews-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;
}

#aznews-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;
}

/* ==========================================================================
   NEWSLETTER ZOLAĞI
   ========================================================================== */

.newsletter-bar {
  background: var(--gold-500);
  margin-top: 48px;
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  color: #fff;
}

.newsletter-inner strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
}

.newsletter-inner span {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  max-width: 480px;
}

.newsletter-form {
  position: relative;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-size: 13px;
  min-width: 220px;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  border: none;
  background: var(--navy-950);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--navy-900);
}

.newsletter-msg {
  position: absolute;
  left: 0;
  bottom: -22px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-950);
}

.newsletter-msg.is-error {
  color: #fecaca;
}

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

.site-footer {
  margin-top: 0;
  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-social-mini {
  margin-top: 4px;
}

.soc-btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.15s;
}

.soc-btn-mini:hover {
  background: var(--gold-500);
}

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

.weather-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.weather-list b {
  color: #fff;
  font-weight: 800;
}

.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; }
}
