/* ==========================================================
   [v2] 성과/재선공약 카드 그리드 (텍스트 전용) · 약력 · 관리자
   ========================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.info-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #EEE;
  border-top: 4px solid var(--red, #EA0029);
  padding: 22px 24px 18px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(234, 0, 41, 0.10), 0 2px 8px rgba(0,0,0,.04);
}
.info-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-card-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--red, #EA0029);
  letter-spacing: -1px;
  font-family: 'Pretendard', system-ui, sans-serif;
  line-height: 1;
}
.info-card-tag {
  background: #FDF2F4;
  color: var(--red, #EA0029);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
}
.info-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  color: #1A1A1A;
  margin: 0;
  letter-spacing: -.3px;
}
.info-card-lead {
  font-size: 13.5px;
  color: var(--red, #EA0029);
  line-height: 1.5;
  margin: -4px 0 0;
  font-weight: 700;
}
.info-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed #EEE;
  padding-top: 12px;
}
.info-card-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: #444;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.info-card-bullets li::before {
  content: '▲';
  position: absolute;
  left: 0; top: 4px;
  color: var(--red, #EA0029);
  font-size: 8px;
  font-weight: 900;
}
.info-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #F5F5F5;
}
.info-card-count {
  font-size: 12px;
  color: #999;
  font-weight: 600;
}
.info-card-more {
  color: var(--red, #EA0029);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.info-card-more i { transition: transform .2s ease; font-size: 11px; }
.info-card:hover .info-card-more i { transform: translateX(4px); }

/* ===== Modals ===== */
.card-modal, .admin-modal {
  position: fixed; inset: 0;
  display: none;
  z-index: 9999;
}
.card-modal.open, .admin-modal.open { display: block; }
.card-modal-backdrop, .admin-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 15, 20, .62);
  backdrop-filter: blur(6px);
  animation: v2FadeIn .2s ease;
}
.card-modal-panel, .admin-modal-panel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 18px;
  max-width: 900px;
  width: calc(100% - 32px);
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  animation: v2PopIn .25s ease;
  display: flex;
  flex-direction: column;
}
.admin-modal-panel { max-width: 1100px; }
@keyframes v2FadeIn { from{opacity:0} to{opacity:1} }
@keyframes v2PopIn {
  from{opacity:0; transform:translate(-50%,-46%) scale(.96)}
  to{opacity:1; transform:translate(-50%,-50%) scale(1)}
}
.card-modal-close, .admin-modal-close {
  position: absolute; right: 14px; top: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #1A1A1A;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  display: flex; align-items:center; justify-content:center;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: transform .15s ease, background .15s ease;
}
.card-modal-close:hover, .admin-modal-close:hover { background:#fff; transform: scale(1.05); }
.card-modal-panel { max-width: 720px; }
.card-modal-body {
  overflow-y: auto;
  padding: 0;
}
.card-modal-text {
  padding: 44px 44px 36px;
  overflow-y: auto;
}
.card-modal-text h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--red, #EA0029);
  margin: 0 0 14px;
  line-height: 1.35;
  letter-spacing: -.5px;
}
.card-modal-lead {
  font-size: 18px;
  color: #2A2E38;
  font-weight: 600;
  line-height: 1.6;
  padding: 0 0 18px;
  margin: 0 0 22px;
  border-bottom: 2px solid #F4F4F7;
  letter-spacing: -.3px;
}
/* 모달 내부 그룹: 번호 + 제목 (리스트 카드 스타일과 통일) */
.modal-group {
  margin: 28px 0 18px;
  padding-top: 6px;
}
.modal-group:first-of-type { margin-top: 8px; }
.modal-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1.5px solid #ECECF2;
}
.modal-group-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--red, #EA0029);
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.modal-group-title {
  font-size: 17px;
  font-weight: 800;
  color: #14171F;
  margin: 0;
  letter-spacing: -.3px;
  line-height: 1.4;
  flex: 1;
}
@media (max-width: 640px) {
  .modal-group-num { font-size: 24px; }
  .modal-group-title { font-size: 15px; }
  .modal-group-head { gap: 12px; }
}
.card-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-modal-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 15px;
  color: #2A2A2A;
  line-height: 1.65;
  border-bottom: 1px dashed #F0F0F0;
}
.card-modal-list li:last-child { border-bottom: none; }
.card-modal-list li::before {
  content: '▲';
  position: absolute;
  left: 4px; top: 11px;
  color: var(--red, #EA0029);
  font-size: 10px;
  font-weight: 900;
}
@media (max-width: 640px) {
  .card-modal-text { padding: 28px 20px 24px; }
  .card-modal-text h3 { font-size: 20px; }
  .card-modal-list li { font-size: 14px; }
}

/* ===== 약력 섹션 (텍스트 중심) ===== */
.bio-section { background: #fff; }
.bio-wrap { margin-top: 36px; }
.bio-card {
  max-width: 820px;
  margin: 0 auto;
  background: transparent;
  padding: 20px 0 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.bio-header {
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 32px;
  border-bottom: 3px solid var(--red, #EA0029);
}
.bio-slogan {
  display: inline-flex;
  gap: 8px;
  background: #F4F4F7;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #444;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.bio-slogan .accent { color: var(--red, #EA0029); }
.bio-name {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 8px;
  color: #1A1A1A;
  letter-spacing: -1px;
}
.bio-subtitle {
  font-size: 15px;
  color: #666;
  font-weight: 600;
  margin: 0;
}
.bio-section-block { margin-bottom: 36px; }
.bio-section-block:last-child { margin-bottom: 0; }
.bio-section-block h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--red, #EA0029);
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 2px solid #ECECF2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bio-section-block h4 i {
  background: #F4F4F7;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.bio-dl {
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
}
.bio-dl > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 11px 4px;
  border-bottom: 1px dashed #ECECF2;
  font-size: 15px;
  line-height: 1.65;
  align-items: start;
  transition: background .15s ease;
}
.bio-dl > div:hover { background: #F8F8FA; }
.bio-dl > div:last-child { border-bottom: none; }
.bio-dl dt {
  color: var(--red, #EA0029);
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.bio-dl dd { margin: 0; color: #2A2A2A; }
.bio-ul {
  list-style: none; padding: 0; margin: 0;
  font-size: 15px;
  color: #2A2A2A;
  line-height: 1.85;
}
.bio-ul li {
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px dashed #ECECF2;
}
.bio-ul li:last-child { border-bottom: none; }
.bio-ul li::before {
  content: '▸';
  position: absolute; left: 0; top: 6px;
  color: var(--red, #EA0029);
  font-weight: 900;
  font-size: 13px;
}
.bio-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 640px) {
  .bio-two-col { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .bio-card { padding: 32px 22px 28px; border-radius: 14px; }
  .bio-name { font-size: 26px; }
  .bio-section-block h4 { font-size: 16px; }
  .bio-dl > div { grid-template-columns: 60px 1fr; gap: 12px; font-size: 14px; }
}

/* ===== 관리자 ===== */
.admin-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #DCDCE4;
  background: #fff;
  color: #4A4A52;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all .18s ease;
  margin-left: 8px;
}
.admin-icon-btn:hover {
  background: #1A1A1A;
  color: #fff;
  border-color: #1A1A1A;
  transform: scale(1.04);
}
/* legacy */
.admin-btn {
  background: #1A1A1A !important;
  color: #fff !important;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.admin-btn:hover { background: #333 !important; }

/* ▼ 로그인 후 풀스크린 모드 */
.admin-modal.fullscreen .admin-modal-backdrop {
  background: #F4F4F7;
  backdrop-filter: none;
  opacity: 1;
}
.admin-modal.fullscreen .admin-modal-panel {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  transform: none !important;
  animation: v2FadeIn .25s ease !important;
  box-shadow: none;
  background: #F4F4F7;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-modal.fullscreen .admin-modal-head {
  border-radius: 0;
  padding: 16px 32px;
  flex-shrink: 0;
}
.admin-modal.fullscreen .admin-dashboard {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 32px 40px;
  background: #F4F4F7;
}
@media (max-width: 768px) {
  .admin-modal.fullscreen .admin-modal-head { padding: 14px 18px; }
  .admin-modal.fullscreen .admin-dashboard { padding: 16px 14px 32px; }
}
.admin-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid #F0F0F0;
  background: linear-gradient(90deg, #1A1A1A 0%, #2B2B2B 100%);
  color: #fff;
  border-radius: 18px 18px 0 0;
}
.admin-modal-head h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  display: flex; align-items:center; gap: 10px;
}
.admin-modal-head .admin-modal-close {
  position: static;
  background: rgba(255,255,255,.15);
  color: #fff;
  width: 34px; height: 34px;
  font-size: 16px;
}
.admin-login {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
  margin: 0 auto;
}
.admin-login label span {
  display: block;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
}
.admin-login input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 18px;
  letter-spacing: 6px;
  text-align: center;
  box-sizing: border-box;
}
.admin-login input:focus {
  outline: none;
  border-color: var(--red, #EA0029);
  box-shadow: 0 0 0 3px rgba(234,0,41,.1);
}
.admin-login-msg {
  color: #C00;
  font-size: 13px;
  text-align: center;
  margin: 0;
  min-height: 18px;
}
.admin-dashboard {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  padding: 20px 28px;
  background: #FAFAFA;
  border-bottom: 1px solid #F0F0F0;
}
.stat-card {
  background: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #EEE;
  text-align: left;
  position: relative;
}
.stat-card.stat-today {
  background: linear-gradient(135deg, #EA0029 0%, #C1001E 100%);
  color: #fff;
  border: none;
}
.stat-icon {
  position: absolute;
  right: 14px; top: 14px;
  opacity: .4;
  font-size: 18px;
}
.stat-v {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}
.stat-card.stat-today .stat-l { color: rgba(255,255,255,.85); }

.admin-toolbar {
  display: flex;
  gap: 10px;
  padding: 14px 28px;
  border-bottom: 1px solid #F0F0F0;
  align-items: center;
  flex-wrap: wrap;
}
.admin-filters {
  display: flex; gap: 8px; flex: 1;
  min-width: 260px;
}
.admin-filters select,
.admin-filters input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 13px;
}
.admin-filters input { flex: 1; }
.admin-toolbar .btn-line {
  padding: 8px 14px;
  font-size: 13px;
}
.admin-table-wrap {
  flex: 1;
  overflow: auto;
  padding: 0 28px 28px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th,
.admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #F0F0F0;
  vertical-align: middle;
}
.admin-table th {
  background: #FAFAFA;
  font-weight: 700;
  color: #555;
  font-size: 12px;
  position: sticky;
  top: 0;
}
.admin-table .msg-cell {
  max-width: 420px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  color: #222;
}
.admin-table .chip {
  display: inline-block;
  background: #F0F2F8;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}
.admin-table .status-select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 12px;
  background: #fff;
}
.btn-del {
  background: transparent;
  border: 1px solid #EEE;
  color: #C00;
  width: 30px; height: 30px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn-del:hover { background: #FFF0F2; }

body.modal-open { overflow: hidden; }

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .admin-btn { display: none; }
  .card-modal-panel, .admin-modal-panel {
    max-height: 94vh;
    width: calc(100% - 16px);
    border-radius: 14px;
  }
  .admin-stats { padding: 14px 16px; }
  .admin-toolbar { padding: 12px 16px; }
  .admin-table-wrap { padding: 0 8px 16px; }
  .admin-table th, .admin-table td { padding: 8px 6px; font-size: 12px; }
  .admin-table .msg-cell { max-width: 180px; }
  .info-card { padding: 18px 20px 16px; }
  .info-card-title { font-size: 16.5px; }
  .info-card-num { font-size: 24px; }
}

/* ==========================================================
   ▶ 리스트형 카드 (전체 탭) — 번호+제목+태그+화살표
   ========================================================== */
.card-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.list-card {
  display: grid;
  grid-template-columns: 110px 1fr 64px;
  align-items: center;
  gap: 12px;
  padding: 26px 8px;
  border-bottom: 1px solid #ECECF2;
  cursor: pointer;
  background: transparent;
  transition: background .18s ease, transform .18s ease;
  outline: none;
}
.list-card:first-child { border-top: 1px solid #ECECF2; }
.list-card:hover {
  background: #FDF7F8;
}
.list-card:focus-visible {
  background: #FDF2F4;
  box-shadow: inset 3px 0 0 var(--red, #EA0029);
}
.list-card:hover .list-arrow,
.list-card:focus-visible .list-arrow {
  border-color: var(--red, #EA0029);
  background: var(--red, #EA0029);
  color: #fff;
  transform: translateX(2px);
}
.list-card:hover .list-num,
.list-card:focus-visible .list-num {
  transform: translateY(-2px);
}

.list-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--red, #EA0029);
  line-height: 1;
  font-family: 'Pretendard', system-ui, sans-serif;
  letter-spacing: -2px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: transform .18s ease;
}

.list-body { min-width: 0; }
.list-title {
  font-size: 22px;
  font-weight: 800;
  color: #14171F;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -.5px;
  word-break: keep-all;
}
.list-desc {
  font-size: 15.5px;
  color: #6B6E78;
  margin: 0 0 14px;
  line-height: 1.55;
  font-weight: 500;
  word-break: keep-all;
}
.list-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.list-cat {
  display: inline-block;
  padding: 5px 12px;
  background: #FDEAEE;
  color: var(--red, #EA0029);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.list-tags {
  color: #95979D;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -.2px;
  word-break: keep-all;
  line-height: 1.5;
}

.list-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #E2E2E8;
  background: #fff;
  color: #888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-left: auto;
  justify-self: end;
  transition: all .2s ease;
}

@media (max-width: 768px) {
  .list-card {
    grid-template-columns: 64px 1fr 38px;
    gap: 10px;
    padding: 20px 4px;
  }
  .list-num { font-size: 32px; letter-spacing: -1px; }
  .list-title { font-size: 17px; margin-bottom: 6px; }
  .list-desc { font-size: 14px; margin-bottom: 10px; }
  .list-cat { font-size: 12px; padding: 4px 10px; }
  .list-tags { font-size: 12.5px; }
  .list-arrow { width: 36px; height: 36px; font-size: 13px; }
}

/* ==========================================================
   ▶ 탭 UI (성과 / 재선공약)
   ========================================================== */
.tab-host { margin-top: 36px; }

.tab-nav {
  display: flex;
  gap: 2px;
  border-bottom: 1.5px solid #E8E8EE;
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 14px 18px 16px;
  border: 0;
  background: transparent;
  color: #7A7A82;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: color .18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -.2px;
}
.tab-btn i { font-size: 14px; opacity: .85; }
.tab-btn::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: -1.5px;
  height: 3px;
  background: transparent;
  border-radius: 3px 3px 0 0;
  transition: background .2s ease;
}
.tab-btn:hover { color: #161A24; }
.tab-btn.active {
  color: var(--red, #EA0029);
}
.tab-btn.active i { opacity: 1; }
.tab-btn.active::after { background: var(--red, #EA0029); }

.tab-content { animation: tabFadeIn .25s ease; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ▼ 탭 클릭 시 펼쳐지는 상세 패널 */
.tab-panel {
  background: #fff;
  border: 1px solid #ECECF2;
  border-radius: 16px;
  padding: 30px 36px 34px;
  margin-bottom: 24px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .04);
  animation: tabFadeIn .3s ease;
}
.tab-panel + .tab-panel { margin-top: 0; }

.tab-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.tab-panel-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--red, #EA0029);
  color: #fff;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.2px;
}
.tab-panel-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid #E0E0E6;
  background: #fff;
  color: #888;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .18s ease;
}
.tab-panel-close:hover {
  border-color: var(--red, #EA0029);
  color: var(--red, #EA0029);
  transform: scale(1.05);
}
.tab-panel-title {
  font-size: 30px;
  font-weight: 900;
  color: #14171F;
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: -.6px;
}
.tab-panel-lead {
  color: #44474F;
  font-size: 17px;
  margin: 0 0 26px;
  line-height: 1.65;
  font-weight: 500;
}
.tab-panel-group {
  margin: 28px 0 0;
}
.tab-panel-group:first-of-type { margin-top: 18px; }
.tab-panel-banner {
  background: var(--red, #EA0029);
  color: #fff;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: -.3px;
  box-shadow: 0 4px 14px rgba(234, 0, 41, .2);
}
.tab-panel-list {
  list-style: none;
  padding: 0 8px;
  margin: 0;
}
.tab-panel-list li {
  position: relative;
  padding: 9px 0 9px 22px;
  color: #2A2E38;
  font-size: 16px;
  line-height: 1.65;
  border-bottom: 1px dashed #F1F1F4;
}
.tab-panel-list li:last-child { border-bottom: 0; }
.tab-panel-list li::before {
  content: '';
  position: absolute;
  left: 6px; top: 18px;
  width: 7px; height: 7px;
  background: var(--red, #EA0029);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .tab-btn { padding: 12px 12px 14px; font-size: 14px; }
  .tab-btn i { display: none; }
  .tab-panel { padding: 22px 20px 26px; border-radius: 12px; }
  .tab-panel-title { font-size: 22px; }
  .tab-panel-lead { font-size: 15px; }
  .tab-panel-banner { font-size: 14.5px; padding: 12px 16px; }
  .tab-panel-list li { font-size: 14.5px; padding: 8px 0 8px 20px; }
  .tab-panel-list li::before { top: 16px; width: 6px; height: 6px; }
}

/* ==========================================================
   ▶ 약력 가로 레이아웃 (좌우 2단)
   ========================================================== */
.bio-card-h {
  max-width: 1100px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.bio-card-h .bio-header {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 3px solid var(--red, #EA0029);
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 880px) {
  .bio-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
  }
  .bio-col-left {
    border-right: 1px dashed #ECECF2;
    padding-right: 48px;
  }
}
.bio-col .bio-section-block:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
  .bio-card-h { padding: 0; }
  .bio-col-left { padding-bottom: 8px; }
}
