/* mobile overflow guard */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }
/**
 * BrightMouth — mobile-first styles
 */

:root {
  --bm-blue: #0076BE;
  --bm-blue-hover: #0063A1;
  --bm-blue-deep: #1D4F76;
  --bm-blue-link: #2062A9;
  --bm-blue-soft: #E4EEF8;
  --bm-green: #32AE88;
  --bm-text: #212529;
  --bm-muted: #404040;
  --bm-border: #D7E0EA;
  --bm-bg: #FFFFFF;
  --bm-panel: #F5F7FA;
  --bm-focus: #005FCC;
  --bm-white: #FFFFFF;
  --bm-container: 1140px;
  --bm-gutter: 16px;
  --bm-radius-pill: 25px;
  --bm-font: "Montserrat", system-ui, "Segoe UI", sans-serif;
  --bm-transition: 150ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bm-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--bm-text);
  background: var(--bm-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bm-blue-link);
  text-decoration: none;
}

a:hover {
  color: var(--bm-blue-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--bm-focus);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--bm-white);
  clip: auto !important;
  clip-path: none;
  color: var(--bm-text);
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 0.5rem;
  line-height: normal;
  padding: 0.75rem 1rem;
  text-decoration: none;
  top: 0.5rem;
  width: auto;
  z-index: 100000;
}

.bm-skip-link:focus {
  position: absolute;
  z-index: 100001;
}

.bm-container {
  width: 100%;
  max-width: var(--bm-container);
  margin-inline: auto;
  padding-inline: var(--bm-gutter);
}

/* Buttons */
.bm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 25px;
  border-radius: var(--bm-radius-pill);
  background: var(--bm-blue);
  color: var(--bm-white);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--bm-transition), transform var(--bm-transition);
}

.bm-btn:hover,
.bm-btn:focus-visible {
  background: var(--bm-blue-hover);
  color: var(--bm-white);
  text-decoration: none;
}

.bm-btn--small {
  padding: 7px 18px;
  font-size: 0.875rem;
}

/* Header */
.bm-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bm-white);
  border-bottom: 1px solid var(--bm-border);
}

.bm-header__utility {
  border-bottom: 1px solid var(--bm-border);
  background: var(--bm-white);
}

.bm-header__utility-inner {
  display: flex;
  justify-content: flex-end;
  padding-block: 0.35rem;
}

.bm-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
}

.bm-menu a {
  color: var(--bm-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}

.bm-menu a:hover {
  color: var(--bm-blue-link);
}

.bm-menu--utility {
  justify-content: flex-end;
}

.bm-header__main-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.75rem;
  position: relative;
}

.bm-branding {
  margin-right: auto;
}

.bm-branding__wordmark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.bm-branding__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bm-blue);
  letter-spacing: -0.02em;
}

.bm-branding__name:hover {
  color: var(--bm-blue-hover);
}

.bm-branding .custom-logo-link img {
  max-height: 43px;
  width: auto;
}

.bm-nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bm-border);
  border-radius: 8px;
  background: var(--bm-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bm-nav-toggle__bars,
.bm-nav-toggle__bars::before,
.bm-nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bm-blue-deep);
  position: relative;
}

.bm-nav-toggle__bars::before,
.bm-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.bm-nav-toggle__bars::before {
  top: -6px;
}

.bm-nav-toggle__bars::after {
  top: 6px;
}

.bm-primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bm-white);
  border-bottom: 1px solid var(--bm-border);
  padding: 0.75rem var(--bm-gutter) 1rem;
  box-shadow: 0 8px 20px rgba(29, 79, 118, 0.08);
}

.bm-primary-nav.is-open {
  display: block;
}

.bm-menu--primary {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.bm-menu--primary > .menu-item {
  position: relative;
  border-bottom: 1px solid var(--bm-border);
}

.bm-menu--primary > .menu-item > a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bm-text);
}

.bm-menu--primary .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 0.75rem;
  display: none;
}

.bm-menu--primary .menu-item-has-children.is-open > .sub-menu,
.bm-menu--primary .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.bm-submenu-toggle {
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--bm-blue-link);
  cursor: pointer;
  font-size: 1rem;
}

.bm-header__search {
  display: block;
  position: relative;
  margin-left: 0.25rem;
}

.bm-search-toggle {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: none;
  border-radius: var(--bm-radius-pill);
  background: var(--bm-blue-soft);
  color: var(--bm-blue-link);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
}

.bm-search-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  width: min(360px, calc(100vw - 2rem));
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 10px 28px rgba(29, 79, 118, 0.12);
  z-index: 30;
}

.bm-search-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bm-search-form__input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 0.65rem 1rem;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-pill);
  background: var(--bm-blue-soft);
  color: var(--bm-blue-link);
  font-family: inherit;
  font-size: 0.9375rem;
}

