/*!
Theme Name: whahangshipping
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.2
Version: 1.0.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: whahangshipping
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

whahangshipping is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  /* border: 10px solid red !important;
  background-color: yellow !important; */
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* =========================================
   0. Global Layout (全局容器布局 - 核心修改)
   0. Global Layout (全局容器布局 - 核心修改)
   ========================================= */
/* 定义全局容器，控制所有页面的内容边距 */
.container {
  width: 100%;
  max-width: 100%; /* 或者设为 1440px 限制最大宽 */
  margin: 0 auto;
  box-sizing: border-box; /* 确保 padding 不会撑破宽度 */

  /* 【Desktop 电脑版间距：80px】 */
  padding-left: 80px;
  padding-right: 80px;
}

/* =========================================
   1. GLOBAL FIX
   ========================================= */
/* 默认隐藏 JS 生成的箭头按钮，防止电脑版出现灰色方块 */
button.dropdown-toggle {
  display: none !important;
}

/* =========================================
   Sticky Header (吸顶头部设置)
   ========================================= */
#masthead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10000;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.admin-bar #masthead {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #masthead {
    top: 46px;
  }
}

/* =========================================
   2. Header Styles (Desktop / 电脑版)
   ========================================= */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 999;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;

  /* 【Desktop Header 间距：80px】与内容对齐 */
  padding: 0 80px;
}

/* Logo 区域 */
/* Logo 区域 */
.site-branding {
  flex-shrink: 0;
  margin-right: 40px;
}
.site-branding img {
  max-height: 60px;
  width: auto;
}

/* 菜单区域 */
/* 菜单区域 */
.main-navigation {
  width: auto;
  margin: 0 auto;
  order: 2;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-navigation ul li {
  margin-left: 30px;
  position: relative;
}

.main-navigation ul li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 30px 0;
  display: block;
  transition: color 0.3s;
}

.main-navigation ul li a:hover {
  color: #008cd6;
}

/* =========================================
   3. Dropdown Menu Styles (电脑版下拉菜单)
   ========================================= */
/* =========================================
   3. Dropdown Menu Styles (电脑版下拉菜单)
   ========================================= */
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 240px;
  padding: 10px 0;
  border-radius: 4px;
  z-index: 1000;
}

.main-navigation ul li:hover > ul {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.main-navigation ul ul li {
  margin: 0;
  width: 100%;
}

.main-navigation ul ul a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #666;
  text-align: center;
  border-bottom: 1px dashed #e0e0e0;
  transition: all 0.2s;
  font-weight: 400;
}

.main-navigation ul ul li:last-child a {
  border-bottom: none;
}

