/* Talus Stage 4: approved header, footer, Reviews page, and first homepage hero. */
.ak-brand img,
.ak-footer__brand img {
  width: 240px !important;
  height: 70px !important;
  object-fit: contain;
}

.ak-brand picture,
.ak-footer__brand picture {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  background: #111214;
  line-height: 0;
}

.ak-brand img,
.ak-footer__brand img {
  background: #111214 !important;
  filter: none;
  opacity: 1;
}

.ak-footer__brand picture {
  box-sizing: border-box;
  padding: 12px;
}

.ak-footer__brand {
  width: 264px;
  max-width: 100%;
}

.ak-footer__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px !important;
}

.ak-footer__grid > .wp-block-column {
  min-width: 0;
}

.ak-footer__grid .ak-footer-nav {
  margin-top: 20px;
}

.ak-footer__grid .ak-footer-nav .wp-block-navigation__container {
  gap: 12px;
}

.talus-footer-directions {
  margin-top: 20px;
}

.talus-review-checked {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 11px;
}

@media (min-width: 901px) {
  .talus-stage4-home .ak-home-hero {
    background: #dce0e4;
  }

  .talus-stage4-home .ak-home-hero__media {
    inset: 0 0 auto auto !important;
    width: 62% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 58% top !important;
  }

  .talus-stage4-home .ak-google-reviews-card {
    right: -16px;
    bottom: 12px;
    width: clamp(240px, 19vw, 275px);
    padding: 14px !important;
    border-radius: 10px !important;
  }

  .talus-stage4-home .ak-google-reviews-card__brand strong {
    font-size: 13px;
  }

  .talus-stage4-home .ak-google-reviews-card__rating {
    gap: 8px;
    margin-top: 7px;
  }

  .talus-stage4-home .ak-google-reviews-card__rating > strong {
    font-size: 26px;
  }

  .talus-stage4-home .ak-google-reviews-card .ak-google-reviews-card__count {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .talus-stage4-home .ak-google-reviews-card blockquote {
    margin: 9px 0;
    padding-left: 9px;
  }

  .talus-stage4-home .ak-google-reviews-card blockquote p {
    margin: 0 0 5px;
    font-size: 12px;
    line-height: 1.4;
  }

  .talus-stage4-home .ak-google-reviews-card blockquote cite {
    display: block;
    font-size: 11px;
    font-style: normal;
    line-height: 1.4;
  }

  .talus-stage4-home .ak-google-reviews-card a {
    font-size: 12px;
  }
}

.talus-stage4-reviews .talus-photo-hero .ak-interior-hero__media {
  background: #101113;
}

.talus-stage4-reviews .talus-photo-hero .ak-interior-hero__media img {
  display: block;
  width: 60%;
  height: 100%;
  margin-left: auto;
  object-fit: contain;
  object-position: right center;
}

.talus-stage4-reviews .talus-photo-hero .ak-interior-hero__content > * {
  max-width: 46%;
}

.talus-stage4-reviews .talus-photo-hero::before {
  background: linear-gradient(90deg, #101113 0%, #101113 40%, rgb(16 17 19 / 12%) 65%, transparent 100%);
}

.talus-review-page {
  padding: 16px 0 64px;
}

.talus-review-page .akf-review-banner {
  width: var(--ak-shell);
  max-width: 850px;
  margin: 0 auto;
  padding: 36px 0 20px;
  text-align: center;
}

.talus-review-page .akf-review-banner h2 {
  margin: 12px 0;
  font-size: clamp(32px, 4vw, 42px);
}

.talus-review-page .akf-review-banner > p {
  color: #555;
  line-height: 1.7;
}

.talus-review-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto;
}

.talus-review-rating strong {
  font-size: 30px;
}

.talus-review-rating > span:last-child {
  color: #555;
  font-size: 14px;
}

.talus-review-page .ak-review-links {
  display: flex;
  justify-content: center;
}

.talus-review-page .ak-review-cta {
  padding: 12px 20px;
  background: var(--ak-red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.talus-review-grid {
  display: grid;
  width: var(--ak-shell);
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 20px auto 0;
}

.talus-review-page .ak-home-review-card {
  display: flex;
  min-width: 0;
  min-height: 240px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--ak-line);
  border-radius: 4px;
  background: var(--ak-paper-light);
  box-shadow: 0 18px 42px rgb(11 13 14 / 8%);
}

.talus-review-page .ak-home-review-card__stars {
  color: #ba8000;
  letter-spacing: 2px;
}

.talus-review-page .ak-home-review-card blockquote {
  margin: 16px 0 auto;
}

.talus-review-page .ak-home-review-card blockquote p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.talus-review-page .ak-home-review-card footer {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ak-line);
}

.talus-review-page .ak-home-review-card cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.talus-review-page .ak-home-review-card footer > a {
  font-size: 12px;
  text-decoration: underline;
}

.talus-review-page .talus-review-note {
  width: var(--ak-shell);
  margin: 24px auto 0;
  color: #666;
  font-size: 12px;
  text-align: center;
}

.talus-stage4-reviews .ak-main .wp-block-post-content > .talus-review-page,
.talus-stage4-reviews .ak-main .wp-block-post-content > .ak-reviews-experience {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.talus-stage4-reviews .ak-reviews-experience .ak-coverage,
.talus-stage4-reviews .ak-reviews-experience .ak-coverage figure {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin-inline: 0;
  aspect-ratio: auto;
}

.talus-stage4-reviews .ak-reviews-experience .ak-coverage__image {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 2560 / 1707;
  object-fit: contain;
}

@media (max-width: 1050px) {
  .ak-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ak-brand img {
    width: 175px !important;
    height: 52px !important;
  }

  .talus-stage4-home .ak-home-hero {
    min-height: 0;
    background: #101113;
  }

  .talus-stage4-home .ak-home-hero__media {
    position: relative;
    inset: auto !important;
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2560 / 1707;
    object-fit: contain;
    object-position: center top !important;
  }

  .talus-stage4-home .ak-home-hero::before {
    display: none;
  }

  .talus-stage4-home .ak-home-hero__inner {
    min-height: 0;
    padding-block: 28px 36px;
  }

  .talus-stage4-home .ak-home--style-2 .ak-home-hero__copy,
  .talus-stage4-home .ak-home--style-2 .ak-home-hero h1,
  .talus-stage4-home .ak-home--style-2 .ak-home-hero p,
  .talus-stage4-home .ak-home-hero .ak-eyebrow {
    color: #fff !important;
  }

  .talus-stage4-reviews .talus-photo-hero .ak-interior-hero__media {
    position: relative;
    z-index: auto;
    inset: auto;
    height: auto;
  }

  .talus-stage4-reviews .talus-photo-hero .ak-interior-hero__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 2560 / 1707;
  }

  .talus-stage4-reviews .talus-photo-hero::before {
    display: none;
  }

  .talus-stage4-reviews .talus-photo-hero .ak-interior-hero__content > * {
    max-width: 100%;
  }

  .talus-review-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .talus-review-page .ak-home-review-card {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .ak-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px !important;
  }
}
.talus-stage4 .akf-facebook-brand-mark,
.talus-stage4 .akf-footer-credentials {
  display: none !important;
}
