/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:focus-visible {
  box-shadow: 0 0 0 2pt #E44617 !important;
  outline: 0 !important;
}

body {
  overflow-x: hidden !important;
}

.text-white{
  color: #fff !important;
}

.text-beige {
  color: #D1C5BC !important;
}

span {
  font-weight: 300 !important;
}

span strong, 
span b,
span.elementor-button-text {
  font-weight: 600 !important;
}

.d-none {
  display: none !important;
}

/* Hide WPML blue Banner after footer */
.otgs-development-site-front-end {
    display: none !important;
}

.scrolling-header { 
    transition: all .5s ease!important; 
}/* Stato normale: header nel flusso, visibile */
#scrolling-header{
    position: relative;
    z-index: 50;
  
    transform: none;
    opacity: 1;
  
    background-color: transparent;
    transition: background-color 320ms ease, box-shadow 320ms ease;
  }
  
  /* Testi: default bianchi (come ora) */
  #scrolling-header .elementor-heading-title{
    color: #ffffff;
    transition: color 320ms ease;
  }
  
  /* Quando diventa sticky (fixed) */
  #scrolling-header.tmb-is-fixed{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
  
    will-change: transform, opacity;
    transition:
      transform 480ms cubic-bezier(.22,.61,.36,1),
      opacity 320ms ease,
      background-color 320ms ease,
      box-shadow 320ms ease;
  }
  
  /* Sticky: stato nascosto (fade out up) */
  #scrolling-header.tmb-is-fixed.tmb-hide{
    transform: translate3d(0,-110%,0);
    opacity: 0;
    pointer-events: none;
  }
  
  /* Sticky: stato visibile (fade in down) */
  #scrolling-header.tmb-is-fixed.tmb-show{
    transform: translate3d(0,0,0);
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Sticky: testi neri */
  #scrolling-header.tmb-is-fixed .elementor-heading-title{
    color: #000000;
  }
  
  /* Logo: micro fade per lo swap src */
  #scrolling-header #tmb-logo img,
  #scrolling-header img#tmb-logo{
    transition: opacity 180ms ease;
    will-change: opacity;
  }
  
  @media (prefers-reduced-motion: reduce){
    #scrolling-header,
    #scrolling-header .elementor-heading-title,
    #scrolling-header #tmb-logo img,
    #scrolling-header img#tmb-logo{
      transition: none !important;
    }
  }

h3 strong,
p strong {
  font-size: 16px;
  vertical-align: bottom;
  color: #E44617;
  font-weight: 600;
  margin-left: 15px;
  margin-right: 10px;
}

.e-off-canvas__main nav ul {
  justify-content: space-between !important;
  width: 100%;
}

.e-off-canvas__main .elementor-nav-menu li ul a {
  padding-bottom: 0 !important;
  transition: 300ms;
}

.e-off-canvas__main .elementor-nav-menu li ul a:hover {
  line-height: 37px !important;
  transform: translateX(10px);
}

header .elementor-heading-title a {
	font-weight: 400 !important;
	transition: 300ms;
}

header nav a {
  cursor: pointer;
}

header .elementor-heading-title:hover a {
	font-weight: 400 !important;
	color: #E44617 !important;
}

.e-off-canvas__main nav ul::after {
  display: none !important;
}

/* submenu */
.e-off-canvas__main nav ul ul li a {
  padding: 5px 0 !important;
  border-inline-start: 0 !important;
}
  
em {
    font-family: Jost;
    font-style: normal;
    font-size: 16px;
    font-weight: 600;
    vertical-align: super;
    line-height: 40px;
}

@media (max-width:767px) {
  h1 br {
      display: none;
  }
  
  h1 span {
      display: block;
  }
  
  em {
      vertical-align: middle;
      font-size: 14px !important;
  }
}

.hp-slider-vini .elementor-swiper-button-prev {
  transform: translateX(-50%) !important;
}

.hp-slider-vini:before {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: #000000;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width:767px) { 
  .hp-slider-vini:before {
    height: 15%;
  }
}

.hp-slider-vini .elementor-swiper-button-next {
  display: none !important;
}

.hp-slider-vini .elementor-element .swiper~.elementor-swiper-button svg {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
}

.hp-slider-vini .elementor-swiper-button-prev svg text {
  transition: fill 320ms ease;
}

