/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fdfdfb;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: #0b2545; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, .logo-text {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: #0b1220;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: #6b7280; font-size: 0.92rem; }
.kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8231e;
  margin-bottom: 0.6em;
}
.dot { margin: 0 0.4em; color: #c0c0c0; }
.centered { text-align: center; }

/* ---------- Layout ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 2.5rem 0; }
.section-alt { background: #f6f4ee; }
.section-cta { padding: 2rem 0 3rem; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e6e2d7;
  padding-bottom: 0.5rem;
}
.section-head h1, .section-head h2 { margin: 0; }
.link-arrow { font-size: 0.95rem; font-weight: 500; color: #0b2545; }
.link-arrow:hover { text-decoration: none; color: #b8231e; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid #e6e2d7;
  background: #fdfdfb;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0b1220;
  text-decoration: none;
  letter-spacing: -0.015em;
}
.logo:hover { text-decoration: none; }
.logo-mark-img { width: 48px; height: 48px; flex-shrink: 0; display: block; }
.site-header .logo-mark-img { width: 48px; height: 48px; }
.site-footer .logo { font-size: 1.4rem; }
.site-footer .logo-mark-img { width: 36px; height: 36px; }
.logo-accent { color: #b8231e; }
.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 1rem;
}
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
}
.site-nav a:hover { color: #b8231e; text-decoration: none; }
.nav-cta { font-size: 0.9rem; padding: 0.5rem 1rem; }

/* ---------- Header search ---------- */
.header-search {
  display: flex;
  align-items: center;
  position: relative;
  background: #f6f4ee;
  border: 1px solid #e6e2d7;
  border-radius: 999px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  height: 38px;
}
.header-search:focus-within {
  border-color: #0b2545;
  box-shadow: 0 0 0 2px rgba(11, 37, 69, 0.1);
}
.header-search input[type="search"] {
  border: 0;
  background: transparent;
  padding: 0 0.8rem 0 0.5rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: #1a1a1a;
  width: 170px;
  outline: none;
}
.header-search input[type="search"]::placeholder { color: #94a3b8; }
.header-search-btn {
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  padding: 0 0.3rem 0 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search-btn:hover { color: #b8231e; }
.header-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
@media (max-width: 1040px) {
  .header-search input[type="search"] { width: 130px; }
}

.mobile-search {
  display: flex;
  gap: 0.4rem;
  margin: 0.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ece8dd;
}
.mobile-search input[type="search"] {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border: 1px solid #d4cfc0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.92rem;
}
.mobile-search .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }

.search-head { margin-bottom: 1.5rem; }
.search-head h1 { margin-bottom: 1rem; }
.search-head em { font-style: italic; color: #b8231e; }
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  margin-bottom: 0.8rem;
}
.search-form input[type="search"] {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid #d4cfc0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.search-form input[type="search"]:focus {
  outline: 2px solid #0b2545;
  outline-offset: 1px;
  border-color: #0b2545;
}
.search-count { font-size: 0.9rem; }

/* ---------- Mobile nav hamburger ---------- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e6e2d7;
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0b1220;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid #e6e2d7;
  padding: 0.5rem 1.5rem 1rem;
  background: #fdfdfb;
}
.mobile-menu a {
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  border-bottom: 1px solid #ece8dd;
}
.mobile-menu a:hover { text-decoration: none; color: #b8231e; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mobile-menu-cta {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: #0b2545;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  border-bottom: 0;
}

@media (max-width: 1040px) {
  .site-nav a { font-size: 0.88rem; }
  .site-nav { gap: 1rem; }
}

@media (max-width: 840px) {
  .site-nav, .nav-cta, .header-search { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
  .header-inner { height: 68px; }
  .logo { font-size: 1.4rem; gap: 0.5rem; }
  .site-header .logo-mark-img { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .logo { font-size: 1.2rem; }
  .site-header .logo-mark-img { width: 36px; height: 36px; }
  .header-inner { height: 60px; }
  .container { padding: 0 1rem; }
  .container-narrow { padding: 0 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid #e6e2d7;
  background: linear-gradient(180deg, #fdfdfb 0%, #f6f4ee 100%);
}
.hero-inner { max-width: 760px; }
.hero h1 {
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
}
.hero .lede {
  font-size: 1.1rem;
  color: #404040;
  max-width: 580px;
  margin-bottom: 1.2rem;
}
.hero-meta { margin-top: 0.6rem; font-size: 0.82rem; }

.hero-pills {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: #fff;
  border: 1px solid #d4cfc0;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #0b1220;
  transition: all 0.15s ease;
}
.pill:hover {
  background: #0b2545;
  color: #fff;
  border-color: #0b2545;
  text-decoration: none;
}

/* ---------- Featured story ---------- */
.section-featured {
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid #ece8dd;
}
.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8231e;
  margin-bottom: 1rem;
}
.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e6e2d7;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.05);
}
.featured-image-link {
  display: block;
  overflow: hidden;
}
.featured-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.featured-image-link:hover .featured-image { transform: scale(1.02); }
.featured-content {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.5rem 0 0.9rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.featured-headline a { color: #0b1220; }
.featured-headline a:hover { color: #b8231e; text-decoration: none; }
.featured-summary {
  font-size: 1.05rem;
  color: #404040;
  line-height: 1.55;
  margin: 0 0 1rem;
  font-family: 'Source Serif 4', Georgia, serif;
}
.featured-card .card-meta { margin-bottom: 1.2rem; }
.featured-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 840px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { aspect-ratio: 16 / 9; min-height: 0; }
  .featured-content { padding: 1.5rem 1.5rem 1.75rem; }
  .featured-summary { font-size: 1rem; }
}

/* ---------- Category shelves ---------- */
.shelf-section { padding: 2.5rem 0; }
.shelf-section .section-head h2 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}
.section-banner-wrap { padding: 1rem 0 1rem; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: #0b2545;
  color: #fff;
}
.btn-primary:hover {
  background: #b8231e;
  text-decoration: none;
  color: #fff;
}
.signup-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin-top: 0.5rem;
}
.signup-form input[type="email"] {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d4cfc0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.signup-form input[type="email"]:focus {
  outline: 2px solid #0b2545;
  outline-offset: 1px;
  border-color: #0b2545;
}
.signup-form-inline { margin: 1rem auto 0; }
.signup-mini { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.signup-mini input[type="email"] {
  padding: 0.55rem 0.7rem;
  border: 1px solid #d4cfc0;
  border-radius: 4px;
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
}
.signup-mini .btn { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* ---------- Cards / article grid ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem 1.75rem;
}
.card { padding: 0; }
.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #ece8dd;
  margin-bottom: 0.75rem;
  border-radius: 3px;
}
.card-image-link { display: block; }
.card-image-link:hover { opacity: 0.92; }
.card h3 {
  font-size: 1.25rem;
  margin: 0.4rem 0 0.4rem;
  line-height: 1.25;
}
.card h3 a { color: #0b1220; }
.card h3 a:hover { color: #b8231e; text-decoration: none; }
.card-cat {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8231e;
}
.card-cat:hover { text-decoration: none; opacity: 0.8; }
.card-summary {
  color: #404040;
  font-size: 0.97rem;
  margin: 0.4rem 0 0.6rem;
}
.card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #6b7280;
}

/* ---------- Article list (archive) ---------- */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-list-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid #ece8dd;
}
.article-list-item:last-child { border-bottom: 0; }
.article-list-item h3 {
  font-size: 1.4rem;
  margin: 0.5rem 0;
}
.article-list-item h3 a { color: #0b1220; }

/* ---------- Article page ---------- */
.article-page { padding: 2rem 0 4rem; }
.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 1rem;
  border-radius: 3px;
  background: #ece8dd;
}
.article-image-credit {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  font-style: italic;
  margin: -0.4rem 0 1.5rem;
}

/* ---------- Article share row ---------- */
.share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.4rem 0 0;
  padding: 0.8rem 0;
  border-top: 1px solid #ece8dd;
  border-bottom: 1px solid #ece8dd;
}
.share-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-right: 0.4rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid #e6e2d7;
  border-radius: 4px;
  background: #fff;
  color: #404040;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.share-btn:hover {
  text-decoration: none;
  background: #f6f4ee;
  color: #0b1220;
  border-color: #d4cfc0;
}
.share-btn.copied {
  background: #ecfdf5;
  color: #065f46;
  border-color: #6ee7b7;
}
.article-header { margin-bottom: 2rem; }
.article-cat {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8231e;
  display: inline-block;
  margin-bottom: 0.6rem;
}
.article-cat:hover { text-decoration: none; opacity: 0.85; }
.article-summary {
  font-size: 1.2rem;
  color: #404040;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-style: italic;
  margin: 1rem 0 1.5rem;
  line-height: 1.45;
}
.article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #6b7280;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #ece8dd;
}
.article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #1a1a1a;
  margin: 2rem 0;
}
.article-body p { margin: 0 0 1.4em; }
.article-body h2 { margin: 2rem 0 0.8rem; font-size: 1.5rem; }
.article-body h3 { margin: 1.6rem 0 0.6rem; font-size: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1.4em; }
.article-body li { margin: 0.4rem 0; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.6rem 1.2rem;
  border-left: 4px solid #0b2545;
  background: #f6f4ee;
  font-style: italic;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.stat-card {
  background: #f6f4ee;
  border-left: 3px solid #b8231e;
  padding: 0.9rem 1rem;
  border-radius: 2px;
}
.stat-card .num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #0b2545;
  line-height: 1.05;
  display: block;
}
.stat-card .label {
  display: block;
  font-size: 0.82rem;
  color: #404040;
  margin-top: 0.35rem;
  line-height: 1.35;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.data-table th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  background: #f6f4ee;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #404040;
  border-bottom: 2px solid #0b2545;
}
.data-table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid #ece8dd;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: #fafaf6; }
.article-body a {
  color: #0b2545;
  text-decoration: underline;
  text-decoration-color: #b8231e;
  text-underline-offset: 3px;
}

