/* =============================================
   QM 2027 Custom Style Sheet
   ============================================= */

:root {
    --qm-blue: #0073bc;
    --qm-blue-light: #2e90d4;
    --qm-blue-pale: #e6f3fb;
    --qm-green: #1cac83;
    --qm-green-pale: #e6f7f3;
    --qm-red: #b81e49;
    --qm-text: #2c2c2c;
    --qm-gray: #666;

    --conf-theme-menu-selected: #1cac83;
    --conf-theme-menu-selected-bg: #eef9f5;
    --conf-theme-menu-selected-border: #b2e4d5;
}

.page-content .editor-output,
.conferenceDetails .description {
    font-size: 1.2em;
    line-height: 1.85;
    color: var(--qm-text);
}

.page-content h1,
.editor-output h1 {
    font-size: 1.8em;
    color: var(--qm-blue);
    border-bottom: 2px solid var(--qm-blue-light);
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.editor-output h2 {
    font-size: 1.25em;
    color: var(--qm-blue);
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.editor-output h3 {
    font-size: 1.1em;
    color: var(--qm-text);
    font-weight: 700;
    margin-top: 1.5em;
}

.editor-output a,
.conferenceDetails a {
    color: var(--qm-blue-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.editor-output a:hover {
    border-bottom-color: var(--qm-blue-light);
}

.editor-output img {
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    max-width: 100%;
    margin: 1em 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.editor-output img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.conf-sidemenu { font-size: 0.95em; }

.conf-sidemenu .sidemenu-item a {
    color: var(--qm-text);
    padding: 5px 10px;
    display: block;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.conf-sidemenu .sidemenu-item a:hover {
    background-color: var(--qm-blue-pale);
    color: var(--qm-blue);
    text-decoration: none;
}

.conf-sidemenu .sidemenu-item.active a {
    background-color: var(--qm-blue);
    color: #fff !important;
    font-weight: 600;
}

.conf-sidemenu .sidemenu-section-title {
    color: var(--qm-gray);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1em;
    padding: 0 10px;
}

.editor-output ul li { margin-bottom: 0.4em; }

/* --- Timeline --- */
.dates-timeline {
    position: relative;
    padding: 10px 0;
    margin: 20px 0;
}

.dates-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--qm-blue), var(--qm-blue-light));
}

.date-item {
    display: flex;
    align-items: center;
    padding: 12px 0 12px 52px;
    position: relative;
}

.date-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--qm-blue);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--qm-blue);
    transform: translateY(-50%);
}

.date-item.tbd::before {
    background: #aaa;
    box-shadow: 0 0 0 2px #aaa;
}

.date-label {
    flex: 1;
    font-size: 1em;
    color: var(--qm-text);
    padding-top: 1px;
}

.date-badge {
    font-size: 0.88em;
    font-weight: 600;
    color: var(--qm-blue);
    background: var(--qm-blue-pale);
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    margin-left: 16px;
}

.date-item.tbd .date-badge {
    color: #888;
    background: #f0f0f0;
}

/* --- Committee --- */
.committee-section {
  margin: 32px 0 40px;
}

.committee-section h2 {
  font-size: 1.08em;
  font-weight: 700;
  color: var(--qm-blue);
  margin: 28px 0 14px;
  padding: 0 0 8px 12px;
  border-left: 4px solid var(--qm-blue-light);
  border-bottom: 1px solid #e7f1f8;
  line-height: 1.4;
}

.committee-leads,
.committee-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.committee-leads {
  margin-bottom: 18px;
}

.committee-leads li,
.committee-list li {
  padding: 4px 0;
  line-height: 1.4;
  border-bottom: none;
}

.committee-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: nowrap;
}

.committee-name {
  font-weight: 700;
  color: var(--qm-blue);
  white-space: nowrap;
}

.committee-affil {
  color: var(--qm-gray);
}

.committee-role {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--qm-green);
  background: var(--qm-green-pale);
  border: 1px solid #bfe7da;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.committee-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

@media (max-width: 768px) {
  .committee-columns {
    grid-template-columns: 1fr;
  }

  .committee-line {
    flex-wrap: wrap;
  }
}

/* --- Sidebar --- */
.conf_leftMenu {
    width: 210px;
    border-radius: 8px;
    overflow: hidden;
}

