/* Ads on the public website (webadvertising). */
.ns-ad {
    display: block;
    margin: 2rem 0;
    text-align: center;
}

.ns-ad__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-color, #5e7895);
}

/* a network unit shows once its script is loaded (ads.js) */
.ns-ad--network:not(.is-loaded) {
    display: none;
}

.ns-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1000;
    max-width: 36rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: var(--page-bg, #ffffff);
    color: var(--text-color, #001f38);
    border: 1px solid var(--line, rgba(0, 31, 56, 0.14));
    border-top: 3px solid var(--5-color, #001f38);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.ns-consent[hidden] {
    display: none;
}

.ns-consent p {
    margin: 0 0 0.75rem;
}

.ns-consent__title {
    font-weight: bold;
}

.ns-consent__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* both answers equally prominent */
.ns-consent__button {
    min-width: 7rem;
    padding: 0.5rem 1rem;
    font: inherit;
    cursor: pointer;
    background: var(--5-color, #001f38);
    color: var(--white-color, #ffffff);
    border: 0;
    border-radius: var(--radius, 2px);
}

.ns-ad__items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.ns-ad__item {
    display: flex;
    flex: 1 1 16rem;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 40rem;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    background: var(--band-bg, #eef5f9);
    border: 1px solid var(--line, rgba(0, 31, 56, 0.14));
    border-radius: var(--radius, 2px);
}

.ns-ad__item:hover,
.ns-ad__item:focus-visible {
    border-color: var(--5-color, #001f38);
}

.ns-ad__image {
    display: block;
    width: 100%;
    max-height: 16rem;
    object-fit: cover;
}

.ns-ad__headline {
    font-size: 1.05rem;
}

.ns-ad__by {
    font-size: 0.8rem;
    color: var(--muted-color, #5e7895);
}
