:root {
  --paper: #f6f9fd;
  --paper-deep: #edf3fa;
  --ink: #13263f;
  --ink-soft: #425d80;
  --line: #c7d6e8;
  --blue: #2c5f93;
  --blue-dark: #214a74;
  --blue-soft: #e9f0f9;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
}

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

.utility-inner,
.masthead-inner,
.nav-inner,
.breaking-inner,
.home-layout,
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--ink-soft);
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.masthead {
  background: #f9fbfe;
  border-bottom: 3px double var(--line);
}

.masthead-inner {
  display: grid;
  grid-template-columns: 300px auto 300px;
  align-items: end;
  gap: 1.25rem;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 1.1rem;
}

.masthead-left {
  grid-column: 1;
  justify-self: start;
  background: #eef3f9;
  border: 1px solid #c8d6e6;
  border-left: 4px solid #2c5f93;
  border-radius: 4px;
  padding: 0.62rem 0.72rem;
  min-width: 210px;
  width: 100%;
  max-width: 300px;
}

.left-label,
.left-main,
.left-sub {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.left-label {
  font-size: 0.66rem;
  color: #49668a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.left-main {
  margin-top: 0.18rem;
  font-size: 0.88rem;
  color: #233f61;
  font-weight: 700;
}

.left-sub {
  margin-top: 0.1rem;
  font-size: 0.73rem;
  color: #557395;
}

.left-link {
  display: inline-block;
  margin-top: 0.32rem;
  color: var(--blue-dark);
  font: 700 0.75rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}

.brand-block {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  grid-column: 2;
}

.site-logo {
  width: clamp(120px, 16vw, 190px);
  height: auto;
  margin-bottom: 0.08rem;
}

h1 {
  margin: 0.12rem 0 0;
  font-size: clamp(2.25rem, 4.9vw, 3.25rem);
  line-height: 1.02;
  font-family: "Arial Black", "Impact", "Haettenschweiler", "Franklin Gothic Heavy", sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #1a3f66;
  text-shadow: 0 1px 0 #ffffff;
}

.brand-tag {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  font: 600 0.84rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.masthead-tools {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  grid-column: 3;
  justify-self: end;
  width: 100%;
  max-width: 300px;
}

.search-box {
  display: flex;
  gap: 0.35rem;
}

.search-box input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.52rem 0.65rem;
  font: 0.88rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.search-box button,
.subscribe-link {
  border: 1px solid #b6c9de;
  background: #ffffff;
  color: #2b4f77;
  border-radius: 3px;
  padding: 0.48rem 0.72rem;
  font: 600 0.82rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.subscribe-link {
  justify-self: end;
}

.search-box button:hover,
.subscribe-link:hover {
  background: #f1f5fb;
  border-color: #9eb7d3;
  color: #21486f;
}

.main-nav {
  border-bottom: 1px solid var(--line);
  background: #eef3f9;
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.nav-chip {
  text-decoration: none;
  color: #35577f;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.34rem 0.56rem;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-chip:hover,
.nav-chip.active {
  background: #ffffff;
  color: #21486f;
  border-color: #adc1d8;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: #35577f;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.34rem 0.56rem;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  white-space: nowrap;
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover {
  background: #ffffff;
  border-color: #adc1d8;
  color: #21486f;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(22, 72, 132, 0.15);
  padding: 0.35rem;
  display: grid;
  gap: 0.2rem;
  z-index: 20;
}

.dropdown-menu a {
  text-decoration: none;
  color: var(--ink);
  border-radius: 5px;
  padding: 0.4rem 0.5rem;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.dropdown-menu a:hover {
  background: #eef4fb;
}

.breaking-wrap {
  background: #163a5d;
  border-top: 1px solid #122f4c;
  border-bottom: 1px solid #122f4c;
}

.ad-wrap {
  background: #f4f8fd;
  border-bottom: 1px solid var(--line);
}

.ad-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
}

.ad-label {
  margin: 0 0 0.4rem;
  color: #627d9e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font: 700 0.65rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.ad-slot {
  background: #f7fafd;
  border: 1px dashed #b4c7de;
  border-radius: 10px;
  min-height: 80px;
}

.ad-leaderboard {
  min-height: 90px;
}

.breaking-inner {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.breaking-label {
  margin: 0;
  color: #fff;
  background: #c7352d;
  border: 1px solid #a1261f;
  padding: 0.38rem 0.62rem;
  border-radius: 3px;
  font: 800 0.7rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.breaking-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.breaking-text {
  margin: 0;
  color: #f6fbff;
  white-space: nowrap;
  font: 700 0.88rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  animation: nbb-ticker 24s linear infinite;
}

@keyframes nbb-ticker {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .breaking-text {
    animation: none;
  }
}

.home-layout {
  padding-top: 1.4rem;
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.25rem;
}

.lead-story article,
.panel,
.story-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(22, 72, 132, 0.05);
}

.lead-story article {
  padding: 1.25rem;
}

.story-kicker {
  margin: 0;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font: 700 0.72rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.lead-story h2 {
  margin: 0.55rem 0;
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
  line-height: 1.18;
}

.story-title-link {
  color: inherit;
  text-decoration: none;
}

.story-title-link:hover {
  color: #21486f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story-meta {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font: 600 0.83rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.lead-story img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

.lead-story p {
  margin: 0 0 0.9rem;
  font-size: 1.04rem;
  color: #253f64;
}

.story-link {
  display: inline-block;
  text-decoration: none;
  color: #1f436f;
  background: #f6faff;
  border: 1px solid #9db8d9;
  border-radius: 3px;
  padding: 0.45rem 0.74rem;
  font: 600 0.82rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.story-link:hover {
  background: #e9f1fc;
  border-color: #86a8d2;
}

.story-page-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 2rem;
}

.story-page-article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(22, 72, 132, 0.05);
  padding: 1.4rem;
}

.story-page-article h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.8rem, 3.4vw, 2.45rem);
  line-height: 1.2;
  color: #1e4067;
}

.story-page-article p {
  margin: 0 0 1rem;
  color: #26486e;
}

.story-page-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.9rem;
}

.story-back-link {
  margin: 1rem 0 0;
}

.story-back-link a {
  color: #2b4f77;
  text-decoration: none;
  font: 600 0.9rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.story-back-link a:hover {
  text-decoration: underline;
}

.right-rail {
  display: grid;
  gap: 0.95rem;
}

.panel {
  padding: 0.95rem;
}

.panel-ad {
  background: #f8fbfe;
}

.ad-rectangle {
  min-height: 250px;
}

.panel h3 {
  margin: 0.45rem 0;
  font-size: 1.16rem;
  line-height: 1.28;
}

.panel p {
  margin: 0;
  color: #27456f;
}

.most-read h3 {
  margin-top: 0;
}

.most-read ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
  color: #1d395d;
  font-size: 0.94rem;
}

.story-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.story-tile {
  padding: 0.95rem;
}

.story-tile h3 {
  margin: 0.45rem 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.story-tile p {
  margin: 0;
  color: #345579;
}

.utility-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.utility-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(22, 72, 132, 0.05);
  padding: 1rem;
}

.utility-card h3 {
  margin: 0.35rem 0;
  font-size: 1.15rem;
}

.utility-card p {
  margin: 0;
  color: #345579;
}

.newsletter-form {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.45rem;
}

.newsletter-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.52rem 0.65rem;
  font: 0.86rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.newsletter-form button {
  border: 1px solid #b6c9de;
  border-radius: 3px;
  background: #ffffff;
  color: #2b4f77;
  padding: 0.48rem 0.72rem;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.newsletter-form button:hover {
  background: #f1f5fb;
  border-color: #9eb7d3;
}

.contact-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #1d395d;
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #eaf1f9;
}

.ad-wrap-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 1rem;
  color: #2b4a73;
  font: 600 0.78rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.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;
}

@media (max-width: 1100px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
  }

  .masthead-left {
    grid-column: auto;
    justify-self: center;
    min-width: 0;
    width: min(100%, 420px);
  }

  .masthead-tools {
    min-width: 0;
    width: min(100%, 420px);
    grid-column: auto;
    justify-self: center;
  }

  .brand-block {
    justify-items: center;
    grid-column: auto;
  }

  .home-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .ad-rectangle {
    min-height: 120px;
  }
}

@media (max-width: 640px) {
  .utility-inner,
  .masthead-inner,
  .nav-inner,
  .breaking-inner,
  .home-layout,
  .footer-inner,
  .ad-inner {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .utility-inner,
  .footer-inner {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
  }

  .nav-dropdown {
    flex: 0 0 auto;
  }

  .breaking-inner {
    gap: 0.45rem;
  }

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

  h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .search-box,
  .newsletter-form {
    flex-direction: column;
  }

  .search-box button,
  .subscribe-link,
  .newsletter-form button {
    width: 100%;
    text-align: center;
  }

  .story-page-main {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .story-page-article {
    padding: 1rem;
    border-radius: 10px;
  }

  .lead-story article,
  .panel,
  .story-tile,
  .utility-card {
    border-radius: 10px;
  }
}

/* Story Page Layout Refresh (NBB) */
.brand-home-link {
  color: inherit;
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 0.12rem;
}

.brand-home-link:hover {
  text-decoration: none;
}

.story-layout-wrap {
  padding: 1.35rem 0 1.6rem;
}

.story-layout-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(260px, 1fr);
  gap: 1rem;
}

.story-article-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(22, 72, 132, 0.05);
  padding: 1.2rem 1.25rem;
}

.story-path {
  margin: 0 0 0.35rem;
  color: #5e7898;
  font: 700 0.72rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
}

.story-article-shell h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: #0f2741;
}

.story-subhead {
  margin: 0 0 0.9rem;
  color: #38587d;
  font-size: 1.02rem;
}

.story-byline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid #d8e3f0;
  border-bottom: 1px solid #d8e3f0;
  padding: 0.65rem 0;
  margin-bottom: 0.9rem;
}

.story-author-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #2c5f93;
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 0.7rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.05em;
}

