@font-face {
  font-family: "Inter";
  src: url("../font/Inter-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../font/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../font/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../font/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-blue: #00acca;
  --brand-orange: #ea5c25;
  --white: #f0e7e7;
  --black: #1e1e1e;
  --blue: #1f4e61;
  --transition: all 0.2s ease-in-out;
  --grey: #c0b4b4;
  --softGrey: #d9d9d9;
  --softBlue: #00acca57;
  --softOrange: #ea5c254f;
  --font-main: "Inter", sans-serif;
}

body {
  background-color: var(--white);
}

p,
a {
  font-family: var(--font-main);
  font-weight: 400;
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  font-weight: 700;
}

h3 {
  line-height: 40px;
}

.gap-default {
  gap: 16px;
}

a.link-into-text {
  color: var(--brand-orange);
  font-weight: 600;
  text-decoration: underline;
}

/* WHATSAPP */
.whatsapp-btn-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9;
  background: #3231314d;
  padding: 8px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.whatsapp-button {
  background: #9ef3af;
  padding: 8px;
  border-radius: 50px;
  display: block;
}

/* LAYOUT */
p {
  font-size: 18px;
}

.x-container {
  max-width: 1440px;
  margin: auto;
  padding: 0 32px;
}

.inner-container {
  max-width: 80%;
  margin: auto;
}

main#main {
  margin: 0;
}

.text-underline {
  text-decoration: underline;
}

a.small-cta {
  background: var(--black);
  width: fit-content;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 8px;
  font-size: 14px;
  transition: var(--transition);
  border: 1px solid var(--black);
}

a.small-cta:hover {
  background: var(--white);
  color: var(--black);
}

.bigger-y-spacing {
  padding-top: 120px;
  padding-bottom: 120px;
}

.standard-y-spacing {
  padding-top: 80px;
  padding-bottom: 80px;
}

.bg-standard-img {
  background-size: cover;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.special-cta-menu a {
  color: var(--brand-orange) !important;
  background: var(--softBlue);
  padding: 8px 24px;
  border: 1px solid var(--brand-orange);
  font-size: 18px;
  transition: var(--transition);
  width: fit-content;
  height: fit-content;
  white-space: nowrap;
  display: block;
  font-weight: 500;
  border-radius: 24px;
}

.special-cta-menu:hover a {
  background: var(--black);
  color: var(--white) !important;
  border-radius: 12px;
}

.bottom-nav a {
  padding: 4px 8px !important;
  border: 1px solid var(--black) !important;
  transition: var(--transition);
  background: transparent;
}

.current_page_item a,
.bottom-nav a:hover {
  background: var(--softBlue);
  border: 1px solid var(--brand-orange) !important;
}

.standard-cta,
.reverse-cta {
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 8px 24px;
  border: 1px solid var(--black);
  font-size: 18px;
  transition: var(--transition);
  width: fit-content;
  height: fit-content;
  white-space: nowrap;
  display: block;
  font-weight: 500;
  border-radius: 12px;
}

.standard-cta:hover {
  background: var(--black);
  color: var(--white) !important;
}

.reverse-cta {
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--white);
}

.reverse-cta:hover {
  background: var(--black);
  color: var(--white);
}

.standard-cta:hover svg path {
  fill: var(--black);
}

.title-white,
.text-white {
  color: var(--white);
}

h2 {
  font-size: 36px;
}

.overlay {
  background-color: #1d1d1d85;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
}

.x-container.position-relative {
  z-index: 1;
}

.obj-fit-cover-top {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
}

.obj-fit-cover-center {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.obj-fit-contain-center {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.splide__pagination {
  padding-left: 0;
}

nav.news-pagination {
  padding-top: 80px;
  display: flex;
  gap: 54px;
  align-items: center;
  justify-content: end;
}

ul.news-pagination__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex !important;
  gap: 16px;
  align-items: center;
}

span.page-numbers.current svg rect {
  fill: var(--brand-blue);
}

.news-pagination__meta {
  font-size: 18px;
  font-weight: 700;
}

.pagination-arrow--prev svg {
  transform: rotate(180deg);
}

li.news-pagination__item a svg:hover path {
  fill: var(--brand-blue);
}

li.news-pagination__item a svg {
  transition: var(--transition);
}

/* MENU */
header#header {
  position: fixed;
  z-index: 9;
  transition: var(--transition);
  top: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  margin: auto;
  background-color: var(--white);
}

