/*
Theme Name: Top10 Vintage Press
Template: fresh-blog-lite
Description: Vintage newspaper aesthetic for listicle content. Newsprint background, blackletter masthead, Spectral body, Special Elite typewriter accents, sepia and wine-stamp accents, pulp-magazine layout.
Author: Doorway
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doorway-top10-vintage
*/

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,700;0,800;1,400;1,700&family=Special+Elite&family=UnifrakturMaguntia&display=swap');

body {
  font-family: "Spectral", "Crimson Text", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1C1410;
  background-color: #F5EFE2;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(168, 144, 112, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 144, 112, 0.06) 0%, transparent 50%);
}

h1, h2, h3, h4 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: #1C1410;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 4px double #1C1410;
  border-bottom: 1px solid #1C1410;
  padding: 0.6rem 0;
  margin: 2.5rem 0 1.25rem;
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-style: italic;
}

p {
  margin-bottom: 1.4em;
}

a {
  color: #7A1F2B;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: all 0.15s;
}

a:hover, a:focus {
  color: #2E4E3A;
  background: #E8DEC9;
}

blockquote, .wp-block-quote {
  border: none;
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #E8DEC9;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 1.0625rem;
  position: relative;
}

blockquote::before, .wp-block-quote::before {
  content: "❝";
  position: absolute;
  top: -0.4em;
  left: 0.4rem;
  font-size: 4rem;
  color: #7A1F2B;
  line-height: 1;
}

/* ── Hero: Newspaper masthead ─────────────────────────────────────── */

