﻿/* ==========================================================================
   site.css — Personalizzazione brand Gianna Masu Sindaco
   - Palette dal logo: nero #000000, rosso #D41117, bianco #FFFFFF
   - Font: Montserrat
   - Footer: nero pieno
   Caricato DOPO assets/sass/style.css per sovrascrivere il template.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ===== Brand tokens ===== */
:root {
    --brand-red: #D41117;
    --brand-black: #000000;
    --brand-white: #ffffff;
    --brand-font: 'Montserrat', sans-serif;
}

/* ===== Font globale — Montserrat ovunque ===== */
h1, h2, h3, h4, h5, h6,
p, a, span, li, label,
input, textarea, select, button,
.wpo-site-header, .wpo-site-footer,
[class*="wpo-"], [class*="slide-"],
[class*="candidate-"], [class*="value-"] {
    font-family: var(--brand-font) !important;
}

body,
.wpo-site-footer,
.wpo-site-footer p,
.wpo-site-footer li,
.wpo-site-footer a,
.wpo-site-footer h1,
.wpo-site-footer h2,
.wpo-site-footer h3,
.wpo-site-footer h4,
.wpo-site-footer h5,
.wpo-site-footer h6 {
    font-family: var(--brand-font);
}

h1, h2, h3, h4, h5, h6,
.wpo-section-title h2,
.wpo-section-title h3,
.wpo-section-title span {
    font-family: var(--brand-font);
}

/* ===== Footer nero pieno ===== */
.wpo-site-footer {
    background: var(--brand-black) !important;
}

.wpo-site-footer::before {
    background: var(--brand-black) !important;
    opacity: 1 !important;
}

.wpo-site-footer .wpo-lower-footer {
    background: var(--brand-black) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wpo-site-footer .wpo-lower-footer .row {
    border-top: none;
}

/* shape decorative del footer: nascondiamo le sfumature blu/rosa del template */
.wpo-site-footer .shape-1,
.wpo-site-footer .shape-2 {
    display: none;
}

.wpo-site-footer p,
.wpo-site-footer li,
.wpo-site-footer a {
    color: var(--brand-white);
}

.wpo-site-footer a:hover {
    color: var(--brand-red);
}

/* hover link sociali / quick links nel footer */
.wpo-site-footer .link-widget ul li a:hover,
.wpo-site-footer .wpo-service-link-widget ul li a:hover {
    color: var(--brand-red);
}

/* ===== Override colori brand (generati dallo style.css) ===== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
  font-family: var(--brand-font);
  font-weight: 500;
}

.contact-validation-active #c-loader i,
.contact-validation-active #loader i {
  font-size: 30px;
  font-size: calc-rem-value(30);
  color: #D41117;
  display: inline-block;
  -webkit-animation: rotating linear 2s infinite;
  animation: rotating linear 2s infinite;
}

/*** back to top **/
.back-to-top {
  background-color: rgba(212, 17, 23, 0.7);
  width: 45px;
  height: 45px;
  line-height: 45px;
  border: 2px solid #D41117;
  border-radius: 45px;
  text-align: center;
  display: none;
  position: fixed;
  z-index: 999;
  right: 15px;
  bottom: 15px;
  transition: all 0.2s;
}

.back-to-top:hover {
  background-color: #D41117;
}

.wpo-section-title .section-titl-shape-1 svg g {
  fill: #D41117;
}

.wpo-section-title .section-titl-shape-2 svg g {
  fill: #D41117;
}

.wpo-section-title span {
  text-transform: capitalize;
  font-size: 15px;
  color: #D41117;
  font-family: var(--brand-font);
  position: relative;
  font-weight: 600;
  padding: 0 20px;
}

.wpo-section-title span::before {
  position: absolute;
  left: 0;
  top: 50%;
  content: "";
  width: 8px;
  height: 2px;
  background: #D41117;
  transform: translateY(-50%);
}

.wpo-section-title span::after {
  position: absolute;
  right: 0;
  top: 50%;
  content: "";
  width: 8px;
  height: 2px;
  background: #D41117;
  transform: translateY(-50%);
}

.theme-btn-s2 {
  background: #fff;
  color: #D41117;
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #D41117;
  border-radius: 55px;
  text-transform: capitalize;
  z-index: 1;
  position: relative;
  font-family: var(--brand-font);
}

.theme-btn-s3:hover, .theme-btn-s3:focus, .theme-btn-s3:active {
  border: 1px solid #D41117;
}

.theme-btn-s3:before {
  position: absolute;
  content: "";
  width: 0;
  background: #D41117;
  top: 0;
  left: 0;
  height: 100%;
  z-index: -1;
  transition: all 0.4s ease-in-out;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: #D41117;
  -o-box-shadow: 0 0 5px 0 #D41117;
  -ms-box-shadow: 0 0 5px 0 #D41117;
  box-shadow: 0 0 5px 0 #D41117;
}

.social-links li a {
  background-color: #D41117;
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: block;
  color: #fff;
  text-align: center;
}

.social-links li a:hover {
  background-color: #D41117;
}

.wpo-page-title:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  content: "";
  z-index: -1;
  opacity: 0.5;
}

.blog-sidebar .widget h3 {
  font-size: 23px;
  font-size: calc-rem-value(23);
  color: #000000;
  margin: 0 0 1.3em;
  position: relative;
  text-transform: capitalize;
  font-family: var(--brand-font);
  padding-bottom: 20px;
  font-weight: 600;
}

.blog-sidebar .widget h3:before {
  content: "";
  background-color: #D41117;
  width: 55px;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 10px;
}

.blog-sidebar .search-widget input {
  background-color: rgba(212, 17, 23, 0.15);
  height: 70px;
  font-size: 16px;
  font-size: calc-rem-value(16);
  padding: 6px 50px 6px 20px;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  transition: all 0.3s;
}

.blog-sidebar .search-widget input:focus {
  background-color: rgba(212, 17, 23, 0.1);
}

.blog-sidebar .search-widget form button {
  background: transparent;
  font-size: 20px;
  font-size: calc-rem-value(20);
  color: #fff;
  background-color: #D41117;
  border: 0;
  outline: 0;
  position: absolute;
  right: 10px;
  top: 52%;
  height: 50px;
  line-height: 50px;
  width: 50px;
  border-radius: 6px;
  transform: translateY(-50%);
}

.blog-sidebar .about-widget a {
  font-family: var(--brand-font);
  font-size: 14px;
  font-size: calc-rem-value(14);
  color: #000000;
  text-decoration: underline;
}

.blog-sidebar .about-widget a:hover {
  color: #D41117;
}

.blog-sidebar .category-widget ul a:hover,
.blog-sidebar .category-widget ul li:hover:before {
  color: #D41117;
}

.blog-sidebar .recent-post-widget .post h4 a {
  display: inline-block;
  color: #000000;
}

.blog-sidebar .recent-post-widget .post h4 a:hover {
  color: #D41117;
}

.blog-sidebar .tag-widget ul li a {
  font-size: 15px;
  font-size: calc-rem-value(15);
  display: inline-block;
  padding: 5px 18px;
  color: #000000;
  background: #ecf4fb;
  border-radius: 5px;
  font-family: var(--brand-font);
}

.blog-sidebar .tag-widget ul li a:hover {
  background: #D41117;
  color: #fff;
}

