/* ========================================
   esender.com.cn - 全局样式表
   成都艺馨达科技有限公司官网
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 12px;
    color: #333;
    background: #f2f3f7;
    line-height: 1.6;
    min-width: 1200px;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #2cac9a;
}

ul, ol {
    list-style: none;
}

img {
    border: 0;
    vertical-align: middle;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ---------- Header ---------- */
.header {
    height: 85px;
    background: #fff;
    border-bottom: 1px solid #dbdbdb;
}

.header-inner {
    width: 1200px;
    margin: 0 auto;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 85px;
}

.header-logo .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.header-logo .logo-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.header-logo .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-logo .logo-text .brand {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
}

.header-logo .logo-text .company {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    height: 85px;
}

.header-nav a {
    display: flex;
    align-items: center;
    height: 85px;
    padding: 0 18px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
    color: #2cac9a;
    border-bottom-color: #2cac9a;
}

/* ---------- Banner Carousel ---------- */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #1a2a3a;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide .slide-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-slide .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    text-align: center;
    color: #fff;
}

.slide-content .slide-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.slide-content .slide-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.slide-content .slide-subtitle {
    font-size: 16px;
    opacity: 0.7;
    letter-spacing: 2px;
}

/* Banner Controls */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 28px;
    line-height: 80px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    user-select: none;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.banner-arrow.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.banner-arrow.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dots .dot.active {
    background: #2cac9a;
}

/* ---------- Main Content Area ---------- */
.main {
    width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

/* Two-column Layout (Homepage) */
.content-two-col {
    display: flex;
    gap: 40px;
}

.content-left {
    width: 380px;
    flex-shrink: 0;
}

.content-right {
    flex: 1;
}

/* ---------- Section Block ---------- */
.section {
    background: #fff;
    border: 1px solid #dbdbdb;
    margin-bottom: 30px;
}

.section-header {
    padding: 15px 20px;
    border-bottom: 1px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding-left: 12px;
    border-left: 3px solid #2cac9a;
}

.section-more {
    font-size: 12px;
    color: #9a9a9a;
}

.section-more:hover {
    color: #2cac9a;
}

.section-body {
    padding: 20px;
}

/* ---------- News List (Homepage style) ---------- */
.news-list-home .news-item {
    padding: 15px 0;
    border-bottom: 1px dashed #dbdbdb;
}

.news-list-home .news-item:last-child {
    border-bottom: none;
}

.news-list-home .news-item .news-thumb {
    float: left;
    width: 120px;
    height: 80px;
    margin-right: 15px;
    background: #e8e8e8;
    overflow: hidden;
}

.news-list-home .news-item .news-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2cac9a 0%, #1a8a7a 100%);
    color: #fff;
    font-size: 12px;
}

.news-list-home .news-item .news-info {
    overflow: hidden;
}

.news-list-home .news-item .news-info h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-list-home .news-item .news-info h4 a:hover {
    color: #2cac9a;
}

.news-list-home .news-item .news-info p {
    font-size: 12px;
    color: #9a9a9a;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-home .news-item .news-info .news-date {
    font-size: 12px;
    color: #9a9a9a;
    margin-top: 5px;
}

/* Industry news with full image */
.news-item-featured .news-thumb {
    width: 100%;
    height: 180px;
    float: none;
    margin-right: 0;
    margin-bottom: 12px;
}

.news-item-featured .news-info {
    overflow: visible;
}

/* ---------- News List Page ---------- */
.news-tabs {
    display: flex;
    border-bottom: 2px solid #2cac9a;
    margin-bottom: 20px;
}

.news-tabs .tab-item {
    padding: 10px 25px;
    font-size: 14px;
    cursor: pointer;
    background: #e8e8e8;
    border: 1px solid #dbdbdb;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s;
}

.news-tabs .tab-item.active {
    background: #2cac9a;
    color: #fff;
    border-color: #2cac9a;
}

.news-tabs .tab-item:hover:not(.active) {
    background: #f0f0f0;
}

.news-list-page .news-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px dashed #dbdbdb;
    gap: 20px;
}

.news-list-page .news-row .news-thumb {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    background: #e8e8e8;
    overflow: hidden;
}

.news-list-page .news-row .news-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2cac9a 0%, #1a8a7a 100%);
    color: #fff;
    font-size: 14px;
}

.news-list-page .news-row .news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-page .news-row .news-info h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-list-page .news-row .news-info h4 a:hover {
    color: #2cac9a;
}

.news-list-page .news-row .news-info p {
    font-size: 13px;
    color: #9a9a9a;
    line-height: 1.8;
    flex: 1;
}

.news-list-page .news-row .news-info .news-date {
    font-size: 12px;
    color: #9a9a9a;
}

/* ---------- Sidebar Navigation (sub pages) ---------- */
.subpage-layout {
    display: flex;
    gap: 30px;
}

.subpage-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.subpage-sidebar .sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #2cac9a;
    padding: 14px 20px;
    text-align: center;
}

.subpage-sidebar .sidebar-nav {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-top: none;
}

.subpage-sidebar .sidebar-nav a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.subpage-sidebar .sidebar-nav a:hover,
.subpage-sidebar .sidebar-nav a.active {
    color: #2cac9a;
    background: #f5fafa;
}

.subpage-sidebar .sidebar-nav a:last-child {
    border-bottom: none;
}

.subpage-content {
    flex: 1;
    background: #fff;
    border: 1px solid #dbdbdb;
    padding: 30px;
    min-height: 500px;
}

/* ---------- About Page ---------- */
.about-content h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.about-content .about-url {
    font-size: 13px;
    color: #9a9a9a;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
    text-indent: 2em;
}

/* ---------- Business / Contact Page ---------- */
.info-section {
    margin-bottom: 30px;
}

