@charset "UTF-8";
.archive-header {
  background: #FDF9EE;
  padding: 80px 0;
}
.archive-header > div {
  max-width: 1200px;
  width: 100%;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .archive-header > div {
    padding: 0 20px;
  }
}
.archive-header > div h1 {
  color: var(--gray-1, #1C1C1C);
  text-align: center;
  /* headline/1 */
  font-family: "Noto Sans TC";
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 57.6px */
  letter-spacing: 4.8px;
  margin-bottom: 20px;
}
.archive-header > div .breadcrumb {
  color: var(--gray-1, #1C1C1C);
  text-align: center;
  /* body/2 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  letter-spacing: 0.48px;
}
.archive-header > div .breadcrumb a {
  color: var(--gray-1, #1C1C1C);
  text-align: center;
  /* body/2 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  letter-spacing: 0.48px;
  text-decoration: none;
}
.archive-header > div button {
  background: var(--Secondary-1, #F9BD67);
  border-radius: 999px;
  border: none;
}
.archive-header > div button a {
  padding: 16px 32px;
  color: var(--gray-8, #FFF);
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  /* 內文/Btn-EN */
  font-family: "Baloo 2";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  letter-spacing: 2px;
}
.archive-header > div .sticky-posts-swiper {
  padding-top: 100px;
}
@media (max-width: 768px) {
  .archive-header > div .sticky-posts-swiper {
    padding-top: 50px;
  }
}
.archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item {
  display: flex;
  gap: 24px;
}
@media (max-width: 768px) {
  .archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item {
    padding: 0 10px;
  }
}
.archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item img {
  aspect-ratio: 588/392;
  height: unset !important;
  border-radius: 30px;
}
.archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item h3 {
  color: var(--gray-1, #1C1C1C);
  /* headline/2 */
  font-family: "Noto Sans TC";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 43.2px */
  letter-spacing: 2.88px;
  margin: 24px 0;
}
.archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item h3 a {
  color: var(--gray-1, #1C1C1C);
  /* headline/2 */
  font-family: "Noto Sans TC";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 43.2px */
  letter-spacing: 2.88px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 👇 關鍵修復屬性 👇 */
  word-break: break-all; /* 強制斷字，避免符號卡住 */
  overflow-wrap: break-word; /* 允許長詞斷行 */
  line-height: 1.4; /* 固定行高，避免計算誤差 */
  height: 2.8em; /* 2 行 × 1.4 = 確保容器高度精準 */
  letter-spacing: 0.01px; /* 👈 微調字距，觸發正確斷行（關鍵！）*/
  white-space: normal; /* 確保允許換行 */
}
@media (max-width: 768px) {
  .archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item h3 a {
    font-size: 18px;
  }
}
.archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item .post-excerpt {
  overflow: hidden;
  color: var(--gray-3, #7A7A7A);
  text-overflow: ellipsis;
  /* body/2 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  letter-spacing: 0.48px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item .post-excerpt {
    margin-bottom: 24px;
  }
}
.archive-header > div .sticky-posts-swiper > div .swiper-slide .sticky-post-item .post-category {
  display: inline-block;
  padding: 12px 28px;
  color: var(--Secondary-1, #F9BD67);
  /* btn */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 16px */
  letter-spacing: 0.16px;
  border-radius: 100px;
  border: 1px solid var(--Secondary-1, #F9BD67);
}
.archive-header .sticky-swiper-pagination {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: end;
  bottom: 10px;
  width: calc(50% - 200px);
  margin-right: 200px;
  right: 0;
  left: unset;
  z-index: 10;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .archive-header .sticky-swiper-pagination {
    position: relative;
  }
}
@media (max-width: 768px) {
  .archive-header .sticky-swiper-pagination {
    display: none;
  }
}
.archive-header .sticky-swiper-pagination .swiper-pagination-bullet {
  position: relative;
  border: 3px solid #F9BD67;
  height: 20px;
  width: 20px;
  background: #FDF9EE;
  margin: 0 10px;
}
.archive-header .sticky-swiper-pagination .swiper-pagination-bullet:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #F9BD67;
  border-radius: 999px;
}

.archive-nav {
  background: #fff;
  padding: 20px 0;
  margin-bottom: 30px;
}
.archive-nav .child-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 15px 0;
}
.archive-nav .child-categories a {
  display: inline-block;
  padding: 15px 25px;
  background: #f8f9fa;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s;
  color: var(--gray-1, #1C1C1C);
  /* btn */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 16px */
  letter-spacing: 0.16px;
  border: 1px solid var(--gray-4, #D1D1D1);
  background: var(--gray-8, #FFF);
}
@media (max-width: 768px) {
  .archive-nav .child-categories a {
    padding: 10px;
  }
}
.archive-nav .child-categories a:hover, .archive-nav .child-categories a.active {
  background: #F9BD67;
  color: white;
  border: 1px solid #F9BD67;
}
.archive-nav .sort-options {
  margin-top: 20px;
  color: var(--gray-1, #1C1C1C);
  /* body/1 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%; /* 28.8px */
  letter-spacing: 0.48px;
  border-bottom: 1px solid var(--Secondary-1, #F9BD67);
  padding: 12px 0;
}
.archive-nav .sort-options ul {
  gap: 12px;
  margin: 0;
}
.archive-nav .sort-options ul li {
  padding-right: 12px;
}
.archive-nav .sort-options ul li:not(:last-child) {
  border-right: 1px solid #1C1C1C;
}
.archive-nav .sort-options ul li a {
  color: var(--gray-1, #1C1C1C);
  /* body/1 */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%; /* 28.8px */
  letter-spacing: 0.48px;
}
.archive-nav .sort-options ul li a:hover, .archive-nav .sort-options ul li a.active {
  color: #F9BD67;
}
.archive-nav .sort-options ul li a:hover svg path, .archive-nav .sort-options ul li a.active svg path {
  fill: #F9BD67;
}

.archive-main > div {
  width: 100%;
  max-width: 1200px;
  padding-bottom: 100px;
}
.archive-main > div .posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .archive-main > div .posts-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0px 20px;
  }
}
@media (max-width: 768px) {
  .archive-main > div .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0px 20px;
  }
}
.archive-main > div .post-item {
  overflow: hidden;
  transition: transform 0.3s;
}
.archive-main > div .post-item:hover {
  transform: translateY(-5px);
}
.archive-main > div .post-item .post-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .archive-main > div .post-item .post-thumbnail {
    height: auto;
  }
}
.archive-main > div .post-item .post-thumbnail a {
  overflow: hidden;
  border-radius: 30px;
  display: flex;
  aspect-ratio: 282/188;
}
@media (max-width: 768px) {
  .archive-main > div .post-item .post-thumbnail a {
    border-radius: 20px;
  }
}
.archive-main > div .post-item .post-thumbnail a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.archive-main > div .post-item .post-thumbnail a img:hover {
  transform: scale(1.05);
}
.archive-main > div .post-item .no-thumbnail {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}
.archive-main > div .post-item .post-content {
  padding: 20px;
}
@media (max-width: 768px) {
  .archive-main > div .post-item .post-content {
    padding: 10px 0 0 0;
  }
}
.archive-main > div .post-item .post-category {
  display: inline-block;
  padding: 12px 28px;
  color: var(--Secondary-1, #F9BD67);
  /* btn */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 16px */
  letter-spacing: 0.16px;
  border-radius: 100px;
  border: 1px solid var(--Secondary-1, #F9BD67);
}
@media (max-width: 768px) {
  .archive-main > div .post-item .post-category {
    padding: 10px;
    font-size: 14px;
  }
}
.archive-main > div .post-item .post-title {
  font-size: 18px;
  margin: 10px 0;
  line-height: 1.4;
}
.archive-main > div .post-item .post-title a {
  color: var(--gray-1, #1C1C1C);
  /* headline/4 */
  font-family: "Noto Sans TC";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 24px */
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .archive-main > div .post-item .post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 👇 關鍵修復屬性 👇 */
    word-break: break-all; /* 強制斷字，避免符號卡住 */
    overflow-wrap: break-word; /* 允許長詞斷行 */
    line-height: 1.4; /* 固定行高，避免計算誤差 */
    height: 2.8em; /* 2 行 × 1.4 = 確保容器高度精準 */
    letter-spacing: 0.01px; /* 👈 微調字距，觸發正確斷行（關鍵！）*/
    white-space: normal; /* 確保允許換行 */
  }
}
.archive-main > div .post-item .post-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}
.archive-main > div .post-item .post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.no-posts {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.pagination-list {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
}

.pagination-item a, .pagination-item span {
  display: block;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}
.pagination-item a:hover, .pagination-item .current {
  background: #007cba;
  color: white;
}

.pagination ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
}
.pagination ul li a {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  color: var(--gray-3, #7A7A7A);
  text-align: center;
  /* btn */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 16px */
  letter-spacing: 0.16px;
  background: transparent !important;
}
.pagination ul li a:hover {
  color: var(--Secondary-1, #F9BD67);
  text-align: center;
  /* btn */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 16px */
  letter-spacing: 0.16px;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  background: var(--gray-8, #FFF);
  /* shadow/400 */
  box-shadow: 0 6px 12px -6px rgba(24, 39, 75, 0.12), 0 8px 24px -4px rgba(24, 39, 75, 0.08);
}
.pagination ul li span.page-numbers.current {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  color: var(--Secondary-1, #F9BD67);
  text-align: center;
  /* btn */
  font-family: "Noto Sans TC";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 16px */
  letter-spacing: 0.16px;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  background: var(--gray-8, #FFF);
  /* shadow/400 */
  box-shadow: 0 6px 12px -6px rgba(24, 39, 75, 0.12), 0 8px 24px -4px rgba(24, 39, 75, 0.08);
}

.shop-publicity-category-container {
  background: #FDF9EE;
}
.shop-publicity-category-container > div {
  width: 100%;
  max-width: 1200px;
  padding-bottom: 180px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .shop-publicity-category-container > div {
    padding: 0px 20px 0px 20px;
  }
}
@media (max-width: 768px) {
  .shop-publicity-category-container > div {
    padding: 0px 20px 50px 20px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .shop-publicity-category-container > div > div {
    padding: 0;
  }
}
@media (max-width: 768px) {
  .shop-publicity-category-container > div > div {
    padding: 0;
  }
}
.shop-publicity-category-container > div > div .category__publicity__template_1 img {
  width: 100%;
  aspect-ratio: 2/1;
}
.shop-publicity-category-container > div > div .category__publicity__template_2 img {
  border-radius: 30px;
  width: 100%;
}
.shop-publicity-category-container > div > div .category__publicity__template_3 .publicity__Swiper {
  width: 100%;
  aspect-ratio: 2/1;
}
.shop-publicity-category-container > div > div .category__publicity__template_3 .publicity__Swiper .swiper-slide {
  aspect-ratio: 2/1;
}
.shop-publicity-category-container > div > div .category__publicity__template_3 .publicity__Swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 2/1;
  border-radius: 30px;
}
.shop-publicity-category-container > div > div .publicity__swiper-pagination {
  position: absolute;
  bottom: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-publicity-category-container > div > div .publicity__swiper-pagination .swiper-pagination-bullet {
  background: #FFE6A7;
}

.top-publicity .shop-publicity-category-container > div {
  padding-bottom: 30px;
}