#outer {
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
}

#outer li a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #3d5a80;
    padding: 10px 16px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

#outer li a:hover {
    background: #f0f7ff;
    color: #1a5276;
    border-left: 3px solid #2d6a9f;
}

.menuConfSelected,
.menuConfMiddleCellSelected {
    background: var(--conf-theme-menu-selected-bg) !important;
    border-bottom: 1px solid var(--conf-theme-menu-selected-border);
    border-top: 1px solid var(--conf-theme-menu-selected-border);
}

.menuConfSelected a,
.menuConfMiddleCellSelected a {
    color: var(--conf-theme-menu-selected) !important;
    font-weight: 700 !important;
    border-left: 3px solid var(--conf-theme-menu-selected) !important;
}

li.menuConfMiddleCell a {
    padding: 7px 16px 7px 28px;
    font-size: 12px;
    color: #666;
}

/* ── 서브메뉴 bullet 이미지 제거 ── */
li ul.inner li a {
    background: none !important;
    padding: 7px 12px 7px 32px;
}

li ul.inner li a::before {
    content: '›';
    position: static;
    margin-right: 6px;
    color: #aaa;
    font-size: 14px;
}

/* ── 메뉴 구분선 (spacer) ── */
.conf_leftMenu .spacer {
    height: 1px;
    background: #e8e8e8;
    margin: 4px 12px;
}

/* ── Support Box ── */
.support_box {
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    margin-top: 12px !important;
}

.support_box > h3 {
    background: #1a1a2e;
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── 컨텐츠 페이지 타이틀 ── */
.confBodyBox h1,
.confBodyBox h2 {
    color: #1cac83 !important;
}

/* --- 버튼 스타일 --- */
a.btn-primary {
    display: inline-block;
    background: #0073bc !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    white-space: nowrap;
}

a.btn-primary:hover {
    background: #005a94 !important;
    color: #ffffff !important;
    border-bottom: none !important;
}

/* --- 데이터 테이블 전용 --- */
table.data-table {
    border-collapse: collapse !important;
    width: 100%;
    margin: 1.5em 0;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10) !important;
    border: 1px solid #c5d5e8 !important;
}

table.data-table thead th {
    background: #0073bc !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 13px 18px !important;
    text-align: left !important;
    border-bottom: none !important;
    font-size: 0.95em;
    letter-spacing: 0.02em;
}

table.data-table td {
    padding: 13px 18px !important;
    border-bottom: 1px solid #e8eef5 !important;
    color: #2c2c2c !important;
    background: #ffffff !important;
}

table.data-table tr:last-child td {
    border-bottom: none !important;
}

table.data-table tr:nth-child(odd) td {
    background-color: #f0f8ff !important;
}

table.data-table tr:nth-child(even) td {
    background-color: #ffffff !important;
}

table.data-table tr:hover td {
    background-color: #cce6f7 !important;
    transition: background 0.15s;
}

/* --- Visit Jeju — Link Card --- */
.link-card {
    border: 2px solid #0073bc !important;
    border-radius: 10px !important;
    background: #f0f8ff !important;
    overflow: hidden;
    margin: 20px 0;
}

/* --- Visit Jeju — Visa Cards --- */
.visa-card {
    border: 1px solid #cde4f5 !important;
    border-top: 3px solid #0073bc !important;
    border-radius: 8px !important;
    padding: 18px !important;
    background: #fff !important;
    vertical-align: top !important;
    width: 33% !important;
}

.visa-card-green {
    border: 1px solid #b2e4d7 !important;
    border-top: 3px solid #1cac83 !important;
    border-radius: 8px !important;
    padding: 18px !important;
    background: #f7fdfb !important;
    vertical-align: top !important;
    width: 33% !important;
}

/* --- 줄무늬 테이블 홀수행 --- */
td.row-alt {
    background-color: #f0f8ff !important;
}

