/* Small, purpose-built compatibility layer for the original 2026-10-30 design. */
html { margin-top: 0 !important; scroll-behavior: smooth; }
body[data-rebuild="andurance"] { top: auto !important; }
body[data-rebuild="andurance"] .wow { visibility: visible !important; animation-name: none !important; }
body[data-rebuild="andurance"] img { max-width: 100%; }
body[data-rebuild="andurance"] .andurance-honeypot {
    position: absolute !important; left: -10000px !important; top: auto !important;
    width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden !important;
}
.andurance-form-feedback { display: none; width: 100%; font-size: 14px; line-height: 1.5; margin: 10px 0; border-radius: 6px; padding: 10px 14px; }
.andurance-form-feedback.is-visible { display: block; }
.andurance-form-feedback.is-success { color: #17613d; background: #e7f5e9; border: 1px solid #abdbc0; }
.andurance-form-feedback.is-error { color: #832f24; background: #fff0ed; border: 1px solid #edbab0; }
form[data-andurance-form] [type="submit"]:disabled { cursor: wait; opacity: .7; }

/* Replaces Owl Carousel JS absent from the saved browser snapshot. */
.rebuild-carousel { position: relative; min-width: 0; }
.rebuild-carousel .rebuild-slide { min-width: 0; }
.rebuild-banner { width: 100%; overflow: hidden; }
.rebuild-banner .rebuild-slide { display: none; }
.rebuild-banner .rebuild-slide.is-current { display: block; animation: anduranceFade .55s ease-out; }
.rebuild-banner .home_slider_item, .rebuild-banner .home_slider_img, .rebuild-banner img { width: 100%; }
.rebuild-banner .home_slider_item { position: relative; }
.rebuild-banner .home_slider_img img { width: 100%; object-fit: cover; }
.rebuild-service, .rebuild-client { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.rebuild-service .rebuild-slide, .rebuild-client .rebuild-slide { display: none; min-width: 0; }
.rebuild-service .rebuild-slide.is-visible, .rebuild-client .rebuild-slide.is-visible { display: block; }
.rebuild-service .rebuild-slide > *, .rebuild-client .rebuild-slide > * { height: 100%; }
.rebuild-client .listdanhgia { height: 100%; }
@keyframes anduranceFade { from { opacity: .72; } to { opacity: 1; } }
.rebuild-controls { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.rebuild-arrow { pointer-events: auto; border: 0; appearance: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; background: rgba(18, 44, 31, .6); color: #fff; font: 26px/1 Arial, sans-serif; display: grid; place-items: center; box-shadow: 0 2px 12px #0003; }
.rebuild-arrow:focus-visible, .rebuild-dot:focus-visible { outline: 3px solid #25a874; outline-offset: 3px; }
.rebuild-banner .rebuild-arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.rebuild-banner .rebuild-arrow.prev { left: 1.4%; }
.rebuild-banner .rebuild-arrow.next { right: 1.4%; }
.rebuild-banner .rebuild-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 9px; pointer-events: auto; }
.rebuild-dot { width: 9px; height: 9px; border-radius: 99px; background: #ffffff98; border: 1px solid #fff; cursor: pointer; padding: 0; }
.rebuild-dot.is-current { background: #fff; width: 23px; }
.rebuild-service .rebuild-controls, .rebuild-client .rebuild-controls { inset: auto 0 -60px 0; display: flex; justify-content: center; gap: 12px; }
.rebuild-service + .rebuild-controls, .rebuild-client + .rebuild-controls { margin-top: 18px; }
.rebuild-service .rebuild-arrow, .rebuild-client .rebuild-arrow { width: 36px; height: 36px; font-size: 21px; }
/* Avoid overlapping the next section on carousels with floating controls. */
#service:has(.rebuild-service) { padding-bottom: 42px; }
#client:has(.rebuild-client) { padding-bottom: 50px; }
.rebuild-carousel[data-count="1"] .rebuild-controls { display: none; }

/* Swiper galleries in the saved archive contain frozen transforms. */
.swiper[data-andurance-ready="true"] { overflow: hidden; }
.swiper[data-andurance-ready="true"] .swiper-wrapper { transform: none !important; transition: none !important; height: auto !important; }
.mySwiper2[data-andurance-ready="true"] .swiper-slide { display: none; width: 100% !important; margin: 0 !important; }
.mySwiper2[data-andurance-ready="true"] .swiper-slide.is-current { display: block; }
.mySwiper[data-andurance-ready="true"] .swiper-wrapper { display: flex; gap: 10px; }
.mySwiper[data-andurance-ready="true"] .swiper-slide { flex: 1 1 auto; width: min(15%, 120px) !important; cursor: pointer; opacity: .7; }
.mySwiper[data-andurance-ready="true"] .swiper-slide.is-current { opacity: 1; box-shadow: 0 0 0 2px #267653 inset; }
.mySwiper[data-andurance-ready="true"] img { width: 100%; object-fit: cover; }

/* Preserve existing desktop menu styles; replace missing mobile-menu controller. */
.mega-menu-wrap .mega-menu-toggle button { cursor: pointer; }
.mega-menu-wrap .mega-sub-menu { z-index: 20; }
.wrap-menu_mobile .mega-menu-wrap.is-open .mega-menu { display: block !important; visibility: visible !important; opacity: 1 !important; }
.wrap-menu_mobile .mega-menu-item.is-open > .mega-sub-menu { display: block !important; visibility: visible !important; opacity: 1 !important; }
.mega-menu-item > .mega-menu-link .mega-indicator { cursor: pointer; }
.andurance-modal-open { overflow: hidden; }
.modal.is-andurance-visible { display: block !important; opacity: 1 !important; background: #0009; overflow-y: auto; }
.modal.is-andurance-visible .modal-dialogs { margin: 5vh auto; }

@media (max-width: 991px) {
    .rebuild-service, .rebuild-client { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rebuild-banner .rebuild-arrow { width: 30px; height: 30px; font-size: 20px; }
    #header .mega-menu-wrap.is-open > .mega-menu, .wrap-menu_mobile .mega-menu-wrap.is-open > .mega-menu { display: block !important; }
}
@media (max-width: 600px) {
    .rebuild-service, .rebuild-client { grid-template-columns: minmax(0, 1fr); }
    .rebuild-banner .rebuild-arrow.prev { left: 6px; }
    .rebuild-banner .rebuild-arrow.next { right: 6px; }
    .rebuild-banner .rebuild-dots { bottom: 6px; }
    .mySwiper[data-andurance-ready="true"] .swiper-slide { width: 21% !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rebuild-banner .rebuild-slide.is-current { animation: none; }
}


/* V2 functional + layout fixes, preserving the original site's design. */
.header_logo .andurance-brand-viewport {
  display: block; position: relative; width: 76px; height: 76px;
  max-width: 100%; overflow: hidden; background: white;
}
.header_logo .andurance-brand-viewport img[data-brand-locked="true"] {
  display: block !important; width: 82px !important; height: 82px !important;
  max-width: none !important; min-width: 0 !important;
  object-fit: contain !important; aspect-ratio: 1561 / 1558 !important;
  transform: translate(-6px, -6px); filter: none !important;
  opacity: 1 !important;
}
.header_logo a { display: inline-flex; align-items: center; }
/* Controls belong inside the carousel flow: never clip them at section edges. */
.rebuild-service .rebuild-controls,
.rebuild-client .rebuild-controls {
  position: relative !important; inset: auto !important;
  grid-column: 1 / -1; display: flex !important;
  width: 100%; height: 42px; margin: 14px auto 0 !important;
  padding: 0 !important; gap: 12px; justify-content: center; align-items: center;
  z-index: 21; pointer-events: auto;
}
.rebuild-service .rebuild-arrow,
.rebuild-client .rebuild-arrow {
  flex: 0 0 40px; width: 40px; height: 40px;
  color: white; background: #0656cb; opacity: 1;
  border: 1px solid #0656cb; box-shadow: 0 2px 7px #0002;
}
.rebuild-service .rebuild-arrow:hover,
.rebuild-client .rebuild-arrow:hover { background: #053b9c; }
#service:has(.rebuild-service),
#client:has(.rebuild-client) { padding-bottom: 24px !important; }
.rebuild-service, .rebuild-client { row-gap: 12px; }
/* Original galleries have hard-coded Swiper heights from their saved JS state. */
.mySwiper2[data-andurance-ready="true"] { height: auto !important; min-height: 0 !important; }
.mySwiper2[data-andurance-ready="true"] .swiper-slide.is-current { height: auto !important; }
.mySwiper2[data-andurance-ready="true"] .swiper-slide.is-current img {
  display: block; width: 100%; height: clamp(230px, 38vw, 460px);
  object-fit: cover; border-radius: 4px;
}
.mySwiper[data-andurance-ready="true"] { height: auto !important; min-height: 0 !important; }
.mySwiper[data-andurance-ready="true"] .swiper-slide { display: block; }
.mySwiper[data-andurance-ready="true"] .swiper-slide img {
  display: block; width: 100%; height: 80px; object-fit: cover;
}
/* Mobile navigation restored from the original site's off-canvas classes. */
.wrap-header-icon { cursor: pointer; }
.wrap-header-icon:focus-visible, .rebuild-arrow:focus-visible { outline: 3px solid #0062ce; outline-offset: 3px; }
@media (max-width: 991px) {
  .header_logo .andurance-brand-viewport { width: 67px; height: 67px; }
  .header_logo .andurance-brand-viewport img[data-brand-locked="true"] {
    width: 73px !important; height: 73px !important; transform: translate(-6px,-6px);
  }
  .wrap-menu_mobile.show_item { visibility: visible !important; }
  .menu_mobile_path.show_item_path { display: block !important; }
  .mySwiper2[data-andurance-ready="true"] .swiper-slide.is-current img { height: clamp(200px, 64vw, 360px); }
}
@media (max-width: 600px) {
  .rebuild-banner .rebuild-arrow { width: 32px; height: 32px; font-size: 24px; }
  .rebuild-service .rebuild-controls, .rebuild-client .rebuild-controls { margin-top: 4px !important; }
  #service:has(.rebuild-service), #client:has(.rebuild-client) { padding-bottom: 12px !important; }
  .mySwiper[data-andurance-ready="true"] .swiper-slide img { height: 57px; }
}
/* The original CTA's WordPress background URL is no longer in the offline archive.
   Preserve the exact CTA words/action on a compact brand-colour background. */
#home-cta {
  background-image: linear-gradient(110deg, #0853c5 0%, #053ea5 62%, #06317d 100%) !important;
  background-color: #074dba !important;
  padding: 25px 12px !important;
  margin: 0 !important;
  min-height: 0 !important;
}
#home-cta .container { max-width: 1140px; margin: auto; }
#home-cta .head {
  color: #fff !important;
  margin: 0 0 7px !important;
  font-size: clamp(18px,2vw,25px) !important;
  line-height: 1.35;
}
#home-cta .hotline {
  color: #fff !important;
  font-size: clamp(15px, 1.4vw, 20px) !important;
  line-height: 1.5; word-break: break-word; text-decoration: none;
}
#home-cta .hotline i {
  margin-right: 8px !important; width: auto !important;
  height: auto !important; line-height: inherit !important;
  border: 0 !important;
}
#home-cta .hotline:hover { text-decoration: underline; }
#detailpage_post .mySwiper2[data-andurance-ready="true"] {
  height: auto !important; min-height: 0 !important;
}
@media(max-width:600px) {
  #home-cta { padding: 18px 12px !important; }
  #home-cta .head { font-size: 18px !important; }
  #home-cta .hotline { font-size: 15px !important; }
}
/* Prevent the legacy Swiper's flex children from expanding an auto-height gallery
   to a full 1110px square on desktop. */
#detailpage_post .mySwiper2[data-andurance-ready="true"] {
  height: clamp(220px, 36vw, 430px) !important;
  max-height: 430px !important;
  overflow: hidden !important;
}
#detailpage_post .mySwiper2[data-andurance-ready="true"] .swiper-wrapper {
  display: block !important; height: 100% !important; min-height: 0 !important;
}
#detailpage_post .mySwiper2[data-andurance-ready="true"] .swiper-slide.is-current {
  display: block !important; height: 100% !important;
  min-height: 0 !important;
}
#detailpage_post .mySwiper2[data-andurance-ready="true"] .swiper-slide.is-current img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; max-height: 100% !important;
}
#detailpage_post .mySwiper[data-andurance-ready="true"] {
  height: 90px !important; min-height: 0 !important;
  padding: 6px 0 !important; overflow: hidden !important;
}
#detailpage_post .mySwiper[data-andurance-ready="true"] .swiper-wrapper {
  height: 100% !important; align-items: stretch !important;
}
#detailpage_post .mySwiper[data-andurance-ready="true"] .swiper-slide { height: 76px !important; }
#detailpage_post .mySwiper[data-andurance-ready="true"] .swiper-slide img {
  height: 76px !important; width: 100% !important;
}
@media(max-width:600px) {
  #detailpage_post .mySwiper2[data-andurance-ready="true"] { height: 220px !important; max-height: 220px !important; }
  #detailpage_post .mySwiper[data-andurance-ready="true"] { height: 70px !important; }
  #detailpage_post .mySwiper[data-andurance-ready="true"] .swiper-slide,
  #detailpage_post .mySwiper[data-andurance-ready="true"] .swiper-slide img { height: 58px !important; }
}
/* The fourth Why We Stand Out card has substantially longer copy than the others.
   The archived fixed 200px text panel let its CTA overlap the paragraph. */
#home_team .home_team_wrap { overflow: visible !important; align-items: stretch !important; }
#home_team .home_doctor_item { display: flex !important; flex-direction: column; min-width: 0; }
#home_team .doctor_content {
  flex: 1 1 auto; height: auto !important; min-height: 244px;
  padding-bottom: 49px !important;
}
#home_team .doctor_position { overflow-wrap: break-word; }
#home_team .team_button {
  flex-shrink: 0; position: relative; z-index: 2;
  margin-top: -20px !important; margin-bottom: 2px;
}


