/* Loaded only on the original Logistics homepage. */
.cml-original-logistics .logistics-home-slider { margin-top: 0; }
.logistics-home-slide img { display: block; width: 100%; height: clamp(240px, 35vw, 550px); object-fit: cover; object-position: center 54%; }
.logistics-home-slide a { display: block; }
.logistics-home-slider.owl-theme.owl-carousel .owl-nav:not(.disabled) {
  position: absolute; inset: 50% clamp(12px, 2vw, 32px) auto; transform: translateY(-50%);
  display: flex; justify-content: space-between; pointer-events: none;
}
.logistics-home-slider.banner-slider-eight.owl-theme.owl-carousel .owl-nav button[class*="owl-"] {
  position: static; transform: none; margin: 0; width: 44px; height: 44px; line-height: 42px; pointer-events: auto;
}

.subject-banner { min-height: clamp(350px, 35vw, 550px); }
.subject-banner > img.subject-banner__photo { width: 100%; object-position: center 54%; }
.subject-banner::before {
  background: linear-gradient(90deg, #156398 52%, transparent 52%);
}
.subject-banner__inner {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(1180px, 88%);
  padding-block: clamp(54px, 6vw, 96px);
}
.subject-banner .subject-banner__inner :is(h1,h2) { max-width: min(18ch, 58%); font-weight: 650; }
.subject-art { width: clamp(130px, 16vw, 240px); opacity: .6; }

.home-introduction, .home-tracking, .home-freight, .ctp-money-transfer-area {
  padding-block: clamp(36px, 4.5vw, 72px) !important;
}
.home-introduction { background: #FFFFFF; }
.about-area .row { row-gap: 28px; }
.about-area .about-content { margin: 0; padding: 0; max-width: 64ch; }
.about-content > span:not(:empty) {
  color: var(--primary-color);
  font: 650 .84rem/1.4 Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.home-introduction .about-content > span::after {
  content: ''; display: inline-block; width: 46px; height: 2px;
  margin-inline-start: 12px; vertical-align: middle; background: var(--cml-accent);
}
.about-area .about-content h2, .cml-contact-banner .account-create-content h2 {
  font-size: clamp(30px, 3.35vw, 50px); letter-spacing: -.035em; line-height: 1.08; text-wrap: balance;
}
.about-area .about-content h2 { margin-block: 8px 18px; }
.about-area .about-content p { margin: 0 0 16px; line-height: 1.65; font-size: clamp(16px, 1.2vw, 18px); }
.about-area .about-image {
  padding: clamp(12px, 2vw, 30px);
  background: #FFFFFF;
  border-radius: 18px;
}
.about-area .about-image img { display: block; width: 100%; height: auto; }
.home-tracking { background: var(--white); border-block-start: 1px solid var(--secondary-color); }
.home-tracking .cml-safe {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center; row-gap: 0; margin-inline: 0;
}
.home-tracking .cml-safe > div { grid-row: 1; width: auto; padding: 0; }
.home-tracking .cml-safe > :first-child { grid-column: 1 / 9; }
.home-tracking .about-image { padding: 0; margin: 0; overflow: hidden; border-radius: 20px; }
.home-tracking .about-image img { aspect-ratio: 1.7; object-fit: cover; object-position: 40% center; }
.home-tracking .cml-safe > :last-child {
  grid-column: 8 / -1; position: relative; padding: clamp(24px, 3vw, 44px);
  border-block-start: 4px solid var(--secondary-color); border-radius: 0 0 16px 16px;
  background: var(--white); box-shadow: 0 8px 28px rgb(from var(--primary-color) r g b / .12);
}
.home-tracking .about-content { margin: 0; }
.home-tracking .about-content h2 { margin: 14px 0; color: var(--primary-color); }
.home-tracking .about-content p { color: var(--text-color); font-weight: 400; }
.tracking-symbol { display: flex; align-items: center; gap: 10px; color: var(--primary-color); }
.tracking-symbol i { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--secondary-color); border-radius: 50%; font-size: 22px; }
.tracking-symbol::after { content: ""; width: 48px; border-top: 1px solid var(--secondary-color); }
.home-freight__card { box-shadow: none; }
.home-freight__card--text .home-freight__copy { padding-block: 18px; }
.home-freight__card--text h3 { font-size: clamp(19px, 1.7vw, 26px); }
@media (min-width: 992px) {
  .home-introduction .row { --bs-gutter-x: clamp(32px, 4vw, 64px); }
  .home-introduction .about-image { padding: 24px 0; border-block: 1px solid var(--secondary-color); border-radius: 0; }
  .home-freight__card:not(.home-freight__card--text) { display: grid; grid-template-columns: 36% 1fr; }
  .home-freight__media { aspect-ratio: auto; }
  .home-freight__copy { padding: clamp(20px, 2vw, 32px); }
}
.cml-original-logistics .ctp-money-transfer-area { background: white; }
.ctp-money-transfer-area .section-title {
  text-align: start; max-width: none; margin: 0;
  padding-inline-start: 20px; border-inline-start: 4px solid var(--cml-accent);
}
.ctp-money-transfer-area .section-title h2 { margin: 0; }
.ctp-money-transfer-area:not(:has(.home-certificate-gallery)) { padding-block: clamp(24px, 3vw, 40px) !important; }
.home-certificate-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(18px, 2vw, 32px); margin-top: 28px;
}
.home-certificate-gallery figure { margin: 0; min-width: 0; }
.home-certificate-gallery a {
  display: grid; place-items: center; padding: 12px; border: 1px solid var(--secondary-color);
  border-radius: 10px; background: white;
}
.home-certificate-gallery img { display: block; width: 100%; height: clamp(250px, 26vw, 400px); object-fit: contain; }
.home-certificate-gallery figcaption { margin-top: 10px; color: var(--primary-color); font-weight: 600; }
.ctp-money-transfer-area .row:not(:empty) { row-gap: 20px; margin-top: 28px; }
.ctp-money-transfer-card { margin-block: 0; }
.ctp-money-transfer-card .image {
  display: block; width: auto; height: auto; line-height: normal; margin: 0;
  padding: 14px; border-radius: 6px; border: 1px solid var(--cml-divider);
}
.ctp-money-transfer-card .image img { display: block; width: 100%; height: auto; }
.cml-original-logistics .cml-contact-banner {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 0 !important; padding: 0; background: var(--primary-color);
}
.cml-contact-banner .container { display: grid; align-items: center; min-height: clamp(360px, 32vw, 490px); }
.cml-contact-banner .home-pets-photo {
  position: absolute; inset: 0 0 0 auto; z-index: -1;
  width: 55%; height: 100%; object-fit: cover; object-position: center;
  clip-path: polygon(12% 0,100% 0,100% 100%,0 100%);
}
.cml-contact-banner .account-create-content {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  width: 46%; margin: 0; padding-block: clamp(36px, 5vw, 76px);
}
.cml-contact-banner .account-create-content::before { content: ""; width: 54px; border-top: 3px solid var(--secondary-color); }
.cml-contact-banner .account-create-content h2 { color: var(--white); line-height: 1.06; }
.cml-contact-banner .account-create-content p { color: var(--white); margin: 0; max-width: 42ch; }
@media (max-width: 991px) {
  .home-tracking .cml-safe > :first-child { grid-column: 1 / 8; }
  .home-tracking .cml-safe > :last-child { grid-column: 7 / -1; }
  .home-tracking .about-image img { aspect-ratio: 1.1; }
}
@media (max-width: 700px) {
  .home-tracking .cml-safe { display: block; }
  .home-tracking .about-image img { aspect-ratio: 1.8; }
  .home-tracking .cml-safe > :last-child { margin: -20px 10px 0; padding: 22px; }
  .cml-contact-banner .container { min-height: 0; }
  .cml-contact-banner .home-pets-photo {
    position: static; width: 100%; height: clamp(170px, 50vw, 260px);
    clip-path: none; grid-row: 2; margin-bottom: 20px;
  }
  .cml-contact-banner .account-create-content { width: 100%; grid-row: 1; gap: 14px; padding-block: 30px 24px; }
}
@media (max-width: 700px) {
  .subject-banner { min-height: 0; }
  .subject-banner::before { background: linear-gradient(0deg, #156398 52%, transparent 52%); }
  .subject-banner__inner { width: calc(100% - 40px); padding-block: 12px 32px; }
  .subject-banner .subject-banner__inner :is(h1,h2) { max-width: 100%; }
  .subject-art { width: 140px; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .home-introduction .about-image {
      animation: home-photo-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }
    @keyframes home-photo-enter { from { transform: translateY(12px); } to { transform: translateY(0); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slider-eight .owl-stage { transition-duration: 0s !important; }
  .banner-slider-eight .animated { animation-duration: 0s !important; }
  .ctp-money-transfer-card { transition: none; transform: none; }
}