.main-navigation ul ul a:hover {
  color: #0b202b;
  background-color: transparent;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* =========================================
   4. Mobile Styles (手机端适配 - 核心区域)
   ========================================= */
/* =========================================
   4. Mobile Styles (手机端适配 - 核心区域)
   ========================================= */
@media (max-width: 900px) {
  /* 【Mobile 全局容器间距：32px】 */
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* --- Header 布局 --- */
  .header-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;

    /* 【Mobile Header 间距：32px】 */
    padding: 15px 32px;
  }
  .site-branding {
    margin-right: 0;
    flex-shrink: 0;
  }
  .site-branding img {
    max-height: 40px;
  }
  .main-navigation {
    width: auto;
    order: 2;
    margin-top: 0;
  }

  /* --- 汉堡按钮 --- */
  .menu-toggle {
    display: block;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 10001;
    outline: none;
    font-size: 0;
    color: transparent;
  }
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .menu-toggle::before {
    top: 0;
    box-shadow: 0 11px 0 #333;
  }
  .menu-toggle::after {
    bottom: 0;
  }
  .main-navigation.toggled .menu-toggle::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: none;
  }
  .main-navigation.toggled .menu-toggle::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  /* --- 下拉菜单容器 --- */
  ul#primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff !important;
    margin: 0;
    padding: 0;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10000;
  }
  .main-navigation.toggled ul#primary-menu {
    display: block;
  }

  /* 一级菜单项 */
  ul#primary-menu > li {
    display: block !important;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }
  /* 一级菜单链接 */
  ul#primary-menu > li > a {
    padding: 18px 25px;
    font-size: 16px;
    color: #008cd6 !important;
    font-weight: 500;
    display: block;
    text-decoration: none;
    margin-right: 60px;
  }

  /* --- 箭头按钮 --- */
  button.dropdown-toggle {
    display: block !important;
    background: transparent;
    border: none;
    border-left: 1px solid #f5f5f5;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    cursor: pointer;
    z-index: 20;
    outline: none;
  }
  button.dropdown-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #008cd6;
    border-right: 2px solid #008cd6;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.3s ease;
  }
  li.sub-menu-open > button.dropdown-toggle::after {
    transform: translate(-50%, -50%) rotate(135deg);
  }

  /* --- 子菜单修复 --- */
  ul#primary-menu .sub-menu {
    display: none !important;
    position: relative !important;
    background-color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    border: none !important;
    visibility: visible !important;
    left: 0 !important;
    transform: none !important;
  }
  ul#primary-menu li.sub-menu-open > .sub-menu {
    display: block !important;
  }
  ul#primary-menu .sub-menu li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px dashed #ddd !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
    float: none !important;
  }
  ul#primary-menu .sub-menu li a {
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 15px 10px 15px 15px !important;
    white-space: nowrap !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    background: transparent !important;
    margin: 0 !important;
    text-indent: 0 !important;
    text-align: left !important;
  }
  ul#primary-menu .sub-menu li a:visited,
  ul#primary-menu .sub-menu li a:hover {
    color: #000000 !important;
  }
}

/* =========================================
   NEW Footer Styles
   NEW Footer Styles
   ========================================= */
.site-footer {
  background-color: #008cd6;
  color: #fff;
  font-size: 14px;
  margin-top: 0;
  /* 【Desktop Footer 间距：80px】 */
  padding-left: 80px;
  padding-right: 80px;
}

/* 1. 联系信息条 */
.footer-contact-bar {
  padding: 40px 0;
}

.contact-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.contact-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-item span {
  opacity: 0.9;
}

/* 2. 右侧按钮 */
.btn-message {
  background-color: #004c8c;
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 2px;
  font-size: 14px;
  transition: background 0.3s;
}

.btn-message:hover {
  background-color: #003366;
}

/* 3. 底部版权 */
.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
  text-align: left;
}

.copyright-text {
  font-size: 13px;
  opacity: 0.8;
}

/* Footer 移动端适配 */
/* Footer 移动端适配 */
@media (max-width: 900px) {
  .site-footer {
    /* 【Mobile Footer 间距：32px】 */
    padding-left: 32px;
    padding-right: 32px;
  }

  .contact-items {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
    padding: 0; /* 移除之前可能存在的内边距 */
  }

  .contact-btn {
    width: 100%;
    text-align: left;
  }

  .c-item {
    margin-bottom: 10px;
  }
}

/* =========================================
   Floating Sidebar Styles
   ========================================= */
.floating-sidebar {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.floating-sidebar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-group {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 48px;
}

.float-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  background: #fff;
}

.float-btn:hover {
  background-color: #f7f7f7;
}

.float-icon {
  width: 22px;
  height: 22px;
  fill: #666;
  transition: fill 0.2s;
}

.float-btn:hover .float-icon {
  fill: #333;
}

.contact-group .float-btn:first-child {
  border-bottom: 1px solid #f0f0f0;
}

/* Mobile Hide */
@media (max-width: 900px) {
  .floating-sidebar {
    display: none !important;
  }
}

/* =========================================
   Home Slider Styles (最终修复版)
   ========================================= */
.home-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}

.home-swiper {
  width: 100%;
  height: 100%;
}

.slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* --- 核心修复：内容容器 --- */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  /* 强制占满全屏宽度，防止被限制在左侧 */
  width: 100%;
  max-width: 100%;
  padding: 0 20px;

  /* Flexbox 强制居中 */
  display: flex;
  flex-direction: column;
  align-items: center; /* 水平居中 (针对块级子元素) */
  justify-content: center; /* 垂直居中 */
  text-align: center; /* 文字居中 (针对行内文字) */
  color: #fff;
}

