/* ==========================================================
   CENTRO YOGA FINALE — PAGINA IL CENTRO
   Roneous 2.1.8 + TLG Framework + WPBakery 8.7.3
   Versione child theme 1.5.19
   ========================================================== */

:root {
  --cyf-centro-container: 1320px;
  --cyf-centro-desktop-gutter: 48px;
  --cyf-centro-tablet-gutter: 25px;
  --cyf-centro-mobile-gutter: 18px;
}

.cyf-centro-hero,
.cyf-centro-identity,
.cyf-centro-history,
.cyf-centro-people,
.cyf-centro-tradition,
.cyf-centro-life,
.cyf-centro-place,
.cyf-centro-cta {
  position: relative;
  box-sizing: border-box;
}

.cyf-centro-hero *,
.cyf-centro-identity *,
.cyf-centro-history *,
.cyf-centro-people *,
.cyf-centro-tradition *,
.cyf-centro-life *,
.cyf-centro-place *,
.cyf-centro-cta * {
  box-sizing: border-box;
}

.cyf-centro-hero .wpb_content_element,
.cyf-centro-identity .wpb_content_element,
.cyf-centro-history .wpb_content_element,
.cyf-centro-people .wpb_content_element,
.cyf-centro-tradition .wpb_content_element,
.cyf-centro-life .wpb_content_element,
.cyf-centro-place .wpb_content_element,
.cyf-centro-cta .wpb_content_element {
  margin-bottom: 0;
}

/* Le righe anonime sono separatori creati da righe vuote tra shortcode.
   La riga con [cyf_photo_grid] contiene invece foto reali: non nasconderla. */
.wpb-content-wrapper > .vc_row.bg-light.not-equal.not-color:not(.cyf-centro-hero):not(.cyf-centro-identity):not(.cyf-centro-history):not(.cyf-centro-people):not(.cyf-centro-tradition):not(.cyf-centro-life):not(.cyf-centro-place):not(.cyf-centro-cta):not(:has(.cyf-photo-grid)) {
  display: none !important;
}

.cyf-centro-hero h1,
.cyf-centro-identity h2,
.cyf-centro-history h2,
.cyf-centro-people h2,
.cyf-centro-tradition h2,
.cyf-centro-life h2,
.cyf-centro-place h2,
.cyf-centro-cta h2 {
  margin-top: 0;
  font-family: var(--cyf-font-display) !important;
  font-weight: 500 !important;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--cyf-color-charcoal) !important;
}

/* Menu statico e chiaro per la Hero avorio. */
.nav-container {
  height: auto !important;
}

.nav-container nav.transparent.absolute:not(.fixed) {
  position: relative !important;
  inset: auto !important;
  color: var(--cyf-color-charcoal) !important;
  background: rgba(248, 244, 237, 0.98) !important;
}

.nav-container nav.transparent .logo-light {
  display: none !important;
}

.nav-container nav.transparent .logo-dark {
  display: inline !important;
}

.nav-container nav.transparent .nav-utility,
.nav-container nav.transparent .nav-bar {
  border-color: rgba(53, 55, 53, 0.12) !important;
}

.nav-container nav.transparent .nav-utility,
.nav-container nav.transparent .nav-utility i,
.nav-container nav.transparent .nav-utility span,
.nav-container nav.transparent .nav-utility a,
.nav-container nav.transparent .menu > li > a,
.nav-container nav.transparent .mobile-toggle i {
  color: var(--cyf-color-charcoal) !important;
}

/* ==========================================================
   1. HERO
   ========================================================== */

.cyf-centro-hero {
  height: 700px;
  min-height: 700px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--cyf-color-ivory);
}

.cyf-centro-hero > div:first-child {
  width: 100% !important;
  max-width: none !important;
  height: 700px;
  margin: 0 !important;
  padding: 0 !important;
}

.cyf-centro-hero > div:first-child > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  width: 100%;
  height: 700px;
  margin: 0 !important;
}

