/*
Theme Name: XLNC Theme
Theme URI: https://www.xlnc.org
Author: XLNC Development Team
Author URI: https://www.xlnc.org
Description: Custom WordPress theme replicating the XLNC Joomla site design with modern WordPress standards. Features responsive layout, clean typography, and full Gutenberg compatibility.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xlnc-theme
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, left-sidebar, two-columns, accessibility-ready
*/

/* ============================================
   GOOGLE FONTS IMPORT
   Ported from legacy style.css
   ============================================ */
   @import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,800|Open+Sans:300,400,700');

   /* ============================================
      RESET & BASE STYLES
      Ported from legacy style.css
      ============================================ */
   
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    padding: 0;
    margin: 0;
    position: relative;
    min-height: 100%;
    text-align: justify;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    color: #2a2a3a;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: #00315c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #00315c;
    text-decoration: none;
}

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

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.2;
    margin: 0 0 1rem;
}

h1, h2, h3 {
    margin-top: 10px;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

h1.ItemTitle {
    font-size: 4rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    line-height: 1.2;
}

#WrapItemNewsletter h1.ItemTitle {
    color: #2a2a3a;
    text-align: left;
    margin-top: 20px;
}

h3.ItemsSubtitle {
    color: #00315c;
    margin-top: 0;
}

#WrapItemNewsletter h3.ItemsSubtitle,
.RoleChairman {
    margin: 0 0 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    color: #999;
    font-weight: bold;
}

p {
    margin: 0 0 1rem;
}

ul, ol {
    margin: 0 0 1rem;
    padding-left: 2rem;
}

/* ============================================
   3. LAYOUT & CONTAINER
   ============================================ */

.wrapper {
    overflow: hidden;
    padding: 30px 25px 0;
}

.content {
    margin-bottom: 30px;
}

.container,
.container-wide {
       width: 100%;
       margin: 0 auto;
       padding: 0 30px;
   }
   
   .row {
       margin-bottom: 30px;
   }
   
   .row-centered {
       text-align: center;
   }
   
   .col-centered {
       display: inline-block;
       float: none;
       text-align: left;
       margin-right: -5px;
   }
   
   .NoMargin {
       margin: 0px !important;
   }
   
   .NoMarginBottom {
       margin-bottom: 0px !important;
   }
   
   .NoPad {
       padding: 0px !important;
   }
   
   .NoPadLeft {
       padding-left: 0px !important;
   }
   
   .NoPadRight {
       padding-right: 0px !important;
   }
   
   .WrapBottomPosition {
       margin-top: 30px;
   }
   
   .Static {
       position: static;
   }
   
   /* ============================================
      HEADER
      Ported from legacy style.css - adapted for WordPress
      ============================================ */
   
   