ul.offcanvas-menu a {
  font-size: 24px !important;
}

.upper-nav {
  align-items: center;
}

button.menu-mobile-toggle {
  background: var(--softBlue);
  border: 1px solid var(--brand-orange);
  border-radius: 4px;
  color: var(--brand-orange);
}

ul.navbar-nav a {
  border-radius: 24px;
  padding: 0px 8px;
  border: 1px solid transparent;
  transition: var(--transition);
}

header#header .offcanvas-body ul.navbar-nav a {
  color: var(--white);
  line-height: 32px;
}

hr.small-divider {
  width: 100%;
  margin: 8px 0 16px !important;
}

header#header .current-menu-item a,
header#header ul.navbar-nav a:hover {
  color: var(--black) !important;
  border-radius: 12px;
}

.navbar-brand img {
  height: 80px;
  transition: var(--transition);
}

.menu-item-has-children {
  position: relative;
  overflow: visible; /* IMPORTANT */
}

.cta-menu-btn.cta-menu-desktop ul:not(.lang-menu ul) {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  gap: 16px;
  align-items: center;
}

header#header li {
  margin-bottom: 0;
}

.cta-menu-btn.cta-menu-desktop ul a {
  font-size: 16px;
  color: var(--black);
}

.cta-menu-btn.cta-menu-desktop {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 16px;
}

.dropdown.lang-menu .dropdown-toggle {
  background: transparent;
  color: var(--black);
  border: none;
  box-shadow: none;
}

.dropdown.lang-menu .dropdown-toggle img {
  margin-right: 6px;
}

.upper-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.pll-parent-menu-item.menu-item-has-children:hover > .sub-menu {
  right: 32px;
  display: flex;
  align-items: baseline;
  z-index: 99999 !important;
  top: 82px;
  left: unset;
  min-width: fit-content;
  gap: 8px;
  background: transparent;
  box-shadow: none;
}

/* HOVER BRIDGE (invisible zone under the parent item) */
.menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 24px; /* same as your desired gap */
  background: transparent;
}

/* submenu */
.menu-item-has-children > .sub-menu {
  position: absolute;
  top: calc(100% + 24px); /* keep your visual gap */
  left: 0;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);

  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

/* your submenu styling */
.sub-menu {
  min-width: 280px;
  padding: 24px 8px;
  background: var(--white);
  list-style-type: none;
  border-radius: 4px;
  margin-top: 0; /* IMPORTANT */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* show on hover (and keyboard) */
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

ul.sub-menu li a {
  color: var(--brand-blue);
  font-size: 18px;
}

ul.navbar-nav a {
  color: var(--black);
  text-transform: initial;
  font-size: 18px;
  font-weight: 400;
  transition: var(--transition);
}

ul.navbar-nav li:not(.menu-item-has-children) svg {
  opacity: 0;
  transition: var(--transition);
  width: 0;
}

li.menu-item-has-children > a > svg {
  opacity: 1;
}

ul.navbar-nav li:not(.menu-item-has-children):hover svg,
li.current-menu-item:not(.menu-item-has-children) > a svg {
  opacity: 1;
  width: 14px;
}

ul.navbar-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-item-has-children svg {
  transform: rotate(90deg);
  height: 12px;
}

header#header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 32px;
}

ul.navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.mobile-menu {
  display: none;
}

ul.offcanvas-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.button-close {
  background: transparent;
  border: none;
}

.hambuger-menu-icon {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

button.menu-mobile-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  font-family: var(--font-main);
  font-size: 22px;
}

.hambuger-menu-icon span.line {
  width: 40px;
  height: 1px;
  background: var(--brand-orange);
}

button.button-close-offcanvas-menu {
  background: transparent;
  border: none;
  text-transform: uppercase;
  padding: 0;
  width: fit-content;
  display: flex;
  gap: 4px;
  align-items: center;
}

