/* The banner on special pages (/Sanlam ...) and its preview in Admin -> Special pages: one definition, kept at the
   size these pages have always used (intentionally not the homepage hero size). */
.banner-container {
    position: relative;
    margin: auto;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Partner pages (/Sanlam, /Capitec): the banner sits in a card styled like the homepage's (.ysb-home__card: radius, background,
   border, shadow), on its own above the school-list card; it keeps its own aspect ratio and is never overlapped. */
.partner-banner { padding-top: 1rem; padding-bottom: .25rem; }
.partner-banner .partner-banner__card { padding: .5rem; overflow: hidden; }
@media (min-width: 768px) { .partner-banner .partner-banner__card { padding: .75rem; } }
.partner-banner__card a { display: block; }
.partner-banner__img { display: block; width: 100%; height: auto; border-radius: calc(var(--ysb-radius-lg) - 4px); }
