/* ==================================================
   ARTICOLI GESTITI – LA VECCHIA CASCINA
================================================== */

.vc-article-page,
.vc-article-page *{
  box-sizing:border-box;
}

.vc-article-page{
  --vc-brown:#5C3D24;
  --vc-brown-dark:#382315;
  --vc-gold:#9a744d;
  --vc-cream:#FCF3E0;
  --vc-paper:#fffaf4;
  --vc-text:#4b3928;
  width:100%;
  padding:34px 22px 92px;
  overflow:hidden;
  background:
    radial-gradient(circle at 0 0,rgba(154,116,77,.11),transparent 24%),
    radial-gradient(circle at 100% 70%,rgba(92,61,36,.07),transparent 25%),
    var(--vc-cream);
  color:var(--vc-text);
  font-family:Georgia,"Times New Roman",serif;
}

.vc-article-hero{
  width:100%;
  max-width:1380px;
  margin:0 auto;
}

.vc-article-hero-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:330px;
  max-height:600px;
  overflow:hidden;
  background:linear-gradient(135deg,var(--vc-brown-dark),var(--vc-brown));
  border-radius:28px;
  box-shadow:0 28px 75px rgba(52,31,18,.23);
}

.vc-article-hero-image{
  display:block;
  width:100%;
  height:auto;
  max-height:600px;
  object-fit:contain;
  object-position:center;
}

.vc-article-hero-empty{
  color:rgba(255,255,255,.85);
  font-size:clamp(2rem,6vw,5rem);
  font-style:italic;
}

