﻿@charset "utf-8";

img {
    max-width: 100%;
}

/* 确保图片展示模块的宽度不受通用样式影响 */
.image-gallery img {
    width: 100% !important;
    max-width: none !important;
}

.flex-1 {
    flex: 1;
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex {
    display: flex;
}

body {
    min-width: 1300px;
    font-size: 14px;
    color: #000000;
}

a {
    color: #000000;
}

    a:hover {
        color: #1e40af;
    }

div,
p {
    font-size: 16px;
}

img {
    max-width: 100%;
}

/* 确保图片展示模块的宽度不受通用样式影响 */
.image-gallery img {
    width: 100% !important;
    max-width: none !important;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

/* 海图平台项目三期 */

/* 通用容器 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 1400px) {
    .container {
        width: 1400px;
    }
}

/* 头部区域 */
.header {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: url(../images/banner.jpg) center no-repeat;
    background-size: cover;
    padding: 0px 0 0px;
    height: 160px;
    border-bottom: 4px solid #1e51b0;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-weight: bold;
    color: #1e3a8a;
    line-height: 1;
}

    .header .main-title {
        font-size: 44px;
        margin-bottom: 10px;
        position: relative;
        color: #1e3a8a;
        letter-spacing: 8px;
        z-index: 1;
    }

    .header .sub-title {
        font-size: 18px;
        text-transform: uppercase;
        color: #1e3a8a;
        letter-spacing: 2px;
        position: relative;
        z-index: 1;
    }

/* 世界地图区域 */
.world-map-section {
    padding: 15px 0 15px 0;
    background: #f7faff;
}

.map-container {
    position: relative;
    text-align: center;
}

.world-map {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
}

.map-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .map-background::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, #d1d5db 2px, transparent 2px), radial-gradient(circle at 80% 30%, #d1d5db 1px, transparent 1px), radial-gradient(circle at 40% 60%, #d1d5db 1.5px, transparent 1.5px), radial-gradient(circle at 70% 70%, #d1d5db 1px, transparent 1px);
        background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px;
        opacity: 0.6;
    }

.country-label {
    position: absolute;
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ocean-label {
    position: absolute;
    bottom: 30%;
    right: 20%;
    font-size: 16px;
    color: #1e40af;
    font-weight: bold;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.blue-bar {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

    .blue-bar span {
        font-size: 18px;
        font-weight: 500;
    }

/* 使用方法区域 */
.usage-section {
	// padding: 80px 0 0 0;
	padding: 0;
	background: #f7faff;
}

.usage-section .container {
    background: url(../images/style-bg.png) center no-repeat;
    background-size: cover;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-btn {
    position: absolute;
    right: 0;
    font-size: 16px;
    background-color: #1e51b0;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
	margin-right: 30px;
	margin-top: -25px;
}

    .more-btn:hover {
        background-color: #1e40af;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.bullet {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 614px;
    height: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

    .bullet:first-child {
        left: 0;
        background-image: url(../images/line1.png);
    }

    .bullet:last-child {
        right: 0;
        background-image: url(../images/line2.png);
    }

.steps-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 auto;
    height: 300px;
}

.step-line {
    width: 100%;
    background: url(../images/line-big.png) no-repeat;
    height: 42px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.step .step-circle {
    font-size: 24px;
    display: inline-flex;
    height: 24px;
    align-items: center;
}

.step .step-text {
    color: #6a788a;
    display: inline-flex;
    height: 24px;
    align-items: center;
}

.step {
    position: relative;
    z-index: 3;
    display: inline-flex;
    background-repeat: no-repeat;
    background-position: 0 0;
    height: 150px;
    gap: 10px;
    padding-top: 0px;
    padding-left: 100px;
}

.step-odd {
    top: -20px;
    background-image: url(../images/dot-down.png);
}

.step-even {
    top: 20px;
    align-items: flex-end;
    background-image: url(../images/dot-up.png);
}

/* 服务咨询区域 */
.consultation-section {
    padding: 80px 0;
    background: url(../images/z-bg.png) center no-repeat;
    background-size: cover;
}

/* 数据要素区域 */
.data-elements-section {
	background: #f7faff
}

.consultation-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.email-info {
    font-size: 18px;
    color: #1e40af;
    margin-top: 10px;
}

    .email-info a {
        color: #1e40af;
        font-size: 18px;
        text-decoration: none;
        font-weight: 500;
    }

    .email-info .iconfont {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin-right: 10px;
        background: #1e40af;
        color: #fff;
        border-radius: 50%;
    }

    .email-info a:hover {
        color: #3b82f6;
        text-decoration: underline;
    }

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border-radius: 50%;
    margin-left: 30px;
    position: relative;
}

    .support-icon::before {
        content: "💻";
        font-size: 30px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* 服务内容区域 */
.service-content-section {
    padding: 80px 0;
    background: #f7faff;
}

/* 海图服务展示模块 - 三列布局 */
.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    max-width: 100%;
}

.image-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.image-item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

.thumbnail-map {
    width: 100%;
    height: 180px;
    border: 1px solid #dfe6ec;
    position: relative;
    background: #ecf0f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .thumbnail-map:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .thumbnail-map img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.view-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    //justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    width: 100%;
    height: 60px;
    opacity: 1;
    //transition: opacity 0.3s ease;
}

/*
.thumbnail-map:hover .view-text {
    opacity: 1;
}
*/

/* 响应式设计 - 三列布局 */
@media (max-width: 1200px) {
    .image-row {
        gap: 15px;
    }

    .image-item {
        flex: 0 0 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
    }

    .thumbnail-map {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .image-row {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }

    .image-item {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .thumbnail-map {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .image-item {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .thumbnail-map {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .image-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .thumbnail-map {
        height: 180px;
    }
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chart-api-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
}

    .chart-api-icon::before {
        content: "🗺️";
    }

.web-api-icon {
    background: linear-gradient(135deg, #e0f2fe 0%, #81d4fa 100%);
}

    .web-api-icon::before {
        content: "🌐";
    }

.data-elements-icon {
    background: linear-gradient(135deg, #f3e8ff 0%, #c4b5fd 100%);
}

    .data-elements-icon::before {
        content: "📊";
    }

.card-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #2e3a48;
    font-weight: 600;
    margin-bottom: 45px;
}
/* 
.card-title::after{
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: #D5D5D5;
	width: 100%;
	height: 1px;
} */

.service-list {
    text-align: left;
}

    .service-list.two-columns {
        column-count: 2;
        column-gap: 20px;
        break-inside: avoid;
    }

        .service-list.two-columns li {
            break-inside: avoid;
            page-break-inside: avoid;
        }

    .service-list li {
        font-size: 16px;
        color: #6a788a;
        margin-bottom: 12px;
        /* padding-left: 40px; */
        position: relative;
    }

        .service-list li a:hover {
            color: #1e51b0;
        }

/* 页脚区域 */
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #21242e;
    color: #bcc2ce;
    height: 172px;
    text-align: center;
}

.copyright {
    margin-bottom: 10px;
}

    .copyright p {
        color: #bcc2ce;
    }
/* <!-- 子页 --> */

/* 子页样式 - 海图API页面 */
.sub-page {
    background: #f5f7fa;
    min-height: 100vh;
}

/* 导航区域 */
.sub-page-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0px 4px 15px 1px rgba(30, 81, 176, 0.2);
    padding: 15px 0;
}

    .sub-page-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.nav-left {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
}

    .nav-left .iconfont {
        color: #1e51b0;
    }

    .nav-left a {
        color: #6b7280;
    }

.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1e51b0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236b7280"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg>');
}

.back-home {
    color: #1e51b0;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* 主要内容区域 */
.sub-page-main {
    padding: 30px 0;
}

    .sub-page-main .container {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

/* 主要内容 */
.main-content {
    background: #ffffff;
    border: 1px solid #d5d5d5;
    padding: 40px 0;
}

.service-intro h2,
.service-list-section h2 {
    color: #1e51b0;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.bs-content {
    background: #fbfbfb;
    border: 1px solid #ececec;
    color: #6a788a;
    padding: 15px 20px;
    line-height: 2;
}

    .bs-content p {
        margin-bottom: 10px;
    }

        .bs-content p:last-child {
            margin-bottom: 0;
        }

.intro-title {
    position: relative;
    padding-left: 10px;
}

    .intro-title::before {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        content: "";
        width: 4px;
        height: 18px;
        background: #1e51b0;
    }

.service-list-section,
.service-intro {
    margin-bottom: 30px;
    margin-left: 40px;
    margin-right: 40px;
}

    .service-intro p {
        line-height: 1.6;
    }

/* 服务表格 */
.service-table {
    border: 1px solid #dfe6ec;
    overflow: hidden;
}

.table-header {
    display: flex;
    background: #ecf0f9;
    height: 50px;
    border-bottom: 1px solid #dfe6ec;
}

    .table-header > div {
        padding: 15px 20px;
        font-weight: 600;
        color: #374151;
        border-right: 1px solid #dfe6ec;
    }

        .table-header > div:last-child {
            border-right: none;
        }

.table-row {
    display: flex;
    border-bottom: 1px solid #dfe6ec;
}

    .table-row:last-child {
        /* border-bottom: none; */
    }

    .table-row > div {
        padding: 20px 15px;
        border-right: 1px solid #dfe6ec;
        display: flex;
        align-items: center;
        position: relative;
    }

        .table-row > div:last-child {
            border-right: none;
        }

.col-thumbnail {
    width: 168px;
    justify-content: center;
}

.col-name {
    color: #374151;
    width: 200px;
    font-size: 14px;
}

.table-row .col-url {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #6a788a;
    font-size: 14px;
}

.col-url a {
    color: #6a788a;
    font-size: 14px;
}

/* 缩略图样式 */
.thumbnail-map {
    position: relative;
    width: 100%;
    height: 238px;
    border: 1px solid #dfe6ec;
    position: relative;
    background: #ecf0f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .thumbnail-map img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    width: 356px;
    gap: 20px;
}

.sidebar-section {
    background: #ffffff;
    border: 1px solid #d5d5d5;
    padding: 20px;
    margin-bottom: 30px;
}

    .sidebar-section .section-header {
        position: relative;
        display: flex;
        align-items: center;
        padding-bottom: 20px;
        margin-bottom: 20px;
        gap: 10px;
    }

        .sidebar-section .section-header::before {
            content: "";
            background: #d5d5d5;
            height: 1px;
            position: absolute;
            width: 100%;
            left: 0;
            bottom: 0;
        }

        .sidebar-section .section-header::after {
            content: "";
            background: #1e51b0;
            height: 1px;
            position: absolute;
            width: 50%;
            left: 0;
            bottom: 0;
        }

.section-header h3 {
    color: #1e51b0;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.section-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}

.map-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231e51b0"><path d="M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z"/></svg>');
}

.wave-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231e51b0"><path d="M12 2c-5.33 4.55-8 8.48-8 11.8 0 4.98 3.8 8.2 8 8.2s8-3.22 8-8.2c0-3.32-2.67-7.25-8-11.8z"/></svg>');
}

.database-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231e51b0"><path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>');
}

.gear-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231e51b0"><path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.43-0.17,0.47-0.41l0.36-2.54c0.5-0.24,1.03-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/></svg>');
}

.sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 40px;
}

    .sidebar-links a {
        color: #6a788a;
        text-decoration: none;
        font-size: 14px;
        display: block;
        padding: 6px 0;
        transition: color 0.2s;
    }

        .sidebar-links a:hover {
            color: #1e51b0;
        }

/* 数据要素网格 */
.data-elements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 20px;
}
/* .data-elements a {
  color: #6a788a;
} */

.element-item {
    font-size: 12px;
    padding: 0 8px;
    border-radius: 4px;
    text-align: center;
	white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .sub-page-main .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .sub-page-nav .container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .service-table {
        font-size: 14px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 100px 1fr 1fr;
    }

    .col-thumbnail {
        padding: 15px 10px;
    }

    .thumbnail-map {
        width: 60px;
        height: 45px;
    }

    .view-text {
        font-size: 10px;
        padding: 2px 6px;
    }
}

.main-title {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 24px;
    color: #2e3a48;
    margin-bottom: 30px;
    margin-left: 40px;
}

.service-echart {
    margin-bottom: 30px;
}

    .service-echart img {
        width: 100%;
    }

.intro-sub-title {
    position: relative;
    padding-left: 20px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 20px;
    color: #2e3a48 !important;
}

    .intro-sub-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        background: #2e3a48;
        border-radius: 50%;
    }

.table-ht-scroll {
    max-height: 240px;
    overflow: hidden;
    overflow-y: auto;
}
    /* 确保表格在滚动容器中正常显示 */
    .table-ht-scroll .table {
        margin-bottom: 0;
    }

    .table-ht-scroll tbody tr {
        height: 40px;
    }

    .table-ht-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .table-ht-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .table-ht-scroll::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .table-ht-scroll::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* 确保表头固定 */
.service-intro .table:first-child {
    margin-bottom: 0;
}

.pdf-hd {
    line-height: 1;
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 14px;
    color: #6a788a;
    padding: 10px 20px;
    border-bottom: 1px solid #dfe6ec;
}

.pdf-main img {
    width: 100%;
}

.pdf-main {
    width: calc(100% - 100px);
    margin: 0 auto;
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 1px solid #dfe6ec;
    height: 750px;
    display: flex;
    background-color: #f3f4f5;
}

.pdf-aside {
    width: 205px;
    border-right: 1px solid #dfe6ec;
}

/* 代码 */
.code-aside {
    background-color: #ffffff;
    border-right: 1px solid #dfe6ec;
    /* position: absolute;
  left: 0; */
    height: 100%;
    width: 420px;
    z-index: 99;
    transition: all 0.3s ease;
}

    .code-aside.is-collapsed {
        left: -420px;
    }

.mapboxgl-box {
    width: 100%;
}

    .mapboxgl-box img {
        width: 100%;
    }

.aside-arrow {
    width: 20px;
    height: 80px;
    background-color: #dfe6ec;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

    .aside-arrow.is-active {
        transform: translateY(-50%) rotate(180deg);
        right: -20px;
    }

.banner-index .banner-pagination {
    text-align: right;
    padding: 0 20px;
    bottom: 40px;
}

    .banner-index .banner-pagination .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        border-radius: 16px;
    }

    .banner-index .banner-pagination .swiper-pagination-bullet-active {
        width: 40px;
    }

.subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.editor-container {
    display: flex;
    min-height: 500px;
}

@media (max-width: 768px) {
    .editor-container {
        flex-direction: column;
    }
}

.input-section,
.output-section {
    height: 100%;
    flex: 1;
    padding: 20px;
}

.input-section {
    border-right: 1px solid #eee;
    background: #f9f9f9;
}

.section-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.code-input {
    width: 100%;
    height: 85%;
    padding: 15px;
    border: 0;
    border-radius: 5px;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    outline: none;
    tab-size: 4;
    margin-bottom: 15px;
}

.button-container {
    display: flex;
    gap: 10px;
}

.reset_btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background: #e74c3c;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

    .reset_btn:hover {
        background: #c0392b;
    }

.output-section {
    display: flex;
    flex-direction: column;
}

.preview_info {
    flex: 1;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    overflow-y: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.option-item {
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

dt {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

    dt code {
        background: #f8f9fa;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: "Consolas", monospace;
    }

dd {
    margin-left: 0;
    margin-bottom: 10px;
    color: #555;
}

.default-value {
    display: inline-block;
    background: #e8f4fc;
    color: #3498db;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 5px;
    font-family: "Consolas", monospace;
}

.code-block {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 12px;
    border-radius: 5px;
    margin: 10px 0;
    overflow-x: auto;
    font-family: "Consolas", monospace;
    font-size: 0.9rem;
}

.preview-frame {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.run_btn {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

    .run_btn:hover {
        background-color: #005a87;
    }

.reset_btn {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

    .reset_btn:hover {
        background-color: #e1e1e1;
    }

.button-container {
    margin-top: 15px;
}

/* .sidebar {
            width: 280px;
            flex-shrink: 0;
        } */

/* 侧边栏 */
.sidebar-section {
    /* background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 25px;
            overflow: hidden; */
}

.section-header {
    /* background: #2c3e50; */
    /* color: white; */
    /* padding: 15px; */
    /* display: flex;
            align-items: center;
            font-weight: bold; */
}

    .section-header img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

.sidebar-links {
    list-style: none;
    /* padding: 15px; */
}

    .sidebar-links li {
        margin-bottom: 12px;
    }

    .sidebar-links a {
        color: #34495e;
        text-decoration: none;
        display: block;
        /* padding: 10px 15px; */
        border-radius: 4px;
        transition: all 0.3s;
        position: relative;
    }

        .sidebar-links a:hover {
            background: #e3f2fd;
            color: #2196f3;
        }

        .sidebar-links a.active {
            background: #2196f3;
            color: white;
            padding-left: 20px;
        }

            .sidebar-links a.active:before {
                content: "";
                position: absolute;
                left: 10px;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 16px;
                background: white;
                border-radius: 2px;
            }

/* 数据要素 */
/* .data-elements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 15px;
} */

/* .element-item {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  transition: all 0.3s;
} */

.element-item a {
    display: block;
    /* padding: 10px; */
    text-align: center;
    color: #495057;
    text-decoration: none;
}

/*
.element-item:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}
*/

.element-item.active {
    background: #2196f3;
    border-color: #1976d2;
}

    .element-item.active a {
        color: white;
    }

/* 内容区域 */
.intro-title {
    color: #2c3e50;
    margin-bottom: 20px;
    /* padding-bottom: 15px; */
    border-bottom: 2px solid #3498db;
    font-size: 1.8rem;
}

.bs-content {
    margin-bottom: 30px;
}

    .bs-content p {
        margin-bottom: 15px;
        line-height: 1.8;
    }

/* 服务表格 */
.service-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.table-header {
    display: flex;
    /* background: #2c3e50; */
    color: white;
    font-weight: bold;
}

.col-thumbnail {
    width: 150px;
    padding: 15px;
}

.col-name {
    width: 200px;
    padding: 15px;
}

.col-url {
    flex: 1;
    padding: 15px;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: white;
    transition: background 0.3s;
}

    .table-row:hover {
        background: #f8f9fa;
    }

    .table-row:last-child {
        /* border-bottom: none; */
    }

.thumbnail-map {
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

    .thumbnail-map img {
        width: 100%;
        object-fit: cover;
        display: block;
    }

.url-item {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #3498db;
}

    .url-item p {
        color: #2c3e50;
        text-decoration: none;
        word-break: break-all;
        font-size: 0.9rem;
        margin: 0;
    }

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 25px 0;
    text-align: center;
}

.copyright,
.address {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .sub-page-main .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .table-header,
    .table-row {
        flex-direction: column;
    }

    .col-thumbnail,
    .col-name,
    .col-url {
        width: 100%;
    }
}

/* 内容区域样式 */
.content-section {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

    .content-section.active {
        display: block;
        animation: fadeIn 0.5s;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.content-title {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.content-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #3498db;
}

    .content-item h3 {
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .content-item p {
        color: #7f8c8d;
        line-height: 1.6;
    }

.col-name-column {
    width: 200px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .col-name-column .col-vname {
        width: 100%;
        height: 50%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 14px;
        color: #374151;
        padding: 0 !important;
    }

.cut_line {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    position: absolute;
    left: 0;
    top: 50%;
}

/* 图片轮播模块 */
.image-carousel-section {
    margin: 40px 0;
}

.image-carousel-container {
    position: relative;
    max-width: 100%;
    /*margin: 0 10px 0 10px;*/
    margin: 0;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 10px 0;
}

.carousel-item {
    flex: 0 0 calc(20% - 15px);
    min-width: 150px;
    text-align: center;
}

    .carousel-item .thumbnail-map {
        width: 100%;
        height: 150px;
        border: 1px solid #dfe6ec;
        position: relative;
        background: #ecf0f9;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .carousel-item .thumbnail-map:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .carousel-item .thumbnail-map img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
		
	.carousel-item .view-text {
		display: none;
	}
/*
    .carousel-item .view-text {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        font-size: 12px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.7);
        padding: 4px 8px;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .carousel-item .thumbnail-map:hover .view-text {
        opacity: 1;
    }
*/
.image-title {
    margin-top: 10px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 81, 176, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .carousel-btn:hover {
        background: rgba(30, 81, 176, 1);
    }

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 13.33px);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 10px);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 calc(100% - 10px);
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

    .modal.show {
        display: block;
    }

/* 模态框打开时的body样式 */
body.modal-open {
    overflow: hidden;
}

.modal-dialog-1200 {
    max-width: 1200px;
    margin: 50px auto;
    position: relative;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 800px;
    margin: 50px auto;
    position: relative;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #1e40af;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #1e51b0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

    .close:hover {
        color: #374151;
    }

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

    .close-btn:hover {
        color: #374151;
    }

.modal-body {
    padding: 20px;
}

.modal-photo {
    text-align: center;
}

    .modal-photo img,
    .modal-img {
        width: 100%;
        max-height: 600px;
        object-fit: contain;
        border-radius: 4px;
        display: block;
        margin: 0 auto;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-dialog-1200 {
        margin: 20px auto;
        max-width: 95%;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-photo img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 10px 15px;
    }

    .modal-title {
        font-size: 16px;
    }

    .modal-body {
        padding: 10px;
    }

    .modal-photo img {
        max-height: 300px;
    }
}

/* 服务内容区域图片布局 */
.service-image-layout {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: flex-start;
}

.large-image-container {
    flex: 0 0 400px;
}

    .large-image-container .thumbnail-map {
        width: 400px;
        height: 390px;
        border: 1px solid #dfe6ec;
        position: relative;
        background: #ecf0f9;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .large-image-container .thumbnail-map:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .large-image-container .thumbnail-map img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

.small-image-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}

    .small-image-grid .grid-item {
        width: 100%;
    }

    .small-image-grid .thumbnail-map {
        width: 100%;
        height: 180px;
        border: 1px solid #dfe6ec;
        position: relative;
        background: #ecf0f9;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .small-image-grid .thumbnail-map:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .small-image-grid .thumbnail-map img {
            width: 100%;
            height: 100%;
        }

/* 响应式设计 */
@media (max-width: 1200px) {
    .service-image-layout {
        flex-direction: column;
    }

    .large-image-container {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }

        .large-image-container .thumbnail-map {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

    .small-image-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .small-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }

        .small-image-grid .thumbnail-map {
            height: 150px;
        }
}
