/**
 * Theme Name: Nifty 2021 Child
 * Template: twentytwentyone
 * Author: Nifty Dev Team
 * Author URI: https://niftymarketing.com/
 * Description: A lightweight theme for use of our clients.
 * Version: 2.0
 *
 * @format
 */

/*Theme Variables*/
:root {
  /*site colors*/
  --white: #ffffff;
  --black: #000000;
  --red: #cd2027;
  --blue: #284d80;
  --light-blue: #266bbf;
  --dark-blue: #23354d;
  --grey-blue: #353c46;
  --light-grey-blue: #bec2d0;
  --grey: #757575;
  --light-grey: #e0e0e0;
  --light-shade-grey: #eee;
  --yellow: #f7e700;

  --footer-text-bg: #1c2c41;
  --grye-bg-breadcrambs: #f5f5f5;

  /*font sizes*/
  --fsize-xl: 55px;
  --fsize-lg: 40px;
  --fsize-md: 30px;
  --fsize-sm: 20px;
  --fsize-default: 16px;
  /*ADA requires at least 16px*/

  /*font families*/
  --heading-font: "Oswald", sans-serif;
  --text-font: "Lato", sans-serif;
}

@media (max-width: 1000px) {
  :root {
    /*font sizes*/
    --fsize-xl: 40px;
    --fsize-lg: 30px;
    --fsize-md: 20px;
    --fsize-sm: 18px;
  }
}

@media (max-width: 750px) {
  :root {
    /*font sizes*/
    --fsize-xl: 35px;
    --fsize-lg: 25px;
    --fsize-md: 20px;
    --fsize-sm: 18px;
  }
}

/*Default Overall Styles*/
html,
body {
  scroll-behavior: smooth;
  font-size: var(--fsize-default);
  font-variant-ligatures: none;
  overflow-anchor: none;
}

body {
  margin: 0;
}

* {
  box-sizing: border-box;
  -webkit-appearance: none;
}

/* lazy loading flow fixes */
img {
  max-width: 100%;
  height: auto;
}

img[src=""] {
  visibility: hidden;
}

img[data-url]:before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

a {
  text-decoration: none;
}

.button {
  background-color: var(--red);
  color: var(--white);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px rgb(0 0 0 / 50%);
  box-shadow: 0 2px rgb(0 0 0 / 50%);
  text-align: center;
}

/*Font Defaults*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  line-height: 1.75em;
  color: var(--dark-blue);
  letter-spacing: -1px;
}

body,
p,
ul,
ol,
li {
  font-family: var(--text-font);
  line-height: 1.5em;
}

p {
  color: var(--dark-blue);
  font-size: 20px;
}

h1 {
  font-size: var(--fsize-xl);
}

h2 {
  font-size: var(--fsize-lg);
}

h3 {
  font-size: var(--fsize-md);
}

h4 {
  font-size: var(--fsize-sm);
}

/*Layout*/
.section-padding {
  padding: 5% 0;
}

