/* Split navigation links and native disclosures, shared by the clinic and academy. */
.pn-item { position: relative; display: flex; align-items: center; min-width: 0; }
.pn-menu { flex: none; }
.pn-menu > summary { display: flex; align-items: center; justify-content: center; width: 40px; min-height: 44px; padding: 8px; color: inherit; background: transparent; border: 0; border-radius: 4px; cursor: pointer; list-style: none; font: inherit; }
.pn-menu > summary::-webkit-details-marker { display: none; }
.pn-menu > summary::after { content: none !important; }
.pn-menu > summary:focus-visible, .pn-popup a:focus-visible { outline: 2px solid #b58d48; outline-offset: -2px; }
.pn-menu[open] > summary { background: #ffffff18; }
.pn-popup { position: absolute; z-index: 110; inset-inline-start: 0; top: 100%; width: 264px; max-width: calc(100vw - 36px); padding: 8px; border: 1px solid #dbe1e5; border-radius: 5px; background: #fff; color: #253139; box-shadow: 0 14px 28px #102a3d25; text-align: start; }
body .pn-popup > a, body .pn-side > .pn-course-home { display: flex; align-items: center; min-height: 44px; padding: 11px 14px; color: #253139 !important; -webkit-text-fill-color: #253139; font: 600 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; white-space: normal; text-decoration: none; overflow-wrap: break-word; }
body .pn-popup > a:hover, body .pn-side > .pn-course-home:hover { background: #f1f4f6; color: #17354c !important; }
.pn-side > .pn-course-home { flex: 1; }
.pn-side > .pn-menu > summary { color: #253139; }
.pn-side > .pn-menu[open] > summary { background: #edf1f3; }
.pn-side > .pn-menu > .pn-popup { top: -9px; inset-inline-start: calc(100% + var(--pn-side-gap, 8px)); max-height: calc(100dvh - 160px); overflow-y: auto; }
.pn-side > .pn-menu.pn-flip > .pn-popup { inset-inline-start: auto; inset-inline-end: calc(100% + var(--pn-side-gap, 8px)); }
.pn-entry > .pn-menu.pn-flip > .pn-popup { inset-inline-start: auto; inset-inline-end: 0; }
body .main-menu__list .pn-course-item { position: relative; padding: 0; }
body .main-menu__list .pn-course-item .pn-side { width: 100%; }
body .main-menu__list .pn-course-item .pn-course-home { font-family: inherit; font-weight: 500; }
body .main-menu__list .clinic-portal-entry > ul > li > a, body .main-menu__list .pn-course-item .pn-course-home { padding: 10px 20px; min-height: 44px; line-height: 1.45; }
.pn-popup { box-sizing: border-box; }
body .hp-header .hp-header__inner > .pn-entry { flex: 1 1 150px; min-width: 160px; justify-content: center; align-self: center; border-inline-end: 1px solid #638095; }
body .hp-header .pn-entry > .hp-patient-entry { flex: 0 1 auto; min-width: 0; padding: 0 6px 0 10px !important; border: 0; }
.hp-header .pn-entry > .pn-menu > summary { color: #fff; }
/* Let all instructor biographies use the same full-width content shell. */
.cp-portal .cp-biography { max-width: none; width: 100%; }
@media (min-width: 1200px) {
  body .hp-header .hp-header__inner { width: calc(100% - 64px); max-width: none; gap: clamp(18px, 1.6vw, 32px); }
  body .hp-header .hp-desktop-nav { flex: 1; min-width: 0; justify-content: space-between; gap: clamp(12px, 1.3vw, 26px); }
  body .hp-header .hp-desktop-nav > a, body .hp-header .hp-course-home { font-size: clamp(17px, 1.25vw, 20px); white-space: normal; text-align: center; line-height: 1.35; }
  body .hp-header .hp-header__inner > .hp-patient-entry { flex: 0 1 185px; font-size: clamp(17px, 1.25vw, 20px); }
  body .hp-header .hp-header__inner > .pn-entry { flex: 0 1 185px; font-size: clamp(17px, 1.25vw, 20px); }
}
.mobile-nav__content .pn-course-item { border-bottom: 1px solid #dbe1e5; }
.mobile-nav__content .pn-side { flex-wrap: wrap; }
.mobile-nav__content .pn-side > .pn-menu { position: static; }
.mobile-nav__content .pn-side > .pn-menu > .pn-popup { position: static; width: 100%; max-width: none; max-height: none; margin: 0; box-shadow: none; border: 0; border-top: 1px solid #dbe1e5; }
.mobile-nav__content .pn-menu[open] { flex: 1 0 100%; }
.mobile-nav__content .pn-menu[open] > summary { position: absolute; inset-inline-end: 0; top: 0; }
.mobile-nav__content .pn-popup > a { color: #253139 !important; font-size: 16px; }
.localized-mobile-nav .pn-side { display: flex; flex-wrap: wrap; }
.localized-mobile-nav .pn-side > .pn-menu > .pn-popup { position: static; width: 100%; max-width: none; max-height: none; box-shadow: none; border: 0; }
.localized-mobile-nav .pn-menu[open] { flex: 1 0 100%; }
.localized-mobile-nav .pn-menu[open] > summary { position: absolute; inset-inline-end: 0; top: 0; }
@media (max-width: 1199px) {
  body.cp-portal .hp-header__inner > .pn-entry { display: none; }
  .cp-portal .hp-mobile-nav nav > .pn-entry { display: flex; flex-wrap: wrap; width: 100%; border-block: 1px solid #dbe1e5; }
  body.cp-portal .hp-mobile-nav .pn-entry > .hp-patient-entry { display: flex; justify-content: flex-start; flex: 1; padding: 10px 0 !important; color: #253139 !important; -webkit-text-fill-color: #253139; font-size: 21px; text-align: start; }
  .cp-portal .hp-mobile-nav .pn-entry > .pn-menu > summary { color: #253139; }
  .cp-portal .hp-mobile-nav .pn-entry > .pn-menu[open] { flex: 1 0 100%; }
  .cp-portal .hp-mobile-nav .pn-entry > .pn-menu[open] > summary { position: absolute; top: 0; inset-inline-end: 0; }
  .cp-portal .hp-mobile-nav .pn-popup { position: static; width: 100%; max-width: none; max-height: none; box-shadow: none; border: 0; padding-inline: 6px; }
  .cp-portal .hp-mobile-nav .pn-side { flex-wrap: wrap; }
  .cp-portal .hp-mobile-nav .pn-side > .pn-menu[open] { flex: 1 0 100%; }
  .cp-portal .hp-mobile-nav .pn-side > .pn-menu[open] > summary { position: absolute; top: 0; inset-inline-end: 0; }
}
html[dir=rtl] .pn-side > .pn-menu > summary span { transform: rotate(180deg); }
body .hp-header .hp-language > summary::before { content: ""; display: inline-block; flex: none; width: 24px; height: 16px; background-size: contain; background-position: center; background-repeat: no-repeat; }
html[lang|="tr"] .hp-header .hp-language > summary::before { background-image: url('/Images/Flags/tr.svg'); }
html[lang|="en"] .hp-header .hp-language > summary::before { background-image: url('/Images/Flags/gb.svg'); }
html[lang|="de"] .hp-header .hp-language > summary::before { background-image: url('/Images/Flags/de.svg'); }
html[lang|="ru"] .hp-header .hp-language > summary::before { background-image: url('/Images/Flags/ru.svg'); }
html[lang|="es"] .hp-header .hp-language > summary::before { background-image: url('/Images/Flags/es.svg'); }
html[lang|="ar"] .hp-header .hp-language > summary::before { background-image: url('/Images/Flags/sa.svg'); }
html[lang|="fr"] .hp-header .hp-language > summary::before { background-image: url('/Images/Flags/fr.svg'); }
/* Both public areas use a 96px desktop bar and an 86px mobile bar. */
body .main-header > .main-menu, body .stricky-header > .main-menu { height: 96px; min-height: 96px; }
body .main-header .main-menu__wrapper-inner, body .stricky-header .main-menu__wrapper-inner { min-height: 95px; display: flex; align-items: center; }
body .hp-header .hp-header__inner { height: 95px; min-height: 95px; }
body .hp-header .hp-brand { width: 126px; height: 84px; }
body .hp-header .hp-brand > img { width: 156px; height: 156px; left: -13px; top: -32px; }
@media (max-width: 1199px) {
  body .main-header > .main-menu, body .stricky-header > .main-menu { height: 86px; min-height: 86px; }
  body .main-header .main-menu__wrapper-inner, body .stricky-header .main-menu__wrapper-inner { min-height: 85px; }
  body .hp-header .hp-header__inner { height: 85px; min-height: 85px; }
  body .hp-header .hp-brand { width: 114px; height: 76px; }
  body .hp-header .hp-brand > img { width: 141px; height: 141px; left: -12px; top: -29px; }
}
/* Keep linked instructor names centered and multi-instructor sidebars compact. */
.education-course-detail .ecd-aside .ecd-instructor-photo-link span {
  text-align: center;
  overflow-wrap: anywhere;
}

.education-course-detail .ecd-aside:has(.ecd-instructor-previews > a:nth-of-type(2)) {
  position: static;
}

.education-course-detail .ecd-instructor-previews:has(> a:nth-of-type(2)) {
  gap: 12px;
  margin-block: 20px;
}

.education-course-detail .ecd-instructor-previews:has(> a:nth-of-type(2)) > .ecd-instructor-photo-link {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
}

.education-course-detail .ecd-instructor-previews:has(> a:nth-of-type(2)) > .ecd-instructor-photo-link img {
  width: 68px;
  height: 92px;
  aspect-ratio: auto;
  object-fit: contain;
}

.education-course-detail .ecd-instructor-previews:has(> a:nth-of-type(2)) > .ecd-instructor-photo-link span {
  padding: 10px 8px;
  font-size: 15px;
}
/* Keep the open flyout reachable across the visual space between panels. */
.pn-side > .pn-menu[open]::before { content: ""; position: absolute; z-index: 109; inset-inline-start: 100%; top: -9px; bottom: -9px; width: var(--pn-side-gap, 8px); }
.pn-side > .pn-menu.pn-flip[open]::before { inset-inline-start: auto; inset-inline-end: 100%; }
.mobile-nav__content .pn-side > .pn-menu::before, .localized-mobile-nav .pn-side > .pn-menu::before { display: none; }
body .stricky-header.main-menu { height: 96px; min-height: 96px; }
.pn-top-strip { background: #102a3d; color: #fff; border-bottom: 1px solid #476073; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.pn-top-inner { width: calc(100% - 100px); min-height: 53px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pn-top-contact { display: flex; align-items: center; gap: 26px; flex: none; }
.pn-top-strip a { color: #fff !important; text-decoration: none; }
.pn-top-contact a { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 14px; line-height: 1.5; font-weight: 600; }
.pn-top-contact .pn-top-phone { font-size: 18px; }
.pn-top-contact svg { width: 14px; height: 18px; flex: none; fill: #6c8290; }
.pn-top-latest { min-width: 0; display: flex; gap: 4px; justify-content: flex-end; align-items: center; margin: 0; font-size: 12px; line-height: 1.5; }
.pn-top-latest span { flex: none; }
.pn-top-latest a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-top-strip a:hover { text-decoration: underline; }
.pn-top-strip a:focus-visible { outline: 2px solid #e8c379; outline-offset: 3px; }
@media (max-width: 1199px) {
  .pn-top-strip { display: none; }
  .cp-portal .hp-mobile-nav .pn-side > .pn-menu::before { display: none; }
  body .stricky-header.main-menu { height: 86px; min-height: 86px; }
}
.pn-education-notice { margin: 0 0 32px; padding: 18px 22px; border: 1px solid #dbe1e5; border-inline-start: 3px solid #9c8253; border-radius: 6px; background: #f6f8f9; color: #495b66; font-size: 15px; line-height: 1.7; }
.pn-education-notice p { margin: 0; }
@media (max-width: 560px) { .pn-education-notice { padding: 14px 16px; font-size: 14px; margin-bottom: 24px; } }
