/* Style overrides by A Subtle Web */

.wp-block-group.has-background {
  padding: 1rem;
}

.topbar .topbar__nav li.menu-item-has-children.active {
  background-color: #EDEDED;
}

.topbar .topbar__nav li.menu-item-has-children.active a {
  color: black;
}

.topbar .topbar__nav li.menu-item-has-children>a:after {
  display: inline-block;
  content: "\203A";
  font-size: 1.5em;
  margin-left: 0.25em;
  rotate: 90deg;
  translate: 0 0.1em;
  transition: all 250ms linear 0s;
}

.topbar .topbar__nav li.menu-item-has-children.active>a:after {
  margin-left: 0.1em;
  rotate: -90deg;
}

.topbar .topbar__nav li.menu-item-has-children>ul {
  max-height: 0;
  overflow: hidden;
  transition: all 1s linear 0s;
}

.topbar .topbar__nav li.menu-item-has-children.active>ul {
  max-height: 600px;
}

.topbar .topbar__nav li.menu-item-has-children>ul a {
  display: block;
  margin: 0.5em 0;
  padding: 0;
  text-transform: none;
}

.review-stars {
  color: gold;
  display: flex;
  gap: 0.25em;
  font-size: 1.25em;
  line-height: 1;
  margin-bottom: 1em;
}

.review-credit {
  font-size: 0.85em;
  font-weight: bold;
  margin-top: 1em;
}

.reviews-carousel-wrapper ul.slick-dots {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  list-style: none;
  justify-content: center;
  margin-top: 1rem;
}

.reviews-carousel-wrapper ul.slick-dots li:before {
  content: none;
}

.reviews-carousel-wrapper ul.slick-dots button {
  border: 1px solid #CCC;
  border-radius: 50%;
  cursor: pointer;
  display: block;
  font-size: 0;
  height: 1rem;
  width: 1rem;
}

.reviews-carousel-wrapper ul.slick-dots .slick-active button {
  background-color: rgba(0, 0, 0, 0.5);
}

.practice_area__content-right--compact .practice_area__specialist__list__item {
  aspect-ratio: unset;
}

.block-team-location__attorney {
  background-color: #464646;
}

.attorney__header-meta {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto auto 1fr;
  width: 100%;
}

.attorney__header-meta img {
  display: block;
  height: 3rem;
  width: auto;
}

.single-attorneys .attorney__header-data .attorney__header-distinction {
  justify-self: flex-end;
  margin: 0;
}

.single-attorneys .attorney__header-data .attorney__header-title {
  font-size: 24px;
  line-height: 1.25;
}

.single-attorneys .attorney__header-data .attorney__header-name {
  line-height: 1.25;
}

.single-attorneys .attorney__content {
  grid-template-columns: 1fr;
}

#content li {
  margin-bottom: 0.5rem;
}

.single-attorneys .attorney__content .attorney__content-share {
  display: flex;
  gap: 1rem;
  padding: 0;
}

.single-attorneys .attorney__content .attorney__content-share img {
  display: block;
  height: auto;
  width: 2rem;
}

.share-link {
  cursor: pointer;
}

.attorney__content-section-title {
  border-bottom: 1px solid white;
  display: block;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.attorney__content-section-title h2 {
  color: #fec401;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  margin: 0;
}

.single-attorneys .attorney__content-right .attorney__content-block__title {
  color: white;
  display: block;
  margin-bottom: 1rem;
}

.single-attorneys .attorney__content-right hr,
.single-team .attorney__content-right hr {
  display: none;
}

.single-attorneys .attorney__header-phone a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-attorneys .attorney__header-phone .attorney__header-phone-number {
  display: none;
}

.footer .footer__office strong {
  line-height: 1.25;
}

.footer .footer__offices p {
  white-space: nowrap;
}

.attorney__content-right {
  margin-bottom: 1rem;
}

.attorney__content-right_columns .attorney__content-block {
  border-bottom: 1px solid white;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.attorney__content-right_columns .attorney__content-block hr {
  display: none;
}

.attorney__content-right_columns .attorney__content-block:last-of-type {
  border-bottom: 0;
}

ul.dash {
  list-style: "- ";
}

.popup-shortcode .ssp-popup-container {
  align-items: center;
  background-color: red;
  display: flex;
  height: auto;
  justify-content: center;
  width: auto;
}

.popup-shortcode .ssp-popup-content {
  color: white;
  position: relative;
}

.popup-shortcode .ssp-popup-content:before {
  color: white;
  content: "MCW";
  font-weight: bold;
  position: absolute;
  top: 1rem;
}

.popup-shortcode .ssp-popup-overlay {
  background-color: rgba(0, 0, 0, 0);
}

.popup-shortcode .ssp-popup-close {
  height: auto;
  width: auto;
  padding: 0 10px 5px 10px;
}

@media screen and (min-width: 768px) {
  .topbar .topbar__nav li.menu-item-has-children {
    position: relative;
  }

  .topbar .topbar__nav li.menu-item-has-children>ul {
    box-sizing: border-box;
    display: block;
    left: 50%;
    height: fit-content;
    margin: 0;
    position: absolute;
    text-align: center;
    top: 100%;
    translate: -50% 0;
    z-index: 1;
  }

  .topbar .topbar__nav li.menu-item-has-children>ul li {
    align-items: center;
    display: flex;
    background-color: #EDEDED;
    height: 3em;
    justify-content: center;
    padding: 0 1rem;
  }

  .topbar .topbar__nav li.menu-item-has-children:hover>ul {
    max-height: 600px;
  }

  .topbar .topbar__nav li.menu-item-has-children>ul a {
    line-height: 1;
    padding: 0;
    margin: 0;
    white-space: nowrap;
  }

  .topbar .topbar__nav li.menu-item-has-children.active {
    background-color: transparent;
  }

  .topbar .topbar__nav li.menu-item-has-children>ul li.current-menu-item {
    background-color: gold;
  }

  .wp-block-group.has-background {
    padding: 2rem;
  }

  .attorney__content-left {
    column-count: 2;
  }

  .attorney__content-block {
    break-inside: avoid;
  }

  .attorney__content-right_columns {
    column-count: 2;
    column-gap: 2rem;
  }

  .attorney__content-right_columns .attorney__content-block {
    border-bottom: 0;
    break-inside: avoid;
  }

  .single-attorneys .attorney__content-right hr,
  .single-team .attorney__content-right hr {
    border: 0;
    border-top: 1px solid white;
    display: block;
  }

  .footer .footer__content {
    padding: 0 20px;
  }

  .footer .footer__container {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    font-size: 12px;
  }

  .footer .footer__offices {
    padding: 0;
  }

}

@media screen and (min-width: 1024px) {
  .attorney__content-right_columns {
    column-gap: 4rem;
  }

  .single-attorneys .attorney__header-phone .attorney__header-phone-number {
    color: #464646;
    display: block;
    font-size: 0.85rem;
  }

  .single-attorneys .attorney__header-phone a img {
    display: none;
  }

  .footer .footer__container {
    grid-template-columns: auto 1fr;
    gap: 30px;
  }
}