/* WOT Core Services. Same look as the Elementor section it replaces: navy section, lighter navy cards,
   gold line icons, white titles, gold heading tab overlapping the section above. Width matches the header. */
.wot-cs { --cs-navy: #0d0d3a; --cs-card: #1f1f49; --cs-card-hover: #262659; --cs-gold: #d4ae5f; --cs-ink: #050522;
  position: relative; z-index: 2; background: var(--cs-navy); padding: 14px 0 57px; font-family: inherit; }
.wot-cs:not(.has-tab) { padding-top: 57px; }
.wot-cs *, .wot-cs *::before, .wot-cs *::after { box-sizing: border-box; }
.wot-cs-inner { width: min(1290px, 86%); margin-inline: auto; }
.wot-cs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* gold heading tab: pulled up so it overlaps the bottom of the section above */
.wot-cs .wot-cs-tab { position: relative; display: block; width: fit-content; margin: -50px 0 14px; /* block (not inline-block) so the negative margin really pulls it up */ padding: 9px 12px; background: var(--cs-gold); color: var(--cs-ink);
  font-family: inherit; font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }

/* cards */
.wot-cs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wot-cs-grid.wot-cs-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wot-cs-grid.wot-cs-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wot-cs-grid > li { display: flex; margin: 0; padding: 0; }
.wot-cs .wot-cs-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 260px; padding: 32px 24px 36px;
  background: var(--cs-card); border: 1px solid transparent; color: #fff; text-align: center; text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.wot-cs-icon { display: grid; place-items: center; height: 130px; width: 100%; }
.wot-cs-icon img { display: block; max-height: 130px; max-width: 80%; width: auto; height: auto; transition: transform .25s ease, filter .25s ease; }
/* SVG icons are inlined so they can be coloured gold (the files have no colour of their own) */
.wot-cs-icon svg { display: block; height: 130px; width: auto; max-width: 80%; fill: var(--cs-gold); transition: transform .25s ease, filter .25s ease; }
.wot-cs-title { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 10px; font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.wot-cs-title i { font-size: 18px; color: var(--cs-gold); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.wot-cs-desc { max-width: 34ch; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .75); margin-top: -10px; }

/* hover / keyboard focus: lift, gold edge, brighter icon, arrow appears */
.wot-cs .wot-cs-card:hover, .wot-cs .wot-cs-card:focus-visible { transform: translateY(-4px); border-color: var(--cs-gold); background: var(--cs-card-hover); box-shadow: 0 14px 28px rgba(0, 0, 0, .25); color: #fff; text-decoration: none; }
.wot-cs .wot-cs-card:hover .wot-cs-icon img, .wot-cs .wot-cs-card:focus-visible .wot-cs-icon img, .wot-cs .wot-cs-card:hover .wot-cs-icon svg, .wot-cs .wot-cs-card:focus-visible .wot-cs-icon svg { transform: scale(1.04); filter: brightness(1.15); }
.wot-cs .wot-cs-card:hover .wot-cs-title i, .wot-cs .wot-cs-card:focus-visible .wot-cs-title i { opacity: 1; transform: none; }
.wot-cs .wot-cs-card:focus-visible { outline: 3px solid var(--cs-gold); outline-offset: 3px; }

/* tablet: 2 columns */
@media (max-width: 1024px) {
  .wot-cs-inner { width: calc(100% - 80px); }
  .wot-cs-grid, .wot-cs-grid.wot-cs-cols-3, .wot-cs-grid.wot-cs-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wot-cs .wot-cs-card { min-height: 220px; gap: 18px; }
  .wot-cs-icon { height: 100px; } .wot-cs-icon img { max-height: 100px; } .wot-cs-icon svg { height: 100px; }
  .wot-cs-title { font-size: 22px; }
  .wot-cs .wot-cs-tab { font-size: 30px; margin-top: -42px; }
}
/* phone: compact 2-column cards (icon above title); arrow always visible as there is no hover */
@media (max-width: 767px) {
  .wot-cs { padding-bottom: 32px; }
  .wot-cs-inner { width: calc(100% - 40px); }
  .wot-cs-grid { gap: 10px; }
  .wot-cs .wot-cs-card { min-height: 0; gap: 12px; padding: 20px 10px 18px; justify-content: flex-start; } /* top-aligned: icons line up across each row */
  .wot-cs-icon { height: 58px; } .wot-cs-icon img { max-height: 58px; max-width: 88%; } .wot-cs-icon svg { height: 58px; max-width: 88%; }
  .wot-cs-title { font-size: 16px; line-height: 1.2; gap: 0 6px; }
  .wot-cs-title i { display: none; } /* the whole card is the link; an arrow just wraps on narrow cards */
  .wot-cs-desc { display: none; }
  .wot-cs .wot-cs-tab { font-size: 24px; padding: 7px 10px; margin: -34px 0 12px; }
}
@media (hover: none) { .wot-cs .wot-cs-card:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .wot-cs * { transition: none !important; } .wot-cs .wot-cs-card:hover, .wot-cs .wot-cs-card:focus-visible { transform: none; } }
