:root {
  --navy: #00205b;
  --navy-deep: #001540;
  --navy-mid: #003080;
  --green: #00a651;
  --green-light: #00c060;
  --green-soft: rgba(0, 166, 81, 0.12);
  --red: #dc2626;
  --red-soft: rgba(220, 38, 38, 0.1);
  --text: #1a2b4a;
  --muted: #5a6b85;
  --bg: #e8ecf1;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --line: #d2dae6;
  --shadow: 0 4px 24px rgba(0, 32, 91, 0.07);
  --shadow-lg: 0 12px 40px rgba(0, 32, 91, 0.1);
  --font: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --market-strip-h: 52px;
  --header-h: 72px;
  --ticker-h: 40px;
  --ticker-gap: 12px;
  --cookie-banner-h: 96px;
  --site-top-h: calc(var(--market-strip-h) + var(--header-h));
  --radius: 12px;
  --radius-lg: 16px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --navy: #d4e0f0;
  --text: #e8edf5;
  --muted: #8fa3be;
  --bg: #0c1424;
  --surface: #121e32;
  --surface-2: #17263d;
  --line: #263347;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --green-soft: rgba(0, 166, 81, 0.18);
  --red-soft: rgba(220, 38, 38, 0.15);
}

[data-theme="dark"] body {
  background: linear-gradient(180deg, #101a2c 0%, var(--bg) 220px, var(--bg) 100%);
}

[data-theme="light"] {
  color-scheme: light;
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.25s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    linear-gradient(180deg, #f3f5f8 0%, var(--bg) 220px, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--site-top-h);
  padding-bottom: 0;
}

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

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

button,
input {
  font: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
}

/* Site top — market strip + header */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

/* Market strip — ortalı piyasa + hava bandı */
.site-top .market-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--market-strip-h);
  min-height: var(--market-strip-h);
  background: var(--navy-deep);
  color: #fff;
  border-bottom: 2px solid var(--green);
  overflow: hidden;
}

.site-top .market-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(1240px, 100% - 32px);
  height: 100%;
  margin-inline: auto;
}

.site-top .market-strip-section {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-top .market-strip-section--fx {
  flex-shrink: 0;
}

.site-top .market-strip-section--weather {
  flex: 1 1 320px;
  max-width: 460px;
  overflow: hidden;
}

.site-top .market-strip-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 166, 81, 0.16);
  border: 1px solid rgba(0, 192, 96, 0.28);
  color: var(--green-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-top .market-strip-tag--weather {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
  color: #93c5fd;
}

.site-top .market-strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 5px rgba(0, 192, 96, 0.55);
  animation: pulse-dot 1.5s ease infinite;
}

.site-top .market-strip-divider {
  flex-shrink: 0;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.14);
}

.site-top .market-strip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
}

