/* 當頁全部卡片 */
.card-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: #333;
  color: #1d1d1f;
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ 未展開 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
.card {
  position: relative;
  width: 390px;
  border-radius: 20px 0px 0px 20px;
  overflow: hidden;
  box-shadow: -15px 12px 4px 0px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  margin-bottom: 50px;
}

.card-header {
  position: relative;
  height: 245px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem;
  align-self: stretch;
}
.card-title {
  position: absolute;
  width: max-content;
  top: 138px;
  left: 85px;
  font-size: 24px;
  font-weight: bold;
  line-height: 20px;
  color: #fbfbfd;
}
.card-title-en {
  position: absolute;
  width: max-content;
  top: 158px;
  left: 85px;
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  color: #fbfbfd;
}

.hashtags {
  position: absolute;
  width: max-content;
  top: 188px;
  left: 66px;
}
.hashtag {
  background: #cceef9;
  padding: 0.2rem 0.8rem 0.2rem 0.86rem;
  border-radius: 999px;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 0.8px;
  margin-right: 5px;
}
.number {
  position: absolute;
  font-size: 80px;
  font-weight: bold;
  font-style: italic;
  color: rgba(251, 251, 253, 0.9);
  right: 20px;
  top: -10px;
}

.toggle-btn {
  position: absolute;
  top: 8rem;
  left: 2rem;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.toggle-array {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
  display: block;
}
.card.open .toggle-array {
  transform: scaleY(-1);
}

/* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ 未展開 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ 展開 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
.card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 2rem;
  background: #fbfbfd;
  box-sizing: border-box;
}
.card.open .card-content {
  max-height: 3000px;
  padding: 1.5rem 2rem 0 2rem;
}
.section {
  margin-bottom: 0rem;
}
.section h4 {
  position: relative;
  padding-left: 1rem; /* 給左邊留空間 */
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.section h4::before {
  content: "";
  position: absolute;
  left: 0px;
  width: 5px;
  height: 1.5em;
  background-color: #fbc96d;
  border-radius: 2px;
}
.section-common {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  letter-spacing: 0.8px;
  line-height: 25px;
}

/* 注意事項 */
.note-list {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.note-subtitle {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.note-item {
  font-weight: bold;
}
.note-label {
  font-weight: normal;
  margin-bottom: 0.5em;
  line-height: 1.6;
}
.note-highlight {
  color: #e60012;
  font-weight: bold;
}

/* 活動時間、課程內容 */
.time-list,
.course-list {
  margin-left: 1.5rem;
  margin-bottom: 0.5em;
}
.time-list-only {
  list-style-type: none;
}
.course-common {
  list-style-type: none;
  line-height: 25px;
  font-size: 1rem;
  letter-spacing: 0.8px;
}

/* 費用包含 */
.packages-title {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  font-weight: bold;
  align-items: baseline;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  margin-right: -3rem;
}
.packages-title-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
}

.packages-title-prefix {
  flex-shrink: 0;
}

.packages-title-main {
  flex-grow: 1;
  min-width: 0px;
  word-break: break-word;
  line-height: 1.4;
}

.packages-title-tips {
  width: 100%;
  margin-left: 6.5rem;
  font-size: 10px;
}

.packages-replenish {
  font-weight: bold;
  color: #e60012;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.packages-list {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: none;
}

.packages-tips {
  font-size: 0.6rem;
  text-align: right;
}

.packages-common {
  padding-bottom: 6rem;
}
.last-package {
  padding-bottom: 0;
}

.packages-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.packages-item svg {
  flex-shrink: 0;
}

.packages-prices {
  text-align: right;
  margin-top: 1rem;
}
.packages-price-group {
  margin-bottom: 20px;
}

.packages-price {
  font-size: 1.5rem;
}

.packages-price-tips {
  font-weight: bold;
  letter-spacing: 2px;
  padding-bottom: 5px;
}

.packages-price-price {
  font-weight: bold;
  font-size: 2.25rem;
}

/* 線 */
.line {
  border-top: 4px dashed #1d1d1f;
  width: 100%;
  margin: 4rem 0; /* 上下間距視設計而調整 */
}

/* 可加購項目 */
.other-title {
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.other-common {
  text-align: center;
  list-style-type: none;
  line-height: 25px;
  font-size: 1rem;
  letter-spacing: 0.8px;
}
.other-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 2rem;
}
.other-common-diver-equipment-title {
  text-align: left;
}
.other-common-diver-equipment-price {
  text-align: right;
}

.other-tips {
  text-align: center;
  font-size: 8px;
  line-height: 25px;
  letter-spacing: 0.8px;
}

/* 預約按鈕 */
.reserve-button {
  display: block;
  box-shadow: -4px -4px 8px 3px #fff, 4px 4px 8px 3px rgba(29, 29, 31, 0.25);
  background: #fbfbfd;
  color: #1d1d1f;
  margin: 6rem 5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 4px;
  cursor: pointer;
  text-decoration: none;
}
.force-padding {
  height: 0rem;
  pointer-events: none;
}
/*








*/

/* 小島代訂卡片 */
/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ 未展開 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
.longstrip-card {
  width: 100%;
  margin-bottom: 1.5rem;
}

.longstrip-wrapper {
  position: relative;
  height: 44px;
}

.longstrip-background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.longstrip-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: linear-gradient(90deg, #333 0%, rgba(153, 153, 153, 0) 100%);
}

.longstrip-line {
  width: 4px;
  height: 30px;
  background-color: #ffda99;
  border-radius: 10px;
  margin-right: 1rem;
}

.longstrip-title {
  color: #fbfbfb;
  font-weight: bold;
  flex-grow: 1;
}

.longstrip-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.longstrip-card.open .longstrip-arrow {
  transform: scaleY(-1);
}

.longstrip-card.open .longstrip-content {
  max-height: 1000px;
}
/* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ 未展開 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ 展開 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
.longstrip-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
  background: #fbfbfb;
  padding: 0 2rem;
}

.longstrip-section {
  margin-bottom: 2rem;
}
.longstrip-section:first-child {
  margin-top: 2rem;
}
.longstrip-section-title {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: bold;
}

/* 機車價目表 */
.longstrip-table {
  width: calc(100% + 4rem);
  border-collapse: collapse;
  margin: 1rem -2rem;
  table-layout: fixed;
}
.longstrip-section-theads {
  font-weight: bold;
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
}

.longstrip-section-tbody {
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
}

.longstrip-table .striped {
  background-color: #d9d9d9;
}

/* 各項資訊 */
.longstrip-section-information-list {
  margin-left: 2rem;
  letter-spacing: 0.4px;
  font-size: 10px;
  line-height: 20px;
}
.longstrip-section-information {
  font-size: 0.8rem;
  margin-left: 2rem;

  letter-spacing: 0.5px;
  line-height: 30px;
}
.longstrip-section-information-title {
  font-weight: bold;
}

/* 各項圖片 */
.longstrip-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.longstrip-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain; /* 或 cover 根據需求 */
  display: block;
}

/* 地圖 */
.longstrip-map-wrapper {
  margin-top: 1rem;
}
.longstrip-map {
  width: 100%;
  height: 300px;
  border: 0;
}

/* 按鈕 */
.longstrip-reserve-button {
  display: block;
  box-shadow: -4px -4px 8px 3px #fff, 4px 4px 8px 3px rgba(29, 29, 31, 0.25);
  background: #fbfbfd;
  color: #1d1d1f;
  margin: 3rem 5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 4px;
  cursor: pointer;
  text-decoration: none;
}
/* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ 展開 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

@media (max-width: 429px) {
  .card {
    width: 380px;
  }
  .card.open .card-content {
    padding: 1.5rem 1.8rem 0 1.8rem;
  }
}

@media (min-width: 768px) {
  .longstrip-wrapper {
    height: 66px;
  }
  .longstrip-container {
    padding: 0 3rem;
  }
  .longstrip-line {
    height: 40px;
    margin-right: 1rem;
  }
  .longstrip-title {
    font-size: 24px;
  }
}
