@charset "UTF-8";
/*
 * 메인페이지에만 적용되는 실제 구현 디자인.
 * 사용자가 선택한 이미지 시안의 레이아웃을 참고하며,
 * 기존 원문·지점 링크·파트너·공지사항·미디어와 실제 병원 사진을 유지한다.
 */
body.forest-redesign {
  background:#fafbf8;
  color:#2f4236;
}
body.forest-redesign .wrapper,
body.forest-redesign .container {background:#fafbf8}

/* 이미 사용 중인 헤더는 변경하지 않는다. */
body.forest-redesign .forest-hero {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  min-height:342px;
  background:#253f2b;
  overflow:hidden;
}
body.forest-redesign .forest-hero-image {
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  border:0;
  border-radius:0;
  background:
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=2400&q=85')
    center 50% / cover no-repeat;
  filter:saturate(.89) contrast(1.02);
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
body.forest-redesign .forest-hero::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(90deg,rgba(14,34,22,.79) 0%,rgba(19,39,26,.59) 29%,rgba(21,43,29,.13) 65%,rgba(25,49,29,.03) 100%);
  pointer-events:none;
}
body.forest-redesign .forest-hero::after {display:none}
body.forest-redesign .forest-hero-copy {
  position:relative;
  z-index:2;
  width:100%;
  max-width:1360px;
  margin:0 auto;
  padding:58px 55px;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.13);
}
body.forest-redesign .forest-hero-copy .hero-small {
  display:block;
  margin:0 0 17px;
  color:#f2f5ef;
  font-size:16px;
  font-weight:400;
  letter-spacing:.11em;
  line-height:1.5;
}
body.forest-redesign .forest-hero-copy .hero-small::before {display:none}
body.forest-redesign .forest-hero-copy h1 {
  margin:0 0 19px;
  color:#fff;
  font-size:clamp(37px,3.35vw,51px);
  font-weight:600;
  letter-spacing:-.035em;
  line-height:1.3;
}
body.forest-redesign .forest-hero-copy>p:last-child {
  margin:0;
  color:#f6f7f4;
  font-size:17px;
  line-height:1.85;
  font-weight:400;
  letter-spacing:0;
}

/* 두 지점을 같은 높이의 가로형 사진 카드로 배치. */
body.forest-redesign .section--mainBoard {
  padding:56px 0 78px!important;
  background:#fafbf8!important;
}
body.forest-redesign .mainBoard>.wrap {
  display:flex;
  flex-direction:column;
  gap:58px;
  width:100%;
  max-width:1360px;
  padding:0 34px;
  margin:0 auto;
}
body.forest-redesign .mainBoard .wrap .mainBoard__link-box {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  width:100%;
  gap:30px;
  margin:0;
}
body.forest-redesign .mainBoard__link {
  position:relative;
  isolation:isolate;
  display:block;
  box-sizing:border-box;
  min-width:0;
  width:100%;
  min-height:0;
  height:auto!important;
  margin:0;
  padding:0;
  background:none!important;
  border:0;
  border-radius:0;
  box-shadow:none!important;
  overflow:visible;
  transition:none;
}
body.forest-redesign .mainBoard__link:hover {
  box-shadow:none!important;
}
body.forest-redesign .mainBoard__link::before,
body.forest-redesign .mainBoard__link-gasan::before,
body.forest-redesign .mainBoard__link-mg::before {
  content:"";
  position:absolute;
  z-index:0;
  inset:0 0 auto 0;
  box-sizing:border-box;
  display:block;
  width:100%!important;
  height:240px;
  border:0;
  border-radius:13px;
  background-position:center 53%;
  background-size:cover;
  background-repeat:no-repeat;
  filter:saturate(.9);
  box-shadow:none;
  transition:filter .22s ease,transform .25s ease;
  pointer-events:none;
}
body.forest-redesign .mainBoard__link-gasan::before {
  background-image:url('/resources/newforest/assets/images/gasan2.png');
}
body.forest-redesign .mainBoard__link-mg::before {
  left:0;
  right:0;
  background-image:url('/resources/newforest/assets/images/magock.jpg');
}
body.forest-redesign .mainBoard__link::after {display:none}
body.forest-redesign .mainBoard__link:hover::before {
  transform:translateY(-2px);
  filter:saturate(.98);
}
body.forest-redesign .mainBoard__link a,
body.forest-redesign .mainBoard__link.mainBoard__link-gasan a,
body.forest-redesign .mainBoard__link.mainBoard__link-mg a,
body.forest-redesign .mainBoard__link.mainBoard__link-gasan:hover a,
body.forest-redesign .mainBoard__link.mainBoard__link-mg:hover a {
  position:relative;
  z-index:1;
  display:block;
  box-sizing:border-box;
  width:100%;
  min-height:0;
  height:auto;
  margin:0;
  padding:260px 6px 7px;
  background:transparent!important;
  border:0;
  color:#2f4236;
  text-align:left;
  text-decoration:none;
}
body.forest-redesign .mainBoard__link .branch-copy,
body.forest-redesign .mainBoard__link-mg .branch-copy {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"title action" "description action";
  grid-auto-rows:min-content;
  column-gap:24px;
  row-gap:9px;
  align-items:center;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:0;
  margin:0;
  padding:0 9px 0 10px;
  background:none!important;
  border:0;
  border-radius:0;
  box-shadow:none!important;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transform:none!important;
  transition:none;
}
body.forest-redesign .mainBoard__link .branch-copy img {display:none}
body.forest-redesign .mainBoard__link .branch-copy h2 {
  grid-area:title;
  margin:0;
  color:#263f34;
  font-size:clamp(25px,2.2vw,30px);
  font-weight:600;
  letter-spacing:-.025em;
  line-height:1.3;
}
body.forest-redesign .mainBoard__link .branch-copy p {
  grid-area:description;
  margin:0;
  color:#68776d;
  font-size:14px;
  font-weight:400;
  line-height:1.75;
  letter-spacing:0;
}
body.forest-redesign .mainBoard__link .branch-copy span {
  grid-area:action;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  align-self:center;
  justify-self:end;
  box-sizing:border-box;
  width:auto;
  height:58px;
  margin:0;
  padding:0 25px;
  background:#365d41;
  border:1px solid #365d41;
  border-radius:999px;
  color:#fff;
  font-size:15px;
  font-weight:500;
  white-space:nowrap;
  line-height:1.3;
  text-align:center;
  box-shadow:none;
  transition:background .2s ease,transform .2s ease;
}
body.forest-redesign .mainBoard__link .branch-copy span::after {
  content:"→";
  position:static;
  display:block;
  margin:0;
  padding:0;
  color:inherit;
  font-size:21px;
  font-weight:400;
  line-height:1;
  border:0;
  transform:none;
}
body.forest-redesign .mainBoard__link-mg .branch-copy span {
  background:#dce8d8;
  border-color:#dce8d8;
  color:#304637;
}
body.forest-redesign .mainBoard__link:hover .branch-copy span {
  background:#2c4f37;
  border-color:#2c4f37;
  color:#fff;
  transform:translateY(-2px);
}
body.forest-redesign .mainBoard__link-mg:hover .branch-copy span {
  background:#cadfc8;
  border-color:#cadfc8;
  color:#304637;
}
body.forest-redesign .mainBoard__link:hover .branch-copy span::after {
  transform:none;
}