.cyf-centro-hero > div:first-child > .row::before,
.cyf-centro-hero > div:first-child > .row::after,
.cyf-centro-identity > .container > .row::before,
.cyf-centro-identity > .container > .row::after,
.cyf-centro-history-head::before,
.cyf-centro-history-head::after,
.cyf-centro-people-head::before,
.cyf-centro-people-head::after,
.cyf-centro-people-grid::before,
.cyf-centro-people-grid::after,
.cyf-centro-tradition > div:first-child > .row::before,
.cyf-centro-tradition > div:first-child > .row::after,
.cyf-centro-life-head::before,
.cyf-centro-life-head::after,
.cyf-centro-life-grid::before,
.cyf-centro-life-grid::after,
.cyf-centro-place > div:first-child > .row::before,
.cyf-centro-place > div:first-child > .row::after,
.cyf-centro-cta > div:first-child > .row::before,
.cyf-centro-cta > div:first-child > .row::after {
  display: none !important;
  content: none !important;
}

.cyf-centro-hero > div:first-child > .row > .wpb_column {
  float: none !important;
  width: auto !important;
  height: 700px !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.cyf-centro-hero > div:first-child > .row > .wpb_column > .vc_column-inner {
  width: 100%;
  height: 700px !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.cyf-centro-hero > div:first-child > .row > .cyf-centro-hero-copy > .vc_column-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 46px 74px max(var(--cyf-centro-desktop-gutter), calc((100vw - var(--cyf-centro-container)) * .5)) !important;
}

.cyf-centro-hero .cyf-kicker {
  margin-bottom: 18px;
}

.cyf-centro-hero-title h1 {
  max-width: 610px;
  margin: 0 0 28px !important;
  font-size: clamp(62px, 5.45vw, 86px) !important;
  line-height: 0.98 !important;
}

.cyf-centro-hero-text p {
  max-width: 520px;
  margin: 0;
  font-family: var(--cyf-font-body);
  font-size: 18px;
  line-height: 1.72;
  color: var(--cyf-color-body);
  text-wrap: pretty;
}

.cyf-centro-hero-actions,
.cyf-centro-place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cyf-centro-hero-media,
.cyf-centro-hero-media > .vc_column-inner,
.cyf-centro-hero-media > .vc_column-inner > .wpb_wrapper,
.cyf-centro-hero-image,
.cyf-centro-hero-image .wpb_wrapper,
.cyf-centro-hero-image figure,
.cyf-centro-hero-image .vc_single_image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 700px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cyf-centro-hero-image img {
  display: block;
  width: 100% !important;
  height: 700px !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center 48%;
}

.cyf-centro-hero-badge-wrap {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 48px;
  margin: 0 !important;
}

.cyf-centro-hero-badge {
  width: 158px;
  padding: 20px 22px;
  background: var(--cyf-color-terra);
  color: var(--cyf-color-ivory);
  font-family: var(--cyf-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.cyf-centro-hero-badge strong {
  display: block;
  margin-top: 4px;
  font-family: var(--cyf-font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ==========================================================
   2. IDENTITÀ
   ========================================================== */

.cyf-centro-identity {
  padding-top: 108px !important;
  padding-bottom: 114px !important;
  background: #fff;
}

.cyf-centro-identity > .container > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 96px;
  align-items: start;
  margin: 0 !important;
}

.cyf-centro-identity > .container > .row > .wpb_column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.cyf-centro-identity > .container > .row > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}

.cyf-centro-identity h2 {
  max-width: 610px;
  margin: 0 !important;
  font-size: clamp(52px, 4.8vw, 72px) !important;
  line-height: 1.03 !important;
}

.cyf-centro-identity-copy {
  padding-top: 35px !important;
}

.cyf-centro-identity-lead p {
  margin: 0 0 28px;
  font-family: var(--cyf-font-display);
  font-size: 31px;
  line-height: 1.28;
  font-weight: 500;
  color: var(--cyf-color-charcoal);
}

.cyf-centro-prose p {
  margin: 0 0 20px;
  font-family: var(--cyf-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--cyf-color-body);
}

.cyf-centro-prose p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   3. STORIA
   ========================================================== */

.cyf-centro-history {
  padding-top: 104px !important;
  padding-bottom: 112px !important;
  background: var(--cyf-color-sand);
}

.cyf-centro-history > div:first-child,
.cyf-centro-tradition > div:first-child,
.cyf-centro-place > div:first-child,
.cyf-centro-cta > div:first-child {
  width: min(var(--cyf-centro-container), calc(100% - (2 * var(--cyf-centro-desktop-gutter)))) !important;
  max-width: var(--cyf-centro-container) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.cyf-centro-history-head,
.cyf-centro-people-head,
.cyf-centro-life-head {
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 96px;
  align-items: end;
  margin: 0 0 66px !important;
}

.cyf-centro-history-head > .wpb_column,
.cyf-centro-people-head > .wpb_column,
.cyf-centro-life-head > .wpb_column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.cyf-centro-history-head > .wpb_column > .vc_column-inner,
.cyf-centro-people-head > .wpb_column > .vc_column-inner,
.cyf-centro-life-head > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}

.cyf-centro-history h2,
.cyf-centro-people h2,
.cyf-centro-life h2 {
  margin: 0 !important;
  font-size: clamp(52px, 4.8vw, 72px) !important;
  line-height: 1.03 !important;
}

.cyf-centro-history-intro p,
.cyf-centro-people-intro p,
.cyf-centro-life-intro p {
  max-width: 650px;
  margin: 0;
  font-family: var(--cyf-font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--cyf-color-body);
}

.cyf-centro-timeline {
  border-top: 1px solid rgba(53, 55, 53, 0.38);
}

.cyf-centro-timeline-row {
  display: grid;
  grid-template-columns: 150px minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
  min-height: 142px;
  border-bottom: 1px solid rgba(53, 55, 53, 0.25);
}

.cyf-centro-year {
  font-family: var(--cyf-font-display);
  font-size: 47px;
  line-height: 1;
  color: var(--cyf-color-terra-dark);
}

.cyf-centro-timeline h3 {
  margin: 0;
  font-family: var(--cyf-font-display);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 500;
  color: var(--cyf-color-charcoal);
}

.cyf-centro-timeline p {
  margin: 0;
  font-family: var(--cyf-font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--cyf-color-body);
}

/* ==========================================================
   4. PERSONE
   ========================================================== */

.cyf-centro-people {
  padding-top: 108px !important;
  padding-bottom: 116px !important;
  background: var(--cyf-color-ivory);
}

.cyf-centro-people-head,
.cyf-centro-life-head {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.cyf-centro-people-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 0 !important;
}

.cyf-centro-people-grid > .wpb_column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  border: 1px solid rgba(53, 55, 53, 0.22);
  background: #fff;
}

.cyf-centro-people-grid > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}

.cyf-centro-person-image,
.cyf-centro-person-image .wpb_wrapper,
.cyf-centro-person-image figure,
.cyf-centro-person-image .vc_single_image-wrapper {
  display: block;
  width: 100%;
  height: 430px;
  margin: 0 !important;
}

.cyf-centro-person-image img {
  display: block;
  width: 100% !important;
  height: 430px !important;
  object-fit: cover;
}

.cyf-centro-person-image--elisa img {
  object-position: center 42%;
}

.cyf-centro-person-image--paolo img {
  object-position: center 40%;
}

.cyf-centro-person-copy {
  padding: 34px 36px 38px;
}

.cyf-centro-person-role,
.cyf-centro-life-caption > span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--cyf-font-body);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyf-color-terra-dark);
}

