/* =========================================================================
   Boomer Classic Blog - Design System Vintage & Responsive
   Tipografia: Art Déco / Old England Vintage Style
   ========================================================================= */

:root {
  /* Colori */
  --paper:        #f4ecd8;
  --paper-dark:   #e8dcc0;
  --ink:          #2b2118;
  --ink-soft:     #4a3d30;
  --accent:       #8b1e1e;
  --accent-dark:  #5f1414;
  --gold:         #b8860b;
  --sepia:        #a68a64;
  --line:         #c9b892;

  /* Tipografia — nuova identità Boomer Classic */
  --f-display:    "League Gothic", "Oswald", "Arial Narrow", sans-serif;
  --f-subtitle:   "Josefin Sans", "Trebuchet MS", Arial, sans-serif;
  --f-body:       "Lora", Georgia, "Times New Roman", serif;
  --f-number:     "Bebas Neue", "League Gothic", "Arial Narrow", sans-serif;
  --f-artdeco:    "Riesling", "Poiret One", "Josefin Sans", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 4px;
  --shadow-soft: 0 2px 6px rgba(43, 33, 24, 0.15);
  --shadow-hard: 0 6px 18px rgba(43, 33, 24, 0.25);
}

/* =========================================================================
   FONT PERSONALIZZATO — RIESLING
   Se il file Riesling.woff2 è presente in /assets/font/, verrà utilizzato.
   In assenza del file entra automaticamente il fallback Art Déco.
   ========================================================================= */

@font-face {
  font-family: "Riesling";
  src:
    url("/assets/font/Riesling.woff2") format("woff2"),
    url("/assets/font/Riesling.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================================
   CLASSI TIPOGRAFICHE RIUTILIZZABILI
   ========================================================================= */

.font-display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.font-subtitle {
  font-family: var(--f-subtitle);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.font-number {
  font-family: var(--f-number);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.font-artdeco {
  font-family: var(--f-artdeco);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Effetto Art Déco inline / doppio contorno.
   Da applicare soprattutto a BOOMER CLASSIC o titoli-logo testuali. */
.brand-artdeco {
  font-family: var(--f-artdeco);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper);
  -webkit-text-stroke: 1px var(--paper);
  text-shadow:
    2px 0 0 var(--ink),
    -2px 0 0 var(--ink),
    0 2px 0 var(--ink),
    0 -2px 0 var(--ink);
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(168,138,100,0.10) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139,30,30,0.06) 0, transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(43,33,24,0.015) 3px 4px
    );
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font-family: var(--f-subtitle);
  max-width: 100%;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================================================
   HEADER & NAVIGAZIONE
   ========================================================================= */

.site-header {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 4px double var(--gold);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.brand-banner {
  height: auto;
  max-height: 48px;
  width: auto;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 36px;
  padding: 8px 6px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 1000;
}

.burger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Mobile */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex !important;
  }

  .main-nav {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 3px double var(--gold);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    padding: 10px 0;
    z-index: 999;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .main-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--paper);
    font-family: var(--f-subtitle);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px dashed rgba(201, 184, 146, 0.2);
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(184, 134, 11, 0.15);
    color: var(--gold);
    text-decoration: none;
  }

  .nav-toggle.is-active .burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active .burger-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active .burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand-banner {
    display: none;
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav-toggle {
    display: none !important;
  }

  .main-nav {
    display: flex !important;
    gap: 22px;
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .main-nav a {
    color: var(--paper);
    font-family: var(--f-subtitle);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 0;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--gold);
    text-decoration: none;
  }
}

/* =========================================================================
   SELETTORE LINGUA (IT / EN)
   Desktop: dentro il menu, a destra dell'ultima voce.
   Mobile : a sinistra del burger menu (fuori dal menu a tendina).
   ========================================================================= */

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch__item,
.main-nav .lang-switch .lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font-family: var(--f-subtitle);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0.6;
  text-transform: none;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

a.lang-switch__item:hover,
a.lang-switch__item:focus-visible,
.main-nav .lang-switch a.lang-switch__item:hover {
  opacity: 1;
  color: var(--paper);
  border-color: var(--gold);
  text-decoration: none;
}

.lang-switch__item.is-current,
.main-nav .lang-switch .lang-switch__item.is-current {
  opacity: 1;
  border-color: var(--gold);
}

.lang-switch__flag {
  display: block;
  height: 20px;
  width: auto;
}

.lang-switch__code {
  display: block;
  min-width: 22px;
  padding: 2px 2px;
  text-align: center;
}

/* Solo per screen reader */
.lang-switch__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Avviso "articolo non ancora tradotto" */
.lang-notice {
  margin: 0 0 20px;
  padding: 10px 14px;
  border-left: 4px solid var(--gold);
  background: rgba(184, 134, 11, 0.12);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .header-tools,
  .lang-switch--mobile {
    display: none;
  }

  .main-nav {
    align-items: center;
  }

  .main-nav .lang-switch--desktop {
    margin-left: 6px;
  }
}

@media (max-width: 767px) {
  .lang-switch--desktop {
    display: none;
  }
}

/* =========================================================================
   MAIN / PAGE HERO
   ========================================================================= */

.main-content {
  padding: 28px 16px 60px;
}

.page-hero {
  text-align: center;
  padding: 24px 12px 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 0.95;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--ink);
  text-shadow: 1px 1px 0 var(--paper-dark);
}

.page-hero p {
  font-family: var(--f-subtitle);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.10em;
  font-style: normal;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================================
   BLOG LAYOUT
   ========================================================================= */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }
}

