.feed-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.feed-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.feed-modal {
    position: relative;
    width: min(514px, 100%);
    max-height: min(88vh, 560px);
    overflow: auto;
    background: #f8f8f7;
    border-radius: 24px;
    padding: 8px 8px 24px;
    box-shadow: 0 22px 24px rgba(0, 0, 0, 0.2);
    transform: scale(0.94) translateY(12px);
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.feed-modal-backdrop.is-open .feed-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.feed-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
}

.feed-modal__hero {
    grid-column: 1 / -1;
    position: relative;
    height: clamp(110px, 21vw, 320px);
    border-radius: 24px;
    overflow: hidden;
    background: var(--brand, #393bfe);
}

.feed-modal__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feed-modal__close {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 40px;
    background: #e4e4e7;
    color: var(--text-primary, #09090b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.feed-modal__close:hover {
    opacity: 0.82;
    transform: scale(1.03);
}

.feed-modal__close svg {
    width: 16px;
    height: 16px;
    display: block;
}

.feed-modal__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feed-modal__client {
    margin: 0;
    font-family: var(--font-display, 'Reckless', Georgia, serif);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #71717a;
}

.feed-modal__headline {
    margin: 12px 0 0;
    font-family: var(--font-display, 'Reckless', Georgia, serif);
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.35px;
    color: var(--text-primary, #09090b);
}

.feed-modal__meta {
    margin: 0;
    font-family: var(--font-display, 'Reckless', Georgia, serif);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #71717a;
}

.feed-modal__meta + .feed-modal__meta {
    margin-top: 4px;
}

.feed-modal__description {
    margin: 0;
    font-family: var(--font-body, 'Suisse Intl', system-ui, sans-serif);
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.42;
    font-weight: 500;
    color: var(--text-primary, #09090b);
}

body.feed-modal-open {
    overflow: hidden;
}

body.feed-modal-open #feeds-grid-wrap,
body.feed-modal-open .feeds-chrome {
    filter: blur(12px);
    transition: filter 0.32s ease;
}

@media (max-width: 820px) {
    .feed-modal-backdrop {
        padding: 12px;
        align-items: flex-end;
    }

    .feed-modal {
        border-radius: 16px;
        padding: 6px 6px 16px;
        max-height: 88vh;
    }

    .feed-modal__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feed-modal__hero {
        border-radius: 16px;
        height: clamp(100px, 26vw, 180px);
    }

    .feed-modal__close {
        top: 9px;
        right: 9px;
        width: 26px;
        height: 26px;
    }

    .feed-modal__left {
        gap: 14px;
    }
}