/* --- 动画设置 --- */
/* 只有当 slide 激活时才播放动画，且初始状态设为不可见 */
.swiper-slide-active .slide-content > * {
  animation: fadeInUp 1s ease forwards;
  opacity: 0; /* 动画开始前隐藏，防止看到未对齐的状态 */
}
.swiper-slide-active .slide-summary {
  animation-delay: 0.2s;
}
.swiper-slide-active .slide-title {
  animation-delay: 0.4s;
}
.swiper-slide-active .slide-btn {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 文字样式修复 --- */
.slide-summary {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: 1px;
  opacity: 0.9;

  /* 强制居中，防止主题样式干扰 */
  text-align: center !important;
  width: 100%;
  max-width: 800px; /* 限制文字最大宽度，防止太长难看 */
}

.slide-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 50px;
  line-height: 1.2;
  text-transform: uppercase;

  /* 强制居中 */
  text-align: center !important;
  width: 100%;
}

.slide-btn {
  display: inline-block;
  padding: 12px 45px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0);
  margin-top: 10px; /* 增加一点间距 */
}

.slide-btn:hover {
  background: #fff;
  color: #000;
}

/* --- 导航按钮和翻页器 --- */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  opacity: 0.5;
  transition: opacity 0.3s;
  transform: scale(0.8);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}

.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.5;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff !important;
}

/* --- 鼠标滚动提示 --- */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: #fff;
  opacity: 0.8;
}
.scroll-down-indicator span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.mouse-icon {
  width: 24px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
}
.mouse-icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: scrollWheel 1.5s infinite;
}
@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .home-slider-section {
    height: 600px;
  }
  .slide-title {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .slide-summary {
    font-size: 15px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* =========================================
   Home Page About Us Section Styles
   ========================================= */
.about-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f5 100%);
}

.about-flex-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text-col {
  flex: 1;
  padding-right: 40px;
}

.section-subtitle {
  color: #008cd6;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin-bottom: 30px;
  line-height: 1.3;
}

.about-description p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  background-color: #008cd6;
  color: #fff;
  padding: 14px 35px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  margin-top: 15px;
}

.btn-learn-more:hover {
  background-color: #006bb3;
  color: #fff;
}

.btn-icon {
  margin-left: 10px;
}

.about-image-col {
  flex: 1;
}

.image-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.main-about-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.culture-box {
  background-color: #008cd6;
  padding: 40px;
  color: #fff;
}

.culture-box h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.culture-box p {
  font-size: 15px;
  opacity: 0.95;
  margin: 0;
  letter-spacing: 0.5px;
}

/* 移动端适配 */
@media (max-width: 900px) {
  .about-section {
    padding: 60px 0;
  }

  .about-flex-container {
    flex-direction: column;
    gap: 40px;
    /* 移除之前多余的 padding，由 .container 统一管理 */
    padding-left: 0;
    padding-right: 0;
  }

  .about-text-col {
    padding-right: 0;
    width: 100%;
  }

  .section-title {
    font-size: 26px;
  }

  .about-image-col {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================
   Business Image Section (居中修正版)
   ========================================= */

.business-img-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center; /* 让标题居中 */
}

/* 标题样式微调 */
.section-header {
  margin-bottom: 50px;
}

/* 核心布局修改：使用 Flexbox 居中 */
.business-img-grid {
  display: flex;
  justify-content: center; /* 水平居中核心代码 */
  flex-wrap: wrap; /* 允许多张卡片换行 */
  gap: 30px; /* 卡片之间的间距 */
  width: 100%;
}

/* 单个卡片样式 */
.img-card-item {
  display: block;
  position: relative;
  /* 核心尺寸控制 */
  width: 100%;
  max-width: 600px; /* 限制最大宽度，防止单张图太宽 */
  height: 450px;

  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: 0 auto; /* 保险起见，自身也水平居中 */
}

/* 如果未来有两张卡片，并且你想让它们在大屏上并排 */
/* 可以取消上面的 max-width，改用下面这个： */
/* @media (min-width: 900px) {
    .img-card-item {
        width: 48%; 
        max-width: none;
    }
} 
*/

/* --- 遮罩层 --- */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.5s ease;
  z-index: 1;
}

