/* Hikari Link v1.0.263 — scope: only the approved five pages / twelve items.
 * Strong specificity is required where older theme CSS already used !important.
 */

/* 01 /issues/young-patients/: keep only the four existing photo cards.
   The central figure and its image slot were removed in PHP. */
#main-content#main-content.hl-young-page .hl-young-problem::before,
#main-content#main-content.hl-young-page .hl-young-problem::after,
#main-content#main-content.hl-young-page .hl-young-problem h2::before,
#main-content#main-content.hl-young-page .hl-young-problem h2::after {
  content:none !important;display:none !important;
}
#main-content#main-content.hl-young-page .hl-young-problem__grid--four {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-template-rows:auto !important;
  width:min(100%,1030px) !important;max-width:1030px !important;
  gap:26px 28px !important;
  margin:20px auto 0 !important;
  padding:0 !important;transform:none !important;
  justify-items:stretch !important;align-items:stretch !important;
}
#main-content#main-content.hl-young-page .hl-young-problem__grid--four > article.hl-young-problem__combined {
  grid-column:auto !important;grid-row:auto !important;
  width:100% !important;max-width:none !important;
  margin:0 !important;transform:none !important;
  min-height:0 !important;align-self:stretch !important;
}
@media(max-width:760px) {
  #main-content#main-content.hl-young-page .hl-young-problem__grid--four {
    display:flex !important;flex-direction:column !important;
    width:min(100%,460px) !important;max-width:460px !important;gap:20px !important;
  }
}

/* 02: five slightly larger, clearly typeset patient-journey circles. */
@media(min-width:1200px) {
  #main-content#main-content.hl-young-page .hl-young-flow__row > article {
    flex:0 0 190px !important;width:190px !important;min-width:190px !important;
    height:190px !important;min-height:190px !important;max-width:190px !important;
    padding:17px 12px !important;
  }
  #main-content#main-content.hl-young-page .hl-young-flow__row > b {
    flex:0 0 24px !important;width:24px !important;min-width:24px !important;
  }
}
@media(min-width:901px) and (max-width:1199px) {
  #main-content#main-content.hl-young-page .hl-young-flow__row > article {
    flex:0 0 clamp(146px,16.3vw,178px) !important;
    width:clamp(146px,16.3vw,178px) !important;
    height:clamp(146px,16.3vw,178px) !important;
    min-width:0 !important;min-height:0 !important;
    padding:12px 8px !important;
  }
  #main-content#main-content.hl-young-page .hl-young-flow__row > b {
    flex:0 0 16px !important;width:16px !important;min-width:16px !important;
  }
}
#main-content#main-content.hl-young-page .hl-young-flow__row > article > span {font-size:19px !important;line-height:1.25 !important;}
#main-content#main-content.hl-young-page .hl-young-flow__row > article > strong {font-size:18px !important;line-height:1.36 !important;}
#main-content#main-content.hl-young-page .hl-young-flow__row > article > p {font-size:15px !important;line-height:1.48 !important;overflow-wrap:anywhere;}
@media(max-width:900px) {
  #main-content#main-content.hl-young-page .hl-young-flow__row > article {
    width:190px !important;height:190px !important;min-width:190px !important;
    min-height:190px !important;flex:0 0 190px !important;padding:16px !important;
  }
}

/* 03: icon-free SNS funnel; numbered rose triangles in the top-left corners. */
#main-content#main-content.hl-young-page .hl-young-sns__flow > article {
  position:relative;overflow:hidden;isolation:isolate;
  padding:55px 24px 29px !important;min-height:260px !important;
}
#main-content#main-content.hl-young-page .hl-young-sns__flow > article::before {
  content:"";position:absolute;left:0;top:0;width:84px;height:84px;
  background:#F3DDE3;clip-path:polygon(0 0,100% 0,0 100%);z-index:-1;pointer-events:none;
}
#main-content#main-content.hl-young-page .hl-young-sns__flow .hl-young-sns__top {
  position:static !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;
}
#main-content#main-content.hl-young-page .hl-young-sns__flow .hl-young-sns__num {
  position:absolute;left:16px;top:14px;z-index:1;
  color:#8D4058 !important;font-size:19px !important;line-height:1 !important;
}
#main-content#main-content.hl-young-page .hl-young-sns__flow > article h3 {
  font-size:20px !important;line-height:1.5 !important;margin-bottom:13px !important;
  text-align:center !important;
}
#main-content#main-content.hl-young-page .hl-young-sns__flow > article p {
  font-size:17px !important;line-height:1.7 !important;text-align:center !important;
}
@media(max-width:760px) {
  #main-content#main-content.hl-young-page .hl-young-sns__flow > article {
    min-height:215px !important;padding:50px 20px 26px !important;
  }
  #main-content#main-content.hl-young-page .hl-young-sns__flow > article h3 {font-size:19px !important;}
  #main-content#main-content.hl-young-page .hl-young-sns__flow > article p {font-size:16px !important;}
}

