/* Hangeul Path — Public Dictionary (/soz/) SEO Styles */

.sz-page {
  min-height: 100vh;
  background: #F7F3EC;
  color: #14213D;
  font-family: Manrope, "Noto Sans KR", sans-serif;
  display: flex;
  flex-direction: column;
}

.sz-header {
  min-height: 72px;
  padding: 10px 24px;
  background: #FBF8F2;
  border-bottom: 1.5px solid #E2DACB;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sz-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #14213D;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.sz-brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #14213D;
  color: #F7F3EC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif KR", serif;
  font-weight: 900;
  font-size: 20px;
}

.sz-brand-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D8502A;
  border: 2px solid #FBF8F2;
  box-sizing: border-box;
}

.sz-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sz-pill {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid #E2DACB;
  background: #FFFFFF;
  color: #14213D;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.sz-pill--active {
  background: #14213D;
  border-color: #14213D;
  color: #FFFFFF;
}

.sz-pill--accent {
  background: #C8421C;
  border-color: #C8421C;
  color: #FFFFFF;
}

.sz-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sz-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #5C6479;
}

.sz-breadcrumbs a {
  color: #2B7F72;
  text-decoration: none;
}

.sz-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2B7F72;
}

.sz-title {
  margin: 4px 0 0;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sz-search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sz-search-input {
  flex: 1 1 260px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #E2DACB;
  background: #FFFFFF;
  color: #14213D;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  box-sizing: border-box;
}

.sz-search-btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  background: #14213D;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.sz-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sz-alpha-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1.5px solid #E2DACB;
  background: #FFFFFF;
  color: #14213D;
  font-family: "Noto Sans KR", Manrope, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sz-alpha-btn--active {
  background: #2B7F72;
  border-color: #2B7F72;
  color: #FFFFFF;
}

.sz-word-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.sz-word-card {
  background: #FFFFFF;
  border: 1.5px solid #E2DACB;
  border-radius: 22px;
  padding: 18px 20px;
  text-decoration: none;
  color: #14213D;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.sz-word-card:hover {
  border-color: #14213D;
  transform: translateY(-2px);
}

.sz-word-ko {
  font-family: "Noto Serif KR", serif;
  font-size: 26px;
  font-weight: 900;
  color: #14213D;
}

.sz-word-ky {
  font-size: 16px;
  font-weight: 800;
  color: #C8421C;
}

.sz-word-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: #5C6479;
}

/* Single Word Detail Card */
.sz-detail-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  align-items: start;
}

.sz-hero-card {
  background: #FFFFFF;
  border: 1.5px solid #E2DACB;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sz-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sz-hero-ko {
  font-family: "Noto Serif KR", serif;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 900;
  color: #14213D;
  line-height: 1.1;
  margin: 4px 0 0;
}

.sz-speak-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  background: #14213D;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.sz-reading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sz-badge {
  padding: 8px 14px;
  border-radius: 14px;
  background: #FBF8F2;
  border: 1px solid #E2DACB;
  font-size: 14px;
  font-weight: 800;
  color: #14213D;
}

.sz-meaning-box {
  background: #FBF8F2;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sz-meaning-ky {
  font-size: 24px;
  font-weight: 800;
  color: #C8421C;
}

.sz-meaning-ru {
  font-size: 15px;
  font-weight: 700;
  color: #5C6479;
}

.sz-example-card {
  background: #EDF7F5;
  border: 1.5px solid #2B7F72;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sz-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sz-cta-primary {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  background: #C8421C;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sz-cta-secondary {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid #14213D;
  background: #FFFFFF;
  color: #14213D;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sz-aside-card {
  background: #FFFFFF;
  border: 1.5px solid #E2DACB;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sz-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #E2DACB;
  background: #FBF8F2;
  text-decoration: none;
  color: #14213D;
}

.sz-related-link:hover {
  border-color: #14213D;
}

.sz-footer {
  padding: 24px 20px;
  border-top: 1.5px solid #E2DACB;
  background: #FBF8F2;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #5C6479;
}

@media (max-width: 820px) {
  .sz-detail-layout {
    grid-template-columns: 1fr;
  }
}
