/* ==========================================================================
   Shared Bottom Sections – 實績案例 / 好評推薦 / 常見問題 / 延伸閱讀
   Extracted from about.css; scoped to .shared-bottom-sections
   ========================================================================== */

/* ---------- Design tokens ---------- */
.shared-bottom-sections {
  --ab-red: #e6433e;
  --ab-orange: #fea500;
  --ab-black: #000000;
  --ab-text: #111111;
  --ab-white: #ffffff;
  --ab-grey: #a7a7a7;
  --ab-pink-bg: #fce4e4;
  --ab-font: "Inter", "Noto Sans TC", "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   Section 5 – 實績案例
   ========================================================================== */
.shared-bottom-sections .about_s5_trackrecord {
  padding: 48px 0 56px;
}

.shared-bottom-sections .about_s5_trackrecord__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.shared-bottom-sections .about_s5_trackrecord__header,
.shared-bottom-sections .about_s6_Testimonials__header,
.shared-bottom-sections .about_s7_qa__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shared-bottom-sections .about_s5_trackrecord__title-wrap,
.shared-bottom-sections .about_s6_Testimonials__title-wrap,
.shared-bottom-sections .about_s7_qa__title-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.shared-bottom-sections .about_s5_trackrecord__title-bar,
.shared-bottom-sections .about_s6_Testimonials__title-bar,
.shared-bottom-sections .about_s7_qa__title-bar {
  display: block;
  width: 5px;
  height: 28px;
  background: var(--ab-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.shared-bottom-sections .about_s5_trackrecord__title,
.shared-bottom-sections .about_s6_Testimonials__title,
.shared-bottom-sections .about_s7_qa__title {
  margin: 0 12px 0 8px;
  font-family: var(--ab-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--ab-red);
  white-space: nowrap;
  flex-shrink: 0;
}

.shared-bottom-sections .about_s5_trackrecord__title-line,
.shared-bottom-sections .about_s6_Testimonials__title-line,
.shared-bottom-sections .about_s7_qa__title-line {
  display: block;
  flex: 1;
  height: 2px;
  background: var(--ab-red);
  border-radius: 1px;
}

.shared-bottom-sections .about_s5_trackrecord__toggle,
.shared-bottom-sections .about_s6_Testimonials__toggle,
.shared-bottom-sections .about_s7_qa__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border: none;
  border-radius: 6px;
  background: var(--ab-red);
  color: var(--ab-white);
  font-family: var(--ab-font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
  gap: 8px;
}

.shared-bottom-sections .about_s5_trackrecord__toggle:hover,
.shared-bottom-sections .about_s6_Testimonials__toggle:hover,
.shared-bottom-sections .about_s7_qa__toggle:hover {
  background: #cb3632;
}

.shared-bottom-sections .about_s5_trackrecord__toggle::after,
.shared-bottom-sections .about_s6_Testimonials__toggle::after,
.shared-bottom-sections .about_s7_qa__toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--ab-white);
  transition: transform 0.3s ease;
}

.shared-bottom-sections .about_s5_trackrecord__toggle.is-open::after,
.shared-bottom-sections .about_s6_Testimonials__toggle.is-open::after,
.shared-bottom-sections .about_s7_qa__toggle.is-open::after {
  transform: rotate(180deg);
}

.shared-bottom-sections .about_s5_trackrecord__grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shared-bottom-sections
  .about_s5_trackrecord.is-expanded
  .about_s5_trackrecord__grid {
  display: grid;
}

.shared-bottom-sections .about_s5_trackrecord__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shared-bottom-sections .about_s5_trackrecord__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
  border-radius: 4px;
}

.shared-bottom-sections .about_s5_trackrecord__caption {
  margin: 0;
  font-family: var(--ab-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--ab-black);
}

.shared-bottom-sections .about_s5_trackrecord__dots,
.shared-bottom-sections .about_s8_readmore__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
}