.site-header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top-bar {
    background-color: #fff;
    font-size: 0.875rem;
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 30px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding,
.brand {
    display: flex;
    align-items: center;
}

.site-branding img,
.brand img {
    max-width: 100%;
    max-height: 60px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

/* Navigation */
#navbar-collapse {
    padding: 0;
}

.navbar {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 50px;
}

.navbar .nav,
.main-navigation ul,
.nav-menu {
    margin: 0;
    padding: 0;
    text-align: left;
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar .nav > li,
.main-navigation li,
.nav-menu li {
    padding: 0;
    text-align: left;
    display: inline-block;
    margin-right: 20px;
    position: relative;
}

.navbar .nav > li:last-child,
.main-navigation li:last-child,
.nav-menu li:last-child {
    margin-right: 0;
}

.navbar .nav > li > a,
.main-navigation a,
.nav-menu a {
    color: #00315c;
    margin: 0;
    text-transform: uppercase;
    padding: 0;
    cursor: pointer;
    font-weight: normal;
    font-size: 15px;
    display: block;
    text-decoration: none;
}

.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover,
.nav-header:hover,
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.nav-menu a:hover {
    background: none;
    box-shadow: none;
    color: #e8bb31;
    text-decoration: none;
}

/* CTA Button Style for "Become a member" menu item */
.main-navigation .menu-item-cta > a,
.nav-menu .menu-item-cta > a,
.navbar .nav > .menu-item-cta > a {
    background-color: #e8bb31 !important;
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin-left: 1rem;
}

.main-navigation .menu-item-cta > a:hover,
.nav-menu .menu-item-cta > a:hover,
.navbar .nav > .menu-item-cta > a:hover {
    background-color: #aa8617 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.navbar .nav > li a:hover:after,
.navbar .nav > li.active a:after,
.navbar .nav > li:hover .nav-header:hover:after,
.navbar .nav > li.active .nav-header:after {
    width: 100%;
}

/* Dropdown menus */
.navbar .nav li > ul.nav-child,
.main-navigation ul ul,
.nav-menu ul {
    max-height: 0;
    transition: max-height 0.5s ease-out;
    overflow: hidden;
    background: #fff;
    width: 150px;
    margin-top: 30px;
    list-style: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 9999;
    padding-left: 0;
    line-height: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.main-navigation li:hover > ul,
.nav-menu li:hover > ul {
    max-height: 500px;
}

ul.nav-child li,
.main-navigation ul ul li,
.nav-menu ul li {
    text-transform: uppercase;
    display: block;
    color: #fff;
    padding: 2px 30px;
    margin: 0 !important;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

ul.nav-child li a,
.main-navigation ul ul a,
.nav-menu ul a {
    padding: 0;
    font-weight: 400;
    color: #6c6c6c;
    font-size: 12px;
}

ul.nav-child li:hover a,
.main-navigation ul ul li:hover a,
.nav-menu ul li:hover a {
    color: #00315c;
}

.WrapHeaderCTA {
    text-align: right;
    line-height: 50px;
}

.WrapIconSocial {
    list-style: none;
    padding-left: 0;
}

.WrapIconSocial li a {
    padding-left: 5px;
}

/* Mobile Menu Toggle - Hidden on desktop by default */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Ensure main navigation is visible on desktop */
.main-navigation {
    display: block;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.menu-toggle-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
}
   
   /* ============================================
      HERO SECTION (WrapItemIntro)
      Ported from legacy style.css
      ============================================ */
   
   .WrapItemIntro,
   .hero-section {
       display: flex;
       align-items: center;
       flex-direction: column;
       min-height: 350px;
       justify-content: center;
       margin-bottom: 30px;
       position: relative;
       background-size: cover;
       background-position: center center;
       background-repeat: no-repeat;
       width: 100%;
   }
   .WrapItemIntro{
       width: calc(100% - 60px) !important;
       margin: 0 30px 30px;
   }
   
   .WrapItemIntro:before {
       background: rgba(0, 49, 92, 0.5);
       position: absolute;
       top: 0;
       left: 0;
       z-index: 1;
       width: 100%;
       height: 100%;
       content: '';
   }
   
   .WrapItemIntro-inner {
       position: relative;
       z-index: 2;
       width: 100%;
       max-width: 1200px;
       padding: 0 20px;
   }
   
   .WrapItemIntro .ItemTitle,
   .hero-section .ItemTitle,
   .hero-section h1 {
       font-family: 'Montserrat', sans-serif;
       font-size: 4rem;
       font-weight: 700;
       color: #fff;
       margin: 0;
       text-align: center;
       text-transform: uppercase;
       z-index: 2;
       position: relative;
       line-height: 1.2;
   }
   
   .WrapItemIntro.no-featured-image {
       background-color: #00315c;
       background-image: none;
   }
   
   .WrapItemIntro.no-featured-image:before {
       background: rgba(0, 49, 92, 0.8);
   }
   
   .ItemIntro,
   .IntroCat {
       margin-top: 20px;
       text-align: center;
       font-size: 2rem;
       line-height: 1.3em;
   }
   
   .IntroCat {
       margin-bottom: 30px;
   }
   
   /* ============================================
      CTA SECTION (JoinSection)
      Ported from legacy style.css
      ============================================ */
   
   .JoinSection {
       background-image: url('/wp-content/uploads/2025/11/bg_CTA_Page.jpg') !important;
       background-size: cover;
       background-position: center center;
       background-repeat: no-repeat;
       position: relative;
       margin: 30px;
       width: calc(100% - 60px) !important;
   }
   
   .IntroJoin {
       text-align: center;
       background: rgba(0, 49, 92, 0.5);
       color: #fff;
       margin: 0 auto;
       position: relative;
       z-index: 1;
   }
   
   .IntroJoin h3 {
       font-family: 'Montserrat', sans-serif;
       margin: 0 0 30px 0;
       color: #fff;
       line-height: 1.2;
   }
   
   .IntroJoin p:last-of-type {
       margin-bottom: 0;
   }
   
   /* ============================================
      BUTTON STYLES
      Ported from legacy style.css
      ============================================ */
   
   .btn {
       display: inline-block;
       padding: 10px 25px;
       font-family: 'Montserrat', sans-serif;
       font-size: 1rem;
       font-weight: 400;
       text-align: center;
       text-decoration: none;
       border: 1px solid transparent;
       border-radius: 0;
       cursor: pointer;
       transition: all 0.3s ease;
       box-shadow: none;
       background-color: transparent;
       color: inherit;
       text-transform: uppercase;
   }
   
   .btn-default {
       color: #000;
       background-color: #949ba2;
       border-color: #949ba2;
   }
   
   .btn-default:hover {
       color: #ffffff;
       background-color: #616779;
       border-color: #616779;
   }
   
   .btn-primary {
       color: #fff;
       background-color: #00315c;
       border-color: #00315c;
       text-transform: uppercase;
   }
   
   .btn-primary:hover {
       color: #ffffff;
       background-color: #034976;
       border-color: #034976;
   }
   
   .btn.btn-cta,
   .downloads,
   a.btn.btn-inverse.resultbtn {
       color: #fff !important;
       background-color: #e8bb31 !important;
       border-color: #e8bb31 !important;
       text-transform: uppercase !important;
       border-radius: 0 !important;
       box-shadow: none !important;
       padding: 10px 25px !important;
       font-weight: 700;
   }
   
   .btn.btn-cta:hover,
   .downloads:hover,
   a.btn.btn-inverse.resultbtn:hover {
       color: #ffffff !important;
       background-color: #aa8617 !important;
       border-color: #aa8617 !important;
       text-decoration: none !important;
   }
   
   .downloads {
       display: inline-block;
       margin-top: 30px;
   }
   
   .IntroJoin .btn-cta {
       margin-top: 30px;
       font-size: 1rem;
   }
   
   /* ============================================
      GLOBAL STATS
      Ported from legacy style.css
      ============================================ */
   
   #GlobalFigures,
   .global-stats {
       text-align: center;
       padding: 30px 0;
       background: #00315c;
       color: #fff;
   }
   
   #GlobalFigures h2,
   #WrapArchiveHome h2,
   .global-stats h2 {
       text-align: center;
       margin: 0px 0 30px;
       text-transform: uppercase;
       font-size: 35px;
       color: #fff;
   }
   
   .WrapGlobalFigures h3,
   .global-stats .stat-item h3 {
       font-size: 6em;
       color: #e8bb31;
       margin-bottom: 0;
   }
   
   .WrapGlobalFigures p,
   .global-stats .stat-item p {
       font-size: 2em;
       font-weight: 500;
       margin: 0.5rem 0 0;
       color: #fff;
   }
   
   .global-stats .container {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
       gap: 2rem;
       text-align: center;
   }
   
   .global-stats .stat-item h3 {
       font-size: 3rem;
       margin: 0;
       color: #fff;
   }
   
   /* ============================================
      MAIN CONTENT AREA
      ============================================ */
   
   .site-main {
       padding: 0;
       min-height: 60vh;
   }
   
   .content-area {
       width: 100%;
   }
   
   .page-title {
       font-size: 2.5rem;
       margin-bottom: 2rem;
       padding-bottom: 1rem;
       border-bottom: 2px solid #e0e0e0;
   }
   
   .entry-content {
       margin-bottom: 2rem;
   }
   
   .entry-content img {
       margin: 1.5rem 0;
   }
   
   /* ============================================
      ITEMS STYLE (Services, Focus Groups, Locations)
      Ported from legacy style.css
      ============================================ */
   
   .WrapItems {
       position: relative;
       text-align: center;
       -moz-transition: all .2s ease;
       -o-transition: all .2s ease;
       -webkit-transition: all .2s ease;
       transition: all .2s ease;
       overflow: hidden;
   }
   
   .WrapItems img {
       width: 100%;
   }
   
   .ItemsCTA {
       margin-top: 10px;
   }
   
   .ItemsContent {
       background: rgba(255, 255, 255, 0.8);
       padding: 20px;
       position: absolute;
       z-index: 1;
       bottom: 0px;
       width: 100%;
       left: 0;
       -moz-transition: all .3s ease;
       -o-transition: all .3s ease;
       -webkit-transition: all .3s ease;
       transition: all .3s ease;
   }
   
   #WrapItemServices .ItemsContent {
       bottom: -120px;
   }
   
   #WrapTeam .ItemsContent {
       bottom: -150px;
   }
   
   #EventPage .ItemsContent,
   #WrapLocation .ItemsContent {
       bottom: -115px;
   }
   
   #WrapItemsNewsletter .ItemsContent {
       bottom: -150px;
   }
   
   #WrapTeam .ItemsSubtitle,
   #WrapItemServices .ItemsSubtitle,
   #WrapItemsNewsletter .ItemsSubtitle {
       min-height: 55px;
   }
   
   #WrapItemsNewsletter .ItemsSubtitle {
       font-size: 22px;
   }
   
   #HomeServices .WrapItems:hover .ItemsContent {
       margin-top: -40px;
       padding-bottom: 40px;
   }
   
   #WrapItemServices .WrapItems:hover .ItemsContent,
   #WrapTeam .WrapItems:hover .ItemsContent,
   #WrapItemsNewsletter .WrapItems:hover .ItemsContent,
   #EventPage .WrapItems:hover .ItemsContent,
   #WrapLocation .WrapItems:hover .ItemsContent {
       bottom: 0;
   }
   
   #WrapItemsFocus .WrapItems {
       margin-top: 30px;
   }
   
   #WrapItemsFocus .ItemsImg {
       background: #eee;
       height: 110px;
       width: 110px;
       border-radius: 100%;
       line-height: 110px;
       margin: 0 auto;
   }
   
   #WrapItemsFocus .ItemsImg img {
       max-width: 60px;
   }
   
   #WrapItemsFocus .ItemsSubtitle {
       font-size: 22px;
   }
   
   .ItemsIntroText {
       min-height: 95px;
       opacity: 0;
       -webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
       transition: opacity 0.2s, transform 0.35s;
       color: rgba(42, 42, 58, 1);
   }
   
   #WrapItemsNewsletter .ItemsIntroText {
       min-height: 130px;
   }
   
   #WrapItemServices .WrapItems:hover .ItemsIntroText,
   #WrapItemsNewsletter .WrapItems:hover .ItemsIntroText,
   #WrapLocation .WrapItems:hover .ItemsIntroText {
       opacity: 1;
       -webkit-transform: translate3d(0, 0, 0);
       transform: translate3d(0, 0, 0);
   }
   
   /* ============================================
      CARDS & GRIDS
      ============================================ */
   
   .cards-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
       gap: 2rem;
       margin: 2rem 0;
   }
   
   .card {
       background: #fff;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
       padding: 1.5rem;
       transition: box-shadow 0.3s ease;
   }
   
   .card:hover {
       box-shadow: 0 4px 12px rgba(0,0,0,0.1);
   }
   
   .card-title {
       font-size: 1.5rem;
       margin-bottom: 1rem;
   }
   
   .card-content {
       color: #666;
   }
   
   .card-image {
       margin-bottom: 1rem;
       overflow: hidden;
       border-radius: 4px 4px 0 0;
   }
   
   .card-image img {
       width: 100%;
       transition: transform 0.3s ease;
   }
   
   .card:hover .card-image img {
       transform: scale(1.05);
   }
   
   .card-meta {
       font-size: 0.875rem;
       color: #999;
       margin-bottom: 0.5rem;
   }
   
   
   .Shadow:hover {
       box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
   }
   
   /* ============================================
      HOME PAGE SPECIFIC
      Ported from legacy style.css
      ============================================ */
   
   #HomeServices h2,
   .Title {
       text-align: center;
       margin: 70px 0 20px;
       font-size: 3em;
   }
   
   #AboutUsSection {
       position: relative;
       width: 100%;
   }
   
   #AboutUsSection h3 {
       color: #fff;
       font-size: 1.8em;
       text-align: left;
   }
   
   .LayerHome {
       width: 100%;
       background: rgba(0, 49, 92, 0.8);
       padding: 20px 40px;
       color: #fff;
       align-items: center;
   }
   
   .WrapBtnAboutHome {
       text-align: right;
       margin-top: 30px;
   }
   
   #LocationsHome {
       text-align: center;
       margin: 30px 0;
       background: url(../images/locationshome.jpg) no-repeat center center / cover;
       min-height: 300px;
       display: flex;
       align-items: center;
       flex-flow: column;
       justify-content: center;
       color: #fff;
   }
   
   #LocationsHome h3 {
       font-size: 2.8em;
   }
   
   #LocationsHome h3 a {
       color: #fff;
       text-decoration: none;
   }
   
   #LocationsHome h3 a:hover {
       color: #fff;
   }
   
   body.home .row-flex {
       margin: 30px -15px;
   }
   
   #IntroDspHome {
       padding: 60px 0;
       text-align: center;
   }
   
   #IntroDspHome img {
       max-width: 100%;
   }
   
   #IntroDspHome h3 {
       margin-bottom: 20px;
   }
   
   .WrapGlobalFigures {
       margin-top: 40px;
       font-size: 20px;
   }
   
   .WrapGlobalFigures h3 {
       color: #fff;
       font-size: 1.4em;
   }
   
   .WrapGlobalFigures h4.time {
       font-size: 4em;
       font-weight: lighter;
       font-family: 'Open Sans', sans-serif;
       margin-top: 20px;
       letter-spacing: -0.5px;
       color: #fff;
   }
   
   .col-sm-4.center:after,
   .col-sm-4.center:before {
       display: block;
       border-left: 2px solid #e8bb31;
       content: ' ';
       -ms-transform: rotate(20deg);
       -webkit-transform: rotate(20deg);
       transform: rotate(20deg);
       height: 100%;
       position: absolute;
       top: 25px;
   }
   
   .col-sm-4.center:after {
       left: 0;
   }
   
   .col-sm-4.center:before {
       right: 0;
   }
   .MB30{
       margin-bottom: 30px;
   }
   .MB-30{
       margin-bottom: -30px;
   }
   .MB90{
       margin-bottom: 90px;
   }
   
   h3.light{
       font-weight: lighter;
       font-size: 2rem;
       margin-bottom: 30px;
   }
   
   .BoxIntroHome .wp-block-cover{
       padding: 30px 50px;
   }
   
   #WrapArchiveHome h2 {
       color: #333;
   }
   
   .home-intro {
       padding: 0;
   }
   .abc-slideshow{
       margin-bottom: 30px;
   }
   .abc-slideshow .abc-slide-text{
       font-size: 3rem;
   }
   .section-title {
       font-size: 2rem;
       margin-bottom: 2rem;
       text-align: center;
   }
   
   .home-news {
       padding: 3rem 0;
       margin: 3rem 0;
   }
   
   /* ============================================
      SERVICES PAGE
      Ported from legacy style.css
      ============================================ */
   
   .ItemIntro,
   .IntroCat {
       color: #333;
       margin: 40px 0 70px !important;
       width: 100%;
       text-align: center;
   }
   
   .ItemIntro {
       margin-bottom: 0 !important;
   }
   
   /* ============================================
      FOCUS GROUPS PAGE
      Ported from legacy style.css
      ============================================ */
   
   #WrapItemsFocus .ItemIntro {
       color: #333;
       margin: 40px 0 !important;
       width: 100%;
       text-align: center;
   }
   
   #WrapItemsFocus .ItemsContent {
       position: static;
   }
   
   /* ============================================
      SERVICES PAGE
      Additional styles for Services page tiles
      ============================================ */
   
   .xlnc-service-tile {
       position: relative;
       overflow: hidden;
       cursor: pointer;
       transition: all 0.3s ease;
       margin-bottom: 30px !important;
   }
   
   .xlnc-service-tile .xlnc-service-title {
       opacity: 1;
       transition: opacity 0.3s ease;
       font-size: 2rem;
       font-weight: lighter;
   }
   
   .xlnc-service-tile .xlnc-service-description {
       opacity: 0;
       max-height: 0;
       overflow: hidden;
       transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
       margin-top: 0 !important;
   }
   
   .xlnc-service-tile .xlnc-service-button {
       opacity: 0;
       max-height: 0;
       overflow: hidden;
       transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
       margin-top: 0 !important;
   }
   
   .xlnc-service-tile .wp-block-cover__image-background {
       transition: transform 0.35s ease;
       transform: scale(1);
   }
   
   .xlnc-service-tile:hover .wp-block-cover__image-background {
       transform: scale(1.05);
   }
   .xlnc-service-tile:hover .xlnc-service-description {
       opacity: 1;
       max-height: 200px;
       margin-top: 1.25rem !important;
   }
   
   .xlnc-service-tile:hover .xlnc-service-button {
       opacity: 1;
       max-height: 100px;
       margin-top: 1.875rem !important;
   }
   
   .xlnc-service-tile:hover .wp-block-cover__background {
       opacity: 0.8;
   }
   
   /* ============================================
      FOCUS GROUPS PAGE - CATEGORY ARCHIVE
      ============================================ */
   
   
   .focus-groups-grid {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       gap: 2rem;
       margin: 2rem 0;
   }
   
   .focus-group-item {
       /* No borders, shadows, or hover effects */
       background: transparent;
       border: none;
       box-shadow: none;
       transition: none;
   }
   
   .focus-group-item:hover {
       transform: none;
       box-shadow: none;
   }
   
   .focus-group-link {
       display: block;
       text-decoration: none;
       color: inherit;
       text-align: center;
   }
   
   .focus-group-image-circle {
       width: 150px;
       height: 150px;
       margin: 0 auto 1rem;
       border-radius: 50%;
       background: #eee;
       display: flex;
       align-items: center;
       justify-content: center;
       overflow: hidden;
       position: relative;
       padding: 30px;
   }
   
   .focus-group-image-circle img {
       width: 100%;
       height: 100%;
       object-fit: contain;
       padding: 1rem;
   }
   
   .focus-group-image-placeholder {
       width: 150px;
       height: 150px;
       margin: 0 auto 1rem;
       border-radius: 50%;
       background: #eee;
       display: flex;
       align-items: center;
       justify-content: center;
   }
   
   .focus-group-image-placeholder span {
       color: #999;
       font-size: 0.875rem;
       text-align: center;
       padding: 1rem;
   }
   
   .focus-group-title {
       margin: 0;
       font-size: 1rem;
       font-weight: 400;
       color: #1a1a1a;
       text-align: center;
       text-decoration: none;
   }
   
   .focus-group-link:hover .focus-group-title {
       color: #1a1a1a;
       text-decoration: none;
   }
   
   /* ============================================
      FOCUS GROUPS - SINGLE POST
      ============================================ */
   
   .focus-group-single-page {
       padding: 2rem 0;
   }
   
   .focus-group-single {
       text-align: center;
   }
   
   .focus-group-single-image-circle {
       width: 200px;
       height: 200px;
       margin: 0 auto 2rem;
       border-radius: 50%;
       background: #eee;
       display: flex;
       align-items: center;
       justify-content: center;
       overflow: hidden;
       position: relative;
   }
   
   .focus-group-single-image-circle img {
       width: 100%;
       height: 100%;
       object-fit: contain;
       padding:60px;
   }
   
   .focus-group-single-image-placeholder {
       width: 200px;
       height: 200px;
       margin: 0 auto 2rem;
       border-radius: 50%;
       background: #eee;
       display: flex;
       align-items: center;
       justify-content: center;
   }
   
   .focus-group-single-image-placeholder span {
       color: #999;
       font-size: 1rem;
       text-align: center;
       padding: 1.5rem;
   }
   
   .focus-group-single-title {
       margin: 0 0 2rem 0;
       font-size: 2rem;
       font-weight: 400;
       color: #1a1a1a;
       text-align: center;
       text-decoration: none;
       border: none;
       padding: 0;
   }
   
   .focus-group-single-content {
       text-align: left;
       max-width: 800px;
       margin: 0 auto;
   }
   
    /* ===============================
      FOCUS ITEM – TABLE MINIMAL
      =============================== */
   
      .focus-group-single-content table {
       width: 100%;
       border-collapse: collapse;
       border-spacing: 0;
       background: transparent;
   }
   
   /* reset celle */
   .focus-group-single-content table th,
   .focus-group-single-content table td {
       border: none;
       background: transparent;
       vertical-align: bottom;
   }
   
   /* header */
   .focus-group-single-content table thead th {
       font-weight: 600;               /* grassetto leggero */
       text-align: left;
       padding: 0.7rem 0.4rem 0.35rem;
       border-bottom: 1px solid #111;
   }
   
   /* righe corpo */
   .focus-group-single-content table tbody tr {
       border-bottom: 1px solid #e5e5e5;
   }
   
   /* celle corpo */
   .focus-group-single-content table tbody td {
       padding: 0.9rem 0.4rem 0.3rem;
   }
   
   /* nessun bordo verticale */
   .focus-group-single-content table th,
   .focus-group-single-content table td {
       border-left: none;
       border-right: none;
       border-top: none;
   }
   
   /* link (email) */
   .focus-group-single-content table a {
       color: inherit;
       text-decoration: none;
       border-bottom: 1px solid currentColor;
   }
   
   .focus-group-single-content table a:hover {
       opacity: 0.75;
   }
   
   /* ultima riga senza linea */
   .focus-group-single-content table tbody tr:last-child {
       border-bottom: none;
   }
   
   /* Email più larga */
   .Focus-Item table th:nth-child(3),
   .Focus-Item table td:nth-child(3) {
       width: 30%;
   }
   
   /* Location più stretta */
   .Focus-Item table th:nth-child(4),
   .Focus-Item table td:nth-child(4) {
       width: 12%;
   }
   
   
   .focus-group-single .post-navigation,
   .focus-group-single .focus-group-navigation,
   .focus-group-single .focus-group-breadcrumb {
       display: none;
   }
   
   /* ============================================
      NEWS PAGE - CATEGORY ARCHIVE
      ============================================ */
   
   
   .news-category-description {
       margin: 2rem 0;
       padding: 0;
   }
   
   .news-grid {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       gap: 2rem;
       margin: 2rem 0;
   }
   
   .news-tile,
   .NewsGridItem {
       position: relative;
       aspect-ratio: 3 / 2;
       overflow: hidden;
       border: none;
       box-shadow: none;
       background: #f0f0f0;
   }
   
   .news-tile-link,
   .NewsGridItem-link {
       display: block;
       width: 100%;
       height: 100%;
       position: relative;
       background-size: cover;
       background-position: center;
       background-repeat: no-repeat;
       text-decoration: none;
       color: inherit;
   }
   
   .NewsGridItem-title {
       position: absolute;
       bottom: 0;
       left: 0;
       width: 100%;
       min-height: 60px;
       background: rgba(255, 255, 255, 0.8);
       display: flex;
       align-items: center;
       justify-content: center;
       padding: 0.75rem 1rem;
       z-index: 1;
   }
   
   .news-tile-title {
       margin: 0;
       font-size: 1rem;
       font-weight: 600;
       color: #00315c;
       text-align: center;
       text-decoration: none;
       overflow: hidden;
       text-overflow: ellipsis;
       display: -webkit-box;
       -webkit-line-clamp: 2;
       line-clamp: 2;
       -webkit-box-orient: vertical;
       line-height: 1.4;
   }
   
   .news-tile-overlay {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       display: flex;
       align-items: center;
       justify-content: center;
       background: rgba(0, 49, 92, 0.9);
       opacity: 0;
       transition: opacity 0.3s ease;
       z-index: 2;
   }
   
   .news-tile:hover .news-tile-overlay,
   .NewsGridItem:hover .news-tile-overlay {
       opacity: 1;
   }
   
   .news-tile-button {
       display: inline-block;
       padding: 0.75rem 1.5rem;
       background: #e8bb31;
       color: #00315c;
       font-weight: 600;
       text-transform: uppercase;
       border-radius: 4px;
       font-size: 0.875rem;
       letter-spacing: 0.5px;
       transition: background 0.3s ease;
   }
   
   .news-tile-button:hover {
       background: #fff;
   }
   
   .news-pagination {
       margin: 3rem 0;
       text-align: center;
   }
   
   .news-pagination .page-numbers {
       display: inline-flex;
       list-style: none;
       padding: 0;
       margin: 0;
       gap: 0.5rem;
       flex-wrap: wrap;
       justify-content: center;
   }
   
   .news-pagination .page-numbers li {
       margin: 0;
   }
   
   .news-pagination .page-numbers a,
   .news-pagination .page-numbers span {
       display: inline-block;
       padding: 0.5rem 1rem;
       background: #f0f0f0;
       color: #00315c;
       text-decoration: none;
       border-radius: 4px;
       transition: background 0.3s ease;
   }
   
   .news-pagination .page-numbers a:hover {
       background: #00315c;
       color: #fff;
   }
   
   .news-pagination .page-numbers .current {
       background: #00315c;
       color: #fff;
   }
   
   /* ============================================
      EVENTS PAGE - CATEGORY ARCHIVE
      ============================================ */
   
   
   .events-category-description,
   .eventi-category-description {
       margin: 2rem 0;
       padding: 0;
   }
   
   .events-list,
   .eventi-list {
       margin: 2rem 0;
   }
   
   .EventItem {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 0;
       margin-bottom: 3rem;
       border: none;
       box-shadow: none;
       background: transparent;
   }
   
   .EventItem:last-child {
       margin-bottom: 0;
   }
   
   .EventItem-image {
       width: 100%;
       height: 100%;
       min-height: 300px;
       overflow: hidden;
       display: flex;
       align-items: center;
       justify-content: center;
       background: #f0f0f0;
   }
   
   .EventItem-image img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       display: block;
   }
   
   .EventItem-info {
       background: #00315c;
       color: #fff;
       padding: 3rem;
       display: flex;
       flex-direction: column;
       justify-content: center;
   }
   
   .EventItem-title {
       margin: 0 0 2rem 0;
       font-size: 2rem;
       font-weight: 600;
       color: #fff;
       line-height: 1.3;
   }
   
   .EventItem-field {
       display: flex;
       align-items: center;
       margin-bottom: 1.5rem;
       gap: 1rem;
   }
   
   .EventItem-field:last-of-type {
       margin-bottom: 0;
   }
   
   .EventItem-icon {
       width: 24px;
       height: 24px;
       flex-shrink: 0;
       object-fit: contain;
   }
   
   .EventItem-text {
       color: #fff;
       font-size: 1rem;
       line-height: 1.5;
   }
   
   .EventItem-link {
       color: #fff;
       text-decoration: none;
   }
   
   .EventItem-link:hover {
       text-decoration: underline;
   }
   
   .EventItem-cta {
       margin-top: 2rem;
   }
   
   .EventItem-cta .btn {
       display: inline-block;
   }
   
   /* ============================================
      ARCHIVE PAGE - CATEGORY ARCHIVE
      ============================================ */
   
   
   .archive-filters {
       margin: 2rem 0;
       padding: 2rem;
       background: #f8f8f8;
       border-radius: 4px;
   }
   
   .archive-filter-row {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       gap: 1.5rem;
       margin-bottom: 1.5rem;
   }
   
   .archive-filter-group {
       display: flex;
       flex-direction: column;
   }
   
   .archive-filter-group label {
       font-weight: 600;
       margin-bottom: 0.5rem;
       color: #1a1a1a;
   }
   
   .archive-filter-input,
   .archive-filter-select {
       padding: 0.75rem;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
       font-size: 1rem;
       background: white;
   }
   
   
   .archive-filter-actions {
       display: flex;
       align-items: center;
       gap: 1rem;
   }
   
   .archive-filter-count {
       color: #666;
       font-size: 0.875rem;
   }
   
   .archive-grid {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       gap: 2rem;
       margin: 2rem 0;
   }
   
   .archive-item {
       /* No borders, shadows, or hover effects */
       background: transparent;
       border: none;
       box-shadow: none;
       transition: none;
       padding: 30px 0;
       border: 10px solid #00315C;
       min-height: 300px;
       display: flex;
       align-items: stretch;
       justify-content: center;
   }
   
   .archive-item-link {
       display: block;
       text-decoration: none;
       color: inherit;
       text-align: center;
   }
   .archive-item-title {
       font-size: 1.6em;
       text-align: center;
       margin: 0 -10px;
       padding: 0 30px;
       background: #fff;
       display: flex;
       align-items: center;
       font-weight: lighter;
   
   }
   
   .archive-item-link:hover {
       color: #e8bb31;
       text-decoration: none;
   }
   
   .archive-loading {
       grid-column: 1 / -1;
       text-align: center;
       padding: 3rem;
       color: #666;
   }
   
   .no-results {
       grid-column: 1 / -1;
       text-align: center;
       padding: 3rem;
       color: #666;
   }
   
   /* ============================================
      ARCHIVE - SINGLE POST
      ============================================ */
   
   .archive-single-page {
       padding: 2rem 0;
   }
   
   
   .archive-single-title {
       margin: 0 0 3rem 0;
       font-size: 2.5rem;
       font-weight: 400;
       color: #1a1a1a;
       text-align: center;
       text-decoration: none;
       border: none;
       padding: 0;
   }
   
   .archive-single-content-wrapper {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 3rem;
       margin-bottom: 3rem;
   }
   
   
   .archive-contact-person {
       margin-bottom: 2rem;
   }
   
   .archive-contact-person:last-child {
       margin-bottom: 0;
   }
   
   .archive-contact-photo {
       margin-bottom: 1rem;
   }
   
   .archive-contact-photo img {
       width: 150px;
       height: 150px;
       object-fit: cover;
       border-radius: 4px;
   }
   
   
   .archive-contact-name {
       margin: 0 0 0.5rem 0;
       font-size: 1.25rem;
       font-weight: 600;
       color: #1a1a1a;
   }
   
   .archive-contact-role {
       margin: 0 0 0.5rem 0;
       color: #666;
       font-size: 0.875rem;
   }
   
   .archive-contact-email {
       margin: 0;
       color: #00315c;
       font-size: 0.875rem;
   }
   
   .archive-contact-email a {
       color: #00315c;
       text-decoration: none;
   }
   
   .archive-contact-email a:hover {
       text-decoration: underline;
   }
   
   
   .archive-single-image {
       width: 100%;
   }
   
   .archive-single-image img {
       width: 100%;
       height: auto;
       display: block;
   }
   
   .archive-single-cta {
       margin-top: 3rem;
       text-align: center;
       padding: 2rem 0;
   }
   
   .archive-news-link {
       display: inline-block;
   }
   
   .archive-single .post-navigation,
   .archive-single .focus-group-navigation,
   .archive-single .focus-group-breadcrumb {
       display: none;
   }
   
   /* ============================================
      LOCATIONS PAGE
      Ported from legacy style.css + additional styles
      ============================================ */
   
   
   .locations-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
       gap: 2rem;
       margin: 2rem 0;
   }
   
   .location-card {
       background: white;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
       overflow: hidden;
       transition: box-shadow 0.3s ease;
       position: relative;
       padding-bottom: 30px;
   }
   
   .location-card:hover {
       box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
   }
   
   .location-image {
       width: 100%;
       height: 200px;
       overflow: hidden;
       background: #f0f0f0;
       display: none;
   }
   
   .location-image img {
       width: 100%;
       height: 100%;
       object-fit: contain;
       padding: 1rem;
   }
   
   .location-content {
       padding: 1.5rem;
   }
   
   .location-title {
       margin: 0 0 0.5rem;
       font-size: 1.25rem;
   }
   
   .location-title a {
       color: #00315c;
       text-decoration: none;
       text-align: left;
   }
   
   .location-title a:hover {
       color: #00315c;
   }
   
   .location-country {
       color: #666;
       font-size: 0.875rem;
       margin-bottom: 0.5rem;
   }
   
   .location-services {
       margin: 1rem 0;
       text-align: left;
   }
   
   .service-tag {
       display: inline-block;
       padding: 0.25rem 0.75rem;
       margin: 0.25rem 0.25rem 0.25rem 0;
       background: #f0f0f0;
       border-radius: 3px;
       font-size: 0.75rem;
       color: #666;
   }
   
   .location-address {
       color: #666;
       font-size: 0.875rem;
       margin-top: 0.5rem;
       text-align: left;
   }
   
   .location-phone {
       color: #666;
       font-size: 0.875rem;
       margin-top: 0.5rem;
   }
   
   .location-link {
       position: absolute;
       bottom: 15px;
       right: 30px;
   }
   .location-link a{
       color: #e8bb31;
       text-decoration: none;
   }
   
   .locations-filters {
       background: #f8f8f8;
       padding: 2rem;
       border-radius: 4px;
       margin: 2rem 0;
   }
   
   .locations-filters h2 {
       margin-top: 0;
   }
   
   .filter-row {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       gap: 1.5rem;
       margin-bottom: 1.5rem;
   }
   
   .filter-group label {
       display: block;
       margin-bottom: 0.5rem;
       font-weight: 600;
   }
   
   .filter-group input[type="text"],
   .filter-group select {
       width: 100%;
       padding: 0.75rem;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
       font-size: 1rem;
       background: white;
   }
   
   .services-checkboxes {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
       gap: 0.5rem;
   }
   
   .services-checkboxes label {
       display: flex;
       align-items: center;
       cursor: pointer;
       font-weight: normal;
   }
   
   .services-checkboxes input[type="checkbox"] {
       margin-right: 0.5rem;
   }
   
   #locations-map {
       width: 100%;
       height: 500px;
       margin: 2rem 0;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
   }
   
   #no-results {
       display: none;
       text-align: center;
       padding: 3rem;
       color: #999;
   }
   
   .ImgLocation img {
       width: 100%;
       max-width: 350px;
       margin-bottom: 20px;
   }
   
   .ImgLocation {
       text-align: center;
   }
   
   .InfoLocation {
       text-align: left;
       position: relative;
   }
   
   .location-title a {
       color: #fff;
   }
   
   .locationaddress {
       display: block;
       color: #fff;
   }
   
   .locationaddress a {
       color: #fff;
   }
   
   .location-name a {
       color: #fff !important;
   }
   
   .locationaddress a:hover,
   .location-name a:hover {
       color: #e8bb31 !important;
       text-decoration: none;
   }
   
   /* ============================================
      FOOTER
      Ported from legacy style.css - adapted for WordPress
      ============================================ */
   
   #footer {
       background: #00315c;
       color: #fff;
       padding: 0px 40px 40px;
       position: relative;
       margin: 0 30px;
   }
   
   #WrapFooter {
       background: #00315c;
       color: #fff;
       position: relative;
       padding: 60px 0 0;
   }
   
   /* ROW 1: MAIN FOOTER (6 COLUMNS) */
   .FooterTop {
       display: grid;
       grid-template-columns: repeat(6, 1fr);
       gap: 2rem;
       margin-bottom: 2rem;
   }
   
   
   .FooterLogo {
       margin-bottom: 10px;
   }
   
   .FooterLogo img {
       max-width: 100%;
       height: auto;
       margin-bottom: 10px;
   }
   
   .FooterCol p {
       margin: 0 0 10px 0;
       color: #fff;
   }
   
   .FooterCol address {
       font-style: normal;
       color: #fff;
       line-height: 1.6;
       margin: 0;
   }
   
   .FooterCol h4 {
       color: #fff;
       padding-bottom: 5px;
       margin-bottom: 15px;
       font-weight: lighter;
       font-size: 1.25rem;
   }
   
   .FooterCol .nav {
       padding: 0;
       list-style: none;
       margin: 0;
   }
   
   .FooterCol .nav > li {
       padding: 0;
       line-height: 1.8;
       margin-bottom: 5px;
   }
   
   .FooterCol .nav > li > a {
       color: #fff;
       text-decoration: none;
       padding-left: 0;
   }
   
   .FooterCol .nav > li > a:hover {
       background: none;
       text-decoration: underline;
   }
   
   /* Sponsor images */
   .FooterCol-4 a,
   .FooterCol-5 a {
       display: block;
       margin-bottom: 10px;
   }
   
   .FooterCol-4 img,
   .FooterCol-5 img {
       max-width: 100%;
       height: auto;
       display: block;
   }
   
   /* Social Box */
   
   .WrapIconSocial {
       list-style: none;
       padding: 0;
       margin: 0;
   }
   
   .WrapIconSocial li {
       display: flex;
       align-items: center;
       margin-bottom: 10px;
       line-height: 1.5;
   }
   
   .WrapIconSocial li img {
       width: 24px;
       height: 24px;
       margin-right: 10px;
       flex-shrink: 0;
   }
   
   .WrapIconSocial li a {
       color: #fff;
       text-decoration: none;
   }
   
   .WrapIconSocial li a:hover {
       text-decoration: underline;
   }
   
   /* ROW 2: CONTACT INFO */
   #FooterContact {
       margin-bottom: 20px;
       text-align: center;
       padding: 1rem 0;
       border-top: 1px solid rgba(255, 255, 255, 0.2);
       border-bottom: 1px solid rgba(255, 255, 255, 0.2);
   }
   
   #FooterContact p {
       margin: 0;
       color: #fff;
   }
   
   #FooterContact a {
       color: #fff;
       text-decoration: none;
   }
   
   #FooterContact a:hover {
       text-decoration: underline;
   }
   
   /* ROW 3: COPYRIGHT & LEGAL LINKS */
   .FooterCopy {
       font-size: 12px;
       text-align: center;
       padding-top: 1rem;
       color: #999;
   }
   
   .FooterCopy a {
       color: #999;
       text-decoration: none;
   }
   
   .FooterCopy a:hover {
       color: #fff;
       text-decoration: underline;
   }
   
   /* Legacy compatibility */
   #footer h3.IntroFooter {
       text-align: center;
       padding: 40px 0 60px;
       font-size: 4rem;
   }
   
   #footer h3.IntroFooter small {
       color: #fff;
       font-weight: lighter;
       letter-spacing: 1px;
   }
   
   #footer h5 {
       color: #fff;
       padding-bottom: 5px;
       margin-bottom: 15px;
       font-weight: lighter;
   }
   
   #footer i {
       font-size: 36px;
       margin-right: 15px;
   }
   
   #footer i:hover {
       color: #e8bb31;
   }
   
   .footer-content {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       gap: 2rem;
       margin-bottom: 2rem;
   }
   
   .footer-widget ul {
       list-style: none;
       padding: 0;
   }
   
   .footer-widget a {
       color: #ccc;
       text-decoration: none;
   }
   
   .footer-widget a:hover {
       color: #fff;
   }
   
   .social-links {
       display: flex;
       gap: 1rem;
       list-style: none;
       padding: 0;
       margin: 1rem 0;
   }
   
   .social-links a {
       color: #ccc;
       font-size: 1.5rem;
       transition: color 0.3s ease;
   }
   
   .social-links a:hover {
       color: #fff;
   }
   
   .social-links-inline {
       list-style: none;
       margin: 0;
       padding: 0;
       display: flex;
       gap: 1rem;
   }
   
   .social-links-inline a {
       color: #666;
       font-size: 1.25rem;
       text-decoration: none;
   }
   
   .social-links-inline a:hover {
       color: #0066cc;
   }
   
   .footer-navigation {
       margin: 2rem 0;
   }
   
   .footer-menu {
       list-style: none;
       padding: 0;
       margin: 0;
       display: flex;
       justify-content: center;
       flex-wrap: wrap;
       gap: 1.5rem;
   }
   
   .footer-menu a {
       color: #ccc;
       text-decoration: none;
   }
   
   .footer-menu a:hover {
       color: #fff;
   }
   
   /* ============================================
      POSTS & ARCHIVE
      ============================================ */
   
   .post-list {
       display: grid;
       gap: 2rem;
       margin: 2rem 0;
   }
   
   .post-item {
       border-bottom: 1px solid #e0e0e0;
       padding-bottom: 2rem;
   }
   
   .post-item:last-child {
       border-bottom: none;
   }
   
   .post-title {
       font-size: 1.75rem;
       margin-bottom: 0.5rem;
   }
   
   .post-meta {
       color: #999;
       font-size: 0.875rem;
       margin-bottom: 1rem;
   }
   
   .post-excerpt {
       color: #666;
       margin-bottom: 1rem;
   }
   
   .read-more {
       display: inline-block;
       color: #0066cc;
       font-weight: 500;
       text-decoration: none;
   }
   
   .read-more:hover {
       text-decoration: underline;
   }
   
   .entry-meta {
       display: flex;
       gap: 1rem;
       flex-wrap: wrap;
       font-size: 0.875rem;
       color: #999;
       margin-bottom: 1rem;
   }
   
   .entry-meta span {
       display: inline-flex;
       align-items: center;
   }
   .category-description, .SmallIntro{
       max-width: 1200px;
       margin: 60px auto;
       padding: 0 60px;
       text-align: center;
       font-size: 1.25rem;
       line-height: 1.6;
   }
   .SmallContainer{
       max-width: 1200px;
       margin: 60px auto;
       padding: 0 60px; 
   }
   .contacts-grid{
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
       gap: 2rem;
       margin-bottom: 30px;
   }
   .contact-item{
       background: white; 
       border: 1px solid #e0e0e0; 
       border-radius: 4px; padding: 1.5rem; 
       text-align: center;
       margin-bottom: 30px;
   }
   .contact-photo{
       margin-bottom: 1rem;
   }
   .contact-photo img{
       border-radius: 50%; width: 100px; height: 100px; object-fit: cover;
   }   
   .contact-name{
       margin: 0 0 0.5rem; font-size: 1.125rem;
   }
   .contact-role{
       margin: 0.25rem 0;
   }
   .contact-email{
       margin: 0.25rem 0;
   }
   
   
   /* Stili per prevenire overflow e permettere riduzione font */
   .contact-item {
       overflow: hidden;
       word-wrap: break-word;
       max-width: 100%;
   }
   
   .archive-contact-info {
       overflow: hidden;
       width: 100%;
       max-width: 100%;
   }
   
   .auto-fit-text {
       overflow: hidden;
       word-wrap: break-word;
       max-width: 100%;
       display: block;
       box-sizing: border-box;
   }
   
   .contact-name.auto-fit-text,
   .contact-role.auto-fit-text,
   .contact-email.auto-fit-text {
       overflow: hidden;
       word-wrap: break-word;
       hyphens: auto;
   }
   /* ============================================
      SEARCH
      ============================================ */
   
   .search-form {
       display: flex;
       gap: 0.5rem;
       margin: 2rem 0;
   }
   
   .search-field {
       flex: 1;
       padding: 0.75rem;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
   }
   
   .search-submit {
       padding: 0.75rem 1.5rem;
       background-color: #0066cc;
       color: #fff;
       border: none;
       border-radius: 4px;
       cursor: pointer;
       font-weight: 500;
   }
   
   .search-submit:hover {
       background-color: #004499;
   }
   
   .find-member-section {
       background-color: #f8f8f8;
       padding: 3rem 0;
       margin: 3rem 0;
   }
   
   .find-member-form {
       max-width: 600px;
       margin: 0 auto 1rem;
   }
   
   .find-member-description {
       text-align: center;
       color: #666;
   }
   
   /* ============================================
      UTILITY CLASSES
      ============================================ */
   
   .FlexRow {
       display: flex;
       align-items: stretch;
   }
   
   .FlexRowCenter {
       display: flex;
       align-items: center;
   }
   
   .well {
       padding: 40px;
       background-color: #eee;
       border: 1px solid #eee;
       border-radius: 0px;
       box-shadow: none;
       text-align: center;
   }
   
   .well-subscribe {
       margin-bottom: 0;
       font-size: 1.8rem;
   }
   
   .well-subscribe .btn {
       font-size: 2rem;
       min-width: 20%;
   }
   
   blockquote {
       border-left: none;
       margin: 0;
       text-align: justify;
   }
   
   blockquote h3 {
       margin-bottom: 30px;
   }
   
   blockquote .Author {
       float: right;
       text-align: right;
   }
   
   blockquote small {
       color: #fff;
   }
   
   /* ============================================
      PAGINATION
      Ported from legacy style.css
      ============================================ */
   
   div.pagination,
   .pagination {
       text-align: center;
       display: block;
       margin: 3rem 0;
   }
   
   div.pagination .counter.pull-right {
       float: none !important;
       text-align: center;
   }
   
   .pagination ul,
   .page-numbers {
       display: inline-flex;
       gap: 0.5rem;
       padding-left: 0;
       margin: 20px 0;
       border-radius: 4px;
       list-style: none;
   }
   
   .pagination ul > li,
   .page-numbers li {
       display: inline;
       margin: 0;
   }
   
   .pagination ul > li > a,
   .pagination ul > li > span,
   .page-numbers a,
   .page-numbers span {
       position: relative;
       float: left;
       padding: 6px 12px;
       margin-left: -1px;
       line-height: 1.42857143;
       color: #337ab7;
       text-decoration: none;
       background-color: #fff;
       border: 1px solid #ddd;
       display: inline-block;
   }
   
   .pagination ul > li > span {
       color: #ddd;
   }
   
   .pagination ul > li > a:hover,
   .page-numbers a:hover {
       z-index: 2;
       color: #23527c;
       background-color: #eeeeee;
       border-color: #ddd;
   }
   
   .pagination ul > li:first-child > a,
   .page-numbers li:first-child a {
       margin-left: 0;
       border-top-left-radius: 4px;
       border-bottom-left-radius: 4px;
   }
   
   .pagination ul > li:last-child > a,
   .page-numbers li:last-child a {
       border-top-right-radius: 4px;
       border-bottom-right-radius: 4px;
   }
   
   .pagination ul > .active > a,
   .pagination ul > .active > a:hover,
   .pagination ul > .active > a:focus,
   .page-numbers .current {
       z-index: 3;
       color: #fff;
       cursor: default;
       background-color: #337ab7;
       border-color: #337ab7;
   }
   
   .page-numbers .current {
       background-color: #0066cc;
       color: #fff;
       border-color: #0066cc;
   }
   
   .page-numbers a:hover {
       background-color: #f0f0f0;
   }
   
   /* ============================================
      COMMENTS
      ============================================ */
   
   .comments-area {
       margin: 3rem 0;
   }
   
   .comment-list {
       list-style: none;
       padding: 0;
       margin: 0;
   }
   
   .comment {
       margin-bottom: 2rem;
       padding: 1.5rem;
       background-color: #f8f8f8;
       border-radius: 4px;
   }
   
   .comment-meta {
       margin-bottom: 1rem;
   }
   
   .comment-author {
       font-weight: 600;
   }
   
   .comment-date {
       color: #999;
       font-size: 0.875rem;
   }
   
   /* ============================================
      TAGS
      ============================================ */
   
   .tags-links {
       margin-top: 1rem;
   }
   
   .tags-links a {
       display: inline-block;
       padding: 0.25rem 0.75rem;
       margin: 0.25rem 0.25rem 0.25rem 0;
       background-color: #f0f0f0;
       border-radius: 3px;
       font-size: 0.875rem;
       text-decoration: none;
   }
   
   .tags-links a:hover {
       background-color: #0066cc;
       color: #fff;
   }
   
   /* ============================================
      POST NAVIGATION
      ============================================ */
   
   .post-navigation {
       margin: 3rem 0;
       padding: 2rem 0;
       border-top: 1px solid #e0e0e0;
       border-bottom: 1px solid #e0e0e0;
   }
   
   .post-navigation .nav-links {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 2rem;
   }
   
   .nav-previous,
   .nav-next {
       display: flex;
       flex-direction: column;
   }
   
   .nav-next {
       text-align: right;
   }
   
   .nav-subtitle {
       font-size: 0.875rem;
       color: #999;
       margin-bottom: 0.5rem;
   }
   
   .nav-title {
       font-weight: 600;
   }
   
   /* ============================================
      WIDGETS
      ============================================ */
   
   .widget {
       margin-bottom: 2rem;
   }
   
   .widget-title {
       font-size: 1.25rem;
       margin-bottom: 1rem;
       color: #1a1a1a;
   }
   
   .widget ul {
       list-style: none;
       padding: 0;
   }
   
   .widget ul li {
       margin-bottom: 0.5rem;
       padding-bottom: 0.5rem;
       border-bottom: 1px solid #e0e0e0;
   }
   
   .widget ul li:last-child {
       border-bottom: none;
   }
   
   /* ============================================
      404 PAGE
      ============================================ */
   
   .error-404 {
       text-align: center;
       padding: 4rem 0;
   }
   
   .error-404 h1 {
       font-size: 4rem;
       margin-bottom: 1rem;
   }
   
   .error-404-widgets {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       gap: 2rem;
       margin-top: 3rem;
   }
   
   .error-404-widgets .widget {
       background-color: #f8f8f8;
       padding: 1.5rem;
       border-radius: 4px;
   }
   
   /* ============================================
      ARCHIVE DESCRIPTION
      ============================================ */
   
   .archive-description {
       margin-bottom: 2rem;
       color: #666;
   }
   
   /* ============================================
      STILI FORM COLONNE GUTENBERG
      ============================================ */
   
   .wpcf7{
       background: #f1f1f1;
       padding: 30px;
       margin-top: 30px;
       position: relative;
   }
   
   /* Forza le colonne a prendere il 50% quando sono 2 per riga */
   .wpcf7-form .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex {
       display: flex;
       flex-wrap: wrap;
       gap: 30px;
   }
   
   .wpcf7-form .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex .wp-block-column {
       flex: 0 1 calc(50% - 15px);
       min-width: 0; /* Previene overflow */
       max-width: calc(50% - 15px);
   }
   
   /* ============================================
      STILI INPUT E TEXTAREA
      ============================================ */
   
   /* Stili per tutti gli input nei blocchi colonna */
   .wp-block-column input[type="text"],
   .wp-block-column input[type="email"],
   .wp-block-column input[type="url"],
   .wp-block-column input[type="tel"],
   .wp-block-column input[type="number"],
   .wp-block-column input[type="password"],
   .wp-block-column input[type="search"],
   .wp-block-column input[type="date"],
   .wp-block-column input[type="time"],
   .wp-block-column input[type="datetime-local"],
   .wp-block-column select {
       width: 100% !important;
       box-sizing: border-box;
       padding: 0.75rem 1rem;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
       font-size: 1rem;
       line-height: 1.5;
       transition: border-color 0.3s ease, box-shadow 0.3s ease;
   }
   
   /* Focus state per input */
   .wp-block-column input:focus,
   .wp-block-column select:focus,
   .wp-block-column textarea:focus {
       outline: none;
       border-color: #0073aa;
       box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
   }
   
   /* Textarea - larga quanto lo spazio disponibile */
   .wp-block-column textarea,
   .wp-block-group textarea,
   textarea {
       width: 100% !important;
       box-sizing: border-box;
       padding: 0.75rem 1rem;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
       font-size: 1rem;
       line-height: 1.5;
       min-height: 120px;
       resize: vertical;
       transition: border-color 0.3s ease, box-shadow 0.3s ease;
       font-family: inherit;
   }
   
   /* Stili per input Contact Form 7 */
   .wpcf7-form input[type="text"],
   .wpcf7-form input[type="email"],
   .wpcf7-form input[type="url"],
   .wpcf7-form input[type="tel"],
   .wpcf7-form input[type="number"],
   .wpcf7-form select,
   .wpcf7-form textarea {
       width: 100% !important;
       box-sizing: border-box;
       padding: 0.75rem 1rem;
       border: 1px solid #e0e0e0;
       border-radius: 4px;
       font-size: 1rem;
       line-height: 1.5;
   }
   
   .wpcf7-form textarea {
       min-height: 120px;
       resize: vertical;
   }
   
   .wpcf7-form input:focus,
   .wpcf7-form select:focus,
   .wpcf7-form textarea:focus {
       outline: none;
       border-color: #0073aa;
       box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
   }
   
   /* ============================================
      SEZIONE SERVICE
      ============================================ */
   
   /* Titolo service centrato */
   .service-title,
   .wp-block-group[class*="service"] .wp-block-heading,
   [class*="service"] .wp-block-heading,
   .wp-block-heading:has-text("service") {
       text-align: center !important;
       margin-bottom: 1.5rem;
   }
   
   /* Servizi tutti su una riga */
   .service-options,
   .service-items,
   [class*="service"] .wp-block-columns,
   .wp-block-group[class*="service"] .wp-block-columns,
   .wpcf7-checkbox,
   .wpcf7-radio {
       display: flex !important;
       flex-direction: row !important;
       flex-wrap: wrap !important;
       gap: 1rem;
       justify-content: center;
       align-items: center;
   }
   
   /* Checkbox e radio inline */
   .wpcf7-checkbox label,
   .wpcf7-radio label,
   .service-options label,
   .service-items label {
       display: inline-flex;
       align-items: center;
       margin-right: 1.5rem;
       white-space: nowrap;
       cursor: pointer;
   }
   
   .wpcf7-checkbox input[type="checkbox"],
   .wpcf7-radio input[type="radio"],
   .service-options input[type="checkbox"],
   .service-options input[type="radio"] {
       margin-right: 0.5rem;
       width: auto;
       flex-shrink: 0;
   }
   
   /* Responsive: su mobile le colonne si impilano */
   @media (max-width: 768px) {
       .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex .wp-block-column {
           flex: 1 1 100%;
           max-width: 100%;
       }
       
       .service-options,
       .service-items,
       [class*="service"] .wp-block-columns {
           flex-direction: column !important;
           align-items: flex-start;
       }
       
       .wpcf7-checkbox label,
       .wpcf7-radio label {
           margin-right: 0;
           margin-bottom: 0.5rem;
       }
   }
   
   /* ============================================
      STILI BOTTONE FORM
      ============================================ */
   
   /* Applica stile Semantic UI al bottone Contact Form 7 */
   .wpcf7-form input[type="submit"],
   .wpcf7-submit,
   .wp-block-button__link,
   .wpcf7 button,
   form button[type="submit"],
   input[type="submit"] {
       color: #fff !important;
       border-radius: 0 !important;
       background-color: #e8bb31 !important;
       border-color: #e8bb31 !important;
       text-transform: uppercase !important;
       padding: 0.75rem 1.5rem !important;
       font-size: 1rem !important;
       font-weight: 500 !important;
       cursor: pointer !important;
       transition: background-color 0.3s ease, border-color 0.3s ease !important;
       border: 1px solid #e8bb31 !important;
   }
   
   .wpcf7-form input[type="submit"]:hover,
   .wpcf7-submit:hover,
   .wp-block-button__link:hover,
   .wpcf7 button:hover,
   form button[type="submit"]:hover,
   input[type="submit"]:hover {
       color: #ffffff !important;
       background-color: #aa8617 !important;
       border-color: #aa8617 !important;
       text-decoration: none !important;
   }
   /* ============================================
      STILI PLACEHOLDER INPUT
      ============================================ */
   
   /* Placeholder per tutti gli input */
   .wp-block-column input::placeholder,
   .wp-block-column textarea::placeholder,
   .wpcf7-form input::placeholder,
   .wpcf7-form textarea::placeholder,
   input::placeholder,
   textarea::placeholder {
       color: #999999 !important;
       opacity: 1; /* Firefox applica opacità di default */
   }
   
   /* Supporto per Webkit (Chrome, Safari, Edge) */
   .wp-block-column input::-webkit-input-placeholder,
   .wp-block-column textarea::-webkit-input-placeholder,
   .wpcf7-form input::-webkit-input-placeholder,
   .wpcf7-form textarea::-webkit-input-placeholder,
   input::-webkit-input-placeholder,
   textarea::-webkit-input-placeholder {
       color: #999999 !important;
       opacity: 1;
   }
   
   /* Supporto per Firefox */
   .wp-block-column input::-moz-placeholder,
   .wp-block-column textarea::-moz-placeholder,
   .wpcf7-form input::-moz-placeholder,
   .wpcf7-form textarea::-moz-placeholder,
   input::-moz-placeholder,
   textarea::-moz-placeholder {
       color: #999999 !important;
       opacity: 1;
   }
   
   /* Supporto per Internet Explorer e Edge vecchi */
   .wp-block-column input:-ms-input-placeholder,
   .wp-block-column textarea:-ms-input-placeholder,
   .wpcf7-form input:-ms-input-placeholder,
   .wpcf7-form textarea:-ms-input-placeholder,
   input:-ms-input-placeholder,
   textarea:-ms-input-placeholder {
       color: #999999 !important;
   }
   
   /* Assicura che il testo normale sia più scuro */
   .wp-block-column input,
   .wp-block-column textarea,
   .wpcf7-form input,
   .wpcf7-form textarea,
   input[type="text"],
   input[type="email"],
   textarea {
       color: #333333; /* Colore testo normale - più scuro */
   }
   
   /* Quando l'input ha focus, il placeholder può essere più chiaro */
   .wp-block-column input:focus::placeholder,
   .wp-block-column textarea:focus::placeholder,
   .wpcf7-form input:focus::placeholder,
   .wpcf7-form textarea:focus::placeholder,
   input:focus::placeholder,
   textarea:focus::placeholder {
       color: #bbbbbb !important;
   }
   .wpcf7 .wpcf7-acceptance {
       font-size: 0.8rem;
       font-style: italic;
       line-height: 1.4;
       color: #666;
   }
   
   .wpcf7 .wpcf7-acceptance a {
       font-style: italic;
   }
   #post-872 .wpcf7-submit{
       position: absolute;
       bottom: 30px;
       right: 30px;
   }
   /* ============================================
      ACCESSIBILITY
      ============================================ */
   
   .screen-reader-text {
       clip: rect(1px, 1px, 1px, 1px);
       position: absolute !important;
       height: 1px;
       width: 1px;
       overflow: hidden;
   }
   
   .skip-link {
       position: absolute;
       left: -9999px;
       z-index: 999999;
   }
   
   .skip-link:focus {
       left: 6px;
       top: 7px;
       text-decoration: none;
   }
   
   a:focus,
   button:focus,
   input:focus,
   textarea:focus,
   select:focus {
       outline: 2px solid #0066cc;
       outline-offset: 2px;
   }
   
