/* Monterey Tribune: "First Capital" design direction.
   Paper #FAF7F1, ink #161310, charcoal #35312A.
   Adobe #9C4B2E appears in exactly three places: the masthead double
   rule, the section kickers, and the Subscribe button. Breaking news
   stays signal red. Everything else is ink, charcoal, and hairlines. */

:root {
  --paper: #FAF7F1;
  --ink: #161310;
  --charcoal: #35312A;
  --muted: #6F6659;
  --hairline: #E2D8C2;
  --adobe: #9C4B2E;
  --red: #B3261E;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

main { display: block; }

/* ------------------------------------------------ top utility bar */
.topbar {
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 12px;
}
.topbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.tb-date { color: var(--charcoal); letter-spacing: 0.04em; }
.acts { display: flex; align-items: center; gap: 16px; }
.tlink { color: var(--charcoal); font-size: 12px; letter-spacing: 0.04em; }
.btn-sub {
  background: var(--adobe);
  color: #FAF7F1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
}
.btn-sub:hover { text-decoration: none; opacity: 0.92; }

/* ------------------------------------------------ masthead */
.blackbar {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 34px 20px 30px;
  border-bottom: 5px double var(--adobe);
}
.nameplate {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-indent: 0.22em;
}
.nameplate a { color: var(--paper); }
.nameplate a:hover { text-decoration: none; }
.dateline {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #CFC4B0;
  text-indent: 0.28em;
}
.dsep { margin: 0 10px; color: var(--adobe); }
.tagline {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9A8F7D;
}

/* ------------------------------------------------ section nav */
.sections {
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
}
.sections .inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.sections .inner a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 2px 0;
}
.sections .inner a.on { color: var(--adobe); font-weight: 700; }
.sections-menu { display: none; }
.menu-panel { display: none; }