.shared-bottom-sections .about_s5_trackrecord__dots {
  display: none;
}

.shared-bottom-sections
  .about_s5_trackrecord.is-expanded
  .about_s5_trackrecord__dots {
  display: flex;
}

.shared-bottom-sections .about_s5_trackrecord__dot,
.shared-bottom-sections .about_s8_readmore__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #e6433e;
  padding: 0;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.shared-bottom-sections .about_s5_trackrecord__dot--active,
.shared-bottom-sections .about_s8_readmore__dot--active {
  background: #e6433e;
  transform: scale(1.05);
}

/* ==========================================================================
   Section 6 – 好評推薦
   ========================================================================== */
.shared-bottom-sections .about_s6_Testimonials {
  padding: 48px 0 56px;
  background: var(--ab-white);
}

.shared-bottom-sections .about_s6_Testimonials__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonials-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-swipe-wrap {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.testimonials-swipe-wrap:active {
  cursor: grabbing;
}

.shared-bottom-sections .about_s6_Testimonials__cards {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: center;
}

.shared-bottom-sections
  .about_s6_Testimonials__card:last-child:nth-child(3n - 1) {
  grid-column-end: -2;
}

.shared-bottom-sections
  .about_s6_Testimonials__card:last-child:nth-child(3n - 2) {
  grid-column: 2;
}

.shared-bottom-sections
  .about_s6_Testimonials.is-expanded
  .about_s6_Testimonials__cards {
  display: grid;
}

.shared-bottom-sections .about_s6_Testimonials__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: var(--ab-white);
  min-width: 0;
  overflow: hidden;
  align-self: normal;
}

.shared-bottom-sections .about_s6_Testimonials__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.shared-bottom-sections .about_s6_Testimonials__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shared-bottom-sections .about_s6_Testimonials__stars {
  display: flex;
  gap: 4px;
}

.shared-bottom-sections .about_s6_Testimonials__star {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--ab-orange);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.shared-bottom-sections .about_s6_Testimonials__star--empty {
  background: #d9d9d9;
  cursor: pointer;
  transition: background 0.15s ease;
}

.shared-bottom-sections .about_s6_Testimonials__star--empty.is-active {
  background: var(--ab-orange);
}

.shared-bottom-sections .about_s6_Testimonials__text {
  margin: 0;
  font-family: var(--ab-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--ab-black);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}

.shared-bottom-sections .about_s6_Testimonials__media {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 100%;
}

.shared-bottom-sections .about_s6_Testimonials__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.shared-bottom-sections .about_s6_Testimonials__thumb:hover {
  opacity: 0.85;
}

/* Lightbox */
.dadab-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
}

.dadab-lightbox.is-open {
  display: flex;
}

.dadab-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.dadab-lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.dadab-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dadab-lightbox__prev,
.dadab-lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.dadab-lightbox__prev {
  left: 16px;
}
.dadab-lightbox__next {
  right: 16px;
}

.dadab-lightbox__prev:hover,
.dadab-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dadab-lightbox__prev[hidden],
.dadab-lightbox__next[hidden] {
  display: none;
}

.shared-bottom-sections .about_s6_Testimonials__divider {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.shared-bottom-sections .about_s6_Testimonials__author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.shared-bottom-sections .about_s6_Testimonials__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.shared-bottom-sections .about_s6_Testimonials__author-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shared-bottom-sections .about_s6_Testimonials__name {
  margin: 0;
  font-family: var(--ab-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--ab-black);
}

.shared-bottom-sections .about_s6_Testimonials__meta {
  margin: 0;
  font-family: var(--ab-font);
  font-size: 14px;
  font-weight: 400;
  color: #666;
}

/* Testimonials Form */
.shared-bottom-sections .about_s6_Testimonials__form-wrap {
  display: none;
  padding: 28px 32px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: var(--ab-white);
}

.shared-bottom-sections
  .about_s6_Testimonials.is-expanded
  .about_s6_Testimonials__form-wrap {
  display: block;
}

.shared-bottom-sections .about_s6_Testimonials__form-title {
  margin: 0 0 20px;
  font-family: var(--ab-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--ab-black);
}

.shared-bottom-sections .about_s6_Testimonials__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shared-bottom-sections .about_s6_Testimonials__row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.shared-bottom-sections .about_s6_Testimonials__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.shared-bottom-sections .about_s6_Testimonials__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--ab-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ab-black);
  width: 100%;
}