.cyf-centro-person h3 {
  margin: 0 0 16px;
  font-family: var(--cyf-font-display);
  font-size: 40px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--cyf-color-charcoal);
}

.cyf-centro-person p {
  max-width: 510px;
  margin: 0 0 27px;
  font-family: var(--cyf-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cyf-color-body);
}

/* ==========================================================
   5. TRADIZIONE
   ========================================================== */

.cyf-centro-tradition {
  padding-top: 108px !important;
  padding-bottom: 114px !important;
  background: var(--cyf-color-sage);
}

.cyf-centro-tradition > div:first-child > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 96px;
  align-items: start;
  margin: 0 !important;
}

.cyf-centro-tradition > div:first-child > .row > .wpb_column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.cyf-centro-tradition > div:first-child > .row > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}

.cyf-centro-tradition h2 {
  max-width: 590px;
  margin: 0 0 28px !important;
  font-size: clamp(52px, 4.8vw, 72px) !important;
  line-height: 1.03 !important;
}

.cyf-centro-tradition-list {
  border-top: 1px solid rgba(53, 55, 53, 0.34);
}

.cyf-centro-tradition-item {
  display: grid;
  grid-template-columns: 48px minmax(190px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(53, 55, 53, 0.26);
}

.cyf-centro-tradition-item > span {
  font-family: var(--cyf-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyf-color-terra-dark);
}

.cyf-centro-tradition-item h3 {
  margin: 0;
  font-family: var(--cyf-font-display);
  font-size: 30px;
  line-height: 1.14;
  font-weight: 500;
  color: var(--cyf-color-charcoal);
}

.cyf-centro-tradition-item p {
  margin: 0;
  font-family: var(--cyf-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #41433f;
}

/* ==========================================================
   6. VITA DEL CENTRO
   ========================================================== */

.cyf-centro-life {
  padding-top: 108px !important;
  padding-bottom: 116px !important;
  background: #fff;
}

.cyf-centro-life-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 328px);
  grid-template-areas:
    "sea sea terrace sound"
    "sea sea culture culture";
  gap: 24px;
  margin: 0 !important;
}

