:root{
    --primary: #c02222;
    --primary2: #006633;
    --secondary: #dbdcdc;
    --gray: #323233;
    --gray2: #dbdcdc;
    --gray3: #f4f2f2;
    --black: #1f1b20;
	--site-bg: #FFEFD5;
}


/*
body{
    font-family: "Roboto", "Noto Sans Arabic", sans-serif;
    font-weight: 300;
}
*/

body{
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
	background-color: var(--site-bg);
}

h1,h2,h3{
    font-family: 'EB Garamond', serif;
    font-weight: 600;
}

h4,h5,h6,
.subtitle,
.section-title{
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 500;
}

a{
    text-decoration: none;
    transition: all 0.5s;
}


.left-head{
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-content: stretch;
    align-items: center;
}

.subscribe_div{
    background-color: var(--primary);
    border-radius: 10px;
    color: #FFF;
    padding: 30px 30px;
    top: 50px;
    z-index: 99;
    position: relative;
}
}

#h-search-input{
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

#h-subscribe-input{
    /*border-bottom-left-radius: 0;
    border-top-left-radius: 0;*/
    height: 50px;
    margin-top: 10px;
}
.search-box-btn .btn{
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    color: var(--secondary);
}


#h-subscribe-input:lang(ar){
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.search-box-btn .btn:hover{
    background-color: var(--secondary);
    color: #FFFFFF;
}

.subscribe_btn{
    background-color: var(--gray);
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    height: 50px;
    margin-top: 10px;
    color: #FFF;
    padding: 0px 30px;
}
.subscribe_btn:hover{
    background-color: var(--secondary);
    color: var(--gray);
}

.subscribe_btn:lang(ar){
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.subscribe_form{
    width: 500px;
    max-width: 100%;
    margin: auto;
}

.dropdown-toggle:lang(ar)::after{
    margin-left: 0;
    margin-right: .255em;
}

#navbarSupportedContent .nav-link span{
    position: relative;
}

#navbarSupportedContent .nav-link:hover{
    color: var(--primary);;
}

#navbarSupportedContent .nav-link span:after{
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 3px;
    bottom: -5px;
    background: var(--primary);
    transition: all 0.5s;
}

#navbarSupportedContent .nav-link:hover span:after{
    width: 100%;
}

#navbarSupportedContent .dropdown-item:focus, #navbarSupportedContent .dropdown-item:hover{
    color: #FFF;
    background-color: var(--primary);
}


.links_div{
    width: 123px;
    height: 61px;
    max-width: 100%;
    overflow: hidden;
}

.head1{
    border-bottom: 1px solid var(--gray2);
    padding-bottom: 7px;
    direction: ltr;
}

.head1_div{
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;

}