/* V4: REAL horizontal slide transitions, shared by both language homepages. */
#owl-banner.rebuild-banner,
#owl-service.rebuild-service,
#owl-client.rebuild-client { position: relative; display: block !important; overflow: visible !important; }
#owl-banner .andurance-carousel-viewport,
#owl-service .andurance-carousel-viewport,
#owl-client .andurance-carousel-viewport {
  width: 100%; overflow: hidden; position: relative; min-width: 0;
  touch-action: pan-y; overscroll-behavior-x: contain;
}
#owl-banner .andurance-carousel-track,
#owl-service .andurance-carousel-track,
#owl-client .andurance-carousel-track {
  position: relative; display: flex !important; align-items: stretch;
  width: 100%; padding: 0; margin: 0; gap: var(--andurance-gap, 20px);
  transform: translate3d(0,0,0); backface-visibility: hidden;
}
#owl-banner .andurance-carousel-track { --andurance-gap: 0px; }
#owl-service .andurance-carousel-track,
#owl-client .andurance-carousel-track { --andurance-gap: 20px; }
#owl-banner .andurance-carousel-track > .rebuild-slide,
#owl-service .andurance-carousel-track > .rebuild-slide,
#owl-client .andurance-carousel-track > .rebuild-slide {
  display: flex !important; visibility: visible !important; opacity: 1 !important;
  flex: 0 0 calc((100% - (var(--andurance-visible, 1) - 1) * var(--andurance-gap, 20px)) / var(--andurance-visible, 1));
  width: auto !important; max-width: none !important; margin: 0 !important;
  min-width: 0; min-height: 0;
  animation: none !important;
}
#owl-banner .andurance-carousel-track > .rebuild-slide > *,
#owl-service .andurance-carousel-track > .rebuild-slide > *,
#owl-client .andurance-carousel-track > .rebuild-slide > * { width: 100%; height: 100%; min-width: 0; }
#owl-banner .andurance-carousel-viewport { overflow: hidden; }
#owl-banner .rebuild-controls { position: absolute !important; inset: 0; pointer-events: none; z-index: 5; }
#owl-banner .rebuild-arrow,
#owl-banner .rebuild-dots { pointer-events: auto; }
#owl-service .rebuild-controls,
#owl-client .rebuild-controls { position: relative !important; inset: auto !important; }
#owl-service .andurance-carousel-track > .rebuild-slide .latest-news-item,
#owl-client .andurance-carousel-track > .rebuild-slide .listdanhgia { height: 100%; }
/* The HTML archive's Swiper transform/display overrides formerly hid the
   outgoing slide and made arrow navigation look like an instant image swap. */