/* Supported By — 로고 카드 (legacy) */
.logo-card {
  border: 1px solid #e0eaf4 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  padding: 20px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.logo-card img {
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.logo-card img:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* --- Supporters / Co-Hosts / Organizers --- */
.supporters-page {
  margin: 32px 0 40px;
  color: var(--qm-text, #243447);
}

.supporters-intro {
  margin: 0 0 22px;
  line-height: 1.75;
}

.supporters-group {
  margin: 38px 0 42px;
  padding-top: 28px;
  border-top: 1px solid #dfe8f1;
}

.supporters-group:first-of-type {
  margin-top: 18px;
  padding-top: 0;
  border-top: none;
}

.supporters-group h2 {
  margin: 0 0 18px;
  padding-bottom: 0;
  border-bottom: none;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
  margin-top: 14px;
  align-items: center;
}

.supporter-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  min-height: 120px;
  padding: 8px 6px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: none !important;
  text-align: center;
}

.supporter-card.is-text-only {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.supporter-logo-wrap {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 0 !important;
}

.supporter-card img {
  max-width: 240px !important;
  max-height: 110px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
  cursor: default;
}

.supporter-card img:hover {
  box-shadow: none !important;
  transform: none !important;
}

.supporter-name {
  font-size: 0.96em;
  font-weight: 700;
  line-height: 1.45;
  color: #243447;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.supporter-sub {
  margin-top: 6px;
  font-size: 0.82em;
  line-height: 1.45;
  color: #6b7b8c;
}

.supporters-note {
  font-size: 0.88em;
  color: #999;
  border-top: 1px dashed #dde6ef;
  padding-top: 18px;
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .supporters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .supporters-group {
    margin: 32px 0 36px;
    padding-top: 22px;
  }

  .supporters-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .supporter-card {
    min-height: 105px;
    padding: 4px 0 !important;
  }

  .supporter-logo-wrap {
    min-height: 88px;
  }

  .supporter-card img {
    max-width: 190px !important;
    max-height: 88px !important;
  }

  .supporter-name {
    font-size: 0.94em;
  }
}


/* --- Satellite Meetings --- */
.satellite-list {
    margin: 24px 0;
}

.satellite-card {
    background: #ffffff;
    border: 1px solid #d8e6f2;
    border-top: 4px solid var(--qm-blue);
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.satellite-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 115, 188, 0.12);
}

.satellite-title {
    font-size: 1.08em;
    font-weight: 800;
    color: var(--qm-blue);
    line-height: 1.45;
    margin-bottom: 14px;
}

.satellite-meta {
    margin-top: 2px;
}

.satellite-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    margin-bottom: 10px;
    line-height: 1.65;
}

.satellite-row:last-child {
    margin-bottom: 0;
}

.satellite-label {
    display: block;
    width: auto;
    font-weight: 700;
    color: var(--qm-text);
    vertical-align: top;
    word-break: keep-all;
    overflow-wrap: normal;
    line-height: 1.5;
}

.satellite-value {
    display: block;
    min-width: 0;
    color: #555;
    line-height: 1.65;
}

.satellite-link {
    color: var(--qm-blue-light) !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: none !important;
    word-break: break-word;
}

.satellite-link:hover {
    color: var(--qm-blue) !important;
    text-decoration: none;
    border-bottom: none !important;
}

.satellite-note {
    font-size: 0.9em;
    color: #777;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .satellite-row {
        grid-template-columns: 120px minmax(0, 1fr);
        column-gap: 14px;
    }
}

/* --- Program at a Glance --- */
.program-glance-page {
  margin: 32px 0 40px;
}

.program-table-wrap {
  overflow-x: visible;
  width: 100%;
}

.program-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d9e7f2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.program-table th,
.program-table td {
  border-right: 1px solid #e7eef5;
  border-bottom: 1px solid #e7eef5;
  padding: 6px 6px;
  vertical-align: middle;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.3;
  font-size: 0.82em;
}

.program-table tr:last-child td {
  border-bottom: none;
}

.program-table tr td:last-child,
.program-table tr th:last-child {
  border-right: none;
}

.program-table thead th {
  background: #123a63;
  color: #ffffff;
  font-weight: 700;
  padding: 10px 4px;
}

.program-table .time-col {
  width: 68px;
  min-width: 68px;
  background: #315b86;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.program-day-head {
  display: block;
  font-size: 0.95em;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
}

.program-day-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d9ecff !important;
  line-height: 1.2;
}

