/* Small improvements shared by the existing four-language site. */
html { scroll-behavior: smooth; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #0d6efd !important; outline-offset: 4px; }
.language-switcher a[aria-current="page"] { box-shadow: 0 0 0 2px #0d4fb8; }
.site-page-links { clear: both; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; padding: 24px 20px 110px; }
.site-page-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.admission-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; position: relative; z-index: 1; scroll-margin-top: 28px; }
.admission-option { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 18px; border-radius: 14px; color: #0d4fb8; background: #eef4ff; border: 1px solid #c9dbf5; font-weight: 700; font-size: 15px; line-height: 1.45; }
.admission-option::after { content: '↓'; margin-left: 12px; }
.admission-option:hover, .admission-option:focus { background: #dceaff; color: #103b76; text-decoration: none; }
.admission-sections { width: 100%; }
.admission-card { display: flow-root; padding: 32px 24px; margin-bottom: 28px; border: 1px solid #e1e8f1; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.045); scroll-margin-top: 24px; }
.admission-card:target { border-color: #5b97dc; box-shadow: 0 0 0 3px #e4efff; }
.admission-card .clinic_taital { float: none; font-size: 29px; line-height: 1.3; width: 100%; margin: 0 0 22px; }
.admission-card .clinic_taital img { width: 30px; margin-right: 12px; }
.admission-card .client_section_2 { float: none; display: flex; gap: 28px; width: 100%; margin: 0; padding: 0; }
.admission-card .client_left { flex: 0 0 130px; width: 130px; float: none; padding: 0; }
.admission-card .client_left img { max-width: 100%; height: auto; }
.admission-card .client_right { display: flow-root; flex: 1; min-width: 0; width: auto; float: none; padding: 0; }
.admission-card .miller_text { float: none; font-size: 19px; line-height: 1.6; color: #1f2d3d; padding: 0; margin: 0 0 12px; font-weight: 600; }
.admission-card .dummy_text { float: none; width: 100%; padding: 0; margin: 0; font-size: 16px; line-height: 1.85; color: #44546a; }
.admission-back { display: inline-block; margin-top: 24px; color: #0d4fb8; text-decoration: underline; text-underline-offset: 3px; }
.client_section:has(.admission-sections) { padding-top: 36px; }
.about-content-box p, .about_text_block p { overflow-wrap: break-word; }
#dm-bot-widget #dm-bot-toggle { position: absolute; left: 0; bottom: 0; width: 240px; height: 285px; padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
#dm-bot-widget #dm-bot-image { width: 240px; left: 0; bottom: 0; }
#dm-bot-widget #dm-bot-bubble { left: 185px; bottom: 175px; padding: 17px 28px 17px 17px; cursor: default; }
#dm-bot-widget #botIntro { display: block; border: 0; padding: 0; background: none; text-align: left; color: #1f2d3d; cursor: pointer; width: 100%; }
#botIntro span { display: block; }
#dm-bot-widget #bot-dismiss { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border: 1px solid #d7e0eb; border-radius: 50%; background: white; color: #1f2d3d; font-size: 24px; line-height: 1; cursor: pointer; }
#dm-bot-widget #bot-menu { display: flex; gap: 8px; }
#dm-bot-widget #bot-menu[hidden], #dm-bot-widget #botIntro[hidden] { display: none; }
#bot-menu a { display: block; background: #f3f6fb; color: #1f2d3d; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; font-weight: 600; }
#bot-menu a:hover { background: #e5eefc; }
#dm-bot-widget.is-minimized { width: 84px; max-width: 84px; min-height: 100px; }
#dm-bot-widget.is-minimized #dm-bot-toggle { width: 84px; height: 100px; }
#dm-bot-widget.is-minimized #dm-bot-image { width: 84px; left: 0; bottom: 0; animation: none; }
#dm-bot-widget.is-minimized #dm-bot-bubble { display: none; }
.site-search-results { flex-basis: 100%; width: 100%; margin-top: 12px; padding: 12px; border-radius: 12px; background: white; color: #1f2d3d; }
.site-search-results:empty { display: none; }
.site-search-results a { display: block; color: #0d4fb8; padding: 10px 4px; }
@media (max-width: 768px) {
  .admission-options { display: grid; grid-template-columns: 1fr; }
  .admission-option { justify-content: space-between; font-size: 14px; }
  .admission-card { padding: 24px 18px; }
  .admission-card .clinic_taital { font-size: 23px; }
  .admission-card .client_section_2 { display: block; }
  .admission-card .client_left { float: none; width: 70px; margin: 0 0 16px; }
  .admission-card .client_right { width: 100%; }
  .admission-card .miller_text { float: none; font-size: 17px; }
  .admission-card .dummy_text { font-size: 15px; }
  #dm-bot-widget { left: 4px; bottom: 4px; width: 290px; max-width: calc(100vw - 12px); min-height: 230px; }
  #dm-bot-widget #dm-bot-toggle { width: 120px; height: 150px; }
  #dm-bot-widget #dm-bot-image { width: 120px; left: 0; bottom: 0; }
  #dm-bot-widget #dm-bot-bubble { left: 84px; bottom: 125px; width: min(210px, calc(100vw - 110px)); max-width: 210px; min-width: 0; padding: 12px 16px 12px 12px; }
  #dm-bot-widget #bot-message { font-size: 14px; }
  #dm-bot-widget #bot-submessage { font-size: 12px; }
  #dm-bot-widget #bot-menu a { font-size: 13px; padding: 10px; }
  .site-page-links { font-size: 14px; padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #dm-bot-image, .whatsapp-btn { animation: none !important; }
}
@media print {
  #dm-bot-widget, .whatsapp-container, .call-container { display: none !important; }
  .admission-card { break-inside: avoid; }
}

/* Keep floated legacy sections and long translated headings within the viewport. */
.home-contact-section { clear: both; display: flow-root; width: 100%; }
h1, h2, h3, .seo-badge, .hero-badge { overflow-wrap: anywhere; hyphens: auto; }

/* Admission copy and accessible return controls, September 2026 update. */
.client_section.admission-content { float: none; display: flow-root; clear: both; }
.client_section.admission-content + .contact-mini { clear: both; }
.admission-card .dummy_text + .dummy_text { margin-top: 14px; }
.admission-card .admission-contact { margin-top: 20px; }
.admission-contact a { color: #0d4fb8; font-weight: 700; text-decoration: underline; }
.admission-back { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid #c9dbf5; border-radius: 10px; background: #eef4ff; line-height: 1.45; position: relative; }
.admission-back:hover, .admission-back:focus { background: #dceaff; color: #103b76; }

/* Approved admission introduction and care guidance. */
.seo-hero-box .admission-guidance-title { font-size: 22px; line-height: 1.45; margin: 24px 0 12px; }
.admission-guidance-contact a { color: #0d4fb8; font-weight: 700; text-decoration: underline; }