.pagination-wrapper .pg-pagination li a {
  background-color: transparent;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-size: calc-rem-value(16);
  font-weight: 600;
  color: #000000;
  background: #ebf4fc;
  display: block;
}

.pagination-wrapper .pg-pagination .active a,
.pagination-wrapper .pg-pagination li a:hover {
  background: #D41117;
  border-color: #D41117;
  color: #fff;
}

.topbar .contact-info ul li a:hover {
  color: #D41117;
}

.wpo-site-header #navbar > ul li a:hover,
.wpo-site-header #navbar > ul li a:focus {
  text-decoration: none;
  color: #D41117;
}

@media screen and (min-width: 992px) {
  .wpo-site-header #navbar > ul > li > a:before {
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 4px;
    transform: translateX(-50%);
    background: #D41117;
    content: "";
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    border-radius: 3px;
  }
}

@media (max-width: 991px) {
  .wpo-site-header #navbar ul a:hover,
.wpo-site-header #navbar ul li.current a {
    color: #D41117;
  }
}

.cart-search-contact .fi {
  font-size: 30px;
  font-size: calc-rem-value(30);
  color: #000000;
}

.cart-search-contact input:focus {
  box-shadow: none;
  border-color: #D41117;
}

.mini-cart .cart-count {
  background: #D41117;
  width: 19px;
  height: 19px;
  font-size: 10px;
  font-size: calc-rem-value(8);
  line-height: 17px;
  color: white;
  position: absolute;
  top: -2px;
  right: -5px;
  border-radius: 50%;
  font-weight: 600;
}

.mini-cart-content p {
  font-size: 15px;
  font-size: calc-rem-value(15);
  font-weight: 500;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
}

.mini-cart-content .mini-cart-item-des a {
  font-size: 14px;
  font-size: calc-rem-value(14);
  font-weight: 600;
  text-align: left;
  color: #000000;
}

.mini-cart-content .mini-cart-item-des a:hover {
  color: #D41117;
}

.mini-cart-content .mini-cart-action .mini-checkout-price {
  font-size: 16px;
  font-size: calc-rem-value(16);
  font-weight: 600;
  color: #000000;
  display: block;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-search-area input:focus {
  box-shadow: none;
  border-color: #D41117;
}

@media screen and (min-width: 992px) {
  .wpo-site-header #navbar > ul > li > a {
    font-size: 16px;
    padding: 35px 25px;
    display: block;
    color: #000000;
    font-weight: 500;
    position: relative;
    font-family: var(--brand-font);
    text-transform: uppercase;
  }
}

@media screen and (min-width: 992px) {

  .wpo-site-header #navbar > ul > li .sub-menu a {
    font-size: 16px;
    display: block;
    padding: 10px 15px;
    color: #000000;
    font-family: var(--brand-font);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    text-transform: uppercase;
  }
  .wpo-site-header #navbar > ul > li .sub-menu a:after {
    position: absolute;
    left: 15px;
    bottom: 4px;
    width: 0px;
    height: 2px;
    content: "";
    background: #D41117;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 991px) {
  .wpo-site-header .mobail-menu button {
    background-color: #D41117;
    width: 40px;
    height: 35px;
    border: 0;
    padding: 5px 10px;
    outline: 0;
    position: relative;
    z-index: 20;
  }
  .wpo-site-header #navbar ul a:hover,
.wpo-site-header #navbar ul li.current a {
    color: #D41117;
  }
}

@media screen and (min-width: 992px) {
  .wpo-header-style-2 .wpo-site-header #navbar > ul .sub-menu a {
    color: #000000;
  }
}

.wpo-header-style-2 #navbar > ul > li > a {
  color: #000000;
}

.wpo-hero-slider .gradient-overlay,
.static-hero .gradient-overlay,
.wpo-hero-slider-s2 .gradient-overlay {
  background: linear-gradient(left, #000000 45%, transparent 65%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  opacity: 0.6;
}

.wpo-hero-slider .slide-btns .theme-btn, .wpo-hero-slider .slide-btns .view-cart-btn,
.static-hero .slide-btns .theme-btn,
.static-hero .slide-btns .view-cart-btn,
.wpo-hero-slider-s2 .slide-btns .theme-btn,
.wpo-hero-slider-s2 .slide-btns .view-cart-btn {
  border-radius: 0;
  color: #000000;
  font-weight: 600;
  font-size: 18px;
}

.hero .slick-prev:hover,
.hero .slick-next:hover {
  background-color: rgba(212, 17, 23, 0.6);
}

.hero .slick-dots button {
  background-color: #D41117;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.hero-style-1::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.wpo-site-footer::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.92;
  z-index: -1;
}

.wpo-site-footer .shape-1 svg rect {
  fill: linear-gradient(270deg, #D41117 0%, rgba(255, 255, 255, 0) 100%);
}

.wpo-site-footer .shape-2 svg rect {
  fill: linear-gradient(90deg, #D41117 0%, rgba(255, 255, 255, 0) 100%);
}

.wpo-site-footer .about-widget ul li a:hover {
  background: #D41117;
  border: 1px solid transparent;
}

.wpo-site-footer .link-widget ul li a:hover {
  color: #D41117;
}

.wpo-site-footer .newsletter-widget form .submit button {
  background: #D41117;
  border: 1px solid transparent;
  outline: 0;
  font-size: 20px;
  color: #fff;
  width: 45px;
  line-height: 45px;
  border-radius: 5px;
}

.wpo-site-footer .wpo-lower-footer::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #FFFFFF 56.25%, rgba(0, 0, 0, 0) 100%);
  opacity: 0.27;
  z-index: -1;
}

.wpo-election-donation-section .election-donation-item,
.wpo-election-donation-section-s2 .election-donation-item {
  background: #D41117;
  text-align: center;
  padding: 45px 35px;
  transition: all 0.4s ease-in-out;
  margin-bottom: 30px;
}

.wpo-election-donation-section .election-donation-item.color-3,
.wpo-election-donation-section-s2 .election-donation-item.color-3 {
  background: #D41117;
}

.wpo-election-donation-section .election-donation-item .text .icon a,
.wpo-election-donation-section-s2 .election-donation-item .text .icon a {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  transition: all 0.4s ease-in-out;
  color: #D41117;
  justify-content: center;
}

.wpo-running-campaign-section::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.88;
  z-index: -1;
}

.wpo-running-campaign-section .running-campaign-wrap .shape-1 {
  position: absolute;
  top: 50%;
  left: -25%;
  width: 100%;
  height: 171%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border: 43px solid #D41117;
  border-radius: 100%;
}

.wpo-running-campaign-section .running-campaign-wrap .shape-2 {
  position: absolute;
  top: 50%;
  left: -22%;
  width: 100%;
  height: 183%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border: 43px solid #D41117;
  border-radius: 100%;
}

.wpo-running-campaign-section .running-campaign-wrap .running-campaign-content .sub-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0.18em;
  color: #D41117;
}

.wpo-running-campaign-section .running-campaign-wrap .running-campaign-content .donate-progress-wrap .progress-text .goal strong {
  font-weight: 600;
  font-size: 15px;
  line-height: 30px;
  color: #000000;
}

.wpo-running-campaign-section .running-campaign-wrap .running-campaign-content .theme-btn-s3 {
  color: #000000;
}

.wpo-election-mission-section .election-mission-wrap .election-mission-content::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(196, 196, 196, 0) 0%, #000000 100%);
  opacity: 0.8;
  transition: all 0.4s ease-in-out;
}