.bm-search-form__input::placeholder {
  color: var(--bm-blue-link);
  opacity: 0.75;
}

.bm-search-form__submit {
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: var(--bm-radius-pill);
  background: var(--bm-blue);
  color: var(--bm-white);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bm-search-form__submit:hover {
  background: var(--bm-blue-hover);
}

/* Hero */
.bm-hero {
  padding-block: 1.5rem 1.25rem;
}

.bm-hero__inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.bm-hero__media .bm-media--hero,
.bm-media-placeholder--hero {
  width: 100%;
  aspect-ratio: 1110 / 700;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bm-blue-soft), #c9dceb);
}

.bm-hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bm-green);
}

.bm-hero__title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--bm-text);
}

.bm-hero__title a {
  color: inherit;
  text-decoration: none;
}

.bm-hero__title a:hover {
  color: var(--bm-blue-link);
}

.bm-hero__excerpt {
  margin: 0 0 1.25rem;
  color: var(--bm-muted);
  max-width: 36rem;
}

/* Cards */
.bm-section {
  padding-block: 1.75rem;
}

.bm-section__header {
  margin-bottom: 1.25rem;
}

.bm-section__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bm-text);
}

.bm-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.bm-card {
  display: flex;
  flex-direction: column;
  background: var(--bm-white);
  transition: transform var(--bm-transition);
}

.bm-card:hover {
  transform: translateY(-2px);
}

.bm-card__media-link {
  display: block;
  overflow: hidden;
}

.bm-media--card,
.bm-media-placeholder--card {
  width: 100%;
  aspect-ratio: 720 / 454;
  object-fit: cover;
  background: linear-gradient(145deg, var(--bm-panel), var(--bm-blue-soft));
}

.bm-card__body {
  padding: 0.85rem 0 0;
}

.bm-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.bm-card__title a {
  color: var(--bm-blue-link);
  text-decoration: none;
}

.bm-card__title a:hover {
  color: var(--bm-blue-hover);
  text-decoration: underline;
}

.bm-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--bm-muted);
}

.bm-card--topic {
  padding: 1.25rem;
  background: var(--bm-panel);
  border: 1px solid var(--bm-border);
}

.bm-card__more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
}

/* CTA bands */
.bm-cta-band {
  padding-block: 1.75rem;
  background: var(--bm-panel);
  border-block: 1px solid var(--bm-border);
}

.bm-cta-band + .bm-cta-band {
  border-top: none;
}

.bm-cta-band__inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.bm-cta-band__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bm-text);
}

.bm-cta-band__desc {
  margin: 0 0 1rem;
  color: var(--bm-muted);
  max-width: 34rem;
}

.bm-cta-band__shape {
  min-height: 180px;
  border-radius: 4px;
  background:
    linear-gradient(160deg, rgba(0, 118, 190, 0.18), rgba(50, 174, 136, 0.22)),
    linear-gradient(45deg, var(--bm-blue-soft), #d8ebe4);
}

.bm-cta-band__img {
  width: 100%;
  aspect-ratio: 640 / 400;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.bm-cta-band--dentist .bm-cta-band__shape {
  background:
    linear-gradient(200deg, rgba(29, 79, 118, 0.2), rgba(0, 118, 190, 0.12)),
    linear-gradient(120deg, #d9e8f4, var(--bm-panel));
}

.bm-cta-band--tools .bm-cta-band__shape {
  background:
    linear-gradient(140deg, rgba(50, 174, 136, 0.25), rgba(0, 118, 190, 0.1)),
    linear-gradient(90deg, #e4f4ef, var(--bm-blue-soft));
}

/* Archive / page headers */
.bm-archive-header {
  padding-block: 1.5rem 1rem;
}

.bm-archive-header--panel {
  background: var(--bm-panel);
  margin-inline: calc(-1 * var(--bm-gutter));
  padding-inline: var(--bm-gutter);
  margin-bottom: 1.5rem;
}

.bm-archive-header__title {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 600;
}

.bm-archive-header__desc {
  color: var(--bm-muted);
  max-width: 40rem;
}

/* Topics / resources hero */
.bm-topics-hero {
  background: var(--bm-panel);
  padding-block: 1.75rem;
  margin-bottom: 0.5rem;
}

.bm-topics-hero__inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.bm-topics-hero__text h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: 2rem;
  font-weight: 600;
}

.bm-topics-hero__intro {
  color: var(--bm-muted);
  margin-bottom: 1rem;
  max-width: 36rem;
}

.bm-topics-hero__panel {
  min-height: 220px;
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(0, 118, 190, 0.2), transparent),
    linear-gradient(30deg, var(--bm-blue-soft), #cfe0ef);
}

.bm-topics-hero__panel--green {
  background:
    linear-gradient(145deg, rgba(50, 174, 136, 0.25), transparent),
    linear-gradient(30deg, #d9f0e8, var(--bm-blue-soft));
}

/* Breadcrumbs */
.bm-breadcrumbs {
  margin-bottom: 0.75rem;
}

.bm-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--bm-muted);
}

.bm-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--bm-border);
}

