/* Presentation only. Original blocks, links and visibility rules remain in WordPress. */
body.lbs-design {
  --lbs-bg: #0b1420;
  --lbs-panel: #132234;
  --lbs-line: #304157;
  --lbs-text: #f2f5fa;
  --lbs-muted: #bdcbdc;
  --lbs-blue: #a7cbff;
  --lbs-brand: "LBS Nasalization", Nasalization, sans-serif;
  --lbs-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  --wp--style--global--content-size: 1160px;
  --wp--style--global--wide-size: 1280px;
  --wp--style--root--padding-left: clamp(20px, 4vw, 56px);
  --wp--style--root--padding-right: clamp(20px, 4vw, 56px);
  --wp--preset--color--base: #132234;
  --wp--preset--color--base-2: #172a40;
  --wp--preset--color--contrast: #f2f5fa;
  --wp--preset--color--contrast-2: #bdcbdc;
  --wp--preset--color--accent: #a7cbff;
  --wp--preset--font-family--body: var(--lbs-body);
  --wp--preset--font-family--heading: var(--lbs-brand);
  --wp--preset--font-family--nasalization: var(--lbs-brand);
  background: var(--lbs-bg);
  color: var(--lbs-text);
  font-family: var(--lbs-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.lbs-design *, .lbs-design *::before, .lbs-design *::after { box-sizing: border-box; }
.lbs-design .wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.lbs-design .wp-site-blocks > main { margin-block-start: 0; }
.lbs-design main { padding-top: 32px; padding-bottom: 80px; }
.lbs-design.home main { padding-top: 24px; }
.lbs-design .entry-content { --wp--style--global--content-size: 1160px; }
.lbs-design a { color: var(--lbs-blue); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.lbs-design a:hover { color: #fff; }
.lbs-design :focus-visible { outline: 3px solid #acd2ff !important; outline-offset: 5px; border-radius: 4px; }
.lbs-design :is(h1,h2,h3,h4,h5,h6,.has-nasalization-font-family) {
  font-family: var(--lbs-brand) !important;
  font-weight: 400;
  color: var(--lbs-text);
  line-height: 1.3;
}
.lbs-design h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); letter-spacing: -.025em; }
.lbs-design p { text-wrap: pretty; }
.lbs-design img { max-width: 100%; }
.lbs-design .tw-block-animation { opacity: 1 !important; transform: none !important; animation: none !important; }
.lbs-design .wp-block-site-logo img { border-radius: 0; }
.lbs-design :is(.wp-block-button__link,button,input[type="submit"]) { border-radius: 10px; }
.lbs-design .wp-block-button__link { min-height: 46px; padding: 12px 22px; font-family: var(--lbs-body); }
.lbs-design .lbs-eyebrow {
  font: 600 .78rem/1.5 var(--lbs-body) !important;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--lbs-blue);
  margin: 0 0 18px;
}

/* A compact, predictable header; native WordPress mobile navigation is retained. */
.lbs-design .wp-site-blocks > header {
  position: relative;
  z-index: 40;
  background: #0b1420;
  border-bottom: 1px solid #223246;
  margin: 0;
}
.lbs-design .lbs-header { margin: 0; }
.lbs-design .lbs-header > .wp-block-group { padding-top: 18px !important; padding-bottom: 18px !important; }
.lbs-design .lbs-header > .wp-block-group > .wp-block-group { gap: 24px; }
.lbs-design .lbs-header .wp-block-site-logo { flex: 0 0 auto; }
.lbs-design .lbs-header .wp-block-site-logo img { width: 68px; height: 68px; }
.lbs-design .lbs-header .wp-block-site-title {
  font: 400 clamp(1.575rem, 2.4vw, 2.1rem)/1.28 var(--lbs-brand) !important;
  max-width: 510px;
  margin: 0;
  text-wrap: balance;
}
.lbs-design .lbs-header .wp-block-site-title a { color: var(--lbs-text); text-decoration: none; }
.lbs-design .lbs-header nav, .lbs-design .lbs-header nav ul {
  font-family: var(--lbs-brand) !important;
  font-size: .9775rem !important;
  gap: 8px;
}
.lbs-design .lbs-header nav a {
  color: var(--lbs-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 14px 15px;
  min-height: 53px;
  border-radius: 9px;
  transition: background-color .18s ease, color .18s ease;
}
.lbs-design .lbs-header nav a:hover { background: #18293c; color: #fff; }
.lbs-design .lbs-header nav a[aria-current="page"] { color: #fff; background: #1b2d43; }
.lbs-design .lbs-header nav .wp-block-spacer { display: none; }
.lbs-design .lbs-header .wp-block-loginout { margin-left: 14px; }
.lbs-design .lbs-header .wp-block-loginout a { border: 1px solid #425974; padding-inline: 21px; color: #dceaff; }
.lbs-design .lbs-header .wp-block-navigation__responsive-container-open,
.lbs-design .lbs-header .wp-block-navigation__responsive-container-close {
  color: #f2f5fa;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #425974;
  border-radius: 10px;
}
.lbs-design .lbs-header .wp-block-navigation__responsive-container.is-menu-open {
  background: #0b1420 !important;
  color: #f2f5fa !important;
  padding: 28px;
}
.lbs-design .lbs-header .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; gap: 20px; padding-top: 80px; }
.lbs-design .lbs-header .is-menu-open .wp-block-navigation__container { align-items: stretch; width: 100%; gap: 10px; }
.lbs-design .lbs-header .is-menu-open a { font-size: 1.265rem; padding: 18px; width: 100%; }
.lbs-design .lbs-header .is-menu-open .wp-block-loginout { margin: 0; width: 100%; }

/* The original observatory photograph and quotation, with a clearer entry point. */
.lbs-design.home .entry-content > .lbs-hero {
  --lbs-hero-height: 590px;
  --lbs-hero-image-width: max(100%, calc(var(--lbs-hero-height) * 2.569593));
  background: #07111d;
  min-height: 590px !important;
  border-radius: 24px !important;
  padding: clamp(28px, 5vw, 66px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  margin-top: 0;
}
.lbs-design .lbs-hero > .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(6,15,27,.96), rgba(6,15,27,.79) 45%, rgba(6,15,27,.12) 100%) !important;
  opacity: 1 !important;
}
.lbs-design .lbs-hero > img { object-position: 67% center; }
/* Same subject scale as the former 1200x467 crop; position the full original photo. */
.lbs-design .lbs-hero > img.lbs-hero-photo {
  width: var(--lbs-hero-image-width) !important;
  max-width: none !important;
  height: auto !important;
  left: calc(100% - var(--lbs-hero-image-width) * .63 - 24px) !important;
  right: auto !important;
  top: calc(var(--lbs-hero-height) * -.5) !important;
  bottom: auto !important;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, #000 18%);
}
.lbs-design .lbs-hero .wp-block-cover__inner-container {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
}
.lbs-design .lbs-hero .wp-block-cover__inner-container > * { margin: 0; margin-inline: 0 !important; width: 100%; max-width: 680px; }
.lbs-design .lbs-hero h1 {
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -.035em;
  margin: 0 0 26px;
  text-wrap: balance;
  color: #fff;
}
.lbs-design .lbs-hero .lbs-hero-lead { font: 400 1.06rem/1.65 var(--lbs-body); color: #d3deea; margin: 0 0 30px; }
.lbs-design .lbs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lbs-design .lbs-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #7e9bbb;
  border-radius: 10px;
  padding: 12px 20px;
  font: 600 .91rem/1.4 var(--lbs-body);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.lbs-design .lbs-button-primary { color: #0b1a2b; background: #b9d8ff; border-color: #b9d8ff; }
.lbs-design .lbs-button-primary:hover { color: #0b1a2b; background: #e1edff; border-color: #e1edff; }
.lbs-design .lbs-button-secondary { color: #f4f8ff; background: rgba(13,30,48,.6); }
.lbs-design .lbs-button-secondary:hover { background: #213950; }
.lbs-design .lbs-hero .wp-block-cover__inner-container > .wp-block-group { max-width: 560px; margin-inline: 0 !important; border-left: 2px solid #6e8bac; padding-left: 18px; }
.lbs-design .lbs-hero .wp-block-cover__inner-container > .wp-block-group p { font-size: .88rem !important; line-height: 1.6; color: #e0e8f1; margin-top: 0; }
.lbs-design .lbs-hero .wp-block-cover__inner-container > .wp-block-group p + p { font-size: .75rem !important; color: #c3d0e0; margin-top: 8px; margin-bottom: 0; }

.lbs-design.home .entry-content > .wp-block-spacer { display: none; }
.lbs-design .lbs-section-intro { padding-top: 72px; padding-bottom: 8px; }
.lbs-design .lbs-section-intro h2 { max-width: 860px; margin: 0 0 22px; }
.lbs-design .lbs-intro-copy { max-width: 1160px; }
.lbs-design .lbs-intro-primary, .lbs-design .lbs-intro-secondary { color: var(--lbs-muted); max-width: 840px !important; margin-left: 0 !important; margin-right: auto !important; }
.lbs-design .lbs-intro-primary { font-size: 1.16rem; line-height: 1.7; }
.lbs-design .lbs-intro-secondary { font-size: 1rem; margin-top: 14px; }

/* Existing destination cards, including the original newsletter modal and member condition. */
.lbs-design .lbs-explore-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  align-items: stretch !important;
  margin-top: 38px;
  margin-bottom: 72px;
}
.lbs-design .lbs-card {
  min-width: 0;
  padding: 30px 24px 26px !important;
  background: var(--lbs-panel);
  border: 1px solid var(--lbs-line);
  border-radius: 18px;
  box-shadow: none !important;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  opacity: 1 !important;
  transform: none !important;
  transition: border-color .2s ease, background-color .2s ease;
}
.lbs-design .lbs-card:hover, .lbs-design .lbs-card:focus-within { background: #1a2e46; border-color: #7597bd; }
.lbs-design .lbs-card > .wp-block-group { margin: 0; width: 100%; position: static; }
.lbs-design .lbs-card :is(figure,.wp-block-uagb-image,.bod-block-popup) { margin: 0 auto !important; text-align: center !important; }
.lbs-design .lbs-card :is(.wp-block-uagb-image__figure,.wp-block-uagb-image__figure img,figure.wp-block-image img,.trigger_image) { width: auto !important; height: 52px !important; max-width: 64px !important; object-fit: contain !important; object-position: center; margin-inline: auto !important; border: 0 !important; border-radius: 0 !important; }
.lbs-design .lbs-card :is(.wp-block-uagb-image__figure img,figure.wp-block-image img,.trigger_image) { display: block; }
.lbs-design .lbs-card .wp-block-uagb-image__figure { display: block; }
.lbs-design .lbs-card :is(.has-nasalization-font-family,p.has-text-align-center) {
  font: 400 .95rem/1.45 var(--lbs-brand) !important;
  text-align: center !important;
  margin-top: 22px;
  margin-bottom: 0;
  color: #f5f8fc;
}
.lbs-design .lbs-card a { text-decoration: none; color: #f5f8fc; }
.lbs-design .lbs-card .lbs-card-detail {
  font: 400 .89rem/1.65 var(--lbs-body) !important;
  color: #c0cddd;
  margin: 13px 0 0;
  text-align: left;
}
.lbs-design .lbs-card-newsletter .bod-block-popup-trigger { display: inline-block; position: static; }
.lbs-design .lbs-card-newsletter .bod-block-popup-trigger::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.lbs-design .lbs-card-newsletter .bod-block-popup-wrap { z-index: 100000; text-align: left; }
.lbs-design .lbs-card-newsletter .bod-modal-content { color: #132234; }
.lbs-design .lbs-card-newsletter .bod-modal-title { color: #132234; }
.lbs-design .lbs-card-newsletter .bod-modal-title button { width: 48px; height: 48px; }

.lbs-design .lbs-community {
  border-top: 1px solid var(--lbs-line);
  padding-top: 52px;
  margin-top: 0;
}
.lbs-design .lbs-community h2 { margin: 0 0 26px; }
.lbs-design .lbs-community > p:not(.lbs-eyebrow) { max-width: 860px; margin-left: 0 !important; margin-right: auto !important; color: var(--lbs-muted); }

/* Shared page rhythm: keep page builders, shortcodes, galleries and forms in place. */
.lbs-design .lbs-page-title {
  text-align: left !important;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem) !important;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--lbs-line);
}
.lbs-design:not(.home) .entry-content > .lbs-page-title + .wp-block-spacer { display: none; }
.lbs-design:not(.home) .entry-content .wp-block-column > .wp-block-spacer:first-child { display: none; }
.lbs-design:not(.home) .entry-content > .wp-block-columns { gap: 32px; }
.lbs-design:not(.home) .entry-content > .wp-block-columns > .wp-block-column:empty { display: none; }
.lbs-design:not(.home) .entry-content > .wp-block-columns > .wp-block-column.is-style-tw-shadow { flex-basis: 280px !important; min-width: 230px; align-self: flex-start; padding: 26px !important; background: var(--lbs-panel); border: 1px solid var(--lbs-line); border-radius: 18px; box-shadow: none !important; }
.lbs-design:not(.home) .entry-content figure img { border-radius: 14px; }
.lbs-design .spiffy-upcoming-date { font-size: .9rem; color: var(--lbs-blue); font-weight: 600; }
.lbs-design .upcoming-events-list { padding-left: 0; list-style: none; }
.lbs-design .spiffy-upcoming-day { margin-bottom: 24px; }
.lbs-design .spiffy-upcoming-events { padding-left: 0; list-style: none; }
.lbs-design .spiffy-title { color: #f3f6fc; text-decoration: none; }
.lbs-design .forminator-ui { border-radius: 16px; }
.lbs-design .forminator-ui input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.lbs-design .forminator-ui textarea, .lbs-design .forminator-ui select { min-height: 46px; border-radius: 8px !important; font-family: var(--lbs-body) !important; }
.lbs-design .wp-block-post-template { gap: 28px; }
.lbs-design .wp-block-post-template > li { min-width: 0; }
.lbs-design .wp-block-post-excerpt { color: var(--lbs-muted); }
.lbs-design .wp-block-post-title { display: block; }

/* Calendar and help controls keep their original plugin behavior. */
.lbs-design.page-id-1573 .uagb-block-20884bcf { display: block !important; width: 100% !important; max-width: 1160px !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
.lbs-design.page-id-1573 .page-upcoming-events { width: 100%; margin: 0 0 32px; background: none; box-shadow: none; }
.lbs-design.page-id-1573 .upcoming-events-list { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.lbs-design.page-id-1573 .spiffy-upcoming-day { flex: 1 1 260px; padding: 22px 24px; margin: 0; border: 1px solid var(--lbs-line); border-radius: 14px; background: var(--lbs-panel); }
.lbs-design.page-id-1573 .uagb-block-b29ea1c0 { display: block; width: 100% !important; max-width: 1160px !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 0 0 48px !important; overflow-x: auto; }
.lbs-design table.spiffy.calendar-table.bigcal { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font: 400 1rem/1.5 var(--lbs-body); border: 1px solid var(--lbs-line); border-radius: 14px; }
.lbs-design .bigcal > tbody > tr > td { border: 0; border-right: 1px solid var(--lbs-line); border-bottom: 1px solid var(--lbs-line); padding: 12px !important; vertical-align: top; }
.lbs-design .bigcal > tbody > tr > td:last-child { border-right: 0; }
.lbs-design .bigcal > tbody > tr:last-child > td { border-bottom: 0; }
.lbs-design .bigcal .calendar-date-switcher { background: var(--lbs-panel); padding: 14px 18px; border-radius: 14px 14px 0 0; }
.lbs-design .calendar-heading-tbl { border: 0; background: transparent; width: 100%; margin: 0; }
.lbs-design .calendar-heading-tbl td { border: 0; background: transparent; color: #f2f5fa; padding: 0; }
.lbs-design .calendar-heading-tbl .calendar-month { font: 400 1.1rem/1.5 var(--lbs-brand); vertical-align: middle; }
.lbs-design .calendar-heading-tbl a.spiffy-calendar-arrow { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--lbs-blue); border: 1px solid #49627f; border-radius: 9px; font-size: 1.3rem; text-decoration: none; }
.lbs-design .calendar-heading-tbl a.spiffy-calendar-arrow:hover { background: #28445f; }
.lbs-design table.spiffy.calendar-table.bigcal > tbody > .weekday-titles > td { background: #17293e; color: #c6d8ec; font-size: .875rem; padding: 12px 8px !important; }
.lbs-design .bigcal :is(.day-with-date,.day-without-date) { height: 104px; background: #101e2e; color: #e4edf8; }
.lbs-design .bigcal .day-number { font-size: .95rem; color: #dce9f9; }
.lbs-design .bigcal .day-number.weekend { color: #aacbfa; }
.lbs-design .bigcal .current-day { background: #254361; box-shadow: inset 0 0 0 2px #88bfff; }
.lbs-design .bigcal .spiffy-title { display: inline-block; background: #213f5b; color: #e5f0ff; font-size: .8rem; padding: 4px 6px; border-radius: 5px; margin-top: 6px; }
.lbs-design .spiffy-popup { border-radius: 10px; color: #102033; }
.lbs-design .sp-easy-accordion .ea-card { border: 1px solid var(--lbs-line) !important; border-radius: 12px !important; background: var(--lbs-panel) !important; margin-bottom: 14px; overflow: hidden; }
.lbs-design .sp-easy-accordion .ea-header { background: transparent !important; margin: 0; border: 0 !important; }
.lbs-design .sp-easy-accordion .ea-header a { display: block; min-height: 56px; padding: 18px 22px !important; color: #eff5ff !important; font: 600 1rem/1.6 var(--lbs-body) !important; text-decoration: none; }
.lbs-design .sp-easy-accordion .ea-expand-icon { color: var(--lbs-blue) !important; }
.lbs-design .sp-easy-accordion .ea-body { padding: 22px !important; background: #101e2e !important; color: #d1deef !important; border-top: 1px solid var(--lbs-line); font-family: var(--lbs-body); line-height: 1.75; }
.lbs-design .sp-easy-accordion .ea-body p { color: inherit; }

/* Newsletter's plugin moves the active dialog to body, outside the card. */
.lbs-design .bod-block-popup-wrap > .bod-block-popup { background: #15283d !important; color: #eef4fc; width: min(540px, calc(100% - 32px)) !important; max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid #5b7594; border-radius: 16px !important; box-shadow: 0 24px 100px #0008; padding: 24px; }
.lbs-design .bod-block-popup-wrap .bod-modal-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: transparent !important; color: #f2f5fa; min-height: 48px; }
.lbs-design .bod-block-popup-wrap .lbs-modal-heading { flex: 1; font: 400 clamp(1rem, 2vw, 1.15rem)/1.4 var(--lbs-brand); margin: 0 0 22px; }
.lbs-design .bod-block-popup-wrap .bod-block-title-closer { position: static !important; flex: 0 0 44px; margin: -8px -8px 0 0; color: #fff; width: 44px; height: 44px; border-radius: 8px; }
.lbs-design .bod-block-popup-wrap .bod-block-title-closer span { color: #fff !important; }
.lbs-design .bod-block-popup-wrap .bod-modal-content { color: #e4edf9; }
.lbs-design .bod-block-popup-wrap .tnp-subscription { margin: 0; }
.lbs-design .bod-block-popup-wrap .tnp-subscription label { color: #e4edf9; font: 400 .95rem/1.6 var(--lbs-body); }
.lbs-design .bod-block-popup-wrap .tnp-subscription :is(input[type="text"],input[type="email"]) { background: #f4f8fd; color: #112338; border: 1px solid #9bb1c9; border-radius: 8px; min-height: 46px; font: 400 1rem/1.5 var(--lbs-body); }
.lbs-design .bod-block-popup-wrap .tnp-subscription input[type="submit"] { background: #b9d8ff !important; color: #0b1a2b !important; border: 0; border-radius: 9px; min-height: 46px; padding: 10px 24px; font: 600 1rem/1.5 var(--lbs-body); box-shadow: none; }
.lbs-design .bod-block-popup-overlay { background: rgba(3,8,16,.72) !important; }

/* Preserve all existing partner, contact and legal controls. */
.lbs-design .wp-site-blocks > footer {
  border-top: 1px solid var(--lbs-line);
  background: #0e1b2a;
  margin: 0;
  padding: 38px var(--wp--style--root--padding-left) 30px;
}
.lbs-design .lbs-footer > .wp-block-uagb-container { max-width: 1160px; margin-inline: auto; gap: 28px; padding: 0 !important; justify-content: flex-start; align-items: center; }
.lbs-design .lbs-footer .gb-image-2e2763a4 { width: 160px; height: auto; padding: 0; border-radius: 0; }
.lbs-design .lbs-footer .gb-block-image { margin: 0; }
.lbs-design .lbs-footer > .wp-block-group { max-width: 1160px; margin: 32px auto 0; padding-top: 26px; border-top: 1px solid var(--lbs-line); justify-content: center; gap: 16px; }
.lbs-design .lbs-footer .wp-block-spacer { display: none; }
.lbs-design .lbs-footer .eb-popup-button a.eb-popup-button-anchor { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; max-width: 100%; min-height: 58px; background: #203a53 !important; color: #edf5ff !important; border: 1px solid #486b8e; border-radius: 12px; padding: 16px 26px !important; font: 600 1.05rem/1.4 var(--lbs-body); text-align: center; }
.lbs-design .lbs-footer .eb-popup-button a.eb-popup-button-anchor > p { margin: 0; font: inherit !important; }
.lbs-design .lbs-footer .eb-popup-button a.eb-popup-button-anchor:hover { color: #fff !important; background: #2c4b6b !important; border-color: #81a9d2; }
.lbs-design .lbs-footer .eb-popup-content { border: 1px solid #5c7391; border-radius: 16px; background: #15273c !important; padding: 30px; }
.lbs-design .lbs-footer .eb-popup-close-icon { color: #fff !important; }
.lbs-design .eb-popup-container .modal-main-wrap { width: 100% !important; max-width: 100%; overflow-x: hidden; }
.lbs-design .eb-popup-container .eb-modal-container { width: 760px !important; max-width: calc(100% - 32px) !important; padding: 0 !important; }
.lbs-design .eb-popup-container .eb-modal-container.eb_popup_middle_center { position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; margin: 0 !important; }
.lbs-design .eb-popup-container .eb-popup-content { width: 100% !important; max-width: 100%; max-height: calc(100dvh - 64px); overflow-y: auto; overflow-x: hidden; }
.lbs-design .eb-popup-close-icon[role="button"] { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 20px; }

@media (min-width: 1121px) {
  .lbs-design .lbs-header > .wp-block-group > .wp-block-group { flex-wrap: nowrap; }
}
@media (max-width: 1120px) {
  .lbs-design .lbs-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .lbs-design .lbs-header .wp-block-navigation__responsive-container-open { display: flex !important; }
  .lbs-design .lbs-header .wp-block-site-title { max-width: 480px; font-size: 1.8rem !important; }
  .lbs-design .lbs-header > .wp-block-group > .wp-block-group { flex-wrap: nowrap; }
  .lbs-design .lbs-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
}
@media (max-width: 781px) {
  .lbs-design:not(.home) .entry-content > .wp-block-columns > .wp-block-column.is-style-tw-shadow { flex-basis: auto !important; }
  .lbs-design .lbs-explore-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
}

/* Collected version-one refinements. */
.lbs-design .lbs-card { display: grid; grid-template-rows: 52px 74px auto; align-content: start; }
.lbs-design .lbs-card > .wp-block-group { display: contents; }
.lbs-design .lbs-card :is(.wp-block-uagb-image,figure.wp-block-image,.bod-block-popup) { grid-row: 1; }
.lbs-design .lbs-card :is(p.has-nasalization-font-family,p.has-text-align-center):not(.lbs-card-detail) { grid-row: 2; align-self: start; margin: 22px 0 0 !important; width: 100%; }
.lbs-design .lbs-card .lbs-card-detail { grid-row: 3; margin: 0 !important; text-align: center !important; width: 100%; }
.lbs-design.page-id-254 .wp-block-post-template > li { padding: clamp(20px,3vw,34px); background: var(--lbs-panel); border: 1px solid var(--lbs-line); border-radius: 18px; }
.lbs-design.page-id-254 .wp-block-post-template > li .wp-block-separator { display: none; }
.lbs-design.page-id-254 .wp-block-post-template > li > :first-child { margin-top: 0; }
.lbs-design.page-id-254 .wp-block-post-template > li > :last-child { margin-bottom: 0; }
.lbs-design.page-id-432 .uagb-block-3e50b4d5 > .uagb-container-inner-blocks-wrap { justify-content: center !important; }
.lbs-design.page-id-432 .uagb-block-8a67403e { width: 100% !important; max-width: 1000px !important; min-width: 0; margin-inline: auto !important; }
.lbs-design.page-id-432 #filebird-document-library { width: 100%; max-width: 100%; margin-inline: auto; }
.lbs-design.page-id-432 #filebird-document-library .fbdl-layout-control-limit :is(input,select,option) { color: #000 !important; -webkit-text-fill-color: #000 !important; background-color: #fff !important; color-scheme: light; }
.lbs-design.home .lbs-hero > img.lbs-hero-photo-cropped { width: 100% !important; height: 100% !important; inset: 0 !important; object-fit: contain !important; object-position: center bottom !important; mask-image: none !important; }
.lbs-design .lbs-mobile-day, .lbs-design .lbs-day-details, .lbs-design .lbs-file-cards { display: none; }
.lbs-design .lbs-calendar-weekday { text-decoration: none; }
@media (max-width: 781px) {
  .lbs-design .lbs-footer > .wp-block-uagb-container { display: grid !important; grid-template-columns: repeat(4,minmax(0,44px)); justify-content: center !important; justify-items: center; gap: 22px 18px !important; }
  .lbs-design .lbs-footer .gb-block-image-2e2763a4 { grid-column: 1 / -1; justify-self: center; width: 100% !important; padding: 0 !important; display: flex; justify-content: center; }
  .lbs-design .lbs-footer .gb-block-image-2e2763a4 > a { width: 100%; display: flex; justify-content: center; }
  .lbs-design .lbs-footer .gb-block-image:not(.gb-block-image-2e2763a4) { width: 44px !important; max-width: 44px; }
  .lbs-design .lbs-footer .gb-block-image:not(.gb-block-image-2e2763a4) a { display: flex; width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .lbs-design .lbs-footer .gb-block-image:not(.gb-block-image-2e2763a4) img { max-width: 40px !important; max-height: 40px; object-fit: contain; }
  .lbs-design.page-id-1573 .uagb-block-b29ea1c0 { overflow: visible !important; padding-bottom: 0 !important; }
  .lbs-design #wp--skip-link--target table.spiffy.calendar-table.bigcal { width: 100% !important; min-width: 0 !important; table-layout: fixed; display: table !important; }
  .lbs-design .bigcal > tbody { display: table-row-group !important; }
  .lbs-design .bigcal > tbody > tr, .lbs-design .bigcal > tbody > tr.weekday-titles { display: table-row !important; }
  .lbs-design .bigcal > tbody > tr > td, .lbs-design .bigcal > tbody > tr > td.day-without-date { display: table-cell !important; width: auto !important; padding: 0 !important; }
  .lbs-design .bigcal > tbody > tr > td:is(.day-with-date,.day-without-date) { height: 56px !important; text-align: center; vertical-align: middle; }
  .lbs-design .bigcal .calendar-heading-tbl { table-layout: fixed; }
  .lbs-design .bigcal .calendar-heading-tbl .calendar-month { font-size: .92rem; text-align: center; }
  .lbs-design .bigcal .calendar-heading-tbl :is(.calendar-prev,.calendar-next) { width: 48px; }
  .lbs-design .bigcal > tbody > .weekday-titles > td { padding: 9px 0 !important; font-size: .78rem; text-align: center; }
  .lbs-design .bigcal .lbs-calendar-weekday .lbs-weekday-long { display: none; }
  .lbs-design .bigcal .day-with-date > :is(.day-number,.spiffy-event-group,.spiffy-month-name) { display: none !important; }
  .lbs-design .lbs-mobile-day { display: flex; position: relative; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 54px; padding: 4px 0 11px; margin: 0; border: 0; border-radius: 8px; color: var(--lbs-text); background: transparent; font: 400 1rem/1.3 var(--lbs-body); cursor: pointer; }
  .lbs-design .lbs-mobile-day[data-events]:after { content: ''; position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--lbs-blue); }
  .lbs-design .lbs-mobile-day[aria-pressed="true"] { background: #a7cbff; color: #0b1420; }
  .lbs-design .lbs-mobile-day[aria-pressed="true"]:after { background: #0b1420; }
  .lbs-design .bigcal .current-day { box-shadow: inset 0 0 0 1px #88bfff; }
  .lbs-design .lbs-day-details { display: block; margin-top: 20px; padding: 22px; border: 1px solid var(--lbs-line); border-radius: 14px; background: var(--lbs-panel); overflow-wrap: anywhere; }
  .lbs-design .lbs-day-details h2 { font: 400 1rem/1.5 var(--lbs-brand); margin: 0 0 16px; }
  .lbs-design .lbs-day-details p { margin: 0; color: var(--lbs-muted); }
  .lbs-design .lbs-event-detail { display: block; padding: 14px 0; border-top: 1px solid var(--lbs-line); font: 400 .95rem/1.65 var(--lbs-body); color: var(--lbs-text); }
  .lbs-design .lbs-event-detail :is(.event-title,.event-title-time) { display: block; }
  .lbs-design .lbs-event-detail .event-title { font-weight: 600; color: var(--lbs-blue); }
  .lbs-design .lbs-event-detail img { max-height: 180px; width: auto; }
  .lbs-design .lbs-event-detail a { overflow-wrap: anywhere; }
  .lbs-design .bigcal .week-number-heading, .lbs-design .bigcal .week-number { display: none !important; }
  .lbs-design.page-id-432 .lbs-file-enhanced { display: none !important; }
  .lbs-design .lbs-file-cards { display: grid; gap: 14px; margin: 12px 0; }
  .lbs-design .lbs-file-card { min-width: 0; border: 1px solid var(--lbs-line); border-radius: 12px; background: var(--lbs-panel); }
  .lbs-design .lbs-file-card summary { cursor: pointer; min-height: 58px; padding: 17px 18px; overflow-wrap: anywhere; font: 500 1rem/1.5 var(--lbs-body); color: var(--lbs-text); }
  .lbs-design .lbs-file-card[open] summary { border-bottom: 1px solid var(--lbs-line); }
  .lbs-design .lbs-file-meta { padding: 18px; }
  .lbs-design .lbs-file-meta dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px 14px; margin: 0 0 20px; font: 400 .9rem/1.5 var(--lbs-body); }
  .lbs-design .lbs-file-meta dt { color: var(--lbs-muted); }
  .lbs-design .lbs-file-meta dd { margin: 0; overflow-wrap: anywhere; }
  .lbs-design .lbs-file-meta .lbs-file-download { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 18px; background: #b9d8ff; color: #0b1a2b; border-radius: 8px; font-weight: 600; text-decoration: none; }
  .lbs-design.page-id-432 :is(.fbdl-listview-container,.fbdl-list,#filebird-document-library,.fbdl-search,.fbdl-header) { min-width: 0 !important; max-width: 100% !important; }
  .lbs-design.page-id-432 #filebird-document-library input { max-width: 100%; min-width: 0; }
}
@media (max-width: 560px) {
  body.lbs-design { font-size: 16px; }
  .lbs-design main { padding-top: 20px; padding-bottom: 52px; }
  .lbs-design .lbs-header > .wp-block-group { padding-top: 12px !important; padding-bottom: 12px !important; }
  .lbs-design .lbs-header .wp-block-site-logo img { width: 48px; height: 48px; }
  .lbs-design .lbs-header .wp-block-site-title { font-size: 1.425rem !important; max-width: 220px; }
  .lbs-design .lbs-header > .wp-block-group > .wp-block-group { gap: 12px; }
  .lbs-design .lbs-header .wp-block-group:has(> .wp-block-site-logo) { gap: 10px; flex-wrap: nowrap !important; min-width: 0; }
  .lbs-design .lbs-header .wp-block-navigation__responsive-container-open { min-width: 44px; min-height: 44px; }
  .lbs-design.home .entry-content > .lbs-hero { --lbs-hero-height: 640px; min-height: 640px !important; border-radius: 18px !important; padding: 30px 24px; }
  .lbs-design .lbs-hero > .wp-block-cover__background { background: linear-gradient(180deg,rgba(6,15,27,.93),rgba(6,15,27,.68) 60%,rgba(6,15,27,.82)) !important; }
  .lbs-design .lbs-hero > img { object-position: 55% center; }
  .lbs-design .lbs-hero > img.lbs-hero-photo { left: calc(50% - var(--lbs-hero-image-width) * .45) !important; mask-image: none; }
  .lbs-design .lbs-hero h1 { font-size: clamp(1.7rem,7.4vw,2.4rem); letter-spacing: -.035em; }
  .lbs-design .lbs-hero .lbs-hero-lead { font-size: 1rem; }
  .lbs-design .lbs-hero-actions { flex-direction: column; align-items: stretch; }
  .lbs-design .lbs-button { padding: 13px 15px; font-size: .88rem; }
  .lbs-design .lbs-hero .lbs-eyebrow { font-size: .7rem !important; letter-spacing: .1em; }
  .lbs-design .lbs-section-intro { padding-top: 46px; }
  .lbs-design .lbs-section-intro h2 { font-size: 1.5rem; }
  .lbs-design .lbs-card { padding: 24px 18px !important; }
  .lbs-design .lbs-card :is(.has-nasalization-font-family,p.has-text-align-center) { font-size: .84rem !important; }
  .lbs-design .lbs-card .lbs-card-detail { font-size: .85rem !important; }
  .lbs-design .lbs-explore-grid { margin-bottom: 48px; }
  .lbs-design .lbs-community { padding-top: 34px; }
  .lbs-design .lbs-footer > .wp-block-uagb-container { flex-wrap: wrap; gap: 24px; }
  .lbs-design .lbs-footer .gb-image-2e2763a4 { width: 135px; }
  .lbs-design .lbs-footer > .wp-block-group { flex-wrap: wrap !important; gap: 12px; }
  .lbs-design ul.tabTitles { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; width: 100% !important; padding: 0; }
  .lbs-design ul.tabTitles > li { display: flex !important; flex-direction: row !important; justify-content: flex-start !important; align-items: center; width: 100% !important; min-width: 0; min-height: 48px; padding: 12px 16px !important; }
  .lbs-design ul.tabTitles > li::after { display: none !important; }
  .lbs-design .tab-title-wrap { min-width: 0; max-width: 100%; }
  .lbs-design .tab-title-text { font-size: .95rem !important; white-space: normal; }
}
@media (max-width: 360px) {
  .lbs-design .lbs-header .wp-block-site-title { font-size: 1.2rem !important; max-width: 160px; }
  .lbs-design .lbs-explore-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lbs-design *, .lbs-design *::before, .lbs-design *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .lbs-design .tw-block-animation { opacity: 1 !important; transform: none !important; }
}

/* Mobile hero: fill the card, focusing near the start of the right third. */
@media (max-width: 781px) {
  .lbs-design.home .entry-content > .lbs-hero > img.lbs-hero-photo {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 72% center !important;
    mask-image: none !important;
  }
}

/* Let the existing post-title link cover its whole news card. */
.lbs-design.page-id-254 .wp-block-post-template > li { position: relative; isolation: isolate; }
.lbs-design.page-id-254 .wp-block-post-template > li .wp-block-post-title,
.lbs-design.page-id-254 .wp-block-post-template > li .wp-block-post-title a { position: static; }
.lbs-design.page-id-254 .wp-block-post-template > li .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.lbs-design.page-id-254 .wp-block-post-template > li a:not(.wp-block-post-title a) { position: relative; z-index: 2; }
.lbs-design.page-id-254 .wp-block-post-template > li:has(.wp-block-post-title a:hover) { border-color: #92bce9; }
.lbs-design.page-id-254 .wp-block-post-template > li:has(.wp-block-post-title a:focus-visible) { outline: 2px solid #b5d6ff; outline-offset: 4px; }
