/* 여더쿠 가이드 사이트 - 피치 팔레트 디자인 토큰 (design_handoff_yeoduku README 기준) */

:root {
  --peach-bg: #FFF9F4;
  --peach-border: #F5E4D7;
  --peach-border-soft: #F0DECF;
  --brand: #F2764B;
  --brand-deep: #EA5A3C;
  --banner-grad-1: #FFF3EA;
  --banner-grad-2: #FFE9DB;
  --text-title: #3D2B23;
  --text-body: #8A7264;
  --text-muted: #9A8272;
  --text-strong: #4A382E;
  --chip-text: #6B5245;
  --placeholder-text: #B58A73;
}

.guide-page {
  margin: 0;
  background: #fff;
  color: var(--text-title);
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
}

/* :where()로 명시도를 낮춰서, 자유 HTML 모드로 붙여넣은 본문의 커스텀 링크 스타일(예: .btn 버튼)이
   이 사이트 기본값에 밀리지 않고 확실히 이기도록 한다. */
:where(.guide-page) a { text-decoration: none; color: inherit; }

/* ===== 등장 애니메이션 (스크롤 리빌 / 타이틀 글자 등장) =====
   두 효과 다 애니메이션이 꺼진 상태(prefers-reduced-motion)에서는 처음부터 그냥
   보이도록, 숨기는 규칙 자체를 no-preference 미디어쿼리 안에만 둔다. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .95s ease-out, transform .95s ease-out;
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  /* guide.js가 IntersectionObserver로 감지해서 is-visible을 붙이면, 자식들이
     순서대로 살짝 시간차를 두고 나타난다 (카드 그리드 등에 사용). */
  .reveal-group > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .95s ease-out, transform .95s ease-out;
  }
  .reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
  .reveal-group.is-visible > *:nth-child(1) { transition-delay: .08s; }
  .reveal-group.is-visible > *:nth-child(2) { transition-delay: .16s; }
  .reveal-group.is-visible > *:nth-child(3) { transition-delay: .24s; }
  .reveal-group.is-visible > *:nth-child(4) { transition-delay: .32s; }
  .reveal-group.is-visible > *:nth-child(5) { transition-delay: .4s; }
  .reveal-group.is-visible > *:nth-child(6) { transition-delay: .48s; }
  .reveal-group.is-visible > *:nth-child(7) { transition-delay: .56s; }
  .reveal-group.is-visible > *:nth-child(8) { transition-delay: .64s; }
}