.wpo-election-mission-section .election-mission-wrap .election-mission-content::after {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 100%;
  height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  background: linear-gradient(90deg, #2D49BD 0%, #D41117 100%);
}

.wpo-election-mission-section .election-mission-wrap .election-mission-content .title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  font-family: var(--brand-font);
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  text-align: center;
  width: 80%;
  padding: 20px 0;
  display: block;
  transition: all 0.4s ease-in-out;
  z-index: 1;
  text-transform: uppercase;
}

.wpo-event-section .event-wrap .event-item .event-content span i {
  font-size: 15px;
  color: #000000;
  margin-right: 10px;
}

.wpo-event-section .event-wrap .event-item .event-content h2 a {
  font-family: var(--brand-font);
  font-size: 25px;
  font-weight: 600;
  line-height: 32px;
  color: #000000;
  text-transform: capitalize;
  transition: all 0.4s ease-in-out;
}

.wpo-event-section .event-wrap .event-item .event-content .event-date .time i {
  color: #D41117;
}

.wpo-event-section .event-wrap .event-item:hover .event-content h2 a {
  color: #D41117;
}

.wpo-event-section .shape-1 svg rect {
  fill: linear-gradient(90deg, #D41117 0%, rgba(217, 217, 217, 0) 100%);
}

.wpo-event-section .shape-2 svg rect {
  fill: linear-gradient(90deg, #D41117 0%, rgba(217, 217, 217, 0) 100%);
}

.wpo-testimonial-section .testimonial-wrap::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.85;
  z-index: -1;
}

.wpo-testimonial-section .testimonial-wrap .slick-prev,
.wpo-testimonial-section .testimonial-wrap .slick-next {
  background-color: rgba(212, 17, 23, 0.3);
  width: 55px;
  height: 55px;
  z-index: 10;
  border-radius: 50%;
  transition: all 0.5s;
}

.wpo-testimonial-section .testimonial-wrap .slick-prev:hover,
.wpo-testimonial-section .testimonial-wrap .slick-next:hover {
  background-color: rgba(212, 17, 23, 0.6);
}

.wpo-testimonial-section .testimonial-wrap .slick-dots button {
  background-color: #D41117;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.wpo-testimonial-section .testimonial-wrap .shape-1 svg rect {
  fill: linear-gradient(270deg, #D41117 0%, rgba(255, 255, 255, 0) 100%);
}

.wpo-testimonial-section .testimonial-wrap .shape-2 svg rect {
  fill: linear-gradient(90deg, #D41117 0%, rgba(255, 255, 255, 0) 100%);
}

.wpo-blog-section .blog-wrap .blog-item .dete span {
  font-family: var(--brand-font);
  font-size: 29px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
  color: #D41117;
}

.wpo-blog-section .blog-wrap .blog-item .blog-content h2 {
  color: #000000;
  font-size: 25px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .wpo-service-item .wpo-service-text .service-icon {
  width: 120px;
  height: 120px;
  line-height: 120px;
  background: #000000;
  border-radius: 50%;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .wpo-service-item .wpo-service-text h2 {
  color: #000000;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .wpo-service-item .wpo-service-text a {
  display: inline-block;
  padding: 10px 35px;
  color: #000000;
  border: 1px solid #D41117;
  position: relative;
  border-radius: 6px;
  margin-top: 10px;
  text-transform: uppercase;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .wpo-service-item .wpo-service-text a:hover {
  background: #D41117;
  color: #fff;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-item.center .grid .wpo-service-item .wpo-service-text .service-icon {
  background: #D41117;
  color: #fff;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-nav [class*=owl-] {
  padding: 0;
  margin: 0;
  color: #D41117;
  transition: all 0.3s;
  border: 0;
  background: none;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-nav [class*=owl-] .fi::before {
  font-size: 12px;
  color: #D41117;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-nav .owl-prev,
.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s;
  border: 1px solid #000000;
  opacity: 0;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-nav .owl-prev:hover,
.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-nav .owl-next:hover {
  background: #D41117;
  border-color: #D41117;
}

.wpo-election-donation-section-s2 .wpo-service-slider-s2 .owl-dots .owl-dot.active {
  background-color: #D41117;
}

.wpo-election-campaign-section .election-campaign .count-up #clock .box {
  width: 100px;
  height: 100px;
  font-family: var(--brand-font);
  font-size: 30px;
  font-weight: 700;
  color: #D41117;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease-in-out;
}

.wpo-about-section .wpo-about-text h4,
.wpo-about-section-s2 .wpo-about-text h4 {
  font-size: 21px;
  color: #D41117;
  font-family: var(--brand-font);
}

.wpo-about-section .wpo-about-text h2 span,
.wpo-about-section-s2 .wpo-about-text h2 span {
  color: #D41117;
}

.wpo-about-section .wpo-about-text b,
.wpo-about-section-s2 .wpo-about-text b {
  color: #000000;
  font-weight: 600;
}

.wpo-portfolio-section .grid .img-holder .hover-content h4 a {
  color: #000000;
}

.wpo-portfolio-section .grid .img-holder .hover-content h4 a:hover {
  color: #D41117;
}

.wpo-portfolio-section .grid .img-holder .hover-content i {
  font-size: 30px;
  color: #000000;
}

.wpo-team-section .wpo-team-wrap .wpo-team-item .wpo-team-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: rgba(212, 17, 23, 0.8);
  border-radius: 50%;
  transition: all 0.3s;
  transform: translateY(100%);
  padding-top: 15px;
}

.wpo-team-section .wpo-team-wrap .wpo-team-item:hover, .wpo-team-section .wpo-team-wrap .wpo-team-item.active {
  background: rgba(212, 17, 23, 0.2);
}

.wpo-cta-section .wpo-cta-wrap .wpo-cta-item {
  padding: 100px 80px;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  border-radius: 6px;
  overflow: hidden;
}

.wpo-cta-section .wpo-cta-wrap .wpo-cta-item .wpo-cta-btn a {
  display: inline-block;
  padding: 15px 35px;
  color: #fff;
  position: relative;
  border-radius: 6px;
  margin-top: 10px;
  max-width: 150px;
  text-transform: uppercase;
  background: #D41117;
}

.wpo-cta-section .wpo-cta-wrap .wpo-cta-item .cta-shape svg {
  fill: #D41117;
}

.wpo-events-single-area .events-single-wrap .events-single-slider .owl-prev:hover i,
.wpo-events-single-area .events-single-wrap .events-single-slider .owl-next:hover i {
  color: #D41117;
}

.wpo-events-single-area .events-single-text h2 {
  color: #000000;
  font-weight: 600;
  font-size: 36px;
  font-family: var(--brand-font);
  margin-bottom: 13px;
  text-transform: capitalize;
}

.wpo-events-single-area .events-single-project .prev-project,
.wpo-events-single-area .events-single-project .next-project {
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  text-transform: upperevents;
  text-decoration: underline;
  letter-spacing: 3px;
  width: 100%;
}

.wpo-events-single-area .events-studies-related h2 {
  color: #000000;
  font-size: 36px;
  font-weight: 600;
  font-family: var(--brand-font);
  margin-bottom: 50px;
}

.team-info-text h2 {
  font-size: 27px;
  font-weight: 600;
  color: #000000;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
  background: #eee;
  padding: 20px;
}

.exprience-wrap h2 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #000000;
}

.progress .progress-value {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: #fff;
  font-size: 30px;
  color: #D41117;
  line-height: 135px;
  text-align: center;
  position: absolute;
  top: -5%;
  left: 5%;
  font-weight: 400;
  font-family: var(--brand-font);
}

.progress .progress-bar {
  border-color: #D41117;
}

.education-area ul li:before {
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D41117;
  content: "";
}

.ex-wiget h2 {
  font-size: 30px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 30px;
}

.wpo-contact-area .quote-form .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #D41117;
}

.service-sidebar .wpo-contact-widget h2 {
  font-size: 36px;
  font-weight: 600;
  text-align: left;
  color: #fff;
  margin-bottom: 20px;
  color: #000000;
}

.wpo-shop-section .details h3 a {
  color: #000000;
}

.wpo-shop-section .details h3 a:hover {
  color: #D41117;
}

.wpo-shop-section .add-to-cart a {
  font-family: var(--brand-font);
  font-size: 15px;
  font-size: calc-rem-value(15);
  font-weight: 600;
  color: #D41117;
  padding: 12px 20px;
  border: 2px solid #D41117;
  display: inline-block;
  border-radius: 50px;
}

.wpo-shop-section .add-to-cart a:hover {
  background-color: #D41117;
  color: #fff;
}

.wpo-shop-section .grid:hover .add-to-cart a {
  background-color: #D41117;
  color: #fff;
}

.wpo-shop-single-section .product-details .price {
  font-size: 25px;
  font-size: calc-rem-value(25);
  color: #D41117;
  margin: 7px 0 20px;
  font-weight: 600;
}

.wpo-shop-single-section .product-details ul li:before {
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: #D41117;
  content: "";
  border-radius: 50%;
}

.wpo-shop-single-section .product-details .tg-btm p span {
  font-weight: 600;
  color: #000000;
  margin-right: 5px;
}

.wpo-shop-single-section .product-details .product-option .product-row > div:last-child .theme-btn:hover, .wpo-shop-single-section .product-details .product-option .product-row > div:last-child .view-cart-btn:hover {
  background: #D41117;
  border-color: #D41117;
  color: #fff;
}

.wpo-shop-single-section .product-details .product-option .theme-btn:hover, .wpo-shop-single-section .product-details .product-option .view-cart-btn:hover {
  background-color: #D41117;
  color: #fff;
  border-color: #D41117;
}

.wpo-shop-single-section .product-details .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up:hover,
.wpo-shop-single-section .product-details .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down:hover {
  background-color: #D41117;
  color: #fff;
}

.wpo-shop-single-section .product-info .nav-tabs a:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #D41117;
  border-radius: 4px;
  content: "";
  opacity: 0;
  visibility: hidden;
}

.wpo-shop-single-section .product-info .nav-tabs .active,
.wpo-shop-single-section .product-info .nav-tabs li:hover {
  border-color: #D41117;
}

.wpo-shop-single-section .product-info .tab-content {
  border-top: 1px solid rgba(212, 17, 23, 0.3);
  padding-top: 30px;
  margin-top: -1px;
}

.wpo-shop-single-section .product-info .client-rv .rating i {
  color: #D41117;
}

.wpo-shop-single-section .product-info .review-form form .theme-btn-s4:hover {
  background-color: #D41117;
  color: #fff;
}

.wpo-service-single-area .wpo-service-single-wrap .list-widget ul li:before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  line-height: 25px;
  border-radius: 50%;
  background: rgba(212, 17, 23, 0.1);
  content: "\e64c";
  font-family: "themify";
  text-align: center;
  color: #D41117;
  font-size: 14px;
}

.wpo-service-single-area .wpo-service-single-wrap .wpo-service-area .wpo-service-item .fi:before {
  font-size: 40px;
  color: #D41117;
}

.wpo-checkout-area .create-account button:hover {
  background: #D41117;
}

.wpo-checkout-area .coupon label {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 18px;
  color: #0F0F0F;
  cursor: pointer;
  padding: 20px 20px;
  border-left: 4px solid #D41117;
  transition: all 0.3s;
  width: 100%;
}

.wpo-checkout-area .s1.active-border .coupon-active label,
.wpo-checkout-area .s3.coupon-2 .coupon-3 label {
  border-left: none;
  border-top: 4px solid #D41117;
  border-bottom: 1px solid #ffe5dc;
}

.wpo-checkout-area .s2 .coupon-3 {
  border-top: 4px solid #D41117;
}

.wpo-checkout-area .s2.coupon-2 .coupon-3 label {
  border-left: 4px solid #D41117;
  border-bottom: 0;
}

.wpo-checkout-area .payment-area h2 span {
  font-size: 30px;
  color: #D41117;
}

.wpo-checkout-area .payment-name ul li input:checked ~ label {
  border: 1px solid #D41117;
}

.wpo-checkout-area .cout-order-area .oreder-item ul .o-bottom {
  border-top: 1px solid #ebebeb;
  color: #D41117;
  font-weight: 600;
}

.cart-area .cart-wrap .product a:hover {
  color: #D41117;
}

.cart-area .cart-wrap .action a:hover {
  background: #D41117;
}

.cart-area .cart-wrap .action li.c-btn a {
  background-color: #D41117;
}

.cart-area .cart-product-list ul li.cart-b {
  border-top: 1px solid rgba(240, 240, 240, 0.5803921569);
  border-bottom: 1px solid rgba(240, 240, 240, 0.5803921569);
  color: #D41117;
  padding-top: 30px;
  font-weight: 600;
}

.wpo-faq-section .accordion-item button {
  padding: 20px;
  border: 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  font-size: 18px;
  color: #000000;
  text-align: left;
  font-family: var(--brand-font);
}

.wpo-donations-amount input:focus,
.wpo-donations-details input:focus,
.wpo-donations-details textarea:focus {
  border-color: #D41117;
}

.wpo-payment-area h2 span {
  font-size: 30px;
  color: #D41117;
}

.wpo-payment-area .form-style input:focus {
  border: 1px solid #D41117;
}

.wpo-blog-pg-section .entry-meta ul li a:hover {
  color: #D41117;
}

.wpo-blog-pg-section .entry-meta ul li + li:before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  content: "";
  background: #D41117;
  border-radius: 50%;
}

.wpo-blog-pg-section .post h3 a {
  color: #000000;
}

.wpo-blog-pg-section .post h3 a:hover {
  color: #D41117;
}

.wpo-blog-pg-section .post a.read-more:hover {
  color: #D41117;
}

.wpo-blog-pg-section .format-gallery .owl-nav [class*=owl-]:hover {
  background: #D41117;
  color: #fff;
}

.wpo-blog-pg-section .format-gallery .owl-nav [class*=owl-] {
  background: #fff;
  width: 50px;
  height: 50px;
  line-height: 58px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  color: #D41117;
  transition: all 0.3s;
  border: 0;
}

.wpo-blog-pg-section .format-video .video-holder .fi:before {
  font-size: 20px;
  font-size: calc-rem-value(20);
  color: #D41117;
}

.wpo-blog-single-section .entry-meta ul li a:hover {
  color: #D41117;
}

.wpo-blog-single-section .entry-meta ul li + li:before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  content: "";
  background: #D41117;
  border-radius: 50%;
}

