/* National Spine Management Group: public site styles (matches the NSMG Member Portal pages) */
:root {
  --navy: #0c2340;
  --navy2: #16335c;
  --gold: #d4a017;
  --gold2: #e9bf3c;
  --gold-text: #9c7410;
  --slate: #5a6577;
  --tint: #eef1f6;
  --line: #d9dee7;
  --card: #ffffff;
  --bg: #ffffff;
  --ink: #0c2340;
  --muted: #5a6577;
  --on-navy: #c9d1de;
  --heading: Cambria, Georgia, "Times New Roman", serif;
  --body: Calibri, Carlito, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 400; line-height: 1.15; margin: 0; color: inherit; }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 4px; }
h3 { font-size: 21px; }
h4 { font-size: 21px; line-height: 1.2; margin: 6px 0; }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[id] { scroll-margin-top: 24px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(48px, 7vw, 84px) 0; }
.tintband { background: var(--tint); }
.eyebrow { color: var(--slate); font-size: 16px; margin: 0 0 8px; }
.sub { color: var(--muted); max-width: 44em; margin: 12px 0 0; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 8px; font: 700 17px/1.2 var(--body); text-decoration: none; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold) 60%, #b98a10); color: var(--navy); box-shadow: 0 2px 0 #8d6a0c, 0 8px 20px rgba(212, 160, 23, .25); }
.btn.navy { background: linear-gradient(180deg, var(--navy2), var(--navy)); color: #fff; box-shadow: 0 2px 0 #050f1d; }
.btn.ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn.sm { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btns.center { justify-content: center; }

/* Header */
header.site-header { background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); position: relative; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: auto; background: #f7f3ea; border-radius: 8px; padding: 4px; }
.brand b { display: block; font: 700 18px/1.15 var(--heading); }
.brand small { display: block; color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
header.site-header nav, .nav-links { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: 16px; }
.nav-links > a, .menu summary { text-decoration: none; color: #fff; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links > a:hover, .menu summary:hover, .nav-links a[aria-current] { border-bottom-color: var(--gold); }
.menu { position: relative; }
.menu summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.menu[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.menu-list { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 300px; background: #fff; border-radius: 10px; box-shadow: 0 14px 40px rgba(12, 35, 64, .25); padding: 8px; border-top: 3px solid var(--gold); }
.menu-list a { display: block; padding: 10px 14px; color: var(--navy); text-decoration: none; border-radius: 6px; font-weight: 700; }
.menu-list a:hover, .menu-list a[aria-current] { background: var(--tint); }

/* Menu button (small screens only; shown once the page script has run, see .js below) */
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 8px; background: transparent; color: #fff; font: 700 15px/1 var(--body); cursor: pointer; }
.nav-toggle:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Collapsed header: only with JavaScript, so the links are never hidden without a way to show them */
@media (max-width: 900px) {
  .js .bar { flex-wrap: nowrap; }
  .js header.site-header nav.main-nav { flex-wrap: nowrap; gap: 10px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 18px; background: var(--navy); border-bottom: 3px solid var(--gold); box-shadow: 0 18px 30px rgba(0, 0, 0, .28); }
  .js .main-nav.is-open .nav-links { display: flex; }
  .js .nav-links > a, .js .nav-links .menu summary { display: flex; padding: 13px 2px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .js .nav-links > a:hover, .js .nav-links .menu summary:hover { border-bottom-color: rgba(255, 255, 255, .12); color: var(--gold); }
  .js .nav-links > a[aria-current] { color: var(--gold); border-bottom-color: rgba(255, 255, 255, .12); }
  .js .nav-links .menu summary::after { margin-left: auto; }
  .js .menu-list { position: static; transform: none; min-width: 0; margin: 4px 0 8px; box-shadow: none; }
}
@media (max-width: 560px) {
  .js .bar { gap: 10px; min-height: 64px; }
  .js .brand { gap: 8px; min-width: 0; }
  .js .brand img { width: 34px; }
  .js .brand b { font-size: 15px; max-width: 132px; }
  .js .brand small { display: none; }
  .js header.site-header nav.main-nav { gap: 8px; flex-shrink: 0; }
  .js .nav-toggle { padding: 0; width: 44px; justify-content: center; }
  .js .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js header.site-header .btn.sm { padding: 0 12px; font-size: 14px; }
}

/* Hero (navy band) */
.hero { background: radial-gradient(120% 90% at 85% 10%, #1d4275 0%, var(--navy) 55%, #081a31 100%); color: #fff; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; margin: 18px 0 16px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--on-navy); max-width: 40em; }
.lede.big { font-family: var(--heading); color: #fff; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.kicker { color: var(--gold); font: 700 14px/1 var(--heading); letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.crumb { color: var(--on-navy); font-size: 15px; margin-bottom: 16px; }
.crumb a { color: #fff; }
.pace { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(212, 160, 23, .55); background: rgba(212, 160, 23, .08); color: #f3d98b; border-radius: 999px; padding: 8px 18px; font-size: 16px; }
.herogrid { display: grid; gap: clamp(28px, 4vw, 48px); }
.herotext { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; border-left: 1px solid rgba(255, 255, 255, .15); padding-left: clamp(20px, 3vw, 40px); }
.stats b { display: block; font-family: var(--heading); font-size: clamp(30px, 3vw, 38px); color: var(--gold); line-height: 1; }
.stats span { color: var(--on-navy); font-size: 15px; }
.herohome { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.logocard { background: #f7f3ea; color: var(--navy); border-radius: 18px; border-top: 4px solid var(--gold); padding: 36px 28px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.logocard img { width: 150px; margin: 0 auto 18px; }
.logocard p { font: 700 24px/1.2 var(--heading); margin: 0 0 8px; }
.logocard small { color: var(--slate); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* Module / rotation viewer in the hero */
.viewer { margin-top: clamp(28px, 4vw, 44px); background: rgba(5, 15, 30, .55); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px 16px 18px; }
.vbar { display: flex; justify-content: space-between; gap: 12px; color: var(--on-navy); font-size: 15px; padding: 6px 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 12px; }
.row { display: grid; grid-template-columns: 96px repeat(6, minmax(0, 1fr)); gap: 10px; align-items: center; margin-top: 10px; }
.row em, .yr em { font-style: normal; color: #fff; font-size: 15px; line-height: 1.25; }
.row em b, .yr em b { display: block; color: var(--gold); }
.tile { display: block; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); transition: transform .15s ease, border-color .15s ease; }
.tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.yr { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; }
.yr + .yr { border-top: 1px solid rgba(255, 255, 255, .08); }
.thumbs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.rots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rtile { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; background: linear-gradient(180deg, #1d4275, var(--navy)); border-top: 3px solid var(--gold); text-decoration: none; color: #fff; }
.rtile svg, .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rtile strong { font: 700 15px/1.2 var(--heading); }
.rtile small { color: var(--on-navy); font-size: 13px; }

/* Content blocks */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.how > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.how b { font-family: var(--heading); font-size: 30px; color: var(--gold); display: block; line-height: 1; }
.how h3 { margin: 10px 0 6px; }
.how h3 a { overflow-wrap: anywhere; }
.how p { margin: 0; color: var(--muted); }
.obj { list-style: none; padding: 0; margin: 28px 0 0; columns: 2; column-gap: 40px; }
.obj li { break-inside: avoid; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); position: relative; }
.obj li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 14px; height: 8px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.paths { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.path { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(12, 35, 64, .06); }
.path h3 { font-size: 24px; }
.path .tag { font-size: 14px; color: var(--slate); font-weight: 700; }
.path p { margin: 0; color: var(--muted); font-size: 16px; flex: 1; }
.path .hrs { font-weight: 700; font-size: 16px; }
.path.full { background: linear-gradient(160deg, #1d4275, var(--navy) 70%); color: #fff; border: 0; box-shadow: 0 14px 34px rgba(12, 35, 64, .3); }
.path.full .tag { color: var(--gold); }
.path.full p { color: var(--on-navy); }
.course { margin-top: 36px; }
.chead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 3px solid var(--navy); }
.chead .num { background: var(--navy); color: var(--gold); font: 700 16px/1 var(--heading); padding: 8px 14px; border-radius: 999px; }
.chead h3 { font-size: 28px; flex: 1; }
.chead .tot { color: var(--slate); font-weight: 700; }
.cblurb { color: var(--muted); margin: 14px 0 0; }
.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.mod, .rot { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 22px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mn { font-size: 14px; font-weight: 700; color: var(--slate); }
.mh { background: var(--tint); border-radius: 999px; padding: 3px 10px; font-size: 14px; font-weight: 700; }
.meta { color: var(--slate); font-size: 15px; margin: 0 0 10px; }
.chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 14px; color: var(--slate); }
.req { display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; font-size: 14px; color: var(--slate); }
.paceband { background: linear-gradient(120deg, var(--navy), #173a63); color: #fff; }
.pacegrid { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.pacegrid p { color: var(--on-navy); margin: 10px 0 0; }
.seal { width: 132px; height: 132px; }
.biblist { margin-top: 26px; display: grid; gap: 10px; }
.bib { border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.bib summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; list-style: none; }
.bib summary::-webkit-details-marker { display: none; }
.bib summary span { color: var(--slate); font-size: 15px; white-space: nowrap; }
.bib[open] summary { border-bottom: 1px solid var(--line); }
.bib ol { margin: 0; padding: 14px 18px 16px 42px; font-size: 15px; color: var(--muted); }
.bib li { margin: 6px 0; overflow-wrap: anywhere; }
.bib a { color: var(--navy); }

/* Fellowship */
.phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.phasecard { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--card); }
.phasecard.y1 { background: linear-gradient(160deg, #1d4275, var(--navy) 70%); color: #fff; border: 0; }
.phasecard .tag { font-weight: 700; font-size: 14px; color: var(--slate); }
.phasecard.y1 .tag { color: var(--gold); }
.phasecard h3 { font-size: 26px; margin: 8px 0 10px; }
.phasecard ul { padding-left: 20px; margin: 12px 0 18px; }
.phasecard li { margin: 6px 0; }
.phasecard.y1 p, .phasecard.y1 li { color: var(--on-navy); }
.arrowlink { font-weight: 700; color: var(--gold); text-decoration: none; }
.arrowlink.dark { color: var(--navy); }
.weeks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.wk { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 14px; color: var(--slate); }
.wk b { display: block; color: var(--navy); margin-bottom: 8px; }
.days { display: flex; gap: 4px; margin-bottom: 6px; }
.days i { flex: 1; height: 6px; border-radius: 3px; background: #d6dce6; }
.days i.on { background: var(--gold); }
.rotlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.rot { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
.rot.cap { border-left-color: var(--gold); }
.ic { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(180deg, #1d4275, var(--navy)); display: grid; place-items: center; }
.quote { background: linear-gradient(120deg, var(--navy), #173a63); color: #fff; text-align: center; }
.quote blockquote { font: 400 clamp(22px, 2.6vw, 32px)/1.3 var(--heading); margin: 0 auto 18px; max-width: 28em; color: #fff; }
.quote cite { font-style: normal; color: var(--gold); }
.sites { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.site { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; padding: 20px 18px; }
.site b { display: block; font: 700 19px/1.2 var(--heading); }
.site span { color: var(--muted); font-size: 15px; }
.agree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.agree > div { background: var(--tint); border-radius: 12px; padding: 18px; font-size: 16px; }
.agree h3 { font-size: 19px; margin-bottom: 6px; }
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.aud > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.aud b { font: 700 28px/1 var(--heading); color: var(--gold); }
.aud h3 { margin: 10px 0 6px; }
.aud p { color: var(--muted); margin: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 20px; }
.two .obj { columns: 1; margin-top: 12px; }

/* Home */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.pillars > div { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; padding: 22px; }
.pillars .tag { color: var(--gold-text); font: 700 13px/1 var(--heading); letter-spacing: .14em; text-transform: uppercase; }
.pillars h3 { margin: 10px 0 8px; }
.pillars p { color: var(--muted); margin: 0; }
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.cert { background: linear-gradient(160deg, #1d4275, var(--navy) 70%); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 14px 34px rgba(12, 35, 64, .25); }
.cert .pace { align-self: flex-start; font-size: 14px; }
.cert h3 { font-size: 28px; }
.cert h3 a { text-decoration: none; }
.cert h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.cert p { color: var(--on-navy); margin: 0; }
.facts { list-style: none; padding: 0; margin: 4px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; color: var(--on-navy); font-size: 15px; }
.facts b { color: var(--gold); font: 700 24px/1 var(--heading); margin-right: 4px; }
.cert .btn { align-self: flex-start; background: linear-gradient(180deg, var(--gold2), var(--gold) 60%, #b98a10); color: var(--navy); box-shadow: 0 2px 0 #8d6a0c; }

/* FAQ */
.faq { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qa { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 22px; }
.qa h3 { font-size: 21px; margin-bottom: 8px; }
.qa p { color: var(--muted); margin: 0; }

/* Closing CTA */
.cta { text-align: center; }
.cta p { color: var(--muted); max-width: 40em; margin: 12px auto 0; }
.cta .contact { margin-top: 20px; }
.cta .contact a { color: var(--navy); font-weight: 700; }

/* Footer */
footer.site-footer { background: #081a31; color: var(--on-navy); border-top: 3px solid var(--gold); padding: 40px 0 20px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 28px; }
.fname { font: 700 20px/1.2 var(--heading); color: #fff; margin: 0 0 4px; }
.ftag { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
footer.site-footer address { font-style: normal; line-height: 1.7; }
footer.site-footer a { color: #fff; }
footer.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.copy { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

/* Responsive */
@media (max-width: 1100px) {
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .herotext, .herohome, .phases, .rotlist, .mods, .certs, .two, .faq, .aud, .agree, .foot { grid-template-columns: minmax(0, 1fr); }
  .stats { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .obj { columns: 1; }
  .pacegrid { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row em { grid-column: 1 / -1; }
  .yr { grid-template-columns: minmax(0, 1fr); }
  .weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logocard { max-width: 360px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  html:not(.js) .bar { justify-content: center; }
  html:not(.js) header.site-header nav, html:not(.js) .nav-links { justify-content: center; gap: 4px 18px; }
  html:not(.js) .menu-list { left: 50%; transform: translateX(-50%); min-width: 270px; }
  .paths, .pillars, .sites { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btns .btn { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .vbar { flex-direction: column; gap: 2px; }
}
