/* Conservative static-site fixes for the exported WordPress frontend. */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
iframe,
video,
object,
embed {
  max-width: 100%;
}

.mkd-wrapper,
.mkd-wrapper-inner,
.mkd-content,
.mkd-content-inner,
.mkd-container,
.mkd-full-width {
  width: 100%;
  max-width: 100%;
}

body.mkd-boxed .mkd-wrapper,
body.mkd-boxed .mkd-wrapper-inner,
body.mkd-paspartu-enabled .mkd-wrapper,
body.mkd-paspartu-enabled .mkd-wrapper-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mkd-title,
.mkd-title .mkd-title-holder,
.mkd-title .mkd-title-subtitle-holder,
.mkd-title .mkd-title-subtitle-holder-inner {
  max-width: 100%;
}

.mkd-title h1,
.mkd-title h1 span,
.mkd-title .mkd-title-text,
.mkd-title .mkd-page-title {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  font-size: clamp(28px, 5vw, 64px) !important;
  line-height: 1.12 !important;
}

@media (max-width: 768px) {
  .mkd-title h1,
  .mkd-title h1 span,
  .mkd-title .mkd-title-text,
  .mkd-title .mkd-page-title {
    font-size: clamp(24px, 8vw, 42px) !important;
  }

  .mkd-title .mkd-title-holder {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.mkd-smooth-transition-loader,
.mkd-page-loader,
.mkd-preload-background {
  pointer-events: none;
}

.mkd-smooth-transition-loader,
.mkd-page-loader {
  opacity: 0 !important;
  visibility: hidden !important;
}

.static-home-hero {
  position: relative;
  min-height: clamp(480px, 72vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #183d3a;
}

.static-home-hero__media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(14, 48, 45, 0.82), rgba(14, 48, 45, 0.36)), url("wp-content/uploads/2019/03/home-banner-fondazione-cetacea.jpg");
  background-size: cover;
  background-position: center;
}

.static-home-hero__content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 72px;
}

.static-home-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #54ddd1;
}

.static-home-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.static-home-hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.static-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.static-home-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid #54ddd1;
  color: #123532;
  background: #54ddd1;
  font-weight: 700;
  text-decoration: none;
}

.static-home-hero__actions a + a {
  color: #fff;
  background: transparent;
}

.fc-home-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f3538;
}

.fc-home-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  min-height: 360px;
  max-height: 620px;
}

.fc-home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.fc-home-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.fc-home-slide__banner,
.fc-home-slide__banner img {
  display: block;
  width: 100%;
  height: 100%;
}

.fc-home-slide__banner img {
  object-fit: contain;
  object-position: center;
  background: #0f3538;
}

.fc-home-slider__controls {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  padding: 18px 20px 20px;
  background: #313646;
}

.fc-home-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 2px solid #54ddd1;
  background: #54ddd1;
  color: #143230;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.fc-home-slider__button:hover {
  color: #143230;
  text-decoration: none;
}

.fc-home-slider__button--outline {
  background: rgba(20, 50, 48, 0.74);
  color: #fff;
}

.fc-home-slider__button--outline:hover {
  color: #fff;
}

.fc-home-slider__dots {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.fc-home-slider__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
}

.fc-home-slider__dots button.is-active {
  background: #fff;
}

.static-program-banner-link,
.static-program-banner {
  display: block;
  width: 100%;
  height: auto;
}

.static-home .mkd-page-header {
  position: relative;
  z-index: 20;
}

.static-home .mkd-page-header .mkd-menu-area {
  background: #fff !important;
}

.static-home .mkd-content {
  margin-top: 0 !important;
}

.static-home .mkd-full-width-inner {
  padding-bottom: 0 !important;
}

.static-home .mkd-counter-holder .mkd-counter {
  color: #54ddd1 !important;
  opacity: 1 !important;
}

.static-home .mkd-counter-title {
  color: #313646 !important;
  opacity: 1 !important;
}

.static-home .mkd-counter-holder,
.static-home .mkd-counter-content {
  opacity: 1 !important;
}

.static-progetti-europei .mkd-page-header {
  position: relative;
  z-index: 20;
}

.static-progetti-europei .mkd-page-header .mkd-menu-area,
.static-progetti-europei .mkd-mobile-header .mkd-mobile-header-holder {
  background: #fff !important;
}

.static-progetti-europei .mkd-content {
  margin-top: 0 !important;
}

.static-home-claim {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}

