:root {
  --ink: #1a1a1a;
  --ink-soft: #444;
  --paper: #fff;
  --line: #e2e2e2;
  --muted: #f5f6f8;
  --red: #c41230;
  --yellow: #f0b429;
  --nav: #2a2a2a;
  --footer: #1f1f1f;
  --link: #1a3a7a;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  background: #ececec;
}

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

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2rem;
  font-size: 0.75rem;
}

.nav-date {
  color: var(--ink-soft);
  white-space: nowrap;
  font-weight: 600;
}

.utility-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.utility-nav a {
  color: var(--ink);
  font-weight: 600;
}

.utility-nav a:hover {
  color: var(--red);
}

.social-links {
  display: flex;
  gap: 0.35rem;
}

.social-link {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  color: #555;
}

.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.masthead {
  padding: 0.75rem 0 0.85rem;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo img {
  width: min(280px, 42vw);
  height: auto;
}

.masthead-ad {
  flex: 1;
  max-width: 728 px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(90deg, #f4f7fc, #eef3fb);
  min-height: 90 px;
}

.masthead-ad-kicker {
  font-weight: 800;
  font-size: 0.95rem;
  color: #1d4f91;
  text-transform: uppercase;
}

.masthead-ad-copy {
  flex: 1;
  font-size: 0.78rem;
  color: #4a5568;
}

.masthead-ad-cta {
  background: #1d6fd8;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.2rem;
  white-space: nowrap;
}

.nav-bar {
  background: var(--nav);
  position: relative;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  position: relative;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.05rem;
  max-width: calc(100% - 3rem);
}

.site-nav a {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.55rem 0.45rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--yellow);
}

.search-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.search-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  flex-shrink: 0;
}

.search-panel {
  display: none;
  background: #1f1f1f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0 1rem;
}

.search-panel.is-open {
  display: block;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
}

.search-form input {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #111;
  color: #fff;
  padding: 0.65rem 0.8rem;
  width: 100%;
}

.search-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search-form button[type="submit"] {
  appearance: none;
  border: 0;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}
.search-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.45rem 0.55rem;
}