.h_contact_div{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.h_social_div{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.h_s_item{
    padding: 3px 5px;
    margin: 0 2px;
    border-radius: 3px;
}
.h_s_item.ar, .h_s_item.ar *{
    font-family: "Noto Sans Arabic", sans-serif;
    font-weight: 600;
}
.h_s_item.soc{
    font-size: 1.5rem
}


.h_c_item{
    border-left: 1px solid var(--gray2);
    padding-left: 10px;
    padding-right: 10px;
}

.h_c_item i{
    color: var(--primary);
    transition: transform 0.5s ease-in-out;
}

.h_c_item:hover span{
    color: var(--primary);
}
.h_c_item:hover i{
    transform: rotate(360deg);
}

.h_c_item span{
    color: var(--gray);
}

.h_s_item a{
    color: var(--gray);
}

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

.h_s_item.bg-gray{
    background-color: var(--gray2);
    width: 30px;
    text-align: center;*/
}
.h_s_item.bg-primaryy{
    background-color: var(--primary);
    padding: 4px 10px;
    font-size: 14px;
}
.h_s_item.bg-secondaryy{
    background-color: var(--secondary);
    padding: 4px 10px;
    font-size: 14px;
}


.f_soc_title{
    margin-top: 20px;
    font-size: 0.85rem;
}
.f_social_div{
    display: flex;
    margin-bottom: 10px;
    justify-content: center;
    margin-top: 20px;
}

.f_s_item{
    padding-top: 3px;
    margin: 0 10px;
    width: 35px;
    height: 35px;
    background: #FFF;
    border-radius: 50%;
    transition: all 0.5s;
}

.f_s_item a{
    font-size: 1.3rem;
    color: var(--black);
}

.f_s_item:hover{
    background-color: var(--primary);
}

.f_s_item:hover a{
    color: #FFF;
}


.menu_div{ 
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.comp_btn a{
    background-color: var(--primary);
    color: #FFF;
    border-color: var(--primary);;
}

.comp_btn a:hover{
    background-color: var(--secondary);
}


.carousel_img{
    height: calc(100vh - 300px);
    position: relative;
}


.carousel_img:after{
    position:absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.3);
}

.footer{
    background-color: var(--gray);
    padding: 100px 0 40px;
}

.bottom_footer{
    background-color: var(--black);
    color: #FFF;
    padding: 5px;
    text-align: center
}

.footer_menu{

}

.footer_menu a {
    color: var(--primary2);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
    display: block;
}

.footer_menu_ul{
    padding: 0;
    list-style: none;
}

.footer_menu_ul a{
    color: var(--black);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer_menu_ul a:hover{
    color: var(--secondary);
}

.listar-copyright{
    font-size: 0.8rem;
}


.home_title {
    color: var(--primary);
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.home_title.white{
    color: #FFFFFF;
}

.sections{
    padding: 40px 0;
}

.bg-gray3{
    background-color: var(--gray3);
}

.subcat_div{
    text-align: center;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
}

.cat1_div img{
    transition: all 0.5s;
}

.cat1_title{
    color: var(--primary);
    margin-top: 18px;
    font-size: 1.3rem;
    transition: all 0.5s;
}

.subcat_div a{
    display: block;
    height: 100%;
    width: 100%;
    padding: 25px 15px;
}

.subcat_div.white{
    background-color: #FFFFFF;
}

.subcat_div:hover{
    background-color: var(--primary);
}

.subcat_div:hover .cat1_title{
    color: #FFFFFF;
}

.subcat_div:hover .cat1_div img{
      filter: brightness(0) invert(1) grayscale(100%);
}

.sec2_div{
    text-align: start;
    margin: auto;
    border-radius: 10px;
    transition: all 0.5s;
}

.sec2_1_div{
    height: 300px;
    overflow: hidden;
}

.sec2_1_div img{
    transition: all 1s;
    min-height: 100%;
}

.sec2_div:hover .sec2_1_div img{
    transform: scale(1.1) rotate(5deg);
}

.main_title{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.sub_title{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}


/*
.sec2_div{
    text-align: start;
    margin: auto;
    border-radius: 10px;
    transition: all 0.5s;
}

.ads1_div{
    height: 300px;
    overflow: hidden;
}

.ads1_div img{
    transition: all 1s;
    min-height: 100%;
}

.ads_div:hover .ads1_div img{
    transform: scale(1.1) rotate(5deg);
}
*/

/*
.section2{
    background-image: url("../../images/texture-1.png");
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 70px 0 50px;
}
*/

.section2 {
    background-size: cover;        /* riempie tutto il div */
    background-position: center;   /* centra l’immagine */
    background-repeat: no-repeat;
    padding: 70px 0 50px;
}

.section3{
    background-color: var(--gray3);
    background-image: url("../../images/texture-2.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}


.success_div {
    text-align: start;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
    border: 2px solid #efeee9;
}

.success1_div {
    height: auto;
    overflow: visible;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.success1_div img {
    transition: all 1s;
    height: auto;
    width: 100%;
    object-fit: contain;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Layout compatto per i testi sotto l'immagine */
.success_div .a1:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;  /* Spazio minimo tra title, subtitle, author, etc. (2px) */
    padding: 0.5rem 0.5rem 0.25rem;  /* Padding interno compatto */
}

.success1_title {
    color: var(--primary);
    margin: 0 !important;  /* Azzera tutti i margin */
    padding: 0.125rem 0;   /* Padding verticale minuscolo */
    font-size: 1rem;       /* Ridotto da 1.1rem per compattezza */
    line-height: 1.2;      /* Altezza riga stretta */
    min-height: auto;      /* Rimuovi altezza fissa che crea spazi */
    font-weight: 400;
    transition: all 1s;
}

/* Label in NERO, valore resta colorato */
.meta-label {
    color: #000000 !important;
    font-weight: 600; /* Opzionale: label più evidenti */
}

.meta-value {
    color: inherit; /* Mantiene il colore del parent (.success1_title) */
}


.success1_summary {
    margin-top: 5px;
    margin-bottom: 10px;
    color: #333333;
}

.success_div .a1 {
    display: block;
    height: 100%;
    width: 100%;
}

.success_div.white {
    background-color: #FFFFFF;
}

.success1_readmore {
    color: var(--primary);
    transition: all 1s;
    font-weight: 600;
    margin-top: 0.5rem;  /* Spazio solo prima di "Read more" */
}







.news_div{
    text-align: start;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
    border: 2px solid #efeee9;
}

.news1_div{
    height: 220px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.news1_div img{
    transition: all 1s;
    min-height: 100%;
}

.news1_title{
    color: var(--primary);
    margin-top: 5px;
    font-size: 1.1rem;
    transition: all 1s;
    min-height: 75px;
    font-weight: 400;
}

.news1_summary{
    margin-top: 5px;
    margin-bottom: 10px;
    color: #333333;
}

.news_div .a1{
    display: block;
    height: 100%;
    width: 100%;
}

.news_div.white{
    background-color: #FFFFFF;
}

.news1_readmore{
    color: var(--primary);
    transition: all 1s;
    font-weight: 600;
}

.news2_readmore{
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: #FFF;
    transition: all 1s;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 10px 25px;
}

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

.ads1_readmore{
    background-color: var(--primary);
    color: #FFF;
    transition: all 1s;
    margin: auto;
    margin-top: 15px;
    text-align: center;
    display: table;
}

.ads1_readmore:hover{
    background-color: var(--black);
    color: #FFF;
}

.news1_line{
    display: block;
    margin-top: 10px;
    width: 100%;
    height: 5px;
    background-color: var(--primary2);
    transition: all 1s;
    position: relative;
}

.news1_line:after{
    content:"";
    position: absolute;
    width: 0;
    height: 5px;
    left: 0;
    background-color: var(--primary);
    transition: all 1s;
}

.news_div:hover{
    /*background-color: var(--primary);*/
}

.news_div:hover .news1_title{
    /*color: #FFFFFF;*/
}

.news_div:hover .news1_div img{
    transform: scale(1.1) rotate(5deg);
}

.news_div:hover .news1_readmore{
   color: var(--gray); 
}

.news_div:hover .news1_title{
   color: var(--gray); 
}

.news_div:hover .news1_line:after{
    width: 100%;
}



.success_div:hover .success1_div img{
    transform: scale(1.1) rotate(5deg);
}

.success_div:hover .success1_readmore{
   color: var(--gray); 
}

.success_div:hover .success1_title{
   color: var(--gray); 
}

.success_div:hover .success1_line:after{
    width: 100%;
}



.file_div{
    text-align: center;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
}

.file1_div img{
    transition: all 0.5s;
}

.file1_title{
    color: var(--primary);
    margin-top: 18px;
    font-size: 1.3rem;
    transition: all 0.5s;
}

.file_div a{
    display: block;
    height: 100%;
    width: 100%;
    padding: 25px 15px;
}

.file_div.white{
    background-color: #FFFFFF;
}

.file_div:hover{
    background-color: var(--black2);
}

.file_div:hover .file1_title{
    color: #FFFFFF;
}

.file_div:hover .file1_div img{
      filter: brightness(0) invert(1) grayscale(100%);
}

.file1_line{
    display: block;
    margin-top: 10px;
    width: 100%;
    height: 5px;
    background-color: var(--primary2);
    transition: all 1s;
    position: relative;
}

.file1_line:after{
    content:"";
    position: absolute;
    width: 0;
    height: 5px;
    left: 0;
    background-color: #FFFFFF;
    transition: all 1s;
}
.file_div:hover .file1_line:after{
    width: 100%;
}






.post_div{
    text-align: center;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
}

.post1_div img{
    transition: all 0.5s;
}

.post1_title{
    color: var(--primary);
    margin-top: 18px;
    font-size: 1.3rem;
    transition: all 0.5s;
}

.post_div a{
    display: block;
    /*height: 100%;*/
    width: 100%;
    padding: 25px 15px;
}

.post_div.white{
    background-color: #FFFFFF;
}

.post_div:hover{
    background-color: var(--black2);
}

.post_div:hover .post1_title{
    color: #FFFFFF;
}

.post_div:hover .post1_div img{
  filter: brightness(0) invert(1) grayscale(100%);
}

.post1_line{
    display: block;
    margin-top: 10px;
    width: 100%;
    height: 5px;
    background-color: var(--primary2);
    transition: all 1s;
    position: relative;
}

.post1_line:after{
    content:"";
    position: absolute;
    width: 0;
    height: 5px;
    left: 0;
    background-color: #FFFFFF;
    transition: all 1s;
}
.post_div:hover .post1_line:after{
    width: 100%;
}

.dropdown-menu:lang(ar){
    text-align: right;
}

.navbar .nav-item .dropdown-menu, .navbar .nav-item .dropdown-menu.show{
    transition: all 10.5s;
}


.cat_cont, .box-shadow-div{
    text-align: center;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
}
.cat_cont:hover, .box-shadow-div:hover{
    background-color: var(--black2);
}
.box-shadow-div:hover img {
    transform: scale(1.2);
}
.box-shadow-div img {
    transition: transform .7s;
}


.fullgreen{
    color: #FFFFFF;
    background-color: var(--primary2);
    height: 100%;
    display: flex;
    align-content: space-between;
    /*align-items: center;*/
    justify-content: flex-end;
    padding-left: 10%;
    padding-top: 20%;
    font-size: 1.7rem;
    font-weight: bold;
}



.project_div{
    text-align: center ;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
    position: relative;
    min-height: 175px;
}

.project_div:after{
    content: "";
    position: absolute;
    width: 0;
    height: 7px;
    left: 0;
    bottom: 0;
    background-color: var(--primary);
    transition: all 1s;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.project1_img{
    overflow: hidden;
}

.project1_img img{
    transition: all 1s;
}

.project1_title{
    color: #333333;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    transition: all 1s;
}

.project_div .a1{
    display: block;
    height: 100%;
    width: 100%;
    padding: 25px 15px;
}

.project_div.white{
    background-color: #FFFFFF;
}

.project1_readmore{
    background-color: var(--primary2);
    color: #FFF;
    transition: all 1s;
}

.project1_readmore:hover{
    color: #FFF;
}

.project_div:hover .project1_img img{
    transform: rotate(360deg);
}

.project_div:hover .project1_title{
    color: var(--primary);
}

.project_div:hover:after{
    width: 100%;
}

.project1_time{
    margin-top: 10px;
    color: #333333;
    font-size: 0.8rem;
}

.project1_summary{
    color: #333333;
    font-size: 14px;
    margin-bottom: 10px;
}



.album_div{
    text-align: center;
    margin: auto;
    border-radius: 10px;
    background-color: var(--gray3);
    transition: all 0.5s;
    position: relative;
    margin-bottom: 10px;
}

.album_div:after{
    content:"";
    position: absolute;
    width: 0;
    height: 5px;
    left: 0;
    bottom: 0;
    background-color: var(--primary);
    transition: all 1s;
}
.album_div .a1{
    display: block;
    height: 100%;
    width: 100%;
    padding: 25px 15px;
}

.album_div.white{
    background-color: #FFFFFF;
}
.album_div:hover .album_1_img img{
    transform: rotate(360deg);
}

.album_1_title{
    color: #333333;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    transition: all 1s;
}

.album_div:hover .album_1_title{
    color: var(--primary);
}

.album_div:hover:after{
    width: 100%;
}

.album1_img{
    height: 200px;
    overflow: hidden;
}

.album1_img img{
    transition: all 1s;
}
.album_div:hover .album1_img img{
    transform: transform 0.5s ease-in-out;
}

.album1_div{
    overflow: hidden;
}

.album1_title{
    color: var(--primary);
    margin-top: 18px;
    font-size: 1.1rem;
    transition: all 0.5s;
}
.album_div:hover .album1__title{
    color: #FFFFFF;
}


.parallax-container {
  overflow: hidden;
  position: relative;
}

.parallax-content {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  background-image:url("../../images/bg.jpg");
  position: relative;
}

.parallax-content:after, .section6:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
}

.section6 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:url("../../images/bg2.jpg");
  position: relative;
}

.section6:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100px;
    background: #FFF;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.parallax-content .container, .section6 .container{
    position: relative;
    z-index: 9;
}

.tabs_ul{
    list-style: none;
    display: flex;
    color: #FFF;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.tabs_ul li{
    margin: 10px;
    font-size: 1.2rem;
}
.tabs_li{
    cursor: pointer;
    font-weight: bold;
}
.tabs_li.active{
    color: var(--primary);
}

.tab_div{
    display: none;
}

.tab_div.show{
    display: block;
}


.media_div{
    min-height: 500px;
    overflow: hidden;
    background-color: #FFF;
    padding: 20px;
    display: inline-grid;
    width: 100%;
    align-content: center;
    box-shadow: 1px 2px 6px 0px black;
    border-radius: 15px;
}


.footer_header{
    color: #FFF;
    text-align: left;
}

.footer_header:lang(ar){
    text-align: right;
}

.footer_text{
    color: #FFF;
    text-align: left;
}

..footer_header:lang(ar), .footer_text:lang(ar){
    text-align: right;
}

.footer_text a{
    color: var(--gray2);
}
.footer_text a:hover{
    color: var(--primary);
}


.circle {
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 175px;
    height: 175px;
    position: relative;
    color: #fff;
}

.strong_4{
    position: absolute;
    top: 15%;
    right: 0;
    text-align: center;
    left: 0;
    margin: auto;
    font-weight: 900;
    font-size: 3rem;
}
.strong_2{
    position: absolute;
    top: 55%;
    right: 0;
    text-align: center;
    left: 0;
    margin: auto;
    font-weight: 600;
    font-size: 1.1rem;
    width: 150px;
}
.body_2{
    background-color: var(--primary);
}


@media(max-width: 540px){
    .h-menu .navbar{
        flex-direction: column;
    }

    .h_contact_div{
        flex-wrap: wrap;

        margin-top: 10px;
        width: 100%;
    }

    .h_c_item{
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px;
    }

    .album1_img{
        height: auto;
    }

    .media_div{
        height: auto;
    }

    .album_div .a1 {
        padding: 15px 5px;
    }

    .subscribe_div{
        position: inherit;
        margin-bottom: 10px;
    }

    .project_div{
        height: 100%;
    }

    .parallax-content{
        height: auto;
    }

    .circle{
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .left-head{
        display: block;
    }

    .navbar-brand img{
        width: 220px;
    }

    .carousel_img{
        height: 200px;
    }

    .cat1_div img{
        width: 50px;
    }

    .subcat_div a{
        padding: 10px 5px;
    }

    .cat1_title {
        margin-top: 10px;
        font-size: 1rem;
    }

    .news1_div{
        height: 130px;
    }

    .news_div a{
        padding: 10px 5px;
    }

    .news1_title {
        margin-top: 10px;
        font-size: 1rem;
        min-height: auto;
    }

    .news1_readmore{
        padding: 5px 5px;
        font-size: .8rem;
    }



    .file1_div img{
        width: 50px;
    }

    .file_div a{
        padding: 10px 5px;
    }

    .file1_title {
        margin-top: 10px;
        font-size: 1rem;
        min-height: 50px;
    }

    .project1_title {
        margin-top: 10px;
        font-size: 1rem;
        min-height: auto;
    }
    .project1_time {
        font-size: 0.8rem;
    }

    .sections{
        padding: 20px 0;
    }

    .parallax-content{
        background-size: cover;
    }

    .tabo_div {
        padding-top: 20%;
    }

    .footer {
        padding: 15px;
    }

    .listar-copyright {
        font-size: 0.6rem;
    }

    #btn-back-to-top {
        bottom: 37px;
        right: 5px;
        width: 40px;
        height: 40px;
        padding: 5px 11px;
    }
}

/* add */

.team-photo-large img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.team-content {
    padding-left: 20px;
}

.team-name {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.team-name a {
    color: #7a4a1d;
    text-decoration: none;
}

.team-role {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c08a3d;
    margin-bottom: 20px;
}

.team-detail {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 90%;
}

.team-row:not(:last-child) {
    border-bottom: 1px solid #eee;
    padding-bottom: 60px;
}

/* banner page */

.banner-simple {
    position: relative;
    width: 100%;
}

.banner-simple img {
    width: 100%;
    height: auto;
    display: block;
}

/* text CENTER */
.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 80px;
    font-family: "Cinzel", "Playfair Display", "Times New Roman", serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;

    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    padding: 0 20px;
}


.sidebar {
    position: relative;  /* garantisce z-index relativo se ci sono overlay */
}

.sidebar-item {
    margin-bottom: 20px; /* distanzia i blocchi */
}

.sidebar-item h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

.sidebar-item ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-item ul li {
    margin-bottom: 5px;
}

.sidebar-item ul li a {
    text-decoration: none;
    color: #333;
    pointer-events: auto;  /* forza link cliccabili */
    user-select: text;     /* permette di selezionare il testo */
    display: block;        /* tutto il li cliccabile */
}

.sidebar-item ul li a:hover {
    color: #007bff;        /* colore hover */
}

.single-blog img {
    position: relative;  /* NON absolute */
    z-index: 1;          /* sotto il testo */
}

.single-blog .blog-content {
    position: relative;
    z-index: 2;          /* sopra l’immagine */
    user-select: text;   /* permette selezione */
}

.single-blog .blog-content {
    text-align: justify;
}

/* Assicurati che il menu sia sopra il banner */
header, .main-menu {
    position: relative; /* o sticky/fixed se lo usi */
    z-index: 9999;
}

/* Banner e overlay sotto il menu */
.banner-slider {
    position: relative;
    z-index: 1;
}

.banner-slider .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* sotto il menu */
}

.blog-one-item {
    border: 1px solid #e0e0e0; /* opzionale, per vedere i confini del box */
    padding: 15px;
    margin-bottom: 30px;
    background: #fff;
    overflow: hidden; /* assicura che la foto non esca dal box */
    border-radius: 5px; /* opzionale, arrotonda angoli */
}

.blog-one-photo img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 5px; /* arrotonda angoli dell’immagine se vuoi */
}

.subscribe_div {
    background: #c92020;
    padding: 40px;
    border-radius: 12px;
}

.subscribe_div input {
    border-radius: 6px;
}

.subscribe_btn {
    background: #333;
    color: #fff;
    border-radius: 6px;
    padding: 8px 20px;
}

.active-category a{
    font-weight:600;
    color:#c02222;
}

.active-category{

    border-left:4px solid #c02222;
    padding-left:8px;
}

.options_div{
    margin-bottom:30px;
}

.social_share_div{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

@media(max-width:768px){

	.breadcrumb-search-row{
		flex-direction:column;
		align-items:flex-start;
	}

	.search-wrapper{
		width:100%;
		margin-top:10px;
	}

	.options_div{
		justify-content:flex-start;
	}

}

.post-categories{
    margin-bottom:6px;
}

.post-category{
    display:inline-block;
    background:#f3f3f3;
    font-size:12px;
    padding:3px 8px;
    margin-right:4px;
    border-radius:3px;
    text-decoration:none;
}

.post-category:hover{
    background:#c02222;
    color:#fff;
}

.cat_thumb_div img{
    border-radius:6px;
}

.cat_thumb_div a{
    display:block;
}

/* ============================= */
/* SUBMENU BOOTSTRAP 3 LIVELLI  */
/* ============================= */

/* posizione relativa per il padre */
.dropdown-submenu {
    position: relative;
}

/* terzo livello */
.dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    min-width: 220px;
}

/* mostra submenu solo al hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* freccia a destra per indicare submenu */
.dropdown-submenu > a::after {
    content: "›";
    float: right;
    font-size: 16px;
    margin-left: 10px;
}

/* migliora hover */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #f8f9fa;
}

/* evita che bootstrap mostri automaticamente il 3° livello */
.dropdown-submenu .dropdown-menu {
    display: none !important;
}

/* mostra il submenu quando passi sopra */
.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
}

/* allineamento migliore */
.dropdown-menu {
    padding: 5px 0;
}

/* animazione leggera */
.dropdown-menu {
    transition: all 0.2s ease;
}

/* mantiene aperto il menu attivo */
.navbar .dropdown-menu.show {
    display: block;
}

/* mostra il terzo livello quando la pagina è attiva */
.dropdown-submenu.show > .dropdown-menu {
    display: block !important;
}

/* evidenzia il percorso del menu */
.active-menu {
    color: #c02222 !important;
    font-weight: 600;
}

/* evidenzia anche i dropdown */
.dropdown-menu .active-menu {
    background-color: #f8f9fa;
}

/*  contact */

.moduli-distinti {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.modulo-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.contact-item.flex {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 20px;
    color: #c02222;
}

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* FORM ELEGANTE */

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 14px;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c02222;
    box-shadow: 0 0 0 0.1rem rgba(192,34,34,0.15);
}

/* bottone */

.contact-form .btn {
    background: #c02222;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
}

.contact-form .btn:hover {
    background: #a51b1b;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-form h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* input con icone */

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.input-icon input,
.input-icon textarea {
    padding-left: 45px !important;
}

.input-icon.textarea i {
    top: 20px;
    transform: none;
}

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 14px;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c02222;
    box-shadow: 0 0 0 0.15rem rgba(192,34,34,0.15);
}

/* bottone */

.contact-form .btn {
    background: #c02222;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 10px;
}

.contact-form .btn:hover {
    background: #a51b1b;
}

.form-group {
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    background: #fafafa;
    border: 1px solid #e5e5e5;
}
