:root {
  --sdc-blue: #2198d6;
  --sdc-blue-deep: #087bb8;
  --sdc-ink: #102f42;
  --sdc-copy: #465f6e;
  --sdc-pale: #eef8fc;
  --sdc-line: #d8ebf4;
  --sdc-radius: 18px;
  --sdc-shadow: 0 18px 48px rgba(14, 74, 105, 0.10);
}

body {
  color: var(--sdc-copy);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sdc-ink);
  letter-spacing: -0.035em;
  line-height: 1.22;
}

p { letter-spacing: -0.012em; }

.sdc-section {
  padding-top: clamp(76px, 8vw, 112px) !important;
  padding-bottom: clamp(76px, 8vw, 112px) !important;
}

.sdc-section-title {
  margin-top: 10px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.5vw, 3.35rem) !important;
  font-weight: 750;
}

.sdc-kicker {
  margin-bottom: 0;
  color: var(--sdc-blue-deep);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sdc-lead,
.sdc-hero__copy {
  color: var(--sdc-copy);
  line-height: 1.8;
}

/* 첫 화면의 제목과 버튼 */
#top.sdc-hero { min-height: auto; }

#top .sdc-hero__inner {
  min-height: clamp(540px, 56vw, 660px);
  gap: clamp(36px, 5vw, 76px);
}

#top h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(2.65rem, 5vw, 4.35rem) !important;
  font-weight: 760;
  letter-spacing: -0.055em;
}

#top .sdc-hero__copy {
  max-width: 690px;
  margin-bottom: 28px;
}

.wp-block-button__link {
  min-height: 48px;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(33, 152, 214, 0.16);
  font-weight: 700;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  background: var(--sdc-blue-deep) !important;
  box-shadow: 0 12px 26px rgba(33, 152, 214, 0.24);
  transform: translateY(-2px);
}

/* 흰 타원 영역 안의 로고를 정확히 중앙에 배치 */
#top .sdc-hero__mark {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(360px, 38vw, 470px);
  padding: clamp(28px, 4vw, 54px) !important;
  overflow: hidden;
}

#top .sdc-hero__mark figure {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

#top .sdc-hero__mark img {
  display: block;
  width: min(100%, 350px) !important;
  height: auto !important;
  max-height: 340px;
  margin: auto !important;
  object-fit: contain;
  object-position: center;
}

/* 이미지와 진료 카드의 표현 통일 */
.sdc-image-frame,
.sdc-card {
  border: 1px solid rgba(33, 152, 214, 0.10);
  border-radius: var(--sdc-radius) !important;
  box-shadow: var(--sdc-shadow) !important;
}

.sdc-card {
  height: 100%;
  padding: clamp(26px, 3vw, 38px) !important;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sdc-card:hover {
  border-color: rgba(33, 152, 214, 0.34);
  box-shadow: 0 22px 54px rgba(14, 74, 105, 0.14) !important;
  transform: translateY(-4px);
}

/* 의료진 소개 */
#lineup {
  background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
}

#lineup > .wp-block-columns {
  align-items: stretch !important;
  gap: clamp(42px, 6vw, 86px);
}

#lineup > .wp-block-columns > .wp-block-column:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#lineup h3 {
  position: relative;
  margin-top: 30px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  color: var(--sdc-blue-deep) !important;
  font-size: clamp(1.55rem, 2.5vw, 2rem) !important;
}

#lineup h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: var(--sdc-blue);
  content: "";
}

#lineup h3 + p {
  margin-top: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--sdc-line);
  border-radius: 16px;
  color: #334f60;
  background: linear-gradient(145deg, #f8fcfe, #fff);
  box-shadow: 0 14px 36px rgba(18, 79, 110, 0.07);
  font-size: 0.96rem;
  line-height: 1.82;
}

#lineup .sdc-image-frame {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(155deg, #f5fbfe 0%, #fff 62%);
}