.cyf-centro-life-grid > .wpb_column {
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Evita che eventuali nodi di separazione Roneous diventino celle Grid. */
.cyf-centro-life-grid > br,
.cyf-centro-life-grid > .vc_clearfix {
  display: none !important;
}

.cyf-centro-life-grid > .wpb_column > .vc_column-inner,
.cyf-centro-life-grid > .wpb_column > .vc_column-inner > .wpb_wrapper {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cyf-centro-life-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--cyf-color-charcoal);
}

.cyf-centro-life-card--sea {
  grid-area: sea;
}

.cyf-centro-life-card--terrace {
  grid-area: terrace;
}

.cyf-centro-life-card--sound {
  grid-area: sound;
}

.cyf-centro-life-card--culture {
  grid-area: culture;
}

.cyf-centro-life-card .cyf-centro-life-image,
.cyf-centro-life-card .cyf-centro-life-image .wpb_wrapper,
.cyf-centro-life-card .cyf-centro-life-image figure,
.cyf-centro-life-card .cyf-centro-life-image .vc_single_image-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

.cyf-centro-life-card .cyf-centro-life-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cyf-centro-life-card:hover .cyf-centro-life-image img {
  transform: scale(1.025);
}

.cyf-centro-life-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 22, 20, 0.02) 36%, rgba(20, 22, 20, 0.78) 100%);
}

.cyf-centro-life-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 32px 32px;
  color: #fff;
}

.cyf-centro-life-caption > span {
  margin-bottom: 8px;
  color: #f1b59f;
}

.cyf-centro-life-caption h3 {
  margin: 0;
  font-family: var(--cyf-font-display);
  font-size: 36px;
  line-height: 1.07;
  font-weight: 500;
  color: #fff;
}

.cyf-centro-life-caption p {
  max-width: 520px;
  margin: 15px 0 0;
  font-family: var(--cyf-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.cyf-centro-life-card--terrace .cyf-centro-life-caption,
.cyf-centro-life-card--sound .cyf-centro-life-caption {
  padding: 22px 22px 24px;
}

.cyf-centro-life-card--terrace .cyf-centro-life-caption h3,
.cyf-centro-life-card--sound .cyf-centro-life-caption h3 {
  font-size: 27px;
}

.cyf-centro-life-card--culture .cyf-centro-life-caption h3 {
  font-size: 31px;
}

/* ==========================================================
   7. SEDE
   ========================================================== */

.cyf-centro-place {
  padding-top: 90px !important;
  padding-bottom: 94px !important;
  background: var(--cyf-color-sand);
}

.cyf-centro-place > div:first-child > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 96px;
  align-items: center;
  margin: 0 !important;
}

.cyf-centro-place > div:first-child > .row > .wpb_column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.cyf-centro-place > div:first-child > .row > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}

