/* Healthy Strings – PUBLIC pages (project, protocol, kickoff).
   Font: Libre Baskerville (SIL OFL), self-hosted as WOFF2 in assets/fonts/.
   Colours: taken from the ÖGfMM Instagram posts (cream, sand, burgundy, brick, gold). */

@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/libre-baskerville-var.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("fonts/libre-baskerville-italic-var.woff2") format("woff2"); }

:root {
  --cream: #fbe7cc;        /* post background */
  --paper: #fdf3e6;        /* page background, slightly lighter */
  --card: #fffaf3;
  --sand: #ddbfa2;
  --line: #e9cfb0;
  --tan: #b68d75;
  --burgundy: #751715;     /* headlines */
  --brick: #90382b;        /* links, accents */
  --brown: #40201b;        /* body text */
  --gold: #d2a16d;
  --radius: 12px;
  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--brown); font-family: var(--serif); font-size: 15.5px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--burgundy); }

/* Header (same layout on all pages, burgundy on cream here) */
.banner { background: var(--cream); border-bottom: 1px solid var(--sand); }
.banner-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding: 12px 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--burgundy); }
.brand:hover { color: var(--burgundy); }
.violins { display: inline-flex; gap: 2px; }
.violins svg { width: 28px; height: 28px; }
.violins .vbridge { fill: var(--cream); }
.brand-name { font-size: 29px; line-height: 1.1; font-weight: 700; letter-spacing: -.005em; }
.brand-sep { width: 1px; height: 26px; background: var(--tan); }
.brand-sub { font-size: 15px; font-style: italic; color: #7d4a3c; }

.topnav { background: var(--burgundy); }
.topnav ul { list-style: none; margin: 0 auto; padding: 0 12px; display: flex; flex-wrap: wrap; max-width: 1080px; }
.topnav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; color: var(--cream); text-decoration: none; font-size: 14px; font-weight: 700; }
.topnav a:hover { background: #5e1110; color: #fff; }
.topnav a[aria-current="page"] { background: #5e1110; color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
.topnav svg { width: 12px; height: 12px; opacity: .85; }

main.wrap { padding-top: 24px; padding-bottom: 48px; display: block; }
h1, h2, h3 { color: var(--burgundy); line-height: 1.25; font-weight: 700; }
h1 { font-size: 31px; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: 22px; margin: 38px 0 10px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
.lead { font-size: 17px; line-height: 1.6; max-width: 64ch; }
.kicker { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brick); font-weight: 700; }
.small { font-size: 14px; color: #6e4a3f; }

.badge { display: inline-block; margin: 0 0 16px; padding: 3px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: #6e4a3f; }
.badge.draft { background: #fff1d6; border-color: var(--gold); color: #6b4310; }
.notice { background: var(--card); border-left: 5px solid var(--brick); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }

.button { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--burgundy); color: var(--cream); text-decoration: none; font-weight: 700; font-size: 15px; margin: 4px 8px 4px 0; }
.button:hover { background: var(--brick); color: #fff; }
.button.ghost { background: transparent; color: var(--burgundy); border: 2px solid var(--burgundy); padding: 9px 18px; }
.button.ghost:hover { background: var(--burgundy); color: var(--cream); }

/* Home: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; margin: 4px 0 18px; }
.hero h1 { font-size: 38px; }
.hero-media { position: relative; padding: 0 0 70px 40px; }
.hero-media .hm-main { border-radius: 16px; box-shadow: 0 12px 30px rgba(64, 32, 27, .18); }
.hero-media .hm-a, .hero-media .hm-b { position: absolute; width: 38%; border-radius: 12px; border: 5px solid var(--paper); box-shadow: 0 10px 24px rgba(64, 32, 27, .2); }
.hero-media .hm-a { left: 0; bottom: 0; transform: rotate(-4deg); }
.hero-media .hm-b { right: -10px; bottom: 10px; transform: rotate(3deg); }

/* Home: big numbers, in the style of the Instagram posts */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 30px 0; padding: 26px 22px; background: var(--cream); border-radius: 16px; border: 1px solid var(--line); }
.numbers div { text-align: left; }
.numbers strong { display: block; font-size: 44px; line-height: 1; color: var(--burgundy); font-weight: 700; letter-spacing: -.02em; }
.numbers span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 18px 0 8px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.pillar h3 { margin: 0 0 6px; font-size: 16.5px; }
.pillar p { margin: 0; font-size: 14px; line-height: 1.55; }
.pillar .step { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 4px; }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; }
.strip a { scroll-snap-align: start; }
.strip img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 4 / 5; object-fit: cover; transition: transform .15s; }
.strip a:hover img { transform: translateY(-3px); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 22px 0; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--brown); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--brick); transform: translateY(-2px); color: var(--brown); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; flex: 1; }
.card .go { font-weight: 700; color: var(--brick); font-size: 14px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 30px 0; }
.split img { border-radius: 8px; }
.split h2 { margin-top: 0; }

