/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f7fa;
    min-width: 1920px; /* Ensure layout consistency */
}

.container {
    width: 1200px;
    margin: 0;
    margin-left: 358px; /* Exact positioning as requested */
    padding: 0;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.site-header {
    background-color: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px; /* Updated gap from 10px to 4px */
}

.logo img {
    width: 80px;
    height: 80px;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    color: #000001;
    font-weight: 500;
    white-space: nowrap; /* Prevent text wrapping */
}

.main-nav {
    margin-left: 140px; /* Adjusted: moved left by 20px (160 - 20) */
    flex-grow: 1; /* Allow nav to take available space */
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

/* Ensure list items are positioned for dropdowns */
.main-nav li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Dropdown arrow style */
.main-nav a.has-dropdown::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    margin-left: 5px;
    order: 2; /* Place after text */
    transition: transform 0.3s, border-top-color 0.3s;
}

.main-nav a.has-dropdown:hover::before {
    transform: rotate(180deg);
    border-top-color: #1890ff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #1890ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.active {
    color: #1890ff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 60px; /* Below the nav item */
    left: -200px; /* Adjust to align properly */
    width: 1100px;
    background-color: #f0f8ff; /* Light blue background */
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 4px;
    cursor: default; /* Reset cursor */
}

.main-nav li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr; /* Columns 1 and 5 wider */
    gap: 30px;
    align-items: start;
}

.mega-column h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 10px;
}

.mega-column ul.mega-list {
    display: block; /* Reset flex */
    padding: 0;
    margin: 0;
}

.mega-column ul.mega-list li {
    display: block;
    margin-bottom: 12px;
}

.mega-column ul.mega-list li a {
    font-size: 14px;
    color: #666;
    padding: 0;
    display: inline-block;
    font-weight: normal;
}

.mega-column ul.mega-list li a:hover {
    color: #1890ff;
    background: none;
}

.mega-column ul.mega-list li a::after {
    display: none; /* Remove underline effect */
}

/* Two column grid for sub-items */
.two-col-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
}

.two-col-list a {
    font-size: 14px;
    color: #666;
    padding: 0;
    font-weight: normal;
    display: inline-block;
}

.two-col-list a:hover {
    color: #1890ff;
}

.two-col-list a::after {
    display: none;
}

/* Footer links */
.mega-footer-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e1e4e8;
    display: flex;
    gap: 20px;
}

/* Government Menu Specific Styles */
.government-menu {
    left: -50px;
    width: 200px;
    padding: 20px;
}

.government-menu .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.government-menu .mega-column h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
}

.government-menu .mega-column ul.mega-list {
    padding: 0;
}