/* ============================================
   11. RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================ */

/* Desktop: 993px and above */
@media (min-width: 993px) {
    .main-navigation {
        display: flex !important;
    }

    .main-navigation ul,
    .nav-menu {
        display: flex !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

/* Breakpoint: 1400px and below */
@media (max-width: 1400px) {
    .WrapMenu {
        padding: 0;
    }

    .navbar .nav > li,
    .main-navigation li,
    .nav-menu li {
        margin-right: 10px;
    }

    .navbar .nav > li > a,
    .main-navigation a,
    .nav-menu a {
        font-size: 14px;
    }

    .btn.btn-cta {
        padding: 5px 10px !important;
    }
}

/* Breakpoint: Tablet (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
       /* HEADER */
       #header,
       .site-header {
           position: fixed;
           z-index: 9999;
           background: #fff;
           padding: 15px 15px 0;
           height: 75px;
           top: 0;
           width: 100%;
           left: 0;
       }
   
       .navbar-toggle,
       .menu-toggle {
           display: block;
           float: none;
           position: absolute;
           padding: 0;
           margin: 0;
           right: 15px;
           top: -22px;
       }
   
       .navbar-toggle .icon-bar,
       .menu-toggle-icon span {
           background: #00315C;
       }
   
       .navbar-collapse.collapse,
       .main-navigation ul,
       .main-navigation .nav-menu {
           display: none !important;
       }
   
       .navbar-collapse.collapse.in,
       .main-navigation.active ul,
       .main-navigation.active .nav-menu,
       .main-navigation.active #primary-menu {
           display: block !important;
       }
   
       /* Ensure main-navigation container is visible for toggle */
       .main-navigation {
           display: block !important;
           position: relative;
       }
   
       /* Ensure menu toggle is visible on tablet */
       .menu-toggle {
           display: flex !important;
           align-items: center;
           justify-content: center;
           position: absolute;
           right: 15px;
           top: 50%;
           transform: translateY(-50%);
           z-index: 10001;
           width: 44px;
           height: 44px;
           padding: 10px;
           visibility: visible !important;
           opacity: 1 !important;
       }
   
       a.brand,
       .site-branding {
           text-align: right;
           position: relative;
           z-index: 999999;
       }
   
       a.brand img,
       .site-branding img {
           width: 100px;
           height: auto;
       }
   
       .navbar {
           background: #fff;
           margin: 0px;
           padding: 0px;
           border: 0px;
           line-height: 50px;
           position: absolute;
           width: 100%;
           left: 0;
           top: -10px;
       }
   
       .navbar .nav > li,
       .main-navigation li,
       .nav-menu li {
           display: block;
           text-align: center;
           margin: 0;
       }
       
       /* CTA Button Style for "Become a member" menu item - Tablet */
       .main-navigation .menu-item-cta > a,
       .main-navigation .nav-menu .menu-item-cta > a,
       .navbar .nav > .menu-item-cta > a {
           background-color: #e8bb31 !important;
           color: #fff !important;
           padding: 10px 20px !important;
           border-radius: 0 !important;
           font-weight: 700 !important;
           text-transform: uppercase !important;
           text-align: center !important;
           margin: 0.5rem auto !important;
           display: inline-block !important;
       }
       
       .main-navigation .menu-item-cta > a:hover,
       .main-navigation .nav-menu .menu-item-cta > a:hover,
       .navbar .nav > .menu-item-cta > a:hover {
           background-color: #aa8617 !important;
           color: #ffffff !important;
       }
   
       .WrapHeaderCTA {
           position: absolute;
           text-align: center;
           top: 9px;
           line-height: auto;
           left: 50%;
           margin-left: -75px;
       }
   
       .WrapHeaderCTA .btn {
           padding: 10px !important;
       }
   
       .content,
       .content-area {
           padding:0;
           margin-left: 0;
       }
   
       #footer,
       .site-footer {
           margin-left: 0;
           padding: 30px 0 0;
           height: auto;
           text-align: center;
       }
   
       .wrapper {
           margin-bottom: 0;
           padding: 30px 0 0;
       }
   
       .container {
           width: 100%;
       }
   
       #footer .nav > li > a,
       .site-footer .nav > li > a {
           padding: 5px 10px;
       }
   
       #footer h3.IntroFooter {
           text-align: center;
           padding: 0px 0 20px;
           font-size: 2rem;
       }
   
       #footer h3.IntroFooter img {
           width: 100px;
       }
   
       #footer h4,
       .site-footer h4 {
           text-align: center;
       }
   
       #footer .col-xs-12,
       .site-footer .col-xs-12 {
           text-align: center;
       }
   
       .FooterCopy,
       .footer-bottom {
           position: static;
           width: 100%;
           height: auto;
           background: rgba(51, 51, 51, 0.5);
           font-size: 12px;
           line-height: 20px;
           padding: 10px;
       }
   
       body {
           margin-bottom: 0;
       }
   
       #footer,
       .site-footer {
           position: static;
           padding: 15px;
       }
   
       .WrapItems,
       .Author,
       .WrapContactInfo {
           margin-bottom: 15px !important;
       }
   
       .WrapContactInfo {
           text-align: center;
       }
   
       #AboutUsSection h3 {
           text-align: center;
           line-height: 1.3em;
       }
   
       .WrapItemIntro,
       .hero-section {
           min-height: 200px;
       }
   
       .WrapItemIntro .ItemTitle,
       .hero-section h1 {
           font-size: 3rem;
       }
   
       .IntroJoin {
           padding: 20px;
           font-size: 1.5rem;
       }
   
       .IntroJoin h3 {
           font-size: 2.5rem;
       }
   
       .container {
           padding: 0 !important;
       }
   
       .CatItemEvents,
       .CatItemEventsImg {
           min-height: 250px;
       }
   
       /* CONTENT */
       h1.ItemTitle {
           font-size: 3rem;
       }
   
       .FlexRow,
       .FlexRowCenter {
           display: block;
           align-items: center;
       }
   
       .PaddingLeft,
       .PaddingRight {
           padding: 0;
       }
   
       .well.well-subscribe .btn {
           font-size: 14px;
       }
   
       /* HOME */
       .WrapSlide {
           margin-bottom: 15px;
       }
   
       body.home section h2 {
           font-size: 2.2rem;
       }
   
       body.home section {
           min-height: auto;
           padding: 30px 60px;
       }
   
       body.home section .btn.btn-primary {
           font-size: 14px;
       }
   
       .post-navigation .nav-links {
           grid-template-columns: 1fr;
       }
   
       .nav-next {
           text-align: left;
       }
   
       .footer-menu {
           flex-direction: column;
           gap: 1rem;
           text-align: center;
       }
   
       .error-404-widgets {
           grid-template-columns: 1fr;
       }
   }
   
