/* =============================================
   TICINO ADDICTION - Main Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #378ADD;
  --primary-dk: #185FA5;
  --secondary: #0C447C;
  --dark: #1c1c1c;
  --gray-light: #f4f4f4;
  --gray-mid: #e0e0e0;
  --text: rgb(85, 85, 85);
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .12);
  --transition: .25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A1A;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dk);
}

h1,
h2,
h3,
h4 {
  font-family: 'Inter', Arial, serif;
  line-height: 1.3;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dk);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: .4rem;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 2.5rem;
  font-size: .95rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: .6rem auto 2rem;
}

.elementor-button {
  font-family: 'Inter', Arial, sans-serif;
  text-decoration: none !important;
  font-weight: 500;
}

.elementor-button span {
  font-family: 'Inter', Arial, sans-serif;
  text-decoration: none !important;
  font-weight: 500;
}

.elementor-button:hover {
  background: var(--primary-dk) !important;
  color: var(--white) !important;
}

.btn-inverted .elementor-button:hover {
  background: #E6F1FB !important;
  color: #0C447C !important;
}

p.elementor-heading-title {
  line-height: 1.7;
}

.no-ul,
.no-ul ul {
  list-style: none;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--secondary);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', Arial, sans-serif;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 60px;
  bottom: -100px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, .04);
  transform: rotate(45deg);
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: .4rem;
  font-family: 'Inter', Arial, serif !important;
  font-weight: 600 !important;
  color: white !important;
  color: #fff;
  font-size: 2rem;
}

.page-hero .fa {
  margin-right: 20px;
}


.page-hero .breadcrumb {
  font-family: 'Inter', Arial, sans-serif;
  font-size: .85rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 30px;
}

.breadcrumb__trail {
  margin-left: -0.4rem;
  margin-bottom: .9rem;
}

.page-hero .breadcrumb a {
  color: #fff !important;
  opacity: 0.75;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.page-hero .breadcrumb a:hover {
  opacity: 1;
}

.page-hero .breadcrumb span {
  font-weight: 500;
  margin: 0 .2rem;
  color: rgba(255, 255, 255, .45);
}

/*
==================================FOOTER=============================================*/
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, .85);
}

footer .footer-claim {
  font-size: 14px !important;
}

footer address {
  font-style: normal;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 28px;
  font-weight: 500;
}

footer a {
  transition: all .2s ease;
  opacity: .7 !important;
  font-weight: 500;
  text-decoration: none !important;
}

footer a:hover {
  opacity: 1 !important;
}

footer address a {
  display: inline-block;
  margin-top: 5px;
  color: white;
  transition: all .2s ease;
  font-weight: 600;
}

footer address a:hover {
  color: white !important;
  opacity: 1 !important;
}

.footer-top {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

footer h4 {
  color: var(--white) !important;
  opacity: .8 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
}

.footer-col p,
.footer-col li {
  font-size: .88rem;
  margin-bottom: .4rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .8);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-col .footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.footer-col .footer-logo-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-col .footer-logo-icon i {
  color: var(--primary);
  font-size: 1.4rem;
}

.footer-col .footer-logo-text strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
}

.footer-col .footer-logo-text span {
  font-size: .78rem;
  opacity: .75;
}

.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--dark);
}

/* 5x1000 footer banner */
.footer-5x1000 {
  background: #1a5276;
  padding: .9rem 0;
}

.footer-5x1000 .fa-percent {
  font-size: 1rem !important;
}

.footer-5x1000 .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-5x1000 span {
  color: var(--white);
  font-size: .9rem;
}

.footer-5x1000 strong {
  color: #aed6f1;
  font-size: 1.05rem;
}

.footer-bottom {
  font-family: 'Inter', Arial, sans-serif;
  padding: .9rem 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.footer-bottom .container {
  padding-top: 30px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .7);
  margin-left: 10px;
  transition: all 0.2s ease;
}

.footer-bottom a:hover {
  color: white !important;
  text-decoration: none !important;
}

.footer-title {
  font-weight: 500;
  font-size: 18px;
}

#footerBanner {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0 auto;
  max-width: 100% !important;
  width: 100% !important;
}

#footerCopy {
  font-family: 'Inter', Arial, sans-serif;
  max-width: 100% !important;
  width: 100% !important;
}

.strong-584ld4 {
  font-family: 'Inter', Arial, sans-serif;
  color: white;
  font-size: 18px;
  letter-spacing: -.01em;
}

