/* B news cards and a reading panel reuse the shared notice data and logic. */
.design-b .b-notice-list,
.design-b .notice-detail-page .notice-section {
    padding-top: 0;
}
.design-b .support-page .notice-toolbar {
    background: var(--bg);
    padding: 24px 32px;
    border-radius: 16px;
    margin-bottom: 32px;
}
.design-b .support-page .notice-toolbar form {
    width: 420px;
}
.design-b .support-page .notice-toolbar input {
    border-radius: 8px 0 0 8px;
}
.design-b .support-page .notice-toolbar button {
    border-radius: 0 8px 8px 0;
    background: var(--blue);
    border-color: var(--blue);
}
.b-notice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.b-notice-grid li.notice-pinned {
    grid-column: 1 / -1;
}
.b-notice-grid a {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 210px;
    background: var(--bg);
    border-radius: 20px;
    padding: 32px;
    transition: background-color 0.2s;
}
.b-notice-grid li.notice-pinned a {
    background: #121f33;
    color: white;
    min-height: 190px;
}
.b-notice-grid a:hover {
    background: #e5edff;
}
.b-notice-grid li.notice-pinned a:hover {
    background: #1d3150;
}
.b-notice-grid a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}
.b-notice-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font:
        11px Inter,
        sans-serif;
    color: var(--muted);
}
.b-notice-meta > span {
    color: var(--blue);
}
.b-notice-grid li.notice-pinned .b-notice-meta,
.b-notice-grid li.notice-pinned .b-notice-meta > span {
    color: #bdc9db;
}
.b-notice-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.b-notice-grid h2 {
    font-size: 23px;
    line-height: 1.5;
    letter-spacing: -0.025em;
    margin: 24px 0;
    overflow-wrap: anywhere;
}
.b-notice-card-bottom {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
    margin-top: auto;
    font-size: 22px;
}
.b-notice-card-bottom .notice-attachment-label {
    margin: 0 auto 0 0;
    border-radius: 4px;
    background: white;
}
.design-b .support-page .notice-pagination :is(a, span) {
    border-radius: 8px;
}
.design-b .support-page .notice-pagination [aria-current] {
    background: var(--blue);
}
.design-b .support-page .notice-empty {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg);
}
.design-b .notice-detail-page .notice-article {
    max-width: none;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}
.design-b .notice-detail-page .notice-article-heading {
    padding: 40px;
    border: 0;
    color: white;
    background: #121f33;
}
.design-b .notice-detail-page .notice-article-heading h2 {
    font-size: 32px;
    line-height: 1.5;
}
.design-b .notice-detail-page .notice-article-heading time {
    color: #bdc9db;
}
.design-b .notice-detail-page .notice-body {
    padding: 40px;
    max-width: none;
}
.design-b .notice-detail-page .notice-body img {
    border-radius: 12px;
}
.design-b .notice-detail-page .notice-files {
    border: 0;
    background: var(--bg);
    padding: 24px 40px;
}
.design-b .notice-detail-page .notice-files li {
    border: 0;
    padding: 12px 0;
    overflow-wrap: anywhere;
}
.design-b .notice-detail-page .notice-back {
    max-width: none;
    border: 0;
}
@media (prefers-reduced-motion: reduce) {
    .b-notice-grid a {
        transition: none;
    }
}
@media (max-width: 768px) {
    .design-b .support-page .notice-toolbar {
        padding: 24px;
        border-radius: 12px;
    }
    .design-b .support-page .notice-toolbar form {
        width: 100%;
    }
    .b-notice-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .b-notice-grid a,
    .b-notice-grid li.notice-pinned a {
        padding: 24px;
        min-height: 190px;
        border-radius: 12px;
    }
    .b-notice-grid h2 {
        font-size: 21px;
    }
    .b-notice-meta {
        font-size: 10px;
    }
    .design-b .notice-detail-page .notice-article {
        border-radius: 12px;
    }
    .design-b .notice-detail-page .notice-article-heading,
    .design-b .notice-detail-page .notice-body,
    .design-b .notice-detail-page .notice-files {
        padding: 24px;
    }
    .design-b .notice-detail-page .notice-article-heading h2 {
        font-size: 24px;
    }
    .design-b .notice-detail-page .notice-body p {
        font-size: 15px;
    }
}
