/*
Theme Name: br-child-theme
Author: Acates Media
custom styles
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');
:root {
  --primary-color: #111c3d;
  --secondary-color: #dbe2e6;
  --accent1: #118fe6;
  --accent2: #debc98;
  --accent3: #2f79cd;
  --soft: #f7f9fa;
  --gray: #dbe2e6;
  --font-family: 'Roboto', sans-serif;
  --font-size: 1.2em;
}

body {
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  max-width: 3000px;
  margin: 0 auto;
  font-size: var(--wp--preset--font-size--medium);
}
body.page-loaded {
  opacity: 1;
}

/* global prevent white bar on right side on mobile */
.alignfull {
  /*     width: 100%; */ /* max-width: 100%; */
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* header padding */
header .wp-block-group {
  padding: 0.1% !important;
}

::selection {
  background: var(--primary-color);
  color: #fff;
}

::-moz-selection {
  background: var(--primary-color);
  color: #fff;
}

:where(.wp-site-blocks) > * {
  margin-block-start: unset;
}

body {
  font-family: var(--font-family);
}

div,
p,
a,
img,
video {
  transition: 1.7s ease-in-out;
  margin-block-start: 0;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--accent1);
}

/* 404 footer */
.error404 footer {
    bottom: 0;
    position: absolute;
    width: 100%;
}

.breadcrumbs {
  font-size: 0.7em;
  padding: 0.5% 0.8%;
}

.lightblue {
  color: var(--accent1);
}

/* header phone */
.header-phone {
  margin-left: auto !important;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-top: 2%;
}

.header-phone a {
  text-decoration: none;
  color: inherit;
  font-size: 1.3em;
  font-weight: bold;
}

.phone-icon {
  color: #118fe6;
  font-size: 1.4em;
  /*   position: relative; */
  display: inline-block;

  animation:
    phone-shake 1.8s infinite ease-in-out,
    phone-flash 1.6s infinite ease-in-out;
}