.offcanvas-menu-icon-close span.line {
  width: 100%;
  height: 4px;
  background: var(--brand-orange);
  position: absolute;
}

.offcanvas-menu-icon-close {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  width: 40px;
}

button.button-close-offcanvas-menu {
  position: absolute;
  right: 16px;
  top: 32px;
  color: var(--white);
  z-index: 9;
}

.offcanvas-menu-icon-close span.line.line-3 {
  transform: rotate(45deg);
}

.offcanvas-menu-icon-close span.line.line-1 {
  transform: rotate(-45deg);
}

div#offcanvasMenu {
  width: calc(100vw - 64px);
  border: none;
  background-color: var(--brand-blue);
  border-radius: 16px;
  height: fit-content;
  transition: all 0.2s ease-in;
  top: calc(8px + 72px + 32px);
  left: 32px;
  right: 32px;
}

.offcanvas-body {
  padding: 24px 16px;
  display: flex;
  overflow-x: hidden;
  flex-direction: column;
  align-items: start;
}

.offcavvas-sub.body {
  height: 100%;
  overflow-y: auto;
}

.menu-decoration-bottom {
  bottom: 16px;
}

.menu-decoration-top {
  top: 16px;
}

/* STANDARD SECTION */
section.standard-section {
  margin-bottom: 40px;
  padding: 120px 0;
}

section.standard-section p.section-subtitle {
  max-width: 600px;
}

.standard-section .section-content {
  gap: 32px;
  display: flex;
  max-width: 80%;
  margin: auto;
}

.rounded-cta-hero-home {
  background-color: var(--brand-orange);
  width: 62px;
  height: 62px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 62px;
  margin: auto;
  left: 0;
  right: 0;
}

/* STANDARD SECTION VARIANT */
.standard-section-variant {
  margin: 80px 0 !important;
}

.standard-section-variant .section-content {
  max-width: 70%;
}

/* FOOTER */
footer#footer {
  background-color: var(--black);
  color: var(--white);
  padding: 40px 0 120px 0;
}

footer#footer a {
  color: var(--white);
  transition: all 0.3s ease;
}

footer#footer a:hover {
  opacity: 0.8;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
}

.footer-col.col-first {
  width: 30%;
  justify-content: space-between;
}

p.footer-disclaimer a {
  text-decoration: underline;
}

p.footer-disclaimer {
  font-size: 14px;
}

.footer-col h4 {
  font-size: 18px;
  margin: 0;
}

.credits {
  padding: 24px 0 0;
}

.credits p {
  font-size: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-col ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  display: flex;
  align-items: center;
  gap: 8px;
}

ul.social-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

li.legal-notice {
  padding-top: 40px;
}

li.social-links {
  padding-top: 12px;
}

#footer p {
  margin-top: 0;
}

hr.divider {
  margin: 0;
}

li.opening-hours {
  margin-top: 16px;
}

li.opening-hours h5 {
  text-transform: uppercase;
  font-size: 14px;
}

li.opening-hours ul {
  gap: 4px;
  font-size: 14px;
}

li.menu-item.wpml-ls-item ul.sub-menu {
  min-width: fit-content;
  padding: 0;
}

li.menu-item.wpml-ls-item ul.sub-menu li {
  width: fit-content;
}

li.menu-item.wpml-ls-item ul.sub-menu li a {
  padding: 12px;
}

.error404.not-found .error404-hero {
  min-height: 100vh;
}

.extra-menu-wrapper {
  gap: 24px;
}

.footer-sede h5 {
  width: 100%;
}

.footer-sede {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

ul.footer-sede-list {
  margin: 0;
  list-style-type: none;
}

ul.footer-sede-list h6 {
  font-size: 18px;
  margin-bottom: 8px !important;
}

#footer .menu-item a[aria-current="page"] {
  color: var(--white);
  opacity: 0.7;
}

.link-rapidi-menu .current_page_item a {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 8px;
}

/* WHATSAPP CONTACT BTN WIDGET */
.whatsapp-btn-container {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 999;
}

.whatsapp-btn-container button {
  border: none;
}

.back-to-all {
  position: fixed;
  top: 110px;
  z-index: 99;
}

