.sustainability-story-modal__sdg-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--gap6);
    margin-top: var(--gap18);
}

.sustainability-story-modal__sdg-icon {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    object-fit: contain;
    width: var(--gap72);
}

.sustainability-story-modal__divider {
    margin: 0;
}

.grid-card__media.ratio-4-3 .corporate-video__preview-media,
.grid-card__media.ratio-9-16 .corporate-video__preview-media {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.corporate-video--about-style .corporate-video__play-toggle {
    width: 68px;
    height: 68px;
    padding: 0;
    justify-content: center;
    gap: 0;
    border-radius: 999px;
    border-color: var(--color-brand-light-gray);
    background-color: var(--color-brand-blue);
    color: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.corporate-video--about-style .corporate-video__play-toggle:hover,
.corporate-video--about-style .corporate-video__play-toggle:focus-visible {
    background-color: var(--color-brand-blue);
    border-color: var(--color-brand-light-gray);
    color: #ffffff;
}

.custom-video-modal {
    width: min(1100px, 92vw);
    background: #0b0f14;
    border-radius: var(--gap18);
    padding: 0;
    box-shadow: 0 24px 60px rgb(0 0 0 / 0.45);
}

.custom-video-modal__media {
    width: 100%;
}

.site-modal--frameless .custom-video-modal--portrait {
    width: min(calc(100vw - var(--gap48)), calc((100dvh - var(--gap72)) * 9 / 16));
    max-height: calc(100vh - var(--gap72));
    max-height: calc(100dvh - var(--gap72));
}

.site-modal--frameless .custom-video-modal--portrait .custom-video-modal__media {
    width: 100%;
    aspect-ratio: 9 / 16;
}

.custom-video-modal .plyr,
.custom-video-modal .plyr__video-wrapper {
    border-radius: var(--gap12);
    overflow: hidden;
    background: #000000;
}

/* ===================== Sustainability Stories Popout ===================== */
.klccp-ss-popout {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999;
}

.klccp-ss-popout.is-open {
  display: block;
}

.klccp-ss-popout__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .42s ease;
}

.klccp-ss-popout__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(80%, 1200px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  height: auto;
  max-height: min(88vh, calc(100vh - 40px));
  max-height: min(88dvh, calc(100dvh - 40px));
  background: #fff;
  color: #111;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  display: flex;
  flex-direction: column;
  transform: translate(-50%, -50%) translateY(48px) scale(.985);
  opacity: 0;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    opacity .32s ease;
  will-change: transform, opacity;
  touch-action: pan-y;
}

.klccp-ss-popout.is-animate .klccp-ss-popout__overlay {
  opacity: 1;
}

.klccp-ss-popout.is-animate .klccp-ss-popout__panel {
  transform: translate(-50%, -50%) translateY(0) scale(1);
  opacity: 1;
}

.klccp-ss-popout__close {
  position: absolute;
  top: 18px;
  right: 28px;
  z-index: 10;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--color-brand-blue, #005baa);
  border: 1px solid var(--color-brand-blue, #005baa);
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.klccp-ss-popout__close span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.klccp-ss-popout__body {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 48px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.klccp-ss-popout__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html.klccp-ss-popout-lock,
body.klccp-ss-popout-lock {
  overflow: hidden !important;
}

html.klccp-ss-popout-lock {
  scrollbar-gutter: stable;
}

@media (hover: hover) and (pointer: fine) {
  .klccp-ss-popout__close:hover {
    background: transparent;
    border-color: var(--color-brand-blue, #005baa);
    color: var(--color-brand-blue, #005baa);
    transform: scale(1.03);
  }
}

@media (max-width: 1024px) {
  .klccp-ss-popout__panel {
    width: min(86%, 1100px, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
    max-height: min(88vh, calc(100vh - 30px));
    max-height: min(88dvh, calc(100dvh - 30px));
  }

  .klccp-ss-popout__body {
    padding: 42px 34px;
  }
}

@media (max-width: 640px) {
  .klccp-ss-popout__panel {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 14px;
  }

  .klccp-ss-popout__close {
    top: 12px;
    right: 12px;
    width: 33px;
    height: 33px;
    font-size: 20px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .klccp-ss-popout__close span {
    transform: none;
  }

  .klccp-ss-popout__body {
    padding: 52px 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .klccp-ss-popout__overlay,
  .klccp-ss-popout__panel {
    transition: none !important;
  }
}
