.category-page {
  margin: 0;
  color: #15202b;
  background: linear-gradient(180deg, #f6fbf9 0%, #eef7fb 46%, #fff7ed 100%);
  font-family: "Noto Sans KR", "Noto Sans JP", Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}

.category-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
}

.category-hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(34px, 7vw, 76px) 0;
}

.category-kicker {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 8px;
  background: #e1f7ef;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.category-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}

.category-hero p,
.category-section > p {
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: clamp(17px, 2.2vw, 21px);
}

.category-visual {
  width: min(520px, 100%);
  margin: 6px 0 0;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.category-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  height: auto;
  object-fit: cover;
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.category-button.secondary {
  background: #fff;
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, .28);
}

.category-section {
  margin: 18px 0;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(15, 23, 42, .1);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.category-section h2 {
  margin: 0 0 12px;
  color: #10202a;
  font-size: clamp(23px, 4vw, 34px);
  line-height: 1.16;
  letter-spacing: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.category-card {
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 17px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, .1);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, .4);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .1);
}

.category-card span {
  color: #0f766e;
  font-weight: 900;
}

.category-card strong {
  color: #23303d;
  font-size: 16px;
}

.category-card small {
  align-self: end;
  color: #64748b;
  font-weight: 800;
}

.ad-placement {
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  overflow: hidden;
}

.ad-placement .adsbygoogle,
.ad-placement iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.category-faq details {
  padding: 14px 0;
  border-top: 1px solid rgba(15, 23, 42, .1);
}

.category-faq details:first-of-type {
  border-top: 0;
}

.category-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.category-faq p {
  margin: 8px 0 0;
  color: #475569;
}

.category-footer {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: #475569;
  font-size: 14px;
}

.category-footer a {
  color: #0f766e;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 720px) {
  .category-shell,
  .category-footer {
    width: min(100% - 24px, 1040px);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 0;
  }
}