.program-slot {
  color: var(--qm-text, #243447);
  background: #ffffff;
  height: 56px;
}

.program-slot.is-registration {
  background: #eef5fb;
  color: #0f4f86;
  font-weight: 700;
}

.program-slot.is-plenary {
  background: #f5f9fd;
  color: #1f3550;
  font-weight: 600;
}

.program-slot.is-parallel {
  background: #fbfcfe;
  color: #2b3e52;
}

.program-slot.is-lunch {
  background: #fff4d9;
  color: #8a6d1d;
  font-weight: 700;
}

.program-slot.is-social {
  background: #fff0f4;
  color: #a33a57;
  font-weight: 700;
}

.program-slot.is-special {
  background: #edf8f4;
  color: #18795e;
  font-weight: 700;
}

.program-slot.is-empty {
  background: #ffffff;
  color: transparent;
}

@media (max-width: 1200px) {
  .program-table th,
  .program-table td {
    padding: 5px 4px;
    font-size: 0.76em;
    line-height: 1.25;
  }

  .program-day-head {
    font-size: 0.88em;
  }

  .program-day-sub {
    font-size: 0.66em;
  }

  .program-table .time-col {
    width: 60px;
    min-width: 60px;
  }
}

/*--- Reg Guidelines ---*/

.reg-guide-page {
  margin: 32px 0 40px;
  color: var(--qm-text, #243447);
  font-size: 15px;
  line-height: 1.7;
}

.confBodyBox .reg-guide-page h2,
.confBodyBox .reg-guide-page h3 {
  color: var(--qm-blue, #0073bc) !important;
}

.reg-guide-section {
  margin: 32px 0 0;
}

.reg-guide-section h2 {
  margin: 0 0 14px;
  font-size: 1.28em;
  font-weight: 800;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--qm-blue-pale, #d8eaf6);
}

.reg-guide-card {
  background: #fff;
  border: 1px solid #dce9f3;
  border-top: 4px solid var(--qm-blue, #0073bc);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.reg-guide-card.soft {
  border-top-color: var(--qm-green, #1cac83);
  background: #fcfefe;
}

.reg-guide-card h3 {
  margin: 0 0 12px;
  font-size: 1.06em;
  font-weight: 800;
}

.reg-guide-card p {
  margin: 0 0 12px;
  line-height: 1.75;
}

.reg-guide-card p:last-child {
  margin-bottom: 0;
}

.reg-steps {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.reg-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #edf3f8;
}

.reg-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reg-step-no {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--qm-blue, #0073bc);
  color: #fff;
  font-weight: 800;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.reg-step-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--qm-blue, #0073bc);
  font-size: 1em;
}

.reg-step-body span {
  display: block;
  color: var(--qm-text, #243447);
  line-height: 1.7;
}

.reg-check-list,
.reg-mini-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.reg-check-list li,
.reg-mini-list li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 8px;
  line-height: 1.7;
}

.reg-check-list li:last-child,
.reg-mini-list li:last-child {
  margin-bottom: 0;
}

.reg-check-list li::before,
.reg-mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--qm-green, #1cac83);
  font-weight: 800;
}

.reg-fee-table-wrap,
.reg-policy-table-wrap,
.reg-dates-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

.reg-fee-table,
.reg-policy-table,
.reg-bank-table,
.reg-dates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  border: 1px solid #d9e7f2;
  border-radius: 12px;
  overflow: hidden;
}

.reg-fee-table,
.reg-dates-table {
  table-layout: fixed;
}

.reg-fee-table th,
.reg-fee-table td,
.reg-policy-table th,
.reg-policy-table td,
.reg-bank-table th,
.reg-bank-table td,
.reg-dates-table th,
.reg-dates-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e8eef5;
  border-right: 1px solid #e8eef5;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.reg-fee-table th:last-child,
.reg-fee-table td:last-child,
.reg-policy-table th:last-child,
.reg-policy-table td:last-child,
.reg-bank-table th:last-child,
.reg-bank-table td:last-child,
.reg-dates-table th:last-child,
.reg-dates-table td:last-child {
  border-right: none;
}

.reg-fee-table tr:last-child td,
.reg-policy-table tr:last-child td,
.reg-bank-table tr:last-child td,
.reg-bank-table tr:last-child th,
.reg-dates-table tr:last-child td,
.reg-dates-table tr:last-child th {
  border-bottom: none;
}

.reg-fee-table thead th,
.reg-policy-table thead th,
.reg-bank-table thead th,
.reg-dates-table thead th {
  background: #123a63;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.95em;
}

.reg-fee-table thead th {
  text-align: center;
  vertical-align: middle;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.35;
  padding: 16px 10px;
}

.reg-fee-table td {
  vertical-align: middle;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding: 16px 12px;
}

.reg-fee-table th:first-child,
.reg-fee-table td:first-child {
  width: 16%;
  text-align: left;
}

.reg-fee-table th:nth-child(n+2),
.reg-fee-table td:nth-child(n+2) {
  width: 14%;
  text-align: center;
}

.reg-fee-table tbody tr:nth-child(odd) td,
.reg-policy-table tbody tr:nth-child(odd) td,
.reg-bank-table tbody tr:nth-child(odd) td,
.reg-bank-table tbody tr:nth-child(odd) th,
.reg-dates-table tbody tr:nth-child(odd) td {
  background: #fbfdff;
}

.reg-fee-table tbody tr:nth-child(even) td,
.reg-policy-table tbody tr:nth-child(even) td,
.reg-bank-table tbody tr:nth-child(even) td,
.reg-bank-table tbody tr:nth-child(even) th,
.reg-dates-table tbody tr:nth-child(even) td {
  background: #fff;
}

.reg-dates-table td:first-child {
  width: 45%;
  font-weight: 700;
  color: var(--qm-blue, #0073bc);
}

.reg-dates-table td:last-child {
  color: #3f4652;
  font-weight: 500;
}

.reg-fee-label {
  font-weight: 700;
  color: var(--qm-blue, #0073bc);
  display: block;
  line-height: 1.55;
}

.reg-subtle {
  color: var(--qm-gray, #5f6f81);
  font-size: 0.95em;
}

.reg-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.reg-emphasis {
  font-weight: 700;
  color: var(--qm-blue, #0073bc);
}

.reg-info-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f7fbfe;
  border: 1px solid #d9eaf6;
}

.reg-warning-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff8e8;
  border: 1px solid #f0ddab;
  color: #7a6221;
  line-height: 1.7;
}

.reg-warning-box strong {
  color: #6b5212;
}

.reg-link {
  color: var(--qm-blue-light, #2e90d4);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.reg-link:hover {
  border-bottom-color: var(--qm-blue-light, #2e90d4);
  text-decoration: none;
}

.reg-fee-price {
  display: block;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.45;
  font-size: 0.96em;
}

.reg-fee-price + .reg-fee-price {
  margin-top: 2px;
}

@media (max-width: 980px) {
  .reg-guide-card {
    padding: 20px 18px;
  }

  .reg-fee-table th,
  .reg-fee-table td {
    padding: 12px 8px;
    font-size: 0.9em;
  }

  .reg-fee-table th:first-child,
  .reg-fee-table td:first-child {
    width: 18%;
  }

  .reg-fee-table th:nth-child(n+2),
  .reg-fee-table td:nth-child(n+2) {
    width: 13.666%;
  }

  .reg-fee-price {
    font-size: 0.92em;
  }
}

/* --- Excursion --- */
.excursion-page {
  margin: 32px 0 40px;
  color: var(--qm-text, #243447);
}

.excursion-hero {
  background: linear-gradient(135deg, #f3f9fd 0%, #ffffff 100%);
  border: 1px solid #d9e7f2;
  border-top: 4px solid var(--qm-blue, #0073bc);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 22px;
}

.excursion-hero h2 {
  margin: 0 0 10px;
  font-size: 1.35em;
  font-weight: 800;
  color: var(--qm-blue, #0073bc);
}

.excursion-date {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--qm-blue-pale, #e6f3fb);
  color: var(--qm-blue, #0073bc);
  font-size: 0.92em;
  font-weight: 700;
}

.excursion-hero p {
  margin: 0 0 10px;
  line-height: 1.75;
}

.excursion-hero p:last-child {
  margin-bottom: 0;
}

.excursion-info-box {
  background: #fff;
  border: 1px solid #dce9f3;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.excursion-info-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 0;
}

.excursion-info-item + .excursion-info-item {
  border-top: 1px solid #edf3f8;
}

.excursion-info-label {
  font-weight: 800;
  color: var(--qm-text, #243447);
  line-height: 1.5;
}

.excursion-info-value {
  color: #4a5563;
  line-height: 1.65;
}

.excursion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.excursion-card {
  position: relative;
  background: #fff;
  border: 1px solid #dce9f3;
  border-top: 4px solid var(--qm-green, #1cac83);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.excursion-card-head {
  margin-bottom: 14px;
  padding-right: 148px;
}

.excursion-course-no {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--qm-green-pale, #e6f7f3);
  color: var(--qm-green, #1cac83);
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.excursion-card h3 {
  margin: 0;
  font-size: 1.12em;
  font-weight: 800;
  color: var(--qm-blue, #0073bc);
  line-height: 1.45;
}

.excursion-course-sub {
  margin: 6px 0 0;
  color: var(--qm-gray, #5f6f81);
  font-size: 0.96em;
  line-height: 1.6;
}

/* ultra-clean price label */
.excursion-price-tag {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 112px;
  padding: 10px 14px 11px;
  background: #fffdfa;
  border: 1px solid #e6dcc7;
  border-radius: 10px;
  text-align: right;
  z-index: 2;
}

.excursion-price-label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7d61;
  line-height: 1.1;
}

.excursion-price-amount {
  display: block;
  font-size: 1.24em;
  font-weight: 900;
  color: #5f4d22;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.excursion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.excursion-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f8fc;
  border: 1px solid #dbe8f3;
  color: #2f4b63;
  font-size: 0.96em;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.excursion-highlight {
  margin: 0 0 14px;
  color: #465466;
  line-height: 1.75;
}

.excursion-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 16px;
}

.excursion-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dce9f3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.excursion-itinerary {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  border: 1px solid #d9e7f2;
  border-radius: 10px;
  overflow: hidden;
}

.excursion-itinerary th,
.excursion-itinerary td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8eef5;
  border-right: 1px solid #e8eef5;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.excursion-itinerary th:last-child,
.excursion-itinerary td:last-child {
  border-right: none;
}

.excursion-itinerary tr:last-child td {
  border-bottom: none;
}

.excursion-itinerary thead th {
  background: #123a63;
  color: #fff;
  font-weight: 800;
  font-size: 0.93em;
}

.excursion-itinerary tbody tr:nth-child(odd) td {
  background: #fbfdff;
}

.excursion-itinerary tbody tr:nth-child(even) td {
  background: #ffffff;
}

.excursion-itinerary td:first-child {
  width: 160px;
  font-weight: 700;
  color: var(--qm-blue, #0073bc);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .excursion-hero,
  .excursion-info-box,
  .excursion-card {
    padding: 18px 16px;
  }

  .excursion-info-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .excursion-card-head {
    padding-right: 0;
  }

  .excursion-price-tag {
    position: static;
    display: inline-flex;
    margin: 0 0 14px;
    min-width: 104px;
    align-items: flex-start;
    text-align: left;
  }

  .excursion-gallery {
    grid-template-columns: 1fr;
  }

  .excursion-itinerary th,
  .excursion-itinerary td {
    padding: 10px 10px;
    font-size: 0.92em;
  }

  .excursion-itinerary td:first-child {
    width: 110px;
    white-space: normal;
  }
}

.excursion-reservation-note {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid #f0ddab;
  border-radius: 12px;
  background: #fff8e8;
  color: #7a6221;
  line-height: 1.7;
}

/* --- Accommodation --- */
.accommodation-page {
  margin: 32px 0 40px;
  color: var(--qm-text, #243447);
}

.accommodation-page > p {
  line-height: 1.75;
}

.accommodation-reservation-note,
.accommodation-info-box,
.accommodation-warning-box {
  margin: 20px 0;
  padding: 14px 18px;
  border-radius: 12px;
  line-height: 1.7;
}

.accommodation-reservation-note {
  background: #fff8e8;
  border: 1px solid #f0ddab;
  color: #7a6221;
}

.accommodation-reservation-note strong {
  color: #6b5212;
}

.accommodation-info-box {
  background: #f0f8ff;
  border: 1px solid #cfe4f5;
  color: #2f4b63;
}

.accommodation-info-box strong {
  color: var(--qm-blue, #0073bc);
}

.accommodation-warning-box {
  background: #fff8e1;
  border: 1px solid #f3d28a;
  color: #7a6221;
}

.accommodation-warning-box strong {
  color: #b8860b;
}

.accommodation-note-text {
  margin: 6px 0 0;
  font-size: 0.92em;
  color: inherit;
  line-height: 1.65;
}

.accommodation-map-link {
  margin: 10px 0 0;
}

.accommodation-rate-note {
  font-size: 0.88em;
  color: #888;
  margin-top: -8px;
}
/* --- Hallasan Summit Hiking --- */
.hallasan-page {
  margin: 32px 0 40px;
  color: var(--qm-text, #243447);
}

.hallasan-hero {
  background: linear-gradient(135deg, #f3f9fd 0%, #ffffff 100%);
  border: 1px solid #d9e7f2;
  border-top: 4px solid var(--qm-blue, #0073bc);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 22px;
}

.hallasan-hero h2 {
  margin: 0 0 10px;
  font-size: 1.35em;
  font-weight: 800;
  color: var(--qm-blue, #0073bc);
}

.hallasan-hero p {
  margin: 0 0 10px;
  line-height: 1.75;
}

.hallasan-hero p:last-child {
  margin-bottom: 0;
}

.hallasan-warning-box {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0ddab;
  color: #7a6221;
  line-height: 1.7;
}

.hallasan-warning-box strong {
  color: #6b5212;
}

.hallasan-warning-box p {
  margin: 6px 0 0;
}

.hallasan-info-box {
  background: #fff;
  border: 1px solid #dce9f3;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.hallasan-info-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 0;
}

.hallasan-info-item + .hallasan-info-item {
  border-top: 1px solid #edf3f8;
}

.hallasan-info-label {
  font-weight: 800;
  color: var(--qm-text, #243447);
  line-height: 1.5;
}

.hallasan-info-value {
  color: #4a5563;
  line-height: 1.65;
}

.hallasan-card {
  background: #fff;
  border: 1px solid #dce9f3;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 22px;
}

.hallasan-list {
  margin: 0;
  padding-left: 20px;
}

.hallasan-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.hallasan-list li:last-child {
  margin-bottom: 0;
}

.hallasan-note {
  margin: 0 0 14px;
  color: #5a6675;
  line-height: 1.75;
}

.hallasan-table td:first-child {
  width: 120px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--qm-blue, #0073bc);
}

.hallasan-check-box {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f7fbfe;
  border: 1px solid #d9eaf6;
  color: #385066;
  line-height: 1.7;
}

.hallasan-check-box strong {
  color: var(--qm-blue, #0073bc);
}

.hallasan-check-box p {
  margin: 6px 0 0;
}

@media (max-width: 768px) {
  .hallasan-hero,
  .hallasan-info-box,
  .hallasan-card,
  .hallasan-warning-box,
  .hallasan-check-box {
    padding: 18px 16px;
  }

  .hallasan-info-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hallasan-table td:first-child {
    width: 100px;
    white-space: normal;
  }
}
/* =============================================
   Registration Guide CTA Button
   ============================================= */

.reg-cta-wrap {
  margin: 18px 0 20px;
}

.reg-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--qm-blue, #0073bc);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(0, 115, 188, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  border: 1px solid transparent;
}

.reg-cta-button:hover,
.reg-cta-button:focus {
  background: var(--qm-blue-light, #2e90d4);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 115, 188, 0.22);
}

.reg-cta-button:focus-visible {
  outline: 3px solid rgba(46, 144, 212, 0.25);
  outline-offset: 3px;
}

.reg-cta-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 115, 188, 0.18);
}
.accommodation-phishing-alert {
  background: #fff1f1;
  border: 1px solid #e74c3c;
  border-left: 6px solid #d93025;
  color: #7a1f1f;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(217, 48, 37, 0.08);
}

.accommodation-alert-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #b3261e;
  margin-bottom: 12px;
  line-height: 1.5;
}

.accommodation-phishing-alert .accommodation-note-text {
  color: #7a1f1f;
  margin-bottom: 10px;
  line-height: 1.75;
}

.accommodation-phishing-alert .accommodation-note-text strong {
  color: #b3261e;
  font-weight: 700;
}

.accommodation-phishing-alert a {
  color: #b3261e;
  font-weight: 600;
  text-decoration: underline;
}

.accommodation-phishing-alert a:hover {
  color: #8f1d18;
}