:root{--navy:#173451;--burgundy:#7b2937;--green:#344f38;--cream:#eee8dc;--paper:#fffdf8;--ink:#202326;--gold:#b19255;--rule:#d8cebc}
*{box-sizing:border-box}
html{background:var(--cream)}
body{margin:0;color:var(--ink);font-family:Georgia,'Times New Roman',serif;background:linear-gradient(90deg,#e6dfd2,#f4efe6 20%,#f4efe6 80%,#e6dfd2)}
.site-shell{width:min(1160px,calc(100% - 36px));margin:20px auto;background:var(--paper);box-shadow:0 8px 35px #443a2e26;border:1px solid #d8cebc}
.masthead{height:138px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;background:linear-gradient(#fffefb,#f8f1e4);border-bottom:1px solid #d7c9ad}
.brand{text-align:center;text-decoration:none;color:var(--navy);display:flex;flex-direction:column;font-size:clamp(2.65rem,5vw,4.65rem);line-height:.88;font-weight:700;z-index:1}
.brand .the{font-size:.26em;font-style:italic;color:var(--burgundy);margin-bottom:.3rem}
.brand small{font:600 clamp(.58rem,1vw,.76rem)/1.3 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;margin-top:.8rem;color:var(--green)}
.magnolia{position:absolute;font-size:9.5rem;color:#fff;text-shadow:0 3px 15px #9b8b7040;-webkit-text-stroke:1.5px #8b9b7b;line-height:1;opacity:.62}
.magnolia-left{left:18px;transform:rotate(-18deg)}
.magnolia-right{right:18px;transform:rotate(18deg)}
.nav{background:var(--navy);display:flex;justify-content:center;flex-wrap:wrap;border-bottom:3px solid var(--burgundy)}
.nav a{color:#fff;text-decoration:none;padding:.7rem .92rem;font:700 .72rem system-ui,sans-serif;text-transform:uppercase;letter-spacing:.07em}
.nav a:hover,.nav a:focus{background:var(--burgundy)}
.page{padding:15px 18px 28px}
.edition-rule{display:flex;align-items:center;gap:12px;margin:0 0 12px;color:var(--burgundy);font:700 .67rem system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.edition-rule:before,.edition-rule:after{content:"";height:1px;background:var(--rule);flex:1}
.lead-grid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(235px,.8fr);gap:16px}
.slider{height:405px;position:relative;overflow:hidden;background:#d9d2c5;border:1px solid #cfc4b1}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .5s}
.slide.active{opacity:1;z-index:1}
.slide img{width:100%;height:100%;object-fit:cover}
.slide-shade{position:absolute;inset:auto 0 0;padding:2.35rem 1.6rem 1rem;color:white;background:linear-gradient(transparent,#09131df2)}
.slide h1{font-size:clamp(1.65rem,2.8vw,2.65rem);line-height:1.02;margin:.2rem 0}
.slide a{color:white;text-decoration:none}
.slide p{max-width:46rem;font-size:.94rem;line-height:1.3;margin:.4rem 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.kicker{font:800 .68rem system-ui,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:var(--burgundy)}
.slide .kicker{color:#efcf8c}
.slide-prev,.slide-next{position:absolute;z-index:3;top:43%;border:0;background:#0e253ab8;color:#fff;width:36px;height:48px;font-size:1.7rem;cursor:pointer}
.slide-prev{left:0}
.slide-next{right:0}
.slide-dots{position:absolute;z-index:3;right:1rem;bottom:1rem;display:flex;gap:.4rem}
.slide-dots button{width:10px;height:10px;border:1px solid #fff;border-radius:50%;background:transparent;padding:0}
.slide-dots button.active{background:#fff}
.latest{background:#fbf7ef;border-top:4px solid var(--burgundy);padding:.85rem 1rem;min-width:0}
.latest h2{margin:0 0 .3rem;color:var(--navy);font-size:1.5rem;border-bottom:1px solid var(--rule);padding-bottom:.45rem}
.latest a{display:block;padding:.62rem 0;border-bottom:1px solid #ded6c8;color:var(--ink);text-decoration:none;font-size:.94rem;line-height:1.18;font-weight:700}
.latest a:last-child{border-bottom:0}
.latest a:hover{color:var(--burgundy)}
.latest a span{display:block;color:var(--burgundy);font:700 .58rem system-ui,sans-serif;text-transform:uppercase;margin-bottom:.2rem}
.small-features{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:15px 0 0;padding-bottom:15px;border-bottom:1px solid var(--rule)}
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:15px 0}
.story-card{background:var(--paper);border-bottom:2px solid var(--green);box-shadow:0 2px 9px #493e301a}
.story-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#e2dacd}
.story-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.story-card:hover img{transform:scale(1.025)}
.story-copy{padding:.72rem .8rem .8rem}
.story-copy h3{font-size:1.22rem;line-height:1.12;margin:.26rem 0}
.story-copy a{color:var(--navy);text-decoration:none}
.story-copy a:hover{color:var(--burgundy)}
.story-copy p{font-size:.89rem;line-height:1.38;margin:.42rem 0}
.story-copy time{font:500 .67rem system-ui,sans-serif;color:#68635b}
.small-card{border-bottom-color:var(--burgundy)}
.small-card .story-copy h3{font-size:1.25rem}
.section-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid var(--navy);margin-top:22px}
.section-heading h2{margin:0;color:var(--navy);font-size:1.8rem;line-height:1}
.section-heading a{color:var(--burgundy);padding:.45rem;text-decoration:none;font-size:.82rem}
.article{max-width:900px;margin:1.5rem auto;background:var(--paper);padding:clamp(1.2rem,5vw,3.5rem);box-shadow:0 4px 20px #30251418}
.article h1{font-size:clamp(2.1rem,4vw,3.25rem);line-height:.98;color:var(--navy);margin:.4rem 0 1rem}
.dek{font-size:1.25rem;line-height:1.45;color:#555}
.byline{font:600 .8rem system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em;border-top:1px solid #ddd;padding-top:1rem}
.article figure{margin:2rem -2rem}
.article figure img{width:100%;max-height:620px;object-fit:cover}
.article figcaption{font:.8rem system-ui,sans-serif;color:#666;padding:.4rem 2rem}
.article-body{font-size:1.15rem;line-height:1.72}
.article-body a,.source a{color:var(--burgundy)}
.article-body blockquote{border-left:4px solid var(--gold);margin:2rem 0;padding:.2rem 1.5rem;color:#4b4339;font-style:italic}
.source{border-top:1px solid #ddd;padding-top:1rem}
.archive-head{text-align:center;padding:1.5rem}
.archive-head h1{font-size:2.6rem;color:var(--navy);margin:.3rem}
.pagination{display:flex;justify-content:center;gap:.3rem;margin:2rem}
.pagination a{padding:.6rem .8rem;background:white;color:var(--navy);text-decoration:none;border:1px solid #ccc}
.pagination a.active{background:var(--navy);color:white}
.empty{text-align:center;padding:3.5rem 1rem;background:var(--paper)}
footer{background:#142b43;color:#fff;padding:1.35rem 2rem;display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;font:500 .78rem system-ui,sans-serif}
footer a{color:#efcf8c}
@media(max-width:900px){.site-shell{width:min(100% - 20px,1160px);margin:10px auto}
.magnolia{opacity:.25}
.lead-grid{grid-template-columns:1fr}
.slider{height:420px}
.latest{display:grid;grid-template-columns:repeat(2,1fr);gap:0 1rem}
.latest h2{grid-column:1/-1}
.small-features,.story-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:580px){body{background:var(--paper)}
.site-shell{width:100%;margin:0;border:0;box-shadow:none}
.page{padding:10px}
.masthead{height:125px}
.brand{font-size:2.5rem}
.brand small{letter-spacing:.09em}
.nav a{padding:.62rem .52rem;font-size:.62rem}
.slider{height:375px}
.slide-shade{padding:2.15rem 1rem .9rem}
.slide h1{font-size:1.85rem}
.latest{display:none}
.small-features,.story-grid{grid-template-columns:1fr}
.story-card{display:grid;grid-template-columns:38% 1fr}
.story-image{height:100%;aspect-ratio:auto;min-height:120px}
.story-copy p{display:none}
.article{padding:1.1rem}
.article figure{margin:1.5rem -1.1rem}
.section-heading{align-items:center}
.section-heading h2{font-size:1.5rem}
}

/* Gazette search */

.gazette-search {
    max-width: 680px;
    margin: 1.25rem auto 1rem;
}

.gazette-search > label {
    display: block;
    margin-bottom: .45rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    color: #173451;
}

.gazette-search-row {
    display: flex;
    width: 100%;
}

.gazette-search-row input {
    flex: 1;
    min-width: 0;
    padding: .75rem .9rem;
    border: 1px solid #9ca79d;
    border-right: 0;
    background: #fff;
    font: 1rem Georgia, "Times New Roman", serif;
    color: #182219;
}

.gazette-search-row input:focus {
    outline: 2px solid #8b2d2d;
    outline-offset: -2px;
}

.gazette-search-row button {
    padding: .75rem 1.25rem;
    border: 1px solid #173451;
    background: #173451;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}

.gazette-search-row button:hover {
    background: #28516f;
}

@media (max-width: 600px) {
    .gazette-search-row {
        display: block;
    }

    .gazette-search-row input,
    .gazette-search-row button {
        width: 100%;
        border: 1px solid #9ca79d;
    }

    .gazette-search-row button {
        margin-top: .4rem;
        border-color: #173451;
    }
}

/* =========================================================
   OVER-YONDER PRODUCTIONS FOOTER
   ========================================================= */

.gazette-footer {
  margin-top: 3.5rem;
  padding: 0 0 1.5rem;
  background: #f5f0e6;
  color: var(--navy);
  border-top: 1px solid #c8b560;
}

.gazette-footer .footer-rule {
  width: 94%;
  height: 3px;
  margin: 8px auto 0;
  border-top: 1px solid #c8b560;
  border-bottom: 1px solid #c8b560;
}

.footer-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.footer-house img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 1px solid #c8b560;
  padding: 5px;
  background: #fffdf8;
}

.footer-identity {
  text-align: center;
}

.footer-identity > strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.footer-motto {
  display: block;
  margin-top: .45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
}

.footer-over-yonder {
  margin: 1.4rem auto 1rem;
  padding: 1rem 0;
  max-width: 420px;
  border-top: 1px solid #c8b560;
  border-bottom: 1px solid #c8b560;
}

.footer-over-yonder span,
.footer-over-yonder small {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-over-yonder b {
  display: block;
  margin: .25rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.footer-editor {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-bottom {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem 2rem 0;
  text-align: center;
  border-top: 1px solid #d8cfbd;
  font-family: Georgia, "Times New Roman", serif;
}

.footer-bottom p {
  margin: .35rem 0;
}

.footer-bottom .fair-use {
  max-width: 780px;
  margin: 1rem auto 0;
  font-size: .72rem;
  line-height: 1.45;
  color: #625e56;
}

@media (max-width: 650px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-house img {
    margin: 0 auto;
    width: 160px;
    height: 160px;
  }
}


/* New Gazette footer reset — overrides original generic footer rule. */
footer.gazette-footer {
  display: block;
  justify-content: initial;
  gap: 0;
  flex-wrap: initial;
  padding: 0 0 1.5rem;
  background: #f5f0e6;
  color: var(--navy);
  font: inherit;
}

footer.gazette-footer a {
  color: var(--navy);
}

footer.gazette-footer .footer-house img {
  display: block;
  width: 180px;
  height: 180px;
  max-width: 100%;
  object-fit: cover;
}


/* Over-Yonder footer — final proportion refinement */
.footer-main {
  max-width: 820px;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  padding-top: 2.25rem;
}

footer.gazette-footer .footer-house img {
  width: 230px;
  height: 230px;
}

.footer-over-yonder b {
  font-size: 1.5rem;
}

@media (max-width: 650px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  footer.gazette-footer .footer-house img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}


/* Story page — prominent but restrained lead photograph */
.article > figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Letters to the Editor */
.letters-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px 28px 60px;
}

.letters-heading {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #c9a54a;
}

.letters-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: .72rem;
    letter-spacing: .18em;
    color: #87661f;
}

.letters-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    font-weight: normal;
    color: #173451;
}

.letters-heading p {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    color: #555;
}

.letters-introduction {
    max-width: 720px;
    margin: 30px auto 36px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.65;
}

.letters-submit {
    margin-top: 25px;
    text-align: center;
}

.letters-submit a {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid #9b792c;
    color: #173451;
    text-decoration: none;
    font-weight: bold;
}

.letters-submit a:hover {
    background: #f2ecdc;
}

.letters-record {
    margin-top: 34px;
}

.letters-rule {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #87661f;
    font-size: .72rem;
    letter-spacing: .14em;
}

.letters-rule::before,
.letters-rule::after {
    content: "";
    height: 1px;
    background: #c9a54a;
    flex: 1;
}

.letters-empty {
    padding: 38px 20px 20px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
}

.letters-empty h2 {
    margin: 0 0 10px;
    color: #173451;
    font-weight: normal;
    font-size: 1.65rem;
}

.letters-empty p {
    margin: 0;
    color: #666;
    font-style: italic;
}

/* Published Letters to the Editor */
.published-letters {
    max-width: 780px;
    margin: 0 auto;
}

.published-letter {
    padding: 26px 0 30px;
    border-bottom: 1px solid #c9a54a;
}

.published-letter:first-child {
    padding-top: 22px;
}

.published-letter h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: normal;
    color: #173451;
}

.letter-body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.03rem;
    line-height: 1.65;
    color: #29261f;
}

.letter-body p {
    margin: 0 0 1em;
}

.letter-signature {
    margin-top: 18px;
    padding-left: 28px;
    border-left: 2px solid #c9a54a;
    font-family: Georgia, "Times New Roman", serif;
}

.letter-signature strong {
    display: block;
    color: #173451;
    font-size: .98rem;
}

.letter-signature span {
    display: block;
    margin-top: 2px;
    font-style: italic;
    color: #555;
}

.letter-signature time {
    display: block;
    margin-top: 5px;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #777;
}

@media (max-width: 650px) {
    .published-letter {
        padding: 20px 0 24px;
    }

    .letter-signature {
        padding-left: 18px;
    }
}

/* Final Letters signature refinement */
.published-letter .letter-signature {
    border-top: 0;
}
