/*
Theme Name: Mantova Ducale
Template: nextawards
*/


/* yuur customs style here */


h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin-bottom: 1rem;
    line-height: 140%;
}


p, ul, li {
    font-size: 1.1rem;
}


.wp-block-button__link {border-radius: 0;}

.d-desk{display: block;}
.d-mob{display: none;}

@media (max-width: 768px) {
  .d-desk{display: none;}
	.d-mob{display: block;}
}

:focus-visible {
	outline: 4px solid rgb(0, 255, 4) !important;
	outline-offset: 4px;
	box-shadow: 0 0 0 3px rgba(7, 80, 57, 0.3);
}

/* ICONA PDF */

.pdf {
	position: relative;
	padding: 6px 0 10px 0;
}

.pdf a {
	color: #f42c33;
	text-decoration: none;
	padding-left: 35px;
}

.pdf a::before {
	content: ' ';
	width: 28px;
	height: 30px;
	background: url('img/ico-pdf.png');
	position: absolute;
	top: 0;
	left: 0;
}

/* ICONA ZIP */

.zip {
	position: relative;
	padding: 6px 0 10px 0;
}

.zip a {
	color: #ae0f0a;
	text-decoration: none;
	padding-left: 35px;
}

.zip a::before {
	content: ' ';
	width: 28px;
	height: 30px;
	background: url('img/ico-zip.png');
	position: absolute;
	top: 0;
	left: 0;
}


.spacer { height: 170px; }
    
.page-template-contained-no-title .spacer{height: 170px;}
.category .spacer{height: 170px;}

@media (max-width: 1190px) {
  .page-template-contained-no-title .spacer{height: 122px;}
}
@media (max-width: 794px) {
  .spacer { height: 110px; }
  .page-template-contained-no-title .spacer{height: 105px;}
}


/* ------------------------------------------------------------------------- *
/* 2 Header */
/* ------------------------------------------------------------------------- */



.header__content { width: 80.2%; padding: 20px 0; /*background-color: #ae0f0a;*/}

@media (max-width: 1875px) { .header__content {width: 81%;} }
@media (max-width: 1815px) { .header__content {width: 81.9%;} }
@media (max-width: 1735px) { .header__content {width: 83.2%;} }
@media (max-width: 1665px) { .header__content {width: 84.4%;} }
@media (max-width: 1595px) { .header__content {width: 85.9%;} }
@media (max-width: 1530px) { .header__content {width: 87.1%;} }
@media (max-width: 1496px) { .header__content {width: 88%;} }
@media (max-width: 1190px) { .header__content { height: 85px;} }
@media (max-width: 991px) { .header__content {width: 98%;} }

