/* Adaptation of the original editorial Doctor T layout for lead-specific copy. */
.doctor-demo {
  --dt-bg: var(--surface, #06141f);
  --dt-panel: var(--surface-alt, #0b202d);
  --dt-fg: var(--fg, #f4f0e7);
  --dt-muted: var(--muted-text, #b1c2ca);
  --dt-accent: var(--accent, #9fc7d6);
  --dt-accent-ink: var(--accent-ink, #06141f);
  --dt-line: color-mix(in srgb, var(--dt-accent) 28%, transparent);
  --dt-paper: #f4f0e7;
  --dt-paper-ink: #0b202d;
  --dt-paper-muted: #465b62;
  background: var(--dt-bg);
  color: var(--dt-fg);
  font: 400 1rem/1.65 'Noto Sans', Arial, sans-serif;
  width: 100%;
  min-width: 0;
}
.doctor-demo *, .doctor-demo *::before, .doctor-demo *::after { box-sizing: border-box; }
.doctor-demo :where(h1,h2,h3,p,figure) { margin: 0; }
.doctor-demo :where(h1,h2,h3,p,a,span) { overflow-wrap: anywhere; }
.doctor-demo :where(a,button) { -webkit-tap-highlight-color: transparent; }
.doctor-demo a { color: inherit; text-decoration: none; }
.doctor-demo a:focus-visible { outline: 3px solid var(--dt-accent); outline-offset: 5px; }
.doctor-demo img { display: block; width: 100%; max-width: 100%; }
.doctor-demo .dt-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(22px, 5.5vw, 88px); }
.doctor-demo .dt-section { padding-block: clamp(64px, 7vw, 106px); }
.doctor-demo .dt-eyebrow { color: var(--dt-accent); font-size: .875rem; font-weight: 600; letter-spacing: .035em; line-height: 1.55; margin-bottom: 20px; }
.doctor-demo :where(h1,h2) { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.04em; text-wrap: balance; }
.doctor-demo h1 { font-size: clamp(2.5rem, 5.7vw, 5.65rem); line-height: 1.055; }
.doctor-demo h2 { font-size: clamp(2.1rem, 3.8vw, 3.8rem); line-height: 1.13; }
.doctor-demo .dt-lead { color: var(--dt-muted); font-size: 1.0625rem; line-height: 1.8; max-width: 620px; margin-top: 28px; }
.doctor-demo .dt-detail { color: var(--dt-muted); font-size: 1rem; line-height: 1.75; max-width: 620px; margin-top: 18px; }
.doctor-demo .dt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 34px; }
.doctor-demo .dt-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 21px; background: var(--dt-accent); color: var(--dt-accent-ink); border: 1px solid var(--dt-accent); font-size: .9375rem; font-weight: 600; line-height: 1.5; text-align: center; transition: background .2s, color .2s, transform .2s; }
.doctor-demo .dt-button:hover { transform: translateY(-2px); background: var(--dt-fg); color: var(--dt-bg); }
.doctor-demo .dt-button-outline { background: transparent; color: var(--dt-accent); }
.doctor-demo .dt-text-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 7px; border-bottom: 1px solid currentColor; font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.doctor-demo .dt-text-link:hover { color: var(--dt-accent); }

/* The retained split hero: navy, a fine architectural grid and a framed image. */
.doctor-demo .dt-hero, .doctor-demo .dt-inner-hero, .doctor-demo .dt-location-hero {
  position: relative;
  background-color: var(--dt-bg);
  background-image: linear-gradient(color-mix(in srgb, var(--dt-accent) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--dt-accent) 6%, transparent) 1px, transparent 1px);
  background-size: 86px 86px;
}
.doctor-demo .dt-hero { padding-block: clamp(44px, 5vw, 76px) clamp(56px, 5vw, 86px); }
.doctor-demo .dt-hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(34px, 5vw, 80px); align-items: center; }
.doctor-demo .dt-hero-copy { min-width: 0; padding-block: 22px; }
.doctor-demo .dt-business-name { max-width: 760px; }
.doctor-demo .dt-name-long { font-size: clamp(2.2rem, 4.55vw, 4.5rem); line-height: 1.1; }
.doctor-demo .dt-visual { position: relative; min-width: 0; padding: 45px 0 0 18px; }
.doctor-demo .dt-visual-label { position: absolute; inset: 0 0 auto 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 12px; color: var(--dt-accent); border-bottom: 1px solid var(--dt-line); font-size: .875rem; line-height: 1.35; }
.doctor-demo .dt-visual-label span:last-child { text-align: right; max-width: 60%; }
.doctor-demo .dt-visual-frame { position: relative; background: var(--dt-panel); isolation: isolate; }
.doctor-demo .dt-visual-frame::before { content: ''; position: absolute; z-index: -1; inset: -12px 20px 20px -12px; border: 1px solid var(--dt-line); }
.doctor-demo .dt-hero-image { height: clamp(390px, 43vw, 570px); object-fit: cover; object-position: center; }
.doctor-demo .dt-identity-panel { position: relative; display: flex; flex-direction: column; min-height: clamp(390px, 43vw, 570px); padding: clamp(24px, 3vw, 42px); overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--dt-accent) 13%, var(--dt-panel)), var(--dt-panel)); border: 1px solid var(--dt-line); }
.doctor-demo .dt-identity-panel::before { content: ''; position: absolute; width: 84%; aspect-ratio: 1; border: 1px solid var(--dt-line); border-radius: 50%; left: 8%; top: 14%; pointer-events: none; }
.doctor-demo .dt-identity-top, .doctor-demo .dt-identity-bottom { position: relative; z-index: 1; color: var(--dt-accent); font-size: .875rem; line-height: 1.6; }
.doctor-demo .dt-identity-top { border-bottom: 1px solid var(--dt-line); padding-bottom: 12px; }
.doctor-demo .dt-identity-bottom { border-top: 1px solid var(--dt-line); padding-top: 12px; }
.doctor-demo .dt-identity-center { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding-block: 30px; text-align: center; }
.doctor-demo .dt-monogram { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(4.5rem, 9vw, 8.5rem); line-height: 1; letter-spacing: -.065em; color: var(--dt-accent); }
.doctor-demo .dt-identity-center>p { max-width: 360px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.doctor-demo .dt-identity-logo { display: grid; place-items: center; width: min(75%, 250px); min-height: 150px; padding: 16px; background: #fff; }
.doctor-demo .dt-identity-logo img { width: 100%; height: 150px; object-fit: contain; }

/* Ruled, editorial service presentation; no invented measurements or badges. */
.doctor-demo .dt-offer-preview, .doctor-demo .dt-services-detail { background: var(--dt-paper); color: var(--dt-paper-ink); }
.doctor-demo .dt-offer-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.doctor-demo .dt-offer-preview .dt-eyebrow { color: var(--dt-paper-muted); }
.doctor-demo .dt-section-heading h2 { margin-bottom: 24px; }
.doctor-demo .dt-section-heading>p:not(.dt-eyebrow) { color: var(--dt-paper-muted); margin-top: 20px; font-size: 1rem; line-height: 1.8; }
.doctor-demo .dt-offer-preview .dt-text-link { margin-top: 22px; }
.doctor-demo .dt-offer-preview .dt-text-link:hover { color: #416875; }
.doctor-demo .dt-service-list { border-top: 1px solid #adb9b7; }
.doctor-demo .dt-service-row { display: grid; align-items: start; gap: 18px; padding: 28px 0; border-bottom: 1px solid #adb9b7; min-width: 0; }
.doctor-demo .dt-service-row h3 { color: var(--dt-paper-ink); font-family: 'Noto Sans', Arial, sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.doctor-demo .dt-service-row p { color: var(--dt-paper-muted); font-size: 1rem; line-height: 1.75; max-width: 650px; }
.doctor-demo .dt-services-detail .dt-service-row { padding-block: 34px; }
.doctor-demo .dt-services-detail .dt-service-has-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 60px; }
.doctor-demo .dt-services-detail h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.2; }
.doctor-demo .dt-inner-hero { padding-block: clamp(50px, 6vw, 90px); }
.doctor-demo .dt-offer-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 85px); align-items: center; }
.doctor-demo .dt-inner-hero h1 { max-width: 860px; }
.doctor-demo .dt-visual-compact .dt-hero-image { height: 390px; }
.doctor-demo .dt-visual-compact .dt-identity-panel { min-height: 390px; }
.doctor-demo .dt-visual-compact .dt-monogram { font-size: clamp(4rem, 7vw, 6.5rem); }
.doctor-demo .dt-visual-compact .dt-identity-center>p { font-size: clamp(1.5rem, 2.1vw, 2rem); }

.doctor-demo .dt-gallery-section { background: var(--dt-panel); }
.doctor-demo .dt-gallery-section .dt-section-heading { max-width: 820px; margin-bottom: 38px; }
.doctor-demo .dt-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.doctor-demo .dt-gallery-1 { grid-template-columns: minmax(0, 1fr); }
.doctor-demo .dt-gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doctor-demo .dt-gallery figure { min-width: 0; background: var(--dt-bg); }
.doctor-demo .dt-gallery-image { height: 360px; object-fit: cover; }
.doctor-demo .dt-gallery-1 .dt-gallery-image { height: auto; max-height: 600px; object-fit: contain; }
.doctor-demo .dt-contact-teaser { border-top: 1px solid var(--dt-line); background: var(--dt-bg); }
.doctor-demo .dt-teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.doctor-demo .dt-teaser-details { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.doctor-demo .dt-teaser-details>p { font-size: 1.125rem; line-height: 1.7; color: var(--dt-muted); }
.doctor-demo .dt-teaser-phone { font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.4; }
.doctor-demo .dt-teaser-phone:hover { color: var(--dt-accent); }
.doctor-demo .dt-teaser-details .dt-button { margin-top: 8px; }

/* Location keeps the original large map paired with the business details. */
.doctor-demo .dt-location-hero { padding-block: clamp(48px, 6vw, 86px); border-bottom: 1px solid var(--dt-line); }
.doctor-demo .dt-location-hero h1 { max-width: 900px; }
.doctor-demo .dt-location-hero em { font-weight: inherit; color: var(--dt-accent); }
.doctor-demo .dt-location-section { padding-block: clamp(48px, 5.5vw, 84px) clamp(64px, 7vw, 110px); }
.doctor-demo .dt-location-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 74px); align-items: start; }
.doctor-demo .dt-location-info { min-width: 0; }
.doctor-demo .dt-contact-group h3 { color: var(--dt-accent); font-size: .875rem; line-height: 1.5; font-weight: 600; margin-bottom: 14px; }
.doctor-demo .dt-address { padding-bottom: 25px; }
.doctor-demo .dt-address h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 18px; }
.doctor-demo .dt-address p { color: var(--dt-muted); font-size: 1.125rem; line-height: 1.75; white-space: pre-line; }
.doctor-demo .dt-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 25px; border-top: 1px solid var(--dt-line); }
.doctor-demo .dt-contact-link { display: block; width: fit-content; max-width: 100%; min-height: 35px; padding-block: 3px; font-size: 1.125rem; line-height: 1.55; }
.doctor-demo .dt-contact-link:hover { color: var(--dt-accent); }
.doctor-demo .dt-hours p { font-size: 1rem; line-height: 1.9; white-space: pre-line; color: var(--dt-muted); }
.doctor-demo .dt-location-detail { color: var(--dt-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.doctor-demo .dt-socials { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.doctor-demo .dt-social-link { display: inline-block; min-height: 44px; padding-block: 9px; color: var(--dt-accent); font-size: .9375rem; text-decoration: underline; text-underline-offset: 5px; }
.doctor-demo .dt-map-frame { overflow: hidden; border: 1px solid var(--dt-line); background: var(--dt-panel); }
.doctor-demo .dt-map-frame iframe { display: block; width: 100%; height: 560px; min-height: 340px; border: 0; }
.doctor-demo .dt-map-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 22px; color: var(--dt-muted); font-size: .875rem; }
.doctor-demo .dt-map-caption .dt-text-link { color: var(--dt-fg); font-size: .875rem; }

@media (min-width: 1500px) {
  .doctor-demo .dt-container { padding-inline: 70px; }
}
@media (max-width: 1000px) {
  .doctor-demo .dt-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; }
  .doctor-demo .dt-hero-image, .doctor-demo .dt-identity-panel { min-height: 400px; height: 480px; }
  .doctor-demo .dt-business-name { font-size: clamp(2.4rem, 5.5vw, 4rem); }
  .doctor-demo .dt-name-long { font-size: clamp(2rem, 4.5vw, 3.25rem); }
  .doctor-demo .dt-offer-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
  .doctor-demo .dt-offer-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 34px; }
  .doctor-demo .dt-visual-label { position: static; margin-bottom: 22px; }
  .doctor-demo .dt-visual { padding-top: 0; }
  .doctor-demo .dt-visual-compact .dt-identity-panel { height: auto; }
  .doctor-demo .dt-gallery-image { height: 280px; }
  .doctor-demo .dt-location-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; }
}
@media (max-width: 760px) {
  .doctor-demo .dt-container { padding-inline: 24px; }
  .doctor-demo .dt-section { padding-block: 60px; }
  .doctor-demo .dt-hero, .doctor-demo .dt-inner-hero, .doctor-demo .dt-location-hero { background-size: 58px 58px; }
  .doctor-demo .dt-hero { padding-block: 34px 54px; }
  .doctor-demo .dt-hero-grid, .doctor-demo .dt-offer-hero-grid, .doctor-demo .dt-offer-layout, .doctor-demo .dt-teaser-grid, .doctor-demo .dt-location-grid { grid-template-columns: minmax(0, 1fr); }
  .doctor-demo .dt-hero-grid { gap: 44px; }
  .doctor-demo .dt-hero-copy { padding-block: 8px 0; }
  .doctor-demo .dt-business-name { font-size: clamp(2.55rem, 8.6vw, 4rem); }
  .doctor-demo .dt-name-long { font-size: clamp(2.1rem, 7vw, 3.35rem); line-height: 1.12; }
  .doctor-demo h1 { font-size: clamp(2.65rem, 8.7vw, 4rem); }
  .doctor-demo h2 { font-size: clamp(2rem, 6.8vw, 3rem); }
  .doctor-demo .dt-lead { font-size: 1rem; margin-top: 24px; line-height: 1.8; }
  .doctor-demo .dt-actions { gap: 15px 22px; margin-top: 28px; }
  .doctor-demo .dt-visual { padding-left: 12px; }
  .doctor-demo .dt-visual-label { gap: 16px; }
  .doctor-demo .dt-hero-image { height: auto; min-height: 0; max-height: 540px; aspect-ratio: 4 / 3; }
  .doctor-demo .dt-identity-panel { height: auto; min-height: 420px; }
  .doctor-demo .dt-monogram { font-size: clamp(5.5rem, 18vw, 8rem); }
  .doctor-demo .dt-identity-center>p { font-size: clamp(1.65rem, 6vw, 2.5rem); }
  .doctor-demo .dt-identity-logo { max-width: 220px; }
  .doctor-demo .dt-offer-layout { gap: 30px; }
  .doctor-demo .dt-section-heading h2 { margin-bottom: 14px; }
  .doctor-demo .dt-offer-preview .dt-text-link { margin-top: 10px; }
  .doctor-demo .dt-services-detail .dt-service-has-detail { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .doctor-demo .dt-service-row { padding-block: 24px; }
  .doctor-demo .dt-services-detail .dt-service-row { padding-block: 28px; }
  .doctor-demo .dt-inner-hero { padding-block: 44px 52px; }
  .doctor-demo .dt-offer-hero-grid { gap: 40px; }
  .doctor-demo .dt-visual-compact .dt-hero-image { height: auto; max-height: 420px; aspect-ratio: 3 / 2; }
  .doctor-demo .dt-visual-compact .dt-identity-panel { min-height: 340px; }
  .doctor-demo .dt-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .doctor-demo .dt-gallery-1 { grid-template-columns: minmax(0, 1fr); }
  .doctor-demo .dt-gallery-3 figure:first-child { grid-column: 1 / -1; }
  .doctor-demo .dt-gallery-image { height: 230px; }
  .doctor-demo .dt-gallery-3 figure:first-child .dt-gallery-image { height: 330px; }
  .doctor-demo .dt-teaser-grid { gap: 30px; }
  .doctor-demo .dt-location-grid { gap: 38px; }
  .doctor-demo .dt-location-hero { padding-block: 43px 48px; }
  .doctor-demo .dt-location-section { padding-block: 42px 66px; }
  .doctor-demo .dt-map-frame iframe { height: 390px; }
}
@media (max-width: 420px) {
  .doctor-demo .dt-container { padding-inline: 20px; }
  .doctor-demo .dt-button { padding-inline: 17px; max-width: 100%; }
  .doctor-demo .dt-actions { align-items: stretch; }
  .doctor-demo .dt-visual-label { flex-direction: column; gap: 5px; }
  .doctor-demo .dt-visual-label span:last-child { max-width: 100%; text-align: left; }
  .doctor-demo .dt-identity-panel { min-height: 370px; padding: 24px; }
  .doctor-demo .dt-gallery { grid-template-columns: minmax(0, 1fr); }
  .doctor-demo .dt-gallery-image, .doctor-demo .dt-gallery-3 figure:first-child .dt-gallery-image { height: auto; max-height: 380px; aspect-ratio: 4 / 3; }
  .doctor-demo .dt-map-caption { align-items: flex-start; flex-direction: column; gap: 4px; padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .doctor-demo *, .doctor-demo *::before, .doctor-demo *::after { scroll-behavior: auto; transition: none !important; }
}
.doctor-demo .dt-identity-logo.r56-finance-identity,
.doctor-demo .dt-identity-logo.r56-vet-identity{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:170px!important;width:min(76%,250px)!important}
.doctor-demo .dt-identity-logo.r56-finance-identity img,
.doctor-demo .dt-identity-logo.r56-vet-identity img{display:block!important;width:100%!important;height:200px!important;max-width:225px!important;max-height:200px!important;object-fit:contain!important}
@media(max-width:650px){.lead-card[data-id="39"] .hub-logo-thumbnail img{max-height:150px!important}}
