/* Approved navigation alignment and rounded-corner refinement.
 * Shared by the public site and Gutenberg canvas. */
:root {
 --pesat-button-radius: 10px;
 --pesat-card-radius: 16px;
 --pesat-header-height: 88px;
}
.car-card { border-radius: var(--pesat-card-radius); }
.button,
.tabs button,
.carousel-toggle,
.floating-help,
.header .wp-block-navigation-item__content {
 border-radius: var(--pesat-button-radius);
}
.wp-block-button.round-btn .wp-block-button__link,
.carousel-dots button,
.hero-pagination button { border-radius: 999px; }
.close-modal { border-radius: 50%; }

/* Core Navigation defaults to display:block on links; centre the label inside
 * the existing full-height link, preserving the bottom active-page indicator. */
.header nav.wp-block-navigation .wp-block-navigation-item__content {
 display: flex;
 align-items: center;
 justify-content: center;
 box-sizing: border-box;
 white-space: nowrap;
}
.header .current-menu-item > .wp-block-navigation-item__content::after {
 border-radius: 2px;
}
@media (min-width: 901px) {
 .header { gap: 28px; }
 .header nav.wp-block-navigation { min-width: 0; }
 .header nav.wp-block-navigation .wp-block-navigation__container {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 22px;
 }
 .header nav.wp-block-navigation .wp-block-navigation-item {
  align-items: center;
  flex-shrink: 0;
 }
}
@media (min-width: 901px) and (max-width: 1150px) {
 .header { gap: 24px; }
 .header nav.wp-block-navigation .wp-block-navigation__container { gap: 20px; }
}
@media (max-width: 900px) {
 :root { --pesat-header-height: 76px; }
 .header { height: var(--pesat-header-height); gap: 20px; }
 .header nav.wp-block-navigation {
  height: 44px;
  width: 44px;
  min-width: 44px;
  margin: 0 0 0 auto;
  flex: 0 0 44px;
  --navigation-layout-justification-setting: flex-start;
 }
 .header nav.wp-block-navigation .wp-block-navigation__responsive-container-open,
 .header nav.wp-block-navigation .wp-block-navigation__responsive-container-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--pesat-button-radius);
  box-sizing: border-box;
 }
 .header nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  position: absolute;
  inset: var(--pesat-header-height) 0 auto;
  width: 100%;
  max-height: calc(100dvh - var(--pesat-header-height) - 30px);
  margin: 0;
  padding: 12px var(--gutter) 20px;
  overflow: auto;
  background: white;
  box-sizing: border-box;
 }
 .header nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-close,
 .header nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-dialog {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
 }
 .header nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-close {
  position: absolute;
  top: 0;
  right: 0;
 }
 .header nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content {
  width: 100%;
  height: auto;
  padding: 52px 0 0;
  align-items: stretch;
  gap: 0;
 }
 .header nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
 }
 .header nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
  width: 100%;
  height: auto;
  align-items: stretch;
 }
 .header nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 24px;
 }
 .header nav.wp-block-navigation .is-menu-open .current-menu-item > .wp-block-navigation-item__content::after {
  top: 14px;
  bottom: auto;
  left: 0;
  right: auto;
  width: 3px;
  height: 20px;
 }
}
@media (max-width: 600px) {
 :root { --pesat-header-height: 72px; }
 .header nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  max-height: calc(100dvh - var(--pesat-header-height) - 26px);
 }
}