.vc-article-heading-card{
  position:relative;
  z-index:3;
  width:calc(100% - 90px);
  max-width:1080px;
  margin:-68px auto 0;
  padding:42px 52px 43px;
  background:rgba(255,250,244,.97);
  border:1px solid rgba(92,61,36,.13);
  border-radius:28px;
  box-shadow:0 25px 65px rgba(69,43,25,.18);
  text-align:center;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

.vc-article-heading-meta{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px 18px;
  margin-bottom:19px;
}

.vc-article-category{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 16px;
  color:#fff;
  background:var(--vc-brown);
  border-radius:999px;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:1.3px;
  line-height:1;
  text-transform:uppercase;
}

.vc-article-published{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#80664e;
  font-size:.93rem;
  font-style:italic;
}

.vc-article-published svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.vc-article-heading-card h1{
  max-width:970px;
  margin:0 auto;
  color:var(--vc-brown);
  font-size:clamp(2.25rem,5vw,4.45rem);
  font-weight:700;
  letter-spacing:-1px;
  line-height:1.04;
  text-transform:none;
}

.vc-article-lead{
  max-width:820px;
  margin:23px auto 0;
  color:#6d5744;
  font-size:clamp(1.05rem,1.8vw,1.3rem);
  line-height:1.65;
}

.vc-article-main-card{
  position:relative;
  z-index:2;
  width:calc(100% - 90px);
  max-width:1080px;
  margin:24px auto 0;
  padding:48px 54px 35px;
  background:#fff;
  border:1px solid rgba(92,61,36,.11);
  border-radius:28px;
  box-shadow:0 24px 65px rgba(75,48,29,.11);
}

.vc-article-event{
  margin:0 0 48px;
  padding:32px;
  background:linear-gradient(145deg,#FCF3E0,#fff9ef);
  border:1px solid rgba(92,61,36,.13);
  border-radius:24px;
}

.vc-article-section-heading{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:24px;
}

.vc-article-section-icon{
  display:flex;
  flex:0 0 53px;
  align-items:center;
  justify-content:center;
  width:53px;
  height:53px;
  color:#fff;
  background:var(--vc-brown);
  border-radius:50%;
  box-shadow:0 10px 24px rgba(92,61,36,.22);
}

.vc-article-section-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.vc-article-section-heading span:not(.vc-article-section-icon){
  display:block;
  margin-bottom:4px;
  color:var(--vc-gold);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.vc-article-section-heading h2{
  margin:0;
  color:var(--vc-brown);
  font-size:clamp(1.65rem,3vw,2.35rem);
  line-height:1.1;
}

.vc-article-event-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.vc-event-card{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  min-height:90px;
  padding:17px 18px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(92,61,36,.09);
  border-radius:17px;
}

.vc-event-card-icon{
  display:flex;
  flex:0 0 42px;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  color:var(--vc-brown);
  background:var(--vc-cream);
  border-radius:50%;
}

.vc-event-card-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.vc-event-card small,
.vc-event-card strong{
  display:block;
}

.vc-event-card small{
  margin-bottom:4px;
  color:var(--vc-gold);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:1.1px;
  text-transform:uppercase;
}

.vc-event-card strong{
  color:var(--vc-brown);
  font-size:1rem;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.vc-event-card-wide{
  grid-column:1/-1;
}

.vc-article-content{
  max-width:820px;
  margin:0 auto;
  color:#3f342b;
  font-size:1.12rem;
  line-height:1.86;
}

.vc-article-content > *:first-child{
  margin-top:0;
}

.vc-article-content > *:last-child{
  margin-bottom:0;
}

.vc-article-content p{
  margin:0 0 1.45em;
}

.vc-article-content h2,
.vc-article-content h3,
.vc-article-content h4{
  color:var(--vc-brown);
  line-height:1.2;
}

.vc-article-content h2{
  margin:1.7em 0 .65em;
  font-size:clamp(1.75rem,3vw,2.45rem);
}

.vc-article-content h3{
  margin:1.55em 0 .6em;
  font-size:clamp(1.4rem,2.5vw,1.85rem);
}

.vc-article-content a{
  color:var(--vc-brown);
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}

.vc-article-content ul,
.vc-article-content ol{
  margin:0 0 1.5em;
  padding-left:1.35em;
}

.vc-article-content li{
  margin:.4em 0;
}

.vc-article-content blockquote{
  margin:2em 0;
  padding:22px 26px;
  color:var(--vc-brown);
  background:var(--vc-paper);
  border-left:4px solid var(--vc-gold);
  border-radius:0 16px 16px 0;
  font-size:1.18rem;
  font-style:italic;
}

.vc-article-content img{
  display:block;
  max-width:100%;
  height:auto;
  margin:2em auto;
  border-radius:20px;
  box-shadow:0 16px 42px rgba(68,42,24,.16);
}

.vc-article-content figure{
  max-width:100%;
  margin:2em 0;
}

.vc-article-content figcaption{
  margin-top:8px;
  color:#806d5d;
  font-size:.84rem;
  font-style:italic;
  text-align:center;
}

.vc-article-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:30px;
  margin:54px 0 15px;
  padding:30px 32px;
  color:#fff;
  background:linear-gradient(135deg,var(--vc-brown),#795438);
  border-radius:22px;
  box-shadow:0 18px 42px rgba(92,61,36,.2);
}

.vc-article-cta > div > span{
  display:block;
  margin-bottom:5px;
  color:#f0d7b9;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:1.3px;
  text-transform:uppercase;
}

.vc-article-cta h2{
  margin:0 0 7px;
  color:#fff;
  font-size:clamp(1.55rem,3vw,2.15rem);
  line-height:1.12;
}

.vc-article-cta p{
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:.96rem;
  line-height:1.55;
}

.vc-article-cta > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:14px 20px;
  color:#fff!important;
  background:#25D366;
  border-radius:999px;
  box-shadow:0 12px 28px rgba(25,117,58,.32);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  text-decoration:none!important;
  transition:transform .25s ease,background-color .25s ease;
}

.vc-article-cta > a:hover{
  color:#fff!important;
  background:#1ebe5d;
  transform:translateY(-3px);
}

.vc-article-cta > a svg{
  width:27px;
  height:27px;
  flex:0 0 27px;
}

.vc-article-footer-nav{
  display:flex;
  justify-content:center;
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid rgba(92,61,36,.12);
}

.vc-article-footer-nav a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--vc-brown)!important;
  font-weight:700;
  text-decoration:none!important;
  transition:transform .25s ease;
}

.vc-article-footer-nav a:hover{
  transform:translateX(-4px);
}

.vc-related-articles{
  width:calc(100% - 90px);
  max-width:1180px;
  margin:75px auto 0;
}

.vc-related-heading{
  margin-bottom:28px;
  text-align:center;
}

.vc-related-heading > span{
  color:var(--vc-gold);
  font-size:1.02rem;
  font-style:italic;
}

.vc-related-heading h2{
  margin:9px 0 0;
  color:var(--vc-brown);
  font-size:clamp(2rem,4vw,3.1rem);
  line-height:1.1;
}

.vc-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.vc-related-card{
  overflow:hidden;
  background:var(--vc-paper);
  border:1px solid rgba(92,61,36,.11);
  border-radius:23px;
  box-shadow:0 18px 45px rgba(92,61,36,.11);
  transition:transform .3s ease,box-shadow .3s ease;
}

.vc-related-card:hover{
  transform:translateY(-5px);
  box-shadow:0 25px 55px rgba(92,61,36,.17);
}

.vc-related-image{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:205px;
  overflow:hidden;
  color:var(--vc-brown)!important;
  background:var(--vc-cream);
  font-size:1.2rem;
  font-style:italic;
  text-decoration:none!important;
}

.vc-related-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s ease;
}