.cyf-centro-place h2 {
  max-width: 540px;
  margin: 0 !important;
  font-size: clamp(52px, 4.8vw, 70px) !important;
  line-height: 1.03 !important;
}

.cyf-centro-place-address p {
  margin: 0 0 25px;
  font-family: var(--cyf-font-display);
  font-size: 32px;
  line-height: 1.25;
  color: var(--cyf-color-charcoal);
}

.cyf-centro-place-copy .cyf-centro-prose {
  max-width: 660px;
}

/* ==========================================================
   8. CTA
   ========================================================== */

.cyf-centro-cta {
  padding-top: 70px !important;
  padding-bottom: 72px !important;
  background: var(--cyf-color-terra);
  color: var(--cyf-color-ivory);
}

.cyf-centro-cta > div:first-child > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 60px;
  align-items: center;
  margin: 0 !important;
}

.cyf-centro-cta > div:first-child > .row > .wpb_column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.cyf-centro-cta > div:first-child > .row > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}

.cyf-centro-cta-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--cyf-font-body);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

.cyf-centro-cta h2 {
  max-width: 860px;
  margin: 0 !important;
  font-size: clamp(44px, 4vw, 62px) !important;
  line-height: 1.04 !important;
  color: #fff !important;
}

.cyf-centro-cta-action > .vc_column-inner > .wpb_wrapper {
  display: flex;
  justify-content: flex-end;
}

.cyf-centro-cta-button {
  border-color: #fff !important;
  color: #fff !important;
}

/* ==========================================================
   TABLET ORIZZONTALE
   ========================================================== */

