﻿@font-face {
    font-family: 'OpenSans-local';
    src: url('../fonts/custom/OpenSans-Regular.woff2') format('woff2'),
        url('../fonts/custom/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-local';
    src: url('../fonts/custom/OpenSans-Bold.woff2') format('woff2'),
        url('../fonts/custom/OpenSans-Bold.woff') format('woff');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather-local';
    src: url('../fonts/custom/Merriweather_36pt-Regular.woff2') format('woff2'),
        url('../fonts/custom/Merriweather_36pt-Regular.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather-local';
    src: url('../fonts/custom/Merriweather_36pt-Bold.woff2') format('woff2'),
        url('../fonts/custom/Merriweather_36pt-Bold.woff') format('woff');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather-local';
    src: url('../fonts/custom/Merriweather_36pt-Light.woff2') format('woff2'),
        url('../fonts/custom/Merriweather_36pt-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}


        :root {
            --primary-color: #3b302b; /* Blu Notte */
            --gold-color: #c5a059;    /* Oro */
            --accent-color: #a63742;  /* Rosso Bordeaux */
            --bg-color: #fcfbf9;      
            --text-color: #333333;
            --white: #ffffff;
        }
		
		


        body {
            font-family: 'OpenSans-local', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.8;
            font-size: 20px;
        }

        h1, h2, h3, h4 { font-family: 'Merriweather-local', serif; color: var(--primary-color); margin-bottom: 1rem;  font-weight:bold;}
        h3 { font-size: 1.4rem;  padding-bottom: 0.5rem; margin-bottom: 1rem; }
        
        p { margin-bottom: 1.5rem; }

        a { text-decoration: none; color: inherit; transition: 0.3s; }



.border-title h1, 
.border-title h2,
.border-title h3, 
.border-title h4, 
.border-title h5 {
	margin-bottom: 0 3rem;
	border-bottom: 3px solid var(--gold-color);
	padding-bottom: 10px;
	
}

.com-content-category-blog {
	text-align:center;
}
.article-list  {
	text-align:left;
}
.com-content-category-blog h1 {
	margin-left:auto;
	margin-right:auto;
	margin-bottom: 3rem;
	border-bottom: 3px solid var(--gold-color);
	padding-bottom: 10px;
	display:inline-block;

}

.article-list  .article,
.service-card {

	border: 1px solid #e5e5e5;
	border-top: 6px solid var(--primary-color);
	box-shadow: 0 5px 15px rgba(0,0,0,0.03);

}
.service-card .sppb-addon-content {
	border-top:1px solid #ddd;
	padding-top: 0.5rem;
}


.p-style1 {
	border-left: 4px solid var(--gold-color);
	padding-left: 15px;
	background-color: #fcfbf9 !important;
	padding: 15px;
}


.logo a {
	margin:0 auto;
	display:inline-block;
}

#sp-top2 .sp-module {
	margin-top:.5rem; 
}
#sp-top2 .sp-column.align-items-center {
	align-items:end!important;
}

.mod-articlesnews__item {
	border: 1px solid #e5e5e5;
	padding:20px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}


.sppb-btn-lg {
	padding: 1rem 2.5rem;
	font-size: 20px;
	line-height: 1.5;
	border-radius: 5px;
}

#sp-component .btn,
#sp-component .sppb-btn {

	padding: .8rem 2.2rem;

}


@media (min-width: 992px) {
#sp-menu .sp-column.justify-content-end {
	justify-content:flex-start !important
}
}





/* Seleziona il link Read More di Joomla */
/* Nota: Il selettore potrebbe variare leggermente in base al template, 
   ma .readmore è lo standard */

.readmore a, 
.readmore-link,
.content .readmore a {
    display: inline-block;
    padding: 0.375rem 0.75rem; /* Padding standard Bootstrap 5 */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.375rem; /* Border radius Bootstrap 5 */
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    
    /* Colori Bootstrap 5 Primary */
    background-color: var(--white) ; 
    color:  var(--accent-color) !important;
	border: solid 1px var(--accent-color);
}

/* Effetto Hover (Bootstrap 5 Primary) */
.readmore a:hover,
.readmore-link:hover,
.content .readmore a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white) !important;
}

/* Per rendere il bottone un blocco (opzionale) */
@media (min-width: 576px) {
    .readmore a, 
    .readmore-link,
    .content .readmore a {
        display: inline-block;
    }
}

/* Pulsante Gold Personalizzato */
.btn-gold {
    background-color: #c5a059;
    border-color: #c5a059;
    color: #ffffff; /* Colore del testo (bianco) */
    transition: all 0.3s ease; /* Animazione fluida */
}

.btn-gold:hover {
    background-color: #a88544; /* Un tono più scuro per l'hover */
    border-color: #a88544;
    color: #ffffff;
    transform: translateY(-1px); /* Piccolo effetto di sollevamento (opzionale) */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-gold:active {
    background-color: #8e6d3a; /* Ancora più scuro quando premuto */
    border-color: #8e6d3a;
    color: #ffffff;
    transform: translateY(0);
}

.btn-gold:focus {
    border-color: #c5a059;
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.5); /* Glow gold al focus */
    color: #ffffff;
}


.offcanvas-menu .offcanvas-inner ul.menu > li > a, .offcanvas-menu .offcanvas-inner ul.menu > li > span {

	padding: 15px 0px;
	line-height: 1.2rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	font-size: 1.2rem;
}
    
	
.sp-scroll-up {

	bottom: 60px;
	right: 30px;
	width: 36px;
	height: 36px;

	background: rgba(166,55,66,.4);

}

.sp-scroll-up:hover, .sp-scroll-up:active, .sp-scroll-up:focus {
	color: #fff;
	background: var(--accent-color);
}