.shared-bottom-sections .about_s6_Testimonials__rating {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.shared-bottom-sections .about_s6_Testimonials__input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--ab-font);
  font-size: 14px;
  box-sizing: border-box;
}

.shared-bottom-sections .about_s6_Testimonials__textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--ab-font);
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

.shared-bottom-sections .about_s6_Testimonials__upload-area {
  display: flex;
  flex-direction: column;
}

.shared-bottom-sections .about_s6_Testimonials__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shared-bottom-sections .about_s6_Testimonials__preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.shared-bottom-sections .about_s6_Testimonials__preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shared-bottom-sections .about_s6_Testimonials__preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.shared-bottom-sections .about_s6_Testimonials__preview-remove:hover {
  background: rgba(0, 0, 0, 0.8);
}

.shared-bottom-sections .about_s6_Testimonials__form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.shared-bottom-sections .about_s6_Testimonials__consent {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--ab-font);
  font-size: 12px;
  color: #666;
  cursor: pointer;
}

.shared-bottom-sections .about_s6_Testimonials__consent input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.shared-bottom-sections .about_s6_Testimonials__upload-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--ab-font);
  font-size: 14px;
  color: var(--ab-black);
  transition: opacity 0.2s ease;
}

.shared-bottom-sections .about_s6_Testimonials__upload-label:hover {
  opacity: 0.7;
}

.shared-bottom-sections .about_s6_Testimonials__upload-icon {
  font-size: 18px;
}

.shared-bottom-sections .about_s6_Testimonials__upload-text {
  font-weight: 400;
}

.shared-bottom-sections .about_s6_Testimonials__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  padding: 0 28px;
  border: none;
  border-radius: 6px;
  background: var(--ab-red);
  color: var(--ab-white);
  font-family: var(--ab-font);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shared-bottom-sections .about_s6_Testimonials__submit:hover {
  background: #cb3632;
}

/* ==========================================================================
   Section 7 – 常見問題 (Q&A)
   ========================================================================== */
.shared-bottom-sections .about_s7_qa {
  padding: 48px 0 56px;
  background: var(--ab-white);
}

.shared-bottom-sections .about_s7_qa__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.shared-bottom-sections .about_s7_qa__list {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.shared-bottom-sections .about_s7_qa.is-expanded .about_s7_qa__list {
  display: flex;
  align-items: center;
}

.shared-bottom-sections .about_s7_qa__item {
  width: 1054px;
  max-width: 100%;
  border: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 21.519px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.shared-bottom-sections .about_s7_qa__q {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--ab-font);
}

.shared-bottom-sections .about_s7_qa__q::-webkit-details-marker {
  display: none;
}

.shared-bottom-sections .about_s7_qa__q-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.shared-bottom-sections .about_s7_qa__q-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--ab-red);
  flex-shrink: 0;
}

.shared-bottom-sections .about_s7_qa__q-spacer {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin: 0 16px;
}

