.casa-marea-demo {
  --cm-bg: #f7f3ee;
  --cm-surface: #ffffff;
  --cm-text: #1f2933;
  --cm-text-soft: #5b6770;
  --cm-primary: #2f5d73;
  --cm-primary-dark: #23485a;
  --cm-border: #e7e1d8;
  --cm-shadow: 0 10px 30px rgba(31, 41, 51, 0.06);
  --cm-radius: 20px;
  --cm-radius-lg: 28px;
  background: var(--cm-bg);
  color: var(--cm-text);
}

/* HEADER */
.cm-demo-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  padding: 18px 20px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease;
}

.cm-demo-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.cm-demo-header.is-scrolled {
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(231, 225, 216, 0.85);
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.05);
}

.cm-demo-logo {
  color: var(--cm-text);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cm-demo-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-demo-nav a {
  color: var(--cm-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.cm-demo-nav a:hover,
.cm-demo-nav .current-menu-item > a,
.cm-demo-nav .current_page_item > a {
  color: var(--cm-primary);
}

.cm-demo-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cm-demo-header__back {
  color: var(--cm-text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.cm-demo-header__back:hover {
  color: var(--cm-primary);
}

.cm-demo-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--cm-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease;
}

.cm-demo-header__cta:hover {
  background: var(--cm-primary-dark);
}

@media (max-width: 991px) {
  .cm-demo-header__inner {
    justify-items: center;
  }

  .cm-demo-header__actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .cm-demo-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cm-demo-header__actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .cm-demo-header__cta {
    width: 100%;
    text-align: center;
  }
}

/* ===== BURGER ===== */

.cm-demo-burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.08);
}

.cm-demo-burger span {
  width: 18px;
  height: 2px;
  background: var(--cm-text);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.cm-demo-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.cm-demo-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.cm-demo-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */

.cm-demo-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(16px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease;
}

.cm-demo-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cm-demo-mobile-menu__inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
  position: relative;
}

.cm-demo-mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--cm-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cm-demo-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.cm-demo-mobile-nav li + li {
  margin-top: 18px;
}

.cm-demo-mobile-nav a {
  color: var(--cm-text);
  text-decoration: none;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cm-demo-mobile-nav .current-menu-item > a,
.cm-demo-mobile-nav .current_page_item > a {
  color: var(--cm-primary);
}

.cm-demo-mobile-menu__actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.cm-demo-mobile-menu__actions .cm-demo-header__cta {
  min-width: 240px;
}

.cm-demo-mobile-menu__back {
  color: var(--cm-text-soft);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}

body.cm-demo-menu-open {
  overflow: hidden;
}

.cm-demo-mobile-menu.is-open {
  .cm-demo-mobile-menu__inner {
    background-color: #f7f3ee;
  }
}

/* ===== RESPONSIVE HEADER ===== */

@media (max-width: 991px) {
  .cm-demo-nav-wrap--desktop,
  .cm-demo-header__actions--desktop {
    display: none;
  }

  .cm-demo-burger {
    display: inline-flex;
    justify-self: end;
  }

  .cm-demo-header__inner {
    align-items: center;
  }
}

/* HERO */
.cm-demo-hero {
  position: relative;
  overflow: hidden;
}

.cm-demo-hero--home {
  min-height: 760px;
}

.cm-demo-hero__media {
  position: absolute;
  inset: 0;
}

.cm-demo-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cm-demo-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247, 243, 238, 0.88) 0%,
    rgba(247, 243, 238, 0.68) 30%,
    rgba(247, 243, 238, 0.22) 60%,
    rgba(247, 243, 238, 0.06) 100%
  );
  z-index: 1;
}

.cm-demo-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 40px;
}

.cm-demo-hero__inner {
  max-width: 620px;
}

.cm-demo-hero__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--cm-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cm-demo-hero__title {
  margin: 0 0 20px;
  color: var(--cm-text);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 9ch;
}

.cm-demo-hero__title--internal {
  max-width: 100%;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.cm-demo-hero__text {
  margin: 0 0 28px;
  color: #44515c;
  font-size: 1.06rem;
  line-height: 1.8;
}

.cm-demo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cm-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--cm-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.cm-demo-btn--ghost {
  background: rgba(255, 255, 255, 0.46);
  color: var(--cm-text);
  border: 1px solid rgba(31, 41, 51, 0.1);
}

/*hero pagine interne*/
.cm-demo-hero--internal {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.cm-demo-hero--internal .cm-demo-hero__media {
  position: absolute;
  inset: 0;
}

.cm-demo-hero--internal .cm-demo-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.cm-demo-hero--internal .cm-demo-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247, 243, 238, 0.88) 0%,
    rgba(247, 243, 238, 0.68) 30%,
    rgba(247, 243, 238, 0.22) 60%,
    rgba(247, 243, 238, 0.06) 100%
  );
  z-index: 1;
}

.cm-demo-hero--internal .cm-demo-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 40px;
}

.cm-demo-hero--internal .cm-demo-hero__title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  max-width: 100%;
}

