/* =============================================
   MARIO PELUSO — Design System "Interiore"
   Versione 1.3 — Giugno 2026
   ============================================= */

:root {
  --mp-dark:       #1a1f1c;
  --mp-sage:       #3d5244;
  --mp-gold:       #8c7250;
  --mp-gold-light: #c4a882;
  --mp-parchment:  #f6f3ed;
  --mp-linen:      #ede9df;
  --mp-white:      #ffffff;
  --mp-text:       #1a1f1c;
  --mp-muted:      #6b6860;
  --mp-sage-light: #8db59a;
}

body {
  background-color: var(--mp-parchment) !important;
}

/* BOTTONI */
.wp-block-button__link {
  background-color: var(--mp-gold) !important;
  color: var(--mp-parchment) !important;
  border: 2px solid var(--mp-gold) !important;
  border-radius: 3px !important;
  padding: 13px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  transition: background-color 0.2s ease !important;
}
.wp-block-button__link:hover {
  background-color: #7a6244 !important;
  border-color: #7a6244 !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: var(--mp-text) !important;
  border: 1.5px solid var(--mp-text) !important;
}
.has-accent-3-background-color .wp-block-button__link,
.section-cta-dark .wp-block-button__link,
.hero-dark .wp-block-button__link {
  background-color: var(--mp-gold) !important;
  color: var(--mp-parchment) !important;
}

/* SFONDI SEZIONI */
.hero-dark, .section-cta-dark { background-color: var(--mp-dark) !important; }
.section-sage { background-color: var(--mp-sage) !important; }
.section-linen { background-color: var(--mp-linen) !important; }

/* TESTI SU SFONDO SCURO */
.hero-dark h1, .hero-dark h2, .hero-dark h3,
.section-cta-dark h2, .section-cta-dark p {
  color: var(--mp-parchment) !important;
}
.hero-dark .eyebrow { color: var(--mp-gold) !important; }

/* TESTI SU SFONDO SAGE */
.section-sage h2, .section-sage h3 { color: var(--mp-parchment) !important; }
.section-sage p { color: var(--mp-sage-light) !important; }
.section-sage a { color: var(--mp-gold-light) !important; }

/* CARD SERVIZI */
.service-card, .services-grid .wp-block-column {
  border-left: 2px solid var(--mp-gold) !important;
  padding-left: 1.2rem !important;
}

/* CARD TESTIMONIANZE */
.testi-card, .testimonial-card {
  background-color: var(--mp-white) !important;
  border-top: 2px solid var(--mp-gold) !important;
  padding: 20px !important;
}

/* EYEBROW LABEL */
.eyebrow, p.is-eyebrow {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--mp-gold) !important;
}

/* TIPOGRAFIA */
h1 { line-height: 1.1 !important; letter-spacing: -0.01em !important; }
h2 { line-height: 1.2 !important; font-weight: 400 !important; }
h3 { line-height: 1.25 !important; font-weight: 400 !important; }

/* SPAZIATURA SEZIONI — solo contenuto, non header/nav */
.entry-content > .wp-block-group,
.wp-block-post-content > .wp-block-group {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ELIMINA PARAGRAFI VUOTI tra le sezioni */
.entry-content > .wp-block-paragraph:empty,
.wp-block-post-content > .wp-block-paragraph:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* HEADER */
header.wp-block-template-part {
  background-color: var(--mp-parchment) !important;
  border-bottom: 1px solid var(--mp-gold-light) !important;
}
header.wp-block-template-part .wp-block-group {
  background-color: var(--mp-parchment) !important;
}

/* FOOTER */
footer.wp-block-template-part {
  background-color: var(--mp-dark) !important;
  border-top: 1px solid var(--mp-gold) !important;
  margin-top: 0 !important;
}
main.wp-block-group {
  margin-bottom: 0 !important;
}
footer.wp-block-template-part .wp-block-group {
  background-color: var(--mp-dark) !important;
}
footer.wp-block-template-part h1,
footer.wp-block-template-part h2,
footer.wp-block-template-part h3,
footer.wp-block-template-part h4,
footer.wp-block-template-part p {
  color: var(--mp-parchment) !important;
}
footer.wp-block-template-part a {
  color: var(--mp-gold-light) !important;
}
footer.wp-block-template-part a:hover {
  color: var(--mp-parchment) !important;
}

/* MOBILE */
@media (max-width: 600px) {
  h1 { font-size: 2rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.4rem !important; }
  .wp-block-cover { min-height: 70vh !important; }
  .wp-block-button__link {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 15px 24px !important;
  }
  .wp-block-buttons { flex-direction: column !important; }
  .entry-content > .wp-block-group,
  .wp-block-post-content > .wp-block-group {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}
