.ottos-instagram-feed {
    margin: 4.5rem 0 3rem;
}

.ottos-instagram-feed__shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ottos-instagram-feed__intro {
    max-width: 620px;
    margin: 0 auto 2rem;
    text-align: center;
}

.ottos-instagram-feed__kicker {
    display: inline-block;
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    line-height: 1;
}

.ottos-instagram-feed__title {
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.ottos-instagram-feed__copy,
.ottos-instagram-feed__fallback-copy {
    max-width: 38rem;
    margin: 0 auto;
}

.ottos-instagram-feed__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.ottos-instagram-feed__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(49, 28, 26, 0.12);
    border-radius: 22px;
    overflow: hidden;
    background: var(--alt-base-color, #f3e3cb);
    color: var(--alt3-base-color, #311c1a) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ottos-instagram-feed__card:hover,
.ottos-instagram-feed__card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    color: var(--alt3-base-color, #311c1a) !important;
}

.ottos-instagram-feed__card:focus-visible {
    outline: 3px solid var(--alt2-base-color, #f1a65a);
    outline-offset: 3px;
}

.ottos-instagram-feed__media-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: rgba(49, 28, 26, 0.06);
    overflow: hidden;
}

.ottos-instagram-feed__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ottos-instagram-feed__badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(49, 28, 26, 0.88);
    color: var(--alt-base-color, #f3e3cb);
    font-family: futura-pt-bold, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ottos-instagram-feed__card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1rem 1.15rem;
}

.ottos-instagram-feed__date {
    color: var(--alt4-base-color, #f1a65a);
    font-family: futura-pt-bold, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ottos-instagram-feed__caption {
    color: var(--alt3-base-color, #311c1a);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.ottos-instagram-feed__fallback {
    padding: 1.5rem;
    border: 1px dashed rgba(243, 227, 203, 0.35);
    border-radius: 22px;
    background: rgba(243, 227, 203, 0.05);
    text-align: center;
}

.ottos-instagram-feed__cta {
    margin-top: 1.75rem;
    text-align: center;
}

.ottos-instagram-feed__button {
    min-width: 16rem;
    text-align: center;
}

@media (min-width: 768px) {
    .ottos-instagram-feed {
        margin-top: 5rem;
    }

    .ottos-instagram-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .ottos-instagram-feed__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
