/* -------------------------------
   건강똑똑 메인 페이지 main.css
-------------------------------- */
.section .hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 36px;
}
.section .hd h2 {
  font-family: var(--ff-base);
  font-weight: var(--fw-700);
  height: 43px;
  font-size: 36px;
  line-height: 43px;
  text-align: center;
  color: var(--text);
}
.eyebrow {
  font-family: 'SUIT', var(--ff-sans-suit);
  font-weight: var(--fw-700);
  font-size: 16px;
  color: var(--primary-75);
  height: 20px;
  line-height: 100%;
  text-align: center;
}
/* 메인 페이지에만 붙는 헤더 스타일 */
.site-header {
  background: transparent;
  border-bottom-color: transparent;
}
.nav a, .call {
  color: #fff;
}
.nav a.active {
  color: var(--primary);
}
.brand__logo {
  display: inline-block;
  width: 104px;
  height: 50px;
  background: url(/ddok/img/logo-white.svg) center / contain no-repeat;
}
/* 메인 비주얼 */
/* 레이어 순서: 배경이 되는 이미지 > 오버레이된 그라데이션 > 콘텐츠 텍스트) */
.hero {
  position: relative;
  height: 760px;
  border-radius: 0px;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1); 
  padding-top: var(--header-h); 
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(360deg, rgba(0, 0, 0, 0) 86.86%, rgba(0, 0, 0, 0.2) 95.26%), linear-gradient(265.86deg, rgba(0, 0, 0, 0) 14.63%, rgba(0, 0, 0, 0.6) 77.74%);
}
.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 228px 0 202px;
  color: var(--white);
  max-width: 720px;
}
.hero__content .kicker {
  width: 688px;
  height: 28px;
  font-weight: var(--fw-500);
  font-size: 22px;
  line-height: 125%;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero h1 {
  width: 688px;
  height: 140px;
  font-weight: var(--fw-700);
  font-size: 56px;
  line-height: 125%;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 64px;
}
.actions {
  display: flex;
  gap: 12px;
}
.actions .btn {
  padding: 18px 37.9093px;
  /*width: 222px;*/
  height: 66px;
  background: var(--primary);
  border-radius: 4px;
  font-weight: var(--fw-700);
  font-size: 22px;
  line-height: 125%;
  letter-spacing: -0.02em;
  color: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 66px;
}
.actions .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 35.78px;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: transform .16s ease;
}
/* 개별 아이콘 지정 (파일 경로만 실제 아이콘으로 변경) */
.btn--apply::after {
  -webkit-mask-image: url('/ddok/img/btn-arrow.svg');
  mask-image: url('/ddok/img/btn-arrow.svg');
}
.btn--contact::after {
  -webkit-mask-image: url('/ddok/img/btn-arrow.svg');
  mask-image: url('/ddok/img/btn-arrow.svg');
}
/* 신규 건강똑똑 SWIPE 배너 */
.banner-wrap {
  position: relative;
}
.banner-wrap .banner-swiper {
  position: relative;
  overflow: visible;
}
.banner-swiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}
.banner-swiper .swiper-slide {
  flex: 0 0 auto !important;
  width: 1200px;
}
.banner-swiper .swiper-slide a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}
.banner-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1200 / 356;
}
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--grey-d5);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 23.96px;
  z-index: 5;
  cursor: pointer;
}
.nav--next {
  background-image: url('/ddok/img/sw-next.svg');
}
.nav--prev {
  background-image: url('/ddok/img/sw-prev.svg');
}
.banner-swiper .swiper-button-disabled.nav--next {
  background-image: url('/ddok/img/sw-nonext.svg');
  opacity: 1;
  cursor: default;
}
.banner-swiper .swiper-button-disabled.nav--prev {
  background-image: url('/ddok/img/sw-noprev.svg');
  opacity: 1;
  cursor: default;
}
.nav--prev {
  left: -31px;
}
.nav--next {
  right: -31px;
}
.banner-nav:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.banner-swiper::after {
  content: "";
  position: absolute;
  top: 0;
  right: -400px;
  pointer-events: none;
  z-index: 4;
  width: 360px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
}
.banner-swiper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -400px;
  pointer-events: none;
  z-index: 4;
  width: 360px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
}
.section.medical {
  background: #F2F8FC; /*root지정되지 않음*/
  padding: 0px 0 0px 0px;
}
.strip {
  height: 170px;
  padding: 0px;
  display: flex;
  justify-content: space-between;
  padding-left: 51px;
}
.strip p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12.51px;
}
.strip .kicker {
  font-style: normal;
  font-weight: var(--fw-500);
  font-size: 19.5901px;
  line-height: 24px;
  color: #5497C7;
  height: 23px;
}
.strip p strong {
  font-style: normal;
  font-weight: var(--fw-700);
  font-size: 34.1801px;
  line-height: 41px;
  color: var(--text);
  height: 41px;
}
/* 지난 건강똑똑 */
.prev .cards {
  display: flex;
  justify-content:flex-start;
  gap: 20px;
}
.prev .cards .card {
  overflow: hidden;
}
.prev .cards .card .thumb {
  aspect-ratio: 280 / 176;
  width: 280px;
  height: 176px;
}
.prev .cards .card .thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 280 / 176;
  object-fit: cover;
  border-radius: 8px;
  box-sizing: border-box;
  border: 1px solid var(--line);
}
.prev .cards .card .body {
  padding: 12px 0 0 0;
}
.prev .cards .card .cat {
  font-size: 16px;
  color: var(--primary-75);
  font-weight: var(--fw-500);
}
.prev .cards .card h3 {
  font-size: 20px;
  font-weight: var(--fw-700);
  margin: 4px 0 12px;
  width: 280px;
  height: 56px;
  line-height: 140%;
  color: var(--text);
}
.card time {
  font-size: 16px;
  color: var(--grey-91);
  font-weight: 400;
  width: 280px;
  height: 22px;
  line-height: 140%;
  letter-spacing: -0.02em;
}
.cta-center {
  margin-top: 56px;
  text-align: center;
}
.btn-pre-list {
  width: 283px;
  height: 56px;
  border-radius: 41.1px;
  justify-content: center;
  align-items: center;
  font-weight: var(--fw-600);
  font-size: 20px;
  text-align: center;
  color: var(--white);
}
.btn--arrow {
  position: relative;
  padding-right: 28px;
}
.btn--arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 36px;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  background: url('/ddok/img/pre_btn_all.svg') no-repeat center / 20px 20px;
}

