/* 홈 전용 CSS */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 150px;
  background: linear-gradient(135deg, #0a4b8f 0%, #1565c0 45%, #3f8ff0 78%, #8ecfff 100%);
}

.hero-section .input-group {
  padding: 10px 15px;
  border-radius: var(--border-radius-large);
  background-color: var(--white-color);
}

.hero-section .input-group-text {
  border: 0;
  background-color: transparent;
}

.hero-section input[type="search"] {
  margin-bottom: 0;
  padding-left: 0;
  border: 0;
  box-shadow: none;
}

.hero-section button[type="submit"] {
  max-width: 150px;
  border: 0;
  border-radius: var(--border-radius-large) !important;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.crawl-subtitle {
  color: #003f7f;
  font-weight: 600;
}

.featured-section {
  padding-bottom: 100px;
  border: 0;
  border-radius: 0 0 100px 100px;
  box-shadow: 0 0 0 1px rgba(110, 198, 255, 0.12), 0 10px 24px rgba(110, 198, 255, 0.10), 0 20px 40px rgba(110, 198, 255, 0.08);
}

.featured-section .row {
  position: relative;
  bottom: 100px;
  margin-bottom: -100px;
}

.custom-block-overlay {
  min-height: 350px;
  height: 100%;
  padding: 0;
}

.custom-block-overlay > a { height: 100%; }

.custom-block-overlay .custom-block-image {
  display: block;
  height: 100%;
  margin-top: 0;
  border-radius: var(--border-radius-medium);
}

.custom-block-overlay-text {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 30px;
}

.social-share {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 20px 35px;
}

.social-share .bi-bookmark {
  color: var(--white-color);
  font-size: var(--h5-font-size);
}

.social-share .bi-bookmark:hover { color: var(--secondary-color); }

.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  display: inline-block;
  list-style: none;
  vertical-align: top;
}

.social-icon-link {
  display: block;
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border-radius: var(--border-radius-large);
  background: var(--secondary-color);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  line-height: 36px;
  text-align: center;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.main-contact-cta {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid rgba(21, 101, 192, 0.12);
  text-align: center;
}

.main-contact-cta-text {
  max-width: 640px;
  margin: 0 auto 18px;
  color: #333333;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.main-contact-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 150px;
  max-width: 220px;
  padding: 11px 28px;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

@media screen and (max-width: 1000px) {
  .hero-section {
    padding-top: 118px;
    padding-bottom: 100px;
  }

  .hero-section h1 { font-size: 40px; }

  .crawl-subtitle,
  .hero-section h6 {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-section .input-group { padding: 8px 12px; }

  .hero-section button[type="submit"] {
    max-width: 120px;
    font-size: 15px;
  }

  .featured-section {
    padding-bottom: 58px;
    border-radius: 0 0 70px 70px;
  }

  .featured-section .row {
    bottom: 70px;
    margin-bottom: -70px;
  }

  .custom-block-overlay-text { padding: 24px; }
  .custom-block-overlay-text p { font-size: 15px; line-height: 1.65; }
  .social-share { padding: 18px 24px; }
  .social-share p { font-size: 14px; }
}

@media screen and (max-width: 575px) {
  .hero-section {
    padding-top: 104px;
    padding-bottom: 78px;
  }

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

  .crawl-subtitle,
  .hero-section h6 { font-size: 14px; }

  .hero-section .input-group { padding: 7px 10px; }
  .hero-section input[type="search"] { font-size: 14px; }

  .hero-section button[type="submit"] {
    max-width: 88px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 14px;
  }

  .custom-block-overlay { min-height: 320px; }
  .custom-block-overlay-text { padding: 20px; }
  .social-share { padding: 16px 20px; }

  .main-contact-cta {
    margin-top: 38px;
    padding-top: 26px;
  }

  .main-contact-cta-text { font-size: 16px; }

  .main-contact-cta-btn {
    min-width: 140px;
    padding: 10px 24px;
    font-size: 16px;
  }
}