/* 04: five cards after deleting the explicitly named item. */
#main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid {
  display:grid !important;grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:20px !important;width:min(100%,1160px) !important;max-width:1160px !important;
  margin-inline:auto !important;
}
#main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid > article {
  grid-column:span 2 !important;min-width:0 !important;
  min-height:150px !important;padding:23px !important;align-items:center !important;
}
#main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid > article:nth-child(4) {grid-column:2 / span 2 !important;}
#main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid > article:nth-child(5) {grid-column:4 / span 2 !important;}
#main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid > article h3 {font-size:18px !important;line-height:1.58 !important;}
#main-content#main-content.hl-private-page .hl-private-problem__number {font-size:21px !important;}
@media(min-width:601px) and (max-width:900px) {
  #main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  #main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid > article:nth-child(n) {grid-column:auto !important;}
  #main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid > article:last-child {grid-column:1 / -1 !important;width:min(100%,480px) !important;justify-self:center !important;}
}
@media(max-width:600px) {
  #main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid {grid-template-columns:minmax(0,1fr) !important;gap:14px !important;}
  #main-content#main-content.hl-private-page .hl-private-problem__grid.hl-private-problem__grid > article:nth-child(n) {grid-column:1 !important;min-height:115px !important;padding:18px !important;}
}

/* 05: remove decoration under the flow heading; increase text legibility. */
#main-content#main-content.hl-private-page .hl-private-flow h2::after,
#main-content#main-content.hl-private-page .hl-private-flow h2::before {
  content:none !important;display:none !important;
}
#main-content#main-content.hl-private-page .hl-private-flow__row > article p {
  font-size:17px !important;line-height:1.7 !important;
  text-wrap:pretty;overflow-wrap:anywhere;margin-bottom:0 !important;
}
#main-content#main-content.hl-private-page .hl-private-flow__row > article {
  padding-bottom:23px !important;
}
@media(max-width:760px) {
  #main-content#main-content.hl-private-page .hl-private-flow__row > article p {font-size:16px !important;}
}
/* 06: the exact requested sentence is removed in PHP; retain existing trust cards. */
#main-content#main-content.hl-private-page .hl-private-trust__grid > article > .hl-private-trust__body {
  justify-content:center !important;gap:6px;
}

/* 07: five spacious rounded rectangles — 3 above, 2 centered below. */
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow {
  display:grid !important;grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:22px !important;max-width:1170px !important;width:100% !important;
  justify-content:stretch !important;align-items:stretch !important;flex-wrap:initial !important;
  margin:0 auto !important;
}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article {
  grid-column:span 2 !important;display:flex !important;
  flex-direction:column !important;align-items:center !important;justify-content:center !important;
  width:100% !important;max-width:none !important;min-width:0 !important;
  height:auto !important;min-height:194px !important;flex:auto !important;
  aspect-ratio:auto !important;padding:23px 22px !important;border-radius:20px !important;
  background:#FFFDFC !important;text-align:center !important;
}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article:nth-child(4) {grid-column:2 / span 2 !important;}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article:nth-child(5) {grid-column:4 / span 2 !important;}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article span {font-size:17px !important;margin-bottom:6px !important;}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article i {height:31px !important;margin-bottom:9px !important;}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article svg {width:31px !important;height:31px !important;}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article h3 {font-size:18px !important;line-height:1.45 !important;}
#main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article p {font-size:15px !important;line-height:1.6 !important;margin-top:9px !important;}
@media(min-width:601px) and (max-width:900px) {
  #main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important;}
  #main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article:nth-child(n) {grid-column:auto !important;min-height:200px !important;}
  #main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article:last-child {grid-column:1 / -1 !important;width:min(100%,390px) !important;justify-self:center !important;}
}
@media(max-width:600px) {
  #main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow {grid-template-columns:minmax(0,1fr) !important;gap:15px !important;}
  #main-content#main-content.hl-branding-page .hl-branding-patient__flow.hl-branding-patient__flow > article:nth-child(n) {grid-column:1 !important;min-height:180px !important;}
}

/* 08: wider discovery story, true circular photographs and a subtle flowing ribbon. */
#main-content#main-content.hl-branding-page .hl-branding-discovery > .hl-container {
  width:min(calc(100% - 48px),1320px) !important;max-width:1320px !important;
}
#main-content#main-content.hl-branding-page .hl-v188-story {
  width:100%;max-width:1290px;gap:34px;
}
#main-content#main-content.hl-branding-page .hl-v188-story-item img {
  width:min(100%,215px);height:auto;aspect-ratio:1 / 1;
  object-fit:cover;border-radius:50%;
}
#main-content#main-content.hl-branding-page .hl-v188-story-line {
  top:144px;height:210px;opacity:.72;
}
@media(max-width:900px) {
  #main-content#main-content.hl-branding-page .hl-branding-discovery > .hl-container {width:min(calc(100% - 32px),840px) !important;}
  #main-content#main-content.hl-branding-page .hl-v188-story {gap:24px;}
}