.back-to-all a {
  border-radius: 38px;
}

.back-to-all a:hover svg path {
  fill: var(--black);
}

.back-to-all a svg {
  transform: rotate(180deg);
}

/* MAPS */
section#maps-frame {
  padding: 80px 0;
}

.iframe-map iframe {
  width: 100%;
  border-radius: 16px;
}

section#maps-frame .x-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.smaller-w {
  max-width: 80%;
  margin: auto;
}

/* FAQ SECTION */
section#faq-section {
  padding-bottom: 80px;
}

section#faq-section .x-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

h3.accordion-header button {
  font-size: 22px;
  font-weight: 600;
  background: var(--softBlue);
  border: 1px solid var(--brand-orange);
  border-radius: 24px !important;
}

div#faqsAccordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 1024px;
  margin: auto;
}

.accordion-item {
  background: transparent;
}

.accordion-button:not(.collapsed) {
  background-color: var(--softOrange);
  box-shadow: none;
}

section#ancona-section img.section-img {
  border-radius: 240px;
  width: 60%;
  object-fit: cover !important;
  height: 540px;
  transform: scale(1.15) translateX(18%);
  transform-origin: center;
}

.col-ancona-text {
  width: 40%;
  padding-left: 120px;
}

section#ancona-section {
  background: var(--softBlue);
  margin-top: 120px;
  margin-bottom: 120px;
}

#carosello-rooms {
  padding: 80px 0;
  padding-bottom: 40px;
}

/* ROOMS */
.rooms-archive {
  gap: 40px;
  row-gap: 40px;
}

article.room-card {
  width: calc(50% - 20px);
  background: var(--softBlue);
  border-radius: 24px;
  overflow: hidden;
}

.room_card-heading {
  position: relative;
  height: 340px;
}

.room_card-heading img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room_card-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 9;
  color: var(--white);
}

.room_card-heading::after {
  content: "";
  position: absolute;
  background: linear-gradient(
    180deg,
    rgba(29, 29, 29, 64%) 100%,
    rgba(29, 29, 29, 10%) 0%
  );
  width: 100%;
  height: 100%;
  display: block;
  left: 0;
  top: 0;
}

.room_card-meta {
  padding: 24px;
}

.room_card-excerpt {
  font-size: 18px;
}

.splide__slide article.room-card {
  width: 100%;
}

.rooms-splide .splide__slide .room-card {
  transition: var(--transition);
  transform: scale(0.9);
  filter: blur(2px);
}

button.splide__arrow.splide__arrow--prev {
  transform: rotate(180deg);
}

.rooms-splide .splide__slide.is-active .room-card {
  transform: scale(1.05);
  opacity: 1;
  filter: blur(0);
}

.rooms-splide .splide__track {
  padding-top: 40px;
  padding-bottom: 40px;
}

button.splide__pagination__page {
  background: var(--brand-blue);
  border: none;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  transition: var(--transition);
}

button.splide__pagination__page.is-active {
  background: var(--brand-orange);
  width: 40px;
}

ul.splide__pagination {
  display: flex;
  gap: 8px;
}

.splide__arrows button.splide__arrow {
  background: var(--brand-orange);
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  border: none;
  transition: var(--transition);
}

.splide__arrows button.splide__arrow:hover {
  background: var(--brand-blue);
}

.rooms-splide {
  position: relative;
}

.splide__arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  margin: auto;
  width: calc(80%);
}

.room_card-bottom-people {
  gap: 4px;
  font-size: 18px;
  font-weight: 600;
}

body.single-room .rooms-splide {
  padding-bottom: 80px;
}

.gallery-single-room-section {
  background-color: var(--softOrange);
  margin: 0 0 80px;
  padding: 80px 0;
  margin-bottom: 0;
}

.single-room-gallery .splide__track {
  overflow: hidden;
}

.single-room-gallery .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.single-room-gallery .splide__slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.single-room-main-content {
  padding: 80px 0;
  padding-bottom: 0;
}

.single-room-main-content .content > * {
  font-size: 22px;
}

.image-room-slide-single img {
  max-height: 600px;
  border-radius: 16px;
}

