:root {
  --calm-radius: var(--wp--custom--radius--md, 0.5rem);
  --calm-shadow-soft: var(--wp--custom--shadow--soft, 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.08));
  --calm-header-height: 72px;
  --calm-header-offset: var(--calm-header-height);
  --calm-nav-gap: 0.875rem;
  --calm-nav-font-size: 1.125rem;
  --wuppi-content-padding-inline: var(--wp--preset--spacing--40);
}

@media (min-width: 782px) {
  :root {
    --wuppi-content-padding-inline: var(--wp--preset--spacing--60);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text.skip-link:focus,
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  overflow: visible;
  background: var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--background);
  border-radius: var(--calm-radius);
}

#wp--skip-link--target,
h1,
h2,
h3,
h4,
h5,
h6 {
  scroll-margin-top: calc(var(--calm-header-offset) + 1rem);
}

.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wp-site-blocks > .wp-block-group {
  box-sizing: border-box;
}

main.calm-content-shell,
.wp-site-blocks > .calm-content-shell {
  flex: 1 0 auto;
  width: 100%;
}

.calm-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--background);
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.calm-header__inner {
  min-height: var(--calm-header-height);
  width: 100%;
  padding-inline: 1rem;
  box-sizing: border-box;
}

.calm-header__inner.alignfull {
  max-width: none;
}

@media (min-width: 782px) {
  .calm-header-mode-fixed-glass .calm-header,
  .calm-header-mode-fixed-auto-hide .calm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  body.admin-bar.calm-header-mode-fixed-glass .calm-header,
  body.admin-bar.calm-header-mode-fixed-auto-hide .calm-header {
    top: 32px;
  }

  .calm-header-mode-fixed-glass .wp-site-blocks,
  .calm-header-mode-fixed-auto-hide .wp-site-blocks {
    box-sizing: border-box;
    padding-top: var(--calm-header-offset);
  }

  body.admin-bar.calm-header-mode-fixed-glass .wp-site-blocks,
  body.admin-bar.calm-header-mode-fixed-auto-hide .wp-site-blocks {
    padding-top: calc(var(--calm-header-offset) + 32px);
  }

  .calm-header-mode-fixed-glass .calm-header.is-scrolled,
  .calm-header-mode-fixed-auto-hide .calm-header.is-scrolled {
    background: color-mix(in srgb, var(--wp--preset--color--background) 84%, transparent);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }

  .calm-header-mode-fixed-auto-hide .calm-header.is-scrolled:not(.is-revealed) {
    opacity: 0;
    transform: translateY(-0.5rem);
    pointer-events: none;
  }

  .calm-header-mode-fixed-auto-hide .calm-header.is-revealed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

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

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

.calm-header .wp-block-column:first-child {
  flex: 0 1 auto;
}

.calm-header .wp-block-column:last-child {
  flex: 1 1 auto;
}

.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;
}

.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;
}

.calm-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calm-header .calm-branding {
  gap: 0.75rem !important;
}

.calm-header .calm-branding > .wp-block-site-logo {
  flex: 0 0 auto;
  margin-right: 0 !important;
}

.calm-branding .wp-block-site-logo {
  line-height: 0;
}

.calm-header .calm-branding > .wp-block-group {
  margin: 0 !important;
}

.calm-header .calm-branding-text {
  --wp--style--block-gap: 0.05rem;
}

.calm-header .calm-branding > .wp-block-group {
  --wp--style--block-gap: 0.05rem;
}

.calm-branding .wp-block-site-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.calm-branding .wp-block-site-title a {
  color: var(--wp--preset--color--accent);
  text-decoration: none;
}

.calm-branding .wp-block-site-title {
  margin: 0;
}

.calm-branding .wp-block-site-title {
  line-height: 1.1;
}

.calm-site-tagline {
  display: block !important;
  visibility: visible;
  opacity: 1;
  margin: 0;
  line-height: 1.2;
  color: color-mix(in srgb, var(--wp--preset--color--foreground) 78%, white);
}

