/* Raziel.news - Stile PUNK ispirato a punkeditions.ch */
/* Palette: vivid red #E30613, black #000, white, grays */

@font-face {
  font-family: 'PunkLand';
  src: url('/fonts/PunkLand.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VeteranTypewriter';
  src: url('/fonts/veteran-typewriter.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --punk-red: #E30613;
  --punk-black: #000000;
  --punk-gray-light: #E8E8E8;
  --punk-gray-mid: #A9A9A9;
  --text: #111111;
  --text-light: #f5f5f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--punk-black);
  color: var(--text-light);
  font-family: 'VeteranTypewriter', 'Courier New', 'Consolas', monospace, 'Arial', sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
}

/* PUNK NAV - full width bright red bar, menu centered */
header.punk-nav {
  background: var(--punk-red);
  width: 100%;
  padding: 10px 0;
  position: relative;
}

.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.punk-small-logo {
  background: #000;
  color: #fff;
  font-family: 'VeteranTypewriter', 'Courier New', 'Consolas', monospace, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 4px 10px;
  text-decoration: none;
  letter-spacing: 1px;
  border-radius: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex: 1;
}

nav ul li a {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  padding: 4px 6px;
  transition: all 0.1s;
}

nav ul li a:hover {
  color: #000;
  background: #fff;
}

.nav-right {
  font-size: 1.1rem;
  color: #fff;
}

.nav-right a {
  color: #fff;
  text-decoration: none;
}

/* PUNK GRAFFITI MASTHEAD - brown brick wall with RAZIEL NEWS spray painted as raw graffiti */
/* Mobile-first: 450px works well on smartphone */
.punk-masthead {
  background: url('/images/hero-punk-graffiti.png') center / cover no-repeat;
  width: 100%;
  height: 450px;
  border-bottom: 5px solid var(--punk-red);
  position: relative;
  overflow: hidden;
}

/* Desktop adjustment: on wide screens the baked graffiti sits too high under the nav.
   Shift the image DOWN (positive y offset) to move "RAZIEL NEWS" lower in the frame.
   Increase height to fill the bottom without empty space. */
@media (min-width: 768px) {
  .punk-masthead {
    background-position: center 65px;
    height: 515px;
  }
}

/* Content styles */
a {
  color: var(--punk-red);
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

h1, h2, h3, h4, h5 {
  color: var(--punk-red);
  font-weight: 700;
  line-height: 1.25;
  font-family: 'VeteranTypewriter', 'Courier New', 'Consolas', monospace, sans-serif;
  letter-spacing: 1px;
}

h1 { font-size: 1.9rem; margin-bottom: 6px; }
h2 { font-size: 1.35rem; margin: 28px 0 10px; }
h5 { font-size: 1rem; margin: 8px 0 3px; color: #000; }

section {
  margin-bottom: 36px;
}

/* Intro full width like the RAZIEL NEWS masthead image - gray block spanning the entire viewport width, text also full viewport width */
section.intro {
  background: var(--punk-gray-light);
  color: #111;
  width: 100%;
  margin: 0;
  padding: 18px 22px;
}

/* PUNK CARDS for articles and analyses - solid bright red blocks, black text */
.teaser,
.book {
  display: block;
  background: var(--punk-red);
  color: #000;
  padding: 13px 16px;
  margin-bottom: 12px;
  border-radius: 3px;
  text-decoration: none;
}

.teaser h5,
.book h5 {
  color: #000;
  font-weight: 900;
  margin-bottom: 2px;
  font-size: 1.02rem;
}

.teaser p,
.book p {
  color: #111;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
}

.book-author {
  color: #000;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Section for "Le mie ultime analisi" - gray container like reference */
section.parutions {
  background: var(--punk-gray-mid);
  padding: 16px 18px;
  margin-bottom: 32px;
}

section.parutions h2 {
  color: #111;
  text-align: center;
  margin-top: 4px;
}

/* Nosgoth section - full viewport width black bar, text content centered */
section.nosgoth {
  background: #111;
  color: #ccc;
  width: 100%;
  margin: 0;
  padding: 18px 22px;
  box-sizing: border-box;
  text-align: center;
}

section.nosgoth h2,
section.nosgoth h4 {
  color: #fff;
  text-align: center;
}

section.nosgoth p,
section.nosgoth h4 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

section.nosgoth p {
  text-align: center;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #111;
  border-top: 2px solid var(--punk-red);
  padding: 16px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* Single article */
article {
  max-width: 860px;
  margin: 0 auto;
}

.article-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 18px;
}

.share {
  margin-top: 32px;
  padding-top: 10px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #888;
}

.share a {
  color: var(--punk-red);
  margin-right: 10px;
}

/* List pages */
.list .teaser {
  margin-bottom: 14px;
}

/* Small adjustments for punk raw feel */
p {
  margin-bottom: 10px;
}

/* ENHANCED PUNK CARDS with heavy black offset shadows + red accent */
.teaser,
.book {
  display: block;
  background: var(--punk-red);
  color: #000;
  padding: 13px 16px;
  margin-bottom: 14px;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 
    7px 7px 0 #000000,
    3px 3px 0 var(--punk-red);
}

/* When using flex layout for side image (optional future) */
.teaser.flex-thumb {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.teaser.flex-thumb .thumb {
  width: 94px;
  height: 68px;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Two column grid for home Notizie teasers */
.teasers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.teasers-grid .teaser {
  margin-bottom: 0;
}

/* Stack on mobile */
@media (max-width: 767px) {
  .teasers-grid {
    grid-template-columns: 1fr;
  }
}
/* Punk miniature thumbnails - constrained to fit inside news/analysis cards without breaking layout or making text unreadable */
.teaser .thumb,
.book .thumb {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  image-rendering: crisp-edges; /* preserves the raw punk distressed edges */
}

.book .thumb {
  max-width: 160px;
}

.teasers-grid .thumb {
  max-width: 100%;
  border-width: 2px;
}