.government-menu .mega-column ul.mega-list li {
    margin-bottom: 0;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.government-menu .mega-column ul.mega-list li:last-child {
    border-bottom: none;
}

.government-menu .mega-column ul.mega-list li a {
    display: block;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.government-menu .mega-column ul.mega-list li a:hover {
    color: #1890ff;
    background-color: #e6f7ff;
}

.mega-footer-links a {
    font-size: 14px;
    color: #1890ff;
    font-weight: 500;
    padding: 0;
}

.mega-footer-links a:hover {
    text-decoration: underline;
}

.mega-footer-links a::after {
    display: none;
}

/* User Profile */
.user-profile-container {
    position: relative;
    cursor: pointer;
    margin-right: 360px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.supervision-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    color: #fff;
    border-radius: 16px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.supervision-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.supervision-btn svg {
    flex-shrink: 0;
    stroke: #fff;
}

.supervision-btn span {
    letter-spacing: 0.5px;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 50%; /* Make hover area circular */
    transition: background-color 0.3s;
}

.user-info:hover {
    background-color: #f0f2f5;
}

.user-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user-details {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.4;
}

.user-details .username {
    font-weight: 600;
    color: #333;
}

.user-details .role {
    color: #999;
}

/* Dropdown Menu Base Styles */
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    right: 0;
    width: 120px; /* Unified width */
    background: rgba(255, 255, 255, 0.95); /* Higher opacity */
    backdrop-filter: blur(10px); /* Background blur */
    border: 1px solid #f0f0f0; /* Subtle border */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    margin-top: 0; /* Removed margin to prevent gap issues */
}

/* Nav Dropdown Specifics (Center Aligned) */
.nav-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    text-align: center;
    border-top: 2px solid #1890ff; /* Top highlight */
}

/* Reset styles inherited from .main-nav ul/li */
.main-nav .nav-dropdown ul {
    display: block !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-nav .nav-dropdown li {
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    border-bottom: 1px solid #f5f5f5;
    width: 100%;
}

.nav-dropdown li:last-child {
    border-bottom: none;
}

.main-nav li:hover .nav-dropdown {
    display: block;
    animation: dropdownFadeIn 0.3s ease forwards;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Bridge the gap between avatar/nav and menu to prevent closing on hover */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px; /* Extend further up */
    left: 0;
    width: 100%;
    height: 20px; /* Cover gap */
    background: transparent;
    z-index: 1;
}

/* State 1: Not Logged In (Default) */
/* Show unauthenticated menu on hover ONLY if NOT logged in */
.user-profile-container:not(.is-logged-in):hover .dropdown-menu.unauthenticated {
    display: block;
}

/* State 2: Logged In */
/* Show authenticated menu on hover ONLY if logged in */
.user-profile-container.is-logged-in:hover .dropdown-menu.authenticated {
    display: block;
}

/* Ensure correct widths/styles per type if needed */
.dropdown-menu.unauthenticated {
    width: 100px;
}
.dropdown-menu.authenticated {
    width: 140px;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s;
    font-weight: normal;
}

/* Authentication Button Styles */
.auth-btn {
    width: 100%;
    padding: 8px 16px;
    color: #333;
    font-size: 14px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: color 0.3s;
    font-family: inherit;
    text-align: left;
}

.auth-btn:hover {
    color: #1890ff;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #1890ff;
}
.dropdown-menu li a::after { display: none; }

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    z-index: 10;
    margin-top: -50px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Shared Banner Background Styles */
.banner-bg,
.customs-banner-bg,
.detail-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg img,
.customs-banner-bg img,
.detail-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Added from banner-bg */
}

.banner-content {
    position: relative;
    z-index: 3; /* Higher than slide z-index */
    width: 100%;
    padding-bottom: 60px; /* 恢复正常padding */
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Indicators */
.indicators-container {
    position: absolute;
    bottom: 80px; /* 恢复正常位置 */
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
    display: flex;
    justify-content: flex-start;
}

.carousel-indicators {
    display: flex;
    gap: 12px;
    pointer-events: auto;
}

.indicator {
    width: 60px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 0; /* Right angle */
    cursor: pointer;
    transition: background-color 0.3s, width 0.3s;
}

.indicator.active {
    background-color: #1890ff; /* Active blue */
}

.indicator:hover {
    background-color: rgba(24, 144, 255, 0.6);
}

.btn-primary {
    display: inline-block;
    background-color: #1890ff; /* Blue background */
    color: #fff;
    padding: 12px 36px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #096dd9;
}

/* Info Bar Section - Removed */

/* Services Section */
.services-section {
    padding: 40px 0 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: left; /* Left align text */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height */
    text-align: left; /* Align left by default */
    border: none;
}

/* --- Activity Operation Card Variant --- */
.card-variant-activity {
    width: 285px;
    height: 280px;
    padding: 20px;
    position: relative;
    border-radius: 2px;
}

.card-variant-activity .card-header {
    display: flex;
    margin: 0;
    gap: 7px; /* Distance between icon and text */
    align-items: flex-start;
}

.card-variant-activity .card-icon-wrapper {
    background-color: #fff;
    border: 1px solid #e8f5e9;
    border-radius: 4px;
    width: 45px;
    height: 45px;
    padding: 0;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-variant-activity .card-header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-variant-activity .card-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.card-variant-activity::after {
    content: '';
    display: block;
    width: 245px;
    height: 1px;
    background-color: #f0f0f0;
    position: absolute;
    top: 90px;
    left: 20px;
}

.card-variant-activity h3 {
    margin-top: 0;
    margin-bottom: 1px;
    font-size: 16px;
}

.card-variant-activity .card-subtitle {
    margin: 0;
    font-size: 12px;
    color: #999999;
    line-height: 1.3;
}

.card-variant-activity .card-image-placeholder {
    width: 245px;
    height: 148px;
    padding: 0;
    margin-top: 0;
    background-color: transparent;
    border-radius: 0;
}

.card-variant-activity .card-body {
    margin-top: 31px;
}

.card-variant-activity .card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* --- Flip Card Effect Styles --- */
.flip-card {
    perspective: 1000px;
    padding: 0 !important; /* Override default padding */
    background: transparent !important; /* Override default bg */
    border: none !important;
}

.flip-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .card-inner {
    transform: rotateY(180deg);
}

.flip-card .card-front,
.flip-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 2px;
}

/* Ensure z-index for front */
.flip-card .card-front {
    z-index: 2;
}

/* Back Face Styling */
.flip-card .card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

/* Separator for Flip Cards (Front & Back) */
.flip-card .card-front::after,
.flip-card .card-back::after {
    content: '';
    display: block;
    width: 245px;
    height: 1px;
    background-color: #f0f0f0;
    position: absolute;
    top: 90px;
    left: 20px;
}

/* Hide original separator on container if it exists */
.flip-card::after {
    display: none;
}

/* Back Face Content */
.flip-card .card-back .card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-top: 25px; /* Adjust to clear separator */
    margin-bottom: auto;
}

.flip-card .card-back .btn-free-check {
    background-color: #3d6ef9;
    color: white;
    padding: 8px 24px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    width: fit-content;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.flip-card .card-back .btn-free-check:hover {
    background-color: #2b56cc;
}

/* Text Card Styles (Card 2) */
.card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
    flex-grow: 1; /* Take available space */
}

.btn-card {
    display: inline-block;
    background-color: #1890ff;
    color: #fff;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s;
    width: fit-content;
}

.btn-card:hover {
    background-color: #096dd9;
    color: #fff;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 120px;
}

.sidebar-item {
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* Online Consultation Specific Styles */
.sidebar-consult .sidebar-content {
    width: 120px;
    height: 138px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.2); /* Light blue shadow */
    border-radius: 64px 64px 4px 4px; /* Top-left and top-right: 64px, bottom-left and bottom-right: 4px */
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Sidebar Images */
.sidebar-consult .sidebar-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 0;
}

.sidebar-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}