.gallery-single-room-section .rooms-splide-controls {
  padding-top: 32px;
}

.single-room-main-content hr {
  margin: 0;
}

.meta-into-single-room {
  gap: 24px;
  height: fit-content;
  background: var(--softBlue);
  padding: 40px;
  border-radius: 16px;
  width: fit-content;
  flex-direction: column;
  min-width: 300px;
  justify-content: flex-start;
}

.price-box p {
  font-size: 24px;
  font-weight: 600;
}

.price-box .room_card-bottom-people {
  font-size: 22px;
}

.meta-into-single-room {
  background: var(--softBlue);
  padding: 24px;
  border-radius: 16px;
  width: fit-content;
}

section.single-room-main-content .inner-container {
  display: flex;
  gap: 40px;
}

section.single-room-main-content .inner-container h2 {
  font-size: 36px;
}

.block-meta .label {
  color: var(--brand-orange);
  font-size: 14px;
  font-weight: 600;
  text-transform: unset;
}

section#vantaggi-conerhome {
  padding: 80px 0;
  margin: 80px 0 0;
  background: #dbd4d14f;
}

.services-list ul {
  padding-left: 16px;
  list-style-type: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.servizi-list-wrapper-all {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.services-list {
  width: calc((100% - 32px) / 2);
}

.lista-wrapper > h2 {
  width: 100%;
  margin-bottom: 24px;
}

.services-list h3 {
  background: var(--softBlue);
  padding: 4px;
  padding-left: 8px;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 16px;
  border-radius: 16px;
}

.services-list h4 {
  font-size: 18px;
  margin: 0;
}

section#intro-section {
  background-color: var(--softOrange);
  margin-bottom: 80px;
}

section#intro-section .content-section {
  display: flex;
  align-items: center;
  gap: 80px;
}

section#intro-section .content-section h2 {
  min-width: 300px;
}

a.standard-cta {
  background: var(--brand-orange);
  color: white;
}

.wrapper-row-gallery {
  gap: 80px;
}

.spazi-splide {
  width: 60%;
}

.text-container {
  width: calc(40% - 80px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spazi-splide li {
  border-radius: 16px;
  overflow: hidden;
}

.spazi-splide li img {
  width: 100%;
  object-fit: cover;
  height: 520px;
}

.area-verde-wrapper img,
.area-fitness-wrapper img {
  border-radius: 16px;
}

.area-verde-wrapper,
.area-fitness-wrapper {
  gap: 80px;
}

.spazi-content hr {
  margin: 32px 0;
}

.spazi-content h2 {
  margin-bottom: 24px !important;
}

body.page-template-template-spazi .rooms-splide {
  margin-bottom: 80px;
}

.special-cta-menu a {
  background: var(--brand-orange);
  color: var(--white) !important;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--brand-orange);
  transition: var(--transition);
}

.special-cta-menu a:hover {
  background: var(--black);
  color: var(--brand-blue) !important;
  border: 1px solid var(--brand-blue);
}

header#header {
  overflow: inherit;
}

.footer-col ul .current-menu-item a {
  text-decoration: underline;
  background: transparent;
  border: none;
  padding: 0;
  border: none !important;
}

/* RESPONSIVE */
@media (max-width: 1191px) {
  .footer-meta {
    flex-wrap: wrap;
  }

  .footer-col {
    width: calc(50% - 24px);
  }

  .footer-col.col-first {
    order: 1;
    min-height: 240px;
  }

  .footer-col.col-third {
    order: 2;
  }

  .footer-col.col-second {
    margin-top: 60px;
    order: 3;
  }

  .footer-col.col-fourth {
    order: 4;
  }

  header#header nav {
    padding: 8px;
  }

  .col-ancona-text {
    padding-left: 60px;
    padding-right: 20px;
  }

  .inner-container {
    max-width: 100%;
  }
}

@media (max-width: 1126px) {
  ul.navbar-nav {
    gap: 16px;
  }

  ul.navbar-nav a {
    font-size: 16px;
  }
}

@media (max-width: 1112px) {
  .area-verde-wrapper,
  .area-fitness-wrapper {
    gap: 40px;
  }
}