.calm-header .wp-block-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  font-size: var(--calm-nav-font-size);
}

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

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

.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;
}

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

.wp-block-navigation .wp-block-navigation-item__content {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus {
  color: var(--wp--preset--color--accent);
}

.wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation-item.current_page_item > .wp-block-navigation-item__content,
.wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--accent);
}

body.is-style-ambronet .wp-block-navigation .wp-block-navigation-item__content {
  color: rgb(26, 35, 64);
}

.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--wp--preset--color--background);
}

.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
  padding: 1.25rem;
}

.wp-block-social-links:not(.is-style-pill-shape),
.wp-block-social-links.is-style-logos-only,
.wp-block-social-links.is-style-calm-minimal {
  color: inherit;
}

.wp-block-social-links:not(.is-style-pill-shape) .wp-social-link,
.wp-block-social-links.is-style-logos-only .wp-social-link,
.wp-block-social-links.is-style-calm-minimal .wp-social-link {
  background: transparent;
  background-color: transparent;
  color: inherit;
}

.wp-block-social-links:not(.is-style-pill-shape) .wp-block-social-link-anchor,
.wp-block-social-links.is-style-logos-only .wp-block-social-link-anchor,
.wp-block-social-links.is-style-calm-minimal .wp-block-social-link-anchor {
  color: currentColor;
}

.wp-block-social-links:not(.is-style-pill-shape) .wp-block-social-link-anchor:hover,
.wp-block-social-links:not(.is-style-pill-shape) .wp-block-social-link-anchor:focus,
.wp-block-social-links.is-style-logos-only .wp-block-social-link-anchor:hover,
.wp-block-social-links.is-style-logos-only .wp-block-social-link-anchor:focus,
.wp-block-social-links.is-style-calm-minimal .wp-block-social-link-anchor:hover,
.wp-block-social-links.is-style-calm-minimal .wp-block-social-link-anchor:focus {
  color: var(--wp--preset--color--accent);
}

.wp-block-social-links:not(.is-style-pill-shape) .wp-social-link:hover,
.wp-block-social-links:not(.is-style-pill-shape) .wp-social-link:focus-within,
.wp-block-social-links.is-style-logos-only .wp-social-link:hover,
.wp-block-social-links.is-style-logos-only .wp-social-link:focus-within,
.wp-block-social-links.is-style-calm-minimal .wp-social-link:hover,
.wp-block-social-links.is-style-calm-minimal .wp-social-link:focus-within {
  color: var(--wp--preset--color--accent);
}

/*
 * Make top-level full-width blocks inside post content break out of constrained
 * containers on the frontend. This complements the editor "Layout" controls.
 */
.calm-content-shell .wp-block-post-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@supports (width: 100dvw) {
  .calm-content-shell .wp-block-post-content > .alignfull {
    width: 100dvw;
    max-width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}

.calm-content-shell {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.calm-card,
.wp-block-post {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--calm-radius);
  background: var(--wp--preset--color--background);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.calm-panel-muted {
  border-radius: var(--calm-radius);
  background: var(--wp--preset--color--muted);
  border: 1px solid var(--wp--preset--color--border);
}

.wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-block-query .wp-block-post-template > li {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--calm-radius);
  padding: 1.25rem;
  background: var(--wp--preset--color--background);
}

.wuppi-post-listing-query .wp-block-post-template > li {
  display: flex;
  align-items: stretch;
  margin-block-start: 0;
}

.wuppi-post-listing-query .wuppi-post-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  box-sizing: border-box;
}

.wuppi-blog-has-hero.calm-content-shell {
  margin-block-start: 0;
  padding-top: 0;
}

.wuppi-blog-home__inner {
  margin-top: var(--wp--preset--spacing--60);
}

.wuppi-editorial-hero .wp-block-cover__inner-container {
  width: 100%;
}

.wuppi-editorial-hero__content {
  margin-inline: 0;
}

.wuppi-editorial-hero .wuppi-blog-entry__meta {
  color: var(--wp--preset--color--primary-foreground);
}

