/* ============================================================
   德派口腔 · 公告页样式（saturdent/announcement.html）
   依赖：style.css（CSS 变量）、about.css（页面框架）
   ============================================================ */

.notice-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.notice-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

/* 公告标题 */
.notice-title {
    margin: -12px 0 24px;
    font-size: 24px;
    line-height: 1.45;
    color: var(--text-dark);
}

/* 公告之间的分隔线 */
.notice-divider {
    margin: 52px 0 34px;
    border: none;
    border-top: 1px dashed var(--border);
}

/* 声明类文字 */
.notice-em {
    color: var(--danger);
    font-weight: 600;
}

.notice-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.notice-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.notice-card p {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 10px;
}

.notice-card p:last-child {
    margin-bottom: 0;
}

.num {
    color: var(--primary-dark);
    font-weight: 700;
    white-space: nowrap;
}

.num-old {
    color: var(--text-light);
    text-decoration: line-through;
    white-space: nowrap;
}

/* 严正声明卡片强调 */
.notice-card--alert {
    border-left-color: var(--danger);
    background: #fff8f7;
}

.notice-card--alert h3 {
    color: var(--danger);
}

/* 声明配图 */
.notice-figure {
    margin: 18px 0 2px;
    text-align: center;
}

.notice-figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.notice-figure figcaption {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* 门店电话表 */
.notice-table-wrap {
    margin-top: 16px;
    overflow-x: auto;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: var(--bg-white);
}

.notice-table th,
.notice-table td {
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.notice-table th {
    background: var(--primary-bg);
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap;
}

.notice-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.notice-summary {
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    margin-bottom: 32px;
    text-align: center;
}

.notice-summary p {
    color: var(--text-body);
    font-size: 16px;
    margin-bottom: 6px;
}

.notice-summary strong {
    display: block;
    font-size: 22px;
    color: var(--primary-dark);
    margin-top: 6px;
    letter-spacing: 1px;
}

.notice-actions {
    text-align: center;
    margin: 40px 0 10px;
}

.notice-actions .btn {
    margin: 0 6px 12px;
}

@media (max-width: 768px) {
    .notice-card {
        padding: 20px 18px;
    }
    .notice-summary {
        padding: 18px;
    }
}
