/* Gallipoli Uncovered: the free schools section. Shares site.css and subnav.css; this file only adds what the section needs. */
body.gu { background: #131311; color: var(--parchment); }
.gu main { position: relative; z-index: 5; }
.gu .wrap { max-width: 1040px; }
.gu-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--brass); text-decoration: none; margin-top: 18px; }
.gu-back:hover { color: #f0d488; }
.gu-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 14px auto 0; padding: 10px 0; border-bottom: 1px solid #3a352b; font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.gu-sub a { color: var(--brass); text-decoration: none; padding: 6px 2px; }
.gu-sub a:hover, .gu-sub a[aria-current] { color: #f0d488; }
.gu-sub a[aria-current] { border-bottom: 2px solid var(--poppy); }
.gu-hero { padding: clamp(30px, 5vw, 64px) 0 8px; text-align: center; }
.gu-hero .poppy { width: 52px; height: 52px; margin-bottom: 14px; }
.gu-kick { font-family: var(--display); letter-spacing: .22em; text-transform: uppercase; font-size: clamp(12px, 1.3vw, 15px); color: #d9b45a; margin: 0 0 12px; }
.gu-hero h1 { margin: 0 0 14px; font-family: 'IM Fell English', 'EB Garamond', serif !important; font-weight: 400 !important; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.04; }
.gu-lede { text-wrap: balance; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.6; color: #e6dcc0; max-width: 36em; margin: 0 auto; }
.gu h2 { font-family: var(--display); font-weight: 600; letter-spacing: .04em; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 14px; color: var(--parchment); }
.gu h3 { font-family: var(--display); font-weight: 600; letter-spacing: .03em; font-size: clamp(19px, 2vw, 23px); margin: 22px 0 8px; color: #f0d488; }
.gu p, .gu li { font-size: 18.5px; line-height: 1.6; color: #e0d6bb; }
.gu a { color: #f0d488; }
.gu-sec { margin: 34px auto; max-width: 900px; }
.gu-card { background: #1b1912; border: 1px solid #3a352b; border-radius: 12px; padding: clamp(18px, 3vw, 30px); margin: 18px 0; }
.gu-card > :first-child { margin-top: 0; }
.gu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.gu-tile { display: block; background: #1b1912; border: 1px solid #3a352b; border-radius: 12px; padding: 18px 18px 16px; text-decoration: none; }
.gu-tile:hover { border-color: #b08d3c; }
.gu-tile b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: .06em; color: #f0d488; margin-bottom: 6px; }
.gu-tile span { display: block; font-size: 16.5px; line-height: 1.5; color: #cdc2a0; }
.gu-table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 16.5px; }
.gu-table th, .gu-table td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid #3a352b; line-height: 1.45; color: #e0d6bb; }
.gu-table th { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #d9b45a; }
.gu-tag { display: inline-block; padding: 1px 8px; border: 1px solid #b08d3c; border-radius: 3px; font-family: var(--display); font-size: 11.5px; letter-spacing: .1em; color: #d9b45a; vertical-align: middle; white-space: nowrap; }
.gu-tag.heavy { border-color: #c9452f; color: #f0a08e; }
.gu-note { border-left: 4px solid var(--poppy); padding: 4px 0 4px 16px; margin: 14px 0; }
.gu-fine { font-size: 15px !important; color: #8f8568 !important; }
.gu-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.gu-foot-free { text-align: center; font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--brass); margin: 36px 0 0; padding: 0 0 70px; }
/* the 48px poppy on a hairline, same as the home page divider */
.gu .divider { display: flex; align-items: center; justify-content: center; gap: 18px; padding: clamp(22px, 3vw, 36px) clamp(28px, 10vw, 120px); background: transparent; }
.gu .divider-line { flex: 1 1 auto; max-width: 270px; min-width: 0; height: 6px; box-sizing: content-box; border-top: 3px solid var(--bronze-3); background: var(--poppy-d); }
.gu .divider-poppy { width: 48px; height: 48px; flex: none; opacity: .9; }
@media (max-width: 720px) { .gu .divider { gap: 14px; padding: 18px 28px; } .gu .divider-line { max-width: 165px; } .gu .divider-poppy { width: 42px; height: 42px; } }


/* ---------- roll builder ---------- */
.rb-rows { display: grid; gap: 10px; }
.rb-row { display: grid; grid-template-columns: 1.1fr 1.6fr .8fr 1.1fr 1.2fr auto; gap: 8px; align-items: end; }
.rb-row label { display: block; font-family: var(--display); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.rb-row input, .rb-paste { width: 100%; min-height: 44px; padding: 8px 10px; font: inherit; font-size: 17px; color: var(--parchment); background: #131210; border: 1px solid #5a5040; border-radius: 8px; }
.rb-paste { min-height: 120px; font-family: var(--serif); }
.rb-row input:focus, .rb-paste:focus { outline: 2px solid #d9b45a; outline-offset: 1px; }
.rb-x { min-height: 44px; min-width: 44px; background: transparent; border: 1px solid #5a5040; border-radius: 8px; color: var(--brass); cursor: pointer; font-size: 18px; }
.rb-match { margin: 14px 0; padding: 14px 16px; background: #15140f; border: 1px solid #3a352b; border-radius: 10px; }
.rb-match h4 { margin: 0 0 8px; font-family: var(--display); font-size: 16px; letter-spacing: .06em; color: #f0d488; }
.rb-cands { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rb-cands label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 8px 10px; border: 1px solid #2f2a20; border-radius: 8px; cursor: pointer; font-size: 16.5px; line-height: 1.4; color: #e0d6bb; }
.rb-cands label:hover { border-color: #6b573a; }
.rb-cands input { margin-top: 4px; width: 20px; height: 20px; }
.rb-cands .why { display: block; font-size: 14.5px; color: #a99d7c; }
.rb-cands .good { color: #9fd18b; }
.rb-cands .warn { color: #f0a08e; }
.rb-status { font-size: 16px !important; color: #cdc2a0 !important; }
.rb-share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rb-share input { flex: 1 1 320px; min-height: 44px; padding: 8px 10px; font: 15px ui-monospace, monospace; color: var(--parchment); background: #131210; border: 1px solid #5a5040; border-radius: 8px; }
@media (max-width: 820px) { .rb-row { grid-template-columns: 1fr 1fr; } .rb-row .rb-x { justify-self: start; } }

/* the printable roll of honour */
.roll-sheet { background: #f4eedf; color: #1c1409; border-radius: 6px; padding: 28px 30px; margin: 18px 0; }
.roll-sheet h2 { color: #1c1409 !important; text-align: center; font-family: 'Lato', var(--display) !important; font-weight: 900; letter-spacing: .02em; margin: 0 0 4px; }
.roll-sheet .roll-sub { text-align: center; margin: 0 0 14px; color: #4a3b22 !important; font-size: 16px; }
.roll-table { width: 100%; border-collapse: collapse; font-family: Calibri, Carlito, 'Lato', sans-serif; font-size: 13.5px; }
.roll-table th { text-align: left; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid #1c1409; padding: 6px 6px; color: #1c1409; }
.roll-table td { vertical-align: top; border-bottom: 1px solid #c9bea0; padding: 7px 6px; line-height: 1.35; color: #1c1409; }
.roll-table td a { color: #7e1f12; }
.roll-table .sn { font-weight: 700; text-transform: uppercase; }
.roll-foot { text-align: center; font-family: 'Lato', sans-serif; font-size: 12px; color: #4a3b22; margin: 14px 0 0; }

/* ---------- facts ---------- */
.facts { counter-reset: f; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { counter-increment: f; position: relative; padding: 14px 16px 14px 62px; background: #1b1912; border: 1px solid #3a352b; border-radius: 10px; }
.facts li::before { content: counter(f); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--poppy); color: #fff; font: 700 16px/34px 'Lato', sans-serif; text-align: center; }
.facts b { color: #f4eedf; }
.facts .src { display: block; margin-top: 4px; font-size: 14.5px; color: #a99d7c; }
.facts .src a { color: #d9b45a; }
.working { font-size: 16.5px; }

/* ---------- quiz ---------- */
.quiz ol { padding-left: 1.4em; }
.quiz li { margin-bottom: 14px; }
.quiz .opts { list-style: upper-alpha; padding-left: 1.4em; margin: 4px 0 0; }
.quiz .opts li { margin: 2px 0; }
.quiz .ans { display: none; color: #9fd18b; font-size: 16.5px; }
.quiz.show .ans { display: block; }

@media print {
  @page { size: A4; margin: 14mm 12mm 16mm; }
  body.gu { background: #fff !important; color: #000 !important; }
  .rail, .sub-nav, .gu-sub, .gu-back, .gu-btns, .no-print, footer.granite, .divider { display: none !important; }
  .gu p, .gu li, .gu td, .gu th { color: #000 !important; }
  .gu h1, .gu h2, .gu h3 { color: #000 !important; font-family: 'Lato', sans-serif !important; }
  .gu-card, .gu-tile, .facts li { background: #fff !important; border-color: #999 !important; break-inside: avoid; }
  .gu a { color: #000 !important; }
  .roll-sheet { padding: 0; margin: 0; background: #fff; }
  .roll-table tr { break-inside: avoid; }
  .print-foot { display: block !important; }
  .quiz .ans { color: #000 !important; }
}
.print-foot { display: none; text-align: center; font: 11px 'Lato', sans-serif; color: #333; margin-top: 18px; }

.gu-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gu .roll-sheet p, .gu .roll-sheet li { color: #1c1409; }
.gu .roll-sheet .roll-foot { color: #4a3b22; font-size: 12px; line-height: 1.45; }
.gu .roll-sheet .roll-sub { color: #4a3b22; }
.gu .letter p { font-size: 16px; color: #1c1409; }
@media print {
  .gu-foot-free, .gu-hero .poppy, .gu-hero .gu-lede { display: none !important; }
  .gu-hero { padding: 0 0 6px !important; }
  .gu-hero h1 { font-size: 26pt !important; margin: 0 !important; }
  .gu-hero .gu-kick { color: #7e1f12 !important; margin: 0 0 2px !important; }
  .gu p, .gu li { font-size: 11.5pt !important; line-height: 1.4 !important; }
  .gu-sec { margin: 10px 0 !important; max-width: none !important; }
  .quiz { padding: 0 !important; border: 0 !important; }
  .quiz > ol > li { margin-bottom: 8px !important; break-inside: avoid; }
  .quiz .opts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .quiz .opts li { margin: 0 !important; }
  .letter { margin: 0 auto !important; padding: 0 !important; }
  .letter p { font-size: 11.5pt !important; margin: 0 0 7px !important; }
  .letter h2 { font-size: 20pt !important; }
  .gu main .wrap { padding: 0 !important; }
}
@media print { .gu-card.quiz { break-inside: auto !important; } }

/* downloads: one list, top to bottom */
.gu-dl-list { list-style: none; counter-reset: dl; margin: 14px 0 0; padding: 0; border-top: 1px solid #5a5040; }
.gu-dl-item { counter-increment: dl; display: grid; grid-template-columns: 40px 1fr auto; gap: 6px 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid #3d362b; }
.gu-dl-item::before { content: counter(dl); width: 32px; height: 32px; border-radius: 50%; border: 1px solid #6b573a; color: #d9b45a; font: 700 15px/30px 'Lato', sans-serif; text-align: center; }
.gu-dl-text h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.25; color: #f4eedf; }
.gu-dl-text p { margin: 0; font-size: 16.5px; line-height: 1.5; color: #cdc2a0; max-width: 46em; }
.gu a.gu-dl-link { display: inline-block; white-space: nowrap; padding: 11px 16px; background: var(--poppy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--poppy); }
.gu a.gu-dl-link:hover { background: var(--poppy-d); border-color: var(--poppy-d); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .gu-dl-item { grid-template-columns: 34px 1fr; align-items: start; }
  .gu-dl-item::before { grid-row: span 2; }
  .gu-dl-link { grid-column: 2; justify-self: start; }
}
.gu a.btn-poppy { color: #fff; }
.gu a.btn-ghost { color: var(--parchment); }
.gu [id] { scroll-margin-top: 120px; }

/* Bigger reading text across Gallipoli Uncovered (screen only; print and the PDFs are unchanged) */
@media screen {
  .gu p, .gu li, .gu dd, .gu-table, .gu-table td, .working, .quiz .ans, .gu-dl-text p, .gu-tile span, .rb-cands label { font-size: 19px; line-height: 1.6; }
  .gu-lede { font-size: clamp(20px, 2.2vw, 24px); }
  .gu-dl-text h3 { font-size: 22px; }
  .gu-tile b, .rb-match h4 { font-size: 18px; }
  .gu-table th, .gu-tag, .rb-row label, .gu-foot-free, .gu-sub, .gu-kick { font-size: 15px; }
  .gu a.gu-dl-link, .gu-back { font-size: 15px; }
  .facts .src, .rb-cands .why, .gu-fine, .rb-status { font-size: 16px !important; line-height: 1.5; }
  .rb-row input, .rb-paste { font-size: 18px; }
  .gu .letter p { font-size: 18.5px; line-height: 1.6; }
  .roll-sheet .roll-sub { font-size: 17px; }
  .roll-table { font-size: 16px; }
  .roll-table th { font-size: 15px; }
  .roll-foot, .gu .roll-sheet .roll-foot { font-size: 15px; }
  .gu-table { display: block; overflow-x: auto; }
}
@media screen and (max-width: 720px) {
  .gu p, .gu li, .gu dd, .gu-table, .gu-table td, .working, .quiz .ans, .gu-dl-text p, .gu-tile span, .rb-cands label, .gu .letter p { font-size: 17.5px; }
}
@media screen and (max-width: 720px) { .roll-table { display: block; overflow-x: auto; } }

/* Downloads list: Preview + Download */
.gu-dl-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gu-dl-text h3 a { color: inherit; text-decoration: underline; text-decoration-color: #6b573a; text-underline-offset: 3px; }
.gu-dl-text h3 a:hover { color: #d9b45a; }
.gu a.gu-dl-prev { display: inline-block; white-space: nowrap; padding: 11px 16px; color: #f4eedf; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 2px solid #8a7248; }
.gu a.gu-dl-prev:hover { border-color: #d9b45a; color: #d9b45a; }
@media (max-width: 640px) { .gu-dl-acts { grid-column: 2; } }

/* Preview pages */
.gu-prev { max-width: 900px; margin: 0 auto; }
.gu-kicker { font-family: var(--display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #d9b45a; margin: 0 0 8px; }
.gu-prev h1 { font-family: var(--display); color: #f4eedf; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 0 0 14px; overflow-wrap: anywhere; }
.gu .gu-prev-intro { font-size: 19px; line-height: 1.6; color: #e2d8bd; margin: 0 0 24px; }
.gu-car { position: relative; overflow: hidden; outline: none; background: #1c1a16; border: 1px solid #3d362b; max-width: 100%; }
.gu-car:focus-visible { outline: 2px solid #d9b45a; outline-offset: 3px; }
.gu-car-track { display: flex; transition: transform .35s ease; touch-action: pan-y; }
.gu-car-slide { flex: 0 0 100%; min-width: 0; margin: 0; padding: 16px; box-sizing: border-box; display: flex; justify-content: center; }
.gu-car-slide img { display: block; max-width: 100%; max-height: 78vh; height: auto; box-shadow: 0 4px 18px rgba(0,0,0,.5); background: #fff; }
.gu-car-bar { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 10px 0 14px; }
.gu-car-count { font-family: 'Lato', sans-serif; font-size: 17px; color: #f4eedf; min-width: 9em; text-align: center; }
.gu-car-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--poppy); background: var(--poppy); color: #fff; font-size: 22px; cursor: pointer; }
.gu-car-btn:disabled { opacity: .35; cursor: default; }
.gu-prev .gu-btns { margin-top: 26px; }
.gu a.gu-prev-back { color: #d9b45a; font-size: 17px; }

/* Hero lede: larger and easier to read */
@media screen { .gu .gu-hero .gu-lede { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.45; max-width: 34em; color: #f1e9d2; } }
