/* Editorial pages: extend the established BWV hero, cards and membership styles. */
.bwv-membership { padding-top: 42px; }
@media (max-width: 767px) { .bwv-membership { padding-top: 28px; } }
.bwv-federation { padding: 48px 0; scroll-margin-top: 120px; }
.bwv-federation .bwv-federation__eyebrow { margin: 0 0 10px; color: #167eaf; font-size: 1.25rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.bwv-federation .bwv-federation__heading { margin: 0 0 20px; color: #202e38; font-size: clamp(2.6rem,3vw,3.6rem); line-height: 1.2; text-transform: none; }
.bwv-federation__layout { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
.bwv-federation__copy { min-width: 0; }
.bwv-federation__copy .bwv-page-copy a.help-people__btn { display: inline-block; margin-top: 10px; padding: 12px 20px; border: 1px solid #12658f; border-radius: 8px; background: #12658f; color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.5; text-decoration: none; white-space: normal; }
.bwv-federation__copy .help-people__btn:hover { background: #0c405b; border-color: #0c405b; color: #fff; }
.bwv-federation__copy .help-people__btn:focus-visible { outline: 3px solid #1b96d7; outline-offset: 4px; }
.bwv-federation .help-people__right { width: 100%; min-width: 0; padding: 16px; border: 1px solid #dce8f1; border-radius: 16px; background: #f5fafe; }
.bwv-federation .cb-bwmap-container { min-height: 0; }
.bwv-federation .cb-bwmap-marker__content { width: 34px; height: 34px; }
.bwv-federation button.cb-bwmap-marker__link { border: 0; padding: 0; background: transparent; cursor: help; }
.bwv-federation .cb-bwmap-marker:focus-within { z-index: 30; }
.bwv-federation .cb-bwmap-marker:focus-within .cb-bwmap-marker__tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-15px); }
.bwv-federation .cb-bwmap-marker__tooltip { max-width: 240px; white-space: normal; width: max-content; }
.bwv-federation .cb-bwmap-marker--right .cb-bwmap-marker__tooltip { right: 0; left: auto; transform: translateY(-10px); }
.bwv-federation .cb-bwmap-marker--left .cb-bwmap-marker__tooltip { left: 0; transform: translateY(-10px); }
.bwv-federation .cb-bwmap-marker--right:hover .cb-bwmap-marker__tooltip, .bwv-federation .cb-bwmap-marker--right:focus-within .cb-bwmap-marker__tooltip, .bwv-federation .cb-bwmap-marker--left:hover .cb-bwmap-marker__tooltip, .bwv-federation .cb-bwmap-marker--left:focus-within .cb-bwmap-marker__tooltip { transform: translateY(-15px); }
.bwv-federation .cb-bwmap-marker__link:focus-visible { outline: 3px solid #1b96d7; outline-offset: 3px; border-radius: 50%; }
@media (max-width: 991px) {
    .bwv-federation__layout { grid-template-columns: 1fr; gap: 26px; }
    .bwv-federation .help-people__right { width: 100%; max-width: 600px; margin-inline: auto; }
}
@media (max-width: 575px) {
    .bwv-federation { padding: 30px 0; }
    .bwv-federation .help-people__right { padding: 10px; }
    .bwv-federation .cb-bwmap-marker__content { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) { .bwv-federation .cb-bwmap-marker__pulse { animation: none; } }
.bwv-subhero { padding: 30px 0 44px; background: linear-gradient(135deg, #e6f3fc, #f8fbfe); border: 1px solid #dceaf5; border-radius: 0 0 20px 20px; }
.bwv-subhero > .container, .bwv-subhero__breadcrumb { display: block; position: static; }
.bwv-subhero .breadcrumb { float: none; display: flex; flex-wrap: wrap; width: 100%; gap: 6px 0; margin: 0 0 26px; padding: 0; background: transparent; font-size: 1.25rem; line-height: 1.6; }
.bwv-subhero .breadcrumb a { color: #496879; overflow-wrap: anywhere; }
.bwv-subhero .breadcrumb > li + li::before { color: #89a3b4; }
.bwv-subhero .bwv-subhero__eyebrow { margin: 0 0 12px; color: #167eaf; font-size: 1.2rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.bwv-subhero .bwv-subhero__title { max-width: 1050px; margin: 0 0 18px; color: #202e38; font-size: clamp(2.9rem, 3.6vw, 4.8rem); font-weight: 700; line-height: 1.17; text-transform: none; overflow-wrap: anywhere; }
.bwv-subhero .bwv-subhero__lead { max-width: 820px; margin: 0; color: #4a5763; font-size: 1.7rem; line-height: 1.7; }
.bwv-subhero__back { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #12658f; font-size: 1.5rem; font-weight: 700; line-height: 1.5; text-decoration: none; }
.bwv-subhero__back:hover { color: #0c405b; text-decoration: underline; text-underline-offset: 4px; }
.bwv-subhero__back:focus-visible, .bwv-album-card__title a:focus-visible { outline: 3px solid #1b96d7; outline-offset: 5px; }
.bwv-subhero--compact { padding-bottom: 24px; }
.bwv-subhero--compact .breadcrumb { margin-bottom: 14px; }
.bwv-subhero--compact .bwv-subhero__back { margin-top: 0; }
.bwv-archive, .bwv-year-albums { padding: 44px 0 56px; }
.bwv-archive .bwv-archive__eyebrow { margin: 0 0 10px; color: #167eaf; font-size: 1.25rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.bwv-archive .bwv-archive__heading { margin: 0 0 26px; color: #202e38; font-size: clamp(2.6rem, 3vw, 3.6rem); line-height: 1.2; text-transform: none; }
.bwv-archive__years { margin-top: 56px; scroll-margin-top: 120px; }
.bwv-album-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.bwv-album-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #dfe8ef; border-radius: 16px; box-shadow: 0 5px 22px rgba(20,40,70,.045); }
.bwv-album-card__media { background: #edf4f9; aspect-ratio: 3/2; }
.bwv-album-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.bwv-album-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.bwv-album-card .bwv-album-card__title { margin: 0 0 18px; color: #202e38; font-size: 2.1rem; line-height: 1.35; text-transform: none; overflow-wrap: anywhere; }
.bwv-album-card__title a { color: inherit; text-decoration: none; }
.bwv-album-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bwv-album-card:hover .bwv-album-card__title { color: #12658f; }
.bwv-album-card:focus-within { outline: 3px solid #1b96d7; outline-offset: 3px; }
.bwv-album-card .bwv-album-card__year { margin: 0 0 10px; color: #167eaf; font-size: 1.25rem; font-weight: 700; }
.bwv-album-card__more { margin-top: auto; color: #12658f; font-size: 1.4rem; font-weight: 700; }
.bwv-rest-page .gallery-section { padding: 40px 0 52px; }
.bwv-rest-page .gallery-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.bwv-rest-page .gallery-head .heading-left { width: auto; float: none; padding: 0; margin: 0; }
.bwv-rest-page .gallery-head h2 { margin: 0; padding: 0; color: #202e38; font-size: clamp(2.2rem,2.6vw,3rem); line-height: 1.3; text-transform: none; }
.bwv-rest-page .gallery-head .heading-left::before, .bwv-rest-page .gallery-head .heading-left::after { display: none; }
.bwv-rest-page .btn-album-download { margin: 0; padding: 12px 18px; border: 1px solid #12658f; border-radius: 8px; color: #fff; background: #12658f; font-size: 1.4rem; font-weight: 700; }
.bwv-rest-page .btn-album-download:hover { background: #0c405b; border-color: #0c405b; color: #fff; }
.bwv-rest-page .gallery.row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 0; }
.bwv-rest-page .gallery.row::before, .bwv-rest-page .gallery.row::after { display: none; }
.bwv-rest-page .gallery .gallery-item { float: none; width: auto; padding: 0; margin: 0; min-width: 0; }
.bwv-rest-page .gallery-thumb { margin: 0; overflow: hidden; border: 1px solid #dfe8ef; border-radius: 12px; background: #eff5f9; }
.bwv-rest-page .gallery-thumb > .lightbox { display: block; }
.bwv-rest-page .gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 285/200; object-fit: cover; }
.bwv-rest-page .gallery-credit { margin: 26px 0 0; color: #5b6b76; font-size: 1.35rem; line-height: 1.6; }
.bwv-rest-page .gallery-dl:focus-visible, .bwv-rest-page .lightbox:focus-visible, .bwv-rest-page .btn-album-download:focus-visible { outline: 3px solid #1b96d7; outline-offset: 3px; }
.bwv-rest-page .gallery-thumb:focus-within .gallery-dl { opacity: 1; transform: none; }
.bwv-rest-page .gallery-thumb > .lightbox:focus-visible { outline-offset: -3px; }
.bwv-rest-page--gallery #main > section:not(.gallery-section), .bwv-rest-page--video #main > section { padding: 36px 0; }
.bwv-rest-page--gallery #main .ce-bodytext, .bwv-rest-page--video #main .ce-bodytext { color: #4a5763; font-size: 1.6rem; line-height: 1.75; }
.bwv-rest-page--video #main iframe, .bwv-rest-page--video #main video { width: 100%; max-width: 100%; aspect-ratio: 16/9; height: auto; }
.bwv-rest-page--legal #main, .bwv-rest-page--search #main, .bwv-rest-page--confirmation #main { padding: 42px 0 56px; }
.bwv-rest-page--legal #main > section, .bwv-rest-page--search #main > section, .bwv-rest-page--confirmation #main > section { padding: 0; }
.bwv-rest-page--legal #main > section > .container, .bwv-rest-page--search #main > section > .container, .bwv-rest-page--confirmation #main > section > .container { max-width: 1040px; }
.bwv-rest-page--legal .ce-bodytext, .bwv-rest-page--legal .ce-bodytext p, .bwv-rest-page--legal aside, .bwv-rest-page--confirmation .ce-bodytext, .bwv-rest-page--confirmation .ce-bodytext p { color: #4a5763; font-size: 1.65rem; line-height: 1.8; overflow-wrap: anywhere; }
.bwv-rest-page--legal .ce-bodytext h2, .bwv-rest-page--legal .ce-bodytext h3 { margin: 30px 0 16px; color: #202e38; line-height: 1.3; text-transform: none; }
.bwv-rest-page--legal .ce-bodytext h2 { font-size: 2.8rem; }
.bwv-rest-page--legal .ce-bodytext h3 { font-size: 2.15rem; }
.bwv-rest-page--legal .ce-bodytext a, .bwv-rest-page--confirmation .ce-bodytext a { color: #12658f; text-decoration: underline; text-underline-offset: 3px; }
.bwv-rest-page--legal .ce-bodytext aside { padding: 24px; border: 1px solid #dfe8ef; border-radius: 14px; background: #f3f8fc; }
.bwv-rest-page--search .tx-indexedsearch-searchbox { padding: 28px; border: 1px solid #dfe8ef; border-radius: 14px; background: #fff; }
.bwv-rest-page--search .tx-indexedsearch-searchbox fieldset { min-width: 0; }
.bwv-rest-page--search .tx-indexedsearch-searchbox legend { padding-bottom: 14px; margin-bottom: 22px; color: #202e38; font-size: 2.2rem; }
.bwv-rest-page--search .tx-indexedsearch-searchbox label { display: block; padding: 0 0 8px; color: #4a5763; font-size: 1.4rem; text-align: left; }
.bwv-rest-page--search .tx-indexedsearch-searchbox .form-group { margin: 0 0 20px; }
.bwv-rest-page--search .tx-indexedsearch-searchbox .form-group > div, .bwv-rest-page--search .tx-indexedsearch-searchbox .control-label { float: none; width: 100%; padding-inline: 0; margin-left: 0; }
.bwv-rest-page--search .tx-indexedsearch-searchbox input[type=text] { width: 100%; max-width: 100%; height: auto; padding: 12px 14px; border: 1px solid #c7d9e6; border-radius: 8px; font-size: 1.65rem; color: #243440; }
.bwv-rest-page--search .tx-indexedsearch-searchbox input[type=submit], .bwv-rest-page--search .tx-indexedsearch-searchbox button[type=submit] { height: auto; padding: 12px 24px; border: 1px solid #12658f; border-radius: 8px; color: #fff; background: #12658f; font-size: 1.5rem; font-weight: 700; }
.bwv-rest-page--search .tx-indexedsearch-searchbox input:focus-visible, .bwv-rest-page--search .tx-indexedsearch-searchbox a:focus-visible { outline: 3px solid #1b96d7; outline-offset: 3px; }
.bwv-rest-page--search .tx-indexedsearch-res { margin: 28px 0; }
.bwv-rest-page--search .tx-indexedsearch-title { color: #202e38; font-size: 2.1rem; line-height: 1.4; text-transform: none; }
.bwv-rest-page--search .tx-indexedsearch-description { color: #4a5763; font-size: 1.6rem; line-height: 1.75; }
.bwv-article { max-width: 1040px; margin-inline: auto; padding: 40px 15px 56px; }
.bwv-article > .article { display: flow-root; min-width: 0; padding: 32px 36px; border: 1px solid #dfe8ef; border-radius: 16px; background: #fff; box-shadow: 0 5px 22px rgba(20,40,70,.035); }
.bwv-article h1 { margin: 0 0 20px; padding: 0; color: #202e38; font-size: clamp(2.9rem,3.3vw,4.2rem); font-weight: 700; line-height: 1.2; text-transform: none; overflow-wrap: anywhere; }
.bwv-article .extra { margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid #e1ebf2; color: #5b6b76; font-size: 1.3rem; line-height: 1.7; }
.bwv-article .lead, .bwv-article .lead p { color: #364b59; font-size: 1.8rem; line-height: 1.75; }
.bwv-article .news-text-wrap, .bwv-article .news-text-wrap p, .bwv-article .news-text-wrap li { color: #4a5763; font-size: 1.65rem; line-height: 1.8; }
.bwv-article .news-text-wrap p { margin: 0 0 20px; }
.bwv-article .news-text-wrap a, .bwv-article .news-related a { overflow-wrap: anywhere; color: #12658f; }
.bwv-article .news-detail-media { width: 34%; max-width: 300px; }
.bwv-article .news-detail-media img { border-radius: 10px; }
.bwv-article .news-related { clear: both; padding-top: 24px; }
.bwv-rest-page--event .bwv-eventd-wrap { max-width: 1040px; }
.bwv-rest-page--event .bwv-eventd { border: 1px solid #dfe8ef; box-shadow: 0 5px 22px rgba(20,40,70,.04); }
.bwv-rest-page--event .bwv-eventd__title { font-size: clamp(2.9rem,3.3vw,4.2rem); text-transform: none; overflow-wrap: anywhere; }
.bwv-rest-page--event .bwv-eventd__media img { max-height: 400px; object-fit: contain; background: #eff6fb; }
.bwv-rest-page--event .bwv-eventd__back { border-radius: 8px; background: #12658f; }
.bwv-rest-page--event .bwv-eventd__lead { font-size: 1.8rem; line-height: 1.75; }
.bwv-rest-page--event .bwv-eventd__text, .bwv-rest-page--event .bwv-eventd__text p { font-size: 1.65rem; line-height: 1.8; }
@media (max-width: 991px) {
    .bwv-album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
    .bwv-rest-page .gallery.row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
}
@media (max-width: 767px) {
    .bwv-subhero { padding: 22px 0 30px; }
    .bwv-subhero .breadcrumb { margin-bottom: 20px; }
    .bwv-archive, .bwv-year-albums { padding: 30px 0 40px; }
    .bwv-rest-page .gallery.row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .bwv-rest-page .gallery-section { padding: 30px 0 40px; }
    .bwv-article { padding-top: 28px; }
    .bwv-article > .article { padding: 24px; }
    .bwv-rest-page--search .tx-indexedsearch-searchbox { padding: 22px; }
}
@media (max-width: 575px) {
    .bwv-album-grid { grid-template-columns: 1fr; gap: 20px; }
    .bwv-album-card__body { padding: 22px; }
    .bwv-rest-page--search .tx-indexedsearch-searchbox { padding: 20px 14px; }
    .bwv-article > .article { padding: 22px 18px; }
    .bwv-article .news-detail-media { float: none; width: auto; max-width: 100%; margin: 0 0 22px; }
}
.bwv-story, .bwv-info, .bwv-contact-panel { padding: 48px 0; }
.bwv-story .bwv-page-eyebrow, .bwv-info .bwv-page-eyebrow, .bwv-contact-panel .bwv-page-eyebrow {
    margin: 0 0 10px;
    color: #167eaf;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.bwv-story .bwv-page-heading, .bwv-info .bwv-page-heading, .bwv-contact-panel .bwv-page-heading {
    margin: 0 0 20px;
    color: #202e38;
    font-size: clamp(2.6rem, 3vw, 3.6rem);
    line-height: 1.16;
    text-transform: none;
}
.bwv-page-copy, .bwv-page-copy p, .bwv-page-copy li {
    color: #4a5763;
    font-size: 1.65rem;
    line-height: 1.75;
}
.bwv-page-copy p { margin: 0 0 18px; }
.bwv-page-copy p:last-child { margin-bottom: 0; }
.bwv-page-copy a, .bwv-info__text a { overflow-wrap: anywhere; }
.bwv-page-copy a:not(.bwv-page-link), .bwv-info__text a { text-decoration: underline; text-underline-offset: 3px; }
.bwv-page-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: #12658f;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.5;
}
.bwv-page-link:hover { color: #0c405b; text-decoration: underline; text-underline-offset: 4px; }
.bwv-page-link:focus-visible { outline: 3px solid #1b96d7; outline-offset: 5px; border-radius: 3px; }
.bwv-story__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.bwv-story__content, .bwv-story__media { min-width: 0; }
.bwv-story__media { margin: 0; }
.bwv-story__media img { display: block; width: 100%; height: auto; border-radius: 16px; }
.bwv-story__media figcaption { padding: 12px 4px 0; font-size: 1.25rem; line-height: 1.5; color: #65737c; }
.bwv-story--right .bwv-story__media { order: 2; }
.bwv-story--right .bwv-story__grid { grid-template-columns: 1.08fr 1fr; }
.bwv-story--text .bwv-story__grid { display: block; max-width: 940px; }
.bwv-story--text .bwv-story__content { padding: 32px 38px; background: #f0f7fc; border-left: 4px solid #1b96d7; border-radius: 0 16px 16px 0; }
.bwv-info__intro { max-width: 850px; margin-bottom: 28px; }
.bwv-info__grid { display: grid; gap: 26px; }
.bwv-info__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bwv-info__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bwv-info__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bwv-info__card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e9ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(20, 40, 70, .045);
}
.bwv-info__media { margin: 0; overflow: hidden; background: #edf3f6; }
.bwv-info__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.bwv-info__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.bwv-info .bwv-info__kicker { margin: 0 0 9px; color: #167eaf; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: 1.15rem; }
.bwv-info .bwv-info__title { margin: 0 0 12px; color: #202e38; font-size: 2.35rem; line-height: 1.25; text-transform: none; }
.bwv-info__text, .bwv-info__text p { color: #4a5763; font-size: 1.5rem; line-height: 1.7; margin: 0 0 12px; }
.bwv-info__text p:last-child { margin-bottom: 0; }
.bwv-info__body > .bwv-page-link { margin-top: auto; padding-top: 20px; align-self: flex-start; }
/* Extend the main link across the card; inline links remain independently usable. */
.bwv-info__body > .bwv-page-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bwv-info__text a { position: relative; z-index: 2; }
.bwv-info__card:focus-within { border-color: #1b96d7; }
.bwv-info__card:has(> .bwv-info__body > .bwv-page-link:focus-visible) { outline: 3px solid #1b96d7; outline-offset: 3px; }
.bwv-contact-panel { scroll-margin-top: 110px; }
.bwv-contact-panel__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 62px; align-items: start; padding: 42px; background: linear-gradient(135deg, #eaf4fb, #f7fbfe); border: 1px solid #dcebf5; border-radius: 18px; }
.bwv-contact-panel__intro { min-width: 0; padding-top: 10px; }
.bwv-contact-panel__form { min-width: 0; padding: 28px; background: #fff; border: 1px solid #e1ebf2; border-radius: 14px; }
.bwv-contact-panel__form .form-group { margin-bottom: 18px; }
.bwv-contact-panel__form label { display: block; margin-bottom: 7px; color: #33424e; font-size: 1.4rem; }
.bwv-contact-panel__form .form-control { width: 100%; padding: 12px 14px; height: auto; border: 1px solid #c8d9e6; border-radius: 8px; box-shadow: none; color: #243440; font-size: 1.55rem; }
.bwv-contact-panel__form textarea.form-control { min-height: 150px; resize: vertical; }
.bwv-contact-panel__form .form-control:focus { outline: 3px solid rgba(27, 150, 215, .16); border-color: #1b96d7; }
.bwv-contact-panel__form .form-check-label { display: inline; font-size: 1.3rem; line-height: 1.6; }
.bwv-contact-panel__form .form-check { display: block; }
.bwv-contact-panel__form .form-check input { margin-right: 8px; }
.bwv-contact-panel__form .form-text, .bwv-contact-panel__form .form-text p { font-size: 1.25rem; line-height: 1.6; }
.bwv-contact-panel__form button[type="submit"] { width: 100%; padding: 13px 22px; background: #1b96d7; border: 2px solid #1b96d7; border-radius: 8px; color: #fff; font-size: 1.55rem; font-weight: 700; }
.bwv-contact-panel__form button[type="submit"]:hover { background: #145b83; border-color: #145b83; }
.bwv-contact-panel__form button[type="submit"]:focus-visible { outline: 3px solid #145b83; outline-offset: 3px; }
.bwv-contact-panel__form a { text-decoration: underline; text-underline-offset: 3px; }
.bwv-hero .bwv-hero__lead p { font-size: 1.65rem; line-height: 1.65; color: #4a5763; }
.bwv-story, .bwv-info, .bwv-sz { scroll-margin-top: 110px; }
.bwv-cta { margin-bottom: 48px; }
@media (max-width: 991px) {
    .bwv-story__grid, .bwv-story--right .bwv-story__grid { gap: 32px; }
    .bwv-info__grid--3, .bwv-info__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bwv-contact-panel__grid { padding: 28px; gap: 28px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .bwv-story, .bwv-info, .bwv-contact-panel { padding: 30px 0; }
    .bwv-story__grid, .bwv-story--right .bwv-story__grid, .bwv-contact-panel__grid { grid-template-columns: 1fr; }
    .bwv-story--right .bwv-story__media { order: 0; }
    .bwv-story__media img { max-height: 420px; object-fit: cover; }
    .bwv-story--text .bwv-story__content { padding: 24px; }
    .bwv-contact-panel__grid { padding: 24px 18px; }
    .bwv-contact-panel__form { padding: 22px 18px; }
}
@media (max-width: 575px) {
    .bwv-info__grid--2, .bwv-info__grid--3, .bwv-info__grid--4 { grid-template-columns: 1fr; gap: 18px; }
    .bwv-info__body { padding: 22px; }
}

/* Department contacts: small portraits keep names and contact details prominent. */
.bwv-info__card--portrait { flex-direction: row-reverse; align-items: flex-start; }
.bwv-info__media--portrait { flex: 0 0 108px; padding: 26px 24px 0 0; background: transparent; }
.bwv-info__media--portrait img { width: 84px; height: 84px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.bwv-info__card--portrait .bwv-info__body { min-width: 0; padding-right: 12px; }
.bwv-info__card--portrait .bwv-info__title { overflow-wrap: anywhere; }
.bwv-info__media--profile { padding: 24px 24px 0; background: linear-gradient(180deg, #edf6fc, #fff); }
.bwv-info__media--profile img { width: auto; max-width: 100%; height: 200px; margin-inline: auto; aspect-ratio: auto; object-fit: contain; border-radius: 10px; }
.bwv-info__card--profile .bwv-info__body { padding-top: 22px; }
.bwv-page-copy ul { padding-left: 22px; }
.bwv-page-copy blockquote { margin: 22px 0 0; padding: 18px 22px; border-left: 3px solid #1b96d7; background: #f0f7fc; }
.bwv-page-copy blockquote p { font-size: 1.55rem; margin: 0; }

/* Long histories flow beside the photograph, then continue across the article. */
.bwv-story--flow-left .bwv-story__grid, .bwv-story--flow-right .bwv-story__grid { display: block; max-width: 1040px; margin-inline: auto; }
.bwv-story--flow-left .bwv-page-copy, .bwv-story--flow-right .bwv-page-copy { display: flow-root; }
.bwv-story--flow-left .bwv-story__media, .bwv-story--flow-right .bwv-story__media { width: 40%; margin: 6px 34px 20px 0; }
.bwv-story--flow-left .bwv-story__media { float: left; }
.bwv-story--flow-right .bwv-story__media { float: right; margin-right: 0; margin-left: 34px; }
.bwv-story--flow-left .bwv-story__media img, .bwv-story--flow-right .bwv-story__media img { max-height: none; height: auto; }

/* The photographic archive is visible directly, with a lightbox for each image. */
.bwv-dept-gallery { padding: 40px 0; }
.bwv-dept-gallery .bwv-page-eyebrow, .bwv-feed .bwv-page-eyebrow, .bwv-agenda .bwv-page-eyebrow { margin: 0 0 10px; color: #167eaf; font-size: 1.25rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.bwv-dept-gallery .bwv-page-heading, .bwv-feed .bwv-page-heading, .bwv-agenda .bwv-page-heading { margin: 0 0 24px; color: #202e38; font-size: clamp(2.6rem, 3vw, 3.6rem); line-height: 1.16; text-transform: none; }
.bwv-dept-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bwv-dept-gallery__item { margin: 0; overflow: hidden; border: 1px solid #dce6ed; border-radius: 10px; background: #fff; }
.bwv-dept-gallery__item a { display: block; }
.bwv-dept-gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #edf2f5; }
.bwv-dept-gallery__item figcaption { padding: 12px 15px; color: #334651; font-size: 1.4rem; font-weight: 700; }

/* Paginated news: this layout is selected only on Aktuelles. */
.bwv-feed { padding: 44px 0 56px; scroll-margin-top: 110px; }
.bwv-feed__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.bwv-feed-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e0e9f0; border-radius: 16px; box-shadow: 0 6px 24px rgba(20,40,70,.045); background: #fff; }
.bwv-feed-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.bwv-feed-card__placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg,#e5f2fb,#f5fafe); }
.bwv-feed-card__placeholder span { color: #36728f; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 3rem; line-height: 1.25; }
.bwv-feed-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.bwv-feed .bwv-feed-card__meta { margin: 0 0 12px; color: #5b6f7a; font-size: 1.25rem; line-height: 1.6; }
.bwv-feed .bwv-feed-card__title { margin: 0 0 16px; font-size: 2.35rem; line-height: 1.3; text-transform: none; }
.bwv-feed-card__title a { color: #202e38; text-decoration: none; }
.bwv-feed-card__title a::after { content: ''; position: absolute; inset: 0; }
.bwv-feed-card:hover .bwv-feed-card__title a { color: #12658f; }
.bwv-feed-card:focus-within { outline: 3px solid #1b96d7; outline-offset: 3px; }
.bwv-feed .bwv-feed-card__teaser { color: #4a5763; font-size: 1.55rem; line-height: 1.7; margin: 0 0 20px; }
.bwv-feed-card__more { margin-top: auto; color: #12658f; font-weight: 700; font-size: 1.45rem; }
.bwv-feed__pagination { margin-top: 36px; }

/* Calendar: a chronological agenda with month headings and year jump links. */
.bwv-agenda { padding: 44px 0 56px; scroll-margin-top: 110px; }
.bwv-agenda__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; }
.bwv-agenda__header > div:first-child { max-width: 720px; }
.bwv-agenda__downloads { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.bwv-agenda__downloads a { display: block; border: 1px solid #bedaea; border-radius: 8px; padding: 11px 16px; color: #12658f; font-weight: 700; background: #f4faff; font-size: 1.4rem; text-decoration: none; }
.bwv-agenda__downloads a:hover { background: #e3f2fb; }
.bwv-agenda__downloads a span { font-weight: 400; }
.bwv-agenda__years { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 34px; padding: 18px 22px; border: 1px solid #dce8f1; background: #f3f8fc; border-radius: 12px; font-size: 1.4rem; }
.bwv-agenda__years > span { color: #4a5763; margin-right: 6px; }
.bwv-agenda__years a { padding: 6px 12px; color: #12658f; font-weight: 700; text-decoration: none; background: #fff; border: 1px solid #cee3f0; border-radius: 6px; }
.bwv-agenda__month { position: relative; margin-top: 36px; scroll-margin-top: 110px; }
.bwv-agenda__year-anchor { position: absolute; top: -110px; }
.bwv-agenda .bwv-agenda__month-title { margin: 0 0 18px; font-size: 2.35rem; text-transform: none; color: #202e38; }
.bwv-agenda__list { display: grid; gap: 16px; }
.bwv-agenda-event { position: relative; display: flex; align-items: flex-start; gap: 24px; padding: 24px; border: 1px solid #dfe8ef; border-radius: 14px; background: #fff; }
.bwv-agenda-event:focus-within { outline: 3px solid #1b96d7; outline-offset: 3px; }
.bwv-agenda-event__day { flex: 0 0 68px; padding: 10px 6px; background: #eaf5fc; border-radius: 10px; text-align: center; color: #12658f; }
.bwv-agenda-event__day strong { display: block; font-size: 3.4rem; line-height: 1.1; }
.bwv-agenda-event__day span { display: block; font-size: 1.2rem; margin-top: 5px; }
.bwv-agenda-event__body { display: flex; flex-direction: column; flex: 1; min-width: 0; align-self: stretch; }
.bwv-agenda .bwv-agenda-event__date { color: #526d7c; font-size: 1.3rem; line-height: 1.5; margin: 0 0 7px; }
.bwv-agenda .bwv-agenda-event__title { font-size: 2.1rem; line-height: 1.3; margin: 0 0 9px; text-transform: none; }
.bwv-agenda-event__title a { color: #202e38; text-decoration: none; }
.bwv-agenda-event__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bwv-agenda-event:hover .bwv-agenda-event__title a { color: #12658f; }
.bwv-agenda .bwv-agenda-event__teaser { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.65; color: #4a5763; }
.bwv-agenda-event__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: auto; font-size: 1.25rem; line-height: 1.6; color: #536873; }
.bwv-agenda-event__tag { padding: 2px 8px; border-radius: 5px; background: #edf5fa; color: #246a8f; }
.bwv-agenda-event__image { position: relative; flex: 0 0 clamp(180px,22%,240px); min-height: 140px; align-self: stretch; overflow: hidden; border-radius: 8px; }
.bwv-agenda-event__image img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; display: block; }
.bwv-agenda-event__arrow { align-self: center; color: #167eaf; font-size: 2.2rem; }
.bwv-agenda__empty { padding: 24px; background: #f3f8fc; border-radius: 12px; color: #4a5763; }

/* The chronology keeps each original station and picture directly readable. */
.bwv-history { padding: 10px 0 40px; }
.bwv-history-event { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 32px; padding: 0 0 40px; scroll-margin-top: 120px; }
.bwv-history-event::before { content: ''; position: absolute; left: 109px; top: 12px; bottom: 0; width: 2px; background: #dcebf5; }
.bwv-history-event::after { content: ''; position: absolute; left: 103px; top: 10px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: #1b96d7; }
.bwv-history-event:last-child::before { bottom: 40px; }
.bwv-history .bwv-history-event__year { margin: 0; padding-right: 22px; color: #12658f; font-size: 2.4rem; font-weight: 700; line-height: 1.3; }
.bwv-history-event__content { min-width: 0; padding: 26px 30px; border: 1px solid #dfe9f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 22px rgba(20,40,70,.035); }
.bwv-history .bwv-history-event__title { margin: 0 0 18px; color: #202e38; font-size: 2.35rem; line-height: 1.3; text-transform: none; }
.bwv-history-event .bwv-page-copy { display: flow-root; }
.bwv-history-event__image { float: right; width: 30%; max-width: 240px; margin: 0 0 12px 26px; }
.bwv-history-event__image img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Existing PDF and flipbook records become a readable publication archive. */
.bwv-publications { padding: 0 0 48px; }
.bwv-publications__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.bwv-publication { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dfe8ef; border-radius: 16px; background: #fff; box-shadow: 0 5px 22px rgba(20,40,70,.04); scroll-margin-top: 120px; }
.bwv-publication__media { background: #f1f5f8; }
.bwv-publication__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.bwv-publication__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.bwv-publications .bwv-publication__meta { margin: 0 0 12px; color: #167eaf; font-size: 1.25rem; font-weight: 700; }
.bwv-publications .bwv-publication__title { margin: 0 0 14px; color: #202e38; font-size: 2.35rem; line-height: 1.3; text-transform: none; }
.bwv-publication__text, .bwv-publication__text p { margin: 0 0 22px; color: #4a5763; font-size: 1.5rem; line-height: 1.7; }
.bwv-publication__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.bwv-publication__button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border: 1px solid #12658f; border-radius: 7px; color: #fff; background: #12658f; font-size: 1.4rem; line-height: 1.5; font-weight: 700; text-decoration: none; }
.bwv-publication__button:hover { color: #fff; background: #0c405b; border-color: #0c405b; }
.bwv-publication__button--secondary { color: #12658f; background: #fff; }
.bwv-publication__button--secondary:hover { color: #12658f; background: #edf7fc; border-color: #12658f; }
.bwv-publication__button:focus-visible { outline: 3px solid #1b96d7; outline-offset: 4px; }
@media (max-width: 767px) {
    .bwv-story--flow-left .bwv-story__media, .bwv-story--flow-right .bwv-story__media { float: none; width: 100%; margin: 0 0 24px; }
    .bwv-feed, .bwv-agenda, .bwv-dept-gallery { padding: 30px 0; }
    .bwv-feed__grid { grid-template-columns: 1fr; gap: 22px; }
    .bwv-feed-card__body { padding: 24px; }
    .bwv-dept-gallery__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .bwv-agenda__header { flex-direction: column; gap: 22px; }
    .bwv-agenda__downloads { flex-direction: row; flex-wrap: wrap; }
    .bwv-agenda-event { padding: 18px; gap: 16px; }
    .bwv-agenda-event__day { flex-basis: 48px; padding: 8px 4px; }
    .bwv-agenda-event__day strong { font-size: 2.7rem; }
    .bwv-agenda-event__image, .bwv-agenda-event__arrow { display: none; }
    .bwv-agenda .bwv-agenda-event__title { font-size: 1.85rem; overflow-wrap: anywhere; }
    .bwv-history-event { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; }
    .bwv-history-event::before { left: 71px; }
    .bwv-history-event::after { left: 65px; }
    .bwv-history .bwv-history-event__year { font-size: 1.9rem; padding-right: 16px; }
    .bwv-history-event__content { padding: 22px; }
    .bwv-history-event__image { width: 34%; margin-left: 18px; }
    .bwv-publications__grid { grid-template-columns: 1fr; gap: 22px; }
    .bwv-publication__body { padding: 24px; }
}
@media (max-width: 575px) {
    .bwv-info__media--portrait { flex-basis: 84px; padding: 24px 20px 0 0; }
    .bwv-info__media--portrait img { width: 64px; height: 64px; }
    .bwv-dept-gallery__grid { grid-template-columns: 1fr; }
    .bwv-history-event { display: block; padding: 0 0 30px 20px; }
    .bwv-history-event::before { left: 1px; }
    .bwv-history-event::after { left: -5px; top: 6px; }
    .bwv-history .bwv-history-event__year { padding: 0; margin: 0 0 12px; }
    .bwv-history-event__content { padding: 20px; }
    .bwv-history-event__image { float: none; width: 100%; max-width: 240px; margin: 0 auto 20px; }
    .bwv-history .bwv-history-event__title { font-size: 2rem; }
    .bwv-publication__actions { flex-direction: column; }
}
