/* AGIH — base styles. Component styling stays inline in the template, as designed. */
*{box-sizing:border-box;margin:0;padding:0}
  body{background:#FDFAF4;color:#1A3A5C;font-family:'Instrument Sans',Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
  a{color:#1A3A5C;text-decoration:none;transition:color .25s ease}
  a:hover{color:#8A6A4F}
  img{display:block;max-width:100%}
  input,select,button{font-family:inherit}
  a:focus-visible,button:focus-visible{outline:2px solid #8A6A4F;outline-offset:3px}
  /* Fields carry inline outline:none, so their focus ring has to win the cascade. */
  input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #8A6A4F !important;outline-offset:2px}
  input:focus,select:focus,textarea:focus{outline:2px solid #8A6A4F !important;outline-offset:2px}
  .agih-menu-btn{display:none}
  .agih-desktop-nav a{white-space:nowrap}
  @media (max-width:1180px){
    .agih-desktop-nav{gap:8px !important}
    .agih-desktop-nav a{font-size:12px !important;letter-spacing:0.05em !important}
    .agih-desktop-nav a[data-hv="hv3"]{padding:11px 12px !important}
  }
  @media (max-width:1023px){
    .agih-desktop-nav{display:none !important}
    .agih-menu-btn{display:inline-flex !important}
  }
  @media (prefers-reduced-motion:reduce){
    *,*::before,*::after{animation-duration:0.001ms !important;transition-duration:0.001ms !important;scroll-behavior:auto !important}
  }

/* Hover states lifted out of the template (inline styles would otherwise win). */
[data-hv="hv1"]:hover{color:#1A3A5C !important}
[data-hv="hv2"]:hover{color:#8A6A4F !important}
[data-hv="hv3"]:hover{background:#0F2540 !important;color:#FDFAF4 !important}
[data-hv="hv4"]:hover{background:#F5D4DD !important;color:#1A3A5C !important}
[data-hv="hv5"]:hover{color:#F5D4DD !important}
[data-hv="hv6"]:hover{border-color:#1A3A5C !important;color:#1A3A5C !important}

/* focus ring stays visible on the navy footer */
footer a:focus-visible, footer button:focus-visible { outline-color: #FDFAF4; }

.agih-offer{transition:border-color .2s ease}
.agih-offer:hover{border-color:#1A3A5C !important}
.agih-offer:focus-visible{outline:2px solid #8A6A4F;outline-offset:3px}

/* "How we can help": desktop keeps the full card; phones get compact rows with shorter copy.
   Only one description is ever rendered, so screen readers never hear both. */
.agih-offer-mob{display:none !important}
@media (max-width:599px){
  #agih-offers{padding-top:32px !important}
  .agih-offer-grid{gap:10px !important;margin-top:16px !important}
  .agih-offer{padding:14px 16px 15px !important}
  .agih-offer-intent,.agih-offer-desk{display:none !important}
  .agih-offer-mob{display:block !important;font-size:15px !important;line-height:1.5 !important;margin-top:5px !important}
  .agih-offer-title{font-size:23px !important;margin-top:0 !important}
  .agih-offer-access{margin-top:8px !important;padding-top:0 !important;border-top:0 !important}
  .agih-offer-action{padding:10px 0 4px !important}
}

/* Islands page: each island is one link with a short line about the place. */
.agih-isl-link:hover > span:first-child{color:#8A6A4F}
.agih-isl-link:focus-visible,.agih-isl-jump:focus-visible,.agih-isl-back:focus-visible{outline:2px solid #8A6A4F;outline-offset:3px}
.agih-isl-jump:hover,.agih-isl-back:hover{color:#8A6A4F !important}
@media (min-width:900px){
  .agih-isl-head{grid-template-columns:minmax(0,5fr) minmax(0,7fr) !important}
  .agih-isl-head img{aspect-ratio:16/10 !important}
}
@media (max-width:599px){
  .agih-isl-group{padding-top:34px !important}
  .agih-isl-head{gap:12px !important}
  .agih-isl-head img{aspect-ratio:16/9 !important}
  .agih-isl-head h2{font-size:30px !important;margin-top:6px !important}
  .agih-isl-head h2 + p{font-size:17px !important}
  .agih-isl-list{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:0 14px !important}
  .agih-isl-link{padding:11px 0 12px !important}
  .agih-isl-link > span:first-child{font-size:20px !important}
  .agih-isl-link > span:nth-child(2){font-size:15px !important;line-height:1.55 !important}
  .agih-isl-jump,.agih-isl-back{display:inline-block;padding:12px 0 9px !important}
}

/* Offers band: full-width blush ground, ivory cards, actions that read as the next step */
#agih-offers{background:#F6E9E6;box-shadow:0 0 0 100vmax #F6E9E6;clip-path:inset(0 -100vmax);padding-bottom:clamp(36px,4.5vw,64px) !important;margin-top:clamp(36px,4.5vw,64px)}
.agih-offers-h{color:#1A3A5C !important;font-weight:500 !important}
#agih-offers .agih-offer{border-color:rgba(26,58,92,0.12) !important;box-shadow:0 1px 0 rgba(26,58,92,0.06)}
#agih-offers .agih-offer-action{background:#1A3A5C;color:#FDFAF4 !important;border-bottom:0 !important;padding:12px 16px !important;margin-top:auto;transition:background .2s ease}
#agih-offers .agih-offer:hover .agih-offer-action{background:#8A6A4F}
@media (max-width:599px){
  #agih-offers{padding-bottom:22px !important;margin-top:18px;padding-top:24px !important}
  #agih-offers .agih-offer-action{padding:8px 12px !important;margin-top:8px !important}
}
/* desktop dropdown disclosure buttons */
.agih-menu-toggle{background:none;border:0;padding:6px 6px;margin-left:-6px;color:#8A6A4F;font:500 12px/1 'Instrument Sans',sans-serif;cursor:pointer}
.agih-menu-toggle:hover{color:#1A3A5C}
.agih-menu-toggle:focus-visible{outline:2px solid #8A6A4F;outline-offset:2px}
#agih-menu-panel a:focus-visible{outline:2px solid #8A6A4F;outline-offset:3px}

/* Property Brief samples: shown at natural size, never enlarged; text versions open in place */
.agih-brief-text summary::-webkit-details-marker{display:none}
.agih-brief-text summary{list-style:none;border-bottom:1px solid #A8927D}
.agih-brief-text summary::after{content:" +";color:#8A6A4F}
.agih-brief-text[open] summary::after{content:" −"}
.agih-brief-text summary:focus-visible{outline:2px solid #8A6A4F;outline-offset:3px}
.agih-brief-text p + p{margin-top:10px}
@media (max-width:599px){ .agih-brief-samples{gap:30px !important} }

/* Property Brief sample previews */
.agih-bs-tab{background:transparent;border:1px solid rgba(26,58,92,0.22);color:#1A3A5C;font:500 13px/1 'Instrument Sans',sans-serif;letter-spacing:0.04em;padding:12px 14px;min-height:44px;cursor:pointer}
.agih-bs-tab:hover{border-color:#1A3A5C}
@media (min-width:600px){ .agih-bs-tab,.agih-bs-zoom{white-space:nowrap} }
.agih-bs-tab.is-on{background:#1A3A5C;color:#FDFAF4;border-color:#1A3A5C}
.agih-bs-tab:focus-visible,.agih-bs-panel:focus-visible{outline:2px solid #8A6A4F;outline-offset:3px}
@media (max-width:599px){ .agih-bs-tab{flex:1 1 calc(50% - 4px);padding:11px 8px;font-size:12.5px} }

/* narrow screens: read a capture at its own size by scrolling sideways */
.agih-bs-zoom{display:none;margin-top:12px;background:transparent;border:1px solid rgba(26,58,92,0.3);color:#1A3A5C;font:500 13px/1 'Instrument Sans',sans-serif;letter-spacing:0.04em;padding:12px 14px;min-height:44px;cursor:pointer}
.agih-bs-zoom:focus-visible,.agih-bs-frame:focus-visible{outline:2px solid #8A6A4F;outline-offset:3px}
@media (max-width:759px){
  .agih-bs-zoom{display:inline-block}
  .agih-bs-frame.is-zoom{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .agih-bs-frame.is-zoom img{width:auto !important;max-width:none !important}
}

/* Buyer's Guide sample pages: full-size view available at every width */
.agih-gs-zoom{display:inline-block !important}
.agih-gs-frame.is-zoom{overflow-x:auto;max-width:100% !important;width:auto !important}
.agih-gs-frame.is-zoom img{width:auto !important;max-width:none !important}

/* Island page photographs */
.agih-isl-pair{display:flex;gap:16px;align-items:flex-start}
.agih-isl-pair figure{margin:0;min-width:0}
.agih-isl-pair img{display:block;width:100%;height:auto;object-fit:cover}
.agih-isl-pair-b img{aspect-ratio:var(--r)}
.agih-isl-pair-swap .agih-isl-pair-b{order:-1}
.agih-isl-pair figcaption{font:400 13px/1.5 'Instrument Sans',sans-serif;color:#8A7F6D;margin-top:8px}
@media (max-width:699px){
  .agih-isl-pair{flex-direction:column;gap:14px}
  .agih-isl-pair figure{flex:none !important;width:100%}
  .agih-isl-pair-swap .agih-isl-pair-b{order:0}
  .agih-isl-pair-b{width:min(80%, calc(300px * var(--n))) !important}
  .agih-isl-pair-b img{aspect-ratio:var(--n)}
}

.agih-isl-single figcaption{font:400 13px/1.5 'Instrument Sans',sans-serif;color:#8A7F6D;margin-top:8px}
.agih-isl-links a{white-space:nowrap}

#agih-edit-zoom::backdrop{background:rgba(15,37,64,0.72)}
#inside-an-edition summary::-webkit-details-marker{display:none}
