/* =========================================================
   경남미래평생교육원 - styles.css
   ========================================================= */

:root {
  --navy: #092f67;
  --navy-deep: #062657;
  --ink: #232323;
  --blue: #087bd2;
  --blue-bright: #087fe4;
  --maroon: #087fe4;
  --maroon-deep: #06418e;
  --maroon-soft: #4e9ddd;
  --paper: #ffffff;
  --line: #e3e6ea;
  --muted: #6b7280;
  --footer-bg: #092f67;
  --max-width: 1240px;
  --radius: 4px;
  --font: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--paper);
}

.top-strip {
  height: 6px;
  background: var(--maroon);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-word {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--maroon);
  letter-spacing: -0.01em;
}

.main-nav {
  flex: 1;
}

.main-nav > ul {
  display: flex;
  justify-content: center;
  gap: 46px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: #202020;
  padding: 8px 2px;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  border-top: 1px solid var(--line);
  transition: max-height 0.25s ease;
}

.mobile-nav.open {
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-nav ul {
  padding: 8px 24px 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

/* ===== Customer Service Box ===== */
.cs-box-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.cs-box {
  width: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}

.cs-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.cs-label {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #2a2a2a;
}

.cs-number {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}

.cs-number a {
  color: var(--blue-bright);
}

.cs-email {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Footer ===== */
.partners-section {
  background: #fff;
  border-top: 1px solid #e4ecf5;
  padding: 25px 24px;
}
.partners-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.partners-heading {
  flex: 0 0 auto;
  margin: 0 8px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #093f81;
}
.partners-arrow {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid #aebdcc;
  color: #426584;
  border-radius: 5px;
  font-size: 23px;
  cursor: pointer;
}
.partners-arrow:hover, .partners-arrow:focus-visible { background: #edf6ff; border-color: #087fe4; }
.partners-track {
  min-width: 0;
  flex: 1;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.partners-track::-webkit-scrollbar { display: none; }
.partner-item {
  flex: 0 0 calc((100% - 28px) / 3);
  min-height: 74px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f3f8ff;
  border: 1px solid #dae8f7;
  border-radius: 8px;
  color: #123d73;
  font-size: 15px;
  font-weight: 700;
  scroll-snap-align: start;
}
@media (max-width: 760px) {
  .partners-section { padding: 20px 12px; }
  .partners-inner { gap: 8px; flex-wrap: wrap; }
  .partners-heading { flex-basis: 100%; margin: 0 0 6px; }
  .partners-arrow { flex-basis: 32px; width: 32px; height: 36px; }
  .partner-item { flex-basis: min(75%, 260px); font-size: 14px; }
}
.site-footer {
  background: var(--footer-bg);
  color: #cfd2d6;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 34px;
}

.footer-links {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
}

.footer-links a {
  color: #fff;
}

.footer-links .divider {
  margin: 0 10px;
  color: #7d838a;
  font-weight: 400;
}

.footer-info p {
  margin: 0 0 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #b7bbc0;
}

.footer-bottom-line {
  margin-top: 10px !important;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }
}

@media (max-width: 560px) {
  .header-inner { padding: 12px 16px; gap: 16px; }
  .logo-img { width: 44px; height: 44px; }
  .logo-word { font-size: 11px; }
  .cs-box-wrap { padding: 28px 16px 60px; }
  .footer-info p { font-size: 11.5px; }
}

/* =========================================================
   드롭다운 서브메뉴 (데스크톱)
   ========================================================= */
.main-nav > ul > li {
  position: relative;
}

.sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  max-height: min(75vh, 680px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 24px rgba(20, 30, 50, 0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}

.sub-menu > li { display: block; width: 100%; }

.main-nav > ul > li:hover .sub-menu,
.main-nav > ul > li:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 400;
  color: #4a4a4a;
  white-space: normal;
  line-height: 1.5;
}

.sub-menu li a:hover {
  background: #f4f7fa;
  color: var(--blue-bright);
}

/* 모바일 서브메뉴 (details/summary) */
.mobile-nav details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}

.mobile-nav details summary::-webkit-details-marker { display: none; }

.mobile-nav details summary::after {
  content: "+";
  font-size: 16px;
  color: var(--muted);
}

.mobile-nav details[open] summary::after {
  content: "−";
}

.mobile-nav details[open] summary {
  border-bottom: 1px solid transparent;
}

.mobile-nav .sub-menu-mobile {
  padding: 0 0 10px 14px;
}

.mobile-nav .sub-menu-mobile li a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: #555;
  border-bottom: none;
}

.mobile-nav > ul > li > a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

/* =========================================================
   서브 페이지 공통 (breadcrumb / 콘텐츠 영역)
   ========================================================= */
.page-hero {
  background: linear-gradient(115deg, #087fe4 0%, #0759ad 50%, #073b82 100%);
  color: #fff;
  padding: 34px 24px;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  font-size: 12.5px;
  color: #aebbd0;
  margin: 0 0 10px;
}

.breadcrumb a { color: #aebbd0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 6px; color: #6a7995; }
.breadcrumb .current { color: #fff; }

.page-title {
  font-size: 25px;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.01em;
}

.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 54px 24px 90px;
}

.lead-text {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  margin: 0 0 26px;
}

.section-heading {
  font-size: 19px;
  font-weight: 700;
  margin: 40px 0 18px;
  padding-top: 6px;
  color: #1c1c1c;
}
.section-heading:first-child { margin-top: 0; }

.info-box {
  background: #f6f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
}

.info-box strong { color: var(--blue-bright); }

/* 인사말 */
.greeting-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.greeting-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.greeting-sign {
  margin-top: 22px;
  font-weight: 700;
  text-align: right;
  color: #1c1c1c;
}

/* 연혁 타임라인 */
.timeline {
  border-top: 2px solid var(--ink);
}

.timeline-row {
  display: flex;
  gap: 28px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  flex: 0 0 96px;
  font-weight: 700;
  color: var(--blue-bright);
  font-size: 15px;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* 오시는 길 */
.map-embed-wrap {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 30px;
}

.map-embed {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.direction-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.direction-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--blue-bright);
}

.direction-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #444;
}

/* 스텝 카드 (수강신청 / 자격증발급절차) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 18px;
  text-align: center;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
  font-size: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.step-arrow {
  display: none;
}

@media (min-width: 720px) {
  .steps-grid.arrows {
    align-items: center;
  }
}

/* 표 (수강료환불 등) */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.info-table th,
.info-table td {
  border: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
}

.info-table th {
  background: #f5f6f8;
  font-weight: 700;
  width: 180px;
  color: #2a2a2a;
}

.info-table + .lead-text { margin-top: 22px; }

/* 과정 목록 (평생교육과정) */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* Uploaded 12-course curriculum: all seven columns remain available on mobile. */
.curriculum-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #cfe1f1; }
.curriculum-table { min-width: 880px; margin: 0; border: 0; }
.curriculum-table th { width: auto; white-space: nowrap; background: #e8f4ff; color: #073b82; }
.curriculum-table td { line-height: 1.5; }
.curriculum-table td:first-child { font-weight: 700; min-width: 210px; }
.curriculum-table td:first-child a:hover { color: #087fe4; text-decoration: underline; }
.course-card-photo-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #fff;
  background: linear-gradient(125deg, #0a8ce9, #0758a6 62%, #073b82);
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.course-card:nth-child(3n+2) .course-card-photo-brand { background: linear-gradient(125deg, #299fe5, #0863be); }
.course-card:nth-child(3n) .course-card-photo-brand { background: linear-gradient(125deg, #0875d5, #062e73); }
.course-detail-band {
  min-height: 175px;
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 36px;
  display: flex;
  align-items: center;
  background: linear-gradient(125deg, #0787ee, #0759ad 60%, #063875);
  color: #fff;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
}

.course-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.course-card:hover {
  box-shadow: 0 10px 24px rgba(20,30,50,0.1);
  transform: translateY(-2px);
}

.course-card-photo {
  height: 130px;
  background-size: cover;
  background-position: center;
}

.course-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.course-card-body p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.btn-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-bright);
}

.btn-link::after {
  content: " ›";
}

/* 과정 상세 */
.course-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 0 0 36px;
}

.course-meta div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
}

.course-meta dt {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}

.course-meta dd {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: #1c1c1c;
}

.curriculum-list {
  margin: 0;
  padding: 0;
  counter-reset: curriculum;
}

.curriculum-list li {
  counter-increment: curriculum;
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #333;
}

.curriculum-list li::before {
  content: counter(curriculum, decimal-leading-zero);
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--blue-bright);
  font-size: 13px;
}

.cta-row {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: var(--blue-bright);
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: #333;
}

/* 게시판 (자료실 / 공지사항) */
.board-table {
  width: 100%;
  border-collapse: collapse;
}

.board-table th {
  background: #f5f6f8;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 13px;
  font-size: 13px;
  color: #333;
}

.board-table td {
  padding: 15px 13px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: #333;
}

.board-table td.num,
.board-table th.num { text-align: center; width: 60px; color: var(--muted); }

.board-table td.date,
.board-table th.date { text-align: center; width: 120px; color: var(--muted); }

.board-table tr.notice td { background: #fbfbfb; }

.board-table .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--blue-bright);
  border-radius: 3px;
  padding: 2px 7px;
  margin-right: 8px;
}

.board-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: 6px;
}

/* FAQ 아코디언 */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 18px 6px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1c1c1c;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 6px 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #4a4a4a;
}

.faq-q-badge {
  color: var(--blue-bright);
  margin-right: 8px;
}

/* 반응형 */
/* =========================================================
   공지 팝업창 (popup.js 와 함께 동작)
   ========================================================= */
.popup-layer {
  position: fixed;
  z-index: 500;
  top: 130px;
  right: 40px;
}

.site-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 470px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20, 30, 50, 0.22);
  overflow: hidden;
  border: 1px solid rgba(20, 30, 50, 0.08);
  display: flex;
  flex-direction: column;
}

.site-popup--left-center {
  position: fixed;
  top: 50%;
  left: 40px;
  right: auto;
  transform: translateY(-50%);
}

.site-popup-image {
  flex: 0 0 150px;
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.site-popup-body {
  padding: 20px 20px 6px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.popup-schedule {
  padding: 13px 14px 2px;
  margin: 10px 0 15px;
  border-radius: 8px;
  background: #edf6ff;
  border: 1px solid #d3e7fb;
  color: #103d77;
}
.site-popup-body .popup-schedule p { color: #23486e; margin: 10px 0 14px; }
.site-popup-body .popup-notice { color: #b13d2c; font-weight: 700; }

.site-popup-body h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.4;
}

.site-popup-body p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

.popup-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.site-popup-body a.popup-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f5f6f8;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--maroon);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.site-popup-body a.popup-link::after {
  content: "›";
  font-weight: 700;
  color: var(--muted);
}

.site-popup-body a.popup-link:hover {
  background: #fbe9e4;
  border-color: var(--maroon-soft);
}

.site-popup-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f5f6f8;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #555;
}

.site-popup-footer label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.site-popup-footer input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--blue-bright);
}