#lineup .sdc-image-frame figure { margin-bottom: 0; }

#lineup .sdc-image-frame img {
  display: block;
  width: 100%;
  object-fit: contain;
}

/* About 슬라이드 아래로 남던 이중 프레임 제거 */
#about .sdc-image-frame {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: transparent !important;
  line-height: 0;
}

#about figure.wp-block-gallery.suryeohan-about-slider {
  width: 100%;
  margin: 0 !important;
  border-radius: var(--sdc-radius);
}

/* 오시는 길을 카드형 비대칭 구성으로 정돈 */
#visit {
  background: linear-gradient(145deg, #fff 0%, #f5fbfe 100%);
}

#visit > .wp-block-columns {
  align-items: flex-start !important;
  gap: clamp(40px, 6vw, 78px);
}

#visit > .wp-block-columns > .wp-block-column:first-child {
  display: block;
}

#visit:not(.syh-tour-visit) h3 {
  box-sizing: border-box;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 24px 24px 10px;
  border: 1px solid var(--sdc-line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  font-size: 1.2rem !important;
}

#visit:not(.syh-tour-visit) h3 + p {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0;
  margin-bottom: 20px;
  padding: 6px 24px 24px;
  border: 1px solid var(--sdc-line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  color: #405c6b;
  background: #fff;
  box-shadow: 0 14px 34px rgba(14,74,105,.07);
  font-size: clamp(.98rem, 1.5vw, 1.08rem) !important;
  line-height: 1.85;
}

#visit:not(.syh-tour-visit) h3:nth-of-type(1),
#visit:not(.syh-tour-visit) h3:nth-of-type(1) + p {
  margin-right: 0;
  margin-left: 0;
}

#visit:not(.syh-tour-visit) h3:nth-of-type(2),
#visit:not(.syh-tour-visit) h3:nth-of-type(2) + p {
  margin-right: 0;
  margin-left: 0;
}

#visit:not(.syh-tour-visit) iframe {
  display: block;
  margin-top: 62px;
  border-radius: 22px;
  box-shadow: 0 22px 56px rgba(14,74,105,.14);
}

#visit:not(.syh-tour-visit) .wp-block-buttons { margin-top: 8px; }

/* 건강정보가 비어 있을 때도 박스 형태 유지 */
#blog .wp-block-query-no-results {
  padding: 34px;
  border: 1px dashed #b9dbe9;
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  text-align: center;
}

@media (max-width: 781px) {
  body { font-size: 16px; }

  #top .sdc-hero__inner { min-height: auto; padding-top: 62px; padding-bottom: 70px; }
  #top h1 { text-align: left !important; }
  #top .sdc-hero__mark { min-height: 310px; padding: 34px !important; }
  #top .sdc-hero__mark img { width: min(88%, 300px) !important; max-height: 260px; }

  #lineup > .wp-block-columns { gap: 36px; }
  #lineup > .wp-block-columns > .wp-block-column:last-child { order: -1; }
  #lineup .sdc-image-frame { max-width: 520px; margin-inline: auto; }

  #visit:not(.syh-tour-visit) h3,
  #visit:not(.syh-tour-visit) h3 + p,
  #visit:not(.syh-tour-visit) h3:nth-of-type(1),
  #visit:not(.syh-tour-visit) h3:nth-of-type(1) + p,
  #visit:not(.syh-tour-visit) h3:nth-of-type(2),
  #visit:not(.syh-tour-visit) h3:nth-of-type(2) + p {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
  #visit:not(.syh-tour-visit) iframe { margin-top: 20px; border-radius: 16px; }

  .sdc-section { padding-top: 68px !important; padding-bottom: 68px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link,
  .sdc-card { transition: none; }
}

.syh-global-reveal-ready .syh-global-reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .62s cubic-bezier(.22,1,.36,1) var(--syh-global-delay, 0ms),
    transform .62s cubic-bezier(.22,1,.36,1) var(--syh-global-delay, 0ms);
}

