/*
Theme Name: Castello di Gaeta
Author: KMSTUDIO
Version: 1.0
*/

:root {
    --site--first--color: #ED1C24;
    --site--font--size--default: 20px;
}

html { font-size: var(--site--font--size--default); }
body {
	background-color: #fff;
	color: #333;
	font-family: "Inter", serif;
	font-weight: 400;
	padding: 0;
	margin: 0;
}
body.no-scroll {
	overflow: hidden;
}

a {
    color: var(--site--first--color);
    text-decoration: none;
}
a:hover {
    color: #000;
    text-decoration: none;
}

svg {
    max-width: 100%;
    height: auto;
}
strong, b {
    font-weight: 700;
}

hr {
	margin: 7rem 0;
	color: #000;
	border-color: #000;
	opacity: 1;
}


/*--- HEADER */
header.layout-row {
    margin: 2rem 0;
}
header.layout-row figure.logo {
    margin: 0;
    width: 320px;
}
header.layout-row nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
header.layout-row nav ul li {
    margin: 0 1.3rem 0 0;
    padding: 0;
    list-style-type: none;
    font-size: 1.1rem;
    font-weight: 700;
}
header.layout-row nav ul li:last-child {
    margin: 0;
}
header.layout-row nav ul li a {
    color: #000;
}
header.layout-row nav ul li a:hover,
header.layout-row nav ul li.current-menu-item a {
    color: #000;
    text-decoration: underline;
}
header.layout-row hr {
	margin: 1.5rem 0 0.5rem;
	color: #000;
	border-color: #000;
	opacity: 1;
}
header.layout-row .inner {
    width: 100%;
}
header.layout-row .site-settings {
    
}
header.layout-row .site-settings .single {
    margin-right: 1.5rem;
}
header.layout-row .site-settings .single:last-child {
    margin-right: 0;
}
header.layout-row .site-settings .single a {
    display: flex;
    align-items: center;
    color: #000;
}
header.layout-row .site-settings .single a > * {
    
}
header.layout-row .site-settings .single a:hover > * {
    color: #000;
    text-decoration: underline;
}
header.layout-row .site-settings .single div {
    display: flex;
    align-items: center;
}
header.layout-row .site-settings .single .primary svg {
    height: 1rem;
}
header.layout-row .site-settings .single .primary strong {
	font-size: 1rem;
}
header.layout-row .site-settings .single svg {
    width: auto;
    height: 0.8rem;
    margin-right: 0.5rem;
}
header.layout-row .site-settings .single span {
    display: block;
    font-size: 0.8rem;
}
header.layout-row .site-settings .single strong {
    display: block;
    font-size: 0.8rem;
}
header.layout-row .site-settings .char-size.single {
    display: flex;
    align-items: center;
    
}
header.layout-row .site-settings .char-size.single span {
    margin-right: 0.5rem;
}
header.layout-row .site-settings .char-size.single .font-select > a {
    display: block;
    font-weight: 600;
    margin-right: 0.2rem;
    padding: 0.2rem 0.5rem;
    background-color: #fff;
    border: 3px solid transparent;
    color: #000;
}
header.layout-row .site-settings .char-size.single .font-select > a:last-child {
    margin-right: 0;
}
header.layout-row .site-settings .char-size.single .font-select > a.selected {
    cursor: default;
    border: 3px solid #000;
}
header.layout-row .site-settings .char-size.single .font-select > a.selected.loading {
    animation-duration: 300ms;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: opacity-anim;
    background-color: #000;
    color: #fff;
}
header.layout-row .site-settings .char-size.single .font-select > a:hover {
    border: 3px solid #000;
}
header.layout-row ul.language-switcher {
    margin: 0;
    padding: 0;
    list-style-type: none;
	white-space: nowrap;
}
header.layout-row ul.language-switcher li {
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-transform: uppercase;
}
header.layout-row ul.language-switcher li::before {
    content: "/";
}
header.layout-row ul.language-switcher li:first-child:before {
    content: "";
}
header.layout-row ul.language-switcher li a {
    display: inline !important;
    font-weight: 400;
	padding: 0.6rem;
	color: #000;
}
header.layout-row ul.language-switcher li a.active {
    font-weight: 600;
	color: var(--site--first--color);
}
header.layout-row .hamburger {
    display: none;
	width: 3rem;
    cursor: pointer;
    margin-left: 2rem;
}
header.layout-row .hamburger span {
	display: block;
	width: 2rem;
	height: 4px;
	background-color: var(--site--first--color);
	margin-bottom: 0.4rem;
	transition: transform ease-in-out 400ms,
				background ease-in-out 400ms,
				opacity ease-in-out 400ms;
}
header.layout-row .hamburger span:last-child {
    margin-bottom: 0;
}
header.layout-row .hamburger:hover span {
    background-color: #000;
}


