/* ===== NEXA FONT - COMPLETO ===== */

/* Corpo del testo generale */
body, div, span, a, li, td, th,
input, textarea, button, select,
.widget, .widget-area,
.nav-menu, .menu-item {
    font-family: 'nexa', sans-serif;
    font-weight: 400;
}

/* Paragrafi generali */
p {
    font-family: 'nexa-text', sans-serif;
    font-weight: 300;
}

/* Corpo articoli ed Elementor */
.entry-content p,
.post-content p,
article p,
.entry-content li,
.entry-content td,
.elementor-widget-text-editor p,
.elementor-text-editor p,
.elementor p {
    font-family: 'nexa-text', sans-serif;
    font-weight: 300 !important;
}

/* Titoli scalati */
h1 {
    font-family: 'nexa', sans-serif;
    font-weight: 900;
}

h2 {
    font-family: 'nexa', sans-serif;
    font-weight: 800;
}

h3 {
    font-family: 'nexa', sans-serif;
    font-weight: 700;
}

h4 {
    font-family: 'nexa', sans-serif;
    font-weight: 600;
}

h5 {
    font-family: 'nexa', sans-serif;
    font-weight: 500;
}

h6 {
    font-family: 'nexa', sans-serif;
    font-weight: 400;
}

/* Titoli pagine e widget */
.entry-title, .post-title, .page-title {
    font-family: 'nexa', sans-serif;
    font-weight: 800;
}

.widget-title, .sidebar-title,
.site-title, .site-description {
    font-family: 'nexa', sans-serif;
    font-weight: 700;
}

/* Bold */
strong, b {
    font-family: 'nexa', sans-serif;
    font-weight: 600;
}

/* Italic */
em, i, blockquote,
.wp-block-quote {
    font-family: 'nexa-text', sans-serif;
    font-style: italic;
    font-weight: 300;
}

/* Slider Revolution */
.rs-layer h1, .rs-layer h2 {
    font-family: 'nexa', sans-serif;
    font-weight: 900;
}

/* Classi manuali Nexa */
.nexa-thin       { font-family: 'nexa', sans-serif; font-weight: 100; }
.nexa-extralight { font-family: 'nexa', sans-serif; font-weight: 200; }
.nexa-light      { font-family: 'nexa', sans-serif; font-weight: 300; }
.nexa-book       { font-family: 'nexa', sans-serif; font-weight: 400; }
.nexa-regular    { font-family: 'nexa', sans-serif; font-weight: 500; }
.nexa-bold       { font-family: 'nexa', sans-serif; font-weight: 600; }
.nexa-extrabold  { font-family: 'nexa', sans-serif; font-weight: 700; }
.nexa-heavy      { font-family: 'nexa', sans-serif; font-weight: 800; }
.nexa-black      { font-family: 'nexa', sans-serif; font-weight: 900; }

/* Classi manuali Nexa Text */
.nexa-text-thin       { font-family: 'nexa-text', sans-serif; font-weight: 100; }
.nexa-text-extralight { font-family: 'nexa-text', sans-serif; font-weight: 200; }
.nexa-text-light      { font-family: 'nexa-text', sans-serif; font-weight: 300; }
.nexa-text-book       { font-family: 'nexa-text', sans-serif; font-weight: 400; }
.nexa-text-regular    { font-family: 'nexa-text', sans-serif; font-weight: 500; }
.nexa-text-bold       { font-family: 'nexa-text', sans-serif; font-weight: 600; }
.nexa-text-extrabold  { font-family: 'nexa-text', sans-serif; font-weight: 700; }
.nexa-text-heavy      { font-family: 'nexa-text', sans-serif; font-weight: 800; }
.nexa-text-black      { font-family: 'nexa-text', sans-serif; font-weight: 900; }
body.page-id-26574,
body.page-id-26574 .page_content_wrap,
body.page-id-26574 .page_wrap {
    background-color: #E3E2DE !important;
}
/* ===== BANNER DOCUMENTI IPPICA ===== */

.banner-documenti-ippica {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 16px 0 !important;
}

.banner-documento-item a,
.banner-documento-item a:hover,
.banner-documento-item a:visited {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border-left: 3px solid #15763C !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.2s ease !important;
}

.banner-documento-item a:hover {
    background: #f0f4f1 !important;
}

.doc-icona {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
    background: none !important;
    padding: 0 !important;
}

.doc-titolo {
    font-family: 'nexa-text', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #000000 !important;
    line-height: 1.4 !important;
}

@media (max-width: 768px) {
    .banner-documento-item a {
        padding: 10px 12px !important;
    }
    .doc-titolo {
        font-size: 13px !important;
    }
}

/* PROGRAMMA PINNATO */

.banner-documento-pinned a,
.banner-documento-pinned a:hover,
.banner-documento-pinned a:visited {
    background: #15763C !important;
    border-left: none !important;
    align-items: flex-start !important;
}

.banner-documento-pinned a:hover {
    background: #0f5a2e !important;
}

.banner-documento-pinned .doc-icona svg {
    fill: #ffffff !important;
}

.banner-documento-pinned .doc-titolo {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    color: #ffffff !important;
}

.banner-documento-pinned .doc-label {
    font-family: 'nexa', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    display: block !important;
}

.banner-documento-pinned .doc-subtitle {
    font-family: 'nexa-text', sans-serif !important;
    font-weight: 300 !important;
    font-size: 12px !important;
    color: rgba(255,255,255,0.8) !important;
    display: block !important;
}