/* =========================================================================
   CARD GRID
   ========================================================================= */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 620px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: #fbf7ea;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(139,30,30,0.15);
  pointer-events: none;
  border-radius: 2px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hard);
}

.card-link {
  display: block;
  color: inherit;
}

.card-link:hover {
  text-decoration: none;
  color: inherit;
}

.card-img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--paper-dark);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(15%) contrast(1.02);
  transition: transform .5s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--f-subtitle);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}

.card-body {
  padding: 16px 18px 18px;
}

.card-title {
  font-family: var(--f-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--ink);
}

.card-excerpt {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-number);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sepia);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.card-meta .read-more {
  color: var(--accent);
  font-family: var(--f-subtitle);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* =========================================================================
   SIDEBAR
   ========================================================================= */

.col-argomenti {
  position: sticky;
  top: 90px;
  align-self: start;
}

.widget {
  background: #fbf7ea;
  border: 1px solid var(--line);
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  position: relative;
}

.widget-title {
  font-family: var(--f-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
}

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-list li {
  border-bottom: 1px dashed var(--line);
}

.cat-list li:last-child {
  border-bottom: 0;
}

.cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  color: var(--ink);
  font-family: var(--f-subtitle);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.cat-list a:hover {
  color: var(--accent);
  text-decoration: none;
  padding-left: 8px;
  transition: padding .2s;
}

.cat-list a span {
  background: var(--paper-dark);
  color: var(--ink-soft);
  padding: 1px 8px;
  border-radius: 10px;
  font-family: var(--f-number);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.cat-list li.active a {
  color: var(--accent);
  font-weight: 600;
}

.cat-list li.active a span {
  background: var(--accent);
  color: var(--paper);
}

.widget-quote blockquote {
  margin: 0;
  font-family: var(--f-body);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  text-align: center;
  border: 0;
  padding: 8px 4px;
}

/* =========================================================================
   PAGINATION
   ========================================================================= */

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.pagination a,
.pagination span {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  text-align: center;
  font-family: var(--f-number);
  font-size: 14px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf7ea;
  color: var(--ink);
}

.pagination a:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-color: var(--ink);
}

.pagination .current {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
  font-weight: 400;
}

/* =========================================================================
   POST SINGOLO
   ========================================================================= */

.post {
  max-width: 780px;
  margin: 0 auto;
  background: #fbf7ea;
  border: 1px solid var(--line);
  padding: 28px 20px;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  position: relative;
}

.post::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px double var(--line);
  pointer-events: none;
  border-radius: 2px;
}

@media (min-width: 720px) {
  .post {
    padding: 44px 56px;
  }
}

.breadcrumb {
  font-family: var(--f-subtitle);
  font-size: 11px;
  font-weight: 500;
  color: var(--sepia);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.post-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.post-cat {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--f-subtitle);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}

.post-lead {
  font-family: var(--f-body);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 18px;
  margin: 0 0 16px;
}

.post-meta {
  font-family: var(--f-number);
  font-size: 13px;
  color: var(--sepia);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.post-content {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.post-content p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-size: 4em;
  float: left;
  line-height: 0.85;
  padding: 4px 10px 0 0;
  color: var(--accent);
  font-weight: 400;
}

/* Titoli eventualmente presenti nel contenuto dell'articolo */
.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--ink);
}

