:root {
  --black: #000;
  --white: #fff;
  --ink: #222;
  --muted: #666;
  --border: #d9d9d9;
  --paper: #f7f7f7;
  --soft: #efefef;
  --font-head: "Playfair Display", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mast: "Sonsie One", cursive;
}
* {
  box-sizing: border-box;
}
body {
  font-family: var(--font-body);
  color: var(--black);
  background: #fff;
  line-height: 1.6;
}
.container-xl {
  max-width: 1320px;
}
a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.masthead {
  font-family: var(--font-mast);
  font-size: clamp(3rem, 8vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  margin: 18px 0 8px;
}
.tagline {
  text-align: center;
  font-family: var(--font-head);
  font-style: italic;
  color: var(--ink);
}
.rule {
  border-top: 3px double var(--black);
}
.navbar {
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: #fff;
}
.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.category-scroll {
  overflow-x: auto;
  white-space: nowrap;
}
.breaking {
  border: 1px solid #000;
  background: #fff;
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-label {
  background: #000;
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker {
  display: inline-block;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  padding-left: 100%;
}
.ticker span {
  margin-right: 45px;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.topic {
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.83rem;
  background: #fff;
}
.topic:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}
.headline {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
}
.lead-headline {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}
.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  border-bottom: 2px solid #000;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.news-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.card-box {
  border: 1px solid var(--border);
  background: #fff;
  height: 100%;
  transition: 0.2s;
}
.card-box:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.placeholder-img {
  background: linear-gradient(135deg, #111, #555);
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.4rem;
}
.placeholder-light {
  background: repeating-linear-gradient(
    45deg,
    #f8f8f8,
    #f8f8f8 12px,
    #ededed 12px,
    #ededed 24px
  );
  border: 1px solid var(--border);
  min-height: 130px;
}
.kicker {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.time {
  font-size: 0.8rem;
  color: var(--muted);
}
.latest-item {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.trend-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: #999;
}
.ad-box {
  border: 1px dashed #999;
  background: var(--paper);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.btn-black {
  background: #000;
  color: #fff;
  border-radius: 0;
  border: 1px solid #000;
  font-weight: 800;
}
.btn-black:hover {
  background: #fff;
  color: #000;
}
.btn-outline-black {
  border: 1px solid #000;
  border-radius: 0;
  color: #000;
  font-weight: 800;
}
.btn-outline-black:hover {
  background: #000;
  color: #fff;
}
.form-control,
.form-select {
  border-radius: 0;
  border-color: var(--border);
  padding: 0.8rem;
}
.footer {
  background: #000;
  color: #fff;
  padding: 50px 0;
}
.footer a {
  color: #fff;
  opacity: 0.86;
}
.footer .mast-small {
  font-family: var(--font-mast);
  font-size: 3rem;
}
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  z-index: 2000;
  display: none;
  padding: 10vh 5vw;
}
.search-overlay.active {
  display: block;
}
.backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  border: 1px solid #000;
  background: #fff;
  width: 44px;
  height: 44px;
  display: none;
  z-index: 1000;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: #000;
  width: 0;
  z-index: 3000;
}
.article-body {
  font-size: 1.12rem;
}
.article-body p {
  margin-bottom: 1.4rem;
}
.pullquote {
  font-family: var(--font-head);
  font-size: 1.9rem;
  border-left: 4px solid #000;
  padding-left: 1rem;
  margin: 2rem 0;
}
.keybox {
  border: 2px solid #000;
  padding: 1.25rem;
  background: #fff;
}
.plan {
  border: 1px solid #000;
  padding: 2rem;
  height: 100%;
}
.plan.featured {
  background: #000;
  color: #fff;
}
.offcanvas {
  max-width: 330px;
}
@media (max-width: 991px) {
  .masthead {
    font-size: 4rem;
  }
  .lead-headline {
    font-size: 2.2rem;
  }
  .sticky-top {
    position: static !important;
  }
  .hero-grid {
    border-bottom: 1px solid var(--border);
  }
}
