.abee-instagram-feed {
    color: #292929;
    font-family: inherit;
    margin: 0 auto;
    max-width: 900px;
    padding: 12px 0 8px;
}

.abee-instagram-header {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.abee-instagram-profile {
    align-items: center;
    color: inherit;
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.abee-instagram-profile img {
    border-radius: 50%;
    height: 72px;
    object-fit: contain;
    width: 72px;
}

.abee-instagram-profile h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 6px;
}

.abee-instagram-profile p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    white-space: pre-line;
}

.abee-instagram-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.abee-instagram-card {
    background: #f1f1f1;
    display: block;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.abee-instagram-card img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.abee-instagram-card:hover img,
.abee-instagram-card:focus-visible img {
    transform: scale(1.04);
}

.abee-instagram-card::after {
    background: linear-gradient(transparent 55%, rgba(0, 0, 0, .48));
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.abee-instagram-type {
    bottom: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    left: 12px;
    position: absolute;
    text-transform: uppercase;
    z-index: 1;
}

.abee-instagram-message {
    grid-column: 1 / -1;
    margin: 20px 0;
    text-align: center;
}

.abee-instagram-follow {
    border: 1px solid currentColor;
    border-radius: 4px;
    color: inherit;
    display: inline-block;
    font-size: 14px;
    margin-top: 20px;
    padding: 9px 18px;
    text-decoration: none;
}

.abee-instagram-follow:hover,
.abee-instagram-follow:focus-visible {
    background: #292929;
    color: #fff;
}

@media (max-width: 767px) {
    .abee-instagram-feed {
        padding-left: 8px;
        padding-right: 8px;
    }

    .abee-instagram-grid {
        gap: 6px;
    }

    .abee-instagram-profile img {
        height: 58px;
        width: 58px;
    }
}