ul.plain { padding-left: 22px; }
ul.plain li { margin: 6px 0; }
ol.steps { padding-left: 26px; }
ol.steps li { margin: 6px 0; }
ol.steps li::marker { color: var(--brick); font-weight: 700; }

table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; margin: 12px 0; }
th, td { text-align: left; padding: 8px 11px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
th { background: var(--burgundy); color: var(--cream); font-weight: 700; }

figure { margin: 22px 0; }
figure img { border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
figcaption { font-size: 14px; color: #6e4a3f; margin-top: 8px; font-style: italic; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 22px 0; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery figure img { border: 0; border-radius: 0; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption { padding: 10px 12px 12px; margin: 0; font-style: normal; }
.gallery figcaption strong { display: block; color: var(--burgundy); font-size: 15px; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0; }
.download { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--brown); font-size: 15px; }
.download:hover { border-color: var(--brick); color: var(--brown); }
.download .ext { flex: none; width: 46px; height: 54px; border-radius: 6px; background: var(--burgundy); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.download strong { display: block; color: var(--burgundy); }

footer { background: var(--burgundy); color: var(--cream); padding: 26px 0; font-size: 14px; }
footer a { color: #fff; }
footer p { margin: 4px 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { padding: 0 0 60px 30px; max-width: 520px; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .brand-name { font-size: 25px; }
  .brand-sep { display: none; }
  .brand-sub { font-size: 14px; width: 100%; }
  .violins svg { width: 25px; height: 25px; }
  h1, .hero h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .lead { font-size: 16px; }
  .numbers strong { font-size: 36px; }
  .topnav a { padding: 9px 9px; font-size: 14px; }
  th, td { font-size: 14px; padding: 7px 8px; }
}

/* tl;dr – short page summary in the header (hover, keyboard focus or tap) */
.tldr { position: relative; margin-left: auto; }
.tldr-tag { font: 700 13px/1 var(--serif); letter-spacing: .02em; color: var(--burgundy); background: var(--card); border: 1px solid var(--sand); border-radius: 999px; padding: 7px 12px; cursor: help; }
.tldr-tag:hover, .tldr.open .tldr-tag, .tldr-tag:focus-visible { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.tldr-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, 86vw); background: #fff; color: var(--brown); border: 1px solid var(--sand); border-radius: 10px; box-shadow: 0 12px 28px rgba(64, 32, 27, .18); padding: 12px 15px; font-size: 15px; line-height: 1.55; z-index: 40; display: none; }
.tldr-pop strong { color: var(--burgundy); }
.tldr:hover .tldr-pop, .tldr:focus-within .tldr-pop, .tldr.open .tldr-pop { display: block; }

/* featured partner tools and research */
.feature { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--burgundy); border-radius: var(--radius); padding: 18px 24px 8px; margin: 26px 0; }
.feature h2 { margin-top: 4px; }
.feature .meta { font-size: 14px; color: #6e4a3f; margin-top: -4px; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 14px; margin: 16px 0 20px; }
.tool { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 14px; text-decoration: none; color: var(--brown); transition: transform .15s; }
.tool:hover { border-color: var(--brick); transform: translateY(-2px); color: var(--brown); }
.tool img { height: 96px; width: 100%; object-fit: contain; margin: 0 0 10px; border: 0; }
.tool strong { color: var(--burgundy); font-size: 15px; line-height: 1.3; }
.tool span { font-size: 13px; line-height: 1.45; margin-top: 4px; }
ul.refs { padding-left: 20px; font-size: 14px; line-height: 1.6; }
ul.refs li { margin: 7px 0; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 32px; }
@media (max-width: 600px) { .tldr-tag { padding: 6px 10px; } .feature { padding: 14px 16px 4px; } }
ul.refs a, .feature .meta a, .small a { overflow-wrap: anywhere; }
@media (max-width: 600px) { table { display: block; overflow-x: auto; } }

/* Update 5 – home sections, team, health page */
.numbers strong sup { font-size: .45em; vertical-align: super; letter-spacing: 0; }
.pillars.five { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 14px 0; }
.site { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 14px 16px; }
.site .kicker { font-size: 11.5px; margin-bottom: 4px; }
.site h3 { margin: 0 0 4px; font-size: 15.5px; }
.site p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.teamlist { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 22px; }
.teamlist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
img.flag { width: 21px; height: 14px; border: 1px solid #d9c6b2; border-radius: 2px; display: inline-block; vertical-align: -1px; margin-top: 3px; flex: none; }
.timeline { list-style: none; padding: 0; margin: 10px 0; border-left: 3px solid var(--gold); }
.timeline li { position: relative; padding: 0 0 12px 16px; font-size: 14.5px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--burgundy); border: 2px solid var(--paper); }
.timeline strong { display: block; color: var(--burgundy); }
.cards.slim .card { padding: 14px 16px; }
.cards.slim .card p { margin-bottom: 0; }
.support { background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius); padding: 6px 22px 12px; margin: 30px 0; }
.support h2 { margin-top: 16px; }
.photos figure { margin: 0; }
figure.wide { margin: 8px 0 20px; }
table.team td:first-child { white-space: nowrap; }
table.team tr.grp th { background: var(--cream); color: var(--burgundy); font-size: 14px; }
table.team tr.grp th img.flag { margin-right: 6px; }
.pagenav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.pagenav a { font-size: 13.5px; padding: 5px 12px; border: 1px solid var(--sand); border-radius: 999px; background: var(--card); text-decoration: none; }
.pagenav a:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.key { font-size: 18px; font-weight: 700; color: var(--burgundy); margin: 8px 0; }
ul.refs.annotated li { margin: 12px 0; }
.refs .type { display: inline-block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); border: 1px solid var(--sand); color: var(--brick); border-radius: 4px; padding: 0 6px; margin-right: 6px; }
.refs .note { color: #6e4a3f; font-style: italic; }
@media (max-width: 600px) { .teamlist { grid-template-columns: 1fr; } table.team td:first-child { white-space: normal; } }
.cards.five { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== Update 6 – responsive layout =====================================================
   Wide screens: content up to 1400 px; grids fill the width, running text keeps ~80 characters.
   Phones: three font sizes, tighter spacing, card rows to swipe, sections fold below their
   first block ("Show more"), menu in one swipeable line, back-to-top button. */
.wrap, .topnav ul { max-width: 1400px; }
.wrap { padding: 0 28px; }
.banner-inner { padding: 12px 28px; }
h1 { font-size: 30px; }
.hero h1 { font-size: 34px; }
h2 { font-size: 21px; margin: 32px 0 10px; }
h3 { font-size: 16px; }
.lead { font-size: 16.5px; }
main.wrap > p, main.wrap > ul.plain, main.wrap > ol, .sec > p, .sec > ul.plain, .sec > ol, .sec-more > p, .sec-more > ul.plain, .sec-more > ol, .feature > p { max-width: 82ch; }
.sec-more > *:first-child { margin-top: 0; }
.more { display: none; }
.totop { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--burgundy); color: var(--cream); display: grid; place-items: center; text-decoration: none; font-size: 20px; box-shadow: 0 6px 16px rgba(64, 32, 27, .25); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.totop.show { opacity: .92; pointer-events: auto; }
.totop:hover { color: #fff; background: var(--brick); }

/* tools: smaller tiles, more per row on wide screens */
.tools { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
.tool { padding: 10px 10px 12px; }
.tool img { height: 70px; margin-bottom: 8px; }
.tool strong { font-size: 14px; }
.tool span { font-size: 12.5px; }

/* home: partner sites as a compact list (like the team list) */
.sitelist { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px 26px; }
.sitelist li { border-left: 3px solid var(--gold); padding: 1px 0 1px 12px; font-size: 14px; line-height: 1.5; }
.sitelist .place { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); font-weight: 700; margin-right: 6px; }
.sitelist strong { color: var(--burgundy); }
.photos { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.photos figcaption { font-style: normal; font-size: 13.5px; line-height: 1.5; }
.photos figcaption strong { display: block; color: var(--burgundy); font-size: 14px; }
.photos figcaption .names { color: #6e4a3f; font-size: 12.5px; }

/* instruction video card */
.videocard { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--burgundy); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; text-decoration: none; color: var(--brown); }
.videocard:hover { border-color: var(--brick); color: var(--brown); }
.videocard .play { flex: none; width: 74px; height: 52px; border-radius: 12px; background: var(--burgundy); display: grid; place-items: center; }
.videocard .play svg { width: 26px; height: 26px; fill: var(--cream); }
.videocard strong { display: block; color: var(--burgundy); font-size: 16px; }
.videocard span { display: block; font-size: 14px; line-height: 1.5; }
.videocard .go { color: var(--brick); font-weight: 700; margin-top: 4px; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .banner-inner { padding: 8px 16px; gap: 2px 12px; }
  .brand-name { font-size: 23px; }
  .violins svg { width: 22px; height: 22px; }
  .brand-sub { font-size: 13px; width: 100%; }
  .topnav ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 6px; }
  .topnav ul::-webkit-scrollbar { display: none; }
  .topnav li { flex: none; }
  .topnav a { padding: 9px 9px; font-size: 13.5px; }
  main.wrap { padding-top: 14px; padding-bottom: 32px; }
  body { font-size: 15px; line-height: 1.6; }
  h1, .hero h1 { font-size: 23px; margin-bottom: 8px; }
  h2 { font-size: 18.5px; margin: 24px 0 8px; }
  h3 { font-size: 15.5px; margin: 16px 0 4px; }
  .lead { font-size: 15.5px; }
  .kicker { font-size: 11.5px; margin-bottom: 4px; }
  .hero { gap: 16px; margin-bottom: 8px; }
  .hero-media { padding: 0 0 36px 0; max-width: 420px; }
  .hero-media .hm-b { width: 32%; right: 0; }
  .button { padding: 9px 16px; font-size: 14px; }
  .button.ghost { padding: 7px 14px; }
  .numbers { gap: 12px; padding: 14px; margin: 18px 0; }
  .numbers strong { font-size: 30px; }
  .numbers span { font-size: 13px; }
  /* card rows: swipe sideways instead of stacking */
  .cards, .cards.five, .cards.slim, .pillars, .pillars.five, .photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 12px -16px; padding: 2px 16px 10px; scrollbar-width: thin; }
  .cards > *, .pillars > *, .photos > * { flex: 0 0 78%; scroll-snap-align: start; }
  .card, .pillar { padding: 14px 16px; }
  .card p, .pillar p { font-size: 13.5px; }
  .tools { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 8px; }
  .tool { scroll-snap-align: start; }
  .tool img { height: 56px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 12px -16px; padding: 2px 16px 10px; }
  .gallery > * { flex: 0 0 66%; scroll-snap-align: start; }
  .feature { padding: 12px 14px 4px; margin: 18px 0; }
  .sitelist, .teamlist { grid-template-columns: 1fr; gap: 8px; }
  .downloads { grid-template-columns: 1fr; gap: 10px; }
  .videocard { padding: 12px 14px; gap: 12px; }
  .videocard .play { width: 56px; height: 42px; }
  /* sections fold below their first block */
  .js .sec.fold:not(.open) .sec-more { display: none; }
  .js .sec.fold .more { display: inline-block; margin: 2px 0 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--sand); background: var(--card); color: var(--burgundy); font: 700 13.5px var(--serif); cursor: pointer; }
  footer { padding: 18px 0; font-size: 13px; }
}
.photos { margin-bottom: 18px; }
.support { padding: 12px 22px; margin: 10px 0 24px; }
.two-col > section > h3:first-child { margin-top: 4px; }

/* ===== Update 7 – data-analysis section: side navigation, tool cards ===================== */
.tl-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.sidenav { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 12px; font-size: 14px; }
.sidenav summary { display: none; }
.sidenav .sn-group { margin: 10px 0 4px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); font-weight: 700; }
.sidenav .sn-group:first-of-type { margin-top: 2px; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav li a { display: block; padding: 4px 8px; border-radius: 6px; text-decoration: none; color: var(--brown); line-height: 1.35; }
.sidenav li a:hover { background: var(--cream); color: var(--burgundy); }
.sidenav li a[aria-current="page"] { background: var(--burgundy); color: var(--cream); }
.crumbs { font-size: 13px; color: #6e4a3f; margin: 0 0 8px; }
.crumbs a { color: #6e4a3f; }
.pn { display: flex; justify-content: space-between; gap: 14px; margin: 34px 0 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.pn a { text-decoration: none; max-width: 48%; font-size: 14px; line-height: 1.35; color: var(--burgundy); font-weight: 700; }
.pn a span { display: block; font-size: 12px; font-weight: 400; color: #6e4a3f; }
.pn .pn-next { text-align: right; margin-left: auto; }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin: 12px 0 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 10px; font-size: 13.5px; line-height: 1.5; }
.tcard .tc-head { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 6px; }
.tcard .tc-head img { width: 72px; height: 44px; object-fit: contain; border: 0; border-radius: 4px; flex: none; }
.tcard .tc-head strong { color: var(--burgundy); font-size: 15px; line-height: 1.3; }
.tcard .tc-head:hover strong { color: var(--brick); text-decoration: underline; }
.tcard p { margin: 0 0 6px; }
.tcard dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; }
.tcard dt { font-weight: 700; color: #6e4a3f; font-size: 12.5px; }
.tcard dd { margin: 0; }
table.decide td:first-child { white-space: nowrap; }
@media (max-width: 900px) {
  .tl-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sidenav { position: static; max-height: none; padding: 0; }
  .sidenav summary { display: block; cursor: pointer; padding: 9px 14px; font-weight: 700; color: var(--burgundy); }
  .sidenav[open] { padding-bottom: 10px; }
  .sidenav[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .sidenav .sn-group, .sidenav ul { margin-left: 14px; margin-right: 14px; }
  .tcards { grid-template-columns: 1fr; }
  table.decide td:first-child { white-space: normal; }
}
.tl-main { min-width: 0; }
