/* Shared service overview; PDF/document layouts are excluded by ServiceOverview. */
#dental-service { --dental-line: #dce7e1; --dental-tint: #f3f7f4; --dental-muted: #4d665b; background: var(--white); }
#dental-service .dental-content { padding-block: 24px 48px; }
#dental-service .dental-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
#dental-service .dental-toolbar .service-detail__back { margin: 0; }
#dental-service .dental-toolbar .button { min-height: 48px; font-size: 14px; }
#main-content #dental-service .page-hero { padding-bottom: 0; }
#dental-service .dental-section-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--dental-line); text-align: center; }
#dental-service .dental-section-links a { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 64px; padding: 16px 8px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--green-deep); }
#dental-service .dental-section-links a span { min-width: 0; overflow-wrap: anywhere; }
#dental-service .dental-section-links a > .icon { color: var(--green); transform: rotate(90deg); flex-shrink: 0; }
#dental-service :is(h2, h3) { color: var(--green-deep); font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
#dental-service h2 { font-size: 24px; }
#dental-service .dental-overview-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
#dental-service .dental-overview { min-width: 0; border: 1px solid var(--dental-line); border-radius: 16px; overflow: hidden; }
#dental-service .dental-cover { position: relative; background: var(--dental-tint); }
#dental-service .dental-cover > a { display: block; cursor: zoom-in; }
#dental-service .dental-cover .content-featured-image { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 56%; margin: 0; border-radius: 0; }
#dental-service .dental-cover img[hidden] { display: none; }
#dental-service .dental-cover .ui-image-fallback { min-height: 220px; border-radius: 0; padding: 24px; font-size: 14px; }
#dental-service .dental-overview__body { padding: 28px; }
#dental-service .dental-overview__body > h2 { margin-bottom: 20px; }
#dental-service .rich-content { max-width: none; font-size: 16px; line-height: 1.75; color: var(--green-deep); }
#dental-service .rich-content > :first-child { margin-top: 0; }
#dental-service .rich-content > :last-child { margin-bottom: 0; }
#dental-service .rich-content a:not(:has(img)) { overflow-wrap: anywhere; }
#dental-service .dental-information { display: grid; gap: 20px; min-width: 0; }
#dental-service .dental-info-block { border: 1px solid var(--dental-line); border-radius: 16px; padding: 24px; background: var(--white); min-width: 0; }
#dental-service .dental-info-block h2 { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; }
#dental-service .dental-info-block h2 > .icon { flex-shrink: 0; margin-top: 2px; color: var(--green); }
#dental-service dl { margin-top: 20px; }
#dental-service dl > div + div { margin-top: 20px; }
#dental-service dt { font-size: 14px; font-weight: 650; color: var(--green-deep); margin-bottom: 6px; }
#dental-service dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--dental-muted); }
#dental-service dd strong { font-size: 18px; color: var(--green-deep); font-weight: 650; }
#dental-service .service-time-location__entry dd strong { display: block; margin-top: 4px; }
#dental-service .service-time-location__entry + .service-time-location__entry { padding-top: 16px; border-top: 1px solid var(--dental-line); }
#dental-service .service-time-location__links { display: flex; flex-direction: column; align-items: flex-start; }
#dental-service .service-billing__group { margin-top: 20px; }
#dental-service .service-billing__group + .service-billing__group { padding-top: 20px; border-top: 1px solid var(--dental-line); }
#dental-service .service-billing__group h3 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.5; letter-spacing: 0; }
#dental-service .service-billing__status { margin-top: 8px; color: var(--green); font-size: 20px; font-weight: 700; line-height: 1.4; }
#dental-service .service-billing__price { margin-top: 8px; color: var(--green-deep); font-size: 28px; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
#dental-service .service-billing__description,
#dental-service .service-billing__note { margin-top: 8px; color: var(--dental-muted); font-size: 14px; line-height: 1.65; }
#dental-service .service-billing__note { margin-top: 12px; }
#dental-service .service-billing__rates { margin-top: 12px; }
#dental-service .service-billing__rates > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#dental-service .service-billing__rates > div + div { margin-top: 12px; }
#dental-service .service-billing__rates dt { margin: 0; font-size: 14px; font-weight: 400; color: var(--dental-muted); }
#dental-service .service-billing__rates dd { flex-shrink: 0; color: var(--green-deep); font-weight: 650; font-size: 14px; font-variant-numeric: tabular-nums; }
#dental-service .service-billing .dental-text-link { display: flex; width: fit-content; }
#dental-service .dental-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--green); font-size: 14px; font-weight: 600; line-height: 1.5; }
#dental-service .dental-text-link > .icon { flex-shrink: 0; }
#dental-service .dental-documents ul { list-style: none; margin: 20px 0 0; padding: 0; }
#dental-service .dental-documents li { padding-block: 14px; border-bottom: 1px solid var(--dental-line); }
#dental-service .dental-documents li:first-child { padding-top: 0; }
#dental-service .dental-documents li:last-child { border-bottom: 0; padding-bottom: 0; }
#dental-service .dental-documents strong { display: block; color: var(--green-deep); font-size: 15px; line-height: 1.5; }
#dental-service .dental-documents li span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--dental-muted); }
#dental-service :is(#dental-overview, #dental-documents, #dental-flow) { scroll-margin-top: 100px; }
#dental-service .dental-flow { margin-top: 40px; padding: 28px; border-radius: 16px; background: var(--dental-tint); }
#dental-service .dental-flow__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
#dental-service .dental-flow__heading p { margin-top: 8px; color: var(--dental-muted); font-size: 15px; line-height: 1.6; }
#dental-service .dental-flow__steps { display: grid; grid-template-columns: repeat(var(--service-flow-count, 5), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
#dental-service .service-overview__note { margin-top: 16px; color: var(--dental-muted); font-size: 15px; line-height: 1.65; }
#dental-service .dental-flow__steps li { min-width: 0; padding: 16px; border-radius: 12px; transition: background-color .3s ease; }
#dental-service .dental-flow__steps li.is-current { background: #deebe2; }
#dental-service .dental-flow__number { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--white); border: 1px solid #b5cbb7; color: var(--green-deep); font-size: 16px; font-weight: 650; transition: background-color .3s ease, color .3s ease; }
#dental-service .is-current .dental-flow__number { background: var(--green); border-color: var(--green); color: var(--white); }
#dental-service .dental-flow__steps h3 { font-size: 17px; margin-bottom: 10px; overflow-wrap: anywhere; }
#dental-service .dental-flow__steps p { font-size: 14px; line-height: 1.65; color: var(--green-deep); }
#dental-service .dental-flow__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
#dental-service .dental-flow__footer > p { color: var(--dental-muted); font-size: 13px; line-height: 1.6; }
#dental-service .dental-flow__footer .dental-text-link { margin: 0; }
#dental-service .dental-gallery { margin-top: 40px; }
#dental-service .dental-gallery > h2 { margin-bottom: 24px; }
#dental-service .dental-gallery .service-detail__gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#dental-service .article-share { margin-top: 28px; }
#dental-service a:hover { text-underline-offset: 4px; }
#dental-service .dental-section-links a:hover,
#dental-service .dental-text-link:hover { text-decoration: underline; }
#dental-service a:focus-visible,
#dental-service button:focus-visible,
#dental-service [data-dental-flow]:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (max-width: 1100px) {
    #dental-service .dental-flow__steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    #dental-service .dental-flow__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
    #dental-service .dental-flow__number { margin: 0; }
}
@media (max-width: 900px) {
    #dental-service .dental-gallery .service-detail__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #dental-service .dental-overview-grid { grid-template-columns: minmax(0, 1fr); }
    #dental-service .dental-information { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #dental-service .dental-documents { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    #dental-service .dental-content { padding-top: 16px; }
    #dental-service .dental-toolbar { flex-wrap: wrap; }
    #dental-service .dental-section-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
    #dental-service .dental-section-links a:last-child { grid-column: 1 / -1; border-top: 1px solid var(--dental-line); }
    #dental-service .dental-information { grid-template-columns: minmax(0, 1fr); }
    #dental-service .dental-info-block,
    #dental-service .dental-overview__body { padding: 20px; }
    #dental-service h2 { font-size: 22px; }
    #dental-service .dental-info-block h2 { font-size: 18px; }
    #dental-service .dental-flow { margin-top: 28px; padding: 20px 16px; }
    #dental-service .dental-flow__heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    #dental-service .dental-flow__steps li { padding: 12px 8px; gap: 12px; }
    #dental-service .dental-flow__footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    #dental-service .dental-flow__steps li,
    #dental-service .dental-flow__number { transition: none; }
}
@media (forced-colors: active) {
    #dental-service .dental-flow__steps li.is-current { outline: 2px solid Highlight; }
    #dental-service a:focus-visible,
    #dental-service button:focus-visible { outline-color: Highlight; }
}
.dental-related { padding-block: 40px 48px; background: #f3f7f4; }
.dental-related__heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.dental-related__heading h2 { color: var(--green-deep); font-size: 24px; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
.dental-related__heading > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--green); font-size: 14px; font-weight: 600; }
.dental-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dental-related__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dce7e1; border-radius: 16px; background: var(--white); transition: background-color .18s ease, border-color .18s ease; }
.dental-related__image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eaf3ed; }
.dental-related__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dental-related__image .ui-image-fallback { position: absolute; inset: 0; padding: 12px; font-size: 13px; text-align: center; }
.dental-related__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; min-width: 0; }
.dental-related__body h3 { margin: 0 0 10px; color: var(--green-deep); font-size: 19px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.dental-related__body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 16px; color: #4d665b; font-size: 15px; line-height: 1.65; }
.dental-related__action { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; color: var(--green); font-size: 14px; font-weight: 600; line-height: 1.5; }
.dental-related .icon { flex-shrink: 0; }
.dental-related a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.dental-related__heading > a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
    .dental-related__card:hover { background: #f7faf3; border-color: #a6c2b1; }
    .dental-related__card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 900px) {
    .dental-related__grid { gap: 16px; }
    .dental-related__body { padding: 16px; }
    .dental-related__body h3 { font-size: 17px; }
}
@media (max-width: 620px) {
    .dental-related { padding-block: 28px 32px; }
    .dental-related__heading { margin-bottom: 20px; }
    .dental-related__heading h2 { font-size: 22px; }
    .dental-related__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .dental-related__card { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: stretch; }
    .dental-related__image { aspect-ratio: auto; min-height: 120px; }
    .dental-related__image img { position: absolute; inset: 0; }
    .dental-related__body { padding: 16px; }
    .dental-related__body h3 { font-size: 16px; margin-bottom: 8px; }
    .dental-related__body p { font-size: 14px; margin-bottom: 12px; }
    .dental-related__action { font-size: 13px; }
    .dental-related__image .ui-image-fallback { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dental-related__card { transition: none; } }
@media (forced-colors: active) { .dental-related__card { border-color: CanvasText; } }