/* Breakpoint: Mobile (768px and below) */
@media (max-width: 768px) {
       /* Header mobile layout */
       .site-header {
           position: fixed;
           z-index: 9999;
           background: #fff;
           padding: 0;
           height: 75px;
           top: 0;
           width: 100%;
           left: 0;
           overflow: visible;
       }
   
       .header-main {
           padding: 0;
           height: 75px;
           display: flex;
           align-items: center;
       }
   
       .header-main .container {
           display: flex;
           justify-content: space-between;
           align-items: center;
           height: 100%;
           padding: 0 15px;
           position: relative;
           overflow: visible;
       }
   
       /* Logo centrato verticalmente */
       .site-branding {
           display: flex;
           align-items: center;
           height: 100%;
           flex-shrink: 0;
           margin-left: 12px;
       }
   
       .site-branding img {
           max-height: 50px;
           width: auto;
           height: auto;
           display: block;
       }
   
       /* Menu toggle visibile e posizionato correttamente */
       .main-navigation {
           display: block !important;
       }
       
       .menu-toggle {
           display: flex !important;
           align-items: center;
           justify-content: center;
           background: none;
           border: none;
           cursor: pointer;
           padding: 10px;
           margin: 0;
           position: absolute;
           right: 15px;
           top: 50%;
           transform: translateY(-50%);
           z-index: 10001;
           width: 44px;
           height: 44px;
           flex-shrink: 0;
           visibility: visible !important;
           opacity: 1 !important;
       }
   
       .menu-toggle-icon {
           display: flex !important;
           flex-direction: column;
           gap: 4px;
           width: 24px;
           visibility: visible !important;
       }
   
       .menu-toggle-icon span {
           display: block !important;
           height: 3px;
           width: 100%;
           background-color: #00315C;
           transition: all 0.3s ease;
           visibility: visible !important;
           opacity: 1 !important;
       }
   
       /* Navigation menu */
       .main-navigation {
           position: static;
       }
       
       .main-navigation ul,
       .main-navigation .nav-menu,
       .main-navigation #primary-menu {
           display: none !important;
           position: fixed;
           top: 75px;
           left: 0;
           right: 0;
           background-color: #fff;
           box-shadow: 0 4px 8px rgba(0,0,0,0.1);
           padding: 1rem;
           z-index: 9999;
           max-height: calc(100vh - 75px);
           overflow-y: auto;
           opacity: 0;
           transform: translateY(-10px);
           transition: opacity 0.3s ease, transform 0.3s ease;
           margin: 0;
           list-style: none;
           width: 100%;
       }
       
       .main-navigation.active ul,
       .main-navigation.active .nav-menu,
       .main-navigation.active #primary-menu {
           display: block !important;
           opacity: 1;
           transform: translateY(0);
       }
   
       .main-navigation ul,
       .main-navigation .nav-menu {
           flex-direction: column;
           gap: 0;
       }
       
       .main-navigation li,
       .main-navigation .nav-menu li {
           border-bottom: 1px solid #e0e0e0;
           margin: 0;
       }
       
       .main-navigation a,
       .main-navigation .nav-menu a {
           padding: 1rem;
           display: block;
       }
       
       /* CTA Button Style for "Become a member" menu item - Mobile */
       .main-navigation .menu-item-cta > a,
       .main-navigation .nav-menu .menu-item-cta > a {
           background-color: #e8bb31 !important;
           color: #fff !important;
           padding: 12px 20px !important;
           border-radius: 0 !important;
           font-weight: 700 !important;
           text-transform: uppercase !important;
           text-align: center !important;
           margin: 0.5rem 0 !important;
           display: block !important;
       }
       
       .main-navigation .menu-item-cta > a:hover,
       .main-navigation .nav-menu .menu-item-cta > a:hover {
           background-color: #aa8617 !important;
           color: #ffffff !important;
       }
   
       /* Body padding per compensare header fisso */
       body {
           padding-top: 75px;
       }
   
       .WrapItemIntro .ItemTitle,
       .hero-section h1 {
           font-size: 2rem;
       }
   
       .hero-subtitle {
           font-size: 1rem;
       }
   
       .cards-grid {
           grid-template-columns: 1fr;
       }
   
       .global-stats .container {
           grid-template-columns: 1fr;
       }
   
       .footer-content {
           grid-template-columns: 1fr;
       }
   
       /* Footer mobile - 1 column */
       .FooterTop {
           grid-template-columns: 1fr !important;
           gap: 2rem;
       }
   
       .FooterCol {
           text-align: center;
       }
   
       .FooterCol-4,
       .FooterCol-5 {
           text-align: center;
       }
   
       .FooterCol-4 img,
       .FooterCol-5 img {
           margin: 0 auto;
       }
   
       #FooterContact {
           font-size: 0.875rem;
       }
   
       .FooterCopy {
           font-size: 11px;
           line-height: 1.6;
       }
       .WrapIconSocial li{
            margin-left: 36%;
       }
       h1 {
           font-size: 2rem;
       }
   
       h2 {
           font-size: 1.75rem;
       }
   
       /* Additional mobile styles from legacy - overridden by mobile menu fixes above */
       #header {
           position: fixed;
           z-index: 9999;
           background: #fff;
           padding: 0;
           height: 75px;
           top: 0;
           width: 100%;
           left: 0;
       }
   
       a.brand {
           display: flex;
           align-items: center;
           height: 100%;
       }
   
       a.brand img {
           max-height: 50px;
           width: auto;
           height: auto;
       }
   
       #navbar-collapse {
           background: #fff;
       }
   
       .navbar .nav > li,
       .main-navigation li,
       .nav-menu li {
           display: block;
           text-align: center;
           margin: 0;
       }
   
       .WrapHeaderCTA {
           position: fixed;
           text-align: center;
           bottom: 0px;
           line-height: auto;
           left: 0px;
           width: 100%;
           background: #fff;
       }
   
       .WrapHeaderCTA .btn {
           padding: 5px 10px !important;
       }
   
       .content,
       .content-area {
           padding: 0;
           margin-left: 0;
       }
   
       #footer,
       .site-footer {
           width: 100%;
           margin: 0;
           padding: 30px 0;
           height: auto;
           text-align: center;
       }
       .FooterLogo{
        text-align: center;
       }
       .FooterLogo img{
        max-width: 120px;
        margin: 0 auto 30px;
       }
   
       .wrapper {
           margin-bottom: 0;
           padding: 30px 0 0;
       }
   
       #footer .nav > li > a,
       .site-footer .nav > li > a {
           padding: 5px 10px;
       }
   
       #footer h3.IntroFooter {
           text-align: center;
           padding: 0px 0 20px;
           font-size: 2rem;
       }
   
       #footer h3.IntroFooter img {
           width: 100px;
       }
   
       #footer h4,
       .site-footer h4 {
           text-align: center;
       }
   
       #footer .col-xs-12,
       .site-footer .col-xs-12 {
           text-align: center;
       }
   
       .FooterCopy,
       .footer-bottom {
           position: static;
           width: 100%;
           height: auto;
           background: rgba(51, 51, 51, 0.5);
           font-size: 12px;
           line-height: 20px;
           padding: 10px 10px 30px;
       }
   
       body {
           margin-bottom: 0;
       }
       /*HOME*/

       .abc-slideshow .abc-slide-text{
        font-size: 2rem;
        }
        .HomeNumbers h2{
            font-size: 2.5rem !important;
            font-weight: 400;
        }
        .HomeNumbers h3{
            font-size: 3rem !important;
            font-weight: 400;
        }
        .HomeNumbers p{
            font-size: 1.5rem !important;
            font-weight: 400;
        }
   
       #footer,
       .site-footer {
           position: static;
           padding: 15px;
       }
   
       .WrapItems,
       .Author,
       .WrapContactInfo {
           margin-bottom: 15px !important;
       }
   
       .WrapContactInfo {
           text-align: center;
       }
   
       #AboutUsSection h3 {
           text-align: center;
           line-height: 1.3em;
       }
   
       .WrapItemIntro,
       .hero-section {
           min-height: 200px;
           width: 100% !important;
           margin: 0;
       }
   
       .WrapItemIntro .ItemTitle,
       .hero-section h1 {
           font-size: 2rem;
       }
   
       .IntroJoin {
           padding: 30px 20px;
           font-size: 1.2rem;
       }
   
       .IntroJoin h3 {
           font-size: 2rem;
           margin-bottom: 20px;
       }
   
       .IntroJoin .btn-cta {
           margin-top: 20px;
           padding: 8px 20px !important;
           font-size: 0.9rem;
       }
   
       .container {
           padding: 0 !important;
       }
   
       .CatItemEvents,
       .CatItemEventsImg {
           min-height: 250px;
       }
   
       /* CONTENT */
       h1.ItemTitle {
           font-size: 3rem;
       }
   
       .FlexRow,
       .FlexRowCenter {
           display: block;
           align-items: center;
       }
   
       .PaddingLeft,
       .PaddingRight {
           padding: 0;
       }
   
       .well.well-subscribe .btn {
           font-size: 14px;
       }
   
       /* HOME */
       .WrapSlide {
           margin-bottom: 15px;
       }
   
       body.home section h2 {
           font-size: 2.2rem;
       }
   
       body.home section {
           min-height: auto;
           padding: 0px;
       }
   
       body.home section .btn.btn-primary {
           font-size: 14px;
       }
   
       #WrapItemServices .ItemsContent {
           bottom: 0 !important;
       }
   
       #WrapItemServices .ItemsIntroText {
           min-height: 75px !important;
           opacity: 1 !important;
           font-size: 14px;
       }
   
       #WrapItemServices .ItemsSubtitle {
           display: flex;
           justify-content: center;
           align-items: center;
       }
   
       .post-navigation .nav-links {
           grid-template-columns: 1fr;
       }
   
       .nav-next {
           text-align: left;
       }
   
       .footer-menu {
           flex-direction: column;
           gap: 1rem;
           text-align: center;
       }
   
       .error-404-widgets {
           grid-template-columns: 1fr;
       }
   
       /* Focus Groups tablet - 2 columns */
       .focus-groups-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   
      
       /* Archive tablet - 2 columns */
       .archive-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   
       .archive-single-content-wrapper {
           grid-template-columns: 1fr;
           gap: 2rem;
       }
   
       /* News tablet - 2 columns */
       .news-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   
       /* Services page mobile */
       .xlnc-service-tile {
           min-height: 250px !important;
       }
   
       .xlnc-service-tile .xlnc-service-description,
       .xlnc-service-tile .xlnc-service-button {
           opacity: 1;
           max-height: none;
           overflow: visible;
       }
       .xlnc-service-tile h3{
           font-size: 1.4rem;
           line-height: 1.2em;
       }
   
       
   
       /* Focus Groups mobile - 1 column */
       .focus-groups-grid {
           grid-template-columns: 1fr !important;
           gap: 2rem !important;
       }
   
       .focus-group-single-image-circle {
           width: 150px;
           height: 150px;
       }
   
       .focus-group-single-title {
           font-size: 1.5rem;
       }
   
       /* Archive mobile - 1 column */
       .archive-grid {
           padding: 30px;
           grid-template-columns: 1fr !important;
           gap: 2rem !important;
       }
   
       .archive-filter-row {
           grid-template-columns: 1fr !important;
       }
   
       .archive-single-content-wrapper {
           grid-template-columns: 1fr !important;
       }
   
       .archive-single-title {
           font-size: 2rem;
       }
   
       /* News mobile - 1 column */
       .news-grid {
           grid-template-columns: 1fr !important;
           gap: 1.5rem !important;
       }
   
       .news-tile,
       .NewsGridItem {
           aspect-ratio: 3 / 2;
       }
   
       .news-tile-title {
           font-size: 0.875rem;
       }
   
       .NewsGridItem-title {
           min-height: 60px;
           padding: 0.5rem 0.75rem;
       }
   
       /* Events mobile - stacked */
       .EventItem {
           grid-template-columns: 1fr !important;
       }
   
       .EventItem-image {
           min-height: 200px;
       }
   
       .EventItem-info {
           padding: 1.5rem;
       }
   
       .EventItem-title {
           font-size: 1.5rem;
       }
   
       /* Locations mobile */
       .locations-grid {
           grid-template-columns: 1fr !important;
       }
   
       .filter-row {
           grid-template-columns: 1fr !important;
       }
   
       .services-checkboxes {
           grid-template-columns: 1fr !important;
       }
   
       #locations-map {
           height: 350px;
           border: none !important;
           margin: 0 !important;
       }
   }
   
/* Breakpoint: Small Mobile (480px and below) */
@media (max-width: 480px) {
       .container {
           padding: 0 15px;
       }
   
       .WrapItemIntro,
       .hero-section {
           min-height: 200px;
           padding: 2rem 0;
           width: 100% !important;
           margin: 0;
       }
   
       .WrapItemIntro .ItemTitle,
       .hero-section h1 {
           font-size: 1.5rem;
       }
   
       .site-footer {
           padding: 2rem 0 1rem;
       }
   
       .IntroJoin {
           padding: 25px 15px;
           font-size: 1rem;
       }
   
       .IntroJoin h3 {
           font-size: 1.5rem;
       }
   }
   