@media (max-width: 1032px) {
  section.conerhome .section-content {
    max-width: 80%;
  }

  .menu-item-has-children > .sub-menu li a {
    color: var(--brand-blue);
  }

  .menu-item-has-children .sub-menu li a {
    font-size: 18px !important;
    line-height: auto;
    color: var(--white);
  }

  .menu-item-has-children::after {
    height: 0;
  }

  .menu-item-has-children > .sub-menu {
    position: relative;
    background-color: transparent;
    padding: 16px;
    transform: none;
  }

  .menu-item-has-children > .sub-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;

    transition: max-height 300ms ease, opacity 200ms ease, padding 300ms ease;
  }

  .menu-item-has-children.show > .sub-menu {
    max-height: 600px;
    opacity: 1;
    padding: 8px;
    pointer-events: auto;
    visibility: visible;
    padding-top: 24px;
  }

  li.menu-item.wpml-ls-item span.menu-icon.toggle-down {
    display: none;
  }

  li.menu-item.wpml-ls-item > a {
    background-color: var(--white);
    padding: 12px;
    width: fit-content;
    min-height: 40px;
    max-height: 40px;
    border-radius: 8px;
  }

  li.menu-item.wpml-ls-item > a > span.menu-text {
    height: 27px;
    display: flex;
    align-items: center;
  }

  li.menu-item.wpml-ls-item {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  li.menu-item.wpml-ls-item ul.sub-menu {
    display: block;
    min-height: 40px;
    width: fit-content;
    visibility: visible !important;
    overflow: visible;
    opacity: 1;
    background-color: var(--white);
    border-radius: 8px;
  }

  li.menu-item.wpml-ls-item ul.sub-menu li {
    width: fit-content;
  }

  li.menu-item.wpml-ls-item ul.sub-menu li a {
    padding: 12px;
  }

  /* make the current language row align nicely */
  li.wpml-ls-current-language > a.menu-link .menu-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  /* add the bullet svg */
  li.wpml-ls-current-language > a.menu-link .menu-text::before {
    content: "";
    width: 18px; /* adjust */
    height: 18px; /* adjust */
    display: inline-block;

    background-image: url("/wp-content/themes/conerhome/assets/images/ico-bullet.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  header#header nav {
    padding: 16px;
  }

  div#faqsAccordion {
    max-width: 90%;
  }

  section#intro-section .content-section {
    gap: 40px;
    align-items: start;
  }

  .wrapper-row-gallery {
    gap: 40px;
  }

  .wrapper-row-gallery {
    gap: 40px;
    justify-content: space-between;
  }

  .text-container {
    width: calc(40% - 40px);
  }

  .area-verde-wrapper,
  .area-fitness-wrapper {
    gap: 40px;
  }

  .area-verde-wrapper img,
  .area-fitness-wrapper img {
    width: 60%;
  }

  .special-cta-menu a,
  ul.navbar-nav a {
    padding: 8px;
    font-size: 14px !important;
    width: fit-content;
  }

  ul.navbar-nav {
    gap: 8px;
  }
}

@media (max-width: 991px) {
  section.biglietti .section-content {
    max-width: 700px;
    padding: 120px 0;
  }

  h2 {
    font-size: 32px;
  }

  .box-office-cta {
    display: none;
  }

  .box-office-cta-mobile {
    display: block;
  }

  .box-office-cta-mobile {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9;
  }

  .number-block span.big-number {
    font-size: 54px;
  }

  .number-block span.small-word {
    font-size: 18px;
  }

  .number-block p {
    font-size: 16px;
  }

  #intro-section .right-col {
    padding: 12px;
  }

  .slider-wrapper {
    padding: 12px;
  }

  .col-ancona-text {
    width: 45%;
  }

  section#ancona-section img.section-img {
    width: 55%;
    min-height: 340px;
  }

  #carosello-rooms {
    padding-bottom: 40px;
  }

  .spazi-splide li img {
    height: 420px;
  }

  .mobile-menu {
    display: block;
  }

  .cta-menu-btn.cta-menu-desktop,
  .bottom-nav,
  hr.small-divider {
    display: none;
  }

  .cta-menu.cta-menu-mobile {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .cta-menu.cta-menu-mobile a {
    color: var(--black);
  }

  .dropdown.lang-menu .dropdown-toggle {
    background: var(--white);
  }
}