.sidebar-image.qr-code {
    border-radius: 0;
    width: 106px;
    height: 106px;
}

/* QR Code Specific Styles */
.sidebar-qr .sidebar-content {
    width: 120px;
    height: 138px;
    background: transparent;
    box-shadow: none;
    border-radius: 4px;
    padding: 10px 10px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Sidebar Text */
.sidebar-text {
    font-size: 12px;
    color: #333333;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* Sidebar Icon */
.sidebar-icon {
    font-size: 24px;
    color: #1890ff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 50%;
}

/* Adjust spacing between first and second items */
.floating-sidebar {
    gap: 10px;
}

/* Complaint Suggestion Specific Styles */
.sidebar-complaint .sidebar-content {
    width: 120px;
    height: 40px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.2); /* Light blue shadow */
    border-radius: 4px;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

/* Adjust complaint icon */
.sidebar-complaint .sidebar-image {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    border-radius: 0;
    object-fit: contain;
}

/* Service Provider Recruitment Styles */
.sidebar-recruit .sidebar-content {
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.2); /* Light blue shadow */
    background: #ffffff;
    width: 120px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
}

/* Service Provider Recruitment Icon */
.sidebar-recruit .sidebar-image {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    border-radius: 50%;
    object-fit: contain;
}

/* Back to Top Styles */
.sidebar-top .sidebar-content {
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.2); /* Light blue shadow */
    background: #ffffff;
    width: 120px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
}

/* Hover Effect for All Sidebar Items */
.sidebar-item:hover .sidebar-text {
    color: #1890ff;
    cursor: pointer;
}

