/* WordPress integration and responsive corrections for the approved suite. */
html,
body,
.wp-site-blocks {
  max-width: 100%;
  overflow-x: clip;
}

body,
.wp-site-blocks,
.wp-site-blocks > * {
  margin-block-start: 0;
}

.wp-site-blocks {
  padding: 0;
}

.wp-block-post-content,
.wp-block-template-part {
  margin: 0;
}

.wp-block-post-content > .wrap,
.wp-block-post-content > section {
  margin-block-start: 0;
}

.site-header .brand img {
  display: block;
  height: auto;
  width: clamp(220px, 18vw, 276px);
}

.enquiry-form button,
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  font: inherit;
}

.enquiry-form button[type="submit"] {
  cursor: pointer;
}

.alteris-zoho-captcha,
.alteris-zoho-captcha .recaptcha {
  max-width: 100%;
  overflow: hidden;
}

.alteris-form-error {
  margin-bottom: 16px;
  border: 1px solid #e7b7bd;
  padding: 10px 12px;
  background: #fff3f4;
  color: #8a2637;
  font-size: 13px;
}

.alteris-zoho-success {
  margin-top: 12px;
  border: 1px solid #c2e19a;
  padding: 12px;
  background: #f6fbef;
  color: #365d31;
}

.alteris-zoho-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgb(0 0 0 / 50%);
}

.alteris-zoho-popup {
  position: fixed;
  z-index: 10001;
  top: 50%;
  left: 50%;
  width: min(90vw, 680px);
  max-height: 80vh;
  transform: translate(-50%, -50%);
  overflow: auto;
  border: 1px solid #e6e6e6;
  padding: 32px;
  background: #fff;
  box-shadow: 0 12px 45px rgb(0 0 0 / 25%);
}

.alteris-zoho-popup__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 28px;
  line-height: 1;
}