@media (max-width: 880px) {
  h2 {
    font-size: 28px;
  }

  .page-title {
    font-size: 54px;
  }

  #intro-section .right-col {
    padding: 16px;
    border-radius: 16px;
  }

  .slider-wrapper {
    padding: 16px;
    margin-top: 80px;
  }

  #intro-section .x-container {
    flex-direction: column;
  }

  .mid-col {
    width: 100%;
  }

  section#intro-section {
    padding: 60px 0;
  }

  .standard-section-variant .section-content {
    max-width: 100%;
  }

  .smaller-w {
    max-width: 90%;
  }

  .meta-into-single-room {
    min-width: 260px;
  }

  .services-list {
    margin-bottom: 32px;
    width: 100%;
  }

  section#intro-section .content-section {
    gap: 16px;
    flex-direction: column;
    align-items: baseline;
  }

  .wrapper-row-gallery {
    flex-direction: column;
  }

  .text-container {
    width: 100%;
  }

  .spazi-splide li img {
    height: 320px;
  }

  .spazi-splide {
    width: 100%;
  }

  section#ancona-section img.section-img {
    width: 70%;
  }

  section#ancona-section img.section-img {
    transform: scale(1.15) translateX(11%);
  }
}

@media (max-width: 776px) {
  p {
    font-size: 16px;
  }

  section#maps-frame .x-container {
    gap: 24px;
  }

  header#header {
    border-radius: 16px;
  }

  h2 {
    font-size: 28px;
  }

  .x-container {
    padding: 0 16px;
  }

  nav.news-pagination {
    justify-content: space-between;
  }

  header#header {
    top: 8px;
  }

  .footer-logo img {
    height: 120px;
  }

  .credits {
    gap: 16px;
  }

  .credits p {
    text-align: center;
  }

  .whatsapp-btn-container {
    bottom: 16px;
    right: 8px;
  }

  .whatsapp-button svg {
    width: 32px;
    height: 32px;
  }

  header#header {
    width: calc(100vw - 32px);
  }

  div#offcanvasMenu {
    left: 16px;
    right: 16px;
    margin: 0 auto;
    width: calc(100vw - 32px);
  }

  section#numbers .x-container {
    flex-direction: column;
    gap: 32px;
  }

  section#numbers {
    padding: 80px 0;
  }

  .navbar-brand img {
    height: 74px;
  }

  div#faqsAccordion {
    max-width: 100%;
  }

  h3.accordion-header button {
    font-size: 18px;
    border-radius: 16px !important;
    padding: 12px 12px;
  }

  .col-ancona-text {
    padding-left: 32px;
    width: 40%;
  }

  section#ancona-section img.section-img {
    width: 60%;
  }

  article.room-card {
    width: 100%;
  }

  .room_card-heading {
    height: 290px;
  }

  .room_card-excerpt {
    font-size: 16px;
  }

  .room_card-title {
    left: 16px;
  }

  .room_card-meta {
    padding: 16px;
  }

  .rooms-splide .splide__slide .room-card {
    transform: scale(0.95);
  }

  .rooms-splide .splide__slide.is-active .room-card {
    transform: scale(1);
  }

  section.single-room-main-content .inner-container {
    flex-direction: column;
  }

  .meta-into-single-room {
    width: 100%;
  }

  .servizi-list-wrapper-all {
    display: flex;
    width: 100%;
    gap: 24px;
    overflow: auto;
  }

  .services-list {
    margin-bottom: 16px;
    width: auto;
    flex: 0 0 auto;
  }

  .area-verde-wrapper,
  .area-fitness-wrapper {
    flex-direction: column;
  }

  .area-verde-wrapper img,
  .area-fitness-wrapper img {
    width: 80%;
  }

  .area-fitness-wrapper {
    flex-direction: column-reverse;
  }

  .area-verde-wrapper img,
  .area-fitness-wrapper img {
    height: 320px;
  }

  body.page-template-template-spazi section#carosello-rooms {
    padding-top: 20px;
  }

  .spazi-content {
    padding-bottom: 20px;
  }

  .footer-col.col-first {
    min-height: 320px;
  }

  p.footer-disclaimer {
    font-size: 12px;
  }
}