.sidebar-item:hover {
    transform: translateX(-4px);
    cursor: pointer;
}

/* Additional hover styles for button elements */
.sidebar-content:hover .sidebar-text {
    color: #1890ff;
}

/* Back to Top Icon */
.sidebar-top .sidebar-image {
    width: 12px;
    height: 12px;
    margin-left: 28px;
    border-radius: 0;
    object-fit: contain;
    transform: rotate(0deg) !important; /* Ensure icon points up */
}

/* Search & Access Section */
.search-access-section {
    position: relative;
    z-index: 100;
    margin-top: 60px; /* 增加间距，避免重叠banner */
    margin-bottom: 50px;
}

.search-access-container {
    width: 1200px;
    height: 118px; /* Fixed height requested */
    margin: 0;
    margin-left: 358px; /* Maintain alignment */
    background: rgba(255, 255, 255, 0.5); /* 50% opacity white */
    backdrop-filter: blur(10px); /* Background blur */
    border: 2px solid #fff; /* Increased border width */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(24, 144, 255, 0.2); /* Light blue shadow */
    display: flex;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
}

.search-box {
    display: flex;
    align-items: center;
    margin-right: 60px;
}

.search-input {
    width: 393px;
    height: 52px;
    border: 1px solid #e8e8e8;
    border-right: none;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    border-radius: 4px 0 0 4px;
}

.search-btn {
    width: 81px;
    height: 52px;
    background-color: #1890ff;
    border: none;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #096dd9;
}

.search-icon {
    width: 34px; /* Scaled up by 1.4x (approx) from 24px */
    height: 34px;
    color: #fff;
}

.quick-access-items {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.access-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 4px;
    flex: 1; /* Distribute space evenly */
}

.access-item:hover .access-title {
    color: #1890ff; /* Title turns blue on hover */
}

.access-title {
    font-size: 18px;
    color: #3D3D3D;
    font-weight: bold;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.access-subtitle {
    font-size: 12px;
    color: #9A9EB0;
}

/* Cross-border Export Supply Chain Services Styles */
.supply-chain-section {
    background-color: #fff;
    padding-top: 60px;
    padding-bottom: 80px;
}

.supply-chain-tabs {
    display: flex;
    justify-content: space-around;
    background-color: #f0f8ff;
    padding: 20px 0;
    margin-bottom: 0; /* Connect to grid */
}

.tab-item {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: relative;
    padding: 10px 20px;
    transition: color 0.3s;
}

.tab-item:hover,
.tab-item.active {
    color: #1890ff;
}

/* Grid Layout */
.supply-chain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #fff;
    border: 1px solid #eee; /* Outer border */
    border-top: none; /* Connect to tabs */
}

.supply-chain-item {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

/* Remove right border for last column */
.supply-chain-item:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border for last row (if needed, but grid might be variable) */
.supply-chain-item:nth-last-child(-n+3) {
    border-bottom: none;
} 

.supply-chain-item:hover {
    background-color: #f9f9f9;
}

.item-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff; /* Blue icon color */
}

.item-icon svg {
    width: 40px;
    height: 40px;
}

.item-content {
    flex: 1;
}

.item-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.item-content p {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
    margin: 0;
}

/* Cross-border Logistics Services Styles */
.logistics-section {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 60px;
}

.logistics-header {
    text-align: center;
    margin-bottom: 20px;
}

.logistics-header p {
    font-size: 16px;
    color: #666;
    max-width: 900px;
    margin: 10px auto 0;
    line-height: 1.8;
}

.logistics-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.logistics-item {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    color: #333;
    font-weight: bold;
    text-align: center;
    padding: 25px 0;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e6f7ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.logistics-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1890ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logistics-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(24, 144, 255, 0.15);
    background: #fff;
    color: #1890ff;
}

.logistics-item:hover::after {
    transform: scaleX(1);
}

/* Service Providers Section */
.service-providers-section {
    padding-top: 50px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #f0f9ff 0%, #f6f8fb 100%);
    position: relative;
    overflow: hidden;
}

