h2{
    font-size: 2rem;
    font-weight: 700;
    line-height: 35px;
}
h3{
    font-size: 20px;
    line-height: 22px;
}
h4{
    font-size: 18px;
    line-height: 20px;
}
h5{
    font-size: 17px;
    line-height: 19px;
}
h6{
    font-size: 16px;
    line-height: 18px;
}

.line-clamp-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* Limit text to 4 lines */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis (...) at the end of the truncated text */
}
/*body.archive,*/
/*body.category,*/
/*body.page-template-static-archive,*/
/*body.page-template-archive-details,*/
/*body.single-post*/
/*{*/
/*    padding-top: 100px;*/
/*}*/


.mt-140{
    margin-top: 0;
}

body.page-template-static-archive,
body.page-template-archive-details
{
    padding-top: 100px;
}
.n_archive_hero.n_archive_details_h{
    /*margin-top: 100px;*/
}


@media screen and (max-width: 1024px) {
    .page-banner-tp{
        margin-top: 59.6px;
    }
}
@media screen and (max-width: 992px) {
    .n_archive_hero{
        margin-top: 59.6px;
    }
.n_archive_hero.n_archive_details_h {
    margin-top: 70px;
}
}
@media screen and (max-width: 768px) {
/*.n_archive_hero.n_archive_details_h {*/
/*    margin-top: 0px;*/
/*}*/
}

