:root {
  --navy: #0b2d5c;
  --navy-2: #0a2550;
  --navy-dark: #071e3d;
  --orange: #f08c00;
  --orange-2: #e07b00;
  --cyan: #00b4d8;
  --cyan-2: #0096c7;
  --text: #1c2430;
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --up: #16a34a;
  --down: #dc2626;
  --shadow: 0 8px 24px rgba(7, 30, 61, 0.08);
  --radius: 6px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-2); }
h1, h2, h3, h4 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.25; margin: 0 0 .5rem; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

/* Top bar */
.fd-topbar {
  background: #f3f5f8;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #4b5563;
}
.fd-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 16px;
}
.fd-top-links { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.fd-top-links a { color: #4b5563; }
.fd-top-links a:hover { color: var(--navy); }
.fd-chip {
  background: var(--cyan);
  color: #fff !important;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .04em;
}
.fd-auth { display: flex; gap: 8px; align-items: center; }
.fd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 3px;
}
.fd-btn-cyan { background: var(--cyan); color: #fff; }
.fd-btn-ghost { background: transparent; color: #374151; }

/* Header */
.fd-header {
  background: var(--navy);
  color: #fff;
}
.fd-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
}
.fd-logo {
  color: #fff !important;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.fd-logo-mark {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.fd-logo-mark span { color: var(--orange); }
.fd-logo-tag {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  font-weight: 600;
}
.fd-search { width: min(420px, 100%); }
.fd-search form { display: flex; background: #fff; border-radius: 4px; overflow: hidden; }
.fd-search input {
  flex: 1;
  border: 0;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.fd-search button {
  border: 0;
  background: #fff;
  color: var(--navy);
  padding: 0 12px;
  cursor: pointer;
}
.fd-ad-slot {
  width: 320px;
  height: 70px;
  background: linear-gradient(90deg, #123a73, #1a4f96);
  border: 1px dashed rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: .08em;
  color: #dbeafe;
}

/* Nav */
.fd-nav {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.08);
}
.fd-nav .container {
  display: flex;
  align-items: center;
  gap: 4px;
}
.fd-nav a, .fd-nav .menu a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 10px;
  display: inline-block;
}
.fd-nav a:hover, .fd-nav .current-menu-item > a { color: var(--orange); }
.fd-home-ico {
  width: 36px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy-dark);
  color: #fff;
}
.fd-more { color: var(--orange) !important; margin-left: auto; }
.fd-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: 10px;
}

/* Ticker */
.fd-ticker {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.fd-ticker .container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  overflow: hidden;
}
.fd-date { color: var(--muted); white-space: nowrap; }
.fd-indikator {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .04em;
}
.fd-tickers {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.fd-tick {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fd-tick b { color: var(--navy); }
.fd-up { color: var(--up); }
.fd-down { color: var(--down); }

/* Layout */
.fd-main { padding: 28px 0 56px; }
.fd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}

/* Hero */
.fd-hero {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 20px;
  margin-bottom: 18px;
}
.fd-hero-media {
  position: relative;
  background: #111;
  min-height: 280px;
  overflow: hidden;
}
.fd-hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.fd-hero-copy h2 { font-size: 30px; }
.fd-hero-copy p { color: #4b5563; margin: 10px 0 0; }
.fd-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.fd-thumb { background: #fff; }
.fd-thumb img { width: 100%; height: 86px; object-fit: cover; background: #e5e7eb; }
.fd-thumb h3 { font-size: 13px; font-family: "Source Sans 3", sans-serif; font-weight: 600; margin-top: 6px; }

/* Lists */
.fd-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 8px;
  padding-bottom: 6px;
}
.fd-section-head h2 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fd-section-head a { font-size: 13px; color: var(--muted); }
.fd-list { list-style: none; margin: 0; padding: 0; }
.fd-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fd-cat {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fd-meta { color: var(--muted); font-size: 12px; }
.fd-list h3 { font-size: 20px; font-weight: 700; margin-top: 4px; }

/* Sidebar */
.fd-widget { margin-bottom: 28px; }
.fd-widget h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.fd-pop { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.fd-pop li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: pop;
}
.fd-pop li::before {
  content: counter(pop);
  color: #93c5fd;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.fd-widget .ad {
  min-height: 250px;
  background: var(--bg-soft);
  border: 1px dashed #d1d5db;
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-size: 12px;
}

/* Single */
.fd-single { max-width: 760px; }
.fd-single .fd-cat { margin-bottom: 8px; display: inline-block; }
.fd-single h1 { font-size: 36px; margin-bottom: 10px; }
.fd-article { font-size: 18px; line-height: 1.7; }
.fd-article p { margin: 0 0 1.1em; }
.fd-article figure { margin: 1.4em 0; }
.fd-featured { margin: 18px 0; }
.fd-featured img { width: 100%; }

/* Footer */
.fd-footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 40px 0 18px;
}
.fd-footer a { color: #e2e8f0; }
.fd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.fd-footer h4 { color: #fff; font-family: "Source Sans 3", sans-serif; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.fd-footer ul { list-style: none; margin: 0; padding: 0; }
.fd-footer li { margin: 6px 0; font-size: 14px; }
.fd-copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; font-size: 12px; color: #94a3b8; }

/* Archive / cards */
.fd-cards { display: grid; gap: 18px; }
.fd-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.fd-card img { width: 100%; height: 140px; object-fit: cover; background: #e5e7eb; }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment { padding: 12px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .fd-header-main, .fd-grid, .fd-hero, .fd-footer-grid, .fd-card { grid-template-columns: 1fr; }
  .fd-ad-slot { display: none; }
  .fd-thumbs { grid-template-columns: repeat(2, 1fr); }
  .fd-menu-toggle { display: block; margin-left: auto; }
  .fd-nav-menu { display: none; }
  .fd-nav-menu.is-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--navy-2);
  }
}