.shared-bottom-sections .about_s7_qa__q-plus {
  font-size: 20px;
  font-weight: 400;
  color: var(--ab-red);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.shared-bottom-sections .about_s7_qa__item[open] .about_s7_qa__q-plus {
  transform: rotate(45deg);
}

.shared-bottom-sections .about_s7_qa__a {
  padding: 0 20px 20px;
  font-family: var(--ab-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--ab-black);
  line-height: 1.6;
}

.shared-bottom-sections .about_s7_qa__a p {
  margin: 0 0 8px;
}

.shared-bottom-sections .about_s7_qa__a p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Section 8 – 延伸閱讀
   ========================================================================== */
.shared-bottom-sections .about_s8_readmore {
  padding: 48px 0 64px;
  background: var(--ab-white);
}

.shared-bottom-sections .about_s8_readmore__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.shared-bottom-sections .about_s8_readmore__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-family: Inter, "Noto Sans TC", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

@media (min-width: 769px) {
  .shared-bottom-sections .about_s8_readmore__title {
    box-sizing: border-box;
    width: 250px;
    height: 55px;
    padding: 0;
    background-image: url("../img/common/延伸閱讀標題背景.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 250px 55px;
  }
}

.shared-bottom-sections .about_s8_readmore__corner {
  position: absolute;
  width: 0;
  height: 0;
}

.shared-bottom-sections .about_s8_readmore__corner::before,
.shared-bottom-sections .about_s8_readmore__corner::after {
  content: "";
  position: absolute;
  background: var(--ab-red);
}

.shared-bottom-sections .about_s8_readmore__corner::before {
  height: 2px;
  width: 80px;
}

.shared-bottom-sections .about_s8_readmore__corner::after {
  width: 2px;
  height: 28px;
}

.shared-bottom-sections .about_s8_readmore__corner--tl {
  top: 0;
  left: 0;
}
.shared-bottom-sections .about_s8_readmore__corner--tl::before {
  top: 0;
  left: -8px;
}
.shared-bottom-sections .about_s8_readmore__corner--tl::after {
  top: -8px;
  left: 0;
}

.shared-bottom-sections .about_s8_readmore__corner--tr {
  top: 0;
  right: 0;
}
.shared-bottom-sections .about_s8_readmore__corner--tr::before {
  top: 0;
  right: -8px;
}
.shared-bottom-sections .about_s8_readmore__corner--tr::after {
  top: -8px;
  right: 0;
}

.shared-bottom-sections .about_s8_readmore__corner--bl {
  bottom: 0;
  left: 0;
}
.shared-bottom-sections .about_s8_readmore__corner--bl::before {
  bottom: 0;
  left: -8px;
}
.shared-bottom-sections .about_s8_readmore__corner--bl::after {
  bottom: -8px;
  left: 0;
}

.shared-bottom-sections .about_s8_readmore__corner--br {
  bottom: 0;
  right: 0;
}
.shared-bottom-sections .about_s8_readmore__corner--br::before {
  bottom: 0;
  right: -8px;
}
.shared-bottom-sections .about_s8_readmore__corner--br::after {
  bottom: -8px;
  right: 0;
}

.shared-bottom-sections .about_s8_readmore__cards {
  width: 100%;
  padding: 20px 18px 30px;
  margin: -20px -20px -30px;
}

.shared-bottom-sections .about_s8_readmore__slide {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  box-sizing: border-box;
}

.shared-bottom-sections .about_s8_readmore__card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  background: var(--ab-white);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

.shared-bottom-sections .about_s8_readmore__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.shared-bottom-sections .about_s8_readmore__thumb img,
.shared-bottom-sections .about_s8_readmore__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shared-bottom-sections .about_s8_readmore__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 24px;
}

.shared-bottom-sections .about_s8_readmore__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.shared-bottom-sections .about_s8_readmore__heading {
  margin: 0;
  font-family: var(--ab-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--ab-black);
}

.shared-bottom-sections .about_s8_readmore__date {
  font-family: var(--ab-font);
  font-size: 14px;
  font-weight: 400;
  color: #999;
  flex-shrink: 0;
}

.shared-bottom-sections .about_s8_readmore__excerpt {
  margin: 0;
  font-family: var(--ab-font);
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 1.5;
}

.shared-bottom-sections .about_s8_readmore__thumb-link {
  display: block;
}

.shared-bottom-sections .about_s8_readmore__heading-link {
  color: inherit;
  text-decoration: none;
}

.shared-bottom-sections .about_s8_readmore__heading-link:hover {
  text-decoration: underline;
}

.shared-bottom-sections .about_s8_readmore__btn {
  display: flex;
  width: 245px;
  height: 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  border-radius: 52.165px;
  background:
    linear-gradient(to bottom right, #ffe1e0 0%, #e6433e 50%) bottom right / 51%
      51% no-repeat,
    linear-gradient(to bottom left, #ffe1e0 0%, #e6433e 50%) bottom left / 51%
      51% no-repeat,
    linear-gradient(to top left, #ffe1e0 0%, #e6433e 50%) top left / 51% 51%
      no-repeat,
    linear-gradient(to top right, #ffe1e0 0%, #e6433e 50%) top right / 51% 51%
      no-repeat;
  color: #000;
  font-family: Inter, var(--ab-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(230, 67, 62, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.shared-bottom-sections .about_s8_readmore__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(230, 67, 62, 0.4);
}

.shared-bottom-sections .about_s8_readmore__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 8px;
  background: var(--ab-red);
  color: var(--ab-white);
  font-family: var(--ab-font);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.shared-bottom-sections .about_s8_readmore__more:hover {
  background: #cb3632;
  transform: translateY(-1px);
}

/* ==========================================================================
   Responsive – 768px (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  .shared-bottom-sections .about_s6_Testimonials__consent {
    font-size: 8px;
  }
  /* --- S5 – 實績案例 --- */
  .shared-bottom-sections .about_s5_trackrecord {
    padding: 24px 0;
  }

  .shared-bottom-sections .about_s5_trackrecord__inner,
  .shared-bottom-sections .about_s6_Testimonials__inner,
  .shared-bottom-sections .about_s7_qa__inner {
    width: 100%;
    box-sizing: border-box;
  }

  .shared-bottom-sections .about_s5_trackrecord__inner {
    gap: 12px;
  }

  .shared-bottom-sections .about_s5_trackrecord__header,
  .shared-bottom-sections .about_s6_Testimonials__header,
  .shared-bottom-sections .about_s7_qa__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .shared-bottom-sections .about_s5_trackrecord__title-bar,
  .shared-bottom-sections .about_s6_Testimonials__title-bar,
  .shared-bottom-sections .about_s7_qa__title-bar {
    width: 10px;
    height: 20px;
  }

  .shared-bottom-sections .about_s5_trackrecord__title,
  .shared-bottom-sections .about_s6_Testimonials__title,
  .shared-bottom-sections .about_s7_qa__title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 8px 0 4px;
  }

  .shared-bottom-sections .about_s5_trackrecord__title-line,
  .shared-bottom-sections .about_s6_Testimonials__title-line,
  .shared-bottom-sections .about_s7_qa__title-line {
    min-width: 20px;
  }

  .shared-bottom-sections .about_s5_trackrecord__toggle,
  .shared-bottom-sections .about_s6_Testimonials__toggle,
  .shared-bottom-sections .about_s7_qa__toggle {
    height: auto;
    min-height: 28px;
    width: auto;
    min-width: 72px;
    font-size: 12px;
    padding: 6px 14px;
    border: none;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(230, 67, 62, 0.28);
    -webkit-appearance: none;
    appearance: none;
  }

  /* 行動端：實績案例卡片與好評推薦一致（白底、圓角、陰影） */
  .shared-bottom-sections .about_s5_trackrecord__card {
    padding: 12px;
    gap: 8px;
    border-radius: 8px;
    background: var(--ab-white);
    box-shadow: none;
    border: none;
    height: auto;
  }

  .shared-bottom-sections .about_s5_trackrecord__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .shared-bottom-sections .about_s5_trackrecord__thumb {
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 8px;
  }

  .shared-bottom-sections .about_s5_trackrecord__caption {
    font-size: 10px;
    line-height: 14.4px;
  }

  /* --- S6 – 好評推薦 --- */
  .shared-bottom-sections .about_s6_Testimonials {
    padding: 24px 0;
  }

  .shared-bottom-sections .about_s6_Testimonials__inner {
    gap: 12px;
  }

  .shared-bottom-sections .about_s6_Testimonials__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* 手機版不套用「最後一列置中」的 nth-child 規則 */
  .shared-bottom-sections
    .about_s6_Testimonials__card:last-child:nth-child(3n - 1),
  .shared-bottom-sections
    .about_s6_Testimonials__card:last-child:nth-child(3n - 2) {
    grid-column: auto;
    grid-column-end: auto;
  }

  .shared-bottom-sections .about_s6_Testimonials__card {
    padding: 12px;
    gap: 8px;
    border-radius: 8px;
  }

  .shared-bottom-sections .about_s6_Testimonials__body {
    gap: 8px;
  }

  .shared-bottom-sections .about_s6_Testimonials__footer {
    gap: 8px;
  }

  .shared-bottom-sections .about_s6_Testimonials__star {
    width: 15px;
    height: 15px;
  }

  .shared-bottom-sections .about_s6_Testimonials__text {
    font-size: 10px;
    line-height: 14.4px;
  }

  .shared-bottom-sections .about_s6_Testimonials__thumb {
    border-radius: 2px;
  }

  .shared-bottom-sections .about_s6_Testimonials__avatar {
    width: 24px;
    height: 24px;
  }

  .shared-bottom-sections .about_s6_Testimonials__name {
    font-size: 12px;
  }

  .shared-bottom-sections .about_s6_Testimonials__meta {
    font-size: 8px;
  }

  .shared-bottom-sections .about_s6_Testimonials__form-wrap {
    padding: 14px 17px;
    border-radius: 8px;
  }

  .shared-bottom-sections .about_s6_Testimonials__form-title {
    font-size: 12px;
    text-align: center;
    margin-bottom: 12px;
  }

  .shared-bottom-sections .about_s6_Testimonials__form {
    gap: 12px;
  }

  .shared-bottom-sections .about_s6_Testimonials__label {
    font-size: 10px;
    gap: 4px;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
  }

  .shared-bottom-sections .about_s6_Testimonials__row--2 {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .shared-bottom-sections .about_s6_Testimonials__input {
    height: 15px;
    font-size: 10px;
    padding: 0 4px;
    border-radius: 2px;
    border-width: 0.5px;
  }

  .shared-bottom-sections .about_s6_Testimonials__textarea {
    min-height: 43px;
    font-size: 10px;
    padding: 4px;
    border-radius: 2px;
    border-width: 0.5px;
  }

  .shared-bottom-sections .about_s6_Testimonials__rating {
    margin-left: 4px;
  }

  .shared-bottom-sections .about_s6_Testimonials__preview-item {
    width: 60px;
    height: 60px;
  }

  .shared-bottom-sections .about_s6_Testimonials__form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .shared-bottom-sections .about_s6_Testimonials__upload-label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-family: var(--ab-font);
    font-size: 10px;
    color: var(--ab-black);
  }

  .shared-bottom-sections .about_s6_Testimonials__upload-icon {
    font-size: 14px;
  }

  .shared-bottom-sections .about_s6_Testimonials__upload-text {
    font-size: 10px;
    font-weight: 400;
  }

  .shared-bottom-sections .about_s6_Testimonials__submit {
    height: 24px;
    min-width: 48px;
    padding: 4px 12px;
    font-size: 10px;
    border-radius: 4px;
  }

  /* --- S7 – 常見問題 --- */
  .shared-bottom-sections .about_s7_qa {
    padding: 24px 0;
  }

  .shared-bottom-sections .about_s7_qa__inner {
    gap: 16px;
  }

  .shared-bottom-sections .about_s7_qa__list {
    gap: 12px;
  }

  .shared-bottom-sections .about_s7_qa__item {
    width: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 21px 0 rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
  }

  .shared-bottom-sections .about_s7_qa__q {
    min-height: 40px;
    padding: 10px 16px;
    justify-content: space-between;
    font-size: 13px;
  }

  .shared-bottom-sections .about_s7_qa__q-label {
    font-size: 14px;
    font-weight: 700;
  }

  .shared-bottom-sections .about_s7_qa__q-spacer {
    display: block;
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    margin: 0 12px;
  }

  .shared-bottom-sections .about_s7_qa__q-plus {
    font-size: 16px;
  }

  .shared-bottom-sections .about_s7_qa__a {
    padding: 0 16px 16px;
    font-size: 12px;
    line-height: 1.6;
  }

  /* --- S8 – 延伸閱讀 --- */
  .shared-bottom-sections .about_s8_readmore {
    padding: 24px 0;
  }

  .shared-bottom-sections .about_s8_readmore__inner {
    gap: 16px;
    align-items: center;
  }

  .shared-bottom-sections .about_s8_readmore__title {
    box-sizing: border-box;
    width: 108px;
    height: 30px;
    padding: 0;
    color: #000;
    font-family: Inter, "Noto Sans TC", "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background-image: url("../img/common/延伸閱讀標題背景.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 108px 30px;
  }

  .shared-bottom-sections .about_s8_readmore__title-text {
    display: inline-block;
    transform: translateY(-0.1rem);
  }

  .shared-bottom-sections .about_s8_readmore__cards {
    padding: 20px 8px 30px;
    margin: -20px -20px -30px;
  }

  .shared-bottom-sections .about_s8_readmore__thumb {
    aspect-ratio: auto;
    height: 79px;
    border-radius: 0;
  }

  .shared-bottom-sections .about_s8_readmore__card {
    border-radius: 0;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
    height: auto;
  }

  .shared-bottom-sections .about_s8_readmore__body {
    padding: 8px 8px 12px;
    gap: 8px;
  }

  .shared-bottom-sections .about_s8_readmore__heading {
    font-size: 12px;
  }

  .shared-bottom-sections .about_s8_readmore__date {
    font-size: 8px;
  }

  .shared-bottom-sections .about_s8_readmore__excerpt {
    font-size: 10px;
    line-height: 1.5;
  }

  /* 延伸閱讀「查看更多」— Figma 581:776（與 about 行動版一致） */
  .shared-bottom-sections .about_s8_readmore__btn {
    display: flex;
    box-sizing: border-box;
    width: 73px;
    height: 16px;
    min-height: 16px;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 auto;
    border-radius: 52.165px;
    background:
      linear-gradient(to bottom right, #ffe1e0 0%, #e6433e 50%) bottom right /
        51% 51% no-repeat,
      linear-gradient(to bottom left, #ffe1e0 0%, #e6433e 50%) bottom left / 51%
        51% no-repeat,
      linear-gradient(to top left, #ffe1e0 0%, #e6433e 50%) top left / 51% 51%
        no-repeat,
      linear-gradient(to top right, #ffe1e0 0%, #e6433e 50%) top right / 51% 51%
        no-repeat;
    color: #000;
    font-family: Inter, var(--ab-font);
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14.4px;
    text-decoration: none;
    box-shadow: none;
    align-self: center;
  }

  .shared-bottom-sections .about_s8_readmore__btn:hover {
    transform: none;
    box-shadow: none;
  }

  .shared-bottom-sections .about_s8_readmore__dots {
    gap: 6px;
    margin-top: 4px;
  }

  .shared-bottom-sections .about_s8_readmore__dot {
    width: 6px;
    height: 6px;
    border: 1px solid #e6433e;
    padding: 0;
    cursor: pointer;
  }

  .shared-bottom-sections .about_s8_readmore__more {
    height: 28px;
    min-width: 80px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
  }

  .shared-bottom-sections .about_s6_Testimonials__media {
    grid-template-columns: repeat(3, 1fr);
  }
}