.wpo-blog-single-section .post blockquote:before {
  font-family: "Flaticon";
  content: "\f12c";
  font-size: 25px;
  font-size: calc-rem-value(25);
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  line-height: 60px;
  border: 2px solid #F9F4F4;
  background: #fff;
  color: #D41117;
  border-radius: 50%;
}

.wpo-blog-single-section .tag-share, .wpo-blog-single-section .tag-share-s2 {
  border-bottom: 1px solid #ebebeb;
  margin: 75px 0 0;
  padding-bottom: 30px;
  color: #000000;
}

.wpo-blog-single-section .tag-share .tag > span, .wpo-blog-single-section .tag-share-s2 .tag > span {
  font-family: var(--brand-font);
  color: #000000;
  font-weight: 600;
  display: inline-block;
  padding-right: 15px;
  text-transform: uppercase;
}

.wpo-blog-single-section .tag-share .tag a, .wpo-blog-single-section .tag-share-s2 .tag a {
  font-size: 12px;
  font-size: calc-rem-value(12);
  display: inline-block;
  padding: 5px 18px;
  color: #000000;
  background: #ecf4fb;
  border-radius: 5px;
  text-transform: uppercase;
}

.wpo-blog-single-section .tag-share .tag a:hover, .wpo-blog-single-section .tag-share-s2 .tag a:hover {
  color: #D41117;
}