.article-signup {
  margin: 3rem 0;
  padding: 2rem;
  background: #f6f4ee;
  border-left: 4px solid #b8231e;
}
.article-signup h3 { margin-bottom: 0.4rem; }
.article-signup p { margin-bottom: 1rem; color: #404040; }

.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ece8dd;
}
.related h3 {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 1rem;
}
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #ece8dd;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.related-list li:last-child { border-bottom: 0; }

/* ---------- Coverage cards ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.coverage-card {
  background: #fff;
  border: 1px solid #e6e2d7;
  padding: 1.6rem;
  border-radius: 4px;
  border-top: 3px solid #b8231e;
}
.coverage-card h3 { margin-top: 0; }
.coverage-card p { margin-bottom: 0; color: #404040; font-size: 0.95rem; }

/* ---------- CTA card ---------- */
.cta-card {
  background: #0b2545;
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 6px;
  text-align: center;
}
.cta-card h2, .cta-card h3 { color: #fff; margin-bottom: 0.6rem; }
.cta-card p { color: #d4dae5; margin-bottom: 1.4rem; }
.cta-card .signup-form { margin: 0 auto; }
.cta-card-inline {
  margin: 3rem 0 0;
  padding: 2rem;
}
.cta-card-inline h3 { font-size: 1.3rem; }

/* ---------- Ad slots (legacy placeholder styling) ---------- */
.ad-slot {
  position: relative;
  background: #f6f4ee;
  border: 1px dashed #c4bfaf;
  border-radius: 4px;
  text-align: center;
  padding: 1rem;
}
.ad-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}
.ad-slot .ad-label {
  position: absolute;
  top: 6px;
  left: 8px;
}
.ad-placeholder {
  color: #9ca3af;
  font-size: 0.9rem;
  font-style: italic;
  padding: 1.5rem 0;
}
.ad-slot-hero {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot-banner {
  margin: 1.5rem 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- GovSeeker sponsored banner (navy + gold, matching govseeker.com) ---------- */
.govseeker-banner {
  background: linear-gradient(135deg, #0c1d3a 0%, #15294d 100%);
  border: 1px solid #15294d;
  border-radius: 6px;
  padding: 0.7rem 1.25rem 1.15rem;
  margin: 1.5rem 0;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  position: relative;
  overflow: hidden;
}
.govseeker-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a227 0%, #e8c84a 100%);
}
.govseeker-banner .ad-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #94a3b8;
}
.gsb-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.gsb-link:hover { text-decoration: none; }
.govseeker-banner:hover {
  box-shadow: 0 10px 28px rgba(12, 29, 58, 0.35);
  transform: translateY(-1px);
}
.gsb-mark {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
}
.gsb-mark img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.gsb-text { display: block; line-height: 1.35; }
.gsb-title {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.gsb-sub {
  display: block;
  font-size: 0.93rem;
  color: #cbd5e1;
  line-height: 1.45;
}
.gsb-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #c9a227;
  color: #0c1d3a;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.govseeker-banner:hover .gsb-cta {
  background: #e8c84a;
  color: #0c1d3a;
}

@media (max-width: 720px) {
  .gsb-link {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.8rem;
  }
  .gsb-mark { margin: 0 auto; }
  .gsb-cta { justify-self: center; }
}

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  padding: 3rem 1rem;
}
.empty h1, .empty h3 { margin-bottom: 0.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer .logo, .site-footer .logo-text { color: #fff; }
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: #cbd5e1; display: block; margin-bottom: 0.4rem; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1f2a3d;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .muted { margin-top: 0.6rem; color: #94a3b8; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom .muted { color: #64748b; }
.site-footer .signup-mini input[type="email"] {
  background: #1f2a3d;
  border: 1px solid #334155;
  color: #fff;
}
.site-footer .signup-mini input[type="email"]::placeholder { color: #94a3b8; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 2.5rem 0 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ece8dd;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid #e6e2d7;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  text-decoration: none;
  transition: all 0.15s ease;
}
.page-btn:hover {
  border-color: #0b2545;
  color: #0b2545;
  text-decoration: none;
}
.page-current {
  background: #0b2545;
  color: #fff;
  border-color: #0b2545;
  cursor: default;
}
.page-disabled {
  color: #c4bfaf;
  background: #f6f4ee;
  cursor: not-allowed;
}
.pagination-summary {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* ---------- Mobile tweaks for content ---------- */
.article-body { overflow-wrap: break-word; word-wrap: break-word; }
.article-body img, .article-body video { max-width: 100%; height: auto; }
.data-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.data-table { min-width: 480px; }

@media (max-width: 640px) {
  .hero { padding: 2rem 0 1.25rem; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero .lede { font-size: 1rem; }
  .section { padding: 2rem 0; }
  .section-cta { padding: 1.5rem 0 2.5rem; }
  .article-grid { gap: 1.75rem 1.25rem; grid-template-columns: 1fr; }
  .article-list-item h3 { font-size: 1.15rem; }
  .article-page { padding: 1.25rem 0 3rem; }
  .article-header h1 { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
  .article-summary { font-size: 1.05rem; }
  .article-body { font-size: 1.02rem; }
  .data-table { font-size: 0.88rem; }
  .data-table th, .data-table td { padding: 0.5rem 0.6rem; }
  .signup-form { flex-direction: column; gap: 0.6rem; }
  .signup-form input[type="email"], .signup-form .btn { width: 100%; }
  .cta-card { padding: 2rem 1.25rem; }
  .cta-card h2 { font-size: 1.4rem; }
  .article-signup { padding: 1.25rem; }
  .page-btn { min-width: 36px; height: 36px; font-size: 0.9rem; }
  .pagination { gap: 0.2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 1.25rem; }
  .footer-brand { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 0.85rem; }
  .gsb-title { font-size: 0.98rem; }
  .gsb-sub { font-size: 0.85rem; }
  .related-list li { flex-direction: column; gap: 0.25rem; }
}

/* ---------- Flash messages ---------- */
.flash-wrap {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(420px, calc(100vw - 2rem));
}
.flash {
  padding: 0.85rem 1rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