@media (max-width: 669px) {
  .smaller-w {
    max-width: 100%;
    padding: 0 16px;
  }

  .logo-footer-link {
    text-align: center;
  }

  .footer-col.col-first {
    width: 100%;
    min-height: auto;
    gap: 80px;
  }

  .disclaimer-box {
    border-bottom: 1px solid var(--brand-orange);
    padding-bottom: 32px;
  }

  .footer-meta {
    gap: 40px;
  }

  header#header nav {
    padding: 8px 8px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col.col-first {
    order: 1;
  }

  .footer-col.col-second {
    margin-top: 0;
    order: 2;
  }

  .footer-col.col-third {
    order: 3;
  }

  .footer-col.col-fourth {
    order: 4;
  }

  .standard-cta,
  .reverse-cta {
    font-size: 14px;
    padding: 6px 24px;
  }

  .bigger-y-spacing {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .page-title {
    font-size: 40px;
    line-height: 36px;
  }

  .cta-menu-mobile .cta-menu {
    display: block;
  }

  .cta-menu-mobile {
    padding: 0;
    list-style-type: none;
    margin-top: 40px;
  }

  .number-block {
    padding: 0 36px;
  }

  .standard-section .section-content {
    max-width: 100%;
  }

  ul.footer-sede-list {
    padding-left: 0;
  }

  footer#footer a {
    font-size: 16px;
  }

  .back-to-all {
    top: unset;
    bottom: 32px;
  }

  .back-to-all a {
    padding: 8px 12px;
  }

  .offcanvas-body a {
    color: var(--black);
  }

  ul.navbar-nav a {
    padding: 0;
  }

  .bottom-offcanvas-menu a {
    font-size: 20px;
  }

  .offcanvas-body li.special-cta-menu {
    display: none;
  }

  .offcanvas-body a {
    width: fit-content;
    padding: 4px 8px !important;
  }

  .cta-menu-mobile {
    margin-top: 0;
  }

  .offcanvas-body .dropdown-toggle {
    font-size: 20px;
  }

  hr.offcanvas-divider {
    border: 1px solid var(--brand-orange) !important;
    margin: 40px 0;
    width: 100%;
  }

  button.menu-mobile-toggle {
    font-size: 16px;
  }

  section#ancona-section .wrapper-custom-row {
    flex-direction: column-reverse;
    padding: 0 0 32px;
    gap: 24px;
  }

  section#ancona-section img.section-img {
    width: 100%;
    border-radius: 0;
    height: 280px;
  }

  .col-ancona-text {
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
  }

  #carosello-rooms {
    padding-bottom: 0;
  }

  .splide__arrows {
    width: calc(100% - 32px);
  }

  .splide__arrows button.splide__arrow {
    width: 54px;
    height: 40px;
  }

  .rooms-splide.x-container {
    padding: 0;
  }

  section#ancona-section {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .col-ancona-text {
    margin-top: 31px;
  }

  section#ancona-section img.section-img {
    border-radius: 16px;
  }

  .spazi-splide {
    margin-left: -40px;
  }

  .services-list h3 {
    font-size: 22px;
  }

  .services-list {
    margin-bottom: 16px;
  }

  .area-verde-wrapper img,
  .area-fitness-wrapper img {
    width: 100%;
  }

  .area-verde-wrapper img,
  .area-fitness-wrapper img {
    height: 280px;
  }
}

@media (max-width: 466px) {
  .navbar-brand img {
    height: 62px;
  }
}

@media (max-width: 398px) {
  .btn-close-widget-wa {
    width: 64px;
    height: 64px;
    bottom: -48px;
    right: 0;
  }

  .btn-close-widget-wa {
    bottom: -48px;
    right: 0;
  }

  .whatsapp-btn-container.is-open .phone-number-container {
    transform: translate(8px, -40px) scale(1);
  }

  .navbar-brand img {
    height: 48px;
  }

  div#offcanvasMenu {
    top: 80px;
  }
}