.content-width {
  width: 1130px;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.container {
  width: 1430px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.mobile-full-overlay {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
}

/* ADA header */
.masthead {
  background: white;
  padding: 15px 25px 0 15px;
}

.masthead .skip-bar {
  position: absolute;
  display: block;
  width: 100%;
  text-align: center;
  height: 0;
  overflow: hidden;
  background: #2b2b2b;
  top: 0;
  left: 0;
  z-index: 10;
}

.masthead .skip-bar:focus {
  height: auto;
  padding: 20px;
}

.masthead .inner-masthead {
  padding: 10px 0 0 0;
}

.masthead .menus {
  background-color: var(--dark-blue);
  color: var(--white);
  position: relative;
  z-index: 2;
}

.masthead .menus a {
  font-family: var(--heading-font);
  font-size: 18px;
  color: var(--white) !important;
  background: transparent !important;
}

.mobile-nav-input {
  display: none;
}

.masthead .main-nav ul {
  list-style: none;
  padding: 0;
  text-transform: uppercase;
}

.main-nav ul .sub-menu > li:focus-within > .sub-menu,
.main-nav ul li {
  list-style-type: none;
}

.masthead .search {
  padding-bottom: 13px;
  min-width: 210px;
  border-bottom: 1px solid var(--light-grey);
}

.masthead .search form {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: 30px;
}

.masthead .search .label {
  display: none;
}

.masthead .search input {
  border: none;
  padding: 0;
}

.masthead .search .inputbox {
  font-size: 20px;
  width: 280px;
  max-width: 100%;
  padding-top: 5px;
  padding-bottom: 7px;
  outline: 2px solid transparent;
  border-radius: 3px;
}

.masthead .search .inputbox:focus {
  outline: 2px solid var(--light-blue);
}

.masthead .search .inputbox:focus::-webkit-input-placeholder {
  color: transparent;
}

.masthead .search .inputbox:focus::-moz-placeholder {
  color: transparent;
}

.masthead .search .inputbox:focus:-ms-input-placeholder {
  color: transparent;
}

.masthead .search .inputbox:focus::-ms-input-placeholder {
  color: transparent;
}

.masthead .search .inputbox:focus::placeholder {
  color: transparent;
}

.masthead .search .searchimage {
  padding-left: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: url("https://zl21.wpenginepowered.com/wp-content/uploads/search-btn.png")
    no-repeat center center;
}

.masthead .search .searchimage:hover {
  cursor: pointer;
}

.head-search {
  padding-bottom: 13px;
  min-width: 210px;
  border-bottom: 1px solid var(--light-grey);
}

.head-search form {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: 30px;
}

.head-search .label {
  display: none;
}

.head-search input {
  border: none;
  padding: 0;
}

.head-search .inputbox {
  font-size: 20px;
  width: 280px;
  max-width: 100%;
  padding-top: 5px;
  padding-bottom: 7px;
  outline: 2px solid transparent;
  border-radius: 3px;
}

.head-search .inputbox:focus {
  outline: 2px solid var(--light-blue);
}

.head-search .inputbox:focus::-webkit-input-placeholder {
  color: transparent;
}

.head-search .inputbox:focus::-moz-placeholder {
  color: transparent;
}

.head-search .inputbox:focus:-ms-input-placeholder {
  color: transparent;
}

.head-search .inputbox:focus::-ms-input-placeholder {
  color: transparent;
}

.head-search .inputbox:focus::placeholder {
  color: transparent;
}

.head-search .searchimage {
  padding-left: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: url("https://zl21.wpenginepowered.com/wp-content/uploads/search-btn.png")
    no-repeat center center;
}

.head-search .searchimage:hover {
  cursor: pointer;
}

.masthead .inner-masthead .logo-items {
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.masthead .logo-items {
  font-family: var(--heading-font);
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--grey-blue);
  margin-bottom: 30px;
}

.masthead .logo-container {
  width: 300px;
}

.masthead .logo-items .slogan {
  font-size: 30px;
  line-height: 1.2;
}

.masthead .logo-items .slogan span {
  white-space: nowrap;
}

.masthead .logo-items .phone {
  text-align: end;
  white-space: nowrap;
}

.masthead .logo-items .call {
  font-size: 18px;
}

.masthead .logo-items .tel {
  font-size: 30px;
}

.masthead .logo-items .tel > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.masthead .logo-items .tel .tel-image > img {
  width: 40px;
  max-width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  margin-right: 15px;
}

.masthead .logo-items .tel .tel-number {
  color: var(--red);
}

.masthead .logo-items .tel-cta {
  display: none;
}

/*link hover underline */

.home-contact .right-col .bottom-items a,
.home-pas p a,
.footer .hover-link,
#breadcrumbs a,
.internal-sidebar a,
.blog-with-sidebar a,
.single a,
.results a,
.archive .navigation a,
.search a,
.not-found a,
.cat-client-testimonials a,
#main-nav a {
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(205, 32, 39, 1), rgba(205, 32, 39, 1));
  background-size:
    100% 0.1em,
    0 0.1em;
  background-position:
    100% 100%,
    0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}

