/* ==================================================
   CONDIVISIONE SOCIAL – LA VECCHIA CASCINA
================================================== */

.vc-social-share,
.vc-social-share *{
  box-sizing:border-box;
}

.vc-social-share{
  --vc-share-brown:#5C3D24;
  --vc-share-brown-dark:#3b2517;
  --vc-share-gold:#9a744d;
  --vc-share-cream:#FCF3E0;
  --vc-share-paper:#fffaf4;
  --vc-share-text:#4b3928;
  width:100%;
  max-width:920px;
  margin:46px auto 12px;
  padding:28px 30px;
  background:
    radial-gradient(circle at 100% 0,rgba(154,116,77,.11),transparent 30%),
    var(--vc-share-paper);
  border:1px solid rgba(92,61,36,.13);
  border-radius:24px;
  box-shadow:0 18px 48px rgba(92,61,36,.11);
  color:var(--vc-share-text);
  font-family:Georgia,"Times New Roman",serif;
}

.vc-social-share-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-bottom:21px;
}

.vc-social-share-head > div:first-child{
  min-width:0;
}

.vc-social-share-kicker{
  display:block;
  margin-bottom:5px;
  color:var(--vc-share-gold);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:1.35px;
  text-transform:uppercase;
}

.vc-social-share h2{
  margin:0;
  color:var(--vc-share-brown);
  font-size:clamp(1.55rem,3vw,2.15rem);
  line-height:1.12;
}

.vc-social-share-head p{
  max-width:330px;
  margin:0;
  color:#765f4d;
  font-family:Arial,Helvetica,sans-serif;
  font-size:.84rem;
  line-height:1.55;
  text-align:right;
}

.vc-social-share-actions{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}

.vc-social-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  min-height:48px;
  padding:11px 13px;
  color:var(--vc-share-brown)!important;
  background:#fff;
  border:1px solid rgba(92,61,36,.15);
  border-radius:999px;
  box-shadow:0 8px 20px rgba(92,61,36,.07);
  font-family:Georgia,"Times New Roman",serif;
  font-size:.88rem;
  font-weight:700;
  line-height:1.2;
  text-align:center;
  text-decoration:none!important;
  cursor:pointer;
  transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease,color .25s ease,border-color .25s ease;
}

.vc-social-btn:hover,
.vc-social-btn:focus-visible{
  color:#fff!important;
  background:var(--vc-share-brown);
  border-color:var(--vc-share-brown);
  box-shadow:0 13px 27px rgba(92,61,36,.2);
  transform:translateY(-3px);
}

.vc-social-btn:focus-visible{
  outline:3px solid rgba(154,116,77,.35);
  outline-offset:3px;
}

.vc-social-btn svg{
  flex:0 0 21px;
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.vc-social-btn-facebook svg,
.vc-social-btn-whatsapp svg,
.vc-social-btn-instagram svg{
  fill:currentColor;
  stroke:none;
}

.vc-social-btn-native[hidden]{
  display:none!important;
}

.vc-social-share-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:17px;
  padding-top:16px;
  border-top:1px solid rgba(92,61,36,.11);
}

.vc-social-share-downloads{
  display:flex;
  flex-wrap:wrap;
  gap:8px 15px;
}

.vc-social-share-downloads a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--vc-share-brown)!important;
  font-family:Arial,Helvetica,sans-serif;
  font-size:.76rem;
  font-weight:700;
  text-decoration:none!important;
}

.vc-social-share-downloads a:hover{
  text-decoration:underline!important;
  text-underline-offset:3px;
}

.vc-social-share-downloads svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.vc-social-status{
  min-height:18px;
  color:#765f4d;
  font-family:Arial,Helvetica,sans-serif;
  font-size:.74rem;
  line-height:1.4;
  text-align:right;
}

/* Inserimento nei normali articoli del tema */
.vc-social-share-wrap{
  clear:both;
  width:100%;
  margin-top:42px;
}

.vc-social-share-wrap .vc-social-share{
  margin-bottom:32px;
}

@media(max-width:900px){
  .vc-social-share-actions{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .vc-social-btn-native{
    grid-column:auto;
  }
}

@media(max-width:650px){
  .vc-social-share{
    margin-top:36px;
    padding:24px 18px;
    border-radius:19px;
  }

  .vc-social-share-head{
    display:block;
  }

  .vc-social-share-head p{
    max-width:none;
    margin-top:10px;
    text-align:left;
  }

  .vc-social-share-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .vc-social-btn{
    min-height:46px;
    padding:10px 11px;
    border-radius:17px;
    font-size:.82rem;
  }

  .vc-social-btn-native{
    grid-column:1/-1;
  }

  .vc-social-share-tools{
    display:block;
  }

  .vc-social-status{
    margin-top:12px;
    text-align:left;
  }
}

@media(prefers-reduced-motion:reduce){
  .vc-social-btn{
    transition:none;
  }
}