/* ------------------------------------------------ breaking */
.breaking { background: var(--red); color: #fff; font-family: var(--sans); }
.breaking .inner {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
}
.blabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 3px 8px;
  white-space: nowrap;
}
.breaking a { color: #fff; text-decoration: underline; }

/* ------------------------------------------------ homepage lead */
.lead { padding: 30px 0 8px; }
.leadimg-wrap { position: relative; }
.lead-img img { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.kicktag {
  position: absolute;
  left: 0;
  bottom: -14px;
  background: var(--adobe);
  padding: 7px 14px;
}
.kicktag a {
  color: #FAF7F1;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicktag a:hover { text-decoration: none; }
.lead .caption {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.lead-text h1 {
  font-size: 40px;
  line-height: 1.08;
  font-weight: 600;
  margin: 14px 0 0;
  letter-spacing: -0.01em;
}
.leadrule {
  height: 0;
  border-top: 2px solid var(--ink);
  margin: 16px 0;
  max-width: 120px;
}
.dek {
  font-size: 19px;
  line-height: 1.45;
  color: var(--charcoal);
  margin: 0 0 12px;
}
.by, .byline {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.by a, .byline a { color: var(--charcoal); }
.by b, .byline b { color: var(--ink); }

/* ------------------------------------------------ cards */
.kick {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.kick a { color: var(--adobe); }

.top3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: 26px 0;
}
.tstory h2, .scard h3, .sitem h3, .relcard h3, .op-card h3 {
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.tstory h2 { font-size: 22px; }
.tstory p, .scard p, .sitem p, .relcard .p-dek, .op-card .odek {
  font-size: 15.5px;
  color: var(--charcoal);
  margin: 0 0 10px;
  line-height: 1.5;
}
.p-img { display: block; margin-bottom: 12px; }
.p-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ------------------------------------------------ front columns */
.front-cols {
  display: grid;
  grid-template-columns: 1fr 300px 220px;
  gap: 36px;
  padding: 10px 0 30px;
}
.modhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 18px;
}
.modhead h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}
.modhead h2 a:hover { text-decoration: none; }
.all {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.secblock { margin-bottom: 34px; }
.srow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sitem { padding: 0; }
.scard .p-img img { aspect-ratio: 16 / 10; }

.lrow {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 13.5px;
}
.lrow .t { color: var(--muted); font-size: 12px; white-space: nowrap; min-width: 52px; }
.lrow a { color: var(--ink); }
.lrow .sec { margin-left: auto; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }

.mostread ol { margin: 0; padding: 0 0 0 22px; }
.mostread li { margin: 0 0 12px; font-size: 15.5px; line-height: 1.4; }
.mostread li::marker { color: var(--muted); font-family: var(--sans); font-size: 13px; }

/* ------------------------------------------------ opinion */
.opinion { border-top: 1px solid var(--hairline); padding: 26px 0 10px; }
.opinlabel {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.op-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.op-card h3 { font-size: 20px; }

/* ------------------------------------------------ newsletter */
.newsletter {
  border: 1px solid var(--hairline);
  background: #F4EEE1;
  padding: 30px;
  margin: 10px 0 34px;
  text-align: center;
}
.newsletter h2 { font-size: 26px; margin: 0 0 8px; font-weight: 600; }
.newsletter > p { color: var(--charcoal); font-size: 15.5px; margin: 0 auto 16px; max-width: 560px; }
.newsletterform { display: flex; gap: 10px; justify-content: center; max-width: 480px; margin: 0 auto; }
.newsletterform input[type="email"] {
  flex: 1;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  font-family: var(--sans);
}
.newsletterform button {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 11px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.fine { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 12px; }
.form-status { font-family: var(--sans); font-size: 13px; color: var(--adobe); min-height: 1.2em; }

/* ------------------------------------------------ article */
.article { max-width: 700px; margin: 0 auto; padding: 34px 0 10px; }
.article .kick { margin-bottom: 10px; }
.article h1 {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.article .dek { font-size: 20px; }
.article .byline { margin: 0 0 22px; line-height: 1.7; }
.byline .dateline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.article figure { margin: 26px 0; }
.article figure.hero { margin-top: 6px; }
.article .caption {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.5;
  margin-top: 10px;
}
.credit {
  font-size: 8px;
  line-height: 1.4;
  color: #6b6257;
  opacity: 0.55;
  margin-top: 5px;
  font-family: var(--sans);
}
.bodycopy { font-size: 19px; line-height: 1.68; }
.bodycopy p { margin: 0 0 1.3em; }
.bodycopy figure img { width: 100%; }

.share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  margin: 26px 0;
  font-family: var(--sans);
  font-size: 13px;
}
.share span:first-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.share a { color: var(--charcoal); }
.shcopy, .shnative { cursor: pointer; }

.tags { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0 0 26px; }
.tags b { color: var(--charcoal); font-weight: 600; }
.tags ul { display: inline; margin: 0; padding: 0; list-style: none; }
.tags li { display: inline; }
.tags li::after { content: ", "; }
.tags li:last-child::after { content: ""; }

.authorbox {
  border-top: 2px solid var(--ink);
  padding: 16px 0;
  margin: 0 0 8px;
}
.aname { font-size: 18px; font-weight: 600; }
.arole { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.authorbox p { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--charcoal); margin: 8px 0 0; }

.corrections {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--charcoal);
  border: 1px solid var(--hairline);
  padding: 14px 16px;
  margin: 0 0 30px;
  line-height: 1.55;
}
.corrections strong { letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }

.relcards { max-width: 1100px; margin: 10px auto 0; padding: 10px 0 40px; }
.relcard { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.readnext {
  display: block;
  border-top: 2px solid var(--ink);
  padding: 18px 0 40px;
}
.readnext .rk {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.readnext .rlink {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

/* ------------------------------------------------ section fronts */
.sechead { padding: 34px 0 6px; border-bottom: 2px solid var(--ink); margin-bottom: 26px; }
.sechead h1 { font-size: 40px; margin: 0 0 8px; font-weight: 600; letter-spacing: -0.01em; }
.secdek { font-size: 18px; color: var(--charcoal); margin: 0 0 6px; max-width: 720px; }
.seclead { margin-bottom: 30px; }
.seclead h2 { font-size: 30px; line-height: 1.15; margin: 12px 0 10px; font-weight: 600; }
.secdate { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.nodek { color: var(--muted); font-style: italic; }

/* ------------------------------------------------ listing / utility pages */
.mono { font-family: var(--sans); }
.searchbox { margin: 20px 0 30px; display: flex; gap: 10px; }
.searchbox input {
  flex: 1;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid var(--hairline);
  font-family: var(--sans);
  background: #fff;
}
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.btn.solid { background: var(--ink); color: var(--paper); }
.btn:hover { text-decoration: none; opacity: 0.9; }

.contactform { max-width: 620px; margin: 20px 0 40px; }
.contactform label { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.contactform input, .contactform select, .contactform textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid var(--hairline);
  font-family: var(--sans);
  background: #fff;
}
.contactform button { margin-top: 18px; }

.staffgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 24px 0 40px; }
.staff { border-top: 2px solid var(--ink); padding-top: 12px; }
.sname { font-size: 19px; font-weight: 600; }
.sname a:hover { text-decoration: none; }
.srole { font-family: var(--sans); font-size: 12.5px; color: var(--adobe); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.sbeat { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.authorpage { max-width: 700px; margin: 0 auto; padding: 34px 0 40px; }
.authorpage h1 { font-size: 34px; margin: 0 0 6px; font-weight: 600; }
.arole { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.t { font-family: var(--sans); }

/* ------------------------------------------------ footer */
footer { background: var(--ink); color: #D8CDB8; margin-top: 50px; }
footer .inner { padding-top: 44px; padding-bottom: 30px; }
footer a { color: #EDE4D2; }
footer a:hover { color: #FAF7F1; }
.f-word {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 6px;
  text-indent: 0.18em;
}
.f-parent { font-family: var(--sans); font-size: 13px; color: #B7A98F; margin: 0 0 14px; }
.f-parent a { color: #EDE4D2; }
.f-mission { font-size: 15px; line-height: 1.6; color: #CFC4B0; max-width: 640px; margin: 0 0 10px; }
.f-church { font-family: var(--sans); font-size: 12.5px; color: #9A8F7D; margin: 0 0 26px; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 0 30px; }
.f-cols h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9A8F7D;
  margin: 0 0 12px;
}
.f-cols ul { list-style: none; margin: 0; padding: 0; }
.f-cols li { margin: 0 0 8px; font-family: var(--sans); font-size: 13.5px; }
.f-cols .f-secs ul { columns: 2; column-gap: 28px; }
.f-cols .f-secs li { break-inside: avoid; }
.f-cols li a { color: #EDE4D2; }
.f-foot {
  border-top: 1px solid #3A342A;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: #9A8F7D;
}
.f-foot a { color: #EDE4D2; }
.cy { color: #9A8F7D; }

/* ------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .front-cols { grid-template-columns: 1fr 280px; }
  .frail { grid-column: 1 / -1; }
  .staffgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nameplate { font-size: 27px; letter-spacing: 0.14em; text-indent: 0.14em; }
  .blackbar { padding: 24px 14px 22px; }
  .sections .inner { display: none; }
  .sections-menu { display: block; }
  .sections-menu summary {
    list-style: none;
    cursor: pointer;
    text-align: center;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 12px;
    color: var(--charcoal);
  }
  .sections-menu summary::-webkit-details-marker { display: none; }
  .sections-menu[open] .menu-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 18px;
    padding: 6px 24px 18px;
  }
  .menu-panel a {
    font-family: var(--sans);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline);
    color: var(--charcoal);
  }
  .menu-panel a.on { color: var(--adobe); font-weight: 700; }
  .lead-text h1 { font-size: 30px; }
  .top3 { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; }
  .front-cols { grid-template-columns: 1fr; }
  .op-cards { grid-template-columns: 1fr; }
  .article h1 { font-size: 29px; }
  .bodycopy { font-size: 18px; }
  .sechead h1 { font-size: 30px; }
  .staffgrid { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .f-cols .f-secs { grid-column: 1 / -1; }
  .newsletterform { flex-direction: column; }
  .tb-date { font-size: 11px; }
}