.home-contact .right-col .bottom-items a:hover,
.home-pas p a:hover,
.footer .hover-link:hover,
#breadcrumbs a:hover,
.internal-sidebar a:hover,
.blog-with-sidebar a:hover,
.single a:hover,
.results a:hover,
.archive .navigation a:hover,
.search a:hover,
.not-found a:hover,
.cat-client-testimonials a:hover,
#main-nav a:hover {
  color: var(--red);
  background-size:
    0 0.1em,
    100% 0.1em;
}

/*main-title with line*/
.home-cta .title-element,
.home-social .title-element,
.home-results .title-element {
  position: relative;
  width: 100%;
}

.home-cta .main-title,
.home-social .main-title,
.home-results .main-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-weight: 400;
  font-size: 32px;
}

.home-cta .title-line,
.home-social .title-line,
.home-results .title-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--light-grey);
  -webkit-filter: brightness(0.85);
  filter: brightness(0.85);
}

/* breadcrumbs link color & weight*/
* .breadcrumbs {
  flex: 0 0 100%;
  background-color: var(--grye-bg-breadcrambs);
  padding: 8px 15px;
  border-radius: 4px;
}

* .breadcrumbs a {
  color: var(--light-blue);
}

* .breadcrumbs a:hover {
  color: var(--red);
}

* .breadcrumbs a,
* .breadcrumbs .breadcrumb_last {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--text-font);
}

/*style for protected page */

.post-password-message,
.post-password-form,
.post-password-form .password-title,
.post-password-form .password-content,
.protected-content {
  text-align: center;
}

.post-password-form .password-title {
  font-weight: 400;
  font-size: 34px;
}

.post-password-form .button-primary {
  font-family: var(--heading-font);
  font-size: 20px;
  display: block;
  margin: 0 auto;
  min-width: 300px;
  background-color: var(--red);
  color: var(--white);
  border-radius: 5px;
  padding: 2px 20px 3px;
  text-transform: uppercase;
  transition: all 0.3s ease-out;
}

.post-password-form .button-primary:hover {
  filter: brightness(110%);
}

.post-password-form .form-control {
  font-size: 20px;
  line-height: 34px;
}

/*style for post*/
.post-4000 img {
  width: fit-content;
  max-width: 40%;
  float: right;
  margin-left: 15px;
  box-shadow: 0 0 20px rgb(0 0 0 / 20%);
  border-radius: 5px;
}

.navigation {
  display: flex;
  justify-content: space-between;
}

.navigation a {
  color: var(--light-blue);
  font-size: 20px;
}

@media (min-width: 1001px) {
  .masthead .logo-items {
    margin-bottom: 12px;
  }

  body.admin-bar .masthead {
    top: 32px;
  }

  .masthead .menus {
    margin: 0 -25px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .masthead .item-mobile {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .masthead .main-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .masthead .main-nav ul > li {
    padding: 7px 26px;
    position: relative;
    margin-bottom: 0 !important;
  }

  .masthead .main-nav ul > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    z-index: 1000;
    list-style: none;
  }

  .masthead .main-nav ul > li:hover > .sub-menu {
    white-space: nowrap;
  }

  .masthead .main-nav ul > li > .sub-menu > li {
    position: relative;
  }

  .masthead .main-nav .sub-menu > li {
    width: 100%;
  }

  .masthead .main-nav .sub-menu > li:hover {
    background-color: var(--dark-blue);
  }

  .masthead .main-nav ul > li > .sub-menu .sub-menu {
    position: absolute;
    left: 99%;
    top: 0;
    background-color: var(--blue);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    height: 0;
    width: 0;
    overflow: hidden;
    padding: 15px;
  }

  .masthead .main-nav ul .sub-menu > li > .sub-menu {
    position: absolute;
    left: 99%;
    top: 0;
    background-color: var(--blue);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    height: 0;
    width: 0;
    overflow: hidden;
    padding: 0;
  }

  .masthead .main-nav ul .sub-menu > li:hover > .sub-menu,
  .masthead .main-nav ul .sub-menu > li > a:focus + .sub-menu,
  .masthead .main-nav ul .sub-menu > li:focus-within > .sub-menu {
    width: initial;
    height: initial;
    list-style: none;
  }

  .masthead .main-nav ul > li > .sub-menu a {
    font-family: var(--heading-font);
    font-size: 18px;
    text-transform: capitalize;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }

  .masthead .main-nav .main-menu li {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
  }

  .masthead .main-nav .main-menu > li:hover {
    background-color: #284d80;
    border-top: 4px solid #678dc2;
  }

  .masthead .main-nav .main-menu .menu-item-has-children:hover {
    background-color: var(--dark-blue);
    border-top: 4px solid transparent;
  }

  .masthead .main-nav .main-menu > .menu-item-has-children {
    position: relative;
  }

  .masthead .main-nav .main-menu > .menu-item-has-children:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 15px;
    height: 10px;
    -webkit-clip-path: polygon(50% 38%, 73% 0, 100% 0, 50% 80%, 0 0, 27% 0);
    clip-path: polygon(50% 38%, 73% 0, 100% 0, 50% 80%, 0 0, 27% 0);
    background-color: var(--white);
  }

  .masthead .main-nav .main-menu > .menu-item-has-children:hover:after {
    background-color: var(--blue);
  }

  /* Sidebar for all pages (need dublicate in blog-style.php) */

  /* .sidebar .right-col { position: sticky; top: 32px; } */
}

