/* =========================================================
   Ekonomi365 Ana Stil Dosyası
   Düzeltilmiş ve optimize edilmiş sürüm
========================================================= */

/* ===================
   Renkler ve Temel Değişkenler
=================== */
:root {
  --color-primary: #0056b3;
  --color-primary-dark: #003f84;
  --color-heading: #0a1f44;
  --color-text: #333;
  --color-text-dark: #222;
  --color-muted: #555;
  --color-border: #ddd;
  --color-surface: #fff;
  --color-page: #f9f9f9;
  --color-soft: #f4f7fb;
  --color-footer: #222;
  --color-footer-link: #ffcc00;

  --container-max: 1600px;
  --sidebar-width: 350px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================
   Genel Ayarlar
=================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--color-page);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 48px);
}

/* Klavye kullanıcıları için görünür odak */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 86, 179, 0.35);
  outline-offset: 3px;
}

/* ===================
   Navbar
=================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding-block: 8px;
}

.logo {
  order: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 200px;
  height: auto;
  max-width: 100%;
}

.main-menu {
  flex: 1 1 0;
  min-width: 0;
}

.main-menu.left {
  order: 1;
}

.main-menu.right {
  order: 3;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 25px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu.left ul {
  justify-content: flex-end;
}

.main-menu.right ul {
  justify-content: flex-start;
}

.main-menu a {
  display: inline-block;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-menu a:hover,
.main-menu a.active,
.main-menu a[aria-current="page"] {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  order: 3;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.menu-toggle:hover {
  background: #f1f4f8;
}

/* ===================
   Hero
=================== */
.hero {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: url("../img/hero.jpg") no-repeat center / cover;
}

.hero.small-hero {
  min-height: 240px;
}

.hero-overlay {
  width: 100%;
  padding: clamp(42px, 7vw, 90px) 20px;
  background: linear-gradient(
    180deg,
    rgba(4, 35, 63, 0.16) 0%,
    rgba(4, 35, 63, 0.24) 55%,
    rgba(4, 35, 63, 0.32) 100%
  );
}

.hero h1 {
  margin: 0 0 15px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.hero p {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.52);
}

/* ===================
   Ana İçerik Yapısı
=================== */
.main-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, var(--sidebar-width));
  gap: 25px;
  margin-block: 24px;
}

.content {
  min-width: 0;
}

.content > h1,
.content > h2,
.category-block h2 {
  color: var(--color-heading);
}

.content > h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
}

.content > h2,
.category-block > h2 {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 5px solid var(--color-primary);
  font-size: 28px;
  line-height: 1.3;
}

.category-block {
  margin-bottom: 40px;
}

/* ===================
   Kart Grid Yapısı
=================== */
.category-cards {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}

.category-cards.five-col {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-cards.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-cards.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Arşiv sayfalarında varsayılan iki sütun */
.archive-page .category-cards:not(.five-col),
body.ekonomi-page .category-cards:not(.five-col),
body.gundem-page .category-cards:not(.five-col),
body.sirket-page .category-cards:not(.five-col),
body.raporlar-page .category-cards:not(.five-col) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-cards .report-card {
  min-width: 0;
  height: 100%;
}

/* ===================
   Haber Kartları
=================== */
.report-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.report-card:hover {
  transform: translateY(-3px);
  border-color: #c8d7e8;
  box-shadow: var(--shadow-md);
}

.report-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
  background: #eef1f4;
}

