/* =========================================================
   GUIDE TABS
   ========================================================= */
.guide2-section {
  padding-top: 42px;
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 147, 205, .12), transparent 320px),
    radial-gradient(circle at 92% 12%, rgba(0, 37, 202, .12), transparent 360px),
    linear-gradient(180deg, #f3f8ff 0%, #fff 280px);
}

.guide2-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.guide2-lead {
  grid-column: 1 / -1;
  max-width: 760px;
  color: #42526b;
  font-size: 17px;
  line-height: 1.8;
}

.guide2-tabs {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 12px 28px rgba(10, 47, 122, .08);
}

.guide2-tab {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #12325f;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion), transform var(--motion-fast);
}

.guide2-tab::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: .4;
  transform: rotate(45deg);
}

.guide2-tab:hover {
  border-color: transparent;
  color: #082d69;
  background: linear-gradient(135deg, #fff, #e5f4ff);
  transform: translateY(-2px);
}

.guide2-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
  box-shadow: 0 10px 22px rgba(0, 37, 202, .22);
}

.guide2-tab.active::after {
  opacity: .9;
}

.guide2-content {
  min-width: 0;
}

.guide2-panel {
  display: none;
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,1)),
    linear-gradient(135deg, rgba(0,37,202,.08), rgba(0,147,205,.08));
  box-shadow: 0 14px 30px rgba(10, 47, 122, .10);
}

.guide2-panel-full,
.guide2-panel.active {
  display: block;
  animation: guidePanelIn var(--motion-slow);
}

.guide2-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e4ecf7;
}

.guide2-panel-head h2 {
  margin: 0;
  color: #071947;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.25;
  text-wrap: balance;
}

.guide2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.guide2-actions-bottom {
  justify-content: center;
  margin-top: 36px;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff7ff 0%, #e7fbff 100%);
}

.guide2-action {
  min-width: 92px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #9fc5ef;
  border-radius: 6px;
  color: #0a2f7a;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion), transform var(--motion-fast);
}

.guide2-action:hover {
  border-color: transparent;
  color: #074a7c;
  background: #f4fcff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 37, 202, .12);
}

.guide2-action-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
}

.guide2-action-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #001fa8 0%, #007daf 100%);
  box-shadow: 0 14px 28px rgba(0, 37, 202, .22);
}

.guide2-detail-layout {
  display: grid;
  gap: 18px;
}

.guide2-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4ecf7;
}

.guide2-subtabs-mobile {
  display: none;
}

.guide2-subtab {
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid #cfe0f7;
  border-radius: 6px;
  color: #12325f;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion), transform var(--motion-fast);
}

.guide2-subtab:hover {
  border-color: transparent;
  color: #082d69;
  background: linear-gradient(135deg, #fff, #e5f4ff);
  transform: translateY(-2px);
}

.guide2-subtab.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
  box-shadow: 0 10px 22px rgba(0, 37, 202, .18);
}

.guide2-subcontent {
  min-width: 0;
}

.guide2-intro {
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 8px;
  color: #24344f;
  font-size: 16px;
  line-height: 1.8;
  background: linear-gradient(135deg, #f4f9ff 0%, #eefcff 100%);
}

.guide2-subpanel {
  display: none;
}

.guide2-subpanel.active {
  display: block;
}

.guide2-rich {
  color: #24344f;
  font-size: 16px;
  line-height: 1.8;
}

.guide2-rich h1 {
  display: none;
}

.guide2-rich h2,
.guide2-rich h3 {
  color: #0a2f7a;
}

.guide2-rich p {
  margin-bottom: 14px;
}

.guide2-rich strong {
  color: #071947;
}

.guide2-rich img,
.guide2-rich .w-e-image-container img {
  max-width: min(100%, 760px);
  height: auto !important;
  border-radius: 6px;
}

.guide2-rich p:has(img:only-child),
.guide2-rich p:has(.w-e-image-container:only-child),
.guide2-rich .w-e-image-container {
  margin: 18px 0 24px;
  text-align: center;
}

.guide2-rich p:has(img:only-child) img,
.guide2-rich p:has(.w-e-image-container:only-child) img,
.guide2-rich .w-e-image-container img {
  margin-left: auto;
  margin-right: auto;
}

.guide2-wechat-panel p:has(img:only-child) img,
.guide2-wechat-panel p:has(.w-e-image-container:only-child) img,
.guide2-wechat-panel .w-e-image-container img {
  max-width: min(100%, 260px);
}

.guide-download-board {
  padding: clamp(6px, 1vw, 12px) 0;
}

.guide-download-list {
  display: grid;
  gap: 14px;
}

.guide-download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 18px 20px;
  border: 1px solid #d6e5f7;
  border-radius: 8px;
  color: #12325f;
  background: linear-gradient(135deg, #fff, #f7fbff);
  box-shadow: 0 8px 18px rgba(10, 47, 122, .06);
  transition: border-color var(--motion-fast), box-shadow var(--motion), transform var(--motion-fast);
}

.guide-download-item:hover {
  border-color: #9fc5ef;
  box-shadow: 0 14px 26px rgba(0, 37, 202, .12);
  transform: translateY(-2px);
}

.guide-download-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.guide-download-main strong {
  color: #071947;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.guide-download-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guide-download-button {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: #fff !important;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}

.guide-download-button:hover,
.guide-download-button:focus {
  text-decoration: none !important;
}

.guide-download-view {
  color: #0a2f7a !important;
  background: #fff;
  border: 1px solid #9fc5ef;
}

.guide-hotel-board {
  width: min(940px, 100%);
  margin: 8px auto 0;
}

.guide-hotel-summary {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfe0f7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 47, 122, .08);
}

.guide-hotel-summary strong {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
  font-size: 24px;
  line-height: 1.25;
}

.guide-hotel-summary-title {
  display: block;
}

.guide-hotel-summary-title strong {
  min-height: 64px;
}

.guide-hotel-summary span {
  padding: 18px 24px;
  color: #42526b;
  font-size: 15px;
  line-height: 1.7;
}

.guide-hotel-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  border-radius: 10px;
  background: #fff;
}