/* --- 内容层 --- */
.card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 85%;
  z-index: 2;
  color: #fff;
  transition: all 0.5s ease;
}

/* 图标样式 */
.card-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 12px;
  filter: brightness(0) invert(1);
}

.img-card-item h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- 描述文字 (默认隐藏) --- */
.card-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.card-desc p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #008cd6;
  padding-bottom: 2px;
}

/* 悬停特效 */
.img-card-item:hover .card-overlay {
  background-color: rgba(0, 0, 0, 0.85);
}

.img-card-item:hover .card-desc {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

/* --- 移动端适配 --- */
@media (max-width: 900px) {
  .business-img-grid {
    display: block; /* 手机上改回 block，让 margin: 0 auto 生效 */
  }
  .img-card-item {
    height: 400px;
    width: 100%; /* 占满 */
    margin-bottom: 30px;
  }
}

/* =========================================
   Page: About Us Styles (Banner & Navigation)
   ========================================= */

/* 1. 顶部 Banner 样式 (保留) */
.about-page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.about-page-banner h1 {
  position: relative;
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 900px) {
  .about-page-banner {
    height: 200px;
  }
  .about-page-banner h1 {
    font-size: 30px;
  }
}

/* =========================================
   Sub-Navigation Section
   ========================================= */
.sub-nav-section {
  background-color: #f9f9f9;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.custom-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.custom-breadcrumb a.home-link {
  display: flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.custom-breadcrumb a.home-link:hover {
  color: #008cd6;
}

.custom-breadcrumb a.home-link svg {
  margin-right: 6px;
  fill: currentColor;
}

.custom-breadcrumb .separator {
  margin: 0 10px;
  color: #ccc;
}

.custom-breadcrumb .current {
  color: #333;
  font-weight: 500;
}

.sub-page-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.sub-link-item {
  display: inline-block;
  padding: 10px 25px;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sub-link-item:hover,
.sub-link-item.active {
  background-color: #008cd6;
  color: #fff;
  border-color: #008cd6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 140, 214, 0.2);
}

@media (max-width: 900px) {
  .sub-page-links {
    flex-direction: column;
    gap: 10px;
  }

  .sub-link-item {
    text-align: center;
    width: 100%;
  }
}

/* =========================================
   About Us Content Styles (Company Intro Style)
   ========================================= */

.clean-about-section {
  padding: 80px 0;
  background-color: #fff;
  overflow: hidden;
}

.about-layout-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.about-text-side {
  flex: 1;
}

.clean-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.clean-title {
  font-size: 32px;
  font-weight: 800;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.2;
}

.clean-desc p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0;
  text-align: justify;
}

.clean-philosophy-inline {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.clean-philosophy-inline p {
  font-size: 15px;
  color: #444;
  font-style: italic;
  line-height: 1.8;
}

.about-img-side {
  flex: 1;
  position: relative;
  padding-bottom: 40px;
  padding-left: 20px;
}

.about-img-side .top-img {
  position: relative;
  width: 95%;
  z-index: 2;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-intro-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 85%;
  height: 60%;
  background-color: #d1d1d1;
  z-index: 1;

  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
}

.company-intro-bg span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: serif;
}

@media (max-width: 900px) {
  .about-layout-flex {
    flex-direction: column;
    gap: 40px;
  }

  .about-img-side {
    padding: 0;
    width: 100%;
    margin-top: 20px;
  }

  .about-img-side .top-img {
    width: 100%;
  }

  .company-intro-bg {
    position: relative;
    width: 100%;
    height: auto;
    padding: 10px 0;
    background-color: #eee;
    color: #666;
    margin-top: -5px;
  }

  .company-intro-bg span {
    color: #666;
  }
}

/* =========================================
   Warehouse Page Styles (横排数据版)
   ========================================= */

.warehouse-section {
  padding: 80px 0;
  background-color: #fff;
}

.warehouse-flex {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.warehouse-img-col {
  flex: 1;
}

.main-wh-img {
  width: 100%;
  display: block;
}

.warehouse-text-col {
  flex: 1;
  padding-top: 0;
}

.wh-title {
  font-size: 30px;
  font-weight: 800;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.2;
}

.wh-desc p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  text-align: justify;
}

.wh-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 20px;
}

.wh-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stat-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stat-icon {
  width: 28px;
  height: 28px;
  color: #999;
  stroke-width: 1.5;
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  font-family: "Arial", sans-serif;
}

.stat-num small {
  font-size: 14px;
  font-weight: 400;
  color: #888;
  margin-left: 2px;
}

.stat-label {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
  display: block;
  padding-left: 2px;
}

@media (max-width: 900px) {
  .warehouse-flex {
    flex-direction: column;
    gap: 30px;
  }

  .warehouse-img-col,
  .warehouse-text-col {
    width: 100%;
  }

  .wh-stats-row {
    flex-direction: column;
    gap: 30px;
  }
}

/* =========================================
   Logistics Page Styles
   ========================================= */

.logistics-section {
  padding: 80px 0;
  background-color: #fff;
}

/* 1. 顶部标题区 */
.section-intro {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.main-biz-title {
  font-size: 32px;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.main-biz-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* 2. 海运业务大卡片 (带背景图) */
.shipping-featured-box {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  padding: 60px 40px;
  margin-bottom: 40px;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 30, 60, 0.7); /* 深蓝遮罩，保证文字清晰 */
  z-index: 1;
}

.featured-content {
  position: relative;
  z-index: 2;
}

.featured-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 内部服务网格 (3列) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-item {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* 淡淡的白框 */
  border-radius: 6px;
  transition: background 0.3s;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.svc-icon svg {
  width: 50px;
  height: 50px;
  fill: #fff;
  margin-bottom: 20px;
}

.service-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.service-item p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  color: #eee;
}

/* 3. 其他服务网格 (底部白色卡片) */
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.other-svc-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  border-top: 3px solid #008cd6; /* 顶部蓝条装饰 */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.other-svc-item:hover {
  transform: translateY(-5px);
}

.other-svc-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.other-svc-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  text-align: justify;
}