@media (max-width: 1000px) {
  .mobile-full-overlay.over-active {
    content: "";
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 30%);
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 1;
  }

  .sub-menu.is-opened {
    border-top: 1px solid rgba(205, 32, 39, 1);
  }

  .masthead {
    position: relative;
    padding: 10px 10px 0 10px;
  }

  .masthead .logo-items.flex {
    text-align: center;
    margin-bottom: 0;
  }

  .masthead .logo-items .logo-container {
    -webkit-box-flex: 2;
    -ms-flex: 2 1 auto;
    flex: 2 1 auto;
  }

  .masthead .logo-items .slogan {
    -webkit-box-flex: 1;
    -ms-flex: 1 5 auto;
    flex: 1 5 auto;
  }

  .masthead .logo-items .phone {
    -webkit-box-flex: 2;
    -ms-flex: 2 1 auto;
    flex: 2 1 auto;
  }

  .masthead .logo-items .call {
    font-size: 15px;
  }

  .masthead .item-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-padding-start: 0;
    padding-inline-start: 0;
    -webkit-margin-before: 0;
    margin-block-start: 0;
    -webkit-margin-after: 0;
    margin-block-end: 0;
  }

  .masthead .item-mobile li {
    list-style: none;
    font-size: 20px;
    text-transform: uppercase;
  }

  .masthead .item-mobile .mobile-chat {
    padding: 17px 45px 10px 10px;
  }

  .masthead .item-mobile .mobile-chat a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .masthead .item-mobile .mobile-chat .image-chat {
    width: 20px !important;
    height: 20px !important;
    overflow: hidden;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .masthead .item-mobile .mobile-chat .image-chat svg {
    width: 20px;
    height: auto;
  }

  .masthead .ham-dropdown {
    position: relative;
    top: -5px;
    font-size: 30px;
  }

  /*.masthead .item-mobile .mobile-chat .image-chat {width: 20px; margin-left: 10px; margin-top: -15px;}*/
  /*.masthead .item-mobile .mobile-chat .image-chat,*/
  /*.masthead .item-mobile .mobile-chat .image-chat img {transform: scale(1.3);}*/
  .masthead .item-mobile .mobile-contact {
    padding: 17px 0 17px 46px;
  }

  .masthead .menus {
    margin: 0 -10px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .mobile-nav {
    font-family: var(--heading-font);
    font-size: 21px;
    text-transform: uppercase;
    padding: 9px 10px;
    margin-right: 15px;
  }

  .mobile-nav span {
    font-size: 18px;
  }

  .mobile-nav:hover {
    background-color: #314a6a;
    cursor: pointer;
    border-radius: 4px;
  }

  .main-nav {
    position: absolute;
    top: 7%;
    width: 75%;
    height: 100vh;
    background: var(--dark-blue);
    border-top: 1px solid #aaa;
    height: auto;
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.25s;
    transition: -webkit-transform 0.25s;
    -o-transition: transform 0.25s;
    transition: transform 0.25s;
    transition:
      transform 0.25s,
      -webkit-transform 0.25s;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    z-index: 3;
  }

  #mobile-nav-input:checked + * + .main-nav {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    height: 100vh;
    position: fixed;
  }

  .main-nav .menu-item-has-children {
    position: relative;
  }

  .main-nav .menu-item-has-children .menu-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 31px;
    background-color: rgba(255, 255, 255, 0.085);
  }

  .main-nav .menu-item-has-children .menu-arrow:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #a5a5a5;
    border-top: 2px solid #a5a5a5;
    -webkit-transform: rotate(135deg) translateX(-50%);
    -ms-transform: rotate(135deg) translateX(-50%);
    transform: rotate(135deg) translateX(-50%);
  }

  .main-nav .menu-item-has-children .is-active.menu-arrow:after {
    -webkit-transform: rotate(-45deg) translateX(50%);
    -ms-transform: rotate(-45deg) translateX(50%);
    transform: rotate(-45deg) translateX(50%);
  }

  .main-nav .main-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 9px 0 9px 28px;
  }

  .main-nav .main-menu > li .sub-menu {
    margin-left: -28px;
  }

  .main-nav .main-menu li a {
    font-size: 15px;
    font-family: var(--text-font);
    line-height: 2;
    padding-right: 20px;
  }

  .main-nav ul .sub-menu {
    display: none;
    background-color: #162233;
  }

  .main-nav .sub-menu.is-opened {
    display: block;
  }

  .menu-item-has-children .sub-menu.also-opened {
    display: block;
  }

  .masthead .menus .main-nav .menu-primary-navigation-container {
    overflow: scroll;
  }
}

