/*
Theme Name: Cinnaminson Classic
Theme URI: https://cinnaminsonnews.com
Author: Cinnaminson News
Description: Design 1 — Classic Newspaper for Cinnaminson News, Burlington County NJ. Broadsheet masthead, The Wire ticker, hero top story with side rail, category section fronts, Most Read sidebar, coverage-towns strip and a four-column widget footer. Everything is changeable without code: hero and sections pull automatically from posts/categories, images are Featured Images, colors and texts live in the Customizer, navigation is a standard WordPress menu, footer columns are widget areas.
Version: 1.0.3
License: GPL v2 or later
Text Domain: cinnaminson-classic
*/
:root{
  --accent:#14264c; --accent2:#8c1d2f; --ink:#1a1a1a; --muted:#5c6066;
  --paper:#fdfcf8; --line:#d9d4c7; --card:#ffffff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:"Libre Franklin",Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.55}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
/* Masthead */
.topbar{border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);padding:6px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.masthead{text-align:center;padding:22px 0 14px;border-bottom:3px double var(--ink)}
.masthead .site-name{font-family:"Playfair Display",Georgia,serif;font-weight:900;font-size:clamp(38px,7vw,64px);letter-spacing:.5px;color:var(--ink);line-height:1.05}
.masthead .site-name a{color:var(--ink)}
.masthead .tagline{font-family:Georgia,serif;font-style:italic;color:var(--muted);margin-top:6px;font-size:15px}
/* Ticker */
.ticker{background:var(--accent);color:#fff;display:flex;align-items:stretch;overflow:hidden}
.ticker .wire{background:var(--accent2);font-weight:800;text-transform:uppercase;letter-spacing:1px;font-size:12px;padding:8px 14px;display:flex;align-items:center;white-space:nowrap}
.ticker .items{display:flex;gap:34px;align-items:center;padding:8px 14px;overflow-x:auto;white-space:nowrap;font-size:13.5px;scrollbar-width:none}
.ticker .items::-webkit-scrollbar{display:none}
.ticker a{color:#fff}
/* Nav */
.mainnav{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:2px solid var(--ink)}
.mainnav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px}
.mainnav li a{display:block;padding:11px 13px;font-weight:700;font-size:13.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--ink)}
.mainnav li a:hover{background:var(--accent);color:#fff;text-decoration:none}
/* Hero */
.hero{display:grid;grid-template-columns:2fr 1fr;gap:22px;padding:24px 0;border-bottom:1px solid var(--line)}
.hero .kicker,.kicker{color:var(--accent2);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:1.2px}
.hero h1,.hero h2{font-family:"Playfair Display",Georgia,serif;line-height:1.12;margin:8px 0 10px}
.hero h1{font-size:clamp(28px,4.4vw,44px)}
.hero .excerpt{color:#333;font-size:16.5px}
.byline{font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-top:10px}
.hero-img{aspect-ratio:16/9;overflow:hidden;background:#e8e2d2}
.hero-img img{width:100%;height:100%;object-fit:cover}
.ph{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--accent),#3d5178);color:#fff;font-family:Georgia,serif;font-style:italic;text-align:center;padding:12px;aspect-ratio:16/9}
.rail h3{font-family:"Playfair Display",Georgia,serif;border-bottom:2px solid var(--ink);padding-bottom:6px;margin:0 0 10px;font-size:19px}
.rail .rpost{padding:9px 0;border-bottom:1px solid var(--line)}
.rail .rpost a{font-weight:700;color:var(--ink);font-size:15.5px;line-height:1.3;display:block}
.rail .rpost .byline{margin-top:3px}
/* Sections */
.section{padding:24px 0;border-bottom:1px solid var(--line)}
.section-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:16px}
.section-head h2{font-family:"Playfair Display",Georgia,serif;margin:0;font-size:25px}
.section-head a{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--line)}
.card .thumb{aspect-ratio:16/10;overflow:hidden;background:#e8e2d2}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .body{padding:12px 14px 14px}
.card h3{font-family:Georgia,serif;font-size:18.5px;line-height:1.25;margin:6px 0 8px}
.card h3 a{color:var(--ink)}
.card p{margin:0;color:#3c3f44;font-size:14.5px}
.split{display:grid;grid-template-columns:2fr 1fr;gap:26px}
.listpost{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.listpost .thumb{aspect-ratio:4/3;overflow:hidden;background:#e8e2d2}
.listpost .thumb img{width:100%;height:100%;object-fit:cover}
.listpost h3{font-family:Georgia,serif;margin:4px 0 6px;font-size:19px}
.listpost h3 a{color:var(--ink)}
.listpost p{margin:0;font-size:14.5px;color:#3c3f44}
.mostread{counter-reset:mr}
.mostread li{list-style:none}
.mostread ol{margin:0;padding:0}
.mostread .mr{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);counter-increment:mr}
.mostread .num::before{content:counter(mr)}
.mostread .num{font-family:"Playfair Display",Georgia,serif;font-size:30px;font-weight:900;color:var(--accent2);line-height:1;min-width:30px}
.mostread a{font-weight:700;color:var(--ink)}
/* Towns + newsletter */
.towns{background:#f1ecdd;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;text-align:center}
.towns .t{font-family:Georgia,serif;font-size:17px;margin:0 8px;white-space:nowrap}
.newsletter{background:var(--accent);color:#fff;padding:28px 0;text-align:center}
.newsletter h2{font-family:"Playfair Display",Georgia,serif;margin:0 0 8px;font-size:27px}
.newsletter p{margin:0 auto 14px;max-width:560px;color:#e8ebf2}
.btn{display:inline-block;background:var(--accent2);color:#fff;font-weight:800;padding:11px 22px;border-radius:3px;text-transform:uppercase;letter-spacing:.6px;font-size:13.5px}
.btn:hover{background:#6f1625;text-decoration:none;color:#fff}
/* Article / archive */
.article{max-width:760px;margin:0 auto;padding:26px 0}
.article h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(28px,4.6vw,42px);line-height:1.15;margin:8px 0}
.article .content{font-size:17.5px}
.article .content p{margin:0 0 16px}
.archive-head{padding:22px 0 4px}
.archive-head h1{font-family:"Playfair Display",Georgia,serif;font-size:34px;margin:0}
.nav-links{display:flex;justify-content:space-between;padding:18px 0;font-weight:700}
.comments-closed{border:1px solid var(--line);background:#f5f1e6;padding:12px 16px;font-style:italic;color:var(--muted)}
/* Footer */
footer.site{background:#14161a;color:#cfd3da;margin-top:0}
footer.site .cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:32px 0 10px}
footer.site h3{color:#fff;font-family:"Playfair Display",Georgia,serif;font-size:18px;border-bottom:2px solid var(--accent2);padding-bottom:6px;margin:0 0 12px}
footer.site a{color:#cfd3da}
footer.site ul{list-style:none;margin:0;padding:0}
footer.site li{padding:4px 0}
footer.site .brand{font-family:"Playfair Display",Georgia,serif;font-size:24px;color:#fff;font-weight:900}
.copyright{border-top:1px solid #2b2f36;padding:14px 0;font-size:13px;color:#9aa0aa;text-align:center}
.widget{margin-bottom:18px}
.widget h3{font-size:15px;text-transform:uppercase;letter-spacing:.7px}
@media(max-width:860px){
  .hero,.split{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  footer.site .cols{grid-template-columns:1fr 1fr}
  .listpost{grid-template-columns:110px 1fr}
}
