.hero {
  background: url("../images/hero/hero-bg-cropped.png") center center / cover no-repeat;
}

.hero-card {
  background: rgba(255, 255, 255, .8);
}

.hero-copy {
  text-align: center;
  line-height: 1;
}

.hero-copy p {
  margin: 0 0 -10px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.hero-copy h1 {
  margin: 0;
  color: var(--blue);
  font-family: Agbalumo, Pretendard, sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  text-transform: uppercase;
}

.hero-subcopy {
  display: grid;
  gap: 5px;
  justify-items: center;
  font-size: 20px;
  font-weight: 500;
}

.hero-subcopy p { margin: 0; }

.section-heading h2 {
  margin: 0;
  font-size: 45px;
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
}

.section-heading h2 span {
  display: block;
  font-size: 30px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.42;
}

.program-card {
  background: var(--deep);
  color: #fff;
  transition: background-color .3s ease-out;
  cursor:pointer;
}

.program-card::before {
  content: "";
  position: absolute;
  background: var(--program-img) center / contain no-repeat;
  opacity: 0;
  transform: translate(var(--program-enter-x, 24px), var(--program-enter-y, 20px));
  transition: opacity .3s ease-out, transform .3s ease-out;
  z-index: 0;
}

.program-card-scuba {
  --program-img: url("../images/program/program-scuba-main.png");
  --program-enter-x: 28px;
  --program-enter-y: 24px;
}

.program-card-free {
  --program-img: url("../images/program/program-free-main.png");
  --program-enter-x: 28px;
  --program-enter-y: -24px;
}

.program-card-skill {
  --program-img: url("../images/program/program-skill-main.png");
  --program-enter-x: 28px;
  --program-enter-y: 24px;
}

.program-card-scuba::before {
  right: 10px;
  top: 76px;
  width: 225px;
  height: 225px;
}

.program-card-free::before {
  right: 10px;
  top: 10px;
  width: 218px;
  height: 218px;
}

.program-card-skill::before {
  right: 10px;
  top: 71px;
  width: 234px;
  height: 234px;
}

.program-card:hover {
  background: #006d77;
}

.program-card:hover::before {
  opacity: 1;
  transform: translate(0, 0);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25));
}

.program-card h3,
.program-card p {
  position: relative;
  z-index: 1;
}

.program-card h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
}

.program-card p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 18px;
  line-height: 1.45;
  transition: color .3s ease-out;
}

.program-card:hover p { color: rgba(255, 255, 255, .7); }

.instructor {
  background: #050505;
  color: #fff;
  overflow: hidden;
}

.instructor-photo { opacity: .94; }
.instructor-photo.reveal-up { opacity: 0; }
.instructor-photo.reveal-up.is-visible {
  opacity: .94;
  transform: translateY(0);
}

.instructor h2 {
  margin: 0;
  font-size: 45px;
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
}

.instructor p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: 20px;
  line-height: 1.45;
}

.instructor .lead,
.instructor .btn {
  margin-top: 20px;
}

.instructor ul {
  margin: 0;
  padding-left: 30px;
  font-size: 20px;
  line-height: 34px;
}

.padi-title {
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
}

.tour-card {
  color: #fff;
  background: var(--deep);
  cursor: pointer;
}

.tour-card-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  
}

.tour-card-1 .tour-card-media {
  background-image: url("../images/community/tourimg01.png");
}

.tour-card-2 .tour-card-media {
  background-image: url("../images/community/tourimg02.png");
}

.tour-card-3 .tour-card-media {
  background-image: url("../images/community/tourimg03.png");
}

.tour-card-4 .tour-card-media {
  background-image: url("../images/community/tourimg04.png");
  cursor: auto;
}

.tour-card.brighter .tour-card-media { opacity: 01; }

.tour-card > :not(.tour-card-media) {
  position: relative;
  z-index: 1;
}

.tour-card span {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--chip);
  font-size: 14px;
}

.tour-card h3 {
  margin: 5px 0 0;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 500;
  text-transform: uppercase;
}

.tour-card p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  font-weight: 300;
}

.footer {
  background: var(--footer);
}

.footer-info {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.footer-info p { margin: 0; }

.footer-info p:not(:last-of-type)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin-left: 10px;
  background: rgba(92, 90, 111, .45);
}

.footer-info small {
  width: 100%;
  font-size: 12px;
}

@media (max-width: 780px) {
  .hero {
    background-position: center center;
    background-size: cover;
  }

  .ci-large {
    width: 126px;
    height: 36px;
  }

  .hero-copy p {
    margin-bottom: -8px;
    font-size: 11px;
  }

  .hero-copy h1 { font-size: 32px; }

  .hero-subcopy {
    gap: 2px;
    font-size: 11px;
  }

  .btn {
    min-height: 22px;
    padding: 2px 9px;
    font-size: 9px;
    line-height: 18px;
  }

  .btn-kakao > img:first-child {
    width: 13px;
    height: 13px;
  }

  .btn .arrow {
    width: 9px;
    height: 9px;
  }

  .btn.small {
    min-height: 23px;
    font-size: 10px;
    line-height: 18px;
  }

  .section-heading h2 { font-size: 23px; }
  .section-heading h2 span { font-size: 15px; }

  .section-heading p {
    font-size: 10px;
    line-height: 1.45;
  }

  .program-card-scuba::before {
    right: 5px;
    top: 37px;
    width: 112px;
    height: 112px;
  }

  .program-card-free::before {
    right: 5px;
    top: 5px;
    width: 109px;
    height: 109px;
  }

  .program-card-skill::before {
    right: 5px;
    top: 34px;
    width: 117px;
    height: 117px;
  }

  .program-card h3 { font-size: 15px; }

  .program-card p {
    font-size: 9px;
    line-height: 1.45;
  }

  .instructor-photo { opacity: .95; }
  .instructor-photo.reveal-up.is-visible { opacity: .95; }
  .padi-title { font-size: 15px; }
  .instructor h2 { font-size: 23px; }

  .instructor p {
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.45;
  }

  .instructor .btn { margin-top: 10px; }

  .instructor ul {
    padding-left: 0;
    list-style-position: inside;
    font-size: 9px;
    line-height: 17px;
  }

  .tour-card-media { border-radius: 8px; }

  .tour-card span {
    padding: 2px 5px;
    font-size: 8px;
  }

  .tour-card h3 {
    margin-top: 2px;
    font-size: 15px;
  }

  .tour-card p { font-size: 9px; }

  .footer-ci {
    width: 126px;
    height: 36px;
  }

  .footer-info {
    font-size: 8px;
    line-height: 1.45;
  }

  .footer-info p:not(:last-of-type)::after {
    height: 5px;
    margin-left: 5px;
  }

  .footer-info small { font-size: 6px; }

  .padi-footer-logo {
    width: 60px;
    height: 20px;
  }
}