@media (max-width: 750px) {
  .masthead .search {
    display: none;
  }

  .head-search {
    display: none;
  }

  .masthead .slogan {
    display: none;
  }

  .masthead .logo-container {
    max-width: 45%;
  }

  .masthead .tel-image {
    display: none;
  }

  .masthead .logo-items .call {
    display: none;
  }

  .masthead .logo-items .phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    min-height: 100%;
  }

  /* Keep the number in the layout so CallRail DNI can swap the tel: href.
     display:none / visibility:hidden / font-size:0 all prevent the swap. */
  .masthead .logo-items .tel .tel-number {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    color: transparent;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
  }

  .masthead .logo-items .tel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .masthead .logo-items .tel-cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .masthead .logo-items .tel > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red);
    color: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px rgb(0 0 0 / 50%);
    padding: 10px 16px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
    overflow: hidden;
  }

  .masthead .logo-items .tel > a:hover,
  .masthead .logo-items .tel > a:focus-visible {
    color: var(--white);
  }
}

@media (max-width: 530px) {
  .navigation {
    margin: 25px 0;
  }
}

@media (max-width: 480px) {
  .masthead .logo-container {
    max-width: 60%;
  }

  .masthead .logo-items .tel > a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .masthead .item-mobile .mobile-chat a {
    font-size: 18px;
  }

  .masthead .item-mobile .mobile-contact a {
    font-size: 18px;
  }

  .mobile-nav span {
    font-size: 20px;
    margin-right: 5px;
  }

  .masthead .item-mobile {
    width: 63%;
    justify-content: space-between;
    overflow: hidden;
  }

  .masthead .mobile-nav {
    width: 37%;
    margin-right: 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .masthead .item-mobile .mobile-chat {
    padding: 20px 10px;
  }

  .masthead .item-mobile .mobile-contact {
    padding: 20px 10px;
  }

  * .breadcrumbs {
    line-height: 1.7;
  }
}

@media (max-width: 375px) {
  .masthead .logo-items .tel > a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .masthead .item-mobile .mobile-contact {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .hide-on-tablet {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .hide-on-desktop {
    display: none !important;
  }
}

/* FEATURES > YouTube Player */
.youtube-player {
  position: relative;
  padding-bottom: 56.23%;
  /* Use 75% for 4:3 videos */
  height: 0;
  max-width: 100%;
  background: var(--color-near-black);
  margin: 20px 0 50px;
}

.youtube-player-inner {
  width: 100%;
  height: 100%;
  content: "";
  overflow: hidden;
  position: absolute;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
}

.youtube-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.youtube-player img {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: auto;
  cursor: pointer;
  transition: all 200ms ease-out;
}

/*Properly aligned images embed in content*/
.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
img {
  max-width: 100%;
  max-height: 100%;
}
a:has(img.alignleft) {
  float: left;
  display: flex;
}

.wp-block-image.size-full {
  width: 100%;
}

.wp-block-image .alignleft {
  float: left;
  display: block;
  margin: 10px 20px 0px 0px;
  max-width: 100%;
}
.wp-block-image .alignleft img {
  display: block;
}
@media (max-width: 500px) {
  a:has(img.alignleft) {
    width: 100%;
  }
  a:has(img.alignleft) img.alignleft {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .wp-block-image .alignleft {
    float: none;
    width: 100%;
    height: auto;
    margin: 0px 0px 20px 0px !important;
  }
  .wp-block-image .alignleft img {
    width: 100%;
    height: auto;
  }
}
p:has(.alignleft) {
  max-width: 100%;
  width: fit-content;
  margin: 0;
  margin-right: 20px;
  display: flex;
  float: left;
}
@media (max-width: 500px) {
  p:has(.alignleft) {
    width: 100%;
  }
}
p:has(.alignleft) img.alignleft {
  margin: 0;
  margin-right: 0;
}
.alignleft {
  margin-right: 20px;
  margin-bottom: 35px;
  float: left;
}
@media (max-width: 500px) {
  .alignleft {
    width: 100%;
  }
}
.alignleft img {
  width: 100% !important;
  height: auto !important;
}
.aligncenter {
  max-width: 100%;
}
.aligncenter img {
  width: 100%;
  height: auto;
  display: block;
}
img.aligncenter {
  display: block;
  max-width: 100%;
  height: auto;
}
iframe {
  max-width: 100%;
  width: 100%;
}
@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .hide-on-tablet {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .hide-on-desktop {
    display: none !important;
  }
}

.wp-block-image .alignleft {
  margin-right: 10px !important;
}

#xstats {
  width: 0;
  height: 0;
  position: fixed;
  display: none !important;
  top: 0;
  left: 0;
  transform: translateX(-100%);
}

/* Fix CLS: explicitly size third-party chat widget images to prevent layout shifts */
#chat-window-top-content-dismiss-image,
.chat-window-top-content-dismiss-image {
  width: 20px;
  height: 20px;
}

.chat-window-curved-triangle-image {
  width: 20px;
  height: 14px;
}

/* Accessibility: ensure inline links in body copy are distinguishable by more than color alone.
   WCAG 1.4.1 requires non-color cues for links mixed with surrounding text. */
.home-faq .faq-content p a,
.home-pas .content p a,
.internal-sidebar .content p a,
.single .entry-content p a,
.page .entry-content p a,
.blog-with-sidebar .entry-content p a,
#main .wp-block-post-content p a {
  text-decoration: underline;
}

/* wp-block-columns layout — replaces dequeued wp-block-library/global-styles */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: normal;
  gap: 2em;
}
.wp-block-columns.is-not-stacked-on-mobile {
  flex-wrap: nowrap;
}
.wp-block-column {
  flex-grow: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.wp-block-column.is-vertically-aligned-top {
  align-self: flex-start;
}
.wp-block-column.is-vertically-aligned-center {
  align-self: center;
}
.wp-block-column.is-vertically-aligned-bottom {
  align-self: flex-end;
}
@media (max-width: 781px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}
@media (min-width: 782px) {
  .wp-block-column:not([style*="flex-basis"]) {
    flex-basis: 0;
  }
  .wp-block-columns .wp-block-column[style*="flex-basis"] {
    flex-grow: 0;
  }
}
