.editor-styles-wrapper .calm-header {
  position: relative;
}

.editor-styles-wrapper .calm-header__inner,
.editor-styles-wrapper .calm-footer__inner {
  width: 100%;
  box-sizing: border-box;
}

.editor-styles-wrapper .calm-header__inner {
  padding-inline: 1rem;
}

.editor-styles-wrapper .calm-footer__inner {
  padding: 2rem 1rem;
}

.editor-styles-wrapper .calm-header__inner.alignfull,
.editor-styles-wrapper .calm-footer__inner.alignfull {
  max-width: none;
}

.editor-styles-wrapper .calm-header .wp-block-columns {
  align-items: center;
}

.editor-styles-wrapper .calm-header .wp-block-column {
  min-width: 0;
}

.editor-styles-wrapper .calm-header .wp-block-columns > .wp-block-column:first-child {
  flex: 0 0 auto !important;
  width: auto !important;
  flex-basis: auto !important;
  max-width: none !important;
}

.editor-styles-wrapper .calm-header .wp-block-columns > .wp-block-column:last-child {
  flex: 1 1 0% !important;
  width: auto !important;
  flex-basis: 0% !important;
  max-width: none !important;
}

.editor-styles-wrapper .wp-block-navigation__responsive-container {
  display: none;
}

.editor-styles-wrapper .calm-header .wp-block-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.editor-styles-wrapper .calm-header .calm-header__nav-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.editor-styles-wrapper .calm-header .calm-header__nav-row > .wp-block-navigation {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.editor-styles-wrapper .calm-header .wp-block-wuppi-language-switcher {
  display: flex;
  align-items: center;
  align-self: center;
  margin: 0;
  min-height: 0;
}

.editor-styles-wrapper .calm-header .wp-block-wuppi-language-switcher .calm-language-switcher__dropdown {
  display: flex;
  align-items: center;
  margin: 0;
}

.editor-styles-wrapper .calm-header .wp-block-wuppi-language-switcher .calm-language-switcher__toggle {
  align-items: center;
  margin: 0;
}

.editor-styles-wrapper .calm-header .wp-block-navigation .wp-block-navigation__container {
  flex-wrap: nowrap;
  gap: var(--calm-nav-gap) !important;
  column-gap: var(--calm-nav-gap) !important;
}

.editor-styles-wrapper .calm-header .wp-block-navigation .wp-block-navigation-item__content {
  white-space: nowrap;
  padding-inline: 0.125rem;
}

.editor-styles-wrapper .wuppi-services-grid > .wp-block-column,
.editor-styles-wrapper .wuppi-testimonials-grid > .wp-block-column,
.editor-styles-wrapper .wuppi-pricing-teaser > .wp-block-column {
  display: flex;
}

.editor-styles-wrapper .wuppi-services-grid > .wp-block-column > .wp-block-group.is-style-card,
.editor-styles-wrapper .wuppi-testimonials-grid > .wp-block-column > .wp-block-group.is-style-card,
.editor-styles-wrapper .wuppi-pricing-teaser > .wp-block-column > .wp-block-group.is-style-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
}

.editor-styles-wrapper .wuppi-services-grid .wp-block-group.is-style-card.is-layout-flex {
  align-items: center;
  text-align: center;
}

.editor-styles-wrapper .wuppi-pricing-teaser > .wp-block-column > .wp-block-group.is-style-card > .wuppi-pricing-teaser__content {
  flex: 1 1 auto;
  width: 100%;
}

.editor-styles-wrapper .wuppi-pricing-teaser > .wp-block-column > .wp-block-group.is-style-card > .wuppi-pricing-teaser__cta {
  margin-top: auto;
  width: 100%;
}

/* Same-height support for wuppi/testimonial blocks in any columns row */

.editor-styles-wrapper .wp-block-columns:has(> .wp-block-column > .wuppi-testimonial) > .wp-block-column {
  display: flex;
  flex-direction: column;
}

.editor-styles-wrapper .wp-block-columns:has(> .wp-block-column > .wuppi-testimonial) > .wp-block-column > .wuppi-testimonial {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.editor-styles-wrapper .wp-block-columns:has(> .wp-block-column > .wuppi-testimonial) > .wp-block-column > .wuppi-testimonial .wuppi-testimonial__quote {
  flex: 1;
}

.editor-styles-wrapper .calm-content-shell {
  padding-top: 1rem;
}

.editor-styles-wrapper .wp-block-template-part:has(> .calm-footer),
.editor-styles-wrapper .wp-block-template-part:has(.calm-footer) {
  margin-block-start: 0;
}

.editor-styles-wrapper .calm-branding > .wp-block-site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.editor-styles-wrapper .calm-branding .wp-block-site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.editor-styles-wrapper .calm-branding .wp-block-site-logo img {
  display: block;
  height: auto;
  max-width: 100%;
}

.editor-styles-wrapper .block-editor-block-list__block.is-wuppi-hidden-site-branding-block {
  opacity: 0.55;
  transition: opacity 0.18s ease;
}

.editor-styles-wrapper .block-editor-block-list__block.is-wuppi-hidden-site-branding-block.is-selected,
.editor-styles-wrapper .block-editor-block-list__block.is-wuppi-hidden-site-branding-block.has-child-selected {
  opacity: 0.82;
}
