/* WOT Latest Equipment. Same look as the Elementor section it replaces: white section, centred navy heading, light grey cards
   with a soft shadow, photo on top, navy name, gold ticks, navy "View Equipment" button with gold text and edge.
   Width matches the header. No left-border accents. */
.wot-le { --le-navy: #0d0d3a; --le-ink: #050522; --le-btn: #1f1f49; --le-gold: #d4ae5f; --le-gold-text: #8a6a24; --le-card: #f3f3f3;
  background: #fff; padding: 56px 0 64px; font-family: inherit; color: var(--le-ink); }
.wot-le *, .wot-le *::before, .wot-le *::after { box-sizing: border-box; }
.wot-le-inner { width: min(1290px, 86%); margin-inline: auto; }
.wot-le-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wot-le-head { text-align: center; margin: 0 auto 32px; max-width: 760px; }
.wot-le .wot-le-heading { margin: 0 0 10px; font-family: inherit; font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--le-navy); }
.wot-le .wot-le-intro { margin: 0; font-size: 16px; line-height: 1.6; color: var(--le-gold-text); } /* darker gold: the original #d4ae5f on white was too faint to read (2.1:1) */

/* cards */
.wot-le .wot-le-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.wot-le .wot-le-cards.wot-le-n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.wot-le .wot-le-cards.wot-le-n2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.wot-le .wot-le-cards.wot-le-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wot-le-card { display: flex; flex-direction: column; margin: 0; background: var(--le-card); box-shadow: 0 0 20px 5px rgba(211, 211, 211, .5); transition: transform .2s ease, box-shadow .2s ease; }
.wot-le .wot-le-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e2e2e8; }
.wot-le .wot-le-media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; transition: transform .35s ease; }
.wot-le-nophoto { display: grid; place-items: center; height: 100%; font-size: 14px; color: #6b6b85; }
.wot-le-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 36px 24px 36px; text-align: center; }
.wot-le .wot-le-title { margin: 0 0 12px; font-family: inherit; font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--le-navy); text-wrap: balance; }
.wot-le .wot-le-desc { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--le-ink); text-wrap: pretty; }
/* tick-list: left-aligned inside a centred block, so wrapped lines stay beside their tick */
.wot-le .wot-le-points { list-style: none; display: inline-flex; flex-direction: column; gap: 8px; margin: 0 0 26px; padding: 0; text-align: left; }
.wot-le .wot-le-points li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 16px; line-height: 1.5; color: var(--le-ink); }
.wot-le-tick { flex: none; width: 15px; height: 15px; margin-top: 5px; color: var(--le-gold); }
.wot-le .wot-le-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; margin-top: auto; padding: 0 30px; background: var(--le-btn); color: var(--le-gold);
  border: 1px solid var(--le-gold); border-radius: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; transition: background-color .2s, color .2s; }
.wot-le .wot-le-btn:hover, .wot-le .wot-le-btn:focus-visible { background: var(--le-gold); color: var(--le-navy); text-decoration: none; }
.wot-le .wot-le-btn:focus-visible { outline: 3px solid var(--le-navy); outline-offset: 3px; }
.wot-le-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(13, 13, 58, .14); }
.wot-le-card:hover .wot-le-media img { transform: scale(1.04); }

/* small desktops */
@media (max-width: 1280px) and (min-width: 1025px) {
  .wot-le .wot-le-cards { gap: 28px; }
  .wot-le-body { padding: 30px 20px; }
  .wot-le .wot-le-title { font-size: 25px; }
}