/* 09: broader three-step workplace cards with vertically centered arrows. */
@media(min-width:901px) {
  #main-content#main-content.hl-workplace-page .hl-workplace-steps > .hl-container {
    width:min(calc(100% - 44px),1380px) !important;max-width:1380px !important;
  }
  #main-content#main-content.hl-workplace-page .hl-workplace-steps__grid {
    width:100% !important;max-width:1280px !important;
    grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr) !important;
    gap:21px !important;align-items:stretch !important;
  }
  #main-content#main-content.hl-workplace-page .hl-workplace-steps__grid > b {
    align-self:center !important;justify-self:center !important;
    margin:0 !important;line-height:1 !important;
  }
  #main-content#main-content.hl-workplace-page .hl-workplace-steps__grid > article {
    padding:29px 25px !important;min-height:296px !important;
  }
}
#main-content#main-content.hl-workplace-page .hl-workplace-steps__grid > article h3 {font-size:18px !important;line-height:1.48 !important;}
#main-content#main-content.hl-workplace-page .hl-workplace-steps__grid > article p {font-size:16px !important;line-height:1.75 !important;}

/* 10: semantic full-card links (six anchors replace six articles + nested CTAs). */
#main-content#main-content.hl-services-page .hl-services-overview .hl-services-heading h2::after,
#main-content#main-content.hl-services-page .hl-services-overview .hl-services-heading::after {
  content:none !important;display:none !important;
}
#main-content#main-content.hl-services-page .hl-services-overview__grid > a.hl-v263-cardlink {
  display:flex !important;flex-direction:column !important;align-items:stretch !important;
  min-width:0 !important;min-height:355px !important;height:auto !important;
  padding:20px 19px 25px !important;
  text-decoration:none !important;color:#26313D !important;cursor:pointer;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
#main-content#main-content.hl-services-page .hl-services-overview__grid > a.hl-v263-cardlink:nth-child(n+4) {
  min-height:355px !important;
}
#main-content#main-content.hl-services-page a.hl-v263-cardlink .hl-services-overview-card__head {margin-top:14px !important;}
#main-content#main-content.hl-services-page a.hl-v263-cardlink > p {
  margin-top:18px !important;margin-bottom:0 !important;
  font-size:15px !important;line-height:1.7 !important;
}
#main-content#main-content.hl-services-page a.hl-v263-cardlink:hover {
  border-color:#C895A4 !important;box-shadow:0 9px 26px rgba(168,84,107,.085) !important;
  transform:translateY(-2px);
}
#main-content#main-content.hl-services-page a.hl-v263-cardlink:focus-visible {
  outline:3px solid #A8546B;outline-offset:4px;
}
@media(prefers-reduced-motion:reduce) {
  #main-content#main-content.hl-services-page a.hl-v263-cardlink {transition:none;}
}
@media(max-width:760px) {
  #main-content#main-content.hl-services-page .hl-services-overview__grid > a.hl-v263-cardlink {min-height:0 !important;padding:18px 18px 25px !important;}
}

/* 11: color only named services in the three existing text paragraphs. */
#main-content.hl-services-page .hl-services-combinations__mix {color:#26313D !important;}
#main-content.hl-services-page .hl-services-combinations__mix .hl-mix-rose {color:#A8546B;}
#main-content.hl-services-page .hl-services-combinations__mix .hl-mix-blue {color:#376983;}
#main-content.hl-services-page .hl-services-combinations__mix .hl-mix-green {color:#467663;}
#main-content.hl-services-page .hl-services-combinations__mix .hl-mix-brown {color:#84634D;}
#main-content.hl-services-page .hl-services-combinations__mix .hl-mix-navy {color:#415F7C;}
#main-content.hl-services-page .hl-services-combinations__mix .hl-mix-plum {color:#80586F;}
#main-content.hl-services-page .hl-services-combinations__mix .hl-mix-plus {color:#A67B43;}

/* 12: larger breathing room in the original three-step layout. */
@media(min-width:901px) {
  #main-content#main-content.hl-services-page .hl-services-process > .hl-container {
    width:min(calc(100% - 48px),1300px);max-width:1300px;
  }
  #main-content#main-content.hl-services-page .hl-services-process__grid {
    grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr) !important;
    gap:20px !important;width:100% !important;max-width:1230px !important;
    margin:0 auto !important;
  }
  #main-content#main-content.hl-services-page .hl-services-process__grid > b {
    align-self:center !important;justify-self:center !important;
  }
}