.wuppi-editorial-hero .wuppi-blog-entry__meta a {
  color: currentColor;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
}

.wuppi-editorial-hero .wuppi-blog-entry__meta > .wp-block-post-terms::before {
  background: color-mix(in srgb, currentColor 42%, transparent);
}

.wuppi-single-post .wuppi-editorial-hero__title {
  max-width: 13em;
}

:where(.wuppi-editorial-hero) :where(.wuppi-editorial-hero__eyebrow) {
  margin: 0;
  color: var(--wp--preset--color--primary-foreground);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

:where(.wuppi-editorial-hero) :where(.wuppi-editorial-hero__title) {
  max-width: 10em;
  margin: 0;
  color: var(--wp--preset--color--primary-foreground);
  font-size: 4.75rem;
  line-height: 1.15;
}

:where(.wuppi-editorial-hero) :where(.wuppi-editorial-hero__intro) {
  max-width: 46rem;
  margin: 0;
  color: var(--wp--preset--color--primary-foreground);
  font-size: 1.25rem;
  line-height: 1.55;
}

.wp-block-query.wuppi-blog-query .wp-block-post-template {
  gap: 0;
  grid-template-columns: 1fr;
}

.wp-block-query.wuppi-blog-query .wp-block-post-template > li {
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 38%, var(--wp--preset--color--border));
  border-radius: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  background: transparent;
  box-shadow: none;
}

.wp-block-query.wuppi-blog-query .wp-block-post-template > li:first-child {
  border-top: 0;
  padding-top: 0;
}

.wp-block-query.wuppi-blog-query .wp-block-post-template > li:last-child {
  padding-bottom: 0;
}

.wuppi-blog-query .wp-block-post-title {
  margin-block: 0;
}

.wuppi-blog-entry__content {
  width: 100%;
}

.wuppi-blog-entry__content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.wuppi-blog-entry__content > * + * {
  margin-block-start: var(--wp--preset--spacing--20);
}

.wuppi-blog-entry__content > .wp-block-post-title + .wuppi-blog-entry__meta {
  margin-block-start: var(--wp--preset--spacing--10);
}

.wuppi-blog-entry__content > .wuppi-blog-entry__meta + .wp-block-post-excerpt {
  margin-block-start: var(--wp--preset--spacing--30);
}

.wuppi-blog-entry__meta {
  row-gap: 0.35rem;
  column-gap: 0 !important;
  line-height: 1.4;
}

.wuppi-blog-entry__meta > :where(.wp-block-post-date, .wp-block-post-author-name, .wp-block-post-terms) {
  display: inline-flex;
  align-items: center;
}

.wuppi-blog-entry__meta > .wp-block-post-date {
  gap: var(--wp--preset--spacing--15);
}

.wuppi-blog-entry__meta > .wp-block-post-date::before {
  content: "";
  flex: 0 0 auto;
  width: 0.78em;
  height: 0.78em;
  border: 1.25px solid currentColor;
  border-radius: 0.18em;
  background: linear-gradient(currentColor, currentColor) top / 100% 0.22em no-repeat;
  opacity: 0.82;
}

.wuppi-blog-entry__meta > :where(.wp-block-post-author-name, .wp-block-post-terms)::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-inline: var(--wp--preset--spacing--20);
  background: color-mix(in srgb, var(--wp--preset--color--muted-foreground) 36%, transparent);
  vertical-align: -0.12em;
}

.wuppi-blog-query .wp-block-post-date,
.wuppi-blog-query .wp-block-post-author-name,
.wuppi-post-sidebar__item .wp-block-post-date {
  color: color-mix(in srgb, var(--wp--preset--color--muted-foreground) 72%, var(--wp--preset--color--background));
}

.wuppi-blog-entry__meta > .wp-block-post-author-name a {
  color: currentColor;
  text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
}

.wuppi-blog-entry__content .wp-block-post-excerpt__excerpt {
  margin: 0;
}

.wuppi-blog-entry__content .wp-block-post-excerpt__more-text {
  margin-block-start: var(--wp--preset--spacing--30);
  margin-block-end: 0;
}

