.header-logo img.logo {
  width: min(290px, 100%);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.constructology-footer__brand img {
  width: min(340px, 100%);
  height: auto;
  object-fit: contain;
}


.constructology-instagram-post {
  cursor: pointer;
  display: block;
  overflow: hidden;
  position: relative;
}

.module.module--content-with-video-testimonial-slider .video-testimonional-slider .single-testimonional-video__inner .image-wrapper .constructology-instagram-post {
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.constructology-instagram-post .svg-wrapper {
  display: none;
}

.constructology-instagram-post .svg-wrapper svg {
  height: 1rem;
  width: 1rem;
}

.constructology-instagram-post .svg-wrapper svg g,
.constructology-instagram-post .svg-wrapper svg path {
  fill: #404041;
}

@media print, screen and (min-width: 77.5em) {
  .constructology-instagram-post .module-image,
  .constructology-instagram-post .parallax-inner-image {
    transition: transform 0.8s ease;
  }

  .constructology-instagram-post:hover .module-image,
  .constructology-instagram-post:hover .parallax-inner-image {
    transform: scale(1.1);
  }

  .constructology-instagram-post .svg-wrapper {
    height: 5.5rem;
    width: 5.5rem;
  }

  .constructology-instagram-post .svg-wrapper svg {
    height: 1.5rem;
    width: 1.5rem;
  }
}

body.page-id-5 .module.module--content-with-video-testimonial-slider,
body[data-constructology-copy="v3"] .constructology-instagram-module--page {
  margin-block: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-top: clamp(3rem, 5vw, 5rem) !important;
  padding-bottom: clamp(5rem, 8vw, 8rem) !important;
  background: #f2f2f2;
  color: #404041;
}

body.page-id-5 .module.module--content-with-video-testimonial-slider :is(.headline-2, .headline-5, .headline-6, .author, .right-content p),
body[data-constructology-copy="v3"] .constructology-instagram-module--page :is(.headline-2, .headline-5, .headline-6, .author, .right-content p) {
  color: #404041;
}

body.page-id-5 .module.module--content-with-video-testimonial-slider .right-content > .wysiwyg-wrapper > p:first-child,
body.page-id-5 .module.module--content-with-video-testimonial-slider .author,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .right-content > .wysiwyg-wrapper > p:first-child,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .author {
  color: rgba(64, 64, 65, 0.78);
}

body.page-id-5 .module.module--content-with-video-testimonial-slider .bottom-content,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .bottom-content {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

body.page-id-5 .module.module--content-with-video-testimonial-slider .chr-button,
body.page-id-5 .module.module--content-with-video-testimonial-slider .chr-button:visited,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .chr-button,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .chr-button:visited {
  background: #404041;
  color: #fff;
}

body.page-id-5 .module.module--content-with-video-testimonial-slider .chr-button::before,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .chr-button::before {
  background: url("/wp-content/themes/theme/dist/src/img/long-arrow-right.svg") no-repeat;
  background-size: 1.5rem 0.75rem;
}

body.page-id-5 .module.module--content-with-video-testimonial-slider .chr-button:hover::before,
body.page-id-5 .module.module--content-with-video-testimonial-slider .chr-button:focus-visible::before,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .chr-button:hover::before,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .chr-button:focus-visible::before {
  background: url("/wp-content/themes/theme/dist/src/img/long-arrow-right-theme.svg") no-repeat;
  background-size: 1.5rem 0.75rem;
}

body.page-id-5 .module.module--content-with-video-testimonial-slider .chr-button:hover,
body.page-id-5 .module.module--content-with-video-testimonial-slider .chr-button:focus-visible,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .chr-button:hover,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .chr-button:focus-visible {
  color: #404041;
}

body.page-id-5 .module.module--content-with-video-testimonial-slider .progress-bar,
body[data-constructology-copy="v3"] .constructology-instagram-module--page .progress-bar {
  background-color: #d3d3d3;
  background-image: linear-gradient(90deg, #404041, #404041);
}

body.page-id-5 .header-logo img.logo {
  width: 310px;
  max-width: 100%;
  padding: 0;
  background: transparent;
  filter: none;
}

body[data-constructology-copy="v3"] footer.constructology-footer--contact-first,
body[data-constructology-copy="v3"] footer.constructology-footer--contact-first .constructology-footer__contact-first-directory {
  background: #f2f2f2;
}

body[data-constructology-copy="v3"] footer.constructology-footer--contact-first .constructology-footer__button--sage,
body[data-constructology-copy="v3"] footer.constructology-footer--contact-first .constructology-footer__button--sage:visited,
body[data-constructology-copy="v3"] footer.constructology-footer--contact-first .constructology-footer__button--sage:hover,
body[data-constructology-copy="v3"] footer.constructology-footer--contact-first .constructology-footer__button--sage:focus-visible,
body[data-constructology-copy="v3"] footer.constructology-footer--contact-first .constructology-footer__button--sage span {
  color: #273b49 !important;
}

body[data-constructology-copy="v3"] .constructology-instagram-module--page {
  background-color: #fff !important;
}

@media (max-width: 640px) {
  .header-logo img.logo {
    width: min(230px, 100%);
  }

  body.page-id-5 .header-logo img.logo {
    width: 220px;
    padding: 0;
  }

  .constructology-footer__brand img {
    width: min(290px, 100%);
  }

  body.page-id-5 .module.module--content-with-video-testimonial-slider,
  body[data-constructology-copy="v3"] .constructology-instagram-module--page {
    margin-block: 1.5rem;
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
  }
}

/* Homepage Google Reviews plaque */
.constructology-google-reviews {
  position: fixed;
  left: clamp(18px, 1.7vw, 28px);
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  box-sizing: border-box;
  display: grid;
  width: 200px;
  min-height: 66px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  overflow: hidden;
  border: 1px solid rgba(39, 59, 73, 0.32);
  border-top: 3px solid #ffde16;
  border-radius: 5px;
  background: #f2f2f2;
  box-shadow:
    0 14px 34px rgba(18, 31, 39, 0.22),
    0 2px 8px rgba(18, 31, 39, 0.12);
  color: #273b49;
  transform: translateZ(0);
  animation: constructology-review-plaque-in 650ms cubic-bezier(0.22, 1, 0.36, 1) 900ms backwards;
}

.constructology-google-reviews__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(39, 59, 73, 0.12);
  border-radius: 50%;
  background: #fff;
}

.constructology-google-reviews__mark svg {
  display: block;
  width: 18px;
  height: 18px;
}

.constructology-google-reviews__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.constructology-google-reviews__label {
  overflow: hidden;
  color: rgba(39, 59, 73, 0.74);
  font-family: Poppins, Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.constructology-google-reviews__rating {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.constructology-google-reviews__rating strong {
  color: #273b49;
  font-family: Poppins, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.constructology-google-reviews__stars {
  color: #e6bd00;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
}

@keyframes constructology-review-plaque-in {
  from {
    opacity: 0;
    transform: translate3d(-18px, 8px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media print, screen and (max-width: 77.49875em) {
  .constructology-google-reviews {
    left: calc(12.5vw + 16px);
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 196px;
    min-height: 62px;
    padding-block: 7px;
  }
}

@media (max-width: 640px) {
  .constructology-google-reviews {
    left: calc(12.5vw + 14px);
    width: 136px;
    min-height: 54px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    padding: 6px 7px;
  }

  .constructology-google-reviews__mark {
    width: 28px;
    height: 28px;
  }

  .constructology-google-reviews__mark svg {
    width: 15px;
    height: 15px;
  }

  .constructology-google-reviews__label {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .constructology-google-reviews__rating {
    gap: 5px;
  }

  .constructology-google-reviews__rating strong {
    font-size: 15px;
  }

  .constructology-google-reviews__stars {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .constructology-google-reviews {
    animation: none;
  }
}

/* Canonical site footer: keep all four details on one shared baseline. */
footer.constructology-footer--home-source .constructology-footer__contact-first-meta {
  align-items: start;
}

footer.constructology-footer--home-source .constructology-footer__contact-first-meta > div {
  min-width: 0;
}

footer.constructology-footer--home-source .constructology-footer__contact-first-meta .constructology-footer__socials {
  display: block;
  grid-column: auto;
}

footer.constructology-footer--home-source .constructology-footer__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

/* Portfolio cards without a dedicated detail page are intentionally non-interactive. */
.tease .tease-link--static {
  cursor: default;
}

.tease .tease-link--static .tease-title {
  padding-right: 0;
}

.tease .tease-link--static .tease-title::before {
  display: none;
}

@media print, screen and (min-width: 77.5em) {
  .tease .tease-link--static:hover .tease-img {
    transform: none;
  }
}

/* Privacy policy: a restrained Constructology editorial document. */
body.privacy-policy .module--subpage-banner {
  min-height: clamp(24rem, 48vw, 39rem);
  background: #404041;
}

body.privacy-policy .module--subpage-banner .module-image {
  display: none;
}

body.privacy-policy .module--subpage-banner .headline-1 {
  max-width: 11ch;
  color: #fff;
}

body.privacy-policy .module--subpage-banner .headline-1 .word i {
  top: 0 !important;
}

body.privacy-policy .module--content-only {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: #f2f2f2;
  color: #404041;
}

body.privacy-policy .module--content-only > .grid-container {
  width: min(100% - 2rem, 74rem);
  max-width: 74rem;
}

body.privacy-policy .module--content-only .content-container,
body.privacy-policy .module--content-only .content-container > .wysiwyg-wrapper {
  width: 100%;
  max-width: none;
  margin-left: 0;
}

body.privacy-policy .privacy-policy__document {
  padding: clamp(2rem, 5vw, 5rem);
  border-top: 0.375rem solid #ffde16;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(64, 64, 65, 0.1);
}

body.privacy-policy .privacy-policy__eyebrow {
  margin: 0 0 1rem;
  color: #404041;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.privacy-policy .privacy-policy__lead {
  max-width: 34ch;
  margin: 0;
  color: #404041;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

body.privacy-policy .privacy-policy__updated {
  margin: 1.5rem 0 clamp(3rem, 7vw, 6rem);
  color: rgba(64, 64, 65, 0.68);
  font-size: 0.875rem;
}

body.privacy-policy .privacy-policy__section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(64, 64, 65, 0.2);
}

body.privacy-policy .privacy-policy__section h2 {
  margin: 0;
  color: #404041;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.privacy-policy .privacy-policy__section :is(p, ul) {
  max-width: 46rem;
  margin: 0;
}

body.privacy-policy .privacy-policy__section p + p,
body.privacy-policy .privacy-policy__section p + ul,
body.privacy-policy .privacy-policy__section ul + p {
  margin-top: 1rem;
}

body.privacy-policy .privacy-policy__section ul {
  padding-left: 1.25rem;
}

body.privacy-policy .privacy-policy__section li + li {
  margin-top: 0.5rem;
}

body.privacy-policy .privacy-policy__section a {
  color: #404041;
  text-decoration-color: #ffde16;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2em;
}

body.privacy-policy .privacy-policy__section a:hover,
body.privacy-policy .privacy-policy__section a:focus-visible {
  background: #ffde16;
  text-decoration-color: #404041;
}

body.privacy-policy .privacy-policy__contact-list {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border-left: 0.25rem solid #ffde16;
  background: #f2f2f2;
  list-style: none;
}

body.privacy-policy .privacy-policy__contact-list li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
}

@media print, screen and (min-width: 48em) {
  body.privacy-policy .privacy-policy__section {
    grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 2fr);
    column-gap: clamp(2rem, 6vw, 6rem);
  }

  body.privacy-policy .privacy-policy__section h2 {
    grid-row: 1 / span 8;
  }
}

@media print, screen and (min-width: 48em) {
  footer.constructology-footer--home-source .constructology-footer__contact-first-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print, screen and (min-width: 62.5em) {
  footer.constructology-footer--home-source .constructology-footer__contact-first-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