@keyframes phone-shake {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  10% {
    transform: scale(1.12) rotate(-8deg);
  }

  20% {
    transform: scale(1.12) rotate(8deg);
  }

  30% {
    transform: scale(1.08) rotate(-5deg);
  }

  40% {
    transform: scale(1.08) rotate(5deg);
  }

  50% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes phone-flash {
  0%,
  100% {
    color: #118fe6;
    filter: none;
  }

  40% {
    color: #69b9f3;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  }
}

/*   wp hamburger menu on all screens  */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  display: none !important;
}

header.wp-block-template-part {
  background: #d3d2c638;
  z-index: 99;
  width: 100%;
  border-bottom: 1px solid #121e3b;
  z-index: 99;
  width: 100%;
}

.wp-block-site-logo img {
  height: auto;
  width: 100%;
  max-width: 300px;
}

.menu-logo {
  width: 100%;
  max-width: 300px;
}

:where(.wp-site-blocks :focus) {
  outline: none;
}

:focus-visible {
  outline: none;
}

/* Navigation */
/* Drawer panel */
.wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation:not(.has-background)
  .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed;
  background: #d3d2c638;
  border: 1px solid var(--primary-color);
  box-shadow: 0px 4px 10px 0px var(--primary-color);
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1000;
  display: flex;
  justify-content: flex-start;
  padding: 80px 30px;
  animation: navSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes navSlideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation:not(.has-background)
  .wp-block-navigation__responsive-container.is-menu-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wp-block-navigation ul {
  width: 100%;
}

.wp-block-navigation ul li {
  width: 100%;
  border-bottom: 1px solid var(--primary-color);
  padding: 0.2em 0 !important;
}

/* reset nav styles ONLY for logo */
.menu-logo-link {
  display: block !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

.menu-logo-wrap {
  z-index: 9;
  padding: 5%;
}

.menu-logo {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

/* prevent nav styles from shrinking it */
.wp-block-navigation__responsive-container a.menu-logo-link {
  padding: 0 !important;
  margin: 0 !important;
}

.wp-block-navigation__responsive-container a {
  display: inline-block;
}

.wp-block-navigation__responsive-container a img {
  display: block;
  height: auto;
  max-width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open ul li a {
  display: inline-block;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.wp-block-navigation__responsive-container.is-menu-open ul li a:hover {
  transform: translateX(6px);
  text-decoration: none;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation__container {
  align-items: flex-start;
}

.wp-block-navigation.items-justified-right {
  --navigation-layout-justification-setting: flex-start;
  --navigation-layout-justify: flex-start;
}

.wp-block-navigation__responsive-container::before {
  content: '';
  position: fixed;
  inset: 0;
}

/* menu items */
.wp-block-navigation__responsive-container ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wp-block-navigation__responsive-container a {
  color: #d8d8c8;
  font-size: 1.3rem;
}

.wp-block-navigation__responsive-container-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

:root :where(.wp-element-button, .wp-block-button__link) {
  background-color: var(--secondary-color);
  border-width: 0;
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: var(--wp--preset--font-size--medium);
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding-top: 1rem;
  padding-right: 2.25rem;
  padding-bottom: 1rem;
  padding-left: 2.25rem;
  text-decoration: none;
  text-transform: inherit;
}

/* slideshow */
.has-global-padding:has(.hp-banner-slider) {
  padding: 0;
}

.hp-banner-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  /*     max-width: 3000px; */
  height: 776px;
  margin: 0 auto;
  overflow: hidden;
}

.hp-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hp-banner-slide.active {
  opacity: 1;
  z-index: 2;
}

.hp-banner-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.hp-banner-content-inner {
  width: min(1000px, calc(100% - 40px));
  color: #fff;
  pointer-events: auto;
  text-align: left;
}

.hp-banner-title {
  margin: 0 0 24px;
  color: #fff;
  line-height: 1.05;
  letter-spacing: 0.1em;
}

.hp-banner-line-1,
.hp-banner-line-2 {
  display: block;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.hp-banner-line-1 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  text-transform: uppercase;
  background-color: var(--primary-color);
  display: inline;
}

.hp-banner-line-2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: lowercase;
}

.hp-banner-text-changing .hp-banner-line-1,
.hp-banner-text-changing .hp-banner-line-2 {
  opacity: 0;
  transform: translateY(18px);
}

.hp-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 24px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.hp-banner-btn:hover {
  background: #118fe6;
  color: #fff;
  transform: translateY(-2px);
}

.hp-banner-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* optional overlay  */
.hp-banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hp-banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid white;
  background: #111c3de3;
  color: #fff;
  font-size: 28px;

  cursor: pointer;
  transition: all 0.3s ease;
}

.hp-banner-arrow:hover {
  background: #111c3d;
}

.hp-banner-prev {
  left: 20px;
}

.hp-banner-next {
  right: 20px;
}

.hp-banner-line-1,
.hp-banner-line-2,
.hp-banner-btn {
  opacity: 0;
  transform: translateY(24px);
}

.hp-banner-line-1.hp-show {
  animation: hpFadeUp 200ms ease forwards;
}

.hp-banner-line-2.hp-show {
  animation: hpFadeUp 0.7s ease forwards;
  animation-delay: 300ms;
}

.hp-banner-btn.hp-show {
  animation: hpFadeUp 0.7s ease forwards;
  animation-delay: 500ms;
}

@keyframes hpFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Homepage Our Services */
.services-hp .pagelayer-image-overlay {
  cursor: pointer;
  background: rgb(99 134 168 / 70%) !important;
}

.services-hp .pagelayer-image-overlay:hover {
  background: rgb(99 134 168 / 80%) !important;
}

.services-hp .pagelayer-image-overlay-icon,
.services-hp .pagelayer-image-overlay-text {
  color: #fff;
  /*   background-color: #111c3d8c; */
}

.services-hp .pagelayer-image-overlay-icon::selection,
.services-hp .pagelayer-image-overlay-text::selection,
.hp-banner-line-1::selection,
.team-banner h2::selection {
  color: var(--primary-color);
  background-color: #fff !important;
}

/* todo: this should be industries not services  */
/* .animated-h2 .pagelayer-animated-heading {
  font-size: 1.8rem !important;
} */
/* IMPORTANT hides caption for Industries on homepage in image boxes  */
.services-section .pagelayer-service-text {
  display: none;
}

/* .hp-heading mark {
  background: transparent;
  text-decoration: none;
  border-bottom: 4px solid transparent;
}

.hp-heading.in-view mark {
  border-bottom-color: #2c70ab;;
  animation: underlinePop 0.6s ease-out forwards;
}

@keyframes underlinePop {
  from {
    box-shadow: inset 0 -1px 0 transparent;
  }

  to {
    box-shadow: inset 0 -1px 0 #2c70ab;;
  }
} */

:root :where(.wp-block-group.is-style-section-5--2) {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* our team page */
.has-global-padding:has(.team-banner) {
  padding-left: 0;
  padding-right: 0;
}

.team-banner {
  /* background-position: 0 55%; */
  background-position: bottom;
  background-attachment: fixed;
}

.team-banner h2 {
  background-color: #111c3d;
  width: fit-content;
}

.team-wrapper {
  max-width: 100%;
  margin-block-start: 0;
}

.team-list {
  max-width: 70%;
}

.team-row:hover {
  transform: translateY(-1px);
}

/* image and description sit side by side */
.team-row .pagelayer-row-holder {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 62px !important;
}

/* remove extra spacing from pagelayer */
.team-row .pagelayer-col {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 0;
  min-width: 0;
}

/* our team row image */
.team-row .pagelayer-col:first-child {
  flex: 0 0 400px;
  max-width: 400px;
}

.team-row img {
  width: 300px;
  overflow: scroll;
}

/* our team row description */
.team-row .pagelayer-col:last-child {
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex: 1 1 auto;
  max-width: none;
}

.team-row .pagelayer-col-holder {
  text-align: left !important;
}

.team-row .pagelayer-col-holder > * {
  margin-top: 0;
}

.team-row .pagelayer-col-holder p:last-child {
  margin-bottom: 0;
}

/* heading / name styles */
.team-row h2,
.team-row .pagelayer-heading-holder,
.team-row .pagelayer-service-heading {
  color: #111c3d !important;
  margin: 0 0 12px;
  line-height: 1.2;
}

.team-wrapper h3 {
  border-radius: 16px;
  border-color: currentColor;
  border-width: 1px;
  border-style: solid;
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: normal;
  line-height: 1.5;
  padding: 0.25em 0.6rem;
  padding-bottom: 0.25rem;
  width: auto;
}

/* paragraph/body */
.team-row p,
.team-row .pagelayer-text-holder,
.team-row .pagelayer-service-text {
  line-height: 1.7;
  margin-bottom: 14px;
}

.team-row i {
  color: #111c3d;
  font-size: 0.7em;
  vertical-align: middle;
}

/* alternate left/right */
.team-list > .team-row:nth-child(even) .pagelayer-row-holder {
  flex-direction: row-reverse !important;
}

/* small accent line on h2  */
.team-row .pagelayer-col-holder h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: #4181b4;
}

/* contact us page */
.map-container {
  width: 100%;
  aspect-ratio: 16/9;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.frm_style_formidable-style .frm_submit button {
  text-transform: uppercase;
  letter-spacing: .19em;
}

/* archive LISTINGS */
.listings-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.listings-grid {
  display: grid;
  gap: 24px;
}

.listing-card {
  display: grid;
  grid-template-columns: 170px 1fr 180px;
  gap: 24px;
  align-items: stretch;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* WRAPPER */
.listing-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.listing-card-image a {
  display: block;
  height: 100%;
}

/* IMAGE */
.listing-card-image img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* STATUS TAG */
.listing-status-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent1);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;

  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* GRAYSCALE  */

.listing-status-inactive img,
.listing-status-inactive .listing-status-tag {
  filter: grayscale(100%);
}

.listing-card-image br,
.listing-card-price-wrap br {
  display: none;
}

.listing-card-title {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.listing-card-title a {
  text-decoration: none;
  color: #111c3d;
}

.listing-card-location {
  margin-bottom: 14px;
  color: #5f6f92;
  font-size: 0.98rem;
}

.listing-card-excerpt {
  color: #44506b;
  margin-bottom: 18px;
}

.listing-card-metrics {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.listing-card-metric {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.listing-card-metric-value {
  font-weight: 700;
  color: #23395d;
}

.listing-card-metric-label {
  color: #5f6f92;
  font-size: 0.95rem;
}

.listing-card-side {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
}

.listing-card-price-label {
  display: block;
  font-size: 0.9rem;
  color: #5f6f92;
  margin-bottom: 4px;
}

.listing-card-price {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: #4180b4;
}

.listing-card-button {
  display: inline-block;
  padding: 12px 18px;
  /*   border-radius: 12px; */
  background: #4180b4;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.listing-card-button:hover {
  background: #111c3d;
  color: #fff;
}

/* listing pagnation */
body.post-type-archive-listing .pagination,
body.post-type-archive-listing .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px 0 10px;
}

body.post-type-archive-listing .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  color: #111c3d;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

body.post-type-archive-listing .page-numbers:hover {
  background: #118fe6;
  color: #fff;
  transform: translateY(-1px);
}

body.post-type-archive-listing .page-numbers.current {
  background: #111c3d;
  color: #fff;
}

body.post-type-archive-listing .page-numbers.prev,
body.post-type-archive-listing .page-numbers.next {
  padding: 0 18px;
}

body.post-type-archive-listing .page-numbers.dots {
  min-width: auto;
  height: auto;
  padding: 0 4px;
  background: transparent;
  box-shadow: none;
  color: #637391;
}

body.post-type-archive-listing .page-numbers.dots:hover {
  background: transparent;
  color: #637391;
  transform: none;
}

/* single listing page */
.single-listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.single-listing-main,
.single-listing-sidebar {
  min-width: 0;
}

.single-listing-sidebar .single-listing-section-title {
  text-align: center;
}

.single-listing-card,
.listing-agent-card,
.listing-contact-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.single-listing-card {
  padding: 32px;
}

.single-listing-location {
  font-size: 15px;
  color: #666;
  margin-bottom: 18px;
}

.single-listing-featured-image {
  margin-bottom: 28px;
}

.single-listing-featured-image img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  /* border-radius: 10px; */
  margin: 0 auto;
}

.single-listing-section + .single-listing-section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #eceff2;
}

.single-listing-section-title {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.single-listing-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.single-listing-info-grid > div {
  font-size: 16px;
  line-height: 1.5;
}

.single-listing-description p:first-child {
  margin-top: 0;
}

.single-listing-sidebar {
  position: sticky;
  top: 24px;
}

.listing-agent-card,
.listing-contact-card {
  padding: 0.5em;
  margin-bottom: 1em;
}

.listing-agent-card {
  margin-bottom: 24px;
  text-align: center;
}

.listing-agent-image {
  margin-bottom: 18px;
}

.listing-agent-image img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.listing-agent-name {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.listing-agent-meta {
  color: #666;
  margin-bottom: 18px;
}

.listing-agent-row {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.listing-agent-row br {
  display: none;
}

.listing-agent-row a {
  word-break: break-word;
}

.listing-contact-title {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.listing-contact-form p:empty,
.listing-contact-form .wpcf7 p:empty,
.single-listing-description p:empty,
.listing-contact-form br {
  display: none;
}

.listing-contact-form input,
.listing-contact-form textarea,
.listing-contact-form select {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #d8dde3;
  font-size: 16px;
}

.listing-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* form buttons */

.listing-contact-form input[type='submit'],
.listing-contact-form button,
.listing-contact-form .frm_button_submit,
.listing-contact-form .gform_button {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: #0f4c81;
  color: #fff;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.frm_style_formidable-style {
  color: #fff;
  text-align: right;
}

body.single-listing .wp-block-post-title {
  display: none;
}

body.single-listing .custom-title {
  text-align: center;
  font-size: 2.3rem;
  line-height: 1.1;
  margin: 0.5em;
  margin-bottom: 1em;
  color: #111c3d;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

body.single-listing .single-listing-location {
  text-align: center;
  font-size: 1rem;
  color: #6a7896;
  margin-bottom: 24px;
}

body.single-listing .single-listing-top {
  display: grid;
  grid-template-columns: 340px 460px;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em;
  border-radius: 20px;
}

body.single-listing .single-listing-info p {
  margin: 0 0 14px;
  font-size: 1.06rem;
  line-height: 1.5;
  color: #44506b;
}

body.single-listing .single-listing-info strong {
  display: inline-block;
  min-width: 145px;
  color: #111c3d;
  font-weight: 700;
}

body.single-listing .single-listing-media img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

body.single-listing .single-listing-body {
  background: #fff;
  border-radius: 20px;
  padding: 10px 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  margin-bottom: 5%;
}

.single-listing-summary {
  font-size: 0.8em;
  color: #2e3033;
}

body.single-listing .single-listing-description-label {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #111c3d;
}

body.single-listing .single-listing-body p {
  margin: 0;
  line-height: 1.8;
  color: #44506b;
  font-size: 1.04rem;
}

/* completed transactions */
.completed-transactions {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.completed-transactions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.completed-transaction-card {
  background: #fff;
  border: 1px solid #8d8d8d;
  border-radius: 4px;
  overflow: hidden;
}

.completed-transaction-card-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #ddd;
}

.completed-transaction-card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.completed-transaction-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.completed-transaction-card-buyer {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  line-height: 1.3;
}

.completed-transaction-card-body {
  padding: 34px 26px 44px;
  text-align: center;
}

.completed-transaction-card-status {
  margin-bottom: 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #2d2d2d;
  text-transform: lowercase;
}

.completed-transaction-card-seller {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 500;
  color: #5473a6;
}

.completed-transaction-card-location {
  font-size: 0.98rem;
  color: #303846;
}

.completed-transactions-pagination {
  margin-top: 34px;
}

.completed-transactions-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.completed-transactions-pagination li {
  margin: 0;
}

.completed-transactions-pagination a,
.completed-transactions-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  color: #111c3d;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.completed-transactions-pagination a:hover {
  background: #118fe6;
  color: #fff;
}

.completed-transactions-pagination .current {
  background: #111c3d;
  color: #fff;
}

.completed-transactions-pagination .dots {
  background: transparent;
  box-shadow: none;
  min-width: auto;
  padding: 0 4px;
}

/* buying a business page */

.is-layout-constrained > .bb-wrap,
.is-layout-constrained > .br-process {
  max-width: 100%;
  padding-top: 0;
}
.is-layout-constrained:has(.br-buy-section) {
  padding-top: 0 !important;
}

.br-buy-section,
.br-process {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.br-process {
  background: #fff;
  padding: 20px 6%;
}

.br-process-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 42px;
}

.br-process-title span {
  width: 220px;
  height: 1px;
  background: var(--gray);
}

.br-process-title h2 {
  margin: 0;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.br-process-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 34px;
  align-items: stretch;
}

.br-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(219, 226, 230, 0.9);
  border-radius: 22px;
  min-height: 210px;
  padding: 20px 12px 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(17, 143, 230, 0.1);
}

.br-step:not(:last-child)::after {
  content: '➜';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  color: #118fe6;
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 0.7;
  z-index: 5;
}

.br-step-num {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eaf4fd;
  color: #118fe6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
}

.br-step-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid rgba(17, 143, 230, 0.22);
  color: #118fe6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  cursor: pointer;
}

.br-step-icon:hover {

  border: 2px solid var(--primary-color);;
  background-color: var(--primary-color);

}

.br-step p {
  margin: 0;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1150px) {
  .br-process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .br-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 650px) {
  .br-process-row {
    grid-template-columns: 1fr;
  }
}

/* FOOTER STRIP */
.br-footer {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.br-footer,
.br-footer div {
  margin-block-start: 0 !important;
  width: 100%;
}

.br-footer .wp-block-group {
  padding-bottom: 0;
}

/* left side */
.br-footer div i {
  font-size: 2em;
  padding: 0.4em;
  border-radius: 50%;
  border: 4px solid var(--accent1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
    animation: iconPulse 3s ease-in-out infinite;
    transition: 0.6s ease-in-out;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(17, 143, 230, 0.25);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(17, 143, 230, 0);
  }
}

.br-footer .wp-block-column:first-child {
  position: relative;
  background: #dee5ed;
  color: #111c3d;
  padding: 34px 8% 34px 6%;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

/* soft animated transition */
.br-footer .wp-block-column:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: 240px;
  height: 100%;
  pointer-events: none;
  z-index: 3;

  background: linear-gradient(
    90deg,
    #dee5ed 0%,
    #e6edf4 30%,                 /* slightly lighter */
    rgba(222, 229, 237, 0.65) 55%,
    rgba(222, 229, 237, 0.25) 75%,
    rgba(222, 229, 237, 0) 100%
  );

  background-size: 200% 100%;
  animation: footerGlowShift 6s ease-in-out infinite alternate;
}

.br-footer .wp-block-column:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  width: 160px;
  height: 100%;
  background: rgba(222, 229, 237, 0.4);
  filter: blur(18px);
  pointer-events: none;
  z-index: 2;
}


/* ICON */
.br-footer-icon {
  position: relative;
  z-index: 4;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #118fe6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* LEFT TEXT */
.br-footer .wp-block-column:first-child p {
  position: relative;
  z-index: 4;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* RIGHT SIDE */
.br-footer .wp-block-column:nth-child(2) {
  background: #f7f9fa;
  padding: 34px 6% 34px 110px;
  display: flex;
  align-items: center;
}

.br-footer .wp-block-column:nth-child(2) p {
  margin: 0;
  color: #118fe6;
  font-family: 'Story Script', sans-serif;
  /* font-style: italic; */
  font-size: clamp(1.8rem, 3vw, 2.1rem);
  /* line-height: 1.1; */
}

@keyframes footerGlowShift {
  from {
    background-position: 0% 0;
    opacity: 0.75;
  }

  to {
    background-position: 100% 0;
    opacity: 1;
  }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .br-footer {
    flex-direction: column;
  }

  .br-footer .wp-block-column:first-child,
  .br-footer .wp-block-column:nth-child(2) {
    padding: 32px 6%;
  }

  .br-footer .wp-block-column:first-child::before,
  .br-footer .wp-block-column:first-child::after {
    display: none;
  }
}

@media (max-width: 1150px) {
  .br-process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .br-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 650px) {
  .br-process-row {
    grid-template-columns: 1fr;
  }

  .br-process-title span {
    display: none;
  }
}
/* end */
/* media queries */
/* both */
@media screen and (min-width: 782px) and (max-width: 1700px) {
  .about-page {
    display: block !important;
  }
  .about-page .wp-block-cover {
    float: right;
    width: 50%;
  }
}
/* min width */
@media (min-width: 1600px) {
  /* our team page */
  .team-wrapper h3 {
    position: absolute;
    top: 5%;
    right: 35%;
  }
}
/* max width */
@media (max-width: 1500px) {
  /* our team page */
  .team-list {
    max-width: 100%;
  }
  .team-wrapper h2 {
    font-size: 1.5em;
  }
  .team-wrapper h3 {
    font-size: 0.7em;
  }
}
@media (max-width: 991px) {
  .single-listing-layout {
    grid-template-columns: 1fr;
  }

  .single-listing-sidebar {
    position: static;
    top: auto;
  }

  .single-listing-info-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .completed-transactions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  /* archive listing media queries */
  .listing-card {
    grid-template-columns: 1fr;
  }

  .listing-card-image img {
    min-height: 220px;
  }

  .listing-card-side {
    align-items: flex-start;
    gap: 16px;
  }

  /* single listing page */
  body.single-listing .single-listing-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.single-listing .single-listing-media {
    order: -1;
  }

  body.single-listing .wp-block-post-title {
    font-size: 1.9rem;
  }
  /* our team page */
  .team-list {
    gap: 28px;
  }

  .team-row {
    padding: 20px;
    border-radius: 16px;
  }

  /*   .team-row img {
    max-width: 350px;
  } */

  .team-row figure {
    text-align: center;
  }

  .team-row .pagelayer-row-holder,
  .team-list > .team-row:nth-child(even) .pagelayer-row-holder {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }

  .team-row .pagelayer-col,
  .team-row .pagelayer-col:first-child,
  .team-row .pagelayer-col:last-child {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .team-row .pagelayer-col-holder,
  .team-list > .team-row:nth-child(even) .pagelayer-col-holder,
  .team-list > .team-row:nth-child(even) p,
  .team-list > .team-row:nth-child(even) h2,
  .team-list > .team-row:nth-child(even) h3,
  .team-list > .team-row:nth-child(even) h4,
  .team-list > .team-row:nth-child(even) .pagelayer-heading-holder,
  .team-list > .team-row:nth-child(even) .pagelayer-service-heading {
    text-align: left !important;
  }
}
@media (max-width: 820px) {
  .wp-block-navigation__responsive-container.is-menu-open,
  .wp-block-navigation:not(.has-background)
    .wp-block-navigation__responsive-container.is-menu-open {
    width: 90%;
  }

  .hamburger-icon.open {
    display: none;
  }

  /*   homepage about us */
  .about-us {
    padding-top: 1.5em !important;
  }

  /* services page */
  .our-services div:nth-child(1),
  .our-services div:nth-child(3) {
    flex-direction: column-reverse;
  }
}
@media (max-width: 680px) {
  .hp-banner-content-inner {
    margin: 30%;
  }
  .completed-transactions-grid {
    grid-template-columns: 1fr;
  }
  .completed-transaction-card-image-wrap {
    height: 220px;
  }
}