.site-top .market-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-top .market-strip-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.site-top .market-strip-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.site-top .market-strip-price {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.site-top .market-strip-change {
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 3.6rem;
}

.site-top .market-strip-change.up { color: #4ade80; }
.site-top .market-strip-change.down { color: #fca5a5; }

.site-top .weather-strip-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.site-top .weather-strip-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  will-change: transform;
}

.site-top .weather-strip-marquee {
  white-space: nowrap;
}

.site-top .weather-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.site-top .weather-chip-city {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.site-top .weather-chip-temp {
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.site-top .weather-chip-icon {
  font-size: 0.78rem;
  line-height: 1;
}

/* Footer altı — BIST 100 canlı hisse şeridi (tam alta sabit) */
.footer-bist-spacer {
  height: var(--ticker-h);
  background: var(--navy-deep);
  pointer-events: none;
}

.footer-bist-fixed,
.site-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 9100;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  isolation: isolate;
}

/* Ticker */
.footer-bist-fixed .ticker,
.ticker {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
  font-weight: 600;
  overflow: hidden;
  border-top: 2px solid var(--green);
  height: var(--ticker-h);
  min-height: var(--ticker-h);
}

.ticker-live {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: rgba(0, 166, 81, 0.15);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green-light);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ticker {
  cursor: default;
  user-select: none;
}

.ticker.is-paused .ticker-live-dot {
  animation-play-state: paused;
}

.ticker-track {
  flex: 1;
  height: 100%;
  overflow: hidden;
  min-width: 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.ticker-inner.ticker-marquee {
  animation: none;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 28px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-item strong {
  color: #fff;
  font-weight: 700;
}

.ticker-item .up {
  color: var(--green-light);
}

.ticker-item .down {
  color: #f87171;
}

/* Header */
.header {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 32, 91, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: var(--header-h);
  gap: 12px 18px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 4px 0;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s var(--ease);
}

.header-logo:hover {
  opacity: 0.88;
}

.header-nav-area {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.site-logo {
  display: block;
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

.site-logo--dark {
  display: none;
}

[data-theme="dark"] .site-logo--light {
  display: none;
}

[data-theme="dark"] .site-logo--dark {
  display: block;
}

.header-logo .site-logo {
  height: 50px;
  max-width: 200px;
}

.footer-brand-link .site-logo {
  width: 52px;
  height: 52px;
  max-width: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.main-nav {
  width: 100%;
  max-width: 100%;
}

.main-nav-viewport {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.main-nav-track {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  padding: 0 2px 3px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

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

.main-nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  box-shadow: 0 0 8px rgba(0, 166, 81, 0.35);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
  pointer-events: none;
  z-index: 1;
  will-change: transform, width;
}

.main-nav-item {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  flex-shrink: 0;
}

.main-nav-item:hover {
  color: var(--navy);
  background: rgba(0, 166, 81, 0.06);
}

.main-nav-item.active {
  color: var(--navy);
  font-weight: 700;
}

.main-nav-item--home {
  padding: 10px 11px;
}

.main-nav-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.main-nav-item-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.main-nav-item-label {
  line-height: 1;
}

.main-nav-item:hover .main-nav-item-icon,
.main-nav-item.active .main-nav-item-icon {
  opacity: 1;
  color: var(--green);
  transform: translateY(-1px);
}

[data-theme="dark"] .main-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .main-nav-item.active {
  color: #fff;
}

[data-theme="dark"] .main-nav-item:hover .main-nav-item-icon,
[data-theme="dark"] .main-nav-item.active .main-nav-item-icon {
  color: var(--green-light);
}

.main-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 50, 0.45);
  backdrop-filter: blur(2px);
  z-index: 250;
}

body.nav-open {
  overflow: hidden;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  justify-self: end;
}

.header-user-group {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.header-user-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  text-decoration: none;
  max-width: 148px;
  min-width: 0;
  transition: border-color 0.2s, background 0.2s;
}

.header-user-link:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.header-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.header-user-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

[data-theme="dark"] .header-user-name {
  color: #fff;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.header-dropdown {
  position: relative;
  flex-shrink: 0;
}

.header-dropdown-toggle {
  cursor: pointer;
  font: inherit;
  gap: 6px;
  text-align: left;
}

button.header-dropdown-toggle {
  appearance: none;
  -webkit-appearance: none;
}

button.header-pill.header-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 32, 91, 0.12);
}

button.header-user-link.header-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.header-dropdown-chevron {
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform 0.2s var(--ease);
}

.header-dropdown.is-open .header-dropdown-chevron {
  transform: rotate(180deg);
}

.header-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 196px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 32, 91, 0.14);
  z-index: 400;
  animation: headerDropdownIn 0.18s var(--ease);
}

@keyframes headerDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.header-dropdown-item span {
  flex: 1;
  min-width: 0;
}

.header-dropdown-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.header-dropdown-item:hover {
  background: var(--surface-2);
  color: var(--green);
}

.header-dropdown-item:hover svg {
  opacity: 1;
}

.header-dropdown-item.active {
  background: var(--green-soft);
  color: var(--green);
}

.header-dropdown-item--danger {
  color: #c0392b;
}

.header-dropdown-item--danger:hover {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
}

[data-theme="dark"] .header-dropdown-item {
  color: #fff;
}

[data-theme="dark"] .header-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--green-light);
}

[data-theme="dark"] .header-dropdown-item--danger {
  color: #f87171;
}

[data-theme="dark"] .header-dropdown-item--danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.header-pill-admin {
  background: rgba(0, 32, 91, 0.08);
  color: var(--navy);
  border: 1px solid rgba(0, 32, 91, 0.12);
}

.header-pill-admin:hover,
.header-dropdown.is-open .header-pill-admin {
  background: var(--navy);
  color: #fff;
}

[data-theme="dark"] .header-pill-admin {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.header-pill-messages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 32, 91, 0.06);
  color: var(--navy);
  border: 1px solid rgba(0, 32, 91, 0.1);
}