.syh-global-reveal-ready .syh-global-reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .syh-global-reveal-ready .syh-global-reveal-item { transition: none; }
}

/* 스크롤 후 나타나는 전역 퀵 사이드바 */
.syh-quickbar {
  position: fixed;
  z-index: 900;
  top: 50%;
  right: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(27,130,178,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 42px rgba(14,58,79,.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(18px,-50%);
  transition: opacity .36s ease, transform .48s cubic-bezier(.22,1,.36,1);
  backdrop-filter: blur(12px);
}

.syh-quickbar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0,-50%);
}

.syh-quickbar__item {
  display: flex;
  width: 81px;
  min-height: 80px;
	padding: 10px 5px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #e5eef2;
  border-radius: 0;
  background: transparent;
  color: #315365;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: color .2s ease, background-color .2s ease;
}

.syh-quickbar__item:last-child { border-bottom: 0; }
.syh-quickbar__item svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.syh-quickbar__item:hover,
.syh-quickbar__item:focus-visible {
  background: var(--sdc-blue);
  color: #fff;
  outline: 0;
}
.syh-quickbar__top {
  background: var(--sdc-navy);
  color: #fff;
}

@media (max-width: 782px) {
  .syh-quickbar {
    top: auto;
    right: 50%;
    bottom: 14px;
    flex-direction: row;
    width: min(94vw,410px);
    transform: translate(50%,18px);
  }
  .syh-quickbar.is-visible { transform: translate(50%,0); }
  .syh-quickbar__item {
    width: 20%;
    min-height: 54px;
    border-right: 1px solid #e5eef2;
    border-bottom: 0;
    font-size: 10px;
  }
  .syh-quickbar__item:last-child { border-right: 0; }
  .syh-quickbar__item svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .syh-quickbar { transition: none; }
}