.site-popup-footer button {
  background: none;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  padding: 0;
}

.site-popup-footer button:hover {
  color: var(--blue-bright);
}

@media (max-width: 900px) {
  .popup-layer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 96vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .site-popup {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    height: min(46vh, 470px);
    flex: 0 0 auto;
  }
  .site-popup--left-center {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
  }
}

@media (max-width: 760px) {
  .greeting-layout { grid-template-columns: 1fr; }
  .greeting-photo { max-width: 220px; margin: 0 auto; }
  .page-title { font-size: 21px; }
  .content-wrap { padding: 36px 16px 60px; }
}

/* =========================================================
   가족/세대 일러스트 섹션 (메인 중간)
   ========================================================= */
.family-section {
  background: linear-gradient(180deg, #ffffff, #f6f9fc);
  padding: 10px 24px 20px;
}


.family-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
}

.family-illustration {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.family-eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-bright);
}

.family-title {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 900;
  color: #1c1c1c;
  letter-spacing: -0.01em;
}

.family-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: #4a4a4a;
}

@media (max-width: 860px) {
  .family-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .family-title { font-size: 22px; }
}

/* =========================================================
   복지교육 전문 평생교육원 - 메인 인트로 배너
   ========================================================= */
.welfare-hero {
  position: relative;
  background: linear-gradient(125deg, #0787ee 0%, #0876ce 43%, #06458d 100%);
  color: #fff;
  overflow: hidden;
  padding: 64px 24px 56px;
}

.welfare-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(130deg, transparent 35%, rgba(255,255,255,0.2) 48%, transparent 60%);
  pointer-events: none;
}

.welfare-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}

.welfare-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.welfare-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #e9f4ff;
}

.welfare-title {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.welfare-desc {
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #e8f4ff;
}

.welfare-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.welfare-btn-primary {
  background: #fff;
  color: #075bb1;
}

.welfare-btn-primary:hover { background: #e3f3ff; }

.welfare-btn-secondary {
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
}

.welfare-btn-secondary:hover { background: rgba(255,255,255,0.08); }

.welfare-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.welfare-badge {
  min-width: 168px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.welfare-badge-num {
  font-size: 20px;
  font-weight: 900;
}

.welfare-badge-label {
  font-size: 12.5px;
  color: #e8f4ff;
}

@media (max-width: 720px) {
  .welfare-hero { padding: 48px 18px 40px; }
  .welfare-title { font-size: 24px; }
  .welfare-desc { font-size: 13.5px; }
  .br-desktop { display: none; }
  .welfare-badge { min-width: 44%; }
}
