@charset "UTF-8";
/*
 * 지점 소개 전용: 두 개의 정렬된 카드 대신, 실제 지점 사진과
 * 설명 패널이 겹쳐지는 비대칭 에디토리얼 레이아웃.
 * 가산/마곡 원본 사진 · 문구 · 링크는 변경하지 않음.
 */

/* 두 지점은 사진의 방향을 교차시키면서 하나의 연속된 이야기로 배치한다. */
body.forest-redesign .mainBoard .wrap .mainBoard__link-box {
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:none;
  gap:44px;
  margin:0;
}
body.forest-redesign .mainBoard__link {
  position:relative;
  isolation:isolate;
  display:block;
  flex:none;
  width:100%;
  min-height:440px;
  height:auto;
  margin:0;
  overflow:visible;
  background:none!important;
  border:0;
  border-radius:0;
  box-shadow:none;
  transition:none;
}
body.forest-redesign .mainBoard__link:hover {
  transform:none;
  box-shadow:none;
}

/* 사진은 모서리를 조금씩 다르게 처리한 넓은 패널로 표시한다. */
body.forest-redesign .mainBoard__link::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:12px;
  bottom:12px;
  left:0;
  width:84%;
  border-radius:26px 77px 29px 26px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  box-shadow:0 26px 58px rgba(24,52,32,.11);
  transition:transform .6s cubic-bezier(.2,.7,.2,1),filter .6s ease;
}
body.forest-redesign .mainBoard__link-gasan::before {
  background-image:
    linear-gradient(90deg,rgba(16,43,28,.10) 0%,rgba(17,44,30,.035) 50%,rgba(19,46,31,.29) 100%),
    url('/resources/newforest/assets/images/gasan2.png');
  background-position:center 52%;
}
body.forest-redesign .mainBoard__link-mg::before {
  left:auto;
  right:0;
  border-radius:77px 26px 26px 29px;
  background-image:
    linear-gradient(270deg,rgba(16,43,28,.11) 0%,rgba(17,44,30,.035) 50%,rgba(19,46,31,.27) 100%),
    url('/resources/newforest/assets/images/magock.jpg');
  background-position:center 50%;
}
body.forest-redesign .mainBoard__link:hover::before {
  transform:translateY(-3px);
  filter:saturate(1.03);
}

/* 아래로 번지는 그림자가 직선형 카드 경계를 부드럽게 풀어준다. */
body.forest-redesign .mainBoard__link::after {
  content:"";
  position:absolute;
  z-index:-2;
  left:3%;
  right:3%;
  bottom:-17px;
  height:40%;
  background:radial-gradient(ellipse at center,rgba(114,152,112,.13),transparent 70%);
  pointer-events:none;
}

/* 전체 면적이 링크이며, 내용 블록만 사진 위에 겹친다. */
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:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  width:100%;
  min-height:440px;
  height:auto;
  padding:24px 0;
  background:transparent!important;
  text-align:left;
  text-decoration:none;
  color:#304738;
}
body.forest-redesign .mainBoard__link-mg a,
body.forest-redesign .mainBoard__link.mainBoard__link-mg a,
body.forest-redesign .mainBoard__link.mainBoard__link-mg:hover a {
  justify-content:flex-start;
}

body.forest-redesign .mainBoard__link .branch-copy {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  width:38%;
  min-height:338px;
  margin-right:0;
  padding:34px 34px 32px;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(215,231,210,.70),transparent 69%),
    linear-gradient(135deg,rgba(255,255,253,.965),rgba(238,246,235,.96));
  border:1px solid rgba(255,255,255,.85);
  border-radius:39px 19px 47px 18px;
  box-shadow:
    0 17px 44px rgba(30,60,38,.12),
    0 3px 12px rgba(30,60,38,.05);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  transition:transform .35s ease,box-shadow .35s ease;
}
body.forest-redesign .mainBoard__link-mg .branch-copy {
  background:
    radial-gradient(ellipse at 0% 100%,rgba(213,231,208,.65),transparent 72%),
    linear-gradient(145deg,rgba(244,249,241,.97),rgba(255,255,253,.97));
  border-radius:19px 42px 19px 48px;
}
body.forest-redesign .mainBoard__link:hover .branch-copy {
  transform:translateY(-3px);
  box-shadow:0 22px 49px rgba(30,60,38,.16),0 4px 14px rgba(30,60,38,.07);
}

