/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */
/* =============================================
=                  Overlay                     =
============================================= */
@layer sdc {
  .custom-overlay {
    position: fixed;
    overflow: hidden;
    height: 0;
  }
  .custom-overlay__inner {
    position: relative;
    overflow-y: auto;
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding-top: 3rem;
  }
  .custom-overlay__content {
    display: flex;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    height: 100%;
    pointer-events: none;
    opacity: 0;
  }
  .custom-overlay__content .oembed-lazyload {
    width: 100%;
    max-width: 47.5rem;
    height: unset;
    padding: unset;
    aspect-ratio: 16/9;
  }
  .custom-overlay__content .oembed-lazyload__iframe {
    position: relative;
  }
  .custom-overlay__content .media-content {
    margin-bottom: 0;
  }
  .custom-overlay.js-open {
    z-index: 100;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 2rem;
    transition: height 0.2s ease-in-out;
    background-color: hsl(0, 0%, 20%, 0.95);
  }
  .custom-overlay.js-open .custom-overlay__content {
    transition: opacity 0.5s ease-in;
    pointer-events: unset;
    opacity: 1;
  }
  .custom-overlay__close {
    --button-color: var(--color-black-soft);
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3rem;
    transition: background-color 0.3s ease-out;
    color: transparent;
    border: none;
    border-radius: 3rem;
    outline: transparent;
    background-color: var(--color-grey-1);
  }
  .custom-overlay__close:after,
  .custom-overlay__close:before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.25rem;
    height: 0.25rem;
    content: "";
    transition: background-color 0.3s ease-out;
    background-color: var(--button-color);
  }
  .custom-overlay__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .custom-overlay__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .custom-overlay__close:hover {
    --button-color: var(--color-action);
    cursor: pointer;
    background-color: var(--color-white);
  }
  /* Overlay with toolbar display. */
  .toolbar-fixed .custom-overlay.js-open {
    top: 4.9375rem;
  }
}