.bm-breadcrumbs a {
  color: var(--bm-blue-link);
}

/* Single article */
.bm-article__header-wrap {
  padding-top: 1.5rem;
}

.bm-article__meta-top {
  margin-bottom: 0.5rem;
}

.entry-category {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bm-green);
  text-decoration: none;
}

.bm-article__title {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
}

.bm-article__summary {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--bm-muted);
  max-width: 42rem;
}

.bm-article__byline {
  font-size: 0.875rem;
  color: var(--bm-muted);
  margin-bottom: 1.25rem;
}

.bm-article__featured {
  margin: 0 0 1.5rem;
}

.bm-article__featured .bm-media--featured {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.bm-article__body-wrap {
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: 2.5rem;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.75rem;
  font-weight: 600;
  color: var(--bm-text);
}

.entry-content p,
.entry-content li {
  color: var(--bm-text);
}

.entry-content a {
  text-decoration: underline;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--bm-border);
  margin: 2rem 0;
}

/* Share */
.bm-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 2rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--bm-border);
}

.bm-share__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--bm-radius-pill);
  border: 1px solid var(--bm-border);
  background: var(--bm-white);
  color: var(--bm-blue-link);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.bm-share__btn:hover {
  background: var(--bm-blue-soft);
  text-decoration: none;
}

.bm-share__status {
  font-size: 0.8125rem;
  color: var(--bm-green);
}

/* Post nav — one row */
.bm-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem 0;
  border-block: 1px solid var(--bm-border);
}

.bm-post-nav__prev,
.bm-post-nav__next {
  flex: 1 1 0;
  min-width: 0;
}

.bm-post-nav__next {
  text-align: right;
}

.bm-post-nav a {
  text-decoration: none;
  color: var(--bm-blue-link);
}

.bm-post-nav a:hover .bm-post-nav__title {
  text-decoration: underline;
}

.bm-post-nav__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bm-muted);
  margin-bottom: 0.25rem;
}

.bm-post-nav__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Related — titles only */
.bm-related {
  margin: 0 0 2rem;
}

.bm-related__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.bm-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bm-border);
}

.bm-related__list li {
  border-bottom: 1px solid var(--bm-border);
}

.bm-related__list a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--bm-blue-link);
  text-decoration: none;
}

.bm-related__list a:hover {
  text-decoration: underline;
}

/* Comments — hide logged-in chrome */
.bm-comments {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bm-border);
}

.bm-comments .logged-in-as,
.bm-comments .comment-form-cookies-consent + .logged-in-as {
  display: none !important;
}

.comment-notes {
  font-size: 0.875rem;
  color: var(--bm-muted);
}

.bm-comment-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.bm-comment-list .comment {
  padding: 1rem 0;
  border-bottom: 1px solid var(--bm-border);
}

.comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--bm-border);
  border-radius: 6px;
  font-family: inherit;
  margin-bottom: 0.85rem;
}

.comment-form .form-submit .submit {
  padding: 9px 25px;
  border: none;
  border-radius: var(--bm-radius-pill);
  background: var(--bm-blue);
  color: var(--bm-white);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* A–Z */
.bm-az-jump {
  margin: 0 0 1.5rem;
  padding: 0.75rem;
  background: var(--bm-panel);
  border-radius: 8px;
}

.bm-az-jump__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bm-az-jump__list a,
.bm-az-jump__empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.bm-az-jump__list a {
  background: var(--bm-white);
  color: var(--bm-blue-link);
  border: 1px solid var(--bm-border);
}

.bm-az-jump__list a:hover {
  background: var(--bm-blue);
  color: var(--bm-white);
  border-color: var(--bm-blue);
}

.bm-az-jump__empty {
  color: #9aa7b5;
}

.bm-az-group {
  margin-bottom: 1.75rem;
  scroll-margin-top: 6rem;
}

.bm-az-group__letter {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--bm-blue-deep);
  border-bottom: 2px solid var(--bm-blue);
  display: inline-block;
  padding-bottom: 0.15rem;
}

.bm-az-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bm-az-group__item {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--bm-border);
}

.bm-az-group__item a {
  font-weight: 600;
  text-decoration: none;
}

.bm-az-group__desc {
  display: block;
  font-size: 0.875rem;
  color: var(--bm-muted);
  margin-top: 0.15rem;
}