.author-name {
  margin: 0;
  color: #1f436f;
  font: 700 0.9rem/1.1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.author-time {
  margin: 0.1rem 0 0;
  color: #5a7493;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.story-share {
  margin: 0;
  color: #4f6b8d;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.story-ad-rail {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.story-rail-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(22, 72, 132, 0.05);
  padding: 0.8rem;
}

.story-rail-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #1f446b;
}

.related-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: #315377;
}

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

.related-list a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .story-layout-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .story-layout-inner {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .story-byline-row {
    flex-direction: column;
    align-items: start;
  }
}

/* Full Story Button Consistency */
.btn-flat {
  display: inline-block;
  border: 1px solid #b6c9de;
  background: #ffffff;
  color: #2b4f77;
  border-radius: 3px;
  padding: 0.44rem 0.68rem;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-flat:hover {
  background: #f1f5fb;
  border-color: #9eb7d3;
  color: #21486f;
}

.story-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.story-share-buttons .btn-flat {
  font-size: 0.74rem;
  padding: 0.34rem 0.52rem;
}

.story-back-link .btn-flat {
  font-size: 0.82rem;
}

/* Unique Story Page Theme */
.story-layout-wrap {
  background: radial-gradient(120% 120% at 0% 0%, #eef4fc 0%, #f7fafd 45%, #f2f7fc 100%);
  padding: 1.5rem 0 1.8rem;
}

.story-layout-inner {
  max-width: 1320px;
  grid-template-columns: minmax(0, 3.2fr) minmax(280px, 1fr);
  gap: 1.1rem;
}

.story-article-shell {
  border-radius: 14px;
  padding: 1.35rem 1.45rem;
}

.story-deck {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #dce7f4;
}

.story-pill {
  margin: 0;
  color: #2b4f77;
  font: 700 0.75rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-reading-time {
  margin: 0;
  color: #6b84a1;
  font: 600 0.76rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.story-reading-time::before {
  content: "•";
  margin-right: 0.45rem;
  color: #9ab1cb;
}

.story-article-shell h2 {
  font-size: clamp(2.2rem, 4.1vw, 3.3rem);
  line-height: 1.04;
  margin: 0 0 0.38rem;
}

.story-subhead {
  font-size: 1.08rem;
  margin-bottom: 1rem;
}

.story-byline-row {
  background: #f8fbff;
  border: 1px solid #d8e4f2;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  margin-bottom: 1rem;
}

.story-page-image {
  border-radius: 12px;
  margin-bottom: 1rem;
}

.story-article-shell p {
  font-size: 1.07rem;
  line-height: 1.75;
}

.story-pullquote {
  margin: 0.25rem 0 1rem;
  background: #edf4fd;
  border-left: 4px solid #2c5f93;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  color: #254a72;
  font: italic 600 1rem/1.5 Georgia, "Times New Roman", serif;
}

.story-next {
  margin-top: 0.8rem;
  background: #f8fbff;
  border: 1px solid #d8e4f2;
  border-radius: 10px;
  padding: 0.8rem;
}

.story-next h3 {
  margin: 0 0 0.45rem;
  color: #1f446b;
}

.story-next ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: #305376;
}

.story-ad-rail {
  gap: 0.9rem;
}

.story-rail-card {
  border-radius: 12px;
  padding: 0.9rem;
}

.story-rail-card .ad-rectangle {
  min-height: 300px;
}

@media (max-width: 980px) {
  .story-layout-inner {
    grid-template-columns: 1fr;
  }

  .story-rail-card .ad-rectangle {
    min-height: 140px;
  }
}

@media (max-width: 640px) {
  .story-article-shell {
    padding: 1rem;
  }

  .story-deck {
    align-items: flex-start;
  }

  .story-article-shell h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
}

/* Consistency + Root Path + Landscape Overrides */
.btn-flat {
  border: 1px solid #9db8d9;
  background: #f6faff;
  color: #1f436f;
  padding: 0.45rem 0.74rem;
  font: 600 0.82rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.btn-flat:hover {
  background: #e9f1fc;
  border-color: #86a8d2;
  color: #1f436f;
}

.story-share-buttons .btn-flat,
.story-back-link .btn-flat {
  font: 600 0.82rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  padding: 0.45rem 0.74rem;
}

.lead-story img,
.story-page-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-height: none;
}

.story-quote-by {
  display: block;
  margin-top: 0.45rem;
  color: #4b6b90;
  font: 700 0.8rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-style: normal;
}

/* Weather Widget + Share Icon Buttons */
.weather-widget {
  min-height: 126px;
}

.forecast-list {
  margin: 0.45rem 0 0.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.forecast-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #49688e;
  font: 600 0.74rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.story-share-buttons .share-icon {
  border: 0;
  background: transparent;
  color: #2b4f77;
  padding: 0.2rem 0.35rem;
  min-width: 1.6rem;
  text-align: center;
  font: 700 1rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.story-share-buttons .share-icon:hover {
  background: #edf3fb;
  border: 0;
  color: #173f6d;
}

.story-share-buttons .share-facebook {
  font-size: 1.05rem;
}

.story-share-buttons .share-email {
  font-size: 0.92rem;
}

/* Header Quick Links + Share Logos */
.masthead-quick {
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.masthead-quick a {
  color: #4d6f95;
  text-decoration: none;
  font: 700 0.72rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  padding: 0.2rem 0;
}

.masthead-quick a:hover {
  text-decoration: underline;
}

.story-share-buttons .share-icon {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  padding: 0.15rem 0.25rem;
  min-width: 1.65rem;
}

.share-logo {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

@media (max-width: 980px) {
  .masthead-quick {
    justify-content: center;
  }
}

/* Top Right Header + Center Footer Socials */
.masthead-top-right {
  margin: 0;
  color: #4a6c93;
  font: 700 0.72rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  text-align: right;
}

.footer-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.footer-social {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f4f8fd;
}

.footer-social a:hover {
  background: #e7eef8;
}

.footer-social-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

@media (max-width: 980px) {
  .masthead-top-right {
    text-align: center;
  }
}

/* Account + Modal + Footer polish */
.subscribe-link {
  background: linear-gradient(180deg, #ffffff 0%, #eff5fc 100%);
  border-color: #9db7d8;
  color: #1f436f;
  font-weight: 700;
}

.account-menu {
  justify-self: end;
  position: relative;
}

.account-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid #adc1d8;
  background: #ffffff;
  color: #2a4c75;
  border-radius: 4px;
  padding: 0.36rem 0.6rem;
  font: 700 0.78rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2c5f93;
  display: inline-block;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(22, 72, 132, 0.15);
  padding: 0.35rem;
  display: grid;
  gap: 0.2rem;
  z-index: 30;
}

.account-dropdown a {
  color: #2a4c75;
  text-decoration: none;
  border-radius: 5px;
  padding: 0.4rem 0.5rem;
  font: 600 0.8rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.account-dropdown a:hover {
  background: #eef4fb;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 52, 0.48);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 120;
}

.modal-card {
  width: min(100%, 520px);
  background: #ffffff;
  border: 1px solid #c8d6e6;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(12, 36, 62, 0.28);
  padding: 1rem;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 0.65rem;
  top: 0.55rem;
  border: 0;
  background: transparent;
  color: #406389;
  font: 700 1rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}

.modal-logo {
  width: 84px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.modal-card h3 {
  margin: 0 0 0.35rem;
  color: #1f446b;
}

.modal-card p {
  margin: 0 0 0.55rem;
  color: #395a7e;
}

.modal-list {
  margin: 0 0 0.7rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.25rem;
  color: #395a7e;
}

.modal-form {
  display: grid;
  gap: 0.5rem;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  border: 1px solid #c1d3e9;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: 0.9rem/1.3 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.modal-form button {
  border: 1px solid #9db8d9;
  border-radius: 8px;
  background: #f6faff;
  color: #1f436f;
  padding: 0.52rem 0.78rem;
  font: 700 0.86rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.footer-social a {
  background: #eaf1f9;
}

.footer-social a:hover {
  background: #eaf1f9;
}

@media (max-width: 980px) {
  .account-menu {
    justify-self: center;
  }
}

/* Header centering and no-forced-login fixes */
.masthead-inner {
  grid-template-columns: 320px auto 320px;
  gap: 1.45rem;
}

.masthead-tools {
  justify-self: start;
}

.account-avatar {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  display: inline-block;
}

.modal-overlay[hidden] {
  display: none !important;
}

/* Final Mobile Usability Pass */
.nav-chip,
.subscribe-link,
.account-menu summary,
.search-box button {
  min-height: 40px;
}

@media (max-width: 980px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    align-items: stretch;
    gap: 0.8rem;
  }

  .brand-block {
    order: 1;
    justify-items: center;
  }

  .masthead-left {
    order: 2;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .masthead-tools {
    order: 3;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    display: grid;
    gap: 0.5rem;
  }

  .account-menu {
    justify-self: end;
  }

  .search-box {
    width: 100%;
  }

  .masthead-quick {
    justify-content: flex-start;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .account-menu {
    justify-self: stretch;
  }

  .account-menu summary {
    width: 100%;
    justify-content: center;
  }

  .masthead-quick {
    justify-content: center;
  }

  .modal-card {
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 0.9rem;
  }

  .modal-form button {
    width: 100%;
  }

  .story-share-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Primary Subscribe CTA */
.subscribe-link {
  background: linear-gradient(180deg, #2f6cb0 0%, #245a95 100%);
  border: 1px solid #1f4a78;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(31, 74, 120, 0.24);
}

.subscribe-link:hover {
  background: linear-gradient(180deg, #3a78bd 0%, #2a609c 100%);
  border-color: #214f80;
  color: #ffffff;
}

/* Search Autocomplete */
.search-box {
  position: relative;
}

.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.3rem);
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: #ffffff;
  border: 1px solid #c5d6e8;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(20, 52, 86, 0.14);
  z-index: 80;
  max-height: 260px;
  overflow: auto;
}

.search-suggestions li a {
  display: block;
  padding: 0.48rem 0.52rem;
  color: #294d75;
  text-decoration: none;
  border-radius: 6px;
  font: 600 0.82rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.search-suggestions li a:hover {
  background: #eef4fb;
}

@media (max-width: 640px) {
  .search-suggestions {
    left: 0;
    right: 0;
    max-height: 220px;
  }
}

/* UI cleanup: nav chip spacing + borderless newsletter CTA */
.main-nav .nav-inner {
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-chip,
.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  vertical-align: middle;
}

.subscribe-link {
  border: 0 !important;
}

/* Refined newsletter button + subtle site motion */
.subscribe-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #e7eff8;
  color: #1f4b78;
  border: 0 !important;
  border-radius: 999px;
  padding: 0.56rem 0.92rem;
  font: 800 0.77rem/1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(38, 86, 136, 0.12);
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.subscribe-link::before {
  content: "\2192";
  font-size: 0.8rem;
  opacity: 0.85;
}

.subscribe-link:hover {
  background: #dce9f7;
  color: #163f68;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(32, 74, 118, 0.2), 0 6px 14px rgba(26, 61, 98, 0.16);
}

.subscribe-link:active {
  transform: translateY(0);
}

@keyframes nbb-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-story article,
.right-rail .panel,
.story-grid .story-tile,
.utility-grid .utility-card,
.story-article-shell,
.story-ad-rail .story-rail-card {
  animation: nbb-fade-up 0.5s ease both;
}

.right-rail .panel:nth-child(2),
.story-grid .story-tile:nth-child(2),
.utility-grid .utility-card:nth-child(2),
.story-ad-rail .story-rail-card:nth-child(2) {
  animation-delay: 0.07s;
}

.right-rail .panel:nth-child(3),
.story-grid .story-tile:nth-child(3),
.story-ad-rail .story-rail-card:nth-child(3) {
  animation-delay: 0.12s;
}

.story-grid .story-tile:nth-child(4),
.story-grid .story-tile:nth-child(5),
.story-grid .story-tile:nth-child(6),
.story-ad-rail .story-rail-card:nth-child(4) {
  animation-delay: 0.18s;
}

.nav-chip,
.story-title-link,
.story-link,
.btn-flat,
.masthead-quick a,
.footer-social a {
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-chip:hover,
.story-link:hover,
.btn-flat:hover,
.footer-social a:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .lead-story article,
  .right-rail .panel,
  .story-grid .story-tile,
  .utility-grid .utility-card,
  .story-article-shell,
  .story-ad-rail .story-rail-card {
    animation: none;
  }

  .subscribe-link,
  .nav-chip,
  .story-title-link,
  .story-link,
  .btn-flat,
  .masthead-quick a,
  .footer-social a {
    transition: none;
  }
}

/* Dynamic frontend news cards */
.tile-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.tile-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 0.55rem;
}

.panel h3 a,
.most-read a {
  color: inherit;
  text-decoration: none;
}

.panel h3 a:hover,
.most-read a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Utility visibility helper */
.hidden {
  display: none !important;
}

.category-page-banner {
  background: linear-gradient(180deg, #f3f8ff 0%, #e6f0fb 100%);
  border-top: 1px solid #c9d9ec;
  border-bottom: 1px solid #c9d9ec;
}

.category-page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1rem 1rem;
}

.category-page-eyebrow {
  margin: 0;
  font: 700 0.72rem/1.2 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #355f87;
}

.category-page-banner h2 {
  margin: 0.25rem 0 0;
  font: 800 1.35rem/1.1 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: #12395f;
}

.category-page-banner p {
  margin: 0.35rem 0 0;
  color: #2f567d;
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .category-page-banner h2 {
    font-size: 1.1rem;
  }
}