.info-section h3 {
    font-size: 16px;
    font-weight: bold;
    color: #2cac9a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.info-section p {
    font-size: 14px;
    color: #555;
    line-height: 2;
}

.info-section .info-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.info-section .info-row .info-label {
    width: 80px;
    flex-shrink: 0;
    color: #666;
}

/* Map placeholder */
.contact-map {
    width: 100%;
    height: 350px;
    background: #f5f0e8;
    border: 1px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.contact-map .map-inner {
    text-align: center;
    color: #999;
}

.contact-map .map-inner .map-dot {
    width: 20px;
    height: 20px;
    background: #e74c3c;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(231, 76, 60, 0); }
}

.contact-map .map-inner p {
    font-size: 14px;
    color: #666;
}

/* ---------- Recruit Page ---------- */
.job-card {
    border: 1px solid #dbdbdb;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.job-card .job-title {
    font-size: 16px;
    font-weight: bold;
    color: #2cac9a;
    padding-left: 12px;
    border-left: 3px solid #2cac9a;
    margin-bottom: 15px;
}

.job-card .job-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.job-card .job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-card .job-section {
    margin-bottom: 15px;
}

.job-card .job-section h5 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.job-card .job-section ul {
    padding-left: 20px;
}

.job-card .job-section ul li {
    font-size: 13px;
    color: #555;
    line-height: 2;
    list-style: decimal;
}

.job-card .job-apply {
    position: absolute;
    right: 25px;
    bottom: 25px;
    padding: 8px 25px;
    background: #2cac9a;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
}

.job-card .job-apply:hover {
    background: #249488;
}

/* ---------- Custody Page ---------- */
.custody-banner {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #87CEEB 0%, #98FB98 50%, #90EE90 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.custody-banner .banner-tree {
    position: absolute;
    left: 100px;
    bottom: 0;
    font-size: 120px;
    opacity: 0.6;
}

.custody-banner .banner-birds {
    position: absolute;
    right: 150px;
    top: 40px;
    font-size: 40px;
    opacity: 0.7;
}

.custody-banner .banner-text {
    text-align: center;
    z-index: 1;
}

.custody-banner .banner-text h2 {
    font-size: 28px;
    font-weight: bold;
    color: #1a3a5c;
    margin-bottom: 8px;
}

.custody-banner .banner-text p {
    font-size: 15px;
    color: #3a5a7c;
}

.custody-content {
    padding: 30px;
}

.custody-content h3 {
    font-size: 16px;
    color: #2cac9a;
    margin-bottom: 15px;
}

.custody-content p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
    text-indent: 2em;
}

.custody-content .expand-link {
    display: inline-block;
    color: #2cac9a;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
}

/* Custody service form */
.service-form {
    max-width: 600px;
}

.service-form .form-group {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.service-form .form-group label {
    width: 120px;
    font-size: 14px;
    color: #555;
    text-align: right;
    padding-right: 12px;
}

.service-form .form-group input,
.service-form .form-group textarea,
.service-form .form-group select {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.service-form .form-group input:focus,
.service-form .form-group textarea:focus,
.service-form .form-group select:focus {
    border-color: #2cac9a;
}

.service-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.service-form .form-submit {
    margin-left: 132px;
    padding: 10px 40px;
    background: #2cac9a;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
}

.service-form .form-submit:hover {
    background: #249488;
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 30px 0 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #dbdbdb;
    background: #fff;
    color: #333;
    font-size: 13px;
    border-radius: 3px;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #2cac9a;
    color: #fff;
    border-color: #2cac9a;
}

.pagination a.active {
    background: #2cac9a;
    color: #fff;
    border-color: #2cac9a;
}

.pagination .disabled {
    color: #ccc;
    cursor: default;
}

/* ---------- News Detail Page ---------- */
.news-detail {
    background: #fff;
    border: 1px solid #dbdbdb;
    padding: 30px 40px;
}

.news-detail .detail-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-detail .detail-meta {
    text-align: center;
    font-size: 12px;
    color: #9a9a9a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #dbdbdb;
}

.news-detail .detail-body {
    font-size: 14px;
    color: #555;
    line-height: 2;
}

.news-detail .detail-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.news-detail .detail-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dbdbdb;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.news-detail .detail-nav a {
    color: #555;
}

.news-detail .detail-nav a:hover {
    color: #2cac9a;
}

/* ---------- Legal Pages ---------- */
.legal-page {
    background: #fff;
    border: 1px solid #dbdbdb;
    padding: 40px 50px;
    min-height: 500px;
}

.legal-page h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.legal-page h3 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px;
}

.legal-page p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin-bottom: 12px;
    text-indent: 2em;
}

/* ---------- Footer ---------- */
.footer {
    background: #fff;
    border-top: 1px solid #dbdbdb;
    padding: 35px 0 0;
}

.footer-inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2cac9a;
    display: inline-block;
}

.footer-col .footer-links {
    clear: both;
}

.footer-col .footer-links a {
    display: block;
    font-size: 12px;
    color: #666;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col .footer-links a:hover {
    color: #2cac9a;
}

.footer-col p {
    font-size: 12px;
    color: #666;
    line-height: 2;
}

.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #9a9a9a;
    line-height: 2;
}

.footer-bottom a {
    color: #9a9a9a;
}

.footer-bottom a:hover {
    color: #2cac9a;
}

/* ---------- Page Title Bar ---------- */
.page-title-bar {
    background: #fff;
    border-bottom: 1px solid #dbdbdb;
    padding: 20px 0;
}

.page-title-bar .title-inner {
    width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
}

.page-title-bar .title-inner span {
    color: #2cac9a;
}

/* ---------- Responsive helpers ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt20 { margin-top: 20px; }
.mb20 { margin-bottom: 20px; }