.header-pill-messages:hover {
  background: rgba(0, 166, 81, 0.12);
  border-color: rgba(0, 166, 81, 0.25);
  color: var(--green);
}

.header-pill-messages.active {
  background: rgba(0, 166, 81, 0.14);
  border-color: rgba(0, 166, 81, 0.28);
  color: var(--green);
}

.header-pill-messages svg {
  flex-shrink: 0;
}

.header-msg-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  font-style: normal;
  display: grid;
  place-items: center;
  line-height: 1;
}

[data-theme="dark"] .header-pill-messages {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-header-sm {
  padding: 8px 14px;
  font-size: 0.72rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-soft);
}

.theme-toggle .theme-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .theme-icon-moon,
[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--surface);
}

[data-theme="dark"] .btn-outline {
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  place-items: center;
  cursor: pointer;
  color: var(--navy);
}

[data-theme="dark"] .menu-toggle {
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  transition: transform 0.25s var(--ease), top 0.25s var(--ease), background 0.2s;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Market overview (ana sayfa kartları) */
.market-overview {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.market-card {
  padding: 14px 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}

.market-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.market-card .label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.market-card .value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

[data-theme="dark"] .market-card .value {
  color: #fff;
}

.market-card .change {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.change.up { color: var(--green); }
.change.down { color: var(--red); }

/* Hero */
.hero {
  padding: 32px 0 24px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Sol — kayan manşet */
.hero-marquee {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background: var(--navy);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 166, 81, 0.15);
}

.hero-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0, 166, 81, 0.06);
  z-index: 4;
}

.hero-marquee-stage {
  position: absolute;
  inset: 0;
}

.hero-marquee-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}

.hero-marquee-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-marquee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 21, 64, 0.25) 0%,
    rgba(0, 32, 91, 0.78) 55%,
    rgba(0, 32, 91, 0.96) 100%
  );
}

.hero-marquee-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.hero-marquee-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-bottom: 14px;
}

.hero-marquee-title {
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: 92%;
}

.hero-marquee-title a {
  color: inherit;
  transition: color 0.2s;
}

.hero-marquee-title a:hover {
  color: var(--green-light);
}

.hero-marquee-excerpt {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 88%;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-marquee-meta {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.hero-marquee-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 21, 64, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}

.hero-marquee-prev { left: 14px; }
.hero-marquee-next { right: 14px; }

.hero-marquee.is-hovered .hero-marquee-nav {
  opacity: 1;
  pointer-events: auto;
}

.hero-marquee-nav:hover {
  background: rgba(0, 166, 81, 0.35);
  border-color: rgba(0, 192, 96, 0.5);
}

.hero-marquee-footer {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-marquee-counter {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.hero-marquee-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-marquee-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-marquee-dot-btn.is-active {
  background: var(--green-light);
  transform: scale(1.15);
}

/* Sağ — önemli gelişmeler */
.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
  --highlight-gap: 12px;
  --highlight-card-h: 100px;
}

.hero-highlights--scroll {
  min-height: auto;
  align-self: start;
}

.hero-highlights-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 4px;
}

.hero-highlights-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hero-highlights-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.hero-highlights-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.hero-highlights-btn:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-soft);
}

.hero-highlights-btn--toggle[aria-pressed="true"] {
  color: var(--navy);
  border-color: var(--green);
  background: var(--green-soft);
}

.hero-highlights-viewport {
  flex: 1;
  min-height: 0;
}

.hero-highlights--scroll .hero-highlights-viewport {
  flex: none;
  overflow: hidden;
  height: calc(var(--highlight-card-h) * 3 + var(--highlight-gap) * 2);
  max-height: calc(var(--highlight-card-h) * 3 + var(--highlight-gap) * 2);
}

.hero-highlights--scroll .hero-highlights-list {
  flex: none;
  gap: var(--highlight-gap);
  will-change: transform;
}

.hero-highlights-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.82rem;
}

.hero-highlights-head h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

[data-theme="dark"] .hero-highlights-head h2 {
  color: #fff;
}

