/* =============================================
   FREDDIE MERCURY TRIBUTE — style.css
   The Artist's Gazette · Newspaper Edition
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #1a1208;
  --paper: #f5edd6;
  --paper-dark: #e8dfc0;
  --accent: #8b1a1a;
  --rule: #2a1f0e;
  --muted: #5a4a32;
  --column-gap: 28px;
}

body {
  background-color: #cfc4a8;
  font-family: 'Libre Baskerville', serif;
  color: var(--ink);
  min-height: 100vh;
  padding: 30px 20px 60px;
}

/* ─── NEWSPAPER WRAPPER ─── */
.newspaper {
  max-width: 960px;
  margin: 0 auto;
  background: var(--paper);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 27px,
    rgba(0,0,0,0.04) 27px,
    rgba(0,0,0,0.04) 28px
  );
  border: 2px solid var(--rule);
  box-shadow: 6px 6px 0 #b0a080, 12px 12px 0 rgba(0,0,0,0.15);
  padding: 0 0 50px;
}

/* ─── MASTHEAD ─── */
.masthead {
  text-align: center;
  padding: 28px 40px 18px;
  border-bottom: 4px double var(--rule);
  background: var(--paper);
}

.paper-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.paper-tagline {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 10px;
  letter-spacing: 0.08em;
}

.masthead-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 5px 0;
  margin-top: 10px;
}

/* ─── SECTION RULE ─── */
.section-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-rule span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
.section-rule::before,
.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--accent);
}

/* ─── HEADLINE SECTION ─── */
.headline-section {
  padding: 30px 40px 0;
  border-bottom: 3px solid var(--rule);
}

.main-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  color: var(--ink);
  margin-bottom: 8px;
}

.sub-headline {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: clamp(14px, 2vw, 20px);
  text-align: center;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ─── HERO IMAGE ─── */
.hero-image-block {
  text-align: center;
  margin-bottom: 0;
}

.hero-image-block img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.1);
  display: block;
}

.image-caption {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 5px 0 12px;
  border-bottom: 1px solid var(--rule);
}

/* ─── BODY COLUMNS ─── */
.body-section {
  padding: 28px 40px 0;
}

.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 var(--column-gap);
}

.columns-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0 var(--column-gap);
}

.col {
  border-right: 1px solid #b0a070;
  padding-right: var(--column-gap);
}
.col:last-child {
  border-right: none;
  padding-right: 0;
}

.col-head {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 12px;
  text-align: justify;
  hyphens: auto;
}

/* ─── DROP CAP ─── */
.drop-cap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  float: left;
  line-height: 0.75;
  margin: 6px 8px 0 0;
  color: var(--ink);
}

/* ─── PULL QUOTE ─── */
.pull-quote {
  border-top: 3px solid var(--rule);
  border-bottom: 3px solid var(--rule);
  padding: 16px 20px;
  margin: 20px 0;
  text-align: center;
}

.pull-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.4;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  font-family: 'Libre Baskerville', serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 8px;
  font-style: normal;
}

/* ─── SIDEBAR BOX ─── */
.sidebar-box {
  border: 2px solid var(--rule);
  padding: 16px;
  margin-bottom: 20px;
  background: var(--paper-dark);
}

.sidebar-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.fact-list {
  list-style: none;
  padding: 0;
}
.fact-list li {
  font-size: 12px;
  line-height: 1.6;
  padding: 4px 0;
  border-bottom: 1px dotted #b0a070;
  text-align: left;
}
.fact-list li:last-child {
  border-bottom: none;
}
.fact-list strong {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
}

/* ─── DIVIDERS ─── */
.divider {
  border: none;
  border-top: 2px solid var(--rule);
  margin: 28px 40px;
}

.divider-thin {
  border: none;
  border-top: 1px solid #b0a070;
  margin: 20px 0;
}

/* ─── PHOTO GALLERY ─── */
.gallery-section {
  padding: 28px 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.1);
  display: block;
  border: 1px solid #b0a070;
  transition: filter 0.3s ease;
}

.gallery-item img:hover {
  filter: grayscale(60%) contrast(1.05) sepia(20%);
}

.gallery-caption {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 5px 0 0;
  text-align: center;
  border-top: 1px solid #b0a070;
  margin-top: 4px;
}

/* ─── FOOTER ─── */
.footer {
  margin: 30px 40px 0;
  padding-top: 14px;
  border-top: 4px double var(--rule);
  text-align: center;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 680px) {
  .newspaper { padding: 0 0 30px; }
  .masthead,
  .headline-section,
  .body-section,
  .gallery-section { padding-left: 20px; padding-right: 20px; }
  .divider { margin: 20px; }
  .footer { margin: 20px 20px 0; }
  .columns-3,
  .columns-2 { grid-template-columns: 1fr; }
  .col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #b0a070;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .col:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}