/* CONTENT */
.cm-demo-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 40px;
}

.cm-demo-content .cm-section {
  padding: 0 0 88px;
}

.cm-demo-content h2,
.cm-demo-content h3 {
  color: var(--cm-text);
  margin-top: 0;
  letter-spacing: -0.02em;
}

.cm-demo-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.cm-demo-content h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.cm-demo-content p,
.cm-demo-content li {
  color: var(--cm-text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.cm-demo-content .cm-card {
  height: 100%;
  padding: 28px;
  background: var(--cm-surface);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius);
  box-shadow: var(--cm-shadow);
}

.cm-demo-content .cm-features .wp-block-columns,
.cm-demo-content .cm-gallery .wp-block-columns {
  gap: 24px;
  margin-top: 32px;
}

.cm-demo-content .cm-gallery .wp-block-image a {
  display: block;
  border-radius: var(--cm-radius-lg);
  overflow: hidden;
  box-shadow: var(--cm-shadow);
}

.cm-demo-content .cm-gallery .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cm-demo-content .cm-gallery .wp-block-image a:hover img {
  transform: scale(1.02);
}

/* ICONS */
.cm-demo-content .cm-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(47, 93, 115, 0.08);
  color: var(--cm-primary);
}

.cm-demo-content .cm-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/*swiper home*/

.cm-gallery-slider {
  position: relative;
  padding-top: 8px;
  padding-bottom: 28px;
  overflow: hidden;
}

.cm-gallery-slider .swiper-wrapper {
  align-items: center;
}

.cm-gallery-slider .swiper-slide {
  display: flex;
  justify-content: center;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
  opacity: 0.68;
  transform: scale(0.86);
}

.cm-gallery-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.cm-gallery-slider .swiper-slide-prev,
.cm-gallery-slider .swiper-slide-next {
  opacity: 0.9;
  transform: scale(0.92);
}

.cm-gallery-card {
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(74, 58, 42, 0.1);
}

.cm-gallery-card img {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  object-fit: cover;
}

.cm-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.cm-gallery-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(92, 76, 60, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #4d4034;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.cm-gallery-arrow:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(92, 76, 60, 0.24);
}

.cm-gallery-arrow span {
  font-size: 1.15rem;
  line-height: 1;
}

.cm-gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cm-gallery-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(92, 76, 60, 0.24);
  opacity: 1;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.cm-gallery-pagination .swiper-pagination-bullet-active {
  background: #b79d84;
  transform: scale(1.2);
}

@media (max-width: 991px) {
  .cm-gallery-card {
    max-width: 360px;
    border-radius: 24px;
  }

  .cm-gallery-card img {
    height: 460px;
  }
}

@media (max-width: 767px) {
  .cm-gallery-slider .swiper-slide,
  .cm-gallery-slider .swiper-slide-active,
  .cm-gallery-slider .swiper-slide-prev,
  .cm-gallery-slider .swiper-slide-next {
    opacity: 1;
    transform: none;
  }

  .cm-gallery-card {
    max-width: 100%;
    border-radius: 22px;
  }

  .cm-gallery-card img {
    height: 380px;
  }

  .cm-gallery-controls {
    margin-top: 18px;
    gap: 14px;
  }

  .cm-gallery-arrow {
    width: 42px;
    height: 42px;
  }
}

/* FOOTER */
.cm-demo-footer {
  padding: 32px 20px 48px;
}

.cm-demo-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--cm-border);
  padding-top: 24px;
}

.cm-demo-footer__brand {
  margin: 0 0 6px;
  color: var(--cm-text);
  font-weight: 700;
}

.cm-demo-footer__text {
  margin: 0;
  color: var(--cm-text-soft);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .cm-demo-header__inner {
    justify-items: center;
  }

  .cm-demo-hero--home {
    min-height: 640px;
  }

  .cm-demo-content,
  .cm-demo-hero__content {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 767px) {
  .cm-demo-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cm-demo-hero--home {
    min-height: 560px;
  }

  .cm-demo-hero__content,
  .cm-demo-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cm-demo-hero__title {
    font-size: clamp(2.3rem, 9vw, 3.8rem);
    max-width: 100%;
  }

  .cm-demo-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cm-demo-btn,
  .cm-demo-header__cta {
    width: 100%;
    text-align: center;
  }
}

.cm-demo-content .cm-home-cta {
  padding-bottom: 0;
}

.cm-demo-content .cm-home-cta {
  background: #2f5d73;
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--cm-shadow);
}

.cm-demo-content .cm-home-cta h2,
.cm-demo-content .cm-home-cta p {
  color: #fff;
}

.cm-demo-content .cm-home-cta .wp-block-button {
  margin-top: 24px;
}

.cm-demo-content .cm-home-cta .wp-block-button__link {
  background: #fff;
  color: #2f5d73;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  text-decoration: none;
}

.cm-demo-content .cm-home-cta .wp-block-button__link:hover {
  background: #f5f5f5;
}