/* 기존 소개 페이지의 문장 그대로 사용한 메인 소개 미리보기 */
body.forest-redesign .forest-home-intro {
  display:grid;
  grid-template-columns:minmax(0,1.07fr) minmax(0,1fr);
  gap:clamp(35px,5vw,70px);
  align-items:center;
  width:100%;
  min-width:0;
  margin:8px 0 6px;
  padding:53px 0 10px;
  border-top:1px solid #e9ece6;
}
body.forest-redesign .forest-home-intro-image {
  display:block;
  width:100%;
  min-width:0;
  overflow:hidden;
  border-radius:13px;
  background:#d5e0d0;
}
body.forest-redesign .forest-home-intro-image img {
  display:block;
  width:100%;
  height:350px;
  object-fit:cover;
  object-position:center;
  transition:transform .5s ease;
}
body.forest-redesign .forest-home-intro-image:hover img {transform:scale(1.025)}
body.forest-redesign .mainBoard__board-blog h4 a {
  color:inherit;
  font:inherit;
  text-decoration:none;
}
body.forest-redesign .mainBoard__board-blog h4 a:hover {color:#326f47}

body.forest-redesign .forest-home-intro-copy {min-width:0}
body.forest-redesign .forest-home-intro-label {
  margin:0 0 21px;
  color:#66816e;
  font-size:15px;
  font-weight:500;
  line-height:1.4;
}
body.forest-redesign .forest-home-intro h2 {
  margin:0 0 25px;
  color:#2a4035;
  font-size:clamp(26px,2.3vw,34px);
  font-weight:500;
  line-height:1.5;
  letter-spacing:-.015em;
  word-break:keep-all;
}
body.forest-redesign .forest-home-intro-description {
  margin:0 0 25px;
  color:#68776e;
  font-size:16px;
  line-height:1.85;
  word-break:keep-all;
}
body.forest-redesign .forest-home-intro-link {
  display:inline-flex;
  align-items:center;
  gap:22px;
  width:auto;
  padding:10px 0;
  border-bottom:1px solid #78907d;
  color:#365b42;
  font-size:16px;
  font-weight:500;
  transition:color .2s ease;
}
body.forest-redesign .forest-home-intro-link::after {
  content:"→";
  font-size:21px;
  line-height:1;
}
body.forest-redesign .forest-home-intro-link:hover {color:#163d27}
@media(max-width:1050px) {
  body.forest-redesign .mainBoard>.wrap {padding:0 26px;gap:48px}
  body.forest-redesign .mainBoard .wrap .mainBoard__link-box {gap:20px}
  body.forest-redesign .mainBoard__link::before,
  body.forest-redesign .mainBoard__link-gasan::before,
  body.forest-redesign .mainBoard__link-mg::before {height:210px}
  body.forest-redesign .mainBoard__link a,
  body.forest-redesign .mainBoard__link.mainBoard__link-gasan a,
  body.forest-redesign .mainBoard__link.mainBoard__link-mg a,
  body.forest-redesign .mainBoard__link.mainBoard__link-gasan:hover a,
  body.forest-redesign .mainBoard__link.mainBoard__link-mg:hover a {padding:230px 3px 8px}
  body.forest-redesign .mainBoard__link .branch-copy,
  body.forest-redesign .mainBoard__link-mg .branch-copy {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"title" "description" "action";
    row-gap:10px;
    justify-items:start;
    padding:0 5px;
  }
  body.forest-redesign .mainBoard__link .branch-copy span {
    justify-self:start;
    min-width:153px;
    height:50px;
    margin-top:8px;
    border-radius:999px;
  }
  body.forest-redesign .forest-home-intro-image img {height:340px}
}
@media(max-width:768px) {
  body.forest-redesign .forest-hero {min-height:335px}
  body.forest-redesign .forest-hero-image {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }
  body.forest-redesign .forest-hero-copy {
    width:100%;
    max-width:none;
    padding:61px 30px;
  }
  body.forest-redesign .forest-hero-copy h1 {font-size:clamp(33px,7vw,43px)}
  body.forest-redesign .forest-hero-copy>p:last-child {font-size:15px}
  body.forest-redesign .section--mainBoard {padding:38px 0 65px!important}
  body.forest-redesign .mainBoard>.wrap {gap:40px;padding:0 22px}
  body.forest-redesign .mainBoard .wrap .mainBoard__link-box {
    grid-template-columns:minmax(0,1fr);
    gap:38px;
  }
  body.forest-redesign .mainBoard__link::before,
  body.forest-redesign .mainBoard__link-gasan::before,
  body.forest-redesign .mainBoard__link-mg::before {height:250px}
  body.forest-redesign .mainBoard__link a,
  body.forest-redesign .mainBoard__link.mainBoard__link-gasan a,
  body.forest-redesign .mainBoard__link.mainBoard__link-mg a,
  body.forest-redesign .mainBoard__link.mainBoard__link-gasan:hover a,
  body.forest-redesign .mainBoard__link.mainBoard__link-mg:hover a {padding:269px 4px 8px}
  body.forest-redesign .mainBoard__link .branch-copy,
  body.forest-redesign .mainBoard__link-mg .branch-copy {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"title action" "description action";
    align-items:center;
    gap:9px 15px;
  }
  body.forest-redesign .mainBoard__link .branch-copy span {justify-self:end;margin:0}
  body.forest-redesign .forest-home-intro {
    grid-template-columns:minmax(0,1fr);
    gap:27px;
    padding-top:43px;
  }
  body.forest-redesign .forest-home-intro-image img {height:300px}
  body.forest-redesign .forest-home-intro h2 {font-size:29px}
}
@media(max-width:520px) {
  body.forest-redesign .forest-hero {min-height:315px}
  body.forest-redesign .forest-hero-copy {padding:46px 22px}
  body.forest-redesign .forest-hero-copy .hero-small {font-size:14px}
  body.forest-redesign .forest-hero-copy h1 {font-size:36px}
  body.forest-redesign .mainBoard>.wrap {padding:0 18px}
  body.forest-redesign .mainBoard__link::before,
  body.forest-redesign .mainBoard__link-gasan::before,
  body.forest-redesign .mainBoard__link-mg::before {height:208px}
  body.forest-redesign .mainBoard__link a,
  body.forest-redesign .mainBoard__link.mainBoard__link-gasan a,
  body.forest-redesign .mainBoard__link.mainBoard__link-mg a,
  body.forest-redesign .mainBoard__link.mainBoard__link-gasan:hover a,
  body.forest-redesign .mainBoard__link.mainBoard__link-mg:hover a {padding:225px 0 8px}
  body.forest-redesign .mainBoard__link .branch-copy,
  body.forest-redesign .mainBoard__link-mg .branch-copy {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"title" "description" "action";
    padding:0 3px;
  }
  body.forest-redesign .mainBoard__link .branch-copy h2 {font-size:26px}
  body.forest-redesign .mainBoard__link .branch-copy p {font-size:14px}
  body.forest-redesign .mainBoard__link .branch-copy span {justify-self:start;margin-top:6px;min-width:158px}
  body.forest-redesign .forest-home-intro-image img {height:235px}
  body.forest-redesign .forest-home-intro h2 {font-size:26px}
  body.forest-redesign .forest-home-intro-description {font-size:15px}
  body.forest-redesign .forest-home-intro-description .desktop-only {display:none}
}
@media(prefers-reduced-motion:reduce) {
  body.forest-redesign .mainBoard__link::before,
  body.forest-redesign .mainBoard__link .branch-copy span,
  body.forest-redesign .forest-home-intro-image img,
  body.forest-redesign .forest-home-intro-link {transition:none!important}
}