@media (max-width: 1100px) {
  .cyf-centro-hero > div:first-child > .row > .cyf-centro-hero-copy > .vc_column-inner {
    padding-right: 32px !important;
    padding-left: var(--cyf-centro-tablet-gutter) !important;
  }

  .cyf-centro-hero-title h1 {
    font-size: 60px !important;
  }

  .cyf-centro-identity > .container > .row,
  .cyf-centro-history-head,
  .cyf-centro-people-head,
  .cyf-centro-life-head,
  .cyf-centro-tradition > div:first-child > .row,
  .cyf-centro-place > div:first-child > .row {
    gap: 52px;
  }

  .cyf-centro-history > div:first-child,
  .cyf-centro-tradition > div:first-child,
  .cyf-centro-place > div:first-child,
  .cyf-centro-cta > div:first-child {
    width: calc(100% - (2 * var(--cyf-centro-tablet-gutter))) !important;
  }

  .cyf-centro-timeline-row {
    grid-template-columns: 112px minmax(210px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
  }

  .cyf-centro-person-image,
  .cyf-centro-person-image .wpb_wrapper,
  .cyf-centro-person-image figure,
  .cyf-centro-person-image .vc_single_image-wrapper,
  .cyf-centro-person-image img {
    height: 380px !important;
  }

  .cyf-centro-tradition-item {
    grid-template-columns: 40px minmax(170px, 0.78fr) minmax(0, 1.22fr);
  }

  .cyf-centro-life-grid {
    grid-template-rows: repeat(2, 293px);
  }
}

/* ==========================================================
   TABLET VERTICALE
   ========================================================== */

@media (max-width: 900px) {
  .cyf-centro-hero {
    height: auto;
    min-height: 0;
  }

  .cyf-centro-hero > div:first-child,
  .cyf-centro-hero > div:first-child > .row {
    height: auto;
  }

  .cyf-centro-hero > div:first-child > .row {
    grid-template-columns: 1fr;
  }

  .cyf-centro-hero > div:first-child > .row > .wpb_column,
  .cyf-centro-hero > div:first-child > .row > .wpb_column > .vc_column-inner {
    height: auto !important;
  }

  .cyf-centro-hero > div:first-child > .row > .cyf-centro-hero-copy > .vc_column-inner {
    min-height: 570px;
    padding: 84px var(--cyf-centro-tablet-gutter) 68px !important;
  }

  .cyf-centro-hero-title h1 {
    max-width: 720px;
    font-size: clamp(59px, 10vw, 78px) !important;
  }

  .cyf-centro-hero-media,
  .cyf-centro-hero-media > .vc_column-inner,
  .cyf-centro-hero-media > .vc_column-inner > .wpb_wrapper,
  .cyf-centro-hero-image,
  .cyf-centro-hero-image .wpb_wrapper,
  .cyf-centro-hero-image figure,
  .cyf-centro-hero-image .vc_single_image-wrapper,
  .cyf-centro-hero-image img {
    height: 610px !important;
  }

  .cyf-centro-identity,
  .cyf-centro-history,
  .cyf-centro-people,
  .cyf-centro-tradition,
  .cyf-centro-life {
    padding-top: 78px !important;
    padding-bottom: 82px !important;
  }

  .cyf-centro-identity > .container > .row,
  .cyf-centro-history-head,
  .cyf-centro-people-head,
  .cyf-centro-life-head,
  .cyf-centro-tradition > div:first-child > .row,
  .cyf-centro-place > div:first-child > .row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cyf-centro-identity-copy {
    padding-top: 0 !important;
  }

  .cyf-centro-history-head,
  .cyf-centro-people-head,
  .cyf-centro-life-head {
    margin-bottom: 46px !important;
  }

  .cyf-centro-timeline-row {
    grid-template-columns: 92px 1fr;
    gap: 18px;
    min-height: 0;
    padding: 28px 0;
  }

  .cyf-centro-timeline-row p {
    grid-column: 2;
  }

  .cyf-centro-year {
    font-size: 38px;
  }

  .cyf-centro-people-grid {
    gap: 20px;
  }

  .cyf-centro-person-copy {
    padding: 30px 28px 34px;
  }

  .cyf-centro-person h3 {
    font-size: 35px;
  }

  .cyf-centro-tradition-item {
    grid-template-columns: 44px minmax(190px, 0.75fr) minmax(0, 1.25fr);
  }

  .cyf-centro-life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 520px 288px 288px;
    grid-template-areas:
      "sea sea"
      "terrace sound"
      "culture culture";
  }

  .cyf-centro-place {
    padding-top: 76px !important;
    padding-bottom: 80px !important;
  }

  .cyf-centro-cta > div:first-child > .row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cyf-centro-cta-action > .vc_column-inner > .wpb_wrapper {
    justify-content: flex-start;
  }
}

/* ==========================================================
   SMARTPHONE — gutter fisso 18 px su ogni sezione
   ========================================================== */