/* Pagination */
.bm-pagination {
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.bm-pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.bm-pagination .page-numbers li {
  display: inline-flex;
}

.bm-pagination a,
.bm-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: var(--bm-radius-pill);
  border: 1px solid var(--bm-border);
  color: var(--bm-blue-link);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.bm-pagination .current {
  background: var(--bm-blue);
  border-color: var(--bm-blue);
  color: var(--bm-white);
}

.bm-pagination a:hover {
  background: var(--bm-blue-soft);
}

/* Footer */
.bm-footer {
  background: var(--bm-blue-deep);
  color: var(--bm-white);
  margin-top: 2rem;
}

.bm-footer__inner {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem 1.5rem;
}

.bm-footer__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bm-white);
  text-decoration: none;
}

.bm-footer__tagline {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  opacity: 0.9;
  max-width: 28rem;
}

.bm-menu--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.bm-menu--footer a {
  color: var(--bm-white);
  font-size: 0.9375rem;
  opacity: 0.95;
}

.bm-menu--footer a:hover {
  text-decoration: underline;
  color: var(--bm-white);
}

.bm-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-block: 0.85rem;
  font-size: 0.8125rem;
  opacity: 0.85;
}

.bm-footer__legal p {
  margin: 0;
}

.bm-404 {
  padding-block: 2.5rem;
}

.bm-404 h1 {
  margin-top: 0;
}

/* Tablet */
@media (min-width: 640px) {
  :root {
    --bm-gutter: 20px;
  }

  .bm-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bm-hero__title {
    font-size: 2rem;
  }

  .bm-cta-band__inner,
  .bm-topics-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .bm-cta-band--flip .bm-cta-band__inner {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .bm-cta-band--flip .bm-cta-band__visual {
    order: -1;
  }

  .bm-menu--footer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .bm-footer__inner {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

/* Desktop */
@media (min-width: 960px) {
  :root {
    --bm-gutter: 24px;
  }

  .bm-nav-toggle {
    display: none;
  }

  .bm-header__main-inner {
    gap: 1.5rem;
  }

  .bm-primary-nav {
    display: block;
    position: static;
    flex: 1 1 auto;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .bm-menu--primary {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 1.35rem;
  }

  .bm-menu--primary > .menu-item {
    border: 0;
  }

  .bm-menu--primary > .menu-item > a {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
  }

  .bm-menu--primary .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem 0;
    background: var(--bm-white);
    border: 1px solid var(--bm-border);
    box-shadow: 0 10px 24px rgba(29, 79, 118, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--bm-transition), transform var(--bm-transition), visibility var(--bm-transition);
    display: block;
    z-index: 40;
  }

  .bm-menu--primary .menu-item-has-children:hover > .sub-menu,
  .bm-menu--primary .menu-item-has-children.is-open > .sub-menu,
  .bm-menu--primary .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .bm-menu--primary .sub-menu a {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bm-text);
  }

  .bm-submenu-toggle {
    display: none;
  }

  .bm-header__search {
    margin-left: 0.5rem;
  }

  .bm-search-toggle {
    padding: 8px 18px;
    font-size: 0.875rem;
  }

  .bm-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bm-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }

  .bm-hero__title {
    font-size: 2.25rem;
  }

  .bm-article__title {
    font-size: 2.35rem;
  }
}


/* drc-mobile-harden */
@media (max-width: 768px) {
  .wrap, .container, .site, .site-content, .content-area, .main, .page, .sp-page, .sp-container {
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box;
  }
  [class*="grid"], [class*="__grid"], [class*="columns"] {
    grid-template-columns: 1fr !important;
  }
  table { display: block; max-width: 100%; overflow-x: auto; }
}

/* === zizhan mobile harden fixed === */
html, body { overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }
@media (max-width: 768px) {
  .alignwide, .alignfull {
    max-width: 100% !important;
  }
  table { display: block; max-width: 100%; overflow-x: auto; }
}

/* === mobile overflow harden (auto) === */
html, body { overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }
@media (max-width: 768px) {
  .wrap, .container, .site, .site-content, .content-area, main, .sp-page, .sp-container {
    max-width: 100% !important;
  }
  table { display: block; max-width: 100%; overflow-x: auto; }
}


/* === zizhan mobile harden v2 20261130092137 === */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
@media (max-width: 768px) {
  *, *::before, *::after { min-width: 0; box-sizing: border-box; }
  .wrap, .container, .site, .site-content, .content-area, main,
  .sp-page, .sp-container, .entry-content, .wp-block-group,
  .alignwide, .alignfull {
    max-width: 100% !important;
  }
  [class*="hero"], .sp-hero, .hero-grid, .ps-hero {
    max-width: 100% !important;
    min-height: 0 !important;
  }
  table { display: block; max-width: 100%; overflow-x: auto; }
}