/*--- MENU RESPONSIVE */
.menu-responsive {
    position: fixed;
	top: 0;
    padding: 0 0 5rem;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow-y: auto;
    background-color: #000;
    transform: translateY(-100%);
    transition: transform 300ms ease-in-out,
                opacity 300ms ease-in-out;
    opacity: 0;
}
.menu-responsive.expanded {
    transform: translateY(0);
    opacity: 1;
}
.menu-responsive .menu-close-responsive {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    transition: color ease-in-out 300ms;
}
.menu-responsive .menu-close-responsive:hover {
    color: var(--site--first--color);
}
.menu-responsive nav:first-of-type {
    margin-top: 7rem;
}
.menu-responsive nav ul {
    margin: 0.4rem 0 1.5rem 0;
    padding: 0;
    list-style-type: none;
}
.menu-responsive nav.socioaip-menu ul {
    
}
.menu-responsive nav ul li {
    margin: 0 0 0.2rem 0;
    padding: 0;
    list-style-type: none;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
	line-height: 1.3;
}
.menu-responsive nav ul li:last-child {
	margin-bottom: 0;
}
.menu-responsive nav ul li a {
	position: relative;
    color: #fff;
    text-decoration: none;
}
.menu-responsive nav ul li.menu-item-has-children > a {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--site--first--color);
	cursor: default;
}
.menu-responsive nav ul li.menu-item-has-children > a:hover {
	color: var(--site--first--color);
	text-decoration: none;
}
.menu-responsive nav.socioaip-menu ul li.menu-item-has-children > a {
    color: var(--site--second--color);
}
.menu-responsive nav ul li a:hover,
.menu-responsive nav ul li.current-menu-item a {
    color: var(--site--first--color);
}
.menu-responsive .own-socials {
    
}
.menu-responsive .own-socials ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.menu-responsive .own-socials ul li {
    margin: 0 0.3rem 0 0;
    padding: 0;
    list-style-type: none;
    font-size: 2rem;
}
.menu-responsive .own-socials ul li:last-child {
    margin: 0;
}
.menu-responsive .own-socials ul li a {
    color: #fff;
}
.menu-responsive .own-socials ul li a:hover {
    color: var(--site--first--color);
}


/*--- STILI GENERALI */
.breadcrumbs {
    margin-bottom: 3rem;
}
.breadcrumbs .current-position {
    margin-right: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
}
.breadcrumbs ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.breadcrumbs ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 0.8rem;
}
.breadcrumbs ul li::after {
    content: ">";
    margin: 0 0.3rem;
}
.breadcrumbs ul li:last-child::after {
    content: none;
}
.block-discover-our-tours {
    
}
.block-discover-our-tours figure.icon {
    width: 25rem;
    margin: 0 auto 3rem;
}
.block-discover-our-tours h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 3rem 0;
    padding: 0;
    color: #000;
}
.block-discover-our-tours h2 a:hover {
    color: var(--site--first--color);
	text-decoration: underline;
}
.block-discover-our-tours p {
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 8rem;
}
.block-discover-our-tours .icons {
    
}
.block-discover-our-tours .icons .single {
    text-align: center;
}
.block-discover-our-tours .icons .single figure {
    width: 5rem;
    margin: 0 auto 2rem;
}
.block-discover-our-tours .icons .single p {
    font-size: 1.5rem;
    font-weight: 700;
}
.block-discover-our-tours .find-out-more {
    margin: 0 0 0 0;
	text-align: center;
}
.block-discover-our-tours .find-out-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
}
.block-discover-our-tours .find-out-more a span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
}
.block-discover-our-tours .find-out-more a:hover span {
    text-decoration: underline;
}
.block-discover-our-tours .find-out-more a figure.arrow-right {
    width: 4rem;
    margin: 0;
}
.block-our-tours {
    
}
.block-our-tours header {
    
}
.block-our-tours header figure.icon {
    width: 6rem;
    margin: 0 auto 1.5rem;
}
.block-our-tours header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 5rem 0;
    padding: 0;
    color: #000;
}
.block-our-tours .list-tours {
    
}
.block-our-tours .list-tours > .row {
    --bs-gutter-x: 5rem;
}
.block-our-tours .list-tours .single {
    
}
.block-our-tours .list-tours .single h3 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 2rem 0;
    padding: 0;
    color: #000;
}
.block-our-tours .list-tours .single figure.image {
    margin: 0 0 2rem 0;
}
.block-our-tours .list-tours .single figure.image img {
    border-radius: 2rem;
}
.block-our-tours .list-tours .single .find-out-more {
    margin: 0 0 2rem 0;
}
.block-our-tours .list-tours .single .find-out-more a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}
.block-our-tours .list-tours .single .find-out-more a span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
}
.block-our-tours .list-tours .single .find-out-more a figure.arrow-right {
    width: 4rem;
    margin: 0;
}
.wordpress-container-editor {
	
}
.wordpress-container-editor h2 {
	font-size: 2.6rem;
	font-weight: 700;
	text-align: left;
	margin: 3rem 0 1.5rem 0;
	padding: 0;
	color: #000;
}
.wordpress-container-editor h3 {
	font-size: 2rem;
	font-weight: 700;
	text-align: left;
	margin: 2rem 0 1rem 0;
	padding: 0;
	color: #000;
}
.wordpress-container-editor h4 {
	font-size: 1.2rem;
	font-weight: 700;
	text-align: left;
	margin: 1.5rem 0 0.5rem 0;
	padding: 0;
	color: #000;
}
.wordpress-container-editor ul {
	margin: 0 0 0 1rem;
	padding: 0;
}
.wordpress-container-editor ul li {
	margin: 0 0 0.5rem 0;
	padding: 0;
}
iframe.iframe_gmaps {
	margin-bottom: 1rem;
}


