/* Second MJM: original editorial design, shared by all public routes. */
.dentexa-site.mjm-second {
  --mjm-ink: #203938;
  --mjm-paper: #ffffff;
  --mjm-orange: #ff7e15;
  --mjm-muted: #6c7873;
  --mjm-line: rgba(36, 61, 57, .18);
  --mjm-serif: var(--font-abril), Georgia, serif;
  --mjm-display: var(--font-display), 'Arial Narrow', sans-serif;
  --mjm-header-size: 104px;
  --mjm-unit: clamp(16px,calc(12px + .277778vw),20px);
  --mjm-grid-edge: calc(var(--mjm-unit) * .75);
  --mjm-grid-margin: calc(var(--mjm-unit) * 3.75);
  background: var(--mjm-paper) !important;
  color: var(--mjm-ink);
  /* The legacy wrapper forces hidden; clip preserves viewport sticky scrolling. */
  overflow: clip !important;
}
/* Animate individual sections, not one oversized compositor layer for the page. */
.mjm-second .dr-route-main { background: var(--mjm-paper); outline: none; animation: none; transform: none; }
.mjm-second .mjm-home__section-slot { display: contents; }
.mjm-second .mjm-home__section-slot--desktop-hidden { display: none; }
@media (max-width: 760px) {
  .mjm-second .mjm-home__section-slot--desktop-hidden { display: contents; }
  .mjm-second .mjm-home__section-slot--mobile-hidden { display: none; }
}
/* Nine hairline guides form eight divisions, including the narrow outer margins. */
.mjm-second .mjm-grid-guides { position: fixed; inset: 0; z-index: 20; pointer-events: none; user-select: none; mix-blend-mode: difference; opacity: .1; }
.mjm-second .mjm-grid-guides i { position: absolute; top: 0; bottom: 0; width: .5px; background: #fff; }
.mjm-second .mjm-grid-guides__edge-start { left: var(--mjm-grid-edge); }
.mjm-second .mjm-grid-guides__margin-start { left: var(--mjm-grid-margin); }
.mjm-second .mjm-grid-guides__column-1 { left: calc(var(--mjm-grid-edge) + (100% - var(--mjm-grid-edge) * 2) / 6); }
.mjm-second .mjm-grid-guides__column-2 { left: calc(var(--mjm-grid-edge) + (100% - var(--mjm-grid-edge) * 2) / 3); }
.mjm-second .mjm-grid-guides__center { left: 50%; }
.mjm-second .mjm-grid-guides__column-4 { right: calc(var(--mjm-grid-edge) + (100% - var(--mjm-grid-edge) * 2) / 3); }
.mjm-second .mjm-grid-guides__column-5 { right: calc(var(--mjm-grid-edge) + (100% - var(--mjm-grid-edge) * 2) / 6); }
.mjm-second .mjm-grid-guides__margin-end { right: var(--mjm-grid-margin); }
.mjm-second .mjm-grid-guides__edge-end { right: var(--mjm-grid-edge); }
.mjm-second :is(h1,h2,h3,h4) { font-family: var(--mjm-serif) !important; font-weight: 400 !important; letter-spacing: -.025em !important; text-transform: none; }
.mjm-second :is(p,a,button,input,select,textarea,span,small) { font-family: var(--font-interface), var(--font-dm-sans), sans-serif; }
.mjm-second.rtl :is(h1,h2,h3,h4,p,a,button,input,select,textarea,span,small) { font-family: var(--font-noto-arabic), sans-serif !important; letter-spacing: 0 !important; }
.mjm-second :focus-visible { outline: 2px solid #a66b45; outline-offset: 5px; }
.mjm-second :is(section,header)[id] { scroll-margin-top: 100px; }
.mjm-second button { cursor: pointer; }
.mjm-second .mjm-eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 500; line-height: 1.7; letter-spacing: .12em !important; text-transform: uppercase; color: inherit; }
.mjm-second .mjm-line-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 40px; padding: 10px 0; border-block: 1px solid currentColor; background: transparent; color: inherit; text-decoration: none; font-size: 12px; font-weight: 500; line-height: 1.5; transition: opacity .2s; }
.mjm-second .mjm-line-link:hover { opacity: .65; }
.mjm-second .mjm-line-link svg { flex-shrink: 0; transition: transform .3s; }
.mjm-second .mjm-line-link:hover svg { transform: translate(2px,-2px); }
.mjm-second .mjm-skip { position: fixed; top: 10px; left: 10px; transform: translateY(-200%); padding: 14px 22px; color: #fff; background: #203938; z-index: 10001; }
.mjm-second .mjm-skip:focus { transform: none; }

/* Independent glass tabs keep the homepage film visible between controls. */
.mjm-second .mjm-header { position: fixed; inset: 0 0 auto; height: var(--mjm-header-size); z-index: 1000; display: grid; grid-template-columns: minmax(0,1fr) 144px minmax(0,1fr); align-items: center; padding-inline: 24px; background: rgba(255,255,255,.9); color: var(--mjm-ink); border-bottom: 1px solid var(--mjm-line); backdrop-filter: blur(8px); transition: background .35s, color .35s, height .35s; }
.mjm-second .mjm-header--film { height: 112px; background: linear-gradient(rgba(0,0,0,.14),transparent); color: #fff; border-color: transparent; backdrop-filter: none; }
.mjm-second .mjm-header a { color: inherit; text-decoration: none; }
.mjm-second .mjm-header__links { display: flex; align-items: center; gap: 6px; }
.mjm-second .mjm-header__links a { display: inline-flex; align-items: center; justify-content: center; min-width: clamp(120px,8.4vw,162px); min-height: clamp(46px,3vw,58px); padding: 12px 18px; font-size: clamp(14px,.95vw,18px); font-weight: 500; line-height: 1.4; white-space: nowrap; }
.mjm-second .mjm-header :is(.mjm-header__links a,.mjm-header__booking,.mjm-language__trigger,.mjm-menu-trigger) { border: 1px solid rgba(31,42,68,.1); background: rgba(31,42,68,.04); box-shadow: inset .5px .5px 0 rgba(255,255,255,.3),inset 0 0 2px rgba(255,255,255,.2); backdrop-filter: blur(3px); transition: background .3s, border-color .3s, box-shadow .3s; }
.mjm-second .mjm-header--film :is(.mjm-header__links a,.mjm-header__booking,.mjm-language__trigger,.mjm-menu-trigger) { color: #fff; border-color: rgba(255,255,255,.15); background: rgba(31,42,68,.2); }
.mjm-second .mjm-brand { display: flex; justify-content: center; align-items: center; height: 104px; overflow: visible; transform: translateY(4px); }
.mjm-second .mjm-brand img { width: 160px; height: 160px; max-width: none; object-fit: contain; flex-shrink: 0; }
.mjm-second .mjm-header--film .mjm-brand img { filter: brightness(0) invert(1); }
.mjm-second .mjm-header__actions { display: flex; justify-content: end; align-items: center; gap: 6px; min-width: 0; }
.mjm-second .mjm-language { position: relative; display: block; flex-shrink: 0; width: 104px; padding: 0; margin: 0; color: inherit; min-height: clamp(46px,3vw,58px); }
.mjm-second .mjm-header__booking { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: clamp(46px,3vw,58px); padding: 10px 20px; font-size: clamp(14px,.95vw,18px); font-weight: 500; line-height: 1.4; white-space: nowrap; }
.mjm-second .mjm-menu-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: inherit; min-height: clamp(46px,3vw,58px); padding: 0 16px; font-size: 14px; }
.mjm-second .mjm-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 28px 4vw; border: 0; background: #e8eae3; color: var(--mjm-ink); overflow-y: auto; }
.mjm-second .mjm-menu::backdrop { background: #132d2e; }
.mjm-second .mjm-menu[open] { display: flex; flex-direction: column; animation: mjm-menu-in .4s ease both; }
.mjm-second .mjm-menu__top, .mjm-second .mjm-menu__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 10px 25px; }
.mjm-second .mjm-menu__top { border-bottom: 1px solid var(--mjm-line); }
.mjm-second .mjm-menu__top button { display: flex; align-items: center; gap: 20px; color: inherit; background: none; padding: 8px; font-size: 12px; }
.mjm-second .mjm-menu__body { flex: 1; display: grid; grid-template-columns: 1fr 1fr .85fr; align-content: center; gap: 5vw; padding-block: 65px; }
.mjm-second .mjm-menu__body nav > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 17px; border-bottom: 1px solid var(--mjm-line); font-family: var(--mjm-serif); font-size: clamp(23px,2.6vw,40px); line-height: 1.2; color: inherit; text-decoration: none; }
.mjm-second .mjm-menu__body nav > a svg { width: 20px; flex-shrink: 0; }
.mjm-second .mjm-menu__body figure { min-height: 360px; position: relative; margin: 0; overflow: hidden; }
.mjm-second .mjm-menu__body figure img { object-fit: cover; }
.mjm-second .mjm-menu__body figcaption { position: absolute; inset: auto 0 0; padding: 35px 25px 25px; background: linear-gradient(transparent,rgba(0,0,0,.7)); color: #fff; font-size: 12px; }
.mjm-second .mjm-menu__bottom { border-top: 1px solid var(--mjm-line); padding-top: 24px; font-size: 13px; }
.mjm-second .mjm-menu__bottom a { color: inherit; }

/* Full viewport film with a typographic horizon. */
.mjm-second .mjm-hero { position: relative; height: max(720px,100svh); max-height: 1300px; min-height: 620px; overflow: hidden; background: #173c3b; color: white; isolation: isolate; }
.mjm-second .mjm-hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; z-index: -3; }
.mjm-second .mjm-hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg,rgba(0,0,0,.08) 20%,rgba(0,0,0,.1) 45%,rgba(0,0,0,.32)); }
.mjm-second .mjm-hero__note { position: absolute; inset-block-start: 46%; inset-inline-start: 4%; width: 240px; }
.mjm-second .mjm-hero__note p { max-width: 220px; color: #fff; font-family: var(--mjm-serif); font-style: italic; font-size: 22px; line-height: 1.2; }
.mjm-second .mjm-hero__note a { display: inline-flex; align-items: center; gap: 16px; padding-block: 12px; color: #fff; font-size: 12px; }
.mjm-second .mjm-hero__film-controls { position: absolute; z-index: 3; inset-block-start: 50%; inset-inline-end: 4%; transform: translateY(-50%); }
.mjm-second .mjm-case-trigger { position: relative; display: block; width: clamp(188px,13.1vw,252px); height: 46px; padding: 0; background: transparent; color: #fff; border-block: 1px solid rgba(255,255,255,.4); isolation: isolate; }
.mjm-second .mjm-case-trigger__preview { position: absolute; z-index: -1; inset-inline: 0; top: 50%; aspect-ratio: 188/212; transform: translateY(-50%); overflow: hidden; opacity: 0; clip-path: inset(40% 0); transition: clip-path .4s cubic-bezier(.22,1,.36,1),opacity .3s; pointer-events: none; }
.mjm-second .mjm-case-trigger__preview img { object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1); transform: scale(1.08); }
.mjm-second .mjm-case-trigger__preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent,rgba(0,0,0,.32),transparent); }
.mjm-second .mjm-case-trigger__label { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 16px; font-size: 14px; font-weight: 500; line-height: 20px; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.mjm-second .mjm-case-trigger:is(:hover,:focus-visible) { border-color: transparent; }
.mjm-second .mjm-case-trigger:is(:hover,:focus-visible) .mjm-case-trigger__preview { opacity: 1; clip-path: inset(0); pointer-events: auto; }
.mjm-second .mjm-case-trigger:is(:hover,:focus-visible) img { transform: scale(1); }
.mjm-second .mjm-case-trigger:focus-visible { outline-offset: 5px; outline-color: #fff; }
.mjm-second .mjm-film-toggle { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; border: 1px solid rgba(255,255,255,.3); background: transparent; }
.mjm-second .mjm-hero__pause { position: absolute; z-index: 3; bottom: 12px; inset-inline-start: 4%; width: 44px; height: 44px; background: rgba(31,42,68,.2); backdrop-filter: blur(3px); }
.mjm-second .mjm-hero__title { position: absolute; inset-inline: 4%; bottom: 82px; text-align: center; }
.mjm-second .mjm-hero__title p { margin: 0 0 14px; color: white; font-size: 12px; line-height: 1.5; letter-spacing: .23em !important; text-transform: uppercase; }
.mjm-second.dentexa-site .mjm-hero h1 { margin: 0; font-family: var(--mjm-display) !important; font-size: clamp(100px,20.5vw,340px); line-height: 1; letter-spacing: 0 !important; text-transform: uppercase; color: #fff !important; font-weight: 400 !important; text-shadow: none; }
.mjm-second .mjm-hero__bottom { position: absolute; bottom: 0; inset-inline: 4%; height: 62px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.28); gap: 20px; padding-inline: 90px; }
.mjm-second .mjm-hero__bottom span, .mjm-second .mjm-hero__bottom a { font-size: 10px; letter-spacing: .08em !important; color: #fff; display: flex; align-items: center; gap: 14px; }
.mjm-second .mjm-film-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 65px 5vw 30px; margin: 0; border: 0; background: #071919; color: #fff; }
.mjm-second .mjm-film-dialog::backdrop { background: #071919; }
.mjm-second .mjm-film-dialog video { width: 100%; height: 100%; object-fit: contain; }
.mjm-second .mjm-film-dialog > button { position: absolute; inset: 16px 24px auto auto; display: flex; align-items: center; gap: 15px; min-height: 44px; color: #fff; background: none; }
.mjm-second .mjm-film-dialog__heading { position: absolute; top: 16px; inset-inline: 5vw 160px; min-height: 44px; display: flex; align-items: center; gap: 28px; font-size: 14px; }
.mjm-second .mjm-film-dialog__heading a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mjm-second.rtl .mjm-film-dialog > button { inset-inline: auto 24px; }

/* Native sticky keeps the film in place while the mist reveals the next chapter. */
.mjm-second .mjm-hero-scroll { position: relative; }
.mjm-second .mjm-hero-scroll[data-cloud-journey=true] { height: calc(min(1300px,max(720px,100svh)) + 85svh); }
.mjm-second .mjm-hero-scroll[data-cloud-journey=true] .mjm-hero { position: sticky; top: 0; }
.mjm-second .mjm-clouds { position: absolute; inset: 0; z-index: 5; pointer-events: none; visibility: hidden; }
.mjm-second .mjm-clouds__layer { position: absolute; inset: 0 -8% auto; height: 110%; background: url('/images/second-design/cloud-mist.webp') center top / 100% 100% no-repeat; will-change: transform; }
.mjm-second .mjm-clouds__layer::after { content: ''; position: absolute; inset: 99% 0 auto; height: 150%; background: #fff; }
.mjm-second .mjm-clouds__layer--near { background-position: 60% top; }
@media (prefers-reduced-motion: no-preference) and (max-width: 999px),
       (prefers-reduced-motion: no-preference) and (hover: none),
       (prefers-reduced-motion: no-preference) and (pointer: coarse),
       (prefers-reduced-motion: no-preference) and (max-height: 600px) {
  .mjm-second .mjm-hero-scroll[data-cloud-journey=true] { height: calc(max(520px, 100svh) + 60svh); }
  .mjm-second .mjm-hero-scroll[data-cloud-journey=true] .mjm-hero { height: 100svh; max-height: none; }
  /* Preserve the wide cloud texture instead of stretching it into vertical streaks. */
  .mjm-second .mjm-clouds__layer { background-size: auto 100%; }
}
@media (max-height: 600px) and (prefers-reduced-motion: no-preference) {
  .mjm-second .mjm-hero-scroll[data-cloud-journey=true] { height: calc(max(360px, 100svh) + 60svh); }
}
.mjm-second .mjm-signature { display: block; width: min(100%,250px); height: auto; overflow: visible; transform: rotate(-6deg); stroke-width: 1.4; }
.mjm-second .mjm-signature-accent { position: absolute; width: calc(var(--mjm-unit) * 14.375); height: auto; top: calc(var(--mjm-unit) * -2.55); inset-inline-start: calc(var(--mjm-unit) * -5.6); color: #bababa; pointer-events: none; }
.mjm-second.rtl .mjm-signature-accent { transform: scaleX(-1); }

/* Editorial sections use quiet grids and photography instead of floating cards. */
.mjm-second .mjm-intro { position: relative; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); padding: calc(var(--mjm-unit) * 20) var(--mjm-grid-edge) calc(var(--mjm-unit) * 10); }
.mjm-second .mjm-section-label { display: flex; gap: 24px; align-items: baseline; font-size: 11px; }
.mjm-second .mjm-section-label p { font-size: 16px; font-family: var(--mjm-serif); font-style: italic; }
.mjm-second .mjm-intro__body { grid-column: 5 / 11; min-width: 0; }
.mjm-second .mjm-intro__quote { position: relative; width: fit-content; margin-bottom: calc(var(--mjm-unit) * 2); }
.mjm-second .mjm-intro__quote p { font-family: var(--mjm-serif); font-size: calc(var(--mjm-unit) * 1.125); font-style: italic; line-height: 1.2; margin: 0; }
.mjm-second .mjm-home h2 { color: var(--mjm-ink); font-family: var(--mjm-serif); font-size: clamp(42px,5.3vw,86px); line-height: 1.03; margin: 0 0 28px; font-weight: 400; }
.mjm-second .mjm-intro__body h2 { font-size: calc(var(--mjm-unit) * 2.625); line-height: 1; text-transform: uppercase; text-indent: 33.333%; text-wrap: wrap; margin-bottom: 0; }
.mjm-second .mjm-intro__statement { max-width: none; font-family: var(--mjm-serif); color: var(--mjm-ink); font-size: calc(var(--mjm-unit) * 2.625); line-height: 1; text-transform: uppercase; margin: 0; }
.mjm-second .mjm-intro__statement span { font-family: inherit !important; }
.mjm-second .mjm-intro__details { display: flex; align-items: start; justify-content: space-between; gap: 30px; margin-top: 32px; }
.mjm-second .mjm-intro__details .mjm-eyebrow { max-width: 240px; font-size: 9px; line-height: 1.8; margin: 0; color: var(--mjm-muted); }
.mjm-second .mjm-intro .mjm-line-link { min-width: 180px; font-size: 11px; flex-shrink: 0; }
.mjm-second.rtl .mjm-intro .mjm-intro__body h2,.mjm-second.rtl .mjm-intro__statement { font-size: calc(var(--mjm-unit) * 2); line-height: 1.6; }
.mjm-second .mjm-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; padding: 0 4vw; margin-bottom: 48px; }
.mjm-second .mjm-section-heading h2 { margin-bottom: 0; max-width: 820px; }
.mjm-second .mjm-section-heading > .mjm-line-link { flex-shrink: 0; margin-bottom: 7px; }
.mjm-second .mjm-treatments { padding-block: 85px 110px; background: #e6e9e2; }
.mjm-second .mjm-treatment-rail { position: relative; }
.mjm-second .mjm-treatment-rail__controls { display: flex; justify-content: end; gap: 8px; padding: 0 4vw 24px; }
.mjm-second .mjm-treatment-rail__controls button { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--mjm-line); color: var(--mjm-ink); background: transparent; }
.mjm-second .mjm-treatment-rail__controls button:hover { background: #d6ddd2; }
.mjm-second .mjm-treatment-rail__controls svg { width: 18px; }
.mjm-second .mjm-treatment-rail__track { display: flex; overflow-x: auto; gap: 24px; padding: 0 4vw 20px; overscroll-behavior: contain auto; scrollbar-width: thin; scrollbar-color: #8b9a8a transparent; }
.mjm-second .mjm-treatment-rail__track:focus-visible { outline-offset: -4px; }
@media (hover: none) { .mjm-second .mjm-treatment-rail__track { scroll-snap-type: x mandatory; } }
.mjm-second .mjm-treatment { flex: 0 0 36vw; min-width: 0; color: var(--mjm-ink); text-decoration: none; scroll-snap-align: center; }
.mjm-second .mjm-treatment__image { position: relative; aspect-ratio: 4/4.3; overflow: hidden; background: #c1ccc1; }
.mjm-second .mjm-treatment__image img { object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.3,1); }
.mjm-second .mjm-treatment:hover img { transform: scale(1.045); }
.mjm-second .mjm-treatment__image > span { position: absolute; top: 22px; inset-inline-start: 22px; color: #fff; font-size: 11px; padding: 5px 10px; background: rgba(20,43,38,.55); }
.mjm-second .mjm-treatment__image > svg { position: absolute; bottom: 20px; inset-inline-end: 20px; width: 45px; height: 45px; padding: 10px; background: #f5f5f0; color: var(--mjm-ink); }
.mjm-second .mjm-treatment__copy { padding-top: 25px; }
.mjm-second .mjm-treatment__copy h3 { color: inherit; font-size: 38px; line-height: 1.15; margin-bottom: 15px; }
.mjm-second .mjm-treatment__copy p { max-width: 460px; color: #576960; font-size: 14px; line-height: 1.7; min-height: 48px; }
.mjm-second .mjm-treatment__copy > span { display: inline-flex; align-items: center; gap: 20px; font-size: 11px; padding-top: 12px; }
/* Doctor profile: Aventura Dental Arts inspired scale, contrast and portrait reveal. */
.mjm-second .mjm-doctor { position: relative; background: #14151d; color: #eeece7; text-align: start; padding: 76px max(5vw,54px) 92px; }
.mjm-second .mjm-doctor__inner { max-width: 1440px; margin-inline: auto; }
.mjm-second .mjm-doctor__chapter { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #45464d; padding-top: 24px; margin-bottom: 34px; }
.mjm-second .mjm-doctor__chapter .mjm-eyebrow { display: flex; gap: 20px; margin: 0; font-size: 12px; }
.mjm-second .mjm-doctor__chapter .mjm-eyebrow > span { color: #dfb890; }
.mjm-second .mjm-doctor__chapter > span { font-size: 13px; color: #c0c0c5; }
.mjm-second .mjm-doctor h2 { margin: 0 0 52px; color: #eeece7; font-size: clamp(72px,9.4vw,158px); line-height: 1.04; text-wrap: initial; }
.mjm-second .mjm-doctor h2 span { display: inline-block; font-family: inherit; font-weight: inherit; }
.mjm-second .mjm-doctor h2 > span { overflow: hidden; padding-block: .06em .14em; margin-block: -.06em -.14em; vertical-align: top; }
.mjm-second .mjm-doctor__body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(48px,7vw,112px); }
/* Let the portrait sit above the fixed grid without raising the whole page. */
.mjm-second .dr-route-main:has(.mjm-doctor) { z-index: auto; }
.mjm-second .mjm-doctor__portrait { position: relative; z-index: 21; margin: 0; width: 100%; max-width: 580px; min-width: 0; }
.mjm-second .mjm-doctor__image { position: relative; width: 100%; aspect-ratio: 4 / 5; background: transparent; isolation: isolate; }
.mjm-second .mjm-doctor__image :is(img,video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform-origin: center bottom; mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 87%, transparent), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
.mjm-second .mjm-doctor__portrait figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding-top: 18px; color: #b7b8be; font-size: 13px; line-height: 1.5; }
.mjm-second .mjm-doctor__copy { min-width: 0; max-width: 600px; padding-block: 16px; }
.mjm-second .mjm-doctor__role { color: #c4c4c9; font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
.mjm-second .mjm-doctor__statement { font-family: var(--mjm-serif); font-size: clamp(34px,3.6vw,56px); line-height: 1.12; letter-spacing: -.025em !important; color: #eeece7; margin: 0 0 30px; max-width: 560px; }
.mjm-second .mjm-doctor__bio { color: #c4c4c9; font-size: 18px; line-height: 1.75; margin: 0 0 34px; max-width: 520px; }
.mjm-second .mjm-doctor__facts { margin: 0; border-top: 1px solid #45464d; font-family: var(--font-interface),sans-serif; }
.mjm-second .mjm-doctor__facts > div { display: grid; grid-template-columns: minmax(90px,.65fr) minmax(0,1fr); align-items: baseline; gap: 18px; padding-block: 15px; border-bottom: 1px solid #45464d; }
.mjm-second .mjm-doctor__facts dt { font-size: 14px; line-height: 1.5; font-weight: 400; color: #a9aab2; }
.mjm-second .mjm-doctor__facts dd { font-size: 16px; line-height: 1.55; margin: 0; color: #eeece7; }
.mjm-second .mjm-doctor__closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 34px; }
.mjm-second .mjm-doctor__signature { width: 200px; color: #dfb890; }
.mjm-second .mjm-doctor__link { display: inline-flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 26px; padding: 14px 22px; border: 1px solid #eeece7; border-radius: 40px; background: #eeece7; color: #14151d; font-size: 15px; line-height: 1.5; text-decoration: none; transition: background .25s,color .25s; }
.mjm-second .mjm-doctor__link svg { flex-shrink: 0; transition: transform .3s; }
.mjm-second .mjm-doctor__link:hover, .mjm-second .mjm-doctor__link:focus-visible { background: #242530; color: #fff; }
.mjm-second .mjm-doctor__link:hover svg { transform: translate(2px,-2px); }
.mjm-second.rtl .mjm-doctor h2 { font-size: clamp(58px,7vw,114px); line-height: 1.55; }
.mjm-second.rtl .mjm-doctor__statement { font-size: clamp(28px,2.8vw,44px); line-height: 1.65; }
.mjm-second.rtl .mjm-doctor__facts { font-family: var(--font-noto-arabic),sans-serif; }
@media (max-width:1100px) {
  .mjm-second .mjm-doctor__body { gap: 40px; align-items: start; }
  .mjm-second .mjm-doctor__bio { font-size: 16px; }
  .mjm-second .mjm-doctor__closing { gap: 20px; }
  .mjm-second .mjm-doctor__facts > div { grid-template-columns: 1fr; gap: 4px; padding-block: 10px; }
}
@media (max-width:760px) {
  .mjm-second .mjm-doctor { padding: 52px 24px 64px; }
  .mjm-second .mjm-doctor__chapter { margin-bottom: 28px; padding-top: 18px; }
  .mjm-second .mjm-doctor__chapter > span { display: none; }
  .mjm-second .mjm-doctor h2 { font-size: clamp(50px,12.3vw,88px); line-height: 1.05; margin-bottom: 32px; }
  .mjm-second .mjm-doctor__body { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .mjm-second .mjm-doctor__portrait { max-width: 480px; }
  .mjm-second .mjm-doctor__portrait figcaption { font-size: 12px; padding-top: 12px; }
  .mjm-second .mjm-doctor__copy { padding: 0; }
  .mjm-second .mjm-doctor__role { font-size: 14px; margin-bottom: 18px; }
  .mjm-second .mjm-doctor__statement { font-size: clamp(32px,7vw,46px); margin-bottom: 22px; }
  .mjm-second .mjm-doctor__bio { font-size: 16px; margin-bottom: 26px; }
  .mjm-second .mjm-doctor__facts > div { grid-template-columns: minmax(70px,.65fr) minmax(0,1fr); gap: 12px; padding-block: 14px; }
  .mjm-second .mjm-doctor__facts dt { font-size: 13px; }
  .mjm-second .mjm-doctor__facts dd { font-size: 14px; }
  .mjm-second .mjm-doctor__closing { margin-top: 26px; }
  .mjm-second .mjm-doctor__link { min-height: 52px; font-size: 14px; }
  .mjm-second.rtl .mjm-doctor h2 { font-size: clamp(40px,10vw,66px); line-height: 1.6; }
  .mjm-second.rtl .mjm-doctor__statement { font-size: 28px; line-height: 1.65; }
}
.mjm-second .mjm-results { padding-block: 125px; }
.mjm-second .mjm-results__body { padding: 25px 4vw 0; display: grid; grid-template-columns: 1fr 1.8fr; gap: 7vw; align-items: center; }
.mjm-second .mjm-results__quote { font-family: var(--mjm-serif); font-size: 32px; line-height: 1.3; color: var(--mjm-ink); margin-bottom: 40px; }
.mjm-second .mjm-results__body > div > p:not(.mjm-results__quote):not(.mjm-eyebrow) { font-size: 14px; line-height: 1.8; color: var(--mjm-muted); }
.mjm-second .mjm-results__body .mjm-line-link { margin-top: 25px; }
.mjm-second .mjm-comparison { position: relative; aspect-ratio: 1.25; background: #cdd5cb; overflow: hidden; }
.mjm-second .mjm-comparison img { object-fit: cover; }
.mjm-second .mjm-comparison__before { position: absolute; inset: 0; }
.mjm-second .mjm-comparison__label { position: absolute; top: 20px; background: rgba(12,35,32,.65); color: white; padding: 7px 12px; font-size: 11px; line-height: 1.3; pointer-events: none; }
.mjm-second .mjm-comparison__label--before { left: 20px; }
.mjm-second .mjm-comparison__label--after { right: 20px; }
.mjm-second .mjm-comparison__handle { position: absolute; top: 0; bottom: 0; width: 1px; background: white; pointer-events: none; }
.mjm-second .mjm-comparison__handle svg { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; padding: 14px; background: white; color: #203938; border-radius: 50%; transform: translate(-50%,-50%); }
.mjm-second .mjm-comparison input { position: absolute; inset: 0; margin: 0; padding: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.mjm-second .mjm-comparison:focus-within { outline: 3px solid #a66b45; outline-offset: 4px; }
.mjm-second .mjm-places { padding-top: 85px; background: #e6e9e2; }
.mjm-second .mjm-places__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.mjm-second .mjm-place { display: block; position: relative; min-height: 610px; overflow: hidden; color: #fff; }
.mjm-second .mjm-place img { object-fit: cover; transition: transform .9s ease; }
.mjm-second .mjm-place:hover img { transform: scale(1.035); }
.mjm-second .mjm-place::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,20,20,.18),transparent 20%,rgba(0,20,20,.8)); }
.mjm-second .mjm-place__top { position: absolute; z-index: 1; inset: 28px 30px auto; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.mjm-second .mjm-place__bottom { position: absolute; z-index: 1; inset: auto 4vw 40px; }
.mjm-second .mjm-place__bottom h3 { font-size: 53px; line-height: 1.1; color: #fff; }
.mjm-second .mjm-place__bottom p { color: #e2e9e3; font-size: 13px; line-height: 1.7; max-width: 400px; margin: 20px 0; }
.mjm-second .mjm-place__bottom small { color: #cadacf; font-size: 10px; letter-spacing: .14em !important; }
.mjm-second .mjm-international { display: grid; grid-template-columns: 1fr 2fr; gap: 7vw; padding: 130px 7vw; }
.mjm-second .mjm-international__body > p { max-width: 630px; font-size: 16px; line-height: 1.9; color: var(--mjm-muted); }
.mjm-second .mjm-international__body .mjm-line-link { margin-top: 25px; }
.mjm-second .mjm-flight { display: flex; align-items: center; gap: 20px; color: #63796b; padding-top: 80px; font-size: 11px; }
.mjm-second .mjm-flight i { flex: 1; border-top: 1px dashed #91a38f; }
.mjm-second .mjm-journey { background: #e7eae3; padding-block: 100px 120px; }
.mjm-second .mjm-journey__steps { margin: 70px 4vw 0; display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--mjm-line); }
.mjm-second .mjm-journey__steps > a { display: flex; flex-direction: column; align-items: start; border-inline-end: 1px solid var(--mjm-line); padding: 45px 3vw; text-decoration: none; color: inherit; }
.mjm-second .mjm-journey__steps > a:first-child { padding-inline-start: 0; }
.mjm-second .mjm-journey__steps > a:last-child { border-inline-end: none; }
.mjm-second .mjm-journey__steps > a > span { font-size: 11px; margin-bottom: 45px; }
.mjm-second .mjm-journey__steps h3 { font-size: 35px; line-height: 1.1; color: inherit; margin-bottom: 20px; }
.mjm-second .mjm-journey__steps p { color: #647569; font-size: 14px; line-height: 1.85; flex: 1; }
.mjm-second .mjm-journey__steps svg { margin-top: 25px; }

/* Footer becomes a spacious directory and a signature, on every public page. */
.mjm-second .mjm-footer { background: #173937; color: #e8ede4; padding: 85px 4vw 0; }
.mjm-second .mjm-footer a { color: inherit; text-decoration: none; }
.mjm-second .mjm-footer a:hover { color: #bccdb7; }
.mjm-second .mjm-footer__invitation { padding-bottom: 65px; border-bottom: 1px solid rgba(238,245,233,.2); }
.mjm-second .mjm-footer__invitation > a { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-family: var(--mjm-serif); font-size: clamp(40px,6vw,94px); line-height: 1.1; }
.mjm-second .mjm-footer__invitation > a > svg { width: 65px; height: 65px; flex-shrink: 0; }
.mjm-second .mjm-footer__directory { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr .8fr; gap: 6vw; padding: 65px 0; }
.mjm-second .mjm-footer__directory h3 { color: #e8ede4; font-size: 23px; margin-bottom: 24px; }
.mjm-second .mjm-footer__directory p { color: #b7c6bd; font-size: 12px; line-height: 1.9; }
.mjm-second .mjm-footer__directory a { display: block; font-size: 12px; line-height: 1.7; margin-bottom: 12px; }
.mjm-second .mjm-footer__directory .mjm-footer__map { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.mjm-second .mjm-footer__wordmark { font-family: var(--mjm-display) !important; font-size: 14.4vw; line-height: 1.2; letter-spacing: -.045em !important; white-space: nowrap; text-align: center; color: #d4ddca; }
.mjm-second .mjm-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(238,245,233,.2); min-height: 85px; padding-block: 24px; font-size: 10px; }
.mjm-second .mjm-footer__base > div { display: flex; flex-wrap: wrap; gap: 20px; }
.mjm-second .mjm-footer__base a, .mjm-second .mjm-footer__base button { display: flex; align-items: center; gap: 8px; color: inherit; background: none; font-size: 10px; }

/* The same design system carries through the existing data-driven pages. */
.mjm-second .dr-route-main > :is(article,main):has(.mjm-chapters) { overflow: clip; }
.mjm-second:has(.mjm-chapters) section[id] { scroll-margin-top: calc(var(--mjm-header-size) + 90px); }
.mjm-second .mjm-chapters { position: sticky; top: var(--mjm-header-size); z-index: 40; padding-inline: 4vw; border-bottom: 1px solid var(--mjm-line); background: rgba(245,245,240,.97); backdrop-filter: blur(6px); }
.mjm-second .mjm-chapters__rail { display: flex; align-items: stretch; gap: 34px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.mjm-second .mjm-chapters a { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 65px; gap: 10px; color: var(--mjm-muted); border-bottom: 2px solid transparent; font-size: 12px; line-height: 1.5; text-decoration: none; transition: color .2s,border-color .2s; }
.mjm-second .mjm-chapters a > span { font-size: 9px; opacity: .65; }
.mjm-second .mjm-chapters a[aria-current],.mjm-second .mjm-chapters a:hover { color: var(--mjm-ink); border-bottom-color: currentColor; }
.mjm-second .mjm-chapters a:focus-visible { outline-offset: -5px; }
.mjm-second .mjm-catalog-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 660px; height: min(900px,94svh); padding: 150px 6vw 65px; background: #24453d; color: white; overflow: hidden; }
.mjm-second .mjm-catalog-hero__media,.mjm-second .mjm-catalog-hero__shade { position: absolute; inset: 0; z-index: -1; }
.mjm-second .mjm-catalog-hero__media img { object-fit: cover; object-position: 50% 48%; }
.mjm-second .mjm-catalog-hero__shade { background: linear-gradient(180deg,rgba(9,36,29,.4),rgba(9,36,29,.16) 35%,rgba(9,36,29,.76)); }
.mjm-second .mjm-catalog-hero::after { position: absolute; inset: 0 6vw; pointer-events: none; content: ''; z-index: -1; border-inline: 1px solid #ffffff20; background: repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#ffffff12 calc(25% - 1px),#ffffff12 25%); }
.mjm-second .mjm-catalog-hero__trail { display: flex; gap: 14px; font-size: 11px; }
.mjm-second .mjm-catalog-hero__trail :is(a,span) { color: white; }
.mjm-second .mjm-catalog-hero > .mjm-eyebrow { text-align: center; margin-block: auto; padding-block: 50px; color: white; }
.mjm-second .mjm-catalog-hero__title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 60px; }
.mjm-second .mjm-catalog-hero h1 { font-family: var(--mjm-display) !important; color: white !important; text-transform: uppercase; font-size: clamp(88px,14vw,220px); line-height: 1; margin: 0; }
.mjm-second .mjm-catalog-hero__title > a { display: inline-flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 30px; padding-block: 12px; color: white; border-block: 1px solid #ffffff70; font-size: 12px; }
.mjm-second .mjm-catalog-hero__title svg { width: 17px; }
.mjm-second .mjm-catalog-intro { --ink: var(--mjm-ink); --teal: #365747; --rose: #6b806e; --line: var(--mjm-line); background: var(--mjm-paper); }
.mjm-second .mjm-catalog { padding: 110px 4vw 130px; background: #e8ece3; }
.mjm-second .mjm-catalog__shell { max-width: 1440px; margin-inline: auto; }
.mjm-second .mjm-catalog__heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 70px; margin-bottom: 55px; }
.mjm-second .mjm-catalog__heading .sec-title { margin: 0; padding: 0; }
.mjm-second .mjm-catalog__heading .sub-title { margin-bottom: 20px; }
.mjm-second .mjm-catalog__heading .sub-title p { color: #4e6856; font-size: 11px; text-transform: uppercase; }
.mjm-second .mjm-catalog__heading .dotted { display: none; }
.mjm-second .mjm-catalog__heading h2 { color: var(--mjm-ink); }
.mjm-second .mjm-catalog__heading .text-box > p { margin: 0; color: #52645b; font-size: 15px; line-height: 1.8; }
.mjm-second .mjm-catalog__search { margin-bottom: 64px; }
.mjm-second .mjm-catalog__search label { color: var(--mjm-ink); font-size: 12px; font-weight: 500; }
.dentexa-site.mjm-second .mjm-catalog__search input { max-width: none; padding: 14px 0; border: 0 !important; border-bottom: 1px solid #20393860 !important; border-radius: 0 !important; color: var(--mjm-ink) !important; background: transparent !important; box-shadow: none; backdrop-filter: none; }
.dentexa-site.mjm-second .mjm-catalog__search input:focus { border-bottom-color: var(--mjm-ink) !important; outline: 2px solid #526a5650 !important; outline-offset: 4px; }
.mjm-second .mjm-catalog__search button { background: var(--mjm-ink); color: var(--mjm-paper); border-radius: 0; }
.mjm-second .mjm-catalog__empty :is(h3,p,a) { color: var(--mjm-ink); }
.mjm-second .mjm-catalog__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 72px 40px; }
.mjm-second .mjm-catalog-card { display: block; min-width: 0; color: var(--mjm-ink); text-decoration: none; }
.mjm-second .mjm-catalog-card__media { position: relative; isolation: isolate; aspect-ratio: 4/3; background: #c2cfc0; }
.mjm-second .mjm-catalog-card__frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.mjm-second .mjm-catalog-card__number { position: absolute; top: 18px; inset-inline-start: 18px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff60; background: #173d32b0; color: white; font-size: 10px; }
.mjm-second .mjm-catalog-card__arrow { position: absolute; bottom: 18px; inset-inline-end: 18px; display: grid; place-items: center; width: 48px; height: 48px; background: var(--mjm-paper); color: var(--mjm-ink); transition: background .25s,color .25s; }
.mjm-second .mjm-catalog-card:hover .mjm-catalog-card__arrow { color: white; background: var(--mjm-ink); }
.mjm-second .mjm-catalog-card__copy { padding: 28px 0 20px; border-bottom: 1px solid var(--mjm-line); }
.mjm-second .mjm-catalog-card h3 { color: var(--mjm-ink); font-size: clamp(32px,3.2vw,50px); line-height: 1.15; margin: 0 0 18px; }
.mjm-second .mjm-catalog-card p { color: #506258; font-size: 14px; line-height: 1.8; margin: 0 0 24px; }
.mjm-second .mjm-catalog-card__copy > span { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--mjm-ink); }
.mjm-second.rtl .mjm-catalog-hero h1 { font-family: var(--font-noto-arabic),sans-serif !important; font-size: clamp(48px,8vw,120px); line-height: 1.5; }
.mjm-second.rtl .mjm-catalog-card h3 { font-size: clamp(26px,2.4vw,38px); line-height: 1.65; }
.mjm-second .dr-route-main > :is(article, main)[class] { padding-top: 90px; }
.mjm-second .breadcrumb-area { padding: 180px 4vw 80px !important; min-height: 390px; background: #e2e7dd !important; }
.mjm-second .breadcrumb-area-bg { display: none; }
.mjm-second .breadcrumb-area::before { display: none; }
.mjm-second .breadcrumb-area .inner-content { background: none !important; padding: 0 !important; border: 0 !important; backdrop-filter: none !important; }
.mjm-second .breadcrumb-area .title :is(h1,h2) { font-family: var(--mjm-display) !important; font-size: clamp(52px,7.5vw,110px) !important; text-transform: uppercase; line-height: 1.06 !important; color: var(--mjm-ink) !important; }
.mjm-second .breadcrumb-menu :is(a,li,i) { color: #69786a !important; font-size: 11px !important; }
.dentexa-site.mjm-second .breadcrumb-area .breadcrumb-menu ul li,
.dentexa-site.mjm-second .breadcrumb-area .breadcrumb-menu ul li :is(a,span,i) { color: #536c5d !important; }
.mjm-second .sec-title h2, .mjm-second .dr-guide-section-heading h2 { font-size: clamp(36px,4.4vw,66px) !important; line-height: 1.08 !important; }
.mjm-second :is(.dr-guide-card,.dr-guide-button,.dr-guide-hero__media,.dr-hub-card,.dr-hub-hero__media,.dr-dana-gallery-case,.dr-dana-case-film,.dr-dana-instagram-card,.single-service-style1,.single-service-style2) { border-radius: 0 !important; box-shadow: none !important; }
.mjm-second :is(.dr-guide-page,.dr-hub-page) { background: var(--mjm-paper) !important; --dr-guide-paper: #f5f5f0; --dr-guide-ink: #203938; --dr-guide-rose: #6e8070; }
.mjm-second :is(.dr-guide-hero,.dr-hub-hero) { background: #e4e8df !important; padding-top: 75px !important; }
.mjm-second :is(.dr-guide-hero,.dr-hub-hero) h1 { font-size: clamp(42px,5.2vw,78px) !important; line-height: 1.08 !important; }
.mjm-second :is(.dr-guide-hero,.dr-hub-hero) h1 em { color: #748473 !important; }
.mjm-second :is(.dr-guide-index,.dr-hub-index) { top: 90px !important; background: rgba(245,245,240,.97) !important; backdrop-filter: blur(5px) !important; }
.mjm-second .dr-guide-card { background: transparent !important; border: 1px solid var(--mjm-line) !important; }
.mjm-second .dr-guide-hero__media { clip-path: none !important; }
.mjm-second .dr-guide-fact { background: transparent !important; box-shadow: none !important; }
.mjm-second .dr-dana-gallery-page { background: var(--mjm-paper) !important; }
.mjm-second .dr-dana-gallery-hero { padding-top: 180px !important; min-height: 670px; }
.mjm-second .dr-dana-gallery-hero h1 { font-family: var(--mjm-display) !important; text-transform: uppercase; font-size: clamp(60px,8vw,130px) !important; line-height: 1.05 !important; }
.mjm-second .dr-dana-gallery-hero__media { filter: none !important; }
.mjm-second .dr-dana-gallery-hero__shade { background: linear-gradient(90deg,rgba(5,27,25,.83),rgba(5,27,25,.3)) !important; }
.mjm-second :is(.dr-dana-gallery-results,.dr-dana-case-films,.dr-dana-instagram-section) { background: var(--mjm-paper) !important; }
.mjm-second .dr-dana-gallery-toolbar { background: #e6eae1 !important; border-radius: 0 !important; box-shadow: none !important; }
.mjm-second .dr-dana-gallery-case { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--mjm-line) !important; }
.mjm-second .dr-dana-gallery-case__content { padding-inline: 0 !important; }
.mjm-second .dr-dana-gallery-case__content h3 { font-size: 30px !important; }
.mjm-second :is(.dr-dana-gallery-filter-buttons button,.dr-dana-gallery-controls select,.dr-dana-gallery-controls input) { border-radius: 0 !important; }
.dentexa-site.mjm-second :is(.dr-dana-gallery-heading h2,.dr-dana-case-films__intro h2,.dr-dana-case-film figcaption,.dr-dana-gallery-case__content h3,.dr-dana-gallery-empty h3,.dr-dana-gallery-empty > span) { color: var(--mjm-ink) !important; }
.dentexa-site.mjm-second :is(.dr-dana-gallery-heading > p,.dr-dana-case-films__intro > p:last-child,.dr-dana-gallery-case__content p,.dr-dana-gallery-toolbar__title,.dr-dana-gallery-count,.dr-dana-gallery-controls label > span,.dr-dana-gallery-pagination p,.dr-dana-gallery-empty p,.dr-dana-gallery-status) { color: #506258 !important; }
.dentexa-site.mjm-second :is(.dr-dana-gallery-heading,.dr-dana-case-films__intro) .dr-dana-gallery-eyebrow,
.dentexa-site.mjm-second .dr-dana-gallery-case__content > div > span { color: #596f58; }
.dentexa-site.mjm-second :is(.dr-dana-gallery-heading,.dr-dana-gallery-toolbar,.dr-dana-gallery-toolbar__top,.dr-dana-gallery-results,.dr-dana-case-films) { border-color: var(--mjm-line) !important; }
.dentexa-site.mjm-second :is(.dr-dana-gallery-filter-buttons button,.dr-dana-gallery-pagination button,.dr-dana-gallery-controls select,.dr-dana-gallery-controls input,.dr-dana-gallery-reset,.dr-dana-gallery-case__content > a) { border-color: #20393840 !important; border-radius: 0 !important; background: var(--mjm-paper) !important; color: var(--mjm-ink) !important; box-shadow: none; backdrop-filter: none; }
.dentexa-site.mjm-second :is(.dr-dana-gallery-filter-buttons button,.dr-dana-gallery-pagination button):is(.is-active,:hover:not(:disabled)),
.dentexa-site.mjm-second :is(.dr-dana-gallery-reset,.dr-dana-gallery-case__content > a):hover:not(:disabled) { background: var(--mjm-ink) !important; color: var(--mjm-paper) !important; border-color: var(--mjm-ink) !important; }
.dentexa-site.mjm-second :is(.dr-dana-gallery-empty,.dr-dana-gallery-status) { background: #e6eae1 !important; border-color: var(--mjm-line) !important; color: var(--mjm-ink); }
.dentexa-site.mjm-second .dr-dana-gallery-status.is-error { color: #8b342f !important; }
.dentexa-site.mjm-second .dr-dana-comparison:focus-visible { outline-color: var(--mjm-ink); }
.mjm-second .service-style1-area { background: #f5f5f0 !important; }
.mjm-second .service-details-area { padding-block: 90px; background: var(--mjm-paper) !important; }
.mjm-second .view-all-service { background: transparent !important; border: 1px solid var(--mjm-line) !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
.mjm-second .view-all-service .title { background: #e1e7d9; }
.mjm-second .view-all-service .title h3 { color: #203938; font-size: 29px; }
.mjm-second .view-all-service ul li a { border-color: var(--mjm-line); }
.mjm-second .sidebar-contact-info-box { background: #1d3f35; border-radius: 0; box-shadow: none; }
.mjm-second .sidebar-contact-info-box__bg { display: none; }
.mjm-second .sidebar-contact-info-box .phone h2 { font-family: var(--font-dm-sans),sans-serif !important; font-size: 24px; }
.mjm-second .single-details-main-content .icon { display: none; }
.mjm-second .single-details-main-content .title-holder { background: transparent !important; backdrop-filter: none; padding-inline: 0; }
.mjm-second .single-details-main-content .title-holder h2 { font-size: clamp(36px,4.4vw,62px); color: #203938; line-height: 1.12; }
.mjm-second .service-details-content :is(.img-holder,.img-holder img,.single-box,.inner,.accordion.block) { border-radius: 0 !important; box-shadow: none !important; }
.mjm-second .service-details-content .acc-btn { border-bottom: 1px solid var(--mjm-line); background: transparent; color: #203938; }
.mjm-second .service-details-content .acc-content { background: transparent; }
.mjm-second .service-style1-area :is(h2,h3,a,p,label) { color: #203938; }
.mjm-second .service-style1-area .sec-title :is(h2,p) { color: #203938 !important; }
.mjm-second .single-service-style1 { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--mjm-line) !important; }
.mjm-second .single-service-style1 .text-holder { background: transparent !important; padding-inline: 0 !important; }
.mjm-second .single-service-style1 .text-holder h3 { font-size: 33px !important; }
.mjm-second .single-service-style1 .icon { display: none; }
.mjm-second .single-service-style1 .img-holder { border-radius: 0 !important; }
.mjm-second :is(.btn-one,.theme-btn,.dr-guide-button) { border-radius: 0 !important; box-shadow: none !important; background: #234b43 !important; border-color: #234b43 !important; color: #f5f5f0 !important; }
.mjm-second :is(.btn-one,.theme-btn,.dr-guide-button):hover { background: #355d52 !important; }
.mjm-second :is(.btn-one,.theme-btn,.dr-guide-button)::before,.mjm-second :is(.btn-one,.theme-btn,.dr-guide-button)::after { display: none; }
.mjm-second :is(.btn-one,.theme-btn,.dr-guide-button) :is(span,i) { color: inherit !important; }
.mjm-second .dr-dana-booking-page { background: #eef0e7 !important; padding-top: 25px; }
.mjm-second .dr-dana-booking-intro h1 { font-family: var(--mjm-serif) !important; font-weight: 400 !important; }
.mjm-second .dr-dana-booking-page :is(input,select,textarea,button) { border-radius: 0 !important; }
.mjm-second .dr-dana-booking-page .rounded-3xl { border-radius: 0 !important; box-shadow: none !important; }
.mjm-second [data-design-hero] { min-height: 720px; background: #1c3c3a !important; color: #fff; }
.mjm-second [data-design-hero] h1 { font-family: var(--mjm-display) !important; text-transform: uppercase; color: #fff !important; font-size: clamp(65px,8vw,128px) !important; line-height: 1.07 !important; }
.mjm-second [data-design-hero] [data-design-intro] { color: #dbe6dc; }
.mjm-second [data-design-hero] a[class] { color: #f5f5f0 !important; border: 1px solid rgba(245,245,240,.55); border-radius: 0; background: transparent; box-shadow: none; }
.mjm-second [data-design-hero] a[class]:hover { background: rgba(245,245,240,.12); }
.mjm-second [data-design-hero] a[href*="/booking"] { background: #e1e7d9; color: #203938 !important; border-color: #e1e7d9; }
.mjm-second [data-design-hero] a[href*="/booking"]:hover { background: #fff; }
.mjm-second .dr-route-main > article { --teal: #2b5046; --teal-deep: #193b32; --rose: #74836d; --rose-light: #c5d0bc; --paper: #f5f5f0; --mist: #e3e8dd; --ink: #203938; --contact-teal: #2b5046; --contact-rose: #74836d; }
.mjm-second [data-design-hero="portrait"] [data-design-media] { width: 52%; }
.mjm-second [data-design-hero="portrait"] [data-design-copy] :is(p,em) { color: #d9e3d7 !important; }
.mjm-second [data-design-hero="portrait"] [data-design-copy] { width: min(600px,45%); }
.mjm-second [data-design-hero="portrait"]::before { display: none; }
.mjm-second [data-design-hero="portrait"] h1 { font-size: clamp(60px,6.2vw,100px) !important; }
.mjm-second .scroll-top { display: none !important; }

/* Condensed Latin typography must never distort connected Arabic script. */
.mjm-second.rtl .mjm-hero h1 { font-family: var(--font-noto-arabic),sans-serif !important; font-size: clamp(65px,12vw,185px); line-height: 1.45; letter-spacing: 0 !important; }
.mjm-second.rtl :is(.breadcrumb-area .title h1,.breadcrumb-area .title h2,.dr-dana-gallery-hero h1,[data-design-hero] h1) { font-family: var(--font-noto-arabic),sans-serif !important; font-size: clamp(38px,5.6vw,88px) !important; line-height: 1.5 !important; }
.mjm-second.rtl .mjm-home h2 { line-height: 1.55; font-size: clamp(33px,3.6vw,58px); }
.mjm-second.rtl .mjm-treatment__copy h3 { font-size: 26px; line-height: 1.7; }
.mjm-second.rtl .mjm-header__links a { padding-inline: 12px; }
.mjm-second.rtl .mjm-menu__body nav > a { font-size: clamp(21px,2vw,31px); line-height: 1.6; }
.mjm-second.rtl .mjm-footer__invitation > a { font-size: clamp(30px,4.5vw,66px); line-height: 1.6; }

@keyframes mjm-menu-in { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
/* One restrained portrait beside the copy, within the reference's tall chapter. */
.mjm-second .mjm-practice-story { --mjm-practice-top: max(120px,16svh); position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 8vw; min-height: 150svh; padding: 16svh 10vw 18svh; color: var(--mjm-ink); background-color: #fff; }
.mjm-second .mjm-practice-story__intro { padding-top: 7svh; min-width: 0; }
.mjm-second .mjm-practice-story__intro > .mjm-eyebrow { margin-bottom: 30px; }
.mjm-second .mjm-practice-story__copy { max-width: 295px; }
.mjm-second .mjm-practice-story__copy > p { font-size: 15px; line-height: 1.7; margin-bottom: 26px; }
.mjm-second .mjm-practice-story__copy .mjm-line-link { font-size: 12px; min-height: 44px; min-width: 185px; }
.mjm-second .mjm-practice-story__intro h2 { font-size: clamp(42px,4.5vw,72px); line-height: 1.08; margin: 0 0 34px; max-width: 510px; }
.mjm-second .mjm-practice-story__scene { position: relative; justify-self: end; width: min(100%,460px,54svh); margin: 0; min-width: 0; }
.mjm-second .mjm-practice-story__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; background: #fff; }
.mjm-second .mjm-practice-story__photo :is(img,video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mjm-second .mjm-practice-story__scene figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--mjm-line); color: var(--mjm-muted); font-size: 11px; line-height: 1.6; }
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .mjm-second .mjm-practice-story__intro,.mjm-second .mjm-practice-story__scene { position: sticky; top: var(--mjm-practice-top); }
}
@media (min-width: 761px) and (max-width: 999px) {
  .mjm-second .mjm-practice-story { min-height: 110svh; gap: 6vw; padding: 100px 8vw; }
  .mjm-second .mjm-practice-story__intro { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .mjm-second .mjm-practice-story { min-height: 100svh; }
}
.mjm-second .mjm-globe { width: min(440px,100%); margin-top: 40px; }
.mjm-second .mjm-globe__view { position: relative; aspect-ratio: 1; width: 100%; }
.mjm-second .mjm-globe canvas,.mjm-second .mjm-globe__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.mjm-second .mjm-globe canvas { opacity: 0; transition: opacity .6s; }
.mjm-second .mjm-globe[data-ready=true] canvas { opacity: 1; }
.mjm-second .mjm-globe__fallback { fill: none; color: #63836a; stroke: currentColor; stroke-width: 1; }
.mjm-second .mjm-globe[data-ready=true] .mjm-globe__fallback { visibility: hidden; }
.mjm-second .mjm-globe__controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; }
.mjm-second .mjm-globe__controls button { display: grid; place-items: center; width: 44px; height: 44px; background: none; color: inherit; border: 1px solid var(--mjm-line); }
.mjm-second .mjm-international { grid-template-columns: 1fr 1.35fr; align-items: center; }
.mjm-second .mjm-international .mjm-section-label { display: block; }
.mjm-second .mjm-international .mjm-section-label > :is(span,p) { display: inline; margin-inline-end: 18px; }
.mjm-second .mjm-cursor { position: fixed; top: 0; left: 0; z-index: 1002; display: grid; place-items: center; width: 6px; height: 6px; margin: -3px; background: var(--mjm-orange); color: #fff; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .2s,visibility .2s,width .2s,height .2s,margin .2s,background .2s; }
.mjm-second .mjm-cursor[data-visible=true] { opacity: 1; visibility: visible; }
.mjm-second .mjm-cursor :is(i,span) { display: none; color: white; font-size: 23px; font-style: normal; }
.mjm-second .mjm-cursor[data-context=media] { width: 66px; height: 66px; margin: -33px; background: rgba(255,126,21,.92); border: 1px solid rgba(255,255,255,.7); }
.mjm-second .mjm-cursor[data-context=media] span,.mjm-second .mjm-cursor[data-context=media][data-drag=true] i { display: block; }
.mjm-second .mjm-cursor[data-drag=true] span { display: none; }
.mjm-second .mjm-cursor::before,.mjm-second .mjm-cursor::after { content: ''; position: absolute; background: var(--mjm-orange); opacity: 0; transition: opacity .2s; }
.mjm-second .mjm-cursor::before { width: 22px; height: 1px; }
.mjm-second .mjm-cursor::after { width: 1px; height: 22px; }
.mjm-second .mjm-cursor[data-context=link] { background: transparent; }
.mjm-second .mjm-cursor[data-context=link]::before,.mjm-second .mjm-cursor[data-context=link]::after { opacity: 1; }
.mjm-second:has(dialog[open]) .mjm-cursor { visibility: hidden; }
.mjm-second[data-mjm-pointer=true]:not(:has(dialog[open])),.mjm-second[data-mjm-pointer=true]:not(:has(dialog[open])) * { cursor: none; }

/* Orange is the shared interaction accent, including native text selection. */
.mjm-second ::selection { color: #fff; background: var(--mjm-orange); text-shadow: none; }
/* Keep current, hover and keyboard-focus colors together across both header themes. */
.mjm-second .mjm-header :is(.mjm-header__links a,.mjm-header__booking,.mjm-language__trigger,.mjm-menu-trigger):is(:hover,:focus-visible),
.mjm-second .mjm-header .mjm-header__links a[aria-current='page'] { color: #fff; background: var(--mjm-orange); border-color: var(--mjm-orange); }
.mjm-second .mjm-header__links a { position: relative; }
.mjm-second .mjm-header__links a[aria-current]::before { content: ''; position: absolute; top: -6px; left: calc(50% - 2px); width: 4px; height: 4px; background: var(--mjm-orange); }
.mjm-second .mjm-line-link:hover { color: var(--mjm-orange); opacity: 1; }

/* Fixed consultation tab and an accessible, independently scrolling drawer. */
.mjm-second .mjm-visit-tab { position: fixed; z-index: 990; inset-block-start: 50%; inset-inline-end: 0; width: 52px; min-height: 190px; padding: 20px 12px; display: flex; align-items: center; justify-content: center; gap: 14px; writing-mode: vertical-rl; background: var(--mjm-orange); color: #fff; font-size: 13px; font-weight: 500; border: 0; transform: translate(110%,-50%); visibility: hidden; transition: transform .5s cubic-bezier(.22,.7,.2,1),visibility .5s,background .2s; }
.mjm-second .mjm-visit-tab[data-visible=true],.mjm-second .mjm-visit-tab:focus-visible { transform: translate(0,-50%); visibility: visible; }
.mjm-second.rtl .mjm-visit-tab { transform: translate(-110%,-50%); }
.mjm-second.rtl .mjm-visit-tab[data-visible=true],.mjm-second.rtl .mjm-visit-tab:focus-visible { transform: translate(0,-50%); }
.mjm-second .mjm-visit-tab:hover,.mjm-second .mjm-visit-drawer__book:hover { background: #e36907; color: #fff; }
.mjm-second .mjm-visit-tab,.mjm-second .mjm-visit-drawer__close { writing-mode: horizontal-tb; flex-direction: column; }
.mjm-second .mjm-visit-tab span,.mjm-second .mjm-visit-drawer__close span { writing-mode: vertical-rl; }
.mjm-second .mjm-visit-drawer { --mjm-drawer-enter: 100%; position: fixed; inset-block: 0; inset-inline: auto 0; margin: 0; width: min(820px,calc(50vw + 60px)); max-width: 100%; height: 100dvh; max-height: none; padding: 0; border: 0; background: transparent; color: var(--mjm-ink); overflow: visible; }
.mjm-second.rtl .mjm-visit-drawer { --mjm-drawer-enter: -100%; }
.mjm-second .mjm-visit-drawer::backdrop { background: rgba(27,46,66,.38); backdrop-filter: blur(6px); }
.mjm-second .mjm-visit-drawer[open] { display: block; animation: mjm-drawer-in .55s cubic-bezier(.22,.7,.2,1) both; }
.mjm-second .mjm-visit-drawer[open][data-closing=true] { animation: mjm-drawer-out .4s cubic-bezier(.5,0,.7,.3) both; }
.mjm-second .mjm-visit-drawer__panel { height: 100%; margin-inline-start: 60px; padding: 70px clamp(24px,4.7vw,90px) 60px; background: #fff; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--mjm-orange) #f5f5f5; }
.mjm-second .mjm-visit-drawer__panel > h2 { font-size: clamp(32px,3.3vw,52px); line-height: 1.2; margin: 0 0 50px; color: var(--mjm-ink); }
.mjm-second .mjm-visit-drawer__panel ol { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.mjm-second .mjm-visit-drawer__panel li { padding: 30px; background: #f5f5f5; }
.mjm-second .mjm-visit-drawer__panel h3 { font-size: 25px; line-height: 1.3; font-style: italic; color: var(--mjm-ink); margin-bottom: 18px; }
.mjm-second .mjm-visit-drawer__panel h3 span { font-size: 12px; font-style: normal; }
.mjm-second .mjm-visit-drawer__panel li p { font-size: 14px; line-height: 1.65; color: #52605c; margin: 0; }
.mjm-second .mjm-visit-drawer__close { position: absolute; inset-block: 8%; inset-inline-start: 0; width: 60px; padding: 20px 12px; background: var(--mjm-orange); color: #fff; display: flex; justify-content: center; align-items: center; gap: 15px; font-size: 14px; }
.mjm-second .mjm-visit-drawer__book { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: var(--mjm-orange); color: #fff; gap: 20px; font-size: 14px; }
.mjm-second .mjm-visit-drawer__phone { display: block; text-align: center; color: var(--mjm-ink); font-size: 14px; margin-top: 24px; }
@keyframes mjm-drawer-in { from { transform: translateX(var(--mjm-drawer-enter)); } to { transform: translateX(0); } }
@keyframes mjm-drawer-out { from { transform: translateX(0); } to { transform: translateX(var(--mjm-drawer-enter)); } }
@media (max-width: 999px) {
  .mjm-second .mjm-visit-drawer { width: min(620px,94vw); }
  .mjm-second .mjm-visit-drawer__panel { margin-inline-start: 44px; padding: 40px 22px; }
  .mjm-second .mjm-visit-drawer__close { width: 44px; }
  .mjm-second .mjm-visit-tab { width: 44px; min-height: 160px; font-size: 12px; }
  .mjm-second .mjm-visit-drawer__panel li { padding: 22px; }
}
.mjm-second .mjm-places__progress { display: none; }
.mjm-second .dr-guide-hub { background: var(--mjm-paper); }
.mjm-second .dr-guide-hub__hero { min-height: 680px; padding-top: 175px; background: #173937; }
.mjm-second .dr-guide-hub__hero h1 { font-size: clamp(52px,6.8vw,104px); font-family: var(--mjm-display) !important; text-transform: uppercase; line-height: 1.1; }
.mjm-second .dr-guide-hub__hero h1 em { font-family: var(--mjm-serif); font-weight: 400; text-transform: none; }
.mjm-second :is(.dr-guide-hub__link,.dr-guide-hub__library,.dr-guide-hub__group) { border-radius: 0; background: var(--mjm-paper); }
.mjm-second .dr-guide-hub__link { box-shadow: none; border-width: 0 0 1px; padding-inline: 0; }
.mjm-second .dr-guide-hub__link h3 { font-size: 30px; }
@media (min-width:1000px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .mjm-second .mjm-places__scroll[data-mjm-scroll-ready] { height: 220svh; position: relative; }
  .mjm-second [data-mjm-scroll-ready] .mjm-places__sticky { position: sticky; top: 90px; height: calc(100svh - 90px); overflow: hidden; }
  .mjm-second [data-mjm-scroll-ready] .mjm-places__grid { display: flex; width: 200%; gap: 0; height: 100%; }
  .mjm-second [data-mjm-scroll-ready] .mjm-place { flex: 0 0 50%; height: 100%; min-height: 0; }
  .mjm-second [data-mjm-scroll-ready] .mjm-place__bottom { inset-inline: 8vw; bottom: 85px; }
  .mjm-second [data-mjm-scroll-ready] .mjm-place__bottom h3 { font-size: clamp(70px,8vw,130px); }
  .mjm-second [data-mjm-scroll-ready] .mjm-place__bottom p { font-size: 16px; max-width: 540px; }
  .mjm-second [data-mjm-scroll-ready] .mjm-place__top { inset: 30px 4vw auto; }
  .mjm-second [data-mjm-scroll-ready] .mjm-places__progress { position: absolute; inset: auto 4vw 26px; display: flex; align-items: center; gap: 20px; color: white; font-size: 11px; pointer-events: none; }
  .mjm-second .mjm-places__progress i { display: block; height: 1px; flex: 1; background: white; transform-origin: left; }
  .mjm-second.rtl .mjm-places__progress i { transform-origin: right; }
}
@media(max-width:900px) {
  .mjm-second [data-design-hero="portrait"] [data-design-copy] { width: 100%; }
  .mjm-second [data-design-hero="portrait"] [data-design-media] { width: 100%; }
}
@media (min-width:1600px) { .mjm-second .mjm-treatment { flex-basis: 31vw; } }
@media (max-width:1150px) {
  .mjm-second .mjm-header { padding-inline: 22px; }
  .mjm-second .mjm-header__links { display: none; }
  .mjm-second .mjm-brand { grid-column: 2; }
  .mjm-second .mjm-header__actions { display: contents; }
  .mjm-second .mjm-language { position: absolute; inset-inline-start: 22px; top: 29px; }
  .mjm-second .mjm-header--film .mjm-language { top: 33px; }
  .mjm-second .mjm-menu-trigger { grid-column: 3; justify-self: end; }
  .mjm-second .mjm-header__booking { display: none; }
  .mjm-second .mjm-international { grid-template-columns: 1fr 2.3fr; gap: 40px; }
  .mjm-second .mjm-intro__details { flex-direction: column; gap: 20px; }
  .mjm-second .mjm-menu__body { grid-template-columns: 1fr 1fr; }
  .mjm-second .mjm-menu__body figure { display: none; }
  .mjm-second .mjm-treatment { flex-basis: 43vw; }
  .mjm-second .mjm-results__body { grid-template-columns: 1fr 1.5fr; gap: 4vw; }
  .mjm-second .mjm-footer__directory { gap: 3vw; }
}
@media (max-width:760px) {
  .dentexa-site.mjm-second { --mjm-header-size: 76px; }
  .mjm-second .mjm-chapters { padding-inline: 18px; }
  .mjm-second .mjm-chapters__rail { gap: 24px; }
  .mjm-second .mjm-chapters a { min-height: 58px; font-size: 11px; }
  .mjm-second .mjm-catalog-hero { min-height: 560px; height: 85svh; padding: 115px 6vw 36px; }
  .mjm-second .mjm-catalog-hero h1 { font-size: 23vw; }
  .mjm-second.rtl .mjm-catalog-hero h1 { font-size: 11vw; }
  .mjm-second .mjm-catalog-hero__title { gap: 26px; }
  .mjm-second .mjm-catalog { padding: 70px 18px 80px; }
  .mjm-second .mjm-catalog__heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .mjm-second .mjm-catalog__grid { grid-template-columns: 1fr; gap: 44px; }
  .mjm-second .mjm-catalog__search { margin-bottom: 40px; }
  .mjm-second .mjm-catalog-card__copy { padding-top: 22px; }
  .mjm-second .mjm-cursor { display: none; }
  .mjm-second .mjm-practice-story { grid-template-columns: 1fr; min-height: 0; gap: 46px; padding: 50px 8vw 90px; }
  .mjm-second .mjm-practice-story__intro { padding: 0; }
  .mjm-second .mjm-practice-story__intro h2 { font-size: 45px; max-width: 420px; }
  .mjm-second .mjm-practice-story__copy { max-width: 320px; }
  .mjm-second .mjm-practice-story__scene { width: min(100%,360px); justify-self: center; }
  .mjm-second .mjm-practice-story__scene figcaption { font-size: 10px; }
  .mjm-second .mjm-globe { width: 280px; max-width: 100%; margin: 30px auto; }
  .mjm-second .mjm-international .mjm-section-label { display: block; }
  .mjm-second .dr-guide-hub__hero { padding-top: 130px; min-height: 570px; }
  .mjm-second .dr-guide-hub__hero h1 { font-size: 54px; }
  .mjm-second .mjm-header { height: 76px; padding-inline: 18px; grid-template-columns: minmax(0,1fr) 82px minmax(0,1fr); }
  .mjm-second .mjm-brand { height: 72px; transform: translateY(3px); }
  .mjm-second .mjm-brand img { height: 112px; width: 112px; }
  .mjm-second .mjm-header__actions { display: contents; }
  .mjm-second .mjm-header .mjm-language { position: absolute; inset-inline-start: 18px; top: 15px; width: 90px; }
  .mjm-second .mjm-menu-trigger { justify-self: end; grid-column: 3; font-size: 10px; }
  .mjm-second .mjm-menu-trigger span { display: none; }
  .mjm-second .mjm-menu-trigger { width: 44px; padding: 0; }
  .mjm-second .mjm-menu-trigger svg { width: 20px; height: 20px; flex-shrink: 0; }
  .mjm-second .mjm-hero { min-height: 520px; height: 100svh; max-height: none; }
  .mjm-second .mjm-hero__note,
  .mjm-second .mjm-hero__film-controls { display: none; }
  .mjm-second .mjm-hero__note { inset-block-start: 27%; inset-inline: 24px; width: auto; text-align: center; }
  .mjm-second .mjm-hero__note p { max-width: 310px; margin-inline: auto; font-size: clamp(22px,5.7vw,28px); line-height: 1.3; text-wrap: balance; }
  .mjm-second .mjm-hero__note a { min-height: 44px; justify-content: center; }
  .mjm-second .mjm-hero__film-controls { inset-block-start: auto; bottom: calc(150px + 25vw); inset-inline: 24px; transform: none; }
  .mjm-second .mjm-case-trigger { width: 100%; }
  .mjm-second .mjm-case-trigger__label { font-size: 13px; gap: 16px; }
  .mjm-second .mjm-hero__pause { bottom: 16px; inset-inline-start: 18px; }
  .mjm-second .mjm-film-dialog__heading { inset-inline: 5vw 110px; font-size: 12px; }
  .mjm-second .mjm-film-dialog__heading a { display: none; }
  .mjm-second .mjm-hero__title { inset-inline: 4%; bottom: 92px; }
  .mjm-second.dentexa-site .mjm-hero h1 { font-size: 23vw; line-height: 1.08; }
  .mjm-second .mjm-hero__title p { font-size: 10px; letter-spacing: .1em !important; margin-bottom: 15px; }
  .mjm-second .mjm-hero__bottom > span { display: none; }
  .mjm-second .mjm-hero__bottom { height: 76px; inset-inline: 18px; padding: 0; padding-inline: 54px 112px; justify-content: center; align-items: center; }
  .mjm-second .mjm-hero__bottom a { min-height: 44px; line-height: 1.4; text-align: center; }
  .mjm-second .mjm-hero__bottom span, .mjm-second .mjm-hero__bottom a { font-size: 10px; gap: 8px; }
  .mjm-second .mjm-international { display: block; padding: 75px 6vw 85px; }
  .mjm-second .mjm-grid-guides [class*="__column-"] { display: none; }
  .mjm-second .mjm-intro { padding: 110px 24px 80px; scroll-margin-top: 76px; }
  .mjm-second .mjm-intro__body { grid-column: 1 / -1; padding-inline: 0; }
  .mjm-second .mjm-signature-accent { width: 190px; inset-inline-start: -36px; top: -32px; }
  .mjm-second .mjm-intro__quote { margin-bottom: 32px; }
  .mjm-second .mjm-intro__details { gap: 24px; }
  .mjm-second .mjm-section-label { margin-bottom: 40px; }
  .mjm-second .mjm-intro .mjm-intro__body h2 { font-size: clamp(28px,7.5vw,42px); line-height: 1.12; text-indent: 14%; }
  .mjm-second .mjm-intro__statement { font-size: clamp(28px,7.5vw,42px); line-height: 1.12; }
  .mjm-second .mjm-section-heading { display: block; padding-inline: 6vw; margin-bottom: 32px; }
  .mjm-second .mjm-section-heading > .mjm-line-link { margin-top: 26px; }
  .mjm-second .mjm-eyebrow { margin-bottom: 19px; font-size: 9px; }
  .mjm-second .mjm-home h2 { font-size: 47px; }
  .mjm-second .mjm-treatments,.mjm-second .mjm-journey { padding-block: 70px; }
  .mjm-second .mjm-treatment { flex-basis: 80vw; }
  .mjm-second .mjm-treatment-rail__track { padding-inline: 6vw; gap: 16px; }
  .mjm-second .mjm-treatment-rail__controls { padding-inline: 6vw; }
  .mjm-second .mjm-treatment__copy h3 { font-size: 32px; }
  .mjm-second .mjm-treatment__copy p { font-size: 13px; }
  .mjm-second .mjm-results { padding-block: 75px; }
  .mjm-second .mjm-results__body { display: flex; flex-direction: column-reverse; gap: 40px; padding-inline: 6vw; }
  .mjm-second .mjm-comparison { width: 100%; }
  .mjm-second .mjm-results__quote { font-size: 28px; margin-bottom: 28px; }
  .mjm-second .mjm-places { padding-top: 65px; }
  .mjm-second .mjm-places__grid { grid-template-columns: 1fr; }
  .mjm-second .mjm-place { min-height: 540px; }
  .mjm-second .mjm-place__bottom { inset-inline: 7vw; }
  .mjm-second .mjm-place__bottom h3 { font-size: 46px; }
  .mjm-second .mjm-journey__steps { grid-template-columns: 1fr; margin: 40px 6vw 0; }
  .mjm-second .mjm-journey__steps > a { padding: 30px 0; border-inline: 0; border-bottom: 1px solid var(--mjm-line); }
  .mjm-second .mjm-journey__steps > a > span { margin-bottom: 20px; }
  .mjm-second .mjm-journey__steps h3 { font-size: 31px; }
  .mjm-second .mjm-journey__steps > a:last-child { border: 0; }
  .mjm-second .mjm-menu { padding: 18px 6vw; }
  .mjm-second .mjm-menu__body { gap: 40px; padding-block: 45px; grid-template-columns: 1fr; }
  .mjm-second .mjm-menu__body nav > a { font-size: 29px; padding-block: 13px; }
  .mjm-second .mjm-menu__bottom { flex-wrap: wrap; }
  .mjm-second .mjm-footer { padding: 65px 6vw 0; }
  .mjm-second .mjm-footer__invitation { padding-bottom: 40px; }
  .mjm-second .mjm-footer__invitation > a { font-size: 49px; }
  .mjm-second .mjm-footer__invitation > a > svg { width: 35px; height: 35px; }
  .mjm-second .mjm-footer__directory { grid-template-columns: 1fr 1fr; gap: 38px 25px; padding-block: 45px; }
  .mjm-second .mjm-footer__directory h3 { font-size: 22px; }
  .mjm-second .mjm-footer__directory :is(p,a) { font-size: 11px; }
  .mjm-second .mjm-footer__wordmark { font-size: 13.7vw; }
  .mjm-second .mjm-footer__base { flex-wrap: wrap; gap: 20px; padding-block: 25px 45px; }
  .mjm-second .mjm-footer__base > span { width: 100%; }
  .mjm-second .dr-route-main > :is(article, main)[class] { padding-top: 76px; }
  .mjm-second .breadcrumb-area { padding: 130px 6vw 55px !important; min-height: 300px; }
  .mjm-second .breadcrumb-area .title :is(h1,h2) { font-size: 52px !important; }
  .mjm-second :is(.dr-guide-hero,.dr-hub-hero) { padding-top: 50px !important; }
  .mjm-second :is(.dr-guide-index,.dr-hub-index) { top: 76px !important; }
  .mjm-second :is(.dr-guide-index,.dr-hub-index) a { min-height: 44px; display: inline-flex; align-items: center; }
  .mjm-second .dr-guide-index a::after { bottom: 0; }
  .mjm-second .dr-dana-gallery-hero { padding-top: 135px !important; min-height: 560px; }
  .mjm-second .dr-dana-gallery-hero h1 { font-size: 61px !important; }
  .mjm-second [data-design-hero] h1 { font-size: 62px !important; }
  .mjm-second [data-design-hero="portrait"] [data-design-copy] { width: 100%; }
  .mjm-second [data-design-hero="portrait"] [data-design-media] { width: 100%; }
  .mjm-second.rtl .mjm-hero h1 { font-size: 15vw !important; line-height: 1.6; }
  .mjm-second.rtl .mjm-home h2 { font-size: 34px; line-height: 1.55; }
  .mjm-second.rtl .mjm-intro .mjm-intro__body h2,.mjm-second.rtl .mjm-intro__statement { font-size: 22px; line-height: 1.7; }
  .mjm-second.rtl .mjm-footer__invitation > a { font-size: 30px; }
  .mjm-second.rtl .mjm-place__bottom h3 { font-size: 32px; }
}
/* Touch uses a clear film action; the photographic hover preview is desktop only. */
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .mjm-second .mjm-case-trigger { height: auto; min-height: 48px; aspect-ratio: auto; border-block: 1px solid rgba(255,255,255,.4); }
  .mjm-second .mjm-case-trigger__preview { display: none; }
  .mjm-second .mjm-case-trigger__label { position: static; padding: 14px 4px; }
}
@media (max-width: 999px), (max-height: 600px), (hover: none), (pointer: coarse) {
  .mjm-second .mjm-visit-mobile { padding: 0 clamp(18px, 4vw, 40px) 36px; }
  .mjm-second .mjm-visit-mobile .mjm-visit-tab { margin-top: 0; }
  .mjm-second:is(.ltr, .rtl) .mjm-visit-tab.mjm-visit-tab--inline-compact { position: static; visibility: visible; pointer-events: auto; transform: none; width: 100%; min-height: 52px; padding: 14px 18px; margin-top: 28px; flex-direction: row; justify-content: space-between; }
  .mjm-second .mjm-visit-tab--inline-compact span { writing-mode: horizontal-tb; }
  .mjm-second .mjm-home .mjm-practice-story { min-height: 0; }
}
@media (min-width: 761px) and (max-width: 999px) {
  .mjm-second .mjm-intro { padding-block: 140px 100px; }
  .mjm-second .mjm-intro__body { grid-column: 3 / 11; }
}
@media (max-width: 760px) and (max-height: 650px) {
  .mjm-second .mjm-hero__note { inset-block-start: 110px; }
}
/* Landscape phones need a shallower composition, not a portrait-sized canvas. */
@media (min-width: 600px) and (max-width: 1100px) and (max-height: 600px) {
  .mjm-second .mjm-hero { height: 100svh; min-height: 360px; }
  .mjm-second .mjm-hero__note { inset-block-start: 90px; inset-inline-start: 4%; width: 45%; text-align: start; }
  .mjm-second .mjm-hero__note p { font-size: 20px; max-width: 270px; margin-inline: 0; }
  .mjm-second .mjm-hero__note a { padding-block: 8px; }
  .mjm-second .mjm-hero__film-controls { inset: 124px 4% auto auto; transform: none; }
  .mjm-second.rtl .mjm-hero__film-controls { inset-inline: auto 4%; }
  .mjm-second .mjm-case-trigger { width: 190px; }
  .mjm-second .mjm-hero__title { bottom: 70px; }
  .mjm-second .mjm-hero__title p { display: none; }
  .mjm-second.dentexa-site .mjm-hero h1 { font-size: min(21vw,30svh); }
  .mjm-second.rtl .mjm-hero h1 { font-size: min(14vw,22svh) !important; line-height: 1.2; }
  .mjm-second .mjm-hero__bottom { height: 60px; padding-inline: 60px 130px; justify-content: center; }
  .mjm-second .mjm-hero__bottom > span { display: none; }
  .mjm-second .mjm-hero__pause { bottom: 8px; }
}
@media (prefers-reduced-motion:reduce) {
  .mjm-second .mjm-clouds { display: none; }
  .mjm-second .mjm-visit-tab { transition: none; }
  .mjm-second .mjm-visit-drawer[open] { animation: none; }
  .mjm-second :is(.mjm-case-trigger__preview,.mjm-case-trigger__preview img,.mjm-header__links a,.mjm-header__booking,.mjm-language__trigger,.mjm-menu-trigger) { transition: none; }
  .mjm-second :is(.mjm-chapters a,.mjm-catalog-card__arrow) { transition: none; }
  .mjm-second :is(.mjm-header,.mjm-treatment__image img,.mjm-place img,.mjm-line-link svg) { transition: none; }
  .mjm-second .mjm-menu[open] { animation: none; }
  .mjm-second :is(.mjm-treatment:hover img,.mjm-place:hover img) { transform: none; }
}

/* Admin-controlled desktop/mobile visibility for the shared header and footer. */
@media (min-width: 992px) {
  .mjm-second [data-chrome-desktop-visible="false"] { display: none !important; }
}
@media (max-width: 991px) {
  .mjm-second [data-chrome-mobile-visible="false"] { display: none !important; }
}