.guide-hotel-table {
  width: 100%;
  min-width: 920px;
  margin-right: auto;
  margin-left: auto;
  border-collapse: separate;
  border-spacing: 0;
  color: #12325f;
  table-layout: fixed;
}

.guide-hotel-table th {
  padding: 16px 14px;
  color: #fff;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
}

.guide-hotel-table th + th,
.guide-hotel-table td + td {
  border-left: 1px solid rgba(255,255,255,.72);
}

.guide-hotel-table td {
  padding: 14px 14px;
  border-top: 1px solid #fff;
  background: #eaf2fc;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
}

.guide-hotel-table tbody tr:nth-child(even) td {
  background: #dbe7f6;
}

.guide-hotel-table tbody tr:hover td {
  background: #f3f8ff;
}

.guide-hotel-table th:nth-child(1),
.guide-hotel-table td:nth-child(1) {
  width: 110px;
  text-align: center;
}

.guide-hotel-table th:nth-child(2),
.guide-hotel-table td:nth-child(2) {
  width: 172px;
}

.guide-hotel-table th:nth-child(3),
.guide-hotel-table td:nth-child(3) {
  width: 82px;
  text-align: center;
}

.guide-hotel-table th:nth-child(4),
.guide-hotel-table td:nth-child(4) {
  width: 178px;
  text-align: center;
  white-space: nowrap;
}

.guide-hotel-table th:nth-child(5),
.guide-hotel-table td:nth-child(5) {
  width: 378px;
}

.hotel-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0a2f7a;
  background: #fff;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.hotel-type-main {
  color: #fff;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
}

.hotel-name {
  color: #071947;
  font-weight: 800;
  white-space: nowrap;
}

.guide-hotel-table td:nth-child(5) {
  white-space: nowrap;
}

.guide-hotel-note {
  margin: 18px 0 0;
  color: #42526b;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.guide-register-board {
  width: min(940px, 100%);
  margin: 8px auto 0;
}

.guide-register-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 47, 122, .08);
}

.guide-register-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  color: #12325f;
  table-layout: fixed;
}

.guide-register-table th {
  padding: 16px 10px;
  color: #fff;
  background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
}

.guide-register-table th + th,
.guide-register-table td + td {
  border-left: 1px solid rgba(255,255,255,.72);
}

.guide-register-table td {
  padding: 18px 14px;
  border-top: 1px solid #fff;
  background: #eaf2fc;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.guide-register-table tbody tr:nth-child(even) td {
  background: #dbe7f6;
}

.guide-register-table tbody tr:hover td {
  background: #f3f8ff;
}

.guide-register-table th:first-child,
.guide-register-table td:first-child {
  width: 28%;
}

.guide-register-table th:not(:first-child),
.guide-register-table td:not(:first-child) {
  width: 24%;
}

.register-ticket-type {
  color: #071947;
  font-weight: 800;
}

.register-ticket-type span {
  font-weight: 800;
}

.guide-register-note {
  margin: 34px 0 0;
  color: #ff2f2f;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.guide-register-note strong {
  color: #071947;
  font-weight: 800;
}

.guide-register-note span {
  color: #ff2f2f;
}

@keyframes guidePanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .guide2-panel.active {
    animation: none;
  }

  .guide2-tab,
  .guide2-subtab,
  .guide2-action {
    transition: none;
  }
}