/* P3 visual storytelling — calm illustration anchors and long-page guidance. */
.syh-reading-progress {
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: rgba(220, 234, 241, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.admin-bar .syh-reading-progress { top: 32px; }
.syh-reading-progress.is-active { opacity: 1; }
.syh-reading-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--sdc-blue), #65c7e8, var(--sdc-blue-deep));
  box-shadow: 0 1px 9px rgba(33, 152, 214, .34);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.syh-story-section {
  position: relative;
  isolation: isolate;
}

.syh-story-section--soft:not(.syh-specialty-section--dark) {
  background-color: #f7fbfd;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(33, 152, 214, .07), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(237,248,253,.42));
}

/* Keep established dark information bands dark when alternating tones are added. */
:is(
  .syh-implant-benefits,
  .syh-advanced-graft,
  .syh-reoperation-rebuild,
  .syh-oneday-process,
  .syh-fullmouth-data,
  .syh-denture-benefits,
  .syh-aesthetic-benefits,
  .syh-sedation-check,
  .syh-sedation-detail-points
).syh-story-section--soft {
  background-color: var(--sdc-ink);
  background-image:
    radial-gradient(circle at 14% 14%, rgba(101,199,232,.12), transparent 30%),
    linear-gradient(145deg, #102f46, #173f58);
}

.syh-story-anchor,
.syh-card-visual { display: none !important; }

.syh-kicker-with-icon {
  display: flex !important;
  width: max-content !important;
  max-width: max-content;
  align-items: center;
  justify-content: center;
  align-self: center !important;
  justify-self: center !important;
  gap: 7px;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(33, 152, 214, .13);
  border-radius: 999px;
  background: rgba(239, 247, 251, .9);
  box-shadow: none;
  line-height: 1 !important;
  text-align: center !important;
}

/* Keep every section label centered even when its parent uses a left-aligned
   flex or grid layout. This also covers labels before the icon script runs. */
:is(.syh-specialty-eyebrow,.sdc-kicker,.syh-page-kicker,.syh-tour-kicker) {
  width: max-content !important;
  max-width: calc(100% - 32px);
  margin-right: auto !important;
  margin-left: auto !important;
  align-self: center !important;
  justify-self: center !important;
  text-align: center !important;
}

.syh-kicker-icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background-image: var(--syh-story-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

:is(
  .syh-specialty-section--dark,
  .syh-implant-benefits,
  .syh-advanced-graft,
  .syh-reoperation-rebuild,
  .syh-oneday-process,
  .syh-fullmouth-data,
  .syh-denture-benefits,
  .syh-aesthetic-benefits,
  .syh-sedation-check,
  .syh-sedation-detail-points
) .syh-kicker-with-icon {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
}

:is(
  .syh-reoperation-rebuild,
  .syh-oneday-process,
  .syh-fullmouth-data,
  .syh-denture-benefits
) :is(.syh-specialty-eyebrow,.syh-kicker-with-icon) {
  color: #9de5f2 !important;
}

/* All implant landing heroes share one readable title rhythm. */
.syh-implant-page .syh-implant-hero__inner > .wp-block-column:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.syh-implant-page .syh-implant-hero h1 {
  width: 100%;
  max-width: 680px;
  margin-right: auto !important;
  margin-left: auto !important;
  font-size: clamp(38px, 3.35vw, 52px) !important;
  line-height: 1.24 !important;
  letter-spacing: -.045em !important;
  text-align: center !important;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.syh-implant-page .syh-implant-hero .syh-specialty-lead {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
  word-break: keep-all;
  text-wrap: pretty;
}

/* Compact, consistent first-view rhythm for every sedation clinic page. */
.syh-sedation-page .syh-sedation-hero {
  padding: clamp(44px, 5vw, 58px) 32px !important;
}

.syh-sedation-page .syh-sedation-hero__inner {
  min-height: 0 !important;
  align-items: center;
  gap: clamp(38px, 5vw, 68px);
}

.syh-sedation-page .syh-sedation-hero h1 {
  width: 100%;
  max-width: 620px;
  margin-right: auto !important;
  margin-left: auto !important;
  font-size: clamp(38px, 3.35vw, 52px) !important;
  line-height: 1.24 !important;
  letter-spacing: -.045em !important;
  text-align: center !important;
  word-break: keep-all;
  text-wrap: balance;
}

.syh-sedation-page .syh-sedation-hero .syh-specialty-lead {
  max-width: 630px;
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
  word-break: keep-all;
  text-wrap: pretty;
}

.syh-sedation-page .syh-sedation-hero__image {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 1 / 1 !important;
}

.syh-sedation-page .syh-sedation-hero__image img {
  object-position: center;
}

.syh-story-section > :is(h2,.wp-block-heading),
.syh-story-section > * > :is(h2,.wp-block-heading) {
  text-wrap: balance;
}

.syh-story-section :is(.syh-specialty-intro,.syh-specialty-lead) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 782px) {
  .admin-bar .syh-reading-progress { top: 46px; }
  .syh-kicker-with-icon { padding: 6px 10px !important; }
  .syh-kicker-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .syh-implant-page .syh-implant-hero h1 {
    max-width: 560px;
    font-size: clamp(29px, 7.5vw, 36px) !important;
    line-height: 1.3 !important;
    letter-spacing: -.04em !important;
  }
  .syh-sedation-page .syh-sedation-hero {
    padding: 42px 20px 50px !important;
  }
  .syh-sedation-page .syh-sedation-hero h1 {
    font-size: clamp(29px, 7.5vw, 36px) !important;
    line-height: 1.3 !important;
  }
  .syh-sedation-page .syh-sedation-hero__image {
    max-height: none;
    aspect-ratio: 16 / 11 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .syh-reading-progress { transition: none !important; }
}

/* Main landing FAQ: optically centered icon and smooth two-way accordion. */
.syh-p1-faq__item summary::after {
  content: "" !important;
  top: 50% !important;
  margin-top: 0 !important;
  box-sizing: border-box;
  color: #9ee2f7;
  background-color: rgba(255, 255, 255, .11) !important;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor) !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 12px 2px, 2px 12px !important;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1),
              background-color .3s ease !important;
}

.syh-p1-faq__item[open]:not(.is-closing) summary::after {
  transform: translateY(-50%) rotate(45deg) !important;
  background-color: rgba(33, 152, 214, .34) !important;
}

.syh-p1-faq__item.is-closing summary::after {
  transform: translateY(-50%) rotate(0deg) !important;
  background-color: rgba(255, 255, 255, .11) !important;
}

.syh-p1-faq__item.syh-faq-animating {
  will-change: height;
}

.syh-p1-faq__answer {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .syh-p1-faq__item summary::after { transition: none !important; }
}

/* P2 first pass: shared usability, responsive navigation and layout stability. */
html {
  scroll-padding-top: 112px;
}

main :where([id]) {
  scroll-margin-top: 112px;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(33, 152, 214, .48);
  outline-offset: 3px;
}

:where(.wp-block-image, .wp-block-gallery) img,
.syh-specialty-page img,
.syh-implant-page img,
.syh-aesthetic-page img,
.syh-sedation-page img {
  display: block;
  max-width: 100%;
}

iframe,
video {
  max-width: 100%;
}

:is(
  .syh-implant-tabs__inner,
  .syh-aesthetic-tabs__inner,
  .syh-sedation-tabs__inner,
  .syh-case-tabs
) > a {
  min-height: 44px;
  box-sizing: border-box;
}

/* Grid children keep an identical track height even when one title wraps. */
:is(
  .syh-implant-page,
  .syh-aesthetic-page,
  .syh-sedation-page,
  .syh-specialty-page
) [class*="__grid"] {
  align-items: stretch;
}

:is(
  .syh-implant-page,
  .syh-aesthetic-page,
  .syh-sedation-page,
  .syh-specialty-page
) [class*="__grid"] > :is(
  [class*="card"],
  [class*="item"],
  [class*="point"],
  [class*="benefit"]
) {
  height: 100%;
  min-height: 0;
  margin-block: 0 !important;
  box-sizing: border-box;
}

@media (max-width: 782px) {
  html,
  main :where([id]) {
    scroll-padding-top: 82px;
    scroll-margin-top: 82px;
  }

  :is(
    .syh-implant-tabs__inner,
    .syh-aesthetic-tabs__inner,
    .syh-sedation-tabs__inner,
    .syh-case-tabs
  ) {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  :is(
    .syh-implant-tabs__inner,
    .syh-aesthetic-tabs__inner,
    .syh-sedation-tabs__inner,
    .syh-case-tabs
  )::-webkit-scrollbar {
    display: none;
  }

  :is(
    .syh-implant-tabs__inner,
    .syh-aesthetic-tabs__inner,
    .syh-sedation-tabs__inner,
    .syh-case-tabs
  ) > a {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .syh-quickbar {
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  body:has(.syh-quickbar) .wp-site-blocks {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

@media (hover: none) {
  .sdc-card:hover,
  .wp-block-button__link:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Sedation clinic Q&A: clean indicator and animated answer container. */
.syh-sedation-faq > details > summary {
  position: relative;
  padding-right: 72px;
  list-style: none;
}

.syh-sedation-faq > details > summary::-webkit-details-marker {
  display: none;
}

.syh-sedation-faq > details > summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #3b8da4;
  background-color: #edf6f7;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 12px 2px, 2px 12px;
  content: "";
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1),
              color .25s ease,
              background-color .25s ease;
}

.syh-sedation-faq > details[open]:not(.is-closing) > summary::after {
  color: #fff;
  background-color: #3b8da4;
  transform: translateY(-50%) rotate(45deg);
}

.syh-sedation-faq > details.is-closing > summary::after {
  color: #3b8da4;
  background-color: #edf6f7;
  transform: translateY(-50%) rotate(0deg);
}

.syh-sedation-faq > details.syh-faq-animating {
  overflow: hidden;
  will-change: height;
}

.syh-sedation-faq__answer {
  overflow: hidden;
}

.syh-sedation-faq__answer > p {
  margin: 0;
  padding: 0 26px 24px;
  color: #52666e;
}

@media (max-width: 600px) {
  .syh-sedation-faq > details > summary {
    padding: 19px 60px 19px 20px;
  }
  .syh-sedation-faq > details > summary::after {
    right: 18px;
    width: 28px;
    height: 28px;
  }
  .syh-sedation-faq__answer > p {
    padding: 0 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .syh-sedation-faq > details > summary::after { transition: none !important; }
}

/* Main phase 1: concern-first treatment finder. Gutenberg owns all copy and links;
 * this layer only supplies the responsive visual system. */
.syh-care-finder {
  position: relative;
  overflow: clip;
  padding: clamp(82px, 8vw, 126px) 24px !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(127, 208, 238, .22), transparent 28%),
    radial-gradient(circle at 94% 82%, rgba(20, 111, 151, .10), transparent 30%),
    linear-gradient(145deg, #f8fcfe 0%, #eef8fc 52%, #f7fbfd 100%);
}

.syh-care-finder::before,
.syh-care-finder::after {
  position: absolute;
  border: 1px solid rgba(33, 152, 214, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.syh-care-finder::before {
  top: -210px;
  right: -150px;
  width: 480px;
  height: 480px;
}

.syh-care-finder::after {
  bottom: -260px;
  left: -210px;
  width: 520px;
  height: 520px;
}

.syh-care-finder__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.syh-care-finder__head {
  max-width: 790px;
  margin: 0 auto clamp(34px, 4vw, 54px) !important;
  text-align: center;
}

.syh-care-finder__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  margin: 0 auto 18px !important;
  padding: 8px 15px;
  border: 1px solid rgba(33, 152, 214, .20);
  border-radius: 999px;
  color: #087bb8;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 24px rgba(16, 47, 66, .05);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
}

.syh-care-finder__badge::before {
  width: 16px;
  height: 16px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.5 3C5.46 3 3 5.46 3 8.5c0 2.2 1.14 3.67 2.16 5.36C6.3 15.75 6.84 21 9 21c1.55 0 1.58-4.6 3-4.6s1.45 4.6 3 4.6c2.16 0 2.7-5.25 3.84-7.14C19.86 12.17 21 10.7 21 8.5 21 5.46 18.54 3 15.5 3c-1.54 0-2.67.62-3.5 1.17C11.17 3.62 10.04 3 8.5 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.5 3C5.46 3 3 5.46 3 8.5c0 2.2 1.14 3.67 2.16 5.36C6.3 15.75 6.84 21 9 21c1.55 0 1.58-4.6 3-4.6s1.45 4.6 3 4.6c2.16 0 2.7-5.25 3.84-7.14C19.86 12.17 21 10.7 21 8.5 21 5.46 18.54 3 15.5 3c-1.54 0-2.67.62-3.5 1.17C11.17 3.62 10.04 3 8.5 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.syh-care-finder__title {
  max-width: none !important;
  margin: 0 !important;
  color: #102f42;
  font-size: clamp(34px, 4.1vw, 58px) !important;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.syh-care-finder__title strong {
  color: #168fc7;
  font-weight: inherit;
}

.syh-care-finder__lead {
  max-width: 660px;
  margin: 20px auto 0 !important;
  color: #526c7a;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  text-wrap: pretty;
}

.syh-care-finder__notice {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px !important;
  padding: 22px clamp(22px, 3vw, 34px);
  border: 1px solid rgba(33, 152, 214, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 16px 44px rgba(16, 70, 98, .06);
  backdrop-filter: blur(12px);
}

.syh-care-finder__notice > * { margin: 0 !important; }
.syh-care-finder__notice strong { color: #123f58; }
.syh-care-finder__notice p { color: #607786; line-height: 1.65; }
.syh-care-finder__notice .wp-block-button__link {
  min-width: 170px;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #123f58 !important;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.syh-care-finder__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
}

.syh-care-finder__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 332px;
  margin: 0 !important;
  padding: 36px !important;
  overflow: hidden;
  border: 1px solid rgba(16, 47, 66, .10);
  border-radius: 26px;
  color: #102f42;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 42px rgba(16, 66, 92, .07);
  transition: transform .48s cubic-bezier(.22, 1, .36, 1),
              box-shadow .48s ease,
              border-color .32s ease,
              background-color .32s ease,
              color .32s ease;
}

.syh-care-finder__card::after {
  position: absolute;
  right: -36px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(33, 152, 214, .13);
  border-radius: 50%;
  content: "";
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), border-color .3s ease;
}

.syh-care-finder__card.is-active,
.syh-care-finder__card:hover,
.syh-care-finder__card:focus-within {
  z-index: 2;
  border-color: #176587;
  color: #fff;
  background: linear-gradient(145deg, #176587, #102f46);
  box-shadow: 0 24px 58px rgba(13, 70, 99, .22);
  transform: translateY(-8px);
}

.syh-care-finder__card.is-active::after,
.syh-care-finder__card:hover::after,
.syh-care-finder__card:focus-within::after {
  border-color: rgba(255, 255, 255, .22);
  transform: scale(1.18);
}

.syh-care-finder__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 0 32px !important;
  border-radius: 22px;
  background: #edf8fc;
  transition: background-color .3s ease, transform .48s cubic-bezier(.22, 1, .36, 1);
}

.syh-care-finder__icon img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
}

.syh-care-finder__card:is(.is-active, :hover, :focus-within) .syh-care-finder__icon {
  background: rgba(255, 255, 255, .96);
  transform: rotate(-4deg) scale(1.04);
}

.syh-care-finder__card h3 {
  margin: 0 0 16px !important;
  color: inherit !important;
  font-size: clamp(20px, 1.8vw, 25px) !important;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.syh-care-finder__card > p {
  max-width: 31ch;
  margin: 0 auto 28px !important;
  color: #637985;
  font-size: 15.5px;
  line-height: 1.75;
}

.syh-care-finder__card:is(.is-active, :hover, :focus-within) > p {
  color: rgba(255, 255, 255, .78) !important;
}

body.home .wp-block-post-content .syh-care-finder__card:is(.is-active, :hover, :focus-within) > p {
  color: rgba(255, 255, 255, .82) !important;
}

.syh-care-finder__card:is(.is-active, :hover, :focus-within) h3 {
  color: #fff !important;
}

.syh-care-finder__card .wp-block-buttons {
  position: relative;
  z-index: 2;
  justify-content: center;
  width: 100%;
  margin-top: auto !important;
}

.syh-care-finder__card .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 48px;
  padding: 11px 20px !important;
  border-radius: 999px !important;
  color: #168fc7 !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.syh-care-finder__card .wp-block-button__link::after {
  display: inline-block;
  margin-left: 8px;
  content: "→";
  transition: transform .28s ease;
}

.syh-care-finder__card .wp-block-button__link:hover::after { transform: translateX(4px); }
.syh-care-finder__card:is(.is-active, :hover, :focus-within) .wp-block-button__link { color: #fff !important; }

@media (max-width: 900px) {
  .syh-care-finder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .syh-care-finder__card { min-height: 314px; padding: 32px !important; }
}

@media (max-width: 600px) {
  .syh-care-finder {
    padding: 68px 18px 74px !important;
  }
  .syh-care-finder__head { margin-bottom: 32px !important; }
  .syh-care-finder__title {
    font-size: clamp(30px, 9.2vw, 40px) !important;
    line-height: 1.2;
  }
  .syh-care-finder__lead {
    margin-top: 16px !important;
    font-size: 15px;
    line-height: 1.65;
  }
  .syh-care-finder__notice {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    text-align: center;
  }
  .syh-care-finder__notice .wp-block-buttons { justify-content: center; }
  .syh-care-finder__grid { grid-template-columns: 1fr; gap: 16px; }
  .syh-care-finder__card {
    min-height: 278px;
    padding: 28px 26px !important;
    border-radius: 24px;
  }
  .syh-care-finder__card.is-active,
  .syh-care-finder__card:hover,
  .syh-care-finder__card:focus-within { transform: translateY(-4px); }
  .syh-care-finder__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 26px !important;
    border-radius: 19px;
  }
  .syh-care-finder__icon img { width: 52px !important; height: 52px !important; }
  .syh-care-finder__card h3 { font-size: 20px !important; }
  .syh-care-finder__card > p { font-size: 15px; line-height: 1.72; }
}

@media (max-width: 390px) {
  .syh-care-finder__grid { grid-template-columns: 1fr; }
  .syh-care-finder__card { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  .syh-care-finder__card,
  .syh-care-finder__card::after,
  .syh-care-finder__icon { transition: none !important; }
}

/* Compact global header: brand and navigation share one horizontal rail. */
@media (min-width: 1100px) {
  .sdc-header {
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.4vw, 38px);
    min-height: 78px;
    padding-inline: clamp(24px, 3.4vw, 54px) !important;
    border-bottom: 1px solid rgba(220, 234, 241, .92);
    box-shadow: 0 10px 30px rgba(16, 47, 70, .045);
  }

  .sdc-header__brand-row {
    flex: 0 0 auto;
    min-height: 78px !important;
    padding: 0 !important;
  }

  .sdc-logo { margin: 0 !important; }
  .sdc-logo img { height: 46px !important; }

  .sdc-header__nav-row {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .sdc-header__nav-inner {
    width: 100% !important;
    min-height: 78px !important;
    margin: 0 !important;
  }

  .sdc-header__nav-inner > .sdc-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
  .sdc-header__nav-inner .sdc-nav .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    padding: 27px 4px !important;
    font-size: clamp(.78rem, .92vw, .94rem) !important;
  }
}

@media (max-width: 1099px) {
  .sdc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding-inline: 20px !important;
    border-bottom: 1px solid rgba(220, 234, 241, .92);
    box-shadow: 0 9px 26px rgba(16, 47, 70, .045);
  }

  .sdc-header__brand-row {
    flex: 0 0 auto;
    min-height: 70px !important;
    padding: 0 !important;
  }

  .sdc-logo { margin: 0 !important; }
  .sdc-logo img { height: 42px !important; max-width: min(62vw, 210px); }

  .sdc-header__nav-row {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .sdc-header__nav-inner {
    width: auto !important;
    min-height: 70px !important;
    margin: 0 !important;
  }

  .sdc-header__nav-inner .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    border: 1px solid rgba(16, 47, 66, .10);
    border-radius: 14px;
    color: #123f58;
    background: #f3f9fc;
  }

  .sdc-header__nav-inner .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .sdc-header__nav-inner .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
  }

  .sdc-header__nav-inner .sdc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100% !important;
  }

  .sdc-header__nav-inner .sdc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item {
    width: 100%;
    justify-content: flex-start;
  }

  .sdc-header__nav-inner .sdc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    padding: 12px 8px !important;
    text-align: left;
  }

  .sdc-header__nav-inner .sdc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 5px 0 10px 18px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  .sdc-header { min-height: 64px; padding-inline: 16px !important; }
  .sdc-header__brand-row,
  .sdc-header__nav-inner { min-height: 64px !important; }
  .sdc-logo img { height: 38px !important; max-width: 205px; }
  .sdc-header__nav-inner .wp-block-navigation__responsive-container-open {
    width: 42px;
    height: 42px;
  }
}