.footer-logo-icon {
  color: #c9943a;
  font-size: 20px;
}

.p-l0hasy {
  color: white;
  font-size: 14px;
}

.elementor-48 .elementor-element.elementor-element-ea9b2b1 .elementor-heading-title {
  font-family: 'Inter', Arial, sans-serif !important;
  margin-top: -20px;
}

.footer-menu {}

.footer-menu a {
  color: white;
  font-size: 14px;
  opacity: .9;
}

.footer-menu a:hover {
  color: white !important;
  text-decoration: underline;
}

.footer-contact {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: 14px !important;
}

.footer-contact .e-child {
  display: inline-block !important;
}

#footerDati .inline-container {
  display: flex !important;
  flex-direction: row;
}

#footerDati .inline-container {
  color: white !important;
}

#footerDati .inline-container a {
  color: white !important;
}

#footerDati .inline-container a:hover {
  text-decoration: underline;
}

/* =============================================
   HOME
   ============================================= */


.home .page-content .elementor-background-overlay {
  display: none !important;
}

.home-container {
  min-height: 320px;
}

.home-container svg {
  color: white;
  display: inline-block;
  margin: 6px 0 0 10px;
}

.banner-home {
  box-shadow: var(--shadow) !important;
}

.banner-home .fa.fa-hands-helping {
  color: var(--primary) !important;
  font-size: 38px;
}

.banner-home .fa.fa-percent {
  color: #aed6f1;
  font-size: 24px;
}

/* =============================================
   HEADER
   ============================================= */
header {
  border-bottom: 0 !important;
}

.site-header .hfe-nav-menu .sub-menu {
  border: 1px solid #B5D4F4;
  border-radius: 12px;
  overflow: hidden;
}

.site-header .hfe-nav-menu .sub-menu li,
.site-header .hfe-nav-menu .sub-menu li a {
  border: 0 !important;
}

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-top: 10px;
}

.logo-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon i {
  color: var(--primary);
  font-size: 1.8rem;
}

.logo-text {
  line-height: 1.2;
}

.logo-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  font-family: 'Inter', Arial, serif;
}

.logo-text span {
  display: block;
  font-size: .78rem;
  color: #888;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: flex-end;
  gap: .15rem;
  margin-left: auto !important;
}

.main-nav>.elementor-widget-container {
  margin-left: auto !important;
}

.main-nav a {
  color: var(--text);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .005em;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  position: relative;
  font-family: 'Inter', Arial, sans-serif !important;
}