.post-content h2 {
  font-size: 32px;
  margin: 34px 0 14px;
}

.post-content h3 {
  font-size: 27px;
  margin: 28px 0 12px;
}

.post-content h4 {
  font-size: 23px;
  margin: 24px 0 10px;
}

/* Citazioni */
.post-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: rgba(184, 134, 11, 0.06);
  font-family: var(--f-body);
  font-style: italic;
  color: var(--ink-soft);
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 28px 16px;
  margin-top: 60px;
  border-top: 4px double var(--gold);
  font-family: var(--f-subtitle);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.10em;
}

/* Griglia a 4 colonne del footer (logo / testo / esplora / newsletter) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
  padding: 20px 0;
  letter-spacing: normal;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: var(--gold);
}

.footer-grid p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.85;
  letter-spacing: normal;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: var(--paper);
  opacity: 0.85;
  font-size: 13px;
}

.footer-grid a:hover {
  color: var(--gold);
  opacity: 1;
  text-decoration: none;
}

/* Form newsletter */
.newsletter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  flex: 1 1 160px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: normal;
}

.newsletter button {
  padding: 9px 18px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
}

.newsletter button:hover {
  background: var(--accent);
  color: var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Riga inferiore: copyright, email, privacy/cookie policy */
.footer-bottom {
  border-top: 1px solid rgba(244, 236, 216, 0.15);
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* =========================================================================
   MOBILE
   ========================================================================= */

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .main-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-hero {
    padding-left: 6px;
    padding-right: 6px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .card-title {
    font-size: 23px;
  }

  .post-title {
    font-size: clamp(34px, 10vw, 48px);
  }
}


/* =========================================================================
   ARTICOLO — TI POTREBBE INTERESSARE
   Stessa impostazione a tre card della sezione tour.php
   ========================================================================= */

.related-posts {
  width: 100%;
  padding: 48px 0 60px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.related-posts-header {
  margin: 0 0 44px;
  text-align: center;
}

.related-posts-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--f-subtitle);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.related-posts-header h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.related-posts-ornament {
  margin-top: 24px;
  color: var(--gold);
  font-size: 15px;
  line-height: 1;
}

.related-posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.related-post-card {
  display: flex;
  min-width: 0;
  height: 100%;
}

.related-post-card-link {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.related-post-card .card-img-wrap {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.related-post-card .card-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.related-post-card .card-title {
  overflow-wrap: anywhere;
}

.related-post-card .card-excerpt {
  flex: 1;
}

.related-post-card .card-meta {
  margin-top: auto;
}

@media (max-width: 899px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 619px) {
  .related-posts {
    padding: 38px 0 46px;
  }

  .related-posts-header {
    margin-bottom: 30px;
  }

  .related-posts-eyebrow {
    font-size: 14px;
  }

  .related-posts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Elenchi puntati/numerati negli articoli: rientro interno coerente su PC, tablet e mobile */
.post-content ul,
.post-content ol {
  margin: 14px 0 18px 0;
  padding-left: 2em;
  list-style-position: outside;
}
.post-content li {
  padding-left: 0.25em;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .post-content ul,
  .post-content ol { padding-left: 1.75em; }
}