.service-providers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e1eaf5 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.section-title-left {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: left;
    margin-bottom: 30px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-title-center {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.providers-box {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

/* Top Tabs */
.providers-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    justify-content: center; /* Center the tabs */
}

.provider-tab {
    font-size: 15px;
    color: #555;
    cursor: pointer;
    padding: 10px 30px;
    text-align: center;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 50px; /* Fully rounded */
}

.provider-tab:hover {
    color: #1890ff;
    background: #e6f7ff;
}

.provider-tab.active {
    background: #1890ff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* Right Content */
.providers-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.provider-card {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Bottom Highlight Line */
.provider-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1890ff, #36cfc9);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

.provider-card:hover::after {
    transform: scaleX(1);
}

.provider-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #f5f5f5;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Decorative ring behind logo */
.provider-logo::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 1px dashed #d9d9d9;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
}

.provider-card:hover .provider-logo {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(24,144,255,0.2);
    border-color: #fff;
}

.provider-card:hover .provider-logo::before {
    opacity: 1;
    transform: scale(1);
    border-color: #91d5ff;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.provider-logo img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    transition: all 0.3s;
    /* Removed grayscale to keep logos colorful and lively */
}

.provider-card:hover .provider-logo img {
    transform: scale(1.1);
}

.provider-info {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
}

.provider-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.provider-card:hover .provider-info h3 {
    color: #1890ff;
}

.provider-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.provider-card:hover .provider-info p {
    color: #666;
}

/* Cross-border Lecture Hall */
.lecture-hall-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.lecture-box {
    background-color: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 4px; /* Optional rounded corners for the whole box */
    overflow: hidden; /* To clip the active card background */
    /* If the user wants a white box container, we might need a border around it? 
       The screenshot shows the standard columns have white bg, active has blue. 
       Let's assume the container itself doesn't have a border, but the standard columns might share a background or separators.
    */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Subtle shadow */
}

.lecture-card {
    height: 240px; /* Adjust height as needed */
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Active Column (Col 1) */
.lecture-card.active {
    background: linear-gradient(135deg, #4facfe 0%, #3d6ef9 100%); /* Blue gradient example */
    background-color: #1890ff; /* Fallback */
    color: #fff;
    /* We need the ship image at the bottom */
}

/* Standard Columns */
.lecture-card:not(.active) {
    background-color: #fff;
    border-right: 1px solid #f0f0f0;
}

.lecture-card:last-child {
    border-right: none;
}

.lecture-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.lecture-card.active h3 {
    color: #fff;
}

.lecture-card:not(.active) h3 {
    color: #333;
}

.lecture-card p {
    font-size: 14px;
    line-height: 1.6;
}

.lecture-card.active p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 80%; /* Prevent text hitting the arrow */
}

.lecture-card:not(.active) p {
    color: #666;
}

/* Images and Icons */
.lecture-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Adjust */
    z-index: 1;
}

.lecture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.lecture-arrow-active {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.2); /* Semi-transparent circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lecture-arrow-active:hover {
    background-color: rgba(255,255,255,0.3);
}

.lecture-arrow-active svg {
    width: 24px;
    height: 24px;
}

.lecture-arrow {
    position: absolute;
    bottom: 30px;
    left: 30px; /* Bottom left as requested */
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.lecture-arrow svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.lecture-card:not(.active):hover .lecture-arrow svg {
    transform: translateX(5px);
    fill: #1890ff; /* Hover color */
}

.lecture-card:not(.active):hover h3 {
    color: #1890ff;
}

/* Policy & News Section */
.news-policy-section {
    padding: 40px 0 60px;
    background-color: #fff;
    margin-top: 20px; /* Separation from previous section */
}

.news-policy-layout {
    display: flex;
    gap: 40px;
    align-items: stretch; /* Make columns equal height */
}

.news-column {
    flex: 1; /* Takes remaining space */
}

.feature-column {
    width: 580px; /* Fixed width for image column (approx half of 1200) */
    flex-shrink: 0;
}

.news-header {
    margin-bottom: 25px;
}

.news-tabs {
    display: flex;
    align-items: baseline;
    gap: 30px;
}

.news-tabs .tab-item {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
    transition: all 0.3s;
}

.news-tabs .tab-item.active {
    font-weight: bold;
    font-size: 24px;
    color: #000;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    border-bottom: 1px dashed #e8e8e8;
    padding: 12px 0;
}

.news-list li:first-child {
    padding-top: 0;
}

.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    width: 100%;
}

.news-link:hover .news-title {
    color: #1890ff;
}

.news-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 40px; /* Space between title and date */
    position: relative;
    padding-left: 15px;
    color: #333;
}

.news-title::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.news-date {
    color: #999;
    font-family: Arial, sans-serif; /* Clean number font */
    flex-shrink: 0;
}

/* Feature Image */
.feature-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 4px;
    overflow: hidden;
}