.wpo-blog-single-section .author-box .author-name {
  font-family: var(--brand-font);
  font-size: 24px;
  font-size: calc-rem-value(24);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
  color: #000000;
}

.wpo-blog-single-section .author-box .social-link a {
  display: block;
  font-size: 13px;
  font-size: calc-rem-value(13);
  color: #000000;
}

.wpo-blog-single-section .author-box .social-link a:hover {
  color: #D41117;
}

.wpo-blog-single-section .more-posts .post-name {
  font-size: 16px;
  font-size: calc-rem-value(16);
  color: #000000;
  margin: 0.7em 0 0;
}

.wpo-blog-single-section .more-posts a:hover .post-control-link {
  color: #D41117;
}

.wpo-blog-single-section .comments-area .comments-meta h4 {
  font-family: var(--brand-font);
  font-size: 20px;
  font-size: calc-rem-value(20);
  color: #000000;
  font-weight: 600;
  margin: 0 0 1em;
}

.wpo-blog-single-section .comments-area .comment-reply-link {
  font-family: var(--brand-font);
  font-size: 13px;
  font-size: calc-rem-value(13);
  font-weight: 600;
  color: #000000;
  text-align: center;
  border-radius: 50px;
  display: inline-block;
  font-family: var(--brand-font);
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wpo-blog-single-section .comments-area .comment-reply-link:hover {
  color: #D41117;
}

.wpo-blog-single-section .comment-respond form input:focus,
.wpo-blog-single-section .comment-respond form textarea:focus {
  box-shadow: none;
  border-color: #D41117;
}

.wpo-blog-single-section .comment-respond .form-submit input:hover {
  background-color: #000000;
}

.wpo-contact-pg-section form input:focus,
.wpo-contact-pg-section form select:focus,
.wpo-contact-pg-section form textarea:focus {
  border-color: #D41117;
  background: transparent;
}

/* ==========================================================================
   HEADER & NAVBAR
   - Logo contenuto: non deve sbordare dalla navbar
   - Niente rettangolo bianco dietro la navbar
   - Navbar sticky (allo scroll): nera invece di blu
   ========================================================================== */

/* Logo nella navbar: dimensione contenuta e centratura verticale */
.wpo-site-header .navbar-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    margin: 0;
    line-height: 1;
}

.wpo-site-header .navbar-header .navbar-brand img {
    
    max-height: 120px;
    width: auto;
    height: auto;
    display: block;
}

@media (max-width: 1199px) {
    .wpo-site-header .navbar-header .navbar-brand img {
      
        max-height: 120px;
    }
}

@media (max-width: 991px) {
    .wpo-site-header .navbar-header .navbar-brand img {
     
        max-height: 100px;
    }
}

@media (max-width: 440px) {
    .wpo-site-header .navbar-header .navbar-brand img {
        max-width: 60px;
        max-height: 55px;
    }
}

/* ===== Topbar nero ===== */
.topbar {
    background-color:#004E58 !important;
}

.topbar .container-fluid > .row {
    align-items: center;
    min-height: 46px;
}

.topbar .contact-intro ul li,
.topbar .contact-info ul li {
    line-height: 46px;
    padding-top: 0;
    padding-bottom: 0;
}

.topbar .contact-intro ul li,
.topbar .contact-intro ul li i,
.topbar .contact-info ul li a {
    color: var(--brand-white) !important;
}

.topbar .contact-info ul li a i {
    color: var(--brand-white) !important;
}

/* Icone social topbar leggermente più grandi */
.topbar .contact-info ul li a svg {
    width: 18px;
    height: 18px;
    display: block;
}

.topbar .contact-info ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== Sezioni: padding ridotto leggermente ===== */
.section-padding {
    padding: 90px 0 !important;
}

.wpo-candidates-section.section-padding {
    padding-bottom: 40px !important;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0 !important;
    }
    .wpo-candidates-section.section-padding {
        padding-bottom: 30px !important;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0 !important;
    }
    .wpo-candidates-section.section-padding {
        padding-bottom: 24px !important;
    }
}

/* ===== Intro section — Con Tempio Fronte Comune ===== */
.wpo-intro-section {
    padding: 85px 0 55px;
    text-align: center;
}

.wpo-intro-section h1.intro-title {
    font-family: var(--brand-font);
    font-size: 52px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--brand-black);
    line-height: 1.05;
    margin-bottom: 28px;
}