.header__topbar {
	background-color: transparent;
	padding: 0;
	color: #fff;
  display: flex;
	

}
.header__topbar__col{padding: 4px;}
.header__topbar__col.col-1{width: 20%;}
.header__topbar__col.col-2{background: #707070; width: 40%;}
.header__topbar__col.col-2 a{color: #fff;}
.header__topbar__col.col-3{background-color: #dcdcdc; width: 20%;}
.header__topbar__col.col-3 svg{width: 25px; height: auto; margin: 0 3px;}
.header__topbar__col.col-4{background-color: #000; width: 20%;}


.language{list-style: none; display: flex; justify-content: center; gap: 15px; padding: 0; margin: 0; display:none;}

@media (max-width: 768px) {
  .header__topbar__col.col-1{display: none;}
  .header__topbar__col.col-2{display: none;}
  .header__topbar__col.col-3{display: none;}
  .header__topbar__col.col-4{width: 100%; background: transparent;}
  .language {position: absolute; top:0; right:0; background: #000; padding: 0 10px;}	
}

/* ------------------------------------------------------------------------- *
/* MENU */
/* ------------------------------------------------------------------------- */

.menu{margin-top: 18px;}

.menu li a {
	color: #fff;
  text-transform: uppercase;
	opacity: 1;
	display: block;
	padding: 16px;
	font-size: 15px;
	font-weight: normal;
    
}

.menu > li::before{
    content: " ";
    position: absolute;
    top: 20px;
    left: 0;
    width: 1px;
    height: 25px;
    background: #fff;
}




.mic-logo a{    
    background-image: url('img/mic_logo-ok.png');
    background-repeat: no-repeat;
    padding: 20px 28px!important;
    color: #fff;

}




@media (max-width: 1430px) {
  .menu li a {font-size: 10px;}
}
@media (max-width: 1190px) {
  .menu li a {font-size: 16px; color: #000;}
  .mic-logo a{ margin-right: 50px;  }
  .icon-hamburger{top: 30px; right: -5px;}
  .icon-hamburger span {background: #fff;}  
}
@media (max-width: 768px) {
  .menu{margin-top: 24px;}
}


/* ------------------------------------------------------------------------- *
/* HOME PAGE */
/* ------------------------------------------------------------------------- */


.block-palazzo-slider-home{max-width: 1440px;  position: relative;}
.block-palazzo-slider-home::before{
	/*content: url('img/tagliologo.png'); position: absolute; top: 0; right: 0;*/
	content: "";
	display: inline-block;
	width: 289px;
	height: 281px;
	background-image: url('img/tagliologo.png');
	background-size: contain; /* Oppure 'cover' a seconda dell'effetto voluto */
  	background-repeat: no-repeat;
  	background-position: center;	
	position: absolute; top: 0; right: 0;
	z-index: 1;

}
.block-palazzo-slider-home ul li{height: 600px;}
.block-palazzo-slider-home .card{
	position: absolute;
	left: 50px;
	bottom: 50px;
	color: #fff;
}
.block-palazzo-slider-home .card h1,
.block-palazzo-slider-home .card h2{
	font-size: 2.5rem;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.block-palazzo-slider-home .card p{font-size: 1.5rem; font-weight: bold;}

@media (max-width: 768px) {
  .block-palazzo-slider-home .card h1,
  .block-palazzo-slider-home .card h2{ font-size: 2.0rem; line-height: 35px;}

  .block-palazzo-slider-home .card p{font-size: 1rem;}

  .block-palazzo-slider-home::before{width: 140px; height: 138px;}
  .block-palazzo-slider-home ul li{height: 420px;}
}


/*NEWS*/

.block-palazzo-news-home,
.block-palazzo-videotour {max-width: 1440px;}
.block-palazzo-news-home .col-50,
.block-palazzo-videotour .col-50 {background-color: #fff;}

.block-palazzo-news-home .card-news,
.block-palazzo-videotour .card-news {padding: 5%; background-color: #fff;margin: 5%; border: 12px solid #eeeeed; color: #fff; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;}

.block-palazzo-news-home .card-news h3,
.block-palazzo-videotour .card-news h3 {margin-bottom: 0.5rem;}

.block-palazzo-news-home .card-news p,
.block-palazzo-videotour .card-news p {margin-bottom: 0;}

.block-palazzo-news-home .card-news a,
.block-palazzo-videotour .card-news a{color: #fff;}


/* ------------------------------------------------------------------------- *
/* CATEGORY NEWS */
/* ------------------------------------------------------------------------- */
.search-results article img,
.category-news article img{border: 12px solid #fff; margin-bottom: 0;}

.search-results article h2,
.category-news article h2{font-size: 1.5rem;}

.search-results article p,
.category-news article p{display: none;}

 @media (max-width: 768px) {
   	.search-results article h2,
	.category-news article h2{font-size: 1.3rem;}
 }




/* ------------------------------------------------------------------------- *
/* SINGLE */
/* ------------------------------------------------------------------------- */


/*
.alignfull.related-post{

	width: 1105px;
	margin-right: calc(64.5% - 50vw);
	margin-left: calc(64.5% - 50vw);
	background: #fff;
}
*/

.grid.grid--category{
	background: #fff;
	padding: 1em 2em;
	max-width: 1450px;
}

/* ------------------------------------------------------------------------- *
/* FOOTER */
/* ------------------------------------------------------------------------- */

footer .grid{max-width: 1470px;}
footer .grid a{color: #fff;}
footer .grid a:hover{text-decoration: underline;}


/* WIDGET MENU */

footer .widget_nav_menu{margin-block-start:0;}

#menu-footer-menu-1,
#menu-footer-menu-1-eng,
#menu-footer-menu-2,
#menu-footer-menu-2-eng{margin-top: 0; padding-left:0; list-style-type: circle; color:#fff;}

#menu-footer-menu-1 li,
#menu-footer-menu-1-eng li,
#menu-footer-menu-2 li,
#menu-footer-menu-2-eng li{display: block;}

#menu-footer-menu-1 li::before,
#menu-footer-menu-1-eng li::before,
#menu-footer-menu-2 li::before,
#menu-footer-menu-2-eng li::before{display: none;}

#menu-footer-menu-1 li a,
#menu-footer-menu-1-eng li a,
#menu-footer-menu-2 li a,
#menu-footer-menu-2-eng li a{padding:0; text-transform: none; font-size:16px;}


@media (max-width: 768px) {

	#menu-footer-menu-1, 
	#menu-footer-menu-1-eng,
	#menu-footer-menu-2, 
	#menu-footer-menu-2-eng	 {transform:none; position:relative;top: 0; background-color: transparent; height: auto;}
	
}

/* ------------------------------------------------------------------------- *
/* 5 Helpers  */
/* ------------------------------------------------------------------------- */