.vc-related-card:hover .vc-related-image img{
  transform:scale(1.04);
}

.vc-related-content{
  padding:24px 23px 27px;
}

.vc-related-content > span{
  display:block;
  margin-bottom:10px;
  color:var(--vc-gold);
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.vc-related-content h3{
  margin:0 0 12px;
  color:var(--vc-brown);
  font-size:1.35rem;
  line-height:1.22;
}

.vc-related-content h3 a{
  color:inherit!important;
  text-decoration:none!important;
}

.vc-related-content p{
  margin:0 0 18px;
  color:#6d5948;
  font-size:.93rem;
  line-height:1.62;
}

.vc-related-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--vc-brown)!important;
  font-weight:700;
  text-decoration:none!important;
}

.vc-related-more span{
  transition:transform .25s ease;
}

.vc-related-more:hover span{
  transform:translateX(4px);
}

@media(max-width:900px){
  .vc-article-heading-card,
  .vc-article-main-card,
  .vc-related-articles{
    width:calc(100% - 34px);
  }

  .vc-article-heading-card{
    padding:38px 34px;
  }

  .vc-article-main-card{
    padding:42px 34px 32px;
  }

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

  .vc-related-card:last-child{
    grid-column:1/-1;
    max-width:calc(50% - 11px);
    width:100%;
    margin:0 auto;
  }
}

@media(max-width:680px){
  .vc-article-page{
    padding:15px 10px 65px;
  }

  .vc-article-hero-media{
    min-height:190px;
    max-height:430px;
    border-radius:18px;
  }

  .vc-article-hero-image{
    max-height:430px;
  }

  .vc-article-heading-card{
    width:calc(100% - 20px);
    margin:-28px auto 0;
    padding:29px 20px 30px;
    border-radius:20px;
  }

  .vc-article-heading-meta{
    margin-bottom:15px;
  }

  .vc-article-heading-card h1{
    font-size:2.25rem;
    letter-spacing:-.4px;
  }

  .vc-article-lead{
    margin-top:17px;
    font-size:1rem;
  }

  .vc-article-main-card{
    width:calc(100% - 10px);
    margin-top:12px;
    padding:27px 18px 25px;
    border-radius:20px;
  }

  .vc-article-event{
    margin-bottom:34px;
    padding:22px 17px;
    border-radius:18px;
  }

  .vc-article-section-heading{
    align-items:flex-start;
  }

  .vc-article-section-icon{
    flex-basis:46px;
    width:46px;
    height:46px;
  }

  .vc-article-event-grid{
    grid-template-columns:1fr;
  }

  .vc-event-card-wide{
    grid-column:auto;
  }

  .vc-article-content{
    font-size:1.04rem;
    line-height:1.78;
  }

  .vc-article-cta{
    grid-template-columns:1fr;
    gap:20px;
    margin-top:42px;
    padding:25px 20px;
    text-align:center;
  }

  .vc-article-cta > a{
    width:100%;
  }

  .vc-related-articles{
    width:calc(100% - 10px);
    margin-top:58px;
  }

  .vc-related-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .vc-related-card:last-child{
    grid-column:auto;
    max-width:none;
  }

  .vc-related-image{
    height:220px;
  }
}

@media(prefers-reduced-motion:reduce){
  .vc-article-cta > a,
  .vc-article-footer-nav a,
  .vc-related-card,
  .vc-related-image img,
  .vc-related-more span{
    transition:none;
  }
}