@media (max-width: 980px) {
  .guide2-shell {
    grid-template-columns: 1fr;
  }

  .guide2-tabs {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow-x: visible;
    padding: 8px;
  }

  .guide2-tab {
    min-width: 0;
  }

  .guide2-tab::after {
    display: none;
  }

  .guide2-subtabs-main {
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 10px;
  }

  .guide2-subtab {
    flex: 1 1 calc(50% - 10px);
    min-width: 132px;
  }
}

@media (max-width: 640px) {
  .guide2-section {
    padding-top: 30px;
  }

  .guide2-shell {
    width: min(100% - 24px, var(--wrap));
    gap: 16px;
  }

  .guide2-lead {
    font-size: 15px;
  }

  .guide2-tabs {
    margin: 0;
  }

  .guide2-tab {
    min-width: 0;
    min-height: 52px;
    padding: 0 8px;
    font-size: 15px;
  }

  .guide2-panel {
    padding: 22px 16px;
  }

  .guide2-panel-head {
    display: grid;
    gap: 14px;
  }

  .guide2-panel-head:has(.guide2-subtabs-mobile) {
    grid-template-columns: minmax(0, 1fr) minmax(126px, 42%);
    align-items: center;
    gap: 12px;
  }

  .guide2-panel-head h2 {
    min-width: 0;
  }

  .guide2-actions {
    justify-content: center;
  }

  .guide2-action {
    min-width: 86px;
    height: 38px;
  }

  .guide2-actions-bottom {
    justify-content: center;
  }

  .guide2-tab {
    justify-content: center;
    text-align: center;
  }

  .guide2-subtabs-main {
    display: none;
  }

  .guide2-subtabs-mobile {
    position: relative;
    z-index: 8;
    width: 100%;
    min-height: 40px;
    display: block;
    padding: 0;
    border: 0;
    justify-self: end;
  }

  .guide2-subtabs-mobile .guide2-subtab {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #cfe0f7;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(10, 47, 122, .12);
    color: #0a2f7a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
  }

  .guide2-subtabs-mobile .guide2-subtab::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--motion-fast);
  }

  .guide2-subtabs-mobile .guide2-subtab.active {
    display: flex;
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
    box-shadow: 0 10px 20px rgba(0, 37, 202, .22);
  }

  .guide2-subtabs-mobile.open .guide2-subtab.active::after {
    transform: translateY(2px) rotate(225deg);
  }

  .guide2-subtabs-mobile.open {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(10, 47, 122, .18);
  }

  .guide2-subtabs-mobile.open .guide2-subtab {
    display: flex;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .guide2-subtabs-mobile.open .guide2-subtab:first-child {
    border-radius: 6px 6px 0 0;
  }

  .guide2-subtabs-mobile.open .guide2-subtab:last-child {
    border-radius: 0 0 6px 6px;
  }

  .guide2-subtabs-mobile.open .guide2-subtab:not(.active) {
    color: #12325f;
    background: #fff;
  }

  .guide2-subtabs-mobile.open .guide2-subtab:not(.active):active {
    color: #fff;
    background: linear-gradient(135deg, #0025CA 0%, #0093CD 100%);
  }

  .guide2-intro {
    padding: 14px;
  }

  .guide2-rich img,
  .guide2-rich .w-e-image-container img {
    width: auto !important;
    max-width: 100%;
  }

  .guide-download-item {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 16px;
  }

  .guide-download-main strong {
    font-size: 16px;
  }

  .guide-download-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .guide-download-button {
    width: 100%;
  }

  .guide-hotel-board {
    margin-top: 0;
  }

  .guide-hotel-summary {
    grid-template-columns: 1fr;
  }

  .guide-hotel-summary strong {
    min-height: 58px;
    font-size: 20px;
  }

  .guide-hotel-summary span {
    padding: 14px;
    font-size: 14px;
  }

  .guide-hotel-table {
    min-width: 900px;
  }

  .guide-hotel-table th,
  .guide-hotel-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .guide-register-board {
    width: 100%;
    margin-top: 0;
  }

  .guide-register-table-wrap {
    overflow-x: visible;
  }

  .guide-register-table {
    min-width: 0;
    table-layout: fixed;
  }

  .guide-register-table th {
    padding: 10px 4px;
    font-size: 12px;
    line-height: 1.35;
  }

  .guide-register-table td {
    padding: 10px 4px;
    font-size: 12px;
    line-height: 1.45;
    word-break: break-word;
  }

  .guide-register-table th:first-child,
  .guide-register-table td:first-child {
    width: 28%;
  }

  .guide-register-table th:not(:first-child),
  .guide-register-table td:not(:first-child) {
    width: 24%;
  }

  .register-ticket-type {
    font-size: 12px;
  }

  .register-ticket-type span {
    display: block;
    font-size: 11px;
  }

  .guide-register-note {
    margin-top: 20px;
    font-size: 14px;
  }
}