.wuppi-blog-query .wp-block-post-excerpt__more-link {
  color: var(--wp--preset--color--accent);
  font-weight: 600;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
}

.wuppi-blog-query .wp-block-post-template > li > .wp-block-post-featured-image {
  margin-bottom: var(--wp--preset--spacing--20);
}

@media (min-width: 782px) {
  .wuppi-blog-query .wp-block-post-template > li:has(> .wp-block-post-featured-image) {
    display: grid;
    grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr);
    column-gap: var(--wp--preset--spacing--50);
    align-items: stretch;
  }

  .wuppi-blog-query .wp-block-post-template > li:has(> .wp-block-post-featured-image) > :not(.wp-block-post-featured-image) {
    grid-column: 2;
    width: 100%;
    max-width: none;
    margin-inline: 0 !important;
    justify-self: stretch;
  }

  .wuppi-blog-query .wp-block-post-template > li:has(> .wp-block-post-featured-image) > .wuppi-blog-entry__content {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    margin-block-start: 0 !important;
  }

  .wuppi-blog-query .wp-block-post-template > li:has(> .wp-block-post-featured-image) > .wuppi-blog-entry__content > * {
    width: 100%;
    max-width: none;
    margin-inline: 0 !important;
  }

  .wuppi-blog-query .wp-block-post-template > li:has(> .wp-block-post-featured-image) > .wp-block-post-featured-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
  }

  .wuppi-blog-entry__content > .wp-block-post-excerpt {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  .wuppi-blog-entry__content .wp-block-post-excerpt__more-text {
    margin-top: auto;
    padding-top: var(--wp--preset--spacing--30);
  }
}

.wuppi-blog-query .wp-block-post-template > li > .wp-block-post-featured-image img {
  box-shadow: none;
}

.wuppi-blog-pagination {
  gap: var(--wp--preset--spacing--20);
  justify-content: center;
  margin-top: var(--wp--preset--spacing--60);
  padding-top: var(--wp--preset--spacing--40);
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 28%, var(--wp--preset--color--border));
}

.wuppi-blog-pagination .wp-block-query-pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--wp--preset--spacing--15);
  margin: 0;
}

.wuppi-blog-pagination .wp-block-query-pagination-previous,
.wuppi-blog-pagination .wp-block-query-pagination-next,
.wuppi-blog-pagination .page-numbers {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.5rem;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--calm-radius);
  color: var(--wp--preset--color--foreground);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.wuppi-blog-pagination a:hover {
  border-color: color-mix(in srgb, var(--wp--preset--color--accent) 70%, var(--wp--preset--color--border));
  background-color: color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent);
  color: var(--wp--preset--color--foreground);
}

.wuppi-blog-pagination a:focus-visible {
  border-color: var(--wp--preset--color--accent);
  outline: 2px solid color-mix(in srgb, var(--wp--preset--color--accent) 34%, transparent);
  outline-offset: 2px;
}

.wuppi-blog-pagination .page-numbers.current {
  border-color: var(--wp--preset--color--accent);
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--background);
  font-weight: 700;
}

.wuppi-blog-pagination .page-numbers.dots {
  min-width: 1.5rem;
  border-color: transparent;
  color: var(--wp--preset--color--muted-foreground);
}

.wp-block-post-title a {
  text-decoration: none;
  color: inherit;
}

.wp-block-post-title a:hover {
  color: var(--wp--preset--color--accent);
}

.wp-block-post-featured-image img {
  border-radius: var(--calm-radius);
  box-shadow: var(--calm-shadow-soft);
}

.wp-block-button__link {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--wp--preset--color--border);
  color: var(--wp--preset--color--foreground);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--muted);
}

.wp-block-separator {
  opacity: 0.6;
}

.calm-footer {
  border-top: 1px solid var(--wp--preset--color--border);
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--secondary-foreground);
}

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