.hero-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hero-highlights--scroll .hero-highlight-card {
  flex: none;
  height: var(--highlight-card-h);
  min-height: var(--highlight-card-h);
  max-height: var(--highlight-card-h);
  overflow: hidden;
}

.hero-highlights--scroll .hero-highlight-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.hero-highlight-card {
  flex: 1;
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.hero-highlight-card:hover {
  border-color: var(--green);
  transform: translateX(4px);
}

.hero-highlight-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-highlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-highlight-cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 8px;
}

.hero-highlight-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 8px;
}

[data-theme="dark"] .hero-highlight-card h3 {
  color: #fff;
}

.hero-highlight-card h3 a:hover {
  color: var(--green);
}

.hero-highlight-time {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-highlight-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* Categories */
.categories {
  padding: 8px 0 24px;
}

.cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.cat-chip:hover,
.cat-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Main layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  padding-bottom: 48px;
}

/* Neden düştü / yükseldi blokları */
.insight-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.insight-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.insight-block--fall {
  border-top: 4px solid #dc2626;
}

.insight-block--rise {
  border-top: 4px solid #2563eb;
}

.insight-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
}

.insight-block--fall .insight-block-head {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), transparent);
}

.insight-block--rise .insight-block-head {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent);
}

.insight-block-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.insight-block--fall .insight-block-icon {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.insight-block--rise .insight-block-icon {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.insight-block-head h2 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.insight-block--fall .insight-block-head h2 {
  color: #dc2626;
}

.insight-block--rise .insight-block-head h2 {
  color: #2563eb;
}

.insight-block-list {
  list-style: none;
  padding: 4px 8px 12px;
  margin: 0;
  counter-reset: insight;
}

.insight-block-list li {
  counter-increment: insight;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  transition: background 0.2s;
}

.insight-block-list li::before {
  content: counter(insight);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.insight-block--fall .insight-block-list li::before {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.insight-block--rise .insight-block-list li::before {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.insight-block-list li:hover {
  background: var(--surface-2);
}

.insight-block-list a {
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s;
}

.insight-block--fall .insight-block-list a:hover {
  color: #dc2626;
}

.insight-block--rise .insight-block-list a:hover {
  color: #2563eb;
}

.insight-block-list span {
  color: var(--text);
  font-weight: 600;
}

.insight-block-empty {
  color: var(--muted) !important;
  font-weight: 500 !important;
  font-size: 0.8rem !important;
}

.insight-block-empty::before {
  display: none !important;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: none;
  position: relative;
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 2px;
}

.section-head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

[data-theme="dark"] .section-head h2 {
  color: #fff;
}

.section-head a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
}

.section-head a:hover {
  text-decoration: underline;
}

/* Article grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  position: relative;
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 32, 91, 0.12);
  border-color: rgba(0, 166, 81, 0.35);
}

.article-card:hover::before {
  opacity: 1;
}

.article-thumb {
  display: block;
  height: 180px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

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

.article-body {
  padding: 20px;
}

.article-body .cat {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 8px;
}

.article-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 10px;
}

[data-theme="dark"] .article-body h3 {
  color: #fff;
}

.article-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.read-more {
  color: var(--green);
  font-weight: 700;
}

/* List articles */
.list-section {
  margin-top: 36px;
}

.list-articles {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

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

.list-item:hover {
  background: var(--surface-2);
}

.list-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}

.list-item .meta {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.list-item .arrow {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.list-item:hover .arrow {
  background: var(--green);
  color: #fff;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.widget-head {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Döviz & altın birleşik hesaplayıcı */
.widget-fx-gold .widget-head {
  border-bottom-color: #fbbf24;
}

.fx-gold-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.fx-gold-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.fx-gold-switch-btn span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--surface);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--green);
}

.fx-gold-switch-btn.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.fx-gold-switch-btn.is-active span {
  background: var(--green-soft);
}

.fx-gold-panel {
  display: none;
}

.fx-gold-panel.is-active {
  display: block;
}

.article-sidebar .widget-fx-gold {
  margin-bottom: 16px;
}

.article-sidebar .fx-gold-switch-btn {
  font-size: 0.72rem;
  padding: 9px 8px;
}

/* Forex calculator widget */
.widget-forex .widget-head {
  border-bottom-color: #fbbf24;
}

.widget-metals .widget-head {
  border-bottom-color: #d4a017;
}

.metals-calc-desc {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.metals-calc-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.metals-calc-result-box {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1) 0%, rgba(0, 48, 128, 0.05) 100%);
  border-color: rgba(212, 160, 23, 0.22);
}

.metals-calc-note {
  margin: 10px 0 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.45;
}

.forex-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(0, 192, 96, 0.25);
  animation: footer-pulse 2s ease infinite;
  flex-shrink: 0;
}

.forex-calc-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.forex-calc-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.forex-calc-tab:hover {
  border-color: var(--green);
  color: var(--green);
}

.forex-calc-tab.is-active {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-color: var(--navy-mid);
  color: #fff;
}

.forex-calc-tab-icon {
  font-size: 0.9rem;
}

.forex-calc-mode {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 8px;
}

.forex-calc-mode-btn {
  flex: 1;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.forex-calc-mode-btn.is-active {
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 32, 91, 0.1);
}

[data-theme="dark"] .forex-calc-mode-btn.is-active {
  color: #fff;
}

.forex-calc-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.forex-calc-input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.forex-calc-input-row:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.forex-calc-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  outline: none;
  font-family: inherit;
}

[data-theme="dark"] .forex-calc-input {
  color: #fff;
}

.forex-calc-unit {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--surface-2);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  border-left: 1px solid var(--line);
}