.hp-slider-vini .elementor-swiper-button-prev:hover svg text {
  fill: #D1C5BC !important;
}

.marquee-text {
  overflow: clip;
}

.marquee-text-track {
  display: flex;
  padding-left: 4.8rem;
  gap: 4.8rem;
  width: max-content;
  animation: marquee-move-text var(--speed, 10s) linear infinite
    var(--direction, forwards);
}

.marquee-text p {
  border: 1px solid white;
  background-color: #141414;
  border-radius: 999px;
  padding: 1rem 2.5rem;
}

@keyframes marquee-move-text {
  to {
    transform: translateX(-50%);
  }
}

/* This wrapper div is only there so we know for sure we have enough text to fill your screen.
   If you want to have this marquee loop on devices with a very large width, you simply need to add more text.*/
.wrapper {
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
}

.fadeout-horizontal {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5rem,
    black calc(100% - 5rem),
    transparent
  );
}

/* Card/loop item: hover fill dal basso verso l'alto */
.hp-last-news{
  position: relative;
  overflow: hidden;
}

/* overlay colore che "sale" */
.hp-last-news::before{
  content: "";
  position: absolute;
  inset: 0;
  background: #E44617;
  transform: translateY(100%);      /* parte sotto */
  transition: transform 300ms ease-out;
  z-index: 0;
}

/* quando hover: overlay sale */
.e-loop-item:hover .hp-last-news::before{
  transform: translateY(0);
}

/* porta sopra i contenuti */
.hp-last-news > *{
  position: relative;
  z-index: 1;
}

/* testo bianco in hover */
.e-loop-item:hover .hp-last-news,
.e-loop-item:hover .hp-last-news .elementor-heading-title,
.e-loop-item:hover .hp-last-news .elementor-heading-title *,
.e-loop-item:hover .hp-last-news h1,
.e-loop-item:hover .hp-last-news h2,
.e-loop-item:hover .hp-last-news h3,
.e-loop-item:hover .hp-last-news h4,
.e-loop-item:hover .hp-last-news a{
  color: #ffffff !important;
}

div[data-elementor-type="wp-page"] span a {
	text-decoration: underline;
	color: #E44617 !important;
}

@media (max-width:1024px) {
	div[data-elementor-type="wp-page"] span a {
		font-size: 18px !important;
	}
}

a h3 {
	transition: 300ms;
}

a:hover h3 {
	color: #E44617 !important;
}

a.chi-siamo-cta div.elementor-widget-image {
	overflow: hidden;
}

@media (min-width:1024px) {
	a.chi-siamo-cta:hover div.e-child {
	transform: translatex(-50%);
	transform-origin: left;
}
}

/* =========================================================
  Variante ACF: su queste pagine l'header parte già "sticky-style"
  (ma NON è fixed prima dei 70vh)
  ========================================================= */
body.switch-black #scrolling-header {
  background-color: #ffffff;
  transition: all 300ms ease !important;
}

body.switch-black #scrolling-header .elementor-heading-title{
  color: #000000;
}

/* opzionale: se vuoi anche l'ombra già visibile in top page
body.switch-black #scrolling-header:not(.tmb-is-fixed){
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
} */

/* SOLO per pagine switch-black:
   dopo X px (gestito dal JS) e prima dello sticky, il bg del header normale diventa trasparente */
body.switch-black #scrolling-header.tmb-top-bg-transparent:not(.tmb-is-fixed){
  background-color: transparent !important;
  box-shadow: none !important; /* opzionale ma consigliato */
}

/*************************
sanitize contact form 7
**************************/
input[type=date], 
input[type=email], 
input[type=number], 
input[type=password], 
input[type=search], 
input[type=tel], 
input[type=text], 
input[type=url], 
select, 
textarea {
    border: none !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    margin-top: 15px;
}

.black-contact-form input[type=date], 
.black-contact-form input[type=email], 
.black-contact-form input[type=number], 
.black-contact-form input[type=password], 
.black-contact-form input[type=search], 
.black-contact-form input[type=tel], 
.black-contact-form input[type=text], 
.black-contact-form input[type=url], 
.black-contact-form select, 
.black-contact-form textarea {
    border-bottom: 1px solid #fff !important;
    color: #fff !important;
}