.calm-footer__inner {
  width: 100%;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.calm-footer__inner.alignfull {
  max-width: none;
}

.calm-footer__columns {
  gap: 2rem;
}

.calm-footer__columns h2,
.calm-footer__columns h3,
.calm-footer__columns h4,
.calm-footer__columns h5,
.calm-footer__columns h6 {
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--wp--preset--color--secondary-foreground);
}

.calm-footer__columns p,
.calm-footer__columns li:not(.wp-social-link),
.calm-footer__columns a:not(.wp-block-social-link-anchor) {
  font-size: 0.95rem;
  color: var(--wp--preset--color--secondary-foreground);
}

.calm-footer__columns ul {
  margin: 0;
  padding-left: 1.15rem;
}

.calm-footer__columns .wp-block-social-links {
  list-style: none;
  padding-left: 0;
}

.calm-footer__socials .wp-block-social-link-anchor {
  color: var(--wp--preset--color--secondary-foreground);
}

.calm-footer__socials .wp-social-link {
  background: transparent;
}

.calm-footer__socials .wp-social-link:hover {
  background: color-mix(in srgb, var(--wp--preset--color--primary) 15%, transparent);
}

.calm-footer__bottom {
  border-top: 1px solid var(--wp--preset--color--border);
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.calm-footer__bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--wp--preset--color--secondary-foreground);
  text-align: right;
}

.calm-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.calm-footer__brand .wp-block-site-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.calm-footer__brand .wp-block-site-title {
  font-size: 0.95rem;
  margin: 0;
}

body.is-style-ambronet .calm-footer {
  background-color: #2f343d;
  color: #d7dbe2;
  border-top-color: #4c5260;
}

body.is-style-ambronet .calm-footer__columns p,
body.is-style-ambronet .calm-footer__columns h2,
body.is-style-ambronet .calm-footer__columns h3,
body.is-style-ambronet .calm-footer__columns h4,
body.is-style-ambronet .calm-footer__columns h5,
body.is-style-ambronet .calm-footer__columns h6,
body.is-style-ambronet .calm-footer__columns .wp-block-heading,
body.is-style-ambronet .calm-footer__columns li:not(.wp-social-link),
body.is-style-ambronet .calm-footer__columns a:not(.wp-block-social-link-anchor),
body.is-style-ambronet .calm-footer__bottom p,
body.is-style-ambronet .calm-footer__socials .wp-block-social-link-anchor {
  color: #d7dbe2;
}

body.is-style-ambronet .calm-footer a {
  color: #e3e6ec;
}

body.is-style-ambronet .calm-footer a:hover,
body.is-style-ambronet .calm-footer a:focus {
  color: #ffffff;
}

body.is-style-ambronet .calm-footer__bottom {
  border-top-color: #4c5260;
}

