/* The Cookout Report: cream, black and one color (red). Follows Kerry's masthead. */
:root { --cream: #FCF8EE; --ink: #111; --red: #E0242B; --gray: #6B6558; --line: #E3DCCB; --warm: #E9E2D2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
a { color: inherit; text-decoration: none; }
.hd { font-family: "Bodoni 72", Didot, "Playfair Display", Georgia, serif; font-weight: 700; word-spacing: 2px; }
.hd em { font-weight: 400; }
.sp { color: var(--red); font-size: .55em; margin-left: 3px; }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

.status { background: var(--ink); color: var(--cream); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; padding: 6px 0; }
.status .inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ticker { background: var(--red); color: #fff; font-size: 14px; padding: 9px 0; }
.ticker .inner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ticker b { background: #fff; color: var(--red); padding: 2px 11px; border-radius: 20px; letter-spacing: 1px; font-size: 11px; }
.ticker a:hover { text-decoration: underline; }

.mast { border-bottom: 1px solid var(--ink); text-align: center; overflow: hidden; }
.mast .crop { max-width: 1080px; margin: 0 auto; aspect-ratio: 2172 / 330; overflow: hidden; }
.mast img { width: 100%; display: block; margin-top: -9.4%; }
.mast .tag { font-family: Georgia, serif; font-style: italic; font-size: 17px; color: #333; margin: 0; padding: 4px 16px 14px; }
.nav { border-bottom: 3px solid var(--ink); position: sticky; top: 0; background: var(--cream); z-index: 5; }
.nav .inner { display: flex; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; overflow-x: auto; white-space: nowrap; }
.nav a:hover { color: var(--red); }
.nav .hot { color: var(--red); }
.dateline { text-align: center; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); padding: 12px 0 0; }

.pill { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: #fff; background: var(--red); padding: 4px 11px; border-radius: 20px; }
.pill.o { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.pill.k { background: var(--ink); }
.pill.w { background: var(--cream); color: var(--ink); }
.src { font-size: 12px; color: var(--gray); margin-top: 8px; }
.src a { text-decoration: underline; }
.src a:hover { color: var(--red); }

.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; padding-top: 22px; }
.hero h1 { font-size: 44px; line-height: 1.03; margin: 12px 0 10px; }
.hero p { font-family: Georgia, serif; font-size: 17px; line-height: 1.5; margin: 0; color: #333; }
/* Photos are small thumbnails beside the words (Kerry, Dec 1: the text is the focus, the picture is the hook). */
.thumb { float: right; width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--warm); margin: 2px 0 8px 14px; }
.thumb.big { width: 128px; height: 128px; border-radius: 12px; margin: 4px 0 10px 20px; }
.card, .hero > div { display: flow-root; }
.src .ph { white-space: nowrap; }
.top5 { background: #fff; border: 1px solid var(--ink); border-radius: 14px; padding: 18px 22px 8px; align-self: start; }
.top5 h3 { font-size: 28px; margin: 0 0 4px; }
.top5 ol { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.top5 li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-family: Georgia, serif; font-size: 15.5px; line-height: 1.3; font-weight: 700; }
.top5 li:first-child { border-top: 0; }
.top5 li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-family: "Helvetica Neue", sans-serif; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.top5 li small { display: block; font-family: "Helvetica Neue", sans-serif; font-weight: 400; font-size: 11.5px; color: var(--gray); margin-top: 3px; }
.top5 a:hover { color: var(--red); }

.rule { display: flex; align-items: baseline; gap: 12px; margin: 34px 0 16px; scroll-margin-top: 60px; }
.rule h2 { font-size: 36px; margin: 0; line-height: 1; }
.rule i { flex: 1; border-bottom: 1px solid var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.tile { border-radius: 12px; padding: 12px 6px; text-align: center; font-size: 13.5px; font-weight: 700; line-height: 1.2; display: flex; flex-direction: column; justify-content: center; min-height: 64px; transition: transform .12s; }
.tile:hover { transform: translateY(-3px); }
.tile small { display: block; font-weight: 400; font-size: 10.5px; margin-top: 3px; }
.t1 { background: var(--red); color: #fff; } .t2 { background: var(--ink); color: var(--cream); } .t3 { background: #fff; border: 1.5px solid var(--ink); } .t4 { background: #fff; color: var(--red); border: 1.5px solid var(--red); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card h4 { font-family: Georgia, serif; font-size: 20px; line-height: 1.22; margin: 9px 0 6px; }
.card p { font-family: Georgia, serif; font-size: 15px; line-height: 1.5; margin: 0; color: #333; }
.card.box { background: #fff; border: 1px solid var(--ink); border-radius: 14px; padding: 18px; }
.card.box + .card.box { margin-top: 18px; }
.card.box h4 { font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 27px; line-height: 1.08; }
.briefs { background: #fff; border: 1px solid var(--ink); border-radius: 14px; padding: 4px 20px; margin-top: 20px; }
.briefs div { padding: 12px 0; border-top: 1px solid var(--line); font-family: Georgia, serif; font-size: 15px; line-height: 1.45; }
.briefs div:first-child { border-top: 0; }
.briefs span { font-family: "Helvetica Neue", sans-serif; font-size: 12px; color: var(--gray); }
.briefs span a { text-decoration: underline; }

.rep { background: var(--ink); color: var(--cream); margin-top: 40px; padding: 30px 0 34px; scroll-margin-top: 50px; }
.rep h2 { font-size: 42px; margin: 10px 0 18px; line-height: 1; }
.rep .card { border: 1px solid #555; border-radius: 12px; padding: 18px; }
.rep .card p { color: #D8D2C4; }
.rep .src { color: #A9A294; }

.news { background: var(--red); color: #fff; margin-top: 44px; padding: 26px 0; }
.news .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.news h2 { font-size: 38px; margin: 0; line-height: 1; }
.news p { margin: 6px 0 0; font-family: Georgia, serif; font-size: 16px; }
.news .soon { background: var(--ink); color: #fff; border-radius: 24px; padding: 12px 20px; font-size: 13px; font-weight: 700; }
.foot { background: var(--ink); color: #D8D2C4; padding: 26px 0 30px; font-size: 13px; line-height: 1.7; }
.foot .inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; }
.foot .logo { font-size: 30px; color: var(--cream); line-height: 1; margin-bottom: 8px; }
.foot h5 { margin: 0 0 6px; color: #fff; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.empty { font-family: Georgia, serif; font-style: italic; color: var(--gray); }

/* ---------- phone (most readers). One column, big readable type, everything that is a row swipes sideways. ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.nav .inner, .ticker .inner, .tiles { scrollbar-width: none; }
.nav .inner::-webkit-scrollbar, .ticker .inner::-webkit-scrollbar, .tiles::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .inner { padding: 0 16px; }
  .hero, .grid, .grid.two, .foot .inner { grid-template-columns: 1fr; }

  /* top strip: one line each, never a wall of red */
  .status { font-size: 9.5px; letter-spacing: .8px; padding: 5px 0; }
  .status .inner { flex-wrap: nowrap; white-space: nowrap; }
  .status .inner span:first-child { overflow: hidden; text-overflow: ellipsis; }
  .ticker { font-size: 13.5px; padding: 8px 0; }
  .ticker .inner { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .mast .tag { font-size: 13.5px; padding: 2px 14px 10px; }
  .nav .inner { justify-content: flex-start; gap: 20px; font-size: 12.5px; padding-top: 11px; padding-bottom: 11px; -webkit-overflow-scrolling: touch; }
  .nav a { padding: 4px 0; }
  .dateline { font-size: 10.5px; padding-top: 10px; }

  /* top story */
  .hero { gap: 22px; padding-top: 14px; }
  .hero h1 { font-size: 29px; line-height: 1.06; margin: 10px 0 8px; }
  .hero p { font-size: 17px; line-height: 1.5; }
  .thumb.big { width: 96px; height: 96px; margin: 2px 0 8px 14px; }
  .top5 { padding: 14px 16px 4px; }
  .top5 h3 { font-size: 25px; }
  .top5 li { font-size: 16px; padding: 12px 0; }

  /* section buttons become one swipe row */
  .tiles { display: flex; overflow-x: auto; gap: 8px; margin: 0 -16px; padding: 0 16px 2px; -webkit-overflow-scrolling: touch; }
  .tile { flex: 0 0 auto; min-height: 0; padding: 10px 16px; border-radius: 24px; flex-direction: row; align-items: center; white-space: nowrap; font-size: 13.5px; }
  .tile small { display: none; }

  /* stories: one per row, a thin line between them */
  .rule { margin: 30px 0 12px; scroll-margin-top: 52px; }
  .rule h2 { font-size: 31px; }
  .grid { gap: 0; }
  .grid > .card { padding: 16px 0; border-top: 1px solid var(--line); }
  .grid > .card:first-child { padding-top: 2px; border-top: 0; }
  .grid.two > div + div { margin-top: 0; }
  .thumb { width: 78px; height: 78px; margin: 2px 0 6px 12px; }
  .card h4 { font-size: 20px; line-height: 1.2; margin: 8px 0 6px; }
  .card p { font-size: 16px; line-height: 1.5; }
  .card.box { padding: 16px; }
  .card.box h4 { font-size: 24px; }
  .card.box + .card.box { margin-top: 14px; }
  .src { font-size: 12px; line-height: 1.5; }
  .src .ph { white-space: normal; }
  .src a, .briefs span a { padding: 3px 0; }
  .briefs { padding: 2px 16px; margin-top: 16px; }
  .briefs div { font-size: 16px; line-height: 1.5; padding: 13px 0; }

  /* reparations, email, footer */
  .rep { margin-top: 32px; padding: 24px 0 26px; }
  .rep h2 { font-size: 34px; margin: 10px 0 14px; }
  .rep .grid { gap: 12px; }
  .rep .grid > .card, .rep .grid > .card:first-child { padding: 16px; border: 1px solid #555; }
  .news { margin-top: 34px; padding: 22px 0; }
  .news h2 { font-size: 32px; }
  .foot .inner { gap: 18px; }
}

/* ---------- control room ---------- */
.cr-bar { background: var(--ink); color: var(--cream); padding: 14px 0; position: sticky; top: 0; z-index: 6; }
.cr-bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cr-bar .logo { font-size: 26px; line-height: 1; }
.cr-bar small { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #A9A294; margin-top: 4px; }
.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 24px; background: var(--red); color: #fff; }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.btn:disabled { opacity: .4; cursor: default; }
.cr-note { background: #fff; border: 1px solid var(--ink); border-radius: 12px; padding: 14px 18px; margin: 20px 0 0; font-size: 14px; line-height: 1.5; }
.cr-note.ok { border-color: #1F7A3D; } .cr-note.bad { border-color: var(--red); }
.cr-sec { font-size: 28px; margin: 28px 0 10px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--ink); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.row h4 { font-family: Georgia, serif; font-size: 17px; line-height: 1.25; margin: 6px 0 4px; }
.row p { font-family: Georgia, serif; font-size: 13.5px; line-height: 1.45; margin: 0; color: #333; }
.row.off { background: var(--warm); border-style: dashed; }
.row.off h4, .row.off p { text-decoration: line-through; color: var(--gray); }
.x { border: 2px solid var(--red); background: #fff; color: var(--red); font-size: 22px; font-weight: 700; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; line-height: 1; }
.x:hover { background: var(--red); color: #fff; }
.back { border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; padding: 9px 14px; border-radius: 20px; cursor: pointer; }
.tagoff { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--gray); color: #fff; padding: 3px 10px; border-radius: 20px; margin-left: 6px; }