/* --- 手机端适配 --- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr; /* 变单列 */
    gap: 30px;
  }

  .other-services-grid {
    grid-template-columns: 1fr; /* 变单列 */
  }

  .shipping-featured-box {
    padding: 40px 20px;
  }
}
/* =========================================
   Logistics Page Styles (复刻截图版)
   ========================================= */

.logistics-section {
  padding: 80px 0;
  background-color: #fff;
}

/* 1. 标题简介 */
.section-intro {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.main-biz-title {
  font-size: 32px;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.main-biz-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* 2. Ship Chartering 特色区 (重叠布局) */
.shipping-feature-wrapper {
  position: relative;
  width: 100%;
  min-height: 600px; /* 保证高度 */
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: flex-end; /* 内容靠右 */
  margin-bottom: 80px;
}

/* 背景图 (占左边 60%) */
.feature-bg-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%; /* 背景图宽度 */
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* 白色内容框 (占右边 50%，重叠一部分) */
.feature-white-box {
  position: relative;
  z-index: 2; /* 在背景图上面 */
  background: #fff;
  padding: 60px;
  width: 50%; /* 宽度 */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); /* 强烈阴影突出层次 */
}

.box-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
}

/* 列表项 */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.f-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #999; /* 灰色图标 */
}

.f-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.f-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 3. 底部服务卡片 (三列图文) */
.bottom-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.svc-card {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* 不设圆角，匹配截图的硬朗风格 */
}

.svc-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* 深色遮罩 */
  transition: background 0.3s;
}

