/* The Telltale: the website and the editors' studio (the printed pages use print.css) */
:root {
  --navy: #123a5e; --navy-2: #0b2740; --red: #c8102e; --green: #1b7f3b; --ink: #1b2733; --muted: #56636e; --line: #d9e1e8; --bg: #f3f6f9; --paper: #fff;
  --field: #75848e; --focus: #b35c00; --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.nav a, .btn, .brand, .card-link, .sub-name { text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } .site-header :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 50; font-weight: 700; } .skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
img { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--navy-2); color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; flex-wrap: wrap; }
.brand { color: #fff; display: flex; align-items: center; gap: 8px; font: 800 1.35rem/1 'Playfair Display', Georgia, serif; }
.brand-logo { width: 34px; height: 34px; background: #fff; border-radius: 6px; padding: 2px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.nav a { color: rgba(255,255,255,.92); padding: 7px 11px; border-radius: 8px; font-size: .94rem; font-weight: 600; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.15); } .nav a.quiet { opacity: .85; font-weight: 500; }
.sub-bar { background: #fff; border-bottom: 1px solid var(--line); } .sub-bar .bar { min-height: 48px; }
.sub-name { font: 800 1.05rem/1.2 'Playfair Display', Georgia, serif; color: var(--navy-2); }
.nav.sub a { color: var(--muted); } .nav.sub a:hover, .nav.sub a.active { background: #e6eef6; color: var(--navy-2); }
main.wrap { padding-top: 22px; padding-bottom: 50px; }
h1 { font: 800 2rem/1.15 'Playfair Display', Georgia, serif; color: var(--navy-2); margin: 0 0 10px; } h2 { font: 800 1.35rem/1.2 'Playfair Display', Georgia, serif; color: var(--navy-2); margin: 0 0 10px; }
h3 { font-size: 1.05rem; margin: 14px 0 6px; } .tight { margin-top: 0; }
.muted { color: var(--muted); } .small { font-size: .87rem; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.grid { display: grid; gap: 16px; } .grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); } .grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.row { display: flex; align-items: center; } .row.gap { gap: 10px; flex-wrap: wrap; } .row.between { justify-content: space-between; gap: 12px; flex-wrap: wrap; } .grow { flex: 1; min-width: 0; }
.flash { background: #e6f0f7; border: 1px solid #b9d3e6; color: var(--navy-2); border-radius: 10px; padding: 11px 15px; margin-bottom: 16px; font-weight: 600; }
.flash.error, .alert.error { background: #fbe7e4; color: #8a2c1f; border: 1px solid #f0bdb4; }
.alert { padding: 11px 15px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; } .alert.warn { background: #fdf3df; color: #6e4a00; border: 1px solid #f0d9a8; } .alert.ok { background: #e5f6e9; color: #1e6b34; border: 1px solid #b9e3c4; }
.btn { display: inline-block; background: var(--navy); color: #fff; border: 2px solid var(--navy); padding: 8px 17px; border-radius: 999px; font-weight: 700; font-size: .93rem; cursor: pointer; font-family: inherit; line-height: 1.3; min-height: 28px; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); } .btn.outline { background: transparent; color: var(--navy); } .btn.outline:hover { background: #e6eef6; }
.btn.small { padding: 4px 12px; font-size: .84rem; } .btn.red { background: var(--red); border-color: var(--red); } .btn.danger-text { color: #a33; border-color: #d8a5a5; }
button.link { background: none; border: 0; padding: 2px 0; color: var(--navy); cursor: pointer; font: inherit; text-decoration: underline; }
form { margin: 0; } fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; } legend { font-weight: 700; font-size: .92rem; margin-bottom: 5px; padding: 0; }
.field { margin-bottom: 13px; } .field > label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=date], input[type=month], input[type=search], select, textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--field); border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
input[type=number] { max-width: 9em; } textarea { min-height: 70px; resize: vertical; } .hint { color: var(--muted); font-size: .84rem; margin: 4px 0 0; }
label.check { display: flex; gap: 8px; align-items: baseline; font-weight: 400; margin: 4px 0; } label.check input { width: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #e6eef6; color: var(--navy-2); vertical-align: middle; }
.badge.ok { background: #e5f6e9; color: #1e6b34; } .badge.warn { background: #fdf3df; color: #6e4a00; } .badge.off { background: #eceff1; color: #5f6b73; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 8px 9px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; }
th { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; } .table-wrap { overflow-x: auto; }
.rates { margin: 4px 0 10px; } .rates tbody th { color: inherit; font-size: .93rem; text-transform: none; letter-spacing: 0; font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); padding: 20px 0 34px; color: var(--muted); font-size: .9rem; } .site-footer p { margin: 4px 0; }
/* Home and edition pages */
.hero { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; border-radius: var(--radius); padding: 36px 28px; margin-bottom: 22px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero h1 { color: #fff; font-size: 2.4rem; } .hero p { font-size: 1.08rem; max-width: 40em; } .hero .btn { background: var(--red); border-color: var(--red); }
.hero .hero-logo { width: 110px; height: 110px; background: #fff; border-radius: 16px; padding: 10px; flex: none; }
.editions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.ed-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); text-decoration: none; }
.ed-card:hover { border-color: var(--navy); } .ed-card:hover strong { text-decoration: underline; } .ed-card strong { font: 800 1.15rem/1.2 'Playfair Display', Georgia, serif; color: var(--navy-2); display: block; }
.issue-list { list-style: none; margin: 0; padding: 0; } .issue-list li { padding: 8px 0; border-top: 1px solid var(--line); } .issue-list li:first-child { border-top: 0; }
.share code { background: #f1f4f6; padding: 2px 6px; border-radius: 5px; font-size: .85rem; word-break: break-all; }
/* The issue on the web */
.read-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.web-issue { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; font: 1.04rem/1.6 'Source Serif 4', Georgia, serif; }
.web-issue p { margin: 0 0 10px; }
.web-issue .sec { font: italic 800 1.65rem/1.1 'Playfair Display', Georgia, serif; color: var(--navy); text-align: center; margin: 26px 0 10px; }
.web-issue h3.sec { font-size: 1.35rem; margin-top: 0; }
.sec::after { content: ''; display: block; width: 90px; height: 3px; margin: 6px auto 0; background: linear-gradient(90deg, var(--red) 0 48%, transparent 48% 52%, var(--green) 52%); border-radius: 2px; }
.masthead { text-align: center; border-bottom: 2px solid var(--navy); padding-bottom: 10px; position: relative; }
.mh-free { position: absolute; left: 0; top: 0; font: italic 900 1.2rem/1 'Playfair Display', Georgia, serif; color: var(--red); transform: rotate(-8deg); }
.mh-free span { display: block; font: 600 .62rem/1.2 'Inter', sans-serif; color: var(--navy); font-style: normal; }
.mh-title { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.masthead .logo { width: 60px; height: 60px; } .mh-name { font: 900 2.5rem/1 'Playfair Display', Georgia, serif; color: var(--navy-2); }
.mh-tag { font: italic 600 .95rem/1.3 'Source Serif 4', Georgia, serif; color: var(--muted); }
.mh-ed { font: 700 1rem/1.4 'Inter', sans-serif; color: var(--navy); margin-top: 6px; } .mh-meta { font: 600 .85rem/1.4 'Inter', sans-serif; color: var(--muted); } .mh-contact { font: 700 .88rem/1.4 'Inter', sans-serif; color: var(--red); }
.web-issue blockquote { margin: 0 0 12px; text-align: center; font-style: italic; } .web-issue blockquote footer { font-style: normal; font-size: .9rem; color: var(--muted); }
.events { list-style: none; padding: 0; margin: 0; } .events li { margin-bottom: 6px; padding-left: 20px; position: relative; } .events li::before { content: '⚓'; position: absolute; left: 0; color: var(--navy); } .events .place { color: var(--muted); }
.quiz { padding-left: 22px; } .answers { margin-top: 8px; font-family: 'Inter', sans-serif; font-size: .95rem; } .answers summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.safety { background: #fdf2f3; border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.dict dt { font-weight: 700; display: inline; } .dict dt::after { content: ': '; } .dict dd { display: inline; margin: 0; } .dict dd::after { content: ''; display: block; margin-bottom: 6px; }
.s-lore p { text-align: center; font-style: italic; } .stars .range { font-size: .85rem; color: var(--muted); }
.inline-photo { float: right; width: 40%; max-width: 220px; border-radius: 8px; margin: 4px 0 8px 12px; }
.web-issue .feature, .web-issue .ad, .ad-preview .ad { border: 2px solid var(--navy); border-radius: 14px; padding: 14px 16px; margin: 18px 0; font: .98rem/1.5 'Inter', sans-serif; background: #fff; position: relative; }
.web-issue .feature img { width: 100%; border-radius: 8px; margin-bottom: 8px; } .web-issue .f-photo .cap { font-style: italic; } .credit { color: var(--muted); font-size: .85rem; font-style: normal; }
.web-issue .r-title { font-weight: 700; color: var(--navy-2); } .cols2 { columns: 2; column-gap: 18px; }
.ws { border-collapse: collapse; margin: 6px auto 8px; } .ws td { width: 1.9em; height: 1.9em; text-align: center; font: 700 .95rem/1 'Inter', sans-serif; padding: 0; border: 0; }
.f-wordsearch .words, .f-wordsearch .theme { text-align: center; } .f-wordsearch .words { font-weight: 700; color: var(--navy-2); }
.alm { width: auto; margin: 0 auto; } .alm th, .alm td { padding: 3px 10px; text-align: center; border: 0; font-size: .95rem; } .alm tr:nth-child(even) td, .alm tr:nth-child(even) th { background: #eef3f8; }
.moon, .f-almanac .where { text-align: center; } .moon .mp { white-space: nowrap; margin: 0 6px; }
.f-contest { border-color: var(--red) !important; background: #fffaf0 !important; } .f-contest .win { font: 800 1.25rem/1.2 'Playfair Display', Georgia, serif; color: var(--red); text-align: center; }
.mini { width: 22px; height: 15px; vertical-align: -2px; }
.c-foot { display: flex; gap: 12px; align-items: center; } .c-foot p { margin: 0; } .c-url { font-weight: 700; color: var(--red); }
.qr { width: 96px; height: 96px; flex: none; } .qr img, .qr canvas { width: 100% !important; height: 100% !important; }
.web-ads { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin: 18px 0; }
.web-ads .ad { margin: 0; } .ad-head { font: 800 1.2rem/1.15 'Playfair Display', Georgia, serif; color: var(--navy); margin: 0 0 6px; }
.ad.house { background: #f3f7fb; border-style: dashed; } .ad-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: 8px; }
.ad-name { font-weight: 800; color: var(--navy-2); margin: 0; } .house-logo { height: 1em; width: auto; vertical-align: -.12em; margin-right: 6px; } .ad-logo { display: block; max-width: 170px; max-height: 56px; width: auto; height: auto; margin: 0 0 4px; } .ad-contact { font-weight: 700; color: var(--red); margin: 0; } .ad.ad-image { padding: 0; overflow: hidden; } .ad.ad-image img { display: block; width: 100%; }
.ribbon { display: none; }
/* Studio */
.studio .card h2 { font-size: 1.2rem; }
.issues-table td .badge { margin-left: 4px; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 18px; align-items: start; }
.preview-pane { position: sticky; top: 12px; } .preview-frame { width: 100%; height: calc(100vh - 140px); min-height: 520px; border: 1px solid var(--line); border-radius: 10px; background: #e9edf1; }
.overflow-note { font-size: .88rem; margin: 6px 0; }
.editor details.sec-edit { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.editor details.sec-edit > summary { cursor: pointer; padding: 11px 14px; font-weight: 800; color: var(--navy-2); display: flex; justify-content: space-between; gap: 8px; list-style: none; }
.editor details.sec-edit > summary::-webkit-details-marker { display: none; } .editor details.sec-edit > summary::after { content: '▾'; color: var(--muted); }
.editor details.sec-edit[open] > summary::after { content: '▴'; } .editor .sec-body { padding: 0 14px 12px; }
.editor .row-item { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; } .editor .row-item:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.editor .row-item.extra[hidden] { display: none; } .editor .count { font-weight: 600; color: var(--muted); font-size: .85rem; }
.save-bar { position: sticky; bottom: 0; background: rgba(243, 246, 249, .96); padding: 10px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); z-index: 5; }
.layout-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.layout-col { background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 10px; } .layout-col h4 { margin: 0 0 6px; font-size: .92rem; }
.layout-col .slot-row { display: grid; grid-template-columns: 1fr 64px; gap: 6px; margin-bottom: 6px; } .units { font-size: .8rem; color: var(--muted); } .units.over { color: #a33; font-weight: 700; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; } .thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.ad-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ad-preview .ad { margin: 8px 0; } .ad-preview .ad-head { font: 800 1.1rem/1.15 'Playfair Display', Georgia, serif; color: var(--navy); }
.ad-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; } .ad-card img { max-height: 120px; border-radius: 6px; }
@media (max-width: 980px) { .editor-layout { grid-template-columns: 1fr; } .preview-pane { position: static; } .preview-frame { height: 70vh; } }
@media (max-width: 640px) { .web-issue { padding: 16px; } .mh-name { font-size: 2rem; } .hero h1 { font-size: 1.9rem; } .hero .hero-logo { width: 80px; height: 80px; } .cols2 { columns: 1; } .ws td { width: 1.55em; height: 1.55em; font-size: .85rem; } }
/* Route sheet and other printouts from the studio */
.route td.box { width: 70px; } .route .tick { display: inline-block; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 3px; }
@media print {
  body { background: #fff; } .site-header, .sub-bar, .site-footer, .skip, .no-print { display: none !important; }
  main.wrap { padding: 0; max-width: none; } .card { border: 0; padding: 0; } a { color: inherit; text-decoration: none; }
}
/* The ad library shows each ad exactly as it prints (Tom: "make all the ads the same size for a single"): true size, a
   single 2 × 2 in, a double 2 × 4 in, a triple 2 × 6 in, with the paper's own type. Same rules as print.css. */
.slip-preview { width: 2in; height: 2in; display: flex; margin: 8px auto; --navy: #123a5e; --navy-2: #0b2740; --red: #c8102e; --green: #1b7f3b; }
.slip-preview.u2 { height: 4in; } .slip-preview.u3 { height: 6in; }
.slip-preview > .ad { flex: 1; min-width: 0; margin: 0; position: relative; border: 1.3pt solid var(--navy); border-radius: 8pt; padding: 5pt 6pt; overflow: hidden; display: flex; flex-direction: column; background: #fff; font: 7.4pt/1.25 'Inter', Arial, sans-serif; color: #111; }
.slip-preview .ad p { margin: 0 0 3pt; }
.slip-preview .ad-head { font: 800 12.5pt/1.05 'Playfair Display', Georgia, serif; color: var(--navy); margin: 0 0 4pt; }
.slip-preview .ad-text { padding-top: 9pt; font-size: 8.6pt; line-height: 1.3; }
.slip-preview .ad-text .ribbon { display: block; position: absolute; top: 0; left: 10%; right: 10%; height: 3pt; border-radius: 0 0 3pt 3pt; background: linear-gradient(90deg, var(--red) 0 48%, #fff 48% 52%, var(--green) 52%); }
.slip-preview.u2 .ad-text .ad-head, .slip-preview.u3 .ad-text .ad-head { font-size: 15pt; } .slip-preview.u2 .ad-text, .slip-preview.u3 .ad-text { font-size: 9.4pt; }
.slip-preview .ad-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 4pt; }
.slip-preview .ad-name { font-weight: 800; font-size: 9pt; color: var(--navy-2); margin: 0; } .slip-preview .ad-contact { font-weight: 700; font-size: 8.4pt; color: var(--red); margin: 0; }
.slip-preview .ad-logo { display: block; width: auto; height: auto; max-width: 1in; max-height: .4in; margin: 0 0 2pt; object-fit: contain; }
.slip-preview .qr { width: .56in; height: .56in; flex: none; } .slip-preview .qr img, .slip-preview .qr canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }
.slip-preview .ad.ad-image { padding: 0; } .slip-preview .ad.ad-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.slip-preview .ad.ad-image .qr-corner { position: absolute; right: 4pt; bottom: 4pt; width: .5in; height: .5in; background: #fff; padding: 2pt; border-radius: 3pt; }
.slip-preview .ad.house { background: #f3f7fb; border-style: dashed; } .slip-preview .ad-hit { position: absolute; inset: 0; z-index: 2; }
.slip-fit { text-align: center; margin: 0 0 6px; }
.ad-card { display: flex; flex-direction: column; } .ad-card .slip-preview { margin-top: auto; }   /* the ads line up across a row */
.ad-card .slip-preview img { max-height: none; border-radius: 0; }   /* not the ad card's small-picture limit */
