/**
 * TNT WCAG Bridge — Round 2.2 contrast (scoped; avoid fighting Elementor bands).
 */

body.tnt-wcag-bridge {
  --tnt-wcag-gold-text: #6d5a24;
  --tnt-wcag-gold-btn: #7d6a3d;
  --tnt-wcag-focus: #f5c451;
  --tnt-wcag-scrim: rgba(50, 28, 14, 0.88);
}

body.tnt-wcag-bridge a.skip-link,
body.tnt-wcag-bridge .skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.75rem 1.25rem;
  background: #111 !important;
  color: #fff !important;
  text-decoration: underline;
  font-weight: 600;
}

body.tnt-wcag-bridge a.skip-link:focus,
body.tnt-wcag-bridge .skip-link.screen-reader-text:focus {
  left: 1rem;
  top: 1rem;
}

body.tnt-wcag-bridge a:focus-visible,
body.tnt-wcag-bridge button:focus-visible,
body.tnt-wcag-bridge input:focus-visible,
body.tnt-wcag-bridge select:focus-visible,
body.tnt-wcag-bridge textarea:focus-visible {
  outline: 3px solid var(--tnt-wcag-focus);
  outline-offset: 2px;
}

body.tnt-wcag-bridge .tnt-wcag-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Artisan --- */

/* Text links on light — actual <a> only. Icon-list items are often not links. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-widget-text-editor a,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-post__title a {
  color: var(--tnt-wcag-gold-text) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Checkmarks / icon-list copy is not a link unless it wraps <a>. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-icon-list-text {
  text-decoration: none !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-icon-list-item a,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-icon-list-item a .elementor-icon-list-text {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Why Choose Us overlay: column 640736e5 is solid #321C0E. Gold-on-brown
   plus underline on non-link checkmarks. White, no underline. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-640736e5 .elementor-icon-list-text,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-640736e5 .elementor-heading-title,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .tnt-wcag-on-dark .elementor-icon-list-text,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .tnt-wcag-on-dark .elementor-heading-title {
  color: #fff !important;
  text-decoration: none !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-640736e5 .elementor-icon-list-item a,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-640736e5 .elementor-icon-list-item a .elementor-icon-list-text,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .tnt-wcag-on-dark .elementor-icon-list-item a,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .tnt-wcag-on-dark .elementor-icon-list-item a .elementor-icon-list-text {
  color: #fff !important;
  text-decoration: underline !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-640736e5 .elementor-icon-list-icon i,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-640736e5 .elementor-icon-list-icon svg,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .tnt-wcag-on-dark .elementor-icon-list-icon i,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .tnt-wcag-on-dark .elementor-icon-list-icon svg {
  color: #fff !important;
  fill: #fff !important;
}

/* Gold TEXT on light (names, slider chrome) — not icon-list checkmarks.
   Header 309 keeps O360 gold #d2b22e icons; do not recolor those. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-social-icon i,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-social-icon svg,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-testimonial__name,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-swiper-button,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-swiper-button svg {
  color: var(--tnt-wcag-gold-text) !important;
  fill: var(--tnt-wcag-gold-text) !important;
}

/* White-on-gold 2.06:1 (#fff on #d2b22e) — darken fills (Elementor widget CSS wins without this).
   Header 309 appointment pill is white + gold type — leave it. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-button,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-button-link,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) a.elementor-button,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-menu-toggle,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-nav-menu--dropdown a.highlighted,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-nav-menu--dropdown a.elementor-item-active {
  background-color: var(--tnt-wcag-gold-btn) !important;
  border-color: var(--tnt-wcag-gold-btn) !important;
  color: #fff !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-button-link .elementor-button-text {
  color: #fff !important;
}

/* WAVE uses CSS background, not the photo. Gold motion layer under white type.
   Header logo row is Elementor rgba(255,255,255,0.9) — do not stain it brown. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-motion-effects-layer {
  background-color: #321c0e !important;
}

/* Photo heroes (Services, About, interiors): image only, overlay is
   transparent + gradient. WAVE scores white text as 1:1 on page white.
   background-color sits UNDER background-image — photo still shows.
   Header 309 min-height row is the cream nav bar, not a photo hero. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-section-height-min-height {
  background-color: #321c0e !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .swiper-pagination-bullet {
  background-color: var(--tnt-wcag-gold-btn) !important;
}

/* Main nav on white row — page/footer only. Header 309 already sets this. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-nav-menu--main .elementor-item {
  color: #321c0e !important;
}

/* Hero slider text over photos — WAVE solid fill */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-widget-slides .elementor-slide-heading,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-widget-slides .elementor-slide-description {
  background-color: var(--tnt-wcag-scrim) !important;
  color: #fff !important;
  padding: 0.2em 0.4em;
  display: inline-block;
}

/* Brown sections */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-section[style*="321c0e"] {
  background-color: #321c0e !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-section[style*="321c0e"] .elementor-heading-title,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-section[style*="321c0e"] p,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-section[style*="321c0e"] a:not(.elementor-button-link) {
  color: #fff !important;
}

/* Cream band */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-section[style*="f2eac3"],
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-section[style*="F2EAC3"] {
  background-color: #f2eac3 !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-section[style*="f2eac3"] a:not(.elementor-button-link) {
  color: #5a4a1c !important;
}

/* Footer: white type only on dark bands. Credit row is a white strip. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-location-footer .tnt-wcag-on-dark a:not(.elementor-button-link),
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-location-footer .tnt-wcag-on-dark .elementor-heading-title {
  color: #fff !important;
}

/* Designed by O360 — inline #321c0e lost to footer a { white }. Restore. */
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-9dfdab3,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-9dfdab3 p,
body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-element-9dfdab3 a {
  color: #321c0e !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor:not(.elementor-location-header) .elementor-social-icon {
  background-color: var(--tnt-wcag-gold-btn) !important;
}

body.tnt-wcag-bridge.tnt-wcag-bridge--artisan .elementor-popup-modal .dialog-widget-content {
  background-color: #fff !important;
  color: #321c0e !important;
}
