.hp-ad {
    width: min(calc(100% - 48px), 970px);
    min-height: 250px;
    margin: 64px auto;
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clear: both;
    contain: layout paint;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(85, 66, 48, .1);
    background: rgba(239, 233, 224, .34);
}

.hp-ad__label {
    display: block;
    margin: 0 0 12px;
    color: #786f66;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.hp-ad__content {
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-ad__placeholder {
    color: #71685f;
    font-size: 12px;
    letter-spacing: .06em;
}

.hp-ad ins { width: 100%; max-width: 100%; }
.hp-ad--below_menu { margin-top: 28px; margin-bottom: 48px; }
.hp-ad--desktop { display: flex; }
.hp-ad--mobile { display: none; }
.hp-article__layout--with-ad {
    max-width: 1280px;
    grid-template-columns: minmax(0, var(--hp-narrow)) 300px;
    justify-content: space-between;
    align-items: start;
    gap: 64px;
}
.hp-article__layout--with-ad .hp-ad--sidebar_desktop {
    position: sticky;
    top: 24px;
    width: 300px;
    min-height: 600px;
    margin: 0;
}

.hp-sponsored-disclosure {
    margin: 0 0 38px;
    padding: 18px 20px;
    border-left: 3px solid var(--hp-copper);
    background: var(--hp-cream);
    font-family: var(--hp-sans);
    font-size: 14px;
    letter-spacing: .03em;
}

.hp-privacy-manager {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .hp-ad {
        width: min(calc(100% - 28px), 970px);
        min-height: 120px;
        margin: 46px auto;
        padding: 20px 10px;
    }
    .hp-ad__content { min-height: 70px; }
    .hp-ad--desktop { display: none; }
    .hp-ad--mobile { display: flex; }
    .hp-article__layout--with-ad { grid-template-columns: minmax(0, 1fr); }
}