.calm-contact-pattern {
  --wp--style--block-gap: 1rem;
  --calm-contact-card-bg: color-mix(in srgb, var(--wp--preset--color--muted) 88%, var(--wp--preset--color--background));
  --calm-contact-title: color-mix(in srgb, var(--wp--preset--color--foreground) 96%, #334155);
  --calm-contact-text: color-mix(in srgb, var(--wp--preset--color--foreground) 92%, #334155);
  --calm-contact-icon-bg: color-mix(in srgb, var(--wp--preset--color--background) 74%, var(--wp--preset--color--muted));
  --calm-contact-icon: color-mix(in srgb, var(--wp--preset--color--accent) 50%, #94a3b8);
}

.calm-contact-pattern > .wp-block-heading {
  margin-bottom: 1rem;
}

.calm-contact-card {
  background-color: var(--calm-contact-card-bg);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.calm-contact-pattern .calm-contact-card h4 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.calm-contact-pattern .calm-contact-card .calm-contact-card__title {
  font-size: clamp(1.2rem, 1rem + 0.35vw, 1.45rem);
  line-height: 1.25;
  color: var(--calm-contact-title);
}

.calm-contact-pattern .calm-contact-card p {
  margin-top: 0;
  margin-bottom: 0.25rem;
  color: var(--calm-contact-text);
}

.calm-contact-pattern .calm-contact-card li {
  color: var(--calm-contact-text);
}

.calm-contact-pattern .calm-contact-card.calm-contact-card--note p,
.calm-contact-pattern .calm-contact-card.calm-contact-card--note .wp-block-paragraph {
  color: var(--wp--preset--color--foreground);
}

.calm-contact-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--calm-contact-icon-bg);
  color: var(--calm-contact-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calm-contact-pattern .wp-block-columns.is-not-stacked-on-mobile {
  align-items: flex-start;
}

.wp-block-comments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wp--preset--color--border);
}

.wuppi-post-sidebar-layout {
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.wuppi-post-sidebar-layout > .wp-block-column {
  box-sizing: border-box;
  min-width: 0;
}

.wuppi-post-sidebar-pattern {
  --wp--style--block-gap: 0;
}

.wuppi-blog-layout__aside {
  border-left: 1px solid var(--wp--preset--color--border);
  padding-left: clamp(1rem, 1.75vw, 1.5rem);
}

.wp-block-group.wuppi-post-sidebar-section,
.wuppi-post-sidebar-pattern > .wp-block-group.wuppi-post-sidebar-card {
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
  border: 0;
  border-top: 2px solid color-mix(in srgb, var(--wp--preset--color--foreground) 16%, var(--wp--preset--color--border));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wuppi-post-sidebar-pattern > .wp-block-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.wuppi-post-sidebar-pattern > .wp-block-group:last-child {
  padding-bottom: 0;
}

.wuppi-post-sidebar-section > .wp-block-heading,
.wuppi-post-sidebar-card > .wp-block-heading,
.wuppi-post-sidebar-section > p,
.wuppi-post-sidebar-card > p {
  margin-top: 0;
}

.wuppi-post-sidebar-section > .wp-block-heading:not([class*="-font-size"]) {
  padding-bottom: var(--wp--preset--spacing--15);
  border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 72%, transparent);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 700;
  line-height: 1.2;
}

.wuppi-post-sidebar-section > .wp-block-heading:not(.has-text-color):not([style*="color"]) {
  color: var(--wp--preset--color--foreground);
}

.wuppi-post-sidebar-section > .wp-block-heading + * {
  margin-block-start: var(--wp--preset--spacing--40);
}

.wuppi-post-sidebar-pattern .wp-block-query .wp-block-post-template {
  gap: 0;
  grid-template-columns: 1fr;
}

.wuppi-post-sidebar-pattern .wp-block-query .wp-block-post-template > li {
  border: 0;
  border-radius: 0;
  margin-block-start: 0 !important;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.wuppi-post-sidebar__item {
  padding-block: var(--wp--preset--spacing--20);
  border-top: 1px solid var(--wp--preset--color--border);
}

.wuppi-post-sidebar-pattern .wp-block-post-template > li:first-child .wuppi-post-sidebar__item {
  padding-top: 0;
  border-top: 0;
}

.wuppi-post-sidebar-pattern .wp-block-post-template > li:last-child .wuppi-post-sidebar__item {
  padding-bottom: 0;
}

.wuppi-post-sidebar__item .wp-block-post-title,
.wuppi-post-sidebar__item .wp-block-post-date {
  margin: 0;
}

.wuppi-post-sidebar__item .wp-block-post-title:not(.has-text-color):not([style*="color"]) {
  color: color-mix(in srgb, var(--wp--preset--color--foreground) 82%, var(--wp--preset--color--background));
}

.wuppi-post-sidebar-search .wp-block-search__inside-wrapper {
  gap: var(--wp--preset--spacing--20);
}

.wuppi-post-sidebar-search .wp-block-search__input {
  min-height: 2.75rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--calm-radius);
}

.wuppi-post-sidebar-search .wp-block-search__button {
  min-height: 2.75rem;
  margin-left: 0;
  border-radius: var(--calm-radius);
}

.wuppi-post-sidebar-pattern .wp-block-categories,
.wuppi-post-sidebar-pattern .wp-block-archives {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wuppi-post-sidebar-section > .wp-block-heading + .wp-block-categories,
.wuppi-post-sidebar-section > .wp-block-heading + .wp-block-archives,
.wuppi-post-sidebar-section > .wp-block-heading + .wp-block-archives-dropdown,
.wuppi-post-sidebar-section > .wp-block-heading + .wuppi-post-sidebar-archive-menu {
  margin-block-start: var(--wp--preset--spacing--50);
}

.wuppi-post-sidebar-archive-menu {
  margin: 0;
}

.wuppi-post-sidebar-archive-menu summary {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--30);
  box-sizing: border-box;
  padding: 0.625rem 0.875rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 72%, var(--wp--preset--color--accent));
  border-radius: var(--calm-radius);
  background-color: transparent;
  color: var(--wp--preset--color--foreground);
  cursor: pointer;
  line-height: 1.4;
  list-style: none;
  transition: border-color 160ms ease;
}

.wuppi-post-sidebar-archive-menu summary::-webkit-details-marker {
  display: none;
}

.wuppi-post-sidebar-archive-menu summary::marker {
  content: "";
}

.wuppi-post-sidebar-archive-menu summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-right: 2px solid var(--wp--preset--color--accent);
  border-bottom: 2px solid var(--wp--preset--color--accent);
  transform: translateY(-18%) rotate(45deg);
  transition: transform 160ms ease;
}

.wuppi-post-sidebar-archive-menu summary:hover {
  border-color: color-mix(in srgb, var(--wp--preset--color--accent) 70%, var(--wp--preset--color--border));
}

.wuppi-post-sidebar-archive-menu summary:focus-visible {
  border-color: var(--wp--preset--color--accent);
  outline: 2px solid color-mix(in srgb, var(--wp--preset--color--accent) 34%, transparent);
  outline-offset: 2px;
}

.wuppi-post-sidebar-archive-menu[open] summary {
  border-color: color-mix(in srgb, var(--wp--preset--color--accent) 70%, var(--wp--preset--color--border));
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.wuppi-post-sidebar-archive-menu[open] summary::after {
  transform: translateY(18%) rotate(225deg);
}

.wuppi-post-sidebar-archive-menu .wp-block-archives {
  max-height: 18rem;
  overflow-y: auto;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 72%, var(--wp--preset--color--accent));
  border-top: 0;
  border-bottom-right-radius: var(--calm-radius);
  border-bottom-left-radius: var(--calm-radius);
  background-color: transparent;
  scrollbar-color: color-mix(in srgb, var(--wp--preset--color--accent) 55%, var(--wp--preset--color--border)) transparent;
}

.wuppi-post-sidebar-pattern .wp-block-categories li,
.wuppi-post-sidebar-pattern .wp-block-archives li {
  padding-block: 0.75rem;
  border-top: 1px solid var(--wp--preset--color--border);
  color: var(--wp--preset--color--muted-foreground);
  font-size: var(--wp--preset--font-size--small);
}

.wuppi-post-sidebar-pattern .wp-block-categories li:first-child,
.wuppi-post-sidebar-pattern .wp-block-archives li:first-child {
  padding-top: 0;
  border-top: 0;
}

.wuppi-post-sidebar-pattern .wp-block-categories li:last-child,
.wuppi-post-sidebar-pattern .wp-block-archives li:last-child {
  padding-bottom: 0;
}

.wuppi-post-sidebar-archive-menu .wp-block-archives li {
  padding-inline: 0.875rem;
}

.wuppi-post-sidebar-archive-menu .wp-block-archives li:first-child {
  padding-top: 0.75rem;
}

.wuppi-post-sidebar-archive-menu .wp-block-archives li:last-child {
  padding-bottom: 0.75rem;
}

.wuppi-post-sidebar-pattern .wp-block-categories a,
.wuppi-post-sidebar-pattern .wp-block-archives a {
  color: inherit;
  text-decoration: none;
}

.wuppi-post-sidebar-pattern .wp-block-categories a:hover,
.wuppi-post-sidebar-pattern .wp-block-archives a:hover {
  color: var(--wp--preset--color--accent);
}

.wp-block-post-comments-form input:not([type="submit"]),
.wp-block-post-comments-form textarea,
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-block-components-combobox .components-combobox-control__input {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--calm-radius);
}

