.p-top__instagram {
    position: relative;
    left: 50%;
    width: var(--instagram-viewport-width, 100vw);
    transform: translateX(-50%);
    margin: 20px 0 48px;
}
.p-top__instagram .p-top__instagram_heading {
    width: calc(100% - 40px);
    max-width: 1041px;
    margin: 0 auto 28px;
}
.p-top__instagram .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.p-top__instagram_viewport {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
}
.p-top__instagram_viewport.is-draggable {
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.p-top__instagram_viewport.is-dragging,
.p-top__instagram_viewport.is-dragging a {
    cursor: grabbing;
}
.p-top__instagram_list {
    position: relative;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 3px 2px 8px;
    width: max-content;
    list-style: none;
    will-change: transform;
}
.p-top__instagram_item {
    position: relative;
    flex: 0 0 auto;
    width: clamp(180px, 18vw, 280px);
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    scroll-snap-align: start;
}
.p-top__instagram_card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: #e9eff1;
    color: #fff;
}
.p-top__instagram_card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.p-top__instagram_card:hover img,
.p-top__instagram_card:focus-visible img {
    transform: scale(1.04);
}
.p-top__instagram_play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    margin: -18px 0 0 -12px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid #fff;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .25));
}
.p-top__instagram_caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 12px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0;
    transition: opacity .2s;
}
.p-top__instagram_card:hover .p-top__instagram_caption,
.p-top__instagram_card:focus-visible .p-top__instagram_caption,
.p-top__instagram_card.is-pending .p-top__instagram_caption {
    opacity: 1;
}
.p-top__instagram_footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
    max-width: 1041px;
    margin: 24px auto 0;
    min-height: 44px;
}
.p-top__instagram_profile {
    max-width: 100%;
}
.p-top__instagram_profile svg {
    margin-right: 8px;
    vertical-align: -3px;
}
.p-top__instagram a:focus-visible,
.p-top__instagram button:focus-visible,
.p-top__instagram_list:focus-visible {
    outline: 2px solid #296c9f;
    outline-offset: 2px;
}
@media screen and (max-width: 568px) {
    .p-top__instagram .p-top__instagram_heading {
        margin-bottom: 20px;
    }
    .p-top__instagram_list {
        gap: 8px;
        padding: 3px 2px;
    }
    .p-top__instagram_item {
        width: 44vw;
    }
    .p-top__instagram_card {
        border-radius: 8px;
    }
    .p-top__instagram_play {
        margin: -12px 0 0 -8px;
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-left-width: 19px;
    }
    .p-top__instagram_footer {
        flex-direction: column;
        gap: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .p-top__instagram_card img,
    .p-top__instagram_caption {
        transition: none;
    }
}
