/* Base Resets */
body {
  margin: 0;
  padding: 0;
  background: #f9fafb;
}

.jenews-home {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  color: #111827;
  line-height: 1.45;
}

.jenews-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 16px 28px;
}

.jenews-masthead {
  border-top: 3px solid #111827;
  border-bottom: 1px solid #d1d5db;
  padding: 14px 0 12px;
  margin-bottom: 14px;
  text-align: center;
}

.jenews-name {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.jenews-tagline {
  margin: 6px 0 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #374151;
  font-size: 14.5px;
}

/* Navigation */
.jenews-nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jenews-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 12px 0 14px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.jenews-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.jenews-nav li {
  position: relative;
}

.jenews-nav a {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  display: inline-block;
}

.jenews-nav a:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}

.jenews-nav ul ul {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 110%;
  left: 0;
  background: #eff6ff;
  padding: 10px;
  border-radius: 12px;
  z-index: 100;
}

.jenews-nav li:hover > ul {
  display: flex;
}

.jenews-nav ul ul a {
  background: #eff6ff;
  border-radius: 999px;
  padding: 8px 14px;
  margin: 4px 0;
  white-space: nowrap;
}

.jenews-nav ul ul a:hover {
  background: #1d4ed8;
  color: white;
}

/* Content + Cards */
.jenews-content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
  font-size: 16px;
  line-height: 1.6;
}

.jenews-content h2 {
  font-size: 24px;
  margin-top: 0;
  text-align: center;
}

.meetings-content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.meetings-content h2 {
  font-size: 24px;
  margin-top: 0;
  text-align: left;
}

.jenews-author-photo {
  display: block;
  max-width: 160px;
  height: auto;
  border-radius: 50%;
  margin: 12px auto 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.jenews-footer-note {
  margin-top: 16px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  font-size: 12.5px;
  color: #6b7280;
  font-style: italic;
  text-align: center;
}

/* Grid + Layout */
.jenews-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 920px) {
  .jenews-grid {
    grid-template-columns: 1.55fr 1fr;
    align-items: start;
  }
}

.jenews-card {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}

.jenews-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  padding: 2px;
  transition: transform 0.12s ease;
}

.jenews-link:hover {
  transform: translateY(-1px);
}

.jenews-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 750;
  color: #1e3a8a;
  margin: 0 0 8px;
}

.jenews-headline {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.jenews-mini .jenews-headline {
  font-size: 18px;
  margin-bottom: 6px;
}

.jenews-deck {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
}

.jenews-side {
  display: grid;
  gap: 12px;
}

.jenews-mini {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}

/* Markdown-Based Article Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 18px 64px;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #111827;
  margin: 0;
  text-align: center;
}

.subtitle {
  font-size: 16px;
  color: #374151;
  text-align: center;
  margin: 8px 0 26px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
}

.ul {
  margin: 0 0 14px 22px;
  padding: 0;
}

.ul li {
  margin: 6px 0;
}

.highlight-box {
  border-left: 4px solid #1d4ed8;
  background: #dbeafe;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 15.5px;
}

.callout-box {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 15.5px;
}

/* Responsive Navigation */
.jenews-hamburger {
  display: none;
  cursor: pointer;
  font-size: 20px;
  background: none;
  border: none;
  color: #1e3a8a;
  font-weight: bold;
  padding: 12px 0;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .jenews-nav {
    display: none;
    flex-direction: column;
  }

  .jenews-nav.show {
    display: flex;
  }

  .jenews-nav ul {
    flex-direction: column;
  }

  .jenews-nav ul ul {
    position: relative;
  }

  .jenews-hamburger {
    display: block;
  }
}

/* NEOSHO Style Blocks */
.neosho-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}

.neosho-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 750;
  text-align: center;
}

.neosho-subtitle {
  margin: 0 0 16px;
  font-size: 16px;
  color: #374151;
  text-align: center;
}

.neosho-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}

.neosho-h2 {
  margin: 18px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.neosho-p {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.55;
}

.neosho-ul {
  margin: 8px 0 14px 18px;
  padding: 0;
}

.neosho-ul li {
  margin: 6px 0;
}

.neosho-callout {
  border-left: 4px solid #1d4ed8;
  background: #eff6ff;
  border-radius: 12px;
  padding: 12px;
  margin: 14px 0;
}

.neosho-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.neosho-box {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 16px;
  padding: 14px;
}

.neosho-disclaimer {
  margin-top: 14px;
  font-size: 12.5px;
  color: #6b7280;
  font-style: italic;
}

/* Pills for disabled nav */
.jenews-pill {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  text-decoration: none;
  opacity: 0.55;
  pointer-events: none;
}

/* Centered Feature Image */
.centered-photo {
  display: block;
  margin: 0 auto 16px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Markdown Styling Overrides */
.markdown-body h1 {
  font-size: clamp(28px, 3vw, 38px);  /* Slightly smaller than default */
  text-align: center;                 /* Keep title centered */
  margin-bottom: 0.75em;
}

.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  text-align: left;                   /* Subheadings left-aligned */
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.jenews-grid-parts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.jenews-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.jenews-card.disabled {
  background: #f9f9fc;
  color: #999;
  cursor: default;
  pointer-events: none;
}

.jenews-card .jenews-kicker {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.jenews-card .jenews-headline {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.jenews-card .jenews-deck {
  font-size: 0.95rem;
  color: #555;
}
.jenews-nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.jenews-nav-links a {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jenews-nav-links a:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}
/* Global link styling */
a {
  color: #1a0dab; /* Use your preferred blue, or change this */
  text-decoration: none;
  font-weight: 600;
}

a:hover,
a:focus {
  text-decoration: underline; /* Optional: add underline on hover for accessibility */
  color: #003366; /* Slightly darker blue on hover */
}
.jenews-full-image {
  grid-column: 1 / -1;
  text-align: center;
  margin: 18px 0;
}

.jenews-full-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.jenews-gov101-image {
  grid-column: 1 / -1;
  text-align: center;
  margin: 12px 0 24px;
}

.jenews-gov101-image img {
  max-width: 70%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.gov101-logo {
  margin-bottom: 18px; /* or try 20–24px depending on feel */
}
