/* The Palm Beach Home Book v2: the local paper */
:root {
  --ink: #111;
  --ink2: #363636;
  --mute: #6b6b6b;
  --hair: #dcdcdc;
  --rule: #111;
  --red: #b3261e;
  --green: #1d6b43;
  --tint: #f4f1ea;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Libre Franklin", system-ui, -apple-system, sans-serif;
  --mast: "Libre Caslon Display", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.6 var(--serif); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: rgba(0,0,0,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red); }
.w { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 740px; }

/* masthead */
.dateline { display: flex; justify-content: space-between; gap: 12px; font: 12px var(--sans); color: var(--mute); padding: 12px 0 10px; border-bottom: 1px solid var(--hair); }
.mast { text-align: center; padding: 20px 0 14px; border-bottom: 3px double var(--rule); }
.mast a { text-decoration: none; }
.mast .name { font-family: var(--mast); font-weight: 400; font-size: clamp(38px, 7vw, 84px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.mast.small .name { font-size: clamp(28px, 4.4vw, 46px); }
.mast p { font: 13px var(--sans); color: var(--ink2); margin: 8px 0 0; }
.sections { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; font: 600 13px var(--sans); padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sections a { text-decoration: none; }
.sections a[aria-current] { color: var(--red); }

/* type */
.kicker { font: 700 12px var(--sans); color: var(--red); margin: 0 0 8px; letter-spacing: .02em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.hed { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; margin: 0 0 12px; }
.hed.page { font-size: clamp(32px, 4.2vw, 54px); }
.dek { font-size: 21px; line-height: 1.45; color: var(--ink2); margin: 0 0 12px; font-style: italic; }
.by { font: 12px var(--sans); color: var(--mute); margin: 0 0 18px; }
.by b { color: var(--ink); }
.body p { margin: 0 0 14px; }
.cols { columns: 2; column-gap: 30px; }
.cols p:first-child::first-letter { font: 800 56px/.82 var(--sans); float: left; margin: 5px 8px 0 0; }
.prose { font-size: 19px; color: var(--ink2); }
.prose h2 { font-size: 30px; color: var(--ink); margin: 40px 0 12px; }
.prose h3 { font-size: 21px; color: var(--ink); margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose strong { color: var(--ink); }
.ph { color: var(--red); font-style: italic; }
.small { font-size: 14px; }
.muted { color: var(--mute); }

/* front page grid */
.front { display: grid; grid-template-columns: 2.1fr 1fr; gap: 34px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.rail { border-left: 1px solid var(--hair); padding-left: 26px; }
.rail h3, .boxhead { font: 800 14px var(--sans); border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin: 0 0 10px; letter-spacing: 0; }
.rail ol, .rail ul { list-style: none; padding: 0; margin: 0 0 26px; }
.rail li { padding: 8px 0; border-bottom: 1px solid var(--hair); font: 14px/1.4 var(--sans); }
.rail li b { display: block; }
.rail li span { color: var(--mute); font-size: 12px; }
.rail li em { display: block; font-style: normal; font-size: 12px; }
.no { color: var(--red); }
.yes { color: var(--green); }
.box { background: var(--tint); padding: 16px 18px; margin-bottom: 24px; }
.box .big { font: 800 40px/1 var(--sans); color: var(--red); display: block; margin-bottom: 6px; }
.box p { margin: 0; font: 14px/1.45 var(--sans); }
figure { margin: 0 0 16px; }
figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
figcaption { font: 12px var(--sans); color: var(--mute); margin-top: 6px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.three a { text-decoration: none; }
.three img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 10px; }
.three h4 { font-size: 22px; line-height: 1.15; margin: 4px 0 8px; }
.three p { margin: 0; font-size: 16px; color: var(--ink2); }
.next { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.next h4 { font-size: 26px; line-height: 1.1; }
.next p { margin: 0; color: var(--ink2); }
.ed { display: flex; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.ed img { width: 80px; height: 98px; object-fit: cover; }
.ed p { margin: 0; font: 15px/1.5 var(--sans); color: var(--ink2); }
.morelink { font: 700 14px var(--sans); }

/* stat strip and charts */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hair); margin: 18px 0 24px; }
.stats div { padding: 12px 12px 14px 0; }
.stats b { display: block; font: 800 34px/1 var(--sans); letter-spacing: -.02em; }
.stats span { font: 13px/1.35 var(--sans); color: var(--ink2); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 160px; border-bottom: 1px solid var(--ink); margin: 10px 0 4px; }
.months div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.months i { display: block; background: var(--ink); }
.months i.j { background: var(--red); }
.mlabels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; font: 11px var(--sans); color: var(--mute); text-align: center; }
.legend { font: 12px var(--sans); color: var(--mute); margin: 8px 0 22px; }
.legend i { display: inline-block; width: 10px; height: 10px; background: var(--ink); margin: 0 4px 0 10px; vertical-align: -1px; }
.legend i.j { background: var(--red); }
.hbar { display: grid; grid-template-columns: 190px 1fr 46px; gap: 10px; align-items: center; padding: 6px 0; font: 14px var(--sans); border-bottom: 1px solid var(--hair); }
.hbar div { height: 12px; background: var(--tint); }
.hbar div i { display: block; height: 100%; background: var(--ink); }
.hbar b { text-align: right; }

/* tables */
.tw { overflow-x: auto; border-top: 2px solid var(--ink); margin: 6px 0 8px; }
table.t { width: 100%; border-collapse: collapse; font: 14px/1.35 var(--sans); min-width: 900px; }
.t th { text-align: left; font-weight: 600; font-size: 12px; color: var(--mute); padding: 10px 8px; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.t td { padding: 11px 8px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.t td.co a { font-weight: 700; text-decoration: none; }
.t td.co small { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; }
.t td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t td.wait { color: var(--mute); font-style: italic; }
.tag { display: inline-block; font: 600 11px var(--sans); color: var(--red); border: 1px solid currentColor; padding: 0 5px; margin-top: 4px; }
.tnote { font: 13px var(--sans); color: var(--mute); margin: 6px 0 26px; }

/* list entries */
.entry { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.entry .n { font: 800 38px/1 var(--sans); color: var(--red); }
.entry h3 { font-size: 26px; line-height: 1.15; margin: 0 0 4px; }
.entry h3 a { text-decoration: none; }
.entry .kf { font-style: italic; font-size: 19px; margin: 0 0 8px; color: var(--ink2); }
.entry p { margin: 0 0 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 13px var(--sans); color: var(--ink2); margin: 0 0 8px; }
.facts b { color: var(--ink); }
.also { font: 14px/1.5 var(--sans); color: var(--mute); margin: 18px 0 0; }
.also ul { padding-left: 18px; margin: 6px 0 0; }

/* profile */
.file { display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; padding: 10px 0 60px; }
.factbox { border-top: 3px solid var(--ink); padding-top: 10px; font: 15px/1.45 var(--sans); }
.factbox dl { margin: 0; }
.factbox dt { font-weight: 700; font-size: 12px; color: var(--mute); margin-top: 12px; }
.factbox dd { margin: 2px 0 0; }
.scope { list-style: none; padding: 0; margin: 0 0 16px; font: 16px var(--sans); }
.scope li { padding: 7px 0; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 12px; }
.themes { list-style: none; padding: 0; margin: 0 0 16px; font: 16px var(--sans); }
.themes li { padding: 7px 0; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 12px; }
.themes li span { color: var(--mute); white-space: nowrap; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 6px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.disclose { font: 14px var(--sans); border-left: 3px solid var(--red); padding-left: 12px; color: var(--ink2); }
.btn { display: inline-block; font: 700 14px var(--sans); background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }

/* faq */
.faq details { border-top: 1px solid var(--hair); padding: 14px 0; }
.faq summary { cursor: pointer; font: 700 18px var(--sans); }
.faq details p { margin: 8px 0 0; color: var(--ink2); }

/* forms */
.form { display: grid; gap: 12px; font-family: var(--sans); }
.form label { font-size: 13px; font-weight: 600; display: grid; gap: 4px; }
.form input, .form textarea, .form select { font: 16px var(--sans); padding: 11px 12px; border: 1px solid #bbb; background: #fff; }

footer { padding: 22px 0 60px; font: 12px/1.6 var(--sans); color: var(--mute); border-top: 3px double var(--rule); margin-top: 30px; }
footer a { margin-right: 14px; }

@media (max-width: 880px) {
  .front, .three, .next, .file { grid-template-columns: 1fr; }
  .rail { border: 0; padding: 0; }
  .cols { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dateline span:nth-child(3) { display: none; }
  .hbar { grid-template-columns: 120px 1fr 40px; }
  .entry { grid-template-columns: 40px 1fr; }
  .entry .n { font-size: 28px; }
}

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); margin: 6px 0 4px; }
.tiles .tile { padding: 16px 16px 18px 0; text-decoration: none; border-right: 1px solid var(--hair); margin-right: 16px; }
.tiles .tile:last-child { border-right: 0; margin-right: 0; }
.tiles h4 { font-size: 21px; line-height: 1.15; margin: 4px 0 6px; }
.tiles p { margin: 0; font: 14px/1.45 var(--sans); color: var(--ink2); }
.tiles .tile:hover h4 { color: var(--red); }
.signup { margin-top: 18px; }
.signup p { font: 14px/1.5 var(--sans); }
.signupform { margin-top: 10px; }
.jobgrid > * { min-width: 0; }
.jobgrid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-top: 10px; }
.toc { position: sticky; top: 16px; align-self: start; font: 14px/1.5 var(--sans); }
.toc ol { padding-left: 18px; margin: 0 0 10px; }
.toc li { margin-bottom: 6px; }
.jobsec { border-top: 1px solid var(--hair); padding-top: 6px; margin-top: 26px; }
.jobsec:first-child { border-top: 0; margin-top: 0; }
.jobbody table.t { min-width: 0; }
.jobbody .tw table.t { min-width: 680px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.two h3 { margin-top: 6px; }
.redflag li::marker { color: var(--red); }
.cityrow td:first-child { font-weight: 700; white-space: nowrap; }
@media (max-width: 880px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--hair); }
  .jobgrid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .two { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  .sections, .signup, footer, .toc .box { display: none; }
  body { font-size: 12pt; }
}
