:root {
    --primary: #0b5e9e;
    --primary-dark: #08467a;
    --primary-light: #eef4fc;
    --accent: #e17a2a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --transition-fast: 150ms ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', Roboto, sans-serif;
    background: linear-gradient(145deg, #f9fbfd 0%, #f1f5f9 100%);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: var(--gray-900);
}

/* Banner 区域 */
.top {
    display: flex;
    justify-content: center;
}

.top .xzfy_banner {
    position: relative;
    max-width: 1400px;
    /* 略微增加最大宽度，让左侧图片更舒展 */
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, #083d6e 0%, #0b5e9e 100%);
    min-height: 220px;
    display: flex;
    align-items: center;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    margin-bottom: 2rem;
    background-image: url(//www.szgm.gov.cn/imagegm/xzfy_banner.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.banner-accessibility-btn {
    position: absolute;
    right: 15rem;
    top: 1rem;
    font-size: 0.9rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    z-index: 10;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: inline-block;
    border: none;
}

.banner-accessibility-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 主容器网格布局 - 右侧宽度缩小，左侧获得更多空间 */
.container-modern {
    max-width: 1400px;
    /* 与banner保持一致 */
    margin: 0 auto;
    /* padding: 0 1rem 1rem; */
    display: grid;
    grid-template-columns: 1fr 0.6fr;    
    gap: 2rem;
}

@media (max-width: 1000px) {
    .container-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem 1.5rem;
    }
}

/* 卡片公用 */
.modern-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
}

.modern-card:hover {
    box-shadow: var(--shadow-lg);
}

/* 流程图 */
.flowchart-wrapper {
    padding: 1rem;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.flowchart-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* 常见问题 */
.common-questions-section {
    padding: 1.2rem 1.5rem 1.8rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.section-title a {
    text-decoration: none;
    color: var(--gray-900);
    transition: color var(--transition-fast);
}

.section-title a:hover {
    color: var(--primary);
}

.modern-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.modern-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.modern-list li a {
    text-decoration: none;
    color: var(--gray-700);
    transition: color var(--transition-fast);
    border-bottom: 1px dashed transparent;
}

.modern-list li a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.list-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--primary);
}

/* Tab 选项卡 */
.modern-tab {
    margin-bottom: 1.5rem;
    background: white;
}

.tab_title ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.tab_title li {
    padding: 1rem 1.8rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
}

.tab_title li.current {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: white;
    font-weight: 600;
}

.tab_cont {
    padding: 1.5rem;
    animation: fadeIn 0.2s ease;
}

.tab_cont.hide {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-content p {
    margin: 0.6rem 0;
    line-height: 1.6;
}

/* 温馨提示卡片 */
.info-card {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 5px solid var(--primary);
}

.info-card .card-icon {
    font-size: 1.8rem;
    float: left;
    margin-right: 1rem;
}

.info-card h3 {
    margin: 0 0 0.5rem;
}

/* 办事指引独立卡片 */
.guide-single-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin: 1.5rem 0 1rem 0;
    transition: all var(--transition-fast);
}

.guide-single-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.guide-single-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 1.1rem;
}

.guide-single-card a:hover {
    color: var(--primary);
}

.guide-single-card .guide-icon {
    font-size: 1.6rem;
}

/* 表格下载卡片 */
.download-full-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
}

.download-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed var(--gray-200);
    padding-bottom: 0.5rem;
}

.download-header .card-icon {
    font-size: 1.4rem;
}

.download-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.download-header h3 a {
    text-decoration: none;
    color: var(--gray-900);
}

.download-header h3 a:hover {
    color: var(--primary);
}

.download-list ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.download-list li {
    margin-bottom: 0.5rem;
}

.download-list li a {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.9rem;
    display: inline-block;
}

.download-list li a:hover {
    color: var(--primary);
    padding-left: 0.2rem;
}

/* 办理地址卡片 */
.contact-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin-top: 0.5rem;
}

.contact-card h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-details p {
    margin: 0.5rem 0;
}

.time-limit {
    background: var(--gray-50);
    padding: 0.8rem;
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
}

.time-limit ul {
    margin: 0.5rem 0 0 1.2rem;
}

/* 响应式 */
@media (max-width: 640px) {
    .tab_title li {
        padding: 0.8rem 1rem;
    }

    .guide-single-card a {
        padding: 0.8rem 1rem;
    }

    .banner-accessibility-btn {
        right: 0.8rem;
        top: 0.8rem;
        padding: 0.3rem 0.9rem;
        font-size: 0.8rem;
    }
}

.footer {
    margin-top: 2rem;
}

.clear {
    clear: both;
}

/* ========== 隐藏右侧所有白色背景 ========== */
/* 1. 右侧外层容器：去掉白色背景和阴影 */
.xzfyright.modern-card {
    background: transparent !important;
    box-shadow: none !important;
}



/* 3. 选项卡标题栏背景也调为透明（保留底部边框分隔） */
.xzfyright .tab_title ul {
    background: transparent !important;
}

/* 4. 表格下载卡片的头部边框线保留，但背景透明 */
.xzfyright .download-header {
    border-bottom-color: var(--gray-300);
    /* 可选，稍微淡一点 */
}