.wpo-intro-section .intro-text {
    font-family: var(--brand-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #444444;
    max-width: 720px;
    margin: 0 auto;
}

.wpo-intro-section .intro-btn {
    margin-top: 40px;
}

.wpo-intro-section .intro-btn a {
    display: inline-block;
    font-family: var(--brand-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-red) !important;
    background: transparent !important;
    border: 2px solid var(--brand-black) !important;
    border-radius: 999px;
    padding: 14px 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.wpo-intro-section .intro-btn a:before,
.wpo-intro-section .intro-btn a:after {
    display: none !important;
    content: none !important;
}

.wpo-intro-section .intro-btn a:hover,
.wpo-intro-section .intro-btn a:focus,
.wpo-intro-section .intro-btn a:active {
    background: var(--brand-black) !important;
    color: var(--brand-white) !important;
    border-color: var(--brand-black) !important;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .wpo-intro-section h1.intro-title {
        font-size: 72px;
    }
}

@media (max-width: 768px) {
    .wpo-intro-section {
        padding: 55px 0 40px;
    }
    .wpo-intro-section h1.intro-title {
        font-size: 30px;
        letter-spacing: 0.015em;
    }
    .wpo-intro-section .intro-text {
        font-size: 15px;
    }
}

/* ===== Candidates Swiper ===== */
.wpo-candidates-section .candidates-swiper {
    position: relative;
    padding: 10px 0 70px;
    overflow: hidden;
}

.wpo-candidates-section .candidate-card {
    background: var(--brand-white);
    text-align: left;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.wpo-candidates-section .candidate-card:hover {
    transform: translateY(-4px);
}

.wpo-candidates-section .candidate-img {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #f2f2f2;
    border-radius: 20px;
}

.wpo-candidates-section .candidate-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.wpo-candidates-section .candidate-card:hover .candidate-img img {
    transform: scale(1.04);
}

.wpo-candidates-section .candidate-info {
    padding: 22px 4px 4px;
}

.wpo-candidates-section .candidate-name {
    font-family: var(--brand-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-black);
    margin: 0 0 12px;
    letter-spacing: 0.01em;
}

.wpo-candidates-section .candidate-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--brand-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-black);
    text-decoration: none;
    padding-bottom: 4px;
    position: relative;
}

.wpo-candidates-section .candidate-link span {
    background-image: linear-gradient(var(--brand-black), var(--brand-black));
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    background-position: 0 100%;
    transition: background-size 0.35s ease;
    padding-bottom: 2px;
}

.wpo-candidates-section .candidate-link .candidate-arrow {
    transition: transform 0.35s ease;
}

.wpo-candidates-section .candidate-link:hover {
    color: var(--brand-black);
    text-decoration: none;
}

.wpo-candidates-section .candidate-link:hover span {
    background-size: 100% 1.5px;
}

.wpo-candidates-section .candidate-link:hover .candidate-arrow {
    transform: translateX(6px);
}

/* Controlli carousel candidati */
.wpo-candidates-section .candidates-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

/* Frecce navigazione carousel — stile hero (versione nera) */
.wpo-candidates-section .candidates-controls .swiper-button-prev,
.wpo-candidates-section .candidates-controls .swiper-button-next {
    position: static;
    background: transparent;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 2px solid var(--brand-black);
    border-radius: 50%;
    opacity: 1;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpo-candidates-section .candidates-controls .swiper-button-prev:hover,
.wpo-candidates-section .candidates-controls .swiper-button-next:hover {
    background: var(--brand-black);
}

.wpo-candidates-section .candidates-controls .swiper-button-prev:after,
.wpo-candidates-section .candidates-controls .swiper-button-next:after {
    display: none;
}

.wpo-candidates-section .candidates-controls .swiper-button-prev:before,
.wpo-candidates-section .candidates-controls .swiper-button-next:before {
    font-family: "themify";
    font-size: 18px;
    color: var(--brand-black);
    transition: color 0.3s;
}

.wpo-candidates-section .candidates-controls .swiper-button-prev:before {
    content: "\e629";
}

.wpo-candidates-section .candidates-controls .swiper-button-next:before {
    content: "\e628";
}

.wpo-candidates-section .candidates-controls .swiper-button-prev:hover:before,
.wpo-candidates-section .candidates-controls .swiper-button-next:hover:before {
    color: var(--brand-white);
}

/* Pagination (dots) candidates */
.wpo-candidates-section .candidates-controls .candidates-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 50px;
}

.wpo-candidates-section .candidates-controls .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cccccc;
    opacity: 1;
    margin: 0 4px;
    display: inline-block;
    border-radius: 50%;
    transition: background 0.25s ease, transform 0.25s ease;
}

.wpo-candidates-section .candidates-controls .swiper-pagination-bullet-active {
    background: var(--brand-red);
}

/* Mobile: padding contenitore */
@media (max-width: 767px) {
    .wpo-candidates-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 575px) {
    .wpo-candidates-section .candidates-controls {
        margin-top: 28px;
    }
}

/* ===== Bottone "Scarica Programma" nella navbar ===== */
.header-cta-btn {
    display: inline-block;
    font-family: var(--brand-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-white);
    background: transparent;
    border: 2px solid var(--brand-white);
    border-radius: 999px;
    padding: 10px 22px;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-cta-btn:hover,
.header-cta-btn:focus,
.header-cta-btn:active {
    background: var(--brand-white);
    color: var(--brand-red);
    border-color: var(--brand-white);
    text-decoration: none;
}

/* Sticky navbar: stesso comportamento (bordo+testo bianco, hover rosso) */
.sticky-header .header-cta-btn {
    color: var(--brand-white);
    border-color: var(--brand-white);
}

.sticky-header .header-cta-btn:hover {
    background: var(--brand-white);
    color: var(--brand-red);
}

@media (max-width: 991px) {
    .header-cta-btn {
        font-size: 11px;
        padding: 8px 16px;
    }
}

/* ===== Navbar — hover rosso sulle voci ===== */
.wpo-site-header #navbar > ul > li > a,
.wpo-site-header #navbar > ul > li > a:link,
.wpo-site-header #navbar > ul > li > a:visited {
    transition: color 0.25s ease;
}

.wpo-site-header #navbar > ul > li > a:hover,
.wpo-site-header #navbar > ul > li > a:focus,
.wpo-site-header #navbar > ul > li > a.active {
    color: var(--brand-red) !important;
}

/* ===== Sezione Valori ===== */
.wpo-values-section {
    background-color: #f5f5f5;
    padding: 75px 0;
}

.wpo-values-section .values-title {
    text-align: center;
    margin-bottom: 60px;
}

.wpo-values-section .values-title .pre-title {
    display: inline-block;
    font-family: var(--brand-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 14px;
}

.wpo-values-section .values-title h2 {
    font-family: var(--brand-font);
    font-size: 40px;
    font-weight: 700;
    color: var(--brand-black);
    line-height: 1.2;
    margin-bottom: 18px;
}

.wpo-values-section .values-title p {
    font-family: var(--brand-font);
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 720px;
    margin: 0 auto;
}

.wpo-values-section .values-swiper {
    overflow: hidden;
    padding: 6px 4px 0;
}

.wpo-values-section .values-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Value card: contenitore solo-immagine quadrato con border-radius */
.wpo-values-section .value-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: var(--brand-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    padding: 0;
}

.wpo-values-section .value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.wpo-values-section .value-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.wpo-values-section .value-card:hover img {
    transform: scale(1.03);
}

/* Nascondi residui del template testuale (stripe / triangle / inner) */
.wpo-values-section .value-stripe,
.wpo-values-section .value-triangle,
.wpo-values-section .value-card-inner,
.wpo-values-section .value-title,
.wpo-values-section .value-text {
    display: none !important;
}

@media (max-width: 767px) {
    .wpo-values-section {
        padding: 55px 0;
    }
    .wpo-values-section .values-title h2 {
        font-size: 30px;
    }
}

/* Controlli carousel Valori */
.wpo-values-section .values-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.wpo-values-section .values-controls .swiper-button-prev,
.wpo-values-section .values-controls .swiper-button-next {
    position: static;
    background: transparent;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 2px solid var(--brand-black);
    border-radius: 50%;
    opacity: 1;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpo-values-section .values-controls .swiper-button-prev:hover,
.wpo-values-section .values-controls .swiper-button-next:hover {
    background: var(--brand-black);
}

.wpo-values-section .values-controls .swiper-button-prev:after,
.wpo-values-section .values-controls .swiper-button-next:after {
    display: none;
}

.wpo-values-section .values-controls .swiper-button-prev:before,
.wpo-values-section .values-controls .swiper-button-next:before {
    font-family: "themify";
    font-size: 18px;
    color: var(--brand-black);
    transition: color 0.3s;
}

.wpo-values-section .values-controls .swiper-button-prev:before { content: "\e629"; }
.wpo-values-section .values-controls .swiper-button-next:before { content: "\e628"; }

.wpo-values-section .values-controls .swiper-button-prev:hover:before,
.wpo-values-section .values-controls .swiper-button-next:hover:before {
    color: var(--brand-white);
}

.wpo-values-section .values-controls .values-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 50px;
}

.wpo-values-section .values-controls .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cccccc;
    opacity: 1;
    margin: 0 4px;
    display: inline-block;
    border-radius: 50%;
    transition: background 0.25s ease, transform 0.25s ease;
}

