/*
 Theme Name: Precision Pool and Patio
 Template: twentytwentyfive
 Description: A Twenty Twenty-Five child theme
 Author: MV
 Version: 1.0.0
 */

html {
  scroll-behavior: smooth;
}

nav a {
  text-decoration-color: var(--wp--preset--color--custom-color-2) !important;
  text-decoration-thickness: 2px !important;
}

.page-template-rotlock-template-2 nav a {
  text-decoration-color: var(--wp--preset--color--custom-color-6) !important;
}

.page-template-rotlock-template-2 nav a:where(:not(.wp-element-button)) {
  font-family: var(--wp--preset--font-family--domine) !important;
}

.wp-block-post-featured-image+div {
  margin-top: 0;
}

:root :where(.wp-block-separator) {
  border-width: 0 0 5px 0;
}

.wp-container-core-group-is-layout-0e82c502 {
  grid-template-columns: unset;
}

.page-template-rotlock-template-2 footer figure + p {
  color: var(--wp--preset--color--custom-color-6) !important;
  font-family: var(--wp--preset--font-family--domine) !important;
}

@media (max-width: 600px) {
  .home .wp-block-media-text.is-stacked-on-mobile p {
    margin-bottom: 0;
  }

  .home .wp-block-media-text:last-of-type figure {
    margin-top: var(--wp--preset--spacing--30);
  }

  .home .wp-block-media-text:last-of-type p {
    margin-bottom: var(--wp--preset--spacing--30);
  }

  body.home footer.wp-block-template-part div.is-layout-flex {
    flex-direction: column;
  }

  .page-template-rotlock-template-2 footer .wp-block-group-is-layout-flex {
    flex-direction: column;
  }

  footer figure:first-of-type,
  footer figure:first-of-type+p {
    margin-right: 0 !important;
  }

  footer figure:first-of-type img,
  footer figure:last-of-type img {
    width: 100% !important;
  }

  .home footer .wp-block-columns div:first-child,
  .page-template-rotlock-template-2 footer .wp-block-columns div:last-child {
    height: 0 !important;
  }
}

@media (min-width: 768px) {
  .wp-container-core-group-is-layout-0e82c502 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .precision-h2 {
    margin-top: -70px !important;
  }
}

@media (min-width: 600px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    background-color: inherit;
    display: none;
    position: relative;
    width: 100%;
    z-index: auto;
  }
}

@media (min-width: 601px) {
  .rl-footer-max-width {
    max-width: 246px;
  }
}

@media (min-width: 1089px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    background-color: inherit;
    display: block;
    position: relative;
    width: 100%;
    z-index: auto;
  }

  .wp-container-core-group-is-layout-0e82c502 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}