/* =====================================================================
   OCS Accessibility Layer — El Nido Guide (added 2026-06-07)
   Companion to the WCAG token fix. Token values (set in Customizer):
     --island-navy   #003D4C  (base background; white text 11.85:1)
     --tropical-teal #007A7D  (white text 5.15:1)
     --coral-orange  #CC4344  (white text 4.72:1)
     --palm-green    #46784A  (on white/sand 5.19:1)
     --contrast-3    #6A6A7E  (muted text on white 5.28:1)
   Do not lighten these without re-checking contrast (AA = 4.5:1).
   ===================================================================== */

/* 1) Links carry a non-color affordance (WCAG 1.4.1) */
.entry-content a:not(.gb-button):not(.button):not(.wp-block-button__link):not(.gb-text),
.site-footer a,
.widget-area a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 2) Links inside dark-token sections: white + underline (passes on
      navy 11.85:1, teal 5.15:1, coral 4.72:1, palm 5.19:1) */
.gb-container-153caf9c a:not(.gb-button):not(.gb-text),
.gb-container-51c925e9 a:not(.gb-button):not(.gb-text),
.gb-element-4131f8be a:not(.gb-button):not(.gb-text),
.gb-element-763ea9df a:not(.gb-button):not(.gb-text),
.gb-element-cb92a28a a:not(.gb-button):not(.gb-text),
.site-footer a {
  color: var(--base-3, #ffffff);
}
.gb-container-153caf9c a:hover,
.gb-container-51c925e9 a:hover,
.gb-element-4131f8be a:hover,
.gb-element-763ea9df a:hover,
.gb-element-cb92a28a a:hover,
.site-footer a:hover {
  color: var(--sunlit-sand, #F7EBD3);
}

/* 3) Visible keyboard focus (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--sunlit-sand, #F7EBD3);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