#detailpage_post .mySwiper2[data-andurance-ready="true"] { overflow: hidden !important; touch-action: pan-y; }
#detailpage_post .mySwiper2[data-andurance-ready="true"] > .swiper-wrapper {
  position: relative; display: flex !important; align-items: stretch !important;
  width: 100% !important; height: 100% !important;
  gap: 0 !important; padding: 0 !important; margin: 0 !important;
  backface-visibility: hidden;
}
#detailpage_post .mySwiper2[data-andurance-ready="true"] > .swiper-wrapper > .swiper-slide {
  display: block !important; flex: 0 0 100% !important;
  width: 100% !important; max-width: none !important;
  height: 100% !important; min-width: 0 !important; margin: 0 !important;
  visibility: visible !important; opacity: 1 !important;
  transform: none !important;
}
#detailpage_post .mySwiper2[data-andurance-ready="true"] > .swiper-wrapper > .swiper-slide img {
  display: block !important; width: 100% !important; height: 100% !important;
  object-fit: cover !important; max-height: 100% !important;
}
#detailpage_post .mySwiper[data-andurance-ready="true"] {
  overflow-x: auto !important; overflow-y: hidden !important;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
#detailpage_post .mySwiper[data-andurance-ready="true"]::-webkit-scrollbar { display: none; }
#detailpage_post .mySwiper[data-andurance-ready="true"] .swiper-slide { flex-shrink: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  #owl-banner .andurance-carousel-track,
  #owl-service .andurance-carousel-track,
  #owl-client .andurance-carousel-track,
  #detailpage_post .mySwiper2 > .swiper-wrapper { transition-duration: 0ms !important; }
}

