.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.cta svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.cta {
  padding: 0.72em 1.35em;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-small);
}
.cta:hover, .cta:focus-visible {
  background: var(--color-accent-hover);
  color: #fff;
}
.cta--header {
  white-space: nowrap;
}

.wp-block-acf-videos {
  margin: 0;
  max-width: none;
}

.videos-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  background: var(--color-footer-bg, #002b4e);
  color: #fff;
}
.videos-block__lines {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: repeating-linear-gradient(-32deg, transparent 0, transparent 16px, rgba(120, 170, 210, 0.28) 16px, rgba(120, 170, 210, 0.28) 17px);
}
.videos-block__lines--tr {
  top: -10%;
  right: -5%;
  width: min(42vw, 28rem);
  height: 55%;
  -webkit-mask-image: linear-gradient(225deg, #000 20%, transparent 75%);
  mask-image: linear-gradient(225deg, #000 20%, transparent 75%);
}
.videos-block__lines--bl {
  left: -8%;
  bottom: -12%;
  width: min(48vw, 32rem);
  height: 55%;
  -webkit-mask-image: linear-gradient(45deg, #000 15%, transparent 72%);
  mask-image: linear-gradient(45deg, #000 15%, transparent 72%);
}
.videos-block__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
}
@media (min-width: 1024px) {
  .videos-block__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr);
    align-items: center;
    column-gap: clamp(2rem, 4.5vw, 4rem);
  }
}
.videos-block__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 28rem;
}
.videos-block__heading {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(1.925rem, 3.74vw, 2.805rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.videos-block__text {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: clamp(1.045rem, 1.32vw, 1.122rem);
  font-weight: 400;
  line-height: 1.7;
}
.videos-block__text p {
  margin: 0 0 1em;
}
.videos-block__text p:last-child {
  margin-bottom: 0;
}
.videos-block__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.videos-block__cta svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.videos-block__cta {
  padding: 0.8em 1.35em;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--color-hero-text);
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.videos-block__cta:hover, .videos-block__cta:focus-visible {
  color: var(--color-hero-text);
  background: rgba(255, 255, 255, 0.1);
  gap: 0.95em;
}
.videos-block__cta:hover svg, .videos-block__cta:focus-visible svg {
  transform: translateX(0.2em);
}
.videos-block__cta {
  margin-top: 0.35rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.videos-block__cta:hover, .videos-block__cta:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.videos-block__cta-icon {
  display: inline-flex;
  align-items: center;
}
.videos-block__cta-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}
.videos-block__media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.videos-block__viewport {
  overflow: hidden;
  width: 100%;
}
@media (max-width: 1023px) {
  .videos-block__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-inline: -4%;
    padding-inline: 4%;
  }
}
.videos-block__track {
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  touch-action: pan-y;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
@media (max-width: 1023px) {
  .videos-block__track {
    touch-action: pan-x;
    transition: none;
    will-change: auto;
    transform: none !important;
  }
}
.videos-block__slide {
  flex: 0 0 100%;
  min-width: 0;
}
@media (max-width: 1023px) {
  .videos-block__slide {
    flex: 0 0 min(78vw, 19.5rem);
    scroll-snap-align: start;
  }
}
@media (min-width: 1024px) {
  .videos-block__slide {
    flex-basis: calc((100% - 1.1rem) / 2);
  }
}
.videos-block__card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1/1.05;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.65rem;
  background: #0a243d;
  color: #fff;
  cursor: pointer;
  text-align: left;
  appearance: none;
}
.videos-block__card--static {
  cursor: default;
}
.videos-block__card:hover .videos-block__thumb, .videos-block__card:focus-visible .videos-block__thumb {
  transform: scale(1.04);
}
.videos-block__card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.videos-block__thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a4a6e 0%, #0d2f4d 100%) center/cover no-repeat;
  transition: transform 0.55s var(--ease);
}
.videos-block__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 48, 0.08) 35%, rgba(8, 28, 48, 0.72) 72%, rgba(8, 28, 48, 0.88) 100%);
  pointer-events: none;
}
.videos-block__meta {
  position: absolute;
  right: 4.5rem;
  bottom: 1.15rem;
  left: 1.15rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  pointer-events: none;
}
.videos-block__date {
  font-family: var(--font-sans);
  font-size: 0.858rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  opacity: 0.92;
}
.videos-block__title {
  font-family: var(--font-sans);
  font-size: clamp(1.078rem, 1.485vw, 1.232rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.videos-block__tag {
  margin-top: 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.792rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  opacity: 0.9;
}
.videos-block__play {
  position: absolute;
  right: 1rem;
  bottom: 1.2rem;
  z-index: 1;
  display: inline-flex;
  width: 2.85rem;
  height: 2.85rem;
  pointer-events: none;
}
.videos-block__play svg {
  display: block;
  width: 100%;
  height: 100%;
}
.videos-block__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
@media (max-width: 1023px) {
  .videos-block__controls {
    display: none;
  }
}
.videos-block__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.videos-block__nav:hover, .videos-block__nav:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.videos-block__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.videos-block__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.videos-block__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.videos-block__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}
.videos-block__dialog {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(960px, 92vw);
  width: 100%;
}
.videos-block__dialog::backdrop {
  background: rgba(5, 18, 32, 0.78);
}
.videos-block__dialog-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.videos-block__dialog-frame {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #000;
}
.videos-block__dialog-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.videos-block__dialog[open] {
  position: relative;
}