.generic-hero {
  background: var(--warm-paper, #f5e8e0);
  border-bottom: 1px solid rgba(89, 33, 48, .12);
}

.generic-hero__inner {
  max-width: 980px;
  padding-block: clamp(72px, 9vw, 142px);
}

.generic-hero h1 {
  color: #592130;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3.25rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .92;
  margin: .25em 0;
  overflow-wrap: normal;
  word-break: normal;
}

.generic-hero p:last-child {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  max-width: 760px;
}

/* Match the approved suite button without changing the 404 heading layout. */
body.error404 .generic-hero .btn-primary {
  border-color: var(--syrah);
  font-size: 15px;
  line-height: 1.2;
}

body.error404 .generic-hero .btn-primary:is(:hover, :focus-visible) {
  border-color: var(--syrah-deep);
  background: var(--syrah-deep);
}

.generic-hero,
.generic-hero__inner,
.legacy-content,
.alteris-article__content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.generic-content-section .wrap {
  max-width: 980px;
}

.legacy-content {
  color: #43525a;
  font-size: 1.02rem;
  line-height: 1.75;
}

.legacy-content h1,
.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  color: #592130;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

.legacy-content h2 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); }
.legacy-content h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.legacy-content img { height: auto; max-width: 100%; }
.legacy-content table { border-collapse: collapse; display: block; max-width: 100%; overflow-x: auto; }
.legacy-content td,
.legacy-content th { border: 1px solid rgba(67, 82, 90, .2); padding: 12px; }
.legacy-content > :first-child { margin-top: 0; }
.legacy-content > :last-child { margin-bottom: 0; }
.legacy-content span[style*="#ffffff" i],
.legacy-content span[style*="rgb(255, 255, 255)" i] { color: inherit !important; }
.dynamic-insights-grid { display: grid; gap: clamp(20px, 3vw, 38px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dynamic-insight-card { background: #fff; border: 1px solid rgba(67, 82, 90, .12); }
.dynamic-insight-card > a { display: block; }
.dynamic-insight-card img { aspect-ratio: 4 / 3; display: block; object-fit: cover; width: 100%; }
.dynamic-insight-card > div { padding: clamp(20px, 3vw, 32px); }
.dynamic-insight-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); margin: .35em 0; }
.dynamic-insight-card h2 a { color: inherit; text-decoration: none; }

.alteris-article__hero {
  background: #f5e8e0;
  padding-block: clamp(72px, 8vw, 132px);
}

.alteris-article__hero .wp-block-post-title {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: .98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.alteris-article__meta { color: #43525a; font-size: .86rem; gap: 18px; }
.alteris-article__image img { box-shadow: 0 30px 72px rgba(89, 33, 48, .16); max-height: 720px; object-fit: cover; width: 100%; }
/* Verified newsletter originals contain embedded titles. Preserve their full
   image rather than cropping text; ordinary photographic heroes are unchanged. */
body.postid-4117 .alteris-article__image img,
body.postid-9130 .alteris-article__image img { max-height: none; height: auto; }
.alteris-article__body { padding-block: clamp(64px, 8vw, 120px); }
.alteris-article__content { font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.78; }
.alteris-article__body .alteris-article__content { margin-inline: auto; max-width: 1180px; width: calc(100% - 32px); }
.alteris-article__content h2,
.alteris-article__content h3 { margin-top: 1.6em; }
.alteris-article__content .alteris-article__layout {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  margin-inline: auto;
  max-width: 1180px;
}
.alteris-article__content .alteris-article__main { min-width: 0; }
.alteris-article__content .alteris-article__sections { align-self: start; position: sticky; top: 112px; }
.alteris-article__sections p { color: #592130; font-size: .8rem; font-weight: 600; margin: 0 0 12px; }
.alteris-article__sections ol { border-top: 1px solid rgba(67, 82, 90, .2); list-style: none; margin: 0; padding: 0; }
.alteris-article__sections li { border-bottom: 1px solid rgba(67, 82, 90, .2); }
.alteris-article__sections a { color: #43525a; display: block; font-size: .83rem; line-height: 1.45; padding: 12px 0; text-decoration: none; }
.alteris-article__sections a:hover,
.alteris-article__sections a:focus-visible { color: #592130; text-decoration: underline; }
.alteris-article__content .alteris-article__inline-cta {
  background: #f5e8e0;
  border-left: 4px solid #592130;
  margin-block: 36px;
  padding: clamp(20px, 3vw, 32px);
}
.alteris-article__inline-cta p { color: #592130; font-size: .8rem; font-weight: 600; margin: 0 0 8px; }
.alteris-article__inline-cta a { color: #592130; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.4rem, 2vw, 2rem); }
.alteris-related { background: #f7f7f5; padding-block: clamp(64px, 8vw, 110px); }
.alteris-related h2 { color: #592130; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; }
.alteris-related .related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.alteris-related .related-list article { padding: clamp(24px, 3vw, 38px); background: #fff; box-shadow: 0 16px 38px rgba(89, 33, 48, .08); }
.alteris-related .related-list h3 { margin: .35em 0 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.6rem, 2.4vw, 2.25rem); font-weight: 400; line-height: 1.1; }
.alteris-related .related-list h3 a { color: #592130; text-decoration: none; }
.alteris-profile__hero { background: #f5e8e0; padding-block: clamp(60px, 7vw, 108px); }
.alteris-profile__role { color: #43525a; font-size: clamp(1.05rem, 1.5vw, 1.35rem); margin: .65rem 0 1.5rem; }
.alteris-profile__image { box-shadow: 0 30px 72px rgba(89, 33, 48, .18); display: block; max-height: 720px; object-fit: cover; width: 100%; }
.alteris-profile__body { padding-block: clamp(64px, 8vw, 120px); }
.alteris-profile-insights { background: #f7f7f5; padding-block: clamp(64px, 8vw, 110px); }
.alteris-profile-insights h2 { color: #592130; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; }
.alteris-profile-insights .related-list { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alteris-profile-insights .related-list article { background: #fff; padding: clamp(24px, 3vw, 38px); }
.alteris-profile-insights .related-list h3 { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.6rem, 2.4vw, 2.25rem); font-weight: 400; line-height: 1.1; margin: .35em 0 0; }
.alteris-profile-insights .related-list h3 a { color: #592130; text-decoration: none; }
@media (max-width: 800px) {
  .alteris-article__content .alteris-article__layout { grid-template-columns: minmax(0, 1fr); }
  .alteris-article__content .alteris-article__sections { position: static; }
  .alteris-article__sections ol { border-top: 0; display: flex; gap: 12px; max-width: 100%; overflow-x: auto; }
  .alteris-article__sections li { border: 1px solid rgba(67, 82, 90, .2); flex: 0 0 180px; padding-inline: 12px; }
  .alteris-profile-insights .related-list { grid-template-columns: minmax(0, 1fr); }
}
.alteris-archive__hero { background: #f5e8e0; padding-block: clamp(72px, 8vw, 132px); }
.alteris-archive__hero .wp-block-query-title { color: #592130; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: .96; margin: .2em 0; }
.alteris-archive__hero .lede { color: #43525a; font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 720px; }
.alteris-archive__body { background: #f7f7f5; padding-block: clamp(64px, 8vw, 120px); }
.alteris-archive__body .wp-block-post-template { gap: clamp(20px, 3vw, 40px); }
.alteris-archive__body .alteris-insight-card { background: #fff; height: 100%; overflow: hidden; }
.alteris-archive__body .alteris-insight-card .wp-block-post-featured-image { margin: 0; }
.alteris-archive__body .alteris-insight-card .wp-block-post-featured-image img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; width: 100%; }
.alteris-archive__body .alteris-insight-card__body { padding: clamp(20px, 3vw, 34px); }
.alteris-archive__body .wp-block-post-title a { color: #592130; text-decoration: none; }
.alteris-archive__body .wp-block-query-pagination { margin-top: 48px; }
.alteris-category-archive .wp-block-query-pagination {
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line, #d9dedc);
  padding-top: clamp(24px, 3vw, 36px);
}
.alteris-category-archive :is(
  .wp-block-query-pagination-previous,
  .wp-block-query-pagination-next
) {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-bottom: 1px solid var(--gold, #c8b06e);
  padding: 4px 0 8px;
  color: var(--syrah, #592130);
  font-weight: 500;
  text-decoration: none;
}
.alteris-category-archive .wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}
.alteris-category-archive .wp-block-query-pagination-numbers .page-numbers {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--muted, #43525a);
  text-decoration: none;
}
.alteris-category-archive .wp-block-query-pagination-numbers .current {
  border-bottom: 1px solid var(--gold, #c8b06e);
  color: var(--syrah, #592130);
  font-weight: 600;
}
@media (max-width: 520px) {
  .alteris-category-archive .wp-block-query-pagination {
    justify-content: space-between;
    gap: 14px;
  }
  .alteris-category-archive .wp-block-query-pagination-numbers {
    order: -1;
    flex-basis: 100%;
    justify-content: center;
    gap: 2px;
  }
  .alteris-category-archive .wp-block-query-pagination-next { margin-left: auto; }
  .alteris-category-archive .wp-block-query-pagination-numbers .page-numbers {
    min-width: 32px;
    min-height: 40px;
  }
}

.filter-list .filter-button {
  display: block;
  text-decoration: none;
}

.insights-pagination {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 5vw, 64px);
}

/* Keep variable WordPress titles within the approved card rhythm. */
.site-suite .insights-grid .post h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.site-suite .insights-grid .post-body > p:not(.post-cat):not(.post-author) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.alteris-article__author-name a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.alteris-article__content .article-author {
  grid-template-columns: 96px minmax(0, 1fr);
  max-width: 760px;
  margin-top: clamp(48px, 7vw, 76px);
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.alteris-article__content .article-author.article-author--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.alteris-article__content .article-author__image,
.alteris-article__content .article-author__image img {
  display: block;
  width: 96px;
  height: 96px;
}

.alteris-article__content .article-author .eyebrow {
  margin-bottom: 4px;
}

.alteris-article__content .article-author strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.1;
}

.alteris-article__content .article-author__role {
  margin: 7px 0 12px;
  color: var(--muted);
}

.alteris-article__content .article-author__bio {
  max-width: 62ch;
  margin: 0 0 12px;
  font-size: 14px;
}

@media (max-width: 620px) {
  .alteris-article__content .article-author {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }

  .alteris-article__content .article-author__image,
  .alteris-article__content .article-author__image img {
    width: 72px;
    height: 72px;
  }

  .alteris-article__content .article-author__bio,
  .alteris-article__content .article-author .text-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-suite .insights-grid .post h3 { -webkit-line-clamp: 4; }
  .site-suite .insights-grid .post-body > p:not(.post-cat):not(.post-author) { display: none; }
}

@media (max-width: 900px) {
  .site-header .nav-bar {
    min-height: 72px;
  }

  .site-header .brand img {
    width: 190px;
  }

  .dynamic-insights-grid { grid-template-columns: 1fr; }
  .alteris-related .related-list { grid-template-columns: 1fr; }

  .hero-actions {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-actions .text-link {
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
  }

  .journey-tabs,
  .journey-panel,
  .services-grid,
  .insights-grid,
  .team-track,
  .closing-grid,
  .service-hero-grid,
  .profile-grid,
  .visit-grid {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .generic-hero h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .site-header .brand img {
    width: 172px;
  }

  .hero-copy,
  .service-hero,
  .section-head,
  .closing-copy,
  .enquiry-form {
    min-width: 0;
  }

  .hero-copy h1,
  .hero-copy p,
  .section-head h2,
  .section-head p,
  .service-hero h1,
  .service-hero p {
    overflow-wrap: anywhere;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Hayden's 9–11 September review: rows 1, 2, 3 and 43. */
.site-suite.august-7.home-august .tagline { line-height: 1.12; }
.site-suite.august-7.home-august .tagline .t2 { margin-top: .08em; }
.site-footer .footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #f6f1e7; border: 0; border-radius: 4px; text-decoration: none; }
.site-footer .footer-social svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus-visible { color: var(--gold); text-decoration: none; }
.site-footer .footer-social a:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.site-suite.august-7 .person-meta strong { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
.site-suite.august-7 .cta-panel,
.site-suite.august-7 .closing { padding-block: clamp(48px, 4.5vw, 64px); }
.site-suite.august-7 .directory-person,
.site-suite.august-7 .team-tile { transition: transform .18s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-suite.august-7 .directory-person:hover,
  .site-suite.august-7 .team-tile:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .site-suite.august-7 .directory-person,
  .site-suite.august-7 .team-tile { transition: none; }
}

/* Hayden 17 September v3: scoped presentation corrections. */
.site-suite.team-directory .entry-content > .breadcrumbs {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px max(36px, calc((100vw - 1320px) / 2)) 12px;
  background: var(--human-canvas, #f5e8e0);
}
.site-suite.team-directory .page-library-hero .lede {
  max-width: 68ch;
  text-wrap: pretty;
}
.site-suite.team-directory .directory-person h2,
.site-suite.team-directory .directory-person h2 a {
  font-weight: 400;
}
.site-suite.team-directory .directory-person .text-link {
  font-size: 12px;
  line-height: 1.5;
}
.site-suite.insights-august .insights-pagination {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: clamp(24px, 3vw, 36px);
}
.alteris-article__hero .wp-block-post-title {
  max-width: 1100px;
  /* Override WordPress's !important preset on the dynamic post-title block. */
  font-size: clamp(2.8rem, 5.4vw, 4.875rem) !important;
  line-height: 1.04;
}
.alteris-article__content .article-author__image img {
  object-fit: cover;
  object-position: center 15%;
}
.alteris-article__content .article-author strong,
.alteris-article__content .article-author strong a {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

/* Retain the story tabs and their approved content, with a distinct panel. */
.site-suite.august-7.premium-human.about-august .about-journey-panel {
  margin-top: 28px;
  border-left: 4px solid var(--gold);
  padding: clamp(28px, 4vw, 52px);
  background: #fff;
  box-shadow: 0 12px 32px rgba(89, 33, 48, .06);
}
.site-suite.august-7.premium-human.about-august .about-journey-panel h3 {
  max-width: 26ch;
}
.site-suite.august-7.premium-human.about-august .about-journey-panel .metric {
  display: block;
  margin-top: 24px;
  color: var(--gold-deep);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
}

/* The three capabilities become image-led feature rows, preserving every link. */
.site-suite.august-7.premium-human.about-august .about-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.site-suite.august-7.premium-human.about-august .about-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 72px);
  align-content: center;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--line);
}
.site-suite.august-7.premium-human.about-august .about-highlight figure,
.site-suite.august-7.premium-human.about-august .about-highlight:first-child figure {
  grid-column: 1;
  grid-row: 1 / span 4;
  min-height: 0;
  margin: 0;
}
.site-suite.august-7.premium-human.about-august .about-highlight figure img {
  display: block;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.site-suite.august-7.premium-human.about-august .about-highlight > :not(figure) {
  grid-column: 2;
}
.site-suite.august-7.premium-human.about-august .about-highlight h3 {
  margin: 8px 0 16px;
  color: var(--syrah);
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.1;
}
.site-suite.august-7.premium-human.about-august .about-highlight .text-link {
  justify-self: start;
  margin-top: 16px;
}

/* Reuse the approved portrait-left adviser composition without empty credentials. */
.alteris-profile__hero .alteris-profile__grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: center;
}
.alteris-profile__hero .alteris-profile__grid > .wp-block-column {
  min-width: 0;
}
.alteris-profile__hero .wp-block-post-title {
  font-size: clamp(3rem, 6vw, 5.5rem) !important;
  font-weight: 400;
  line-height: 1.03;
  overflow-wrap: anywhere;
}
.alteris-profile__image {
  max-height: 610px;
  aspect-ratio: 3 / 4;
  object-position: top center;
}
.alteris-profile__body .wp-block-post-content {
  width: calc(100% - 40px);
  max-width: 760px;
  margin-inline: auto;
}
.alteris-profile__hero .alteris-profile__grid:not(:has(.alteris-profile__image)) {
  grid-template-columns: minmax(0, 1fr);
}
.alteris-profile__portrait:not(:has(.alteris-profile__image)) {
  display: none;
}
@media (max-width: 760px) {
  .site-suite.team-directory .entry-content > .breadcrumbs {
    padding: 13px 20px 9px;
  }
  .site-suite.august-7.premium-human.about-august .about-highlight,
  .alteris-profile__hero .alteris-profile__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-suite.august-7.premium-human.about-august .about-highlight figure,
  .site-suite.august-7.premium-human.about-august .about-highlight:first-child figure {
    grid-column: 1;
    grid-row: auto;
    margin-bottom: 24px;
  }
  .site-suite.august-7.premium-human.about-august .about-highlight > :not(figure) {
    grid-column: 1;
  }
  .site-suite.august-7.premium-human.about-august .about-highlight figure img {
    min-height: 0;
    height: auto;
  }
  .alteris-profile__portrait {
    width: min(100%, 380px);
  }
}

/* BATCH-D02: strengthen only the existing keyboard focus ring on care forms. */
body.site-suite .alteris-zoho-form:is([data-alteris-form-type="aged-care"], [data-alteris-form-type="aged-care-guide"]) :is(input:not([type="hidden"]), select, textarea, button):focus-visible {
  outline-color: #7b611f;
}

/* Village: match the verified care-form focus ring without changing resting styles. */
body.site-suite.page-id-14345 .alteris-zoho-form[data-alteris-form-type="lifestyle-guide"] :is(input:not([type="hidden"]), select, textarea, button):focus-visible {
  outline-color: #7b611f;
}

/* Hayden 17 September v3 pp3–4: retain the numbered steps without repeated icons. */
.site-suite.august-7.premium-human.wealth-august .plan-panel .plan-steps > li::before,
.site-suite.august-7.premium-human.wealth-august .plan-panel .plan-steps > li::after {
  content: none;
}

/* Keep the full-width dividers, restoring equal inset inside each bordered card. */
.site-suite.august-7.premium-human:is(.accounting-august, .insurance-august) .capability-list > li {
  padding-inline: 30px;
}
@media (max-width: 760px) {
  .site-suite.august-7.premium-human:is(.accounting-august, .insurance-august) .capability-list > li {
    padding-inline: 22px;
  }
}

/* Hayden v3 profile reconciliation: preserve portrait, biography and integrations. */
body.single-project .alteris-profile > .alteris-profile__breadcrumb {
  background: #f5e8e0;
  margin: 0;
}
body.single-project .alteris-profile__breadcrumb .breadcrumbs {
  margin-block: 0;
  padding-block: 18px 12px;
}
body.single-project .alteris-profile > .alteris-profile__hero {
  margin-top: 0;
}
body.single-project .alteris-profile .alteris-enquiry h2.wp-block-heading {
  max-width: 13ch;
  margin: 14px 0 22px;
  font-size: clamp(44px, 4.6vw, 62px) !important;
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}
body.single-project .alteris-profile .alteris-enquiry .alteris-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 760px) {
  body.single-project .alteris-profile__breadcrumb .breadcrumbs {
    padding-block: 13px 9px;
  }
  body.single-project .alteris-profile .alteris-enquiry h2.wp-block-heading {
    font-size: clamp(40px, 12vw, 52px) !important;
  }
}

/* Hayden, 22 September 15:39: balance these guide panels and vary repeated peach.
   Scope: existing Aged Care and Moving guide components only; no field/focus rules. */
body:is(.page-id-846, .page-id-1881).site-suite.august-7.premium-human .guide-panel.guide-with-form.v3-guide-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  background: var(--cream, #faf8f3);
  border: 1px solid var(--line, #e8e2d4);
}
body:is(.page-id-846, .page-id-1881).site-suite.august-7.premium-human .v3-guide-panel > div {
  width: 100%;
  max-width: none;
}
/* Match the existing shared enquiry-form title scale, keeping editorial copy separate. */
body:is(.page-id-846, .page-id-1881).site-suite.august-7.premium-human .v3-guide-panel .enquiry-form > h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 2.3vw, 34px);
  line-height: 1.08;
}
body:is(.page-id-846, .page-id-1881).site-suite.august-7.premium-human .v3-guide-content .guide-cover img {
  width: min(380px, 100%);
  max-width: 100%;
  height: auto;
  max-height: none;
}
@media (max-width: 900px) {
  body:is(.page-id-846, .page-id-1881).site-suite.august-7.premium-human .guide-panel.guide-with-form.v3-guide-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body:is(.page-id-846, .page-id-1881).site-suite.august-7.premium-human .v3-guide-content .guide-cover img {
    width: min(300px, 100%);
  }
}
@media (max-width: 600px) {
  body:is(.page-id-846, .page-id-1881).site-suite.august-7.premium-human .guide-panel.guide-with-form.v3-guide-panel {
    padding: 24px 20px;
  }
}

/* Approved Human Warmth article-body tokens. Never change semantic heading tags. */
body.single-post .alteris-article__content .alteris-article__main h2:not(:where(aside *, form *, .article-callout *, .article-nurture *, .related-list *)) {
  margin: 64px 0 18px;
  color: var(--syrah, #642235);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(36px, 4vw, 50px) !important;
  font-weight: 400;
  line-height: 1.04;
  scroll-margin-top: 110px;
}
body.single-post .alteris-article__content .alteris-article__main h3:not(:where(aside *, form *, .article-callout *, .article-nurture *, .related-list *)) {
  margin: 38px 0 12px;
  color: var(--syrah, #642235);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 28px !important;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
}

/* VIS-11: show every existing story tab on mobile without horizontal scrolling. */
@media (max-width: 760px) {
  .site-suite.about-august .about-journey-nav {
    flex-wrap: wrap;
    overflow: visible;
  }
  .site-suite.about-august .about-journey-nav > button {
    flex: 0 0 100%;
    white-space: nowrap;
  }
}

/* VIS-04: exact observed hero colours, scoped to the eleven retested routes. */
body:is(.page-id-72, .page-id-14396, .page-id-3, .page-id-4592, .page-id-4809, .page-id-12048, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059) .entry-content > .breadcrumbs {
  --vis04-breadcrumb-background: #f5e8e0;
}
body.page-id-12182 .entry-content > .breadcrumbs {
  --vis04-breadcrumb-background: #eef1ef;
}
body:is(.page-id-72, .page-id-14396, .page-id-3, .page-id-4592, .page-id-4809, .page-id-12048, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059, .page-id-12182) .entry-content > .breadcrumbs {
  position: relative;
  isolation: isolate;
  background: var(--vis04-breadcrumb-background);
}
body:is(.page-id-72, .page-id-14396, .page-id-3, .page-id-4592, .page-id-4809, .page-id-12048, .page-id-13008, .page-id-12926, .page-id-12721, .page-id-13059, .page-id-12182) .entry-content > .breadcrumbs::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background: var(--vis04-breadcrumb-background);
}

/* VIS-01: native category/policy shell paints match the approved team/profile shell. */
body:is(.category, .page-id-14396) .site-header {
  border-top: 0;
  border-bottom-color: rgba(89, 33, 48, .12);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 34px rgba(89, 33, 48, .05);
}
body:is(.category, .page-id-14396) .site-footer {
  background: #242424;
  color: rgba(255, 255, 255, .72);
}
body:is(.category, .page-id-14396) .site-footer .footer-legal p {
  color: rgba(255, 255, 255, .58);
}

/* Keep the archive/policy mobile menu below the signed-in WordPress toolbar. */
@media (max-width: 1020px) {
  body.admin-bar:is(.category, .page-id-14396) .site-header .nav-menu {
    margin-top: var(--wp-admin--admin-bar--height, 32px);
  }
}

/* VIS-06: extend the accepted Care/Moving guide presentation to Village Living.
   Existing cover, semantic headings, form titles, fields and both forms stay intact. */
body.page-id-14345.site-suite.august-7.premium-human .c3-retirement-guide .guide-panel.guide-with-form.v3-guide-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  background: var(--cream, #faf8f3);
  border: 1px solid var(--line, #e8e2d4);
}
body.page-id-14345.site-suite.august-7.premium-human .c3-retirement-guide .v3-guide-panel > div {
  width: 100%;
  max-width: none;
}
body.page-id-14345.site-suite.august-7.premium-human .c3-retirement-guide .v3-guide-content .guide-cover img {
  width: min(380px, 100%);
  max-width: 100%;
  height: auto;
  max-height: none;
}
@media (max-width: 900px) {
  body.page-id-14345.site-suite.august-7.premium-human .c3-retirement-guide .guide-panel.guide-with-form.v3-guide-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body.page-id-14345.site-suite.august-7.premium-human .c3-retirement-guide .v3-guide-content .guide-cover img {
    width: min(300px, 100%);
  }
}
@media (max-width: 600px) {
  body.page-id-14345.site-suite.august-7.premium-human .c3-retirement-guide .guide-panel.guide-with-form.v3-guide-panel {
    padding: 24px 20px;
  }
}

/* VIS-15: restore the existing sibling content-section top-spacing tokens only.
   Keep bottom padding, panel margin, preceding sections and form behaviour unchanged. */
body.page-id-1881.site-suite .content-section.v3-moving-guide-section {
  padding-top: var(--section-space, clamp(78px, 7.5vw, 108px));
}
@media (max-width: 760px) {
  body.page-id-1881.site-suite .content-section.v3-moving-guide-section {
    padding-top: 68px;
  }
}
/* Jeremy's laptop-fold refinement: seven primary service pages only.
Images scale proportionally by 26/27 (standard) or 53/55 (generic).
Preserve all copy, image identities, heading font sizes and mobile rules. */
@media (min-width:1021px) {
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-hero-grid {
    grid-template-columns:.96fr 1.04fr;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651):is(.page-id-14344,.page-id-14345) .service-hero-grid {
    grid-template-columns:.94fr 1.06fr;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-hero h1 {
    max-width:100%;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-hero-photo, body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-hero-photo img {
    height:481.4815px;
    min-height:481.4815px;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651):is(.page-id-14344,.page-id-14345) .service-hero-photo, body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651):is(.page-id-14344,.page-id-14345) .service-hero-photo img {
    height:481.8182px;
    min-height:481.8182px;
  }
}
@media (min-width:1021px) and (max-height:850px) {
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-hero .service-hero-grid {
    padding-top:8px;
    padding-bottom:32px;
    min-height:0;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-hero .eyebrow {
    margin-bottom:10px;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-hero h1 {
    margin-top:0;
    margin-bottom:12px;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-phone {
    margin:10px 0;
    padding:8px 0;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-phone span {
    line-height:1.4;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-phone a {
    font-size:44px;
  }
  body.site-suite.august-7.premium-human:is(.page-id-638,.page-id-846,.page-id-1881,.page-id-14345,.page-id-14344,.page-id-970,.page-id-11651) .service-lede {
    line-height:1.55;
    margin-bottom:12px;
  }
}

/* D1: keep the approved About hero composition while bringing its primary CTA
   above the fold on short desktop screens, including a 32px WP toolbar. */
@media (min-width:1200px) and (max-height:800px) {
  body.site-suite.august-7.about-august .suite-hero-copy {
    padding-top:clamp(24px, 2.1vw, 30px);
    padding-bottom:48px;
  }
  body.site-suite.august-7.about-august .suite-hero .breadcrumbs {
    margin-bottom:20px;
  }
  body.site-suite.august-7.about-august .suite-hero h1 {
    margin-top:12px;
    margin-bottom:18px;
  }
}

/* D2: retain the approved team masthead and bring its CTA above the laptop
   fold, allowing for a 32px WordPress toolbar and 24px of clear space. */
@media (min-width:1200px) and (max-height:800px) {
  body.page-id-11122.site-suite.people-august .people-masthead {
    padding-top:40px;
  }
}