.wpo-values-section .values-controls .swiper-pagination-bullet-active {
    background: var(--brand-red);
}

/* Mobile: padding contenitore */
@media (max-width: 767px) {
    .wpo-values-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 575px) {
    .wpo-values-section .values-controls {
        margin-top: 36px;
    }
}

/* ===== Static dots indicator (3 puntini, centro rosso) ===== */
.static-dots {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.static-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cccccc;
    display: block;
    transition: background 0.25s ease, transform 0.25s ease;
}

.static-dots .dot.is-active {
    background: var(--brand-red);
    width: 10px;
    height: 10px;
}

/* ===== Banner CTA "Se ne vuoi sapere di più" ===== */
.wpo-cta-banner {
    background: var(--brand-white);
    padding: 60px 0;
}

.wpo-cta-banner .cta-banner-inner {
    max-width: 880px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--brand-black) 0%, var(--brand-red) 100%);
    color: var(--brand-white);
    border-radius: 24px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.wpo-cta-banner .cta-banner-title {
    font-family: var(--brand-font);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--brand-white);
    margin: 0;
}

.wpo-cta-banner .cta-banner-btn {
    display: inline-block;
    font-family: var(--brand-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-white);
    background: transparent;
    border: 2px solid var(--brand-white);
    border-radius: 999px;
    padding: 14px 40px;
    transition: background 0.25s ease, color 0.25s ease;
}

.wpo-cta-banner .cta-banner-btn:hover,
.wpo-cta-banner .cta-banner-btn:focus {
    background: var(--brand-white);
    color: var(--brand-red);
    text-decoration: none;
}

@media (max-width: 767px) {
    .wpo-cta-banner { padding: 45px 0; }
    .wpo-cta-banner .cta-banner-inner {
        padding: 44px 26px;
        border-radius: 20px;
    }
    .wpo-cta-banner .cta-banner-title { font-size: 24px; }
}

/* ===== Footer — logo centrato e leggermente più piccolo ===== */
.wpo-site-footer .about-widget {
    text-align: center;
}

.wpo-site-footer .about-widget .logo {
    max-width: 130px;
    margin: 0 auto 12px;
    display: inline-block;
}

.wpo-site-footer .about-widget .logo img {
    width: 100%;
    height: auto;
    display: block;
}

.wpo-site-footer .about-widget ul.footer-socials {
    justify-content: center;
}

/* ===== Footer — social circles (pieni bianchi, icona scura) ===== */
.wpo-site-footer .about-widget ul.footer-socials {
    display: flex !important;
    gap: 14px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
    overflow: visible;
}

.wpo-site-footer .about-widget ul.footer-socials li {
    display: inline-flex;
    float: none !important;
    margin: 0 !important;
    padding: 0;
}

.wpo-site-footer .about-widget ul.footer-socials li + li {
    margin-left: 0 !important;
}

.wpo-site-footer .about-widget ul.footer-socials li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    background: transparent !important;
    border: 1.5px solid var(--brand-white) !important;
    border-radius: 50%;
    color: var(--brand-white) !important;
    line-height: 1 !important;
    padding: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.wpo-site-footer .about-widget ul.footer-socials li a svg {
    display: block;
    width: 18px;
    height: 18px;
}

.wpo-site-footer .about-widget ul.footer-socials li a:hover {
    background: var(--brand-white) !important;
    color: var(--brand-black) !important;
    border-color: var(--brand-white) !important;
    transform: translateY(-2px);
}

/* ===== Preloader: sfondo bianco + logo brand ===== */
.preloader {
    background-color: var(--brand-white) !important;
}

.preloader .vertical-centered-box .content img {
    max-width: 180px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.preloader .loader-circle {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08) !important;
}

.preloader .loader-line-mask {
    box-shadow: none !important;
}

.preloader .loader-line-mask .loader-line {
    box-shadow: inset 0 0 0 2px var(--brand-red) !important;
}

/* ===== Footer bottom bar: Privacy · credits · Cookie ===== */
.wpo-site-footer .wpo-lower-footer {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wpo-site-footer .footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--brand-font);
    font-size: 13px;
}

.wpo-site-footer .footer-bottom-bar .footer-legal-link,
.wpo-site-footer .footer-bottom-bar .footer-credits {
    color: var(--brand-white);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
}

.wpo-site-footer .footer-bottom-bar .footer-credits {
    text-transform: lowercase;
    flex: 1;
    text-align: center;
}

.wpo-site-footer .footer-bottom-bar .footer-legal-link:hover,
.wpo-site-footer .footer-bottom-bar .footer-credits:hover {
    color: var(--brand-red);
    text-decoration: none;
}

@media (max-width: 575px) {
    .wpo-site-footer .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
    }
    .wpo-site-footer .footer-bottom-bar .footer-credits {
        order: -1;
    }
}

/* ===== Mobile / Tablet header ===== */
@media (max-width: 991px) {
    /* Nascondi topbar (overhead) e qualsiasi linea/bordo sull'header */
    #header .topbar,
    .wpo-header-style-4 .topbar,
    header .topbar {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }

    .wpo-site-header,
    .wpo-site-header .navigation {
        border: 0 !important;
        box-shadow: none !important;
    }

    .wpo-site-header .navigation {
        padding: 12px 0 !important;
    }

    /* Margini contenuto navbar a 16px dai bordi */
    .wpo-site-header .navigation .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .wpo-site-header .navigation .container-fluid > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: center;
        flex-wrap: nowrap;
    }

    .wpo-site-header .navigation .container-fluid > .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Logo: shrink al contenuto, sul lato sinistro */
    .wpo-site-header .navigation .row > .col-md-5 {
        flex: 0 0 auto !important;
        max-width: none !important;
        width: auto !important;
        order: 1;
    }

    .wpo-site-header .navbar-brand {
        padding: 0 !important;
        margin: 0 !important;
    }

    .wpo-site-header .navbar-brand img {
        max-height: 56px;
        width: auto;
    }

    /* Colonna nav (col-1): a larghezza zero, ma NON display:none perché contiene #navbar (il pannello fixed che si apre) */
    .wpo-site-header .navigation .row > .col-md-1.col-sm-1.col-1 {
        flex: 0 0 0 !important;
        width: 0 !important;
        max-width: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Colonna CTA della navbar: nascosta perché la CTA ora vive dentro il menu */
    .wpo-site-header .navigation .row > .col-md-3.col-sm-4.col-2 {
        display: none !important;
    }

    /* Hamburger: shrink al contenuto, push verso destra */
    .wpo-site-header .navigation .row > .col-md-3.col-sm-3.col-3 {
        flex: 0 0 auto !important;
        max-width: none !important;
        width: auto !important;
        order: 3;
        margin-left: auto;
    }

    /* Hamburger: niente sfondo rosso */
    .wpo-site-header .mobail-menu button {
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        padding: 6px !important;
    }

    .wpo-site-header .mobail-menu button span {
        background-color: var(--brand-white) !important;
        width: 24px !important;
        height: 2px !important;
        margin-bottom: 6px !important;
    }

    /* Quando la navbar è sticky o non sopra una sezione scura, barre nere */
    .wpo-site-header .navigation.sticky-header .mobail-menu button span {
        background-color: var(--brand-white) !important;
    }

    /* Menu aperto: sfondo nero, link bianchi, apertura da destra */
    .wpo-site-header #navbar {
        background: var(--brand-black) !important;
        left: auto !important;
        right: -320px !important;
        transition: right 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    }

    .wpo-site-header #navbar.slideInn {
        left: auto !important;
        right: 0 !important;
    }

    /* Il bottone X di chiusura nel menu — riposiziona a sinistra del pannello (lato verso il contenuto) */
    .wpo-site-header #navbar .close-navbar {
        left: auto !important;
        right: -41px !important;
    }

    .wpo-site-header #navbar ul a,
    .wpo-site-header #navbar > ul li a {
        color: var(--brand-white) !important;
        font-family: var(--brand-font);
        font-weight: 500;
    }

    .wpo-site-header #navbar ul a:hover,
    .wpo-site-header #navbar ul li.current a {
        color: var(--brand-red) !important;
    }

    .wpo-site-header .menu-close {
        color: var(--brand-white) !important;
        border-color: var(--brand-white) !important;
    }

    /* CTA "Scarica Programma": nascondi quella nella navbar, mostra quella dentro il menu */
    .wpo-site-header .header-right .header-cta-btn {
        display: none !important;
    }

    .mobile-cta-wrap {
        padding: 20px 30px 30px;
        display: flex;
        justify-content: center;
    }

    .header-cta-btn--mobile {
        width: 100%;
        text-align: center;
        font-size: 12px;
        padding: 12px 20px;
    }
}