input[type=submit] {
    margin-top: 15px;
}

/* ===== Variabili ===== */
:root{
    --company-color:#E44617;
    --chk-size:28px;
    --chk-radius:0;
}
  
  /* ===== Grid 2 colonne ===== */
  .contact-page-form br{
      display: none;
  }

.contact-page-form .consent {
	font-size: 12px;
}

  .cf7-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .cf7-grid .col-full{ grid-column:1 / -1; }
  
  /* ===== Campi base ===== */
  .cf7-label{ display:block; font-weight:600; margin-bottom:6px; letter-spacing:.02em;}
  .sr-only{
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }
  .cf7-input,.cf7-textarea{ width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:6px; box-sizing:border-box; }
  .cf7-textarea{ min-height:100px; resize:vertical; }
  
  /* ===== Acceptance: layout + checkbox custom 28x28 ===== */
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item{ margin:0 0 14px 0; }
  
  /* label: checkbox staccata dal testo */
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item > label{
    display:grid;
    grid-template-columns: var(--chk-size) 1fr;
    column-gap:14px;
    align-items:start;
    line-height:1.45;
    cursor:pointer;
  }
  
  /* checkbox nativo → stile custom */
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item > label > input[type="checkbox"]{
    -webkit-appearance:none !important;
    appearance:none !important;
    width:var(--chk-size) !important;
    height:var(--chk-size) !important;
    margin:0;
    border:1px solid #000 !important;
    border-radius:var(--chk-radius);
    background:transparent;
    box-sizing:border-box;
    background-repeat:no-repeat;
    background-position:center;
    background-size:70% 70%;
    transition: background-color .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .18s ease;
  }

  .black-contact-form .wpcf7-acceptance .wpcf7-list-item > label > input[type="checkbox"] {
  border:1px solid #fff !important;
}
  
  /* checked: riempie + spunta SVG + micro-pop */
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item > label > input[type="checkbox"]:checked{
    background-color:var(--company-color) !important;
    border-color: #000 !important;
    box-shadow:0 0 0 4px rgba(0,60,113,.12);
    transform:scale(.98);
    background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path d="M1 4l3 3 7-7" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') !important;
    animation:company-pop .18s ease-out;
  }
  
  /* focus tastiera */
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item > label > input[type="checkbox"]:focus-visible{
    outline:none;
    box-shadow:0 0 0 4px rgba(0,60,113,.28);
  }
  
  /* animazione */
  @keyframes company-pop{
    0%{ transform:scale(.9); }
    60%{ transform:scale(1.06); }
    100%{ transform:scale(1); }
  }
  
  /* Fallback colore (se appearance viene ignorato) */
  .wpcf7 form input[type="checkbox"]{ accent-color: var(--company-color); cursor:pointer;}
  
  .btn-submit p {
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
  }
  
  /* Submit (opzionale) */
  .cf7-submit { 
    cursor:pointer;
  }

.black-contact-form h2.elementor-heading-title {
  color: #fff;
}

.black-contact-form span.wpcf7-list-item-label {
  color: #fff;
}
  
  @media (max-width:768px){ 
    .cf7-grid { 
        grid-template-columns:1fr; 
    }
  }

  /* END Contact Form 7 sanitize */


  .elementor-widget-n-accordion details {
    padding-top: 25px;
    padding-bottom: 25px;
  }

   .elementor-widget-n-accordion details p {
    margin: 0;
  }

  .elementor-widget-n-accordion details:first-child::before,
  .elementor-widget-n-accordion details:nth-child(2)::before,
  .elementor-widget-n-accordion details:nth-child(3)::before,
  .elementor-widget-n-accordion details:nth-child(4)::before,
  .elementor-widget-n-accordion details:nth-child(5)::before,
  .elementor-widget-n-accordion details:nth-child(6)::before,
  .elementor-widget-n-accordion details:nth-child(7)::before,
  .elementor-widget-n-accordion details:nth-child(8)::before,
  .elementor-widget-n-accordion details:nth-child(9)::before,
  .elementor-widget-n-accordion details:nth-child(10)::before {
    display: inline-block;
    top:10px;
    left: 0;
    color: #000;
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
    position: absolute;
    background-color: #D1C5BC;
    width: 50px;
    border-right: 1px solid #000;
  }

  .elementor-widget-n-accordion details:first-child::before {
    content: "1";
  }

  .elementor-widget-n-accordion details:nth-child(2)::before {
    content: "2";
  }

  .elementor-widget-n-accordion details:nth-child(3)::before {
    content: "3";
  }

  .elementor-widget-n-accordion details:nth-child(4)::before {
    content: "4";
  }

  .elementor-widget-n-accordion details:nth-child(5)::before {
    content: "5";
  }

  .elementor-widget-n-accordion details:nth-child(6)::before {
    content: "6";
  }
  
  .elementor-widget-n-accordion details:nth-child(7)::before {
    content: "7";
  }

  .elementor-widget-n-accordion details:nth-child(8)::before {
    content: "8";
  }

  .elementor-widget-n-accordion details:nth-child(9)::before {
    content: "9";
  }

  .elementor-widget-n-accordion details:nth-child(10)::before {
    content: "10";
  }

  .elementor-590 .elementor-element.elementor-element-146bf7f {
    border-style: none;
    --padding-top: 20px;
    --padding-right: 0;
    --padding-bottom: 0;
    --padding-left: 50px;
  }