/* V7: exact original full wordmark, tightly cropped and proportionally sized in header. */
.header_menu_wrap {
  grid-template-columns: 245px minmax(0,1fr);
  align-items: center;
  column-gap: 12px;
}
.header_logo { background: #fff; }
.header_logo a { display: inline-flex; align-items: center; max-width: 100%; }
.header_logo .andurance-brand-viewport {
  display: block; width: 222px; height: auto; aspect-ratio: 1916 / 731;
  max-width: 100%; overflow: hidden; background: transparent;
}
.header_logo .andurance-brand-viewport img[data-brand-locked="true"] {
  display: block !important;
  width: 100% !important; height: auto !important;
  max-width: 100% !important; min-width: 0 !important;
  object-fit: contain !important; aspect-ratio: auto !important;
  transform: none !important; filter: none !important; opacity: 1 !important;
}
@media (max-width: 991px) {
  .header_menu_wrap { grid-template-columns: 197px minmax(0,1fr); column-gap: 10px; }
  .header_logo .andurance-brand-viewport { width: 188px; height: auto; }
}
@media (max-width: 600px) {
  .header_menu_wrap { grid-template-columns: 171px minmax(0,1fr); column-gap: 8px; }
  .header_logo .andurance-brand-viewport { width: 162px; height: auto; }
}

/* V6: identical VI | EN language control in both locales. */
.header_lang .andurance-language-switch {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  white-space: nowrap !important;
  gap: 0 !important;
  line-height: 1.2;
}
.header_lang .andurance-language-switch .lang-item {
  display: inline-flex !important;
  align-items: center !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  list-style: none !important;
  line-height: 1.2 !important;
}
.header_lang .andurance-language-switch .lang-item-vi::after {
  content: "|";
  display: inline-block;
  color: #a7a9ac;
  font-weight: 400;
  margin: 0 6px;
  line-height: 1;
}
.header_lang .andurance-language-switch .lang-item a {
  display: inline-block;
  font-size: 15px !important;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3 !important;
  text-transform: none !important;
  text-decoration: none;
}
.header_lang .andurance-language-switch .lang-item.current-lang a {
  color: #024bd4;
  font-weight: 700 !important;
}


/* V9: actionable footer links and truthful information pages. */
#footer .footer_about p a.andurance-footer-link,
#footer .footer_info p a.andurance-footer-link {
  color: inherit; text-decoration: none; cursor: pointer;
  display: inline-block; border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
#footer .footer_about p a.andurance-footer-link:hover,
#footer .footer_about p a.andurance-footer-link:focus-visible,
#footer .footer_info p a.andurance-footer-link:hover,
#footer .footer_info p a.andurance-footer-link:focus-visible {
  color: #fff; border-bottom-color: currentColor;
}
#footer .footer_about p a.andurance-footer-link:focus-visible,
#footer .footer_info p a.andurance-footer-link:focus-visible {
  outline: 2px solid white; outline-offset: 3px;
}
#location { scroll-margin-top: 120px; }
.andurance-information-page {
  background: #fff; min-height: 330px;
  padding: clamp(32px, 6vw, 80px) 0;
  color: #20293b;
}
.andurance-information-content { max-width: 1050px; }
.andurance-information-content h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  line-height: 1.2; color: #0752c6; margin: 20px 0 18px;
}
.andurance-information-content p {
  font-size: 17px; line-height: 1.7; max-width: 800px;
  margin-bottom: 20px; color: #28364d;
}
.andurance-information-content .andurance-crumb { font-size: 14px; color: #65718a; }
.andurance-information-content a { color: #0752c6; }
.andurance-information-status {
  display: inline-block; padding: 9px 16px; background: #eef3fb;
  color: #253b59; border-left: 3px solid #0752c6;
  font-size: 15px; margin-bottom: 18px; max-width: 100%;
}
.andurance-information-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.andurance-information-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #0752c6; padding: 12px 18px;
  border-radius: 28px; line-height: 1.25;
  font-size: 15px; text-decoration: none; transition: background .18s ease, color .18s ease;
}
.andurance-information-actions a.andurance-information-primary { background:#0752c6;color:#fff; }
.andurance-information-actions a.andurance-information-primary:hover { background:#023b99; }
.andurance-information-actions a.andurance-information-secondary:hover { background:#eef3fb; }
.andurance-information-actions a:focus-visible { outline: 3px solid #0752c6; outline-offset: 3px; }
@media(max-width:600px) { .andurance-information-page { padding: 30px 0 48px; } }

/* Admin release: fix B01 mobile site search; preserve existing mobile menu. */
@media (max-width:991px) {
  .wrap-menu_mobile .header-search.mb { display:block !important; padding:14px 17px 10px; }
  .wrap-menu_mobile .header-search.mb .searchform,
  .wrap-menu_mobile .header-search.mb form div { display:flex !important; width:100%; }
  .wrap-menu_mobile .header-search.mb input[name="q"] { display:block; flex:1 1 auto; min-width:0; height:42px; border:1px solid #ccd9e8; border-radius:8px 0 0 8px; font-size:15px; padding:9px 12px; background:#fff; color:#273d58; }
  .wrap-menu_mobile .header-search.mb input[type="submit"] { display:block; flex:0 0 auto; width:auto; max-width:108px; height:42px; padding:0 12px; border-radius:0 8px 8px 0; background:#064ccd; color:#fff; border:1px solid #064ccd; cursor:pointer; }
}
/* B02 gallery arrows must be keyboard focusable. */
.mySwiper2 .swiper-button-prev[role="button"]:focus-visible,
.mySwiper2 .swiper-button-next[role="button"]:focus-visible { outline:3px solid #064ccd; outline-offset:4px; }
.ac-site-notice{padding:9px 5%;text-align:center;background:#e5f1ff;color:#164b88;font:600 14px/1.5 system-ui}
.ac-published-content{white-space:pre-line;line-height:1.8}
/* B01: keep the search field in front of the legacy full-height menu layer. */
@media (max-width:991px) {
  .wrap-menu_mobile {display:flex !important;flex-direction:column;overflow-y:auto;overflow-x:hidden;}
  .wrap-menu_mobile .header-search.mb {position:relative !important;z-index:3 !important;flex:0 0 auto;width:100%;background:#222;}
  .wrap-menu_mobile .header-search.mb form input[name="q"]{width:auto !important;flex:1 1 auto !important;max-width:none !important;}
  .wrap-menu_mobile .header-search.mb form input[type="submit"]{width:auto !important;height:42px !important;flex:0 0 auto !important;max-width:100px !important;color:white !important;background-image:none !important;margin-left:0 !important;z-index:auto;}
  .wrap-menu_mobile .menu_mobile_item{position:relative !important;height:auto !important;min-height:0 !important;flex:1 0 auto;}
  .wrap-menu_mobile .menu_mobile_item .mega-menu-wrap ul#mega-menu-mainmenu{position:relative !important;top:auto !important;left:auto !important;width:100% !important;}
}
@media (max-width:991px){
 .wrap-menu_mobile .header-search.mb{order:0 !important;}
 .wrap-menu_mobile .menu_mobile_item{order:1 !important;}
}

/* Admin-approved inline image icons. */
.ac-custom-icon{display:inline-block!important;vertical-align:-.15em!important;width:1em!important;height:1em!important;min-width:1em!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;font-size:inherit!important;line-height:1!important}
.ac-custom-icon:before{content:none!important}

/* SEO: semantic H1 matches prior h3 heading design without changing text. */
h1.heading-title{font-size:34px;line-height:1.3;text-transform:uppercase;margin:0 0 .6em;font-weight:700}
@media(max-width:530px){h1.heading-title{font-size:30px}}

/* Global Address map: a subtle fallback link if the external iframe is blocked. */
.ac-map-open { margin: 8px 0 16px; font-size: 14px; }
.ac-map-open a { color: #0758b6; text-decoration: underline; text-underline-offset: 2px; }
.ac-map-open a:hover, .ac-map-open a:focus-visible { color: #073c86; }