.n_archive_hero{
   background-color: #32468C;
    /*height: 556px;*/
    height: 470px;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.right_white_shape{
    position: absolute;
    right: 0;
    /*bottom: 0;*/
    bottom: -1px;
}
.right_white_shape svg{
    /*height: 100px;*/
    height:70px;
}
.n_archive_hero_content{
        padding-bottom: 40px;
    }
@media screen and (min-width: 1500px) {
    .right_white_shape svg{
        /*height: 113px;*/
        height: 88px;
    }
    .n_archive_hero_content{
        padding-bottom: 112px;
    }
}
.n_archive_hero_content.text-white h1,
.n_archive_hero_content.text-white h2,
.n_archive_hero_content.text-white,
.n_archive_hero_content.text-white p,
.n_archive_hero_content.text-white h3
{
    color: #ffffff !important;
    font-weight: 400;
}
.n_archive_hero_content.text-white h1,
.n_archive_hero_content.text-white h2{
    line-height: 35px;
}
.n_archive_hero_content.text-white p,
.n_archive_hero_content.text-white h3
{
    line-height: 22.4px;
}
.n_archive_hero_content.text-white h1
{
    /*font-size: 26px;*/
        font-size: 18px;
    text-transform: uppercase;
    
}
.hero_content h1.has-huge-font-size{
   font-size: 18px!important; 
   font-weight: 400!important;
   text-transform: uppercase;
}
.n_archive_hero_content.text-white h1.text-primary{
    color: #32468c !important;
}


/*.n_archive_hero_content.text-white h2{*/
/*    font-size: 40px;*/
/*}*/
.n_archive_hero_content.text-white h2{
  font-size: 32px;  
}
.n_archive_hero_content.text-white p,
.n_archive_hero_content.text-white h3
{
    font-size: 19px;
    margin-top: 10px;
}
.n_archive_hero_content .breadcrumbs{
    margin-bottom: 10px;
}
.n_archive_hero_content .text-gray .breadcrumbs{
    color: rgba(255, 255, 255, 0.7);
}
.n_archive_hero_content .text-gray .breadcrumbs a{
    color: rgba(255, 255, 255, 1);
}
.n_archive_hero_content .text-white .breadcrumbs,
.n_archive_hero_content .text-white .breadcrumbs span:last-child a
{
    color: rgba(255, 255, 255, .7);
}
.n_archive_hero_content .text-white .breadcrumbs a{
    color: rgba(255, 255, 255, 1);
}

.n_archive_hero_content .text-primary .breadcrumbs{
   color:rgba(28, 28, 28, .7);
}
.n_archive_hero_content .text-primary .breadcrumbs a{
    color: rgba(28, 28, 28, 1);
}
.n_archive_hero_content h1,
.n_archive_hero_content.text-white h1,
.n_archive_details_h .n_archive_hero_content.text-white h1{
    font-size: 40px;
    text-transform: none!important;
    /*font-weight: 700;*/
}
.archive_loop_flex{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.archive_loop_flex .archive_loop_link{
    align-self: flex-end;
    margin-top: auto;
}

@media screen and (max-width: 1024px) {
    /*.n_archive_hero{*/
    /*    height: 520px;*/
    /*}*/
    .right_white_shape svg{
        height: 40px;
    }
    .n_archive_hero_content.text-white h2{
      font-size: 28px;  
    }
}
@media screen and (max-width: 768px) {
    .n_archive_hero_content.text-white h1 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .n_archive_hero{
        /*height: 480px;*/
        height: 270px;
    }
    .right_white_shape svg{
        height: 30px;
    }
    .n_archive_hero_content.text-white h2 {
        font-size: 24px;
    }
}
@media screen and (max-width: 575px) {
    .n_archive_hero_content.text-white h1 {
        font-size: 14px;
    }
    .n_archive_hero{
        padding: 20px 0 10px 0;
        height: auto;
    }
    .n_archive_hero_content.text-white h2 {
         font-size: 18px;
    }
    .right_white_shape{
        display: none;
    }
    .n_archive_hero_content{
        padding-bottom: 16px;
    }

}

.archive_container{
    display: grid;
    grid-template-columns: 1fr 297px;
    gap: 70px;
}
.archive-loop{
    padding: 70px 0 40px 0;
}
.archive_loop_container{
    margin-bottom: 24px;
}

ul.pagination{
    gap: 12px;
}
ul.pagination li a,
ul.pagination li span{
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #64686F;
    display: block;
}
ul.pagination li:hover,
ul.pagination li a:hover,
ul.pagination li.active:hover span,
ul.pagination li.active span{
    background-color: #32468C;
    color: #fff;
    border-color: #32468C;
}

@media screen and (min-width: 1200px) {
    .archive .archive-loop{
        padding-bottom: 100px;
    }
    .archive_loop_container{
        margin-bottom: 45px;
    }
}
.archive_loop_item{
   background-color: rgba(107, 124, 147, .06);
    border-radius: 15px;
}
.archive_loop_media {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    height: 149px;
}
.archive_loop_media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.archive_loop_cw{
    padding: 14px 16px 16px 16px;
}
.archive_loop_cats{
    line-height: 1;
}
.archive_loop_cats a,
.archive_loop_cats span,
.archive_loop_date
{
    color: #64686F;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
}
.archive_loop_date{
    color: #32468c;
}
.archive_loop_cwd{
    margin-top: 8px;
}
.archive_loop_cwd h3, 
.archive_loop_cwd h3 a {
	color: #32468C;
	font-size: 18px;
	font-weight: 700;
	line-height: 22.4px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.archive_loop_excerpt{
    padding-top: 4px;
}
.archive_loop_excerpt,
.archive_loop_excerpt p{
    color: #64686F;
    font-size: 12px;
    font-weight: 400;
}
.archive_loop_link{
    display: flex;
    justify-content: flex-start;
}
.archive_loop_link a {
	display: inline-block;
	background-color: #32468C;
	color: #fff;
	padding: 12px 17px;
	min-height: 20px;
	border-radius: 9px;
	font-size: 15px;
	line-height: 18.4px;
	font-weight: 400;
}
.archive_loop_cwd h3 a:hover,
.archive_loop_link a:hover{
    text-decoration: none;
}
.archive_loop_item:hover .archive_loop_media img{
    transform: scale(1.2);
}
.blog-aside-cats-h{
    margin-bottom: 8px;
    padding: 0;
}
.blog-aside-cats h3{
    color: #32468C;
    font-weight: 400;
    font-size: 22px; 
    line-height: normal;
}
.blog-aside-cats h3 span{
    font-weight: 700;
}
.archive_loop_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
ul.tipologia-categories li a{
    padding: 12px 0 12px 6px;
    color: #64686F;
    font-size: 14px;
    font-weight: 700;
}
.parent-category .parent-cat_item span{
    padding-right: 0;
}
.parent-cat_item span{
    width: 16px;
    text-align: right;
    cursor: pointer;
}
ul.tipologia-categories li ul.child-categories li a{
    font-weight: 400;
    transition: .3s all;
}
.child-categories li a span{
    margin-right: 6px;
}

.widget.archive-articles{
    margin-top: 44px;   
}
ul.archive-lst-articles li a{
    padding-left: 0;
    padding-right: 0;
    color: #64686F;
}
ul.archive-lst-articles li a span{
    padding-left: 4px;
    padding-right: 12px;
}
.archive-lst-articles li a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s all;
}
.archive-lst-articles li a:hover{
    color: #32468C;
}

ul.tipologia-categories li a span,
ul.archive-lst-articles li a svg{
    flex-shrink: 0 !important;
}
.sidebar_sticky{
    position: sticky;
    top: 8.5rem;
}
ul.tipologia-categories .child-categories li a:hover{
 background-color: #F2F4F5;
}

.widget.aside_search{
    margin-bottom: 18px;
}
.search-input-container{
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #F2F4F5;
    height: 39px;
    padding: 0 10px;
    border-radius: 9px;
}
.search-input-container input[type=search]{
    width: 100%;
    height: 100%;
    border: 0!important;
    box-shadow: none!important;
    outline: none!important;
    background: transparent!important;
    padding-left: 16px;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    color: #64686F;
}
.search-input-container input[type="search"]::placeholder {
    color: rgba(100, 104, 111, 0.3);
    opacity: 1; /* Opacity should always be 1, as color opacity is controlled by RGBA */
}

.search-input-container input[type="search"]:-ms-input-placeholder { /* For Internet Explorer 10-11 */
    color: rgba(100, 104, 111, 0.3);
}

.search-input-container input[type="search"]::-webkit-input-placeholder { /* For Chrome, Safari, Edge */
    color: rgba(100, 104, 111, 0.3);
}

.search-input-container input[type="search"]::-moz-placeholder { /* For Firefox */
    color: rgba(100, 104, 111, 0.3);
    opacity: 1; /* Needed for Firefox */
}

.search-input-container input[type="search"]:-moz-placeholder { /* For Firefox (older versions) */
    color: rgba(100, 104, 111, 0.3);
    opacity: 1;
}

.search-icon {
    position: absolute;
    left: 10px;
    display: flex;
    align-items: center;
}
.category-toggle.show span{
    transition: .2s all;
}
.category-toggle.show span{
    rotate: 90deg;
}

.n_archive_mb{
    margin-bottom: 60px;
}
.archive_details_container .secondary_heading{
    border-bottom: 1px solid #E3E9ED;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.secondary_heading h2{
    font-size: 2rem;
    font-weight: 700;
    color: #32468C;
}
.archive_details_content{
    display: flex;
    flex-direction: column;
    row-gap: 22px;
}
.archive_details_content,
.archive_details_content * {
    color: #64686F;
    margin: 0;
}
.archive_details_content p,
.archive_details_content ul li,
.archive_details_content ul li a
{
  line-height: 22.4px;
  font-weight: 400;
  font-size: 16px;
  font-family: 'Helvetica Neue', sans-serif;
}
.archive_details_content strong{
    font-weight: 700;
}
.archive_details_content h3{
    font-size: 20px;
}
.archive_details_content h4{
    font-size: 18px;
    text-transform: inherit;
}
.archive_details_content h5{
    font-size: 17px;
}
.archive_details_content h6{
    font-size: 16px;
}
.archive_details_cta{
    margin-top: 64px;
}
.archive_loop_link{
    padding: 0 16px 16px 0px;
}
.n_archive_hero{
    position: relative;
}
.n_archive_hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(50, 70, 140, 0.2);*/
    background-color: rgba(0, 0, 0, 0.3);
}

.wpcf7-form:not(.spam) .wpcf7-response-output{
    color: #46b450!important;
    border: 2px solid #46b450!important;
}
.hero_img_slide{
    width: 100%;
    height: 100%;
        background-size: cover;
    background-position: center;
}
.slide-url{
   display:block;
   position:absolute;
   width:100%;
   height:100%;
   z-index:999; 
}

@media screen and (min-width: 1500px) {
    .archive_loop_container{
        gap: 38px;
    }
}

@media screen and (max-width: 1024px) {
    .archive_container {
        grid-template-columns: 1fr 265px; /* Adjust sidebar width */
    }
    .blog-aside-cats h3{
        font-size: 20px;
    }
    .archive_loop_container{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media screen and (max-width: 768px) {
    .archive_loop_media{
        height: auto;
    }
    .archive_container {
        grid-template-columns: 1fr;
    }
    .archive_col_sidebar {
        order: 2;
    }
    .blog-aside-cats h3{
        font-size: 18px;
    }
    .archive_loop_container{
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 32px;
    }
    .n_archive_hero.n_archive_details_h{
        height: 375px;
    }
    .archive-loop {
        padding: 40px 0 40px 0;
    }
    .archive_details_container .secondary_heading {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .archive_details_cta {
        margin-top: 40px;
    }
    .n_archive_hero_content h1,
    .n_archive_hero_content.text-white h1,
    .n_archive_details_h .n_archive_hero_content.text-white h1{
        font-size: 28px;
    }
}
@media screen and (max-width: 767px) {
    body.archive,
    body.category,
    body.page-template-static-archive,
    body.page-template-archive-details{
        padding-top: 0;
    }
}
@media screen and (max-width: 575px) {
    .archive_loop_container{
        column-gap: 0;
        row-gap: 18px;
    }
    .archive-loop {
        padding: 32px 0 32px 0;
    }
    .archive_details_container .secondary_heading {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .secondary_heading h2{
        font-size: 16px;
    }
    .archive_details_cta{
        margin-top: 30px;
    }
    .archive_details_content h3 {
        font-size: 16px;
        line-height: 22px;
    }
    .archive_details_content{
        row-gap: 12px;
    }
    .n_archive_hero_content h1,
    .n_archive_hero_content.text-white h1,
    .n_archive_details_h .n_archive_hero_content.text-white h1{
        font-size: 22px;
    }
}


/*new css tan */ 

.archive_col_loop_title_v2 h3 {
	color: #32468C;
	font-size: 22px;
	line-height: 50px;
	font-style: normal;
	padding-top: 10px;
}

.article_search_v2 {
	margin-top: 65px;
}

.archive_col_loop_desc {
	padding-bottom: 25px;
}

.search.search-results .main_header:not(.sticky){
    background-color: #13245D;
    padding-bottom: 12px;
}
