/* =========================================
   ADVERTORIAL – HOME SECTION (NO CAROSELLO)
   File: home-advertorial.css (o in home.css)
   Namespace: .vr-adv__*
========================================= */

.vr-adv {
  background: #f5e5d5;
  padding: 56px 16px;
  border-top: 10px solid #666;
  border-bottom: 10px solid #666;
}

.vr-adv__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.vr-adv__header {
  text-align: center;
  margin: 0 0 clamp(28px, 4vw, 40px);
  color: #3d3d3d;
}

.vr-adv__eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}

.vr-adv__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  margin: 0 0 10px;
  color: #3d3d3d !important;
}

.vr-adv__subtitle {
  margin: 0;
  font-size: 16px;
  color: #555;
}

/* Grid */
.vr-adv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Card */
.vr-adv__card {
  margin: 0;
}

.vr-adv__link {
  display: block;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.vr-adv__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.10);
  border-color: #d9d9d9;
}

/* Media */
.vr-adv__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #f2f2f2;
}

.vr-adv__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay hover */
.vr-adv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.vr-adv__link:hover .vr-adv__overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Body */
.vr-adv__body {
  padding: 18px 18px 20px;
}

.vr-adv__tag {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #00b67a;
  background: rgba(0,182,122,0.10);
  border: 1px solid rgba(0,182,122,0.22);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.vr-adv__cardtitle {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #3d3d3d;
}

.vr-adv__excerpt {
  margin: 0 0 14px;
  color: #555;
  font-size: 15px;
  line-height: 1.5;

  /* clamp 2 righe */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vr-adv__cta {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #3d3d3d;
  opacity: 0.85;
  transition: opacity .15s ease, transform .15s ease;
}

.vr-adv__link:hover .vr-adv__cta {
  opacity: 1;
  transform: translateX(2px);
}

/* =========================================
   RESPONSIVE
========================================= */

/* < 900px */
@media (max-width: 899px) {
  .vr-adv {
    padding: 48px 0;
  }

  .vr-adv__grid {
    gap: 18px;
  }
}

/* < 700px */
@media (max-width: 699px) {
  .vr-adv__grid {
    grid-template-columns: 1fr;
  }

  .vr-adv__title {
    font-size: 24px;
  }

  .vr-adv__subtitle {
    font-size: 14px;
  }

  .vr-adv__body {
    padding: 16px 16px 18px;
  }

  .vr-adv__cardtitle {
    font-size: 17px;
  }

  .vr-adv__excerpt {
    font-size: 14px;
  }
}

/* =========================================
   ADVERTORIAL – TEASER SECTION
   File: home-advertorial-teaser.css
   Namespace: .vr-adv-teaser__*
========================================= */

.vr-adv-teaser {
  position: relative;
  width: 100%;
  min-height: 360px;

  background-image: var(--vr-adv-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* overlay nero trasparente */
.vr-adv-teaser__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* container */
.vr-adv-teaser__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  padding: 0 20px;
}

/* centro contenuti */
.vr-adv-teaser__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}

/* testo */
.vr-adv-teaser__text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* freccia */
.vr-adv-teaser__arrow {
  width: 180px;
  height: auto;
  opacity: 0.75;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 899px) {
  .vr-adv-teaser {
    min-height: 220px;
  }

  .vr-adv-teaser__arrow {
    width: 56px;
  }
}

@media (max-width: 599px) {
  .vr-adv-teaser {
    min-height: 200px;
  }

  .vr-adv-teaser__text {
    font-size: 24px;
  }

  .vr-adv-teaser__arrow {
    width: 48px;
  }
}
