/* Shared DBSE header and transparent logo presentation. */
section.menu .navbar,
section.menu .navbar.opened,
section.menu .navbar-dropdown.bg-color.transparent.opened,
section.menu .dropdown-menu {
  background: #d9d9d9 !important;
}
section.menu .navbar-caption,
section.menu .nav-link,
section.menu .dropdown-item,
section.menu .navbar-buttons .btn {
  color: #183b53 !important;
}
section.menu .navbar-buttons .btn { border-color: #183b53 !important; }
section.menu .navbar-buttons .btn:hover,
section.menu .navbar-buttons .btn:focus { background: #c5c5c5 !important; }
section.menu .hamburger span { background-color: #183b53 !important; }
img[src$="dbse-logo.svg"] { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }

/* Match the main footer to the DBSE header. */
section[id^="footer1-"] { background-color: #d9d9d9 !important; }
section[id^="footer1-"],
section[id^="footer1-"] .text-white,
section[id^="footer1-"] .mbr-white,
section[id^="footer1-"] h5,
section[id^="footer1-"] p,
section[id^="footer1-"] a,
section[id^="footer1-"] .mbr-iconfont-social { color: #183b53 !important; }
section[id^="footer1-"] a:hover,
section[id^="footer1-"] a:focus { color: #0c3c60 !important; text-decoration: underline; }
section[id^="footer1-"] hr { border-color: #a8a8a8 !important; background-color: #a8a8a8 !important; }

/* Shared text typography; icon fonts retain their own glyph families. */
body, h1, h2, h3, h4, h5, h6, p, a, label, input, textarea, select, button,
.mbr-fonts-style, .navbar-caption, .nav-link, .dropdown-item {
  font-family: 'Montserrat', sans-serif !important;
}

.dbse-financial-statements { background: #f3f3f3; color: #183b53; padding: 3rem 0; scroll-margin-top: 110px; }
.dbse-financial-statements h2 { margin-bottom: 1.25rem; }
.dbse-financial-statements .btn { white-space: normal; max-width: 100%; }
.dbse-financial-statements .dbse-external-note { font-size: .9rem; margin-top: .75rem; }

.dbse-compliance-financials { background: #eef3f6; border-left: 6px solid #183b53; padding: 1.75rem; margin-bottom: 2.5rem; color: #183b53; }
.dbse-compliance-financials h2 { font-weight: 700; margin-bottom: .85rem; }
.dbse-compliance-financials .btn { white-space: normal; max-width: 100%; margin-left: 0; }
@media (max-width: 575px) { .dbse-compliance-financials { padding: 1.25rem; } }

/* Rebrand introduction stays legible over the existing homepage video. */
#header2-2x { padding-top: 150px; padding-bottom: 85px; }
.dbse-rebrand-notice { max-width: 920px; margin: 0 auto; padding: 2.25rem; background: rgba(255,255,255,.97); color: #183b53; border-top: 6px solid #299489; border-radius: 8px; }
.dbse-rebrand-notice .dbse-rebrand-label { font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; color: #183b53; }
.dbse-rebrand-notice h1 { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.25rem; color: #183b53; }
.dbse-rebrand-notice p { font-size: 1.1rem; line-height: 1.65; color: #183b53; }
.dbse-rebrand-notice .btn { white-space: normal; }
@media (max-width: 575px) { #header2-2x { padding-top: 120px; padding-bottom: 65px; } .dbse-rebrand-notice { padding: 1.4rem 1rem; } .dbse-rebrand-notice p { font-size: 1rem; } }

.dbse-rebrand-notice { position: relative; padding-top: 3.25rem; }
.dbse-rebrand-close { position: absolute; top: .5rem; right: .5rem; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #183b53; font-size: 2rem; line-height: 1; cursor: pointer; }
.dbse-rebrand-close:hover { background: #e1e9ed; }
.dbse-rebrand-close:focus-visible { outline: 3px solid #183b53; outline-offset: 2px; }
.dbse-rebrand-notice[hidden] { display: none !important; }

.dbse-privacy-notice { max-width: 900px; margin: 0 auto; line-height: 1.7; }
.dbse-privacy-notice h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: .8rem; }
.dbse-privacy-notice li { margin-bottom: .75rem; }
.dbse-privacy-notice a { text-decoration: underline; overflow-wrap: anywhere; }
/* Privacy preferences: equal prominence, accessible on small screens. */
#dbse-cookie-panel {position:fixed;z-index:10000;bottom:1rem;right:1rem;width:min(540px,calc(100% - 2rem));max-height:75vh;overflow:auto;background:#fff;color:#0c3c60;padding:1.25rem;border:2px solid #0c3c60;border-radius:8px;box-shadow:0 4px 24px #0004;font:400 15px/1.5 Montserrat,sans-serif;}
#dbse-cookie-panel[hidden], .dbse-media-placeholder[hidden], iframe[hidden] {display:none!important;}
#dbse-cookie-panel h2 {font-size:1.3rem;font-weight:700;margin:0 0 .75rem;}
#dbse-cookie-panel label {display:block;margin:.65rem 0;}
#dbse-cookie-panel input {width:18px;height:18px;vertical-align:middle;margin-right:.35rem;}
#dbse-cookie-panel a,.dbse-media-placeholder a {color:#0c3c60;text-decoration:underline;}
.dbse-cookie-actions {display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem;}
.dbse-cookie-actions button,.dbse-media-placeholder button {background:#0c3c60;color:white;border:2px solid #0c3c60;border-radius:4px;padding:.65rem .8rem;font:inherit;cursor:pointer;}
.dbse-cookie-small {font-size:.8rem;margin:.75rem 0 0;}
.dbse-cookie-link {background:transparent;border:0;padding:0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;}
#dbse-cookie-panel :focus-visible,.dbse-cookie-link:focus-visible {outline:3px solid #efaa32;outline-offset:3px;}
.dbse-media-placeholder {display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:300px;height:100%;padding:2rem;text-align:center;background:#edf1f4;color:#0c3c60;}
#header2-2x {overflow:hidden;background-image:url('images/building-img-2000x1325.jpg');background-position:center;background-size:cover;}
.dbse-background-video {position:absolute;top:50%;left:50%;width:100vw;height:56.25vw;min-height:100%;min-width:177.78vh;transform:translate(-50%,-50%);border:0;pointer-events:none;z-index:0;}
#header2-2x > .container {position:relative;z-index:2;}
.textGDPR {color:#0c3c60!important;line-height:1.5;}
.dbse-media-placeholder button,.dbse-media-placeholder p,.dbse-cookie-link,#dbse-cookie-panel button,#dbse-cookie-panel p {visibility:visible!important;opacity:1!important;animation:none!important;transform:none!important;}
/* Keep the long privacy notice immediately readable without scroll animations. */
#content1-6t .dbse-privacy-notice,#content1-6t .dbse-privacy-notice * {visibility:visible!important;opacity:1!important;animation:none!important;transform:none!important;color:#0c3c60;}
.dbse-newsletter-form,.dbse-newsletter-form input,.dbse-newsletter-form button,.dbse-newsletter-form label,.dbse-newsletter-form p {visibility:visible!important;opacity:1!important;animation:none!important;transform:none!important;}
.dbse-newsletter-form label {display:block;line-height:1.5;margin-bottom:.8rem;}
.dbse-newsletter-form p {font-size:.9rem;line-height:1.5;}
.dbse-newsletter-form input[type="checkbox"] {width:18px;height:18px;vertical-align:middle;margin-right:.35rem;}
