.emar-facebook {
    background: #fff;
}
.emar-facebook__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 500px));
    justify-content: space-between;
    align-items: start;
    gap: 48px;
}
.emar-facebook__heading {
    margin-bottom: 36px;
}
.emar-facebook__heading .subtitle {
    margin-bottom: 16px;
}
.emar-facebook__column-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 30px;
    margin-bottom: 16px;
}
.emar-facebook__column-heading h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}
.emar-facebook__column-heading a {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}
.emar-facebook__column-heading a:hover {
    text-decoration: underline;
}
.emar-facebook__feed, .emar-facebook__photos {
    width: 100%;
    min-width: 0;
}
.emar-facebook__phone {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 380px;
    height: var(--phone-height, 670px);
    margin: 0 auto;
    padding: 26px 8px 20px;
    border: 8px solid #282828;
    border-radius: 44px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .1), inset 0 0 0 1px #ddd;
}
.emar-facebook__phone::before,
.emar-facebook__phone::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #282828;
    border-radius: 4px;
    pointer-events: none;
}
.emar-facebook__phone::before {
    top: 10px;
    width: 46px;
    height: 5px;
}
.emar-facebook__phone::after {
    bottom: 7px;
    width: 90px;
    height: 4px;
}
.emar-facebook__embed {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 23px;
}
.emar-facebook__embed iframe {
    display: block;
    max-width: 100%;
    border: 0;
    overflow: hidden;
}
.emar-facebook__mobile-preview {
    display: none;
}
.emar-facebook__scroll-hint {
    margin: 16px 0 0;
    color: #666;
    font-size: 12px;
    text-align: center;
}
.emar-facebook__note {
    margin: 12px 0 0;
    color: #666;
    font-size: 12px;
    line-height: 1.8;
}
.emar-facebook__note a {
    color: inherit;
    text-decoration: underline;
}
.emar-facebook__photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.emar-facebook__photo-grid a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
}
.emar-facebook__photo-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .15s;
}
.emar-facebook__photo-grid a:hover img {
    opacity: .85;
}
.emar-facebook__photo-grid a:focus-visible {
    outline: 3px solid #ffb400;
    outline-offset: 2px;
}
@media (max-width: 991.98px) {
    .emar-facebook__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .emar-facebook__feed, .emar-facebook__photos {
        max-width: 500px;
        justify-self: center;
    }
    .emar-facebook__phone {
        max-width: none;
        height: 650px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .emar-facebook__phone::before,
    .emar-facebook__phone::after,
    .emar-facebook__scroll-hint {
        display: none;
    }
    .emar-facebook__embed {
        border-radius: 0;
    }
    .emar-facebook__embed iframe {
        pointer-events: none;
    }
    .emar-facebook__mobile-preview {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: flex;
        align-items: flex-end;
        color: #222;
        touch-action: pan-y;
    }
    .emar-facebook__mobile-preview > span {
        display: block;
        width: 100%;
        padding: 14px 12px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
    }
    .emar-facebook__mobile-preview:focus-visible {
        outline: 3px solid #ffb400;
        outline-offset: 3px;
    }
}