.forex-calc-arrow {
  text-align: center;
  font-size: 1.1rem;
  color: var(--green);
  margin: 10px 0;
  line-height: 1;
}

.forex-calc-result-box {
  padding: 16px;
  background: linear-gradient(135deg, rgba(0, 166, 81, 0.08) 0%, rgba(0, 48, 128, 0.06) 100%);
  border: 1px solid rgba(0, 166, 81, 0.2);
  border-radius: 10px;
  text-align: center;
  margin-bottom: 12px;
}

.forex-calc-result-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.forex-calc-result {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.forex-calc-rate-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 8px;
}

.forex-calc-rate-line em {
  font-style: normal;
  font-weight: 800;
  color: var(--navy);
}

[data-theme="dark"] .forex-calc-rate-line em {
  color: #fff;
}

.forex-calc-rate {
  font-weight: 800;
  color: var(--navy);
}

[data-theme="dark"] .forex-calc-rate {
  color: #fff;
}

.forex-calc-change {
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: auto;
}

.forex-calc-change.up { color: var(--green); }
.forex-calc-change.down { color: var(--red); }

.forex-calc-quick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.forex-calc-quick-btn {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

[data-theme="dark"] .forex-calc-quick-btn {
  color: #fff;
}

.forex-calc-quick-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.forex-widget-link {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  text-align: center;
  transition: color 0.2s;
}

.forex-widget-link:hover {
  color: var(--green-light);
}

.widget-body {
  padding: 18px 20px;
}

/* Popular */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popular-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s;
}

.popular-item:hover {
  background: var(--green-soft);
  transform: translateX(4px);
}

.popular-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.3);
}

.popular-item h4 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.popular-item .views {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Market widget */
.market-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 8px;
  font-size: 0.82rem;
}

.market-row .name {
  font-weight: 700;
  color: var(--navy);
}

[data-theme="dark"] .market-row .name {
  color: #fff;
}

.market-row .price {
  font-weight: 800;
}

/* Bulletin */
.bulletin-card {
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
  margin-bottom: 12px;
}

.bulletin-card:last-child {
  margin-bottom: 0;
}

.bulletin-card .date {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.bulletin-card h4 {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.bulletin-card a {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #001a4d 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  padding-bottom: 0;
}

.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 50%, var(--green) 100%);
}

.footer-ticker {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

.footer-ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(0, 192, 96, 0.2);
  animation: footer-pulse 2s ease infinite;
}

@keyframes footer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.footer-ticker-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.footer-ticker-track::-webkit-scrollbar {
  display: none;
}

.footer-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-size: 0.76rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-ticker-name {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer-ticker-item strong {
  color: #fff;
  font-weight: 700;
}

.footer-ticker-item em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.7rem;
}

