/* ============================================================
   wcag-c0067-gs-insta.css
   WCAG 2.1 Level AA override for the C0067-GS-Insta Kentico template
   (TemplateId 1369, DefaultCssFileName: RPcssMaster_C0067-GS-Insta).

   Selectors verified against the live base CSS pulled from
   livesommery.com (cross-fetched) on 2026-05-12.

   This template namespaces all base rules under .template-insta.
   Several base focus suppressors use !important on outline:none,
   so focus rules below also use !important to win.
   ============================================================ */


/* ------------------------------------------------------------
   WCAG 2.4.7 Focus Visible
   Base suppresses outlines on:
     .template-insta a:hover { outline:0 }
     .template-insta a:hover, .template-insta a:focus
       { outline-color:transparent; outline-style:none }
     .template-insta .btn-primary.focus / :active / .active
       { outline:none !important }
     .template-insta .btn-default.active / .contact-us-enhanced
       .sumbit-button button.active { outline:none !important }
     .template-insta .FloorPlansV2 select { outline:0 }
   ------------------------------------------------------------ */
.template-insta a:focus-visible,
.template-insta button:focus-visible,
.template-insta .btn:focus-visible,
.template-insta .btn-primary:focus-visible,
.template-insta .btn-default:focus-visible,
.template-insta .navbar-toggle:focus-visible,
.template-insta .dropdown-toggle:focus-visible,
.template-insta .contact-us-enhanced .form-control:focus-visible,
.template-insta .contact-us-enhanced .sumbit-button button:focus-visible,
.template-insta .FloorPlansV2 select:focus-visible,
.template-insta input:focus-visible,
.template-insta select:focus-visible,
.template-insta textarea:focus-visible,
.template-insta [tabindex]:focus-visible,
.template-insta [role="button"]:focus-visible,
.footer-widget footer a:focus-visible {
  /* Webkit-style two-ring halo: blue inner ring + white outer ring
     gives focus visibility on both light AND dark backgrounds.
     The `outline` declaration is intentionally omitted — outline
     paints on top of box-shadow and would cover the white ring. */
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #005fcc, 0 0 0 3px #fff !important;
}


/* ------------------------------------------------------------
   WCAG 2.4.11 Focus Not Obscured
   Multiple position:fixed elements in the base (header,
   stacked-amenities overlay, mobile menu). Header height not
   declared in master â use 100px scroll padding.
   ------------------------------------------------------------ */
html {
  scroll-padding-top: 100px;
}

.template-insta :focus-visible {
  scroll-margin-top: 100px;
}


/* ------------------------------------------------------------
   WCAG 1.4.11 Non-text Contrast (UI components)
   Base failures:
     .template-insta .FloorPlansV2 select { border:1px solid #ccc }
       â 2.40:1 â fails 3:1.
     .template-insta ... { border:solid 1px #ddd } (line 2373)
       â 1.60:1 â fails.
     .template-insta .FloorPlansV2 .fp-switch-tabs
       { border:1px solid #e7e7e7 } â 1.18:1 â fails.
     ... { border-bottom:1px solid #ccc8c5 } (line 2231)
       â 2.39:1 â fails.
   ------------------------------------------------------------ */
.template-insta .FloorPlansV2 select,
.template-insta .FloorPlansV2 .fp-switch-tabs {
  border-color: #595959;
}

body #contactUsEnhancedContainer .form-control {
  border-bottom: 1px solid #595959 !important;
}


/* ------------------------------------------------------------
   WCAG 1.4.3 Contrast Minimum (text)
   Base failure:
     #b4b4b4 (line 1368) â 2.60:1 â clearly fails wherever
     used as text. Scoped to confirmed selectors only â
     brand hover color #717171 (â 4.20:1) is preserved as it's
     the property's accent. The 1.4.1 underline below carries
     the distinguishability requirement without recoloring.
     Shared footer-disclosure opacity 0.6 â 0.85.
   ------------------------------------------------------------ */
.template-insta .FloorPlansV3 .specification,
.template-insta .FloorPlansV2 .specification {
  color: #595959;
}

.footer-widget footer .footer-disclosure {
  opacity: 0.85;
}


/* ------------------------------------------------------------
   WCAG 1.4.1 Use of Color (inline links)
   ------------------------------------------------------------ */
.template-insta .main-content-text a,
.template-insta .inner-page-main a,
.template-insta .inner-page-main-content a,
.template-insta .main-content-wrapper a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.template-insta a.btn,
.template-insta a.button,
.template-insta .btn,
.template-insta .btn-primary,
.template-insta .btn-default,
.template-insta header a,
.template-insta nav a,
.template-insta .cta-header-btn,
.template-insta .header-CTA-button,
.template-insta .footer-CTA-Button,
.template-insta a.more-link,
.template-insta a.less-link,
.template-insta .contact-us-enhanced .sumbit-button button,
.footer-widget footer a {
  text-decoration: none;
}

/* ------------------------------------------------------------
   TFS 2870264 — WCAG 1.4.1 (homepage inline links)
   Insta's homepage uses `.home-intro` rows with
   `.home-intro-content` holding the welcome blurb. Verified
   against academyapts.com (inline link "GET STARTED WITH
   AirBnB" inside `.home-intro-content`).
   ------------------------------------------------------------ */
.template-insta .home-intro a,
.template-insta .home-intro-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.template-insta .home-intro a.btn,
.template-insta .home-intro a.button,
.template-insta .home-intro-content a.btn,
.template-insta .home-intro-content a.button {
  text-decoration: none;
}


/** ------------------------------------------------------------
   WCAG 2.2 AA 2.5.8 Target Size (Pointer)
   ------------------------------------------------------------ */
.template-insta .navbar .header-contact .seo-number {
    line-height: 24px;;
}