/* NMJL Card 2027 - editorial intro page, mobile-first.
   Shared chrome (header / footer / logo / dropdown) comes from common.css,
   site-header.css and the shared site-header.js / site-footer.js. Nothing here
   redefines that shared chrome. */
.nmjl-card-page { padding-bottom: 24px; }
.nmjl-card-page .page-banner { margin-bottom: 24px; }

/* 2027 Edition at a Glance status block */
.glance { margin: 0 0 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow); }
.glance-title { margin: 0 0 14px; font-family: 'Fraunces', Georgia, serif; font-size: 21px; font-weight: 700; color: var(--ink); text-align: center; }
.tbl-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.glance-table, .data-table { border-collapse: collapse; width: 100%; font-family: 'Nunito', sans-serif; }
.glance-table th, .glance-table td, .data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 12px; font-size: 15px; line-height: 1.45; text-align: left; vertical-align: top; color: var(--ink); }
.glance-table th, .data-table th { font-weight: 800; background: var(--mist); white-space: nowrap; }
.glance-table td strong { color: var(--jade); }
.data-table thead th { font-size: 13.5px; white-space: normal; }

.doc h3 { margin: 20px 0 8px; }
.nmjl-card-page .doc { margin: 16px 0; }
.nmjl-card-page .doc p:last-child, .nmjl-card-page .doc ul:last-child { margin-bottom: 0; }
.legal-note p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* Official card buy promo - centered & responsive on mobile and desktop */
.card-promo { margin: 26px auto 30px; max-width: 560px; text-align: center; }
.card-promo-img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto 18px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(63,116,100,.14); }
.card-promo-cap a { display: inline-block; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; color: #fff !important; -webkit-text-fill-color: #fff; background: var(--jade, #3F7464); padding: 13px 24px; border-radius: 999px; text-decoration: none !important; box-shadow: 0 4px 12px rgba(63,116,100,.20); transition: background .2s ease, color .2s ease, -webkit-text-fill-color .2s ease, transform .2s ease; }
.card-promo-cap a:link, .card-promo-cap a:visited { color: #fff !important; -webkit-text-fill-color: #fff; }
.card-promo-cap a:hover, .card-promo-cap a:focus-visible, .card-promo-cap a:active { color: var(--gold, #C7A567) !important; -webkit-text-fill-color: var(--gold, #C7A567); background: #2E5A4C; text-decoration: none !important; transform: translateY(-1px); }
.card-promo-ext { margin-left: 8px; font-size: 15px; color: inherit; }

/* Desktop: comfortable reading width, larger type. Mobile layout stays untouched. */
@media (min-width: 921px) {
  .nmjl-card-page { padding-bottom: 40px; }
  .glance { padding: 28px 32px; max-width: 760px; margin-left: auto; margin-right: auto; }
  .glance-title { font-size: 24px; }
  .glance-table th, .glance-table td, .data-table th, .data-table td { font-size: 16.5px; padding: 14px 16px; }
  .data-table thead th { font-size: 14.5px; }
  .nmjl-card-page .doc h2 { font-size: 32px; }
  .nmjl-card-page .doc p, .nmjl-card-page .doc li { font-size: 19px; }
}


/* Mobile: comparison table (How It Differs). Keep it inside the card; shrink
   the first-column label type a touch so each column has room for whole words.
   Only this table; table 1 (glance), table 3 (calendar) and desktop untouched. */
@media (max-width: 920px) {
  .nmjl-card-page .diff-table { table-layout: fixed; width: 100%; }
  .nmjl-card-page .diff-table th:first-child {
    width: 66px;
    white-space: normal;
    vertical-align: top;
    font-size: 11px;
    padding: 8px 4px;
    line-height: 1.35;
    overflow-wrap: break-word;
  }
  .nmjl-card-page .diff-table td {
    font-size: 12px;
    padding: 8px 4px;
    line-height: 1.4;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

/* Racks and Pushers section - one image + one outbound link, centered & responsive */
.racks-section .racks-promo { margin: 24px auto 18px; max-width: 760px; }
.racks-section .racks-promo-img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(63,116,100,.14); }
.racks-section .racks-promo-cap { margin-top: 10px; font-size: 15px; line-height: 1.5; font-style: italic; color: var(--ink-soft); text-align: center; }
.racks-section .racks-promo-cta { text-align: center; margin: 18px 0 14px; }
.racks-section .racks-promo-cta a { display: inline-block; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; color: #fff !important; -webkit-text-fill-color: #fff; background: var(--jade, #3F7464); padding: 13px 24px; border-radius: 999px; text-decoration: none !important; box-shadow: 0 4px 12px rgba(63,116,100,.20); transition: background .2s ease, color .2s ease, -webkit-text-fill-color .2s ease, transform .2s ease; }
.racks-section .racks-promo-cta a:link, .racks-section .racks-promo-cta a:visited { color: #fff !important; -webkit-text-fill-color: #fff; }
.racks-section .racks-promo-cta a:hover, .racks-section .racks-promo-cta a:focus-visible, .racks-section .racks-promo-cta a:active { color: var(--gold, #C7A567) !important; -webkit-text-fill-color: var(--gold, #C7A567); background: #2E5A4C; text-decoration: none !important; transform: translateY(-1px); }
.racks-section .racks-disclaimer { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
@media (min-width: 921px) {
  .racks-section .racks-promo-cap { font-size: 16.5px; }
  .racks-section .racks-disclaimer { font-size: 15.5px; }
}