.char-reveal .char { display: inline-block; }
.char-reveal .char--space { width: .28em; }
@media (prefers-reduced-motion: no-preference) {
  .char-reveal .char {
    opacity: 0;
    transform: translateY(10px);
    animation: guideCharIn .75s ease-out forwards;
  }
  @keyframes guideCharIn {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Header */
.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: var(--peach-bg);
  border-bottom: 1px solid var(--peach-border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .45s ease, box-shadow .45s ease, backdrop-filter .45s ease, border-color .45s ease;
}
/* 스크롤을 내리면 반투명 유리 느낌으로 떠 있는 헤더가 된다 (guide.js에서 스크롤량에 따라 토글) */
.guide-header--scrolled {
  background: rgba(255, 249, 244, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: transparent;
  box-shadow: 0 6px 24px rgba(61, 43, 35, .08);
}
.guide-header__brand { display: flex; align-items: center; gap: 10px; }
.guide-header__logo {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800;
}
.guide-header__name { font-size: 19px; font-weight: 800; color: var(--text-title); }
.guide-header__nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: #7A6558; font-weight: 500; }
.guide-header__nav a.active { color: var(--brand); font-weight: 700; }
.guide-header__search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--peach-border-soft);
  border-radius: 99px; padding: 8px 16px; color: #B39C8C; font-size: 13px; min-width: 200px;
}
.guide-header__menu-toggle { display: none; font-size: 30px; padding: 4px 8px; color: #B39C8C; background: none; border: none; cursor: pointer; }

/* Hero (1b) */
.guide-hero {
  background: linear-gradient(180deg, var(--banner-grad-1), var(--peach-bg));
  padding: 56px 40px 48px;
  text-align: center;
}
.guide-hero__title { font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.guide-hero__subtitle { font-size: 15px; color: var(--text-muted); margin-top: 10px; }
.guide-search {
  max-width: 620px; margin: 26px auto 0;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 2px solid var(--brand); border-radius: 99px;
  padding: 16px 24px; box-shadow: 0 8px 24px rgba(242,118,75,.12);
}
.guide-search input {
  border: none; outline: none; flex: 1; min-width: 0; font-size: 15px; color: var(--text-title);
  font-family: inherit; background: transparent;
}
.guide-search input::placeholder { color: #B39C8C; }
.guide-search button {
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 99px; border: none; cursor: pointer;
  flex: none; white-space: nowrap;
}
.guide-tags { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.guide-tag {
  font-size: 12.5px; color: var(--text-body); background: #fff;
  border: 1px solid var(--peach-border-soft); border-radius: 99px; padding: 6px 14px;
}

/* Notice board (공지사항) */
.guide-notice-board {
  margin: 28px 40px 0; background: var(--peach-bg); border: 1px solid var(--peach-border);
  border-radius: 20px; padding: 22px 28px;
}
.guide-notice-board__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.guide-notice-board__title { font-size: 17px; font-weight: 800; color: var(--text-title); text-decoration: none; }
.guide-notice-board__title:hover { color: var(--brand); }
.guide-notice-board__more { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.guide-notice-board__more:hover { color: var(--brand); }
.guide-notice-board__list {
  background: #fff; border-radius: 16px; padding: 0 20px;
  box-shadow: 0 2px 10px rgba(61,43,35,.04);
}
.guide-notice-board__list--page { max-width: 760px; padding: 4px 20px; }
.guide-notice-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 0;
  border-top: 1px solid #EFEFEF; text-decoration: none; color: inherit;
}
.guide-notice-row:first-child { border-top: none; }
.guide-notice-row:hover .guide-notice-row__title { color: var(--brand); }
.guide-notice-badge {
  flex: none; font-size: 11.5px; font-weight: 700; color: var(--text-body);
  background: #fff; border: 1px solid var(--peach-border-soft); border-radius: 99px; padding: 3px 10px;
}
.guide-notice-badge--new { color: #fff; background: var(--brand); border-color: var(--brand); }
.guide-notice-row__title {
  flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--text-title);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.guide-notice-row__date { flex: none; font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Steps (5단계 온보딩) */
.guide-steps-section { padding: 44px 40px 20px; }
.guide-steps-section__eyebrow { text-align: center; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 2px; margin-bottom: 6px; }
.guide-steps-section__title { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 30px; }
.guide-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.guide-step { text-align: center; padding: 0 6px; display: block; cursor: pointer; }
.guide-step__thumb {
  width: 100%; aspect-ratio: 1; border-radius: 20px;
  background: repeating-linear-gradient(45deg, var(--banner-grad-2) 0 10px, var(--banner-grad-1) 10px 20px);
  display: grid; place-items: center; color: var(--placeholder-text);
  font-family: ui-monospace, monospace; font-size: 10px; text-align: center;
  transition: transform .3s ease;
}
.guide-step:hover .guide-step__thumb { transform: scale(1.04); }
.guide-step:hover .guide-step__title { color: var(--brand); }
.guide-step__thumb--image { background: none; object-fit: cover; }
.guide-step__thumb-wrap { position: relative; }
.guide-step__arrow {
  position: absolute; top: 50%; right: -22px; transform: translateY(-50%);
  font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1; z-index: 2;
  pointer-events: none;
}
.guide-step__num { margin-top: 12px; font-size: 12px; font-weight: 800; color: var(--brand); }
.guide-step__title { font-size: 15px; font-weight: 700; margin-top: 4px; transition: color .2s ease; }
.guide-step__desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; margin-top: 6px; }

/* Mobile vertical stepper */
.guide-steps-mobile { display: none; flex-direction: column; padding: 18px 24px 10px; }
.guide-steps-mobile .guide-step-row { display: flex; gap: 14px; }
.guide-steps-mobile .guide-step-row:hover .guide-step-row__link { background: var(--brand); color: #fff; border-color: var(--brand); }
.guide-steps-mobile .guide-step-num-circle {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
.guide-steps-mobile .guide-step-connector { width: 2px; flex: 1; background: var(--banner-grad-2); }
.guide-steps-mobile .guide-step-body { flex: 1; min-width: 0; padding-bottom: 20px; }
.guide-steps-mobile .guide-step-body-title { font-size: 14.5px; font-weight: 700; }
.guide-steps-mobile .guide-step-body-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin-top: 3px; }
.guide-steps-mobile .guide-step-row__link {
  align-self: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--peach-border-soft);
  color: var(--brand); font-size: 20px; font-weight: 700; line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* Two column sections (용어사전/FAQ, FAQ/랭킹) */
.guide-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 40px 40px; }
.guide-two-col--faq-rank { grid-template-columns: 1.4fr 1fr; padding: 28px 40px 40px; }
.guide-panel { background: var(--peach-bg); border-radius: 20px; padding: 24px 28px; }
.guide-panel__title { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.guide-panel__subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.guide-chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-chip {
  font-size: 13px; color: var(--chip-text); background: #fff;
  border: 1px solid var(--peach-border-soft); border-radius: 99px; padding: 7px 15px; font-weight: 600;
}
.guide-chip--term { cursor: pointer; }
.guide-chip--term:hover { border-color: var(--brand); color: var(--brand); }

.guide-panel--duty-free { display: flex; flex-direction: column; }
.guide-duty-free { flex: 1; display: flex; align-items: center; margin: 20px 0; }
.guide-duty-free__loading, .guide-duty-free__error { width: 100%; text-align: center; font-size: 13px; color: var(--text-muted); }
.guide-duty-free__result { width: 100%; }
.guide-duty-free__card {
  background: #fff; border: 1px solid var(--peach-border-soft); border-radius: 16px;
  padding: 24px; text-align: center;
}
.guide-duty-free__amount { font-size: 32px; font-weight: 800; color: var(--brand-deep); }
.guide-duty-free__desc { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.guide-duty-free__divider { height: 1px; background: var(--peach-border-soft); margin: 16px 0; }
.guide-duty-free__recommend { font-size: 13px; color: var(--text-muted); }
.guide-duty-free__recommend strong { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; color: var(--text-strong); }
.guide-duty-free__footer {
  font-size: 12px; color: var(--text-muted); line-height: 1.5;
  padding-top: 16px; border-top: 1px dashed var(--peach-border-soft);
}

.guide-term-modal {
  position: fixed; inset: 0; background: rgba(61,43,35,.45); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.guide-term-modal.open { display: flex; }
.guide-term-modal__box {
  background: #fff; border-radius: 20px; padding: 28px 30px; max-width: 380px; width: 100%;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.guide-term-modal__close { position: absolute; top: 16px; right: 18px; border: none; background: none; font-size: 16px; color: #B39C8C; cursor: pointer; }
.guide-term-modal__term { font-size: 19px; font-weight: 800; color: var(--text-title); margin-bottom: 12px; }
.guide-term-modal__definition { font-size: 14px; color: var(--text-body); line-height: 1.7; }

.guide-section-title { font-size: 17px; font-weight: 800; margin-bottom: 14px; }

.guide-faq { display: flex; flex-direction: column; gap: 10px; }
.guide-faq__item { background: #fff; border: 1px solid var(--peach-border); border-radius: 14px; padding: 16px 20px; cursor: pointer; }
.guide-faq__question { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.guide-faq__caret { color: #D8BFAD; transition: transform .15s; }
.guide-faq__answer {
  font-size: 13px; color: var(--text-body); line-height: 1.6; margin-top: 10px;
  padding-top: 10px; border-top: 1px dashed var(--peach-border-soft);
  display: none;
}
.guide-faq__item.open .guide-faq__answer { display: block; }
.guide-faq__item.open .guide-faq__caret { transform: rotate(180deg); }

.guide-shipping-calendar { background: #fff; border: 1px solid var(--peach-border-soft); border-radius: 16px; padding: 16px; max-width: 320px; margin: 0 auto; }
.guide-shipping-calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.guide-shipping-calendar__head button {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--peach-border-soft);
  background: #fff; color: var(--text-strong); font-size: 13px; cursor: pointer;
}
.guide-shipping-calendar__title { font-size: 13px; font-weight: 800; color: var(--text-strong); }
.guide-shipping-calendar__dow, .guide-shipping-calendar__days {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.guide-shipping-calendar__dow div { text-align: center; font-size: 10.5px; color: var(--text-muted); padding-bottom: 4px; }
.guide-shipping-calendar__day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--text-strong); border-radius: 6px;
}
.guide-shipping-calendar__day--empty { visibility: hidden; }
.guide-shipping-calendar__day--delay { background: var(--brand-deep); color: #fff; }
.guide-shipping-calendar__day--weekend { background: #ECE6DF; color: #B0A79C; }
.guide-shipping-calendar__day--today { border: 2px solid #2E9E6B; color: #2E9E6B; }
.guide-shipping-calendar__legend {
  display: flex; gap: 14px; margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed var(--peach-border-soft); font-size: 11px; color: var(--text-muted);
}
.guide-shipping-calendar__legend span { display: inline-flex; align-items: center; gap: 5px; }
.guide-shipping-calendar__dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.guide-shipping-calendar__dot--delay { background: var(--brand-deep); }
.guide-shipping-calendar__dot--weekend { background: #ECE6DF; }
.guide-shipping-calendar__dot--today { border: 2px solid #2E9E6B; box-sizing: border-box; }

.guide-ranking { display: flex; flex-direction: column; gap: 4px; }
.guide-ranking__item {
  display: flex; gap: 12px; align-items: center; padding: 10px 4px;
  border-top: 1px solid var(--peach-border);
}
.guide-ranking__item:first-child { border-top: none; }
.guide-ranking__num { font-weight: 800; color: var(--brand); font-size: 15px; width: 18px; }
.guide-ranking__title { font-size: 14px; color: var(--text-strong); font-weight: 500; }
.guide-ranking__empty { color: var(--text-muted); font-size: 13px; padding: 10px 4px; }

/* Onboarding banner (1a) */
.guide-onboarding-banner {
  margin: 28px 40px 0; display: flex; align-items: center; gap: 24px;
  background: linear-gradient(90deg, var(--banner-grad-2), var(--banner-grad-1));
  border-radius: 20px; padding: 26px 32px;
}
.guide-onboarding-banner__thumb {
  width: 88px; height: 88px; border-radius: 20px; flex: none;
  background: repeating-linear-gradient(45deg, var(--banner-grad-2) 0 10px, var(--banner-grad-1) 10px 20px);
  display: grid; place-items: center; color: var(--placeholder-text);
  font-family: ui-monospace, monospace; font-size: 10px; text-align: center;
}
.guide-onboarding-banner__thumb--image { background: none; object-fit: cover; }
.guide-onboarding-banner__body { flex: 1; }
.guide-onboarding-banner__title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.guide-onboarding-banner__desc { font-size: 14px; color: var(--text-body); line-height: 1.6; }
.guide-onboarding-banner__cta {
  flex: none; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px 26px; border-radius: 99px; box-shadow: 0 4px 12px rgba(242,118,75,.3);
  white-space: nowrap;
}

/* Category grid (1a) */
.guide-category-section { padding: 36px 40px 8px; }
.guide-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-category-card {
  background: #fff; border: 1px solid var(--peach-border); border-radius: 18px;
  padding: 22px 24px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.guide-category-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(61,43,35,.1); }
.guide-category-card__icon { font-size: 26px; }
.guide-category-card__name { font-size: 16px; font-weight: 700; }
.guide-category-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.guide-category-card__count { font-size: 12px; color: var(--brand); font-weight: 600; }

/* Magazine (1c) */
.guide-magazine-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; padding: 32px 40px 8px; }
.guide-feature-card {
  border-radius: 22px; overflow: hidden; background: var(--banner-grad-1); display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.guide-feature-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(61,43,35,.12); }
.guide-feature-card__thumb {
  height: 240px; background: repeating-linear-gradient(45deg, var(--banner-grad-2) 0 12px, var(--banner-grad-1) 12px 24px);
  display: grid; place-items: center; color: var(--placeholder-text); font-family: ui-monospace, monospace; font-size: 11px;
}
.guide-feature-card__thumb--image { background: none; object-fit: cover; width: 100%; }
.guide-feature-card__body { padding: 22px 26px 26px; }
.guide-feature-card__eyebrow { font-size: 11.5px; font-weight: 800; color: var(--brand); letter-spacing: 1.5px; margin-bottom: 8px; }
.guide-feature-card__title { font-size: 21px; font-weight: 800; line-height: 1.35; }
.guide-feature-card__desc { font-size: 13.5px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }
.guide-feature-card__meta { display: flex; gap: 14px; margin-top: 14px; font-size: 12px; color: #B39C8C; }

.guide-magazine-rank { background: var(--peach-bg); border-radius: 22px; padding: 24px 26px; }
.guide-magazine-rank__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.guide-magazine-rank__head span:first-child { font-size: 16px; font-weight: 800; }
.guide-magazine-rank__head span:last-child { font-size: 11.5px; color: #B39C8C; }
.guide-magazine-rank__item {
  display: flex; gap: 12px; padding: 11px 0; align-items: baseline; border-top: 1px solid var(--peach-border);
  transition: transform .3s ease;
}
.guide-magazine-rank__item:first-child { border-top: none; }
.guide-magazine-rank__item:hover { transform: translateX(4px); }
.guide-magazine-rank__item:hover .guide-magazine-rank__title { color: var(--brand); }
.guide-magazine-rank__num { font-size: 16px; font-weight: 800; color: var(--brand); width: 20px; }
.guide-magazine-rank__title { font-size: 14px; font-weight: 600; }
.guide-magazine-rank__cat { font-size: 11.5px; color: #B39C8C; margin-top: 2px; }

.guide-recommend-section { padding: 30px 40px 12px; }
.guide-recommend-section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.guide-recommend-section__head span:first-child { font-size: 17px; font-weight: 800; }
.guide-recommend-section__head a { font-size: 13px; color: var(--brand); font-weight: 600; }
.guide-recommend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-recommend-card {
  border: 1px solid var(--peach-border); border-radius: 16px; overflow: hidden; background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.guide-recommend-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(61,43,35,.1); }
.guide-recommend-card__thumb {
  height: 100px; background: repeating-linear-gradient(45deg, var(--banner-grad-2) 0 10px, var(--banner-grad-1) 10px 20px);
  display: grid; place-items: center; color: var(--placeholder-text); font-family: ui-monospace, monospace; font-size: 9px;
}
.guide-recommend-card__thumb--image { background: none; object-fit: cover; width: 100%; }
.guide-recommend-card__body { padding: 14px 16px; }
.guide-recommend-card__cat { font-size: 11px; color: var(--brand); font-weight: 700; margin-bottom: 5px; }
.guide-recommend-card__title { font-size: 13.5px; font-weight: 700; line-height: 1.45; }

.guide-category-chips-section { padding: 26px 40px 40px; }
.guide-category-chips-section__label { font-size: 14px; font-weight: 700; color: var(--text-body); margin-bottom: 12px; }
.guide-category-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.guide-category-chip {
  font-size: 13.5px; color: var(--chip-text); background: var(--peach-bg);
  border: 1px solid var(--peach-border-soft); border-radius: 99px; padding: 9px 18px; font-weight: 600;
}
.guide-category-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.guide-empty-state { color: var(--text-muted); font-size: 13.5px; padding: 20px 4px; }

/* Article (가이드 상세) */
.guide-article { max-width: 700px; margin: 0 auto; padding: 40px 24px 80px; }
.guide-article__breadcrumb { font-size: 12.5px; color: var(--text-muted); display: flex; gap: 8px; margin-bottom: 18px; }
.guide-article__breadcrumb a:hover { color: var(--brand); }
.guide-article__title { font-size: 28px; font-weight: 800; line-height: 1.35; margin: 0 0 12px; }
.guide-article__meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--peach-border); }
.guide-article__body { font-size: 15px; color: var(--text-title); line-height: 1.75; }
/* :where()로 감싸서 이 기본 태그 스타일들의 명시도를 0으로 낮춘다 - "완전 자유 HTML" 모드로
   붙여넣은 본문이 자기 <style> 블록에서 class 하나만으로도 이 기본값을 확실히 덮어쓸 수 있도록
   (그렇지 않으면 예: 커스텀 버튼의 .btn { color: white } 같은 규칙이 아래 a 규칙에 밀려버림). */
:where(.guide-article__body) h1, :where(.guide-article__body) h2, :where(.guide-article__body) h3, :where(.guide-article__body) h4 {
  font-weight: 800; color: var(--text-title); margin: 32px 0 12px;
}
:where(.guide-article__body) h1 { font-size: 22px; }
:where(.guide-article__body) h2 { font-size: 19px; }
:where(.guide-article__body) h3 { font-size: 17px; }
:where(.guide-article__body) p { margin: 0 0 16px; }
:where(.guide-article__body) ul, :where(.guide-article__body) ol { margin: 0 0 16px; padding-left: 22px; }
:where(.guide-article__body) li { margin-bottom: 6px; }
:where(.guide-article__body) img { max-width: 100%; border-radius: 12px; margin: 8px 0 20px; }
:where(.guide-article__body) a { color: var(--brand); text-decoration: underline; }
:where(.guide-article__body) code { background: var(--peach-bg); border-radius: 4px; padding: 2px 6px; font-size: 13px; }
:where(.guide-article__body) pre { background: var(--text-title); color: #fff; border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 0 0 20px; }
:where(.guide-article__body) pre code { background: none; padding: 0; color: inherit; }
:where(.guide-article__body) blockquote {
  border-left: 3px solid var(--brand); background: var(--peach-bg); margin: 0 0 20px; padding: 12px 18px; color: var(--text-body);
}
:where(.guide-article__body) table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 13.5px; }
:where(.guide-article__body) th, :where(.guide-article__body) td { border: 1px solid var(--peach-border); padding: 8px 12px; text-align: left; }
.guide-article__back { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--peach-border); font-size: 13.5px; font-weight: 600; }
.guide-article__back a:hover { color: var(--brand); }

/* 공지사항 본문 전용 블록 (강조 박스 / 카드 그리드) */
.guide-article__body .notice-alert {
  border: 1px solid var(--peach-border); border-radius: 12px; padding: 16px 20px; margin: 0 0 20px; background: #FAFAFA;
}
.guide-article__body .notice-alert > *:last-child { margin-bottom: 0; }
.guide-article__body .notice-alert--pink { border-color: #F5B5AC; background: var(--peach-bg); }
.guide-article__body .notice-alert--orange { border-color: #E17055; background: #FFF8F6; }
.guide-article__body .notice-alert--gray { border-color: var(--peach-border); background: #FAFAFA; }
.guide-article__body .notice-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 20px;
}
.guide-article__body .notice-card {
  border: 1px solid var(--peach-border); border-radius: 10px; padding: 14px 16px; background: #fff;
}
.guide-article__body .notice-card > *:last-child { margin-bottom: 0; }
.guide-article__body .notice-card p { margin: 0 0 6px; font-size: 13.5px; }
.guide-article__body .notice-card a {
  display: inline-block; margin-top: 4px; padding: 6px 14px; background: #555; color: #fff !important;
  border-radius: 99px; font-size: 12px; font-weight: 700; text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .guide-header { padding: 16px 20px; position: relative; }
  .guide-header__nav > *:not(.guide-header__menu-toggle) { display: none; }
  .guide-header__menu-toggle { display: block; }
  .guide-header__nav.open {
    position: absolute; top: 100%; right: 20px; margin-top: 10px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--peach-border); border-radius: 12px;
    padding: 8px; box-shadow: 0 10px 30px rgba(61,43,35,.14); z-index: 20;
  }
  .guide-header__nav.open > a { display: block; padding: 10px 14px; border-radius: 8px; }
  .guide-header__nav.open > a:active { background: var(--peach-bg); }
  .guide-header__nav.open > .guide-header__search { display: flex; margin: 4px 2px; min-width: 0; }
  .guide-hero { padding: 28px 20px 24px; }
  .guide-hero__title { font-size: 23px; }
  .guide-steps { display: none; }
  .guide-steps-mobile { display: flex; }
  .guide-steps-section { padding: 8px 0 0; }
  .guide-notice-board { margin: 16px 20px 0; padding: 16px 18px; }
  .guide-notice-board__list, .guide-notice-board__list--page { padding: 0 14px; }
  .guide-notice-row__title { font-size: 13px; }
  .guide-article__body .notice-grid { grid-template-columns: 1fr; }
  .guide-onboarding-banner { margin: 16px 20px 0; padding: 18px 20px; gap: 14px; }
  .guide-onboarding-banner__thumb { width: 52px; height: 52px; border-radius: 14px; }
  .guide-onboarding-banner__title { font-size: 15px; }
  .guide-onboarding-banner__cta { display: none; }
  .guide-category-section { padding: 20px 20px 4px; }
  .guide-category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .guide-category-card { padding: 14px; border-radius: 16px; }
  .guide-two-col, .guide-two-col--faq-rank { grid-template-columns: 1fr; padding: 12px 20px 24px; gap: 16px; }
  .guide-magazine-top { grid-template-columns: 1fr; padding: 6px 20px 8px; }
  .guide-recommend-grid { display: flex; overflow-x: auto; gap: 12px; }
  .guide-recommend-card { flex: none; width: 170px; }
  .guide-recommend-section, .guide-category-chips-section { padding: 20px 20px 20px; }
}
