/*
Auram Prime Website Foundation Lock — v3.38.0
The approved homepage is the visual authority. This is the single final
governance layer for shared controls, inner-page scale and the owned footer.
Legacy v3.36 correction styles are no longer enqueued.
*/

body.apw-global-system{
  --apw-foundation-plum:#241733;
  --apw-foundation-plum-2:#4d2f6e;
  --apw-foundation-ivory:#fffaf1;
  --apw-foundation-paper:#fffdf8;
  --apw-foundation-copy:#5e526b;
  --apw-foundation-line:#dccbb1;
  --apw-foundation-gold:#b8792e;
  --apw-foundation-serif:"Source Serif 4",Georgia,serif;
  --apw-foundation-sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x:hidden;
}

body.apw-global-system #colophon,
body.apw-global-system .apf5{
  display:none!important;
}

body.apw-global-system :is(
  .apw-header-cta,
  .ap2-button,
  .apa-button,
  .apj-button,
  .apu-button,
  .apf-button,
  .apm-button,
  .apwhy-btn,
  .apabout .apw-button,
  .apbook .apw-button,
  .apw-foundation-button
){
  position:relative;
  border-radius:2px;
  text-decoration:none!important;
  transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;
}

body.apw-global-system :is(
  .apw-header-cta,
  .ap2-button--primary,
  .apj-button-primary,
  .apu-button-primary,
  .apf-button-primary,
  .apw-foundation-button--primary
):hover,
body.apw-global-system :is(
  .apw-header-cta,
  .ap2-button--primary,
  .apj-button-primary,
  .apu-button-primary,
  .apf-button-primary,
  .apw-foundation-button--primary
):focus-visible{
  background:var(--apw-foundation-plum-2)!important;
  border-color:var(--apw-foundation-plum-2)!important;
  color:var(--apw-foundation-ivory)!important;
  box-shadow:inset 0 -2px 0 var(--apw-foundation-gold),0 11px 26px rgba(36,23,51,.18)!important;
  transform:translateY(-1px);
}

body.apw-global-system :is(
  .ap2-button--light,
  .ap2-button--gold,
  .apa-button-light,
  .apj-button-light,
  .apu-button-light,
  .apf-button-light,
  .apm-button-light,
  .apwhy-btn--solid,
  .apbook .apw-button--light,
  .apw-foundation-button--light
):hover,
body.apw-global-system :is(
  .ap2-button--light,
  .ap2-button--gold,
  .apa-button-light,
  .apj-button-light,
  .apu-button-light,
  .apf-button-light,
  .apm-button-light,
  .apwhy-btn--solid,
  .apbook .apw-button--light,
  .apw-foundation-button--light
):focus-visible{
  background:#fff!important;
  color:var(--apw-foundation-plum)!important;
  box-shadow:inset 0 -2px 0 var(--apw-foundation-gold)!important;
  transform:translateY(-1px);
}

body.apw-global-system :is(
  .ap2-button--ghost,
  .apa-button-ghost,
  .apj-button-secondary,
  .apj-button-outline,
  .apu-button-secondary,
  .apu-button-outline,
  .apf-button-secondary,
  .apf-button-outline,
  .apwhy-btn--outline,
  .apbook .apw-button--outline-light,
  .apw-foundation-button--outline
):hover,
body.apw-global-system :is(
  .ap2-button--ghost,
  .apa-button-ghost,
  .apj-button-secondary,
  .apj-button-outline,
  .apu-button-secondary,
  .apu-button-outline,
  .apf-button-secondary,
  .apf-button-outline,
  .apwhy-btn--outline,
  .apbook .apw-button--outline-light,
  .apw-foundation-button--outline
):focus-visible{
  background:rgba(255,250,241,.08)!important;
  box-shadow:inset 0 -2px 0 var(--apw-foundation-gold)!important;
  transform:translateY(-1px);
}

body.apw-global-system :where(a,button,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--apw-foundation-gold)!important;
  outline-offset:3px!important;
}

/* Keep inner-page first viewports editorial rather than billboard-sized. */
body.apw-global-system.apw-inner-page :is(
  .apj-hero-photographic,
  .apu-hero-photographic,
  .apm-hero,
  .apf-hero
){
  min-height:clamp(560px,68vh,680px)!important;
}