.contacts-map-overlay-color::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #D1C5BC;
  z-index: 1;
  mix-blend-mode: multiply;
  filter: brightness(1.2);
  pointer-events: none;
}

/* ===============================
   FULL WIDTH SECTION
================================ */

.we-curved-slider{
  width: 100%;
  position: relative;
  padding: 80px 0 50px;
}

/* ===============================
   CENTRAL STAGE (3 slides only)
================================ */

.we-curved-stage{
  max-width: 100%; /* controlla grandezza reale */
  margin: 0 auto;
  position: relative;
}

/* ===============================
   SWIPER
================================ */

.we-curved-swiper{
  width: 100%;
  overflow-x: hidden !important;  /* NON vedere 4° e 5° */
  overflow-y: hidden !important; /* mantenere curvatura */
  position: relative;
  padding-top: 50px !important;
  padding-bottom: 200px !important;
}

.we-curved-swiper .swiper-slide{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===============================
   CARD
================================ */

.we-curved-slide{
  width: clamp(280px, 30vw, 420px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: transform 650ms ease;
}

.we-curved-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.swiper-slide-active .we-curved-img{
  opacity: 1;
}

/* ===============================
   META TEXT
================================ */

.we-curved-meta{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 50px;
  transform: translateY(-100px);
  position: relative;
  z-index: 10;
}

.we-curved-kicker{
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.we-curved-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.we-curved-year{
  font-family: "Noto serif", serif;
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 767px) {
  .we-curved-meta{ 
    gap: 15px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
  }

  .we-curved-year {
    font-size: 40px; /* o il valore che preferisci per mobile */
  }

  .we-curved-slide{
    transform: none !important; /* evita 1-frame con scale/rotate residue */
  }
}

.we-curved-desc{
  margin: 20px auto 0;
  line-height: 32px;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(-80px);
  z-index: 10;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===============================
   NAVIGATION
================================ */

.we-curved-nav{
  bottom: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

.we-curved-prev{
  left: 50%;
}

.we-curved-next{
  left: 50%;
}

.we-curved-nav img{
  width: 50px;
  height: auto;
}


/* Base */
.territori-related-title{
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
  will-change: opacity, transform;
}

/* Hover ON */
.territori-related-card:hover .territori-related-title{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease, visibility 0s;
}

@media (max-width: 1024px) {
  .territori-related-title {
    background-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    transform: translateY(0) !important;
  }
}

/* wrapper */
.tvs-wrap{
  --tvs-h: calc(100vh - 50px) !important; /* già lo imposti inline */
  --tvs-peek: 0.55;   /* 0.10-0.15 */
  /* Sposta la slide attiva verso il basso aumentando lo spazio sotto */
  --tvs-bias: 0; /* 0.05–0.12 -> quanto la vuoi più in basso */
}

body.post-type-archive-territorio {
  position: fixed;
  width: 100%;
}


/* viewport swiper */
.tvs-wrap .tvs-swiper{
  height: var(--tvs-h);
  /* invece di padding simmetrici */
  padding-top:  calc(var(--tvs-h) * (var(--tvs-peek) + var(--tvs-bias)));
  padding-bottom: calc(var(--tvs-h) * (var(--tvs-peek) + var(--tvs-bias)));
}

.tvs-swiper.swiper-coverflow.swiper-3d {
  perspective: 400px !important;
}

/* In verticale: l'altezza "visibile" della slide centrale è (1 - 2*peek) */
.tvs-wrap .tvs-slide{
  height: 75vh !important;
  margin: 70px 0 !important;
  position: relative;
  transform: scale(.96);
  transition: transform .3s ease;
}

/* Swiper aggiunge active */
.tvs-wrap .swiper-slide-active.tvs-slide{
  transform: scale(1);
  opacity: 1;
}

/* immagine full */
.tvs-wrap .tvs-media,
.tvs-wrap .tvs-media img{
  width: 100%;
  height: 100%;
}
.tvs-wrap .tvs-media img{
  object-fit: cover;
  display: block;
}

/* titolo centrato verticalmente */

body.post-type-archive-territorio .elementor-location-archive {
  overflow: visible !important;
}

body.post-type-archive-territorio .e-con.e-child.animated {
  overflow: clip !important;
  overflow-clip-margin: 50px !important;
}

.tvs-swiper.swiper-coverflow.swiper-3d {
  overflow: visible !important;
}

.tvs-wrap .tvs-title{
  width: 170%;
  position:absolute;
  left: -25%;
  top:50%;
  will-change: transform;
  transform: translateY(-50%);
  z-index:2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 30px;
}

@media (max-width: 1800px) {
  .tvs-wrap .tvs-title{
    left: -10%;
  }
}

@media (max-width: 1665px) {
  .tvs-wrap .tvs-title{
    left: -5%;
  }
}

@media (max-width: 1366px) {
  .tvs-wrap .tvs-title{
    left: 5%;
    z-index: 999;
  }

  .tvs-wrap .tvs-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.3;
    z-index: 1;
    mix-blend-mode: multiply;
    filter: brightness(1.2);
    pointer-events: none;
  }
}

.tvs-wrap .tvs-title hr {
  width: 100%;
  border: 1px solid #fff;
}

.tvs-wrap .tvs-title h2{
  margin:0;
  color:#fff;
  font-weight:300;
  line-height:1.1;
  font-size: clamp(34px, 3.75vw, 72px);
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
  width: auto;
  text-wrap: nowrap !important;
}

/* pagination: se vuoi resti a destra (ora è verticale) */
.tvs-wrap .tvs-pagination{
  right: unset !important;
  left: -23% !important;
  top: unset !important;
  bottom: 50px !important;
  transform: translateY(0) !important;
}
.tvs-wrap .tvs-pagination-bullets{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.tvs-wrap .swiper-pagination-bullet{
  width: auto;
  height: auto;
  background: transparent !important;
  opacity: 1;
  margin: 0 !important;
  color:#fff !important;
  text-transform: uppercase;
  text-align: left;
}

body.post-type-archive-casa_vinicola_item .tvs-wrap .swiper-pagination-bullet {
  line-height: 29px;
}

.tvs-wrap .swiper-pagination-bullet-active{
  width: auto;
  background: transparent !important;
  color: var(--company-color) !important;
}

/* di default nascoste */
.tvs-wrap .tvs-arrows{
  display: none;
}

/* sotto 1665px: visibili, in basso a destra della slide */
@media (max-width: 1665px){
  .tvs-wrap .tvs-arrows{
    display: flex;
    gap: 10px;
    position: absolute;
    right: 60px;
    bottom: 160px;
    z-index: 50;
    pointer-events: auto;
  }

  .tvs-wrap .tvs-arrow{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border:none !important;
    background: transparent !important;
    cursor: pointer;
    display: grid;
    place-items: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    padding: 0 !important;
  }

  .tvs-wrap .tvs-arrow svg rect,
  .tvs-wrap .tvs-arrow svg circle,
  .tvs-wrap .tvs-arrow svg path,
  .tvs-wrap .tvs-arrow svg line {
    stroke: #fff;
    transition: stroke .3s ease;
  }

  .tvs-wrap .tvs-arrow:hover svg rect,
  .tvs-wrap .tvs-arrow:hover svg circle,
  .tvs-wrap .tvs-arrow:hover svg path,
  .tvs-wrap .tvs-arrow:hover svg line {
    stroke: var(--company-color);
  }
}

/* importante: la tvs-swiper deve essere position:relative per ancorare le frecce */
.tvs-wrap .tvs-swiper{
  position: relative;
}


@media (max-width: 1800px) {
  .tvs-wrap .tvs-title{
    left: -10%;
  }

  .tvs-wrap .tvs-pagination { 
    left: -15% !important;
  }
}

@media (max-width: 1665px) {
  .tvs-wrap .tvs-title{
    left: -5%;
  }

  .tvs-wrap .tvs-pagination { 
    display: none !important;
  }
}

@media (max-width: 1366px) {
  .tvs-wrap .tvs-title{
    left: 5%;
  }

  .tvs-wrap .tvs-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.3;
    z-index: 1;
    mix-blend-mode: multiply;
    filter: brightness(1.2);
    pointer-events: none;
  }
}

@media (max-width: 767px) {
.tvs-wrap .tvs-arrows{
    display: flex;
    gap: 10px;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    bottom: 160px;
    z-index: 50;
    pointer-events: auto;
  }
}

/****************************************************/
/* Tabella Awards singoli Vini */
/****************************************************/
.vino-awards {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.45);
}

.vino-awards__row {
    display: grid;
    grid-template-columns: 28% 12% 38% 22%;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.45);
    column-gap: 0;
}

.vino-awards__cell {
    padding: 30px 18px;
    min-width: 0;
}

.vino-awards__value {
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 300;
    text-transform: uppercase;
    word-break: break-word;
}

.vino-awards__cell--title,
.vino-awards__cell--year,
.vino-awards__cell--wine {
    text-align: left;
}

.vino-awards__cell--ranking {
    text-align: right;
}

.vino-awards__cell--ranking .vino-awards__value {
    white-space: nowrap;
}

/* Riduzione intermedia */
@media (max-width: 1280px) {
    .vino-awards__cell {
        padding: 24px 16px;
    }

    .vino-awards__value {
        font-size: 18px;
    }
}

/* Sotto i 1024px: 2 colonne sopra + 2 colonne sotto */
@media (max-width: 1023px) {
    .vino-awards__row {
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
            "title year"
            "wine ranking";
        align-items: start;
    }

    .vino-awards__cell {
        padding: 18px 14px;
    }

    .vino-awards__value {
        font-size: 16px;
    }

    .vino-awards__cell--title {
        grid-area: title;
    }

    .vino-awards__cell--year {
        grid-area: year;
        text-align: right;
    }

    .vino-awards__cell--wine {
        grid-area: wine;
        padding-top: 0;
    }

    .vino-awards__cell--ranking {
        grid-area: ranking;
        text-align: right;
        padding-top: 0;
    }

    .vino-awards__cell--ranking .vino-awards__value {
        white-space: normal;
    }
}

/* Mobile stretto */
@media (max-width: 640px) {
    .vino-awards__cell {
        padding: 16px 10px;
    }

    .vino-awards__value {
        font-size: 14px;
        line-height: 1.3;
    }
}

body.blog article {
  cursor: pointer !important;
}

body.single-post .elementor-widget-theme-post-content {
  padding-top: 100px;
  padding-bottom: 100px;
}

body.single-post h1,
body.single-post h2,
body.single-post h3,
body.single-post h4,
body.single-post h5,
body.single-post h6 {
  color: #000;
  font-family: "Noto Serif", serif;
  font-weight: 300;
  margin-bottom: 20px;
}

body.single-post p {
  font-family: "Jost", sans-serif;
  font-size: 24px;
  font-weight: 300 !important;
  margin-bottom: 20px;
}

body.single-post h1 + p,
body.single-post h2 + p,
body.single-post h3 + p,
body.single-post h4 + p,
body.single-post h5 + p,
body.single-post h6 + p {
  margin-top: 50px !important;
}

body.single-post p > strong, 
body.single-post p > b {
  font-family: "Jost", sans-serif;
  font-weight: 600 !important;
  font-size: 24px !important;
  margin: 0;
}

@media (max-width: 880px) {
  body.single-post .elementor-widget-theme-post-content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  body.single-post p {
    font-size: 18px;
  }

  body.single-post p > strong, 
  body.single-post p > b {
    font-size: 18px !important;
  }
}