/* WOT Featured Hire. Same look as the Elementor section it replaces: light grey band, photo left (30%),
   white cards with the first in gold overlapping the photo, navy "Hire Me" buttons with a gold edge. */
.wot-fh { --fh-bg: #f3f3f3; --fh-gold: #d4ae5f; --fh-navy: #0d0d3a; --fh-ink: #050522; --fh-blue: #01007b; --fh-label: #1f1f49;
  display: grid; grid-template-columns: 30% minmax(0, 1fr); background: var(--fh-bg); font-family: inherit; overflow: hidden; }
.wot-fh:not(.has-photo) { grid-template-columns: minmax(0, 1fr); }
.wot-fh *, .wot-fh *::before, .wot-fh *::after { box-sizing: border-box; }
.wot-fh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wot-fh-photo { position: relative; min-height: 100%; }
.wot-fh .wot-fh-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; }

.wot-fh-rail { position: relative; z-index: 1; padding: 80px 40px 80px 0; }
.wot-fh .wot-fh-cards { list-style: none; margin: 0 0 0 -160px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.wot-fh:not(.has-photo) .wot-fh-cards { margin-left: 40px; }

.wot-fh-card { display: flex; flex-direction: column; margin: 0; padding: 40px; background: #fff; color: var(--fh-navy); }
.wot-fh .wot-fh-label { margin: 0 0 12px; font-size: 16px; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; color: var(--fh-label); }
.wot-fh .wot-fh-title { margin: 0 0 24px; font-family: inherit; font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--fh-blue); overflow-wrap: anywhere; hyphens: auto; }
.wot-fh .wot-fh-desc { margin: 0 0 24px; font-size: 16px; line-height: 1.6; letter-spacing: -.02em; color: var(--fh-navy); }
.wot-fh-icon { display: grid; place-items: center; height: 100px; margin: auto 0 20px; } /* margin-top:auto pins icon + button to the bottom so cards line up */
.wot-fh-icon svg { display: block; height: 100px; width: auto; max-width: 100%; fill: var(--fh-blue); }
.wot-fh-icon img { display: block; max-height: 100px; max-width: 100%; }
.wot-fh .wot-fh-btn { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 20px; background: var(--fh-navy); color: #fff;
  border: 1px solid var(--fh-gold); border-radius: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; text-align: center; transition: background .2s, color .2s; }
.wot-fh .wot-fh-btn:hover, .wot-fh .wot-fh-btn:focus-visible { background: var(--fh-gold); color: var(--fh-navy); text-decoration: none; }
.wot-fh .wot-fh-btn:focus-visible { outline: 3px solid var(--fh-navy); outline-offset: 3px; }

/* highlighted (first) card */
.wot-fh-card.is-highlight { background: var(--fh-gold); }
.wot-fh-card.is-highlight .wot-fh-title { color: var(--fh-navy); }
.wot-fh-card.is-highlight .wot-fh-desc { color: var(--fh-ink); }
.wot-fh-card.is-highlight .wot-fh-icon svg { fill: var(--fh-label); }
.wot-fh .wot-fh-card.is-highlight .wot-fh-btn:hover, .wot-fh .wot-fh-card.is-highlight .wot-fh-btn:focus-visible { background: #fff; color: var(--fh-navy); border-color: #fff; }

/* tablet: photo becomes a banner; 2×2 cards overlap its bottom edge */
@media (max-width: 1024px) {
  .wot-fh, .wot-fh:not(.has-photo) { grid-template-columns: minmax(0, 1fr); }
  .wot-fh-photo { height: 340px; min-height: 0; }
  .wot-fh-rail { padding: 0 40px 56px; }
  .wot-fh .wot-fh-cards { margin: -120px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wot-fh:not(.has-photo) .wot-fh-cards { margin-top: 56px; }
  .wot-fh-card { padding: 32px; }
  .wot-fh .wot-fh-title { font-size: 28px; }
}

/* phone: banner + swipeable row of cards (next card peeks in), each a comfortable reading width */
@media (max-width: 767px) {
  .wot-fh-photo { height: 220px; }
  .wot-fh-rail { padding: 0 0 36px; }
  .wot-fh .wot-fh-cards { display: flex; gap: 12px; margin: -90px 0 0; padding: 0 20px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(13, 13, 58, .3) transparent; }
  .wot-fh:not(.has-photo) .wot-fh-cards { margin-top: 36px; }
  .wot-fh-card { flex: 0 0 82%; scroll-snap-align: start; padding: 28px 24px; }
  .wot-fh .wot-fh-title { font-size: 26px; margin-bottom: 16px; }
  .wot-fh .wot-fh-desc { font-size: 15px; margin-bottom: 18px; }
  .wot-fh-icon { height: 80px; } .wot-fh-icon svg { height: 80px; } .wot-fh-icon img { max-height: 80px; }
  .wot-fh .wot-fh-btn { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .wot-fh * { transition: none !important; } }