@media (max-width: 600px) {
  .cyf-centro-hero > div:first-child > .row > .cyf-centro-hero-copy > .vc_column-inner {
    min-height: 0;
    padding: 82px var(--cyf-centro-mobile-gutter) 62px !important;
  }

  .cyf-centro-hero .cyf-kicker {
    margin-bottom: 16px;
  }

  .cyf-centro-hero-title h1 {
    font-size: clamp(49px, 14vw, 62px) !important;
    line-height: 0.99 !important;
  }

  .cyf-centro-hero-text p {
    font-size: 16px;
    line-height: 1.68;
  }

  .cyf-centro-hero-actions,
  .cyf-centro-place-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cyf-centro-hero-actions .cyf-btn,
  .cyf-centro-place-actions .cyf-btn {
    width: 100%;
  }

  .cyf-centro-hero-media,
  .cyf-centro-hero-media > .vc_column-inner,
  .cyf-centro-hero-media > .vc_column-inner > .wpb_wrapper,
  .cyf-centro-hero-image,
  .cyf-centro-hero-image .wpb_wrapper,
  .cyf-centro-hero-image figure,
  .cyf-centro-hero-image .vc_single_image-wrapper,
  .cyf-centro-hero-image img {
    height: 500px !important;
  }

  .cyf-centro-hero-image img {
    object-position: center 48%;
  }

  .cyf-centro-hero-badge-wrap {
    left: var(--cyf-centro-mobile-gutter);
    bottom: var(--cyf-centro-mobile-gutter);
  }

  .cyf-centro-identity,
  .cyf-centro-history,
  .cyf-centro-people,
  .cyf-centro-tradition,
  .cyf-centro-life {
    padding-top: 68px !important;
    padding-bottom: 72px !important;
  }

  .cyf-centro-identity > .container,
  .cyf-centro-people > .container,
  .cyf-centro-life > .container {
    width: calc(100% - (2 * var(--cyf-centro-mobile-gutter))) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .cyf-centro-history > div:first-child,
  .cyf-centro-tradition > div:first-child,
  .cyf-centro-place > div:first-child,
  .cyf-centro-cta > div:first-child {
    width: calc(100% - (2 * var(--cyf-centro-mobile-gutter))) !important;
  }

  .cyf-centro-identity > .container > .row,
  .cyf-centro-history-head,
  .cyf-centro-people-head,
  .cyf-centro-life-head,
  .cyf-centro-tradition > div:first-child > .row,
  .cyf-centro-place > div:first-child > .row {
    gap: 34px;
  }

  .cyf-centro-identity h2,
  .cyf-centro-history h2,
  .cyf-centro-people h2,
  .cyf-centro-tradition h2,
  .cyf-centro-life h2,
  .cyf-centro-place h2 {
    font-size: clamp(43px, 12vw, 54px) !important;
  }

  .cyf-centro-identity-lead p {
    font-size: 26px;
  }

  .cyf-centro-prose p,
  .cyf-centro-history-intro p,
  .cyf-centro-people-intro p,
  .cyf-centro-life-intro p {
    font-size: 16px;
  }

  .cyf-centro-timeline-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 0;
  }

  .cyf-centro-year {
    font-size: 31px;
  }

  .cyf-centro-timeline h3 {
    font-size: 27px;
  }

  .cyf-centro-timeline p {
    font-size: 15px;
  }

  .cyf-centro-people-grid {
    grid-template-columns: 1fr;
  }

  .cyf-centro-person-image,
  .cyf-centro-person-image .wpb_wrapper,
  .cyf-centro-person-image figure,
  .cyf-centro-person-image .vc_single_image-wrapper,
  .cyf-centro-person-image img {
    height: 390px !important;
  }

  .cyf-centro-person-copy {
    padding: 28px 24px 32px;
  }

  .cyf-centro-person h3 {
    font-size: 34px;
  }

  .cyf-centro-tradition-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 0;
  }

  .cyf-centro-tradition-item h3 {
    font-size: 27px;
  }

  .cyf-centro-tradition-item p {
    grid-column: 2;
    font-size: 15px;
  }

  .cyf-centro-life-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 520px 330px 330px 330px;
    grid-template-areas:
      "sea"
      "terrace"
      "sound"
      "culture";
    gap: 18px;
  }

  .cyf-centro-life-caption,
  .cyf-centro-life-card--terrace .cyf-centro-life-caption,
  .cyf-centro-life-card--sound .cyf-centro-life-caption {
    padding: 24px 22px 25px;
  }

  .cyf-centro-life-caption h3,
  .cyf-centro-life-card--terrace .cyf-centro-life-caption h3,
  .cyf-centro-life-card--sound .cyf-centro-life-caption h3,
  .cyf-centro-life-card--culture .cyf-centro-life-caption h3 {
    font-size: 29px;
  }

  .cyf-centro-place {
    padding-top: 66px !important;
    padding-bottom: 70px !important;
  }

  .cyf-centro-place-address p {
    font-size: 27px;
  }

  .cyf-centro-cta {
    padding-top: 62px !important;
    padding-bottom: 64px !important;
  }

  .cyf-centro-cta > div:first-child > .row {
    gap: 30px;
  }

  .cyf-centro-cta h2 {
    font-size: 44px !important;
  }

  .cyf-centro-cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cyf-centro-life-card .cyf-centro-life-image img,
  .cyf-text-link,
  .cyf-btn {
    transition: none !important;
  }
}