/* 강연 영상 연핑크 */
.section.media {
  background: var(--primary-5);
  padding: 60px 0;
}
.media-sec {
  padding: 0px 0 0;
}
.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.video {
  overflow: hidden;
}
.video .thumb {
  aspect-ratio: 380/214
}
.video .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.video .body {
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.video p {
  height: 22px;
  font-weight: var(--fw-500);
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--primary-75);
}
.video h4 {
  height: 56px;
  font-weight: var(--fw-600);
  font-size: 20px;
  line-height: 140%;
  color: var(--balck);
}
.btn-vi-list {
  width: 231px;
  height: 56px;
  border-radius: 41.1px;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: var(--primary);
  position: relative;
  padding-right: 28px;
}
.btn-vi-list::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 36px;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  background: url('/ddok/img/vie_btn_all.svg') no-repeat center / 20px 20px;
}

/* 갤러리 15장 그리드 */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 240 / 136;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 참여 안내 바 */
.howto {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.howto .kicker {
  color: var(--primary);
  font-weight: var(--fw-700);
}
.info {
  margin: 56px 0;
}
.infotext {
  display: flex;
  flex-direction: column;
  width: 349px;
  height: 82px;
  font-weight: var(--fw-700);
  font-size: 32px;
  line-height: 128%;
  color: var(--text);
}
.infotext .pri {
  color: var(--primary);
}
.infotime {
  display: flex;
  flex-direction: column;
  width: 572px;
  height: 92px;
  gap: 8px;
}
.infotime .iftime {
  display: flex;
  flex-direction: row;
  gap: 27px;
  justify-content: flex-start;
  height: 34px;
  font-weight: var(--fw-700);
  font-size: 24px;
  line-height: 140%;
  color: var(--grey-39);
}
.infotime .ifsc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 50px;
  font-weight: var(--fw-500);
  font-size: 18px;
  line-height: 140%;
  color: var(--grey-39);
}
.infotime .point {
  color: var(--primary-50);
}
.infotime .sub {
  ont-weight: 400;
  color: var(--grey-91);
}
.howto .callbtn {
  border-radius: 4px;
  width: 195px;
  height: 48px;
  font-weight: var(--fw-600);
  font-size: 20px;
  line-height: 24px;
  color: var(--grey-39);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 리뷰 4열 */
.section.sreview {
  background: var(--primary-5);
  padding: 60px 0 160px 0;
  margin: 60px 0 0 0;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.review .tit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review .review-class {
  /*height: 17px;*/
  font-weight: var(--fw-600);
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: var(--primary);
}
.review .review-info {
  height: 24px;
  font-weight: var(--fw-600);
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: var(--text);
}

/* 리뷰 스와이퍼 */
.review-wrap {
  position: relative;
}
.reviews-swiper {
  position: relative;
  overflow: hidden;
}
.reviews-swiper .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0px;
}
.reviews-swiper .swiper-slide {
  flex: 0 0 auto;
}
.review {
  position: relative;
  background: var(--white);
  border: 1px solid var(--primary-35);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content:space-between;
  align-items: center;
  box-sizing: border-box;
  min-height: 190px;
}
.review .stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.review .stretched-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 12px;
}
.review .re-txt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.review .re-txt img {
  width: 20px;
  height: 10.8px;
  flex: 0 0 10.8px;
}
.review p {
  color: var(--grey-91);
  text-align: center;
  width: 237px;
  height: 42px;
  font-weight: var(--fw-400);
  font-size: 15px;
  line-height: 140%;
}
/* 네비 버튼 처음엔 >만 보여야 하므로 비활성=숨김 */
.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: rgba(17, 17, 17, 0.1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15.93px 18.74px;
  z-index: 5;
  cursor: pointer;
}
.review-nav.nav--prev {
  left: -70px;
  background-image: url('/ddok/img/review_arr_prev.svg');
}
.review-nav.nav--next {
  right: -70px;
  background-image: url('/ddok/img/review_arr_next.svg');
}
/* Swiper가 붙이는 비활성 클래스 버튼 숨김 처리 */
.review-wrap .swiper-button-disabled {
  display: none !important;
}
.review-nav:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

