:root {
  --ink: #12151c;
  --ink-soft: #2a3140;
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --card: #fffdf8;
  --red: #e10600;
  --red-d: #b10500;
  --gold: #c4a35a;
  --line: rgba(18, 21, 28, .09);
  --muted: #6c7380;
  --up: #0f9d58;
  --down: #d93025;
  --shadow: 0 18px 50px rgba(18, 21, 28, .08);
  --radius: 18px;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --serif: "Newsreader", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(225, 6, 0, .07), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(196, 163, 90, .14), transparent 45%),
    var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 80;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* LIVE RAIL */
.live-rail {
  background: linear-gradient(90deg, #0d1016, #1a2230 55%, #0d1016);
  color: #f6f1e8;
  font-size: 13px;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.live-rail-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 42px; overflow: auto;
  scrollbar-width: none;
}
.live-rail-inner::-webkit-scrollbar { display: none; }
.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff;
  font-weight: 700; letter-spacing: .12em;
  font-size: 11px; padding: 5px 9px; border-radius: 999px;
  flex-shrink: 0;
}
.live-badge i {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.clock { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .04em; }
.rail-item { white-space: nowrap; color: #d9d3c7; }
.rail-item strong { color: #fff; margin-left: 4px; }
.rail-item.up strong { color: #7dffa6; }
.rail-item.down strong { color: #ffb4ae; }
.rail-link {
  margin-left: auto; color: var(--gold); font-weight: 600; white-space: nowrap;
}
.rail-link + .rail-link { margin-left: 0; padding-left: 12px; }

/* FX TICKER */
.ticker-rail {
  background: #161b25;
  color: #efe7d6;
  overflow: hidden;
  border-bottom: 1px solid rgba(196,163,90,.25);
}
.ticker-track {
  display: flex; gap: 28px; width: max-content;
  padding: 8px 0;
  animation: marquee 32s linear infinite;
  font-size: 12.5px; font-weight: 500;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tick { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tick b { color: var(--gold); }
.chg { font-size: 11px; }
.chg.up { color: #7dffa6; }
.chg.down { color: #ff8d85; }

/* MASTHEAD */
.masthead {
  background: rgba(255,253,248,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mast-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 0 14px;
}
.mast-date { font-size: 13px; color: var(--muted); }
.mast-date strong { display: block; color: var(--ink); font-size: 14px; }
.logo { display: flex; align-items: center; gap: 12px; justify-content: center; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--red), #7a0400);
  color: #fff; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(225,6,0,.28);
}
.logo-type { font-family: var(--serif); line-height: 1.05; font-size: 34px; }
.logo-type b { font-weight: 750; }
.logo-type small {
  display: block; font-family: var(--sans); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-top: 4px;
}
.search {
  justify-self: end;
  display: flex; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; width: min(280px, 100%);
}
.search input {
  border: 0; outline: 0; padding: 10px 14px; width: 100%; background: transparent;
}
.search button {
  border: 0; background: var(--ink); color: #fff; width: 42px; cursor: pointer;
}

.nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; min-height: 48px; }
.nav-links {
  display: flex; gap: 4px; width: 100%; overflow: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  padding: 12px 11px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.is-active { color: var(--red); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px;
  height: 2px; background: var(--red); border-radius: 2px;
}
.nav-toggle { display: none; }

/* BREAKING */
.breaking {
  background: var(--red);
  color: #fff;
}
.breaking-inner { display: flex; align-items: center; min-height: 42px; gap: 14px; }
.breaking-label {
  flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .16em;
  background: #fff; color: var(--red); padding: 6px 10px; border-radius: 6px;
}
.breaking-viewport { overflow: hidden; flex: 1; }
.breaking-track {
  display: flex; gap: 42px; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--serif); font-size: 17px; font-weight: 600;
}
.breaking-track a:hover { text-decoration: underline; }

.page { padding: 28px 0 64px; }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-main {
  position: relative; min-height: 460px; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow);
  color: #fff; display: flex; align-items: flex-end;
}
.hero-main img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: ken 18s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-12px); }
}
.hero-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8,10,16,.88));
}
.hero-copy { position: relative; z-index: 1; padding: 28px; }
.kicker, .chip {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.hero-copy .kicker {
  background: var(--red); padding: 5px 9px; border-radius: 999px;
}
.hero-copy h1 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08; margin: 12px 0 10px; font-weight: 750;
}
.hero-copy p { max-width: 640px; color: #efe7d8; margin: 0 0 10px; }
.hero-side {
  display: grid; gap: 12px;
}
.side-story {
  display: grid; grid-template-columns: 118px 1fr; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 10px; align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.side-story:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.side-story-img { height: 86px; border-radius: 12px; overflow: hidden; }
.side-story-img img { width: 100%; height: 100%; object-fit: cover; }
.side-story h3 {
  font-family: var(--serif); font-size: 17px; line-height: 1.2; margin: 4px 0;
}
.side-story time, .meta, .muted { color: var(--muted); font-size: 12px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin: 8px 0 16px;
}
.section-head h2 {
  font-family: var(--serif); font-size: 28px; margin: 0; letter-spacing: -.02em;
}
.section-head a { color: var(--red); font-weight: 600; font-size: 14px; }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-media { position: relative; height: 190px; overflow: hidden; }
.news-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover img { transform: scale(1.07); }
.chip {
  position: absolute; left: 12px; top: 12px;
  background: #fff; color: var(--red); padding: 4px 8px; border-radius: 999px;
}
.news-card-body { padding: 14px 16px 16px; }
.news-card-body h3 {
  font-family: var(--serif); font-size: 21px; line-height: 1.2; margin: 0 0 8px;
}
.news-card-body p { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; }
.meta { display: flex; gap: 6px; }

.list-story {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.list-story img { height: 110px; width: 100%; object-fit: cover; border-radius: 12px; }
.list-story h3 { font-family: var(--serif); font-size: 22px; margin: 4px 0 6px; }
.list-story p { margin: 0 0 6px; color: var(--ink-soft); }

/* SIDEBAR WIDGETS */
.sidebar { display: grid; gap: 16px; align-content: start; }
.widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(18,21,28,.04);
}
.widget h3 {
  margin: 0 0 12px; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.weather-now {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
}
.wx-icon { width: 72px; height: 72px; }
.wx-temp { font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1; }
.wx-temp span { font-size: 22px; }
.wx-desc { font-family: var(--serif); font-size: 18px; margin-top: 2px; }
.wx-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wx-meta div {
  background: var(--paper); border-radius: 12px; padding: 8px 10px; font-size: 12px;
}
.wx-meta b { display: block; font-size: 14px; }
.forecast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.forecast div {
  text-align: center; font-size: 11px; background: var(--paper); border-radius: 12px; padding: 8px 4px;
}
.forecast strong { display: block; font-size: 13px; }
.forecast .wx-icon { width: 28px; height: 28px; margin: 4px auto; }

.prayer-list { display: grid; gap: 6px; }
.prayer-row {
  display: flex; justify-content: space-between; padding: 8px 10px;
  border-radius: 10px; background: var(--paper); font-size: 14px;
}
.prayer-row.is-next { background: #12151c; color: #fff; }
.next-prayer { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

.fx-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.fx-row:last-child { border-bottom: 0; }
.fx-row .val { font-variant-numeric: tabular-nums; font-weight: 650; }
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; }
.region-grid div { background: var(--paper); border-radius: 12px; padding: 10px; }
.region-grid b { display: block; font-size: 15px; }
.emerg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.emerg a {
  background: var(--paper); border-radius: 12px; padding: 10px; text-align: center;
}
.emerg strong { display: block; font-size: 18px; color: var(--red); }
.map-embed {
  border: 0; width: 100%; height: 180px; border-radius: 14px;
  filter: saturate(.85) contrast(1.05);
}
.quake { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mag {
  min-width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: #ffe8e6; color: var(--red); font-weight: 700;
}
.mini-story {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.mini-story span { font-weight: 600; }
.mini-story:hover span { color: var(--red); }

.band {
  margin: 36px 0;
  background: #12151c; color: #fff;
  border-radius: 28px; padding: 22px;
}
.band h2 { font-family: var(--serif); margin: 0 0 16px; }
.video-grid, .gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.video-card, .gallery a {
  position: relative; overflow: hidden; border-radius: 16px; min-height: 180px;
}
.video-card img, .gallery img { width: 100%; height: 180px; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  color: #fff; font-weight: 600;
}
.play i {
  width: 48px; height: 48px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; margin-bottom: 8px;
}
.gallery a img { height: 160px; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.08); }

.cat-strip { margin-top: 8px; }
.cat-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }

.article {
  display: grid; grid-template-columns: minmax(0, 720px) 340px; gap: 36px;
  justify-content: space-between;
}
.article-hero { border-radius: 24px; overflow: hidden; margin-bottom: 18px; max-height: 460px; }
.article-hero img { width: 100%; height: 460px; object-fit: cover; }
.article h1 {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08; margin: 8px 0 12px;
}
.article-body { font-family: var(--serif); font-size: 20px; line-height: 1.7; }
.article-body p { margin: 0 0 16px; }
.article-body p:first-of-type::first-letter {
  font-size: 3.2rem; float: left; line-height: .8; padding: 8px 10px 0 0;
  color: var(--red); font-weight: 750;
}
.share { display: flex; gap: 8px; margin: 16px 0; }
.share button, .share a {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 12px; cursor: pointer; font-size: 13px;
}
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--red); }

.market-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 16px; overflow: hidden; }
.market-table th, .market-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.market-table th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.up { color: var(--up); }
.down { color: var(--down); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.form { display: grid; gap: 10px; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.form button, .btn {
  background: var(--red); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 18px; font-weight: 700; cursor: pointer;
}
.alert { background: #e9f8ee; color: #0b7a3e; padding: 12px 14px; border-radius: 12px; }
.hourly { display: flex; gap: 8px; overflow: auto; padding-bottom: 6px; }
.hourly div {
  min-width: 72px; text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 8px; font-size: 13px;
}

.site-foot {
  background: #0e1218; color: #efe7d6; padding: 42px 0 18px; margin-top: 20px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-foot a { color: #efe7d6; }
.site-foot a:hover { color: var(--gold); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot h4 { margin: 0 0 10px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.logo-foot .logo-type { font-size: 22px; color: #fff; }
.tiny { color: #b7b0a3; font-size: 13px; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px; color: #9aa0ab;
}

.empty { padding: 40px; text-align: center; background: var(--card); border-radius: 20px; }

@media (max-width: 980px) {
  .mast-grid, .hero, .layout, .article, .contact-grid, .foot-grid, .news-grid, .video-grid, .gallery, .cat-row {
    grid-template-columns: 1fr;
  }
  .logo-type { font-size: 26px; }
  .hero-main { min-height: 360px; }
  .mast-date { display: none; }
  .search { width: 100%; }
  .nav-toggle {
    display: grid; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line); z-index: 40;
  }
  .nav.open .nav-links { display: flex; }
  .nav { position: relative; }
  .rail-link { display: none; }
}
