/* Tenderling Craft theme (Wilshire Skyline, The Line Collection) — shared corrections */

/* The logo link had no height, so its focus ring drew around nothing */
.site--header .logo .link { display: inline-block; }

/* Property tiles, gallery and accommodation captions appear only on mouse hover;
   they now also appear when a keyboard user tabs onto them (WCAG 2.4.7 / 1.4.13) */
.page--properties .grid-nav .grid-item.button-block .pattern .circle-button:focus,
.page--properties .grid-nav .grid-item.button-block .pattern .circle-button:focus-visible { opacity: 1; }
.page--gallery .gallery-photos .items .item:focus-within .overlay,
.comp--accommodation-display .accommodations .accommodation:focus-within .overlay { opacity: 1; pointer-events: auto; }

/* "Site by" credit: #426d87 on #d9e1e7 was 4.2:1 -> #3e667f = 4.65:1 */
.h-type .footer-credit, .h-type .footer-credit a { color: #3e667f; }

/* Header "Locations" dropdown opens on hover only; it now also opens while a keyboard user is inside it */
.site--header .desktop .nav .dropdown:focus-within { opacity: 1; pointer-events: auto; }

/* Carousel arrows: the carousel script removes their focus outline */
.slick-prev:focus-visible, .slick-next:focus-visible { outline: 3px solid #fff !important; box-shadow: 0 0 0 6px #1a1a1a !important; }

/* The Line — property pages: gold address link #b29041 on white was 3.0:1 -> #8c7133 = 4.6:1 */
.h-type h4 a, .h-type .h4 a, .h-type a .h4, .h-type a h4, .h-type a.h4, .address, a.address { color: #8c7133; }

/* Phone width: the decorative lines either side of section headings reach 72px beyond the heading and
   made the page scroll sideways at 320px (WCAG 1.4.10). Hidden below 600px; the heading is unchanged. */
@media (max-width: 600px) { .h-type h2:before, .h-type h2:after, .h-type .h2:before, .h-type .h2:after, .h-type > h2:last-child:after, .h-type > .h2:last-child:after { display: none !important; width: 0 !important; left: auto !important; right: auto !important; } }

/* Phone width: the grid rows' negative side margins reached 4px past the screen edge (WCAG 1.4.10) */
@media (max-width: 480px) { main .wrapper, main .row, main .items { margin-left: 0 !important; margin-right: 0 !important; } }

/* Accommodations: the Guest Comments section has a heading but no comments in it; hidden until it has some */
.section:has(> .comp--guest-comments):not(:has(.masonry-item)) { display: none; }

/* Phones: the policy, Do Not Sell and Cookie Settings links are kept on small screens; spaced so they do not run together */
@media screen and (max-width: 63.99em) {
  .site--footer .nav .list { gap: .35rem 1.1rem; align-items: center; }
  .site--footer .nav .list .item.keep-on-mobile .footer-nav:after { content: none; }
  .site--footer .nav .list .item.keep-on-mobile .link { display: inline-block; padding: .3rem 0; }
}

/* Home page round buttons (Locations, Gallery, About us): on hover the theme put white text on gold
   #b29041 (3.01:1). The same gold, darker, keeps the white text and passes (4.88:1). */

/* Hover and focus gold. The theme turns links gold #b29041 on hover (3.01:1 on white) and buttons gold
   with white text (3.01:1). The same gold, darker (#806428), passes on white and on the light panels:
   5.57:1 on white, 4.99:1 on #f4f2f0. */
.comp--body a:hover, .comp--small-text a:hover,
.daterangepicker .cancelBtn:focus, .daterangepicker .cancelBtn:hover, .daterangepicker .cancelBtn:active,
.featherlight .featherlight-close-icon:hover,
.site--header .desktop .nav .dropdown .dropdown-link:hover,
.h-type .contact-info a:hover, .h-type .footer-contact a:hover, .h-type .footer-nav a.current, .h-type .footer-nav a:hover,
.h-type .primary-navigation:hover { color: #806428; }
.daterangepicker .applyBtn:focus, .daterangepicker .applyBtn:hover, .daterangepicker .applyBtn:active,
.h-type .button:hover,
.page--home .grid-nav .grid-item.button-block .pattern .circle-button:hover { background-color: #806428; }
.site--footer .nav a:hover .svg--instagram-icon .shape, .site--footer .nav a:hover .svg--calendar-icon .shape { fill: #806428; }
