/* =====================================================================
   마사지알바고 - 마사지 구인구직 플랫폼
   Job-board oriented design system
   ===================================================================== */

:root {
  /* Brand colors - job board feel */
  --brand-primary: #1E40AF;       /* Deep blue (trust, professional) */
  --brand-primary-hover: #1E3A8A;
  --brand-secondary: #3B82F6;     /* Bright blue (action) */
  --brand-accent: #F59E0B;        /* Warm amber (highlight) */
  --brand-success: #059669;       /* Hire/match */
  --brand-danger: #DC2626;        /* Warning */

  /* Neutrals */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --bg-base: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-muted: #F1F5F9;
  --bg-dark: #0F172A;

  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.16);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Layout */
  --maxw: 1180px;
  --maxw-narrow: 880px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; }

p { margin: 0 0 16px; color: var(--text-secondary); }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top utility bar ===== */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  height: 36px;
  align-items: center;
}
.topbar a {
  color: var(--text-muted);
}
.topbar a:hover {
  color: var(--brand-primary);
  text-decoration: none;
}

/* ===== Header ===== */
.site-header {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.brand-name { color: var(--text-primary); }
.brand-name .accent { color: var(--brand-primary); }

/* Logo image (replaces text logo in header) */
.brand-img {
  height: 70px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .brand-img { height: 48px; }
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  justify-content: center;
}
.main-nav a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap !important;
  flex-shrink: 0;
  word-break: keep-all;
  line-height: 1.2;
}
.main-nav a:hover {
  background: var(--bg-soft);
  color: var(--brand-primary);
  text-decoration: none;
}
.main-nav a.active {
  color: var(--brand-primary);
  background: rgba(30, 64, 175, 0.08);
}

/* 좁은 데스크톱(1025~1280px): 메뉴를 점진적으로 압축해 한 줄 유지 */
@media (max-width: 1280px) and (min-width: 1025px) {
  .brand-img { height: 50px; }
  .header-inner { gap: 12px; height: 74px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 8px; font-size: 13.5px; }
  .header-cta .btn { padding: 8px 12px; font-size: 13.5px; }
}

/* Header CTA */
.header-cta {
  display: flex;
  gap: 8px;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--brand-primary);
  color: white;
}
.btn-primary:hover {
  background: var(--brand-primary-hover);
  color: white;
}
.btn-secondary {
  background: var(--brand-accent);
  color: white;
}
.btn-secondary:hover {
  background: #D97706;
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-outline:hover {
  background: var(--brand-primary);
  color: white;
}
.btn-ghost {
  background: var(--bg-soft);
  color: var(--text-primary);
}
.btn-ghost:hover {
  background: var(--bg-muted);
  color: var(--text-primary);
}
.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}
.btn-sm {
  padding: 7px 12px;
  font-size: 13px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 60%, #BFDBFE 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 720px;
}
.hero h1 .highlight {
  background: linear-gradient(120deg, transparent 0%, transparent 50%, #FCD34D 50%, #FCD34D 100%);
  padding: 0 6px;
}
.hero p.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 48px;
  max-width: 800px;
}
.hero-stat {
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hero-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}
.hero-stat__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}
.section-soft {
  background: var(--bg-soft);
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  margin: 0 0 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ===== Cards / Grids ===== */
.grid {
  display: grid;
  gap: 20px;
}
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s ease;
  display: block;
  color: inherit;
}
.card:hover {
  text-decoration: none;
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card h3 {
  margin: 16px 0 8px;
  color: var(--text-primary);
}
.card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.card-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--brand-accent);
}
.card-icon.green {
  background: rgba(5, 150, 105, 0.1);
  color: var(--brand-success);
}

