/* ===================================================
   턴잇 재범방지교육센터 - 서브페이지 공통 스타일
   =================================================== */

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, #1a2238 0%, #2a3a6e 100%);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 14px;
}

.page-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Page Section ── */
.page-section {
  padding: 64px 0 80px;
  background: #f8f9fa;
}

.page-content {
  max-width: 900px;
}

/* ── Section Heading ── */
.section-heading {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #303441;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}

.section-heading-center {
  text-align: center;
}

.section-desc {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ── About Page ── */
.about-intro {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.about-intro p {
  font-size: 15px;
  color: #495057;
  line-height: 1.8;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.about-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.about-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.about-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #303441;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 13.5px;
  color: #6c757d;
  line-height: 1.65;
}

.about-info-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.about-info-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #303441;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e9ecef;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid #f1f3f5;
}

.info-table th {
  width: 160px;
  color: #6c757d;
  font-weight: 700;
  background: #f8f9fa;
}

.info-table td {
  color: #303441;
}

/* ── Course Detail Page ── */
.course-detail-hero {
  background: linear-gradient(135deg, #1a2238 0%, #2a3a6e 100%);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}

.patrol-course-visual {
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: 18px;
  background: #17345c;
  box-shadow: 0 18px 42px rgba(23, 52, 92, .18);
}

.patrol-course-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.course-cta-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.course-cta-actions .course-cta-btn {
  margin: 0;
}

.course-cta-btn--outline {
  background: transparent;
  color: #385bce;
  border: 1px solid #385bce;
}

.course-cta-btn--outline:hover {
  background: rgba(56, 91, 206, .08);
}

.course-detail-body {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.course-detail-body p {
  font-size: 15px;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 16px;
}

.course-target-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.course-target-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #495057;
  line-height: 1.6;
}

.course-target-list li::before {
  content: '✔';
  color: #385bce;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.course-cta-box {
  background: linear-gradient(135deg, #385bce, #004DF9);
  border-radius: 16px;
  padding: 36px 40px;
  color: #fff;
  text-align: center;
}

.course-cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-cta-box p {
  font-size: 14px;
  opacity: .85;
  margin-bottom: 24px;
}

.course-cta-btn {
  display: inline-block;
  background: #fff;
  color: #385bce;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 36px;
  border-radius: 30px;
  transition: opacity .2s ease;
}
.course-cta-btn:hover { opacity: .9; }

/* ── Reviews Page ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  color: #495057;
  line-height: 1.7;
  margin-bottom: 14px;
}

.review-author {
  font-size: 12px;
  color: #adb5bd;
  font-weight: 600;
}

.review-tag {
  display: inline-block;
  background: rgba(56,91,206,.08);
  color: #385bce;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* ── Notice / FAQ Page ── */
.notice-list {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid #f1f3f5;
  transition: background .15s ease;
  cursor: pointer;
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: #f8f9fa; }

.notice-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-badge--notice { background: #fee2e2; color: #dc2626; }
.notice-badge--general { background: #e0f2fe; color: #0284c7; }

.notice-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #303441;
}

.notice-date {
  font-size: 12px;
  color: #adb5bd;
  white-space: nowrap;
}

/* ── FAQ Page ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #303441;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: background .15s;
}
.faq-question:hover { background: #f8f9fa; }

.faq-q-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #385bce;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-arrow {
  margin-left: auto;
  font-size: 12px;
  color: #adb5bd;
  transition: transform .2s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px 64px;
  font-size: 14px;
  color: #6c757d;
  line-height: 1.75;
  border-top: 1px solid #f1f3f5;
  padding-top: 16px;
}
.faq-item.open .faq-answer { display: block; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .about-cards { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-intro,
  .about-info-box,
  .course-detail-body,
  .course-cta-box { padding: 24px 20px; }
  .page-section { padding: 40px 0 60px; }
  .notice-item { gap: 12px; padding: 14px 18px; }
  .faq-answer { padding-left: 24px; }
}