.report-card h2,
.report-card h3 {
  margin: 10px 0 8px;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.report-card a {
  color: var(--color-primary);
  text-decoration: none;
}

.report-card a:hover {
  text-decoration: underline;
}

.report-card p {
  flex-grow: 1;
  margin: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.report-card em {
  color: #666;
  font-style: normal;
  font-weight: 600;
}

/* Beş sütunlu kartların daha kompakt görünümü */
.category-cards.five-col .report-card h2,
.category-cards.five-col .report-card h3 {
  font-size: 16px;
}

.category-cards.five-col .report-card p {
  font-size: 14px;
  line-height: 1.55;
}

/* ===================
   Sayfalama
=================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 35px 0 10px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.pagination a:hover,
.pagination .active,
.pagination [aria-current="page"] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

/* ===================
   Sidebar
=================== */
.sidebar {
  display: block;
  width: 100%;
  min-width: 0;
}

.sidebar .ad-box {
  margin-bottom: 30px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.sidebar .ad-box a {
  display: block;
}

.sidebar img {
  width: 100%;
  height: auto;
  margin-inline: auto;
}

/* ===================
   Haber Detay
=================== */
.news-detail {
  min-width: 0;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.haber-gorsel,
.haber-detay img,
.news-detail .featured-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 20px auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.news-detail h1 {
  margin-top: 0;
  color: var(--color-heading);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
}

.news-detail h2 {
  margin: 28px 0 14px;
  color: var(--color-heading);
  font-size: 25px;
  line-height: 1.35;
}

.news-detail h3 {
  color: var(--color-heading);
  line-height: 1.4;
}

.news-detail p,
.news-detail li {
  color: var(--color-text-dark);
  font-size: 20px;
  line-height: 1.8;
}

.news-detail a {
  color: var(--color-primary);
}

.news-detail blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 5px solid var(--color-primary);
  background: var(--color-soft);
  color: var(--color-text-dark);
  font-size: 20px;
  line-height: 1.7;
}

/* ===================
   Haber Detay Tabloları
=================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  font-size: 16px;
}

.data-table th,
.data-table td {
  padding: 11px 12px;
  border: 1px solid var(--color-border);
  vertical-align: top;
  text-align: left;
}

.data-table th {
  background: var(--color-soft);
  color: var(--color-heading);
  font-weight: 700;
}

.data-table td {
  color: var(--color-text-dark);
}

.data-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* ===================
   Haber Not Kutusu
=================== */
.note-box {
  margin: 22px 0;
  padding: 15px 18px;
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-soft);
  color: var(--color-text-dark);
}

.note-box strong {
  color: var(--color-heading);
}

/* ===================
   Canlı Kurlar
=================== */
#canli-kurlar {
  margin: 40px 0;
  padding: 20px;
  border-radius: 10px;
  background: #f8f9fa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

#canli-kurlar h2 {
  margin: 0 0 20px;
  color: var(--color-text-dark);
  font-size: 1.8em;
}

#kurlar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.kur-card {
  min-width: 150px;
  padding: 15px 25px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 18px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.kur-card:hover {
  transform: translateY(-3px);
  border-color: #0077cc;
  background: #e8f0ff;
}

/* ===================
   Reklam Banner
=================== */
.ad-banner {
  margin: 10px auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}

.ad-banner.top-banner {
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
}

.ad-banner.top-banner img {
  width: 100%;
  height: auto;
  max-height: 3cm;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.ad-banner.top-banner img:hover {
  transform: scale(1.01);
}

/* ===================
   Footer
=================== */
.footer {
  margin-top: 20px;
  padding: 18px 16px;
  background: var(--color-footer);
  color: #fff;
  text-align: center;
}

.footer p {
  margin: 8px 0;
}

.footer a {
  color: var(--color-footer-link);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-twitter-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

/* ===================
   Hukuki Bilgi Kutusu
=================== */
.legal-info,
.legal-notice,
.legal-warning {
  margin-top: 0;
  padding: 22px;
  border-top: 1px solid var(--color-border);
  background: #f4f4f4;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal-info h2,
.legal-info h3,
.legal-notice h2,
.legal-notice h3,
.legal-warning h2,
.legal-warning h3 {
  margin: 0 0 10px;
  color: var(--color-text-dark);
  font-size: 20px;
}

.legal-info p,
.legal-notice p,
.legal-warning p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===================
   Kaynak Kutusu
=================== */
.source-box {
  margin-top: 30px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: #f8f9fa;
}

.source-box h2,
.source-box h3 {
  margin-top: 0;
  color: var(--color-heading);
  font-size: 24px;
}

.source-box ul {
  margin-left: 0;
  padding-left: 20px;
}

.source-box li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.source-box a {
  color: var(--color-primary);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.source-box a:hover {
  text-decoration: underline;
}

/* ===================
   Künye Sayfası
=================== */
.kunye-card {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.kunye-card h2 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  color: var(--color-primary);
  font-size: 20px;
}

.kunye-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.kunye-card a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.kunye-card a:hover {
  text-decoration: underline;
}

/* ===================
   TCMB Altın Analizi
=================== */
.tcmb-gold-analysis {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid #e4c56f;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8e1, #ffffff);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tcmb-gold-analysis .analysis-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #b8860b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.tcmb-gold-analysis h2 {
  margin-top: 0;
  color: #4a3300;
}

.tcmb-gold-analysis .lead {
  color: #2f2f2f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
}

.tcmb-gold-analysis .highlight-box {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 6px solid #f5c542;
  border-radius: var(--radius-lg);
  background: #1f2937;
  color: #fff;
}

.tcmb-gold-analysis .highlight-box p {
  margin: 0;
  color: #fff;
}

.tcmb-gold-analysis .data-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.tcmb-gold-analysis .data-card {
  padding: 18px 14px;
  border: 1px solid #e8d28a;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.tcmb-gold-analysis .data-card span {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 13px;
}

.tcmb-gold-analysis .data-card strong {
  display: block;
  color: #b8860b;
  font-size: 28px;
  line-height: 1.2;
}

.tcmb-gold-analysis .data-card small {
  display: block;
  margin-top: 4px;
  color: #444;
  font-size: 13px;
}

.tcmb-gold-analysis blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 6px solid #c79200;
  border-radius: var(--radius-lg);
  background: #fff3c4;
  color: #3b2a00;
  font-size: 17px;
  line-height: 1.6;
}

.tcmb-gold-analysis .result-box {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  line-height: 1.7;
}

.tcmb-gold-analysis .result-box strong {
  color: #f5c542;
}

.tcmb-gold-analysis a {
  color: #9a6b00;
  font-weight: 700;
  text-decoration: underline;
}

.tcmb-gold-analysis .result-box a,
.tcmb-gold-analysis .highlight-box a {
  color: #f5c542;
}

/* ===================
   Profesyonel Haber Başlığı
=================== */
.headline-box {
  margin-bottom: 24px;
  padding: 22px 24px;
  border-left: 6px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-soft);
}

.headline-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.headline-box h1 {
  margin: 0;
  color: var(--color-heading);
  font-size: 34px;
  line-height: 1.25;
}

.headline-summary {
  margin: 14px 0 0;
  color: var(--color-text);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
}

/* ===================
   CANTE İzleme Kutusu
=================== */
.cante-watch-box {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid #d9e3f0;
  border-left: 6px solid var(--color-primary);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-soft), #ffffff);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.cante-watch-box .watch-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.cante-watch-box h2 {
  margin-top: 0;
  color: var(--color-heading);
  font-size: 26px;
  line-height: 1.3;
}

.cante-watch-box > p {
  color: var(--color-text-dark);
  font-size: 18px;
  line-height: 1.75;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.watch-card {
  padding: 18px;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.watch-card strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
}

.watch-card h3 {
  margin: 6px 0 10px;
  color: var(--color-heading);
  font-size: 19px;
}

.watch-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

.watch-note {
  padding: 14px 16px;
  border-left: 5px solid #f0a500;
  border-radius: var(--radius-sm);
  background: #fff7e6;
  color: #3b2a00 !important;
  font-size: 16px !important;
}

/* ===================
   WhatsApp Butonu
=================== */
.whatsapp-button {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 999;
}

.whatsapp-button a {
  display: block;
  border-radius: 50%;
}

.whatsapp-button img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.whatsapp-button img:hover {
  transform: scale(1.08);
}

/* ===================
   Responsive
=================== */
@media (min-width: 992px) {
  .news-detail .featured-image {
    max-width: 80%;
  }
}

@media (max-width: 1400px) {
  .category-cards.five-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .navbar-container {
    gap: 16px;
  }

  .main-menu a {
    font-size: 16px;
  }

  .category-cards.five-col,
  .category-cards.four-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .category-cards.five-col,
  .category-cards.four-col,
  .category-cards.two-col,
  .archive-page .category-cards:not(.five-col),
  body.ekonomi-page .category-cards:not(.five-col),
  body.gundem-page .category-cards:not(.five-col),
  body.sirket-page .category-cards:not(.five-col),
  body.raporlar-page .category-cards:not(.five-col) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .sidebar .ad-box {
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .tcmb-gold-analysis .data-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* Mobil */
@media (max-width: 768px) {
  .navbar-container {
    position: relative;
    flex-wrap: wrap;
    min-height: 68px;
    gap: 10px;
  }

  .logo {
    order: 1;
  }

  .logo img {
    width: 140px;
  }

  .menu-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .main-menu {
    display: none;
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
  }

  .main-menu.show {
    display: block;
  }

  .main-menu ul,
  .main-menu.left ul,
  .main-menu.right ul {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 0;
  }

  .main-menu li {
    width: 100%;
  }

  .main-menu a {
    display: block;
    width: 100%;
    padding: 11px 16px;
    text-align: center;
  }

  .main-menu a:hover,
  .main-menu a.active,
  .main-menu a[aria-current="page"] {
    background: #f2f6fa;
  }

  .hero {
    min-height: 230px;
  }

  .hero.small-hero {
    min-height: 190px;
  }

  .category-cards,
  .category-cards.five-col,
  .category-cards.four-col,
  .category-cards.two-col,
  .archive-page .category-cards,
  body.ekonomi-page .category-cards,
  body.gundem-page .category-cards,
  body.sirket-page .category-cards,
  body.raporlar-page .category-cards {
    grid-template-columns: 1fr;
  }

  .content > h2,
  .category-block > h2 {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .category-cards.five-col .report-card h2,
  .category-cards.five-col .report-card h3 {
    font-size: 18px;
  }

  .category-cards.five-col .report-card p {
    font-size: 15px;
  }

  .report-card img,
  .category-cards.five-col .report-card img {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: none;
    object-fit: cover;
  }

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

  .sidebar img {
    max-height: 280px;
    object-fit: contain;
  }

  .news-detail {
    padding: 16px;
  }

  .news-detail h1 {
    font-size: 25px;
  }

  .news-detail h2 {
    font-size: 21px;
  }

  .news-detail p,
  .news-detail li,
  .news-detail blockquote {
    font-size: 18px;
    line-height: 1.7;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    font-size: 14px;
    white-space: nowrap;
  }

  .data-table th,
  .data-table td {
    min-width: 130px;
    padding: 9px 10px;
  }

  .source-box h2,
  .source-box h3 {
    font-size: 20px;
  }

  .source-box li {
    font-size: 15px;
  }

  .legal-warning p,
  .legal-info p,
  .legal-notice p {
    font-size: 14px;
  }

  #canli-kurlar h2 {
    font-size: 1.4em;
  }

  #kurlar {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .kur-card {
    width: min(100%, 360px);
    min-width: 0;
    padding: 12px 20px;
    font-size: 16px;
  }

  .whatsapp-button img {
    width: 50px;
    height: 50px;
  }

  .ad-banner.top-banner {
    margin: 0;
    padding: 0;
  }

  .ad-banner.top-banner img {
    width: 100% !important;
    height: auto !important;
    max-height: 1.5cm;
    object-fit: contain;
  }

  .headline-box {
    padding: 18px;
  }

  .headline-kicker {
    font-size: 13px;
  }

  .headline-box h1 {
    font-size: 25px;
    line-height: 1.3;
  }

  .headline-summary {
    font-size: 16px;
  }

  .cante-watch-box {
    padding: 18px;
  }

  .cante-watch-box h2 {
    font-size: 22px;
  }

  .cante-watch-box > p {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 16px;
  }

  .tcmb-gold-analysis {
    padding: 20px;
  }

  .tcmb-gold-analysis .data-cards {
    grid-template-columns: 1fr;
  }

  .tcmb-gold-analysis .lead {
    font-size: 16px;
  }

  .news-detail {
    padding: 14px;
  }

  .news-detail h1 {
    font-size: 23px;
  }

  .news-detail p,
  .news-detail li {
    font-size: 17px;
  }

  .pagination a,
  .pagination span {
    min-width: 38px;
    min-height: 38px;
    padding: 7px 11px;
  }
}

/* ===================
   Hareket Hassasiyeti
=================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================
   Baskı Görünümü
=================== */
@media print {
  .navbar,
  .sidebar,
  .footer,
  .legal-info,
  .whatsapp-button,
  .ad-banner,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .container,
  .main-content,
  .news-detail {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}

/* CANLI DÖVİZ VE ALTIN */

.market-widget-section {
  margin: 16px 0 24px;
  padding: 14px 18px;
  border: 1px solid #e3e9ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.06);
}

.market-widget-section > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.market-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.market-widget-label {
  display: inline-block;
  margin-bottom: 2px;
  color: #996100;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.market-widget-header h2 {
  margin: 0;
  color: #0a1f44;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.market-widget-header p {
  display: none;
}

.market-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 5px 9px;
  border: 1px solid #dcefe5;
  border-radius: 999px;
  background: #f1fbf6;
  color: #147747;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.market-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29d17d;
  box-shadow: 0 0 0 5px rgba(41, 209, 125, 0.15);
}

.market-widget-card {
  overflow: hidden;
  border: 1px solid #e3e9ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.market-widget-frame {
  display: flex;
  min-height: 145px;
  height: 145px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 10px;
  background: #ffffff;
  scrollbar-width: thin;
}

.market-widget-frame ins {
  display: block;
  max-width: 100%;
}

.market-widget-frame iframe {
  width: 100% !important;
  max-width: 600px;
  height: 143px !important;
}

.market-widget-frame > a:not(.market-widget-source) {
  display: none !important;
}

.market-widget-source {
  display: none;
}

.market-widget-warning {
  margin: 0;
  padding: 15px;
  border: 1px solid #f0d78b;
  border-radius: 8px;
  background: #fff8df;
  color: #6d5600;
  text-align: center;
}

.market-widget-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 8px 14px;
  border-top: 1px solid #e6ebf0;
  background: #f7f9fb;
}

.market-widget-footer p {
  max-width: 650px;
  margin: 0;
  color: #66717d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.market-widget-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
}

.market-widget-links a {
  color: #0a568f;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.market-widget-links a:hover,
.market-widget-links a:focus-visible {
  color: #c88100;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .market-widget-section {
    margin: 12px 0 20px;
    padding: 12px;
    border-radius: 12px;
  }

  .market-widget-header {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .market-widget-frame {
    min-height: 145px;
    height: 145px;
    justify-content: center;
    padding: 0;
  }

  .market-widget-footer {
    align-items: center;
    flex-direction: row;
    padding: 8px 10px;
  }

  .market-widget-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .market-widget-frame {
    margin: 0;
  }

  .market-widget-frame > * {
    max-width: none;
  }
}
.news-detail .two-line-title {
  white-space: normal;
}

.news-detail .two-line-title span {
  display: block;
}

.news-detail .two-line-title span + span {
  margin-top: 8px;
}