/* Job card (channel listings) */
.job-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: block;
  transition: all 0.2s ease;
}
.job-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}
.job-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}
.job-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}
.badge-urgent { background: #FEE2E2; color: var(--brand-danger); }
.badge-newbie { background: #DBEAFE; color: var(--brand-primary); }
.badge-regular { background: #D1FAE5; color: var(--brand-success); }
.badge-part { background: #FEF3C7; color: var(--brand-accent); }
.badge-dorm { background: #E9D5FF; color: #7C3AED; }
.badge-outcall { background: #CFFAFE; color: #0E7490; }

.job-card__meta {
  font-size: 13px;
  color: var(--text-muted);
}
.job-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text-primary);
}
.job-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.job-card__detail {
  font-size: 13px;
  color: var(--text-muted);
}
.job-card__detail strong {
  color: var(--text-primary);
}
.job-card__salary {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: 12px;
}

/* ===== Page header ===== */
.page-header {
  background: var(--bg-soft);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb .sep {
  margin: 0 8px;
  color: var(--text-light);
}
.page-header h1 {
  margin: 0 0 12px;
}
.page-header p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
  max-width: 700px;
}

/* Anchor nav (sub-section navigation) */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.anchor-nav a {
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
}
.anchor-nav a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  text-decoration: none;
}

/* ===== Article content ===== */
.article {
  padding: 48px 0 60px;
  max-width: 820px;       /* 가독성 위해 본문 폭 제한 (이전: 1200px) */
  margin: 0 auto;
}
.article > section { margin-bottom: 36px; }
.article h2 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-muted);
  font-size: 22px;
  letter-spacing: -0.3px;
}
.article h3 {
  margin: 24px 0 10px;
  color: var(--text-primary);
  font-size: 17px;
}
.article p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 14px;
}
.article ul, .article ol {
  padding-left: 24px;
  color: var(--text-secondary);
}
.article ul li, .article ol li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.article ul.check-list {
  list-style: none;
  padding-left: 0;
}
.article ul.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
}
.article ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-success);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Callout */
.callout {
  background: #EFF6FF;
  border-left: 4px solid var(--brand-primary);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  color: var(--text-secondary);
}
.callout strong { color: var(--brand-primary); }
.callout.warning {
  background: #FEF3C7;
  border-left-color: var(--brand-accent);
}
.callout.warning strong { color: #B45309; }
.callout.danger {
  background: #FEE2E2;
  border-left-color: var(--brand-danger);
}
.callout.danger strong { color: var(--brand-danger); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details.faq {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
details.faq[open] {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::after {
  content: "+";
  color: var(--brand-primary);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Region grid */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.region-tile {
  display: block;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.15s ease;
}
.region-tile:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}
.region-tile__count {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.region-tile:hover .region-tile__count { color: rgba(255,255,255,0.85); }

/* Stats / hire features */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 32px 20px;
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--brand-primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.feature h3 {
  margin: 0 0 8px;
}
.feature p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* Trust strip */
.trust-strip {
  background: var(--bg-soft);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trust-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-success);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.trust-item__body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.trust-item__body strong { color: var(--text-primary); }

/* ===== Footer (SEO/E-E-A-T optimized) ===== */
.site-footer {
  background: var(--bg-dark);
  color: #CBD5E1;
  padding: 56px 0 24px;
  margin-top: 40px;
}
.site-footer a {
  color: #CBD5E1;
  transition: color 0.15s;
}
.site-footer a:hover {
  color: white;
  text-decoration: none;
}

/* Grid: brand col wider + 4 nav cols */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}

/* Brand column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand-link {
  display: inline-block;
  line-height: 0;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-tagline {
  color: #94A3B8;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E2E8F0;
  font-weight: 600;
}
.footer-contact a:hover { color: white; }
.footer-contact__hours {
  display: block;
  font-size: 11.5px;
  color: #64748B;
  margin-top: 2px;
  margin-left: 24px;
}

/* Social icons */
.footer-social {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  gap: 8px;
}
.footer-social li { display: inline-block; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.footer-social a:hover,
.footer-social a:focus {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Nav columns */
.footer-nav__title {
  color: white;
  font-size: 12.5px;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav li a {
  font-size: 13.5px;
  color: #94A3B8;
  display: inline-block;
  padding: 2px 0;
}
.footer-nav li a:hover { color: white; }

/* Business info (NAP — name/address/phone for local SEO) */
.footer-business {
  border-top: 1px solid #1E293B;
  border-bottom: 1px solid #1E293B;
  padding: 20px 0;
  margin-bottom: 18px;
  font-style: normal;
}
.footer-business__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 28px;
  margin: 0;
  font-size: 12.5px;
}
.footer-business__row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.footer-business__row dt {
  color: #64748B;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 110px;
}
.footer-business__row dd {
  margin: 0;
  color: #CBD5E1;
  word-break: keep-all;
}
.footer-business__row dd a { color: #93C5FD; }
.footer-business__row dd a:hover { color: white; }
.footer-business__muted { color: #64748B; }

/* Bottom: legal nav + copyright */
.footer-bottom {
  padding-top: 14px;
  text-align: center;
}
.footer-legal-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.footer-legal-nav a {
  color: #94A3B8;
}
.footer-legal-nav .sep {
  color: #475569;
}
.footer-trust-line {
  font-size: 11.5px;
  color: #64748B;
  margin: 0 0 6px;
  line-height: 1.5;
}
.footer-copyright {
  font-size: 12px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
  .footer-business__info {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
  .footer-business__info {
    grid-template-columns: 1fr;
  }
  .footer-business__row dt {
    min-width: 96px;
    font-size: 12px;
  }
}

/* ===== Forms (for resume/employer signup info) ===== */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: white;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--brand-primary);
  border-width: 2px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.pricing-card.featured::before {
  content: "추천";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.pricing-card h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
}
.pricing-card .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-primary);
  margin: 12px 0 4px;
}
.pricing-card .price-unit {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  flex: 1;
}
.pricing-card ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-muted);
}
.pricing-card ul li:last-child { border-bottom: 0; }

/* =====================================================================
   Inquiry channel box
   ===================================================================== */
.inquiry-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.inquiry-ch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: 2px solid var(--border);
  background: white;
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}
.inquiry-ch:hover {
  text-decoration: none;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.inquiry-ch__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.inquiry-ch__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.inquiry-ch--phone .inquiry-ch__icon { background: #DBEAFE; color: var(--brand-primary); }
.inquiry-ch--kakao .inquiry-ch__icon { background: #FEF3C7; color: #92400E; }
.inquiry-ch--email .inquiry-ch__icon { background: #E0E7FF; color: #4338CA; }
.inquiry-ch--form  .inquiry-ch__icon { background: #D1FAE5; color: var(--brand-success); }
.inquiry-ch__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.inquiry-ch__value {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-top: 4px;
}
.inquiry-ch__desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.inquiry-ch__pill {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.pill-fast { background: #FEE2E2; color: var(--brand-danger); }
.pill-recommended { background: #DBEAFE; color: var(--brand-primary); }
.pill-new { background: #D1FAE5; color: var(--brand-success); }

/* Form card */
.form-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  margin: 32px 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-required {
  color: var(--brand-danger);
  margin-left: 2px;
}
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s ease;
}
.form-radio input {
  margin: 0;
  cursor: pointer;
  accent-color: var(--brand-primary);
}
.form-radio:hover {
  border-color: var(--brand-primary);
}
.form-submit-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* =====================================================================
   Tier ad layout (VVIP / VIP / Premium / Grand)
   ===================================================================== */
.layout-main {
  background: var(--bg-soft);
  padding: 32px 0 64px;
}
.layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* Tier section */
.tier {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.tier-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-muted);
}
.tier-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  position: relative;
  padding-left: 30px;
  display: inline-block;
}
.tier-title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
  animation: tier-float 2.8s ease-in-out infinite;
  will-change: transform, filter;
}
.tier:has(.banner-vvip) .tier-title::after {
  content: "👑";
  animation: tier-float 2.8s ease-in-out infinite,
             tier-glow-vvip 2.8s ease-in-out infinite;
}
.tier:has(.banner-vip) .tier-title::after {
  content: "💎";
  animation: tier-float 2.8s ease-in-out infinite,
             tier-glow-vip 2.8s ease-in-out infinite;
}
.tier:has(.banner-premium) .tier-title::after {
  content: "⭐";
  animation: tier-float 2.8s ease-in-out infinite,
             tier-glow-premium 2.8s ease-in-out infinite;
}

@keyframes tier-float {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 3px)); }
}
@keyframes tier-glow-vvip {
  0%, 100% { filter: drop-shadow(0 1px 2px rgba(180, 83, 9, 0.25)); }
  50%      { filter: drop-shadow(0 2px 8px rgba(180, 83, 9, 0.65)); }
}
@keyframes tier-glow-vip {
  0%, 100% { filter: drop-shadow(0 1px 2px rgba(30, 64, 175, 0.22)); }
  50%      { filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.6)); }
}
@keyframes tier-glow-premium {
  0%, 100% { filter: drop-shadow(0 1px 2px rgba(22, 163, 74, 0.22)); }
  50%      { filter: drop-shadow(0 2px 8px rgba(22, 163, 74, 0.6)); }
}
@media (prefers-reduced-motion: reduce) {
  .tier-title::after { animation: none !important; }
}
.tier-tag {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.tier-grid {
  display: grid;
  gap: 14px;
}
.tier-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tier-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tier-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tier-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Banner card */
.banner {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}
.banner:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}
.banner__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 24px 16px;
  min-height: 140px;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
}
.banner__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.banner__region {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.banner__shop {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
  margin: 4px 0;
}
.banner__tagline {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-full);
  position: relative;
  z-index: 1;
}
.banner__info {
  padding: 12px 14px;
}
.banner__cat {
  font-size: 12px;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.banner__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.banner__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.banner__tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.banner__tag strong {
  color: var(--text-primary);
  margin-left: 2px;
}

/* Tier-specific visual differentiation */
.banner-vvip .banner__visual { min-height: 130px; padding: 20px 14px; }
.banner-vvip .banner__shop { font-size: 24px; }

.banner-vip .banner__visual { min-height: 160px; }
.banner-vip .banner__shop { font-size: 20px; }

.banner-premium .banner__visual { min-height: 130px; padding: 18px 12px; }
.banner-premium .banner__shop { font-size: 18px; }

.banner-grand .banner__visual { min-height: 110px; padding: 16px 10px; }
.banner-grand .banner__shop { font-size: 16px; }

/* Banner color variants */
.bg-purple { background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%); }
.bg-red    { background: linear-gradient(135deg, #B91C1C 0%, #EF4444 100%); }
.bg-gold   { background: linear-gradient(135deg, #92400E 0%, #F59E0B 100%); }
.bg-black  { background: linear-gradient(135deg, #1F2937 0%, #4B5563 100%); }
.bg-pink   { background: linear-gradient(135deg, #DB2777 0%, #F472B6 100%); }
.bg-rose   { background: linear-gradient(135deg, #BE185D 0%, #EC4899 100%); }
.bg-emerald { background: linear-gradient(135deg, #047857 0%, #10B981 100%); }
.bg-teal   { background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%); }
.bg-indigo { background: linear-gradient(135deg, #3730A3 0%, #6366F1 100%); }
.bg-orange { background: linear-gradient(135deg, #C2410C 0%, #F97316 100%); }
.bg-blue   { background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); }
.bg-slate  { background: linear-gradient(135deg, #334155 0%, #64748B 100%); }
.bg-violet { background: linear-gradient(135deg, #5B21B6 0%, #A78BFA 100%); }

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
}
.side-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.side-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.side-card__more {
  font-size: 13px;
  color: var(--text-light);
}
.chip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.chip-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: white;
  text-align: center;
  transition: all 0.15s ease;
}
.chip:hover {
  text-decoration: none;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(30, 64, 175, 0.05);
}
.chip.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}

/* Login box */
.login-tabs {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.login-tabs a { color: var(--text-muted); }
.login-tabs .sep { color: var(--border-strong); }
.login-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  border: 1px solid transparent;
  cursor: pointer;
}
.login-btn--member {
  background: var(--brand-success);
  color: white;
}
.login-btn--member:hover { background: #047857; text-decoration: none; color: white; }
.login-btn--employer {
  background: white;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.login-btn--employer:hover { border-color: var(--brand-primary); color: var(--brand-primary); text-decoration: none; }

/* Quick actions */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.quick:hover {
  text-decoration: none;
  border-color: var(--brand-primary);
  background: white;
}
.quick__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--brand-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.quick__label {
  font-size: 12px;
  font-weight: 600;
}

/* Notice line */
.notice-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  font-size: 13px;
}
.notice-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  background: var(--brand-success);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
}
.notice-line__text {
  color: var(--text-muted);
  font-size: 12px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.notice-line__more {
  font-size: 11px;
  color: var(--text-light);
}

/* Slim hero (for tier ad layout) */
.hero-slim {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: white;
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}
.hero-slim::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-slim .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-slim__text h1 {
  font-size: clamp(22px, 3vw, 30px);
  color: white;
  margin: 0 0 8px;
  font-weight: 800;
}
.hero-slim__text p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 15px;
}
.hero-slim__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-slim__actions .btn {
  background: white;
  color: var(--brand-primary);
}
.hero-slim__actions .btn:hover {
  background: var(--brand-accent);
  color: white;
}
.hero-slim__actions .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.hero-slim__actions .btn-outline:hover {
  background: white;
  color: var(--brand-primary);
}

/* ===== Mobile responsive ===== */
@media (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
  .tier-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .tier-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .tier-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .tier-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .tier-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .hero-slim .container { flex-direction: column; align-items: flex-start; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .topbar .container {
    gap: 12px;
    font-size: 12px;
  }
  .hero {
    padding: 56px 0 72px;
  }
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  /* 모바일 2열 — 가로 1개씩 너무 휑해서 2개씩 노출 */
  .tier-grid.cols-2,
  .tier-grid.cols-3,
  .tier-grid.cols-4,
  .tier-grid.cols-5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .chip-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }

  /* 모바일 2열 카드 시인성 보강 — 패딩·폰트 압축 */
  .banner__visual { min-height: 110px !important; padding: 16px 10px !important; }
  .banner__region { font-size: 10.5px; padding: 2px 8px; margin-bottom: 5px; }
  .banner__shop { font-size: 16px !important; letter-spacing: -0.5px; line-height: 1.2; }
  .banner__tagline { font-size: 10.5px; padding: 3px 8px; margin-top: 6px; }
  .banner__info { padding: 10px 11px; }
  .banner__cat { font-size: 11px; margin-bottom: 3px; }
  .banner__desc { font-size: 12px; line-height: 1.4; -webkit-line-clamp: 2; margin-bottom: 8px; }
  .banner__tags { gap: 4px; }
  .banner__tag { font-size: 10px; padding: 2px 6px; }
  .banner-vvip .banner__shop { font-size: 17px !important; }
  .banner-vip .banner__shop { font-size: 15px !important; }
  .banner-vip .banner__visual { min-height: 125px !important; }
  .banner-premium .banner__shop { font-size: 13.5px !important; }
}

/* 매우 좁은 화면(360px 이하)에서는 가독성 위해 1열로 폴백 */
@media (max-width: 360px) {
  .tier-grid.cols-2,
  .tier-grid.cols-3,
  .tier-grid.cols-4,
  .tier-grid.cols-5 { grid-template-columns: 1fr; }
  .banner__shop { font-size: 20px !important; }
  .banner-vvip .banner__shop { font-size: 22px !important; }
}

/* Footer business info */
/* (deprecated old footer-bottom rules removed in feat/footer-seo-overhaul) */

/* =====================================================================
   Ad tier pricing (광고 상품 안내)
   ===================================================================== */
.ad-tier-list { display: grid; gap: 28px; margin-top: 24px; }

.ad-tier {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ad-tier:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }

.ad-tier__sidebar { padding: 28px 24px; background: #F9FAFB; display: flex; flex-direction: column; }
.ad-tier__title {
  display: block;
  padding: 14px 16px;
  background: #16A34A;
  color: white;
  font-weight: 800;
  font-size: 17px;
  text-align: center;
  border-radius: 10px;
  letter-spacing: 0.3px;
  position: relative;
}
.ad-tier__features { list-style: none; margin: 22px 0 0; padding: 0; flex: 1; }
.ad-tier__features li {
  padding: 7px 0 7px 22px;
  font-size: 14px;
  color: #475569;
  position: relative;
  line-height: 1.55;
}
.ad-tier__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: #16A34A;
  font-weight: 700;
}
.ad-tier__limit {
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(22, 163, 74, 0.08);
  color: #15803D;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
}

.ad-tier__pricing { padding: 28px 32px; display: flex; flex-direction: column; }
.ad-tier__pricing-head {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.ad-tier__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin-bottom: 10px;
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  transition: background 0.15s, border-color 0.15s;
}
.ad-tier__price-row:hover { background: #F1F5F9; border-color: #CBD5E1; }
.ad-tier__price-row:last-child { margin-bottom: 0; }
.ad-tier__price-row.best {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: var(--brand-primary);
  position: relative;
}
.ad-tier__price-row.best::after {
  content: "BEST";
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--brand-primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.ad-tier__period { font-size: 15px; color: #334155; font-weight: 500; }
.ad-tier__price { font-size: 20px; font-weight: 800; color: #0F172A; }
.ad-tier__price-row.best .ad-tier__price { color: var(--brand-primary); }

/* Tier color variants */
.ad-tier--vvip .ad-tier__title { background: linear-gradient(135deg, #B45309 0%, #92400E 100%); }
.ad-tier--vvip .ad-tier__features li::before { color: #B45309; }
.ad-tier--vvip .ad-tier__limit { background: rgba(180, 83, 9, 0.08); color: #B45309; }
.ad-tier--vvip .ad-tier__title::after {
  content: "👑";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.ad-tier--vip .ad-tier__title { background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%); }
.ad-tier--vip .ad-tier__features li::before { color: #1E40AF; }
.ad-tier--vip .ad-tier__limit { background: rgba(30, 64, 175, 0.08); color: #1E40AF; }

.ad-tier--premium .ad-tier__title { background: linear-gradient(135deg, #16A34A 0%, #15803D 100%); }
.ad-tier--premium .ad-tier__features li::before { color: #16A34A; }

/* Why us / EEAT cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.why-card {
  padding: 24px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: var(--brand-primary); transform: translateY(-2px); }
.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #EFF6FF;
  color: var(--brand-primary);
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 14px;
}
.why-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--text-primary); }
.why-card p { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Trust badges row */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}
.trust-badge strong { color: var(--text-primary); }

/* Pricing CTA section */
.pricing-cta {
  margin-top: 40px;
  padding: 36px 32px;
  background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
  color: white;
  border-radius: var(--radius-xl);
  text-align: center;
}
.pricing-cta h3 { color: white; margin: 0 0 12px; font-size: 24px; }
.pricing-cta p { color: rgba(255,255,255,0.85); margin: 0 0 22px; }
.pricing-cta .btn { background: white; color: var(--brand-primary); border-color: white; }
.pricing-cta .btn:hover { background: #EFF6FF; }
.pricing-cta .btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.pricing-cta .btn-outline:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 720px) {
  .ad-tier { grid-template-columns: 1fr; }
  .ad-tier__sidebar { padding: 24px 20px; }
  .ad-tier__pricing { padding: 20px; }
  .ad-tier__price-row { padding: 14px 16px; }
  .ad-tier__price { font-size: 18px; }
  .pricing-cta { padding: 28px 20px; }
  .pricing-cta h3 { font-size: 20px; }
}

/* =====================================================================
   Comparison table (지역 페이지 비교표)
   ===================================================================== */
.compare-table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius-lg); }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bg-muted);
}
.compare-table thead th {
  background: #F8FAFC;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--border);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #F9FAFB; }
.compare-table td:first-child { font-weight: 600; color: var(--text-primary); }

/* ===== Magazine post readability enhancements ===== */
.magazine-post-body { background: #F8FAFC; }
.article {
  max-width: 760px;
  padding: 40px 0 64px;
}
.article p {
  font-size: 17.5px;
  line-height: 1.95;
  color: #1F2937;
  margin: 0 0 18px;
  word-break: keep-all;
  letter-spacing: -0.1px;
}
.article h2 {
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.4px;
  color: #0F172A;
  padding: 10px 0 14px 18px;
  margin: 0 0 22px;
  border-bottom: none;
  border-left: 4px solid var(--brand-primary);
  background: linear-gradient(to right, rgba(30, 64, 175, 0.08), transparent 38%);
  scroll-margin-top: 96px;
}
.article > section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px 14px;
  margin: 0 0 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  scroll-margin-top: 96px;
}
html { scroll-behavior: smooth; }
body.magazine-post-body .article > section:first-of-type p:first-of-type::first-letter {
  float: left;
  font-size: 2.4em;
  line-height: 0.95;
  font-weight: 800;
  color: var(--brand-primary);
  padding: 4px 8px 0 0;
}

.post-lead {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-success, #10B981);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.post-lead__title {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-success, #10B981);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 2px 8px;
  background: #ECFDF5;
  border-radius: 4px;
}
.post-lead h2 {
  font-size: 17px;
  margin: 6px 0 12px;
  color: #0F172A;
  letter-spacing: -0.3px;
  padding: 0;
  border: none;
  background: none;
}
.post-lead ul {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.post-lead li {
  margin: 6px 0;
  line-height: 1.7;
  color: #475569;
}
.post-lead li a {
  color: #1F2937;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.15s, border-color 0.15s;
}
.post-lead li a:hover,
.post-lead li a:focus {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}
.post-lead li a::after {
  content: " ↓";
  color: #94A3B8;
  font-size: 12px;
  margin-left: 2px;
}

.post-meta-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: #64748B;
  margin: 8px 0 24px;
}
.post-meta-strip .chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  color: #475569;
  font-weight: 500;
}
.post-meta-strip .chip--cat {
  background: #EFF6FF;
  color: var(--brand-primary);
}

@media (max-width: 720px) {
  .article { padding: 28px 0 56px; }
  .article > section { padding: 22px 20px 8px; border-radius: 8px; }
  .article p { font-size: 16.5px; line-height: 1.9; }
  .article h2 { font-size: 20px; padding: 8px 0 12px 14px; }
  .post-lead { padding: 18px 20px; border-radius: 8px; }
}

/* ===== Related links section (post bottom) ===== */
.related-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px 30px;
  margin: 28px 0 60px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.related-section__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-muted);
  flex-wrap: wrap;
}
.related-section__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: #EFF6FF;
  padding: 4px 10px;
  border-radius: 4px;
}
.related-section__title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}
.related-section__sub {
  font-size: 13px;
  color: #64748B;
  margin-left: auto;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.related-card:hover,
.related-card:focus {
  border-color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
  text-decoration: none;
}
.related-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #EFF6FF;
}
.related-card__icon.amber { background: #FEF3C7; }
.related-card__icon.green { background: #ECFDF5; }
.related-card__icon.slate { background: #F1F5F9; }
.related-card__icon.rose  { background: #FEE2E2; }
.related-card__body {
  flex: 1;
  min-width: 0;
}
.related-card__cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.related-card__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.4;
  word-break: keep-all;
}
.related-card__arrow {
  flex-shrink: 0;
  color: #94A3B8;
  font-size: 14px;
  transition: transform 0.15s, color 0.15s;
}
.related-card:hover .related-card__arrow,
.related-card:focus .related-card__arrow {
  color: var(--brand-primary);
  transform: translateX(2px);
}

@media (max-width: 720px) {
  .related-section { padding: 22px 18px 22px; border-radius: 8px; margin: 20px 0 40px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .related-card { padding: 12px 14px; gap: 12px; }
  .related-card__icon { width: 36px; height: 36px; font-size: 18px; }
  .related-section__head { gap: 8px; }
  .related-section__sub { margin-left: 0; }
}

/* =====================================================================
   Magazine index page (/magazine/)
   ===================================================================== */
body.magazine-index-page {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 280px, #F8FAFC 600px);
  background-attachment: fixed;
}
.magazine-index-page .page-header {
  background: transparent;
  border-bottom: 0;
  padding: 48px 0 12px;
}

/* Hero strip */
.mag-hero {
  padding: 8px 0 36px;
}
.mag-hero__stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.mag-hero__stats strong {
  color: var(--brand-primary);
  font-weight: 800;
  margin-right: 2px;
}
.mag-hero__stats .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CBD5E1;
  display: inline-block;
}
.mag-hero__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.mag-hero__chip {
  display: inline-block;
  padding: 5px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Section heads */
.mag-section { padding: 28px 0; }
.mag-section--coming { padding-top: 12px; }
.mag-section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.mag-section__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: #EFF6FF;
  padding: 5px 10px;
  border-radius: 6px;
}
.mag-section__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0F172A;
  margin: 0;
}
.mag-section__sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

/* Featured hero card */
.mag-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.mag-featured:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border-color: var(--brand-primary);
}
.mag-featured__visual {
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  color: white;
  position: relative;
  overflow: hidden;
}
.mag-featured__visual::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mag-featured__cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}
.mag-featured__visual h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin: 0;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
  word-break: keep-all;
}
.mag-featured__body {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.mag-featured__body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
  margin: 0;
  word-break: keep-all;
}
.mag-featured__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.mag-featured__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #CBD5E1;
  display: inline-block;
}
.mag-featured__cta {
  margin-left: auto;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 13px;
}

/* Card grid */
.mag-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mag-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
  color: inherit;
}
.mag-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  border-color: var(--brand-primary);
}
.mag-card__visual {
  padding: 22px 22px 18px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
}
.mag-card__visual::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mag-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
.mag-card__body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.mag-card__body h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.3px;
  color: #0F172A;
  margin: 0;
  word-break: keep-all;
}
.mag-card__body p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mag-card__meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--text-light);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.mag-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #CBD5E1;
  display: inline-block;
}

/* Coming soon variant */
.mag-card--coming { opacity: 0.86; }
.mag-card--coming .mag-card__visual { filter: grayscale(0.25); }
.mag-card--coming .mag-card__meta {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Category background gradients */
.mag-bg--구인구직   { background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%); }
.mag-bg--면접       { background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%); }
.mag-bg--급여       { background: linear-gradient(135deg, #047857 0%, #10B981 100%); }
.mag-bg--야간근무   { background: linear-gradient(135deg, #1F2937 0%, #475569 100%); }
.mag-bg--감정노동   { background: linear-gradient(135deg, #BE185D 0%, #EC4899 100%); }
.mag-bg--프리랜서   { background: linear-gradient(135deg, #C2410C 0%, #F97316 100%); }
.mag-bg--프리랜서수입관리 { background: linear-gradient(135deg, #C2410C 0%, #F97316 100%); }
.mag-bg--고객응대   { background: linear-gradient(135deg, #92400E 0%, #F59E0B 100%); }
.mag-bg--직업정보   { background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%); }
.mag-bg--자격증     { background: linear-gradient(135deg, #5B21B6 0%, #8B5CF6 100%); }
.mag-bg--안전       { background: linear-gradient(135deg, #B91C1C 0%, #EF4444 100%); }
.mag-bg--커리어     { background: linear-gradient(135deg, #5B21B6 0%, #A78BFA 100%); }
.mag-bg--근무조건   { background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%); }
.mag-bg--초보사회생활 { background: linear-gradient(135deg, #6D28D9 0%, #A78BFA 100%); }
.mag-bg--건강관리   { background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%); }
.mag-bg--default    { background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%); }

@media (max-width: 900px) {
  .mag-featured { grid-template-columns: 1fr; }
  .mag-featured__visual { min-height: 180px; padding: 28px 24px 22px; }
  .mag-featured__visual h3 { font-size: 22px; }
  .mag-featured__body { padding: 24px; }
  .mag-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mag-card-grid { grid-template-columns: 1fr; }
  .mag-hero { padding: 0 0 24px; }
  .mag-section__head { gap: 10px; }
  .mag-section__sub { margin-left: 0; width: 100%; }
}

/* =====================================================================
   Guide page (분야별 채용 가이드)
   ===================================================================== */
body.guide-page {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 280px, #F8FAFC 600px);
  background-attachment: fixed;
}
.guide-page .page-header {
  background: transparent;
  border-bottom: 0;
  padding: 48px 0 32px;
}
.guide-category-tag {
  display: inline-block;
  padding: 5px 14px;
  background: #EFF6FF;
  color: var(--brand-primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
.guide-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 16px;
}
.stat-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.stat-box__label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.stat-box__value {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.guide-page .anchor-nav { margin-top: 24px; }

.guide-page .article {
  max-width: 880px;
  padding: 32px 0 56px;
}
.guide-page .article > section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 0 0 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  scroll-margin-top: 96px;
}
.guide-page .article h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
  color: #0F172A;
  border-bottom: none;
  padding: 0 0 8px;
  margin: 0 0 16px;
  border-left: 4px solid var(--brand-primary);
  padding-left: 14px;
  background: linear-gradient(to right, rgba(30,64,175,0.06), transparent 50%);
}
.guide-page .article h3 {
  font-size: 16px;
  color: #0F172A;
  margin: 18px 0 10px;
}
.guide-page .article p {
  font-size: 15.5px;
  line-height: 1.85;
  color: #334155;
  word-break: keep-all;
}

.salary-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 12px 0 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 14.5px;
}
.salary-table th,
.salary-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bg-muted);
}
.salary-table thead th {
  background: #F8FAFC;
  font-weight: 700;
  color: #0F172A;
  border-bottom: 2px solid var(--border);
  font-size: 13.5px;
}
.salary-table tbody tr:last-child td { border-bottom: 0; }
.salary-table tbody tr:hover { background: #F9FAFB; }
.salary-table td:first-child { font-weight: 700; color: #0F172A; }
.salary-table .salary-amount { color: var(--brand-primary); font-weight: 700; }

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.guide-related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  color: inherit;
}
.guide-related-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
  text-decoration: none;
}
.guide-related-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #EFF6FF;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.guide-related-card__body { flex: 1; min-width: 0; }
.guide-related-card__title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
  margin-bottom: 2px;
}
.guide-related-card__sub {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Guide hub redesign */
.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.guide-hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  color: inherit;
}
.guide-hub-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}
.guide-hub-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.guide-hub-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}
.guide-hub-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Guide icon color variants */
.gi-blue   { background: linear-gradient(135deg, #1E40AF, #3B82F6); }
.gi-indigo { background: linear-gradient(135deg, #4338CA, #6366F1); }
.gi-green  { background: linear-gradient(135deg, #047857, #10B981); }
.gi-rose   { background: linear-gradient(135deg, #BE185D, #EC4899); }
.gi-orange { background: linear-gradient(135deg, #C2410C, #F97316); }
.gi-amber  { background: linear-gradient(135deg, #92400E, #F59E0B); }
.gi-teal   { background: linear-gradient(135deg, #0F766E, #14B8A6); }
.gi-purple { background: linear-gradient(135deg, #5B21B6, #8B5CF6); }
.gi-slate  { background: linear-gradient(135deg, #334155, #64748B); }
.gi-emerald{ background: linear-gradient(135deg, #047857, #34D399); }
.gi-red    { background: linear-gradient(135deg, #B91C1C, #EF4444); }
.gi-violet { background: linear-gradient(135deg, #5B21B6, #A78BFA); }
.gi-pink   { background: linear-gradient(135deg, #DB2777, #F472B6); }
.gi-deepblue { background: linear-gradient(135deg, #1E3A8A, #2563EB); }

@media (max-width: 1024px) {
  .guide-quick-stats { grid-template-columns: repeat(2, 1fr); }
  .guide-related-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-hub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .guide-quick-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-box { padding: 14px 14px; }
  .stat-box__value { font-size: 15.5px; }
  .guide-related-grid { grid-template-columns: 1fr; }
  .guide-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-page .article > section { padding: 22px 20px; }
  .guide-page .article h2 { font-size: 19px; }
  .salary-table th, .salary-table td { padding: 10px 12px; font-size: 13.5px; }
}

/* =====================================================================
   Magazine post bottom: replace generic site explorer grid
   ===================================================================== */

/* Topic CTA banner */
.post-cta-banner {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  margin: 24px 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.18);
  position: relative;
  overflow: hidden;
}
.post-cta-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.post-cta-banner__text {
  flex: 1 1 260px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.post-cta-banner__title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: white;
  letter-spacing: -0.4px;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}
.post-cta-banner__lead {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}
.post-cta-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.post-cta-banner__actions .btn {
  background: white;
  color: var(--brand-primary);
  border-color: white;
}
.post-cta-banner__actions .btn:hover {
  background: #EFF6FF;
  color: var(--brand-primary);
}
.post-cta-banner__actions .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}
.post-cta-banner__actions .btn-outline:hover {
  background: white;
  color: var(--brand-primary);
}

/* Editorial signature + Next up (2-col slim) */
.post-meta-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.post-meta-card {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.post-meta-card__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.post-meta-card__body {
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
}
.post-meta-card__body strong { color: #0F172A; }
.post-meta-card__body a {
  color: #0F172A;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.post-meta-card__body a:hover {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

/* Slim text-only related links row (for SEO internal linking) */
.post-related-inline {
  margin: 8px 0 36px;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  gap: 4px 10px;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1.8;
}
.post-related-inline__label {
  font-weight: 700;
  color: #334155;
  margin-right: 4px;
}
.post-related-inline a {
  color: var(--brand-primary);
  text-decoration: none;
}
.post-related-inline a:hover { text-decoration: underline; }
.post-related-inline .sep {
  color: #CBD5E1;
  font-weight: 400;
}

@media (max-width: 720px) {
  .post-cta-banner { padding: 22px 20px; gap: 16px; }
  .post-cta-banner__title { font-size: 18px; }
  .post-cta-banner__actions { width: 100%; }
  .post-cta-banner__actions .btn { flex: 1 1 auto; justify-content: center; }
  .post-meta-rows { grid-template-columns: 1fr; gap: 10px; }
}
