:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --surface-soft: #edf5ef;
  --text: #162117;
  --text-soft: #526154;
  --line: #dbe4dc;
  --green: #1f6a3a;
  --green-2: #e6f4e9;
  --amber: #8a5a00;
  --amber-bg: #fff3da;
  --red: #a12626;
  --red-bg: #fde8e8;
  --nav-green: #24b040;
  --nav-green-dark: #1e8f36;
  --shadow: 0 10px 28px rgba(18, 32, 20, 0.06);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.news-link,
.table-note a,
.callout a {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

/* Announcement bar */
.jmr-news-bar {
  background: #022c22;
  color: #ecfdf3;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.35);
}

.jmr-news-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.3rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jmr-news-ticker {
  overflow: hidden;
  flex: 1;
}

.jmr-news-track {
  display: inline-block;
  white-space: nowrap;
  animation: jmrTicker 28s linear infinite;
}

.jmr-news-bar:hover .jmr-news-track {
  animation-play-state: paused;
}

@keyframes jmrTicker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Header / nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  max-height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: #4b5563;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--nav-green-dark);
  outline: none;
}

.nav-links a.is-active{
  color:#c62828;
}

.nav-links a.nav-cta {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--nav-green-dark);
  border: 1px solid #bbf7d0;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  background: #f9fafb;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  opacity: 0.98;
  outline: none;
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--green);
  border: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 42px;
  background: linear-gradient(180deg, #f4f8f5 0%, #eef4ef 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 10, 0.78) 0%, rgba(7, 18, 10, 0.62) 38%, rgba(7, 18, 10, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 18, 10, 0.12) 0%, rgba(7, 18, 10, 0.42) 100%),
    url("../media/restricted-hero.jpg") center center / cover no-repeat;
  transform: scale(1.02);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(61, 201, 107, 0.24), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 20%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(12, 22, 14, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--green);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-alert {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(31, 106, 58, 0.14);
  background: rgba(247, 251, 248, 0.94);
  color: #2f4332;
  font-size: 0.96rem;
}

.hero-alert strong {
  color: var(--green);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-panel h2 {
  margin: 0 0 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 720px;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(31, 106, 58, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.hero-list .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
  flex: 0 0 auto;
}

.dot-green {
  background: var(--green);
}

.dot-amber {
  background: #d49b1a;
}

.dot-red {
  background: #c74848;
}

/* Page sections */
.section {
  padding: 28px 0 0;
}

.section-head {
  max-width: 840px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.summary-card,
.info-card,
.table-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.summary-card h3,
.info-card h3 {
  margin: 12px 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.summary-card p,
.info-card p,
.info-card li,
.table-note p,
.table-note li {
  margin: 0;
  color: var(--text-soft);
}

.info-card ul,
.table-note ul {
  margin: 0;
  padding-left: 18px;
}

.table-note {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.table-note h3 {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill--conditional {
  background: var(--green-2);
  color: var(--green);
}

.pill--nonconforming {
  background: var(--amber-bg);
  color: var(--amber);
}

.pill--notaccepted {
  background: var(--red-bg);
  color: var(--red);
}

.filter-bar {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-buttons,
.cta-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-group {
  gap: 12px;
}

.filter-btn {
  appearance: none;
  border: 1px solid #ced8cf;
  background: #ffffff;
  color: #223024;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: var(--green);
  transform: translateY(-1px);
  outline: none;
}

.filter-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.filter-note {
  margin: 0;
  color: #5a685d;
  font-size: 0.95rem;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.restricted-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.table-caption {
  padding: 16px 18px 0;
  color: #5a685d;
  font-size: 0.95rem;
  text-align: left;
  caption-side: top;
}

th {
  padding: 16px 18px;
  text-align: left;
  background: var(--surface-soft);
  color: #1a281c;
  font-size: 0.9rem;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

th.status-col,
td.status-col {
  width: 180px;
}

td {
  padding: 16px 18px;
  border-bottom: 1px solid #edf1ed;
  color: #2d392f;
  vertical-align: top;
  line-height: 1.6;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr[hidden] {
  display: none;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.callout-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.callout {
  flex: 1 1 440px;
  background: #ffffff;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: #4f5d51;
  box-shadow: 0 8px 24px rgba(18, 32, 20, 0.04);
}

/* Footer / mobile call bar */
footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.2rem 1.5rem 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  background: #0f172a;
  box-shadow: 0 -8px 16px rgba(15, 23, 42, 0.35);
  padding: 0.45rem 1.1rem;
}

.mobile-call-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.mobile-call-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mobile-call-label strong {
  font-size: 0.9rem;
}

.mobile-call-number {
  font-weight: 600;
}

.mobile-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nav-green), var(--nav-green-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero {
    padding: 60px 0 32px;
  }

  .hero-grid,
  .summary-grid,
  .info-grid,
  .table-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 52px 0 26px;
  }

  .hero-copy,
  .hero-panel,
  .summary-card,
  .info-card,
  .table-note {
    padding: 22px 18px;
  }

  .nav-links {
    display: none;
  }

  .nav {
    position: relative;
  }

  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    gap: 0.75rem;
    z-index: 40;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-actions,
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .filter-bar {
    align-items: stretch;
  }

  .filter-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 11px 12px;
  }

  .filter-note {
    width: 100%;
  }

  .table-wrap {
    padding: 10px;
  }

  .restricted-table {
    min-width: 100%;
  }

  thead {
    display: none;
  }

  .restricted-table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tbody tr {
    padding: 16px 14px 8px;
    margin-bottom: 12px;
    border: 1px solid #e6ece6;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 32, 20, 0.05);
  }

  tbody tr:last-child {
    margin-bottom: 0;
  }

  td {
    padding: 0 0 10px;
    border: 0;
  }

  td:last-child {
    padding-bottom: 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #657366;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .mobile-call-bar {
    display: block;
  }

  body {
    padding-bottom: 3.2rem;
  }
}

.jmr-news-bar{
  background:#eed202 !important;
  color:#010203 !important;
}

.jmr-news-bar a,
.jmr-news-bar .jmr-news-label,
.jmr-news-bar .jmr-news-track,
.jmr-news-bar .jmr-news-sep{
  color:#010203 !important;
}

.jmr-news-bar .jmr-news-label{
  background:rgba(255,255,255,0.16) !important;
}