.footer-ticker-item em.up { color: #4ade80; }
.footer-ticker-item em.down { color: #f87171; }

.footer-body {
  padding: 48px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  text-decoration: none;
  color: #fff;
}

.footer-brand-link img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.footer-brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.02em;
}

.footer-brand-desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.footer-stat span {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
  text-decoration: none;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 166, 81, 0.35);
}

.footer-col-sub {
  margin-top: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 0.82rem;
  transition: color 0.2s, padding-left 0.2s;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col a:hover {
  color: var(--green-light);
  padding-left: 4px;
}

.footer-news-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-news-list a:hover {
  padding-left: 0;
}

.footer-news-list a span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.footer-news-list time,
.footer-news-list em {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
}

.footer-disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
}

.footer-disclaimer-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #fbbf24;
  margin-top: 1px;
}

.footer-disclaimer strong {
  display: block;
  color: #fbbf24;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.footer-disclaimer p {
  font-size: 0.74rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-bottom {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a,
.footer-bottom a {
  color: var(--green-light);
  font-weight: 600;
  text-decoration: none;
}

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

/* Cookie banner — ticker şeridinin üstünde */
body.has-cookie-banner {
  padding-bottom: calc(var(--ticker-h) + var(--ticker-gap) + var(--cookie-banner-h));
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--ticker-h) + var(--ticker-gap));
  z-index: 9200;
  padding: 14px 16px;
  background: rgba(0, 21, 64, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  backdrop-filter: blur(8px);
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner.is-dismissed {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-text strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

.cookie-banner-text a {
  color: var(--green-light);
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.cookie-btn-primary {
  background: var(--green);
  color: #fff;
}

.cookie-btn-primary:hover {
  background: var(--green-light);
}

.cookie-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-cookie-policy {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.footer-cookie-policy summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-light);
  list-style: none;
}

.footer-cookie-policy summary::-webkit-details-marker {
  display: none;
}

.footer-cookie-policy summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.2s;
}

.footer-cookie-policy[open] summary::before {
  transform: rotate(90deg);
}

.footer-cookie-policy-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cookie-policy-body p {
  font-size: 0.74rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 8px;
}

.footer-cookie-policy-body p:last-child {
  margin-bottom: 0;
}

/* Header — dar ekran uyumu */
@media (max-width: 1280px) {
  .main-nav-item {
    padding: 9px 10px;
    font-size: 0.74rem;
    gap: 6px;
  }

  .header-user-link {
    max-width: 120px;
  }
}

@media (max-width: 1140px) {
  .main-nav-item-label {
    display: none;
  }

  .main-nav-item {
    padding: 10px 11px;
    gap: 0;
  }

  .main-nav-item-icon {
    opacity: 0.7;
  }

  .main-nav-item:hover .main-nav-item-icon,
  .main-nav-item.active .main-nav-item-icon {
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .header-user-name {
    display: none;
  }

  .header-user-link {
    max-width: none;
    padding: 4px;
  }
}

/* Mobile nav */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .newsletter-widget {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px 12px;
  }

  .header-nav-area {
    width: 0;
    min-width: 0;
    overflow: visible;
  }

  .main-nav-viewport {
    display: none;
  }

  .main-nav.is-open .main-nav-viewport {
    display: flex;
    position: fixed;
    top: var(--site-top-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 300;
    gap: 8px;
    max-height: calc(100dvh - var(--site-top-h));
    overflow-y: auto;
  }

  .main-nav.is-open .main-nav-viewport::before,
  .main-nav.is-open .main-nav-viewport::after {
    display: none;
  }

  .main-nav.is-open .main-nav-track {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    border: none;
    background: transparent;
    padding: 0;
    gap: 4px;
    border-radius: 0;
  }

  .main-nav.is-open .main-nav-indicator {
    display: none;
  }

  .main-nav.is-open .main-nav-item {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    padding: 13px 14px;
    font-size: 0.88rem;
    border-radius: 10px;
    border: 1px solid transparent;
  }

  .main-nav.is-open .main-nav-item-label {
    display: inline;
  }

  .main-nav.is-open .main-nav-item-icon {
    width: 20px;
    height: 20px;
    opacity: 0.85;
  }

  .main-nav.is-open .main-nav-item-icon svg {
    width: 18px;
    height: 18px;
  }

  .main-nav.is-open .main-nav-item--home::after {
    content: "Ana Sayfa";
    font-size: 0.88rem;
    font-weight: 600;
  }

  .main-nav.is-open .main-nav-item:hover {
    background: rgba(0, 166, 81, 0.06);
  }

  .main-nav.is-open .main-nav-item.active {
    background: rgba(0, 166, 81, 0.1);
    border-color: rgba(0, 166, 81, 0.18);
    color: var(--navy);
    font-weight: 700;
  }

  [data-theme="dark"] .main-nav.is-open .main-nav-item.active {
    color: #fff;
  }

  .header-logo .site-logo {
    height: 38px;
    max-width: 150px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions .btn-outline {
    display: none;
  }



  .site-top .market-strip-inner {
    gap: 10px;
    width: min(1240px, 100% - 20px);
  }

  .site-top .market-strip-section--weather {
    max-width: 280px;
  }

  .site-top .market-strip-tag {
    font-size: 0.58rem;
    padding: 3px 8px;
  }

  .site-top .market-strip-item {
    gap: 6px;
    padding: 0 8px;
  }

  .site-top .market-strip-name {
    font-size: 0.64rem;
  }

  .site-top .market-strip-price {
    font-size: 0.78rem;
  }

  .site-top .weather-chip {
    font-size: 0.62rem;
    padding: 2px 8px;
  }

  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-marquee {
    min-height: 300px;
  }

  .hero-marquee-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-highlights {
    min-height: auto;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

@media (max-width: 480px) {
  .market-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-stats {
    gap: 16px;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

/* Hidden articles for filter */
.article-card.hidden {
  display: none;
}

/* Footer newsletter */
.footer-newsletter {
  position: relative;
  margin: 28px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(0, 166, 81, 0.12) 0%, rgba(0, 48, 128, 0.2) 100%);
  border: 1px solid rgba(0, 166, 81, 0.25);
  border-radius: 14px;
  overflow: hidden;
}

.footer-newsletter-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 192, 96, 0.2), transparent 70%);
  pointer-events: none;
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-newsletter-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-newsletter-icon {
  flex-shrink: 0;
  color: var(--green-light);
  margin-top: 2px;
}

.footer-newsletter-text h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.footer-newsletter-text p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-input:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(0, 192, 96, 0.2);
}

.footer-newsletter-btn {
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.footer-newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 166, 81, 0.4);
}

.footer-newsletter-done {
  padding: 12px 20px;
  background: rgba(0, 166, 81, 0.2);
  border: 1px solid rgba(0, 192, 96, 0.35);
  border-radius: 10px;
  color: var(--green-light);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .footer-newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter-form {
    max-width: 100%;
    flex-direction: column;
  }
}

/* Insight blocks — daha canlı */
.insight-block {
  transition: transform 0.2s, box-shadow 0.2s;
}

.insight-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-highlight-card {
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 166, 81, 0.08);
}

/* Section badges */
.section-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head-center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Reklam banner alanları */
.ad-slot {
  margin: 18px 0;
}

.ad-slot--global_top {
  margin-top: 14px;
}

.ad-slot--global_footer {
  margin-bottom: 0;
}

.ad-slot--home_hero_below {
  margin: 0 0 20px;
}

.ad-slot--home_sidebar,
.ad-slot--article_sidebar,
.ad-slot--category_sidebar {
  margin: 0 0 16px;
}

.ad-slot--article_top {
  margin: 18px 0 0;
}

.ad-slot--article_bottom {
  margin: 24px 0 0;
}

.ad-slot--category_top {
  margin: 0 0 18px;
}

.article-grid-ad {
  grid-column: 1 / -1;
}

.ad-banner {
  position: relative;
  text-align: center;
}

.ad-banner-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-banner-link {
  display: inline-block;
  max-width: 100%;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.ad-banner-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.ad-banner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ad-banner-html {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.ad-banner-html iframe,
.ad-banner-html img {
  max-width: 100%;
}

.section-head-center p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* User badges — Twitter-style ticks */
.user-badges {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  vertical-align: middle;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  cursor: help;
}

.user-badge svg {
  display: block;
}

.user-badges--sm .user-badge svg {
  width: 16px;
  height: 16px;
}

.user-badges--md .user-badge svg {
  width: 20px;
  height: 20px;
}

.user-badge--verified {
  color: #1d9bf0;
}

.user-badge--premium {
  color: #c9a227;
}

