/* =========================================================
   LA VIA DELLE SPEZIE
   EDITORIAL BLOG SYSTEM
   Versione 1.0
   ========================================================= */

/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */

.lvdsp-article {
  --lvdsp-dark: #2f302b;
  --lvdsp-green: #4e6b55;
  --lvdsp-sage: #8b9b82;
  --lvdsp-light: #f4f1e9;
  --lvdsp-cream: #faf8f3;
  --lvdsp-accent: #a66a42;
  --lvdsp-border: #ded9ce;
  --lvdsp-text: #353631;

  max-width: 1200px;
  margin: 0 auto;
  color: var(--lvdsp-text);
  line-height: 1.75;
}

.lvdsp-article *,
.lvdsp-article *::before,
.lvdsp-article *::after {
  box-sizing: border-box;
}

.lvdsp-article img {
  max-width: 100%;
  height: auto;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.lvdsp-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 60px;
  border-radius: 22px;
  background: #292b26;
}

.lvdsp-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lvdsp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(30,31,27,.9) 0%,
      rgba(30,31,27,.68) 45%,
      rgba(30,31,27,.18) 100%
    );
}

.lvdsp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 70px 60px;
  color: #fff;
}

.lvdsp-hero-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #d8cdb7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lvdsp-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.lvdsp-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.93);
  font-size: 19px;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   SECTIONS
   --------------------------------------------------------- */

.lvdsp-section {
  margin: 0 0 70px;
}

.lvdsp-section-intro {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.lvdsp-section-intro h2,
.lvdsp-section > h2 {
  margin: 0 0 18px;
  color: var(--lvdsp-dark);
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.2;
}

.lvdsp-section-intro p {
  margin: 0;
  font-size: 17px;
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.lvdsp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.lvdsp-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lvdsp-border);
  border-radius: 20px;
}

.lvdsp-card-image {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: var(--lvdsp-light);
}

.lvdsp-card-image img {
  max-width: 290px;
  max-height: 245px;
  object-fit: contain;
}

.lvdsp-card-content {
  padding: 30px;
}

.lvdsp-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--lvdsp-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lvdsp-card h3 {
  margin: 0 0 15px;
  color: var(--lvdsp-dark);
  font-size: 29px;
  line-height: 1.2;
}

.lvdsp-card p {
  margin-bottom: 15px;
}

.lvdsp-card ul {
  margin: 18px 0;
  padding-left: 20px;
}

.lvdsp-card li {
  margin-bottom: 7px;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.lvdsp-cta {
  margin: 60px 0;
  padding: 42px;
  background: var(--lvdsp-light);
  border-radius: 20px;
  text-align: center;
}

.lvdsp-cta h2 {
  margin: 0 0 17px;
  color: var(--lvdsp-dark);
  font-size: 34px;
  line-height: 1.2;
}

.lvdsp-cta p {
  max-width: 760px;
  margin: 0 auto 25px;
}

.lvdsp-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--lvdsp-green);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

.lvdsp-cta a:hover {
  transform: translateY(-2px);
  opacity: .9;
}


/* ---------------------------------------------------------
   TABLE
   --------------------------------------------------------- */

.lvdsp-table-wrapper {
  overflow-x: auto;
  margin: 35px 0 70px;
}

.lvdsp-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--lvdsp-border);
}

.lvdsp-table th {
  padding: 17px 18px;
  background: var(--lvdsp-dark);
  color: #fff;
  text-align: left;
  font-size: 14px;
}

.lvdsp-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--lvdsp-border);
  vertical-align: top;
  font-size: 15px;
}

.lvdsp-table tr:last-child td {
  border-bottom: 0;
}

.lvdsp-table tr:nth-child(even) td {
  background: var(--lvdsp-cream);
}


/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.lvdsp-faq {
  margin: 70px 0;
}

.lvdsp-faq details {
  margin-bottom: 12px;
  border: 1px solid var(--lvdsp-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.lvdsp-faq summary {
  position: relative;
  cursor: pointer;
  padding: 20px 55px 20px 22px;
  color: var(--lvdsp-dark);
  font-weight: 700;
  list-style: none;
}

.lvdsp-faq summary::-webkit-details-marker {
  display: none;
}

.lvdsp-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
}

.lvdsp-faq details[open] summary::after {
  content: "−";
}

.lvdsp-faq details p {
  margin: 0;
  padding: 0 22px 22px;
}


/* ---------------------------------------------------------
   SHOP BOX
   --------------------------------------------------------- */

.lvdsp-shop-box {
  margin: 70px 0;
  padding: 50px;
  background: var(--lvdsp-green);
  border-radius: 22px;
  color: #fff;
  text-align: center;
}

.lvdsp-shop-box h2 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 35px;
}

.lvdsp-shop-box p {
  max-width: 760px;
  margin: 0 auto 25px;
}

.lvdsp-shop-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--lvdsp-green) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.lvdsp-image {
  margin: 0 0 70px;
}

.lvdsp-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 22px;
}

.lvdsp-image figcaption {
  margin-top: 10px;
  color: #77776f;
  font-size: 13px;
  text-align: center;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .lvdsp-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 650px) {

  .lvdsp-hero {
    min-height: 570px;
    border-radius: 15px;
  }

  .lvdsp-hero-content {
    padding: 35px 25px;
  }

  .lvdsp-hero h1 {
    font-size: 39px;
  }

  .lvdsp-hero p {
    font-size: 16px;
  }

  .lvdsp-cta,
  .lvdsp-shop-box {
    padding: 32px 22px;
  }

  .lvdsp-card-content {
    padding: 24px;
  }

  .lvdsp-card-image {
    min-height: 230px;
  }

}