/* tablet: each card a row (photo left, text right), so nothing is squeezed into thin columns */
@media (max-width: 1024px) {
  .wot-le { padding: 48px 0 56px; }
  .wot-le-inner { width: calc(100% - 80px); }
  .wot-le .wot-le-heading { font-size: 32px; }
  .wot-le .wot-le-cards, .wot-le .wot-le-cards.wot-le-n1, .wot-le .wot-le-cards.wot-le-n2, .wot-le .wot-le-cards.wot-le-n4 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wot-le-card { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .wot-le .wot-le-media { position: relative; aspect-ratio: auto; min-height: 220px; }
  .wot-le .wot-le-media img { position: absolute; inset: 0; }
  .wot-le-body { align-items: flex-start; padding: 28px 28px 28px 32px; text-align: left; }
  .wot-le .wot-le-title { font-size: 26px; }
  .wot-le .wot-le-desc { margin-bottom: 14px; }
  .wot-le .wot-le-points { margin-bottom: 22px; }
  .wot-le .wot-le-btn { min-height: 52px; }
}

/* phone: carousel inside the page margins, one card per slide.
   Without JS: a one-card scroll-snap row. With JS (.is-carousel): a sliding track that loops endlessly (carousel.js). */
.wot-le-nav { display: none; }
@media (max-width: 767px) {
  .wot-le { padding: 40px 0 44px; }
  .wot-le-inner { width: calc(100% - 40px); }
  .wot-le-head { margin-bottom: 22px; }
  .wot-le .wot-le-heading { font-size: 28px; }
  .wot-le .wot-le-intro { font-size: 15px; }
  .wot-le-viewport { overflow: hidden; }
  .wot-le .wot-le-cards, .wot-le .wot-le-cards.wot-le-n1, .wot-le .wot-le-cards.wot-le-n2, .wot-le .wot-le-cards.wot-le-n4 {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .wot-le .wot-le-cards::-webkit-scrollbar { display: none; }
  .wot-le-card { display: flex; flex: 0 0 100%; scroll-snap-align: start; box-shadow: none; border: 1px solid #e3e3ea; } /* the shadow would be clipped by the carousel edge */
  .wot-le .wot-le-media { aspect-ratio: 3 / 2; min-height: 0; }
  .wot-le .wot-le-media img { position: static; }
  .wot-le-body { align-items: center; padding: 24px 18px 26px; text-align: center; }
  .wot-le .wot-le-title { font-size: 23px; margin-bottom: 10px; }
  .wot-le .wot-le-desc { font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
  .wot-le .wot-le-points li { font-size: 15px; }
  .wot-le .wot-le-points { margin-bottom: 20px; }
  .wot-le .wot-le-btn { width: 100%; min-height: 52px; }

  .wot-le.is-carousel .wot-le-cards { overflow: visible; scroll-snap-type: none; touch-action: pan-y; will-change: transform;
    transform: translate3d(calc(var(--car-pos, 1) * -1 * (100% + 16px) + var(--car-drag, 0px)), 0, 0); }
  .wot-le.is-carousel .wot-le-cards.is-animating { transition: transform .45s cubic-bezier(.25, .8, .25, 1); }
  .wot-le.is-carousel .wot-le-card { user-select: none; -webkit-user-select: none; }
  .wot-le.is-carousel .wot-le-media img { -webkit-user-drag: none; pointer-events: none; }
  .wot-le.is-carousel .wot-le-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
  /* reset the theme's default button styling */
  .wot-le .wot-le-nav button { display: grid; place-items: center; box-sizing: border-box; width: auto; min-width: 0; height: auto; min-height: 0; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--le-navy); cursor: pointer; font: inherit; line-height: 1; text-transform: none; }
  .wot-le .wot-le-nav .wot-le-prev, .wot-le .wot-le-nav .wot-le-next { width: 44px; height: 44px; border: 1px solid var(--le-navy); transition: background-color .2s, color .2s; }
  .wot-le-prev svg, .wot-le-next svg { display: block; width: 16px; height: 16px; }
  .wot-le .wot-le-nav .wot-le-prev:hover, .wot-le .wot-le-nav .wot-le-next:hover, .wot-le .wot-le-nav .wot-le-prev:focus-visible, .wot-le .wot-le-nav .wot-le-next:focus-visible { background: var(--le-navy); color: var(--le-gold); }
  .wot-le .wot-le-nav button:focus-visible { outline: 2px solid var(--le-gold); outline-offset: 2px; }
  .wot-le-dots { display: flex; justify-content: center; flex-wrap: wrap; }
  .wot-le .wot-le-nav .wot-le-dot { width: 32px; height: 44px; }
  .wot-le .wot-le-nav .wot-le-dot:hover, .wot-le .wot-le-nav .wot-le-dot:focus { background: transparent; }
  .wot-le-dot::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--le-navy); transition: background-color .2s, transform .2s; }
  .wot-le-dot[aria-current="true"]::before { background: var(--le-gold); border-color: var(--le-gold); transform: scale(1.15); }
}
@media (hover: none) { .wot-le-card:hover { transform: none; box-shadow: 0 0 20px 5px rgba(211, 211, 211, .5); } .wot-le-card:hover .wot-le-media img { transform: none; } }
@media (hover: none) and (max-width: 767px) { .wot-le-card:hover { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .wot-le * { transition: none !important; } .wot-le-card:hover { transform: none; } .wot-le-card:hover .wot-le-media img { transform: none; } }