.search-results {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.search-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.search-result {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.search-result:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-result-cat {
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-result-title {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}

/* Category + article pages */
.page-panel {
  background: var(--paper);
  padding: 1.5rem 0 2rem;
}

.page-kicker {
  margin: 0 0 0.45rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-kicker a:hover {
  text-decoration: underline;
}

.page-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.page-lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-body {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-body p {
  margin: 0 0 1rem;
}

.about-section {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 42rem;
}

.about-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.about-topics a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  background: var(--muted);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.about-topics a:hover,
.about-topics a:focus-visible {
  background: var(--red);
  color: #fff;
}

.about-reach {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.about-reach a {
  color: var(--red);
  font-weight: 700;
}

.about-reach a:hover,
.about-reach a:focus-visible {
  text-decoration: underline;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.category-story {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.category-story img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.category-story h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
}

.category-story time {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.category-story p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.category-empty {
  color: var(--ink-soft);
  padding: 1rem 0;
}

.article-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  max-width: 46rem;
}

.article-date {
  display: block;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.article-figure {
  margin: 0 0 1.15rem;
}

.article-figure img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-deck {
  margin: 0 0 1.15rem;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 42rem;
}

.article-body {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.article-body p {
  margin: 0 0 1rem;
}

.related-block {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 42rem;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: #fff;
}

/* Main canvas */
main {
  background: var(--paper);
  padding-bottom: 2rem;
}

main > .wrap {
  padding-top: 0.75rem;
}

.promo-banner {
  display: block;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.65rem;
  background: #111;
  animation: fade-up 0.7s var(--ease) both;
}

.promo-banner img {
  width: 100%;
  height: clamp(120px, 18vw, 200px);
  object-fit: cover;
  opacity: 0.88;
}

.promo-banner-label {
  position: absolute;
  left: 1rem;
  bottom: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.trending {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  margin-bottom: 1.1rem;
  overflow: hidden;
  animation: fade-up 0.7s var(--ease) 0.08s both;
}

.trending-label {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
}

.trending-track {
  flex: 1;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  padding-inline: 0.75rem;
}

.trending-text {
  margin: 0;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-55%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Columns */
.home-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
  animation: fade-up 0.7s var(--ease) both;
}

.home-row-3 {
  grid-template-columns: 1.2fr 1fr 0.95fr;
}

.home-row-2 {
  grid-template-columns: 1fr 1fr;
}

.col {
  min-width: 0;
}

.col-tint {
  background: #f3f6fa;
  padding: 0.65rem 0.7rem 0.85rem;
}

.col-rail {
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.section-head-accent {
  color: var(--red);
}

.section-mark {
  width: 5px;
  height: 1.05em;
  background: var(--red);
  flex-shrink: 0;
}

.mark-red {
  background: var(--red);
}

.mark-yellow {
  background: var(--yellow);
}

/* Feature carousel */
.feature-slide-media {
  position: relative;
  background: #111;
  overflow: hidden;
}

.feature-slide-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.slide-prev {
  left: 0.5rem;
}

.slide-next {
  right: 0.5rem;
}

.feature-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Story stacks */
.story-stack,
.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.story-stack > li + li {
  border-top: 1px solid var(--line);
}

.story-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0;
}

.story-row img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  background: #ddd;
}

.story-row span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--link);
}

.story-row:hover span {
  color: var(--red);
}

.story-row-lg {
  grid-template-columns: 110px 1fr;
}

.story-row-lg img {
  width: 110px;
  height: 140px;
}

.story-stack-lg .story-row span {
  color: #4a1a7a;
}

.more-link {
  display: inline-block;
  margin-top: 0.35rem;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
}

.more-link-btn {
  border: 1px solid var(--red);
  color: var(--red);
  padding: 0.3rem 0.65rem;
  margin-top: 0.65rem;
}

.rail-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.rail-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #ddd;
}

.rail-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.rail-item:hover .rail-title {
  color: var(--red);
}

.rail-item time {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
}

/* Ads */
.ad-strip {
  margin: 1rem 0 1.35rem;
}

.ad-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, #ff7a18, #ffb347);
  color: #fff;
  font-weight: 800;
  text-align: center;
  font-size: 0.95rem;
}

.ad-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 0.5rem 0 1.35rem;
}

.ad-box {
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
}

.ad-box-food {
  background: linear-gradient(160deg, #b91c1c, #7f1d1d);
}

.ad-box-travel {
  background: linear-gradient(160deg, #0ea5e9, #0369a1);
}

.ad-box-class {
  background: #fff;
  color: #1d4f91;
  border: 2px solid #1d4f91;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sidebar-ad {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 280px;
  margin-top: 0.85rem;
  padding: 1.1rem;
  background: linear-gradient(165deg, #4c1d95, #1e1b4b);
  color: #fff;
}

.sidebar-ad-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sidebar-ad-copy {
  font-size: 0.9rem;
  opacity: 0.9;
}

.sidebar-ad-url {
  font-weight: 700;
  color: var(--yellow);
}

/* Lower story cards */
.card-story img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 0.55rem;
}

.card-story h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
}

.card-story h3 a:hover {
  color: var(--red);
}

.read-more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  background:
    linear-gradient(180deg, #262626 0%, var(--footer) 28%),
    var(--footer);
  color: #fff;
  border-top: 3px solid var(--red);
}

.footer-inner {
  padding: 2.75rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.footer-newsletter-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.footer-newsletter input {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.75rem 0.9rem;
  min-width: 0;
}

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

.footer-newsletter input:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  border-color: transparent;
}

.footer-newsletter button {
  appearance: none;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 0.75rem 1.15rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-newsletter button:hover,
.footer-newsletter button:focus-visible {
  background: #a80f28;
  transform: translateY(-1px);
}

.form-status {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  min-height: 1.1em;
  color: rgba(255, 255, 255, 0.85);
}

.form-status.is-error {
  color: var(--yellow);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2rem;
  padding-top: 1.85rem;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-col nav {
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  width: fit-content;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  color: #fff;
}

.footer-social-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
}

.footer-copy {
  margin: 0;
  padding: 0.95rem 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.back-top[hidden] {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .home-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  .col-rail {
    border-left: 0;
    padding-left: 0;
    grid-column: 1 / -1;
  }

  .ad-trio {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

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

@media (max-width: 760px) {
  .utility-inner {
    flex-wrap: wrap;
    padding-block: 0.35rem;
  }

  .utility-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

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

  .masthead-ad {
    max-width: none;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-bar-inner {
    justify-content: flex-start;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--nav);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-width: none;
    width: 100%;
    padding: 0.5rem 0.75rem 0.85rem;
    z-index: 30;
    transform: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .search-btn {
    position: absolute;
    right: 0;
    margin-left: 0;
  }

  .search-form {
    grid-template-columns: 1fr auto;
  }

  .search-close {
    grid-column: 2;
    grid-row: 1;
  }

  .search-form button[type="submit"] {
    grid-column: 1 / -1;
  }

  .category-story {
    grid-template-columns: 1fr;
  }

  .category-story img {
    height: 180px;
  }

  .home-row-3,
  .home-row-2 {
    grid-template-columns: 1fr;
  }

  .trending-text {
    animation-duration: 22s;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-newsletter-row {
    grid-template-columns: 1fr;
  }
}
/* Main layout */

.about-layout {

  display: grid;
  grid-template-columns: 300px minmax(500px, 750px) 300px;
  gap: 20px;
  justify-content: center;
  align-items: start;
  margin: 20px auto;

}


/* Ads */

.ad-box {

  width: 300px;
  height: 200px;

  background:#f5f5f5;
  border:1px dashed #bbb;

  display:flex;
  justify-content:center;
  align-items:center;

  font-size:11px;
  color:#777;

}


/* About Content */

.about-content {

  text-align:center;

  font-family:Arial, Helvetica, sans-serif;

  color:#333;

}



.about-content h2 {

  font-family:Georgia, serif;

  font-size:20px;

  margin:15px 0 10px;

  letter-spacing:.5px;

}



.about-content p {

  font-size:13px;

  line-height:1.35;

  margin:0 0 10px;

}



/* Divider */

.about-content hr {

  width:80%;

  margin:15px auto;

  border:none;

  border-top:1px solid #ddd;

}



/* Staff Grid */

.staff-grid {

  display:grid;

  grid-template-columns:repeat(2,1fr);

  gap:10px;

}



.staff-card {

  padding:10px;

  background:#f8f8f8;

  border-top:2px solid #b00000;

}



.staff-card h3 {

  font-size:12px;

  margin:0 0 5px;

}



.staff-card p {

  font-size:13px;

  margin:0;

}



/* Mobile */

@media(max-width:1200px){

  .about-layout {

      grid-template-columns:1fr;

  }


  .side-ad {

      display:none;

  }

}
/* CLASSIFIEDS */

.classified-section {

  max-width:900px;
  margin:40px auto;
  font-family:"Source Sans 3", sans-serif;

}


.classified-header {

  text-align:center;
  margin-bottom:25px;

}


.classified-header h2 {

  font-family:"Source Serif 4", serif;
  font-size:32px;
  text-transform:uppercase;

}


.classified-search {

  display:flex;
  gap:10px;
  margin-bottom:20px;

}


.classified-search input {

  flex:1;
  padding:12px;

  border:1px solid #ccc;

  font-size:15px;

}


.classified-search button {

  background:#111;
  color:white;

  border:none;

  padding:12px 25px;

  cursor:pointer;

}



.classified-categories {

  display:flex;
  gap:10px;

  justify-content:center;

  margin-bottom:25px;

}


.classified-categories button {

  border:1px solid #ccc;

  background:white;

  cursor:pointer;

}



.classified-categories button:hover {

  background:#111;
  color:white;

}




.classified-results {

  display:grid;

  gap:15px;

}



.classified-card {

  border-top:1px solid #ddd;

  padding:18px;

  background:#fafafa;

}



.classified-card h3 {

  margin:0 0 8px;

  font-size:20px;

}


.classified-card span {

  background:#8b0000;

  color:white;

  padding:3px 10px;

  font-size:12px;

  text-transform:uppercase;

}



.classified-card p {

  font-size:15px;

  line-height:1.5;

}



.classified-card strong {

  font-size:14px;

}




@media(max-width:700px){

.classified-search{

flex-direction:column;

}


.classified-categories{

flex-wrap:wrap;

}

}
.no-classifieds {
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: #666;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Page Layout Setup */
.article-layout {
  display: flex;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  font-family: Georgia, serif;
}

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

.article-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Category & Title */
.article-category {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: bold;
  color: #c00;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.article-title {
  font-size: 2.2rem;
  line-height: 1.25;
  color: #111;
  margin: 0 0 12px 0;
}

/* Byline and Date */
.article-meta {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.meta-separator {
  margin: 0 8px;
}

/* Small Newspaper Image & Aligned Caption */
.article-featured-image {
  max-width: 380px; /* Controls image sizing */
  margin: 0 0 20px 0;
  padding: 0;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.image-caption {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: #333;
  line-height: 1.3;
  margin-top: 6px;
  text-align: left;
}
  .image-credit {
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    color: #222; 
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 3px;
  }
 .article-inline-photo {
    clear: both;          /* never squeezed next to the floating box ad */
    margin: 1.6em 0;
  }

  .article-inline-photo img {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 4px;
  }

/* Article Body */
.article-body p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 18px;
}

.article-page .article-body {
    max-width: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #222;
  }

  /* Keeps the floating box ad inside the article */
  .article-page .article-body::after {
    content: "";
    display: block;
    clear: both;
  }

  .article-page .article-body p {
    margin: 0 0 1.1em;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
  }

  .article-page .article-body h3 {
    margin: 1.6em 0 0.6em;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #111;
  }

  .article-page .article-body a {
    color: #c00;
    text-decoration: underline;
  }

  .article-page .article-body blockquote {
    margin: 1.2em 0;
    padding-left: 1em;
    border-left: 3px solid #c00;
    font-style: italic;
  }

  .article-page .article-body ul,
  .article-page .article-body ol {
    margin: 0 0 1.1em 1.4em;
  }

  .article-page .article-body img {
    max-width: 100%;
    height: auto;
  }

  /* Fixed ad spaces inside the article */
  .article-ad {
    margin: 1.6em 0;
    text-align: center;
  }

  .article-ad-label {
    display: block;
    margin-bottom: 4px;
    font-family: Arial, sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
  }

  .article-ad img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Wide banner: full width, text continues below */
  .article-ad--banner {
    clear: both;
  }

  /* Box: sits on the right, text flows around it */
  .article-ad--box {
    float: right;
    width: 280px;
    margin: 0.3em 0 1em 1.5em;
  }

  @media (max-width: 700px) {
    .article-ad--box {
      float: none;
      width: 100%;
      max-width: 300px;
      margin: 1.6em auto;
    }
  }

/* Sidebar Ads */


.ad-box {
  width: 300px;
  height: 200px;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ad-label {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ad-content {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: #666;
}

/* Related Articles Section */
.related-section {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #111;
}

.related-section h2 {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: #111;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.related-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.related-card:hover h3 {
  color: #c00;
}

.related-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}

.related-card h3 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
  color: #222;
  transition: color 0.2s ease;
}
/* ==========================================
   1. MIDWEST SLIDER ARROWS
   ========================================== */
.feature-slide-media {
  position: relative;
  overflow: hidden;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.slide-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.08);
}

/* Left Arrow Icon */
.slide-prev {
  left: 10px;
}
.slide-prev::before {
  content: '‹';
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  display: block;
  margin-top: -2px; /* optical vertical alignment */
}

/* Right Arrow Icon */
.slide-next {
  right: 10px;
}
.slide-next::before {
  content: '›';
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  display: block;
  margin-top: -2px; /* optical vertical alignment */
}

/* ==========================================
   2. BACK TO TOP FOOTER BUTTON
   ========================================== */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top:hover {
  background: #e63946; /* Accent color or brand primary */
  transform: translateY(-3px);
}

/* Up Arrow Icon */
.back-top::before {
  content: '↑';
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}
/* ===================================================
   1. STRICT 728x90 AD BANNER FIX (Top, Middle & Bottom)
   =================================================== */
.ad-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 28px 0;
}

.ad-strip .ad-banner,
#advertise .ad-banner {
  width: 728px;
  height: 90px;
  max-width: 100%;
  background-color: #f1f3f5;
  border: 1px solid #e2e8f0;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ===================================================
   2. ROW 2 ALIGNMENT (Community & Opinion vs Crime & U.S.)
   =================================================== */
.home-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Equal vertical spacing between stacked sections */
.col > section:first-child {
  margin-bottom: 24px;
}

/* Ensure read more links sit evenly */
.more-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #d90429;
}

/* Container holding the label and the button */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Keeps it left-aligned */
  gap: 8px; /* Precise gap between label and button */
}

.footer-newsletter-label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff; /* Or your footer text color */
}

.footer-newsletter-row {
  margin: 0;
  display: block;
  width: auto;
}

/* Button Styling */
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #d90429;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.footer-btn:hover {
  background-color: #b00320;
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-btn svg {
  transition: transform 0.2s ease;
}

.footer-btn:hover svg {
  transform: translateX(3px);
}
/* Layout Alignment */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar Classified Ad */
.sidebar-ad-card {
  margin: 20px 0;
}

.ad-box-class-sidebar {
  display: flex;
  height: 250px;
  width: 300px;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8f9fa;
  border: 1px dashed #ced4da;
  border-radius: 6px;
  text-decoration: none;
  color: #d90429;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ad-box-class-sidebar:hover {
  background: #fff;
  border-color: #d90429;
}

/* More in Category Grid (Left Column) */
.related-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid #f1f3f5;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  text-decoration: none;
  color: inherit;
}

.related-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 8px;
}

.related-card h3 {
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  font-weight: 600;
}

/* Bottom Grid for leftover stories */
.bottom-more-stories {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e9ecef;
}

.more-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   HOMEPAGE — 3 COLUMN LAYOUT
   ========================================================= */

.homepage-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    320px;
  gap: 24px;
  align-items: start;
}

.homepage-column {
  min-width: 0;
}

.homepage-section {
  margin: 0 0 28px;
}

.top-stories-column {
  align-self: start;
}

.top-stories-column .rail-list {
  margin-top: 0;
}

/* Ads */
.homepage-ad {
  width: 100%;
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

.homepage-ad img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

/* View More */
.homepage-section .more-link {
  display: block;
  margin-top: 12px;
}

/* Health + Technology stay compact */
.homepage-compact {
  margin-top: 24px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .homepage-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .top-stories-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .homepage-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .top-stories-column {
    grid-column: auto;
  }

  .homepage-section {
    margin-bottom: 24px;
  }
}
/* =========================================
   ARTICLE FOLD-BASED ADS
   ========================================= */

.article-inline-ad {
  width: 100%;
  margin: 40px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}

.article-ad-content {
  width: 100%;
  max-width: 100%;
}

.article-ad-content img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
/* =========================================================
   PLACE YOUR AD BUTTON
========================================================= */

.place-ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 28px;
  border: 0;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.place-ad-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.classified-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.classified-title h2 {
  margin: 0 0 6px;
}

.classified-title p {
  margin: 0;
  color: #555;
}

.classified-title .place-ad-btn {
  margin-top: 0;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .classified-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .classified-title .place-ad-btn {
    width: 100%;
  }
}

/* =========================================================
   MODAL
========================================================= */

.ad-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.ad-modal.is-open {
  display: block;
}

.ad-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(3px);
}

.ad-modal-box {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  margin: 15px auto;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .3);
}


/* =========================================================
   MODAL HEADER
========================================================= */

.ad-modal-header {
  padding: 32px 36px 26px;
  border-bottom: 1px solid #e5e5e5;
}

.ad-step-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #777;
}

.ad-modal-header h2 {
  margin: 0 40px 7px 0;
  font-family: "Source Serif 4", serif;
  font-size: 32px;
  line-height: 1.15;
}

.ad-modal-header p {
  margin: 0;
  color: #666;
  font-size: 15px;
}

.ad-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ad-modal-close:hover {
  background: #e7e7e7;
}


/* =========================================================
   FORM SECTIONS
========================================================= */

.ad-form-section {
  padding: 32px 36px;
  border-bottom: 1px solid #e8e8e8;
}

.ad-section-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.ad-section-heading > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.ad-section-heading h3 {
  margin: 0 0 3px;
  font-size: 20px;
}

.ad-section-heading p {
  margin: 0;
  color: #777;
  font-size: 14px;
}


/* =========================================================
   FORM ELEMENTS
========================================================= */

.ad-form-group {
  margin-bottom: 21px;
}

.ad-form-group:last-child {
  margin-bottom: 0;
}

.ad-form-group label {
  display: block;
  margin-bottom: 7px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.ad-form-group label > span {
  color: #c62828;
}

.ad-form-group input,
.ad-form-group select,
.ad-form-group textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 15px;
  padding: 12px 13px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ad-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.ad-form-group input:focus,
.ad-form-group select:focus,
.ad-form-group textarea:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.ad-form-group small {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.ad-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ad-form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}


/* =========================================================
   PUBLICATIONS
========================================================= */

.publication-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-card {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600 !important;
}

.checkbox-card:hover {
  border-color: #888;
  background: #fafafa;
}

.checkbox-card input {
  width: auto;
  margin: 0;
}


/* =========================================================
   RADIO CARDS
========================================================= */

.radio-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-card {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 15px;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  cursor: pointer;
}

.radio-card:hover {
  background: #fafafa;
  border-color: #888;
}

.radio-card input {
  width: auto !important;
  margin-top: 3px;
}

.radio-card strong {
  display: block;
  margin-bottom: 3px;
}

.radio-card small {
  margin: 0;
}


/* =========================================================
   EXAMPLE ADS
========================================================= */

.example-ads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.example-ad {
  min-width: 0;
}

.example-ad-placeholder {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #c9c9c9;
  border-radius: 6px;
  background: #f7f7f7;
  text-align: center;
  color: #777;
}

.example-ad-placeholder span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
}

.example-ad-placeholder small {
  max-width: 220px;
  margin-top: 7px;
  color: #999;
}


/*
  When you are ready, replace the placeholder with:

  <img src="assets/example-ad-1.jpg"
       alt="Example advertisement">

  and:

  <img src="assets/example-ad-2.jpg"
       alt="Example advertisement">

*/

.example-ad img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}


/* =========================================================
   WORD COUNT
========================================================= */

.word-counter {
  margin-top: 5px;
  text-align: right;
  color: #777;
  font-size: 12px;
}


/* =========================================================
   SHIPPING
========================================================= */

.same-address-checkbox {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px !important;
  cursor: pointer;
}

.same-address-checkbox input {
  width: auto !important;
  margin: 0;
}

.shipping-fields {
  transition: opacity .2s ease;
}


/* =========================================================
   REVIEW
========================================================= */

.ad-review-notice {
  margin: 25px 36px;
  padding: 17px 19px;
  border-left: 4px solid #222;
  background: #f6f6f6;
}

.ad-review-notice strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.ad-review-notice p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   MODAL FOOTER
========================================================= */

.ad-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px 36px 28px;
}

.ad-cancel-btn,
.ad-continue-btn {
  min-height: 46px;
  padding: 0 23px;
  border-radius: 5px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ad-cancel-btn {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
}

.ad-cancel-btn:hover {
  background: #f5f5f5;
}

.ad-continue-btn {
  border: 0;
  background: #111;
  color: #fff;
}

.ad-continue-btn:hover {
  opacity: .88;
}

.ad-continue-btn span {
  margin-left: 7px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .ad-modal-box {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    border-radius: 8px;
  }

  .ad-modal-header {
    padding: 25px 20px 21px;
  }

  .ad-modal-header h2 {
    font-size: 26px;
  }

  .ad-form-section {
    padding: 25px 20px;
  }

  .ad-form-row,
  .ad-form-row.three,
  .radio-options,
  .publication-options,
  .example-ads {
    grid-template-columns: 1fr;
  }

  .ad-review-notice {
    margin: 20px;
  }

  .ad-modal-footer {
    padding: 18px 20px 22px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #ddd;
  }

  .ad-cancel-btn,
  .ad-continue-btn {
    flex: 1;
  }

  .example-ad-placeholder {
    min-height: 180px;
  }
}
.over-limit {
  color: #c62828;
  font-weight: 600;
}