/*
  Theme Name:Pallavolo Grosseto 2026
  Author:Digireturn
  Author URI:https://digireturn.it/
  Version:2.0
*/
    
  
:root{
	--brand-red:#DC2626;
	--brand-darkred:#991B1B;
	--brand-lightred:#EF4444;
	--brand-dark:#0B0F17;
	--brand-slate:#1E293B;
	--brand-gold:#F59E0B;
	--bs-body-bg:var(--brand-dark);
	--bs-body-color:#f1f5f9;
}
body{
    font-size:12px;
	background:var(--brand-dark);
	color:#f1f5f9;
	font-family:'Inter', sans-serif;
	-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
.img-fluid{margin:0 auto;display:block;max-width:100%;height:auto}
.font-display{ font-family:'Oswald', sans-serif; }
.bg-brand-dark{ background-color:var(--brand-dark) !important; }
.bg-brand-red{ background-color:var(--brand-red) !important; }
.text-brand-red{ color:var(--brand-red) !important; }
.text-brand-lightred{ color:var(--brand-lightred) !important; }
.border-brand-red{ border-color:var(--brand-red) !important; }
.btn-brand-red{ background-color:var(--brand-red); border-color:var(--brand-red); color:#fff; }
.btn-brand-red:hover{ background-color:#b91c1c; border-color:#b91c1c; color:#fff; }

.glass-card{
	background:rgba(15, 23, 42, 0.75);
	backdrop-filter:blur(16px);
	border:1px solid rgba(255, 255, 255, 0.1);
}
.video-docker{
	position:absolute; top:0; left:0; width:100%; height:100%; overflow:hidden; z-index:0;
}
.video-docker video{
	min-width:100%; min-height:100%; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); object-fit:cover;
}
.video-overlay{
	position:absolute; top:0; left:0; width:100%; height:100%;
	background:linear-gradient(180deg, rgba(11,15,23,0.85) 0%, rgba(15,23,42,0.7) 50%, rgba(11,15,23,0.95) 100%);
	z-index:1;
}
.photo-card{
	box-shadow:0 10px 30px -10px rgba(0,0,0,0.5);
	transition:all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.photo-card:hover{
	transform:translateY(-6px) scale(1.02);
	box-shadow:0 20px 40px -15px rgba(220,38,38,0.3);
}
.shop-card{
	background:#111827;
	border:1px solid #1F2937;
	border-radius:1.25rem;
	transition:transform 0.3s ease, border-color 0.3s ease;
}
.shop-card:hover{ border-color:var(--brand-red); transform:translateY(-4px); }
.topbar-gradient{
	background:linear-gradient(90deg, var(--brand-darkred), var(--brand-red), var(--brand-darkred));
}
header.sticky-top{ backdrop-filter:blur(12px); background:rgba(11,15,23,0.95) !important; border-bottom:1px solid rgba(30,41,59,0.8);width:100%}
.nav-link-custom{ color:#cbd5e1; font-size:0.75rem; text-transform:uppercase; letter-spacing:0.05em; font-weight:500; }
.nav-link-custom:hover, .nav-link-custom.active{ color:var(--brand-red) !important; }
.stats-card{ background:rgba(15,23,42,0.95); border:1px solid #1e293b; border-radius:1rem; }
.news-card, .roster-card{ background:rgba(15,23,42,0.8); border:1px solid #1e293b; }
.news-card:hover, .roster-card:hover{ border-color:var(--brand-red); }
.countdown-box{ background:rgba(15,23,42,0.9); border:1px solid #1e293b; border-radius:0.75rem; }

body.logged{ padding-top:0; }
.mainmenu-old-center img{ max-width:100%; height:auto; }
content{ display:block; }

/* -------------------------------------------------------------- */
.title_colored{
	background:linear-gradient(90deg,#ef4444,#f59e0b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
.home-icon-btn-cover{
	transition:transform 0.3s ease, border-color 0.3s ease;
}
.home-icon-btn-cover:hover{
	
	border-color:var(--brand-red) !important;
}
.home-icon-btn-cover:hover::after{
	content:'';
	position:absolute;
	inset:0;
	background:rgba(220,38,38,0.15);
} 
/* ===== MENU DROPDOWN ===== */
.nav-item-dropdown{ position:relative; }
.news-dropdown{
    position:absolute;
    top:100%;
    left:0;
    min-width:260px;
    background:rgba(15,23,42,0.97);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:1rem;
    padding:0.5rem;
    box-shadow:0 20px 40px -10px rgba(0,0,0,0.6);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:all 0.25s cubic-bezier(0.16,1,0.3,1);
    z-index:1000;
    backdrop-filter:blur(12px);
}
/* Bridge invisibile per evitare gap hover */
.nav-item-dropdown::after{
    content:'';
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    height:20px;
    background:transparent;
}
.nav-item-dropdown:hover .news-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.dropdown-item-custom{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border-radius:0.6rem;
    color:#cbd5e1;
    text-decoration:none;
    font-size:0.80rem;
    font-weight:500;
    transition:all 0.2s ease;
}
.dropdown-item-custom:hover{
    background:rgba(220,38,38,0.12);
    color:#fff;
}
.dropdown-item-custom .icon-box{
    width:28px;
    height:28px;
    background:rgba(255,255,255,0.06);
    border-radius:0.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}
.dropdown-item-custom:hover .icon-box{
    background:rgba(220,38,38,0.25);
    color:#ef4444;
}
.dropdown-divider-custom{
    height:1px;
    background:rgba(255,255,255,0.08);
    margin:8px 4px;
}
.small_menu_btn{font-size:0.75rem}
/* Mobile */
.mobile-submenu{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.3s ease;
}
.mobile-submenu.open{
    max-height:500px;
}
.mobile-submenu-toggle.open i{
    transform:rotate(180deg);
}
.mobile-submenu-toggle i{
    transition:transform 0.25s ease;
}
#mobile-menu{
	position:fixed;
	left:0;
	top:58px;
	max-width:100%;
	right:0;font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: lighter;
  line-height: 1.5;	
}
.btn-info{background:rgba(15,23,42,0.8);color:#eee;border:1px solid rgb(108,117,125)}
.btn-info:hover,.btn-info:active,.btn-info.active{background:#840000 !important;color:#fff !important;border-color:#840000 !important}


.wotna_section{width:100%;padding:20px 0}
.title-page{padding:25px 0 10px;margin:0}
.the_content{width:100%;clear:both;font-size: 1rem;padding:10px 0 20px}
.the_content img{max-width:100%}
.the_content_cover{float:right;margin:0 0 10px 10px;max-width:50%}
@media (max-width:768px){ 
.the_content_cover{float:none;margin:10px 0px;max-width:100%}
}

.video_in_list:hover .picture{background:var(--primary-color)}
.video_title{margin:5px 0 30px;text-align:center}
.videoframe{height: 0;padding-bottom: 56.25%;position: relative;margin-bottom:10px}
.videoframe > iframe{height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;}
.videocorrelati .row{margin-bottom:15px}


.team_in_list picture img{border:2px solid #333;border-radius:16px}
.team_in_list:hover picture img{border-color:silver}
.team_title{margin-top:0;margin-bottom:25px;border:1px solid var(--primary-color);border-radius:15px}
.team_title .team-number{background:var(--primary-color);color:#fff;margin: 0 -15px 0 0;padding:15px 0;border-top-left-radius:15px;border-bottom-left-radius:15px}
.team_title .team-name{padding:5px 5px 5px 0;color:yellow}
.team_title .team-role{color:silver}
.team_title h5{margin:0;padding:15px 0 10px;font-size:24px}
.team_title .high{color:white;font-weight:bold;display:block}
.team_title h6{margin:0;padding:0;border-bottom:1px solid red}
.team_single_header{margin-top:35px;padding-top:50px}
.team_single_header .container{max-width:860px}
.team_single_header img{max-height:400px}
.team_header_info{padding-top:100px;color:white}
.team_header_info h2{color:var(--primary-color);font-weight:bold}
.team_header_info h4{color:var(--primary-color)}
.team_roster{padding:25px 0}
.team_roster_list{padding-top:6px;padding-bottom:6px}
.team_roster_list.head{background:#771717}
.team_roster_list.alt{background:#2b2b2b} 

.planner_day_filter{margin-bottom:20px}
.planner_card{background: #212121;
  padding: 20px 20px 10px;
  margin-bottom: 20px;
  border-radius: 20px;
  border-left: 4px solid darkgray;
  border-right: 4px solid darkgray;}
.planner_card img{
	border-radius: 12px;
	border: 2px solid #888;
	margin-bottom: 4px;
	box-shadow: 0 0 20px dimgray;
}
.image_fluid{position:relative}
.overflow{background:linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(38,38,38,0.35) 100%);color:#fff;position:absolute;max-width:100%;padding:15px 35px}
.overflow.bottom{width:100%;text-align:center;bottom:0;left:50%;transform:translate(-50%,0);-webkit-transform:translate(-50%,0);-moz-transform:translate(-50%,0);-ms-transform:translate(-50%,0);}
@media (max-width:768px){
	.overflow{position:relative;top:0;left:0;transform:none;max-width:100%;}
 
	.vspace-xs{margin-bottom:var(--vspace) !important}
}

.tmplate_gallery_card{display:block;font-size:1rem;text-align:center;margin-bottom:20px;-overflow:hidden}
.tmplate_gallery_card img{border-radius:12px;border:2px solid gray;transition: transform 0.3s ease }
a.tmplate_gallery_card:hover{color:red}
a.tmplate_gallery_card:hover img{border-color:red;transform: scale(1.1) translateY(-5px);}
.gallery-image{margin-bottom:20px}
.popup-gallery{border: 1px solid #444;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;}
.popup-gallery:hover{border-color:#888}
.popup-gallery .image-title{padding:5px;}

/* Parallax */
.parallax-section{
	position:relative; overflow:hidden; min-height:520px;
	background-attachment:fixed; background-position:center; background-size:cover;
	display:flex; align-items:center;
}
.parallax-section h3{font-size:clamp(2rem,4vw,3rem)}
.parallax-section img{border-radius:12px;border:1px solid #333}
.parallax-overlay{position:absolute; inset:0}
.parallax-overlay.sx{background:linear-gradient(90deg, rgba(11,15,23,0.92) 0%, rgba(11,15,23,0.75) 45%, rgba(220,38,38,0.35) 100%)}
.parallax-overlay.dx{background:linear-gradient(270deg, rgba(11,15,23,0.92) 0%, rgba(11,15,23,0.75) 45%, rgba(220,38,38,0.35) 100%)}
@media (max-width:768px){ .parallax-section{ background-attachment:scroll; min-height:auto; padding:3rem 0; } }

.title-category{
	background: #3a3838;
	padding: 10px;
	line-height: 1.5;
	font-size: 2rem;
	color: #f4f4f4;
	margin: 10px 0 20px 0;
	text-transform: uppercase;
}
.list-sponsor{
    margin-bottom:20px;
    display:block
}
.list-sponsor img{
    border-radius:16px;
    transition:transform 0.3s ease;
}	
.list-sponsor:hover{	
  color:red
}
.list-sponsor:hover img{
    transform:scale(1.1) translateY(-5px);
}
/* carosello */
.sponsor-track { display:flex; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; padding-bottom:1rem; }
.sponsor-track::-webkit-scrollbar{ display:none; }
.sponsor-card {
	min-width:200px; max-width:200px; background:#111827; border:1px solid #1f2937; border-radius:12px;
	padding:0; text-align:center; scroll-snap-align:start; transition: all 0.3s ease;
	position:relative;
}
.sponsor-card img{}
.sponsor-card .sponsor_name{padding:0 10px}

.sponsor-logo { width:100%;object-fit:contain; background:#0b0f17; border-radius:0.75rem; padding:0.5rem; margin-bottom:0.75rem; }
.badge-topsponsor{ background:linear-gradient(90deg,#f59e0b,#fbbf24); color:#000; }
.badge-premiumsponsor { background:linear-gradient(90deg,#e5e7eb,#f3f4f6); color:#111; }
.badge-officialpartner { background:linear-gradient(90deg,#dc2626,#ef4444); color:#fff; }
.badge-supporter{ background:#1e293b; color:#94a3b8; border:1px solid #334155; }
.badge-amicidipallavologrosseto { background:rgba(34,197,94,0.15); color:#4ade80; border:1px solid rgba(34,197,94,0.3); }
.sponsor-cta {
	background: radial-gradient(120% 120% at 20% 20%, #1e293b 0%, #0b0f17 60%), linear-gradient(135deg, rgba(220,38,38,0.25), transparent);
	border:1px solid #1e293b; border-radius:1.5rem; overflow:hidden;
}

/* GIANO PAGINATION - DARK THEME */
.giano-pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  font-family: 'Inter', system-ui, sans-serif;
}

.giano-pagination ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 8px;
  margin: 0;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.giano-pagination .giano-li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.giano-pagination .giano-a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #a1a1aa;
  background: transparent;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.giano-pagination .giano-a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

/* STATO ATTIVO */
.giano-pagination .giano-li.active .giano-a {
  color: #fff;
 background: linear-gradient(135deg, #f17063 0%, #a21b1b 100%);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.giano-pagination .giano-li.active .giano-a:hover {
  background: linear-gradient(135deg, #5457e5 0%, #7c4dff 100%);
}

/* FRECCE > >> */
.giano-pagination .giano-li:last-child .giano-a,
.giano-pagination .giano-li:nth-last-child(2) .giano-a {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: #d4d4d8;
  font-size: 13px;
  letter-spacing: -1px;
}

.giano-pagination .giano-li:last-child .giano-a:hover,
.giano-pagination .giano-li:nth-last-child(2) .giano-a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 480px) {
  .giano-pagination ul {
    gap: 4px;
    padding: 6px;
  }
  .giano-pagination .giano-a {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}


/* WOTNA CUSTOM FORM - DARK THEME MATCH GIANO PAGINATION */
.wsection-custom_form {
  background: #0e0e10;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.wsection-custom_form::before{
  content:"";
  position:absolute;
  top:-20%; left:-10%;
  width:60%; height:60%;
  background: radial-gradient(600px at 0% 0%, rgba(99,102,241,0.15), transparent 60%);
  pointer-events:none;
}
.wsection-custom_form::after{
  content:"";
  position:absolute;
  bottom:-20%; right:-10%;
  width:60%; height:60%;
  background: radial-gradient(600px at 100% 100%, rgba(139,92,246,0.15), transparent 60%);
  pointer-events:none;
}

.wsection-custom_form .container.-fluid {
  position: relative;
  z-index: 1;
}

/* COLONNA TESTO A SX */
.wsection-custom_form .-col-text .the_content {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  color: #d4d4d8;
  font-size: 15px;
  line-height: 1.7;
}
.wsection-custom_form .-col-text .the_content p {
  margin-bottom: 0;
  white-space: pre-line;
}
.wsection-custom_form .-col-text .the_content br {
  content:"";
  display:block;
  margin: 8px 0;
}

/* COLONNA FORM A DX */
.wsection-custom_form .col-custom_form {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 32px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* FORM CF7 */
.wsection-custom_form .wpcf7-form p {
  margin: 0;
  display: grid;
  gap: 14px;
}
.wsection-custom_form .wpcf7-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 2px;
}
.wsection-custom_form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}
/* SELECT GENERICO - DARK FIGO - NO ID, SOLO CLASSI */
.woocommerce-input-wrapper{
  display:block;
  width:100%;
}

/* 1. SELECT NATIVO - per tutti i select del sito */
select,
.woocommerce-input-wrapper select,
.country_to_state,
.country_select {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  height: 46px;
  background-color: #0f0f11 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a1a1aa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 999px !important;
  padding: 0 42px 0 18px !important;
  color: #f4f4f5 !important;
  font-size: 14px;
  font-weight: 500;
  outline: none !important;
  cursor: pointer;
  transition: all .25s ease;
}
select:hover,
.woocommerce-input-wrapper select:hover{
  border-color: rgba(255,255,255,0.2) !important;
  background-color: #121214 !important;
}
select:focus,
.woocommerce-input-wrapper select:focus{
  border-color: #6366f1 !important;
  background-color: #121214 !important;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15) !important;
}
select option{
  background: #18181b;
  color: #f4f4f5;
}

/* 2. SELECT2 CONTAINER - QUELLO CHE VEDI VERAMENTE */
.select2-container{
  width: 100% !important;
}
.select2-container .select2-selection{
  height: 46px !important;
  background: #0f0f11 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  transition: all .25s ease !important;
}
.select2-container .select2-selection:hover{
  border-color: rgba(255,255,255,0.2) !important;
  background: #121214 !important;
}
.select2-container--open .select2-selection,
.select2-container--focus .select2-selection{
  border-color: #6366f1 !important;
  background: #121214 !important;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15) !important;
}

.select2-selection__rendered{
  color: #f4f4f5 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding-left: 18px !important;
  padding-right: 40px !important;
  line-height: 44px !important;
}
.select2-selection__placeholder{
  color: #71717a !important;
}
.select2-selection__arrow{
  height: 44px !important;
  width: 40px !important;
  right: 4px !important;
  display: grid !important;
  place-items: center !important;
}
.select2-selection__arrow b{
  display:none !important;
}
.select2-selection__arrow::after{
  content:"";
  width:14px; height:14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a1a1aa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  transition: transform .25s ease;
  opacity:.8;
}
.select2-container--open .select2-selection__arrow::after{
  transform: rotate(180deg);
}

/* 3. DROPDOWN LISTA */
.select2-dropdown{
  background: #18181b !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset !important;
  margin-top: 8px !important;
  animation: selectDrop .25s cubic-bezier(.4,0,.2,1);
}
@keyframes selectDrop{
  from{ opacity:0; transform: translateY(8px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

.select2-search--dropdown{
  padding: 10px !important;
  background: #0f0f11 !important;
}
.select2-search__field{
  background: #18181b !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 999px !important;
  color: #fff !important;
  padding: 8px 14px !important;
  font-size:13px !important;
  outline:none !important;
}
.select2-search__field:focus{
  border-color:#6366f1 !important;
}

.select2-results__options{
  padding: 6px !important;
  max-height: 240px !important;
}
.select2-results__option{
  padding: 10px 14px !important;
  border-radius: 999px !important;
  font-size:13px !important;
  font-weight:500 !important;
  color:#a1a1aa !important;
  background: transparent !important;
  transition: all .15s !important;
  margin-bottom:2px !important;
}
.select2-results__option--highlighted,
.select2-results__option:hover{
  background: rgba(255,255,255,0.07) !important;
  color:#fff !important;
}
.select2-results__option--selected,
.select2-results__option[aria-selected="true"]{
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  color:#fff !important;
  box-shadow: 0 4px 12px rgba(99,102,241,.3) !important;
}
.select2-container .select2-selection--single .select2-selection__rendered,
label{color:gray}
input[type="email"],
input[type="tel"],
input[type="text"],
select,
textarea,
.wsection-custom_form .wpcf7-email,
.wsection-custom_form .wpcf7-captchar {
  width: 100% !important;
  background: #0f0f11 !important;
  min-height:46px;
  color: #f4f4f4 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 20px !important;
  padding: 0 18px !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
  outline: none !important;
  line-height:1.5 !important;
}
.wsection-custom_form .wpcf7-textarea{height:150px}
.wsection-custom_form .wpcf7-text:focus,
.wsection-custom_form .wpcf7-textarea:focus,
.wsection-custom_form .wpcf7-email:focus,
.wsection-custom_form .wpcf7-captchar:focus {
  border-color: #6366f1;
  background: #121214;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

/* CHECKBOX */
.wsection-custom_form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wsection-custom_form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #d4d4d8;
  cursor: pointer;
}
.wsection-custom_form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: #0f0f11;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  margin-top: 2px;
  position: relative;
  transition: all .2s;
}
.wsection-custom_form .wpcf7-acceptance input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: #6366f1;
}
.wsection-custom_form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

/* LINK PRIVACY + CAPTCHA */
.wsection-custom_form a {
  color: #a5b4fc;
  text-decoration: none;
  font-size: 13px;
}
.wsection-custom_form a:hover { color: #fff; text-decoration: underline; }
.wsection-custom_form .wpcf7-captchac {
margin: -4px 0 -16px;
  width: auto;
  height: 39px;
}

/* BOTTONE INVIA */
.wsection-custom_form .wpcf7-submit {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99,102,241,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all .25s cubic-bezier(0.4,0,0.2,1);
  margin-top: 8px;
}
.wsection-custom_form .wpcf7-submit:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 25px rgba(99,102,241,0.5);
  background: linear-gradient(135deg, #5457e5 0%, #7c4dff 100%);
}
.wsection-custom_form .wpcf7-submit:disabled {
  opacity: .5;
  filter: grayscale(0.5);
  cursor: not-allowed;
  transform: none;
}

/* MESSAGGI CF7 */
.wsection-custom_form .wpcf7-response-output {
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: #0f0f11;
  color: #d4d4d8;
  font-size: 13px;
  padding: 14px 16px !important;
  margin: 16px 0 0 0 !important;
}

/* MOBILE */
@media(max-width: 768px){
  .wsection-custom_form { padding: 24px 0; }
  .wsection-custom_form .-col-text .the_content,
  .wsection-custom_form .col-custom_form { border-radius: 18px; padding: 22px !important; }
}

/* NEWSCARD - DARK PREMIUM WITH GRADIENTS */
.newscard {
  position: relative;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all .35s cubic-bezier(0.4,0,0.2,1);
}
.newscard::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(600px circle at 0% 0%, rgba(99,102,241,0.12), transparent 40%),
              radial-gradient(500px circle at 100% 100%, rgba(139,92,246,0.10), transparent 40%);
  opacity:0;
  transition: opacity .35s ease;
  pointer-events:none;
}
.newscard:hover {
  transform: translateY(-3px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(99,102,241,0.15) inset;
}
.newscard:hover::before{ opacity:1; }

/* VARIANTE ALT - leggermente diversa */
.newscard.alt {
  background: linear-gradient(180deg, #1b1b1f 0%, #18181b 100%);
}
.newscard.alt::after{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:3px;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  opacity:.7;
}

/* IMMAGINE */
.newscard .col-sm-4 a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  background: #0f0f11;
}
.newscard picture, .newscard img.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.4,0,0.2,1), filter .35s;
}
.newscard:hover img.img-fluid {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.newscard .col-sm-4 a::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 50%);
  z-index:1;
}

/* BOX DATA - STILE BIGLIETTO */
.newscard .box-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0f0f11;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 16px 12px;
  text-align: center;
  min-height: 110px;
  position: relative;
  overflow: hidden;
}
.newscard .box-date::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}
.box-date-month {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a5b4fc;
  line-height: 1;
}
.box-date-day {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin: 6px 0 4px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.box-date-year {
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 2px 10px;
  margin-top: 2px;
}

/* news */ 
.newscard{
  display: flex;
  gap: 20px;
  align-items: stretch;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 14px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  transition: all.35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.newscard::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(500px at 0% 0%, rgba(99,102,241,.14), transparent 60%);
  opacity:0; transition:.35s; pointer-events:none;
}
.newscard:hover{
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.7);
  box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.newscard:hover::before{ opacity:1; }
.newscard.alt{ background: linear-gradient(180deg, #1d1d20 0%, #18181b 100%); } 
.newscard_media{
  position: relative;
  flex: 0 0 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f0f11;
  aspect-ratio: 1 / 1;
  display: block;
  isolation: isolate;
}
.newscard_media img{
  width:100%; height:100%; object-fit:cover;
  transition: transform.7s cubic-bezier(.4,0,.2,1), filter.3s;
}
.newscard:hover.newscard_media img{ transform: scale(1.08); filter: brightness(1.05); }
.newscard_media::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 55%);
  z-index:1;
} 
.newscard_date{
  position:absolute;
  top:12px; left:12px;
  z-index:2;
  background: rgba(15,15,17,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 8px 10px;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  min-width: 54px;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.newscard_date.box-date-day{
  font-size:22px; font-weight:900; line-height:1;
  color:#fff; letter-spacing:-.03em;
}
.newscard_date.box-date-month{
  font-size:10px; font-weight:800; letter-spacing:.14em;
  text-transform:uppercase; color:#a5b4fc; margin-top:2px;
} 
.newscard_body{
  flex:1;
  display:flex; flex-direction:column;
  justify-content:center;
  padding: 10px 18px 10px 4px;
  position:relative; z-index:1;
}
.newscard_meta{
  display:flex; gap:8px; align-items:center; margin-bottom:14px;
}
.meta-pill{
  font-size:11px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:#a1a1aa;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  padding:5px 10px; border-radius:999px;
  display:inline-flex; align-items:center; gap:5px;
}
.meta-pill.dot{ color:#d4d4d8; }
.meta-pill.dot::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  display:inline-block;
}

.text-under-image{
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3; 
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 4px;
}
.newscard_title_link{ text-decoration:none; }
.newscard_title_link:hover.text-under-image{ color:#fff; }

.newscard_cta{
  margin-top: 16px;
  font-size:12px; font-weight:800; letter-spacing:.12em;
  text-transform:uppercase; color:#818cf8;
  display:inline-flex; align-items:center; gap:6px;
  transition:.25s;
}
.newscard:hover.newscard_cta{ gap:10px; color:#fff; }

/* MOBILE */
@media(max-width:768px){
 .newscard{ flex-direction:column; gap:0; padding:12px; border-radius:22px; }
 .newscard_media{ flex:0 0 auto; aspect-ratio: 16/10.5; border-radius:16px; }
 .newscard_body{ padding:16px 6px 6px; }
 .text-under-image{ font-size:19px; }
}


/* SHOP CONTAINER */
.shop_container{
  background: #0e0e10;
  padding: 30px 0 60px;
  position: relative;
}
.shop_container::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:400px;
  background: radial-gradient(800px at 20% 0%, rgba(99,102,241,0.12), transparent 70%);
  pointer-events:none;
}
.shop_grid{
  position:relative; z-index:1;
  --bs-gutter-y: 22px;
} 
.shop_col{
  animation: cardIn .6s cubic-bezier(.4,0,.2,1) both;
  animation-delay: var(--delay);
}
@keyframes cardIn{
  from{ opacity:0; transform: translateY(18px) scale(.96); }
  to{ opacity:1; transform: translateY(0) scale(1); }
} 
.product_in_catalog{
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  height: 100%;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04);
}
.product_in_catalog::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(400px circle at 0% 0%, rgba(99,102,241,0.18), transparent 50%);
  opacity:0; transition:.4s; pointer-events:none; z-index:2;
}
.product_in_catalog:hover{
  transform: translateY(-6px);
  border-color: rgba(99,102,241,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(99,102,241,.15) inset;
}
.product_in_catalog:hover::before{ opacity:1; }

.product_link{ text-decoration:none; display:flex; flex-direction:column; height:100%; } 
.product_thumb{
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0f0f11;
  overflow: hidden;
  isolation: isolate;
}
.product_thumb img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .8s cubic-bezier(.4,0,.2,1), filter .4s;
}
.product_in_catalog:hover .product_thumb img{
  transform: scale(1.1) rotate(.5deg);
  filter: brightness(1.08);
}
.product_thumb::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, transparent 45%);
  z-index:1;
} 
.product_price{
  position:absolute;
  bottom:12px; left:12px;
  z-index:3;
  background: rgba(15,15,17,.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.02em;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.product_price .woocommerce-Price-currencySymbol{ color:#a5b4fc; } 
.product_quick{
  position:absolute;
  top:12px; right:12px;
  z-index:3;
  width:36px; height:36px;
  border-radius:50%;
  background: #fff;
  color:#000;
  display:grid; place-items:center;
  font-size:16px;
  transform: translateY(-10px) scale(.8);
  opacity:0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.product_in_catalog:hover .product_quick{
  transform: translateY(0) scale(1);
  opacity:1;
} 
.product_info{
  padding: 16px 16px 14px;
  display:flex; flex-direction:column;
  gap:10px;
  flex:1;
  position:relative; z-index:1;
}
.product-title{
  font-size:14px; font-weight:700; line-height:1.35;
  color:#f4f4f5; margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; min-height: 38px;
  transition:.2s;
}
.product_in_catalog:hover .product-title{ color:#fff; } 
.product_info .btn.bprimary{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  width:100%; height:42px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color:#d4d4d8;
  font-size:12px; font-weight:800;
  letter-spacing:.08em; text-transform:uppercase;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  margin-top:auto;
}
.product_in_catalog:hover .btn.bprimary{
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-color: transparent;
  color:#fff;
  box-shadow: 0 6px 18px rgba(99,102,241,.4), inset 0 1px 0 rgba(255,255,255,.2);
  gap:10px;
} 
.product_in_catalog p{ margin:0; } 
@media(max-width:576px){
  .product_in_catalog{ border-radius:18px; }
  .product_thumb{ aspect-ratio: 1/1; }
  .product_info{ padding:12px; }
  .product-title{ font-size:13px; min-height:34px; }
  .product_info .btn.bprimary{ height:38px; font-size:11px; }
}


/* SINGLE PRODUCT - DARK PREMIUM - SOLO CSS */
.single-product #container-wc .product{
  background: #0e0e10;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  animation: prodIn .6s cubic-bezier(.4,0,.2,1);
}
@keyframes prodIn{ from{ opacity:0; transform:translateY(20px)} to{ opacity:1; transform:translateY(0)} }

#container-wc .product::before{
  content:"";
  position:absolute; top:-20%; left:-10%; width:70%; height:60%;
  background: radial-gradient(700px at 0% 0%, rgba(99,102,241,0.14), transparent 60%);
  pointer-events:none;
}
#container-wc .product .row{ position:relative; z-index:1; }

/* GALLERY */
#container-wc .product .woocommerce-product-gallery{
  background: #121214;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 12px;
  overflow: hidden;
}
#container-wc .product .woocommerce-product-gallery__image{
  border-radius: 16px;
  overflow: hidden;
  background: #0f0f11;
  aspect-ratio: 1/1;
  margin-bottom: 10px;
  position: relative;
  isolation: isolate;
}
#container-wc .product .woocommerce-product-gallery__image img{
  width:100%; height:100%;  
} 
#container-wc .product .woocommerce-product-gallery__image:nth-child(2){
  display:inline-block;
  width: 72px; height:72px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor:pointer;
  transition:.2s;
} 
#container-wc .product .summary{
  padding: 10px 10px 10px 24px;
}
#container-wc .product .product_title{
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #fff 40%, #a1a1aa 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color: transparent;
  background-clip:text;
}
#container-wc .product .price{
  display:inline-flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 28px;
}
#container-wc .product .price .amount{
  font-size: 22px;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -.02em;
}
#container-wc .product .price .amount bdi{ color:#fff; }
#container-wc .product .woocommerce-Price-currencySymbol{ color:#a5b4fc; }

/* QUANTITY + ADD TO CART */
#container-wc .product .cart{
  display:flex;
  gap:12px;
  align-items:center;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 8px;
  width: fit-content;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  margin-bottom: 20px;
}
#container-wc .product .quantity{
  margin:0 !important;
}
#container-wc .product .qty{
  width: 54px !important;
  height: 46px;
  background: #0f0f11 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  outline:none;
  transition:.2s;
}
#container-wc .product .qty:focus{
  border-color:#6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
#container-wc .product .single_add_to_cart_button{
  height: 46px;
  padding: 0 28px !important;
  border-radius: 999px !important;
  border:none !important;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  color:#fff !important;
  font-weight:800 !important;
  font-size:13px !important;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow: 0 6px 20px rgba(99,102,241,.4), inset 0 1px 0 rgba(255,255,255,.2);
  transition: all .3s cubic-bezier(.4,0,.2,1) !important;
}
#container-wc .product .single_add_to_cart_button:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(99,102,241,.5) !important;
}

/* META */
#container-wc .product .product_meta{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size:12px;
  color:#71717a;
}
#container-wc .product .product_meta a{
  color:#a1a1aa;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius:999px;
  text-decoration:none;
  transition:.2s;
}
#container-wc .product .product_meta a:hover{ color:#fff; background: rgba(255,255,255,0.1); }

/* RELATED */
.related.products{
  margin-top: 50px;
  background: #0e0e10;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
}
.related.products > h2{
  font-size:20px; font-weight:900; color:#fff;
  letter-spacing:-.02em; margin-bottom:22px;
  display:flex; align-items:center; gap:10px;
}
.related.products > h2::before{
  content:""; width:32px; height:3px; border-radius:999px;
  background: linear-gradient(90deg,#6366f1,#8b5cf6);
  display:inline-block;
}
.related a{
  display:flex; flex-direction:column;
  background:#18181b;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  overflow:hidden;
  text-decoration:none;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  height:100%;
}
.related a:hover{
  transform: translateY(-5px);
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.related img{ 
  background:#0f0f11;
  transition: transform .6s;
  width:100%;height:auto;
}
.related a:hover img{ transform:scale(1.06); }
.related .woocommerce-loop-product__title{
  font-size:13px !important; font-weight:700 !important;
  line-height:1.35; color:#e4e4e7 !important;
  padding:14px 14px 4px; margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:48px;
}
.related .price{
  padding:0 14px 14px;
  background:transparent !important; border:none !important;
  margin:0;
}
.related .price .amount{ font-size:14px !important; color:#fff !important; }
.related .wc_add_cart_button_in_loop{ display:none; } /* pulizia, usiamo solo click su card */

@media(max-width:768px){
  #container-wc .product{ padding:14px; border-radius:20px; }
  #container-wc .product .summary{ padding:18px 4px; }
  #container-wc .product .product_title{ font-size:26px; }
  #container-wc .product .cart{ width:100%; }
  #container-wc .product .single_add_to_cart_button{ flex:1; }
}

/* WOOCOMMERCE TABS */
.woocommerce-tabs{
  margin-top: 36px;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
.woocommerce-tabs .wc-tabs{
  display:flex;
  gap:8px;
  padding: 10px !important;
  margin:0 !important;
  list-style:none;
  background: #0f0f11;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: visible !important;
}
.woocommerce-tabs .wc-tabs::before,
.woocommerce-tabs .wc-tabs::after{ display:none !important; }

.woocommerce-tabs .wc-tabs li{
  margin:0 !important;
  padding:0 !important;
  border:none !important;
  background: transparent !important;
  border-radius: 999px !important;
  position: relative;
}
.woocommerce-tabs .wc-tabs li::before,
.woocommerce-tabs .wc-tabs li::after{ display:none !important; }

.woocommerce-tabs .wc-tabs li a{
  display:flex;
  align-items:center;
  gap:8px;
  height: 40px;
  padding: 0 18px !important;
  border-radius: 999px;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#a1a1aa !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  text-decoration:none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
} 
.woocommerce-tabs .wc-tabs li a::before{
  content:"\F431"; /* bi-text-paragraph */
  font-family: "bootstrap-icons";
  font-size:14px;
  opacity:.8;
}

.woocommerce-tabs .wc-tabs li a:hover{
  color:#fff !important;
  background: rgba(255,255,255,0.08) !important;
  transform: translateY(-1px);
} 
.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .wc-tabs li.description_tab.active a{
  color:#fff !important;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(99,102,241,.4), inset 0 1px 0 rgba(255,255,255,.2) !important;
  transform: scale(1.03);
} 
.woocommerce-tabs .wc-tab{
  padding: 28px !important;
  margin:0 !important;
  background: #18181b !important;
  color: #d4d4d8;
  animation: tabFade .4s cubic-bezier(.4,0,.2,1);
}
@keyframes tabFade{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}

.woocommerce-Tabs-panel h2{
  font-size:18px;
  font-weight:900;
  letter-spacing:-.02em;
  color:#fff;
  margin:0 0 14px 0 !important;
  display:flex;
  align-items:center;
  gap:10px;
}
.woocommerce-Tabs-panel h2::before{
  content:"";
  width:24px; height:3px; border-radius:999px;
  background: linear-gradient(90deg,#6366f1,#8b5cf6);
  display:inline-block;
}

.woocommerce-Tabs-panel p{
  font-size:14px;
  line-height:1.7;
  color:#a1a1aa;
  background: #0f0f11;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px 18px;
  margin:0;
}

/* MOBILE */
@media(max-width:768px){
  .woocommerce-tabs{ border-radius:20px; }
  .woocommerce-tabs .wc-tab{ padding:20px !important; }
  .woocommerce-tabs .wc-tabs{ padding:8px !important; }
  .woocommerce-tabs .wc-tabs li a{ height:36px; padding:0 14px !important; font-size:11px !important; }
}

/* CONTAINER GIOVANILE - DARK LAYOUT */
.container-fluid{
  background: #0e0e10;
  padding: 40px 20px 60px;
  position: relative;
}
.container-fluid::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:500px;
  background: radial-gradient(800px at 0% 0%, rgba(99,102,241,0.12), transparent 70%),
              radial-gradient(600px at 100% 0%, rgba(139,92,246,0.10), transparent 70%);
  pointer-events:none;
}

/* TITOLI H2 */
.container-fluid h2{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 20px;
  display:flex; align-items:center; gap:12px;
}
.container-fluid h2::before{
  content:"";
  width:28px; height:3px;
  border-radius:999px;
  background: linear-gradient(90deg,#6366f1,#8b5cf6);
}

/* =======================
   SX: LE SQUADRE
   ======================= */
.squadre{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.squadre > a{
  display:block;
  text-decoration:none;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 12px;
  transition: all.3s cubic-bezier(.4,0,.2,1);
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.squadre > a::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(300px at 0% 0%, rgba(99,102,241,0.15), transparent 60%);
  opacity:0; transition:.3s; pointer-events:none;
}
.squadre > a:hover{
  transform: translateY(-3px) translateX(3px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.squadre > a:hover::before{ opacity:1; }

/* immagine dentro - è vuota ora ma preparo lo stile */
.squadre.img-fluid{
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: #0f0f11;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display:block;
}
.squadre.img-fluid[src=""],
.squadre.img-fluid:not([src]){
  background: linear-gradient(135deg, #232326, #18181b);
  position:relative;
}
.squadre.img-fluid[src=""]::after{
  content:"🏐";
  position:absolute; inset:0;
  display:grid; place-items:center;
  font-size:20px;
}

/* nome squadra - è testo libero nell'ultimo div */
.squadre > a{
  font-size: 13px;
  font-weight: 800;
  letter-spacing:.04em;
  text-transform: uppercase;
  color: #d4d4d8;
  line-height:1.3;
}
.squadre > a:hover{ color:#fff; }

/* Per rendere il nome più leggibile senza row/col */
.squadre > a > div{
  display:flex;
  align-items:center;
  gap:14px;
}

/* =======================
   DX: NEWS JUNIOR
   ======================= */
.giovanile-news-column{
  position:relative;
  z-index:1;
}

.articles-list{
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 12px;
  margin-bottom: 12px;
  transition: all.35s cubic-bezier(.4,0,.2,1);
  overflow:hidden;
}
.articles-list:hover{
  transform: translateY(-3px);
  border-color: rgba(99,102,241,0.25);
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
}
.articles-list.alt{
  background: linear-gradient(180deg, #1d1d20 0%, #18181b 100%);
}

/* immagine news */
.articles-list.img-fluid{
  width:100%;
  aspect-ratio: 16/10.5;
  object-fit: cover;
  border-radius: 14px;
  background:#0f0f11;
  display:block;
  transition: transform.6s cubic-bezier(.4,0,.2,1);
}
.articles-list:hover.img-fluid{
  transform: scale(1.05);
}

/* data */
.articles-list small{
  display:inline-flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 10px;
}

/* titolo news */
.articles-list.text-under-image{
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    color: #f4f4f5;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    transition:.2s;
}
.articles-list a{
  text-decoration:none;
}
.articles-list a:hover.text-under-image{ color:#fff; }

/* link wrapper */
.articles-list > div > div:last-child a{
  display:flex;
  flex-direction:column;
}

/* PAGINATION dentro la colonna dx la lascio uguale a quella già fatta */
.giovanile-news-column.giano-pagination{
  margin-top: 24px;
}

footer{font-size:1rem}
.social_footer_links{}
.social_footer_links a{width:50px;display: inline-block !important;
  margin-right: 6px;}