@font-face {
  font-family: 'GreatVibes';
  src: url('/fonts/GreatVibes-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
img { max-width: 100%; height: auto; }
.navbar { background-color: #f9f6e2 !important; }
.nav-controls { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 18px !important; }
.brand { color: #050594 !important; text-decoration: none !important; }
.search-trigger { display: flex; align-items: center; color: #050594; text-decoration: none; }
.search-icon { width: 22px; height: 22px; }
.main-title {
  font-family: 'Liberation Serif', 'Times New Roman', Times, serif;
  text-align: center; font-size: 2.8rem; font-weight: 400; letter-spacing: 2px;
  margin: 3.5rem 0 2rem; padding: 0 1rem; color: #000 !important; line-height: 1.2;
}
.hero-logo { text-align: center; margin: 0 auto 2.5rem; max-width: 450px; width: 90%; }
.quote-wrapper { max-width: 720px; margin: 0 auto 1.5rem; padding: 0 2.5rem; }
.top-quote {
  font-family: 'Liberation Serif', 'Times New Roman', Times, serif;
  text-align: right; max-width: 315px; margin: 0 0 0 auto;
  font-style: italic; font-size: 0.95rem; line-height: 1.4; color: #000 !important;
}
body.is-home .container {
  background-color: #f9f6e2; color: #050594; max-width: 720px; margin: 40px auto 0; padding: 2.5rem;
}
body.is-home h2, body.is-home h3, body.is-home h4 { color: #000 !important; }
body.is-home p { color: #050594; }
.firma { font-family: 'GreatVibes', cursive; font-size: 2.6rem; text-align: right; margin-top: 2rem; color: #000; }
.articolo-container { max-width: 720px; margin: 100px auto 60px; padding: 0 20px; }
.articolo-header { text-align: center; margin-bottom: 32px; }
.articolo-header h1 {
  font-family: 'Liberation Serif', 'Times New Roman', Times, serif;
  color: #000; font-size: 2.8rem; font-weight: 400; line-height: 1.2; margin-bottom: 0.8rem;
}
.articolo-header time { display: block; color: #000; font-size: 0.95rem; font-weight: 500; }
.articolo-cover { width: 100%; margin: 40px 0; display: flex; justify-content: center; }
.articolo-cover img { width: 100%; max-width: 520px; height: auto; }
.articolo-contenuto img {
  display: block; width: auto; max-width: 70%; max-height: 400px; height: auto;
  object-fit: contain; margin: 2.5rem auto;
}
.articolo-contenuto ul,
.articolo-contenuto ol {
  margin: 0.6rem 1.5rem 1.2rem 1.5rem;
  padding: 0;
}
.articolo-contenuto li { margin-bottom: 0.35rem; }
.box-callout { border: 2px solid #000; padding: 1.5rem; margin: 2rem 0; background: #fff; border-radius: 8px; }
.box-callout ul, .box-callout ol { margin: 0.5rem 1.5rem; padding: 0; }
.condividi-componente-wrapper { display: flex; justify-content: center; width: 100%; margin: 2.5rem auto; }
.tasto-condividi-nativo-dinamico {
  background: none; border: 2px solid #000; border-radius: 6px; padding: 10px 20px;
  cursor: pointer; color: #000; display: inline-flex; align-items: center; opacity: 0.8;
}
.tasto-condividi-nativo-dinamico:hover { transform: scale(1.03); opacity: 1; background: #f8fafc; }
.share-title {
  margin-left: 12px; font-family: Inter, sans-serif; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.5px; text-transform: uppercase;
}
.recents-section-wrapper { max-width: 720px; margin: 4rem auto; width: 100%; font-family: Inter, sans-serif; }
.recents-header-block {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 20px;
}
.recents-header-block h2 {
  font-family: 'Liberation Serif', 'Times New Roman', Times, serif;
  font-size: 1.7rem; margin: 0; text-transform: uppercase; font-weight: 500; color: #000 !important;
}
.recents-index-btn {
  font-size: 0.85rem; font-weight: bold; color: #000 !important; text-decoration: none;
  border: 2px solid #000; padding: 5px 12px; border-radius: 6px; background: #fff;
}
.recents-stack-block { display: flex; flex-direction: column; gap: 20px; }
.recents-card-block {
  display: flex; gap: 20px; background: #fff; border: 2px solid #000;
  border-radius: 8px; padding: 15px; align-items: center;
}
.recents-thumb-container {
  flex: 0 0 140px; width: 140px; height: 95px; overflow: hidden;
  border: 2px solid #000; border-radius: 6px;
}
.recents-thumb-container img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recents-card-date { font-size: 0.78rem; text-transform: uppercase; color: #000; }
.recents-card-title { font-size: 1.15rem; font-weight: bold; margin: 0; }
.recents-card-title a { color: #000 !important; text-decoration: none !important; }
.recents-card-readmore { font-size: 0.82rem; font-weight: bold; color: #000 !important; }
.style-home { padding: 0 1rem; }
.blog-container { max-width: 850px; margin: 0 auto; padding: 40px 20px; background: #fff; color: #000; }
.top-navigation { margin-bottom: 20px; }
.back-home-link { font-weight: 600; color: #000 !important; text-decoration: none !important; }
.blog-header { text-align: center; margin-bottom: 40px; }
.blog-header h1 { font-size: 3rem; font-weight: 800; margin: 0 0 10px; text-transform: uppercase; letter-spacing: -1px; }
.blog-header p { color: #555; font-size: 1.1rem; }
.tassonomie-box {
  background: #fff; border: 2px solid #000; border-radius: 8px; padding: 25px;
  margin-bottom: 50px; display: flex; flex-direction: column; gap: 24px;
}
.tassonomie-riga { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tassonomie-label { font-weight: 700; text-transform: uppercase; font-size: 0.9rem; }
.btn-category-index {
  display: inline-block; padding: 8px 16px; border: 2px solid #000; color: #000 !important;
  text-decoration: none !important; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
}
.btn-category-index:hover { background: #000; color: #fff !important; }
.btn-tag-index {
  display: inline-block; padding: 6px 14px; border: 1px solid #cbd5e1; border-radius: 4px;
  color: #475569 !important; text-decoration: none !important; font-size: 0.8rem;
}
.section-title { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; margin-bottom: 25px; border-bottom: 2px solid #000; padding-bottom: 10px; }
.posts-list { display: flex; flex-direction: column; gap: 30px; }
.post-card {
  display: flex; gap: 25px; background: #fff; border: 2px solid #000;
  border-radius: 8px; padding: 20px; align-items: center;
}
.card-image-wrapper { flex: 0 0 180px; height: 120px; overflow: hidden; border: 2px solid #000; border-radius: 6px; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.card-date { font-size: 0.85rem; text-transform: uppercase; }
.card-title { margin: 0.3rem 0; }
.card-title a { color: #000 !important; text-decoration: none !important; }
.read-more-link { font-weight: 700; color: #000 !important; }
.pagination-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; }
.nav-btn { color: #000 !important; font-weight: 700; text-decoration: none; }
@media (max-width: 768px) {
  .recents-card-block, .post-card { flex-direction: column; align-items: flex-start; }
  .recents-thumb-container, .card-image-wrapper { width: 100%; height: 140px; flex: none; }
}