/* CTA mobile nascosta su desktop */
@media (min-width: 992px) {
    .mobile-cta-wrap {
        display: none !important;
    }
}

/* ===== Hero full viewport su desktop ===== */
@media (min-width: 992px) {
    /* Reset di sicurezza per evitare strisce/spazi */
    html, body, .page-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    .page-wrapper {
        position: relative;
    }

    /* Header in overlay sopra l'hero, così l'hero arriva a 100vh esatti */
    #header.wpo-header-style-4 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        margin: 0;
        padding: 0;
        background: transparent !important;
    }

    /* Hero a tutta altezza viewport, senza margini */
    .wpo-hero-slider-s2,
    .wpo-hero-slider,
    .static-hero {
        height: 100vh !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .wpo-hero-slider-s2 .swiper-container,
    .wpo-hero-slider-s2 .swiper-slide,
    .wpo-hero-slider-s2 .slide-inner {
        height: 100% !important;
    }

    /* Testo dell'hero centrato verticalmente nello spazio SOTTO la navbar */
    .wpo-hero-slider-s2 .slide-inner {
        align-items: center !important;
        padding-top: 110px !important; /* spazio occupato dalla navbar */
    }

    .wpo-hero-slider-s2 .slide-inner .container-fluid {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .wpo-hero-slider-s2 .slide-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Frecce hero centrate nello spazio sotto la navbar (push down di metà altezza navbar) */
    .wpo-hero-slider-s2 .swiper-button-prev,
    .wpo-hero-slider-s2 .swiper-button-next {
        top: calc(50% + 55px) !important;
        margin-top: -30px !important;
    }
}

/* Rimuovere il rettangolo bianco: navbar trasparente sopra l'hero */
.wpo-site-header .navigation,
.wpo-header-style-4 .wpo-site-header .navigation {
    background-color: transparent;
}

/* Navbar sticky allo scroll: nera (era #243352 / blu) */
.wpo-header-style-4 .wpo-site-header .navigation.sticky-header,
.wpo-site-header .navigation.sticky-header {
    background: var(--brand-black);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Dynamic bullets — container con dimensioni esplicite e bullets visibili */
.wpo-candidates-section .candidates-controls .swiper-pagination-bullets-dynamic,
.wpo-values-section .values-controls .swiper-pagination-bullets-dynamic {
    position: static !important;
    display: inline-block !important;
    overflow: hidden;
    font-size: 0;
    width: 100px;
    height: 24px;
    line-height: 24px;
    white-space: nowrap;
    transform: none !important;
    text-align: center;
    vertical-align: middle;
}

/* I singoli bullets dentro al dinamico */
.wpo-candidates-section .candidates-controls .swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.wpo-values-section .values-controls .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #cccccc;
    opacity: 1;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: transform .25s ease, background .25s ease, left .25s ease;
}

.wpo-candidates-section .candidates-controls .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,
.wpo-values-section .values-controls .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    background: var(--brand-red);
}

.wpo-hero-slider-1 .slide-inner:before {

  }
/* ===== About — sticky sul testo (corretto) ===== */
.wpo-about-section-s2 {
    overflow: visible !important;
}

.wpo-about-section-s2 .container,
.wpo-about-section-s2 .wpo-about-row,
.wpo-about-section-s2 .wpo-about-col-img,
.wpo-about-section-s2 .wpo-about-col-text {
    overflow: visible !important;
}
/* ===== LOGO NAVBAR ===== */
.wpo-site-header .navbar-header .navbar-brand img,
.wpo-site-header .navbar-brand img {
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

@media (max-width: 1199px) {
    .wpo-site-header .navbar-header .navbar-brand img,
    .wpo-site-header .navbar-brand img {
        max-height: 110px !important;
    }
}

@media (max-width: 991px) {
    .wpo-site-header .navbar-header .navbar-brand img,
    .wpo-site-header .navbar-brand img {
        max-height: 100px !important;
    }

    /* Riduciamo i padding/margin della navbar così con logo 100px
       l'altezza totale resta simile a quando era 56px */
    .wpo-site-header .navigation {
        padding: 2px 0 !important;
    }

    .wpo-site-header .navbar-header .navbar-brand {
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    /* Compatta anche l'hamburger per centrarlo verticalmente col logo */
    .wpo-site-header .mobail-menu {
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 575px) {
    .wpo-site-header .navbar-header .navbar-brand img,
    .wpo-site-header .navbar-brand img {
        max-height: 100px !important;
  Padding-top:8px;
    }
}
/* ===== Hero a ~80vh su mobile ===== */
@media (max-width: 991px) {
    .wpo-hero-slider-s2 {
        min-height: 80vh !important;
        height: 80vh !important;
    }

    .wpo-hero-slider-s2 .swiper-container,
    .wpo-hero-slider-s2 .swiper-slide,
    .wpo-hero-slider-s2 .slide-inner {
        min-height: 80vh !important;
        height: 80vh !important;
    }
}

/* ===== Slogan VOTA — righe più vicine ===== */
.wpo-hero-slider-s2 .vota-slogan .vota-slogan-line {
   
    margin: 0 0 -2px;
}

/* ===== Slide VOTA — desktop layout originale, mobile compatto ===== */

/* Mobile: blocchi raggruppati al centro con flex */
@media (max-width: 767px) {
    .wpo-hero-slider-s2 .slide-vota .vota-layout {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: clamp(58px, 2vh, 54px);
        grid-template-rows: none !important;
        padding-top: clamp(100px, 12vh, 140px) !important;
        padding-bottom: clamp(40px, 6vh, 80px) !important;
    }
}