.appointment-archive-page {
  --appointment-bg: #fcfaf7;
  --appointment-brown: #b78a8a;
  --appointment-brown-deep: #b78a8a;
  --appointment-meta-accent: #95877a;
  --appointment-text: #4a3728;
  --appointment-muted: #5f6472;
  --appointment-border: #ece5dd;
  --appointment-gap: 2rem;
  --appointment-carousel-peek: 72px;
  font-family: "Noto Sans TC", sans-serif;
  background: var(--appointment-bg);
  color: var(--appointment-text);
}

.appointment-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38vh;
  padding: 3.6rem 0;
  background: var(--appointment-bg);
  overflow: hidden;
}

.appointment-hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.appointment-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
  border-radius: 0;
  background: transparent;
  color: #2f3f5e;
}

.appointment-hero-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #b48989 !important;
}

.appointment-hero-description {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  line-height: 1.7;
  color: #b48989;
  text-align: center !important;
  opacity: 0.95;
}

.appointment-hero-description p {
  margin: 0;
  text-align: center !important;
}

.appointment-main {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.appointment-series {
  margin-bottom: 4.25rem;
}

.appointment-series-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--appointment-border);
}

.appointment-series-title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #2f3f5e;
}

.appointment-series-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbcfc4;
  color: var(--appointment-brown);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.appointment-series-more:hover,
.appointment-series-more:focus {
  background: var(--appointment-brown);
  border-color: var(--appointment-brown);
  color: #fff;
}

.appointment-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  padding-right: var(--appointment-carousel-peek);
  scroll-snap-type: x mandatory;
}

.appointment-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--appointment-gap) * 2) - var(--appointment-carousel-peek)) / 3
  );
  gap: var(--appointment-gap);
}

.appointment-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
}

.appointment-card-media {
  position: relative;
  height: 16rem;
  background: #ece5dd;
}

.appointment-card-media-link,
.appointment-card-image {
  display: block;
  width: 100%;
  height: 100%;
}

.appointment-card-image {
  object-fit: cover;
}

.appointment-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #8f7a67;
  font-style: italic;
  font-size: 0.95rem;
}

.appointment-price-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.32rem 0.82rem;
  background: var(--appointment-meta-accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.appointment-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.7rem;
  background: #fff;
}

.appointment-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.appointment-card-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--appointment-text);
}

.appointment-card-title a {
  color: inherit;
  text-decoration: none;
}

.appointment-card-title a:hover,
.appointment-card-title a:focus {
  text-decoration: underline;
}

.appointment-time-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 0.6rem;
  background: rgba(139, 94, 52, 0.1);
  color: var(--appointment-brown);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.appointment-card-list {
  margin: 0 0 0.95rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--appointment-muted);
  flex: 1;
}

.appointment-card-list li {
  position: relative;
  padding-left: 0.95rem;
  margin-bottom: 0.35rem;
}

.appointment-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.appointment-list-label {
  font-weight: 700;
  color: #4a3728;
}

.appointment-note {
  color: var(--appointment-meta-accent);
  font-weight: 600;
}

.appointment-content-block {
  margin-bottom: 1rem;
}

.appointment-content-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.appointment-content-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e6ddd4;
  color: #5e5145;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.appointment-card-cta {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  background: var(--appointment-brown-deep);
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.appointment-archive-page .appointment-hero .appointment-hero-title,
.appointment-archive-page .appointment-hero .appointment-hero-description {
	text-align: center;
}

.appointment-card-cta:hover,
.appointment-card-cta:focus {
  background: #4a3728;
  color: #fff;
}

.appointment-empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--appointment-border);
  border-radius: 1rem;
  background: #fff;
}

.appointment-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--appointment-gap);
}

.appointment-pagination {
  margin-top: 1.75rem;
}

.appointment-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.appointment-pagination a,
.appointment-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid #dccfc2;
  background: #fff;
  color: var(--appointment-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.appointment-pagination .current {
  background: var(--appointment-brown);
  border-color: var(--appointment-brown);
  color: #fff;
}

@media (max-width: 1023px) {
  .appointment-archive-page {
    --appointment-carousel-peek: 56px;
  }

  .appointment-carousel-track {
    grid-auto-columns: calc(
      (100% - var(--appointment-gap) - var(--appointment-carousel-peek)) / 2
    );
  }

  .appointment-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .appointment-archive-page {
    --appointment-carousel-peek: 72px;
  }

  .appointment-hero {
    min-height: 32vh;
    padding: 3rem 0;
  }

  .appointment-main {
    padding: 2.6rem 0.9rem 3rem;
  }

  .appointment-series-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .appointment-series-title {
    width: 100%;
    text-align: center;
  }

  .appointment-series-more {
    width: 100%;
  }

  .appointment-carousel-track {
    grid-auto-columns: calc(100% - var(--appointment-carousel-peek));
    gap: 1rem;
  }

  .appointment-grid-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .appointment-card-content {
    padding: 1.2rem;
  }

  .appointment-card-title {
    font-size: 1.3rem;
  }
}
