/* ==================================================
   Logistics Page CSS
   只控制物流網絡正文區域
   Hero 統一交給 assets/css/components/page-hero.css
================================================== */

body.logistics-page {
  background: #ffffff;
}

/* Hero 外層由 assets/css/components/page-hero.css 統一控制，本頁 CSS 不覆蓋 Hero */

/* 關閉 Hero relative top:-50px 造成的下方白色空隙 */
body.logistics-page .gs-page-hero {
  margin-bottom: calc(-1 * var(--gs-hero-lift, 50px)) !important;
}

body.logistics-page .logistics-map-section {
  margin-top: 0 !important;
}

/* ========== Map Section (深色背景地圖區) ========== */

.logistics-map-section {
  background: linear-gradient(180deg, #303030 0%, #242424 45%, #0f0f0f 100%);
  padding: 64px 48px 88px;
}

.logistics-map-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.logistics-map-image {
  width: 100%;
  max-width: 1150px;
  display: block;
  margin: 0 auto;
  border: none !important;
  border-radius: 6px;
  box-shadow: -12px 13px 10px 0 rgba(0, 0, 0, 0.5);
}

/* ========== Logistics Service (統一區塊，合併本地 + 海上) ========== */

.logistics-service {
  background: #ffffff;
  padding: 72px 48px;
}

.logistics-service__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin: 0 auto 88px;
}

.logistics-service__text-col {
  align-self: start;
  color: #142033;
}

.logistics-service__media-col {
  align-self: start;
}

.logistics-service__row:last-child {
  margin-bottom: 0;
}

.logistics-service__title {
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
  transform: translateY(-4px);
}

.logistics-service__title-main {
  background: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.logistics-service__title-sub {
  color: #54595F;
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
}

.logistics-service__desc {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 10px;
  color: #2A2A2A;
}

.logistics-service__points {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.logistics-service__points li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  line-height: 1.9;
  font-size: 16px;
  color: #2A2A2A;
}

.logistics-service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 22px;
  height: 22px;
  background-image: url("/assets/images/icon/iconR2.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none !important;
}

/* ========== Carousel & Media Shared ========== */

.logistics-carousel,
.logistics-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 2px solid #E8B20A;
  border-radius: 6px;
  box-shadow: -12px 13px 10px 0 rgba(0, 0, 0, 0.5);
  background: #111;
}

.logistics-carousel__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.logistics-carousel__slide {
  min-width: 100%;
}

.logistics-carousel img,
.logistics-media img,
.logistics-media video,
.logistics-service__video {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  display: block;
}

.logistics-service__video {
  border-radius: 5px;
  background: #111;
}

/* Arrows */
.logistics-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 1px));
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 32, 51, 0.55);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.logistics-carousel__btn:hover {
  background: rgba(20, 32, 51, 0.82);
}

.logistics-carousel__btn--prev {
  left: 18px;
}

.logistics-carousel__btn--next {
  right: 18px;
}

/* Dots */
.logistics-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.logistics-carousel__dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: #E8B20A;
  opacity: 0.45;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.25s;
}

.logistics-carousel__dots button.is-active {
  opacity: 1;
}

/* ========== Common ========== */

.logistics-container {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
}

/* ========== Advantages ========== */

.logistics-advantages {
  background: #f7f7f7;
  padding: 58px 0;
}

.logistics-section-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 42px;
}

.logistics-advantages-title {
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.logistics-section-heading p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #2A2A2A;
}

.logistics-advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.logistics-advantage-card {
  background: #ffffff;
  padding: 28px 24px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #EEB21B;
}

.logistics-advantage-card span {
  display: block;
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 800;
  color: #EEB21B;
  margin-bottom: 10px;
}

.logistics-advantage-card h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  color: #2A2A2A;
  margin: 0 0 12px;
}

.logistics-advantage-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #2A2A2A;
}

/* ========== CTA ========== */

.logistics-cta {
  background: #222222;
  color: #ffffff;
  padding: 66px 0;
}

.logistics-cta-inner {
  text-align: center;
}

.logistics-cta h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 26px;
  margin: 0 0 14px;
  color: #e8b20a;
}

.logistics-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.8;
}

.logistics-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logistics-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 700;
}

.logistics-btn-primary {
  background: #e8b20a;
  color: #111111;
}

.logistics-btn-dark {
  background: #ffffff;
  color: #111111;
}

/* ========== Desktop: section 48px 留白 ========== */

@media (min-width: 1024px) {
  body.logistics-page .logistics-advantages,
  body.logistics-page .logistics-cta {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* ========== Responsive ========== */

@media (max-width: 1023px) {
  .logistics-map-section {
    padding: 48px 20px 60px;
  }

  .logistics-service {
    padding: 48px 20px;
  }

  .logistics-service__row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 56px;
  }

  .logistics-service__title {
    font-size: 24px;
  }

  .logistics-service__desc {
    font-size: 16px;
  }

  .logistics-service__points li {
    font-size: 16px;
  }

  .logistics-carousel img,
  .logistics-media img,
  .logistics-media video,
  .logistics-service__video {
    aspect-ratio: 16 / 10;
  }

  .logistics-carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .logistics-carousel__btn--prev {
    left: 12px;
  }

  .logistics-carousel__btn--next {
    right: 12px;
  }

  .logistics-advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .logistics-map-section {
    padding: 42px 16px 56px;
  }

  .logistics-container {
    width: calc(100% - 36px);
  }

  .logistics-advantages,
  .logistics-cta {
    padding: 54px 0;
  }

  .logistics-advantage-grid {
    grid-template-columns: 1fr;
  }

  .logistics-section-heading h2,
  .logistics-cta h2 {
    font-size: 22px;
  }

  .logistics-service {
    padding: 40px 16px;
  }

  .logistics-service__row {
    margin-bottom: 48px;
  }

  .logistics-service__title {
    font-size: 22px;
    transform: translateY(0);
  }

  .logistics-service__title-sub {
    display: block;
    margin-left: 0;
    margin-top: 6px;
    font-size: 16px;
  }

  .logistics-service__desc {
    font-size: 15px;
    line-height: 1.85;
  }

  .logistics-service__points li {
    font-size: 15px;
    margin-bottom: 16px;
    padding-left: 30px;
  }

  .logistics-service__points li::before {
    width: 18px;
    height: 18px;
    top: 0.48em;
  }

  .logistics-carousel img,
  .logistics-media img,
  .logistics-media video,
  .logistics-service__video {
    aspect-ratio: 16 / 11;
  }
}