/* Theme "broadsheet": a classic all-serif editorial-newspaper look - a
   large centered masthead wordmark between hairline rules, a "Today,
   <date>" ticking corner label, a muted navy-blue kicker/link color, plain
   uppercase section labels with a thin rule (no pill, no bullet, no
   underline block), and text-first list rows with no thumbnails for
   secondary headlines. Square corners and hairline dividers everywhere -
   no rounded cards, no shadows. Same class-name contract as the other
   themes (see functions/_themes/broadsheet.js). */
:root {
  --ink: #1a1a1a; --muted: #6b6b6b; --line: #d8d8d4; --paper: #ffffff;
  --accent: #34557f; --accent-ink: #ffffff; --sidebar-bg: #faf9f6; --live: #b3241c;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body { font-family: Georgia, 'Times New Roman', serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0; font-weight: 800; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.placeholder-img { background: repeating-linear-gradient(45deg, #f0efe9, #f0efe9 10px, #e6e4dc 10px, #e6e4dc 20px); display: flex; align-items: center; justify-content: center; color: #999288; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; object-fit: cover; }

.topbar { background: #fff; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); font-family: Georgia, serif; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 9px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; gap: 6px; align-items: baseline; font-style: italic; }
.today-label { font-weight: 700; font-style: normal; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.social-dot { width: auto; height: auto; border-radius: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; font-family: -apple-system, Segoe UI, sans-serif; }
.social-dot:hover { color: var(--accent); }

.site-header { background: #fff; border-bottom: 3px double var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: center; padding: 30px 24px 24px; border-top: 1px solid var(--line); }
.logo-group { display: flex; align-items: center; gap: 8px; flex-direction: column; }
.logo-img { height: 70px; width: auto; max-width: 440px; object-fit: contain; flex-shrink: 0; }
.site-name { font-size: 44px; font-weight: 800; letter-spacing: -.01em; text-align: center; font-family: 'Playfair Display', Georgia, serif; }
.site-tagline { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; text-transform: uppercase; letter-spacing: .16em; font-weight: 400; font-style: italic; font-family: Georgia, serif; }

.main-nav { background: #fff; border-bottom: 1px solid var(--ink); }
.main-nav .wrap { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; padding: 13px 0; }
.main-nav a { color: var(--ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 18px; font-family: -apple-system, Segoe UI, sans-serif; border-right: 1px solid var(--line); }
.main-nav a:last-child { border-right: none; }
.main-nav a.home { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.main-nav a:hover:not(.home) { color: var(--accent); }

.layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 36px 24px 20px; max-width: 1180px; margin: 0 auto; align-items: start; }

.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; font-family: -apple-system, sans-serif; }
.breadcrumb a { font-weight: 700; color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* Plain uppercase section label with a thin rule underneath - this
   theme's recurring motif (no pill, no bullet, no underline block). */
.section-heading { display: block; margin: 0 0 24px; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
.section-heading h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-family: -apple-system, Segoe UI, sans-serif; display: inline; }
.section-heading .see-all { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; float: right; font-family: -apple-system, sans-serif; }
section.cat-section { margin-bottom: 44px; }

.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; margin-bottom: 44px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.hero-main { position: relative; display: block; }
.hero-main .placeholder-img, .hero-main img { width: 100%; height: 320px; margin-bottom: 14px; }
.cat-tag { color: var(--accent); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; background: transparent; padding: 0; border-radius: 0; display: inline-block; font-family: -apple-system, Segoe UI, sans-serif; }
.hero-main h1 { font-size: 32px; line-height: 1.18; margin: 8px 0 10px; }
.hero-main p { color: #4a4a4a; font-size: 15.5px; margin: 0 0 8px; font-weight: 400; }
.meta { color: var(--muted); font-size: 12px; font-weight: 400; font-family: -apple-system, Segoe UI, sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.hero-side { display: flex; flex-direction: column; gap: 0; }
.hero-side-item { display: flex; gap: 0; padding: 16px 0; border-top: 1px solid var(--line); flex-direction: column; }
.hero-side-item:first-child { border-top: none; padding-top: 0; }
.hero-side-item .placeholder-img, .hero-side-item img { display: none; }
.hero-side-item h3 { font-size: 17px; line-height: 1.32; margin: 3px 0; }
.hero-side-item .cat-tag { margin-bottom: 4px; }

.tech-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-item { border-left: none; border-right: 1px solid var(--line); padding-right: 20px; padding-left: 0; display: block; }
.tech-item:last-child { border-right: none; }
.tech-item .placeholder-img, .tech-item img { display: none; }
.tech-item h3 { font-size: 15.5px; line-height: 1.32; }

.picks-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; background: transparent; padding: 0; border-radius: 0; border-top: 1px solid var(--ink); padding-top: 26px; }
.picks-feature { display: block; }
.picks-feature .placeholder-img, .picks-feature img { width: 100%; height: 220px; margin-bottom: 14px; font-size: 10px; }
.picks-feature h3 { font-size: 23px; line-height: 1.28; margin: 8px 0; }
.picks-list { list-style: none; margin: 0; padding: 0; counter-reset: pick; }
.picks-list li { counter-increment: pick; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.picks-list li:last-child { border-bottom: none; }
.picks-list li::before { content: counter(pick); font-size: 22px; font-weight: 700; color: #c9c4b8; width: 28px; flex-shrink: 0; font-family: 'Playfair Display', serif; }
.picks-list .p-title { font-size: 15px; font-weight: 700; line-height: 1.34; }

.lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lifestyle-card { position: static; overflow: visible; height: auto; display: block; }
.lifestyle-card .placeholder-img, .lifestyle-card img { width: 100%; height: 160px; margin-bottom: 12px; }
.lifestyle-overlay { position: static; padding: 0; background: none; color: var(--ink); }
.lifestyle-overlay h3 { color: var(--ink); font-size: 16.5px; margin-top: 0; }

.travel-feature { display: grid; grid-template-columns: 1.4fr 1fr; background: transparent; color: var(--ink); overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 0; }
.travel-feature .placeholder-img, .travel-feature > img { width: 100%; height: 100%; min-height: 240px; }
.travel-copy { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.travel-copy h3 { color: var(--ink); font-size: 24px; margin: 10px 0 12px; line-height: 1.28; }
.travel-copy p { color: #4a4a4a; font-size: 14.5px; margin: 0; font-weight: 400; }
.travel-small { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.travel-small .placeholder-img, .travel-small img { display: none; }
.travel-small h3 { font-size: 15.5px; line-height: 1.32; }

.business-list { border-top: 1px solid var(--ink); }
.business-row { display: flex; gap: 0; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
.business-row .placeholder-img, .business-row img { display: none; }
.business-row h3 { font-size: 16px; line-height: 1.32; margin: 0; }

.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.popular-list li { counter-increment: pop; display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.popular-list li::before { content: counter(pop); font-size: 22px; font-weight: 700; color: #c9c4b8; width: 28px; flex-shrink: 0; font-family: 'Playfair Display', serif; }
.popular-list .pop-title { font-size: 15px; font-weight: 700; line-height: 1.34; }

.cta-banner { background: var(--sidebar-bg); color: var(--ink); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 46px; flex-wrap: wrap; border-radius: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cta-banner h2 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.cta-banner p { margin: 0; font-size: 14px; color: var(--muted); font-weight: 400; }
.cta-form { display: flex; gap: 10px; flex-shrink: 0; }
.cta-form input { padding: 11px 14px; border: 1px solid var(--ink); border-radius: 0; font-size: 13.5px; width: 220px; font-family: -apple-system, sans-serif; }
.cta-form button { padding: 11px 22px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; font-family: -apple-system, sans-serif; }

.widget { background: transparent; border: none; border-top: 2px solid var(--ink); border-radius: 0; padding: 18px 0 0; margin-bottom: 30px; }
.widget h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; margin-bottom: 16px; color: var(--ink); font-family: -apple-system, Segoe UI, sans-serif; }
.weather-widget { background: var(--sidebar-bg); border-top: none; padding: 18px; }
.weather-widget h3 { color: var(--ink); }
.weather-now { display: flex; align-items: center; justify-content: space-between; }
.weather-now .temp-big { font-size: 36px; font-weight: 700; font-family: 'Playfair Display', serif; }
.weather-now .cond { font-size: 13px; color: var(--muted); }
.weather-date { font-size: 12px; color: var(--muted); margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-family: -apple-system, sans-serif; }
.weather-date .clock { font-weight: 700; color: var(--ink); font-size: 14px; }
.trending-list { list-style: none; margin: 0; padding: 0; counter-reset: trend; }
.trending-list li { counter-increment: trend; display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.trending-list li:last-child { border-bottom: none; padding-bottom: 0; }
.trending-list li::before { content: counter(trend); font-size: 20px; font-weight: 700; color: #c9c4b8; flex-shrink: 0; width: 24px; font-family: 'Playfair Display', serif; }
.trending-list .t-title { font-size: 14px; font-weight: 700; line-height: 1.32; }
.trending-list .t-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; font-family: -apple-system, sans-serif; text-transform: uppercase; }
.newsletter-widget p { font-size: 13px; color: var(--muted); margin: 0 0 14px; font-weight: 400; }
.newsletter-widget input { width: 100%; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 0; font-size: 13px; margin-bottom: 10px; font-family: -apple-system, sans-serif; }
.newsletter-widget button { width: 100%; padding: 10px; background: var(--ink); color: #fff; border: none; border-radius: 0; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; font-family: -apple-system, sans-serif; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: transparent; border: 1px solid var(--line); padding: 6px 13px; border-radius: 0; font-size: 12px; font-weight: 700; font-family: -apple-system, sans-serif; }
.tag-cloud a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social-row { display: flex; gap: 10px; }
.social-row a { flex: 1; background: transparent; border: 1px solid var(--line); border-radius: 0; text-align: center; padding: 11px 6px; font-size: 11.5px; font-weight: 700; font-family: -apple-system, sans-serif; }
.ad-widget { border: 1px dashed var(--line); background: transparent; text-align: center; color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 56px 10px; border-radius: 0; font-family: -apple-system, sans-serif; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px 30px; }
.post-card { display: block; position: relative; }
.post-card .placeholder-img, .post-card img { width: 100%; height: 160px; margin-bottom: 12px; font-size: 10px; }
.post-card h3 { font-size: 17px; line-height: 1.32; margin: 6px 0 6px; }
.post-card p { font-size: 14px; color: #4a4a4a; margin: 0 0 8px; font-weight: 400; }

.category-title { font-size: 32px; margin: 0 0 8px; font-family: 'Playfair Display', serif; }
.category-desc { font-size: 14.5px; color: var(--muted); margin: 0 0 28px; font-weight: 400; font-style: italic; }
.pagination { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ink); font-weight: 700; font-family: -apple-system, sans-serif; text-transform: uppercase; font-size: 12.5px; letter-spacing: .05em; }
.pagination a { color: var(--accent); }

.single-post { max-width: 760px; }
.single-post-header h1 { font-size: 38px; line-height: 1.2; margin: 10px 0 16px; }
.single-post-headline { width: 100%; max-height: 470px; object-fit: cover; margin: 22px 0 30px; }
.single-post-content { font-size: 19px; font-weight: 400; }
.single-post-content p { margin: 0 0 24px; }
.single-post-content h2 { font-size: 26px; margin: 38px 0 16px; }
.single-post-content h3 { font-size: 21px; margin: 30px 0 12px; }
.single-post-content img { margin: 26px 0; width: 100%; }
.single-post-content a { color: var(--accent); text-decoration: underline; }

.related-posts { max-width: 760px; margin: 60px 0 0; border-top: 2px solid var(--ink); padding-top: 30px; }
.related-posts h2 { font-size: 19px; margin-bottom: 20px; font-family: -apple-system, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

.site-footer { background: #fff; color: var(--muted); padding: 46px 24px 20px; margin-top: 20px; border-top: 3px double var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-grid h4 { color: var(--ink); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; font-family: -apple-system, sans-serif; font-weight: 700; }
.footer-grid p { font-size: 13.5px; color: var(--muted); line-height: 1.6; font-weight: 400; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 13.5px; }
.footer-bottom { padding-top: 16px; font-size: 12px; color: #9a9a9a; font-family: -apple-system, sans-serif; text-align: center; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state h1 { color: var(--ink); font-size: 30px; }
.btn { display: inline-block; margin-top: 16px; background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 0; font-weight: 700; font-family: -apple-system, sans-serif; }

.featured-ribbon {
  display: inline-flex; align-items: center; gap: 4px; background: var(--live); color: #fff;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 0; margin-bottom: 6px; font-family: -apple-system, sans-serif;
}
.single-post-header .featured-ribbon { margin: 6px 0; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-pill-link { background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 0; border: 1px solid var(--line); font-family: -apple-system, sans-serif; }
.tag-pill-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.search-form { display: flex; gap: 10px; margin: 0 0 24px; }
.search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 0; font-size: 15px; font-family: Georgia, serif; }
.search-form button { background: var(--ink); color: #fff; border: none; border-radius: 0; padding: 0 22px; font-weight: 700; cursor: pointer; font-family: -apple-system, sans-serif; text-transform: uppercase; font-size: 12.5px; letter-spacing: .05em; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .hero, .picks-split, .travel-feature { grid-template-columns: 1fr; }
  .tech-row, .lifestyle-grid, .travel-small, .popular-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-name { font-size: 32px; }
}