/*--- HOME */
.home-intro {
    
}
.home-intro figure.image {
    margin: 0 0 2rem 0;
}
.home-intro figure.image img {
    border-radius: 2rem;
}
.home-intro h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 3rem 0;
    padding: 0;
    color: #000;
}
.home-intro figure.icon {
    width: 8rem;
    margin: 0 auto 3rem;
}
.home-intro p {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.4;
	margin: 0 0 5rem 0;
}
.home-intro .find-out-more {
    margin: 0 0 2rem 0;
	text-align: center;
}
.home-intro .find-out-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
}
.home-intro .find-out-more a span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
}
.home-intro .find-out-more a:hover span {
	text-decoration: underline;
}
.home-intro .find-out-more a figure.arrow-right {
    width: 4rem;
    margin: 0;
}


/*--- PAGE */
.default-page {
    margin: 5rem 0 3rem;
}
.default-page h1 {
	font-size: 3.5rem;
	font-weight: 700;
	text-align: left;
	margin: 0 0 5rem 0;
	padding: 0;
	color: #000;
}



/*--- FOOTER */
.logos-flex-wrapper {
    display: flex;
    justify-content: center; /* Centra il gruppo di loghi */
    align-items: center;     /* Allinea i loghi verticalmente al centro */
    flex-wrap: nowrap;       /* Desktop: tutti sulla stessa riga */
    gap: 40px;               /* Spazio uniforme tra i loghi */
    padding: 2rem 0;
    width: 100%;
	background-color: #fff;
}
.logos-flex-wrapper img {
    height: 70px;           /* Altezza fissa richiesta */
    width: auto;             /* La larghezza si adatta proporzionalmente */
    object-fit: contain;
    flex-shrink: 0;          /* Impedisce al browser di rimpicciolirli su desktop */
}
footer.layout-row {
    background-color: #000;
    /*padding: 3rem 1rem;*/
	padding: 0 0 3rem;
	margin-top: 6rem;
}
footer.layout-row .inner-footer {
	padding-top: 3rem;
}
body:not(.home) footer.layout-row {
    margin-top: 8rem;
}
footer.layout-row nav.main {
    margin-right: 4rem;
    padding-right: 4rem;
    border-right: 1px solid #fff;
}
footer.layout-row nav.main ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
footer.layout-row nav.main ul li {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
footer.layout-row nav.main ul li a {
    color: #fff;
}
footer.layout-row nav.main ul li a:hover {
    color: var(--site--first--color);
}
footer.layout-row .other-links {
    
}
footer.layout-row .other-links h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    padding: 0;
    color: #fff;
    line-height: 1.5;
}
footer.layout-row .other-links ul {
    margin: 0 0 1rem 0;
    padding: 0;
    list-style-type: none;
}
footer.layout-row .other-links ul li {
	position: relative;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 1.5rem 0 0;
    padding: 0;
    list-style-type: none;
}
footer.layout-row .other-links ul li::before {
	content: "-";
	position: absolute;
	color: #fff;
	top: 50%;
	transform: translateY(-50%);
	left: -1rem;
}
footer.layout-row .other-links ul li:first-child::before {
	content: none;
}
footer.layout-row .other-links ul li a {
    color: #fff;
}
footer.layout-row .other-links ul li a:hover {
    color: var(--site--first--color);
}
footer.layout-row .other-links ul li.w3c {
    width: 40px;
}
footer.layout-row .other-links ul li.w3c a svg {
    fill: #fff;
}
footer.layout-row .other-links ul li.w3c a:hover svg {
    fill: var(--site--first--color);
}
footer.layout-row .opening-hours-and-contacts {
	font-size: 0.8rem;
	color: #fff;
}

@keyframes opacity-anim {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.3;
    }
}