.feature-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image-box:hover img {
    transform: scale(1.05);
}

.feature-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark bar */
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    backdrop-filter: blur(2px);
}

/* Footer Links Section */
.footer-links-section {
    background-color: #f0f8ff; /* Light blue background */
    padding: 40px 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid #e8e8e8; /* Vertical separator lines */
    padding-left: 30px;
}

.footer-link-col:first-child {
    border-left: none;
    padding-left: 0;
}

.footer-link-col a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-link-col a:hover {
    color: #1890ff;
    font-weight: 500;
}

/* Main Footer Styles */
.main-footer {
    width: 100%;
}

.footer-top {
    background-color: #3d6ef9; /* Blue background */
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

/* Left Column */
.footer-left {
    flex: 2;
    padding-right: 40px;
}

.f-logo-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.f-logo-cn {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.f-logo-en {
    font-size: 12px;
    opacity: 0.8;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

/* Middle Column */
.footer-middle {
    flex: 3;
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.f-nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-nav-col h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.f-nav-col a {
    font-size: 14px;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.f-nav-col a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Right Column */
.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.f-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    background: #fff;
    padding: 6px;
    border-radius: 4px;
}

.f-qr-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 4px;
}

.f-qr-box span {
    color: #333;
    font-size: 12px;
    font-weight: 500;
}

/* Bottom Part */
.footer-bottom {
    background-color: #000000; /* Black */
    color: #999;
    padding: 20px 0;
    font-size: 12px;
}

.footer-bottom-lines {
    text-align: center;
    line-height: 1.8;
}

.footer-bottom-lines p {
    margin: 5px 0;
}

/* --- Customs Declaration Page Styles --- */

.customs-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}



.customs-search-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.customs-search-box {
    display: flex;
    width: 600px;
    height: 50px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.customs-search-input {
    flex: 1;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

.customs-search-btn {
    width: 100px;
    background-color: #3d6ef9; /* Blue match */
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.customs-search-btn:hover {
    background-color: #2b56cc;
}

.customs-hot-keywords {
    margin-top: 15px;
    color: #fff;
    font-size: 14px;
}

.customs-hot-keywords span {
    opacity: 0.9;
}

.customs-hot-keywords a {
    color: #fff;
    margin-left: 10px;
    opacity: 0.9;
    text-decoration: none;
}

.customs-hot-keywords a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Sub Navigation */
.customs-sub-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.sub-nav-container {
    display: flex;
    height: 60px;
    align-items: center;
    gap: 50px;
}

.sub-nav-item {
    font-size: 16px;
    color: #333;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 500;
}

.sub-nav-item.active {
    color: #3d6ef9;
    font-weight: bold;
}

.sub-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3d6ef9;
}

.sub-nav-item:hover {
    color: #3d6ef9;
}

/* Provider List */
.customs-content-section {
    padding-bottom: 60px;
}

.provider-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.provider-list-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.provider-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.provider-card-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.logo-blue {
    background-color: #3d6ef9;
    color: #fff;
}

.logo-white {
    background-color: #fff;
    border: 1px solid #eee;
    color: #333;
}

.provider-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.provider-card-content {
    flex: 1;
}

.provider-card-content h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.provider-card-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    height: 42px; /* Limit height roughly 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.provider-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background-color: #f5f5f5;
    color: #999;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 2px;
}

/* Pagination */
.customs-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.pagination-text {
    margin-right: 10px;
}

.pagination-select {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.pagination-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #3d6ef9;
    color: #3d6ef9;
}

.pagination-btn.active {
    background-color: #3d6ef9;
    border-color: #3d6ef9;
    color: #fff;
}

.pagination-btn:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #ccc;
}

.pagination-goto {
    margin-left: 10px;
}

.pagination-goto input {
    width: 40px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    margin: 0 5px;
    outline: none;
}

.pagination-goto input:focus {
    border-color: #3d6ef9;
}

/* No Data Container */
.no-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    text-align: center;
}

.no-data-container img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.no-data-container p {
    font-size: 14px;
    color: #999;
}

/* --- Detail Page Styles (Activity Operation) --- */

.detail-banner {
    width: 1200px;
    height: 300px;
    background: url('./icon/Home page icon/home pagebanner.png') no-repeat center center/cover;
    /* If you want a different banner for this page, change the URL */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto; /* Center the banner */
}



.detail-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

.detail-content-section {
    padding: 60px 0 100px;
    background-color: #fff;
}

.detail-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.detail-intro {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.detail-image-box {
    width: 500px;
    flex-shrink: 0;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.detail-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Optional overlay text on image if needed to match "营销活动" stylized text in screenshot, 
   but user asked for Left Image, Right Text structure. 
   The screenshot shows "营销活动" written on the image. 
   We'll assume the image itself contains the text or we can overlay it. 
   For now, simple image is fine. */

.detail-text-box {
    flex: 1;
}

.detail-text-box p {
    font-size: 16px;
    color: #333;
    line-height: 2;
    text-align: justify;
    margin: 0;
}


/* Show dropdown menu on hover for main nav items */
.main-nav li:hover .dropdown-menu {
    display: block;
}

/* Consulting Page Styles */
.consulting-news-list {
    list-style: none;
    padding: 0;
}

.consulting-news-list li {
    border-bottom: 1px dashed #eee;
    padding: 25px 0;
}

.consulting-news-list li:first-child {
    padding-top: 0;
}

.news-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.consulting-news-list .news-title {
    font-size: 16px;
    color: #3d6ef9;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    margin-right: 20px;
    line-height: 1.4;
}

.consulting-news-list .news-title:hover {
    text-decoration: underline;
    color: #2b56cc;
}

.consulting-news-list .news-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    margin-top: 2px;
}

.news-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

.sidebar-header-box {
    background-color: #3d6ef9;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 2px;
}

/* Override/Adjust guide sidebar active state for this page if needed */
.guide-menu-item.active-blue-bg {
    background-color: #e6f0ff;
    color: #3d6ef9;
    font-weight: bold;
}
/* Sea Freight Booking Page Styles */
.sea-freight-banner {
    width: 100%;
    height: 350px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://placehold.co/1920x350/4a90e2/ffffff?text=Sea+Freight+Banner') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sea-freight-search-container {
    width: 1200px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.sea-freight-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 4px;
    padding: 0 15px;
    height: 50px;
    flex: 1;
    min-width: 0;
}

.sea-freight-input-group.large {
    flex: 1.5;
}

.sea-freight-input-group svg {
    color: #999;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.sea-freight-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #333;
}

.sea-freight-input::placeholder {
    color: #999;
}

.sea-freight-search-btn {
    background-color: #3d6ef9;
    color: #fff;
    border: none;
    padding: 0 40px;
    height: 50px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.sea-freight-search-btn:hover {
    background-color: #2b56cc;
}

.sea-freight-map-section {
    background-color: #f0f2f5;
    padding: 60px 0;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
}

.sea-freight-map-placeholder {
    width: 1000px;
    height: 500px;
    background: url('https://placehold.co/1000x500/e6f7ff/3d6ef9?text=World+Map+Pattern') no-repeat center center;
    background-size: contain;
    opacity: 0.6;
}
