/* 2eju.com 公告详情样式 | 2026-10-24 */

.detail-banner {
    background: linear-gradient(120deg, #1b3f8f, #2b6ef1);
    color: #fff;
    padding: 20px 0 42px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
    margin-top: -26px;
    position: relative;
    z-index: 1;
}

.article-card {
    padding: 30px 34px 34px;
}

.article-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 26px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: -.3px;
    color: var(--c-text);
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--c-text-3);
}

.article-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

.article-tools {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.article-divider {
    height: 1px;
    background: var(--c-border);
    margin: 22px 0 8px;
}

.article-note {
    margin-top: 28px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f6f8fb;
    color: #6b7c90;
    font-size: 13px;
    line-height: 1.75;
}

.article-note-title {
    margin-bottom: 4px;
    color: #4d6074;
    font-size: 13px;
    font-weight: 600;
}

.article-note p {
    margin: 0;
}

.article-note p + p {
    margin-top: 4px;
}

.article-note a {
    color: var(--c-primary);
}

.article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--c-border);
}

.article-share-label {
    font-size: 14px;
    color: var(--c-text-3);
}

.article-share .btn {
    font-weight: 500;
}

.article-content {
    font-size: 16px;
    line-height: 1.95;
    color: #2c3a4b;
    word-break: break-word;
}

.article-content p {
    margin: 0 0 14px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 26px 0 12px;
    line-height: 1.5;
    color: var(--c-text);
}

.article-content h2 {
    font-size: 20px;
}

.article-content h3 {
    font-size: 17px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 14px auto;
    border-radius: var(--r-s);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
}

.article-content th,
.article-content td {
    border: 1px solid #e3e9f2;
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: #f5f8fd;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin: 0 0 14px;
    padding-left: 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin: 4px 0;
}

.article-content a {
    color: var(--c-primary);
    word-break: break-all;
}

.article-content blockquote {
    margin: 14px 0;
    padding: 12px 16px;
    border-left: 3px solid #c9d9fb;
    background: #f7faff;
    color: var(--c-text-2);
}

.attachment-block {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed var(--c-border);
}

.attachment-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.attachment-list li + li {
    margin-top: 8px;
}

.attachment-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--r-s);
    background: #f7f9fc;
    color: var(--c-primary);
    font-size: 14px;
    transition: background .2s;
}

.attachment-list a:hover {
    background: var(--c-primary-light);
}

.detail-bottom-ad {
    margin-top: 26px;
}

.detail-side .card + .card {
    margin-top: 18px;
}

.detail-side .side-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.related-list li + li {
    border-top: 1px dashed #eef1f6;
}

.related-list a {
    display: block;
    padding: 11px 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--c-text-2);
    transition: color .2s;
}

.related-list a:hover {
    color: var(--c-primary);
}

.related-list .related-date {
    display: block;
    margin-top: 4px;
    color: var(--c-text-3);
    font-size: 12px;
}

.apply-card {
    background: linear-gradient(135deg, #fff4ee, #ffe9df);
    border: 1px solid #ffd9c7;
}

.apply-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #b4400f;
}

.apply-card p {
    margin-top: 8px;
    color: #96501f;
    font-size: 13.5px;
    line-height: 1.8;
}

.apply-card .apply-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.apply-card .apply-links .btn {
    height: auto;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
}

.detail-loading {
    padding: 80px 0;
    text-align: center;
    color: var(--c-text-3);
}

.article-summary {
    position: relative;
    overflow: hidden;
    margin: 4px 0 20px;
    padding: 18px 20px;
    border: 1px solid #dbe8fb;
    border-radius: var(--r-m);
    background-color: #f6faff;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='120'%3E%3Ctext x='18' y='72' fill='%232b6ef1' fill-opacity='0.16' font-size='20' font-family='Arial,sans-serif' font-weight='700' transform='rotate(-18 110 60)'%3E2eju.com%3C/text%3E%3C/svg%3E"),
        linear-gradient(180deg, #f6faff 0%, #fff 100%);
    background-repeat: repeat, no-repeat;
    background-size: 220px 120px, auto;
}

.article-summary > * {
    position: relative;
    z-index: 1;
}

.article-summary-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
}

.article-summary-head .tag-ai {
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: #e8f0ff;
    color: var(--c-primary);
    font-size: 11.5px;
    font-weight: 500;
}

.article-summary-lead {
    margin-bottom: 12px;
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.8;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.summary-item {
    padding: 10px 12px;
    border-radius: var(--r-s);
    background: rgba(255, 255, 255, .82);
    border: 1px solid #edf2fa;
}

.summary-item .label {
    display: block;
    margin-bottom: 4px;
    color: var(--c-text-3);
    font-size: 12px;
}

.summary-item .value {
    color: var(--c-text);
    font-size: 13.5px;
    font-weight: 600;
    word-break: break-all;
}

.summary-highlights {
    margin-top: 12px;
    padding-left: 0;
}

.summary-highlights li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    color: var(--c-text-2);
    font-size: 13px;
    line-height: 1.7;
}

.summary-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-primary);
}

.article-summary-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e3ecf9;
    color: var(--c-text-3);
    font-size: 11.5px;
}

@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .detail-banner {
        padding: 16px 0 34px;
    }

    .article-card {
        padding: 20px 18px 24px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-content {
        font-size: 15.5px;
        line-height: 1.9;
    }

    .article-tools {
        margin-left: 0;
        width: 100%;
    }

    .article-content table {
        font-size: 13px;
    }

    .article-content th,
    .article-content td {
        padding: 7px 9px;
    }

    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
