/* 배움 놀이터 — 선생님·학부모 한눈 안내 페이지 (외부 CDN·인라인 스타일 없음) */
body.guide-body {
  margin: 0;
  background: #FFF8F0;
  color: #1F2A33;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.55;
  word-break: keep-all;
}

.guide-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 3px solid #2B7A42;
  border-radius: 26px;
  box-shadow: 0 6px 0 #2B7A42;
  margin-bottom: 24px;
}

.guide-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.guide-mascot {
  width: 72px;
  height: 72px;
  flex: none;
}

.guide-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #1B3B22;
}

.guide-sub {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #4A5A4E;
}

.guide-header-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2.5px solid #2B7A42;
  background: #F6F9F4;
  color: #1B3B22;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 0 #2B7A42;
}

body.a11y-contrast.guide-body {
  background: #FFFFFF;
  color: #000000;
}

body.a11y-contrast .guide-header,
body.a11y-contrast .guide-section,
body.a11y-contrast .guide-pill,
body.a11y-contrast .guide-subject-card,
body.a11y-contrast .guide-sister-card,
body.a11y-contrast .guide-home-btn {
  background: #FFFFFF;
  color: #000000;
  border-color: #000000;
  box-shadow: none;
}

body.a11y-contrast .guide-open-btn {
  background: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  box-shadow: none;
}

.guide-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #2B7A42;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 #1B522B;
}

.guide-section {
  background: #FFFFFF;
  border: 3px solid #E2D9CC;
  border-radius: 24px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.guide-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  color: #1F2A33;
}

.guide-pill-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.guide-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: #F6F9F4;
  border: 2px solid #CFE3CE;
}

.guide-pill strong {
  display: block;
  font-size: 18px;
  color: #1E4628;
  margin-bottom: 4px;
}

.guide-pill span {
  font-size: 15px;
  color: #3E4C43;
}

.guide-subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.guide-subject-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 20px;
  border: 2px solid #E6DFD3;
  background: #FFFDF9;
}

.guide-subject-card img {
  width: 64px;
  height: 64px;
  flex: none;
}

.guide-subject-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 900;
}

.guide-subject-card p {
  margin: 0;
  font-size: 15px;
  color: #3C4852;
}

.guide-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-item,
.classic-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.game-item {
  background: #F4EFE6;
  border: 1.5px solid #D8CBB8;
  color: #2D3436;
}

.classic-item {
  background: #E2F4E6;
  border: 1.5px solid #2B7A42;
  color: #144923;
}

.guide-steps {
  margin: 0;
  padding-left: 22px;
}

.guide-steps li {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.guide-footer {
  text-align: center;
  font-size: 14px;
  color: #5C6873;
  margin-top: 24px;
}

.guide-sister-intro {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: #3E4C43;
}

.guide-sister-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.guide-sister-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #F6F9F4;
  border: 2px solid #2B7A42;
  color: #1F2A33;
  text-decoration: none;
  box-shadow: 0 3px 0 #2B7A42;
}

.guide-sister-card strong {
  font-size: 17px;
  font-weight: 900;
  color: #1B3B22;
}

.guide-sister-card span {
  font-size: 15px;
  font-weight: 600;
  color: #3E4C43;
}

body.a11y-contrast .guide-sister-intro,
body.a11y-contrast .guide-sister-card strong,
body.a11y-contrast .guide-sister-card span {
  color: #000000;
}

.guide-footer a {
  color: #1F64B8;
  font-weight: 700;
}