.wp-block-cover.top10-hero,
.wp-block-cover.hero-press {
  min-height: 65vh;
  background: #F5EFE2 !important;
  border-top: 6px solid #1C1410;
  border-bottom: 1px solid #1C1410;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wp-block-cover.top10-hero::before,
.wp-block-cover.hero-press::before {
  display: none;
}

.wp-block-cover.top10-hero::after,
.wp-block-cover.hero-press::after {
  content: "VOL. I  ★  EST. 2026  ★  PRINTED DAILY";
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Special Elite", monospace;
  font-size: 0.75rem;
  color: #1C1410;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.wp-block-cover.top10-hero .wp-block-cover__inner-container,
.wp-block-cover.hero-press .wp-block-cover__inner-container {
  text-align: center;
  max-width: 820px;
  padding: 4rem 2rem 3rem;
}

.wp-block-cover.top10-hero h1,
.wp-block-cover.hero-press h1,
.wp-block-cover.top10-hero .wp-block-post-title,
.wp-block-cover.hero-press .wp-block-post-title {
  color: #F5EFE2 !important;
  font-family: "Spectral", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1rem;
  border-bottom: 4px double #F5EFE2;
  padding-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.7);
}

.wp-block-cover.top10-hero .rank-badge {
  display: inline-block;
  background: #7A1F2B;
  color: #F5EFE2;
  font-family: "Spectral", serif;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border: 3px double #F5EFE2;
  text-shadow: none;
  margin-bottom: 1rem;
}

.wp-block-cover.top10-hero p,
.wp-block-cover.hero-press p,
.wp-block-cover.top10-hero .wp-block-post-excerpt,
.wp-block-cover.hero-press .wp-block-post-excerpt {
  color: #F5EFE2 !important;
  font-family: "Spectral", serif;
  font-size: 1.125rem;
  font-style: italic;
  letter-spacing: 0.02em;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.wp-block-cover.top10-hero::after,
.wp-block-cover.hero-press::after {
  color: #F5EFE2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ── Article grid: Front-page newspaper columns ────────────────── */

.top10-card-grid .wp-block-post-template,
.press-grid .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 4px double #1C1410;
  border-bottom: 4px double #1C1410;
}

.top10-card-grid .wp-block-post,
.press-grid .wp-block-post {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid #1C1410;
  position: relative;
}

.top10-card-grid .wp-block-post:nth-child(3n),
.press-grid .wp-block-post:nth-child(3n) {
  border-right: none;
}

.top10-card-grid .wp-block-post:nth-child(n+4),
.press-grid .wp-block-post:nth-child(n+4) {
  border-top: 1px solid #1C1410;
}

.top10-card-grid .wp-block-post-featured-image,
.press-grid .wp-block-post-featured-image {
  margin-bottom: 1rem;
  filter: sepia(0.35) contrast(1.1) brightness(0.95);
  border: 1px solid #1C1410;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.top10-card-grid .wp-block-post-featured-image img,
.press-grid .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top10-card-grid .wp-block-post-title,
.press-grid .wp-block-post-title {
  font-family: "Spectral", serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.top10-card-grid .wp-block-post-title a,
.press-grid .wp-block-post-title a {
  color: #1C1410;
  text-decoration: none;
}

.top10-card-grid .wp-block-post-title a:hover,
.press-grid .wp-block-post-title a:hover {
  color: #7A1F2B;
}

.top10-card-grid .wp-block-post-excerpt,
.press-grid .wp-block-post-excerpt {
  font-family: "Spectral", serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #3F2E20;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.top10-card-grid .wp-block-post-excerpt::first-letter,
.press-grid .wp-block-post-excerpt::first-letter {
  font-size: 2.6em;
  float: left;
  line-height: 0.85;
  padding: 0.1em 0.1em 0 0;
  font-weight: 700;
  color: #7A1F2B;
  font-style: normal;
}

.top10-card-grid .wp-block-post-date,
.press-grid .wp-block-post-date {
  font-family: "Special Elite", monospace;
  font-size: 0.7rem;
  color: #7A1F2B;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Navigation: top broadsheet ────────────────────────────────── */

.site-header {
  background: #F5EFE2;
  border-bottom: 4px double #1C1410;
  padding: 0.75rem 0;
}

.site-header .wp-block-navigation a {
  color: #1C1410 !important;
  padding: 8px 14px;
  font-family: "Special Elite", monospace;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-header .wp-block-navigation a:hover {
  color: #7A1F2B !important;
  background: #E8DEC9;
}

.site-header .wp-block-site-title a {
  font-family: "Spectral", serif;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #1C1410 !important;
  text-decoration: none;
}

/* ── Inline article images ───────────────────────────────────────── */

.wp-block-image, .doorway-inline-img {
  margin: 2.5rem 0;
}

.wp-block-image img, .doorway-inline-img img {
  filter: sepia(0.2) contrast(1.05);
  border: 1px solid #1C1410;
}

.wp-block-image figcaption, .doorway-inline-img figcaption {
  font-family: "Special Elite", monospace;
  font-size: 0.75rem;
  color: #3F2E20;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  font-style: normal;
}

/* ── Footer ──────────────────────────────────────────────────────── */

.site-footer {
  background: #1C1410;
  color: #E8DEC9;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  border-top: 6px solid #7A1F2B;
  font-size: 0.9rem;
}

.site-footer h2, .site-footer h3 {
  color: #F5EFE2;
  font-family: "Spectral", serif;
  text-transform: uppercase;
  border: none;
}

.site-footer a {
  color: #A89070;
  text-decoration: none;
}

.site-footer a:hover {
  color: #F5EFE2;
  background: transparent;
}

@media (max-width: 900px) {
  .top10-card-grid .wp-block-post-template,
  .press-grid .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }
  .top10-card-grid .wp-block-post:nth-child(3n),
  .press-grid .wp-block-post:nth-child(3n) {
    border-right: 1px solid #1C1410;
  }
  .top10-card-grid .wp-block-post:nth-child(2n),
  .press-grid .wp-block-post:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .top10-card-grid .wp-block-post-template,
  .press-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }
  .top10-card-grid .wp-block-post,
  .press-grid .wp-block-post {
    border-right: none !important;
  }
}
