.asdg {
    --asdg-text: #32313a;
    --asdg-accent: #dca800;
    --asdg-canvas: #f3f3f1;
    --asdg-content-gap: 22px;
    width: 100%;
    margin: -81px 0 0;
    padding: 0 0 34px;
    color: var(--asdg-text);
    background: #fff;
    box-sizing: border-box;
}

.asdg *,
.asdg *::before,
.asdg *::after {
    box-sizing: border-box;
}

.asdg__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.asdg__heading {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}

.asdg__intro {
    margin: 0 0 var(--asdg-content-gap);
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: .01em;
}

.asdg__intro p {
    margin: 0;
}

.asdg__intro p + p {
    margin-top: 8px;
}

.asdg__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--asdg-canvas);
    border-radius: 5px;
    box-shadow: 0 8px 28px rgba(26, 27, 34, .10);
    outline: none;
    touch-action: pan-y;
}

.asdg__slider:focus-visible {
    box-shadow: 0 0 0 3px rgba(220, 168, 0, .35), 0 8px 28px rgba(26, 27, 34, .10);
}

.asdg__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 2048 / 1093;
    height: auto;
    overflow: hidden;
    background: var(--asdg-canvas);
}

.asdg__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.asdg__slide {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    overflow: hidden;
    background: var(--asdg-canvas);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.008);
    transition: opacity .85s ease, transform 1.2s ease, visibility 0s linear .85s;
}

.asdg__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition-delay: 0s;
    z-index: 2;
}

/*
 * The photograph is rendered as a contained background rather than a normal
 * <img>. This prevents the WordPress theme or image plugins from overriding
 * its sizing and forcing portrait or narrower photographs to crop.
 */
.asdg__media {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: var(--asdg-canvas) !important;
    background-image: var(--asdg-image) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    user-select: none;
    -webkit-user-drag: none;
}

.asdg__arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: 16%;
    min-width: 74px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity .2s ease, visibility .2s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.asdg__arrow span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font: 300 58px/1 Arial, sans-serif;
}

.asdg__arrow--prev {
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.20), rgba(0,0,0,0));
}

.asdg__arrow--prev span {
    left: 24px;
}

.asdg__arrow--next {
    right: 0;
    background: linear-gradient(270deg, rgba(0,0,0,.20), rgba(0,0,0,0));
}

.asdg__arrow--next span {
    right: 24px;
}

.asdg__slider.is-near-left .asdg__arrow--prev,
.asdg__slider.is-near-right .asdg__arrow--next,
.asdg__arrow:focus-visible {
    opacity: 1;
    visibility: visible;
}

.asdg__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -5px;
}

.asdg__status {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 6;
    padding: 5px 9px;
    border-radius: 3px;
    background: rgba(20, 20, 25, .58);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .05em;
    pointer-events: none;
}

@media (max-width: 700px) {
    .asdg {
        --asdg-content-gap: 16px;
        margin-top: -33px;
        padding-bottom: 24px;
    }

    .asdg__inner {
        width: min(100% - 24px, 1180px);
    }

    .asdg__intro {
        font-size: 16px;
        line-height: 1.58;
    }

    .asdg__viewport {
        aspect-ratio: 2048 / 1093;
    }

    .asdg__arrow {
        width: 20%;
        min-width: 58px;
    }

    .asdg__arrow span {
        font-size: 48px;
    }

    .asdg__arrow--prev span { left: 13px; }
    .asdg__arrow--next span { right: 13px; }
}

@media (hover: none), (pointer: coarse) {
    .asdg__arrow {
        visibility: visible;
        opacity: 0;
    }

    .asdg__slider.is-touching-left .asdg__arrow--prev,
    .asdg__slider.is-touching-right .asdg__arrow--next,
    .asdg__arrow:focus-visible {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asdg__slide,
    .asdg__arrow {
        transition: none;
    }
}
