/* ==========================================================================
   Latest Highlights
   Figma: 1916:2332 (header) + 1916:2335 (cards)
   ========================================================================== */

.lg-latest-highlights__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 36px;
}

.lg-latest-highlights__heading {
  margin: 0;
  color: var(--wp--preset--color--supersonic, #070819);
  font-family: var(--wp--preset--font-family--archivo, "Archivo", sans-serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 54px;
}

.lg-latest-highlights__view-all {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 0;
  padding: 0;
  color: #0835ff;
  font-family: var(--wp--preset--font-family--archivo, "Archivo", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}

.lg-latest-highlights__view-all::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 12px;
  margin-left: 0.5em;
  background-color: currentColor;
  -webkit-mask-image: var(--right-arrow-small-blue);
  mask-image: var(--right-arrow-small-blue);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Footer CTA — Figma 2275:5761 (theme secondary outline button) */
div .lg-latest-highlights__view-all--footer {
  display: none;
  width: fit-content;
  margin: 36px auto 0;
  text-decoration: none;
  color: #0835FF;
  border-color: #0835FF;
}

.lg-latest-highlights__carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.lg-latest-highlights__swiper {
  width: 100%;
  overflow: hidden;
}

.lg-latest-highlights__swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.lg-latest-highlights__swiper .swiper-slide {
  display: flex;
  height: auto;
}

.lg-latest-highlights__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eff2ff;
  border-radius: 8px;
  box-sizing: border-box;
}

.lg-latest-highlights__media {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 246px;
  overflow: hidden;
  background: #f2f4f8;
}

.lg-latest-highlights__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lg-latest-highlights__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 0px;
  min-height: 282px;
  padding: 0 20px 20px;
  box-sizing: border-box;
}

div .lg-latest-highlights__label {
  margin: 0 !important;
  overflow: hidden;
  color: var(--wp--preset--color--laser-beam, #0027d6);
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.lg-latest-highlights__date {
  display: block;
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--wp--preset--color--metal, #5a5c76);
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lg-latest-highlights__title {
  margin: 16px 0 0;
  overflow: hidden;
  color: var(--wp--preset--color--supersonic, #070819);
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lg-latest-highlights__title a {
  color: inherit;
  text-decoration: none;
}

.lg-latest-highlights__excerpt {
  margin: 8px 0 0;
  color: var(--wp--preset--color--metal, #5a5c76);
  font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.lg-latest-highlights__excerpt p {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.lg-latest-highlights__cta {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  margin-bottom: 0;
  padding: 0;
  color: #0835ff;
  font-family: var(--wp--preset--font-family--archivo, "Archivo", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}

.lg-latest-highlights__cta::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 12px;
  margin-left: 0.5em;
  background-color: currentColor;
  -webkit-mask-image: var(--right-arrow-small-blue);
  mask-image: var(--right-arrow-small-blue);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.lg-latest-highlights__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  height: 30px;
  margin-top: 0;
}

.lg-latest-highlights__pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lg-latest-highlights__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 2px;
  background: #b3bfff;
  opacity: 1;
}

.lg-latest-highlights__pagination .swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background: var(--wp--preset--color--laser-beam, #0027d6);
}

.lg-latest-highlights__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 64px;
  height: 30px;
  gap: 0;
}

.lg-latest-highlights__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0027D6;
  cursor: pointer;
}

.lg-latest-highlights__btn svg {
  width: 12px;
  height: 20px;
}

.lg-latest-highlights__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.lg-latest-highlights__editor-hint {
  margin: 0;
  padding: 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}
@media (min-width: 1200px) {
  .lg-latest-highlights__view-all:hover,
  .lg-latest-highlights__view-all:focus {
    color: #0027d6;
    text-decoration: none;
  }

  .lg-latest-highlights__view-all:focus-visible {
    outline: 3px solid #0027d6;
    outline-offset: 5px;
  }

  div .lg-latest-highlights__view-all--footer:hover {
    background-color: #F5F5FF;
    color: #08075F;
    border-color: #08075F;
  }

  .lg-latest-highlights__title a:hover,
  .lg-latest-highlights__title a:focus-visible {
    color: var(--wp--preset--color--laser-beam, #0027d6);
  }

  .lg-latest-highlights__cta:hover,
  .lg-latest-highlights__cta:focus {
    color: #0027d6;
    text-decoration: none;
  }

  .lg-latest-highlights__cta:focus-visible {
    outline: 3px solid #0027d6;
    outline-offset: 5px;
  }

  .lg-latest-highlights__btn:hover,
  .lg-latest-highlights__btn:focus-visible {
    color: var(--wp--preset--color--laser-beam, #0027d6);
  }

  .lg-latest-highlights__btn:focus-visible {
    outline: 3px solid var(--wp--preset--color--laser-beam, #0027d6);
    outline-offset: 3px;
  }
}
/* Portrait and Landscape */
@media (min-width: 0) and (max-width: 767.98px) {
  .lg-latest-highlights__header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }
  .lg-latest-highlights__header .lg-latest-highlights__view-all {
    display: none;
  }

  div .lg-latest-highlights__view-all--footer {
    display: flex;
    margin-top: 24px;
    border-width: 1.5px;
  }

  .lg-latest-highlights__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .lg-latest-highlights__carousel {
    gap: 24px;
  }

  .lg-latest-highlights__media {
    height: 200px;
  }

  .lg-latest-highlights__body {
    min-height: 0;
    padding: 0 16px 16px;
  }

  .lg-latest-highlights__title {
    font-size: 18px;
    line-height: 26px;
    -webkit-line-clamp: 2;
  }

  .lg-latest-highlights__excerpt {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 22px;
  }

  .lg-latest-highlights__excerpt p {
    -webkit-line-clamp: 2;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .lg-latest-highlights__heading {
    font-size: 36px;
    line-height: 44px;
  }

  .lg-latest-highlights__media {
    height: 220px;
  }

  .lg-latest-highlights__body {
    min-height: 260px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .lg-latest-highlights__heading {
    font-size: 40px;
    line-height: 48px;
  }

  .lg-latest-highlights__media {
    height: 230px;
  }

  .lg-latest-highlights__body {
    min-height: 270px;
  }
}
