/* New Dawn Bible Church — public site styles.
   Brand palette: navy #00152F and gold #FFC000. */

@font-face {
  font-family: "Hooey Kidz";
  src: url("fonts/HooeyDEMO-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Messages: portal-native inbox and reply workspace */
.admin-shell .admin-messages-empty { max-width: none; }
.admin-shell .message-inbox-shell {
  display: grid;
  min-height: 42rem;
  margin-top: 1.5rem;
  overflow: hidden;
  grid-template-columns: 22rem minmax(0, 1fr);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--admin-card-shadow);
}
.admin-shell .message-inbox-sidebar { display: flex; min-width: 0; flex-direction: column; border-right: 1px solid var(--admin-border); }
.admin-shell .message-inbox-tabs { display: grid; margin: 1rem; padding: .3rem; grid-template-columns: repeat(3, 1fr); border-radius: 10px; background: #f1f3f0; }
.admin-shell .message-inbox-tabs button { min-height: 2.35rem; border: 0; border-radius: 8px; background: transparent; color: var(--admin-muted); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.admin-shell .message-inbox-tabs button.active { background: var(--admin-navy); color: #fff; box-shadow: 0 3px 10px rgba(0,26,56,.16); }
.admin-shell .message-inbox-tabs span { margin-left: .2rem; font-size: .68rem; opacity: .78; }
.admin-shell .message-inbox-search { display: flex; height: 2.75rem; margin: 0 1rem 1rem; align-items: center; gap: .55rem; padding: 0 .8rem; border-radius: 10px; background: #f7f8f6; color: var(--admin-muted); }
.admin-shell .message-inbox-search .mud-icon-root { font-size: 1.15rem; }
.admin-shell .message-inbox-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--admin-ink-strong); font: inherit; font-size: .82rem; }
.admin-shell .message-inbox-list { overflow-y: auto; border-top: 1px solid var(--admin-border); }
.admin-shell .message-inbox-card { position: relative; display: grid; width: 100%; min-height: 6.6rem; padding: 1rem; grid-template-columns: 2.7rem minmax(0,1fr); gap: .75rem; border: 0; border-bottom: 1px solid var(--admin-border); background: #fff; color: inherit; text-align: left; cursor: pointer; }
.admin-shell .message-inbox-card:hover { background: #fafbf9; }
.admin-shell .message-inbox-card.selected { background: #f5f8f4; box-shadow: inset 4px 0 var(--admin-yellow); }
.admin-shell .message-inbox-avatar { display: inline-grid; width: 2.7rem; height: 2.7rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--admin-teal-deep); color: #fff; font-size: .78rem; font-weight: 800; }
.admin-shell .message-inbox-card-copy { min-width: 0; }
.admin-shell .message-inbox-card-copy > span { display: flex; justify-content: space-between; gap: .5rem; }
.admin-shell .message-inbox-card-copy strong { overflow: hidden; color: var(--admin-ink-strong); font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .message-inbox-card-copy time { color: var(--admin-muted); font-size: .68rem; white-space: nowrap; }
.admin-shell .message-inbox-card-copy b { display: block; margin-top: .25rem; overflow: hidden; color: #516466; font-size: .76rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .message-inbox-card-copy small { display: -webkit-box; margin-top: .25rem; overflow: hidden; color: var(--admin-muted); font-size: .72rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.admin-shell .message-inbox-card i { position: absolute; right: .75rem; bottom: .65rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--admin-yellow); }
.admin-shell .message-inbox-no-results { display: grid; min-height: 9rem; place-content: center; gap: .25rem; color: var(--admin-muted); text-align: center; }
.admin-shell .message-inbox-no-results strong { color: var(--admin-ink-strong); font-size: .85rem; }
.admin-shell .message-inbox-no-results span { font-size: .75rem; }
.admin-shell .message-conversation { display: grid; min-width: 0; grid-template-rows: auto minmax(18rem,1fr) auto; background: #fbfcfa; }
.admin-shell .message-conversation-header { display: flex; min-height: 5.3rem; align-items: center; gap: .85rem; padding: 1rem 1.35rem; border-bottom: 1px solid var(--admin-border); background: #fff; }
.admin-shell .message-conversation-header div { min-width: 0; flex: 1; }
.admin-shell .message-conversation-header h2 { margin: 0; color: var(--admin-ink-strong); font-size: 1rem; }
.admin-shell .message-conversation-header p { margin: .2rem 0 0; overflow: hidden; color: var(--admin-muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .message-status { padding: .35rem .65rem; border-radius: 999px; background: #fff2ce; color: #7c5c00; font-size: .68rem; font-weight: 800; }
.admin-shell .message-status.handled { background: #e3f5eb; color: #137647; }
.admin-shell .message-conversation-scroll { overflow-y: auto; padding: 1.4rem; }
.admin-shell .message-day-divider { display: flex; margin: .2rem 0 1.2rem; align-items: center; gap: .8rem; color: var(--admin-muted); font-size: .7rem; }
.admin-shell .message-day-divider::before,.admin-shell .message-day-divider::after { height: 1px; flex: 1; background: var(--admin-border); content: ""; }
.admin-shell .message-bubble-row { display: flex; margin-bottom: 1rem; }
.admin-shell .message-bubble-row.outgoing { justify-content: flex-end; }
.admin-shell .message-bubble { position: relative; max-width: min(75%,42rem); padding: .85rem 1rem .7rem; border-radius: 5px 14px 14px 14px; background: #eef2f0; color: var(--admin-ink-strong); }
.admin-shell .message-bubble-row.outgoing .message-bubble { border-radius: 14px 5px 14px 14px; background: var(--admin-teal-deep); color: #fff; }
.admin-shell .message-bubble p { margin: 0; white-space: pre-wrap; font-size: .86rem; line-height: 1.6; }
.admin-shell .message-bubble small { display: block; margin-top: .55rem; color: #b8cecc; font-size: .64rem; }
.admin-shell .message-bubble time { display: block; margin-top: .35rem; color: #819194; font-size: .62rem; text-align: right; }
.admin-shell .message-bubble-row.outgoing time { color: #b8cecc; }
.admin-shell .message-composer { padding: 1rem 1.2rem; border-top: 1px solid var(--admin-border); background: #fff; }
.admin-shell .message-composer textarea { display: block; width: 100%; min-height: 5.2rem; resize: vertical; border: 0; border-radius: 10px; outline: 0; background: #f5f7f5; color: var(--admin-ink-strong); font: inherit; font-size: .84rem; line-height: 1.5; padding: .85rem; }
.admin-shell .message-composer > div { display: flex; margin-top: .75rem; justify-content: flex-end; gap: .65rem; }
.admin-shell .message-composer button { display: inline-flex; min-height: 2.6rem; align-items: center; justify-content: center; gap: .45rem; padding: 0 1rem; border-radius: 10px; font: inherit; font-size: .76rem; font-weight: 750; cursor: pointer; }
.admin-shell .message-handle-button { border: 1px solid var(--admin-border); background: #fff; color: var(--admin-ink-strong); }
.admin-shell .message-send-button { border: 0; background: var(--admin-yellow); color: var(--admin-ink-strong); box-shadow: 0 4px 0 rgba(13,32,34,.1); }
.admin-shell .message-send-button .mud-icon-root { font-size: 1rem; }
.admin-shell .message-composer button:disabled { opacity: .55; cursor: not-allowed; }
.admin-shell .message-composer > p { margin: .65rem 0 0; color: var(--admin-muted); font-size: .68rem; text-align: right; }
.admin-shell .message-conversation-placeholder { display: grid; place-content: center; color: var(--admin-muted); text-align: center; }
.admin-shell .message-conversation-placeholder .mud-icon-root { margin: auto; color: var(--admin-yellow); font-size: 2rem; }
@media (max-width: 900px) {
  .admin-shell .message-inbox-shell { grid-template-columns: 17rem minmax(0,1fr); }
}
@media (max-width: 700px) {
  .admin-shell .message-inbox-shell { display: block; min-height: 0; }
  .admin-shell .message-inbox-sidebar { max-height: 24rem; border-right: 0; border-bottom: 1px solid var(--admin-border); }
  .admin-shell .message-conversation { min-height: 34rem; }
  .admin-shell .message-bubble { max-width: 90%; }
}

/* Final global alert layer. Keep this at the end so no portal theme can cover it. */
body .ndbc-global-alerts.mud-snackbar-provider,
body .mud-snackbar-provider.ndbc-global-alerts,
body .ndbc-global-alerts .mud-snackbar-provider {
  position: fixed !important;
  inset: 84px 20px auto auto !important;
  z-index: 2147483647 !important;
  width: min(430px, calc(100vw - 40px)) !important;
  max-width: min(430px, calc(100vw - 40px)) !important;
  transform: none !important;
  isolation: isolate;
  pointer-events: none;
}

body .ndbc-global-alerts .mud-snackbar {
  position: relative !important;
  z-index: 2147483647 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 12px !important;
  pointer-events: auto;
}

body .ndbc-global-alerts .mud-alert {
  min-width: 0 !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
  opacity: 1 !important;
  box-shadow: 0 18px 45px rgba(7, 24, 26, 0.3) !important;
}

body .ndbc-global-alerts .mud-alert-filled-success { background-color: #15803d !important; color: #fff !important; }
body .ndbc-global-alerts .mud-alert-filled-warning { background-color: #f4b400 !important; color: #2f2700 !important; }
body .ndbc-global-alerts .mud-alert-filled-error { background-color: #c62828 !important; color: #fff !important; }
body .ndbc-global-alerts .mud-alert-filled-info { background-color: #1565c0 !important; color: #fff !important; }
body .ndbc-global-alerts .mud-alert-filled-normal { background-color: #143638 !important; color: #fff !important; }
body .ndbc-global-alerts .mud-alert-standard-success,
body .ndbc-global-alerts .mud-alert-outlined-success { background-color: #15803d !important; border-color: #15803d !important; color: #fff !important; }
body .ndbc-global-alerts .mud-alert-standard-warning,
body .ndbc-global-alerts .mud-alert-outlined-warning { background-color: #f4b400 !important; border-color: #f4b400 !important; color: #2f2700 !important; }
body .ndbc-global-alerts .mud-alert-standard-error,
body .ndbc-global-alerts .mud-alert-outlined-error { background-color: #c62828 !important; border-color: #c62828 !important; color: #fff !important; }
body .ndbc-global-alerts .mud-alert-standard-info,
body .ndbc-global-alerts .mud-alert-outlined-info { background-color: #1565c0 !important; border-color: #1565c0 !important; color: #fff !important; }

body .ndbc-global-alerts .mud-alert-message,
body .ndbc-global-alerts .mud-snackbar-content-message {
  color: inherit !important;
  font-weight: 500 !important;
  line-height: 1.45;
  white-space: normal !important;
}

body .ndbc-global-alerts .ndbc-alert-message h3 {
  margin: 0 0 0.2rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

body .ndbc-global-alerts .ndbc-alert-message p {
  margin: 0;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.validation-alert-container {
  padding-top: 16px;
}

.route-authorizing {
  display: grid;
  min-height: 50vh;
  place-items: center;
  color: #617173;
  font-weight: 700;
}

/* Temporary portal notification position: inside the workspace below the topbar. */
.admin-workspace {
  position: relative;
}

.portal-alert-slot {
  position: absolute;
  z-index: 500;
  top: 86px;
  right: 24px;
  width: min(430px, calc(100% - 48px));
  pointer-events: none;
}

.portal-alert-slot .ndbc-global-alerts,
.portal-alert-slot .mud-snackbar-provider,
.portal-alert-slot .ndbc-global-alerts .mud-snackbar-provider,
body .portal-alert-slot .ndbc-global-alerts.mud-snackbar-provider,
body .portal-alert-slot .mud-snackbar-provider.ndbc-global-alerts {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
}

.portal-alert-slot .mud-snackbar {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 12px !important;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .portal-alert-slot {
    top: 76px;
    right: 12px;
    width: calc(100% - 24px);
  }
}

/* MudBlazor renders select menus outside .admin-shell. Keep every role,
   status, ministry and other option list inside a distinct floating card. */
.mud-popover:has(.mud-list) {
  overflow: hidden !important;
  border: 1px solid rgba(25, 47, 49, 0.18) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(13, 32, 34, 0.18) !important;
}

.mud-popover .mud-list {
  min-width: 100%;
  padding: 0.4rem !important;
  background: #fff !important;
}

.mud-popover .mud-list-item {
  min-height: 2.7rem;
  margin: 0.1rem 0;
  border-radius: 7px;
  color: #21383a;
  font-size: 0.9rem;
}

.mud-popover .mud-list-item:hover,
.mud-popover .mud-list-item:focus-visible {
  background: #eef6f4 !important;
}

.mud-popover .mud-list-item.mud-selected-item,
.mud-popover .mud-list-item.mud-selected-item:hover {
  background: #dff1ee !important;
  color: #126d6a !important;
  font-weight: 700;
}

/* Keep the user-table action column compact, centred and easy to scan. */
.admin-shell .admin-users-table .mud-table-head .mud-table-cell:last-child,
.admin-shell .admin-users-table .mud-table-body .mud-table-cell:last-child {
  width: 8rem;
  min-width: 8rem;
  padding-right: 0.55rem;
  padding-left: 0.55rem;
  text-align: center;
}

.admin-shell .admin-user-actions {
  display: flex;
  min-width: 0;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
}

.admin-shell .admin-user-actions .mud-icon-button {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  padding: 0.35rem;
}

/* MudBlazor tooltips match the compact dark sidebar tooltip. */
.mud-tooltip.mud-tooltip-default {
  padding: 0.35rem 0.55rem;
  border-radius: 5px;
  background: #4b4b4b !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

.mud-tooltip.mud-tooltip-default.mud-tooltip-arrow::after {
  border-top-color: #4b4b4b !important;
}

/* Unified portal modals: crisp page behind a light translucent scrim. */
.admin-modal-backdrop,
.signout-modal-backdrop {
  background: rgba(22, 30, 34, 0.36) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mud-overlay.mud-overlay-dialog .mud-overlay-scrim,
.mud-overlay.mud-overlay-dialog .mud-overlay-scrim.mud-overlay-dark {
  border-color: transparent !important;
  background: rgba(22, 30, 34, 0.36) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.admin-modal {
  width: min(600px, calc(100vw - 2rem));
  padding: 0;
  overflow: hidden auto;
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: 0 22px 55px rgba(13, 32, 34, 0.24) !important;
}

.admin-modal-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0;
  padding: 1.45rem 1.55rem 1.25rem;
  border-bottom: 1px solid rgba(25, 47, 49, 0.11);
}

.admin-modal-heading-copy {
  min-width: 0;
}

.admin-modal-kicker {
  display: block;
  margin-bottom: 0.3rem;
  color: #147b78;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-modal-header h2 {
  margin: 0;
  color: #192f31 !important;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.admin-modal-header .admin-modal-description {
  margin: 0.35rem 0 0;
  color: #69777a;
  font-size: 0.875rem;
  line-height: 1.45;
}

.admin-modal-close {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border: 0;
  border-radius: 6px;
  color: #7a8589;
}

.admin-modal-content {
  margin: 0;
  padding: 1.4rem 1.55rem;
}

.admin-modal-actions {
  margin: 0.5rem -1.55rem -1.4rem;
  padding: 1rem 1.55rem;
  border-top: 1px solid rgba(25, 47, 49, 0.11);
}

.mud-dialog {
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: 0 22px 55px rgba(13, 32, 34, 0.24) !important;
}

.mud-dialog .mud-dialog-title,
.mud-dialog .mud-dialog-content,
.mud-dialog .mud-dialog-actions {
  padding-right: 1.55rem;
  padding-left: 1.55rem;
}

.mud-dialog .mud-dialog-title {
  padding-top: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(25, 47, 49, 0.11);
}

.mud-dialog .mud-dialog-actions {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(25, 47, 49, 0.11);
}

/* Pagination buttons: style the button inside each item, not the list item. */
.admin-shell .admin-pagination .mud-pagination-item {
  width: auto;
  min-width: 0;
  height: auto;
  border: 0;
  background: transparent;
}

.admin-shell .admin-pagination .mud-pagination-item > * {
  width: 1.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

.admin-shell .admin-pagination .mud-pagination-item-selected .mud-button {
  border-color: #21383a !important;
  background: #21383a !important;
  color: #fff !important;
}

/* Simple table pager: page size, range, previous and next. */
.admin-shell .admin-pagination {
  gap: 1.15rem;
  min-height: 3.25rem;
  padding-top: 0.75rem;
}

.admin-shell .admin-pagination > span {
  white-space: nowrap;
}

.admin-shell .admin-pagination > span strong {
  color: var(--admin-ink-strong);
}

.admin-shell .admin-pagination > .mud-icon-button {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.3rem;
  background: transparent;
}

.admin-shell .admin-pagination > .mud-icon-button.mud-disabled {
  opacity: 0.35;
}

/* Portal fields use one focus border only—no secondary outer ring. */
.admin-shell .mud-input-control:focus-within .mud-input-outlined-border,
.admin-modal-form .mud-input-control:focus-within .mud-input-outlined-border,
.signout-modal .mud-input-control:focus-within .mud-input-outlined-border {
  box-shadow: none !important;
  outline: 0 !important;
}

.admin-shell input:focus,
.admin-shell select:focus,
.admin-shell textarea:focus,
.admin-modal input:focus,
.admin-modal select:focus,
.admin-modal textarea:focus {
  box-shadow: none !important;
  outline: 0 !important;
}

/* MudBlazor tooltips match the compact dark sidebar tooltip. */
.mud-tooltip.mud-tooltip-default {
  padding: 0.35rem 0.55rem;
  border-radius: 5px;
  background: #4b4b4b !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

.mud-tooltip.mud-tooltip-default.mud-tooltip-arrow::after {
  border-top-color: #4b4b4b !important;
}

/* Compact filter fields: four balanced controls on wide screens. */
.admin-shell .admin-filter-panel__controls {
  grid-template-columns: repeat(4, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.admin-shell .admin-filter-panel__controls .mud-input-control {
  margin-top: 0;
}

.admin-shell .admin-filter-panel__controls .mud-input-root {
  height: var(--portal-input-height);
  min-height: var(--portal-input-height) !important;
  background: #fff;
}

.admin-shell .admin-filter-panel__controls .mud-input-slot {
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  font-size: 0.875rem;
}

.admin-shell .admin-filter-panel__controls .mud-input-label {
  font-size: 0.82rem;
}

.admin-shell .admin-filter-apply {
  min-width: 4.75rem;
  min-height: 2.4rem;
}

@media (max-width: 1050px) {
  .admin-shell .admin-filter-panel__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .admin-shell .admin-filter-panel__controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body .ndbc-global-alerts.mud-snackbar-provider,
  body .mud-snackbar-provider.ndbc-global-alerts,
  body .ndbc-global-alerts .mud-snackbar-provider {
    inset: 76px 12px auto 12px !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* ---- 2026 editorial welcome and community ministry redesign ---- */
.dawn-welcome {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 15%, rgba(243, 198, 35, 0.16), transparent 22rem), #f4f6ff;
}
.dawn-welcome::after {
  position: absolute;
  right: -7rem;
  top: 2rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(16, 55, 92, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.dawn-welcome .container {
  position: relative;
  z-index: 1;
}
.dawn-welcome-heading {
  align-items: end;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(30rem, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.dawn-welcome-intro > p:not(.dawn-kicker) {
  max-width: 24rem;
  margin: 1rem 0 0;
  color: rgba(16, 55, 92, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}
.dawn-text-link {
  display: inline-block;
  margin-top: 1.25rem;
  border-bottom: 1px solid currentColor;
  color: #10375c;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.dawn-welcome-heading h2 {
  max-width: 48rem;
}
.dawn-pathways {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  grid-template-rows: repeat(2, minmax(15rem, auto));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.dawn-pathway {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  color: #10375c;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}
.dawn-pathway:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2.5rem rgba(16, 55, 92, 0.13);
}
.dawn-pathway-believe {
  grid-row: 1 / 3;
  flex-direction: column;
  justify-content: space-between;
  min-height: 31rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: #10375c;
  color: #fff;
}
.dawn-pathway-family,
.dawn-pathway-sent {
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
}
.dawn-pathway-family {
  background: #f3c623;
}
.dawn-pathway-sent {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 55, 92, 0.1);
}
.dawn-pathway-mark {
  position: absolute;
  right: -0.03em;
  top: -0.25em;
  color: currentColor;
  font-size: clamp(8rem, 15vw, 14rem);
  font-weight: 800;
  line-height: 1;
  opacity: 0.055;
  pointer-events: none;
}
.dawn-pathway-believe .dawn-pathway-mark {
  right: -0.02em;
  top: auto;
  bottom: -0.16em;
  font-size: clamp(16rem, 32vw, 29rem);
  opacity: 0.06;
}
.dawn-pathway > div,
.dawn-pathway-link {
  position: relative;
  z-index: 1;
}
.dawn-pathway-label {
  margin: 0 0 0.65rem !important;
  color: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.13em;
  opacity: 0.68;
  text-transform: uppercase;
}
.dawn-pathway h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  line-height: 0.98;
}
.dawn-pathway-family h3,
.dawn-pathway-sent h3 {
  font-size: clamp(1.75rem, 2.4vw, 2.4rem);
}
.dawn-pathway div > p:last-child {
  max-width: 29rem;
  margin: 1rem 0 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.72;
}
.dawn-pathway-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.dawn-pathway-family .dawn-pathway-link,
.dawn-pathway-sent .dawn-pathway-link {
  align-self: flex-end;
  margin-top: 0;
}

.dawn-ministries {
  position: relative;
  border-bottom: 0;
  background: #eef2f7;
  color: #10375c;
}
.dawn-ministries-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}
.dawn-ministries-heading h2 {
  margin: 0.8rem 0 0;
  color: #10375c;
  font-size: clamp(2.75rem, 5vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}
.dawn-ministries-heading > p {
  margin: 0;
  color: rgba(16, 55, 92, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}
.dawn-ministry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.dawn-ministry-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 0;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(16, 55, 92, 0.07);
  color: inherit;
  text-decoration: none;
}
.dawn-ministry-card-0,
.dawn-ministry-card-3 {
  background: #fff;
}
.dawn-ministry-card-1 .dawn-ministry-monogram {
  background: #f3c623;
  color: #10375c;
}
.dawn-ministry-card-2 .dawn-ministry-monogram {
  background: #eb8317;
  color: #fff;
}
.dawn-ministry-monogram {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: #10375c;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.dawn-ministry-card h3 {
  margin: 0;
  color: #10375c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.dawn-ministry-card p {
  max-width: 34rem;
  margin: 0.75rem 0 0;
  color: rgba(16, 55, 92, 0.66);
  font-size: 1rem;
  line-height: 1.65;
}
.dawn-ministry-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.5rem;
  background: #10375c;
  color: #fff;
}
.dawn-ministry-invite .dawn-kicker {
  margin: 0 0 0.75rem;
  color: #f3c623;
}
.dawn-ministry-invite h2 {
  max-width: 38rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}
.dawn-ministry-invite .btn {
  flex: 0 0 auto;
  border-color: #f3c623;
  background: #f3c623;
  color: #10375c;
}

@media (max-width: 900px) {
  .dawn-welcome-heading,
  .dawn-ministries-heading {
    grid-template-columns: 1fr;
  }
  .dawn-pathways {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .dawn-pathway-believe {
    grid-row: auto;
    min-height: 27rem;
  }
  .dawn-pathway-family,
  .dawn-pathway-sent {
    min-height: 15rem;
  }
}

@media (max-width: 680px) {
  .dawn-welcome-heading h2 {
    font-size: clamp(2.75rem, 13vw, 3.8rem);
  }
  .dawn-pathway {
    border-radius: 1.25rem;
  }
  .dawn-pathway-believe {
    min-height: 24rem;
    padding: 1.5rem;
  }
  .dawn-pathway-family,
  .dawn-pathway-sent {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .dawn-pathway-family .dawn-pathway-link,
  .dawn-pathway-sent .dawn-pathway-link {
    align-self: flex-start;
    margin-top: auto;
  }
  .dawn-ministry-grid {
    grid-template-columns: 1fr;
  }
  .dawn-ministry-card {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem;
  }
  .dawn-ministry-monogram {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
  }
  .dawn-ministry-invite {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.75rem;
  }
  .dawn-ministry-invite .btn {
    width: 100%;
    text-align: center;
  }
}

/* Change this single value to resize standard inputs across every portal. */
:root {
  --portal-input-height: 2.75rem;
}

/* ---- Admin overview components ----
   Mirrors the portal sign-in language: deep green, sunrise yellow and
   spacious white cards. These classes belong to reusable Razor components. */
.admin-shell {
  --admin-ink: #21383a;
  --admin-ink-strong: #192f31;
  --admin-ink-soft: #334c4e;
  --admin-paper: #f3f4f1;
  --admin-surface-soft: #f6f7f4;
}

/* Final header override: keep every portal page aligned and sentence-cased. */
.admin-shell .admin-page-title-row,
.admin-shell .admin-builder-header,
.admin-shell .admin-listing-header {
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.admin-shell .admin-page-heading .admin-eyebrow,
.admin-shell .admin-listing-header .admin-eyebrow {
  display: block;
  margin: 0 0 0.4rem;
  color: #bd7c13 !important;
  font-size: 0.875rem !important;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.3 !important;
  text-transform: none !important;
}

.admin-shell .admin-page-heading .admin-eyebrow::before {
  display: none !important;
  content: none !important;
}

.admin-shell .admin-page-heading h1,
.admin-shell .admin-listing-header h1 {
  margin: 0;
  font-size: clamp(2.15rem, 3.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.admin-shell .admin-page-heading > p:last-child:not(.admin-eyebrow),
.admin-shell .admin-listing-header .admin-page-heading > p:last-child {
  margin: 0.45rem 0 0;
  color: var(--admin-muted, #617173);
  font-size: 1rem;
  line-height: 1.5;
}

/* User listing: collapsible filters, sortable headings and pagination. */
.admin-shell button.admin-filter-panel__heading {
  width: 100%;
  border: 0;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.admin-shell button.admin-filter-panel__heading:hover,
.admin-shell button.admin-filter-panel__heading:focus-visible {
  background: #fafbfa;
  outline: none;
}

.admin-shell .admin-filter-panel__controls {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.admin-shell .admin-filter-apply {
  grid-column: 1 / -1;
  min-width: 5.5rem;
  min-height: 2.65rem;
  justify-self: end;
  border-radius: 8px;
  background: #238784 !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: none;
}

.admin-shell .admin-sort-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  text-align: left;
}

.admin-shell .admin-sort-button .mud-icon-root {
  color: #6f7d80;
  font-size: 1rem;
}

.admin-shell .admin-sort-button:hover,
.admin-shell .admin-sort-button:focus-visible {
  color: #147b78;
  outline: none;
}

.admin-shell .admin-pagination {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 0.25rem 0;
  border-top: 1px solid rgba(25, 47, 49, 0.09);
  color: #667679;
  font-size: 0.82rem;
}

.admin-shell .admin-pagination .mud-pagination-item {
  min-width: 2rem;
  height: 2rem;
  border-color: rgba(25, 47, 49, 0.22);
  border-radius: 7px;
}

.admin-shell .admin-pagination .mud-pagination-item-selected {
  border-color: #21383a;
  background: #21383a;
  color: #fff;
}

@media (max-width: 900px) {
  .admin-shell .admin-filter-panel__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .admin-shell .admin-filter-panel__controls {
    grid-template-columns: 1fr;
  }

  .admin-shell .admin-filter-apply {
    grid-column: auto;
    width: 100%;
  }

  .admin-shell .admin-pagination {
    align-items: flex-end;
    flex-direction: column;
  }
}

/* ---- Admin overview · assessment-dashboard direction ---- */
.admin-shell .admin-dashboard-heading {
  margin-bottom: 1.4rem;
}

.admin-shell .admin-dashboard-kicker {
  margin: 0 0 0.35rem;
  color: #d98b12;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-shell .admin-dashboard-heading h1 {
  margin: 0;
  color: var(--admin-ink-strong) !important;
  font-size: clamp(2rem, 3.25vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.admin-shell .admin-dashboard-heading > p:last-child {
  margin: 0.45rem 0 0;
  color: var(--admin-muted);
  font-size: 1rem;
}

.admin-shell .admin-dashboard-kpis {
  margin-bottom: 1.45rem;
}

.admin-shell .admin-dashboard-kpis > .mud-grid-item {
  display: flex;
}

.admin-shell .admin-kpi-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 15px;
  background: #fff !important;
  box-shadow: 0 5px 14px rgba(25, 47, 49, 0.045) !important;
}

.admin-shell .admin-kpi-card__link {
  display: flex;
  min-height: 7.15rem;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 1.25rem;
  color: var(--admin-ink);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.admin-shell .admin-kpi-card:hover {
  border-color: rgba(216, 139, 18, 0.48) !important;
  box-shadow: 0 9px 22px rgba(25, 47, 49, 0.08) !important;
  transform: translateY(-1px);
}

.admin-shell .admin-kpi-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--admin-muted);
}

.admin-shell .admin-kpi-card__topline span {
  font-size: 0.875rem;
}

.admin-shell .admin-kpi-card__topline .mud-icon-root {
  color: #7d878e;
}

.admin-shell .admin-kpi-card__link > strong {
  margin-top: 0.35rem;
  color: var(--admin-ink-strong);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.admin-shell .admin-kpi-card__support {
  margin-top: 0.45rem;
  color: #879296;
  font-size: 0.78rem !important;
  line-height: 1.3;
}

.admin-shell .admin-summary-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.45rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid #d3e2dc !important;
  border-radius: 14px;
  background: #f0f8f5 !important;
  box-shadow: none !important;
}

.admin-shell .admin-summary-strip__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.admin-shell .admin-summary-strip__item .mud-typography-overline {
  color: #536c67;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.admin-shell .admin-summary-strip__item strong {
  color: var(--admin-ink-strong);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-shell .admin-summary-strip__item .mud-typography-caption {
  color: #70827e;
  font-size: 0.78rem;
}

.admin-shell .admin-summary-strip .mud-button-root {
  color: #147b78;
  font-weight: 700;
  text-transform: none;
}

.admin-shell .admin-dashboard-stack {
  display: grid;
  gap: 1.45rem;
}

.admin-shell .admin-dashboard-stack .admin-overview-card {
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(25, 47, 49, 0.045) !important;
}

.admin-shell .admin-dashboard-stack .admin-overview-card__header {
  min-height: 5.4rem;
  padding: 1.15rem 1.3rem;
}

.admin-shell .admin-dashboard-stack .admin-overview-card__header h2 {
  font-size: 1.12rem;
  font-weight: 700;
}

.admin-shell .admin-overview-card__subtitle {
  margin-top: 0.25rem;
  color: #7e898d;
  font-size: 0.82rem !important;
}

.admin-shell .admin-dashboard-stack .admin-overview-card__action {
  color: #137d7a;
  font-size: 0.82rem;
}

.admin-shell .admin-publication-visual {
  display: flex;
  min-height: 20rem;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  justify-content: center;
  padding: 2.2rem;
}

.admin-shell .admin-donut {
  --completion: 0deg;
  display: grid;
  width: 13rem;
  height: 13rem;
  flex: 0 0 13rem;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#2f74ee 0 var(--completion), #e9edf3 var(--completion) 360deg);
}

.admin-shell .admin-donut__centre {
  display: grid;
  width: 8.5rem;
  height: 8.5rem;
  place-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--admin-ink);
  text-align: center;
}

.admin-shell .admin-donut__centre span {
  font-size: 0.82rem;
}

.admin-shell .admin-donut__centre strong {
  color: var(--admin-ink-strong);
  font-size: 2.15rem;
  line-height: 1.15;
}

.admin-shell .admin-publication-legend {
  display: grid;
  min-width: 12.5rem;
  gap: 0.8rem;
}

.admin-shell .admin-publication-legend > div {
  display: grid;
  grid-template-columns: 0.65rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.admin-shell .admin-publication-legend > div > span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.admin-shell .admin-publication-legend .is-published { background: #2f74ee; }
.admin-shell .admin-publication-legend .is-draft { background: #c5ccd6; }
.admin-shell .admin-publication-legend .is-total { background: #f1b314; }
.admin-shell .admin-publication-legend p { display: flex; justify-content: space-between; margin: 0; color: #69767b; font-size: 0.84rem; }
.admin-shell .admin-publication-legend strong { margin-left: 2.5rem; color: var(--admin-ink-strong); }

.admin-shell .admin-overview-table.mud-table {
  border-radius: 0;
  box-shadow: none !important;
}

.admin-shell .admin-overview-table .mud-table-head {
  background: #f0f4f2 !important;
}

.admin-shell .admin-overview-table .mud-table-head .mud-table-cell {
  border-bottom: 1px solid rgba(25, 47, 49, 0.1);
  color: #415759 !important;
  font-size: 0.76rem !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.admin-shell .admin-overview-table .mud-table-cell {
  padding: 0.9rem 1.15rem;
  color: #536568;
  font-size: 0.875rem;
}

.admin-shell .admin-overview-table .mud-table-cell strong {
  color: var(--admin-ink-strong);
}

.admin-shell .admin-overview-table .mud-table-row:nth-child(even) {
  background: #fff;
}

@media (max-width: 760px) {
  .admin-shell .admin-summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .admin-shell .admin-summary-strip .mud-button-root {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .admin-shell .admin-publication-visual {
    min-height: 0;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .admin-shell .admin-summary-strip {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .admin-shell .admin-summary-strip .mud-button-root {
    grid-column: auto;
  }

  .admin-shell .admin-donut {
    width: 11rem;
    height: 11rem;
    flex-basis: 11rem;
  }

  .admin-shell .admin-donut__centre {
    width: 7.2rem;
    height: 7.2rem;
  }
}

/* ---- Shared admin listing and capture patterns ---- */
.admin-shell .admin-listing-header {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.admin-shell .admin-listing-header__kicker {
  margin-bottom: 0.3rem;
  color: #d98b12;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.admin-shell .admin-listing-header h1 {
  margin: 0;
  color: var(--admin-ink-strong) !important;
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.admin-shell .admin-listing-header > div:first-child > p:last-child {
  margin: 0.45rem 0 0;
  color: var(--admin-muted);
  font-size: 1rem;
}

.admin-shell .admin-listing-header__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.admin-shell .admin-listing-header__actions .mud-button-root,
.admin-shell .admin-listing-header__actions .admin-add-button {
  min-height: 2.75rem;
  border-radius: 10px;
  font-weight: 700;
  text-transform: none;
}

.admin-shell .admin-list-stats {
  margin-bottom: 1.25rem;
}

.admin-shell .admin-list-stats > .mud-grid-item {
  display: flex;
}

.admin-shell .admin-list-stat {
  width: 100%;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-top: 3px solid transparent !important;
  border-radius: 14px;
  background: #fff !important;
  box-shadow: 0 5px 14px rgba(25, 47, 49, 0.04) !important;
}

.admin-shell .admin-list-stat--success { border-top-color: #2aa66d !important; }
.admin-shell .admin-list-stat--attention { border-top-color: #e5684d !important; }
.admin-shell .admin-list-stat--accent { border-top-color: #6f63d8 !important; }
.admin-shell .admin-list-stat .mud-typography-overline { color: #627276; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; }
.admin-shell .admin-list-stat strong { display: block; margin-top: 0.25rem; color: var(--admin-ink-strong); font-size: 1.65rem; font-weight: 700; }
.admin-shell .admin-list-stat .mud-typography-caption { display: block; margin-top: 0.35rem; color: #859093; font-size: 0.78rem; }

.admin-shell .admin-filter-panel {
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(25, 47, 49, 0.15) !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: none !important;
}

.admin-shell .admin-filter-panel__heading {
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
}

.admin-shell .admin-filter-panel__heading > div { display: flex; flex-direction: column; }
.admin-shell .admin-filter-panel__heading strong { color: var(--admin-ink-strong); font-size: 1rem; }
.admin-shell .admin-filter-panel__heading .mud-typography-caption { color: #849094; font-size: 0.76rem; }
.admin-shell .admin-filter-panel__heading > .mud-icon-root { color: #748085; }

.admin-shell .admin-filter-panel__controls {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-top: 1px solid rgba(25, 47, 49, 0.09);
  background: #fafbfa;
}

.admin-shell .admin-filter-panel__controls .mud-input-control { margin-top: 0; }
.admin-shell .admin-filter-panel__controls .mud-input-root { height: var(--portal-input-height); min-height: var(--portal-input-height) !important; background: #fff; }
.admin-shell .admin-filter-panel__controls .mud-input-slot { padding-top: 0.45rem !important; padding-bottom: 0.45rem !important; font-size: 0.875rem; }
.admin-shell .admin-filter-panel__controls .mud-input-label { font-size: 0.8rem; }
.admin-shell .admin-filter-panel__controls .mud-input-outlined-border { border-color: rgba(25, 47, 49, 0.22) !important; border-radius: 9px !important; }
.admin-shell .admin-filter-panel__controls .mud-input-control:focus-within .mud-input-outlined-border { border-color: #238b89 !important; box-shadow: 0 0 0 3px rgba(35, 139, 137, 0.1); }

.admin-shell .admin-table-shell {
  padding: 1.25rem 1.35rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 15px;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(25, 47, 49, 0.045) !important;
}

.admin-shell .admin-table-shell__meta {
  display: flex;
  min-height: 1.5rem;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
  color: #778488;
  font-size: 0.8rem;
}

.admin-shell .admin-lsi-table.mud-table,
.admin-shell .admin-lsi-table .mud-table-container {
  border-radius: 0;
  box-shadow: none !important;
}

.admin-shell .admin-lsi-table .mud-table-head {
  background: #f0f4f2 !important;
}

.admin-shell .admin-lsi-table .mud-table-head .mud-table-cell {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(25, 47, 49, 0.1);
  color: #354d4f !important;
  font-size: 0.78rem !important;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.admin-shell .admin-lsi-table .mud-table-body .mud-table-row:nth-child(even) { background: #fff; }
.admin-shell .admin-lsi-table .mud-table-body .mud-table-row:hover { background: #f6f9f7 !important; }
.admin-shell .admin-lsi-table .mud-table-cell { padding: 0.9rem 1rem; color: #4f6164; font-size: 0.875rem; vertical-align: middle; }
.admin-shell .admin-lsi-table .mud-table-cell > strong { color: var(--admin-ink-strong); }

.admin-shell .admin-table-primary { display: flex; min-width: 0; flex-direction: column; }
.admin-shell .admin-table-primary strong { overflow: hidden; color: var(--admin-ink-strong); font-size: 0.875rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .admin-table-primary span { overflow: hidden; margin-top: 0.15rem; color: #8a9699; font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }

.admin-shell .admin-list-status {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #eef1f1;
  color: #58676a;
  font-size: 0.75rem;
  font-weight: 750;
}

.admin-shell .admin-list-status--complete,
.admin-shell .admin-list-status--active { background: #e4f7ed; color: #087d45; }
.admin-shell .admin-list-status--pending { background: #fff5d8; color: #936a00; }
.admin-shell .admin-list-status--cancelled,
.admin-shell .admin-list-status--inactive { background: #eef1f1; color: #657174; }
.admin-shell .admin-list-status--failed { background: #fde8e4; color: #b54135; }
.admin-shell .admin-list-empty { margin: 0; border: 0; box-shadow: none; }

.admin-shell .admin-capture-page {
  display: grid;
  max-width: 70rem;
  gap: 1.25rem;
}

.admin-shell .admin-capture-card {
  padding: 1.5rem;
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 15px;
  background: #fff !important;
  box-shadow: 0 5px 16px rgba(25, 47, 49, 0.04) !important;
}

.admin-shell .admin-capture-card__header {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(25, 47, 49, 0.09);
}

.admin-shell .admin-capture-card__header > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border-radius: 8px;
  background: #e6f4f2;
  color: #147b78;
  font-size: 0.75rem;
  font-weight: 800;
}

.admin-shell .admin-capture-card__header h2 { margin: 0; color: var(--admin-ink-strong) !important; font-size: 1.15rem; font-weight: 700; }
.admin-shell .admin-capture-card__header p { margin: 0.2rem 0 0; color: #7a878a; font-size: 0.85rem; }
.admin-shell .admin-capture-fields { display: grid; gap: 1rem; }
.admin-shell .admin-capture-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-shell .admin-capture-span { grid-column: 1 / -1; }
.admin-shell .admin-capture-fields .mud-input-root { min-height: var(--portal-input-height); background: #fff; }
.admin-shell .admin-capture-fields .mud-input-outlined-border { border-color: rgba(25, 47, 49, 0.28) !important; border-radius: 9px !important; }
.admin-shell .admin-capture-fields .mud-input-control:focus-within .mud-input-outlined-border { border-color: #238b89 !important; box-shadow: 0 0 0 3px rgba(35, 139, 137, 0.1); }

.admin-shell .admin-form-notice {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #cfe3e1;
  background: #eef8f7;
  color: #526668;
  font-size: 0.875rem;
}
.admin-shell .admin-form-notice .mud-icon-root { color: #258b88; }

.admin-shell .admin-selection-list {
  margin-top: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(25, 47, 49, 0.16);
  border-radius: 10px;
}
.admin-shell .admin-selection-list__label { display: block; padding: 0.65rem 0.9rem; background: #f0f4f2; color: #536568; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.admin-shell .admin-selection-item { display: flex; gap: 0.5rem; align-items: center; padding: 0.7rem 0.85rem; border-top: 1px solid rgba(25, 47, 49, 0.08); cursor: pointer; }
.admin-shell .admin-selection-item:hover { background: #f8faf9; }
.admin-shell .admin-selection-item > span { display: flex; flex-direction: column; }
.admin-shell .admin-selection-item strong { color: var(--admin-ink-strong); font-size: 0.9rem; }
.admin-shell .admin-selection-item small { color: #899497; font-size: 0.75rem; }

.admin-shell .admin-capture-actions { display: flex; gap: 0.75rem; justify-content: flex-end; padding: 0.25rem 0 2rem; }
.admin-shell .admin-capture-actions .mud-button-root { min-height: 2.8rem; border-radius: 9px; font-weight: 700; text-transform: none; }
.admin-shell .admin-capture-actions .mud-button-filled { background: #198784; color: #fff; }

@media (max-width: 820px) {
  .admin-shell .admin-filter-panel__controls { grid-template-columns: 1fr 1fr; }
  .admin-shell .admin-filter-search { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .admin-shell .admin-listing-header { display: grid; gap: 1rem; align-items: start; }
  .admin-shell .admin-listing-header__actions { justify-content: flex-start; }
  .admin-shell .admin-filter-panel__controls,
  .admin-shell .admin-capture-fields--two { grid-template-columns: 1fr; }
  .admin-shell .admin-filter-search,
  .admin-shell .admin-capture-span { grid-column: auto; }
  .admin-shell .admin-table-shell { padding-inline: 0.85rem; }
}

/* ---- Authoritative portal page header ----
   Used by overview, listing, editor, leader and member portal pages. */
.admin-shell .admin-page-title-row,
.admin-shell .admin-builder-header,
.admin-shell .admin-listing-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-shell .admin-page-heading {
  display: block;
  min-width: 0;
}

.admin-shell .admin-page-heading .admin-eyebrow,
.admin-shell .admin-listing-header .admin-eyebrow {
  display: block;
  margin: 0 0 0.4rem;
  color: #bd7c13 !important;
  font-size: 0.875rem !important;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.3 !important;
  text-transform: none;
}

.admin-shell .admin-page-heading .admin-eyebrow::before {
  display: none;
  content: none;
}

.admin-shell .admin-page-heading h1,
.admin-shell .admin-listing-header h1 {
  margin: 0;
  color: var(--admin-ink-strong, #192f31) !important;
  font-family: var(--ndbc-ui);
  font-size: clamp(2.15rem, 3.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.admin-shell .admin-page-heading > p:last-child:not(.admin-eyebrow),
.admin-shell .admin-listing-header .admin-page-heading > p:last-child {
  max-width: 52rem;
  margin: 0.45rem 0 0;
  color: var(--admin-muted, #617173);
  font-size: 1rem;
  line-height: 1.5;
}

.admin-shell .admin-listing-header__actions,
.admin-shell .admin-builder-actions,
.admin-shell .admin-page-title-row > .admin-add-button {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .admin-shell .admin-page-title-row,
  .admin-shell .admin-builder-header,
  .admin-shell .admin-listing-header {
    display: grid;
    gap: 1rem;
    align-items: start;
  }

  .admin-shell .admin-listing-header__actions,
  .admin-shell .admin-builder-actions {
    justify-content: flex-start;
  }
}

.admin-shell .admin-overview-heading {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.admin-shell .admin-overview-heading .admin-page-heading h1 {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 400;
}

.admin-shell .admin-launch-chip {
  min-height: 2.5rem;
  padding-inline: 0.45rem;
  border: 1px solid rgba(243, 198, 35, 0.46);
  background: rgba(243, 198, 35, 0.12);
  color: var(--admin-ink-strong);
  font-weight: 700;
}

.admin-shell .admin-launch-chip .mud-icon-root {
  color: #b38800;
}

.admin-shell .admin-overview-grid {
  margin: -12px;
}

.admin-shell .admin-overview-grid > .mud-grid-item {
  display: flex;
}

.admin-shell .admin-overview-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(25, 47, 49, 0.1) !important;
  border-radius: 18px;
  background: #fff !important;
  box-shadow: 0 10px 32px rgba(25, 47, 49, 0.055) !important;
}

.admin-shell .admin-overview-card__header {
  display: flex;
  min-height: 5.75rem;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(25, 47, 49, 0.08);
}

.admin-shell .admin-overview-card__header h2 {
  margin: 0;
  color: var(--admin-ink-strong) !important;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.admin-shell .admin-overview-card__eyebrow {
  margin-bottom: 0.2rem;
  color: #9d7800;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.admin-shell .admin-overview-card__action {
  color: var(--admin-ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.admin-shell .admin-overview-card__action:hover {
  color: #947000;
}

.admin-shell .admin-overview-card__body {
  padding: 0;
}

.admin-shell .admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-shell .admin-metric-tile {
  display: flex;
  min-width: 0;
  gap: 0.9rem;
  align-items: center;
  padding: 1.75rem 1.25rem;
  border-right: 1px solid rgba(25, 47, 49, 0.08);
  color: var(--admin-ink);
  transition: background 160ms ease;
}

.admin-shell .admin-metric-tile:last-child {
  border-right: 0;
}

.admin-shell .admin-metric-tile:hover,
.admin-shell .admin-metric-tile:focus-visible {
  background: var(--admin-surface-soft);
  outline: none;
}

.admin-shell .admin-metric-tile__icon,
.admin-shell .admin-quick-action__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
}

.admin-shell .admin-metric-tile__icon {
  width: 2.8rem;
  height: 2.8rem;
}

.admin-shell .admin-metric-tile__icon--teal,
.admin-shell .admin-quick-action__icon--teal { background: rgba(69, 198, 200, 0.13); color: #147f81; }
.admin-shell .admin-metric-tile__icon--coral,
.admin-shell .admin-quick-action__icon--coral { background: rgba(240, 92, 79, 0.11); color: #c7473b; }
.admin-shell .admin-metric-tile__icon--yellow,
.admin-shell .admin-quick-action__icon--yellow { background: rgba(243, 198, 35, 0.17); color: #997300; }
.admin-shell .admin-metric-tile__icon--green,
.admin-shell .admin-quick-action__icon--green { background: rgba(75, 164, 113, 0.13); color: #28754c; }

.admin-shell .admin-metric-tile__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.admin-shell .admin-metric-tile__copy strong {
  color: var(--admin-ink-strong);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.admin-shell .admin-metric-tile__copy span {
  margin-top: 0.25rem;
  color: var(--admin-muted);
  font-size: 0.875rem;
  white-space: nowrap;
}

.admin-shell .admin-quick-actions {
  display: grid;
}

.admin-shell .admin-quick-action.mud-button-root {
  min-height: 4.55rem;
  justify-content: stretch;
  padding: 0.75rem 1.35rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(25, 47, 49, 0.08);
  color: var(--admin-ink);
  text-align: left;
  text-transform: none;
}

.admin-shell .admin-quick-action:last-child {
  border-bottom: 0;
}

.admin-shell .admin-quick-action:hover,
.admin-shell .admin-quick-action:focus-visible {
  background: var(--admin-surface-soft);
}

.admin-shell .admin-quick-action .mud-button-label {
  display: flex;
  width: 100%;
  gap: 0.85rem;
  align-items: center;
}

.admin-shell .admin-quick-action__icon {
  width: 2.45rem;
  height: 2.45rem;
}

.admin-shell .admin-quick-action__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.admin-shell .admin-quick-action__copy strong {
  color: var(--admin-ink-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-shell .admin-quick-action__copy span {
  color: var(--admin-muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.admin-shell .admin-quick-action__chevron {
  color: rgba(25, 47, 49, 0.42);
}

.admin-shell .admin-event-list {
  display: grid;
}

.admin-shell .admin-event-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(25, 47, 49, 0.08);
}

.admin-shell .admin-event-row:last-child {
  border-bottom: 0;
}

.admin-shell .admin-event-row__date {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-content: center;
  border-radius: 11px;
  background: rgba(243, 198, 35, 0.16);
  color: var(--admin-ink-strong);
  text-align: center;
}

.admin-shell .admin-event-row__date span { color: #8c6b00; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1; }
.admin-shell .admin-event-row__date strong { font-size: 1.15rem; line-height: 1.25; }
.admin-shell .admin-event-row__content { min-width: 0; }
.admin-shell .admin-event-row__content strong { display: block; overflow: hidden; color: var(--admin-ink-strong); font-size: 0.96rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .admin-event-row__content p { overflow: hidden; margin: 0.15rem 0 0; color: var(--admin-muted); font-size: 0.8rem; text-overflow: ellipsis; white-space: nowrap; }

.admin-shell .admin-status-chip { background: rgba(25, 47, 49, 0.06); color: var(--admin-muted); font-weight: 700; }
.admin-shell .admin-status-chip.is-live { background: rgba(75, 164, 113, 0.12); color: #28754c; }

.admin-shell .admin-overview-empty {
  display: flex;
  min-height: 13.2rem;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--admin-muted);
}

.admin-shell .admin-overview-empty > .mud-icon-root { color: #b78d00; font-size: 2rem; }
.admin-shell .admin-overview-empty div { display: flex; flex-direction: column; }
.admin-shell .admin-overview-empty strong { color: var(--admin-ink-strong); }
.admin-shell .admin-overview-empty span { font-size: 0.875rem; }

.admin-shell .admin-launch-progress {
  display: grid;
  min-height: 13.2rem;
  gap: 1.05rem;
  align-content: center;
  padding: 1.5rem;
}

.admin-shell .admin-launch-progress__label { display: flex; align-items: center; justify-content: space-between; color: var(--admin-muted); font-size: 0.875rem; }
.admin-shell .admin-launch-progress__label strong { color: var(--admin-ink-strong); }
.admin-shell .admin-launch-progress .mud-progress-linear { background: rgba(243, 198, 35, 0.18); }
.admin-shell .admin-launch-progress .mud-progress-linear-bar { background: var(--admin-yellow); }
.admin-shell .admin-launch-progress > p { margin: 0; color: var(--admin-muted); font-size: 0.875rem; }
.admin-shell .admin-launch-progress .mud-button-root { justify-self: start; border-color: rgba(25, 47, 49, 0.28); border-radius: 10px; color: var(--admin-ink-strong); text-transform: none; }

@media (max-width: 1180px) {
  .admin-shell .admin-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell .admin-metric-tile:nth-child(2) { border-right: 0; }
  .admin-shell .admin-metric-tile:nth-child(-n + 2) { border-bottom: 1px solid rgba(25, 47, 49, 0.08); }
}

@media (max-width: 640px) {
  .admin-shell .admin-overview-heading { display: grid; gap: 1rem; align-items: start; }
  .admin-shell .admin-launch-chip { justify-self: start; }
  .admin-shell .admin-overview-card { border-radius: 14px; }
  .admin-shell .admin-overview-card__header { min-height: 5rem; padding: 1rem 1.15rem; }
  .admin-shell .admin-metric-grid { grid-template-columns: 1fr; }
  .admin-shell .admin-metric-tile { border-right: 0; border-bottom: 1px solid rgba(25, 47, 49, 0.08); padding: 1.05rem 1.15rem; }
  .admin-shell .admin-metric-tile:nth-child(3) { border-bottom: 1px solid rgba(25, 47, 49, 0.08); }
  .admin-shell .admin-metric-tile:last-child { border-bottom: 0; }
  .admin-shell .admin-event-row { grid-template-columns: 3.2rem minmax(0, 1fr); padding-inline: 1.15rem; }
  .admin-shell .admin-event-row .admin-status-chip { display: none; }
}

:root {
  --ndbc-navy: #00152f;
  --ndbc-navy-90: #1a2c44;
  --ndbc-navy-80: #33445a;
  --ndbc-navy-10: #d9dde2;
  --ndbc-navy-05: #f4f6f8;
  --ndbc-orange: #ffc000;
  --ndbc-gold: #ffc000;
  --ndbc-yellow: #ffc000;
  --ndbc-gold-20: #ffdb66;
  --ndbc-gold-10: #ffe699;
  --ndbc-gold-05: #fff6d9;
  --ndbc-gold-soft: var(--ndbc-gold-20);
  --ndbc-navy-soft: var(--ndbc-navy-90);
  --ndbc-ink: #00152f;
  --ndbc-paper: #f4f6f8;
  --ndbc-line: #d9dde2;
  --ndbc-body:
    "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ndbc-heading:
    "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  --ndbc-ui:
    "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Keep the full footer lockup large enough for both lines of the wordmark to read. */
.site-footer .footer-brand-block .footer-logo {
  width: min(220px, 100%);
  height: 62px;
  margin-bottom: 0.75rem;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 680px) {
  .site-footer .footer-brand-block .footer-logo {
    width: min(210px, 100%);
    height: 58px;
  }
}

/* Global notifications */
.mud-snackbar-provider {
  z-index: 10000 !important;
  top: 1rem !important;
}

.mud-snackbar .mud-alert {
  min-width: min(380px, calc(100vw - 2rem));
  border: 0;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(16, 55, 92, 0.24);
  font-weight: 650;
}

.mud-snackbar .mud-alert-filled-success,
.mud-snackbar .mud-alert-standard-success,
.mud-snackbar .mud-alert-outlined-success {
  background-color: #15803d !important;
  color: #fff !important;
}

.mud-snackbar .mud-alert-filled-error,
.mud-snackbar .mud-alert-standard-error,
.mud-snackbar .mud-alert-outlined-error {
  background-color: #c62828 !important;
  color: #fff !important;
}

.mud-snackbar .mud-alert-filled-warning,
.mud-snackbar .mud-alert-standard-warning,
.mud-snackbar .mud-alert-outlined-warning {
  background-color: #f3c623 !important;
  color: #392f00 !important;
}

.mud-snackbar
  .mud-alert:is(
    .mud-alert-filled-success,
    .mud-alert-standard-success,
    .mud-alert-outlined-success,
    .mud-alert-filled-error,
    .mud-alert-standard-error,
    .mud-alert-outlined-error
  )
  :is(.mud-icon-root, .mud-button-root) {
  color: #fff !important;
}

.mud-snackbar
  .mud-alert:is(.mud-alert-filled-warning, .mud-alert-standard-warning, .mud-alert-outlined-warning)
  :is(.mud-icon-root, .mud-button-root) {
  color: #392f00 !important;
}

@media (max-width: 600px) {
  .mud-snackbar-provider {
    top: 0.75rem !important;
    right: 0.75rem !important;
    left: 0.75rem !important;
  }
}

/* Application-wide alerts: top-right, below the fixed portal header. */
.mud-snackbar-provider,
.mud-snackbar-provider.mud-snackbar-location-top-right {
  position: fixed !important;
  top: 86px !important;
  right: 1.25rem !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 30000 !important;
  width: min(430px, calc(100vw - 2rem)) !important;
  max-width: calc(100vw - 2rem) !important;
}

.mud-snackbar {
  width: 100% !important;
  max-width: 430px !important;
}

.mud-snackbar .mud-alert,
.mud-snackbar .mud-snackbar-content {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 38px rgba(12, 31, 33, 0.24) !important;
  opacity: 1 !important;
}

.mud-snackbar .mud-alert-message,
.mud-snackbar .mud-snackbar-content-message {
  color: inherit !important;
  font-weight: 650;
  line-height: 1.45;
  white-space: normal;
}

.mud-snackbar .mud-alert-filled-success { background: #15803d !important; color: #fff !important; }
.mud-snackbar .mud-alert-filled-warning { background: #f4b400 !important; color: #2f2700 !important; }
.mud-snackbar .mud-alert-filled-error { background: #c62828 !important; color: #fff !important; }
.mud-snackbar .mud-alert-filled-info { background: #1565c0 !important; color: #fff !important; }
.mud-snackbar .mud-alert-filled-normal { background: #143638 !important; color: #fff !important; }

.mud-snackbar .mud-alert-filled-success :is(.mud-icon-root, button),
.mud-snackbar .mud-alert-filled-error :is(.mud-icon-root, button),
.mud-snackbar .mud-alert-filled-info :is(.mud-icon-root, button),
.mud-snackbar .mud-alert-filled-normal :is(.mud-icon-root, button) { color: #fff !important; }

.mud-snackbar .mud-alert-filled-warning :is(.mud-icon-root, button) { color: #2f2700 !important; }

@media (max-width: 600px) {
  .mud-snackbar-provider,
  .mud-snackbar-provider.mud-snackbar-location-top-right {
    top: 76px !important;
    right: 0.75rem !important;
    left: 0.75rem !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* Admin page content builder */
.admin-content-builder {
  display: grid;
  gap: 1.5rem;
}

.admin-builder-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.admin-builder-header h1 {
  margin: 0.2rem 0 0.35rem;
  color: #10375c;
  font-size: clamp(2rem, 3vw, 3rem);
}

.admin-builder-header > div:first-child > p:last-child {
  margin: 0;
  color: #52677d;
}

.admin-builder-actions {
  display: flex;
  gap: 0.75rem;
}

.admin-builder-actions a,
.admin-builder-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-builder-preview {
  background: #fff;
  color: #10375c;
}

.admin-builder-save {
  border-color: #f3c623 !important;
  background: #f3c623;
  color: #10375c;
}

.admin-builder-save:disabled {
  cursor: wait;
  opacity: 0.7;
}

.admin-builder-card {
  overflow: hidden;
  border: 1px solid #d7dfeb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 55, 92, 0.08);
}

.admin-page-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem;
  overflow-x: auto;
  border-bottom: 1px solid #d7dfeb;
  background: #f8faff;
}

.admin-page-tabs button {
  display: grid;
  gap: 0.1rem;
  min-width: max-content;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #52677d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-page-tabs button span {
  font-weight: 700;
}

.admin-page-tabs button small {
  font-size: 0.75rem;
}

.admin-page-tabs button:hover {
  background: #eef2fa;
  color: #10375c;
}

.admin-page-tabs button.active {
  background: #10375c;
  color: #fff;
  box-shadow: 0 7px 18px rgba(16, 55, 92, 0.2);
}

.admin-builder-form {
  display: grid;
}

.admin-builder-section {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.admin-builder-section + .admin-builder-section {
  border-top: 1px solid #e2e8f0;
}

.admin-builder-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-builder-section-heading h2 {
  margin: 0.2rem 0 0.25rem;
  color: #10375c;
  font-size: 1.35rem;
}

.admin-builder-section-heading span {
  color: #60758b;
}

.admin-builder-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.75fr);
  gap: 1rem;
}

.admin-builder-content-section {
  background: #fbfcff;
}

.admin-builder-content-section textarea {
  font-family: Consolas, "SFMono-Regular", monospace;
  line-height: 1.65;
}

.admin-builder-hint {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #eef4ff;
  color: #315b85;
}

.admin-builder-preview-canvas {
  min-height: 180px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px dashed #b8c6d8;
  border-radius: 12px;
  background: #f4f6ff;
  color: #10375c;
}

.admin-builder-preview-canvas > :first-child {
  margin-top: 0;
}

.admin-builder-preview-canvas > :last-child {
  margin-bottom: 0;
}

.admin-builder-empty {
  padding: 3rem;
  color: #60758b;
  text-align: center;
}

@media (max-width: 800px) {
  .admin-builder-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-builder-actions,
  .admin-builder-actions a,
  .admin-builder-actions button {
    flex: 1;
  }

  .admin-builder-fields {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--ndbc-body);
  color: var(--ndbc-ink);
  background: var(--ndbc-paper);
  -webkit-font-smoothing: antialiased;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3 {
  font-family: var(--ndbc-heading);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--ndbc-navy);
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2rem 0 0.75rem;
}
p {
  line-height: 1.7;
}
a {
  color: var(--ndbc-navy);
  text-underline-offset: 0.2em;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.lead {
  font-size: 1.2rem;
  color: var(--ndbc-navy-soft);
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ndbc-navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(2, 2, 15, 0.28);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding-block: 0.45rem;
}
.brand-logo {
  display: block;
  width: 174px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle,
.nav-toggle-label,
.site-nav-scrim {
  display: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.site-link {
  color: #dfe4f2;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}
.site-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.site-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-cta {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ndbc-navy);
  margin-left: 0.25rem;
}
.nav-cta.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.nav-cta:hover {
  filter: brightness(1.1);
}

@media (max-width: 860px) {
  .nav-toggle-label {
    display: block;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    order: 1;
  }
  .brand {
    order: 0;
  }
  .site-nav {
    display: none;
    order: 2;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }
  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
}

/* ---- main ---- */
.site-main {
  flex: 1 0 auto;
}

.hero {
  background: linear-gradient(160deg, var(--ndbc-navy) 0%, var(--ndbc-navy-soft) 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero h1 {
  color: #fff;
  max-width: 18ch;
}
.hero p.lead {
  color: #dfe4f2;
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.btn-primary {
  background: #fff;
  color: var(--ndbc-navy);
  border-color: var(--ndbc-navy);
}
.hero .btn-primary {
  border-color: #fff;
}
.btn-outline {
  border-color: #fff;
  color: #fff;
}
.btn-primary:hover,
.btn-outline:hover {
  filter: brightness(1.12);
}

.section {
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}
.section.alt {
  background: var(--ndbc-navy-05);
  border-block: 1px solid var(--ndbc-navy-10);
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--ndbc-navy-10);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(2, 2, 15, 0.05);
  padding: 1.25rem 1.4rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.card:hover {
  border-color: var(--ndbc-navy-80);
  box-shadow: 0 12px 28px rgba(2, 2, 15, 0.1);
  transform: translateY(-2px);
}
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.card .when {
  color: var(--ndbc-gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.card p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.pill {
  display: inline-block;
  background: var(--ndbc-gold-soft);
  color: #704000;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Kidz workspace: tabs span the page and each tab's section heading keeps its
   copy on the left with the contextual action on the right. */
.admin-shell .kidz-tabs {
  display: flex;
  width: 100%;
  margin-top: 2rem;
  overflow-x: auto;
}

.admin-shell .kidz-section-heading {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: row !important;
  justify-content: space-between;
  gap: 1.5rem;
}

.admin-shell .kidz-section-heading > .mud-stack:first-child {
  min-width: 0;
}

.admin-shell .kidz-tab-panel > .admin-filter-panel,
.admin-shell .kidz-tab-panel > .admin-table-shell {
  width: 100%;
}

.page-header {
  background: #fff;
  border-bottom: 1px solid var(--ndbc-navy-10);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 2rem;
}
.page-header h1 {
  margin-bottom: 0.3rem;
}
.page-header .crumb {
  color: #7a6a55;
  font-size: 0.9rem;
}

.content-body {
  max-width: 70ch;
}
.content-body h2 {
  margin-top: 1.75rem;
}
.content-body blockquote {
  border-left: 3px solid var(--ndbc-gold);
  background: var(--ndbc-gold-05);
  padding: 0.75rem 1rem;
  color: var(--ndbc-navy-soft);
}

/* ---- sermons/events ---- */
.sermon-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}
.sermon-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.notes {
  background: #fff;
  border: 1px solid var(--ndbc-line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  white-space: pre-wrap;
}

/* ---- footer ---- */
.site-footer {
  background: var(--ndbc-navy);
  border-top: 3px solid var(--ndbc-gold);
  color: #c6cde0;
  margin-top: 2.5rem;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}

/* New Dawn Kidz — deliberately brighter than the two-colour main site. */
.kidz-page {
  --kidz-blue: #45c6c8;
  --kidz-red: #f05c4f;
  --kidz-sky: #4ea3ef;
  --kidz-yellow: var(--ndbc-gold);
  --kidz-cream: #fff9ef;
}
.kidz-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 3rem;
  background: var(--kidz-cream);
  color: var(--ndbc-ink);
}
.kidz-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.kidz-hero h1 {
  margin: 0.5rem 0;
  color: var(--ndbc-ink);
  font-family: var(--ndbc-heading);
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 7rem);
  max-width: 9ch;
}
.kidz-title span {
  display: inline-block;
  text-shadow: 3px 3px 0 rgba(2, 0, 14, 0.1);
}
.kidz-title span:nth-child(1) {
  color: var(--kidz-red);
  transform: rotate(-2deg);
}
.kidz-title span:nth-child(2) {
  color: var(--kidz-blue);
  transform: rotate(1deg);
}
.kidz-title span:nth-child(3) {
  color: var(--kidz-sky);
  transform: rotate(-1deg);
  text-decoration: underline;
  text-decoration-color: var(--kidz-yellow);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.08em;
}
.kidz-kicker {
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: none;
}
.kidz-tagline {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--ndbc-heading);
  margin: 0.25rem 0 1rem;
}
.kidz-intro {
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
}
.kidz-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.kidz-actions .btn-outline {
  border-color: var(--ndbc-navy);
  color: var(--ndbc-navy);
}
.kidz-feature-art {
  position: relative;
  min-height: 360px;
}
.kidz-art-layer,
.kidz-art-card {
  position: absolute;
  border-radius: 18px;
}
.kidz-art-layer-one {
  inset: 5% 8% 4% 3%;
  background: var(--kidz-blue);
  transform: rotate(-6deg);
}
.kidz-art-layer-two {
  inset: 4% 2% 5% 10%;
  background: var(--kidz-yellow);
  transform: rotate(7deg);
}
.kidz-art-card {
  inset: 5% 6%;
  display: grid;
  place-items: center;
  background: var(--ndbc-navy);
  border: 12px solid var(--ndbc-paper);
  box-shadow: 0 24px 60px rgba(2, 0, 14, 0.18);
  overflow: hidden;
}
.kidz-art-card img {
  width: 100%;
  height: 75%;
  object-fit: contain;
}
.kidz-art-card p {
  margin: 0 0 1rem;
  color: var(--ndbc-paper);
  font-family: var(--ndbc-heading);
  font-size: 1.5rem;
  text-align: center;
}
.kidz-art-badge {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--kidz-red);
  color: #fff;
  font-family: var(--ndbc-heading);
  font-size: 1.75rem;
  border: 5px solid var(--ndbc-paper);
}
.kidz-info-strip {
  background: var(--kidz-cream);
  padding: 1rem 0 3.5rem;
}
.kidz-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  align-items: start;
}
.kidz-info-grid article {
  position: relative;
  min-height: 190px;
  padding: 4.25rem 1.5rem 1.5rem;
  border: 2px solid;
  border-radius: 26px 26px 26px 8px;
  box-shadow: 0 10px 0 rgba(2, 0, 14, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.kidz-info-grid article:hover {
  transform: translateY(-7px) rotate(-1deg);
  box-shadow: 0 17px 0 rgba(2, 0, 14, 0.1);
}
.kidz-info-grid article:nth-child(even) {
  margin-top: 1.5rem;
  border-radius: 26px 8px 26px 26px;
}
.kidz-info-grid article:nth-child(1) {
  background: #fff5cf;
  border-color: var(--kidz-yellow);
  transform: rotate(-1deg);
}
.kidz-info-grid article:nth-child(2) {
  background: #ffe6e2;
  border-color: var(--kidz-red);
  transform: rotate(1deg);
}
.kidz-info-grid article:nth-child(3) {
  background: #dcf7f7;
  border-color: var(--kidz-blue);
  transform: rotate(-0.7deg);
}
.kidz-info-grid article:nth-child(4) {
  background: #e7f1ff;
  border-color: var(--kidz-sky);
  transform: rotate(0.8deg);
}
.kidz-card-icon {
  position: absolute;
  left: 1.35rem;
  top: 1.1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ndbc-navy);
  color: #fff;
  font-size: 1.2rem;
}
.kidz-card-number {
  position: absolute;
  right: 1.35rem;
  top: 0.85rem;
  font-family: var(--ndbc-heading);
  font-size: 2.1rem;
  line-height: 1;
  color: rgba(2, 0, 14, 0.25);
}
.kidz-info-grid h3 {
  font-family: var(--ndbc-heading);
  font-size: 1.45rem;
  font-weight: 400;
  text-transform: none;
  margin: 0 0 0.55rem;
}
.kidz-info-grid p {
  margin: 0;
  line-height: 1.55;
}
.kidz-body-section {
  background: var(--ndbc-paper);
}
.kidz-page .content-body h2 {
  font-family: var(--ndbc-heading);
  font-weight: 400;
}
.kidz-checkin {
  background: var(--kidz-yellow);
}
.kidz-checkin .btn-primary {
  background: var(--ndbc-navy);
  color: #fff;
  border-color: var(--ndbc-navy);
}
.kidz-checkin-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}
.kidz-checkin h2 {
  margin: 0.5rem 0;
  font-size: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 850px) {
  .kidz-hero-grid,
  .kidz-checkin-grid {
    grid-template-columns: 1fr;
  }
  .kidz-feature-art {
    min-height: 360px;
  }
  .kidz-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .kidz-info-grid {
    grid-template-columns: 1fr;
  }
  .kidz-info-grid article:nth-child(even) {
    margin-top: 0;
  }
  .kidz-feature-art {
    min-height: 300px;
  }
  .kidz-art-badge {
    width: 72px;
    height: 72px;
    font-size: 1.35rem;
  }
  .kidz-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* The create-budget flow is intentionally smaller than the data-heavy portal dialogs. */
.admin-modal.budget-create-modal {
  width: min(480px, calc(100vw - 2rem));
}

.budget-create-modal .admin-modal-header {
  padding: 1.15rem 1.25rem 1rem;
}

.budget-create-modal .admin-modal-content {
  padding: 1.1rem 1.25rem;
}

.budget-create-form {
  gap: 0.75rem;
}

.budget-create-modal .admin-modal-actions {
  margin: 0.35rem -1.25rem -1.1rem;
  padding: 0.85rem 1.25rem;
}

.admin-modal.budget-line-modal {
  width: min(720px, calc(100vw - 2rem));
}

.budget-line-modal .admin-modal-header {
  padding: 1.15rem 1.25rem 1rem;
}

.budget-line-modal .admin-modal-content {
  padding: 1rem 1.25rem;
}

.budget-line-form {
  gap: 0.65rem;
}

.budget-line-modal .admin-modal-actions {
  margin: 0.35rem -1.25rem -1rem;
  padding: 0.85rem 1.25rem;
}

@media (min-width: 700px) {
  .budget-line-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .budget-line-form__full,
  .budget-line-form .admin-modal-actions {
    grid-column: 1 / -1;
  }
}

/* Budget filters fit in one concise row on desktop. */
@media (min-width: 900px) {
  .admin-shell .budget-filter-panel .admin-filter-panel__controls {
    grid-template-columns: minmax(13rem, 1.35fr) minmax(9rem, 0.75fr) minmax(13rem, 1.35fr) auto;
    align-items: center;
  }

  .admin-shell .budget-filter-panel .admin-filter-apply {
    grid-column: auto;
    align-self: center;
    justify-self: end;
  }
}

/* New Dawn Kidz registration and recurring check-in */
.kidz-form-page {
  --kidz-form-ink: #101325;
  --kidz-form-line: rgba(23, 32, 58, 0.16);
  background: #fff8ec;
}

.kidz-form-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 86% 25%, rgba(255, 206, 52, 0.22) 0 8%, transparent 8.5%),
    radial-gradient(circle at 73% 77%, rgba(69, 198, 200, 0.22) 0 11%, transparent 11.5%),
    var(--ndbc-navy);
}

.kidz-form-hero::after {
  position: absolute;
  right: -3rem;
  bottom: -7rem;
  width: 23rem;
  height: 23rem;
  border: 3rem solid rgba(240, 92, 79, 0.14);
  border-radius: 50%;
  content: "";
}

.kidz-form-hero__inner {
  position: relative;
  z-index: 1;
}

.kidz-form-hero img {
  width: clamp(10rem, 19vw, 15rem);
  max-height: 9rem;
  margin-bottom: 1.4rem;
  object-fit: contain;
  object-position: left center;
}

.kidz-form-hero .crumb {
  margin: 0 0 0.5rem;
  color: var(--kidz-yellow);
}

.kidz-form-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.88;
}

.kidz-form-hero p:last-child {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.kidz-form-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.kidz-form-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.kidz-form-aside {
  position: sticky;
  top: 7rem;
}

.kidz-form-aside__eyebrow {
  margin: 0 0 0.65rem;
  color: #b44d22;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kidz-form-aside h2,
.kidz-form-success h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
}

.kidz-form-aside ol {
  padding-left: 1.4rem;
  line-height: 1.8;
}

.kidz-form-card {
  overflow: hidden;
  border: 1px solid var(--kidz-form-line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1.35rem 3rem rgba(23, 32, 58, 0.12);
}

.kidz-form-card__banner {
  padding: 1.15rem 1.75rem;
  color: var(--ndbc-navy);
  background: var(--kidz-yellow);
  font-weight: 800;
}

.kidz-form-step {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--kidz-form-line);
}

.kidz-form-step__heading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.kidz-form-step__heading > span {
  display: grid;
  flex: 0 0 2.65rem;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  color: #fff;
  background: var(--ndbc-navy);
  font-weight: 900;
  place-items: center;
}

.kidz-form-step h2,
.kidz-form-step h3,
.kidz-form-step p {
  margin-top: 0;
}

.kidz-form-step h2 {
  margin-bottom: 0.2rem;
  font-size: 1.55rem;
}

.kidz-form-step__heading p {
  margin-bottom: 0;
  color: #596078;
}

.kidz-fieldset {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--kidz-form-line);
  border-radius: 1rem;
  background: #fffcf8;
}

.kidz-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.kidz-field-grid__wide {
  grid-column: 1 / -1;
}

.kidz-form-card .dawn-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--kidz-form-ink);
  font-weight: 800;
}

.kidz-form-card .dawn-field input,
.kidz-form-card .dawn-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(180, 77, 34, 0.3);
  border-radius: 0.75rem;
  color: var(--kidz-form-ink);
  background: #fff;
  font: inherit;
}

.kidz-form-card .dawn-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.kidz-form-card .dawn-field input:focus,
.kidz-form-card .dawn-field textarea:focus {
  border-color: var(--kidz-blue);
  outline: 3px solid rgba(69, 198, 200, 0.22);
}

.kidz-child-card + .kidz-child-card {
  margin-top: 1rem;
}

.kidz-child-card__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.kidz-child-card__title h3 {
  margin: 0;
}

.kidz-add-button,
.kidz-remove-button {
  border: 0;
  color: var(--ndbc-navy);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.kidz-add-button {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(23, 32, 58, 0.35);
  border-radius: 999px;
}

.kidz-form-submit {
  border-bottom: 0;
}

.kidz-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.8rem;
  background: #fff8ec;
  line-height: 1.55;
}

.kidz-consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--ndbc-navy);
}

.kidz-form-error {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  color: #8d1e19;
  background: #ffe8e5;
  font-weight: 700;
}

.kidz-submit-button {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
  border: 0;
  border-radius: 0.75rem;
  color: #fff;
  background: var(--ndbc-navy);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.kidz-submit-button:hover {
  background: #252e50;
}

.kidz-submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.kidz-form-success {
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.kidz-form-success > img {
  width: 11rem;
  margin-bottom: 1rem;
}

.kidz-pickup-codes {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0;
}

.kidz-pickup-codes > div {
  padding: 1rem;
  border: 2px dashed var(--kidz-blue);
  border-radius: 0.85rem;
  background: #f0ffff;
}

.kidz-pickup-codes span,
.kidz-pickup-codes strong {
  display: block;
}

.kidz-pickup-codes strong {
  margin-top: 0.2rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.18em;
}

.kidz-form-card__body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.kidz-checkin-card .lead {
  color: #596078;
}

@media (max-width: 800px) {
  .kidz-form-layout {
    grid-template-columns: 1fr;
  }

  .kidz-form-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .kidz-field-grid {
    grid-template-columns: 1fr;
  }

  .kidz-field-grid__wide {
    grid-column: auto;
  }

  .kidz-form-step {
    padding: 1.25rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .kidz-form-hero,
  .kidz-form-aside,
  .kidz-form-success > img,
  .kidz-form-success > p,
  .kidz-form-success > h2,
  .kidz-form-success > button {
    display: none !important;
  }

  .kidz-form-section,
  .kidz-form-success {
    padding: 0;
  }

  .kidz-form-layout {
    display: block;
  }

  .kidz-form-card {
    border: 0;
    box-shadow: none;
  }
}

/* ---- Admin portal brand theme ---- */
.admin-shell {
  background: var(--ndbc-paper);
  color: var(--ndbc-navy);
  font-family: var(--ndbc-ui);
}
.admin-shell h1,
.admin-shell h2,
.admin-shell h3,
.admin-shell h4,
.admin-data-strong,
.admin-user-name strong {
  color: var(--ndbc-navy) !important;
  font-family: var(--ndbc-ui);
}
.admin-sidebar {
  background: var(--ndbc-navy);
}
.admin-brand span,
.admin-version {
  color: rgba(244, 246, 255, 0.72);
}
.admin-nav a {
  color: rgba(244, 246, 255, 0.86);
}
.admin-nav-icon {
  color: rgba(244, 246, 255, 0.68);
}
.admin-nav a:hover {
  background: rgba(244, 246, 255, 0.1);
  color: #fff;
}
.admin-nav a.active {
  background: var(--ndbc-yellow);
  color: var(--ndbc-navy);
}
.admin-nav a.active .admin-nav-icon {
  color: var(--ndbc-navy);
}
.admin-public-link {
  border-color: rgba(244, 246, 255, 0.3);
  color: #fff;
}
.admin-public-link:hover {
  border-color: var(--ndbc-yellow);
  background: rgba(243, 198, 35, 0.12);
}
.admin-workspace,
.admin-main {
  background: var(--ndbc-paper);
}
.admin-topbar {
  border-color: var(--ndbc-line);
  background: #fff;
}

.admin-shell .admin-filter-panel__controls > * {
  min-width: 0;
}
.admin-menu-collapse-button {
  color: var(--ndbc-navy);
}
.admin-menu-collapse-button:hover,
.admin-menu-collapse-button:focus-visible {
  background: var(--ndbc-navy-05);
  color: var(--ndbc-orange);
}
.admin-account,
.admin-topbar-title span,
.admin-topbar > div:first-child span {
  color: var(--ndbc-navy-80);
}
.admin-account button {
  background: var(--ndbc-navy);
  color: #fff;
}
.admin-eyebrow {
  color: var(--ndbc-orange) !important;
}
.admin-add-button,
.admin-modal-primary,
.kidz-active-card > button,
.kidz-checkout-form button,
.kidz-history-filters > button {
  background: var(--ndbc-yellow);
  box-shadow: 0 4px 0 rgba(235, 131, 23, 0.28);
  color: var(--ndbc-navy);
}
.admin-add-button:hover,
.admin-modal-primary:hover,
.kidz-active-card > button:hover,
.kidz-checkout-form button:hover,
.kidz-history-filters > button:hover {
  background: var(--ndbc-gold-20);
}
.admin-stats article,
.admin-panel,
.admin-data-table,
.admin-message-card,
.admin-message-detail,
.kidz-active-card,
.admin-modal,
.signout-modal,
.admin-main .mud-paper,
.admin-main .mud-table-container {
  border-color: var(--ndbc-line) !important;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 55, 92, 0.07) !important;
}
.admin-actions a,
.admin-message-actions button {
  border-color: var(--ndbc-line);
  background: var(--ndbc-navy-05);
  color: var(--ndbc-navy);
}
.admin-actions a:hover,
.admin-message-actions button:hover {
  border-color: var(--ndbc-yellow);
  background: var(--ndbc-gold-05);
}
.admin-data-table .mud-table-head,
.admin-main .mud-table-head {
  background: var(--ndbc-navy-05);
}
.admin-data-table .mud-table-head .mud-table-cell,
.admin-message-meta,
.kidz-active-card span,
.kidz-checkout-form > label {
  color: var(--ndbc-navy-80);
}
.admin-data-table .mud-table-body .mud-table-cell,
.admin-main .mud-table-cell {
  border-color: var(--ndbc-line);
}
.admin-message-card:hover,
.admin-message-card.selected {
  border-color: var(--ndbc-orange) !important;
  box-shadow: 0 12px 28px rgba(16, 55, 92, 0.1) !important;
}
.admin-message-unread {
  background: var(--ndbc-orange);
}
.admin-message-reply,
.kidz-data-table a {
  color: var(--ndbc-orange);
}
.kidz-tabs {
  border-color: var(--ndbc-line);
}
.kidz-tabs button {
  color: var(--ndbc-navy-80);
}
.kidz-tabs button:hover,
.kidz-tabs button.active {
  color: var(--ndbc-navy);
}
.kidz-tabs button.active {
  border-bottom-color: var(--ndbc-orange);
}
.kidz-tabs button.active span,
.kidz-empty-state > span,
.admin-modal-icon {
  background: var(--ndbc-gold-05);
  color: var(--ndbc-orange);
}
.kidz-checkout-form input {
  border-color: var(--ndbc-line);
}
.kidz-checkout-form input:focus {
  border-color: var(--ndbc-orange);
  outline-color: rgba(235, 131, 23, 0.18);
}
.admin-modal-backdrop,
.signout-modal-backdrop {
  background: rgba(16, 55, 92, 0.68);
}
.admin-modal-close {
  border-color: var(--ndbc-line);
  color: var(--ndbc-navy-80);
}
.admin-modal-close:hover {
  background: var(--ndbc-navy-05);
}

/* These declarations intentionally win over legacy page-specific admin CSS. */
.admin-shell,
.admin-workspace,
.admin-main {
  background: var(--ndbc-paper) !important;
}
.admin-sidebar {
  background: var(--ndbc-navy) !important;
}
.admin-topbar {
  border-color: var(--ndbc-line) !important;
  background: #fff !important;
}
.admin-nav a {
  color: rgba(244, 246, 255, 0.86) !important;
}
.admin-nav a:hover {
  background: rgba(244, 246, 255, 0.1) !important;
  color: #fff !important;
}
.admin-nav a.active {
  background: var(--ndbc-yellow) !important;
  color: var(--ndbc-navy) !important;
}
.admin-nav a.active .admin-nav-icon {
  color: var(--ndbc-navy) !important;
}
.admin-account button {
  background: var(--ndbc-navy) !important;
  color: #fff !important;
}
.admin-add-button,
.admin-modal-primary,
.kidz-active-card > button,
.kidz-checkout-form button,
.kidz-history-filters > button {
  background: var(--ndbc-yellow) !important;
  color: var(--ndbc-navy) !important;
}
.admin-stats article,
.admin-panel,
.admin-data-table,
.admin-message-card,
.admin-message-detail,
.kidz-active-card,
.admin-modal,
.signout-modal,
.admin-main .mud-paper,
.admin-main .mud-table-container {
  border-color: var(--ndbc-line) !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(16, 55, 92, 0.07) !important;
}
.admin-actions a,
.admin-message-actions button,
.admin-data-table .mud-table-head,
.admin-main .mud-table-head {
  background: var(--ndbc-navy-05) !important;
  color: var(--ndbc-navy) !important;
}
.kidz-tabs button.active {
  border-bottom-color: var(--ndbc-orange) !important;
  color: var(--ndbc-navy) !important;
}
.admin-modal-backdrop,
.signout-modal-backdrop {
  background: rgba(16, 55, 92, 0.68) !important;
}

/* ---- App-wide readable type floor ----
   Regular copy remains 16px or larger; frequently used labels never fall
   below 14px, including the public site, Kidz tools and administration. */
body {
  font-size: 1rem;
  line-height: 1.5;
}

small,
.dawn-kicker,
.dawn-actions .btn,
.dawn-sunday-copy .btn,
.dawn-launch-note strong,
.dawn-launch-note span,
.dawn-watch,
.dawn-kidz-heading > a,
.dawn-form-card .mud-button-root,
.dawn-login-form button,
.dawn-kidz-eyebrow,
.dawn-kidz-invite-label,
.kidz-refresh .kidz-kicker,
.kidz-expect-heading p,
.dawn-coming-card .btn,
.admin-brand span,
.admin-version,
.admin-nav a::after,
.admin-topbar-title span,
.admin-topbar > div:first-child span,
.admin-data-table .mud-table-head .mud-table-cell,
.admin-data-mono,
.admin-message-meta,
.kidz-tabs button span,
.kidz-active-card span,
.kidz-checkout-form > label,
.admin-user-name > span,
.admin-eyebrow {
  font-size: 0.875rem !important;
}

.admin-shell .mud-table-cell,
.admin-shell .mud-input,
.admin-shell .mud-select,
.admin-shell button,
.admin-shell input,
.admin-shell textarea,
.admin-shell label {
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
}

/* ---- Public home: component port from the supplied Figma app ---- */
.dawn-hero,
.dawn-welcome,
.dawn-sunday,
.dawn-scripture,
.dawn-kidz-feature {
  --dawn-dark: #10375c;
  --dawn-gold: #f3c623;
  --dawn-orange: #eb8317;
  --dawn-cream: #f4f6ff;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-hero h1,
.dawn-hero h2,
.dawn-welcome h2,
.dawn-welcome h3,
.dawn-sunday h2,
.dawn-scripture blockquote,
.dawn-kidz-feature h2,
.dawn-kidz-feature strong {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  text-transform: none;
}
.dawn-kicker {
  color: var(--dawn-orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.dawn-hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background: var(--dawn-dark);
  color: #fff;
}
.dawn-hero-media {
  position: absolute;
  inset: -18px;
  background:
    linear-gradient(
      90deg,
      rgba(16, 55, 92, 0.98),
      rgba(16, 55, 92, 0.82) 43%,
      rgba(16, 55, 92, 0.3)
    ),
    radial-gradient(circle at 82% 42%, rgba(235, 131, 23, 0.24), transparent 34%),
    linear-gradient(0deg, var(--dawn-dark), transparent 28%),
    url("church-hero-v2.png") center/cover;
  filter: blur(9px);
  transform: scale(1.035);
}
.dawn-hero-symbol {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(2rem, 7vw, 8rem);
  width: min(42vw, 700px);
  max-height: 58%;
  object-fit: contain;
  opacity: 0.34;
  mix-blend-mode: screen;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
  pointer-events: none;
  transform: translateY(-50%);
}
.dawn-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 740px;
  display: flex;
  align-items: center;
}
.dawn-hero-copy {
  max-width: 780px;
  padding: 5rem 0 7rem;
}
.dawn-hero .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--dawn-gold);
}
.dawn-hero .dawn-kicker span {
  width: 40px;
  height: 1px;
  background: var(--dawn-gold);
}
.dawn-hero h1 {
  margin: 1.8rem 0 0;
  color: #fff;
  font-size: clamp(5rem, 8.5vw, 8.5rem);
  line-height: 0.83;
}
.dawn-hero h1 em {
  display: inline-block;
  margin-left: clamp(2rem, 8vw, 7rem);
  color: var(--dawn-gold);
  font-style: italic;
}
.dawn-hero-copy > p:last-of-type {
  max-width: 590px;
  margin-top: 2.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.2rem;
  line-height: 1.6;
}
.dawn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}
.dawn-actions .btn,
.dawn-sunday-copy .btn {
  border-radius: 999px;
  padding: 0.95rem 1.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.dawn-launch-note {
  position: absolute;
  right: 0;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: right;
  text-transform: uppercase;
}
.dawn-launch-note div {
  display: grid;
  gap: 0.25rem;
}
.dawn-launch-note strong {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.dawn-launch-note span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.dawn-launch-note a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}
.app-arrow-icon {
  flex: 0 0 auto;
  width: 1.25rem !important;
  height: 1.25rem !important;
  color: currentColor;
  vertical-align: middle;
}
.app-arrow-wrap {
  line-height: 0;
}
.app-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.dawn-welcome {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--dawn-cream);
  color: var(--dawn-dark);
}
.dawn-welcome-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 4rem;
}
.dawn-welcome-heading > div > p:last-child {
  max-width: 320px;
  color: rgba(16, 55, 92, 0.72);
  font-size: 0.9rem;
}
.dawn-welcome h2 {
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 6.2rem);
  line-height: 0.95;
}
.dawn-welcome h2 em {
  color: var(--dawn-orange);
}
.dawn-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border-block: 1px solid rgba(16, 55, 92, 0.16);
}
.dawn-pillars a {
  min-height: 310px;
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(16, 55, 92, 0.16);
  color: var(--dawn-dark);
  text-decoration: none;
}
.dawn-pillars a:first-child {
  padding-left: 0;
}
.dawn-pillars a:last-child {
  border: 0;
}
.dawn-pillars small {
  color: var(--dawn-orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.dawn-pillars h3 {
  margin: 3.2rem 0 0;
  font-size: 1.75rem;
}
.dawn-pillars p {
  max-width: 350px;
  color: rgba(16, 55, 92, 0.72);
}
.dawn-pillars span {
  display: block;
  margin-top: 2rem;
  font-size: 1.4rem;
  transition: transform 0.2s;
}
.dawn-pillars a:hover span {
  transform: translateX(0.5rem);
}

.dawn-sunday {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  background: var(--dawn-dark);
  color: #fff;
}
.dawn-sunday-image {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 60%),
    url("online-church-launch-thumbnail.jpeg") center/cover;
}
.dawn-watch {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dawn-watch b {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dawn-gold);
  color: var(--dawn-dark);
}
.dawn-sunday-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  padding: 3rem clamp(2rem, 6vw, 6rem);
}
.dawn-sunday-copy::after {
  position: absolute;
  right: -9rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(243, 198, 35, 0.25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.dawn-sunday-copy > * {
  position: relative;
  z-index: 1;
}
.dawn-sunday-copy .dawn-kicker {
  color: var(--dawn-gold);
}
.dawn-sunday h2 {
  margin: 0.75rem 0;
  color: #fff;
  font-size: clamp(3.5rem, 5vw, 5.5rem);
}
.dawn-sunday .dawn-sunday-copy h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
}
.dawn-sunday-copy > p:not(.dawn-kicker) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  line-height: 1.5;
}
.dawn-sunday ul {
  width: 100%;
  margin: 1.4rem 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}
.dawn-sunday li {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.dawn-sunday li span {
  color: var(--dawn-gold);
}
.dawn-sunday .dawn-sunday-detail-icon {
  width: 1.15rem;
  flex: 0 0 1.15rem;
  font-size: 1.15rem;
  line-height: 1;
}

.dawn-scripture {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--dawn-gold);
  color: var(--dawn-dark);
}
.dawn-scripture::after {
  content: "N";
  position: absolute;
  right: 2rem;
  top: 50%;
  color: rgba(16, 55, 92, 0.06);
  font-size: clamp(14rem, 21vw, 22rem);
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}
.dawn-scripture-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 5rem;
  align-items: end;
}
.dawn-quote {
  display: none;
}
.dawn-scripture blockquote {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.02;
}
.dawn-scripture small {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dawn-scripture p {
  max-width: 450px;
  font-size: 1.1rem;
}

.dawn-kidz-feature {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--dawn-cream);
  color: var(--dawn-dark);
}
.dawn-kidz-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 1.25rem;
}
.dawn-kidz-heading h2 {
  margin: 1rem 0 0;
  font-size: clamp(3.5rem, 5vw, 5rem);
}
.dawn-kidz-heading > a {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 0.8rem;
  color: var(--dawn-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.dawn-kidz-heading > a span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 55, 92, 0.24);
  border-radius: 50%;
}
.dawn-kidz-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.dawn-kidz-grid > a {
  min-height: 500px;
  border-radius: 2rem;
  color: var(--dawn-dark);
  text-decoration: none;
  overflow: hidden;
}
.dawn-kidz-image {
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  background-color: var(--dawn-dark);
  background-image:
    linear-gradient(135deg, rgba(235, 131, 23, 0.32), transparent 48%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.08) 68%), url("church-kidz-v2.png");
  background-position: center;
  background-size: cover;
}
.dawn-kidz-image strong {
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 4rem);
}
.dawn-kidz-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  background: var(--dawn-orange);
}
.dawn-kidz-card > span {
  font-size: 2.5rem;
}
.dawn-kidz-card strong {
  font-size: 2.5rem;
}
.dawn-kidz-card p {
  max-width: 34ch;
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .dawn-welcome-heading,
  .dawn-scripture-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .dawn-sunday {
    grid-template-columns: 1fr;
  }
  .dawn-kidz-grid {
    grid-template-columns: 1fr;
  }
  .dawn-kidz-card {
    min-height: 360px !important;
  }
}
@media (max-width: 680px) {
  .dawn-hero,
  .dawn-hero-inner {
    min-height: 680px;
  }
  .dawn-hero h1 {
    font-size: clamp(4.3rem, 22vw, 6rem);
  }
  .dawn-hero h1 em {
    margin-left: 1.2rem;
  }
  .dawn-launch-note {
    display: none;
  }
  .dawn-actions .btn {
    width: 100%;
    text-align: center;
  }
  .dawn-pillars {
    grid-template-columns: 1fr;
  }
  .dawn-pillars a,
  .dawn-pillars a:first-child {
    min-height: 240px;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  .dawn-pillars h3 {
    margin-top: 2rem;
  }
  .dawn-kidz-heading {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .dawn-kidz-heading > a {
    justify-self: start;
  }
  .dawn-kidz-grid > a {
    min-height: 430px;
  }
  .dawn-kidz-image,
  .dawn-kidz-card {
    padding: 2rem;
  }
}

/* ---- Ministries page ---- */
.dawn-ministries {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-bottom: 4px solid #ffb000;
  background: #f8f7f3;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 2.5rem;
}
.dawn-ministry-grid article {
  min-height: 215px;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.17);
}
.dawn-ministry-grid small {
  color: var(--ndbc-orange);
  font-family: monospace;
  font-size: 0.875rem;
  font-weight: 700;
}
.dawn-ministry-grid h2 {
  margin: 2.7rem 0 0;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: none;
}
.dawn-ministry-grid p {
  max-width: 430px;
  margin: 1rem 0 0;
  color: rgba(0, 0, 0, 0.57);
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .dawn-ministry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .dawn-ministry-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
  .dawn-ministry-grid article {
    min-height: 190px;
  }
}

/* ---- Reusable split form section (giving/contact) ---- */
.dawn-split-form {
  padding: clamp(5rem, 8vw, 7rem) 0;
  border-bottom: 4px solid #ffb000;
  background: #f8f7f3;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-split-form-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.dawn-split-form-copy h2 {
  margin: 0;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-transform: none;
}
.dawn-split-form-copy p {
  max-width: 440px;
  color: rgba(0, 0, 0, 0.56);
  line-height: 1.7;
}
.dawn-form-card {
  width: 100%;
  max-width: 620px;
  justify-self: end;
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
  border: 1px solid var(--ndbc-line);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16, 55, 92, 0.1);
}
.dawn-form-card .dawn-kicker {
  margin: 0 0 1rem;
  color: var(--ndbc-orange);
}
.dawn-form-card .mud-form {
  display: grid;
  gap: 1.25rem !important;
}
.dawn-form-row,
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.dawn-field {
  display: grid;
  min-width: 0;
  gap: 0.5rem;
}
.dawn-field > label {
  color: var(--ndbc-navy);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}
.dawn-field__required {
  margin-left: 0.08em;
}
.dawn-form-card .mud-input-control {
  margin: 0;
}
.dawn-form-card .mud-input-root {
  height: 48px;
  min-height: 48px;
  border-radius: 0.65rem;
  background: #fff;
}
.dawn-form-card .mud-input-slot {
  padding: 0.45rem 0.8rem !important;
}
.dawn-form-card .mud-input-outlined-border {
  border-color: rgba(16, 55, 92, 0.22) !important;
  border-radius: 0.65rem !important;
}
.dawn-form-card .mud-input-control:focus-within .mud-input-outlined-border {
  border-color: #101d26 !important;
  box-shadow: none;
}
.dawn-form-card .mud-input-slot:focus {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none;
}
.dawn-form-card .mud-input-slot::placeholder {
  color: rgba(16, 29, 38, 0.48);
  opacity: 1;
}
.dawn-form-card .mud-button-root.mud-button-filled-primary {
  min-height: 46px;
  margin-top: 0.25rem;
  padding: 0.75rem 1.5rem !important;
  border-radius: 999px !important;
  background: var(--ndbc-gold) !important;
  color: var(--ndbc-navy) !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dawn-form-card .mud-button-root.mud-button-filled-primary:hover {
  background: var(--ndbc-orange) !important;
  color: #fff !important;
}
.dawn-form-card .dawn-message-field .mud-input-root {
  height: 104px;
  min-height: 104px;
  align-items: flex-start;
}
.dawn-form-card .dawn-message-field textarea.mud-input-slot {
  width: 100%;
  height: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box;
  resize: none;
}

@media (max-width: 620px) {
  .dawn-form-row,
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Account login: matches the public contact/giving form system ---- */
.dawn-account-login {
  min-height: calc(100svh - 230px);
  display: grid;
  place-items: center;
  padding: clamp(3rem, 7vw, 6rem) 1.25rem;
  border-bottom: 4px solid var(--ndbc-gold);
  background:
    radial-gradient(circle at 18% 12%, rgba(243, 198, 35, 0.14), transparent 28%),
    radial-gradient(circle at 86% 84%, rgba(235, 131, 23, 0.1), transparent 30%),
    var(--ndbc-navy-05);
  color: var(--ndbc-navy);
  font-family: var(--ndbc-ui);
}
.dawn-login-card {
  width: min(100%, 500px);
  padding: clamp(1.4rem, 3vw, 1.85rem);
  border: 1px solid var(--ndbc-line);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 22px 55px rgba(16, 55, 92, 0.14);
}
.dawn-login-card .dawn-kicker {
  margin: 0 0 1rem;
  color: var(--ndbc-orange);
}
.dawn-login-card h1 {
  margin: 0;
  color: var(--ndbc-navy);
  font-family: var(--ndbc-ui);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-transform: none;
}
.dawn-login-intro {
  margin: 0.65rem 0 1.25rem;
  color: var(--ndbc-navy-80);
  line-height: 1.6;
}
.dawn-login-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(179, 38, 30, 0.18);
  border-radius: 0.75rem;
  background: #fdecec;
  color: #8f211b;
}
.dawn-login-form {
  display: grid;
  gap: 0.75rem;
}
.dawn-login-field {
  display: grid;
  gap: 0.35rem;
}
.dawn-login-field label {
  color: var(--ndbc-navy);
  font-size: 0.8rem;
  font-weight: 700;
}
.dawn-login-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ndbc-navy-10);
  border-radius: 1rem;
  outline: 0;
  background: var(--ndbc-navy-05);
  color: var(--ndbc-navy);
  font: inherit;
}
.dawn-login-field input:focus {
  border-color: var(--ndbc-orange);
  box-shadow: 0 0 0 3px rgba(235, 131, 23, 0.2);
}
.dawn-login-form button {
  min-height: 46px;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--ndbc-gold);
  color: var(--ndbc-navy);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dawn-login-form button:hover {
  background: var(--ndbc-orange);
  color: #fff;
}
.dawn-login-form button:focus-visible {
  outline: 3px solid rgba(235, 131, 23, 0.35);
  outline-offset: 3px;
}

.account-site .site-header {
  border-bottom: 1px solid rgba(244, 246, 255, 0.12);
  background: var(--ndbc-navy);
}

.account-site .site-header-inner {
  min-height: 88px;
}

.account-back-link {
  color: #fff;
  font-weight: 650;
}

.account-back-link:hover {
  color: var(--ndbc-gold);
}

/* Login route — focused editorial split screen. */
.account-site:has(.login-refresh) > .site-header,
.account-site:has(.login-refresh) > .site-footer {
  display: none;
}

.account-site:has(.login-refresh) > .site-main {
  min-height: 100vh;
  padding: 0;
}

.login-refresh {
  --login-dark: #1b2e30;
  --login-ink: #101d26;
  --login-gold: #f3c623;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.15fr) minmax(520px, 0.85fr);
  background: linear-gradient(to right, var(--login-dark) 0 57.5%, #fff 57.5%);
}

.login-brand-panel {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 6vw, 6rem);
  background: var(--login-dark);
  color: #fff;
}

.login-brand-panel::before,
.login-brand-panel::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.login-brand-panel::before {
  right: -11rem;
  bottom: -16rem;
  width: 43rem;
  height: 43rem;
  border: 1px solid rgba(243, 198, 35, 0.13);
}

.login-brand-panel::after {
  right: -2rem;
  bottom: -22rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.login-home-link,
.login-brand-copy,
.login-brand-note {
  position: relative;
  z-index: 1;
}

.login-home-link {
  display: block;
  width: clamp(14rem, 19vw, 18rem);
}

.login-home-link img {
  display: block;
  width: 100%;
}

.login-brand-copy > p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.login-brand-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.7rem, 6vw, 6.8rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-transform: none !important;
}

.login-brand-note {
  max-width: 38rem;
  margin: clamp(3rem, 10vh, 7rem) 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

.login-form-panel {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(2rem, 6vw, 6rem) clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.login-back-link {
  position: absolute;
  top: clamp(2rem, 4vw, 3rem);
  right: clamp(2rem, 5vw, 5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--login-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.login-back-link:hover {
  color: #806300;
}

.login-refresh .dawn-login-card {
  width: min(100%, 520px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.login-refresh .dawn-login-card .dawn-kicker {
  margin-bottom: 1rem;
  color: #9c7510 !important;
}

.login-refresh .dawn-login-card h2 {
  margin: 0;
  color: var(--login-ink);
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  font-weight: 380;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: none !important;
}

.login-refresh .dawn-login-intro {
  margin: 0.9rem 0 2.25rem;
  color: rgba(16, 29, 38, 0.64);
}

.login-refresh .dawn-login-form {
  gap: 1.2rem;
}

.login-refresh .dawn-login-field {
  gap: 0.5rem;
}

.login-refresh .dawn-login-field label {
  color: var(--login-ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.login-refresh .dawn-login-field label span {
  margin-left: 0.08em;
}

.login-refresh .dawn-login-field input {
  height: 48px;
  min-height: 48px;
  padding: 0.55rem 0.85rem;
  border-color: rgba(16, 29, 38, 0.22);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--login-ink);
  font-size: 1rem;
}

.login-refresh .dawn-login-field input::placeholder {
  color: rgba(16, 29, 38, 0.42);
  opacity: 1;
}

.login-refresh .dawn-login-error {
  border-radius: 0.85rem;
}

.login-refresh .dawn-login-field input:focus {
  border-color: var(--login-ink) !important;
  box-shadow: none !important;
  outline: none;
}

.login-refresh .dawn-login-field small {
  color: rgba(16, 29, 38, 0.58);
  font-size: 0.82rem;
  line-height: 1.5;
}

.login-refresh .login-code-input {
  height: 64px !important;
  font-size: 1.55rem !important;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-align: center;
}

.login-identity {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  margin: -0.9rem 0 1.5rem;
  border: 1px solid rgba(16, 29, 38, 0.12);
  border-radius: 0.75rem;
  color: var(--login-ink);
  font-size: 0.9rem;
}

.login-identity-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(213, 169, 15, 0.18);
  font-weight: 750;
}

.login-identity > span:nth-child(2) {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-identity > a {
  flex: 0 0 auto;
}

.login-identity a,
.login-resend-form button {
  color: #775b08;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.login-resend-form {
  margin: 1.2rem 0 0;
  color: rgba(16, 29, 38, 0.62);
  font-size: 0.86rem;
  text-align: center;
}

.login-resend-form button {
  padding: 0;
  border: 0;
  background: transparent;
}

.login-refresh .dawn-login-form > .login-submit {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.75rem 0.7rem 1.5rem !important;
  margin-top: 0.3rem;
  border: 0 !important;
  border-radius: 15px !important;
  background: var(--login-gold) !important;
  color: var(--login-ink) !important;
  font-size: 1rem;
  font-weight: 650;
  text-align: left;
}

.login-refresh .dawn-login-form > .login-submit:hover {
  background: #dfb516 !important;
  color: var(--login-ink) !important;
}

.login-refresh .login-submit-icon {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 2.15rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 29, 38, 0.1);
}

.login-refresh .login-submit-icon .mud-icon-root {
  font-size: 1.15rem;
}

.login-refresh .dawn-login-form > .login-submit:focus,
.login-refresh .dawn-login-form > .login-submit:focus-visible {
  outline: 0 !important;
  box-shadow: inset 0 0 0 2px rgba(16, 29, 38, 0.28) !important;
}

.login-help {
  margin: 1.5rem 0 0;
  color: rgba(16, 29, 38, 0.62);
  font-size: 0.88rem;
  text-align: center;
}

.login-help a {
  color: var(--login-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 900px) {
  .login-refresh {
    grid-template-columns: 1fr;
    background: #fff;
  }

  .login-brand-panel {
    min-height: 440px;
    padding: 3rem 1.5rem;
  }

  .login-form-panel {
    min-height: 620px;
    padding: 6.5rem 1.5rem 4rem;
  }

  .login-back-link {
    top: 2rem;
    right: 1.5rem;
  }
}

.account-site .site-footer {
  padding-block: 1.5rem;
  border-top: 4px solid var(--ndbc-gold);
  background: var(--ndbc-navy);
}

.account-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.account-footer-inner .footer-logo {
  width: 170px;
}

.account-footer-inner .footer-copy {
  margin: 0;
  color: rgba(244, 246, 255, 0.75);
}

@media (max-width: 600px) {
  .account-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .dawn-split-form-grid {
    grid-template-columns: 1fr;
  }
  .dawn-form-card {
    max-width: none;
    justify-self: stretch;
  }
}

/* ---- Reusable event collection ---- */
.events-list {
  padding-block: clamp(6rem, 9vw, 8rem) clamp(4.5rem, 7vw, 6.5rem);
  border-bottom: 4px solid var(--ndbc-gold);
  background: #f5f5f2;
  color: #10375c;
}
.public-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3.5rem, 5vw, 5rem);
}
.public-page-intro .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #806300 !important;
}
.public-page-intro .dawn-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #f3c623;
  content: "";
}
.public-page-intro h1 {
  display: flex;
  flex-direction: column;
  max-width: 12ch;
  margin: 0.8rem 0 0;
  color: #10375c;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3.75rem, 6vw, 6.25rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.public-page-intro h1 > span {
  display: block;
}
.public-page-intro-copy > p {
  max-width: 31rem;
  margin: 0;
  color: rgba(16, 55, 92, 0.72);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}
.public-page-intro-band {
  padding-block: clamp(6rem, 9vw, 8rem) 0;
  background: #f5f5f2;
  color: #10375c;
}
.events-preview-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  background: rgba(243, 198, 35, 0.22);
  color: #10375c;
  font-size: 0.8rem;
  font-weight: 700;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.event-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.35rem;
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(16, 55, 92, 0.07);
  color: #10375c;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}
.event-card:hover {
  color: #10375c;
  box-shadow:
    inset 0 0 0 1px rgba(16, 55, 92, 0.08),
    0 1.25rem 2.5rem rgba(16, 55, 92, 0.11);
  transform: translateY(-4px);
}
.event-card:focus-visible {
  color: #10375c;
  outline: 3px solid var(--ndbc-gold);
  outline-offset: 4px;
}
.event-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 23rem;
  align-items: end;
  background: #10375c;
  color: #fff;
}
.event-card-featured:hover,
.event-card-featured:focus-visible {
  color: #fff;
}
.event-date {
  display: grid;
  place-items: center;
  align-content: center;
  width: 4.75rem;
  height: 5.25rem;
  border-radius: 1rem;
  background: #f3c623;
  color: #10375c;
  line-height: 1;
}
.event-date span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-date strong {
  margin-top: 0.35rem;
  font-size: 2rem;
  font-weight: 500;
}
.event-card-2 .event-date {
  background: #eb8317;
  color: #fff;
}
.event-card-3 .event-date {
  background: #10375c;
  color: #fff;
}
.event-card-copy {
  align-self: end;
}
.event-card small {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0.65;
  text-transform: uppercase;
}
.event-card h2 {
  margin: 0.75rem 0 0;
  color: inherit;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.event-card-featured h2 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
}
.event-card p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.7;
}
.event-location {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.event-card-action {
  align-self: end;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.event-card:not(.event-card-featured) .event-card-action {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
}
.events-invite {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: 0;
  background: #192a2d;
  color: #fff;
}
.events-invite::after {
  position: absolute;
  top: 50%;
  right: -8rem;
  width: clamp(20rem, 34vw, 31rem);
  aspect-ratio: 1;
  border: 1px solid rgba(243, 198, 35, 0.28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}
.events-invite > * {
  position: relative;
  z-index: 1;
}
.events-invite .dawn-kicker {
  margin: 0 0 0.75rem;
  color: #f3c623;
}
.events-invite h2 {
  max-width: 42rem;
  margin: 0;
  color: #fff;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
}
.events-invite .btn {
  flex: 0 0 auto;
  border-color: #f3c623;
  background: #f3c623;
  color: #10375c;
}
@media (max-width: 900px) {
  .public-page-intro {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .event-card-featured {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .event-card-featured .event-card-action {
    display: none;
  }
}
@media (max-width: 680px) {
  .events-list {
    padding-block: 4.5rem 4rem;
  }
  .public-page-intro-band {
    padding-top: 4.5rem;
  }
  .public-page-intro {
    margin-bottom: 2.75rem;
  }
  .public-page-intro h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .event-card-featured {
    grid-column: auto;
    min-height: 21rem;
  }
  .event-card {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    min-height: 20rem;
    padding: 1.35rem;
  }
  .event-date {
    width: 3.75rem;
    height: 4.4rem;
    border-radius: 0.8rem;
  }
  .event-date strong {
    font-size: 1.6rem;
  }
  .event-card:not(.event-card-featured) .event-card-action {
    right: 1.35rem;
    bottom: 1.35rem;
  }
  .events-invite {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.75rem;
  }
  .events-invite .btn {
    width: 100%;
    text-align: center;
  }
}

.dawn-event-list {
  padding: clamp(5rem, 8vw, 7rem) 0;
  border-bottom: 4px solid #ffb000;
  background: #f8f7f3;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.dawn-event-grid article,
.dawn-event-grid .dawn-event-card {
  display: block;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.5rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
.dawn-event-grid .dawn-event-card:hover {
  border-color: rgba(16, 55, 92, 0.28);
  box-shadow: 0 1rem 2.25rem rgba(16, 55, 92, 0.09);
  transform: translateY(-3px);
}
.dawn-event-grid .dawn-event-card:focus-visible,
.dawn-ministry-card:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 4px;
}
.dawn-event-grid small {
  color: var(--ndbc-orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dawn-event-grid h2 {
  margin: 2.5rem 0 0.75rem;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: none;
}
.dawn-event-grid p {
  color: rgba(0, 0, 0, 0.57);
}
.dawn-event-grid .dawn-event-location {
  color: #11121a;
  font-weight: 700;
}
@media (max-width: 900px) {
  .dawn-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .dawn-event-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- New Dawn Kidz interior page ---- */
.dawn-kidz-page {
  --kidz-yellow: #ffbf23;
  --kidz-red: #f06a5f;
  --kidz-blue: #65b9ee;
  --kidz-teal: #62cfca;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-kidz-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 680px);
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 15%, rgba(240, 106, 95, 0.17), transparent 25%), #080812;
  color: #fff;
}
.dawn-kidz-hero-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(4rem, 7vw, 6rem);
}
.dawn-kidz-hero-copy {
  position: relative;
  z-index: 2;
}
.dawn-kidz-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: var(--kidz-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dawn-kidz-eyebrow span {
  width: 38px;
  height: 2px;
  background: var(--kidz-yellow);
}
.dawn-kidz-hero h1 {
  max-width: 850px;
  margin: 1.6rem 0 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(4rem, 6.7vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.91;
  text-transform: none;
}
.dawn-kidz-hero h1 em {
  display: block;
  color: var(--kidz-red);
  font-style: normal;
}
.dawn-kidz-hero-copy > p:not(.dawn-kidz-eyebrow) {
  max-width: 610px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}
.dawn-kidz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.dawn-kidz-actions .btn {
  min-height: 48px;
  border-radius: 999px;
  padding-inline: 1.5rem;
}
.dawn-kidz-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}
.dawn-kidz-art {
  position: relative;
  min-height: 390px;
}
.dawn-kidz-art-card {
  position: absolute;
  z-index: 2;
  inset: 35px 25px 25px 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2.2rem;
  background: rgba(19, 19, 31, 0.9);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.3);
  transform: rotate(2deg);
}
.dawn-kidz-art-card img {
  position: absolute;
  top: 2.2rem;
  right: 2.2rem;
  width: 72px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.dawn-kidz-art-card strong {
  color: #fff;
  font-size: clamp(3.8rem, 6vw, 5.8rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
}
.dawn-kidz-art-card p {
  margin: 1.2rem 0 0;
  color: var(--kidz-teal);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.dawn-kidz-shape {
  position: absolute;
  display: block;
}
.dawn-kidz-shape-yellow {
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--kidz-yellow);
}
.dawn-kidz-shape-blue {
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 2rem;
  background: var(--kidz-blue);
  transform: rotate(-8deg);
}
.dawn-kidz-shape-red {
  right: 0;
  bottom: 30px;
  width: 80px;
  height: 80px;
  border-radius: 50% 50% 8px 50%;
  background: var(--kidz-red);
}
.dawn-kidz-highlights {
  padding: clamp(5rem, 8vw, 7rem) 0;
  border-bottom: 4px solid #ffb000;
  background: #f8f7f3;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-kidz-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.dawn-kidz-highlights article {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 1.5rem;
}
.dawn-kidz-highlights article:nth-child(1) {
  background: #ffe090;
}
.dawn-kidz-highlights article:nth-child(2) {
  background: #f7aaa4;
}
.dawn-kidz-highlights article:nth-child(3) {
  background: #9bdedd;
}
.dawn-kidz-highlights article:nth-child(4) {
  background: #adccf2;
}
.dawn-kidz-highlights article:nth-child(5) {
  background: #c8b8ef;
}
.dawn-kidz-highlights article:nth-child(6) {
  background: #b9dfa8;
}
.dawn-kidz-highlights small {
  font-family: monospace;
  font-size: 0.75rem;
}
.dawn-kidz-highlights h2 {
  margin: 0;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: none;
}
.dawn-kidz-highlights p {
  max-width: 500px;
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.dawn-kidz-invite {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-bottom: 4px solid #080812;
  background: var(--kidz-yellow);
  color: #11121a;
}
.dawn-kidz-invite-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}
.dawn-kidz-invite-label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dawn-kidz-invite h2 {
  max-width: 700px;
  margin: 0;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-transform: none;
}
.dawn-kidz-invite-grid > div:last-child > p {
  max-width: 520px;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.dawn-kidz-invite .btn {
  border-color: #080812;
  border-radius: 999px;
  background: #080812;
  color: #fff;
}

/* Refreshed Kidz page: original playful composition with the newer site rhythm. */
.kidz-refresh .kidz-hero {
  min-height: 0;
  display: flex;
  align-items: center;
  padding-block: clamp(2.75rem, 4.5vw, 4.25rem);
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 191, 35, 0.19), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(101, 185, 238, 0.2), transparent 26%), #fffaf0;
}
.kidz-refresh .kidz-hero-grid {
  z-index: 2;
  grid-template-columns: minmax(0, 1fr);
}
.kidz-refresh .kidz-hero-copy {
  width: 100%;
  max-width: 1180px;
}
.kidz-doodle-art {
  position: absolute;
  z-index: 1;
  top: calc(50% + 0.2rem);
  right: clamp(1rem, 4vw, 4.5rem);
  width: min(36vw, 660px);
  height: min(14.3vw, 271px);
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(16, 55, 92, 0.14));
  pointer-events: none;
  transform: translateY(-50%);
}
.kidz-refresh .kidz-kicker {
  color: #a96b00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}
.kidz-refresh .kidz-title {
  max-width: none;
  margin: 1.2rem 0 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(4.5rem, 7.8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}
.kidz-refresh .kidz-title span {
  text-shadow: none;
  transform: none;
}
.kidz-refresh .kidz-title span:nth-child(1) {
  color: #f06a5f;
}
.kidz-refresh .kidz-title span:nth-child(2) {
  color: #28aaa9;
}
.kidz-refresh .kidz-title span:nth-child(3) {
  display: inline;
  width: auto;
  margin-top: 0;
  color: #388fda;
  font-family: "Hooey Kidz", "Comic Sans MS", cursive;
  font-size: 0.92em;
  letter-spacing: 0.015em;
  text-decoration-color: #ffbf23;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.08em;
}
.kidz-refresh .kidz-tagline {
  margin: 1.35rem 0 0.65rem;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}
.kidz-refresh .kidz-intro {
  max-width: 680px;
  color: rgba(17, 18, 26, 0.68);
  font-size: 1.05rem;
  line-height: 1.7;
}
.kidz-refresh .kidz-actions .btn {
  min-height: 48px;
  border-radius: 999px;
  padding-inline: 1.5rem;
}
.kidz-refresh .kidz-actions .nav-cta.ghost {
  border-color: #10375c !important;
  color: #10375c !important;
}
.kidz-refresh .kidz-actions .nav-cta.ghost:hover {
  border-color: #f06a5f !important;
  color: #f06a5f !important;
}
.kidz-refresh .kidz-feature-art {
  min-height: 430px;
  isolation: isolate;
}
.kidz-refresh .kidz-art-layer,
.kidz-refresh .kidz-art-card {
  border-radius: 2.25rem;
}
.kidz-refresh .kidz-art-layer-one {
  inset: 16% 10% 2% 0;
  background: linear-gradient(145deg, #79e1d9, #28aaa9);
  transform: rotate(-7deg);
}
.kidz-refresh .kidz-art-layer-two {
  inset: 2% 0 13% 12%;
  background: linear-gradient(135deg, #ffe36b, #ffae19);
  transform: rotate(6deg);
}
.kidz-refresh .kidz-art-card {
  inset: 7% 6% 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(128, 222, 217, 0.18), transparent 25%),
    linear-gradient(145deg, #163f67, #0b2c4d);
  box-shadow: 0 30px 70px rgba(7, 35, 62, 0.25);
  transform: rotate(0.75deg);
}
.kidz-refresh .kidz-art-card::before,
.kidz-refresh .kidz-art-card::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}
.kidz-refresh .kidz-art-card::before {
  top: -95px;
  right: -70px;
  width: 240px;
  height: 240px;
}
.kidz-refresh .kidz-art-card::after {
  bottom: -135px;
  left: -95px;
  width: 300px;
  height: 300px;
}
.kidz-refresh .kidz-art-eyebrow {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.kidz-refresh .kidz-art-card img {
  z-index: 1;
  width: 58%;
  height: 58%;
  opacity: 1;
  object-fit: contain;
}
.kidz-refresh .kidz-art-card p {
  z-index: 1;
  max-width: none;
  margin: -0.5rem 0 0;
  color: #80ded9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.kidz-refresh .kidz-art-badge {
  top: 0;
  right: 1%;
  z-index: 4;
  width: 88px;
  height: 88px;
  border: 7px solid #fffaf0;
  background: #f06a5f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  transform: rotate(8deg);
}
.kidz-art-dot {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(7, 35, 62, 0.16);
}
.kidz-art-dot-one {
  right: 2%;
  bottom: 6%;
  width: 24px;
  height: 24px;
  background: #388fda;
}
.kidz-art-dot-two {
  top: 9%;
  left: 4%;
  width: 17px;
  height: 17px;
  background: #f06a5f;
}
.kidz-refresh .dawn-kidz-highlights {
  padding-block: clamp(3.5rem, 5vw, 5rem);
  border-bottom: 0;
  background: #fffaf0;
}
.kidz-refresh .dawn-kidz-highlights article {
  position: relative;
  min-height: 245px;
  padding: 1.35rem 1.4rem 1.5rem;
  overflow: visible;
  border: 1px solid rgba(17, 18, 26, 0.07);
  border-radius: 0.45rem 0.45rem 1.4rem 0.45rem;
  box-shadow: 0 18px 42px rgba(17, 18, 26, 0.08);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.kidz-refresh .dawn-kidz-highlights article::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(16, 55, 92, 0.12);
  border-radius: 50%;
  content: "";
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(even) {
  transform: rotate(0.8deg);
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(3n + 1) {
  transform: rotate(-0.8deg);
}
.kidz-refresh .dawn-kidz-highlights article:hover {
  z-index: 2;
  box-shadow: 0 24px 50px rgba(17, 18, 26, 0.13);
  transform: translateY(-6px) rotate(-1deg);
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(even):hover {
  transform: translateY(-6px) rotate(1deg);
}
.kidz-paper-clip {
  position: absolute;
  top: -22px;
  right: 1.7rem;
  z-index: 3;
  width: 30px;
  height: 54px;
  color: #10375c;
  filter: drop-shadow(0 2px 1px rgba(17, 18, 26, 0.14));
  transform: rotate(8deg);
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(2) .kidz-paper-clip {
  right: 1.9rem;
  transform: rotate(-7deg);
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(3) .kidz-paper-clip {
  top: -19px;
  right: 2.35rem;
  transform: rotate(5deg);
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(4) .kidz-paper-clip {
  right: 1.55rem;
  transform: rotate(-5deg);
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(5) .kidz-paper-clip {
  top: -20px;
  right: 2.2rem;
  transform: rotate(7deg);
}
.kidz-refresh .dawn-kidz-highlights article:nth-child(6) .kidz-paper-clip {
  right: 1.8rem;
  transform: rotate(-8deg);
}
.kidz-paper-clip svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kidz-highlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kidz-highlight-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 55, 92, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: #10375c;
}
.kidz-highlight-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kidz-refresh .dawn-kidz-highlights h2 {
  max-width: 10ch;
  font-size: clamp(1.35rem, 1.65vw, 1.7rem);
  line-height: 1.05;
}
.kidz-refresh .dawn-kidz-highlights p {
  position: relative;
  z-index: 1;
  max-width: 28ch;
}
.kidz-refresh .dawn-kidz-invite {
  padding-block: clamp(3.5rem, 5vw, 4.75rem);
  border-bottom: 4px solid #080812;
  background: #9bdedd;
}
.kidz-refresh .dawn-kidz-invite-grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.kidz-refresh .dawn-kidz-invite h2 {
  max-width: 620px;
  font-size: clamp(2.35rem, 3.8vw, 3.8rem);
}
.kidz-refresh .dawn-kidz-invite-label {
  color: #115f62;
}
@media (max-width: 1050px) {
  .dawn-kidz-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.kidz-expect {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  background: #fff;
  color: #11121a;
}
.kidz-expect-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(17, 18, 26, 0.16);
}
.kidz-expect-heading p {
  margin: 0.45rem 0 0;
  color: #137b7d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kidz-expect-heading h2 {
  max-width: 850px;
  margin: 0;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-transform: none;
}
.kidz-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.kidz-expect-grid article {
  min-height: 245px;
  padding: 2.25rem 2rem 1rem 0;
  border-right: 1px solid rgba(17, 18, 26, 0.16);
}
.kidz-expect-grid article + article {
  padding-left: 2rem;
}
.kidz-expect-grid article:last-child {
  border-right: 0;
}
.kidz-expect-grid span {
  color: #137b7d;
  font-family: monospace;
  font-size: 0.75rem;
}
.kidz-expect-grid h3 {
  margin: 3.2rem 0 0.8rem;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: none;
}
.kidz-expect-grid p {
  max-width: 390px;
  margin: 0;
  color: rgba(17, 18, 26, 0.62);
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 700px) {
  .dawn-kidz-hero-grid,
  .dawn-kidz-invite-grid {
    grid-template-columns: 1fr;
  }
  .dawn-kidz-hero-grid {
    gap: 2.5rem;
  }
  .dawn-kidz-hero h1 {
    font-size: clamp(3.4rem, 15vw, 4.7rem);
  }
  .dawn-kidz-art {
    min-height: 330px;
  }
  .dawn-kidz-art-card {
    inset: 25px 18px 18px 25px;
    padding: 1.8rem;
  }
  .dawn-kidz-shape-yellow,
  .dawn-kidz-shape-blue {
    width: 120px;
    height: 120px;
  }
  .dawn-kidz-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .dawn-kidz-highlights-grid {
    grid-template-columns: 1fr;
  }
  .dawn-kidz-highlights article {
    min-height: 245px;
    padding: 2rem;
  }
  .kidz-refresh .dawn-kidz-highlights article,
  .kidz-refresh .dawn-kidz-highlights article:hover,
  .kidz-refresh .dawn-kidz-highlights article:nth-child(even),
  .kidz-refresh .dawn-kidz-highlights article:nth-child(even):hover,
  .kidz-refresh .dawn-kidz-highlights article:nth-child(3n + 1) {
    transform: none;
  }
  .kidz-refresh .kidz-hero-grid,
  .kidz-refresh .dawn-kidz-invite-grid {
    grid-template-columns: 1fr;
  }
  .kidz-doodle-art {
    display: none;
  }
  .kidz-refresh .kidz-title {
    font-size: clamp(3.7rem, 18vw, 5rem);
  }
  .kidz-refresh .kidz-title span:nth-child(3) {
    display: block;
    width: fit-content;
    margin-top: 0.12em;
  }
  .kidz-refresh .kidz-feature-art {
    min-height: 330px;
  }
  .kidz-expect-heading,
  .kidz-expect-grid {
    grid-template-columns: 1fr;
  }
  .kidz-expect-heading {
    gap: 1.25rem;
  }
  .kidz-expect-grid article,
  .kidz-expect-grid article + article {
    min-height: 0;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 18, 26, 0.16);
  }
  .kidz-expect-grid article:last-child {
    border-bottom: 0;
  }
  .kidz-expect-grid h3 {
    margin-top: 1.5rem;
  }
}

/* ---- Reusable public collection and coming-soon components ---- */
.dawn-coming-soon,
.dawn-sermon-list {
  padding: clamp(5rem, 8vw, 7rem) 0;
  border-bottom: 4px solid #ffb000;
  background: #f8f7f3;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-coming-card {
  min-height: 385px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2rem;
  background: #fff;
  text-align: center;
}
.dawn-coming-icon {
  color: #b87900;
  font-size: 2.2rem;
}
.dawn-coming-card .dawn-kicker {
  margin: 1rem 0;
}
.dawn-coming-card h2 {
  max-width: 720px;
  margin: 0;
  color: #11121a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-transform: none;
}
.dawn-coming-card > p:not(.dawn-kicker) {
  margin: 1.3rem 0 1.8rem;
  color: rgba(0, 0, 0, 0.55);
}
.dawn-coming-card .btn {
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.dawn-sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.dawn-sermon-grid > a {
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.25rem;
  background: #fff;
  color: #11121a;
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.dawn-sermon-grid > a:hover {
  transform: translateY(-5px);
  border-color: #ffb000;
}
.dawn-sermon-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.2rem;
  border-radius: 0.8rem;
  object-fit: cover;
}
.dawn-sermon-grid small {
  color: var(--ndbc-orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dawn-sermon-grid h2 {
  margin: 1rem 0 0.5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  text-transform: none;
}
.dawn-sermon-grid p {
  color: rgba(0, 0, 0, 0.55);
}
.dawn-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.dawn-pagination .btn-outline {
  border-color: #11121a;
  color: #11121a;
}
@media (max-width: 900px) {
  .dawn-sermon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .dawn-sermon-grid {
    grid-template-columns: 1fr;
  }
  .dawn-pagination {
    flex-wrap: wrap;
  }
}

/* Sermon cards open livestreams and past messages directly on YouTube. */
.dawn-sermon-grid > .dawn-sermon-card {
  padding: 0;
  overflow: hidden;
}
.dawn-sermon-thumbnail {
  position: relative;
  overflow: hidden;
  background: #11121a;
  aspect-ratio: 16 / 9;
}
.dawn-sermon-grid .dawn-sermon-thumbnail img {
  height: 100%;
  margin: 0;
  border-radius: 0;
  transition: transform 0.35s ease;
}
.dawn-sermon-card:hover .dawn-sermon-thumbnail img {
  transform: scale(1.035);
}
.dawn-sermon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffb000;
  color: #11121a;
  transform: translate(-50%, -50%);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.dawn-sermon-play .mud-icon-root {
  font-size: 1.75rem;
  margin-left: 0.15rem;
}
.dawn-sermon-card:hover .dawn-sermon-play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}
.dawn-sermon-card-body {
  padding: 1.4rem;
}
.dawn-sermon-watch {
  display: inline-block;
  margin-top: 1rem;
  color: #9b200f;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dawn-sermon-card:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 4px;
}

/* Editorial blog index */
.blog-landing {
  padding-block: clamp(6rem, 9vw, 8rem) clamp(2.5rem, 4vw, 3.5rem);
  background: #f5f5f2;
  color: #10375c;
}
.blog-landing .blog-feature-layout {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.blog-landing .blog-main-feature {
  color: #10375c;
}
.blog-landing .blog-main-feature h2 {
  color: #10375c;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-weight: 520;
}
.blog-landing .blog-card-meta time {
  color: rgba(16, 55, 92, 0.62);
}
.blog-landing .blog-featured-list > h2 {
  color: #10375c;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}
.blog-landing .blog-featured-list > a {
  border-bottom-color: rgba(16, 55, 92, 0.16);
  color: #10375c;
}
.blog-landing .blog-list-action {
  border-color: rgba(16, 55, 92, 0.45);
}
.blog-landing-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: #111f2f;
  color: #fff;
}
.blog-landing-hero .dawn-kicker {
  color: #ffb000;
}
.blog-landing-hero > .container > h1 {
  max-width: 980px;
  margin: 0.65rem 0 1rem;
  font:
    400 clamp(3rem, 6.5vw, 6rem)/0.98 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -0.055em;
  text-transform: none;
}
.blog-landing-hero > .container > p:not(.dawn-kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
}
.blog-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3.2rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.blog-main-feature {
  color: #fff;
  text-decoration: none;
}
.blog-feature-image,
.blog-grid-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #22344b;
}
.blog-feature-image {
  aspect-ratio: 16/9;
}
.blog-feature-image img,
.blog-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.blog-main-feature:hover img,
.blog-card-grid article:hover img {
  transform: scale(1.035);
}
.blog-card-action,
.blog-list-action {
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.blog-card-action {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  background: #ffb000;
  color: #111f2f;
  font-size: 1.4rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  font-size: 0.84rem;
}
.blog-card-meta span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #ffb000;
  color: #111f2f;
  font-weight: 800;
  text-transform: uppercase;
}
.blog-card-meta time {
  color: rgba(255, 255, 255, 0.65);
}
.blog-main-feature h2 {
  margin: 1rem 0 0;
  color: #fff;
  font:
    400 clamp(1.7rem, 3vw, 2.6rem)/1.12 Arial,
    Helvetica,
    sans-serif;
  text-transform: none;
}
.blog-featured-list > h2 {
  margin: 0 0 1rem;
  color: #fff;
  font:
    400 1.55rem Arial,
    Helvetica,
    sans-serif;
  text-transform: none;
}
.blog-featured-list > a {
  display: grid;
  grid-template-columns: 110px 1fr 2.2rem;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
}
.blog-featured-list img {
  width: 110px;
  aspect-ratio: 4/3;
  border-radius: 0.65rem;
  object-fit: cover;
}
.blog-featured-list small {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffb000;
  text-transform: uppercase;
}
.blog-featured-list strong {
  line-height: 1.25;
}
.blog-list-action {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.blog-browser {
  padding: clamp(2rem, 3vw, 3rem) 0 clamp(4.5rem, 8vw, 7.5rem);
  background: #f5f5f2;
  color: #111f2f;
}
.blog-browser h2 {
  margin: 0;
  font:
    400 clamp(2.6rem, 5vw, 4rem) Arial,
    Helvetica,
    sans-serif;
  text-transform: none;
}
.blog-browse-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.blog-browse-heading .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
  color: #806300 !important;
}
.blog-browse-heading .dawn-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #f3c623;
  content: "";
}
.blog-browse-heading h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.75rem, 4.5vw, 4.75rem);
  font-weight: 320;
  letter-spacing: -0.06em;
  line-height: 0.94;
}
.blog-browse-heading .blog-categories {
  justify-content: flex-end;
}
.blog-search-row {
  display: flex;
  justify-content: flex-end;
  margin: 2rem 0 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(17, 31, 47, 0.2);
}
.blog-search-row .blog-search {
  width: min(100%, 340px);
}
.blog-tools {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 3rem;
  align-items: end;
  margin: 2rem 0 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(17, 31, 47, 0.2);
}
.blog-tools p,
.blog-search > span:first-child {
  display: block;
  margin: 0 0 0.8rem;
  font-weight: 700;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.blog-categories button {
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(17, 31, 47, 0.25);
  border-radius: 999px;
  background: transparent;
  color: #111f2f;
  font: inherit;
  cursor: pointer;
}
.blog-categories button.active,
.blog-categories button:hover {
  border-color: #ffb000;
  background: #ffb000;
}
.blog-search-field {
  position: relative;
  display: block;
}
.blog-search-field .mud-icon-root {
  position: absolute;
  left: 1rem;
  top: 50%;
  font-size: 1.2rem;
  transform: translateY(-50%);
}
.blog-search input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.7rem 1rem 0.7rem 3rem;
  border: 1px solid rgba(17, 31, 47, 0.25);
  border-radius: 999px;
  background: #fff;
  font: inherit;
}
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.2rem 1.6rem;
}
.blog-grid-image {
  aspect-ratio: 4/3;
}
.blog-card-grid h3 {
  margin: 1rem 0 0;
  font:
    700 1.35rem/1.25 Arial,
    Helvetica,
    sans-serif;
  text-transform: none;
}
.blog-card-grid h3 a {
  color: #111f2f;
  text-decoration: none;
}
.blog-card-grid .blog-card-meta time {
  color: rgba(17, 31, 47, 0.62);
}
.blog-no-results {
  padding: 3rem;
  border-radius: 1rem;
  background: #fff;
  text-align: center;
}
@media (max-width: 900px) {
  .blog-feature-layout,
  .blog-tools {
    grid-template-columns: 1fr;
  }
  .blog-browse-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-browse-heading .blog-categories {
    justify-content: flex-start;
  }
  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .blog-landing {
    padding-block: 4.5rem 2rem;
  }
  .blog-browser {
    padding-top: 2rem;
  }
  .blog-featured-list > a {
    grid-template-columns: 84px 1fr 2rem;
  }
  .blog-featured-list img {
    width: 84px;
  }
  .blog-card-grid {
    grid-template-columns: 1fr;
  }
  .blog-card-meta {
    flex-wrap: wrap;
  }
}

/* ---- Figma interior-page system and About page ---- */
.dawn-interior-hero {
  position: relative;
  min-height: 585px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 38%, rgba(235, 131, 23, 0.18), transparent 30%),
    linear-gradient(135deg, #10375c 0%, #0c2c4b 58%, #10375c 100%);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-interior-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(1rem, 6vw, 7rem);
  width: min(40vw, 620px);
  aspect-ratio: 2 / 1;
  background: url("hero-symbol-transparent-v2.png") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
  transform: translateY(-50%);
}
.dawn-interior-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -80px;
  top: -40px;
  border-radius: 50%;
  background: rgba(235, 131, 23, 0.2);
  filter: blur(100px);
}
.dawn-interior-hero .container {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
}
.dawn-interior-hero .dawn-kicker {
  color: #f3c623;
}
.dawn-interior-hero h1 {
  max-width: 940px;
  margin: 2.2rem 0 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: none;
}
.dawn-interior-intro {
  max-width: 700px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}
.dawn-about-values {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-bottom: 4px solid #f3c623;
  background: #f4f6ff;
  color: #10375c;
  font-family: Arial, Helvetica, sans-serif;
}
.dawn-about-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.dawn-about-grid > .dawn-kicker {
  margin: 0.25rem 0;
  color: #eb8317;
}
.dawn-about-list article {
  padding: 1.8rem 0 2.4rem;
  border-top: 1px solid rgba(16, 55, 92, 0.16);
}
.dawn-about-list article:first-child {
  padding-top: 1.6rem;
}
.dawn-about-list h2 {
  margin: 0;
  color: #10375c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-transform: none;
}
.dawn-about-list p {
  max-width: 810px;
  margin: 0.8rem 0 0;
  color: rgba(16, 55, 92, 0.84);
  font-size: 1.075rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .dawn-about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 680px) {
  .dawn-interior-hero {
    min-height: 500px;
  }
  .dawn-interior-hero::after {
    right: -20%;
    width: 85vw;
    opacity: 0.08;
  }
  .dawn-interior-hero h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }
  .dawn-about-list article {
    padding-bottom: 2.5rem;
  }
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
}
.footer-logo {
  display: block;
  width: min(250px, 100%);
  height: 116px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
}
.footer-heading {
  color: #fff;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.site-footer a {
  display: block;
  color: #c6cde0;
  text-decoration: none;
  padding: 0.15rem 0;
}
.site-footer a:hover {
  color: #fff;
}
.footer-verse {
  font-style: italic;
  font-size: 0.85rem;
}
.footer-copy {
  text-align: center;
  color: #7e89ad;
  margin-top: 2rem;
  font-size: 0.8rem;
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Final shared eyebrow treatment; kept last so page-specific themes inherit it. */
:where(.dawn-kicker, .dawn-interior-kicker, .section-kicker, .eyebrow, .privacy-eyebrow, .admin-eyebrow, .kidz-kicker, .kidz-split-eyebrow, .giving-eft-kicker, .footer-kicker, .login-brand-copy > p) {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

:where(.dawn-kicker, .dawn-interior-kicker, .section-kicker, .eyebrow, .privacy-eyebrow, .admin-eyebrow, .kidz-kicker, .kidz-split-eyebrow, .giving-eft-kicker, .footer-kicker, .login-brand-copy > p)::before {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 0.5rem;
  border: 0;
  border-radius: 50%;
  background: #f3c623;
  content: "";
}

:where(.dawn-kicker, .dawn-interior-kicker, .section-kicker) > span:empty {
  display: none !important;
}

/* Keep the brand anchored consistently across every editorial split form. */
@media (min-width: 621px) {
  :is(.contact-page, .giving-page) .dawn-split-form-copy {
    padding-top: clamp(2.5rem, 4vw, 4.5rem);
  }
}

/* Kidz split forms — one fixed shell with stepped or tabbed form content. */
.kidz-split-page {
  --kidz-blue: #45c6c8;
  --kidz-red: #f05c4f;
  --kidz-yellow: #f3c623;
  --kidz-form-ink: #101d26;
  --kidz-form-line: rgba(16, 29, 38, 0.14);
}

.kidz-split-page .dawn-form-card {
  overflow-y: auto;
  padding-top: clamp(1.5rem, 2.5vw, 2.75rem);
}

.kidz-split-page .dawn-split-form-copy h2 {
  max-width: 12ch;
}

.kidz-split-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.kidz-split-heading h1 {
  margin: 0.2rem 0 0;
  color: var(--contact-ink);
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  font-weight: 380;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: none;
}

.kidz-split-heading > span,
.kidz-split-eyebrow {
  color: rgba(16, 29, 38, 0.58);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kidz-split-heading > span {
  flex: 0 0 auto;
  padding-top: 0.5rem;
}

.kidz-split-eyebrow {
  margin: 0;
  color: #9c7510 !important;
}

.kidz-split-heading .kidz-split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.kidz-split-heading .kidz-split-eyebrow .mud-icon-root {
  font-size: 1.25rem;
}

.kidz-step-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.kidz-step-progress span {
  height: 4px;
  border-radius: 999px;
  background: rgba(16, 29, 38, 0.12);
}

.kidz-step-progress span.is-active {
  background: var(--kidz-yellow);
}

.kidz-split-form .kidz-form-step {
  min-height: 0;
  padding: 0;
  border: 0;
}

.kidz-split-form .kidz-form-step__heading {
  margin-bottom: 1rem;
}

.kidz-split-form .kidz-form-step__heading > span {
  width: 2.25rem;
  height: 2.25rem;
  flex-basis: 2.25rem;
  background: var(--kidz-yellow);
  color: var(--contact-ink);
}

.kidz-split-form .kidz-form-step h2,
.kidz-panel-intro h2,
.kidz-code-results h2 {
  margin: 0 0 0.25rem;
  color: var(--contact-ink);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-transform: none;
}

.kidz-split-form .kidz-form-step__heading p,
.kidz-panel-intro p {
  margin: 0;
  color: rgba(16, 29, 38, 0.62);
  font-size: 0.94rem;
}

.kidz-split-page .dawn-field {
  gap: 0.4rem;
}

.kidz-split-page .dawn-field > label {
  color: var(--contact-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.kidz-split-page .dawn-field input,
.kidz-split-page .dawn-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(16, 29, 38, 0.22);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--contact-ink);
  font: inherit;
}

.kidz-split-page .dawn-field textarea {
  min-height: 82px;
  resize: vertical;
}

.kidz-split-page .dawn-field :is(input, textarea):focus {
  border-color: var(--contact-ink);
  outline: 0;
}

.kidz-split-form .kidz-fieldset {
  padding: 0;
  border: 0;
  background: transparent;
}

.kidz-split-form .kidz-field-grid {
  gap: 0.85rem 1rem;
}

.kidz-child-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
}

.kidz-child-tabs button {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--kidz-form-line);
  border-radius: 999px;
  background: #fff;
  color: rgba(16, 29, 38, 0.65);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.kidz-child-tabs button.is-active {
  border-color: var(--kidz-yellow);
  background: var(--kidz-yellow);
  color: var(--contact-ink);
}

.kidz-child-tabs .kidz-child-tab-add {
  width: 38px;
  padding: 0;
  border-color: rgba(16, 29, 38, 0.28);
  color: var(--contact-ink);
  font-size: 1.2rem;
}

.kidz-child-tabs .mud-icon-root {
  font-size: 1.05rem;
}

.kidz-child-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.kidz-split-form .kidz-child-card + .kidz-child-card {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--kidz-form-line);
}

.kidz-split-form .kidz-child-card__title {
  margin-bottom: 0.75rem;
}

.kidz-split-form .kidz-child-card__tools {
  justify-content: flex-end;
  margin-bottom: 0.25rem;
}

.kidz-split-form .kidz-child-card__title h3 {
  font-size: 1rem;
}

.kidz-add-button,
.kidz-remove-button,
.kidz-step-back,
.kidz-review-card button {
  border: 0;
  background: transparent;
  color: var(--contact-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.kidz-step-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kidz-step-back--icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 15px;
  background: transparent;
  text-decoration: none;
}

.kidz-step-back--icon:hover {
  background: rgba(16, 29, 38, 0.04);
}

.kidz-step-back--icon:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px #101d26;
}

.kidz-step-back--icon > span {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 29, 38, 0.08);
}

.kidz-icon-action,
.kidz-review-card button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--kidz-form-line);
  border-radius: 50%;
  text-decoration: none;
}

.kidz-add-button {
  margin-top: 1rem;
}

.kidz-step-actions,
.kidz-inline-actions {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.25rem;
}

.kidz-step-actions .kidz-submit-button,
.kidz-mode-panel > .kidz-submit-button,
.kidz-inline-actions .kidz-submit-button {
  flex: 1 1 auto;
}

.kidz-step-actions .kidz-submit-button,
.kidz-inline-actions .kidz-submit-button {
  margin-top: 0;
}

.kidz-step-actions .kidz-step-back--icon {
  height: auto;
  min-height: 58px;
}

.kidz-submit-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem 0.8rem 1.4rem;
  border: 0;
  border-radius: 15px;
  background: var(--kidz-yellow);
  color: var(--contact-ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.kidz-submit-button:hover {
  background: #dfb516;
}

.kidz-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.kidz-submit-button > span {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 29, 38, 0.08);
  font-size: 1.2rem;
}

.kidz-review-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #f8f7f3;
}

.kidz-review-card span {
  color: rgba(16, 29, 38, 0.64);
}

.kidz-review-card button {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.kidz-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #f8f7f3;
  color: rgba(16, 29, 38, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.kidz-consent input,
.kidz-child-choice input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  accent-color: var(--kidz-yellow);
}

.kidz-form-error {
  margin: 0.75rem 0 0;
  color: #b3261e;
  font-size: 0.88rem;
}

.kidz-split-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  color: rgba(16, 29, 38, 0.64);
  font-size: 0.9rem;
}

.kidz-split-switch a,
.kidz-consent a {
  color: var(--contact-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.kidz-secondary-action {
  display: grid;
  min-height: 50px;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid #1b2e30;
  border-radius: 15px;
  background: #1b2e30;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.kidz-secondary-action:hover {
  border-color: #263d40;
  background: #263d40;
  color: #fff;
}

.kidz-secondary-action:focus-visible {
  outline: 3px solid rgba(243, 198, 35, 0.55);
  outline-offset: 3px;
}

.kidz-secondary-action .mud-icon-root {
  font-size: 1.15rem;
}

.kidz-code-resend {
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: var(--contact-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.kidz-code-resend:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.kidz-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
  padding: 0.3rem;
  border-radius: 0.8rem;
  background: #f1f0ec;
}

.kidz-mode-tabs button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: rgba(16, 29, 38, 0.62);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kidz-mode-tabs button.is-active {
  background: #fff;
  color: var(--contact-ink);
  box-shadow: 0 4px 14px rgba(16, 29, 38, 0.08);
}

.kidz-panel-intro {
  margin-bottom: 1.25rem;
}

.kidz-mode-panel {
  display: grid;
  gap: 1rem;
}

.kidz-child-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--kidz-form-line);
}

.kidz-child-choice span {
  display: grid;
  gap: 0.15rem;
}

.kidz-child-choice small {
  color: rgba(16, 29, 38, 0.58);
}

.kidz-code-results > div:not(.kidz-inline-actions),
.kidz-pickup-codes > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.7rem;
  background: #fff9df;
}

.kidz-code-results strong,
.kidz-pickup-codes strong {
  font-family: Consolas, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
}

.kidz-split-success > img {
  width: 5rem;
  margin-bottom: 1rem;
}

.kidz-split-success h2 {
  margin: 0.25rem 0 0.75rem;
  color: var(--contact-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: none;
}

@media (max-width: 620px) {
  .kidz-split-page .dawn-form-card {
    padding-top: 2.25rem;
  }

  .kidz-split-heading {
    align-items: flex-end;
  }

  .kidz-split-form .kidz-field-grid {
    grid-template-columns: 1fr;
  }

  .kidz-split-form .kidz-field-grid__wide {
    grid-column: auto;
  }
}

/* Long Kidz forms follow the original split-form behaviour: the document may
   scroll, while the dark story panel remains fixed and its colour continues
   behind the entire left column. */
@media (min-width: 1001px) {
  .site-main:has(.kidz-split-page) .kidz-split-page,
  .site-main:has(.kidz-split-page) .kidz-split-page .dawn-split-form,
  .site-main:has(.kidz-split-page) .kidz-split-page .dawn-split-form-grid {
    height: auto;
    min-height: 100vh;
  }

  .kidz-split-page .dawn-split-form {
    background: linear-gradient(to right, #1b2e30 0 57.5%, #fff 57.5% 100%);
  }

  .kidz-split-page .dawn-split-form-copy {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
  }

  .kidz-split-page .dawn-form-card {
    min-height: 100vh;
    overflow: visible;
  }
}

/* Single-row public footer: compact and aligned to the shared app container. */
.site-footer {
  padding-block: 1rem 0.75rem;
}

.site-footer .footer-shell {
  gap: 0.65rem;
}

.site-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(12rem, 1.15fr) minmax(34rem, 3fr) minmax(14rem, 1.25fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
}

.site-footer .footer-brand-block {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.25rem 0.8rem;
  align-items: center;
}

.site-footer .footer-brand-block .footer-logo {
  grid-row: 1;
  width: 7.5rem;
  height: auto;
  margin: 0;
}

.site-footer .footer-brand-block .footer-statement {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.25;
  white-space: normal;
}

.site-footer .footer-brand-block .footer-socials {
  grid-column: 2;
  gap: 0.35rem;
  margin: 0;
}

.site-footer .footer-socials a {
  width: 28px;
  min-height: 28px;
}

.site-footer .footer-socials svg {
  width: 14px;
  height: 14px;
}

.site-footer .footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.25rem);
  padding: 0;
  border: 0;
}

.site-footer .footer-heading {
  margin-bottom: 0.25rem;
}

.site-footer .footer-links a {
  padding-block: 0.08rem;
  font-size: 0.82rem;
}

.site-footer .footer-visit {
  padding-left: clamp(1rem, 2vw, 2rem);
}

.site-footer .footer-visit address,
.site-footer .footer-visit-link {
  font-size: 0.82rem;
}

.site-footer .footer-visit-link {
  margin-top: 0.35rem;
}

.site-footer .footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.7rem;
}

/* Shared editorial eyebrow: every short section label starts with the gold dot. */
:where(
  .dawn-kicker,
  .dawn-interior-kicker,
  .section-kicker,
  .eyebrow,
  .privacy-eyebrow,
  .admin-eyebrow,
  .kidz-kicker,
  .kidz-split-eyebrow,
  .giving-eft-kicker,
  .footer-kicker,
  .login-brand-copy > p
) {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

:where(
  .dawn-kicker,
  .dawn-interior-kicker,
  .section-kicker,
  .eyebrow,
  .privacy-eyebrow,
  .admin-eyebrow,
  .kidz-kicker,
  .kidz-split-eyebrow,
  .giving-eft-kicker,
  .footer-kicker,
  .login-brand-copy > p
)::before {
  display: block !important;
  width: 0.5rem !important;
  height: 0.5rem !important;
  flex: 0 0 0.5rem !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f3c623 !important;
  content: "" !important;
}

:where(.dawn-kicker, .dawn-interior-kicker, .section-kicker) > span:empty {
  display: none !important;
}

@media (max-width: 1050px) {
  .site-footer .footer-content {
    grid-template-columns: minmax(12rem, 1fr) minmax(30rem, 2.5fr);
  }

  .site-footer .footer-visit {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.65rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .site-footer .footer-visit address,
  .site-footer .footer-visit-link,
  .site-footer .footer-kicker {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .site-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .site-footer .footer-brand-block {
    grid-template-columns: 8rem 1fr;
  }

  .site-footer .footer-brand-block .footer-logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 8rem;
  }

  .site-footer .footer-brand-block .footer-statement,
  .site-footer .footer-brand-block .footer-socials {
    grid-column: 2;
  }

  .site-footer .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .site-footer .footer-visit {
    grid-column: auto;
    flex-wrap: wrap;
  }
}

/* Kidz — playful expression of the shared Ministries editorial system. */
.kidz-refresh {
  --kidz-paper: #f7f6f2;
  --kidz-ink: #123b63;
  --kidz-dark: #173033;
  --kidz-yellow: #f7c522;
  background: var(--kidz-paper);
  color: var(--kidz-ink);
}

.kidz-refresh .kidz-editorial-hero {
  padding-block: clamp(6rem, 9vw, 8rem) clamp(4rem, 7vw, 6rem);
  background: var(--kidz-paper);
}

.kidz-refresh .kidz-editorial-hero .public-page-intro {
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3.5rem, 5vw, 5rem);
}

.kidz-refresh .kidz-editorial-hero .public-page-intro h1 {
  max-width: 12ch;
  color: var(--kidz-ink);
  font-size: clamp(3.75rem, 6vw, 6.25rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.kidz-refresh .kidz-editorial-hero .public-page-intro h1 br + * {
  font-family: "Hooey Kidz", var(--ndbc-display);
}

.kidz-refresh .kidz-editorial-hero .public-page-intro-copy p {
  max-width: 31rem;
  color: rgba(18, 59, 99, 0.72);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.kidz-refresh .kidz-editorial-art {
  position: relative;
  display: grid;
  min-height: clamp(380px, 44vw, 560px);
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 0.8rem;
  background: #0d4e82;
  color: #fff;
}

.kidz-refresh .kidz-editorial-art::before,
.kidz-refresh .kidz-editorial-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.kidz-refresh .kidz-editorial-art::before {
  width: 22rem;
  height: 22rem;
  right: -5rem;
  top: -7rem;
  background: var(--kidz-yellow);
}

.kidz-refresh .kidz-editorial-art::after {
  width: 9rem;
  height: 9rem;
  right: 16rem;
  top: 3rem;
  background: #ee744b;
}

.kidz-refresh .kidz-editorial-art > img {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  top: 50%;
  z-index: 1;
  width: min(38%, 26rem);
  max-height: 72%;
  object-fit: contain;
  transform: translateY(-50%) rotate(2deg);
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.kidz-refresh .kidz-editorial-art:hover > img {
  transform: translateY(-50%) rotate(-2deg) scale(1.04);
}

.kidz-refresh .kidz-editorial-art > div {
  position: relative;
  z-index: 2;
}

.kidz-refresh .kidz-editorial-art p {
  margin: 0 0 1rem;
  color: var(--kidz-yellow);
  font-weight: 750;
  text-transform: uppercase;
}

.kidz-refresh .kidz-editorial-art h2 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-family: "Hooey Kidz", var(--ndbc-display) !important;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.92;
}

.kidz-refresh .kidz-editorial-art .kidz-actions {
  justify-self: end;
}

.kidz-refresh .kidz-editorial-art .nav-cta.ghost {
  border-color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
  color: #fff !important;
}

.kidz-refresh .kidz-editorial-art .nav-cta.ghost:hover,
.kidz-refresh .kidz-editorial-art .nav-cta.ghost:focus-visible {
  border-color: var(--kidz-yellow) !important;
  color: var(--kidz-yellow) !important;
}

.kidz-refresh .dawn-kidz-highlights,
.kidz-refresh .kidz-expect {
  background: var(--kidz-paper);
}

.kidz-refresh .dawn-kidz-highlights {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.kidz-refresh .dawn-kidz-highlights-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.kidz-refresh .dawn-kidz-highlights article {
  min-height: 250px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: 0.8rem;
}

.kidz-refresh .kidz-expect {
  padding-block: clamp(5rem, 8vw, 7rem);
}

.kidz-refresh .kidz-expect-grid article {
  border-radius: 0.8rem;
}

.kidz-refresh .dawn-kidz-invite {
  width: min(100% - (2 * var(--ndbc-page-gutter)), var(--ndbc-content-width));
  margin: 0 auto clamp(4rem, 7vw, 6rem);
  border-bottom: 0;
  border-radius: 0;
  background: var(--kidz-dark);
}

.kidz-refresh .dawn-kidz-invite-grid {
  min-height: 290px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
}

.kidz-refresh .dawn-kidz-invite .dawn-kidz-invite-label {
  color: var(--kidz-yellow);
}

.kidz-refresh .dawn-kidz-invite .kidz-actions .nav-cta.ghost.kidz-checkin-cta {
  border-color: rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
  color: #fff !important;
}

.kidz-refresh .dawn-kidz-invite .kidz-actions .nav-cta.ghost.kidz-checkin-cta:hover,
.kidz-refresh .dawn-kidz-invite .kidz-actions .nav-cta.ghost.kidz-checkin-cta:focus-visible {
  border-color: #f06a5f !important;
  background: #f06a5f !important;
  color: #fff !important;
}

.kidz-refresh .dawn-kidz-invite h2,
.kidz-refresh .dawn-kidz-invite-grid > div:last-child > p {
  color: #fff;
}

.kidz-refresh .dawn-kidz-invite h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
}

.kidz-refresh .dawn-kidz-invite-grid > div:last-child > p {
  opacity: 0.76;
}

@media (max-width: 900px) {
  .kidz-refresh .kidz-editorial-hero .public-page-intro,
  .kidz-refresh .dawn-kidz-highlights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kidz-refresh .kidz-editorial-hero .public-page-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  .kidz-refresh .kidz-editorial-hero {
    padding-block: 3.75rem 4.5rem;
  }

  .kidz-refresh .kidz-editorial-hero .public-page-intro h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .kidz-refresh .kidz-editorial-art {
    min-height: 620px;
    grid-template-columns: 1fr;
    align-content: end;
  }

  .kidz-refresh .kidz-editorial-art > img {
    width: min(68%, 22rem);
    right: 1.5rem;
    top: 31%;
  }

  .kidz-refresh .kidz-editorial-art .kidz-actions {
    justify-self: stretch;
  }

  .kidz-refresh .dawn-kidz-highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kidz-refresh .kidz-editorial-art > img {
    transition: none;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 145px;
    height: 58px;
  }
  .site-header-inner {
    min-height: 70px;
  }
}

/* utility */
.text-warning {
  color: #8a5a05;
}

/* ---- admin and user portal shell ---- */
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #f4f5f8;
  color: var(--ndbc-ink);
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--ndbc-navy);
  color: #fff;
}
.admin-brand {
  display: grid;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.admin-brand img {
  width: 170px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}
.admin-nav {
  display: grid;
  gap: 0.25rem;
  margin-top: 2rem;
}
.admin-nav a,
.admin-public-link {
  color: #d8d9e2;
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
}
.admin-nav a:hover,
.admin-nav a.active {
  color: var(--ndbc-navy);
  background: #fff;
}
.admin-public-link {
  margin-top: auto;
  border: 1px solid #424351;
  text-align: center;
}
.admin-workspace {
  min-width: 0;
}
.admin-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e1e2e8;
}
.admin-topbar > div:first-child {
  display: grid;
}
.admin-topbar > div:first-child span {
  color: #696b78;
  font-size: 0.875rem;
}
.admin-account {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-account button {
  padding: 0.55rem 1rem;
  border: 1px solid var(--ndbc-navy);
  border-radius: 999px;
  background: var(--ndbc-navy);
  color: #fff;
  cursor: pointer;
}
.admin-main {
  width: min(1400px, 100%);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.admin-page-heading h1 {
  margin-bottom: 0.35rem;
}
.admin-page-heading p {
  margin: 0;
  color: #666977;
}
.admin-eyebrow {
  color: #9a6800 !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.admin-stats article,
.admin-panel {
  background: #fff;
  border: 1px solid #e1e2e8;
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 8px 24px rgba(2, 2, 15, 0.05);
}
.admin-stats article {
  display: grid;
  gap: 0.5rem;
}
.admin-stats strong {
  font-size: 2.4rem;
  color: var(--ndbc-navy);
}
.admin-stats a,
.admin-actions a {
  color: var(--ndbc-navy);
  font-weight: 700;
}
.admin-panel h2 {
  margin-top: 0;
}
.admin-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.admin-actions a {
  padding: 1rem;
  border-radius: 10px;
  background: #f4f5f8;
  text-decoration: none;
}
@media (max-width: 1000px) {
  .admin-stats,
  .admin-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
  }
  .admin-nav {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1rem;
  }
  .admin-public-link {
    margin-top: 1rem;
  }
  .admin-topbar {
    padding: 1rem;
  }
  .admin-account > span {
    display: none;
  }
}
@media (max-width: 480px) {
  .admin-stats,
  .admin-actions,
  .admin-nav {
    grid-template-columns: 1fr;
  }
}

/* ---- 2026 visual system ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  font-size: 16px;
  color: var(--ndbc-ink);
  background: var(--ndbc-paper);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1:focus,
h1:focus-visible {
  outline: none;
}
h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.7rem);
}
h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
}
h3 {
  font-size: 1.4rem;
}
p {
  line-height: 1.55;
}
.container {
  width: min(1440px, 94%);
}
.eyebrow,
.crumb {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ndbc-ink);
}
.section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.section.alt {
  background: var(--ndbc-navy-05);
  border: 0;
}
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}
.section-heading h1,
.section-heading h2 {
  margin: 0.45rem 0;
}
.section-heading .lead {
  margin: 0.5rem auto 0;
}
.lead {
  font-size: 1.1rem;
  color: #5c5a60;
}

.site-header {
  position: sticky;
  background: var(--ndbc-navy);
  border: 0;
  box-shadow: none;
  font-family: var(--ndbc-ui);
}
.site-header-inner {
  position: relative;
  min-height: 88px;
  flex-wrap: nowrap;
}
.brand {
  width: 240px;
  border-right: 0;
  padding-right: 1rem;
}
.brand-logo {
  display: block;
  width: 215px;
  height: 58px;
  object-fit: contain;
  background: transparent;
}
.site-nav {
  flex: 1;
  justify-content: flex-end;
  padding-left: 0;
}
.site-nav-links {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateX(-50%);
}
.site-nav-actions {
  display: flex;
  align-items: center;
}
.site-link {
  position: relative;
  color: var(--ndbc-paper);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  padding: 0.75rem 0.9rem;
  border-radius: 0;
}
.site-link:hover,
.site-link.active {
  background: transparent;
  color: var(--ndbc-gold);
}
.site-link::after {
  position: absolute;
  right: 0.9rem;
  bottom: 0.5rem;
  left: 0.9rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ndbc-gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.site-link:hover::after,
.site-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  border: 1px solid var(--ndbc-gold);
  border-radius: 999px;
  background: var(--ndbc-gold);
  color: var(--ndbc-ink);
  padding: 0.65rem 1.45rem;
  font-family: var(--ndbc-ui);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  text-transform: none;
}
.nav-cta.ghost {
  display: inline-flex;
  margin-left: 0.5rem;
  background: transparent;
  color: var(--ndbc-paper);
  border-color: rgba(255, 255, 255, 0.28);
}
.nav-cta:hover {
  background: var(--ndbc-gold-20);
  filter: none;
}
.nav-cta.ghost:hover {
  color: var(--ndbc-ink);
}

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(2, 0, 14, 0.98) 0%,
      rgba(2, 0, 14, 0.88) 43%,
      rgba(2, 0, 14, 0.2) 72%
    ),
    url("hero-symbol.png") right center/auto 100% no-repeat var(--ndbc-navy);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.hero .container {
  position: relative;
}
.hero .eyebrow {
  color: #fff;
  margin: 0 0 0.5rem;
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 5.2vw, 4.6rem);
  margin-bottom: 0.75rem;
}
.hero p.lead {
  max-width: 48ch;
  color: #f2efed;
  margin: 0.5rem 0;
}
.hero-actions {
  margin-top: 1.25rem;
}
.btn {
  border-radius: 10px;
  padding: 0.8rem 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary,
.hero .btn-primary {
  background: var(--ndbc-gold);
  color: var(--ndbc-ink);
  border-color: var(--ndbc-gold);
}
.btn-outline {
  border-color: #fff;
  color: #fff;
}
.section .btn-outline {
  border-color: var(--ndbc-ink);
  color: var(--ndbc-ink);
}
.hero-note {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: #fff;
  margin: 1.75rem 0 0;
  max-width: 30ch;
}
.hero-note:before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--ndbc-gold);
}

.home-intro {
  padding-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ndbc-gold-05);
  border-bottom: 10px solid var(--ndbc-gold);
  padding: 1.75rem 2rem;
  text-decoration: none;
  color: var(--ndbc-ink);
  transition:
    transform 0.2s,
    background 0.2s;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: var(--ndbc-gold-10);
}
.feature-card h3 {
  margin: 1rem 0 0.35rem;
}
.feature-card p {
  margin: 0;
  color: #555;
  max-width: 30ch;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ndbc-gold);
  font-size: 1.2rem;
}

.cards {
  gap: 1.25rem;
}
.card {
  position: relative;
  background: var(--ndbc-gold-05);
  border: 0;
  border-bottom: 10px solid var(--ndbc-gold);
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem 1.75rem;
  min-height: 160px;
}
.card:hover {
  border-color: var(--ndbc-gold);
  box-shadow: none;
  transform: translateY(-4px);
}
.card h3 {
  font-size: 1.4rem;
  margin: 0.8rem 0;
}
.card .when {
  color: #cf7d35;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.pill {
  background: transparent;
  color: #cf7d35;
  border-radius: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-header {
  min-height: 240px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(2, 0, 14, 0.96), rgba(2, 0, 14, 0.25)),
    url("hero-symbol.png") right center/auto 100% no-repeat var(--ndbc-navy);
  border: 0;
  padding: 3rem 0;
}
.page-header .crumb,
.page-header .eyebrow,
.page-header h1 {
  color: #fff;
}
.page-header h1 {
  max-width: 16ch;
}
.blog-header {
  min-height: 260px;
  background: var(--ndbc-navy-05);
}
.blog-header h1,
.blog-header .eyebrow {
  color: var(--ndbc-ink);
}
.content-body {
  max-width: 780px;
}
.content-body h2 {
  margin-top: 1.75rem;
}
.content-body blockquote {
  border-left: 3px solid var(--ndbc-gold);
  background: transparent;
  font-size: 1.4rem;
  padding: 0.75rem 1.25rem;
}
.notes {
  border: 0;
  border-radius: 0;
  background: var(--ndbc-navy-05);
  padding: 1.5rem;
}

.site-footer {
  flex-shrink: 0;
  background: var(--ndbc-navy);
  border-top: 4px solid var(--ndbc-gold);
  color: #ddd;
  margin-top: 0;
  padding: 2rem 0;
  font-family: var(--ndbc-ui);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.footer-grid {
  grid-template-columns: 1.15fr 0.7fr 0.7fr 1.65fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 0;
}
.footer-logo {
  display: block;
  width: 215px;
  height: 62px;
  object-fit: contain;
  background: transparent;
  margin: 0 0 0.75rem;
}
.footer-brand-block p {
  margin: 0.35rem 0;
}
.footer-brand-block address {
  font-style: normal;
  line-height: 1.55;
  color: #bbb;
  margin-top: 0.75rem;
}
.footer-heading {
  font-family: var(--ndbc-ui);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 0.5rem;
}
.site-footer a {
  color: #ddd;
  padding: 0.18rem 0;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
}
.site-footer a:hover {
  color: var(--ndbc-gold);
}
.footer-subscribe-title {
  color: #fff;
  font-family: var(--ndbc-ui);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-transform: none;
  margin: 0 0 0.75rem;
}
.subscribe-form {
  display: flex;
  border: 1px solid #484751;
  border-radius: 10px;
  overflow: hidden;
}
.subscribe-form input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.95rem;
}
.subscribe-form button,
.footer-contact-button {
  border: 0;
  background: var(--ndbc-gold);
  color: var(--ndbc-ink);
  padding: 0.8rem 1.4rem;
  text-transform: none;
  font: inherit;
  cursor: pointer;
}
.footer-bottom {
  background: var(--ndbc-navy);
  border-top: 1px solid var(--ndbc-navy-80);
}
.footer-bottom-inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
}
.footer-wordmark {
  font-size: 2rem !important;
  font-weight: 700;
  text-transform: uppercase !important;
}
.footer-bottom nav {
  display: flex;
  gap: 2rem;
}
.footer-contact-button {
  display: inline-block !important;
  border-radius: 10px;
  padding: 1rem 2.3rem !important;
}

.blog-index {
  padding-top: 3.5rem;
}
.blog-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--ndbc-paper);
  padding: 2.5rem;
  align-items: center;
}
.blog-feature img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--ndbc-navy);
}
.blog-feature h2 {
  margin: 0.7rem 0 1rem;
}
.blog-all-heading {
  margin-top: 4.5rem;
}
.blog-empty {
  max-width: 700px;
  margin: auto;
  background: var(--ndbc-paper);
  border-bottom: 12px solid var(--ndbc-gold);
  padding: 2.5rem;
  text-align: center;
}
.blog-empty a {
  font-weight: 700;
}
.blog-post-page {
  background: var(--ndbc-navy-05);
  padding: 4.5rem 0;
}
.blog-post-header {
  text-align: center;
  max-width: 900px;
}
.blog-post-header h1 {
  margin: 1rem auto;
}
.blog-meta {
  color: #666;
}
.blog-post-hero {
  display: block;
  height: min(50vw, 520px);
  object-fit: contain;
  background: var(--ndbc-navy);
  margin-top: 3rem;
}
.blog-post-body {
  padding-top: 3rem;
}
.blog-post-body .btn {
  margin-top: 1rem;
}

/* Long-form journal article */
.journal-article {
  padding-block: clamp(5rem, 8vw, 7.5rem);
  background: #f5f5f2;
  color: #10375c;
}
.journal-article-header {
  max-width: 76rem;
}
.journal-back-link {
  display: inline-block;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(16, 55, 92, 0.35);
  color: #10375c;
  font-weight: 700;
  text-decoration: none;
}
.journal-article-header .dawn-kicker,
.journal-article-body .dawn-kicker,
.journal-related > .dawn-kicker,
.journal-visit-cta .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #806300 !important;
}
.journal-article-header .dawn-kicker::before,
.journal-article-body .dawn-kicker::before,
.journal-related > .dawn-kicker::before,
.journal-visit-cta .dawn-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #f3c623;
  content: "";
}
.journal-article-header h1 {
  max-width: 15ch;
  margin: 1rem 0 0;
  color: #10375c;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 0.9;
}
.journal-article-deck {
  max-width: 48rem;
  margin: 2rem 0 0;
  color: rgba(16, 55, 92, 0.7);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.65;
}
.journal-byline {
  display: flex;
  gap: 1rem 2rem;
  margin-top: 2rem;
  color: rgba(16, 55, 92, 0.62);
  font-size: 0.9rem;
  font-weight: 650;
}
.journal-hero {
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.journal-hero img {
  display: block;
  width: 100%;
  max-height: 48rem;
  aspect-ratio: 16/8.5;
  border-radius: 1.25rem;
  object-fit: cover;
}
.journal-hero figcaption {
  margin-top: 0.75rem;
  color: rgba(16, 55, 92, 0.58);
  font-size: 0.85rem;
}
.journal-article-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  max-width: 76rem;
  padding-top: clamp(4rem, 7vw, 7rem);
}
.journal-article-aside {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 0.7rem;
  padding-top: 0.4rem;
}
.journal-article-aside .dawn-kicker {
  margin-bottom: 0.5rem;
  color: #806300;
}
.journal-article-aside a {
  color: rgba(16, 55, 92, 0.68);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}
.journal-article-aside a:hover {
  color: #10375c;
}
.journal-article-body {
  max-width: 47rem;
}
.journal-article-body > p,
.journal-article-body section > p {
  color: rgba(16, 55, 92, 0.78);
  font-size: 1.08rem;
  line-height: 1.85;
}
.journal-article-body .journal-lead {
  margin: 0 0 clamp(4rem, 7vw, 6rem);
  color: #10375c;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.55;
}
.journal-article-body section {
  margin-top: clamp(4rem, 7vw, 6rem);
  scroll-margin-top: 7rem;
}
.journal-article-body section:first-of-type {
  margin-top: 0;
}
.journal-article-body h2 {
  max-width: 14ch;
  margin: 0.8rem 0 1.5rem;
  color: #10375c;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.journal-article-body blockquote {
  margin: 3rem 0;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 0;
  background: #10375c;
  color: #fff;
}
.journal-article-body blockquote p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 320;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.journal-visit-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
  background: #192a2d;
  color: #fff;
}
.journal-visit-cta::after {
  position: absolute;
  right: -6rem;
  bottom: -9rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(243, 198, 35, 0.25);
  border-radius: 50%;
  content: "";
}
.journal-visit-cta > * {
  position: relative;
  z-index: 1;
}
.journal-visit-cta h2 {
  max-width: 14ch;
  margin: 0.75rem 0 0;
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.journal-visit-cta p:not(.dawn-kicker) {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.7);
}
.journal-visit-cta .btn {
  flex: 0 0 auto;
  border-color: #f3c623;
  background: #f3c623;
  color: #10375c;
}
.journal-related {
  padding-top: clamp(5rem, 8vw, 8rem);
}
.journal-related > h2 {
  margin: 0.75rem 0 2.5rem;
  color: #10375c;
  font-size: clamp(2.75rem, 4.5vw, 4.75rem);
  font-weight: 320;
  letter-spacing: -0.06em;
}
.journal-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.journal-related-grid a {
  color: #10375c;
  text-decoration: none;
}
.journal-related-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  object-fit: cover;
}
.journal-related-grid small {
  display: block;
  margin-top: 1rem;
  color: #806300;
  font-weight: 750;
  text-transform: uppercase;
}
.journal-related-grid strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.25rem;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .journal-article-layout {
    grid-template-columns: 1fr;
  }
  .journal-article-aside {
    display: none;
  }
  .journal-article-body {
    margin-inline: auto;
  }
  .journal-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journal-visit-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 620px) {
  .journal-article {
    padding-block: 4rem;
  }
  .journal-back-link {
    margin-bottom: 3rem;
  }
  .journal-article-header h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }
  .journal-byline {
    flex-direction: column;
    gap: 0.35rem;
  }
  .journal-hero img {
    aspect-ratio: 4/3;
    border-radius: 0.9rem;
  }
  .journal-visit-cta {
    padding: 2rem 1.5rem;
  }
  .journal-visit-cta .btn {
    width: 100%;
    text-align: center;
  }
  .journal-related-grid {
    grid-template-columns: 1fr;
  }
}

/* MudBlazor public forms inherit the brand system. */
.mud-button-root.mud-button-filled-primary,
.mud-button-root.mud-button-filled-secondary {
  background: var(--ndbc-gold) !important;
  color: var(--ndbc-ink) !important;
  border-radius: 9px !important;
  padding: 0.8rem 1.8rem !important;
}
.mud-input-outlined-border {
  border-radius: 0 !important;
}
.mud-input-control {
  margin-bottom: 0.5rem;
}
.mud-primary-text {
  color: var(--ndbc-ink) !important;
}

@media (max-width: 1040px) {
  .container {
    width: 94%;
  }
  .site-header-inner {
    flex-wrap: wrap;
  }
  .brand {
    border: 0;
  }
  .nav-toggle-label {
    display: block;
    order: 1;
  }
  .site-nav {
    display: none;
    order: 2;
    width: 100%;
    padding: 1rem 0 1.5rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav-links,
  .site-nav-actions {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transform: none;
  }
  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
  .nav-cta {
    margin: 1rem 0 0;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-newsletter {
    grid-column: 1/-1;
  }
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }
  .footer-bottom nav {
    flex-wrap: wrap;
  }
  .footer-contact-button {
    justify-self: start;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 220px;
  }
  .blog-feature {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  h1 {
    font-size: 2.35rem;
  }
  .brand {
    width: auto;
  }
  .brand-logo {
    width: 180px;
    height: 52px;
  }
  .hero {
    min-height: 440px;
    background-position: 62% center;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .hero .btn {
    width: 100%;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-newsletter {
    grid-column: auto;
  }
  .subscribe-form {
    flex-direction: column;
  }
  .subscribe-form button {
    width: 100%;
  }
  .footer-bottom nav {
    gap: 1rem;
  }
  .blog-feature {
    padding: 1.25rem;
    gap: 1.5rem;
  }
  .blog-feature img {
    height: 220px;
  }
  .page-header {
    min-height: 220px;
  }
  .section {
    padding: 2.5rem 0;
  }
}

/* ---- Admin dashboard: Figma-aligned responsive system ---- */
.admin-menu-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}
.admin-shell {
  --admin-sidebar-width: 264px;
  grid-template-columns: 264px minmax(0, 1fr);
  background: #f7f5ef;
  font-family: Arial, Helvetica, sans-serif;
}
.admin-shell h1,
.admin-shell h2,
.admin-shell h3,
.admin-shell h4 {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
}
.admin-sidebar {
  z-index: 80;
  width: var(--admin-sidebar-width);
  padding: 1.5rem 1rem 1.25rem;
  background: #03030f;
}
.admin-sidebar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.admin-brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0 0.5rem;
}
.admin-brand img {
  width: 166px;
  height: 58px;
}
.admin-brand .admin-brand-mark {
  display: none;
}
.admin-brand span {
  color: #aaa9bd;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.admin-menu-close,
.admin-menu-button,
.admin-menu-scrim {
  display: none;
}
.admin-nav {
  gap: 0.3rem;
  margin-top: 1rem;
}
.admin-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border-radius: 11px;
  color: #d8d6e3;
  font-size: 0.875rem;
  font-weight: 600;
}
.admin-nav a > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-nav a:hover,
.admin-nav a.active {
  color: #070713;
  background: #fff;
}
.admin-nav-icon {
  width: 1.1rem;
  color: #aaa9bd;
  font-size: 1.05rem !important;
  flex: 0 0 1.1rem;
}
.admin-nav a.active .admin-nav-icon {
  color: #070713;
}
.admin-public-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  margin-top: auto;
  border-color: #363644;
  border-radius: 11px;
  color: #fff;
  font-size: 0.875rem;
}
.admin-version {
  margin-top: 1rem;
  color: #555469;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.admin-workspace {
  background: #f7f5ef;
}
.admin-menu-collapse-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #555469;
  cursor: pointer;
}
.admin-menu-collapse-button:hover,
.admin-menu-collapse-button:focus-visible {
  background: #eeece6;
  color: #070713;
  outline: none;
}
.admin-nav-collapsed {
  --admin-sidebar-width: 80px;
  grid-template-columns: 80px minmax(0, 1fr);
}
.admin-nav-collapsed .admin-sidebar {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}
.admin-nav-collapsed .admin-sidebar-header {
  justify-content: center;
}
.admin-nav-collapsed .admin-brand {
  align-items: center;
  padding: 0;
}
.admin-nav-collapsed .admin-brand-wordmark,
.admin-nav-collapsed .admin-brand span,
.admin-nav-collapsed .admin-nav a > span:last-child,
.admin-nav-collapsed .admin-public-link,
.admin-nav-collapsed .admin-version {
  display: none;
}
.admin-nav-collapsed .admin-brand .admin-brand-mark {
  display: block;
  width: 52px;
  height: 42px;
  object-fit: contain;
}
.admin-nav-collapsed .admin-nav a {
  justify-content: center;
  gap: 0;
  width: 56px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}
.admin-nav-collapsed .admin-nav-icon {
  margin: 0;
}
.admin-nav-collapsed .admin-nav a::before {
  position: absolute;
  z-index: 100;
  top: 50%;
  left: calc(100% + 9px);
  padding: 0.4rem 0.55rem;
  border-radius: 4px;
  background: #555;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-3px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
  white-space: nowrap;
}
.admin-nav-collapsed .admin-nav a::after {
  position: absolute;
  z-index: 101;
  top: 50%;
  left: calc(100% + 3px);
  border-width: 5px 6px 5px 0;
  border-style: solid;
  border-color: transparent #555 transparent transparent;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 120ms ease;
}
.admin-nav-collapsed .admin-nav a:hover::before,
.admin-nav-collapsed .admin-nav a:hover::after,
.admin-nav-collapsed .admin-nav a:focus-visible::before,
.admin-nav-collapsed .admin-nav a:focus-visible::after {
  opacity: 1;
}
.admin-nav-collapsed .admin-nav a:hover::before,
.admin-nav-collapsed .admin-nav a:focus-visible::before {
  transform: translateY(-50%) translateX(0);
}
.admin-topbar {
  min-height: 72px;
  padding: 0.85rem 2rem;
  border-color: #deddd8;
}
.admin-topbar-title {
  display: grid;
  gap: 0.2rem;
}
.admin-topbar-title strong {
  font-size: 0.875rem;
}
.admin-topbar-title span,
.admin-topbar > div:first-child span {
  color: #6d6c73;
  font-size: 0.75rem;
}
.admin-account {
  font-size: 0.8rem;
  color: #6d6c73;
}
.admin-account button {
  padding: 0.48rem 1rem;
  border: 0;
  background: #070713;
  font-weight: 700;
}
.admin-page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.admin-add-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 12px;
  background: #ffad22;
  box-shadow: 0 4px 0 #e6ddd0;
  color: #070713;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}
.admin-add-button .mud-icon-root {
  font-size: 1.15rem;
}
.admin-add-button:hover {
  transform: translateY(-2px);
  background: #ffb93f;
  box-shadow: 0 7px 16px rgb(240 122 0 / 22%);
}
.admin-add-button:focus-visible {
  outline: 3px solid rgb(199 102 0 / 35%);
  outline-offset: 3px;
}
.admin-empty-state {
  display: grid;
  width: 100%;
  min-height: 160px;
  margin-top: 1rem;
  padding: 1.25rem;
  place-content: center;
  justify-items: center;
  border: 1px dashed #d8d6cf;
  border-radius: 16px;
  background: rgb(255 255 255 / 55%);
  text-align: center;
}
.admin-empty-state .mud-icon-root {
  margin-bottom: 0.65rem;
  color: #f29a00;
  font-size: 2.1rem;
}
.admin-empty-state h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.admin-empty-state p {
  margin: 0;
  color: #666977;
  font-size: 0.95rem;
}
.admin-data-table {
  overflow: hidden;
  border: 1px solid #deddd8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(16 15 20 / 5%);
}
.admin-data-table .mud-table-head {
  background: #f0f0f3;
}
.admin-data-table .mud-table-head .mud-table-cell {
  padding-block: 1rem;
  color: #565563;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.admin-data-table .mud-table-body .mud-table-cell {
  padding-block: 1.25rem;
  border-color: #ecebe7;
}
.admin-data-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem !important;
}
.admin-data-strong {
  color: #070713 !important;
  font-weight: 800 !important;
}
.admin-messages-layout {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.admin-message-list {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}
.admin-message-card {
  position: relative;
  display: grid;
  gap: 0.35rem;
  width: 100%;
  min-height: 150px;
  padding: 1.25rem;
  border: 1px solid #deddd8;
  border-radius: 16px;
  background: #fff;
  color: #171720;
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.admin-message-card:hover,
.admin-message-card.selected {
  transform: translateY(-2px);
  border-color: #f0a23a;
  box-shadow: 0 12px 28px rgb(16 15 20 / 8%);
}
.admin-message-sender,
.admin-message-subject {
  padding-right: 1rem;
  font-weight: 800;
}
.admin-message-subject {
  font-size: 0.9rem;
}
.admin-message-preview {
  color: #666977;
  font-size: 0.9rem;
  line-height: 1.45;
}
.admin-message-unread {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f29a00;
}
.admin-message-detail {
  min-height: 230px;
  padding: 1.5rem;
  border: 1px solid #deddd8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(16 15 20 / 5%);
}
.admin-message-meta {
  margin: 0 0 0.8rem;
  color: #565563;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.admin-message-detail h2 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
}
.admin-message-body {
  max-width: 780px;
  margin: 0;
  color: #565563;
  line-height: 1.7;
  white-space: pre-wrap;
}
.admin-message-contact {
  margin: 1rem 0 0;
  color: #565563;
}
.admin-message-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.admin-message-reply {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #bc5700;
  font-weight: 800;
  text-decoration: none;
}
.admin-message-reply .mud-icon-root {
  font-size: 1.1rem;
}
.admin-message-actions button {
  padding: 0.6rem 0.9rem;
  border: 1px solid #deddd8;
  border-radius: 10px;
  background: #f7f5ef;
  color: #414049;
  font-weight: 700;
  cursor: pointer;
}
.kidz-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  margin-top: 2rem;
  border-bottom: 1px solid #d8d6cf;
}
.kidz-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #565563;
  font-weight: 750;
  cursor: pointer;
}
.kidz-tabs button span {
  display: grid;
  min-width: 22px;
  height: 22px;
  padding-inline: 0.35rem;
  place-items: center;
  border-radius: 999px;
  background: #e9e8e4;
  font-size: 0.7rem;
}
.kidz-tabs button:hover,
.kidz-tabs button.active {
  color: #070713;
}
.kidz-tabs button.active {
  border-bottom-color: #f29a00;
}
.kidz-tabs button.active span {
  background: #fff0c2;
  color: #9d4c00;
}
.kidz-tab-panel {
  padding-top: 1.75rem;
}
.kidz-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.kidz-section-heading h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.kidz-section-heading p {
  margin: 0;
  color: #666977;
  font-size: 0.9rem;
}
.kidz-active-list {
  display: grid;
  gap: 0.85rem;
}
.kidz-active-card {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr 0.8fr 1.1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid #deddd8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(16 15 20 / 5%);
}
.kidz-active-card > div {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.kidz-active-card span {
  color: #666977;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kidz-active-card strong {
  overflow-wrap: anywhere;
  color: #070713;
  font-size: 0.9rem;
}
.kidz-pickup-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem !important;
  letter-spacing: 0.12em;
}
.kidz-active-card > button,
.kidz-checkout-form button,
.kidz-history-filters > button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 11px;
  background: #ffad22;
  box-shadow: 0 4px 0 #e6ddd0;
  color: #070713;
  font-weight: 800;
  cursor: pointer;
}
.kidz-checkout-form {
  width: min(520px, 100%);
  margin-top: 1.25rem;
}
.kidz-checkout-form > label {
  display: block;
  margin-bottom: 0.5rem;
  color: #565563;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.kidz-checkout-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}
.kidz-checkout-form input {
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid #deddd8;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  text-transform: uppercase;
}
.kidz-checkout-form input:focus {
  border-color: #f29a00;
  outline: 3px solid rgb(242 154 0 / 15%);
}
.kidz-data-table a {
  color: #9d4c00;
  text-decoration: none;
}
.kidz-edit-form {
  display: grid;
  gap: 1rem;
  padding-top: 0.25rem;
}
.kidz-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
}
.kidz-history-filters {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(180px, 240px) auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.kidz-empty-state {
  display: grid;
  min-height: 210px;
  padding: 2rem;
  place-content: center;
  justify-items: center;
  border: 1px dashed #d8d6cf;
  border-radius: 16px;
  background: rgb(255 255 255 / 55%);
  text-align: center;
}
.kidz-empty-state > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  place-items: center;
  border-radius: 14px;
  background: #fff0c2;
  color: #d16c00;
}
.kidz-empty-state h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.kidz-empty-state p {
  margin: 0;
  color: #666977;
  font-size: 0.9rem;
}
.admin-users-table .mud-table-cell {
  vertical-align: middle;
}
.admin-user-name {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.admin-user-name > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #070713;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}
.admin-user-name strong {
  color: #070713;
}
.admin-user-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #8a3b3b;
  font-size: 0.8rem;
  font-weight: 750;
}
.admin-user-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c45a5a;
  content: "";
}
.admin-user-status.active {
  color: #317250;
}
.admin-user-status.active::before {
  background: #3e9567;
}
.admin-user-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.2rem;
  min-width: 108px;
}
.admin-ministries-table .mud-table-cell:first-child {
  width: 25%;
}
.admin-ministries-table .mud-table-cell:last-child {
  width: 150px;
}
.admin-ministry-actions {
  display: flex;
  justify-content: flex-start;
  gap: 0.25rem;
}
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 2rem 1rem;
  background: rgb(7 7 19 / 68%);
  backdrop-filter: blur(4px);
}
.admin-modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(7 7 19 / 30%);
  color: #171720;
}
.admin-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.admin-modal-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #fff1c4;
  color: #b75a00;
}
.admin-modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #deddd8;
  border-radius: 50%;
  background: transparent;
  color: #6d6c73;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.admin-modal-close:hover {
  background: #f3f2ee;
}
.admin-modal h2 {
  margin: 0 0 0.45rem;
  font-size: 1.8rem;
  font-weight: 600;
}
.admin-modal-description {
  margin: 0;
  color: #6d6c73;
  font-size: 0.95rem;
}
.admin-modal-content {
  margin-top: 1.75rem;
}
.admin-modal-form {
  display: grid;
  gap: 1rem;
}
.admin-modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 0.5rem;
}
.admin-modal-actions button {
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border: 0;
  border-radius: 11px;
  font-weight: 750;
  cursor: pointer;
}
.admin-modal-cancel {
  background: transparent;
  color: #55545f;
}
.admin-modal-primary {
  background: #ffad22;
  box-shadow: 0 4px 0 #e6ddd0;
  color: #070713;
}
.admin-modal-primary:hover {
  background: #ffb93f;
}
.admin-modal-primary:disabled {
  cursor: wait;
  opacity: 0.65;
}
.admin-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 180px;
  color: #6d6c73;
}
.signout-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(7 7 19 / 68%);
  backdrop-filter: blur(4px);
}
.signout-modal {
  width: min(576px, 100%);
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(7 7 19 / 30%);
  color: #171720;
}
.signout-modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.signout-modal-warning {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #fee2e2;
  color: #e20b22;
}
.signout-modal-warning .mud-icon-root {
  font-size: 22px;
}
.signout-modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #deddd8;
  border-radius: 50%;
  background: transparent;
  color: #6d6c73;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.signout-modal h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none !important;
}
.signout-modal p {
  margin: 0;
  color: #6d6c73;
  font-size: 0.95rem;
}
.signout-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.8rem;
}
.signout-modal-actions button {
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}
.signout-modal-cancel {
  background: transparent;
  color: #55545f;
}
.signout-modal-confirm {
  background: #e20b22;
  color: #fff;
  box-shadow: 0 8px 20px rgb(226 11 34 / 20%);
}
.signout-modal-close:hover,
.signout-modal-cancel:hover {
  background: #f3f2ee;
}
.signout-modal-confirm:hover {
  background: #c7091d;
}
.signout-modal button:focus-visible {
  outline: 3px solid rgb(199 102 0 / 35%);
  outline-offset: 2px;
}
.admin-main {
  width: min(1400px, 100%);
  margin-inline: auto;
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 4rem;
}
.admin-page-heading h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500;
}
.admin-page-heading > p:last-child {
  font-size: 0.95rem;
}
.admin-eyebrow {
  color: #c76600 !important;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.admin-stats {
  gap: 1rem;
  margin: 2rem 0;
}
.admin-stats article,
.admin-panel {
  border-color: #deddd8;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 15, 20, 0.04);
}
.admin-stats article {
  min-height: 150px;
  padding: 1.25rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.admin-stats article > span {
  display: flex;
  justify-content: space-between;
  color: #414049;
  font-size: 0.875rem;
}
.admin-stat-icon {
  color: #f07a00;
  font-size: 1rem !important;
}
.admin-stats strong {
  align-self: end;
  font-size: 2.25rem;
  font-weight: 400;
}
.admin-stats a {
  font-size: 0.875rem;
  text-decoration: none;
}
.admin-panel {
  padding: 1.5rem;
}
.admin-panel h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.admin-actions a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #eeeef2;
  font-size: 0.875rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}
.admin-actions a .mud-icon-root {
  color: #92919a;
  font-size: 1rem;
  transition:
    color 180ms ease,
    transform 180ms ease;
}
@media (hover: hover) {
  .admin-stats article:hover,
  .admin-stats article:focus-within {
    transform: translateY(-4px);
    border-color: #f0a23a;
    box-shadow: 0 18px 38px rgb(16 15 20 / 12%);
  }
  .admin-actions a:hover,
  .admin-actions a:focus-visible {
    transform: translateY(-3px);
    background: #fff7e9;
    box-shadow: 0 10px 24px rgb(16 15 20 / 10%);
  }
  .admin-actions a:hover .mud-icon-root,
  .admin-actions a:focus-visible .mud-icon-root {
    transform: translate(2px, -2px);
    color: #f07a00;
  }
}
@media (prefers-reduced-motion: reduce) {
  .admin-stats article,
  .admin-actions a,
  .admin-actions a .mud-icon-root {
    transition: none;
  }
}

/* ---- Balanced public-site scale ----
   Keeps the Figma hierarchy without letting display type and cards dominate
   common laptop, tablet, and phone viewports. */
.dawn-hero,
.dawn-hero-inner {
  min-height: clamp(400px, 52vh, 470px);
}
.dawn-hero-copy {
  max-width: 1100px;
  padding-block: 3.5rem 4.5rem;
}
.dawn-hero h1 {
  font-size: clamp(3.5rem, 6.2vw, 6rem);
  line-height: 0.92;
  white-space: nowrap;
}
.dawn-hero h1 br {
  display: none;
}
.dawn-hero h1 em {
  margin-left: 0.14em;
}
.dawn-hero-copy > p:last-of-type {
  max-width: 540px;
  font-size: 1.05rem;
}
.dawn-welcome,
.dawn-scripture,
.dawn-kidz-feature,
.dawn-about-values,
.dawn-ministries,
.dawn-kidz-highlights,
.dawn-coming-soon,
.dawn-sermon-list,
.dawn-event-list,
.dawn-split-form {
  padding-block: clamp(3rem, 4vw, 4.25rem);
}
.dawn-welcome h2,
.dawn-sunday h2,
.dawn-kidz-heading h2 {
  font-size: clamp(2.75rem, 4.2vw, 4.5rem);
  line-height: 1;
}
.dawn-scripture blockquote {
  font-size: clamp(2.5rem, 4vw, 4.25rem);
}
.dawn-pillars {
  margin-top: 3.5rem;
}
.dawn-pillars a {
  min-height: 250px;
  padding-block: 2rem;
}
.dawn-pillars h3 {
  margin-top: 2.25rem;
  font-size: 1.5rem;
}
.dawn-sunday {
  min-height: 540px;
}
.dawn-kidz-grid > a {
  min-height: 420px;
}
.dawn-kidz-image strong,
.dawn-kidz-card strong {
  font-size: clamp(2rem, 3vw, 3rem);
}

/* Keep the home page flowing without oversized gaps between its stories. */
.dawn-welcome,
.dawn-scripture,
.dawn-kidz-feature {
  padding-block: clamp(3rem, 4vw, 4.25rem);
}

@media (min-width: 901px) {
  .dawn-welcome-heading {
    gap: 2.5rem;
  }
  .dawn-pillars {
    margin-top: 2.5rem;
  }
  .dawn-pillars a {
    min-height: 190px;
    padding-block: 1.5rem;
  }
  .dawn-pillars h3 {
    margin-top: 1.5rem;
  }
  .dawn-pillars span {
    margin-top: 1.25rem;
  }
  .dawn-sunday,
  .dawn-sunday-image {
    min-height: 500px;
  }
  .dawn-sunday-copy {
    padding-block: 3rem;
  }
  .dawn-kidz-grid {
    margin-top: 1.5rem;
  }
  .dawn-kidz-grid > a {
    min-height: 350px;
  }
}
.dawn-interior-hero {
  min-height: clamp(400px, 52vh, 470px);
}
.dawn-interior-hero .container {
  padding-block: 3.5rem;
}
.dawn-interior-hero h1 {
  max-width: 880px;
  margin-top: 1.6rem;
  font-size: clamp(3.5rem, 6.2vw, 6rem);
  line-height: 0.92;
}
.dawn-interior-intro {
  max-width: 650px;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}
.dawn-about-list h2,
.dawn-split-form-copy h2,
.dawn-coming-card h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}
.dawn-about-list p {
  font-size: 1.075rem;
}

/* ---- About story page ---- */
.about-story {
  position: relative;
  min-height: 840px;
  padding: clamp(5rem, 8vw, 8rem) 0 0;
  overflow: hidden;
  background: #0b2d4b;
  color: #fff;
}
.about-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 14%, rgba(235, 131, 23, 0.16), transparent 30%),
    url("brand-symbol-transparent.svg") 110% 10% / 42rem auto no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
.about-story-copy {
  position: relative;
  z-index: 2;
}
.about-story .dawn-kicker {
  color: #f3c623;
}
.about-story h1 {
  max-width: 1040px;
  margin: 2rem 0 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.6rem, 6.4vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-transform: none;
}
.about-story h1 em {
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
}
.about-story-intro {
  max-width: 720px;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}
.about-story-intro p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}
.about-story-gallery {
  position: relative;
  z-index: 3;
  height: 340px;
  max-width: 1500px;
  margin: 2.5rem auto 0;
}
.about-story-photo {
  position: absolute;
  margin: 0;
  padding: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
.about-story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-story-photo--one {
  left: 4%;
  bottom: -38px;
  width: min(33vw, 430px);
  height: 310px;
  transform: rotate(-1.5deg);
}
.about-story-photo--two {
  left: 34%;
  bottom: -95px;
  width: min(40vw, 560px);
  height: 270px;
  transform: rotate(3deg);
}
.about-story-photo--three {
  right: 4%;
  bottom: -55px;
  width: min(30vw, 410px);
  height: 285px;
  transform: rotate(-3deg);
}
.dawn-about-values {
  position: relative;
  z-index: 4;
  padding-top: clamp(5rem, 8vw, 8rem);
  border: 0;
  background: #121b24;
  color: #fff;
}
.dawn-about-values .dawn-kicker {
  margin: 0 0 1.5rem;
  color: #f3c623;
}
.about-profile {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 55%), #17222d;
}
.about-profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.about-profile-header img {
  width: 78px;
  height: 78px;
  padding: 0.2rem;
  object-fit: contain;
  background: transparent;
}

/* Homepage — 2026 editorial theme alignment. */
.home-page {
  --home-paper: #f7f6f2;
  --home-ink: #123b63;
  --home-dark: #172d2f;
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-editorial-hero {
  padding-block: clamp(6rem, 9vw, 8rem) clamp(2.5rem, 4vw, 3.75rem);
  background: var(--home-paper);
}

.home-editorial-hero .public-page-intro {
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: 0;
}

.home-editorial-hero .public-page-intro h1 {
  max-width: 11ch;
  color: var(--home-ink);
  font-size: clamp(3.75rem, 6vw, 6.25rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.home-editorial-hero .public-page-intro-copy p {
  max-width: 31rem;
  color: rgba(18, 59, 99, 0.72);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.home-editorial-feature {
  position: relative;
  min-height: clamp(400px, 46vw, 560px);
  overflow: hidden;
  border-radius: 0.8rem;
  background:
    linear-gradient(0deg, rgba(0, 21, 47, 0.86) 0%, rgba(0, 21, 47, 0.08) 62%),
    url("church-hero-v2.png") center/cover;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-size 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.home-editorial-feature:hover {
  background-size: cover;
}

.home-editorial-feature-copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
}

.home-explore {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--home-paper);
}

.home-explore-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-explore-heading h2 {
  margin: 0.9rem 0 0;
  color: var(--home-ink);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.home-explore-heading .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #806300 !important;
}

.home-explore-heading .dawn-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f3c623;
  content: "";
}

.home-explore-heading > p {
  max-width: 28rem;
  margin: 0;
  color: rgba(18, 59, 99, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-explore-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid rgba(18, 59, 99, 0.22);
}

.home-explore-links a {
  position: relative;
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 3.5rem 1.6rem 0;
  border-bottom: 1px solid rgba(18, 59, 99, 0.22);
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color 180ms ease;
}

.home-explore-links a::before {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  color: currentColor;
  content: "\2192";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.home-explore-links a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #f3c623;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.home-explore-links a:hover,
.home-explore-links a:focus-visible {
  border-color: rgba(18, 59, 99, 0.45);
}

.home-explore-links a:hover::after,
.home-explore-links a:focus-visible::after {
  transform: scaleX(1);
}

.home-explore-links a:hover::before,
.home-explore-links a:focus-visible::before {
  transform: translate(0.35rem, -50%);
}

.home-explore-links span {
  margin-top: 1.65rem;
  font-family: var(--ndbc-display);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.home-explore-links small {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.home-explore-links strong {
  margin-top: auto;
  color: rgba(18, 59, 99, 0.68);
  font-size: 0.9rem;
  font-weight: 650;
}

.home-explore-links .home-explore-kidz {
  --explore-kidz-red: #f06a5f;
  --explore-kidz-blue: #65b9ee;
  --explore-kidz-teal: #45bdb8;
}

.home-explore-links .home-explore-kidz small {
  color: var(--explore-kidz-teal);
}

.home-explore-links .home-explore-kidz span {
  color: var(--explore-kidz-blue);
}

.home-explore-links .home-explore-kidz span b {
  color: var(--explore-kidz-red);
  font-weight: inherit;
}

.home-explore-links .home-explore-kidz strong {
  color: var(--explore-kidz-red);
}

.home-explore-links .home-explore-kidz::before {
  color: var(--explore-kidz-red);
}

.home-explore-links .home-explore-kidz::after {
  background: linear-gradient(
    90deg,
    var(--explore-kidz-red) 0 34%,
    #f3c623 34% 67%,
    var(--explore-kidz-teal) 67%
  );
}

.home-editorial-feature-copy p {
  margin: 0 0 0.35rem;
  color: #ffc000;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-editorial-feature-copy strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
}

.home-editorial-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.home-editorial-actions > a:not(.ndbc-button) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.home-page .dawn-hero,
.home-page .dawn-hero-inner {
  min-height: clamp(620px, 78vh, 760px);
}

.home-page .dawn-hero-media {
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 21, 47, 0.98) 0%,
      rgba(0, 21, 47, 0.86) 42%,
      rgba(0, 21, 47, 0.34) 100%
    ),
    linear-gradient(0deg, rgba(0, 21, 47, 0.68), transparent 48%),
    url("church-hero-v2.png") center/cover;
  filter: none;
  transform: none;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.home-page .dawn-hero:hover .dawn-hero-media {
  transform: scale(1.025);
}

.home-page .dawn-hero-copy {
  max-width: 56rem;
  padding-block: clamp(6rem, 12vh, 9rem);
}

.home-page .dawn-hero h1 {
  max-width: 10ch;
  font-size: clamp(4.6rem, 8vw, 8rem);
  line-height: 0.88;
}

.home-page .dawn-hero h1 em {
  margin-left: 0;
  color: #ffc000;
  font-style: normal;
}

.home-page .dawn-hero-copy > p:last-of-type {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.home-page .dawn-welcome,
.home-page .dawn-kidz-feature {
  background: var(--home-paper);
}

.home-page .dawn-welcome {
  padding-block: clamp(6rem, 10vw, 9rem);
}

.home-page .dawn-welcome::after {
  border-color: rgba(18, 59, 99, 0.12);
}

.home-page .dawn-pathway {
  border-radius: 0.8rem;
}

.home-page .dawn-pathway-believe {
  background: var(--home-dark);
}

.home-page .dawn-pathway-family {
  background: #f7c522;
}

.home-page .dawn-sunday {
  width: min(100% - (2 * var(--ndbc-page-gutter)), var(--ndbc-content-width));
  min-height: 0;
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 0.75fr);
  align-items: stretch;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(11, 45, 75, 0.14);
  border-radius: 0.9rem;
  background: #f8f7f3;
  color: #0b2d4b;
}

.home-page .dawn-sunday-image {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #eef0ef;
  box-shadow: inset 0 0 0 1px rgba(243, 198, 35, 0.18);
}

.home-page .dawn-sunday-image::before {
  position: absolute;
  inset: -3px;
  background: url("online-church-launch-thumbnail.jpeg") center/cover no-repeat;
  transform: scale(1.008);
  content: "";
}

.home-page .dawn-sunday-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 45, 75, 0.2) 0%, rgba(11, 45, 75, 0.08) 18%, transparent 48%);
  content: "";
  pointer-events: none;
}

.home-page .dawn-sunday-copy {
  justify-content: center;
  padding: clamp(1.75rem, 3vw, 3rem);
  background: linear-gradient(145deg, #fbfaf7 0%, #f1eee6 100%);
}

.home-page .dawn-sunday-copy::after {
  border-color: rgba(235, 131, 23, 0.18);
}

.home-page .dawn-sunday-copy .dawn-kicker {
  color: #c85f00;
}

.home-page .dawn-sunday h2 {
  color: #0b2d4b;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
}

.home-page .dawn-sunday-copy > p:not(.dawn-kicker) {
  color: rgba(11, 45, 75, 0.72);
}

.home-page .dawn-sunday li {
  color: #0b2d4b;
}

.home-page .dawn-scripture {
  margin-top: clamp(5rem, 9vw, 8rem);
  background: #f7c522;
}

.home-page .dawn-kidz-feature {
  padding-block: clamp(6rem, 10vw, 9rem);
}

.home-page .dawn-kidz-grid > a {
  border-radius: 0.8rem;
}

.home-page .dawn-kidz-image {
  transition: background-size 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
  background-size: auto 100%;
}

.home-page .dawn-kidz-image:hover {
  background-size: auto 104%;
}

.home-page .dawn-kidz-card {
  background: #e9ece5;
}

@media (max-width: 900px) {
  .home-editorial-hero .public-page-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .home-editorial-feature,
  .home-editorial-feature:hover {
    background-size: cover;
  }

  .home-explore-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-page .dawn-sunday {
    grid-template-columns: 1fr;
  }

  .home-page .dawn-sunday-image,
  .home-page .dawn-kidz-image {
    background-size: cover;
  }

  .home-page .dawn-sunday-image:hover,
  .home-page .dawn-kidz-image:hover {
    background-size: cover;
  }
}

@media (max-width: 680px) {
  .home-editorial-hero {
    padding-block: 3.75rem 2.5rem;
  }

  .home-editorial-hero .public-page-intro h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .home-editorial-feature {
    min-height: 520px;
  }

  .home-editorial-feature-copy,
  .home-editorial-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-explore-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-explore-links a {
    min-height: 11rem;
    padding-block: 1.35rem;
  }

  .home-explore-links span {
    margin-top: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .dawn-hero-media,
  .home-editorial-feature,
  .home-page .dawn-sunday-image,
  .home-page .dawn-kidz-image {
    transition: none;
  }
}
.about-profile-header strong,
.about-profile-header span {
  display: block;
}
.about-profile-header strong {
  font-size: 1.2rem;
}
.about-profile-header span,
.about-profile-header p {
  color: rgba(255, 255, 255, 0.62);
}
.about-profile-header p {
  margin: 0 0 0 auto;
}
.about-profile-rows {
  margin: 0;
}
.about-profile-rows > div {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.about-profile-rows > div:last-child {
  border-bottom: 0;
}
.about-profile-rows dt {
  color: #b9cbd6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about-profile-rows dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}
.about-leadership {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: #f7f5ef;
  color: #0b2d4b;
}
.about-leadership-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.about-leadership-copy {
  position: sticky;
  top: 8rem;
}
.about-leadership h2 {
  margin: 1.8rem 0 0;
  color: #0b2d4b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 4.6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: none;
}
.about-leadership-copy > p:not(.dawn-kicker) {
  margin: 1.8rem 0;
  color: rgba(11, 45, 75, 0.76);
  font-size: 1.08rem;
  line-height: 1.65;
}
.about-leadership-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-leadership-copy li {
  padding: 1rem 0;
  border-top: 1px solid rgba(11, 45, 75, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.about-leadership-cards {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}
.about-leader-card {
  margin: 0;
}
.about-leader-placeholder {
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #dce3e8;
}
.about-leader-placeholder img {
  width: 52%;
  opacity: 0.12;
}
.about-leader-portrait {
  display: flex;
  min-height: 440px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, #e7ecef 0%, #cbd7df 100%);
}
.about-leader-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.about-leader-card h3 {
  margin: 1rem 0 0.25rem;
  color: #0b2d4b;
  font-size: 1.1rem;
}
.about-leader-card p {
  margin: 0;
  color: rgba(11, 45, 75, 0.7);
  line-height: 1.5;
}
.about-leader-card--note {
  align-self: end;
  min-height: 330px;
  padding: 2rem;
  border-radius: 10px;
  background: #0b2d4b;
  color: #fff;
}
.about-leader-card--note span {
  color: #f3c623;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-leader-card--note blockquote {
  margin: 3.5rem 0 2rem;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.about-leader-card--note p {
  color: rgba(255, 255, 255, 0.62);
}
.about-invitation {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: #f3c623;
  color: #0b2d4b;
}
.about-invitation-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.about-invitation .dawn-kicker {
  margin: 0.7rem 0 0;
  color: #0b2d4b;
}
.about-invitation h2 {
  margin: 0;
  color: #0b2d4b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
}
.about-invitation p {
  max-width: 620px;
  margin: 1.75rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .about-story {
    min-height: 780px;
  }
  .about-story-gallery {
    height: 300px;
  }
  .about-story-photo--one {
    left: 2%;
    width: 42vw;
  }
  .about-story-photo--two {
    left: 31%;
    width: 48vw;
  }
  .about-story-photo--three {
    right: -8%;
    width: 37vw;
  }
  .about-invitation-grid {
    grid-template-columns: 1fr;
  }
  .about-leadership-grid {
    grid-template-columns: 1fr;
  }
  .about-leadership-copy {
    position: static;
  }
}
@media (max-width: 680px) {
  .about-story {
    min-height: 760px;
    padding-top: 4rem;
  }
  .about-story h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }
  .about-story-gallery {
    height: 250px;
    margin-top: 2rem;
  }
  .about-story-photo {
    padding: 5px;
  }
  .about-story-photo--one {
    left: -12%;
    width: 60vw;
    height: 220px;
  }
  .about-story-photo--two {
    left: 31%;
    width: 64vw;
    height: 205px;
  }
  .about-story-photo--three {
    display: none;
  }
  .about-profile-header {
    align-items: flex-start;
  }
  .about-profile-header p {
    display: none;
  }
  .about-profile-rows > div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .about-leadership-cards {
    grid-template-columns: 1fr;
  }
  .about-leader-placeholder {
    min-height: 360px;
  }
  .about-invitation h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
}

/* About page in the shared editorial system. */
.about-page {
  background: #f5f5f2;
  color: #10375c;
}
.about-landing {
  padding-block: clamp(6rem, 9vw, 8rem) clamp(4.5rem, 7vw, 6.5rem);
  overflow: hidden;
  background: #f5f5f2;
}
.about-landing .about-story-gallery {
  position: static;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.75fr;
  gap: 1rem;
  width: min(100% - 2rem, var(--ndbc-content-width));
  height: auto;
  margin: 0 auto;
}
.about-landing .about-story-photo {
  position: static;
  width: auto;
  height: clamp(20rem, 30vw, 34rem);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition:
    box-shadow 280ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.about-landing .about-story-photo--two {
  height: clamp(17rem, 25vw, 29rem);
  align-self: end;
}
.about-landing .about-story-photo--three {
  height: clamp(15rem, 22vw, 25rem);
  align-self: center;
}
.about-landing .about-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 280ms ease;
}
@media (hover: hover) {
  .about-landing .about-story-photo:hover {
    box-shadow: 0 1.5rem 3.5rem rgba(16, 55, 92, 0.14);
    transform: translateY(-8px);
  }
  .about-landing .about-story-photo:hover img {
    filter: saturate(1.06) contrast(1.02);
    transform: scale(1.045);
  }
}
.about-page .dawn-about-values {
  padding-block: clamp(5rem, 8vw, 7rem);
  background: #192a2d;
}
.about-page .dawn-about-values .dawn-kicker,
.about-page .about-leadership .dawn-kicker,
.about-page .about-invitation .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.about-page .dawn-about-values .dawn-kicker::before,
.about-page .about-leadership .dawn-kicker::before,
.about-page .about-invitation .dawn-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #f3c623;
  content: "";
}
.about-page .dawn-about-values .dawn-kicker span,
.about-page .about-leadership .dawn-kicker span,
.about-page .about-invitation .dawn-kicker span {
  display: none;
}
.about-page .about-profile {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
}
.about-page .about-leadership {
  padding-block: clamp(6rem, 9vw, 8rem);
  background: #f5f5f2;
}
.about-page .about-leadership h2 {
  margin-top: 0.8rem;
  font-size: clamp(3.75rem, 6vw, 6.25rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 0.9;
}
.about-page .about-leadership .dawn-kicker {
  color: #806300;
}
.about-page .about-leader-placeholder,
.about-page .about-leader-portrait,
.about-page .about-leader-card--note {
  border-radius: 0.85rem;
}
.about-page .about-invitation {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: #f5f5f2;
}
.about-page .about-invitation-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-height: 270px;
  padding: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
  background: #192a2d;
  color: #fff;
}
.about-page .about-invitation-grid::after {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(243, 198, 35, 0.25);
  border-radius: 50%;
  content: "";
}
.about-page .about-invitation-grid > * {
  position: relative;
  z-index: 1;
}
.about-page .about-invitation .dawn-kicker {
  align-self: flex-start;
  margin: 0.7rem 0 0;
  color: #f3c623;
}
.about-page .about-invitation h2 {
  color: #fff;
  font-size: clamp(2.75rem, 4.4vw, 4.5rem);
  font-weight: 320;
}
.about-page .about-invitation p {
  color: rgba(255, 255, 255, 0.7);
}
.about-page .about-invitation .btn {
  border-color: #f3c623;
  background: #f3c623;
  color: #10375c;
}
@media (max-width: 900px) {
  .about-landing .about-story-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .about-landing .about-story-photo--three {
    display: none;
  }
  .about-page .about-invitation-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 680px) {
  .about-landing {
    padding-block: 4.5rem 4rem;
  }
  .about-landing .about-story-gallery {
    grid-template-columns: 1fr;
    width: auto;
    padding-inline: 1.25rem;
  }
  .about-landing .about-story-photo,
  .about-landing .about-story-photo--two {
    height: 19rem;
  }
  .about-landing .about-story-photo--two {
    display: none;
  }
  .about-page .about-leadership {
    padding-block: 4.5rem;
  }
  .about-page .about-leadership h2 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }
  .about-page .about-invitation {
    padding-block: 3rem;
  }
  .about-page .about-invitation-grid {
    min-height: 0;
    padding: 2rem 1.5rem;
  }
  .about-page .about-invitation .btn {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-landing .about-story-photo,
  .about-landing .about-story-photo img {
    transition: none;
  }
}

@media (min-width: 901px) {
  .dawn-about-values {
    padding-block: clamp(3.25rem, 4vw, 4.5rem);
  }
}
.dawn-ministry-grid h2,
.dawn-kidz-highlights h2,
.dawn-event-grid h2 {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
}
.dawn-kidz-highlights article {
  min-height: 185px;
  padding: 1.5rem;
}
.dawn-coming-card {
  min-height: 310px;
}

@media (max-width: 680px) {
  .dawn-hero,
  .dawn-hero-inner {
    min-height: 590px;
  }
  .dawn-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.5rem);
    white-space: normal;
  }
  .dawn-hero h1 br {
    display: block;
  }
  .dawn-interior-hero {
    min-height: 420px;
  }
  .dawn-interior-hero h1 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }
  .dawn-welcome h2,
  .dawn-sunday h2,
  .dawn-kidz-heading h2,
  .dawn-scripture blockquote {
    font-size: clamp(2.4rem, 11vw, 3.25rem);
  }
  .dawn-form-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }
}

/* The remaining admin pages inherit the same cards, forms and tables. */

/* ---- Phone-first public experience ----
   Kept last so these rules consistently win over the earlier desktop themes. */
@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: auto;
    margin-inline: 0;
    padding-inline: 1.25rem;
  }

  .site-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 82px;
    padding-inline: 1.25rem;
  }

  .brand {
    width: auto;
    min-width: 0;
    padding-right: 0;
  }

  .brand-logo {
    width: 154px;
    height: 44px;
  }

  .nav-toggle-label {
    position: relative;
    display: grid;
    width: 52px;
    height: 52px;
    justify-self: end;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 21px;
    height: 2px;
    background: #fff;
    content: "";
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .nav-toggle-icon::before {
    transform: translateY(-6px);
  }
  .nav-toggle-icon::after {
    transform: translateY(4px);
  }
  .nav-toggle:checked + .nav-toggle-label .nav-toggle-icon {
    background: transparent;
  }
  .nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::before {
    transform: translateY(0) rotate(45deg);
  }
  .nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::after {
    transform: translateY(-1.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--ndbc-navy);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.32);
  }

  .site-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.035em;
  }

  .nav-cta,
  .nav-cta.ghost {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.55rem 0 0;
  }

  .dawn-hero,
  .dawn-hero-inner {
    min-height: calc(100svh - 74px);
  }

  .dawn-hero-media {
    background:
      linear-gradient(
        90deg,
        rgba(16, 55, 92, 0.96),
        rgba(16, 55, 92, 0.72) 64%,
        rgba(16, 55, 92, 0.52)
      ),
      radial-gradient(circle at 78% 36%, rgba(235, 131, 23, 0.22), transparent 38%),
      linear-gradient(0deg, #10375c 0%, transparent 45%),
      url("church-hero-v2.png") 67% center/cover;
  }

  .dawn-hero-symbol {
    right: -12%;
    width: 82vw;
    max-height: 44%;
    opacity: 0.22;
  }

  .dawn-hero-copy {
    width: 100%;
    padding: 4rem 0 5rem;
  }

  .dawn-hero .dawn-kicker {
    gap: 0.65rem;
    font-size: 0.67rem;
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .dawn-hero .dawn-kicker span {
    width: 34px;
  }

  .dawn-hero h1 {
    margin-top: 1.5rem;
    font-size: clamp(3.35rem, 16vw, 4.5rem);
    line-height: 0.86;
    letter-spacing: -0.06em;
  }

  .dawn-hero h1 em {
    margin-left: 1.6rem;
  }

  .dawn-hero-copy > p:last-of-type {
    margin-top: 1.8rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.8;
  }

  .dawn-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .dawn-actions .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 0.75rem !important;
    text-align: center;
  }

  .dawn-actions .btn::after {
    content: none;
  }

  .dawn-interior-hero {
    min-height: 390px;
  }

  .dawn-interior-hero .container {
    padding-block: 4rem;
  }

  .dawn-interior-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(3rem, 15vw, 4.1rem);
    letter-spacing: -0.055em;
    line-height: 0.92;
  }

  .dawn-interior-intro {
    font-size: 1rem;
  }

  .dawn-welcome,
  .dawn-scripture,
  .dawn-kidz-feature,
  .dawn-about-values,
  .dawn-ministries,
  .dawn-kidz-highlights,
  .dawn-coming-soon,
  .dawn-sermon-list,
  .dawn-event-list,
  .dawn-split-form {
    padding-block: 3.5rem;
  }

  .dawn-split-form-grid {
    gap: 2rem;
  }

  .dawn-form-card {
    padding: 1.15rem;
    border-radius: 1.25rem;
  }

  .dawn-form-card .mud-input-root {
    min-height: 48px;
  }

  .dawn-form-card .mud-button-root.mud-button-filled-primary {
    width: 100%;
    min-height: 52px;
  }

  .dawn-sunday-copy {
    padding: 3.5rem 1.25rem;
  }
  .dawn-sunday-image {
    min-height: 400px;
  }
  .dawn-scripture-grid {
    gap: 2rem;
  }
  .dawn-kidz-grid > a {
    min-height: 360px;
  }

  .site-footer {
    padding-block: 2.5rem;
  }

  .footer-grid {
    gap: 2.25rem;
    padding-inline: 1.25rem;
  }

  .footer-logo {
    width: 180px;
  }

  .site-footer a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .subscribe-form input,
  .subscribe-form button {
    min-height: 48px;
  }

  .blog-feature,
  .blog-empty,
  .notes {
    padding: 1.25rem;
  }
}

@media (max-width: 370px) {
  .container,
  .site-header-inner,
  .site-nav,
  .footer-grid {
    padding-inline: 1rem;
  }

  .brand-logo {
    width: 138px;
  }
  .dawn-hero .dawn-kicker {
    white-space: normal;
  }
  .dawn-hero h1 {
    font-size: 3rem;
  }
}
.admin-main > h3,
.admin-main > div:first-child h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
}
.admin-main .mud-paper,
.admin-main .mud-table-container {
  border: 1px solid #deddd8;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(16, 15, 20, 0.04) !important;
  overflow: hidden;
}
.admin-main .mud-table-head {
  background: #eeeef2;
}
.admin-main .mud-table-cell {
  padding: 0.9rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.875rem;
}
.admin-main .mud-button-filled-primary,
.admin-main .mud-button-filled-secondary {
  background: #070713 !important;
  color: #fff !important;
  border-radius: 9px !important;
}
.admin-main .mud-input-outlined-border {
  border-radius: 9px !important;
}
.admin-main .mud-tabs-tabbar {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid #deddd8;
  border-radius: 12px;
}

@media (max-width: 1000px) {
  .admin-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .admin-sidebar {
    width: 224px;
  }
  .admin-nav-collapsed {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .admin-nav-collapsed .admin-sidebar {
    width: 80px;
  }
}

@media (max-width: 760px) {
  .admin-shell,
  .admin-nav-collapsed {
    --admin-sidebar-width: min(300px, 86vw);
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 86vw);
    height: 100dvh;
    padding: 1.25rem 1rem;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    box-shadow: 18px 0 50px rgba(0, 0, 0, 0.25);
  }
  .admin-nav-collapsed .admin-sidebar {
    padding: 1.25rem 1rem;
  }
  .admin-nav-collapsed .admin-sidebar-header {
    justify-content: space-between;
  }
  .admin-nav-collapsed .admin-brand {
    align-items: flex-start;
    padding: 0 0.5rem;
  }
  .admin-nav-collapsed .admin-brand-wordmark,
  .admin-nav-collapsed .admin-brand span,
  .admin-nav-collapsed .admin-nav a > span:last-child,
  .admin-nav-collapsed .admin-public-link,
  .admin-nav-collapsed .admin-version {
    display: flex;
  }
  .admin-nav-collapsed .admin-brand .admin-brand-mark {
    display: none;
  }
  .admin-nav-collapsed .admin-nav a {
    justify-content: flex-start;
    gap: 0.75rem;
    width: auto;
    margin: 0;
    padding: 0.65rem 0.75rem;
  }
  .admin-nav-collapsed .admin-nav a::before,
  .admin-nav-collapsed .admin-nav a::after,
  .admin-menu-collapse-button {
    display: none;
  }
  .admin-menu-toggle:checked + .admin-shell .admin-sidebar {
    transform: translateX(0);
  }
  .admin-menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(3, 3, 15, 0.55);
  }
  .admin-menu-toggle:checked + .admin-shell .admin-menu-scrim {
    display: block;
  }
  .admin-menu-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #363644;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
  }
  .admin-menu-button {
    display: grid;
    gap: 4px;
    width: 40px;
    padding: 8px;
    cursor: pointer;
  }
  .admin-menu-button span {
    height: 2px;
    border-radius: 2px;
    background: #070713;
  }
  .admin-nav {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    min-height: 66px;
    padding: 0.75rem 1rem;
  }
  .admin-topbar-title {
    margin-right: auto;
  }
  .admin-account > span {
    display: none;
  }
  .admin-main {
    padding: 1.75rem 1rem 3rem;
  }
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-actions {
    grid-template-columns: 1fr 1fr;
  }
  .admin-messages-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .kidz-active-card {
    grid-template-columns: repeat(3, 1fr);
  }
  .kidz-active-card > button {
    width: max-content;
  }
  .admin-main .mud-table-container {
    overflow-x: auto;
  }
}

/* ---- 2026 brand system: navy + gold ----
   This final layer intentionally unifies the public, kids, account and admin themes. */
:root {
  --dawn-dark: #00152f;
  --dawn-gold: #ffc000;
  --dawn-orange: #ffc000;
  --dawn-cream: #f4f6f8;
  --kidz-yellow: #ffc000;
  --kidz-red: #ffc000;
  --kidz-blue: #00152f;
  --kidz-teal: #00152f;
  --kidz-cream: #f4f6f8;
}

body,
.site,
.site-main,
.admin-workspace,
.admin-shell {
  background-color: var(--ndbc-paper);
  color: var(--ndbc-navy);
}

a {
  color: var(--ndbc-navy);
}

a:hover,
a:focus-visible {
  color: #8a6700;
}

.site-header,
.admin-sidebar,
.account-site .site-header {
  background: var(--ndbc-navy);
  color: #fff;
}

.site-header {
  border-bottom-color: var(--ndbc-gold);
}

.brand,
.footer-brand-block,
.account-footer-inner,
.admin-brand {
  overflow: hidden;
}

.brand {
  width: 285px;
  padding-right: 0.5rem;
}

.brand-logo,
.footer-logo,
.admin-brand-wordmark {
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand-logo {
  width: 270px;
  height: 68px;
  object-fit: cover;
}

.footer-logo {
  width: 220px;
  height: 76px;
}

.admin-brand img.admin-brand-wordmark {
  width: 180px;
  height: 64px;
}

.admin-brand .admin-brand-mark {
  background: var(--ndbc-navy);
  object-fit: cover;
}

.ndbc-button--compact {
  min-height: 38px;
  padding: 0.5rem 1.05rem;
  font-size: 0.875rem;
}

.dawn-actions .ndbc-button--compact {
  min-height: 38px;
  padding: 0.5rem 1.05rem;
  font-family: var(--ndbc-ui);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  text-transform: none;
}

.site-link,
.account-back-link {
  color: #fff;
}

.site-link {
  white-space: nowrap;
}

.site-link:hover,
.site-link.active,
.account-back-link:hover {
  color: var(--ndbc-gold);
}

.site-link::after {
  background: var(--ndbc-gold);
}

.nav-cta,
.btn-primary,
.dawn-form-card .mud-button-root.mud-button-filled-primary,
.admin-add-button,
.kidz-active-card > button,
.kidz-checkout-form button,
.kidz-history-filters > button {
  border-color: var(--ndbc-gold) !important;
  background: var(--ndbc-gold) !important;
  color: var(--ndbc-navy) !important;
}

.nav-cta:hover,
.btn-primary:hover,
.admin-add-button:hover {
  background: #ffd24d !important;
}

.nav-cta.ghost,
.btn-outline {
  border-color: #fff !important;
  background: transparent !important;
  color: #fff !important;
}

.nav-cta.ghost:hover,
.btn-outline:hover {
  border-color: var(--ndbc-gold) !important;
  color: var(--ndbc-gold) !important;
}

.dawn-hero-media {
  background:
    linear-gradient(90deg, rgba(0, 21, 47, 0.97), rgba(0, 21, 47, 0.72) 62%, rgba(0, 21, 47, 0.48)),
    radial-gradient(circle at 78% 36%, rgba(255, 192, 0, 0.3), transparent 38%),
    linear-gradient(0deg, #00152f 0%, transparent 45%),
    url("church-hero-v2.png") center/cover;
}

.dawn-hero-media.dawn-hero-media--solid {
  background:
    radial-gradient(circle at 76% 42%, rgba(255, 192, 0, 0.12), transparent 28%),
    linear-gradient(100deg, #00152f 0%, #00152f 34%, #0a2340 66%, #173653 100%);
  filter: none;
  transform: none;
}

.dawn-hero-symbol {
  background: transparent;
  mix-blend-mode: normal;
}

.dawn-hero h1 {
  white-space: normal;
}

.dawn-actions .btn::after {
  content: none;
}

.dawn-kicker,
.dawn-hero h1 em,
.dawn-interior-kicker,
.section-kicker,
.eyebrow {
  color: var(--ndbc-gold) !important;
}

.dawn-kicker span,
.dawn-interior-kicker::before,
.section-kicker::before {
  background: var(--ndbc-gold) !important;
}

.dawn-about-grid > .dawn-kicker,
.dawn-welcome-intro > .dawn-kicker,
.dawn-kidz-heading .dawn-kicker {
  color: #b87800 !important;
}

/* Ministries page — spacious editorial system inspired by Creative Corner Studio. */
.ministries-page {
  --ministries-dark: #14292c;
  --ministries-ink: #0b293f;
  --ministries-accent: #f3c623;
  --ministries-paper: #f5f5f2;
  font-family: var(--ndbc-ui);
}

.ministries-page .dawn-interior-hero {
  min-height: clamp(460px, 60vh, 600px);
  background:
    radial-gradient(circle at 82% 38%, rgba(243, 198, 35, 0.08), transparent 24%),
    linear-gradient(160deg, #173033 0%, #17282a 48%, #202222 100%);
  font-family: var(--ndbc-ui);
}

.ministries-page .dawn-interior-hero::before {
  background: transparent;
}

.ministries-page .dawn-interior-hero .container {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.ministries-page .dawn-interior-hero .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.78) !important;
  animation: ministries-rise 700ms 80ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.ministries-page .dawn-interior-hero .dawn-kicker::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ministries-accent);
  content: "";
}

.ministries-page .dawn-interior-hero h1 {
  max-width: 1050px;
  margin-top: 1.5rem;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3.6rem, 6.4vw, 6.5rem);
  font-weight: 430;
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 0.92;
  animation: ministries-rise 850ms 170ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.ministries-page .dawn-interior-hero h1 em {
  color: var(--ministries-accent) !important;
  font-weight: 390;
}

.ministries-page .dawn-interior-hero p:not(.dawn-kicker) {
  max-width: 690px;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.7;
  animation: ministries-rise 850ms 290ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.ministries-page .dawn-ministries {
  padding-block: clamp(4.5rem, 7vw, 7rem);
  background: var(--ministries-paper);
  font-family: var(--ndbc-ui);
}

.ministries-page .dawn-ministries-heading {
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.ministries-page .dawn-ministries-heading .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #806300 !important;
}

.ministries-page .dawn-ministries-heading .dawn-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ministries-accent);
  content: "";
}

.ministries-page .dawn-ministries-heading h2 {
  max-width: 15ch;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.25rem);
  font-weight: 320;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.ministries-page .dawn-ministries-heading > p {
  max-width: 34rem;
  padding-top: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

body .ministries-page .dawn-ministry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.25vw, 1.25rem);
}

body .ministries-page .dawn-ministry-grid .dawn-ministry-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding: clamp(1.4rem, 2vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(11, 41, 63, 0.08);
  border-radius: 0.85rem;
  background: #f4f4f2;
  box-shadow: 0 1rem 2.5rem rgba(11, 41, 63, 0.025);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

body .ministries-page .dawn-ministry-grid .dawn-ministry-card:hover {
  border-color: rgba(11, 41, 63, 0.16);
  box-shadow: 0 1.25rem 2.75rem rgba(11, 41, 63, 0.08);
  transform: translateY(-4px);
}

.ministries-page .dawn-ministry-monogram {
  display: grid;
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  place-items: center;
  border: 1px solid rgba(11, 41, 63, 0.08);
  border-radius: 0.7rem;
  background: var(--ministries-accent);
  color: var(--ministries-ink);
  font-family: var(--ndbc-copy);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.ministries-page .dawn-ministry-card:nth-child(4n + 2) {
  background: #eef2f1;
}

.ministries-page .dawn-ministry-card:nth-child(4n + 3) .dawn-ministry-monogram {
  background: var(--ministries-dark);
  color: #fff;
}

.ministries-page .dawn-ministry-card > div {
  padding: 0;
}

.ministries-page .dawn-ministry-card h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.ministries-page .dawn-ministry-card p {
  margin-top: 0.8rem;
  color: rgba(11, 41, 63, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.ministries-page .dawn-ministry-invite {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  margin-top: clamp(6rem, 10vw, 10rem);
  padding: clamp(2.5rem, 5vw, 5rem);
  border-radius: 0;
  background: linear-gradient(155deg, #173033 0%, #202222 100%);
}

.ministries-page .dawn-ministry-invite::after {
  position: absolute;
  right: -4rem;
  bottom: -7rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(243, 198, 35, 0.25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ministries-page .dawn-ministry-invite > * {
  position: relative;
  z-index: 1;
}

.ministries-page .dawn-ministry-invite h2 {
  max-width: 12ch;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 430;
  letter-spacing: -0.055em;
}

@keyframes ministries-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .ministries-page .dawn-ministries-heading,
  .ministries-page .dawn-ministry-card,
  .ministries-page .dawn-ministry-invite {
    animation: ministries-rise both linear;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }

  .ministries-page .dawn-ministry-card:nth-child(4n + 2) {
    animation-range: entry 14% cover 34%;
  }
}

@media (max-width: 1180px) {
  body .ministries-page .dawn-ministry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ministries-page .dawn-ministries-heading {
    grid-template-columns: 1fr;
  }

  .ministries-page .dawn-ministries-heading h2 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .ministries-page .dawn-interior-hero {
    min-height: 560px;
  }

  .ministries-page .dawn-interior-hero h1 {
    overflow-wrap: normal;
    font-size: clamp(3.5rem, 15vw, 5rem);
  }

  body .ministries-page .dawn-ministry-grid {
    grid-template-columns: 1fr;
  }

  body .ministries-page .dawn-ministry-grid .dawn-ministry-card {
    min-height: 290px;
    gap: 3rem;
  }

  .ministries-page .dawn-ministry-monogram {
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ministries-page *,
  .ministries-page *::before,
  .ministries-page *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* App-wide editorial typography. Keep the Kidz handwritten accent intact. */
body,
button,
input,
textarea,
select,
.mud-typography,
.mud-input,
.mud-button-root,
.mud-table-cell {
  font-family: var(--ndbc-body) !important;
}

body :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--ndbc-heading) !important;
}

/* About page responsive composition.
   This page deliberately uses a wider editorial canvas than the shared
   content pages, while stepping down cleanly before the cards become cramped. */
.about-page .about-landing > .container,
.about-page .dawn-about-values > .container,
.about-page .about-leadership > .container {
  width: min(calc(100% - (2 * var(--ndbc-page-gutter))), 1400px);
  padding-inline: 0;
}

.about-page .about-invitation > .container {
  width: min(calc(100% - (2 * var(--ndbc-page-gutter))), 1584px);
  padding: clamp(2.5rem, 5vw, 5rem);
}

.about-page .about-landing .about-story-gallery {
  width: min(calc(100% - (2 * var(--ndbc-page-gutter))), 1584px);
  grid-template-columns: minmax(0, 1.47fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem;
}

.about-page .about-landing .about-story-photo--one {
  height: clamp(28rem, 30vw, 36rem);
}

.about-page .about-landing .about-story-photo--two {
  height: clamp(24rem, 25vw, 29.5rem);
}

.about-page .about-landing .about-story-photo--three {
  height: clamp(21rem, 22vw, 26.5rem);
}

.about-page .about-leadership-grid {
  grid-template-columns: minmax(0, 1fr) minmax(36rem, 1.22fr);
  gap: clamp(4rem, 6.5vw, 7.75rem);
}

.about-page .about-leadership-cards {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .about-page .about-landing .about-story-gallery {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .about-page .about-landing .about-story-photo--one,
  .about-page .about-landing .about-story-photo--two {
    height: clamp(24rem, 48vw, 32rem);
  }

  .about-page .about-landing .about-story-photo--three {
    display: none;
  }

  .about-page .about-leadership-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-page .about-leadership-copy {
    position: static;
  }

  .about-page .about-leadership-copy > p:not(.dawn-kicker) {
    max-width: 48rem;
  }
}

@media (max-width: 680px) {
  .about-page .about-landing > .container,
  .about-page .dawn-about-values > .container,
  .about-page .about-leadership > .container,
  .about-page .about-landing .about-story-gallery {
    width: calc(100% - 2.5rem);
  }

  .about-page .about-invitation > .container {
    width: calc(100% - 2.5rem);
    padding: 2rem 1.5rem;
  }

  .about-page .about-landing .about-story-gallery {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .about-page .about-landing .about-story-photo--one {
    height: clamp(22rem, 118vw, 31rem);
  }

  .about-page .about-landing .about-story-photo--two {
    display: none;
  }

  .about-page .about-leadership-cards {
    grid-template-columns: 1fr;
  }
}

/* Contact page — full-height editorial split form. */
.contact-page {
  --contact-dark: #1b2e30;
  --contact-ink: #101d26;
  --contact-accent: #f3c623;
  background: #fff;
}

.contact-page .dawn-split-form {
  min-height: 100svh;
  padding: 0;
  border: 0;
  background: #fff;
  font-family: var(--ndbc-body);
}

.contact-page .dawn-split-form > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.contact-page .dawn-split-form-grid {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.15fr) minmax(520px, 0.85fr);
  gap: 0;
}

.contact-page .dawn-split-form-copy {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 5vw, 6rem);
  background:
    linear-gradient(180deg, transparent 55%, rgba(243, 198, 35, 0.04)), var(--contact-dark);
  color: #fff;
}

.contact-page .dawn-split-form-copy::before {
  position: absolute;
  right: -10rem;
  bottom: -14rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(243, 198, 35, 0.13);
  border-radius: 50%;
  content: "";
}

.contact-page .dawn-split-form-copy::after {
  position: absolute;
  right: -3rem;
  bottom: -21rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.contact-page .split-form-home {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(15rem, 19vw, 19rem);
  align-self: flex-start;
}

.contact-page .split-form-home img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-page .dawn-split-form-copy h2 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.8rem, 6vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.94;
  animation: ministries-rise 800ms 80ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page:not(.plan-visit-page, .kidz-split-page) .dawn-split-form-copy h2 {
  max-width: 16ch;
}

.contact-page .dawn-split-form-copy p {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: clamp(4rem, 12vh, 9rem) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.75;
  animation: ministries-rise 800ms 200ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page .dawn-form-card {
  width: 100%;
  max-width: none;
  min-height: 100%;
  justify-self: stretch;
  padding: clamp(2rem, 4vw, 4.5rem) clamp(2rem, 5vw, 6rem);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.contact-page .dawn-form-card .dawn-form-eyebrow,
.giving-page .dawn-form-card .dawn-form-eyebrow {
  display: flex;
  margin: 0 0 1.6rem;
  color: #9c7510;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dawn-form-mobile-header {
  display: contents;
}

.contact-form-heading {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  animation: ministries-rise 800ms 130ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form-heading h1 {
  margin: 0;
  color: var(--contact-ink);
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  font-weight: 380;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: none;
}

.contact-form-heading p {
  margin: 0.8rem 0 0;
  color: rgba(16, 29, 38, 0.64);
  font-size: 1.05rem;
}

.plan-visit-page .dawn-form-card {
  padding-top: clamp(1.5rem, 2.5vw, 2.75rem);
}

.connect-page {
  min-height: 70vh;
  padding-bottom: clamp(4rem, 8vw, 8rem);
  background: #f8f7f3;
  color: #101d26;
}

.connect-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #1b2e30;
  color: #fff;
}

.connect-hero h1 {
  max-width: 14ch;
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.connect-hero .container > p:last-child {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.65;
}

.connect-form-shell {
  max-width: 920px;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(16, 29, 38, 0.14);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(16, 29, 38, 0.08);
}

.connect-form-intro {
  padding: 1.35rem clamp(1.5rem, 4vw, 3rem);
  background: #1b2e30;
  color: #fff;
}

.connect-form fieldset {
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem);
  border: 0;
  border-bottom: 1px solid rgba(16, 29, 38, 0.13);
}

.connect-form legend {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  font-size: 1.4rem;
}

.connect-form legend span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f3c623;
  font-size: 0.9rem;
}

.connect-form fieldset > p {
  margin: 0.4rem 0 1.75rem 3.2rem;
  color: rgba(16, 29, 38, 0.62);
}

.connect-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.connect-form .mud-input-root {
  border-radius: 0.6rem;
}

.connect-consent {
  margin: clamp(1.5rem, 4vw, 3rem);
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #f8f7f3;
}

.connect-form .connect-submit {
  width: calc(100% - clamp(3rem, 8vw, 6rem));
  margin: 0 clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
}

@media (max-width: 620px) {
  .connect-form-shell {
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .connect-field-grid {
    grid-template-columns: 1fr;
  }
}

.visit-page {
  min-height: 70vh;
  background: #f5f6f4;
  color: #101d26;
}

.visit-hero {
  color: #fff;
}

.visit-hero-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.visit-hero h1 {
  max-width: none;
  margin: 1.25rem 0 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.visit-hero-grid > div > p:last-child {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.visit-details article {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(16, 29, 38, 0.15);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(16, 29, 38, 0.07);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.visit-details article:hover {
  border-color: rgba(155, 123, 8, 0.35);
  box-shadow: 0 1.25rem 3rem rgba(16, 29, 38, 0.11);
  transform: translateY(-4px);
}

.visit-card-number {
  margin: 0 0 3rem;
  color: #9b7b08;
  font-size: 0.8rem;
  font-weight: 700;
}

.visit-details h2 {
  margin: 0;
  font-size: 1.6rem;
}

.visit-details article > p:not(.visit-card-number) {
  margin: 1rem 0 1.5rem;
  color: rgba(16, 29, 38, 0.72);
  line-height: 1.65;
}

.visit-details a {
  color: #101d26;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.visit-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.visit-social-links a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0.4rem 1rem rgba(16, 29, 38, 0.16);
  place-items: center;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.visit-social-links a:hover {
  box-shadow: 0 0.6rem 1.25rem rgba(16, 29, 38, 0.24);
  transform: translateY(-2px);
}

.visit-social-links svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.visit-social-links .visit-social-facebook {
  background: #1877f2;
}

.visit-social-links .visit-social-facebook svg,
.visit-social-links .visit-social-tiktok svg,
.visit-social-links .visit-social-youtube svg {
  fill: currentColor;
  stroke: none;
}

.visit-social-links .visit-social-youtube {
  background: #ff0000;
}

.visit-social-links .visit-social-tiktok {
  background: #101010;
}

.visit-social-links .visit-social-whatsapp {
  background: #25d366;
}

.visit-social-links .visit-social-play,
.visit-social-links .visit-social-phone {
  fill: #fff;
  stroke: none;
}

.visit-social-links .visit-social-play {
  fill: #ff0000;
}

@media (max-width: 760px) {
  .visit-hero-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .visit-details {
    grid-template-columns: 1fr;
  }

  .visit-details article {
    border: 1px solid rgba(16, 29, 38, 0.15);
  }
}

.contact-page .contact-form {
  display: grid;
  gap: 1rem !important;
  animation: ministries-rise 850ms 240ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-page .dawn-form-card .mud-input-root {
  height: 48px;
  min-height: 48px;
  border-radius: 0.6rem;
  background: #fff;
}

.contact-page .dawn-form-card .mud-input-outlined-border {
  border-color: rgba(16, 29, 38, 0.22) !important;
  border-radius: 0.6rem !important;
}

.contact-page .dawn-form-card .mud-input-control:focus-within .mud-input-outlined-border {
  border-color: var(--contact-ink) !important;
  box-shadow: none;
}

.contact-page .dawn-form-card .dawn-field > label {
  color: var(--contact-ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.contact-page .dawn-form-card .dawn-message-field .mud-input-root {
  height: 96px;
  min-height: 96px;
  align-items: flex-start;
}

.contact-page .dawn-form-card :is(input, textarea):focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

.mud-button-root.dawn-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0 !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
}

.mud-button-root.dawn-button:focus,
.mud-button-root.dawn-button:focus-visible {
  outline: 0 !important;
  box-shadow: inset 0 0 0 2px rgba(16, 29, 38, 0.28) !important;
}

.mud-button-root.dawn-button.mud-width-full {
  width: 100%;
}

.mud-button-root.dawn-button--small {
  min-height: 36px;
  padding-inline: 0.9rem !important;
  font-size: 0.875rem;
}

.mud-button-root.dawn-button--medium {
  min-height: 42px;
  padding-inline: 1.05rem !important;
  font-size: 0.95rem;
}

.mud-button-root.dawn-button--large {
  min-height: 58px;
  padding-inline: 1.5rem 0.75rem !important;
  font-size: 1rem;
}

.dawn-button .mud-button-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  line-height: 1;
  text-align: left;
}

.dawn-button__label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.dawn-button__icon {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: currentColor;
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.dawn-button__icon .mud-icon-root {
  display: block;
}

.contact-page .dawn-form-card .mud-button-root.mud-button-filled-primary.contact-submit {
  width: 100%;
  justify-self: start;
  margin-top: 0.15rem;
  background: #f3c623 !important;
  color: var(--contact-ink) !important;
}

.contact-page .dawn-form-card .mud-button-root.mud-button-filled-primary:hover {
  background: #dfb516 !important;
  color: var(--contact-ink) !important;
}

.contact-whatsapp-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(16, 29, 38, 0.14);
  border-radius: 0.8rem;
  background: #f8f7f3;
}

.contact-whatsapp-card h2 {
  margin: 0;
  color: var(--contact-ink);
  font-size: 1.1rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-transform: none;
}

.contact-whatsapp-card p {
  margin: 0.35rem 0 0;
  color: rgba(16, 29, 38, 0.66);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-whatsapp-card > a {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  background: #25d366;
  color: #0b2b18;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-whatsapp-card > a:hover {
  background: #1fba58;
  color: #071f11;
}

@media (min-width: 1001px) and (min-height: 700px) {
  .site:has(.contact-page),
  .site-main:has(.contact-page),
  .site-main:has(.contact-page) .contact-page {
    background: linear-gradient(to right, var(--contact-dark, #1b2e30) 0 57.5%, #fff 57.5% 100%);
  }

  .site-main:has(.contact-page),
  .site-main:has(.contact-page) .contact-page,
  .contact-page .dawn-split-form,
  .contact-page .dawn-split-form-grid {
    height: 100vh;
    min-height: 100vh;
  }

  .contact-page .dawn-form-card,
  .contact-page .dawn-split-form-copy {
    min-height: 100%;
  }
}

@media (max-width: 1000px) {
  .contact-page .dawn-split-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .dawn-split-form-copy {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  .contact-page .dawn-split-form-copy {
    min-height: 500px;
    padding: 4rem 1.35rem;
  }

  .contact-page .dawn-split-form-copy h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .contact-page .dawn-form-card {
    padding: 3.5rem 1.35rem;
  }

  .contact-page.plan-visit-page .dawn-form-card {
    padding-top: 2.25rem;
  }

  .contact-page .split-form-home {
    width: min(14rem, 68vw);
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-page .dawn-form-card .mud-button-root.mud-button-filled-primary.contact-submit {
    width: 100%;
  }

  .contact-whatsapp-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Giving page — the contact page's editorial split, adapted for a secure gift. */
.giving-page {
  --giving-dark: #1b2e30;
  --giving-ink: #101d26;
  --giving-accent: #f3c623;
  position: relative;
  background: #fff;
}

.split-form-mobile-back {
  display: none;
}

.giving-page .dawn-split-form {
  min-height: 100svh;
  padding: 0;
  border: 0;
  background: #fff;
}

.giving-page .dawn-split-form > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.giving-page .dawn-split-form-grid {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.15fr) minmax(520px, 0.85fr);
  gap: 0;
}

.giving-page .dawn-split-form-copy {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 5vw, 6rem);
  background:
    linear-gradient(180deg, transparent 55%, rgba(243, 198, 35, 0.04)), var(--giving-dark);
  color: #fff;
}

.giving-page .dawn-split-form-copy::before,
.giving-page .dawn-split-form-copy::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.giving-page .dawn-split-form-copy::before {
  right: -10rem;
  bottom: -14rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(243, 198, 35, 0.13);
}

.giving-page .dawn-split-form-copy::after {
  right: -3rem;
  bottom: -21rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.giving-page .split-form-home {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(15rem, 19vw, 19rem);
  align-self: flex-start;
}

.giving-page .split-form-home img {
  display: block;
  width: 100%;
  height: auto;
}

.giving-page .dawn-split-form-copy h2 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.8rem, 6vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.94;
  animation: ministries-rise 800ms 80ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.giving-page .dawn-split-form-copy p {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: clamp(4rem, 12vh, 9rem) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

.giving-page .dawn-form-card {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100%;
  justify-self: stretch;
  padding: clamp(2rem, 4.5vw, 4.5rem) clamp(2rem, 5vw, 6rem);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.giving-form-heading {
  margin-bottom: clamp(1.35rem, 2.5vw, 2rem);
}

.giving-form-heading h1 {
  margin: 0;
  color: var(--giving-ink);
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  font-weight: 380;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: none;
}

.giving-form-heading p {
  margin: 0.55rem 0 0;
  color: rgba(16, 29, 38, 0.64);
  font-size: 1.05rem;
}

.giving-page .giving-form {
  display: grid;
  gap: 0.9rem !important;
}

.giving-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.15rem;
}

.giving-details-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.giving-details-heading > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--giving-ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.giving-details-heading h2 {
  margin: 0;
  color: var(--giving-ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.giving-details-heading p {
  margin: 0.25rem 0 0;
  color: rgba(16, 29, 38, 0.64);
  font-size: 0.95rem;
}

.giving-anonymous-option {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(16, 29, 38, 0.14);
  border-radius: 0.65rem;
  background: rgba(243, 198, 35, 0.06);
}

.giving-anonymous-option input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--giving-yellow);
}

.giving-anonymous-option span {
  color: var(--giving-ink);
  font-size: 1rem;
  font-weight: 650;
}

.giving-page .dawn-form-card .mud-input-root {
  height: 48px;
  min-height: 48px;
  border-radius: 0.6rem;
  background: #fff;
}

.giving-page .dawn-form-card .mud-input-outlined-border {
  border-color: rgba(16, 29, 38, 0.22) !important;
  border-radius: 0.6rem !important;
}

.giving-page .dawn-form-card .dawn-field > label {
  color: var(--giving-ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.giving-page .form-privacy-note {
  margin: 0;
  color: rgba(16, 29, 38, 0.66);
  font-size: 0.9rem;
  line-height: 1.55;
}

.giving-page .form-privacy-note a {
  color: var(--giving-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.giving-page .dawn-form-card .mud-button-root.mud-button-filled-primary.giving-submit {
  width: 100%;
  margin-top: 0;
  background: var(--giving-accent) !important;
  color: var(--giving-ink) !important;
}

.giving-page .dawn-form-card .mud-button-root.mud-button-filled-primary.giving-submit:hover {
  background: #dfb516 !important;
  color: var(--giving-ink) !important;
}

.giving-eft-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  justify-self: stretch;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(16, 29, 38, 0.16);
  border-radius: 0.8rem;
  background: rgba(243, 198, 35, 0.06);
  color: var(--giving-ink);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.giving-payment-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0.8rem 0 0.15rem;
  color: rgba(16, 29, 38, 0.48);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.giving-payment-divider::before,
.giving-payment-divider::after {
  height: 1px;
  flex: 1;
  background: rgba(16, 29, 38, 0.12);
  content: "";
}

.giving-eft-trigger-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--giving-ink);
  color: var(--giving-accent);
}

.giving-eft-trigger-icon .mud-icon-root {
  font-size: 1.3rem;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.giving-eft-trigger-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.giving-eft-trigger-copy strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.giving-eft-trigger-copy small {
  color: rgba(16, 29, 38, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
}

.giving-eft-trigger-action {
  color: #745600;
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
}

.giving-eft-page-content {
  display: grid;
  gap: 0.9rem;
  animation: ministries-rise 850ms 180ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.giving-eft-page .giving-bank-card {
  overflow: hidden;
  padding: 0;
  border-radius: 0.8rem;
  box-shadow: none;
}

.giving-eft-page .giving-bank-details > div {
  min-height: 3.15rem;
  padding: 0.5rem 0.8rem;
}

.giving-eft-page .giving-bank-details dt {
  font-size: 0.82rem;
}

.giving-eft-page .giving-bank-details dd {
  font-size: 0.94rem;
}

.giving-eft-page .giving-bank-details button {
  min-height: 2rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
}

.giving-eft-page .giving-reference,
.giving-eft-page .giving-fund-guide {
  border-radius: 0.8rem;
}

.giving-eft-instructions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(218, 170, 0, 0.3);
  border-radius: 0.8rem;
  background: rgba(243, 198, 35, 0.09);
}

.giving-eft-reference-copy {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.1rem 0.65rem;
  align-items: baseline;
}

.giving-eft-reference-copy .giving-reference-label {
  margin: 0;
}

.giving-eft-reference-copy strong {
  color: var(--giving-ink);
  font-size: 0.92rem;
}

.giving-eft-reference-copy small {
  grid-column: 1 / -1;
  color: rgba(16, 29, 38, 0.62);
  font-size: 0.78rem;
}

.giving-fund-options {
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}

.giving-fund-options span {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--giving-ink);
  color: var(--giving-accent);
  font-size: 0.75rem;
  font-weight: 750;
}

.giving-eft-page .giving-reference {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 1rem;
}

.giving-reference-example {
  padding-left: 1rem;
  border-left: 1px solid rgba(116, 86, 0, 0.2);
}

.giving-eft-page .giving-fund-guide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.giving-eft-page .giving-fund-heading {
  grid-column: 1 / -1;
}

.giving-eft-page .giving-fund-guide h2 {
  margin: 0;
  color: var(--giving-ink);
  font-family: var(--ndbc-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: none;
}

.giving-eft-page .giving-eft-legal {
  margin: 0.35rem 0 0;
}

.giving-online-return {
  justify-self: center;
  color: var(--giving-ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.giving-online-return:hover {
  color: #806300;
}

.giving-eft-trigger:hover {
  border-color: rgba(218, 170, 0, 0.65);
  background: rgba(243, 198, 35, 0.13);
  color: var(--giving-ink);
  transform: translateY(-1px);
}

.giving-eft-modal {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 15, 20, 0.76);
  backdrop-filter: blur(10px);
}

.giving-eft-dialog {
  position: relative;
  width: min(100%, 940px);
  max-height: calc(100svh - 2.5rem);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.5rem;
  background: #f8f9f8;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  font-family: var(--ndbc-ui);
  animation: ministries-rise 280ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.giving-eft-dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 0.875rem;
  align-items: start;
  padding: 1rem;
}

.giving-eft-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.giving-eft-close:hover {
  border-color: var(--giving-accent);
  background: var(--giving-accent);
  color: var(--giving-ink);
}

.giving-eft-dialog .giving-bank-card {
  padding: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(16, 29, 38, 0.05);
}

.giving-eft-dialog .giving-eft-legal {
  margin: 0;
  padding: 1rem 1.5rem 1.1rem;
  border-top: 1px solid rgba(16, 29, 38, 0.08);
  text-align: center;
}

.giving-eft-dialog-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 4.5rem 1.25rem 1.25rem;
  background: linear-gradient(135deg, #0b252b 0%, #123a42 100%);
  color: #fff;
}

.giving-eft-dialog-header .giving-eft-kicker {
  margin-bottom: 0.35rem;
  color: var(--giving-accent);
}

.giving-eft-dialog-header h2 {
  margin: 0;
  color: #fff;
  font-family: var(--ndbc-heading);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.giving-eft-dialog-header > div > p:last-child {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.45;
}

.giving-eft-icon {
  display: grid;
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.giving-eft-icon svg {
  width: 1.55rem;
  fill: none;
  stroke: var(--giving-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.giving-eft-sidebar {
  display: grid;
  gap: 0.875rem;
}

@media (max-width: 1000px) {
  .giving-page .dawn-split-form-grid {
    grid-template-columns: 1fr;
  }

  .giving-page .dawn-split-form-copy {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  .dawn-split-form .dawn-split-form-copy {
    display: none;
  }

  .login-brand-panel {
    display: none !important;
  }

  .login-refresh {
    min-height: 100svh;
    grid-template-columns: 1fr;
  }

  .login-form-panel {
    min-height: 100svh;
    padding: 4.5rem 1.35rem 2.5rem;
  }

  .dawn-split-form-grid {
    min-height: 100svh;
    grid-template-columns: 1fr;
  }

  .dawn-form-card {
    position: relative;
    padding: 1rem 1.35rem 2.5rem;
  }

  .dawn-form-mobile-header {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
  }

  .contact-page .dawn-form-card .dawn-form-mobile-header .dawn-form-eyebrow,
  .giving-page .dawn-form-card .dawn-form-mobile-header .dawn-form-eyebrow {
    min-width: 0;
    margin: 0;
  }

  .split-form-mobile-back {
    position: static;
    z-index: 1;
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 29, 38, 0.18);
    border-radius: 50%;
    background: rgba(243, 198, 35, 0.12);
    color: var(--giving-ink, #101d26);
    text-decoration: none;
  }

  .split-form-mobile-back-icon {
    font-size: 1.4rem;
  }

  .giving-fields-grid {
    grid-template-columns: 1fr;
  }

  .giving-eft-page .giving-fund-guide {
    grid-template-columns: 1fr;
  }

  .giving-eft-page .giving-reference {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .giving-reference-example {
    padding-top: 0.65rem;
    padding-left: 0;
    border-top: 1px solid rgba(116, 86, 0, 0.2);
    border-left: 0;
  }

  .giving-eft-instructions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .giving-eft-trigger {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .giving-eft-trigger-action {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .giving-page *,
  .giving-page *::before,
  .giving-page *::after {
    animation: none !important;
    transition: none !important;
  }
}

.giving-eft {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: #f7f3ef;
  color: var(--giving-ink);
}

.giving-eft-inner {
  max-width: 1120px;
}

.giving-eft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: start;
}

.giving-bank-card,
.giving-fund-guide article {
  border: 1px solid rgba(16, 29, 38, 0.14);
  border-radius: 1rem;
  background: #fff;
}

.giving-bank-card {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.giving-eft-kicker {
  margin: 0 0 0.85rem;
  color: #9a6400;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.giving-bank-card h2 {
  margin: 0;
  color: var(--giving-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: none;
}

.giving-placeholder-note {
  margin: 1rem 0 1.5rem;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--giving-accent);
  background: rgba(243, 198, 35, 0.1);
  color: rgba(16, 29, 38, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

.giving-bank-details {
  display: grid;
  margin: 0;
}

.giving-bank-details > div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1.2fr);
  gap: 0.875rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(16, 29, 38, 0.09);
}

.giving-bank-details > div:last-child {
  border-bottom: 0;
}

.giving-bank-details dt {
  color: rgba(16, 29, 38, 0.58);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.giving-bank-details dd {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--giving-ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.giving-bank-details dd span {
  overflow-wrap: anywhere;
}

.giving-bank-details button {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(16, 29, 38, 0.14);
  border-radius: 0.65rem;
  background: #f3f5f4;
  color: var(--giving-ink);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 750;
  transition: 160ms ease;
}

.giving-bank-details button .mud-icon-root {
  font-size: 1rem;
}

.giving-bank-details button:hover {
  border-color: var(--giving-accent);
  background: var(--giving-accent);
  transform: translateY(-1px);
}

.giving-bank-details button.is-copied,
.giving-bank-details button.is-copied:hover {
  border-color: #198754;
  background: #198754;
  color: #fff;
  transform: none;
  animation: giving-copy-confirm 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes giving-copy-confirm {
  0% { transform: scale(0.92); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .giving-bank-details button.is-copied {
    animation: none;
  }
}

.giving-reference {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(218, 170, 0, 0.3);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(243, 198, 35, 0.18), rgba(243, 198, 35, 0.07));
  color: var(--giving-ink);
}

.giving-reference-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #745600;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.giving-reference > strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.giving-reference p {
  margin: 0.3rem 0 0;
  color: rgba(16, 29, 38, 0.65);
  font-size: 0.95rem;
  line-height: 1.45;
}

.giving-fund-guide {
  display: grid;
  gap: 0.5rem;
  padding: 0.875rem;
  border: 1px solid rgba(16, 29, 38, 0.1);
  border-radius: 1rem;
  background: #fff;
}

.giving-fund-guide article {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem;
  border: 0;
  border-radius: 0.75rem;
  background: #f6f7f6;
}

.giving-fund-guide article > span {
  display: grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--giving-ink);
  color: var(--giving-accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.giving-fund-heading {
  margin: 0 0 0.15rem;
  color: rgba(16, 29, 38, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.giving-fund-guide h3 {
  margin: 0;
  color: var(--giving-ink);
  font-family: var(--ndbc-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: none;
}

.giving-fund-guide p {
  margin: 0.15rem 0 0;
  color: rgba(16, 29, 38, 0.68);
  font-size: 0.95rem;
  line-height: 1.45;
}

.giving-eft-legal {
  margin: 2rem 0 0;
  color: rgba(16, 29, 38, 0.66);
  font-size: 0.88rem;
  line-height: 1.6;
}

.giving-eft-legal a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

@media (max-width: 760px) {
  .giving-eft-grid {
    grid-template-columns: 1fr;
  }

  .giving-eft-dialog-grid {
    grid-template-columns: 1fr;
  }

  .giving-eft-dialog-header {
    padding: 1.25rem 4rem 1.25rem 1.25rem;
  }

  .giving-eft-icon {
    display: none;
  }

  .giving-bank-details > div {
    grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.2fr);
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .giving-eft-modal {
    place-items: end center;
    overflow: hidden;
    padding: 0;
  }

  .giving-eft-dialog {
    width: 100%;
    max-height: none;
    overflow: hidden;
    border-radius: 1.35rem 1.35rem 0 0;
  }

  .giving-eft-dialog-header {
    padding: 1rem 4rem 1rem 1.25rem;
  }

  .giving-eft-sidebar,
  .giving-eft-dialog .giving-eft-legal {
    display: none;
  }

  .giving-eft-dialog-header h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
  }

  .giving-eft-dialog-grid {
    padding: 0.85rem;
  }

  .giving-bank-details > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    min-height: auto;
    padding: 0.8rem 1rem;
  }

  .giving-bank-details dd {
    justify-content: space-between;
  }

}

.site-footer {
  border-top-color: var(--ndbc-gold);
  background: var(--ndbc-navy);
  color: #d9dde2;
}

.site-footer a:hover,
.site-footer .footer-heading,
.footer-subscribe-title {
  color: var(--ndbc-gold);
}

.subscribe-form {
  border-color: rgba(255, 192, 0, 0.55);
}

.subscribe-form button {
  background: var(--ndbc-gold);
  color: var(--ndbc-navy);
}

.admin-shell,
.admin-workspace {
  background: var(--ndbc-paper);
}

.admin-sidebar {
  border-right: 3px solid var(--ndbc-gold);
}

.admin-nav a {
  color: #d9dde2;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: var(--ndbc-gold);
  color: var(--ndbc-navy);
}

.admin-nav a.active .admin-nav-icon,
.admin-empty-state .mud-icon-root,
.admin-message-reply,
.admin-message-unread {
  color: var(--ndbc-gold);
}

.admin-message-unread {
  background: var(--ndbc-gold);
}

.admin-account button,
.admin-main .mud-button-filled-primary,
.admin-main .mud-button-filled-secondary {
  background: var(--ndbc-navy) !important;
  color: #fff !important;
}

.admin-main .mud-tabs-tabbar,
.admin-main .mud-paper,
.admin-main .mud-table-container,
.admin-data-table,
.admin-message-card,
.admin-message-detail,
.kidz-active-card,
.kidz-empty-state {
  border-color: var(--ndbc-navy-10) !important;
}

.admin-main .mud-table-head,
.admin-data-table .mud-table-head {
  background: var(--ndbc-navy-05);
}

input:focus,
textarea:focus,
select:focus,
.kidz-checkout-form input:focus {
  border-color: var(--ndbc-gold) !important;
  box-shadow: 0 0 0 3px rgba(255, 192, 0, 0.2) !important;
  outline: none;
}

/* Standard form focus: retain a complete black border on the active field. */
:is(.contact-page, .giving-page) .dawn-form-card .mud-input-control:focus-within .mud-input-outlined-border {
  border-color: #101d26 !important;
  box-shadow: none !important;
}

.contact-page.kidz-split-page .dawn-form-card .dawn-field :is(input, textarea, select):focus {
  border: 1px solid #101d26 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Prevent accidental text highlighting across the app. Keep editable fields
   selectable so users can still edit, copy, and paste their own input. */
body {
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

@media (max-width: 680px) {
  .brand-logo {
    width: 216px;
    height: 58px;
  }

  .dawn-hero-media {
    background:
      linear-gradient(
        90deg,
        rgba(0, 21, 47, 0.97),
        rgba(0, 21, 47, 0.74) 64%,
        rgba(0, 21, 47, 0.54)
      ),
      radial-gradient(circle at 78% 36%, rgba(255, 192, 0, 0.26), transparent 38%),
      linear-gradient(0deg, #00152f 0%, transparent 45%),
      url("church-hero-v2.png") 67% center/cover;
  }
}

@media (max-width: 520px) {
  .admin-page-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-add-button {
    justify-content: center;
    width: 100%;
  }
  .admin-messages-layout {
    grid-template-columns: 1fr;
  }
  .admin-message-list {
    grid-auto-columns: minmax(260px, 85vw);
    grid-auto-flow: column;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
  }
  .admin-message-card {
    min-height: 135px;
    scroll-snap-align: start;
  }
  .admin-message-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .kidz-tabs {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }
  .kidz-section-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .kidz-active-card {
    grid-template-columns: 1fr 1fr;
  }
  .kidz-active-card > button {
    width: 100%;
  }
  .kidz-checkout-form > div,
  .kidz-history-filters {
    grid-template-columns: 1fr;
  }
  .admin-modal-backdrop {
    align-items: end;
    padding: 0;
  }
  .admin-modal {
    max-height: 92vh;
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
  }
  .admin-modal-form-row {
    grid-template-columns: 1fr;
  }
  .admin-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .admin-modal-actions button {
    width: 100%;
  }
  .signout-modal {
    padding: 1.5rem;
    border-radius: 14px;
  }
  .signout-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .signout-modal-actions form,
  .signout-modal-actions button {
    width: 100%;
  }
  .admin-topbar-title span {
    display: none;
  }
  .admin-account button {
    padding: 0.45rem 0.75rem;
  }
  .admin-page-heading h1 {
    font-size: 2.25rem;
  }
  .admin-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .admin-stats article {
    min-height: 132px;
  }
  .admin-actions {
    grid-template-columns: 1fr;
  }
  .admin-panel {
    padding: 1.1rem;
  }
  .admin-main > div:first-child {
    align-items: flex-start !important;
    gap: 1rem;
  }
  .admin-main .mud-tabs-tabbarinner {
    overflow-x: auto;
  }
}

/* Shared button system: public CTAs, forms, account actions and admin actions. */
.ndbc-button,
.dawn-form-card .mud-button-root,
.dawn-login-form > button,
.admin-add-button,
.admin-modal-actions > button,
.signout-modal-actions button,
.admin-main .mud-button-root:not(.mud-icon-button),
.kidz-checkout-form button,
.kidz-history-filters > button,
.kidz-active-card > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.35rem !important;
  border: 1px solid transparent;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: var(--ndbc-ui);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.ndbc-button:hover,
.dawn-form-card .mud-button-root:hover,
.dawn-login-form > button:hover,
.admin-add-button:hover,
.admin-modal-actions > button:hover,
.signout-modal-actions button:hover,
.admin-main .mud-button-root:not(.mud-icon-button):hover {
  transform: translateY(-1px);
}

.ndbc-button.ndbc-button--compact {
  min-height: 38px;
  padding: 0.5rem 1.05rem !important;
  font-size: 0.875rem;
}

.dawn-login-form > button,
.admin-modal-primary,
.signout-modal-confirm,
.dawn-form-card .mud-button-filled,
.admin-main .mud-button-filled,
.admin-add-button,
.kidz-checkout-form button,
.kidz-history-filters > button,
.kidz-active-card > button {
  border-color: var(--ndbc-gold) !important;
  background: var(--ndbc-gold) !important;
  color: var(--ndbc-navy) !important;
}

.admin-modal-cancel,
.signout-modal-cancel,
.dawn-form-card .mud-button-outlined,
.admin-main .mud-button-outlined,
.admin-main .mud-button-text {
  border-color: var(--ndbc-navy) !important;
  background: transparent !important;
  color: var(--ndbc-navy) !important;
}

.ndbc-button:focus-visible,
.dawn-login-form > button:focus-visible,
.admin-add-button:focus-visible,
.admin-modal-actions > button:focus-visible,
.signout-modal-actions button:focus-visible,
.kidz-checkout-form button:focus-visible,
.kidz-history-filters > button:focus-visible {
  outline: 3px solid rgba(255, 192, 0, 0.4);
  outline-offset: 3px;
}

/* Buttons use readable sentence case throughout the public site and admin app. */
button,
input[type="button"],
input[type="submit"],
a.ndbc-button,
.mud-button-root {
  letter-spacing: -0.005em !important;
  text-transform: none !important;
}

/* Shared hero mark sizing for the homepage and every interior page. */
.dawn-hero-symbol {
  right: clamp(1rem, 4vw, 4.5rem);
  width: min(36vw, 660px);
  height: min(14.3vw, 271px);
  max-height: 58%;
  object-fit: contain;
}

.dawn-interior-hero .dawn-hero-symbol {
  opacity: 0.42;
}

/* Keep the public navigation visible while scrolling on every screen size. */
html {
  scroll-padding-top: 104px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  flex: 0 0 auto;
}

.site-main {
  padding-top: 88px;
}

@media (max-width: 1040px) {
  html:has(.nav-toggle:checked),
  body:has(.nav-toggle:checked) {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-nav {
    position: fixed;
    inset: 88px 0 auto;
    z-index: 2;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 88px);
    justify-content: flex-start;
    padding: 0.75rem clamp(1.25rem, 5vw, 3rem) 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--ndbc-navy);
    box-shadow: none;
  }

  .site-nav-scrim {
    position: fixed;
    inset: 88px 0 0;
    z-index: 1;
    background: rgba(16, 55, 92, 0.58);
    backdrop-filter: blur(8px) saturate(0.85);
    cursor: pointer;
  }

  .nav-toggle:checked ~ .site-nav-scrim {
    display: block;
  }

  .site-nav-links {
    gap: 0.1rem;
  }

  .site-link {
    min-height: 44px;
    padding: 0.65rem 0.5rem;
  }

  .site-link::after {
    right: auto;
    bottom: 0.25rem;
    left: 0.5rem;
    width: 30px;
    transform-origin: left center;
  }

  .site-nav-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding-top: 1rem;
  }

  .site-nav-actions .nav-cta,
  .site-nav-actions .nav-cta.ghost {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 94px;
  }

  .site-main {
    padding-top: 82px;
  }

  .site-nav {
    inset: 82px 0 auto;
    padding: 0.65rem 1.25rem 1rem;
  }

  .site-nav-scrim {
    inset: 82px 0 0;
  }

  .site-nav-actions {
    display: grid;
  }

  .dawn-hero-symbol {
    right: -1%;
    width: 58vw;
    max-height: 40%;
  }

  .site-footer {
    padding-block: 1.5rem;
    font-size: 0.875rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
    padding-inline: 1.25rem;
  }

  .footer-brand-block,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .site-footer .footer-brand-block .footer-logo {
    width: 170px;
    height: 46px;
    margin-bottom: 0.35rem;
  }

  .footer-brand-block p {
    margin-block: 0.2rem;
  }

  .footer-brand-block address {
    margin-top: 0.35rem;
    line-height: 1.45;
  }

  .footer-heading,
  .footer-subscribe-title {
    margin-bottom: 0.35rem;
  }

  .site-footer a {
    min-height: 34px;
    padding: 0.1rem 0;
  }

  .footer-mobile-optional {
    display: none !important;
  }

  .footer-newsletter > p:not(.footer-subscribe-title) {
    margin: 0 0 0.65rem;
    line-height: 1.5;
  }

  .subscribe-form {
    flex-direction: row;
  }

  .subscribe-form input,
  .subscribe-form button {
    min-height: 44px;
  }

  .subscribe-form button {
    width: auto;
  }
}

/* Keep the redesigned public sections authoritative over legacy theme rules above. */
body .dawn-welcome {
  background:
    radial-gradient(circle at 9% 15%, rgba(243, 198, 35, 0.16), transparent 22rem), #f4f6ff;
}
body .dawn-welcome-heading {
  grid-template-columns: minmax(15rem, 0.72fr) minmax(30rem, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
}
body .dawn-ministries {
  border-bottom: 0;
  background: #eef2f7;
  color: #10375c;
}
body .dawn-ministry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
body .dawn-ministry-grid .dawn-ministry-card {
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 0;
}
body .dawn-ministry-card h3 {
  margin: 0;
}
body .dawn-ministry-card p {
  margin-top: 0.75rem;
}

/* ---- Unified editorial system ----
   Keeps the header, hero, section introductions and controls on one grid and
   gives the public and application surfaces the same typographic voice. */
:root {
  --ndbc-content-width: 1440px;
  --ndbc-page-gutter: clamp(1.25rem, 4.75vw, 5.25rem);
  --ndbc-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --ndbc-copy: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

body,
button,
input,
textarea,
select,
.mud-typography,
.mud-input,
.mud-button-root,
.mud-table-cell {
  font-family: var(--ndbc-copy) !important;
}

body :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--ndbc-display) !important;
  font-weight: 350;
  letter-spacing: -0.045em;
}

.container {
  width: min(100%, var(--ndbc-content-width));
  margin-inline: auto;
  padding-inline: var(--ndbc-page-gutter);
}

.site-header-inner,
.dawn-hero-inner,
.dawn-welcome > .container,
.dawn-interior-hero > .container {
  width: min(100%, var(--ndbc-content-width));
  margin-inline: auto;
  padding-inline: var(--ndbc-page-gutter);
}

.brand {
  width: clamp(12.5rem, 17vw, 16rem);
  padding: 0;
  overflow: visible;
}

.brand-logo {
  width: 100%;
  height: 3.25rem;
  object-fit: contain;
  object-position: left center;
}

.site-footer .footer-brand-block .footer-logo {
  width: min(13.75rem, 100%);
  height: 4rem;
  object-fit: contain;
  object-position: left center;
}

.site-link,
.ndbc-button,
.dawn-form-card .mud-button-root,
.dawn-login-form > button,
.admin-add-button,
.admin-modal-actions > button,
.signout-modal-actions button,
.admin-main .mud-button-root:not(.mud-icon-button),
.kidz-checkout-form button,
.kidz-history-filters > button,
.kidz-active-card > button,
.subscribe-form button {
  font-family: var(--ndbc-copy) !important;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.012em !important;
  text-transform: none !important;
}

.ndbc-button,
.dawn-form-card .mud-button-root,
.dawn-login-form > button,
.admin-add-button,
.admin-modal-actions > button,
.signout-modal-actions button,
.admin-main .mud-button-root:not(.mud-icon-button),
.kidz-checkout-form button,
.kidz-history-filters > button,
.kidz-active-card > button {
  min-height: 3rem;
  padding-inline: 1.45rem !important;
  border-radius: 0.85rem !important;
}

.ndbc-button.ndbc-button--compact {
  min-height: 2.75rem;
  padding-inline: 1.25rem !important;
  font-size: 0.9375rem;
}

.dawn-hero-copy,
.dawn-interior-hero .container {
  max-width: none;
}

.dawn-hero h1,
.dawn-interior-hero h1,
.dawn-welcome-heading h2,
.dawn-ministries-heading h2 {
  font-weight: 320;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.dawn-welcome-heading {
  align-items: end;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(30rem, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.dawn-kicker,
.dawn-interior-kicker,
.section-kicker,
.eyebrow {
  font-family: var(--ndbc-copy);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .brand {
    width: min(13.5rem, calc(100vw - 6rem));
  }

  .dawn-welcome-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  :root {
    --ndbc-page-gutter: 1.25rem;
  }

  .brand {
    display: flex;
    width: clamp(175px, 52vw, 205px);
    min-height: 64px;
    align-items: center;
  }

  .brand-logo {
    width: 100%;
    height: 58px;
  }

  .dawn-hero-inner,
  .dawn-welcome > .container,
  .dawn-interior-hero > .container {
    padding-inline: var(--ndbc-page-gutter);
  }

  .dawn-welcome-heading h2 {
    max-width: 10ch;
  }

  .ndbc-button,
  .dawn-actions .ndbc-button,
  .site-nav-actions .ndbc-button {
    min-height: 3rem;
  }
}

/* Privacy policy and form disclosure. */
/* Shared page CTA: one responsive frame, with page-selectable visual designs. */
.dawn-cta-section {
  padding-block: clamp(3rem, 7vw, 6rem);
  background: #f5f5f2;
}

.dawn-cta-section > .dawn-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 6rem);
  width: min(calc(100% - (2 * var(--ndbc-page-gutter))), 1584px);
  min-height: 270px;
  padding: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
  background: #192a2d;
  color: #fff;
}

.dawn-cta::after {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(243, 198, 35, 0.25);
  border-radius: 50%;
  content: "";
}

.dawn-cta > * {
  position: relative;
  z-index: 1;
}

.dawn-cta > .dawn-kicker {
  margin: 0.7rem 0 0;
  color: #f3c623;
}

.dawn-cta-copy {
  max-width: 46rem;
}

.dawn-cta h2 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.75rem, 4.4vw, 4.5rem);
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.dawn-cta-copy > p {
  max-width: 42rem;
  margin: 1.5rem 0 1.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.6;
}

.dawn-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dawn-cta .btn {
  border-color: #f3c623;
  background: #f3c623;
  color: #10375c;
}

.journal-page-cta {
  padding-top: clamp(5rem, 9vw, 9rem);
}

@media (max-width: 900px) {
  .dawn-cta-section > .dawn-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .dawn-cta-section {
    padding-block: 3rem;
  }

  .dawn-cta-section > .dawn-cta {
    width: calc(100% - 2.5rem);
    min-height: 270px;
    padding: 2rem 1.5rem;
  }

  .dawn-cta .btn {
    width: 100%;
    text-align: center;
  }

  .dawn-cta-actions {
    width: 100%;
  }
}

.privacy-page {
  background: #f5f6f4;
  color: #173033;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 110%, rgba(243, 198, 35, 0.12), transparent 22rem),
    linear-gradient(145deg, #173033, #202222);
  color: #fff;
}

.privacy-hero::after {
  position: absolute;
  right: 8%;
  bottom: -9rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(243, 198, 35, 0.2);
  border-radius: 50%;
  content: "";
}

.privacy-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.privacy-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-eyebrow::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #f3c623;
  content: "";
}

.privacy-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  font-weight: 350;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.privacy-hero .content-page-hero-description {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
  line-height: 1.65;
}

.privacy-content {
  max-width: none;
  padding-block: clamp(4rem, 8vw, 7rem);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-content h2 {
  margin: 2.75rem 0 0.8rem;
  color: #10375c;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 520;
  letter-spacing: -0.035em;
}

.privacy-content p,
.privacy-content li {
  color: rgba(16, 55, 92, 0.78);
  font-size: clamp(1.08rem, 1.25vw, 1.2rem);
}

.privacy-content ul {
  padding-left: 1.35rem;
}

.privacy-content li + li {
  margin-top: 0.45rem;
}

.privacy-content a,
.form-privacy-note a,
.footer-privacy-note a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.privacy-updated {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-privacy-note,
.footer-privacy-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
}

.form-privacy-note {
  color: rgba(16, 55, 92, 0.7);
}

.form-legal-consent {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.2rem 0.75rem;
  align-items: start;
  color: rgba(16, 29, 38, 0.74);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-legal-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.08rem 0 0;
  accent-color: #f3c623;
}

.form-legal-consent input[aria-invalid="true"] {
  outline: 2px solid #c62828;
  outline-offset: 2px;
}

.form-legal-consent label {
  cursor: pointer;
}

.form-legal-consent label span {
  margin-left: 0.1em;
}

.form-legal-consent label > span[aria-hidden="true"] {
  color: #9f2d24;
  font-weight: 800;
}

.form-legal-consent a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.form-legal-consent > p {
  grid-column: 2;
  margin: 0.1rem 0 0;
  color: #b42318;
  font-size: 0.82rem;
}

/* Stateful navigation and MudCheckBox compatibility. */
.form-legal-consent .form-legal-checkbox {
  align-self: start;
  margin: 0;
}

.kidz-consent .mud-checkbox,
.kidz-child-choice .mud-checkbox {
  align-self: start;
  margin: 0;
}

.form-legal-consent > span {
  padding-top: 0.08rem;
}

.form-legal-consent > span > span[aria-hidden="true"] {
  margin-left: 0.2em;
  color: #9f2d24;
  font-weight: 800;
}

@media (max-width: 1040px) {
  html:has(#nav-toggle[aria-expanded="true"]),
  body:has(#nav-toggle[aria-expanded="true"]) {
    overflow: hidden;
  }

  .nav-toggle-label.is-open {
    visibility: hidden;
  }

  .site-nav.is-open {
    display: flex;
    transform: translateX(0);
  }

  .site-nav-scrim.is-open {
    display: block;
  }
}

@media (max-width: 760px) {
  .admin-shell.admin-mobile-nav-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-shell.admin-mobile-nav-open .admin-menu-scrim {
    display: block;
  }
}

.footer-privacy-note {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  body .dawn-welcome-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body .dawn-ministry-grid {
    grid-template-columns: 1fr;
  }
  body .dawn-ministry-grid .dawn-ministry-card {
    min-height: 0;
    padding: 1.35rem;
  }
}

/* Full-height mobile navigation drawer. */
.site-nav-mobile-head,
.site-nav-mobile-foot,
.site-link-home,
.site-nav-mobile-action {
  display: none;
}

/* Show a complete menu control at the same breakpoint as the desktop nav hides. */
@media (max-width: 1040px) {
  .nav-toggle-label {
    position: relative;
    z-index: 1003;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    content: "";
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .nav-toggle-icon::before {
    transform: translateY(-6px);
  }

  .nav-toggle-icon::after {
    transform: translateY(4px);
  }

  .nav-toggle:checked + .nav-toggle-label .nav-toggle-icon {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::before {
    transform: translateY(0) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::after {
    transform: translateY(-2px) rotate(-45deg);
  }
}

@media (max-width: 1040px) {
  .nav-toggle-label {
    z-index: 1003;
  }

  .nav-toggle:checked + .nav-toggle-label {
    visibility: hidden;
  }

  .site-nav {
    inset: 0 auto 0 0 !important;
    z-index: 1002;
    display: flex;
    box-sizing: border-box;
    width: min(26rem, calc(100vw - 3rem));
    height: 100dvh;
    max-height: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1.25rem 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ndbc-navy);
    box-shadow: 1rem 0 3rem rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
    transform: translateX(0);
  }

  .site-nav-scrim {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 21, 47, 0.58);
    backdrop-filter: blur(3px);
    cursor: pointer;
  }

  .nav-toggle:checked ~ .site-nav-scrim {
    display: block;
  }

  .site-nav-mobile-head {
    display: flex;
    position: static;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav-mobile-head a {
    display: flex;
    min-width: 0;
    min-height: 64px;
    align-items: center;
    padding-right: 1rem;
  }

  .site-nav-mobile-head img {
    display: block;
    width: clamp(175px, 52vw, 205px);
    height: 58px;
    object-fit: contain;
    object-position: left center;
  }

  .site-nav-close {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    cursor: pointer;
  }

  .site-nav-close span,
  .site-nav-close span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    content: "";
  }

  .site-nav-close span {
    transform: rotate(45deg);
  }

  .site-nav-close span::after {
    transform: rotate(90deg);
  }

  .site-nav-links {
    position: static !important;
    left: auto !important;
    display: flex;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.25rem 0;
    transform: none !important;
  }

  .site-nav .site-link {
    display: flex;
    min-height: 56px;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border: 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em !important;
  }

  .site-nav .site-link::after {
    display: none;
  }

  .site-nav .site-link.active {
    color: #f3c623;
  }

  .site-nav .site-link.active::after {
    position: absolute;
    bottom: 0.2rem;
    left: 0.5rem;
    display: block;
    width: 2.35rem;
    height: 3px;
    border-radius: 999px;
    background: #f3c623;
    content: "";
    transform: none;
  }

  .site-nav-actions {
    position: static !important;
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .site-nav-actions .ndbc-button {
    min-height: 52px;
    border-radius: 0.9rem !important;
  }

  .site-nav-actions .site-nav-desktop-action {
    display: flex;
  }

  .site-nav-actions .site-nav-mobile-action {
    display: flex;
  }

  .site-nav-actions .nav-cta {
    background: #f3c623 !important;
    color: var(--ndbc-navy) !important;
  }

  .site-nav-actions .nav-cta.ghost {
    border-color: rgba(255, 255, 255, 0.55) !important;
    background: transparent !important;
    color: #fff !important;
  }

  .site-nav-mobile-foot {
    display: none;
  }

  .site-nav-mobile-foot p {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .site-nav-socials,
  .site-nav-utility {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }

  .site-nav-socials a {
    min-width: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
  }

  .site-nav-utility {
    grid-template-columns: 1fr;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav-utility a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .site-nav {
    width: 100vw;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav {
    transition: none;
  }
}

/* Social links shared by the public footer. */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.footer-socials a {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--ndbc-gold);
  background: var(--ndbc-gold);
  color: var(--ndbc-navy);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 21px;
  height: 21px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-socials .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

/* Ministries follows the shared brand system without a second hero-scale heading. */
.ministries-page .dawn-interior-hero h1 {
  font-weight: 430;
}

.ministries-page .dawn-interior-hero h1 em {
  color: var(--ministries-accent) !important;
  font-weight: 390;
}

.ministries-page .dawn-ministries-heading h2 {
  font-weight: 320;
}

@media (max-width: 900px) {
  .ministries-page .dawn-ministries-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  .ministries-page .dawn-interior-hero {
    min-height: 480px;
  }

  .ministries-page .dawn-interior-hero h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .ministries-page .dawn-ministries {
    padding-block: 3.75rem 5rem;
  }

  .ministries-page .dawn-ministries-heading h2 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }
}

/* Balanced ministries rhythm: generous introduction, compact content flow. */
.ministries-page .dawn-ministries {
  padding-block: clamp(6rem, 9vw, 8rem) clamp(4.5rem, 7vw, 6.5rem);
}

.ministries-page .dawn-ministries-heading {
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(3.5rem, 5vw, 5rem);
}

.ministries-page .dawn-ministries-heading h2 {
  max-width: 12ch;
  font-size: clamp(3.75rem, 6vw, 6.25rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.ministries-page .dawn-ministries-heading > p {
  max-width: 31rem;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

body .ministries-page .dawn-ministry-grid .dawn-ministry-card {
  min-height: 320px;
  gap: clamp(2rem, 4vw, 4rem);
}

.ministries-page .dawn-ministry-invite {
  min-height: 270px;
  margin-top: clamp(3.5rem, 5vw, 5rem);
  padding: clamp(2.5rem, 4vw, 4rem);
}

.ministries-page .dawn-ministry-invite h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.75rem, 4.4vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
}

.ministries-page .dawn-ministry-invite .ndbc-button {
  text-transform: none !important;
}

.ministries-page .dawn-ministry-invite .dawn-kicker {
  text-transform: uppercase;
}

.ministries-page .dawn-ministry-invite .ndbc-button {
  flex: 0 0 auto;
  min-width: 12rem;
  white-space: nowrap;
}

/* The editorial split forms fill the screen and use their own home link. */
.site:has(.contact-page) .site-header,
.site:has(.contact-page) .site-footer,
.site:has(.giving-page) .site-header,
.site:has(.giving-page) .site-footer {
  display: none;
}

.site-main:has(.contact-page),
.site-main:has(.giving-page) {
  padding-top: 0;
}

.site-main:has(.contact-page),
.site-main:has(.contact-page) .contact-page,
.site-main:has(.giving-page),
.site-main:has(.giving-page) .giving-page {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.site-main:has(.contact-page) .dawn-split-form,
.site-main:has(.giving-page) .dawn-split-form {
  flex: 1 0 auto;
  min-height: 100svh;
}

@media (max-width: 900px) {
  .ministries-page .dawn-ministries {
    padding-block: 5rem;
  }

  .ministries-page .dawn-ministries-heading {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ministries-page .dawn-ministries-heading > p {
    max-width: 38rem;
  }

  .ministries-page .dawn-ministry-invite {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .ministries-page .dawn-ministries {
    padding-block: 4.5rem 4rem;
  }

  .ministries-page .dawn-ministries-heading {
    margin-bottom: 2.75rem;
  }

  .ministries-page .dawn-ministries-heading h2 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  body .ministries-page .dawn-ministry-grid .dawn-ministry-card {
    min-height: 260px;
  }

  .ministries-page .dawn-ministry-invite {
    min-height: 0;
    margin-top: 3rem;
    padding: 2rem 1.5rem;
  }

  .ministries-page .dawn-ministry-invite .ndbc-button {
    width: 100%;
  }
}

/* Sermons page — the Ministries editorial language, tuned for message media. */
.sermons-page {
  --sermons-dark: #14292c;
  --sermons-ink: #0b293f;
  --sermons-gold: #f3c623;
  --sermons-paper: #f5f5f2;
  font-family: var(--ndbc-ui);
}

.sermons-page .dawn-interior-hero {
  min-height: clamp(460px, 60vh, 600px);
  background:
    radial-gradient(circle at 82% 38%, rgba(243, 198, 35, 0.08), transparent 24%),
    linear-gradient(160deg, #173033 0%, #17282a 48%, #202222 100%);
}

.sermons-page .dawn-interior-hero::before {
  background: transparent;
}
.sermons-page .dawn-interior-hero .container {
  padding-block: clamp(4rem, 8vw, 6rem);
}
.sermons-page .dawn-interior-hero .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.78) !important;
  animation: ministries-rise 700ms 80ms both cubic-bezier(0.22, 1, 0.36, 1);
}
.sermons-page .dawn-interior-hero .dawn-kicker::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sermons-gold);
  content: "";
}
.sermons-page .dawn-interior-hero h1 {
  max-width: 1050px;
  margin-top: 1.5rem;
  font:
    430 clamp(3.6rem, 6.4vw, 6.5rem)/0.92 "Segoe UI Variable Display",
    "Segoe UI",
    system-ui,
    sans-serif;
  letter-spacing: -0.065em;
  animation: ministries-rise 850ms 170ms both cubic-bezier(0.22, 1, 0.36, 1);
}
.sermons-page .dawn-interior-hero h1 em {
  color: var(--sermons-gold) !important;
  font-weight: 390;
}
.sermons-page .dawn-interior-hero p:not(.dawn-kicker) {
  max-width: 690px;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.7;
}
.sermons-library {
  padding-block: 0 clamp(4.5rem, 7vw, 6.5rem);
  background: #f5f5f2;
}

.sermons-featured-heading {
  margin: 0 0 0.75rem !important;
  color: var(--sermons-ink);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem) !important;
  font-weight: 320 !important;
  letter-spacing: -0.055em !important;
  line-height: 1 !important;
  text-transform: uppercase;
}
.sermons-page .dawn-sermon-list {
  padding-top: 0;
  background: #f5f5f2;
}
.sermons-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(3.5rem, 5vw, 5rem);
}
.sermons-section-heading .dawn-kicker,
.sermons-browse-heading .dawn-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #806300 !important;
}
.sermons-section-heading .dawn-kicker::before,
.sermons-browse-heading .dawn-kicker::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sermons-gold);
  content: "";
}
.sermons-section-heading h2,
.sermons-browse-heading h2,
.sermons-youtube h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-weight: 320;
  letter-spacing: -0.06em;
  line-height: 0.94;
}
.sermons-section-heading h2 {
  max-width: 12ch;
  font-size: clamp(3.75rem, 6vw, 6.25rem);
}
.sermons-section-heading > p {
  max-width: 31rem;
  color: rgba(11, 41, 63, 0.68);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}
.sermons-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(19rem, 0.75fr);
  min-height: 480px;
  background: #fff;
}
.sermons-featured-art {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--sermons-dark);
  color: #fff;
}
.sermons-featured-art::before {
  position: absolute;
  top: -36%;
  right: -10%;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid rgba(243, 198, 35, 0.35);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(243, 198, 35, 0.03),
    0 0 0 10rem rgba(243, 198, 35, 0.025);
  content: "";
}
.sermons-art-mark {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: var(--sermons-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.sermons-art-scripture {
  position: relative;
  margin-bottom: 1.15rem;
  color: var(--sermons-gold);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}
.sermons-art-title {
  position: relative;
  max-width: 10ch;
  font:
    320 clamp(3.4rem, 6vw, 6.5rem)/0.82 "Segoe UI Variable Display",
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.075em;
}
.sermons-play-icon {
  position: absolute;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sermons-gold);
  color: var(--sermons-ink);
}
.sermons-play-icon .mud-icon-root {
  font-size: 1.8rem;
}
.sermons-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
}
.sermons-meta {
  margin: 0 0 1rem;
  color: #806300;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sermons-featured-copy h3 {
  margin: 0;
  font:
    520 clamp(2rem, 3vw, 3rem)/1 "Segoe UI Variable Display",
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.045em;
}
.sermons-scripture {
  margin: 0.9rem 0 0;
  color: rgba(11, 41, 63, 0.58);
  font-weight: 650;
}
.sermons-featured-copy > p:last-of-type {
  margin: 1.5rem 0 0;
  color: rgba(11, 41, 63, 0.68);
  line-height: 1.7;
}
.sermons-status {
  align-self: flex-start;
  margin-top: 2rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #edf1ef;
  color: var(--sermons-ink);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sermons-browse-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin: clamp(6rem, 9vw, 9rem) 0 2.5rem;
}
.sermons-browse-heading h2 {
  margin-top: 0.65rem;
  font-size: clamp(2.75rem, 4.5vw, 4.75rem);
}
.sermons-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}
.sermons-filters span {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(11, 41, 63, 0.14);
  border-radius: 999px;
  color: rgba(11, 41, 63, 0.62);
  font-size: 0.78rem;
  font-weight: 650;
}
.sermons-filters .active {
  border-color: var(--sermons-dark);
  background: var(--sermons-dark);
  color: #fff;
}
.sermons-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
}
.sermons-placeholder-card {
  overflow: hidden;
  border: 1px solid rgba(11, 41, 63, 0.08);
  background: #fff;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}
.sermons-placeholder-card:hover {
  box-shadow: 0 1.25rem 2.75rem rgba(11, 41, 63, 0.09);
  transform: translateY(-4px);
}
.sermons-card-art {
  display: flex;
  aspect-ratio: 16/10;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: #e8ece9;
  color: var(--sermons-ink);
}
.sermons-card-art span {
  align-self: flex-end;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.sermons-card-art strong {
  max-width: 10ch;
  font:
    390 clamp(1.65rem, 2.5vw, 2.55rem)/0.92 "Segoe UI Variable Display",
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.055em;
}
.sermons-art-gold {
  background: var(--sermons-gold);
}
.sermons-art-navy {
  background: var(--sermons-ink);
  color: #fff;
}
.sermons-art-mist {
  background: #dce8e3;
}
.sermons-art-deep {
  background: #1e3333;
  color: var(--sermons-gold);
}
.sermons-art-paper {
  background: #ece9df;
}
.sermons-art-gold-dark {
  background: #dcae12;
  color: #17282a;
}
.sermons-card-copy {
  padding: 1.5rem;
}
.sermons-card-copy h3 {
  margin: 0;
  font:
    600 clamp(1.35rem, 1.8vw, 1.7rem)/1.08 "Segoe UI Variable Display",
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.035em;
}
.sermons-card-copy .sermons-scripture {
  margin-top: 0.65rem;
  font-size: 0.92rem;
}
.sermons-card-link {
  display: flex;
  justify-content: space-between;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 41, 63, 0.1);
  color: rgba(11, 41, 63, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
}
.sermons-youtube {
  position: relative;
  display: flex;
  min-height: 290px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 5rem);
  background: linear-gradient(155deg, #173033 0%, #202222 100%);
  color: #fff;
}
.sermons-youtube::after {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(243, 198, 35, 0.25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.sermons-youtube > * {
  position: relative;
  z-index: 1;
}
.sermons-youtube .dawn-kicker {
  color: var(--sermons-gold) !important;
}
.sermons-youtube h2 {
  max-width: 12ch;
  margin-top: 0.8rem;
  color: #fff;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.75rem, 4.4vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
}
.sermons-youtube p:not(.dawn-kicker) {
  max-width: 35rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}
.sermons-youtube .ndbc-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .sermons-section-heading {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .sermons-featured {
    grid-template-columns: 1fr;
  }
  .sermons-featured-art {
    min-height: 430px;
  }
  .sermons-placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sermons-browse-heading,
  .sermons-youtube {
    align-items: flex-start;
    flex-direction: column;
  }
  .sermons-filters {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  .sermons-page .dawn-interior-hero {
    min-height: 480px;
  }
  .sermons-page .dawn-interior-hero h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }
  .sermons-library {
    padding-block: 4.5rem 4rem;
  }
  .sermons-section-heading h2 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }
  .sermons-featured-art {
    min-height: 370px;
  }
  .sermons-art-title {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }
  .sermons-play-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
  .sermons-placeholder-grid {
    grid-template-columns: 1fr;
  }
  .sermons-filters {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .sermons-filters span {
    flex: 0 0 auto;
  }
  .sermons-youtube {
    padding: 2.25rem 1.5rem;
  }
  .sermons-youtube .ndbc-button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sermons-page *,
  .sermons-page *::before,
  .sermons-page *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Footer uses three balanced columns after removing the newsletter form. */
.site-footer .footer-grid {
  grid-template-columns: minmax(15rem, 1.4fr) minmax(9rem, 0.7fr) minmax(9rem, 0.7fr);
}

@media (max-width: 720px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-brand-block {
    grid-column: 1 / -1;
  }
}

/* Compact public footer: keep the full navigation without the oversized vertical footprint. */
.site-footer {
  padding-block: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-footer .footer-grid {
  grid-template-columns: minmax(16rem, 1.15fr) minmax(17rem, 1fr) minmax(8rem, 0.55fr) minmax(
      9rem,
      0.65fr
    );
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.site-footer .footer-brand-block .footer-logo {
  width: 10.5rem;
  height: 3rem;
  margin-bottom: 0.5rem;
}

.site-footer .footer-brand-block p {
  margin-block: 0.15rem;
}

.site-footer .footer-brand-block address {
  margin: 0.55rem 0 0;
  line-height: 1.45;
}

.site-footer .footer-heading {
  margin-bottom: 0.4rem;
}

.site-footer .footer-intro {
  max-width: 19rem;
  padding-top: 0.1rem;
}

.site-footer .footer-kicker {
  margin: 0 0 0.45rem;
  color: var(--ndbc-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-statement {
  margin: 0;
  color: #fff;
  font-family: var(--ndbc-display);
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.site-footer .footer-visit-link {
  display: inline-block;
  margin-top: 0.7rem;
  border-bottom: 1px solid rgba(255, 192, 0, 0.65);
  color: #fff;
  font-weight: 650;
}

.site-footer .footer-links {
  display: grid;
  align-content: start;
  gap: 0.1rem;
}

.site-footer .footer-links a {
  min-height: 0;
  padding-block: 0.14rem;
  line-height: 1.45;
}

.site-footer .footer-socials {
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.site-footer .footer-socials a {
  width: 36px;
  min-height: 36px;
}

.site-footer .footer-socials svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1050px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 1fr) minmax(8rem, 0.55fr) minmax(
        9rem,
        0.65fr
      );
    gap: 2rem;
  }
}

@media (max-width: 850px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding-block: 1.15rem;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }

  .site-footer .footer-brand-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1rem;
    align-items: start;
  }

  .site-footer .footer-intro {
    grid-column: 1 / -1;
    max-width: 25rem;
    padding-block: 0.25rem;
  }

  .site-footer .footer-brand-block .footer-logo,
  .site-footer .footer-brand-block p,
  .site-footer .footer-brand-block address {
    grid-column: 1;
  }

  .site-footer .footer-socials {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: repeat(2, 36px);
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .site-footer .footer-brand-block {
    display: block;
  }

  .site-footer .footer-socials {
    display: flex;
    margin-top: 0.75rem;
  }
}

/* Structured footer inspired by the reference: brand and visit first, navigation second. */
.site-footer .footer-shell {
  display: grid;
  gap: 1.25rem;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(18rem, 1.35fr) minmax(15rem, 0.65fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: start;
}

.site-footer .footer-brand-block {
  display: grid;
  grid-template-columns: 14rem minmax(20rem, 1fr);
  gap: 0.25rem 1.75rem;
  align-items: center;
}

.site-footer .footer-brand-block .footer-logo {
  grid-row: 1 / span 2;
  width: 14rem;
  height: 3.5rem;
  margin: 0;
}

.site-footer .footer-brand-block .footer-statement {
  max-width: none;
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  white-space: nowrap;
}

.site-footer .footer-brand-block .footer-socials {
  grid-column: 2;
  margin-top: 0.35rem;
}

.site-footer .footer-visit {
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer .footer-visit address {
  margin: 0;
  color: #d9dde2;
  font-style: normal;
  line-height: 1.5;
}

.site-footer .footer-visit-link {
  padding-bottom: 0.1rem;
}

.site-footer .footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 7rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer .footer-copy {
  margin: 0.1rem 0 0;
  color: rgba(217, 221, 226, 0.72);
  font-size: 0.78rem;
}

@media (max-width: 850px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-footer .footer-visit {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .site-footer .footer-brand-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .site-footer .footer-brand-block .footer-logo,
  .site-footer .footer-brand-block .footer-statement,
  .site-footer .footer-brand-block .footer-socials {
    grid-column: 1;
    grid-row: auto;
  }

  .site-footer .footer-brand-block .footer-logo {
    width: min(15rem, 80vw);
    height: auto;
  }

  .site-footer .footer-brand-block .footer-statement {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .site-footer .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }
}

/* ---- Admin portal: form-inspired workspace theme ----
   Kept under .admin-shell so the public website retains its own palette. */
.admin-shell {
  --admin-ink: #15292b;
  --admin-ink-strong: #0d2022;
  --admin-ink-soft: #244044;
  --admin-paper: #f5f3ec;
  --admin-surface: #ffffff;
  --admin-surface-soft: #eeece4;
  --admin-line: rgba(21, 41, 43, 0.14);
  --admin-line-strong: rgba(21, 41, 43, 0.24);
  --admin-border: var(--admin-line);
  --admin-card-shadow: 0 12px 30px rgba(13, 32, 34, 0.08);
  --admin-navy: #00152f;
  --admin-teal-deep: var(--admin-ink-strong);
  --admin-yellow: #f3c623;
  --admin-yellow-hover: #ddb218;
  --admin-teal: #45c6c8;
  --admin-coral: #f05c4f;
  --admin-muted: #617173;
  background: var(--admin-paper) !important;
  color: var(--admin-ink);
}

.admin-shell .admin-sidebar {
  background:
    radial-gradient(circle at 0 0, rgba(69, 198, 200, 0.17), transparent 15rem),
    var(--admin-ink-strong) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-shell .admin-brand span,
.admin-shell .admin-version {
  color: rgba(255, 255, 255, 0.56);
}

.admin-shell .admin-nav a {
  color: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid transparent;
  border-radius: 12px;
}

.admin-shell .admin-nav-icon {
  color: rgba(255, 255, 255, 0.57);
}

.admin-shell .admin-nav a:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.admin-shell .admin-nav a.active {
  border-color: var(--admin-yellow);
  background: var(--admin-yellow) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  color: var(--admin-ink-strong) !important;
}

.admin-shell .admin-nav a.active .admin-nav-icon {
  color: var(--admin-ink-strong) !important;
}

.admin-shell .admin-public-link {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.admin-shell .admin-public-link:hover,
.admin-shell .admin-public-link:focus-visible {
  border-color: var(--admin-teal);
  background: rgba(69, 198, 200, 0.1);
  outline: none;
}

.admin-shell .admin-workspace,
.admin-shell .admin-main {
  background: var(--admin-paper) !important;
}

.admin-shell .admin-topbar {
  border-color: var(--admin-line) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 1px 0 rgba(21, 41, 43, 0.02);
  backdrop-filter: blur(12px);
}

.admin-shell .admin-menu-collapse-button {
  color: var(--admin-ink-soft);
}

.admin-shell .admin-menu-collapse-button:hover,
.admin-shell .admin-menu-collapse-button:focus-visible {
  background: rgba(21, 41, 43, 0.07);
  color: var(--admin-ink-strong);
}

.admin-shell .admin-account {
  color: var(--admin-muted);
}

.admin-shell .admin-account button {
  border: 1px solid transparent;
  background: var(--admin-ink) !important;
  box-shadow: 0 3px 10px rgba(13, 32, 34, 0.14);
  color: #fff !important;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-shell .admin-account button:hover {
  background: var(--admin-ink-soft) !important;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 5px 14px rgba(13, 32, 34, 0.2);
  transform: translateY(-1px);
}

.admin-shell .admin-account button:focus-visible {
  background: var(--admin-ink-soft) !important;
  outline: 2px solid rgba(18, 111, 109, 0.55);
  outline-offset: 2px;
}

.admin-shell .admin-account button:active {
  box-shadow: 0 2px 6px rgba(13, 32, 34, 0.16);
  transform: translateY(0);
}

.admin-shell .admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

.admin-shell .portal-notification-button {
  color: var(--admin-navy, #16243b);
}

.admin-shell .portal-notification-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-shell .portal-notification-count {
  position: absolute;
  top: 0.1rem;
  right: 0.05rem;
  display: grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #d32f2f;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.portal-notification-panel {
  width: min(23rem, calc(100vw - 2rem));
  padding: 0.5rem 0;
}

.portal-notification-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(15, 35, 57, 0.1);
}

.portal-notification-heading strong { font-size: 1rem; }
.portal-notification-heading span { color: #687487; font-size: 0.75rem; }

.portal-notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  color: #15263d;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.portal-notification-item:hover { background: #f3f7fa; }
.portal-notification-item > span:last-child { display: grid; gap: 0.2rem; }
.portal-notification-item small { color: #687487; line-height: 1.35; }
.portal-notification-item-icon { color: #bd572f; padding-top: 0.1rem; }

.portal-notification-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 7rem;
  padding: 1rem;
  color: #687487;
}

.admin-shell .admin-eyebrow {
  color: #a07700 !important;
}

.admin-shell .admin-eyebrow::before {
  background: var(--admin-yellow);
}

.admin-shell .admin-page-heading h1,
.admin-shell .admin-page-title-row h1,
.admin-shell .admin-data-strong,
.admin-shell .admin-user-name strong {
  color: var(--admin-ink-strong) !important;
}

.admin-shell .admin-page-heading > p:last-child,
.admin-shell .kidz-section-heading p,
.admin-shell .admin-empty-state p,
.admin-shell .kidz-empty-state p {
  color: var(--admin-muted);
}

.admin-shell .admin-stats article,
.admin-shell .admin-panel,
.admin-shell .admin-data-table,
.admin-shell .admin-message-card,
.admin-shell .admin-message-detail,
.admin-shell .kidz-active-card,
.admin-shell .kidz-empty-state,
.admin-shell .admin-empty-state,
.admin-shell .mud-paper,
.admin-shell .mud-table-container {
  border-color: var(--admin-line) !important;
  background: var(--admin-surface) !important;
  box-shadow: 0 12px 32px rgba(13, 32, 34, 0.06) !important;
}

.admin-shell .admin-stats article,
.admin-shell .admin-panel,
.admin-shell .admin-data-table,
.admin-shell .admin-message-card,
.admin-shell .admin-message-detail,
.admin-shell .kidz-active-card {
  border-radius: 18px;
}

.admin-shell .admin-stat-icon,
.admin-shell .admin-message-reply,
.admin-shell .kidz-data-table a {
  color: #23898b;
}

.admin-shell .admin-stats article:nth-child(2) .admin-stat-icon {
  color: var(--admin-coral);
}

.admin-shell .admin-stats article:nth-child(3) .admin-stat-icon {
  color: #a07700;
}

.admin-shell .admin-stats article:nth-child(4) .admin-stat-icon {
  color: #378761;
}

.admin-shell .admin-stats strong {
  color: var(--admin-ink-strong);
}

.admin-shell .admin-stats a,
.admin-shell .admin-actions a {
  color: var(--admin-ink);
}

.admin-shell .admin-actions a,
.admin-shell .admin-message-actions button {
  border: 1px solid transparent;
  background: var(--admin-surface-soft) !important;
  color: var(--admin-ink) !important;
}

.admin-shell .admin-actions a:hover,
.admin-shell .admin-actions a:focus-visible,
.admin-shell .admin-message-actions button:hover,
.admin-shell .admin-message-actions button:focus-visible {
  border-color: rgba(69, 198, 200, 0.45);
  background: rgba(69, 198, 200, 0.1) !important;
  outline: none;
}

.admin-shell .admin-add-button,
.admin-shell .admin-modal-primary,
.admin-shell .kidz-active-card > button,
.admin-shell .kidz-checkout-form button,
.admin-shell .kidz-history-filters > button,
.admin-shell .admin-builder-save {
  border: 0;
  border-radius: 12px;
  background: var(--admin-yellow) !important;
  box-shadow: 0 5px 0 rgba(13, 32, 34, 0.12);
  color: var(--admin-ink-strong) !important;
}

.admin-shell .admin-add-button:hover,
.admin-shell .admin-modal-primary:hover,
.admin-shell .kidz-active-card > button:hover,
.admin-shell .kidz-checkout-form button:hover,
.admin-shell .kidz-history-filters > button:hover,
.admin-shell .admin-builder-save:hover {
  background: var(--admin-yellow-hover) !important;
}

.admin-shell .admin-add-button:focus-visible,
.admin-shell .admin-modal-primary:focus-visible,
.admin-shell .kidz-active-card > button:focus-visible,
.admin-shell .kidz-checkout-form button:focus-visible,
.admin-shell .kidz-history-filters > button:focus-visible {
  outline: 3px solid rgba(69, 198, 200, 0.35);
  outline-offset: 3px;
}

/* Modern tables: clear hierarchy, calmer rules, and a useful hover state. */
.admin-shell .admin-data-table,
.admin-shell .mud-table-container {
  overflow-x: auto;
}

.admin-shell .admin-data-table .mud-table-head,
.admin-shell .mud-table-head {
  background: var(--admin-ink) !important;
}

.admin-shell .admin-data-table .mud-table-head .mud-table-cell,
.admin-shell .mud-table-head .mud-table-cell {
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em;
}

.admin-shell .mud-table-body .mud-table-row:nth-child(even) {
  background: rgba(21, 41, 43, 0.025);
}

.admin-shell .mud-table-body .mud-table-row:hover {
  background: rgba(69, 198, 200, 0.08) !important;
}

.admin-shell .mud-table-cell {
  border-color: var(--admin-line) !important;
  color: var(--admin-ink);
}

.admin-shell .mud-icon-button {
  border-radius: 10px;
  color: var(--admin-ink-soft);
}

.admin-shell .mud-icon-button:hover,
.admin-shell .mud-icon-button:focus-visible {
  background: rgba(69, 198, 200, 0.12);
  color: var(--admin-ink-strong);
}

/* Admin forms and dialogs use the same crisp language as the public forms. */
.admin-modal-backdrop,
.signout-modal-backdrop {
  /* These dialogs can render outside .admin-shell, so they must carry their
     own theme tokens instead of relying on inherited admin variables. */
  --admin-ink: #15292b;
  --admin-ink-strong: #0d2022;
  --admin-muted: #587174;
  --admin-line-strong: #b9c8c7;
  --admin-surface: #ffffff;
  --admin-surface-soft: #f3f5f1;
  --admin-teal: #45c6c8;
  --admin-coral: #e8665b;
  --portal-input-height: 2.75rem;
  z-index: 2200;
  isolation: isolate;
  overscroll-behavior: contain;
  background: rgba(13, 32, 34, 0.72) !important;
  backdrop-filter: blur(7px);
}

.admin-modal,
.signout-modal {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 22px;
  background: var(--admin-surface, #ffffff) !important;
  box-shadow: 0 28px 80px rgba(13, 32, 34, 0.34) !important;
  color: var(--admin-ink, #15292b);
  opacity: 1;
}

.admin-modal h2,
.signout-modal h2 {
  color: var(--admin-ink-strong, #0d2022) !important;
}

.admin-modal-description,
.signout-modal p,
.admin-modal-loading {
  color: var(--admin-muted, #587174);
}

.admin-modal-icon,
.admin-shell .kidz-empty-state > span {
  background: rgba(69, 198, 200, 0.14);
  color: #197f81;
}

.admin-modal-close,
.signout-modal-close {
  border-color: var(--admin-line-strong);
  color: var(--admin-muted);
}

.admin-modal-close:hover,
.signout-modal-close:hover,
.admin-modal-cancel:hover,
.signout-modal-cancel:hover {
  background: var(--admin-surface-soft);
}

.admin-modal-form .mud-input-control,
.admin-shell .admin-builder-form .mud-input-control,
.admin-shell .kidz-history-filters .mud-input-control {
  margin-top: 0;
}

.admin-modal-form .mud-input-root,
.admin-shell .admin-builder-form .mud-input-root,
.admin-shell .kidz-history-filters .mud-input-root {
  min-height: var(--portal-input-height);
  border-radius: 11px;
  background: #fff;
}

.admin-modal-form .mud-input-outlined-border,
.admin-shell .admin-builder-form .mud-input-outlined-border,
.admin-shell .kidz-history-filters .mud-input-outlined-border {
  border-color: var(--admin-line-strong) !important;
  border-radius: 11px !important;
}

.admin-modal-form .mud-input-control:focus-within .mud-input-outlined-border,
.admin-shell .admin-builder-form .mud-input-control:focus-within .mud-input-outlined-border,
.admin-shell .kidz-history-filters .mud-input-control:focus-within .mud-input-outlined-border {
  border-color: var(--admin-teal) !important;
  box-shadow: 0 0 0 3px rgba(69, 198, 200, 0.16);
}

.admin-modal-form .mud-input-label,
.admin-shell .admin-builder-form .mud-input-label,
.admin-shell .kidz-history-filters .mud-input-label {
  color: var(--admin-muted);
}

.admin-modal-form .mud-input-control:focus-within .mud-input-label,
.admin-shell .admin-builder-form .mud-input-control:focus-within .mud-input-label,
.admin-shell .kidz-history-filters .mud-input-control:focus-within .mud-input-label {
  color: #197f81 !important;
}

.admin-modal-form .mud-input-error .mud-input-outlined-border,
.admin-shell .admin-builder-form .mud-input-error .mud-input-outlined-border {
  border-color: var(--admin-coral) !important;
}

.admin-modal-form .mud-input-helper-text.mud-input-error,
.admin-shell .admin-builder-form .mud-input-helper-text.mud-input-error {
  color: #c33f35 !important;
}

.admin-shell .kidz-tabs {
  border-color: var(--admin-line);
}

.admin-shell .kidz-tabs button {
  color: var(--admin-muted);
}

.admin-shell .kidz-tabs button:hover,
.admin-shell .kidz-tabs button.active {
  color: var(--admin-ink-strong);
}

.admin-shell .kidz-tabs button.active {
  border-bottom-color: var(--admin-teal) !important;
}

.admin-shell .kidz-tabs button.active span {
  background: rgba(69, 198, 200, 0.15);
  color: #197f81;
}

.admin-shell .kidz-checkout-form input {
  border-color: var(--admin-line-strong);
  color: var(--admin-ink);
}

.admin-shell .kidz-checkout-form input:focus {
  border-color: var(--admin-teal);
  outline-color: rgba(69, 198, 200, 0.2);
}

.admin-shell .admin-message-card:hover,
.admin-shell .admin-message-card.selected,
.admin-shell .admin-stats article:hover,
.admin-shell .admin-stats article:focus-within {
  border-color: rgba(69, 198, 200, 0.65) !important;
  box-shadow: 0 18px 42px rgba(13, 32, 34, 0.11) !important;
}

.admin-shell .admin-message-unread {
  background: var(--admin-coral);
}

.admin-shell .admin-user-name > span {
  background: var(--admin-ink);
}

.admin-shell .admin-user-status.active::before {
  background: var(--admin-teal);
}

@media (max-width: 720px) {
  .admin-shell .admin-topbar {
    padding-inline: 1rem;
  }

  .admin-modal,
  .signout-modal {
    padding: 1.35rem;
    border-radius: 18px;
  }

  .admin-modal-form-row,
  .admin-shell .kidz-history-filters {
    grid-template-columns: 1fr;
  }

  .admin-shell .admin-data-table .mud-table-cell,
  .admin-shell .mud-table-cell {
    min-width: 9rem;
  }
}

/* Keep the compact footer authoritative over the earlier footer iterations. */
.site-footer {
  padding-block: 1rem 0.75rem;
}

.site-footer .footer-shell {
  gap: 0.65rem;
}

.site-footer .footer-brand-block {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  align-items: start;
  width: min(12rem, 100%);
}

.site-footer .footer-brand-block .footer-logo {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
}

.site-footer .footer-brand-block .footer-statement {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.25;
  white-space: normal;
}

.site-footer .footer-brand-block .footer-socials {
  grid-column: 1;
  width: 100%;
  justify-content: space-between;
  gap: 0.25rem;
  margin: 0;
}

.site-footer .footer-nav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.25rem);
  padding: 0;
  border: 0;
}

.site-footer .footer-copy {
  margin: 0;
  text-align: center;
}

@media (max-width: 1050px) {
  .site-footer .footer-visit {
    padding: 0.65rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .site-footer .footer-brand-block {
    grid-template-columns: minmax(9rem, 12rem) 1fr;
    align-items: center;
    width: 100%;
  }

  .site-footer .footer-brand-block .footer-logo {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .site-footer .footer-brand-block .footer-socials {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-content: flex-start;
  }

  .site-footer .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* All admin pages share the dashboard heading hierarchy. */
.admin-shell .admin-page-heading {
  display: block;
}

.admin-shell .admin-page-heading .admin-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  color: #947000 !important;
  font-size: 0.875rem !important;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.admin-shell .admin-page-heading .admin-eyebrow::before {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 0.55rem;
  border-radius: 50%;
  background: var(--admin-yellow, #f3c623);
  content: "";
}

.admin-shell .admin-page-heading h1 {
  margin: 0 0 0.35rem;
  color: var(--admin-ink-strong, #0d2022) !important;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.admin-shell .admin-page-heading > p:last-child:not(.admin-eyebrow) {
  margin: 0;
  color: var(--admin-muted, #617173);
  font-size: 1rem;
  line-height: 1.55;
}

.admin-shell .admin-page-title-row,
.admin-shell .admin-builder-header {
  align-items: flex-end;
}

@media (max-width: 620px) {
  .admin-shell .admin-page-title-row,
  .admin-shell .admin-builder-header {
    align-items: stretch;
  }
}

/* Keep the transparent brand mark neat when the desktop sidebar is collapsed. */
.admin-shell.admin-nav-collapsed .admin-sidebar-header {
  min-height: 56px;
  align-items: center;
  justify-content: center;
}

.admin-shell.admin-nav-collapsed .admin-brand {
  display: grid;
  width: 56px;
  height: 56px;
  padding: 0;
  place-items: center;
  overflow: visible;
}

.admin-shell.admin-nav-collapsed .admin-brand .admin-brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent !important;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .admin-shell.admin-nav-collapsed .admin-sidebar-header {
    min-height: auto;
    justify-content: space-between;
  }

  .admin-shell.admin-nav-collapsed .admin-brand {
    display: flex;
    width: auto;
    height: auto;
    align-items: flex-start;
    padding: 0 0.5rem;
  }

  .admin-shell.admin-nav-collapsed .admin-brand .admin-brand-mark {
    display: none;
  }
}

/* Keep the desktop portal navigation anchored to the viewport on both short
   and long pages while leaving document scrolling available to shared tools. */
@media (min-width: 761px) {
  .admin-shell {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .admin-shell .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    height: 100vh;
    height: 100dvh;
    overflow: visible;
  }

  .admin-shell .admin-workspace {
    grid-column: 2;
    min-width: 0;
  }
}

/* Keep portal controls and notifications visible on long pages. */
.admin-shell .admin-topbar {
  position: sticky;
  z-index: 400;
  top: 0;
}

.admin-shell .portal-alert-slot {
  position: fixed;
  z-index: 500;
  top: 84px;
  right: 24px;
  width: min(430px, calc(100vw - 48px));
}

@media (max-width: 600px) {
  .admin-shell .portal-alert-slot {
    top: 76px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 680px) {
  .site-footer .footer-brand-block,
  .site-footer .footer-visit,
  .site-footer .footer-copy {
    display: none;
  }

  .site-footer .footer-nav {
    gap: 1.5rem 2rem;
    border-top: 0;
  }

  .site-footer .footer-links {
    gap: 0.2rem;
  }

  .site-footer .footer-heading {
    margin-bottom: 0.35rem;
    font-size: 1rem;
  }

  .site-footer .footer-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding-block: 0.6rem;
    font-size: 1rem;
    line-height: 1.25;
  }

  .home-page .dawn-sunday {
    min-height: 0;
  }

  .home-page .dawn-sunday-image {
    display: block;
    min-height: clamp(190px, 52vw, 280px);
  }
}

/* Final portal palette: shared with the current sign-in experience. */
.admin-shell {
  --admin-ink: #21383a;
  --admin-ink-strong: #192f31;
  --admin-ink-soft: #334c4e;
  --admin-paper: #f3f4f1;
  --admin-surface-soft: #f6f7f4;
}

/* Final header authority: every portal page uses one sentence-case hierarchy. */
.admin-shell .admin-page-title-row,
.admin-shell .admin-builder-header,
.admin-shell .admin-listing-header {
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.admin-shell .admin-page-heading .admin-eyebrow,
.admin-shell .admin-listing-header .admin-eyebrow {
  display: block;
  margin: 0 0 0.4rem;
  color: #bd7c13 !important;
  font-size: 0.875rem !important;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.3 !important;
  text-transform: none !important;
}

.admin-shell .admin-page-heading .admin-eyebrow::before {
  display: none !important;
  content: none !important;
}

.admin-shell .admin-page-heading h1,
.admin-shell .admin-listing-header h1 {
  margin: 0;
  font-size: clamp(2.15rem, 3.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.admin-shell .admin-page-heading > p:last-child:not(.admin-eyebrow),
.admin-shell .admin-listing-header .admin-page-heading > p:last-child {
  margin: 0.45rem 0 0;
  color: var(--admin-muted, #617173);
  font-size: 1rem;
  line-height: 1.5;
}

/* Floating option cards are global because MudBlazor popovers render at body level. */
.mud-popover:has(.mud-list) {
  overflow: hidden !important;
  border: 1px solid rgba(25, 47, 49, 0.18) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(13, 32, 34, 0.18) !important;
}

.mud-popover .mud-list {
  min-width: 100%;
  padding: 0.4rem !important;
  background: #fff !important;
}

.mud-popover .mud-list-item {
  min-height: 2.7rem;
  margin: 0.1rem 0;
  border-radius: 7px;
  color: #21383a;
  font-size: 0.9rem;
}

.mud-popover .mud-list-item:hover,
.mud-popover .mud-list-item:focus-visible {
  background: #eef6f4 !important;
}

.mud-popover .mud-list-item.mud-selected-item,
.mud-popover .mud-list-item.mud-selected-item:hover {
  background: #dff1ee !important;
  color: #126d6a !important;
  font-weight: 700;
}

/* Keep the user-table action column compact, centred and easy to scan. */
.admin-shell .admin-users-table .mud-table-head .mud-table-cell:last-child,
.admin-shell .admin-users-table .mud-table-body .mud-table-cell:last-child {
  width: 8rem;
  min-width: 8rem;
  padding-right: 0.55rem;
  padding-left: 0.55rem;
  text-align: center;
}

.admin-shell .admin-user-actions {
  display: flex;
  min-width: 0;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
}

.admin-shell .admin-user-actions .mud-icon-button {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  padding: 0.35rem;
}

/* MudBlazor tooltips match the compact dark sidebar tooltip. */
.mud-tooltip.mud-tooltip-default {
  padding: 0.35rem 0.55rem;
  border-radius: 5px;
  background: #4b4b4b !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

.mud-tooltip.mud-tooltip-default.mud-tooltip-arrow::after {
  border-top-color: #4b4b4b !important;
}

/* Unified portal modals: keep the page sharp beneath a light scrim. */
.admin-modal-backdrop,
.signout-modal-backdrop {
  background: rgba(22, 30, 34, 0.36) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mud-overlay.mud-overlay-dialog .mud-overlay-scrim,
.mud-overlay.mud-overlay-dialog .mud-overlay-scrim.mud-overlay-dark {
  border-color: transparent !important;
  background: rgba(22, 30, 34, 0.36) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.admin-modal {
  width: min(600px, calc(100vw - 2rem));
  padding: 0;
  overflow: hidden auto;
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: 0 22px 55px rgba(13, 32, 34, 0.24) !important;
}

.admin-modal-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0;
  padding: 1.45rem 1.55rem 1.25rem;
  border-bottom: 1px solid rgba(25, 47, 49, 0.11);
}

.admin-modal-heading-copy { min-width: 0; }
.admin-modal-kicker { display: block; margin-bottom: 0.3rem; color: #147b78; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-modal-header h2 { margin: 0; color: #192f31 !important; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.admin-modal-header .admin-modal-description { margin: 0.35rem 0 0; color: #69777a; font-size: 0.875rem; line-height: 1.45; }
.admin-modal-close { width: 2rem; height: 2rem; flex: 0 0 2rem; border: 0; border-radius: 6px; color: #7a8589; }
.admin-modal-content { margin: 0; padding: 1.4rem 1.55rem; }
.admin-modal-actions { margin: 0.5rem -1.55rem -1.4rem; padding: 1rem 1.55rem; border-top: 1px solid rgba(25, 47, 49, 0.11); }

.admin-modal--wide {
  width: min(1180px, calc(100vw - 3rem));
  max-height: calc(100vh - 3rem);
}

.budget-summary-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.budget-summary-card {
  min-width: 0;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(25, 47, 49, 0.13);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(13, 32, 34, 0.06);
}

.budget-summary-card__label,
.budget-summary-card__caption { display: block; }
.budget-summary-card__label { color: #5f7073; font-size: 0.82rem; font-weight: 700; }
.budget-summary-card__caption { overflow: hidden; color: #738184; font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }

.budget-summary-card__value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.45rem 0 0.35rem;
}

.budget-summary-card__value-row strong { color: #192f31; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.1; }
.budget-summary-card__icon { width: 1.3rem; height: 1.3rem; color: #147b78; }
.budget-summary-card--approved { border-top: 3px solid #2c9b69; }
.budget-summary-card--allocated { border-top: 3px solid #dca800; }
.budget-summary-card--used { border-top: 3px solid #147b78; }

@media (max-width: 850px) {
  .budget-summary-cards { grid-template-columns: 1fr; }
}

.budget-detail-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.budget-detail-note {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #147b78;
  background: #f4f8f7;
  color: #42585a;
}

.mud-dialog {
  border: 1px solid rgba(25, 47, 49, 0.13) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: 0 22px 55px rgba(13, 32, 34, 0.24) !important;
}

.mud-dialog .mud-dialog-title,
.mud-dialog .mud-dialog-content,
.mud-dialog .mud-dialog-actions { padding-right: 1.55rem; padding-left: 1.55rem; }
.mud-dialog .mud-dialog-title { padding-top: 1.4rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(25, 47, 49, 0.11); }
.mud-dialog .mud-dialog-actions { padding-top: 1rem; padding-bottom: 1rem; border-top: 1px solid rgba(25, 47, 49, 0.11); }

/* Shared destructive confirmation footer. */
.admin-confirm-actions {
  display: flex;
  align-items: center;
  flex-direction: row !important;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 0.5rem -1.55rem -1.4rem;
  padding: 1rem 1.55rem;
  border-top: 1px solid rgba(25, 47, 49, 0.11);
}

.admin-confirm-actions button {
  min-width: 7rem;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-modal-danger {
  border: 1px solid #bd3f3f;
  background: #c54646;
  color: #fff;
}

.admin-modal-danger:hover { background: #ad3737; }
.admin-confirm-actions button:disabled { opacity: 0.6; cursor: wait; }
.admin-confirm-actions form { margin: 0; }

/* Confirmation dialogs have no form body between the message and actions. */
.admin-modal-content:has(> .admin-confirm-actions) {
  padding-top: 0;
}

.admin-modal-content > .admin-confirm-actions {
  margin-top: 0;
}

/* Keep the table-to-pagination transition clean. */
.admin-shell .admin-lsi-table .mud-table-body .mud-table-row:last-child .mud-table-cell {
  border-bottom: 0 !important;
}

/* Modal headings use sentence case, independent of public-site heading styles. */
.admin-modal-header h2 {
  text-transform: none !important;
}

.admin-shell .admin-pagination {
  border-top: 0 !important;
}

/* Portal table controls are horizontal groups. MudStack defaults to a column,
   so declare the direction explicitly for row actions and the shared pager. */
.admin-shell .admin-user-actions {
  flex-direction: row !important;
  flex-wrap: nowrap;
}

.admin-shell .admin-pagination {
  flex-direction: row !important;
  flex-wrap: nowrap;
}

/* MudStack renders as a column unless its direction is overridden explicitly.
   Keep listing headers, result metadata and user identity cells aligned with
   the compact desktop table pattern used throughout the portal. */
.admin-shell .admin-page-title-row,
.admin-shell .admin-builder-header,
.admin-shell .admin-listing-header,
.admin-shell .admin-listing-header__actions,
.admin-shell .admin-builder-actions,
.admin-shell .admin-table-shell__meta,
.admin-shell .admin-user-name {
  flex-direction: row !important;
}

.admin-shell .admin-page-title-row,
.admin-shell .admin-builder-header,
.admin-shell .admin-listing-header {
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
}

.admin-shell .admin-table-shell__meta {
  align-items: center;
  justify-content: flex-end;
}

.admin-shell .admin-user-name {
  justify-content: flex-start;
}

@media (max-width: 600px) {
  .admin-shell .admin-page-title-row,
  .admin-shell .admin-builder-header,
  .admin-shell .admin-listing-header {
    align-items: flex-start;
    flex-direction: column !important;
  }

  .admin-shell .admin-pagination {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* Email template editor: compact tabbed workspace. */
.admin-shell .email-template-page {
  --email-template-subject-height: 2.5rem;
  --email-template-body-height: 20rem;
  --email-template-test-control-height: 3rem;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.admin-shell .email-template-page .admin-builder-save {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 750;
  cursor: pointer;
}

.admin-shell .email-template-page .admin-builder-card {
  border-color: var(--admin-line) !important;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(13, 32, 34, 0.06);
}

.admin-shell .email-template-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0;
  padding: 0;
  overflow: visible;
  border-bottom: 1px solid var(--admin-line);
  background: #fff;
}

.admin-shell .email-template-tabs button {
  min-width: 0;
  padding: 1rem 1.1rem 0.9rem;
  border-right: 1px solid rgba(25, 47, 49, 0.09);
  border-radius: 0;
  color: var(--admin-muted);
}

.admin-shell .email-template-tabs button:last-child { border-right: 0; }
.admin-shell .email-template-tabs button span { overflow: hidden; color: var(--admin-ink-strong); font-size: 0.9rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .email-template-tabs button small { overflow: hidden; color: #839092; font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .email-template-tabs button:hover { background: #f5f8f6; }

.admin-shell .email-template-tabs button.active {
  background: #eaf5f3;
  box-shadow: inset 0 -3px #198784;
  color: #126f6d;
}

.admin-shell .email-template-tabs button.active span,
.admin-shell .email-template-tabs button.active small { color: #126f6d; }

.admin-shell .email-template-page .admin-builder-section { padding: 1.5rem 1.75rem; }
.admin-shell .email-template-page .admin-builder-section-heading h2 { color: var(--admin-ink-strong); font-size: 1.25rem; font-weight: 700; text-transform: none; }
.admin-shell .email-template-page .admin-builder-section-heading span { color: var(--admin-muted); font-size: 0.875rem; }
.admin-shell .email-template-page .admin-builder-preview-canvas { border-color: rgba(25, 135, 132, 0.25); background: #f7faf9; color: var(--admin-ink); }

.admin-shell .email-template-page .email-template-subject-input .mud-input-root {
  height: var(--email-template-subject-height);
  min-height: var(--email-template-subject-height) !important;
}

.admin-shell .email-template-page .email-template-body-input .mud-input-root {
  height: var(--email-template-body-height);
  min-height: var(--email-template-body-height) !important;
  align-items: flex-start;
}

.admin-shell .email-template-page .email-template-body-input textarea.mud-input-slot {
  height: 100% !important;
  min-height: 100% !important;
  resize: vertical;
}

@media (max-width: 760px) {
  .admin-shell .email-template-tabs { grid-template-columns: 1fr; }
  .admin-shell .email-template-tabs button { border-right: 0; border-bottom: 1px solid rgba(25, 47, 49, 0.08); }
}

/* Scalable template library and editor layout. */
.admin-shell .email-template-workspace {
  display: grid;
  grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.admin-shell .email-template-library {
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 32, 34, 0.05);
}

.admin-shell .email-template-library > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-shell .email-template-library h2 { margin: 0; color: var(--admin-ink-strong); font-size: 1rem; font-weight: 750; text-transform: none; }
.admin-shell .email-template-library p { margin: 0.25rem 0 0; color: var(--admin-muted); font-size: 0.78rem; line-height: 1.4; }
.admin-shell .email-template-library > header > span { display: inline-flex; min-width: 1.8rem; height: 1.8rem; align-items: center; justify-content: center; border-radius: 999px; background: #eaf5f3; color: #126f6d; font-size: 0.75rem; font-weight: 800; }

.admin-shell .email-template-list { display: grid; max-height: 42rem; overflow-y: auto; }
.admin-shell .email-template-list button { display: grid; gap: 0.55rem; padding: 0.95rem 1.05rem; border: 0; border-bottom: 1px solid rgba(25, 47, 49, 0.08); background: #fff; color: var(--admin-ink); font: inherit; text-align: left; cursor: pointer; }
.admin-shell .email-template-list button:last-child { border-bottom: 0; }
.admin-shell .email-template-list button:hover { background: #f6f8f6; }
.admin-shell .email-template-list button.active { background: #eaf5f3; box-shadow: inset 3px 0 #198784; }
.admin-shell .email-template-list button > span { display: grid; gap: 0.2rem; }
.admin-shell .email-template-list strong { color: var(--admin-ink-strong); font-size: 0.875rem; line-height: 1.3; }
.admin-shell .email-template-list small { display: -webkit-box; overflow: hidden; color: var(--admin-muted); font-size: 0.75rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.admin-shell .email-template-list em { width: fit-content; padding: 0.18rem 0.45rem; border-radius: 5px; background: #f0f3f1; color: #667679; font-size: 0.68rem; font-style: normal; }
.admin-shell .email-template-list button.active em { background: rgba(25, 135, 132, 0.12); color: #126f6d; }
.admin-shell .email-template-editor { min-width: 0; }
.admin-shell .admin-add-button:disabled { opacity: 0.65; cursor: wait; }
.admin-shell .email-template-output-preview { display: block; width: 100%; min-height: 46rem; padding: 0; border-style: solid; background: #eef2f0; }

.admin-shell .email-template-test-section {
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

.admin-shell .email-template-test-section .admin-builder-section-heading {
  margin-bottom: 0.85rem;
}

.admin-shell .email-template-test-section .admin-builder-fields {
  display: flex;
  max-width: 40rem;
  align-items: flex-start;
  gap: 0.75rem;
}

.admin-shell .email-template-test-section .mud-input-control {
  width: min(100%, 27rem);
  flex: 1 1 20rem;
}

.admin-shell .email-template-page .email-template-test-section .mud-input-root {
  height: var(--email-template-test-control-height);
  min-height: var(--email-template-test-control-height) !important;
}

.admin-shell .email-template-page .email-template-test-section .admin-add-button {
  height: var(--email-template-test-control-height);
  min-height: var(--email-template-test-control-height);
  width: auto;
  min-width: 9.5rem;
  flex: 0 0 auto;
  align-self: center;
}

.admin-shell .email-template-test-section .admin-add-button:disabled { opacity: 0.65; cursor: wait; }

@media (max-width: 980px) {
  .admin-shell .email-template-workspace { grid-template-columns: 1fr; }
  .admin-shell .email-template-list { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); max-height: none; }
  .admin-shell .email-template-list button { border-right: 1px solid rgba(25, 47, 49, 0.08); }
}

@media (max-width: 620px) {
  .admin-shell .email-template-test-section .admin-builder-fields { display: grid; max-width: none; }
  .admin-shell .email-template-test-section .mud-input-control,
  .admin-shell .email-template-test-section .admin-add-button { width: 100%; }
}

/* Messages workspace: preserve the full two-pane inbox shown in the portal
   design even when its building blocks are rendered by MudStack. */
.admin-shell .message-inbox-shell {
  width: 100%;
  min-height: max(42rem, calc(100vh - 18rem));
  margin-top: 1.5rem;
  grid-template-columns: 24rem minmax(0, 1fr);
}

.admin-shell .message-inbox-tabs {
  display: grid !important;
  width: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.admin-shell .message-conversation-scroll {
  min-height: 0;
}

.admin-shell .message-day-divider,
.admin-shell .message-bubble-row,
.admin-shell .message-composer-actions {
  flex-direction: row !important;
}

.admin-shell .message-day-divider {
  width: 100%;
}

.admin-shell .message-bubble-row.incoming {
  justify-content: flex-start;
}

.admin-shell .message-bubble-row.outgoing {
  justify-content: flex-end;
}

.admin-shell .message-composer-actions {
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .admin-shell .message-inbox-shell {
    grid-template-columns: 19rem minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .admin-shell .message-inbox-shell {
    min-height: 0;
  }
}

/* Website pages: fixed-route content builder */
.admin-shell .website-pages-page .admin-listing-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.admin-shell .page-builder-preview-button,
.admin-shell .page-builder-publish-button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .5rem; padding: 0 1.2rem; border-radius: .85rem; font: inherit; font-size: .82rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.admin-shell .page-builder-preview-button { border: 1px solid var(--admin-line-strong); background: #fff; color: var(--admin-ink-strong); }
.admin-shell .page-builder-publish-button { border: 0; background: var(--admin-ink-strong); color: #fff; box-shadow: 0 5px 0 rgba(13,32,34,.13); }
.admin-shell .page-builder-preview-button .mud-icon-root,
.admin-shell .page-builder-publish-button .mud-icon-root { font-size: 1.05rem; }
.admin-shell .page-builder-preview-button:hover { border-color: var(--admin-teal); background: rgba(69,198,200,.07); }
.admin-shell .page-builder-publish-button:hover { background: #1a373a; }
.admin-shell .page-builder-confirm-publish { min-width: 7.5rem; min-height: 2.7rem; padding: 0 1rem; border: 0; border-radius: 9px; background: var(--admin-ink-strong); color: #fff; font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; }
.admin-shell .page-builder-publish-button:disabled { opacity: .55; cursor: not-allowed; }
.admin-shell .page-builder-workspace { display: grid; margin-top: 1.5rem; align-items: start; grid-template-columns: 18rem minmax(0,1fr); gap: 1rem; }
.admin-shell .page-builder-library,
.admin-shell .page-builder-editor { overflow: hidden; border: 1px solid var(--admin-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(13,32,34,.06); }
.admin-shell .page-builder-library { position: sticky; top: 1rem; }
.admin-shell .page-builder-library > header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: 1.15rem; border-bottom: 1px solid var(--admin-line); }
.admin-shell .page-builder-library h2 { margin: 0; color: var(--admin-ink-strong); font-size: .98rem; }
.admin-shell .page-builder-library header p { margin: .25rem 0 0; color: var(--admin-muted); font-size: .73rem; }
.admin-shell .page-builder-library header > span { display: inline-grid; min-width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 999px; background: #f0f3f1; color: var(--admin-ink-strong); font-size: .68rem; font-weight: 800; }
.admin-shell .page-builder-library nav { display: grid; }
.admin-shell .page-builder-library nav button { display: grid; min-height: 4.75rem; padding: .85rem 1rem; align-items: center; grid-template-columns: 2.25rem minmax(0,1fr) auto; gap: .65rem; border: 0; border-bottom: 1px solid var(--admin-line); background: #fff; color: inherit; text-align: left; cursor: pointer; }
.admin-shell .page-builder-library nav button:hover { background: #fafbf9; }
.admin-shell .page-builder-library nav button.active { background: #f3f7f4; box-shadow: inset 4px 0 var(--admin-yellow); }
.admin-shell .page-builder-page-icon { display: inline-grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 9px; background: rgba(69,198,200,.12); color: #247e80; }
.admin-shell .page-builder-page-icon .mud-icon-root { font-size: 1.05rem; }
.admin-shell .page-builder-library nav button > span:nth-child(2) { min-width: 0; }
.admin-shell .page-builder-library nav strong { display: block; overflow: hidden; color: var(--admin-ink-strong); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .page-builder-library nav small { display: block; margin-top: .22rem; color: var(--admin-muted); font-size: .68rem; }
.admin-shell .page-builder-library nav i { padding: .22rem .45rem; border-radius: 999px; background: #f1f3f1; color: var(--admin-muted); font-size: .6rem; font-style: normal; font-weight: 800; }
.admin-shell .page-builder-library nav i.published { background: #e3f5eb; color: #137647; }
.admin-shell .page-builder-library-note { display: flex; gap: .55rem; padding: .9rem 1rem; background: #fbfbf8; color: var(--admin-muted); font-size: .69rem; line-height: 1.45; }
.admin-shell .page-builder-library-note .mud-icon-root { flex: 0 0 auto; color: #b18708; font-size: 1rem; }
.admin-shell .page-builder-editor { min-width: 0; }
.admin-shell .page-builder-editor .admin-builder-section { padding: 1.5rem 1.75rem; }
.admin-shell .page-builder-overview .admin-builder-section-heading { align-items: flex-start; }
.admin-shell .page-builder-state { padding: .35rem .65rem; border-radius: 999px; background: #f1f3f1; color: var(--admin-muted); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.admin-shell .page-builder-state.live { background: #e3f5eb; color: #137647; }
.admin-shell .page-builder-address { display: grid; min-height: 3.35rem; margin-top: .8rem; align-items: center; grid-template-columns: 8.5rem minmax(0,1fr) auto; gap: .75rem; padding: .65rem .85rem; border-radius: 9px; background: #f4f6f3; }
.admin-shell .page-builder-address > span:first-child { display: inline-flex; align-items: center; gap: .4rem; color: var(--admin-muted); font-size: .72rem; }
.admin-shell .page-builder-address .mud-icon-root { font-size: .95rem; }
.admin-shell .page-builder-address strong { color: var(--admin-ink-strong); font-size: .8rem; }
.admin-shell .page-builder-locked { display: inline-flex; align-items: center; gap: .3rem; color: var(--admin-muted); font-size: .65rem; font-weight: 750; }
.admin-shell .page-builder-dates { display: flex; margin-top: 1rem; gap: 2.5rem; }
.admin-shell .page-builder-dates span { display: grid; gap: .15rem; }
.admin-shell .page-builder-dates small { color: var(--admin-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-shell .page-builder-dates strong { color: var(--admin-ink-strong); font-size: .75rem; font-weight: 650; }
.admin-shell .page-builder-preview-canvas { min-height: 14rem; border: 1px dashed rgba(25,135,132,.3); background: #fbfcfa; }
@media (max-width: 980px) {
  .admin-shell .page-builder-workspace { grid-template-columns: 1fr; }
  .admin-shell .page-builder-library { position: static; }
  .admin-shell .page-builder-library nav { grid-template-columns: repeat(auto-fit,minmax(14rem,1fr)); }
  .admin-shell .page-builder-library nav button { border-right: 1px solid var(--admin-line); }
}
@media (max-width: 620px) {
  .admin-shell .website-pages-page .admin-listing-header__actions,
  .admin-shell .page-builder-preview-button,
  .admin-shell .page-builder-publish-button { width: 100%; }
  .admin-shell .page-builder-address { grid-template-columns: 1fr; }
  .admin-shell .page-builder-dates { display: grid; gap: .75rem; }
}

/* Keep single-line controls compact and consistent across every portal form. */
.admin-shell .mud-input-control,
.admin-modal-form .mud-input-control {
  margin-top: 0;
}

.admin-shell .mud-input-root:not(:has(textarea)),
.admin-modal-form .mud-input-root:not(:has(textarea)) {
  height: var(--portal-input-height);
  min-height: var(--portal-input-height) !important;
}

.admin-shell .mud-input-root:not(:has(textarea)) .mud-input-slot,
.admin-modal-form .mud-input-root:not(:has(textarea)) .mud-input-slot {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-size: 0.875rem;
}

.admin-shell .mud-input-label,
.admin-modal-form .mud-input-label {
  font-size: 0.82rem;
}

/* Reference portal modal treatment. Keep this after the compact portal-form
   rules so dialog controls retain their spacious, touch-friendly sizing. */
.admin-modal-backdrop {
  display: grid !important;
  padding: 1rem !important;
  align-items: center !important;
  justify-items: center !important;
  place-items: center !important;
}

.admin-modal:not(.admin-modal--wide) {
  width: min(660px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  border: 1px solid rgba(25, 47, 49, 0.16) !important;
  border-radius: 7px;
}

.admin-modal--wide {
  max-height: calc(100dvh - 2rem);
}

.admin-modal-header {
  padding: 1.55rem 1.75rem 1.35rem;
}

.admin-modal-kicker {
  margin-bottom: 0.45rem;
  color: #247c7a;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.admin-modal-header h2 {
  font-size: 1.55rem;
}

.admin-modal-header .admin-modal-description {
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.admin-modal-close {
  border: 0;
  background: transparent;
}

.admin-modal-content {
  padding: 1.55rem 1.75rem;
}

.admin-modal-form {
  gap: 1.25rem;
}

.admin-modal-form-row {
  gap: 1.1rem;
}

.admin-modal-form .mud-input-root:not(:has(textarea)) {
  height: var(--portal-input-height, 2.75rem);
  min-height: var(--portal-input-height, 2.75rem) !important;
  border-radius: 12px;
}

.admin-modal-form .mud-input-root:not(:has(textarea)) .mud-input-slot {
  padding: 0.5rem 0.9rem !important;
  font-size: 0.875rem;
}

.admin-modal-form .mud-input-outlined-border {
  border-color: #b7c9c8 !important;
  border-radius: 12px !important;
}

.admin-modal-form .mud-input-label {
  font-size: 0.8rem;
}

/* Published controls must retain a visible track in both states. */
.admin-modal-form .mud-switch-span .mud-switch-track {
  background: #b7c9c8 !important;
  opacity: 1 !important;
}

.admin-modal-form .mud-switch-base {
  color: #fff !important;
}

.admin-modal-form .mud-switch-base.mud-checked + .mud-switch-track {
  background: #198784 !important;
  opacity: 1 !important;
}

.admin-modal-form .mud-input-control.mud-disabled,
.admin-modal-form .mud-input-root.mud-disabled,
.admin-modal-form .mud-input.mud-disabled {
  color: var(--admin-ink, #15292b) !important;
  opacity: 1;
}

.admin-modal-actions {
  display: flex;
  margin: 0.65rem -1.75rem -1.55rem;
  padding: 1.15rem 1.75rem;
  align-items: center;
  flex-direction: row !important;
  justify-content: flex-end;
  gap: 0.8rem;
}

.admin-modal-actions .mud-button-root {
  min-width: 5.75rem;
  min-height: 3.25rem;
  border-radius: 14px !important;
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-modal-actions .admin-modal-cancel {
  border: 1px solid #00152f !important;
  background: #fff !important;
  color: #00152f !important;
}

.admin-modal-actions .admin-modal-primary {
  background: var(--admin-yellow, #ffc000) !important;
  color: #00152f !important;
}

/* Shared expanded filter card. These rules intentionally follow the compact
   portal form system so filters retain the larger reference proportions. */
.admin-shell .admin-filter-panel {
  margin-bottom: 1.4rem;
  border: 1px solid rgba(25, 47, 49, 0.16) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(13, 32, 34, 0.06) !important;
}

.admin-shell .admin-filter-panel__heading {
  min-height: 5rem;
  padding: 1rem 1.25rem;
  background: #fff;
}

.admin-shell .admin-filter-panel__heading strong {
  font-size: 1rem;
  font-weight: 500;
}

.admin-shell .admin-filter-panel__heading .mud-typography-caption {
  margin-top: 0.2rem;
  color: #7d8a8d;
  font-size: 0.78rem;
}

.admin-shell .admin-filter-panel__controls {
  display: grid;
  min-height: 10.25rem;
  padding: 1rem 1.25rem 0.9rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
  align-items: start;
  gap: 0.875rem;
  border-top: 1px solid rgba(25, 47, 49, 0.1);
  background: #fff;
}

.admin-shell .admin-filter-panel__controls .mud-input-root {
  height: var(--portal-input-height);
  min-height: var(--portal-input-height) !important;
  border-radius: 12px;
  background: #fff;
}

.admin-shell .admin-filter-panel__controls .mud-input-slot {
  padding: 0.5rem 0.9rem !important;
  font-size: 0.875rem;
}

.admin-shell .admin-filter-panel__controls .mud-input-outlined-border {
  border-color: #c4cecd !important;
  border-radius: 12px !important;
}

.admin-shell .admin-filter-apply {
  grid-column: 1 / -1 !important;
  min-width: 6rem;
  min-height: 3.35rem;
  align-self: end;
  justify-self: end;
  border-radius: 14px !important;
  background: var(--admin-yellow, #ffc000) !important;
  color: #00152f !important;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .admin-shell .admin-filter-panel__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .admin-modal-header,
  .admin-modal-content {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .admin-modal-form-row {
    grid-template-columns: 1fr;
  }

  .admin-modal-actions {
    margin-right: -1.2rem;
    margin-left: -1.2rem;
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .admin-shell .admin-filter-panel__controls {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .admin-shell .admin-filter-apply {
    width: 100%;
    grid-column: auto !important;
  }

  .admin-shell .kidz-section-heading {
    align-items: stretch;
    flex-direction: column !important;
  }
}

/* Message composer actions use the portal's current outlined/filled button system. */
.admin-shell .message-composer .message-composer-actions {
  display: flex;
  margin-top: 0.85rem;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-shell .message-composer .message-composer-actions .mud-button-root {
  min-width: 7.25rem;
  min-height: 3rem;
  padding-inline: 1.35rem !important;
  border-radius: 0.85rem !important;
  font-size: 0.875rem;
  font-weight: 650;
}

.admin-shell .message-composer .message-handle-button {
  border-color: var(--ndbc-navy) !important;
  background: #fff !important;
  color: var(--ndbc-navy) !important;
}

.admin-shell .message-composer .message-send-button {
  border-color: var(--ndbc-gold) !important;
  background: var(--ndbc-gold) !important;
  color: var(--ndbc-navy) !important;
}

.admin-shell .message-composer .message-send-button .mud-icon-root {
  font-size: 1.05rem;
}

.admin-shell .message-composer .message-composer-actions .mud-button-root.mud-disabled {
  border-color: #d8ddda !important;
  background: #edf0ee !important;
  color: #7b898b !important;
  opacity: 1;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .admin-shell .message-composer .message-composer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-shell .message-composer .message-composer-actions .mud-button-root {
    width: 100%;
    min-width: 0;
  }
}

/* Admin pickers and selectors render through MudBlazor's body-level popover
   service. The custom portal backdrop sits at z-index 2200, so every floating
   control must clear that layer to remain fully visible and interactive. */
body .mud-popover.mud-popover-open,
body .mud-picker-popover-paper {
  z-index: 2305 !important;
}

body .mud-picker-popover-paper,
body .mud-popover.mud-popover-open:has(.mud-list) {
  max-width: calc(100vw - 1rem);
  max-height: min(32rem, calc(100dvh - 1rem));
  border: 1px solid rgba(25, 47, 49, 0.18) !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(13, 32, 34, 0.24) !important;
}

body .mud-picker-popover-paper .mud-picker-container,
body .mud-picker-popover-paper .mud-picker-content,
body .mud-picker-popover-paper .mud-picker-view,
body .mud-popover.mud-popover-open .mud-list {
  background: #fff !important;
}

body .mud-picker-popover-paper .mud-picker-content {
  min-width: min(310px, calc(100vw - 1rem));
  min-height: 305px;
}

body .mud-popover.mud-popover-open:has(.mud-list) .mud-list {
  max-height: min(22rem, calc(100dvh - 2rem));
  overflow-y: auto;
}

/* Keep one stable header when the compact navigation opens. */
@media (max-width: 1040px) {
  .nav-toggle-label,
  .nav-toggle:checked + .nav-toggle-label {
    visibility: visible;
  }

  .site-nav {
    position: fixed;
    inset: 88px 0 auto !important;
    z-index: 1002;
    display: flex;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 88px);
    padding: 0.75rem clamp(1.25rem, 5vw, 3rem) 1.25rem;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--ndbc-navy);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 21, 47, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition:
      opacity 180ms ease,
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 220ms;
    pointer-events: none;
  }

  .nav-toggle:checked ~ .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
  }

  .site-nav-mobile-head,
  .site-nav-mobile-foot {
    display: none;
  }

  .site-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1rem;
    padding: 0.5rem 0;
  }

  .site-nav .site-link {
    min-height: 48px;
    padding: 0.65rem 0.5rem;
  }

  .site-nav-actions {
    width: min(100%, 32rem);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
  }

  .site-nav-scrim {
    inset: 88px 0 0;
    z-index: 1001;
  }
}

@media (min-width: 820px) and (max-width: 1040px) {
  .site-nav-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 519px) and (min-height: 501px) {
  .site-nav-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-nav {
    inset: 82px 0 auto !important;
    max-height: calc(100dvh - 82px);
  }

  .site-nav-scrim {
    inset: 82px 0 0;
  }
}
.dawn-scroll-to-top__button {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1100;
  box-shadow: 0 10px 28px rgba(16, 55, 92, 0.24);
}

.dawn-scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.dawn-scroll-to-top--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .dawn-scroll-to-top--visible,
  .dawn-scroll-to-top--hidden {
    transition: none;
  }
}

/* Keep the component-driven mobile navigation state above legacy checkbox rules. */
@media (max-width: 1040px) {
  .site-header .nav-toggle-label.is-open {
    visibility: visible;
  }

  .nav-toggle-label.is-open .nav-toggle-icon {
    background: transparent;
  }

  .nav-toggle-label.is-open .nav-toggle-icon::before {
    transform: translateY(0) rotate(45deg);
  }

  .nav-toggle-label.is-open .nav-toggle-icon::after {
    transform: translateY(-2px) rotate(-45deg);
  }

  .site-header .site-nav.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
  }

  .site-header .site-nav-scrim.is-open {
    display: block;
  }
}
/* Keep semantic labels available to assistive technology without displaying them. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Mobile reliability: keep the component-driven drawer inside the viewport,
   allow long public forms to use document scrolling, and expose active footer links. */
@media (max-width: 1040px) {
  .site-header .site-nav,
  .site-header .site-nav * {
    box-sizing: border-box;
  }

  .site-header .site-nav {
    right: 0 !important;
    max-width: 100vw;
  }

  .site-header .site-nav-links,
  .site-header .site-nav-actions,
  .site-header .site-nav-actions .ndbc-button {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .site-main:has(.dawn-split-form),
  .site-main:has(.dawn-split-form) .dawn-split-form,
  .site-main:has(.dawn-split-form) .dawn-split-form-grid,
  .site-main:has(.dawn-split-form) .dawn-form-card {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
  }
}

.site-footer .footer-links a.active {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--ndbc-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

