/* WLAF Daily Board. Phone first: everything is one column until 760px, tiles + feed + rail from 1040px.
   Tiles and pill menu from mockup C (Bulletin Board); the feed, story card and bottom bar from mockup B (Daily Feed).
   Colours are the logo's red, blue and navy. */
:root {
  --bg: #f1f3f8;
  --card: #ffffff;
  --ink: #131a33;
  --text: #1f2740;
  --muted: #5d6680;
  --line: #dde2ec;
  --red: #e0241b;
  --red-deep: #b5170f;
  --blue: #1c3fcf;
  --blue-wash: #eef2ff;
  --head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: 12px;
  --r: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.t-live:focus-visible, .live-btn:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 5px #fff; }
.t-lead a:focus-visible, .t-ar:focus-visible, .site-footer :focus-visible { outline-color: #fff; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; top: 8px; }
.lab { font: 800 12px/1.2 var(--head); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- top bar (B) ---------- */
.tb { background: var(--card); border-bottom: 1px solid var(--line); }
.tb-in { display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "logo . live find" "ad ad ad ad"; align-items: center; gap: 8px 10px; padding-block: 8px; }
.logo { grid-area: logo; }
.logo-img { height: 44px; width: auto; }
.find { grid-area: find2; display: none; }
.topmost { grid-area: ad; }
.topmost .ad, .topmost img { display: block; width: 100%; height: auto; }
.topmost:empty { display: none; }
.live-btn { grid-area: live; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--red); color: #fff; border: 0; padding: 8px 14px; border-radius: 99px; font: 700 14px/1 var(--head); }
.live-btn:hover { background: var(--red-deep); }
.live-btn.wide { width: 100%; justify-content: center; padding: 14px; font-size: 16px; margin-top: 8px; }
.find-btn { grid-area: find; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.icon-btn { background: none; border: 0; padding: 8px; display: inline-flex; border-radius: 99px; }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- pill menu (C) ---------- */
.nav { background: var(--card); border-bottom: 1px solid var(--line); }
.pills { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pills::-webkit-scrollbar { display: none; }
.pills a { display: block; white-space: nowrap; padding: 8px 15px; border-radius: 99px; background: #f0f2f8; color: var(--ink); font: 700 14px/1.2 var(--head); }
.pills a:hover { background: var(--blue-wash); color: var(--blue); }
.pills .current-menu-item a, .pills .current_page_item a { background: var(--ink); color: #fff; }

/* ---------- notice ---------- */
.notice { background: var(--blue-wash); color: var(--ink); font-size: 14px; }
.notice .wrap { display: flex; align-items: center; gap: 10px; padding-block: 4px; }
.notice span { flex: 1; }
.notice a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.notice .help { color: var(--muted); font-weight: 400; margin-left: 6px; }
.notice[hidden] { display: none; }

/* ---------- fixed sponsor spots ---------- */
.spots { display: grid; gap: 8px; padding-top: 12px; }
.spots:not(:has(.ad)) { display: none; }
.pins { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pins:not(:has(.ad)) { display: none; }
.pins .ad, .pin-lead .ad { display: flex; align-items: center; justify-content: center; background: var(--card); border-radius: 12px; overflow: hidden; }
.pins .ad img { width: 100%; height: auto; }
.pin-lead { width: min(100%, 520px); margin-inline: auto; }
.pin-lead .ad img { width: 100%; height: auto; }
.pin-lead:empty { display: none; }

.main { padding-top: 12px; padding-bottom: 28px; }

/* ---------- tiles (C) ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.t { border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; grid-column: span 2; min-width: 0; background: var(--card); border: 1px solid var(--line); }
.t .all { font: 700 14px var(--head); color: var(--blue); margin-top: auto; }
.t .big { font: 800 22px/1.15 var(--head); letter-spacing: -.015em; }
.t-lead { position: relative; padding: 0; overflow: hidden; min-height: 340px; justify-content: flex-end; border: 0; background: var(--ink); }
.t-lead .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-lead .bg.noimg { display: grid; place-items: center; color: rgba(255,255,255,.2); font: 800 48px var(--head); }
.t-lead .ov { position: relative; padding: 90px 16px 16px; background: linear-gradient(transparent, rgba(10, 14, 32, .55) 30%, rgba(10, 14, 32, .94)); display: flex; flex-direction: column; gap: 8px; }
.t-lead .lab { color: #ffd2cf; }
.t-lead h2 { color: #fff; font-size: 24px; font-weight: 800; }
.t-lead h2 a::after { content: ""; position: absolute; inset: 0; }
.t-lead p { display: none; color: #e2e6f4; font-size: 17px; max-width: 58ch; }
.t-live { grid-column: span 1; background: var(--red); border: 0; color: #fff; text-align: left; justify-content: space-between; min-height: 150px; }
.t-live:hover { background: var(--red-deep); }
.t-live .lab { color: #fff; }
.t-live .big { color: #fff; }
.play { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.play::after { content: ""; border-left: 14px solid var(--red); border-block: 9px solid transparent; margin-left: 4px; }
.t-ar { grid-column: span 1; background: var(--ink); border: 0; color: #cfd6ee; font-size: 14px; }
.t-ar .lab { color: #9fb0ff; }
.t-ar .big { color: #fff; }
.t-ar .all { color: #fff; }
.ob { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; font: 700 15px/1.25 var(--head); color: var(--ink); }
.ob:hover span { color: var(--blue); }
.ob small, .ev small { display: block; font: 500 13px/1.3 var(--body); color: var(--muted); margin-top: 2px; }
.face-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg); }
.t-ev { background: var(--blue-wash); border-color: #dfe5fb; }
.ev { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; font: 700 15px/1.3 var(--head); color: var(--ink); }
.ev:hover span { color: var(--blue); }
.ev i { font: 800 18px/1.05 var(--head); font-style: normal; background: #fff; color: var(--blue); border-radius: 12px; text-align: center; padding: 7px 0; }
.ev i small { display: block; font: 800 10px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin: 0; }
.t-ev .none { font-size: 14px; color: var(--muted); }
.t-ev .none a { color: var(--blue); font-weight: 600; }
.t-rec { background: var(--card); }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { padding: 9px 0; border-top: 1px solid var(--line); font: 700 15px/1.3 var(--head); color: var(--ink); }
.mini li:first-child { border-top: 0; padding-top: 2px; }
.mini li a:hover { color: var(--blue); }
.mini li b { display: block; font: 800 11px/1.3 var(--head); letter-spacing: .07em; text-transform: uppercase; color: var(--blue); }
.mini time { display: block; font: 500 12px var(--body); color: var(--muted); margin-top: 2px; }

/* ---------- feed (B) ---------- */
.shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.feed, .rail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.day { font: 800 13px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.post, .panel { background: var(--card); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post .meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.post .meta .dot { width: 7px; height: 7px; background: var(--red); animation: none; }
.post .sec { font-weight: 700; color: var(--blue); }
.post .sec::before { content: "·"; color: var(--muted); margin-right: 8px; font-weight: 400; }
.post h3 { font-size: 19px; font-weight: 800; }
.post h3 a:hover { color: var(--blue); }
.post.big h3 { font-size: 23px; }
.post .pic { display: block; }
.post .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--bg); }
.post .ph.noimg { display: none; }
.post > p { color: #3a425c; font-size: 15px; }
.sp { font: 800 11px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spons .adrow { display: grid; gap: 10px; transition: opacity .35s; }
.spons .adrow.is-swapping { opacity: 0; }
.spons .adrow:empty, .spons:not(:has(.ad)) { display: none; }
.adrow .ad { display: block; border-radius: 10px; overflow: hidden; background: var(--bg); }
.adrow .ad img { width: 100%; height: auto; }
.infeed { align-items: center; }
.infeed:not(.has-ad) { display: none; }
.infeed .ad img { max-height: 320px; width: auto; border-radius: 8px; margin-inline: auto; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 15px var(--head); }
.btn:hover { background: var(--blue); }
.more { align-self: stretch; }

/* ---------- story (B) ---------- */
.back { font: 700 14px var(--head); color: var(--blue); }
.art { gap: 14px; padding: 16px; }
.art h1 { font-size: 27px; font-weight: 800; }
.art .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.art .meta span::before { content: "·"; margin-right: 10px; }
.hero { margin: 0 -16px; }
.hero img { width: 100%; height: auto; }
.flyer { margin: 0; }
.flyer img { border-radius: 12px; margin-inline: auto; }
.txt { font-size: 18px; line-height: 1.65; color: var(--text); overflow-wrap: anywhere; }
.txt > * { margin: 0 0 1em; }
.txt > *:last-child { margin-bottom: 0; }
.txt img { border-radius: 10px; height: auto; }
.txt a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.txt h2, .txt h3 { margin-top: 1.2em; }
.txt figure { margin-inline: 0; max-width: 100%; }
.txt figcaption, .txt .wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 6px; }
.txt .wp-caption { max-width: 100% !important; }
.txt iframe, .txt video, .txt embed { max-width: 100%; }
.txt iframe[src*="youtube"], .txt iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.txt table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.txt td, .txt th { border: 1px solid var(--line); padding: 6px 8px; }
.txt blockquote { border-left: 4px solid var(--red); padding-left: 14px; margin-left: 0; color: #3a425c; }
.alignleft, .alignright { float: none; margin: 0 0 1em; }
.aligncenter { margin-inline: auto; }
.evd { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 17px; }
.evd dt { font: 800 12px/1.9 var(--head); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.evd dd { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- lists ---------- */
.page-head { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px 2px; }
.page-head h1 { font-size: 28px; font-weight: 800; }
.page-head h1 small { font-size: 16px; color: var(--muted); font-weight: 600; }
.page-head p { color: var(--muted); }
.cat-sponsor { max-width: 640px; }
.cat-sponsor:empty { display: none; }
.cat-sponsor .ad { display: block; border-radius: 12px; overflow: hidden; }
.cat-sponsor .ad img { width: 100%; }
.obit-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.obc { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; background: var(--card); border-radius: 14px; padding: 10px; }
.obc-img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--bg); }
.obc b { display: block; font: 800 16px/1.3 var(--head); color: var(--ink); }
.obc:hover b { color: var(--blue); }
.obc time { font-size: 13px; color: var(--muted); }
.obit-grid .infeed { grid-column: 1 / -1; }
.t-wide { grid-column: auto; }
.search-inline form, .search-wrap form { display: flex; gap: 8px; }
.search-inline input[type="search"], .search-wrap input[type="search"] { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 11px 14px; border: 2px solid var(--line); border-radius: 99px; background: #fff; }
.search-inline input[type="submit"], .search-wrap input[type="submit"] { border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 700 15px var(--head); padding: 0 18px; cursor: pointer; }
.search-form label { flex: 1; display: flex; min-width: 0; }
.search-form label input { width: 100%; }
.notfound { gap: 12px; }
.notfound h1 { font-size: 26px; }
.navigation.pagination { margin-top: 6px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.nav-links .page-numbers { padding: 9px 14px; border-radius: 99px; background: var(--card); font: 700 14px var(--head); color: var(--ink); }
.nav-links .current { background: var(--ink); color: #fff; }

/* ---------- rail ---------- */
.rail .lab { display: block; }
.yt { display: block; position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 10px; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { width: 100%; height: 100%; border: 0; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 62px; height: 44px; background: var(--red); border-radius: 10px; }
.yt .play::after { border-left-color: #fff; }
.wx-now { display: flex; align-items: center; gap: 14px; }
.wx-temp { font: 800 48px/1 var(--head); color: var(--ink); }
.wx-place { font-weight: 700; color: var(--ink); }
.wx-cond { font-size: 14px; color: var(--muted); }
.wx-next { list-style: none; margin: 12px 0 8px; padding: 0; font-size: 13.5px; }
.wx-next li { display: grid; grid-template-columns: 96px 1fr auto; gap: 8px; padding-block: 6px; border-top: 1px solid var(--line); }
.wx-next li span:nth-child(2) { color: var(--muted); }
.wx-more, .wx-fallback a { font-size: 13px; font-weight: 700; color: var(--blue); }
.fred { align-items: center; }
.fred .qr { width: 150px; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.boxes .ad { display: block; border-radius: 10px; overflow: hidden; }
.boxes .ad img { width: 100%; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9d0e6; font-size: 14px; padding: 28px 0; }
.site-footer .wrap { display: grid; gap: 22px; }
.site-footer .plate { display: inline-block; background: #fff; padding: 8px 12px; border-radius: 12px; }
.site-footer .plate img { height: 52px; width: auto; }
.f-brand { display: grid; gap: 8px; }
.f-brand a[href^="mailto"] { color: #fff; text-decoration: underline; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font: 700 15px var(--head); }
.site-footer .menu a { color: #fff; }
.catform { display: grid; gap: 6px; }
.catform label { font: 800 12px var(--head); letter-spacing: .08em; text-transform: uppercase; }
.catform select { font: inherit; padding: 10px; border-radius: 10px; border: 0; max-width: 320px; }
.legal { font-size: 12px; color: #98a2c2; }

/* ---------- phone bottom bar (B) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); backdrop-filter: blur(8px); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; font: 700 11px var(--head); color: var(--muted); background: none; border: 0; padding: 4px 0; }
.tabbar .on { color: var(--blue); }
.tabbar svg { width: 23px; height: 23px; }

/* ---------- live player, pop-up, dialogs ---------- */
.live { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); z-index: 40; background: #000; box-shadow: 0 12px 40px rgba(10, 16, 40, .35); overflow: hidden; }
.live[hidden] { display: none; }
.live header { display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; padding: 4px 4px 4px 12px; font: 700 13px var(--head); }
.live header span { display: flex; align-items: center; gap: 8px; color: #ff8d86; }
.live header b { color: #fff; }
.live .screen { aspect-ratio: 16 / 9; }
.live iframe { width: 100%; height: 100%; border: 0; display: block; }
.live .icon-btn { color: #fff; }
.vpop { position: fixed; z-index: 45; left: 50%; top: 50%; width: min(640px, calc(100vw - 32px)); transform: translate(-50%, -50%); padding-top: 34px; animation: vpop-in .6s cubic-bezier(.2, .9, .3, 1.15); }
.vpop[hidden] { display: none; }
.vpop-screen { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 16px 48px rgba(10, 16, 40, .4); border-radius: 10px; overflow: hidden; }
.vpop-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.vpop-x { position: absolute; top: 0; right: 0; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: #b5170f; font-size: 17px; font-weight: 700; line-height: 1; box-shadow: 0 2px 8px rgba(10, 16, 40, .25); }
@keyframes vpop-in { from { transform: translate(60vw, -50%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vpop { animation: none; } }
dialog { border: 0; padding: 0; color: var(--text); }
dialog::backdrop { background: rgba(13, 19, 48, .55); }
#search-dialog { width: min(640px, calc(100vw - 32px)); border-radius: 16px; margin-top: 12vh; }
#search-dialog .search-wrap { padding: 16px; }
#drawer { width: min(360px, 88vw); height: 100%; max-height: none; margin: 0 0 0 auto; padding: 16px; background: #fff; display: none; }
#drawer[open] { display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
#drawer .top { display: flex; justify-content: space-between; align-items: center; }
#drawer .top img { height: 44px; width: auto; }
#drawer .menu { list-style: none; margin: 0; padding: 0; }
#drawer .menu a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font: 800 18px var(--head); color: var(--ink); }

/* ---------- 600px+ ---------- */
@media (min-width: 600px) {
  :root { --gut: 20px; }
  .pins { grid-template-columns: 1fr 1fr; }
  .obit-grid { grid-template-columns: 1fr 1fr; }
  .t-lead { min-height: 400px; }
  .t-lead h2 { font-size: 30px; }
  .t-lead .ov { padding: 110px 24px 22px; }
  .t-lead p { display: block; }
  .t { padding: 20px; }
  .t .big { font-size: 28px; }
  .play { width: 58px; height: 58px; }
  .play::after { border-left-width: 17px; border-block-width: 11px; margin-left: 5px; }
  .grid > .t-ob, .grid > .t-ev { grid-column: span 1; }
  .post, .panel { padding: 18px; border-radius: 16px; }
  .post h3 { font-size: 22px; }
  .post.big h3 { font-size: 28px; }
  .art { padding: 22px; }
  .hero { margin: 0; }
  .hero img { border-radius: 12px; }
  .art h1 { font-size: 34px; }
  .spons .adrow { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .legal { grid-column: 1 / -1; }
}

/* ---------- 760px+ : top bar on one line, no bottom bar ---------- */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .tb-in { grid-template-columns: auto minmax(160px, 320px) 1fr auto; grid-template-areas: "logo find2 ad live"; gap: 20px; padding-block: 10px; }
  .logo-img { height: 58px; }
  .find { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 99px; padding: 0 16px; }
  .find svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
  .find input { border: 0; background: none; font: inherit; font-size: 15px; padding: 11px 0; width: 100%; min-width: 0; outline: none; }
  .find:focus-within { outline: 3px solid var(--blue); }
  .find-btn { display: none; }
  .topmost { justify-self: end; max-width: 520px; }
  .topmost img { max-height: 70px; width: auto; }
  .live { left: auto; right: 18px; bottom: 18px; width: 380px; border-radius: 12px; }
  .live-btn { padding: 11px 18px; }
}

/* ---------- 1040px+ : tiles grid (C) and feed + rail (B) ---------- */
@media (min-width: 1040px) {
  :root { --gut: 28px; }
  .main { padding-top: 18px; }
  .grid { grid-template-columns: repeat(12, 1fr); gap: 16px; margin-bottom: 28px; }
  .t { border-radius: 18px; padding: 22px; }
  .grid > .t-lead { grid-column: span 8; grid-row: span 2; min-height: 470px; }
  .t-lead h2 { font-size: 36px; max-width: 24ch; }
  .t-lead .ov { padding: 120px 28px 26px; }
  .grid > .t-live, .grid > .t-ar { grid-column: span 4; }
  .grid > .t-ob, .grid > .t-ev { grid-column: span 6; }
  .grid > .t-ob { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 12px 20px; }
  .grid > .t-ob .lab, .grid > .t-ob .all { grid-column: 1 / -1; }
  .shell { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
  .feed { max-width: 720px; width: 100%; justify-self: center; gap: 16px; }
  .rail { gap: 16px; }
}


/* ====================================================================
   Version 2: share, text size, obituary Services box, find an obituary, event links, print
   ================================================================== */
.art .tools { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.share { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.share-lab { font: 800 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.sh { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 12px; border-radius: 99px; background: #f0f2f8; border: 0; color: var(--ink); font: 700 14px/1 var(--head); }
.sh:hover { background: var(--blue-wash); color: var(--blue); }
.sh svg { width: 18px; height: 18px; flex: none; }
.share-end { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.tsize { display: inline-flex; gap: 4px; }
.tsize button { min-width: 44px; min-height: 40px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 800 15px/1 var(--head); }
.tsize button[data-ts="1"] { font-size: 19px; }
.tsize button:hover:not([aria-disabled="true"]) { border-color: var(--blue); color: var(--blue); }
.tsize button[aria-disabled="true"] { color: #8a91a8; cursor: default; }
html.ts-1 .txt, html.ts-1 .services { font-size: 21px; }
html.ts-2 .txt, html.ts-2 .services { font-size: 24px; }
.obit-photo { margin: 0; }
.obit-img { width: min(100%, 260px); aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 14px; background: var(--bg); }
.obit-photo .noimg { display: block; width: 200px; height: 250px; }
.services { border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; background: #f7f8fc; font-size: 18px; line-height: 1.5; }
.services h2 { font: 800 13px/1.2 var(--head); letter-spacing: .09em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 8px; }
.services ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.services li { padding-left: 16px; position: relative; color: var(--ink); font-weight: 600; }
.services li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--red-deep); }
.services .svc-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.find-obit { background: var(--card); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.find-obit label { font: 800 16px var(--head); color: var(--ink); }
.fo-row { display: flex; gap: 8px; }
.fo-row input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 11px 14px; border: 2px solid var(--line); border-radius: 99px; background: #fff; }
.fo-row input:focus { border-color: var(--blue); }
.fo-row button { border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 700 15px var(--head); padding: 0 20px; min-height: 46px; }
.fo-row button:hover { background: var(--blue); }
.fo-for { font-size: 14px; color: var(--muted); }
.fo-for a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.ev-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.evl { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 14px/1 var(--head); }
.evl:hover { background: var(--blue); }
.evl svg { width: 18px; height: 18px; }
.ev-links.in-list { margin: -2px 0 6px 60px; }
.ev-links.in-list .evl { min-height: 36px; padding: 6px 12px; font-size: 13px; background: #fff; color: var(--blue); border: 1px solid #cdd6fb; }
.ev-links.in-list .evl:hover { background: var(--blue); color: #fff; }
.hero figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; padding-inline: 16px; }
@media (min-width: 600px) { .hero figcaption { padding-inline: 0; } }

/* Printing an obituary: the name, photo, Services box and text only. */
@media print {
  @page { margin: 16mm; }
  body { background: #fff !important; padding: 0 !important; color: #000; font-size: 12pt; }
  .tb, .nav, .notice, .spots, .rail, .site-footer, .tabbar, .live, .vpop, dialog, .share, .tsize, .art .tools, .back, .spons, .infeed, .day, .feed > .post:not(.art), .feed > .panel, .skip, .wlafx-alert, #wpadminbar { display: none !important; }
  .main, .shell, .feed { display: block !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .art { padding: 0 !important; box-shadow: none; border: 0; }
  .art h1 { font-size: 22pt; }
  .art .meta { font-size: 10pt; color: #333; }
  .obit-img { width: 2.2in; border-radius: 6px; }
  .services { border: 1.5pt solid #000; background: #fff; break-inside: avoid; font-size: 12pt; }
  .services .svc-note { color: #333; }
  .txt { font-size: 12pt !important; line-height: 1.5; color: #000; }
  .txt a { color: #000; text-decoration: none; }
  .hero img, .txt img { max-height: 4in; width: auto; }
  html { margin-top: 0 !important; }
}

@media (max-width: 599px) { .obit-img { width: min(100%, 180px); } }
