/* ========== 社保电话号码查询（与居民养老保险视觉对齐，独立类名避免耦合） ========== */
.ss-page {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.ss-main { flex: 1; min-width: 0; }
.ss-sidebar { width: 300px; flex-shrink: 0; }

.ss-header {
    background: linear-gradient(135deg, #1890ff 0%, #0056b3 100%);
    color: #fff;
    padding: 30px 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    margin-bottom: 16px;
}
.ss-header h1 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.ss-header p { font-size: 14px; opacity: 0.9; }

.ss-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.ss-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #1890ff;
}

.ss-intro { color: #666; line-height: 1.9; font-size: 14px; }
.ss-intro p { margin: 0; }
.ss-notice {
    background: #fff7e6;
    border-radius: 8px;
    padding: 14px 16px;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}
.ss-notice ul { list-style: none; margin: 0; padding: 0; }
.ss-notice li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.ss-notice li:last-child { margin-bottom: 0; }
.ss-notice li::before { content: "•"; position: absolute; left: 0; color: #faad14; font-weight: bold; }

/* 地区网格（省 / 市 / 区县按钮） */
.ss-region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.ss-region-btn {
    display: block;
    text-align: center;
    padding: 10px 8px;
    background: #f0f7ff;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #d9e8f7;
}
.ss-region-btn:hover { background: #1890ff; color: #fff; border-color: #1890ff; }

.ss-city-section { margin-bottom: 4px; }
.ss-city-title {
    font-size: 16px;
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f4ff;
}

/* 机构信息卡（省/市社保局） */
.ss-bureau-name { font-size: 16px; font-weight: 600; color: #1890ff; margin-bottom: 12px; }
.ss-bureau-list { list-style: none; margin: 0 0 12px; padding: 0; }
.ss-bureau-list li { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; color: #444; border-bottom: 1px dashed #eee; }
.ss-bureau-list li:last-child { border-bottom: none; }
.ss-bureau-list .ss-label { color: #999; flex-shrink: 0; width: 110px; }
.ss-bureau-list .ss-phone { color: #1890ff; font-weight: 600; }
.ss-bureau-intro { color: #666; line-height: 1.9; font-size: 14px; word-break: break-word; }
/* 职能职责按（一）（二）…拆条：悬挂缩进，编号突出、正文对齐 */
.ss-func-item { margin: 0 0 8px; line-height: 1.9; text-indent: 2em; }
.ss-func-item:last-child { margin-bottom: 0; }
.ss-func-collapse { position: relative; }
.ss-func-collapse.ss-collapsed .ss-bureau-intro { max-height: 11.4em; overflow: hidden; }
.ss-toggle { display: none; margin-top: 10px; color: #1890ff; cursor: pointer; font-size: 14px; user-select: none; }
.ss-toggle:hover { text-decoration: underline; }

/* 区县详情 - 联系方式 */
.ss-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.ss-contact-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 14px;
}
.ss-contact-item .ss-label { font-size: 13px; color: #999; margin-bottom: 4px; }
.ss-contact-item .ss-value { font-size: 15px; color: #333; font-weight: 600; word-break: break-all; }
.ss-contact-item .ss-value a { color: #1890ff; text-decoration: none; }
.ss-contact-item .ss-value a:hover { text-decoration: underline; }

/* 其它工具（侧栏） */
.ss-tools { display: flex; flex-direction: column; gap: 8px; }
.ss-tool-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.ss-tool-item:hover { background: #e8f4ff; }
.ss-tool-icon { width: 32px; height: 32px; margin-right: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ss-tool-icon img { width: 100%; height: 100%; object-fit: contain; }
.ss-tool-name { color: #333; font-size: 14px; }
.ss-tool-item:hover .ss-tool-name { color: #1890ff; }

.ss-empty { text-align: center; padding: 50px 20px; color: #999; }

/* 内设机构 / 下属单位 卡片网格（需求五：名称 + 电话 + 职责按钮） */
.ss-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.ss-org-item {
    background: #f8f9fa;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 14px;
}
.ss-org-name { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; }
.ss-org-phone { font-size: 14px; color: #1890ff; font-weight: 600; margin-bottom: 10px; }
.ss-org-btn {
    display: inline-block;
    background: #1890ff;
    color: #fff;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
}
.ss-org-btn:hover { background: #0056b3; }

/* 九问九答（需求六：自动 FAQ） */
.ss-faq { line-height: 1.8; }
.ss-faq-item { padding: 10px 0; border-bottom: 1px dashed #eee; }
.ss-faq-item:last-child { border-bottom: none; }
.ss-faq-q { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; }
.ss-faq-a { font-size: 14px; color: #555; }
.ss-faq-org { display: inline-block; margin-right: 6px; }
.ss-faq-orgs { margin-top: 8px; line-height: 2; }
.ss-faq-org a { color: #1890ff; text-decoration: none; }
.ss-faq-org a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .ss-page { display: block; }
    .ss-main { width: 100%; }
    .ss-sidebar { display: none; }
    .ss-header { padding: 20px 15px; }
    .ss-header h1 { font-size: 22px; }
    .ss-card { padding: 16px; }
    .ss-card-title { font-size: 16px; }
    .ss-region-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
    .ss-contact-grid { grid-template-columns: 1fr; }
    .ss-org-grid { grid-template-columns: 1fr; }
}
