/* =========================================
   BUTTON STANDARD — OUTLINE
   Nuovo stile: sottolineatura + freccia
   ========================================= */

.btn-outline .sc_button,
.sc_button.btn-outline {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #667565 !important;
    background: transparent !important;
    color: #292925 !important;

    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;

    padding: 8px 48px 10px 0 !important;
    box-shadow: none !important;

    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;

    transition: color 0.25s ease, border-color 0.25s ease !important;
}

/* Freccia */
.btn-outline .sc_button:after,
.sc_button.btn-outline:after {
    content: "→" !important;
    display: block !important;
    position: absolute !important;
    right: 2px !important;
    top: 50% !important;
    transform: translateY(-53%) !important;

    color: #667565 !important;
    font-family: Arial, sans-serif !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    transition: color 0.25s ease, transform 0.25s ease !important;
}

/* Hover */
.btn-outline .sc_button:hover,
.sc_button.btn-outline:hover {
    background: transparent !important;
    border-color: #0F5A55 !important;
    color: #0F5A55 !important;
}

.btn-outline .sc_button:hover:after,
.sc_button.btn-outline:hover:after {
    color: #0F5A55 !important;
    transform: translate(5px, -53%) !important;
}

.btn-outline .sc_button_title,
.sc_button.btn-outline .sc_button_title {
    color: inherit !important;
}


/* =========================================
   BUTTON LIGHT
   Nuovo stile: sottolineatura + freccia
   ========================================= */

.btn-light .sc_button,
.sc_button.btn-light {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #B87963 !important;
    background: transparent !important;
    color: #292925 !important;

    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;

    padding: 8px 48px 10px 0 !important;
    box-shadow: none !important;

    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;

    transition: color 0.25s ease, border-color 0.25s ease !important;
}

/* Freccia */
.btn-light .sc_button:after,
.sc_button.btn-light:after {
    content: "→" !important;
    display: block !important;
    position: absolute !important;
    right: 2px !important;
    top: 50% !important;
    transform: translateY(-53%) !important;

    color: #B87963 !important;
    font-family: Arial, sans-serif !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    transition: color 0.25s ease, transform 0.25s ease !important;
}

/* Hover */
.btn-light .sc_button:hover,
.sc_button.btn-light:hover {
    background: transparent !important;
    border-color: #965B49 !important;
    color: #965B49 !important;
}

.btn-light .sc_button:hover:after,
.sc_button.btn-light:hover:after {
    color: #965B49 !important;
    transform: translate(5px, -53%) !important;
}

.btn-light .sc_button_title,
.sc_button.btn-light .sc_button_title {
    color: inherit !important;
}


/* =========================================
   BUTTON DARK
   Nuovo stile: sottolineatura + freccia
   ========================================= */

.btn-dark .sc_button,
.sc_button.btn-dark {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #292925 !important;
    background: transparent !important;
    color: #292925 !important;

    font-family: "Manrope", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;

    padding: 8px 48px 10px 0 !important;
    box-shadow: none !important;

    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;

    transition: color 0.25s ease, border-color 0.25s ease !important;
}

/* Freccia */
.btn-dark .sc_button:after,
.sc_button.btn-dark:after {
    content: "→" !important;
    display: block !important;
    position: absolute !important;
    right: 2px !important;
    top: 50% !important;
    transform: translateY(-53%) !important;

    color: #292925 !important;
    font-family: Arial, sans-serif !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    transition: color 0.25s ease, transform 0.25s ease !important;
}

/* Hover */
.btn-dark .sc_button:hover,
.sc_button.btn-dark:hover {
    background: transparent !important;
    border-color: #0F5A55 !important;
    color: #0F5A55 !important;
}

.btn-dark .sc_button:hover:after,
.sc_button.btn-dark:hover:after {
    color: #0F5A55 !important;
    transform: translate(5px, -53%) !important;
}

.btn-dark .sc_button_title,
.sc_button.btn-dark .sc_button_title {
    color: inherit !important;
}


/* =========================================
   RESET EFFETTI DEL TEMA
   ========================================= */

.btn-outline .sc_button:before,
.btn-light .sc_button:before,
.btn-dark .sc_button:before {
    display: none !important;
    content: none !important;
}

/* MENU - minuscolo su tutti i dispositivi */\
.menu_mobile .menu_mobile_nav_area > ul > li > a,\
.menu_mobile .menu_mobile_nav_area > ul > li > a span \{\
    text-transform: lowercase !important;\
\}\
\
\
}


/* NASCONDE VIEW E COMMENTI DAGLI ARTICOLI DI APPUNTI */

.sc_recent_news .post_meta_views,
.sc_recent_news .post_meta_comments {
    display: none !important;
}

/* Nasconde anche il contenitore vuoto */
.sc_recent_news .post_meta {
    display: none !important;
}


/* BURGER MENU – colore normale */
header .sc_layouts_menu_mobile_button .trx_addons_icon-menu {
    color: #292925 !important;
}

/* BURGER MENU – hover */
header .sc_layouts_menu_mobile_button:hover .trx_addons_icon-menu,
header .sc_layouts_menu_mobile_button .sc_layouts_item_link:hover .trx_addons_icon-menu {
    color: #0F5A55 !important;
}

/* Data lista eventi */
.sc_events_default .sc_events_item_date {
    background-color: #FFEFE2 !important;
    color: #292925 !important;
}

/* =========================================================
   PAGINE SINGOLI EVENTI
   Layout: titolo → foto centrata → info → testo
   ========================================================= */


/* ---------------------------------------------------------
   CONTENITORE PRINCIPALE
   --------------------------------------------------------- */

body.single-tribe_events .tribe-events-single {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    padding-bottom: 80px;
}


