body.home-template.classup-home-ready .gh-header,
body.home-template.classup-home-ready .gh-container,
body.home-template.classup-home-ready .gh-footer-signup {
  display: none !important;
}

@media (min-width: 900px) {
  .gh-navigation.is-middle-logo .gh-navigation-inner {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
  }

  .gh-navigation.is-middle-logo .gh-navigation-brand {
    order: 0 !important;
    flex: 0 0 auto !important;
  }

  .gh-navigation.is-middle-logo .gh-navigation-menu {
    order: 1 !important;
    flex: 1 1 auto !important;
  }

  .gh-navigation.is-middle-logo .gh-navigation-actions {
    order: 2 !important;
    flex: 0 0 auto !important;
  }

  .gh-navigation.is-middle-logo .gh-navigation-logo img {
    max-height: 32px;
  }

  .gh-navigation.is-middle-logo .gh-navigation-menu .nav {
    justify-content: flex-start !important;
    gap: 24px !important;
  }
}

.classup-guide-home {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 84px;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
}

.classup-guide-cover {
  position: relative;
  min-height: 360px;
  margin: 12px 0 56px;
  overflow: hidden;
  border-radius: 28px;
  background: #151722;
  color: #fff;
  isolation: isolate;
}

.classup-guide-cover::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 13, 20, .88), rgba(11, 13, 20, .58)),
    var(--classup-cover-image, none);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.classup-guide-cover-content {
  width: min(720px, 100%);
  padding: 72px 56px 56px;
}

.classup-guide-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.classup-guide-cover h1 {
  margin: 22px 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.classup-guide-cover p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
  line-height: 1.65;
}

.classup-guide-search {
  display: flex;
  align-items: center;
  width: min(620px, 100%);
  height: 58px;
  margin-top: 32px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  color: #5b6070;
  cursor: pointer;
}

.classup-guide-search span {
  flex: 1;
  font-size: 16px;
}

.classup-guide-search button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #6c60f4;
  color: #fff;
  font-weight: 900;
}

.classup-guide-section {
  margin-top: 54px;
}

.classup-guide-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.classup-guide-section-title {
  margin: 0;
  color: #151722;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.classup-guide-section-link {
  color: #6c60f4;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.classup-guide-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.classup-guide-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6e8f0;
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.classup-guide-card:hover {
  border-color: rgba(108, 96, 244, .55);
  box-shadow: 0 16px 42px rgba(25, 28, 38, .1);
  transform: translateY(-2px);
}

.classup-guide-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f7f8fb;
}

.classup-guide-card-body {
  padding: 18px 18px 20px;
}

.classup-guide-card-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-bottom: 12px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1efff;
  color: #5b4be7;
  font-size: 12px;
  font-weight: 900;
}

.classup-guide-card-title {
  margin: 0;
  color: #151722;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.classup-guide-card-excerpt {
  margin: 10px 0 0;
  color: #5f6573;
  font-size: 15px;
  line-height: 1.6;
}

.classup-guide-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.classup-guide-topic {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e6e8f0;
  border-radius: 20px;
  background: #fff;
}

.classup-guide-topic h3 {
  margin: 0 0 18px;
  color: #151722;
  font-size: 24px;
  font-weight: 900;
}

.classup-guide-topic-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.classup-guide-topic-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #222633;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.classup-guide-topic-list a::before {
  flex: 0 0 auto;
  content: "›";
  color: #6c60f4;
  font-weight: 900;
}

.classup-guide-topic-more {
  display: inline-flex;
  margin-top: 18px;
  color: #6c60f4;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .classup-guide-home {
    width: min(100% - 28px, 720px);
    padding-top: 18px;
  }

  .classup-guide-cover {
    min-height: 0;
    border-radius: 22px;
  }

  .classup-guide-cover-content {
    padding: 48px 26px 34px;
  }

  .classup-guide-cover::before {
    background:
      linear-gradient(90deg, rgba(11, 13, 20, .92), rgba(11, 13, 20, .72)),
      var(--classup-cover-image, none);
    background-size: cover;
    background-position: 66% center;
  }

  .classup-guide-cover h1 {
    font-size: 36px;
  }

  .classup-guide-featured-grid,
  .classup-guide-topics {
    grid-template-columns: 1fr;
  }
}
