/* Exact 663:20731 component family, layered on existing home.css implementation. */
.gcd-figma-service .gcd-hero{padding-top:24px}.gcd-figma-service .gcd-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,600px);gap:64px}.gcd-figma-service .gcd-hero-photo>img{width:100%;height:570px;object-fit:cover;object-position:center;border-radius:160px 8px 8px 8px}.gcd-figma-service .gcd-treatment-photo{width:100%;height:218px;aspect-ratio:auto;object-fit:cover}.gcd-figma-service .gcd-treatment-body{min-height:326px}.gcd-figma-service .gcd-treatment-body>div{display:flex;flex-direction:column;gap:0}.gcd-figma-service .gcd-dentist-photo{height:360px;object-fit:cover;object-position:center top}.gcd-figma-service .gcd-review{min-height:260px}.gcd-figma-service .gcd-review h3{color:inherit!important;margin:22px 0}.gcd-figma-service .gcd-reviews h2{margin-bottom:36px}.gcd-contact-route-panel{min-height:810px;justify-content:space-between}.gcd-contact-route-options{display:flex;flex-direction:column;gap:16px;width:100%}.gcd-contact-route-options .gcd-office-radio{align-items:flex-start;min-height:150px;background:var(--gcd-bg);cursor:default}.gcd-contact-route-options .gcd-office-radio>div{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.gcd-contact-route-options .gcd-office-radio a{font-size:16px}.gcd-contact-route-note{padding-top:20px;border-top:1px solid var(--gcd-border)}.gcd-figma-service .gcd-office-select{display:flex;align-items:center;justify-content:center;text-decoration:none!important}.gcd-figma-service .gcd-comparison-handle{pointer-events:none}.gcd-figma-whitening .gcd-goals .gcd-four-grid,.gcd-figma-whitening .gcd-journey .gcd-four-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gcd-figma-whitening .gcd-treatment-grid>article:last-child{grid-column:1/-1}.gcd-figma-whitening .gcd-treatment-grid>article:last-child .gcd-treatment-photo{height:240px}.gcd-figma-whitening .gcd-treatment-grid>article:last-child .gcd-treatment-body{min-height:0}.gcd-figma-service .gcd-breadcrumb>span{overflow-wrap:anywhere}
@media(max-width:1279px){.gcd-figma-service .gcd-hero-grid{grid-template-columns:1fr 1fr;gap:40px}.gcd-figma-service .gcd-hero-photo>img{height:540px}.gcd-figma-service .gcd-treatment-body{min-height:0}}
@media(max-width:1050px){.gcd-figma-service .gcd-hero-photo>img{height:500px}.gcd-figma-service .gcd-team-grid{grid-template-columns:1fr}.gcd-contact-route-panel{min-height:0}}
@media(max-width:767px){.gcd-figma-service .gcd-hero-grid{grid-template-columns:1fr;gap:32px}.gcd-figma-service .gcd-hero-photo>img{height:auto;aspect-ratio:1/1;border-top-left-radius:100px}.gcd-figma-service .gcd-treatment-photo{height:auto;aspect-ratio:2/1}.gcd-figma-service .gcd-dentist-photo{height:auto;aspect-ratio:4/5}.gcd-figma-whitening .gcd-goals .gcd-four-grid,.gcd-figma-whitening .gcd-journey .gcd-four-grid{grid-template-columns:1fr}.gcd-figma-whitening .gcd-treatment-grid>article:last-child{grid-column:auto}.gcd-figma-whitening .gcd-treatment-grid>article:last-child .gcd-treatment-photo{height:auto;aspect-ratio:2/1}.gcd-contact-route-options .gcd-office-radio{padding:20px}.gcd-contact-route-panel{padding:24px}.gcd-figma-service .gcd-review{min-height:0}}
/* Service cards are separate from navigation treatment-card miniatures. */
.gcd-figma-service .gcd-service-option-card{display:flex;flex-direction:column;gap:0;padding:0;border:1px solid var(--gcd-border);border-radius:8px;overflow:hidden;background:#fff;min-width:0;color:var(--gcd-ink)}
.gcd-figma-service .gcd-service-option-card>.gcd-treatment-photo{display:block;width:100%;height:218px;min-height:0;max-height:none;flex:none;object-fit:cover;filter:none;border-radius:0;margin:0}
.gcd-figma-service .gcd-treatment-body{display:flex;position:static;visibility:visible;opacity:1;flex:1;flex-direction:column;align-items:flex-start;gap:14px;padding:28px;min-height:0;color:var(--gcd-ink);background:#fff}
.gcd-figma-service .gcd-treatment-body h3{color:var(--gcd-deep)!important}.gcd-figma-service .gcd-treatment-body p{color:var(--gcd-ink)}.gcd-figma-service .gcd-treatment-body>.gcd-eyebrow{color:var(--gcd-primary)}
.gcd-figma-service .gcd-treatment-body>.gcd-text-link{margin-top:auto;padding-top:6px}
.gcd-figma-service .gcd-review{min-height:318px;height:auto;margin:0;padding:40px;gap:22px}.gcd-figma-service .gcd-review blockquote{margin:0;font:400 30px/1.28 'DM Serif Display',serif}.gcd-figma-service .gcd-review figcaption{color:inherit}.gcd-figma-service .gcd-review-dark blockquote{color:white}.gcd-figma-service .gcd-stars img{width:20px;height:20px}
.gcd-insurance-logos{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:30px 0 16px}.gcd-insurance-logos img{width:140px;height:64px;object-fit:contain;background:white;border-radius:6px;padding:12px}
.gcd-figma-service .gcd-contact-route-panel{min-height:0;padding:32px;gap:22px;justify-content:flex-start}.gcd-figma-service .gcd-contact-route-options .gcd-office-radio{min-height:0;padding:20px;border:1px solid var(--gcd-border);border-radius:8px}.gcd-figma-service .gcd-office-photo{height:100%;min-height:344px;object-fit:cover}.gcd-figma-service .gcd-office-details{gap:12px}
/* Balanced payment choices, with logos integrated into the insurance panel. */
.gcd-figma-service .gcd-payment-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.gcd-figma-service .gcd-payment-panel{padding:36px;border:1px solid var(--gcd-border);border-radius:8px;display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-width:0;background:white}.gcd-figma-service .gcd-payment-direct{background:#e4ece8;border-color:#cbd8d1}.gcd-figma-service .gcd-payment-panel h3{color:var(--gcd-deep)}.gcd-figma-service .gcd-payment-panel>.gcd-text-link{margin-top:auto}.gcd-figma-service .gcd-payment-carriers{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:12px;padding:10px 0}.gcd-figma-service .gcd-payment-carriers img{display:block;width:100%;height:64px;object-fit:contain;padding:8px;border:1px solid #eeeee8;border-radius:6px;background:white}.gcd-figma-service .gcd-payment-estimate{border-top:1px solid #becfc7;padding-top:20px;margin-top:6px}.gcd-figma-service .gcd-payment-estimate h4{color:var(--gcd-deep);margin-bottom:10px}
/* Figma663:21103: office photographs/details left, complete demo form right. */
.gcd-figma-service .gcd-consultation-grid{grid-template-columns:minmax(0,628fr) minmax(0,612fr);gap:40px;align-items:start}.gcd-figma-service .gcd-office{grid-template-columns:36% minmax(0,1fr)}.gcd-figma-service .gcd-office-photo{width:100%;height:100%;min-height:344px;object-fit:cover}.gcd-figma-service .gcd-office-details{padding:28px;gap:12px}.gcd-figma-service .gcd-office-select{width:100%;font:600 16px/24px 'Source Sans 3',sans-serif;cursor:pointer}.gcd-figma-service .gcd-service-demo-form{padding:32px;gap:22px;min-width:0}.gcd-figma-service .gcd-service-demo-form>div,.gcd-figma-service .gcd-service-demo-form fieldset{width:100%}.gcd-figma-service .gcd-service-demo-form .gcd-office-radio{min-height:98px}.gcd-figma-service .gcd-service-demo-form input:disabled{opacity:1;color:var(--gcd-ink);-webkit-text-fill-color:var(--gcd-ink);background:white;cursor:not-allowed}.gcd-figma-service .gcd-service-demo-form .gcd-button:disabled{opacity:1;background:var(--gcd-primary);color:white}.gcd-figma-service .gcd-service-demo-form .gcd-small{font-size:15px!important;line-height:22px!important;color:var(--gcd-muted)}
@media(max-width:1100px){.gcd-figma-service .gcd-consultation-grid{grid-template-columns:1fr}.gcd-figma-service .gcd-office{grid-template-columns:36% minmax(0,1fr)}.gcd-figma-service .gcd-payment-carriers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.gcd-figma-service .gcd-payment-panels{grid-template-columns:1fr}.gcd-figma-service .gcd-payment-panel{padding:24px}.gcd-figma-service .gcd-service-demo-form{padding:24px}.gcd-figma-service .gcd-consultation-grid{gap:32px}}
@media(max-width:479px){.gcd-figma-service .gcd-office{grid-template-columns:1fr}.gcd-figma-service .gcd-office-photo{height:220px;min-height:0}.gcd-figma-service .gcd-office-details{padding:24px}.gcd-figma-service .gcd-service-demo-form .gcd-office-radio{padding:16px}.gcd-figma-service .gcd-service-demo-form .gcd-office-radio:has(input:checked){padding:15px}}
/* Cosmetic-only four-card trial: wide/narrow, then narrow/wide. */
.gcd-figma-service #treatments .gcd-treatment-grid.gcd-options-count-4{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1),.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4){grid-column:span 2}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(2),.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(3){grid-column:span 1}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card>.gcd-treatment-photo{height:360px;width:100%;object-fit:cover;aspect-ratio:auto}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1)>.gcd-treatment-photo{object-position:50% 18%}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(2)>.gcd-treatment-photo{object-position:60% center}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(3)>.gcd-treatment-photo{object-position:52% center}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4)>.gcd-treatment-photo{object-position:50% 40%}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-treatment-body{min-width:0;overflow-wrap:break-word}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-treatment-body>div{flex:1}
@media(min-width:768px) and (max-width:1100px){.gcd-figma-service #treatments .gcd-treatment-grid.gcd-options-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(n){grid-column:auto}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card>.gcd-treatment-photo{height:280px}}
@media(max-width:767px){.gcd-figma-service #treatments .gcd-treatment-grid.gcd-options-count-4{grid-template-columns:1fr}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(n){grid-column:auto}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card>.gcd-treatment-photo{height:auto;aspect-ratio:3/2}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(2)>.gcd-treatment-photo,.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(3)>.gcd-treatment-photo{object-position:center}}
/* Only the two wide desktop cards use a photo/text split. */
@media(min-width:1101px){.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1),.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4){display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);align-items:stretch}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1)>.gcd-treatment-photo,.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4)>.gcd-treatment-photo{height:100%;min-height:360px;align-self:stretch;object-fit:cover}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1)>.gcd-treatment-photo{object-position:50% 30%}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4)>.gcd-treatment-photo{object-position:48% center}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1)>.gcd-treatment-body,.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4)>.gcd-treatment-body{padding:28px;min-width:0}}
/* Compact content-led proportions: photographs never determine wide-row height. */
.gcd-figma-service #treatments .gcd-options-count-4 .gcd-treatment-body{min-height:0;padding:22px;gap:12px;justify-content:flex-start}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-treatment-body>div{flex:0 1 auto}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-treatment-body>.gcd-text-link{margin-top:0;padding-top:4px}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-treatment-body>div p+p{margin-top:10px}
@media(min-width:1101px){.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(2)>.gcd-treatment-photo,.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(3)>.gcd-treatment-photo{height:clamp(160px,14vw,184px);min-height:0;object-position:center}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1),.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4){position:relative;min-height:0;grid-template-columns:minmax(0,42fr) minmax(0,58fr)}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1)>.gcd-treatment-photo,.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4)>.gcd-treatment-photo{position:absolute;inset:0 auto 0 0;width:42%;height:100%;min-height:0;object-fit:cover}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1)>.gcd-treatment-body,.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4)>.gcd-treatment-body{grid-column:2;padding:26px;justify-content:center;min-height:0}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(1)>.gcd-treatment-photo{object-position:50% 28%}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card:nth-child(4)>.gcd-treatment-photo{object-position:48% center}}
@media(min-width:768px) and (max-width:1100px){.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card>.gcd-treatment-photo{height:190px;min-height:0}}
@media(max-width:767px){.gcd-figma-service #treatments .gcd-options-count-4 .gcd-service-option-card>.gcd-treatment-photo{height:auto;aspect-ratio:3/2;min-height:0}.gcd-figma-service #treatments .gcd-options-count-4 .gcd-treatment-body{padding:24px}}
/* Reusable count rules: three equal; five wide/narrow then three equal.
   Four-card Cosmetic retains its approved existing rules above. */
.gcd-figma-service #treatments .gcd-options-count-3,.gcd-figma-service #treatments .gcd-options-count-5{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.gcd-figma-service #treatments .gcd-options-count-3>.gcd-service-option-card:nth-child(n),.gcd-figma-service #treatments .gcd-options-count-5>.gcd-service-option-card:nth-child(n){grid-column:auto;display:flex;flex-direction:column;position:relative;min-height:0}.gcd-figma-service #treatments .gcd-options-count-3>.gcd-service-option-card>.gcd-treatment-photo,.gcd-figma-service #treatments .gcd-options-count-5>.gcd-service-option-card>.gcd-treatment-photo{position:static;width:100%;height:clamp(160px,14vw,184px);min-height:0;object-fit:cover;object-position:center;aspect-ratio:auto}.gcd-figma-service #treatments :is(.gcd-options-count-3,.gcd-options-count-5) .gcd-treatment-body{grid-column:auto;min-width:0;min-height:0;padding:22px;gap:12px;justify-content:flex-start;overflow-wrap:break-word}.gcd-figma-service #treatments :is(.gcd-options-count-3,.gcd-options-count-5) .gcd-treatment-body>div{flex:0 1 auto}.gcd-figma-service #treatments :is(.gcd-options-count-3,.gcd-options-count-5) .gcd-treatment-body>.gcd-text-link{margin-top:0;padding-top:4px}.gcd-figma-service #treatments :is(.gcd-options-count-3,.gcd-options-count-5) .gcd-treatment-body>div p+p{margin-top:10px}
@media(min-width:1101px){.gcd-figma-service #treatments .gcd-options-count-5>.gcd-service-option-card:nth-child(1){grid-column:span 2;display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr)}.gcd-figma-service #treatments .gcd-options-count-5>.gcd-service-option-card:nth-child(1)>.gcd-treatment-photo{position:absolute;inset:0 auto 0 0;width:42%;height:100%;min-height:0}.gcd-figma-service #treatments .gcd-options-count-5>.gcd-service-option-card:nth-child(1)>.gcd-treatment-body{grid-column:2;padding:26px;justify-content:center}}
@media(min-width:768px) and (max-width:1100px){.gcd-figma-service #treatments .gcd-options-count-3,.gcd-figma-service #treatments .gcd-options-count-5{grid-template-columns:repeat(2,minmax(0,1fr))}.gcd-figma-service #treatments :is(.gcd-options-count-3,.gcd-options-count-5)>.gcd-service-option-card>.gcd-treatment-photo{height:190px}}
@media(max-width:767px){.gcd-figma-service #treatments .gcd-options-count-3,.gcd-figma-service #treatments .gcd-options-count-5{grid-template-columns:1fr}.gcd-figma-service #treatments :is(.gcd-options-count-3,.gcd-options-count-5)>.gcd-service-option-card>.gcd-treatment-photo{height:auto;aspect-ratio:3/2}.gcd-figma-service #treatments :is(.gcd-options-count-3,.gcd-options-count-5) .gcd-treatment-body{padding:24px}}
/* Native service-guide fragments animate without intercepting clicks or focus. */
html:has(body.gcd-figma-service){scroll-behavior:smooth!important}.gcd-figma-service section[id]{scroll-margin-top:var(--gcd-service-anchor-offset,24px)}
@media(prefers-reduced-motion:reduce){html:has(body.gcd-figma-service){scroll-behavior:auto!important}}
.gcd-figma-service .gcd-team-intro{margin-top:20px}

/* Override existing important font shorthands only inside service content. */
.gcd-figma-service .gcd-main h3,.gcd-figma-service .gcd-main .gcd-payment-estimate h4{font-weight:800!important}

/* Only actual cross-service option titles and compact footers are navigable. */
.gcd-figma-service #treatments .gcd-option-title-link{font:inherit;color:inherit!important;text-decoration:none;overflow-wrap:break-word}.gcd-figma-service #treatments .gcd-option-title-link:hover,.gcd-figma-service #treatments .gcd-option-title-link:focus-visible{text-decoration:underline;text-underline-offset:4px}.gcd-figma-service #treatments .gcd-option-title-link:focus-visible,.gcd-figma-service #treatments .gcd-option-more:focus-visible{outline:2px solid var(--gcd-primary);outline-offset:4px;border-radius:2px}

/* Preserve complete original collages, diagrams and result panels inside existing frames. */
.gcd-figma-service .gcd-hero-photo>img.gcd-original-contain,.gcd-figma-service #treatments .gcd-treatment-grid .gcd-service-option-card>img.gcd-original-contain{object-fit:contain!important;object-position:center!important;background:#fff}

/* Original SVG service icons retain their complete shapes in the existing image frames. */
.gcd-figma-service #treatments .gcd-treatment-grid .gcd-service-option-card>img.gcd-original-service-icon{padding:28px}

/* Photo frames fill consistently across all service-card counts and breakpoints.
   Explicit semantic contain assets (diagrams, icons and paired result panels) stay intact. */
.gcd-figma-service .gcd-hero-photo>img:not(.gcd-original-contain),.gcd-figma-service #treatments .gcd-service-option-card>img.gcd-treatment-photo:not(.gcd-original-contain),.gcd-figma-service .gcd-dentist-photo,.gcd-figma-service .gcd-office-photo{object-fit:cover!important}

/* Four assessment cards form two balanced rows; three-card sections retain their layout. */
@media(min-width:768px){.gcd-figma-service .gcd-goals .gcd-four-grid.gcd-goals-count-4.gcd-goals-balanced{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep the four Cracked Tooth assessment steps balanced without changing other journeys. */
@media(min-width:768px){.gcd-figma-service .gcd-journey .gcd-four-grid.gcd-journey-balanced{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Scope white submit labels to the service-page consultation form in all states. */
.gcd-figma-service .gcd-service-demo-form .wpcf7 :is(input,button)[type="submit"].gcd-button {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

/* Extend the original labeled diagram into its desktop split frame, without cropping. */
@media (min-width: 1101px) {
    .gcd-figma-service.postid-3377 #treatments .gcd-options-count-5 > .gcd-service-option-card:first-child > .gcd-treatment-photo.gcd-original-contain {
        background: linear-gradient(to bottom, #000 0 50%, #858583 50% 100%);
    }
}