.svc-card:hover .svc-overlay {
  background: rgba(0, 0, 0, 0.4); /* 悬停变亮一点 */
}

.svc-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.svc-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.svc-content p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

/* --- 移动端适配 --- */
@media (max-width: 900px) {
  /* 特色区变竖排 */
  .shipping-feature-wrapper {
    flex-direction: column;
    height: auto;
  }

  .feature-bg-image {
    position: relative;
    width: 100%;
    height: 300px; /* 手机上背景图高度 */
  }

  .feature-white-box {
    width: 100%;
    padding: 40px 20px;
    box-shadow: none;
    margin-top: -50px; /* 稍微往上盖一点 */
  }

  /* 底部网格变单列 */
  .bottom-services-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Advantage Page Styles (交错布局)
   ========================================= */

.advantage-section {
  padding: 80px 0;
  background-color: #fff;
}

/* 1. 标题装饰 */
.adv-header {
  text-align: center;
  margin-bottom: 60px;
}

.adv-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.adv-divider {
  width: 60px;
  height: 4px;
  background-color: #008cd6; /* 蓝色短横线 */
  margin: 0 auto;
}

/* 2. 交错行布局 (Zigzag) */
.adv-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px; /* 行间距 */
}

/* 偶数行反转 (实现左文右图) */
.adv-row.reverse {
  flex-direction: row-reverse;
}

/* 图片盒子 */
.adv-img-box {
  flex: 1; /* 占 50% */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.adv-img-box img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

/* 鼠标悬停图片缓慢放大 */
.adv-row:hover .adv-img-box img {
  transform: scale(1.05);
}

/* 文字盒子 */
.adv-text-box {
  flex: 1; /* 占 50% */
}

.adv-text-box h3 {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px; /* 给左侧蓝条留位置 */
}

/* 标题左侧蓝条装饰 */
.adv-text-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background-color: #008cd6;
  border-radius: 2px;
}

.adv-text-box p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
  margin-bottom: 0;
}

/* --- 手机端适配 --- */
@media (max-width: 900px) {
  .adv-row,
  .adv-row.reverse {
    /* 手机上强制全部变为【上图下文】 */
    flex-direction: column !important;
    gap: 30px;
    margin-bottom: 60px;
  }

  .adv-img-box,
  .adv-text-box {
    width: 100%;
  }

  /* 手机上文字标题稍微小一点 */
  .adv-text-box h3 {
    font-size: 22px;
  }
}

/* =========================================
   Partners Page Styles (CSS Tree Diagram)
   ========================================= */

.partners-section {
  padding: 80px 0;
  background-color: #fff;
}

/* 标题区域 */
.partners-intro {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 分割线 */
.partners-divider {
  height: 1px;
  background-color: #eee;
  margin: 60px 0;
}

/* 小标题样式 */
.sub-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
}

.sub-section-desc {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
}

/* --- 树状图核心布局 --- */
.tree-diagram-wrapper {
  position: relative;
  padding-top: 40px; /* 给上面的线留出空间 */
}

/* 1. 顶部最中间的那根竖线 (Main Trunk) */
.tree-trunk-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 40px; /* 连接到横线的高度 */
  background-color: #3b9dfc; /* 亮蓝色 */
  transform: translateX(-50%);
}

/* 网格布局 */
.lines-grid {
  display: flex;
  position: relative;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px; /* 给下面的小竖线留出空间 */
}

/* 2. 横向贯穿的长线 (Horizontal Bar) */
.tree-horizontal-bar {
  position: absolute;
  top: 0;
  /* 关键计算：4列布局，每列25%。第一列中心是12.5%，最后一列中心是87.5% */
  /* 所以横线从 12.5% 开始，到 12.5% (right) 结束 */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-color: #3b9dfc; /* 亮蓝色 */
}

/* 单个列容器 */
.partner-col {
  width: 25%; /* 4列等分 */
  position: relative;
}

/* 3. 这里的竖线 (Vertical Dropper) */
.partner-col::before {
  content: "";
  position: absolute;
  top: -30px; /* 向上连接横线 */
  left: 50%;
  width: 2px;
  height: 30px;
  background-color: #3b9dfc;
  transform: translateX(-50%);
}