body.apw-global-system.apw-inner-page:not(.apw-page-property-fit-finder) :is(
  .apj-hero-copy h1,
  .apu-hero-copy h1,
  .apm-hero h1,
  .apf-hero h1
){
  max-width:780px!important;
  font-size:clamp(44px,4.45vw,62px)!important;
  line-height:1.01!important;
  letter-spacing:-.035em!important;
}

body.apw-global-system.apw-inner-page :is(
  .apj-section,
  .apu-section,
  .apm-section,
  .apf-section
){
  min-height:0!important;
  padding-block:clamp(62px,6vw,88px)!important;
}

body.apw-global-system.apw-inner-page :is(.apj-cta,.apu-cta,.apm-cta,.apf-cta){
  min-height:0!important;
  padding-block:clamp(64px,6vw,90px)!important;
}

/* The global footer is plugin-owned; no broken theme logo or legacy blue. */
.apw-owned-footer{
  width:100%;
  overflow:hidden;
  background:var(--apw-foundation-ivory);
  color:var(--apw-foundation-plum);
  font-family:var(--apw-foundation-sans);
}

.apw-owned-footer,
.apw-owned-footer *{box-sizing:border-box}
.apw-owned-footer a{text-decoration:none!important}
.apw-owned-footer__shell{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.apw-owned-footer__main{border-top:1px solid var(--apw-foundation-line);background:linear-gradient(180deg,var(--apw-foundation-ivory),#fbf6ec)}
.apw-owned-footer__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.82fr) minmax(0,.94fr) minmax(0,1fr);gap:clamp(28px,3.8vw,56px);align-items:start;padding-block:50px 46px}
.apw-owned-footer__grid>*{min-width:0}
.apw-owned-footer__logo{width:min(100%,360px)}
.apw-owned-footer__logo .custom-logo-link{display:block;width:100%;height:auto}
.apw-owned-footer__logo img{display:block;width:100%;height:auto;max-height:72px;object-fit:contain;object-position:left center}
.apw-owned-footer__brand>p{max-width:420px;margin:21px 0 0;color:var(--apw-foundation-copy);font-size:13px;line-height:1.72}
.apw-owned-footer__principles{display:grid;gap:4px;margin-top:18px;padding-left:14px;border-left:2px solid var(--apw-foundation-gold)}
.apw-owned-footer__principles span{color:var(--apw-foundation-plum);font-size:11px;font-weight:800;line-height:1.45}
.apw-foundation-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;margin-top:22px;padding:11px 18px;border:1px solid var(--apw-foundation-plum);font-size:11px;font-weight:850;line-height:1.2}
.apw-foundation-button--primary{background:var(--apw-foundation-plum);color:var(--apw-foundation-ivory)!important}
.apw-owned-footer__column{display:block;text-align:left}
.apw-owned-footer__column h2{display:flex;align-items:center;gap:10px;margin:4px 0 17px;color:var(--apw-foundation-plum);font-family:var(--apw-foundation-serif);font-size:18px;font-weight:600;line-height:1.2}
.apw-owned-footer__column h2::before{width:22px;height:1px;background:var(--apw-foundation-gold);content:"";flex:0 0 auto}
.apw-owned-footer__column>a:not(.apw-owned-footer__text-link){display:block;width:100%;margin-top:9px;color:var(--apw-foundation-copy)!important;font-size:11.5px;line-height:1.48;transition:color .18s ease,transform .18s ease}
.apw-owned-footer__column>a:not(.apw-owned-footer__text-link):hover{color:var(--apw-foundation-plum)!important;transform:translateX(2px)}
.apw-owned-footer__contact>a:not(.apw-owned-footer__text-link),.apw-owned-footer__contact>p{margin:0;padding:10px 0;border-top:1px solid var(--apw-foundation-line)}
.apw-owned-footer__contact>a:first-of-type{padding-top:0;border-top:0}
.apw-owned-footer__contact small{display:block;margin-bottom:3px;color:#9b6b26;font-size:8px;font-weight:900;letter-spacing:1.3px;text-transform:uppercase}
.apw-owned-footer__contact strong{display:block;color:var(--apw-foundation-plum);font-size:11.5px;font-weight:800;line-height:1.45;overflow-wrap:anywhere}
.apw-owned-footer__text-link{display:inline-flex!important;margin-top:13px!important;color:#9b6b26!important;font-size:10px!important;font-weight:900!important}
.apw-owned-footer__trust{border-top:1px solid rgba(216,162,75,.34);background:linear-gradient(135deg,#4b3478 0%,#5f438c 54%,#3f2b66 100%);color:#eadff0}
.apw-owned-footer__trust-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:24px;align-items:center;padding-block:18px 17px}
.apw-owned-footer__trust-grid>div strong{display:block;color:var(--apw-foundation-ivory);font-family:var(--apw-foundation-serif);font-size:14px;font-weight:600}
.apw-owned-footer__trust-grid>div span{display:block;margin-top:3px;color:#eadff0;font-size:9.5px}
.apw-owned-footer__trust-grid>p{display:flex;flex-wrap:wrap;gap:7px 11px;margin:0;color:#eadff0;font-size:9.5px;line-height:1.5}
.apw-owned-footer__trust-grid>p b{color:var(--apw-foundation-ivory)}
.apw-owned-footer__trust-grid>p i{width:3px;height:3px;align-self:center;border-radius:50%;background:#d8a24b}
.apw-owned-footer__trust-grid>a{color:#f0c46d!important;font-size:9px;font-weight:850;border-bottom:1px solid transparent}
.apw-owned-footer__trust-grid>a:hover{color:var(--apw-foundation-ivory)!important;border-bottom-color:#f0c46d}
.apw-owned-footer__legal{background:#2f214d;color:#eadff0}
.apw-owned-footer__legal-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid rgba(255,250,241,.12)}
.apw-owned-footer__legal-row p{margin:0;color:#eadff0;font-size:8.5px;line-height:1.5}
.apw-owned-footer__legal-row nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 15px}
.apw-owned-footer__legal-row a{color:var(--apw-foundation-ivory)!important;font-size:8.5px;font-weight:750}
.apw-owned-footer__legal-row a:hover{color:#f0c46d!important}
.apw-owned-footer__disclaimer{width:100%;margin:0;padding:11px 0 15px;color:var(--apw-foundation-ivory);font-size:8.5px;line-height:1.5;text-align:center}

@media(max-width:1000px){
  .apw-owned-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 34px;padding-block:36px}
  .apw-owned-footer__brand{grid-column:1/-1;padding-bottom:26px;border-bottom:1px solid var(--apw-foundation-line)}
  .apw-owned-footer__contact{grid-column:1/-1}
  .apw-owned-footer__trust-grid{grid-template-columns:1fr 1fr}
  .apw-owned-footer__trust-grid>a{grid-column:1/-1;justify-self:start}
}

@media(max-width:700px){
  body.apw-global-system.apw-inner-page :is(.apj-hero-photographic,.apu-hero-photographic,.apm-hero,.apf-hero){min-height:720px!important}
  body.apw-global-system.apw-inner-page:not(.apw-page-property-fit-finder) :is(.apj-hero-copy h1,.apu-hero-copy h1,.apm-hero h1,.apf-hero h1){font-size:clamp(39px,11vw,50px)!important}
  .apw-owned-footer__shell{width:100%;padding-inline:18px}
  .apw-owned-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px;padding-block:28px}
  .apw-owned-footer__brand,.apw-owned-footer__contact{grid-column:1/-1}
  .apw-owned-footer__brand>p{font-size:11px;line-height:1.58}
  .apw-foundation-button{width:100%}
  .apw-owned-footer__column h2{font-size:17px}
  .apw-owned-footer__column>a:not(.apw-owned-footer__text-link){font-size:9.7px}
  .apw-owned-footer__trust-grid{grid-template-columns:1fr;gap:11px;padding-block:15px}
  .apw-owned-footer__trust-grid>a{grid-column:auto}
  .apw-owned-footer__legal-row{flex-direction:column;align-items:flex-start;gap:8px}
  .apw-owned-footer__legal-row nav{justify-content:flex-start}
  .apw-owned-footer__disclaimer{text-align:left;line-height:1.6}
}

@media(prefers-reduced-motion:reduce){
  body.apw-global-system *,body.apw-global-system *::before,body.apw-global-system *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}