/* ---------------------------------------------------------
   TITOLO EVENTO
   --------------------------------------------------------- */

body.single-tribe_events .tribe-events-single-event-title {
    max-width: 900px;
    margin: 0 auto 35px auto;

    font-family: "Cormorant Garamond", serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;

    color: #292925;
    text-align: center;
}


/* ---------------------------------------------------------
   FOTO IN EVIDENZA
   Mantiene le dimensioni naturali dell'immagine
   --------------------------------------------------------- */

body.single-tribe_events .tribe-events-event-image {
    width: 100%;
    margin: 0 auto 50px auto;
    text-align: center;
}

body.single-tribe_events .tribe-events-event-image img {
    display: inline-block;

    width: auto !important;
    max-width: none !important;
    height: auto !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* ---------------------------------------------------------
   INFO / DATA / LUOGO
   --------------------------------------------------------- */

body.single-tribe_events .tribe-events-schedule {
    max-width: 760px;
    margin: 0 auto 45px auto;

    font-family: "Manrope", sans-serif;
    color: #0F5A55;
}


/* ---------------------------------------------------------
   TESTO DELL'EVENTO
   --------------------------------------------------------- */

body.single-tribe_events .tribe-events-single-event-description {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;

    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;

    color: #292925;
}


/* PARAGRAFI */

body.single-tribe_events
.tribe-events-single-event-description p {
    margin-bottom: 1.4em;
}


/* ---------------------------------------------------------
   LINK NEL TESTO
   --------------------------------------------------------- */

body.single-tribe_events
.tribe-events-single-event-description a {
    color: #0F5A55;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================
   MENU MOBILE – MARIANNA MIOZZO
   ========================================= */

/* Font e dimensione delle voci */
body .menu_mobile_nav_area ul li a,
body .menu_mobile_nav_area ul li a span {
    font-family: "Manrope", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    
    /* fondamentale: elimina il MAIUSCOLO automatico */
    text-transform: none !important;
    
    letter-spacing: 0 !important;
}

/* Mantiene il testo normale anche nello stato hover */
body .menu_mobile_nav_area ul li a:hover,
body .menu_mobile_nav_area ul li a:focus {
    text-transform: none !important;
}

/* Spazio verticale tra le voci */
body .menu_mobile_nav_area ul li {
    margin-bottom: 8px !important;
}

/* Eventuali elementi che il tema forza in maiuscolo */
body .menu_mobile_nav_area,
body .menu_mobile_nav_area ul,
body .menu_mobile_nav_area li,
body .menu_mobile_nav_area a {
    text-transform: none !important;
}



/* Widget Appuntamenti - spazio laterale */
.sidebar .tribe-events-widget-events-list {
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box;
}

/* Evita che le singole righe escano dal contenitore */
.sidebar .tribe-events-widget-events-list .tribe-common-g-row {
    box-sizing: border-box;
    max-width: 100%;
}


/* Contact Form 7 - angoli meno arrotondati */
.wpcf7 .wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7 input.wpcf7-form-control,
.wpcf7 textarea.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control {
    border-radius: 7px !important;
}



.event-list-categories .sc_events_item_categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 12px;
}

.event-list-categories .sc_events_item_category {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    background: #EAE8E4;
    color: #6B6F72;
    font-size: 10px;
    line-height: 1.3;
    text-decoration: none;
}



/* CONTACT FORM 7 - TESTO PULSANTE INVIA MESSAGGIO */

html body .wpcf7 form input.wpcf7-form-control.wpcf7-submit {
    color: #EAE8E4 !important;
    -webkit-text-fill-color: #EAE8E4 !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Anche quando il pulsante è disabilitato */
html body .wpcf7 form input.wpcf7-form-control.wpcf7-submit:disabled {
    color: #EAE8E4 !important;
    -webkit-text-fill-color: #EAE8E4 !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Quando il pulsante è attivo e al passaggio del mouse */
html body .wpcf7 form input.wpcf7-form-control.wpcf7-submit:hover {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* FORM CONTATTI - angoli meno arrotondati */
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form button,
.contact-form .pushbutton-wide {
    border-radius: 5px !important;
}

/* EVENTI - nasconde data e informazioni secondarie */
.single-tribe_events .tribe-events-start-date-label,
.single-tribe_events .tribe-events-start-date,
.single-tribe_events .tribe-events-end-date-label,
.single-tribe_events .tribe-events-end-date,
.single-tribe_events .tribe-events-event-categories,
.single-tribe_events .tribe-events-event-tags {
    display: none !important;
}

/* EVENTI - elimina mappe e indicazioni cartografiche */
.single-tribe_events .tribe-events-venue-map,
.single-tribe_events .tribe-events-venue-map-container {
    display: none !important;
}

/* NASCONDE CATEGORIA EVENTO */
.single-tribe_events li.tribe-events-meta-item:has(.tribe-events-event-categories-label),
.single-tribe_events li.tribe-events-meta-item:has(.tribe-events-event-categories) {
    display: none !important;
}

/* NASCONDE INTERAMENTE TAG EVENTO */
.single-tribe_events li.tribe-events-meta-item:has(.tribe-events-event-tags-label),
.single-tribe_events li.tribe-events-meta-item:has(.tribe-events-event-tags) {
    display: none !important;
}

/* NASCONDE TAG EVENTO */
#tribe-events-content li.tribe-events-meta-item:has(.tribe-events-event-tags-label) {
    display: none !important;
}

/* NASCONDE URL ORGANIZZATORE */
.single-tribe_events .tribe-events-meta-group-organizer li.tribe-events-meta-item:last-child {
    display: none !important;
}

/* NASCONDE GLI EVENTI CORRELATI NEI SINGOLI EVENTI */
.single-tribe_events #jp-relatedposts {
    display: none !important;
}