/* 4. 那个圆点 (Blue Dot) */
.partner-col::after {
  content: "";
  position: absolute;
  top: -6px; /* 定位在卡片顶部边缘 */
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: #3b9dfc;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2; /* 盖在线上 */
}

/* 卡片样式 (仿图设计) */
.line-card {
  background-color: #eff6fb; /* 浅蓝色背景 */
  padding: 30px 20px;
  border-radius: 4px;
  text-align: left;
  height: 100%; /* 保证高度一致 */
  transition: transform 0.3s;
}

.line-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(59, 157, 252, 0.1);
}

.line-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #3b9dfc; /* 蓝色标题 */
  margin-bottom: 15px;
}

.line-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Container Shipments 区域 */
.container-shipments-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 60px;
  border-radius: 8px;
}

.container-ship-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* --- 手机端适配 --- */
@media (max-width: 900px) {
  .lines-grid {
    flex-direction: column; /* 手机上竖排 */
    gap: 20px;
    padding-top: 0;
  }

  .partner-col {
    width: 100%; /* 占满宽度 */
  }

  /* 手机上隐藏那些复杂的线条，因为竖排不需要树状图 */
  .tree-trunk-top,
  .tree-horizontal-bar,
  .partner-col::before,
  .partner-col::after {
    display: none;
  }
}

/* =========================================
   Contact Us Page - 左右分栏布局 (修复版)
   ========================================= */

/* 1. 容器设置 */
.contact-section {
  background-color: #fff;
  width: 100%;
  padding: 0; /* 移除上下 padding，让背景铺满 */
}

.contact-section .container-fluid {
  width: 100%;
  padding: 0;
  max-width: 100%;
}

.contact-layout-split {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 600px;
}

/* --- 左侧：白色区域 (联系信息) --- */
.contact-left-side {
  flex: 1; /* 占 50% */
  background-color: #fff;
  color: #333;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 15%;
  padding-right: 5%;
}

.contact-left-side .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
}

/* --- 图标列表样式 (修复图标大小) --- */
.info-list .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

/* 图标容器 */
.info-list .icon-box {
  width: 30px; /* 限制容器宽度 */
  min-width: 30px;
  margin-right: 15px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 核心修复：强制限制 SVG 大小 */
.info-list .icon-box svg {
  width: 20px !important; /* 强制宽度 */
  height: 20px !important; /* 强制高度 */
  max-width: 20px !important;
  fill: #333; /* 深灰色图标 */
  color: #333;
}

.info-list .text {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  flex: 1;
}

.info-list .text strong {
  font-weight: 600;
  color: #000;
}

/* --- 右侧：深灰色区域 (表单) --- */
.contact-right-side {
  flex: 1; /* 占 50% */
  background-color: #464646; /* 深灰色背景 */
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 5%;
  padding-right: 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dark-form-wrapper {
  width: 100%;
  max-width: 600px;
}

.dark-form-wrapper h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: capitalize;
}

/* =========================================
   WPForms 强制样式 (适配深色背景)
   ========================================= */

div.wpforms-container-full .wpforms-form .wpforms-field {
  margin-bottom: 20px !important;
  padding: 0 !important;
  clear: both !important;
}

div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form input[type="tel"],
div.wpforms-container-full .wpforms-form textarea {
  width: 100% !important;
  background-color: #fff !important; /* 白色背景 */
  border: none !important;
  border-radius: 4px !important;
  padding: 15px !important;
  font-size: 14px !important;
  color: #333 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

div.wpforms-container-full .wpforms-form input::placeholder,
div.wpforms-container-full .wpforms-form textarea::placeholder {
  color: #888 !important;
  opacity: 1 !important;
}

div.wpforms-container-full .wpforms-form button[type="submit"] {
  width: 100% !important;
  background-color: #fff !important;
  color: #333 !important;
  border: none !important;
  padding: 15px 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 10px !important;
}

div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
  background-color: #f0f0f0 !important;
  color: #000 !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
  display: none !important;
}

/* --- 移动端适配 --- */
@media (max-width: 900px) {
  .contact-layout-split {
    flex-direction: column;
  }
  .contact-left-side,
  .contact-right-side {
    padding: 60px 30px;
    width: 100%;
  }
}

/* =========================================
   Quality Control Page Styles
   ========================================= */

.quality-section {
  padding: 80px 0;
  background-color: #fff;
}

/* 页面简介 */
.quality-intro {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.quality-intro .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* 标题下划线装饰 */
.quality-intro .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #008cd6;
  margin: 10px auto 0;
}

.quality-intro .section-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* --- 核心流程列表 (Timeline 风格) --- */
.qc-process-list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* 贯穿左侧的连接线 */
.qc-process-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px; /* 线条位置 */
  width: 2px;
  background-color: #e5e5e5;
  z-index: 0;
}