/* 기존 BI / 문구 / 지점명 / 바로가기: 새 문구를 추가하지 않는다. */
body.forest-redesign .mainBoard__link .branch-copy img {
  display:block;
  width:41px;
  height:41px;
  max-width:none;
  max-height:none;
  margin:0 0 17px;
  object-fit:contain;
  filter:brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(1024%) hue-rotate(83deg) brightness(91%) contrast(90%);
}
body.forest-redesign .mainBoard__link .branch-copy p {
  margin:0 0 12px;
  color:#68806d;
  font-size:15px;
  line-height:1.8;
  font-weight:400;
  text-align:left;
}
body.forest-redesign .mainBoard__link .branch-copy h2 {
  margin:0;
  color:#294332;
  font-size:clamp(28px,2.8vw,35px);
  line-height:1.25;
  font-weight:650;
  letter-spacing:-.048em;
}
body.forest-redesign .mainBoard__link .branch-copy span {
  display:inline-flex;
  align-items:center;
  width:auto;
  height:auto;
  line-height:1.5;
  margin:24px 0 0;
  padding:0 0 6px;
  color:#44684d;
  background:none;
  border:0;
  border-bottom:1px solid rgba(82,117,89,.45);
  border-radius:0;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  font-size:13px;
  font-weight:600;
  text-align:left;
  transition:color .2s ease,border-color .2s ease;
}
body.forest-redesign .mainBoard__link .branch-copy span::after {
  content:"↗";
  margin-left:12px;
  font-size:17px;
  line-height:1;
  transition:transform .2s ease;
}
body.forest-redesign .mainBoard__link:hover .branch-copy span {
  color:#244a32;
  border-color:#466d4f;
  background:none;
}
body.forest-redesign .mainBoard__link:hover .branch-copy span::after {
  transform:translate(3px,-2px);
}

/* 노트북 폭에서는 사진과 텍스트의 여백을 조금 압축한다. */
@media(max-width:1050px) {
  body.forest-redesign .mainBoard__link::before {width:85%}
  body.forest-redesign .mainBoard__link .branch-copy {
    width:42%;
    padding:31px 29px;
  }
}
@media(max-width:768px) {
  body.forest-redesign .mainBoard .wrap .mainBoard__link-box {gap:39px}
  body.forest-redesign .mainBoard__link {min-height:0;height:auto}
  body.forest-redesign .mainBoard__link::before {
    top:0;bottom:auto;left:0;right:0;
    width:100%;
    height:275px;
    border-radius:25px 50px 25px 25px;
  }
  body.forest-redesign .mainBoard__link-mg::before {
    left:0;right:0;
    border-radius:50px 25px 25px 25px;
  }
  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 {
    display:flex;justify-content:flex-end;
    min-height:0;
    padding:175px 10px 4px 20px;
  }
  body.forest-redesign .mainBoard__link-mg a,
  body.forest-redesign .mainBoard__link.mainBoard__link-mg a {
    justify-content:flex-start;
    padding:175px 20px 4px 10px;
  }
  body.forest-redesign .mainBoard__link .branch-copy {
    width:min(92%,440px);
    min-height:0;
    padding:29px 28px 28px;
  }
  body.forest-redesign .mainBoard__link .branch-copy img {
    width:35px;height:35px;margin-bottom:13px;
  }
  body.forest-redesign .mainBoard__link .branch-copy p {font-size:14px}
  body.forest-redesign .mainBoard__link .branch-copy h2 {font-size:29px}
  body.forest-redesign .mainBoard__link .branch-copy span {margin-top:19px}
}
@media(max-width:420px) {
  body.forest-redesign .mainBoard__link::before {height:248px}
  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-top:158px;
  }
  body.forest-redesign .mainBoard__link .branch-copy {
    width:94%;padding:25px 24px 25px;
    border-radius:25px 15px 30px 17px;
  }
  body.forest-redesign .mainBoard__link .branch-copy h2 {font-size:27px}
}
@media(prefers-reduced-motion:reduce) {
  body.forest-redesign .mainBoard__link::before,
  body.forest-redesign .mainBoard__link .branch-copy,
  body.forest-redesign .mainBoard__link .branch-copy span,
  body.forest-redesign .mainBoard__link .branch-copy span::after {
    transition:none!important;
  }
}