@media (max-width: 767px) {
  .cm-demo-content .cm-home-cta {
    padding: 32px 22px;
  }
}

/*---------------
La struttura
---------------*/

.cm-demo-content .cm-section .wp-block-columns {
  gap: 32px;
  align-items: center;
}

.cm-demo-content .cm-section .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cm-radius-lg);
  box-shadow: var(--cm-shadow);
}

.cm-demo-content .cm-section .wp-block-buttons,
.cm-demo-content .cm-section .wp-block-button {
  margin-top: 24px;
}

.cm-demo-content .cm-structure-btn .wp-block-button__link {
  background: rgba(255, 255, 255, 0.72);
  color: var(--cm-primary);
  border: 1px solid rgba(47, 93, 115, 0.22);
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.06);
  transition: all 0.28s ease;
  backdrop-filter: blur(4px);
}

.cm-demo-content .cm-structure-btn .wp-block-button__link:hover {
  background: var(--cm-primary);
  color: #fff;
  border-color: var(--cm-primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(47, 93, 115, 0.18);
}

/*------------
Sezione Servizi
--------------*/
.cm-demo-content .cm-services .wp-block-columns {
  gap: 28px;
  margin-top: 32px;
  align-items: start;
}

.cm-demo-content .cm-service-item {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--cm-border);
  border-radius: 18px;
  box-shadow: var(--cm-shadow);
}

.cm-demo-content .cm-service-item + .cm-service-item {
  margin-top: 18px;
}

.cm-demo-content .cm-service-item h3 {
  margin: 0 0 8px;
  color: var(--cm-text);
  font-size: 1.08rem;
  line-height: 1.3;
}

.cm-demo-content .cm-service-item p {
  margin: 0;
  color: var(--cm-text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.cm-demo-content .cm-services.cm-services--accent {
  background: #eef5f7;
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--cm-shadow);
}

.cm-demo-content .cm-services.cm-services--accent .wp-block-columns {
  gap: 28px;
  margin-top: 32px;
  align-items: start;
}

.cm-demo-content .cm-service-item {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--cm-border);
  border-radius: 18px;
  box-shadow: var(--cm-shadow);
}

.cm-demo-content .cm-service-item + .cm-service-item {
  margin-top: 18px;
}

.cm-demo-content .cm-service-item h3 {
  margin: 0 0 8px;
  color: var(--cm-text);
  font-size: 1.08rem;
  line-height: 1.3;
}

.cm-demo-content .cm-service-item p {
  margin: 0;
  color: var(--cm-text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.cm-demo-content .cm-service-item__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(47, 93, 115, 0.1);
  color: var(--cm-primary);
}

.cm-demo-content .cm-service-item__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 767px) {
  .cm-demo-content .cm-services.cm-services--accent {
    padding: 32px 22px;
  }
}

/*colori titoli*/
.cm-demo-content .cm-section > p:first-child {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--cm-primary);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/*-------------
Lightbox
---------------*/

.gf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.gf-lightbox.is-open {
  display: block;
}

.gf-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 31, 0.82);
  backdrop-filter: blur(4px);
}

.gf-lightbox__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.gf-lightbox__image {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.gf-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gf-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

body.gf-lightbox-open {
  overflow: hidden;
}

/* Segnale visivo sulle immagini cliccabili */
.cm-demo-content .cm-gallery .wp-block-image a,
.project-content .project-gallery .wp-block-image a {
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

.cm-demo-content .cm-gallery .wp-block-image img,
.project-content .project-gallery .wp-block-image img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .gf-lightbox__content {
    padding: 20px;
  }

  .gf-lightbox__close {
    top: 12px;
    right: 12px;
  }

  .gf-lightbox__image {
    max-width: 94vw;
    max-height: 84vh;
  }
}
/*---------
CSS correttivo per immagini lightbox
----------*/
.cm-demo-content .cm-gallery .wp-block-image a,
.project-content .project-gallery .wp-block-image a {
  display: block;
  border-radius: var(--cm-radius-lg, 28px);
  overflow: hidden;
  box-shadow: var(--cm-shadow, 0 10px 30px rgba(31, 41, 51, 0.06));
}

.cm-demo-content .cm-gallery .wp-block-image img,
.project-content .project-gallery .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cm-demo-content .cm-gallery .wp-block-image a:hover img,
.project-content .project-gallery .wp-block-image a:hover img {
  transform: scale(1.1);
  opacity: 0.96;
}

/*---------
CSS frecce lightbox
----------*/

.gf-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gf-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gf-lightbox__nav--prev {
  left: 20px;
}

.gf-lightbox__nav--next {
  right: 20px;
}

@media (max-width: 767px) {
  .gf-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .gf-lightbox__nav--prev {
    left: 12px;
  }

  .gf-lightbox__nav--next {
    right: 12px;
  }
}

/*------------
Pagina struttura
-------------*/

.cm-demo-content .cm-section .wp-block-columns {
  gap: 32px;
  align-items: center;
}

.cm-demo-content .cm-section .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cm-radius-lg);
  box-shadow: var(--cm-shadow);
}