.qc-item {
  position: relative;
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  z-index: 1; /* 盖住线条 */
}

/* 最后一个元素不需要下边距 */
.qc-item:last-child {
  margin-bottom: 0;
}

/* 左侧图标盒子 */
.qc-icon-box {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border: 2px solid #008cd6;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 140, 214, 0.15);
}

.qc-number {
  font-size: 12px;
  font-weight: 700;
  color: #008cd6;
  position: absolute;
  top: 5px;
}

.qc-icon {
  width: 32px;
  height: 32px;
  color: #333;
  stroke-width: 1.5px;
}

/* 右侧内容 */
.qc-content {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  flex: 1;
  position: relative;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border-left: 4px solid #008cd6; /* 左侧蓝条装饰 */
}

/* 左侧小箭头 */
.qc-content::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #008cd6; /* 箭头的颜色要和边框一致 */
}

.qc-content:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background-color: #fff; /* 悬停变白 */
}

.qc-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.qc-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* 底部总结 */
.qc-summary {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
  padding: 30px;
  background-color: #eaf6ff; /* 浅蓝底色 */
  border-radius: 8px;
  color: #005a8c;
}

.qc-summary p {
  margin: 0;
  font-weight: 500;
  line-height: 1.8;
}

/* --- 移动端适配 --- */
@media (max-width: 900px) {
  .qc-process-list::before {
    left: 30px; /* 线条左移 */
  }

  .qc-item {
    gap: 20px;
  }

  .qc-icon-box {
    width: 60px;
    height: 60px;
  }

  .qc-icon {
    width: 24px;
    height: 24px;
  }

  .qc-number {
    font-size: 10px;
    top: 3px;
  }

  .qc-content {
    padding: 20px;
  }

  .qc-content h3 {
    font-size: 18px;
  }
}
/* =========================================
   404 Error Page Styles
   ========================================= */

.error-404-section {
  padding: 120px 0;
  background-color: #fff;
  min-height: 60vh; /* 保证页面即使内容少，也不会太短 */
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center;
}

.error-content-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* 巨大的 404 数字 */
.error-code {
  font-size: 150px;
  font-weight: 900;
  color: #008cd6; /* 品牌蓝 */
  line-height: 1;
  margin: 0 0 20px 0;
  text-shadow: 4px 4px 0px rgba(0, 140, 214, 0.1); /* 增加一点立体感 */
}

/* 标题 */
.error-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

/* 描述文字 */
.error-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* 返回按钮 */
.btn-back-home {
  display: inline-block;
  padding: 15px 40px;
  background-color: #008cd6;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 140, 214, 0.2);
}

.btn-back-home:hover {
  background-color: #006bb3; /* 深一点的蓝色 */
  transform: translateY(-2px); /* 悬停上浮 */
  box-shadow: 0 8px 20px rgba(0, 140, 214, 0.3);
  color: #fff;
}

/* --- 移动端适配 --- */
@media (max-width: 900px) {
  .error-404-section {
    padding: 80px 0;
  }

  .error-code {
    font-size: 100px; /* 手机上稍微小一点 */
  }

  .error-title {
    font-size: 24px;
  }
}