.main-nav li {
  margin-right: 2px !important;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav li.current-menu-ancestor>div>a,
.main-nav li.current-menu-item a {
  color: var(--primary) !important;
  background: #E6F1FB !important;
}

.main-nav a.active::after,
.main-nav li.current-menu-item::after {
  content: '';
  display: none;
}

.main-nav .sub-menu li:not(.current-menu-item) a {
  color: #888 !important;
  background: white !important;
}

.main-nav .sub-menu li:not(.current-menu-item):hover a {
  color: var(--primary) !important;
  background: #E6F1FB !important;
}

.site-header {
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: -12px;
}

.site-header .logo-text {
  display: flex;
}

.site-header .logo-text {
  display: flex;
}

.site-header .logo-text strong {
  transform: translate(0, 60px);
}

/* CF7 */

.contact-form__desktop-wrapper .privacy-checkbox-wrapper {
  margin-top: 15px;
  margin-bottom: 15px;
  font-family: 'Lato', sans-serif !important;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper .wpcf7-list-item {
  margin-left: 0;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper input[type="checkbox"] {
  margin: 0;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper .wpcf7-list-item span,
.contact-form__desktop-wrapper .privacy-checkbox-wrapper .wpcf7-list-item a {
  font-size: 14px !important;
  line-height: 22px !important;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper .privacy-link {
  font-size: 12px !important;
  color: var(--primary);
  display: inline-block !important;
  transform: translate(0, 0);
  color: var(--primary) !important;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper .privacy-link:hover {}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper {
  letter-spacing: 0 !important;
  line-height: 10px;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper .wpcf7-checkbox.wpcf7-not-valid {
  border-bottom: 1px solid red;
}

.contact-form__desktop-wrapper .wpcf7-form-control-wrap {
  display: inline !important;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper .privacy-link {
  text-decoration: underline;
  display: inline-block;
  margin-top: 10px;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper .privacy-link:hover {
  text-decoration: none;
  color: #5b7bfb;
}

.contact-form__desktop-wrapper .contact-form__full {
  /* margin-bottom: 10px; */
}

.contact-form__desktop-wrapper .buttons-set {
  margin-top: 10px;
}

.contact-form__desktop-wrapper .buttons-set button {
  border: 0;
  padding: 0;
  border-radius: 0;
  color: white;
  padding: 13px 29px;
  line-height: 17px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  fill: #ffffff;
  color: #ffffff;
  border-style: none;
  border-radius: 2px 2px 2px 2px;
  padding: 1em 2em 1em 2em;
  background-color: rgb(139, 26, 42);
  font-family: "Inter", Sans-serif;
  font-size: 14.4px;
  font-weight: 700;
  line-height: 1.7;
  fill: rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  border-radius: 4px 4px 4px 4px;
  padding: 10.4px 24px 10.4px 24px;
  background-color: var(--primary) !important;
}

.contact-form__desktop-wrapper .buttons-set button:hover {
  background-color: var(--primary-dk) !important;
}

.contact-form__desktop-wrapper input[type="text"],
.contact-form__desktop-wrapper input[type="email"],
.contact-form__desktop-wrapper textarea {
  color: #222 !important;
  border-width: 2px;
  font-family: 'Lato', sans-serif;
  outline-color: var(--primary) !important;
}

input[type="text"].wpcf7-not-valid,
input[type="email"].wpcf7-not-valid,
textarea.wpcf7-not-valid {
  border-color: #ff0000;
}

.contact-form__desktop-wrapper textarea {
  max-height: 150px !important;
  font-family: 'Lato', sans-serif;
}

.wpcf7 .fusion-alert {
  line-height: 18px;
  font-size: 14px;
}

.wpcf7-response-output {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.contact-box {
  font-family: 'Lato', sans-serif;
}

.contact-box a:hover {
  color: #0A100D;
}

.contact-box .wpb_content_element {
  font-size: 20px;
}

.contact-box .contact-title h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.contact-box .contact-intro {
  margin-top: 73px;
  margin-bottom: 30px;
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper p * {
  display: inline !important;
}

.contact-form__desktop-wrapper span.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7 .wpcf7-response-out {
  font-family: 'Lato', sans-serif !important;
}

#header-contact-modal input[type="text"],
#header-contact-modal input[type="email"],
#header-contact-modal textarea {
  padding-left: 20px !important;
}

/* Cookie */
.moove-gdpr-branding-cnt {
  display: none !important;
}

/* Placeholder */

input[type="text"]::-webkit-input-placeholder {
  color: #666;
}

input[type="text"]::-moz-placeholder {
  color: #666;
}

input[type="text"]:-ms-input-placeholder {
  color: #666;
}

input[type="text"]:-moz-placeholder {
  color: #666;
}

input[type="email"]::-webkit-input-placeholder {
  color: #666;
}

input[type="email"]::-moz-placeholder {
  color: #666;
}

input[type="email"]:-ms-input-placeholder {
  color: #666;
}

input[type="email"]:-moz-placeholder {
  color: #666;
}

textarea::-webkit-input-placeholder {
  color: #666 !important;
}

textarea::-moz-placeholder {
  color: #666 !important;
}

textarea:-ms-input-placeholder {
  color: #666 !important;
}

textarea:-moz-placeholder {
  color: #666 !important;
}

/* Placeholder */

input[type="text"]::-webkit-input-placeholder {
  color: #666;
}

input[type="text"]::-moz-placeholder {
  color: #666;
}

input[type="text"]:-ms-input-placeholder {
  color: #666;
}

input[type="text"]:-moz-placeholder {
  color: #666;
}

input[type="email"]::-webkit-input-placeholder {
  color: #666;
}

input[type="email"]::-moz-placeholder {
  color: #666;
}

input[type="email"]:-ms-input-placeholder {
  color: #666;
}

input[type="email"]:-moz-placeholder {
  color: #666;
}

textarea::-webkit-input-placeholder {
  color: #666 !important;
}

textarea::-moz-placeholder {
  color: #666 !important;
}

textarea:-ms-input-placeholder {
  color: #666 !important;
}

textarea:-moz-placeholder {
  color: #666 !important;
}

.piva-dati h4 {
  color: var(--primary);
  margin-bottom: .8rem;
}

.piva-dati dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 1rem;
  font-size: .9rem;
}

.piva-dati dt {
  font-weight: 700;
  color: #666;
}

.piva-dati dd {
  color: var(--dark);
}

.btn {
  text-decoration: none !important;
}

.page-content a {
  color: var(--primary);
}


/* Comitato */
.comitato-wrap {
  min-height: 320px;
  align-items: center;
  min-width: 280px;
}

.comitato-wrap:hover {
  border-color: var(--primary) !important;
}

/* Members list */
.members-section {
  margin-bottom: 3rem;
}

.members-section h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  border-bottom: 3px solid var(--primary);
  padding-bottom: .5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.members-alpha-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.member-alpha-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
  padding: 1rem .8rem;
  text-align: center;
  border-left: 3px solid var(--primary);
}

.member-alpha-card .m-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .6rem;
  font-size: 1rem;
  color: var(--navy);
}

.member-alpha-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .25rem;
}

.member-alpha-card .m-role {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.member-alpha-card .m-role.consigliere {
  color: #999;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* PAGE TITLE */

.page-name-direttivo .breadcrumb .fa.fa-book-open:before {
  content: "\f0c0" !important;
}

.page-name-calendario .breadcrumb .fa.fa-book-open:before,
.single-post .breadcrumb .fa.fa-book-open:before {
  content: "\f073" !important;
}

.page-name-tesseramento .breadcrumb .fa.fa-book-open:before {
  content: "\f2c2" !important;
}

.page-name-iscrizioni .breadcrumb .fa.fa-book-open:before {
  content: "\f303" !important;
}

.page-name-contatti .breadcrumb .fa.fa-book-open:before {
  content: "\f658" !important;
}


.quote-iban {
  background: #E6F1FB;
  border-radius: 8px;
  padding: 1rem 2rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border: 1px solid #B5D4F4;
}

.quote-iban table,
.quote-iban table * {
  border: 0 !important;
}

.quote-iban table tr,
.quote-iban table td,
.quote-iban table tbody {
  background-color: transparent !important;
  padding: 8px 0 !important;
}

.quote-iban table td {
  color: #555;
}

.quote-iban table td:last-child {
  color: #1A1A1A;
  font-weight: 500;
}

.quote-iban h3 {
  color: rgb(24, 95, 165);
  margin-bottom: .8rem;
  font-size: 18px;
  font-family: 'Inter', Arial, serif;
  font-weight: 500;
}


/* =============================================
   CALENDARIO PAGE
   ============================================= */
.calendario-page {
  padding: 4rem 0;
}

.tab-bar {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-mid);
}

.tab-btn {
  padding: .6rem 1.4rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: .9rem;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  transition: color var(--transition);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 80px;
}

.event-list-item {
  display: flex;
  gap: 1.2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition);
}

.event-list-item:hover {
  transform: translateX(4px);
}

.event-list-date {
  width: 90px;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.event-list-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-list-date .month {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .85;
}

.event-list-date .year {
  font-size: .75rem;
  opacity: .7;
}

.event-list-body {
  padding: 1rem 1.2rem;
  flex: 1;
}

.event-list-body h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: .3rem;
}

.event-list-body p {
  font-size: .88rem;
  color: #666;
}

.event-list-body .elementor-button {
  font-family: 'Inter', Arial, sans-serif;
  background-color: white;
  border-color: var(--primary);
  font-size: 14px;
  color: var(--primary);
}

.event-list-meta {
  display: flex;
  gap: 1.2rem;
  margin-top: .6rem;
  flex-wrap: wrap;
}

.event-list-meta span {
  font-size: .8rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.event-list-meta i {
  color: var(--primary);
}

.event-list-tag {
  align-self: center;
  padding-right: 1rem;
}

.tag {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 30px;
  font-size: .75rem;
  font-weight: 700;
}

.tag-upcoming {
  background: rgba(139, 26, 42, .1);
  color: var(--primary);
}

.tag-past {
  background: #eee;
  color: #888;
}

/* SINGLE POST */

.single-post-wrapper {
  display: flex;
}

.single-post .single-inner {
  align-content: var(--align-content);
  align-items: var(--align-items);
  align-self: auto;
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 1;
  flex-wrap: var(--flex-wrap);
  justify-content: var(--justify-content);
}

.single-post .single-post-image-wrapper,
.single-post .single-post-content {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.single-post .single-post-content-inner {
  max-width: 90%;
  margin: 0 auto;
}

.single-post .event-list-date {
  position: absolute;
  background: var(--primary);
  color: white;
  font-family: 'Inter', Arial, sans-serif !important;
  bottom: 20px;
  right: 80px;
}

.single-post .single-post-content {
  padding: 40px 0;
}

#explore-ticino:hover {
  border-color: #378ADD;
  box-shadow: 0 4px 16px rgba(55, 138, 221, .1);
}

.hover-block:hover {
  border-color: #378ADD !important;
  box-shadow: 0 4px 16px rgba(55, 138, 221, .1) !important;
}

#explore-ticino a {
  text-decoration: none;
}

#explore-ticino a:hover {
  text-decoration: underline;
}

.page-content div,
.page-content div p {
  font-family: 'Inter', Arial, sans-serif !important;
}

.page-content ul {
  color: var(--primary);
  padding-left: 20px;
}

.page-content ul li::marker {
  color: var(--primary);
}

.page-content ul li {
  color: var(--text);
  margin-bottom: 10px;
}

/* CF7 */

.contact-form {
  max-width: 720px;
}

.contact-form__desktop-wrapper {
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

.contact-form__desktop-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

.contact-form__full {
  position: relative;
}

.contact-form__full label {
  font-size: 14px;
  font-weight: 500;
}

.contact-form__full>div>p {
  margin-bottom: 0;
}

.contact-form__full em {
  /*
  position: absolute;
  top: 10px;
  right: 12px;
  */
  font-style: normal;
  font-size: .85rem;
  color: #378ADD;
  pointer-events: none;
}

.contact-form__full input.wpcf7-text,
.contact-form__full input.wpcf7-email {
  width: 100%;
  padding: 10px 30px 10px 14px;
  font-size: .92rem;
  font-family: inherit;
  border: 1px solid #B5D4F4;
  border-radius: 8px;
  background: #fff;
  color: #1A1A1A;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.5;
  box-sizing: border-box;
}

.contact-form__full input.wpcf7-text:focus,
.contact-form__full input.wpcf7-email:focus {
  outline: none;
  border-color: #378ADD;
  box-shadow: 0 0 0 3px rgba(55, 138, 221, .15);
}

/* Textarea */
.contact-form__full textarea.wpcf7-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: .92rem;
  font-family: inherit;
  border: 1px solid #B5D4F4;
  border-radius: 8px;
  background: #fff;
  color: #1A1A1A;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.5;
  resize: vertical;
  min-height: 140px;
  box-sizing: border-box;
}

.contact-form__full textarea.wpcf7-textarea:focus {
  outline: none;
  border-color: #378ADD;
  box-shadow: 0 0 0 3px rgba(55, 138, 221, .15);
}

.contact-form__full input.wpcf7-not-valid,
.contact-form__full textarea.wpcf7-not-valid {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, .12);
}

.contact-form__full .wpcf7-not-valid-tip {
  display: block;
  font-size: .8rem;
  color: #e05252;
  margin-top: 5px;
}

.contact-form__full .wpcf7-form-control-wrap {
  display: block;
}

.privacy-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  font-size: .88rem;
  color: #1A1A1A;
  line-height: 1.5;
}

.privacy-checkbox-wrapper .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.privacy-checkbox-wrapper .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #378ADD;
  cursor: pointer;
}

.privacy-checkbox-wrapper .wpcf7-checkbox .wpcf7-list-item-label {
  cursor: pointer;
}

.privacy-checkbox-wrapper .privacy-link {
  color: #378ADD;
  text-decoration: underline;
  white-space: nowrap;
  display: inline-block;
  font-size: 10px !important;
}

.privacy-checkbox-wrapper .privacy-link:hover {
  color: #0C447C;
}

.buttons-set {
  margin-top: 4px;
}

.buttons-set button[type="submit"] {
  display: inline-block;
  min-width: 180px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid #185FA5;
  background: #185FA5;
  color: #fff;
  transition: background .2s, border-color .2s;
  line-height: 1.4;
}

.buttons-set button[type="submit"]:hover {
  background: #0C447C;
  border-color: #0C447C;
}

.contact-form .wpcf7-spinner {
  margin-left: 10px;
  vertical-align: middle;
}

.contact-form .wpcf7-response-output {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: .88rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.contact-form .wpcf7.sent .wpcf7-response-output {
  background: #E6F1FB;
  border-color: #B5D4F4;
  color: #0C447C;
}

.contact-form .wpcf7.invalid .wpcf7-response-output,
.contact-form .wpcf7.failed .wpcf7-response-output,
.contact-form .wpcf7.spam .wpcf7-response-output,
.contact-form .wpcf7.aborted .wpcf7-response-output {
  background: #fdf0f0;
  border-color: #f5c6c6;
  color: #8b1a1a;
}

@media (max-width: 600px) {
  .buttons-set button[type="submit"] {
    width: 100%;
  }
}

.contact-form__desktop-wrapper .privacy-checkbox-wrapper {
  margin-top: -10px !important;
  margin-bottom: 0 !important;
}

.form-note {
  font-style: italic;
  font-size: 11px;
}

.form-disclaimer {
  font-size: 14px;
}

.wpcf7-response-output {
  font-size: 12px;
}


/* =========================================================
   AGENDA / EVENTS
   ========================================================= */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid #B5D4F4;
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color .2s;
}

.event-item:hover {
  border-color: #378ADD;
}

.event-date-box {
  background: #185FA5;
  color: #fff;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  line-height: 1.2;
}

.event-date-box .day {
  font-size: 1.6rem;
  font-weight: 600;
}

.event-date-box .month {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .85;
}

.event-date-box .year {
  font-size: .68rem;
  font-weight: 400;
  opacity: .65;
  margin-top: 4px;
  letter-spacing: .04em;
}

.event-info h3 {
  color: #0C447C;
  font-size: 1rem;
  margin-bottom: 6px;
}

.event-info p {
  font-size: .9rem;
  color: #555555;
  margin-bottom: 8px;
}

.event-meta {
  display: flex;
  gap: 16px;
  font-size: .82rem;
  color: #555555;
  flex-wrap: wrap;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* =========================================================
   WHAT WE DO — expanded cards
   ========================================================= */
.activity-block {
  border: 1px solid #B5D4F4;
  border-radius: 12px;
  padding: 32px 28px;
  margin-bottom: 20px;
  transition: border-color .2s;
}

.activity-block:hover {
  border-color: #378ADD;
}

.activity-block h3 {
  color: #0C447C;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-block p {
  color: #555555;
  font-size: .95rem;
}


/* Feature card */
.card {
  background: #E6F1FB;
  border: 1px solid #B5D4F4;
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow .2s, border-color .2s;
}

.card:hover {
  border-color: #378ADD;
  box-shadow: 0 4px 16px rgba(55, 138, 221, .1);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: #185FA5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  color: #fff;
}

.card h3 {
  margin-bottom: 10px;
  color: #0C447C;
  font-size: 1rem;
}

.card p {
  font-size: .92rem;
  color: #555555;
  line-height: 1.65;
}

/* News / post card */
.post-card {
  background: #fff;
  border: 1px solid #B5D4F4;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, border-color .2s;
}

.post-card:hover {
  border-color: #378ADD;
  box-shadow: 0 4px 16px rgba(55, 138, 221, .1);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  background: #E6F1FB;
  color: #185FA5;
  border: 1px solid #B5D4F4;
}

.post-date {
  font-size: 13px;
  color: #555555;
}

.post-card h3 {
  font-size: 1rem;
  color: #0C447C;
  font-weight: 500;
}

.post-card h3 a {
  color: inherit;
}

.post-card h3 a:hover {
  color: #378ADD;
}

.post-card p {
  font-size: .9rem;
  color: #555555;
  flex: 1;
}

.post-card .read-more {
  font-size: .88rem;
  font-weight: 500;
  color: #378ADD;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-card .read-more:hover {
  color: #185FA5;
}

.card-list {
  margin-top: -80px;
  margin-bottom: 80px;
}

.post-date {
  font-size: 12px;
}

.ul-list-arrow li {
  margin-bottom: 0 !important;
}

.empty-state {
  margin-bottom: 60px;
  color: #666;
}

.page-content .elementor-section {
  padding: 0 30px;
}

/* Mobile */

@media (max-width: 1024px) {

  header .hfe-nav-menu__toggle.elementor-clickable {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  header .main-nav {
    position: relative !important;
  }

  header .hfe-dropdown {
    left: 0 !important;
    top: 64px !important;
    width: 100% !important;
  }

  header .hfe-dropdown ul {
    border-radius: 0 !important;
    border: 0 !important;
  }

  .hfe-nav-menu-icon svg {
    transform: translate(0, 8px);
  }

  .logo-text img {
    min-width: 110px !important;
  }

  .site-header {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 30px !important;
  }

  .hide-tablet {
    display: none !important;
  }

}