.dmm-theme .db-story-gallery--story,
.dmm-theme .db-story-gallery--gallery { background: #fff; color: #12212c; }
/* Keep the white logo visible before the theme's 100px sticky-header threshold. */
body.dmm-theme.single-db_event .site-header { background: var(--navy, #12212c); }
.db-story-gallery__header { background: #fff; padding: 40px 0 48px; }
.db-story-gallery__header-container { width: calc(100% - 60px); max-width: 1180px; margin: 0 auto; }
.db-event-single { background: #fff; padding-bottom: 48px; }
.db-event-single .db-event-single__visit-wrap { margin-top: 40px; }
.db-event-single .db-event-single__upcoming { padding: 8px 0 0; }
.db-event-single__layout { display: grid; row-gap: 40px; }
.db-event-single__layout--details { grid-template-columns: minmax(0, 750fr) minmax(0, 400fr); column-gap: 32px; }
.db-event-single__image, .db-event-single__body { grid-column: 1; min-width: 0; }
.db-event-single__image { margin: 0; }
.db-event-single__image img { display: block; width: 100%; aspect-ratio: 750 / 486; height: auto; object-fit: cover; }
.db-event-single__body { max-width: 750px; }
.dmm-theme .db-event-single__body > p:first-child { font-size: 22px !important; line-height: 1.5 !important; }
.dmm-theme .db-event-single__body h2 { font-size: clamp(26px, 2.4vw, 32px); }
.db-event-single__details { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding: 24px; background: #f5f5f6; border: 1px solid #c6c6ca; color: #12212c; overflow-wrap: anywhere; }
.dmm-theme .db-event-single__details h2 { font: 500 13px/1.5 var(--font-body, sans-serif); color: #b90014; text-transform: uppercase; margin: 0 0 20px; }
.db-event-single__details dl, .db-event-single__details dd { margin: 0; }
.db-event-single__details dl { display: grid; gap: 20px; }
.db-event-single__details dl > div { position: relative; padding-left: 38px; }
.db-event-single__details svg { position: absolute; left: 0; top: 4px; width: 21px; height: 21px; }
.db-event-single__details dt { margin-bottom: 4px; color: #696977; font-size: 13px; text-transform: uppercase; }
.db-event-single__details dd { font-size: 16px; font-weight: 500; line-height: 1.5; }
.db-event-single__location { white-space: pre-line; }
@media (max-width: 782px) {
  .db-event-single__layout--details { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .db-event-single__details { grid-column: 1; grid-row: auto; }
}
.dmm-theme .db-story-gallery__breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 24px; color: #202030; font-size: 12px; line-height: 1.5; text-transform: uppercase;
}
.dmm-theme .db-story-gallery__breadcrumbs a { display: inline-flex; align-items: center; gap: 12px; color: #b90014; font-weight: 500; text-decoration: none; }
.dmm-theme .db-story-gallery__breadcrumbs a:hover { text-decoration: none; }
.db-story-gallery__breadcrumbs a:hover .db-story-gallery__back-label { text-decoration: underline; }
.db-story-gallery__breadcrumbs a:focus-visible { outline: 2px solid #b90014; outline-offset: 4px; }
.db-story-gallery__breadcrumbs a > .db-story-gallery__back-icon { font-size: 18px; line-height: 1; }
.db-story-gallery__separator { color: #696977; }
.dmm-theme .db-story-gallery__heading {
  color: #12212c; font-size: clamp(32px, 3.7vw, 52px); line-height: 1.15;
  margin: 0 0 18px; overflow-wrap: break-word;
}
.dmm-theme .db-story-gallery__description { color: #12212c; font-size: 20px !important; line-height: 1.5 !important; margin: 0; }
.dmm-theme .db-story-gallery__metadata {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 32px 0 0; color: #696977; font-size: 14px !important; line-height: 1.5 !important;
}
.db-story-gallery__dot { font-size: 10px; }
.db-story-gallery__visit-wrap { width: calc(100% - 60px); max-width: 1180px; margin: 0 auto; padding-bottom: 32px; }
.db-story-gallery__visit { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; background: #12212c; color: #fff; padding: 40px 48px; }
.db-story-gallery__visit-content { min-width: 0; }
.dmm-theme .db-story-gallery__visit h2 { color: #fff; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.25; margin: 0 0 12px; }
.dmm-theme .db-story-gallery__visit p { color: #fff; font-size: 16px !important; line-height: 1.5 !important; margin: 0; }
.dmm-theme .db-story-gallery__visit-link { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; margin-top: 2px; }
.dmm-theme .db-story-gallery__visit-link:hover,
.dmm-theme .db-story-gallery__visit-link:focus { color: #fff; text-decoration: none; }
.db-story-gallery__visit-link:hover .db-story-gallery__visit-label { text-decoration: underline; }
.db-story-gallery__visit-link:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.db-story-gallery__explore { width: calc(100% - 60px); max-width: 1180px; margin: 0 auto; padding: 32px 0 64px; }
.dmm-theme .db-story-gallery__explore > h2 { color: #12212c; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; margin: 0 0 28px; }
.db-story-gallery__explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.db-story-gallery__explore-card { min-width: 0; }
.db-story-gallery__explore-media { aspect-ratio: 570 / 250; overflow: hidden; border: 1px solid #ddd; margin-bottom: 16px; }
.dmm-theme .db-story-gallery__explore-image { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; }
.dmm-theme .db-story-gallery__explore-label { color: #b90014; text-transform: uppercase; font-size: 12px !important; line-height: 1.5 !important; margin: 0 0 16px; }
.dmm-theme .db-story-gallery__explore-card h3 { color: #12212c; font-size: 24px; line-height: 1.2; margin: 0 0 14px; }
.dmm-theme .db-story-gallery__explore-card h3 a { color: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; text-decoration: none; }
.dmm-theme .db-story-gallery__explore-description { color: #202030; font-size: 14px !important; line-height: 1.5 !important; margin: 0 0 16px; }
.dmm-theme .db-story-gallery__explore-link { color: #b90014; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.db-story-gallery__explore-link span { margin-left: 12px; }
.db-story-gallery__explore a:hover { text-decoration: underline; }
.db-event-single__upcoming .db-story-gallery__explore-link .db-event-link-label { margin-left: 0; }
.dmm-theme .db-event-single__upcoming .db-story-gallery__explore-link:hover { text-decoration: none; }
.db-event-single__upcoming .db-story-gallery__explore-link:hover .db-event-link-label { text-decoration: underline; }
.db-story-gallery__explore a:focus-visible { outline: 2px solid #b90014; outline-offset: 4px; }
.db-story-content { background: #fff; padding-bottom: 80px; }
.db-story-content__container { width: calc(100% - 60px); max-width: 1180px; margin: 0 auto; }
.db-story-content__hero { margin: 0; }
.dmm-theme .db-story-content__featured-image { display: block; width: 100%; height: auto; aspect-ratio: 1180 / 540; object-fit: cover; margin: 0; }
.db-story-content__hero figcaption { color: #696977; font-size: 12px; line-height: 1.5; text-align: center; margin-top: 10px; }
.db-story-content__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 100px; padding-top: 64px; }
.db-story-content__navigation { align-self: start; position: sticky; top: calc(var(--header-height, 120px) + var(--admin-height, 0px) + 24px); }
.dmm-theme .db-story-content__navigation ul { list-style: none; padding: 0; margin: 20px 0 0; }
.dmm-theme .db-story-content__navigation li { margin: 0 0 18px; padding: 0; }
.dmm-theme .db-story-content__navigation a { color: #12212c; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.dmm-theme .db-story-content__navigation .db-story-content__top-link { color: #b90014; font-size: 12px; text-transform: uppercase; }
.db-story-content__navigation a:hover { text-decoration: underline; }
.db-story-content__navigation a:focus-visible { outline: 2px solid #b90014; outline-offset: 4px; }
.db-story-gallery__header[id], .db-story-content__body h2[id] { scroll-margin-top: calc(var(--header-height, 120px) + var(--admin-height, 0px) + 24px); }
.db-story-content__body { min-width: 0; }
.dmm-theme .db-story-content__body p,
.dmm-theme .db-story-content__body li { color: #202030; font-size: 16px !important; line-height: 1.5 !important; }
.dmm-theme .db-story-content__body > p:first-child { color: #12212c; font-size: 20px !important; line-height: 1.5 !important; }
.dmm-theme .db-story-content__body h2 { color: #12212c; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; margin: 30px 0 24px; }
.db-story-content__body > :first-child { margin-top: 0; }
.db-story-content__body > :last-child { margin-bottom: 0; }
.db-story-content__body img { max-width: 100%; height: auto; }
.db-story-content__body iframe { max-width: 100%; }
@media (max-width: 1000px) {
  .db-story-content__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 782px) {
  .db-story-content { padding-bottom: 48px; }
  .db-story-content__layout { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .db-story-content__navigation { position: static; }
  .dmm-theme .db-story-content__body > p:first-child { font-size: 18px !important; }
}
@media (max-width: 600px) {
  .db-story-gallery__explore-grid { grid-template-columns: 1fr; gap: 32px; }
  .db-story-gallery__explore { padding: 24px 0 40px; }
  .db-story-gallery__visit { flex-direction: column; padding: 28px 24px; gap: 24px; }
  .db-story-gallery__header { padding: 32px 0; }
  .dmm-theme .db-story-gallery__breadcrumbs { gap: 10px; margin-bottom: 20px; }
  .dmm-theme .db-story-gallery__description { font-size: 18px !important; }
  .dmm-theme .db-story-gallery__metadata { margin-top: 24px; }
}