.wc-block-grid__products .wc-block-grid__product,
.wc-block-components-product-name {
  color: var(--wp--preset--color--foreground);
}

.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  border-radius: var(--calm-radius);
}

.wc-block-components-notice-banner {
  border-radius: var(--calm-radius);
}

:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 781px) {
  .calm-header {
    --calm-header-height: 64px;
  }

  body.calm-header-mobile-sticky-glass .calm-header {
    position: sticky;
    top: 0;
    z-index: 100001;
    background: color-mix(in srgb, var(--wp--preset--color--background) 92%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .calm-header__inner {
    padding-top: 0.75rem;
  }

  html.has-modal-open body.calm-header-mobile-sticky-glass .calm-header {
    background: var(--wp--preset--color--background);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  html.has-modal-open body.calm-header-mobile-sticky-glass .calm-header .wp-block-navigation__responsive-container.is-menu-open {
    inset: 0;
  }

  .calm-header .calm-header__nav-row {
    gap: 0.35rem;
  }

  .wuppi-post-sidebar__aside {
    margin-top: var(--wp--preset--spacing--60);
  }

  .wuppi-blog-layout__aside {
    border-left: 0;
    border-top: 1px solid var(--wp--preset--color--border);
    padding-top: var(--wp--preset--spacing--50);
    padding-left: 0;
  }

  :where(.wuppi-editorial-hero) :where(.wuppi-editorial-hero__title) {
    font-size: 3.25rem;
  }

  :where(.wuppi-editorial-hero) :where(.wuppi-editorial-hero__intro) {
    font-size: 1.125rem;
  }

  .wp-block-cover__inner-container {
    padding-inline: max(var(--wuppi-content-padding-inline), 1rem);
  }
}

/* alignfull text elements: restore padding after root-padding breakout */
.wp-block-heading.alignfull,
.wp-block-paragraph.alignfull {
  padding-inline: var(--wuppi-content-padding-inline);
}

@media (prefers-reduced-motion: reduce) {
  .calm-header {
    transition: none;
  }
}

/* ── Card block style (core/group) ─────────────────────────────────────── */

.wp-block-group.is-style-card {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background-color: var(--wp--preset--color--card);
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

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

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

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

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

.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 */

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

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

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

/* ── Back to top button ─────────────────────────────────────────────────── */

.wuppi-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 50%;
  background: var(--wp--preset--color--background);
  color: var(--wp--preset--color--foreground);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Respect the hidden attribute before JS initialises. */
.wuppi-back-to-top[hidden] {
  display: none;
}

.wuppi-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wuppi-back-to-top:hover,
.wuppi-back-to-top:focus-visible {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--background);
  border-color: var(--wp--preset--color--primary);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .wuppi-back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .wuppi-back-to-top:hover,
  .wuppi-back-to-top:focus-visible {
    transform: none;
  }
}

/* =========================================================
   Responsive Visibility Utilities
   Add these CSS classes to any block via "Additional CSS class(es)"
   in the block Inspector sidebar.
   ========================================================= */

/* Hide on specific breakpoints */
@media (max-width: 781px) {
  .wuppi-hide-mobile { display: none !important; }
}
@media (min-width: 782px) and (max-width: 1024px) {
  .wuppi-hide-tablet { display: none !important; }
}
@media (min-width: 1025px) {
  .wuppi-hide-desktop { display: none !important; }
}

/* Show only on a specific breakpoint */
@media (min-width: 782px) {
  .wuppi-show-mobile { display: none !important; }
}
@media (max-width: 781px), (min-width: 1025px) {
  .wuppi-show-tablet { display: none !important; }
}
@media (max-width: 1024px) {
  .wuppi-show-desktop { display: none !important; }
}