.static-home-claim p {
  margin: 0;
  color: #54ddd1;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.18;
  font-weight: 700;
}

.static-contact-note {
  margin: 22px 0;
  padding: 24px;
  border-left: 4px solid #54ddd1;
  background: #f3fbfa;
}

.static-contact-note p {
  margin: 0;
}

.static-page-hero {
  position: relative;
  min-height: clamp(260px, 38vw, 430px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #183d3a;
}

.static-page-hero__media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(14, 48, 45, 0.78), rgba(14, 48, 45, 0.38)), url("wp-content/uploads/2019/03/home-banner-fondazione-cetacea.jpg");
  background-size: cover;
  background-position: center;
}

.static-page-hero__content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.static-page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.08;
}

.static-into-blue-2026 .mkd-page-header,
.static-into-blue-2026 .mkd-mobile-header {
  position: relative;
  z-index: 20;
}

.static-into-blue-2026 .mkd-page-header .mkd-menu-area,
.static-into-blue-2026 .mkd-mobile-header .mkd-mobile-header-holder {
  background: #fff !important;
}

.static-into-blue-2026 .mkd-main-menu > ul > li > a {
  text-transform: capitalize !important;
}

.static-into-blue-2026 #nav-menu-item-into-blue-2026 > a,
.static-into-blue-2026 #mobile-menu-item-into-blue-2026 > a {
  text-transform: uppercase !important;
}

.static-into-blue-hero .static-page-hero__media {
  background-image: linear-gradient(90deg, rgba(15, 54, 58, 0.86), rgba(15, 54, 58, 0.36)), url("wp-content/uploads/2026/05/banner-into-the-blue-2026.jpg");
}

.static-program-main {
  margin-top: 0 !important;
}

.static-program-page {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.static-program-banner-link {
  margin-bottom: 42px;
}

.static-program-banner-link--top {
  margin-bottom: 34px;
}

.static-program-banner {
  border: 1px solid #dfe6e6;
}

.static-program-heading {
  margin-bottom: 34px;
}

.static-program-heading h1 {
  margin: 0;
  color: #313646;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
}

.static-program-heading p {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.5;
}

.static-program-section {
  margin-top: 36px;
}

.static-program-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.static-program-section p,
.static-program-section li {
  font-size: 18px;
  line-height: 1.72;
}

.static-program-list {
  list-style-position: outside;
  padding-left: 22px !important;
}

.static-program-booking {
  padding: 30px;
  background: #e3f7f5;
  border-left: 4px solid #54ddd1;
}

.static-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
  padding: 13px 24px;
  background: #313646;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.static-primary-button:hover {
  color: #fff;
  background: #1d222d;
}

.static-link-note {
  margin: 18px 0 0;
  color: #7f8999;
  font-size: 14px;
  font-style: italic;
}

.static-site-footer {
  background: #313646;
  color: #fff;
  text-align: center;
  padding: 36px 20px;
}

.static-site-footer__inner {
  max-width: 980px;
  margin: 0 auto;
}

.static-site-footer__logo {
  width: min(128px, 52vw);
  height: auto;
  margin: 0 auto 14px;
}

.static-site-footer p {
  margin: 6px 0;
  color: #fff;
  line-height: 1.55;
}

.static-site-footer__name {
  font-size: 20px;
  font-weight: 700;
}

.static-site-footer a {
  color: #54ddd1;
  text-decoration: none;
}

.static-site-footer a:hover {
  text-decoration: underline;
}

.static-site-footer__support {
  margin: 16px auto 0;
  padding: 14px 18px;
  max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.static-site-footer__reserved {
  margin-top: 18px !important;
}

.static-site-footer__reserved a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(84, 221, 209, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.static-site-footer__social {
  margin-top: 16px !important;
}

.mkd-mobile-nav.static-mobile-nav-open {
  display: block !important;
}

@media (max-width: 768px) {
  .fc-home-slider__viewport {
    aspect-ratio: 2 / 1;
    min-height: 0;
  }

  .fc-home-slide__banner img {
    object-position: center;
  }

  .fc-home-slider__controls {
    padding: 14px;
  }

  .fc-home-slider__button {
    width: 100%;
  }

  .fc-home-slider__dots {
    right: 16px;
    bottom: 18px;
  }

  .static-program-banner {
    aspect-ratio: 1.8 / 1;
    object-fit: cover;
  }

  .static-program-page {
    width: min(100% - 28px, 1060px);
    padding-top: 34px;
  }

  .static-program-booking {
    padding: 22px;
  }
}
