/* =========================================================
   Civic Editorial — shared public sections
   About, transparency, news and education procurement.
   ========================================================= */

body.nsm-section-redesign {
    background:
        linear-gradient(90deg, transparent 0, transparent calc(50% - .5px), rgba(112, 64, 128, .045) 50%, transparent calc(50% + .5px)),
        var(--nsr-paper);
}

body.nsm-section-redesign .page-content,
body.nsm-section-redesign .alderman-page {
    min-height: 80vh;
    color: var(--nsr-ink);
    background: transparent !important;
}

body.nsm-section-redesign .page-content {
    padding-bottom: 88px !important;
}

body.nsm-section-redesign .page-content > .container,
body.nsm-section-redesign .alderman-board-wrap {
    width: min(calc(100% - 64px), var(--nsr-shell));
    max-width: var(--nsr-shell) !important;
    margin-inline: auto;
}

/* Editorial masthead shared by About, Organization, Executives & ITA. */
body.nsm-section-redesign .page-header,
body.nsm-section-redesign .alderman-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 78px 0 68px !important;
    color: var(--nsr-white) !important;
    text-align: left !important;
    background:
        linear-gradient(115deg, rgba(43, 18, 56, .96), rgba(94, 47, 115, .91)),
        radial-gradient(circle at 84% 12%, rgba(214, 174, 92, .24), transparent 34%) !important;
    border-bottom: 1px solid var(--nsr-gold) !important;
}

body.nsm-section-redesign .page-header::before,
body.nsm-section-redesign .alderman-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent 0 72%, rgba(255, 255, 255, .055) 72% 72.12%, transparent 72.12%),
        linear-gradient(0deg, transparent 0 32%, rgba(214, 174, 92, .13) 32% 32.25%, transparent 32.25%);
    pointer-events: none;
}

body.nsm-section-redesign .page-header .container,
body.nsm-section-redesign .alderman-hero-inner {
    width: min(calc(100% - 64px), var(--nsr-shell));
    max-width: var(--nsr-shell);
    margin-inline: auto;
    text-align: left;
}

body.nsm-section-redesign .page-header span,
body.nsm-section-redesign .alderman-kicker,
body.nsm-section-redesign .archive-header .badge {
    display: inline-flex !important;
    align-items: center;
    min-height: 30px;
    margin: 0 0 16px !important;
    padding: 5px 0 !important;
    color: var(--nsr-gold-soft) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-size: .72rem !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}

body.nsm-section-redesign .page-header h1,
body.nsm-section-redesign .alderman-hero h1 {
    max-width: 900px;
    margin: 0 0 12px !important;
    color: var(--nsr-white) !important;
    font-family: "Kanit", sans-serif !important;
    font-size: clamp(2.25rem, 5vw, 4.65rem) !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
    text-wrap: balance;
}

body.nsm-section-redesign .page-header p,
body.nsm-section-redesign .alderman-hero p {
    max-width: 720px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    font-size: 1.05rem !important;
    font-weight: 300 !important;
    line-height: 1.75 !important;
    text-align: left !important;
    text-wrap: pretty;
}

/* Tabs use the same gold rule and plum emphasis as the homepage navigation. */
body.nsm-section-redesign .page-header + .container,
body.nsm-section-redesign .page-content > .container[style*="margin-top: -"] {
    margin-top: 0 !important;
    padding-top: 34px;
}

body.nsm-section-redesign .tab-toggle-btn,
body.nsm-section-redesign .year-tab-btn {
    min-height: 46px;
    padding: 10px 18px !important;
    color: var(--nsr-muted) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease !important;
    touch-action: manipulation;
}

body.nsm-section-redesign .tab-toggle-btn:hover,
body.nsm-section-redesign .tab-toggle-btn.active,
body.nsm-section-redesign .year-tab-btn:hover,
body.nsm-section-redesign .year-tab-btn.active {
    color: var(--nsr-plum-deep) !important;
    background: rgba(214, 174, 92, .10) !important;
    border-bottom-color: var(--nsr-gold) !important;
    transform: none !important;
}

/* Shared content surfaces: paper, fine rules, restrained depth. */
body.nsm-section-redesign .card-wrapper,
body.nsm-section-redesign .structure-section,
body.nsm-section-redesign .executive-group-section,
body.nsm-section-redesign .meetings-card-wrapper,
body.nsm-section-redesign .ita-wrapper,
body.nsm-section-redesign .alderman-empty-state {
    color: var(--nsr-ink);
    background: rgba(255, 253, 251, .94) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-top: 3px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: 0 22px 55px rgba(43, 18, 56, .07) !important;
}

body.nsm-section-redesign .structure-section,
body.nsm-section-redesign .executive-group-section,
body.nsm-section-redesign .meetings-card-wrapper,
body.nsm-section-redesign .ita-wrapper {
    padding: clamp(24px, 4vw, 44px) !important;
}

body.nsm-section-redesign .section-title-wrap,
body.nsm-section-redesign .group-title-wrap,
body.nsm-section-redesign .alderman-section-pill {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border: 0 !important;
    border-left: 5px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.nsm-section-redesign .section-title-wrap h2,
body.nsm-section-redesign .group-title-wrap h2,
body.nsm-section-redesign .alderman-section-pill {
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-wrap: balance;
}

/* About history / vision. */
body.nsm-section-redesign .timeline-card,
body.nsm-section-redesign .floor-card,
body.nsm-section-redesign .strategy-card,
body.nsm-section-redesign .list-item-badge,
body.nsm-section-redesign .vision-quote-card {
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.nsm-section-redesign .timeline-card:hover,
body.nsm-section-redesign .floor-card:hover,
body.nsm-section-redesign .strategy-card:hover {
    border-color: var(--nsr-gold) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 32px rgba(43, 18, 56, .08) !important;
}

body.nsm-section-redesign .timeline-badge,
body.nsm-section-redesign .timeline-badge.purple,
body.nsm-section-redesign .floor-number,
body.nsm-section-redesign .list-item-badge > span {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-gold) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .vision-quote-card {
    position: relative;
    overflow: hidden;
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-top-color: var(--nsr-gold) !important;
}

body.nsm-section-redesign .vision-quote-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: var(--nsr-gold);
}

/* Organization & executive trees keep their hierarchy, with unified colors. */
body.nsm-section-redesign .org-box,
body.nsm-section-redesign .exec-card {
    color: var(--nsr-ink) !important;
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 26px rgba(43, 18, 56, .06) !important;
}

body.nsm-section-redesign .org-box:hover,
body.nsm-section-redesign .exec-card:hover {
    border-color: var(--nsr-gold) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 36px rgba(43, 18, 56, .10) !important;
}

body.nsm-section-redesign .line-v,
body.nsm-section-redesign .line-v-half,
body.nsm-section-redesign .connector-h-line,
body.nsm-section-redesign .fishbone-spine,
body.nsm-section-redesign .fishbone-branch-line {
    background-color: var(--nsr-lilac) !important;
    border-color: var(--nsr-lilac) !important;
}

body.nsm-section-redesign .exec-detail-button {
    color: var(--nsr-plum-deep) !important;
    background: rgba(214, 174, 92, .12) !important;
    border-color: var(--nsr-gold) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .exec-detail-button:hover {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
}

/* Council members. */
body.nsm-section-redesign .alderman-board-section {
    padding-block: 56px 88px;
    background: transparent !important;
}

body.nsm-section-redesign .alderman-card {
    background: var(--nsr-paper) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-top: 3px solid var(--nsr-gold) !important;
    border-radius: 12px !important;
    padding: 20px 8px 18px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 18px rgba(43, 18, 56, .05) !important;
    transition: transform 200ms var(--nsr-ease), border-color 200ms ease, box-shadow 200ms ease !important;
}

body.nsm-section-redesign .alderman-card:hover {
    border-color: rgba(147, 51, 234, 0.4) !important;
    border-top-color: var(--nsr-gold) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(43, 18, 56, .12) !important;
}

body.nsm-section-redesign .alderman-card-large {
    width: 320px !important;
    max-width: 92vw !important;
    padding: 28px 24px 24px !important;
}

body.nsm-section-redesign .alderman-card-medium {
    width: 290px !important;
    max-width: 92vw !important;
    padding: 24px 20px 20px !important;
}

body.nsm-section-redesign .alderman-photo-frame {
    background: #ffffff !important;
    border: 1px solid rgba(147, 51, 234, 0.22) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(76, 29, 149, 0.08) !important;
    padding: 5px !important;
}

body.nsm-section-redesign .alderman-photo {
    border-radius: 5px !important;
}

/* Council meeting archive. */
body.nsm-section-redesign main.page-content[style*="padding: 120px"] {
    padding-top: 72px !important;
}

body.nsm-section-redesign .archive-header {
    position: relative;
    margin-bottom: 44px !important;
    padding: 0 0 32px;
    text-align: left !important;
    border-bottom: 1px solid var(--nsr-divider);
}

body.nsm-section-redesign .archive-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: var(--nsr-gold);
}

body.nsm-section-redesign .archive-header h1 {
    margin: 0 0 10px !important;
    color: var(--nsr-plum-deep) !important;
    font-family: "Kanit", sans-serif !important;
    font-size: clamp(2.15rem, 5vw, 4rem) !important;
    font-weight: 500 !important;
    line-height: 1.12;
    letter-spacing: -.03em;
    text-align: left !important;
    text-wrap: balance;
}

body.nsm-section-redesign .archive-header p {
    max-width: 720px !important;
    margin: 0 !important;
    color: var(--nsr-muted) !important;
    text-align: left !important;
}

body.nsm-section-redesign .year-tabs-container {
    justify-content: flex-start !important;
}

body.nsm-section-redesign .meeting-item-card {
    padding: 20px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease !important;
}

body.nsm-section-redesign .meeting-item-card:hover {
    background: rgba(214, 174, 92, .08) !important;
    border-bottom-color: var(--nsr-gold) !important;
    transform: none !important;
}

body.nsm-section-redesign .pdf-icon-box,
body.nsm-section-redesign .action-arrow {
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border-radius: 0 !important;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

body.nsm-section-redesign .meeting-title {
    color: var(--nsr-ink) !important;
    transition: color 180ms ease !important;
}

/* Transparency & plans. */
body.nsm-section-redesign .ita-grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important;
}

body.nsm-section-redesign .ita-doc-card,
body.nsm-section-redesign .accordion-item,
body.nsm-section-redesign .plan-item-link {
    color: var(--nsr-ink) !important;
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--nsr-ease) !important;
}

body.nsm-section-redesign .ita-doc-card:hover,
body.nsm-section-redesign .plan-item-link:hover {
    background: rgba(214, 174, 92, .08) !important;
    border-color: var(--nsr-gold) !important;
    transform: translateY(-2px) !important;
}

body.nsm-section-redesign .ita-doc-icon,
body.nsm-section-redesign .plan-item-icon {
    background: var(--nsr-paper-deep) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .ita-doc-category {
    color: var(--nsr-plum) !important;
    letter-spacing: .08em;
}

body.nsm-section-redesign .accordion-header {
    width: 100%;
    min-height: 58px;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border: 0;
    border-left: 4px solid var(--nsr-gold);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

body.nsm-section-redesign .accordion-header:focus-visible {
    outline: 3px solid var(--nsr-gold);
    outline-offset: 3px;
}

body.nsm-section-redesign .load-more-btn {
    min-height: 46px;
    color: var(--nsr-plum-deep) !important;
    background: transparent !important;
    border: 1px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    transition: color 180ms ease, background-color 180ms ease !important;
    touch-action: manipulation;
}

body.nsm-section-redesign .load-more-btn:hover {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .transparency-pagination a,
body.nsm-section-redesign .transparency-pagination span,
body.nsm-section-redesign .pagination a,
body.nsm-section-redesign .pagination span {
    border-radius: 0 !important;
}

body.nsm-section-redesign .transparency-pagination .active,
body.nsm-section-redesign .pagination .active {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
}

/* Municipal newsroom: five news archive formats, one civic editorial system. */
body.nsm-section-redesign .news-archive-page,
body.nsm-section-redesign .magazine-page,
body.nsm-section-redesign .newsletter-page {
    min-height: 80vh;
    color: var(--nsr-ink);
    background: transparent !important;
}

body.nsm-section-redesign .news-archive-page,
body.nsm-section-redesign .magazine-page {
    padding: 72px 0 88px !important;
}

body.nsm-section-redesign .news-archive-page > .container,
body.nsm-section-redesign .magazine-page > .container,
body.nsm-section-redesign .newsletter-container {
    width: min(calc(100% - 64px), var(--nsr-shell));
    max-width: var(--nsr-shell) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

body.nsm-section-redesign .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px 22px !important;
}

body.nsm-section-redesign .news-card {
    position: relative;
    background: var(--nsr-paper) !important;
    border: 1px solid var(--nsr-divider);
    border-top: 3px solid var(--nsr-gold);
    border-radius: 0 !important;
    box-shadow: 0 15px 34px rgba(43, 18, 56, .07) !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--nsr-ease) !important;
}

body.nsm-section-redesign .news-card:hover {
    border-color: var(--nsr-gold);
    box-shadow: 0 22px 48px rgba(43, 18, 56, .12) !important;
    transform: translateY(-4px);
}

body.nsm-section-redesign .news-card-image {
    height: auto !important;
    aspect-ratio: 16 / 10;
    background: var(--nsr-paper-deep);
}

body.nsm-section-redesign .news-card-image img {
    transition: transform 420ms var(--nsr-ease), filter 180ms ease !important;
}

body.nsm-section-redesign .news-card:hover .news-card-image img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.035);
}

body.nsm-section-redesign .news-badge {
    top: 14px !important;
    left: 14px !important;
    padding: 6px 10px !important;
    color: var(--nsr-white) !important;
    background: rgba(43, 18, 56, .9) !important;
    border: 1px solid rgba(214, 174, 92, .62);
    border-radius: 0 !important;
    font-size: .72rem !important;
    letter-spacing: .08em;
    backdrop-filter: blur(7px);
}

body.nsm-section-redesign .news-card-body {
    padding: 24px 22px 22px !important;
}

body.nsm-section-redesign .news-date,
body.nsm-section-redesign .news-excerpt {
    color: var(--nsr-muted) !important;
}

body.nsm-section-redesign .news-date i {
    margin-right: 5px;
    color: var(--nsr-plum);
}

body.nsm-section-redesign .news-title {
    color: var(--nsr-ink) !important;
    font-size: 1.2rem !important;
    line-height: 1.52 !important;
}

body.nsm-section-redesign .news-title a:focus-visible,
body.nsm-section-redesign .mag-card:focus-visible,
body.nsm-section-redesign .newsletter-card-footer a:focus-visible {
    outline: 3px solid var(--nsr-gold);
    outline-offset: 4px;
}

body.nsm-section-redesign .news-readmore {
    width: fit-content;
    color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .news-readmore:hover {
    color: var(--nsr-purple) !important;
}

body.nsm-section-redesign .news-readmore:hover i {
    transform: translateX(4px);
}

body.nsm-section-redesign .news-archive-page .ita-wrapper {
    padding: 0 !important;
    overflow: hidden;
    background: var(--nsr-paper) !important;
    border: 1px solid var(--nsr-divider);
    border-top: 3px solid var(--nsr-gold);
    border-radius: 0 !important;
    box-shadow: 0 16px 38px rgba(43, 18, 56, .07) !important;
}

body.nsm-section-redesign .news-archive-page .ita-grid-layout {
    gap: 0 !important;
}

body.nsm-section-redesign .news-archive-page .ita-doc-card {
    padding: 22px 24px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsr-divider) !important;
}

body.nsm-section-redesign .news-archive-page .ita-doc-card:last-child {
    border-bottom: 0 !important;
}

body.nsm-section-redesign .news-archive-page .ita-doc-card:hover {
    background: rgba(214, 174, 92, .09) !important;
    transform: none !important;
}

body.nsm-section-redesign .news-archive-page .ita-doc-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-right: 18px !important;
    color: var(--nsr-plum-deep) !important;
    border-left: 3px solid var(--nsr-gold);
}

body.nsm-section-redesign .news-archive-page .ita-doc-icon i {
    color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .news-archive-page .ita-doc-title {
    color: var(--nsr-ink) !important;
    font-size: 1.08rem !important;
}

body.nsm-section-redesign .news-archive-page .ita-doc-content > div {
    color: var(--nsr-muted) !important;
}

body.nsm-section-redesign .magazine-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 42px 26px !important;
}

body.nsm-section-redesign .mag-card-container {
    position: relative;
}

body.nsm-section-redesign .mag-card-container::before {
    content: "";
    position: absolute;
    top: 8px;
    right: -8px;
    bottom: 66px;
    left: 8px;
    z-index: -1;
    background: var(--nsr-paper-deep);
    border: 1px solid var(--nsr-divider);
}

body.nsm-section-redesign .mag-cover-wrapper {
    border: 1px solid rgba(94, 47, 115, .16);
    border-radius: 2px 8px 8px 2px !important;
    box-shadow: 0 18px 34px rgba(43, 18, 56, .15) !important;
    transition: transform 280ms var(--nsr-ease), box-shadow 280ms ease !important;
}

body.nsm-section-redesign .mag-card:hover .mag-cover-wrapper {
    box-shadow: 11px 20px 36px rgba(43, 18, 56, .2) !important;
    transform: translateY(-5px) rotateY(-4deg) !important;
}

body.nsm-section-redesign .mag-overlay {
    background: linear-gradient(135deg, rgba(43, 18, 56, .78), rgba(94, 47, 115, .68)) !important;
}

body.nsm-section-redesign .mag-overlay span {
    padding: 9px 15px !important;
    border: 1px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    font-size: .9rem !important;
}

body.nsm-section-redesign .mag-info {
    margin-top: 18px !important;
    text-align: left !important;
}

body.nsm-section-redesign .mag-info h3 {
    color: var(--nsr-ink) !important;
    font-size: 1.08rem !important;
    line-height: 1.55;
}

body.nsm-section-redesign .pagination-wrapper {
    margin-top: 48px !important;
}

body.nsm-section-redesign .pagination {
    flex-wrap: wrap;
}

body.nsm-section-redesign .pagination a {
    width: 44px !important;
    height: 44px !important;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}

body.nsm-section-redesign .pagination a:hover {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
    transform: translateY(-2px);
}

body.nsm-section-redesign .pagination a[aria-current="page"] {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .no-records {
    color: var(--nsr-muted) !important;
    background: var(--nsr-paper) !important;
    border: 1px solid var(--nsr-divider);
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Newsletter keeps a full-width masthead while sharing the same newsroom language. */
body.nsm-section-redesign .newsletter-hero {
    position: relative;
    isolation: isolate;
    padding: 78px 0 106px !important;
    color: var(--nsr-white) !important;
    background:
        linear-gradient(115deg, rgba(43, 18, 56, .97), rgba(94, 47, 115, .92)),
        radial-gradient(circle at 84% 12%, rgba(214, 174, 92, .24), transparent 34%) !important;
    border-bottom: 1px solid var(--nsr-gold);
}

body.nsm-section-redesign .newsletter-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent 0 72%, rgba(255, 255, 255, .055) 72% 72.12%, transparent 72.12%),
        linear-gradient(0deg, transparent 0 32%, rgba(214, 174, 92, .13) 32% 32.25%, transparent 32.25%);
    pointer-events: none;
}

body.nsm-section-redesign .newsletter-hero::after,
body.nsm-section-redesign .newsletter-hero-orb {
    display: none;
}

body.nsm-section-redesign .newsletter-hero-inner {
    width: min(calc(100% - 64px), var(--nsr-shell));
    max-width: var(--nsr-shell) !important;
    margin-inline: auto;
    text-align: left !important;
}

body.nsm-section-redesign .newsletter-hero-icon {
    float: right;
    width: 84px;
    height: 84px;
    margin: 8px 0 18px 32px !important;
    color: var(--nsr-gold-soft);
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(214, 174, 92, .52) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.nsm-section-redesign .newsletter-eyebrow {
    margin: 0 0 14px !important;
    padding-bottom: 6px;
    color: var(--nsr-gold-soft) !important;
    border-bottom: 1px solid var(--nsr-gold);
    font-size: .72rem !important;
    font-weight: 600;
    letter-spacing: .18em;
}

body.nsm-section-redesign .newsletter-hero h1 {
    max-width: 900px;
    margin: 0 0 12px !important;
    color: var(--nsr-white) !important;
    font-size: clamp(2.25rem, 5vw, 4.65rem) !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
}

body.nsm-section-redesign .newsletter-hero p {
    max-width: 720px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    text-align: left !important;
}

body.nsm-section-redesign .newsletter-hero-meta {
    justify-content: flex-start !important;
    margin-top: 24px !important;
}

body.nsm-section-redesign .newsletter-hero-meta span {
    padding: 7px 0 !important;
    color: rgba(255, 255, 255, .8);
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(214, 174, 92, .55) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .newsletter-content-section {
    padding: 0 0 90px !important;
}

body.nsm-section-redesign .newsletter-filter {
    grid-template-columns: minmax(260px, 1fr) minmax(180px, .34fr) auto auto;
    gap: 14px;
    margin: -48px 0 34px !important;
    padding: 25px !important;
    background: rgba(255, 253, 251, .985) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-top: 3px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 42px rgba(43, 18, 56, .12) !important;
}

body.nsm-section-redesign .newsletter-filter label {
    color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .newsletter-input-wrap input,
body.nsm-section-redesign .newsletter-year-field select {
    color: var(--nsr-ink) !important;
    background: var(--nsr-white) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .newsletter-input-wrap input:focus,
body.nsm-section-redesign .newsletter-year-field select:focus {
    border-color: var(--nsr-plum) !important;
    box-shadow: 0 0 0 3px rgba(112, 64, 128, .14) !important;
}

body.nsm-section-redesign .newsletter-filter-button,
body.nsm-section-redesign .newsletter-clear-button {
    min-height: 48px;
    border-radius: 0 !important;
    touch-action: manipulation;
}

body.nsm-section-redesign .newsletter-filter-button {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    box-shadow: none !important;
}

body.nsm-section-redesign .newsletter-clear-button {
    color: var(--nsr-plum-deep) !important;
    background: transparent !important;
    border-color: var(--nsr-gold) !important;
}

body.nsm-section-redesign .newsletter-year-badge {
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .newsletter-grid {
    gap: 18px !important;
}

body.nsm-section-redesign .newsletter-card {
    min-height: 240px;
    padding: 24px !important;
    color: var(--nsr-ink);
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 30px rgba(43, 18, 56, .06) !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--nsr-ease) !important;
}

body.nsm-section-redesign .newsletter-card:hover {
    border-color: var(--nsr-gold) !important;
    box-shadow: 0 20px 40px rgba(43, 18, 56, .11) !important;
    transform: translateY(-3px) !important;
}

body.nsm-section-redesign .newsletter-card-accent {
    width: 4px;
    height: auto !important;
    inset: 0 auto 0 0 !important;
    background: var(--nsr-gold) !important;
}

body.nsm-section-redesign .newsletter-date-box {
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border-left: 3px solid var(--nsr-gold);
    border-radius: 0 !important;
}

body.nsm-section-redesign .newsletter-date-box strong,
body.nsm-section-redesign .newsletter-card h2 {
    color: var(--nsr-ink) !important;
}

body.nsm-section-redesign .newsletter-card-type {
    color: var(--nsr-plum-deep) !important;
    background: transparent !important;
    border-bottom: 1px solid var(--nsr-gold);
    border-radius: 0 !important;
}

body.nsm-section-redesign .newsletter-card-footer {
    border-top-color: var(--nsr-divider) !important;
}

body.nsm-section-redesign .newsletter-card-footer a {
    color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .newsletter-state {
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .newsletter-pagination a,
body.nsm-section-redesign .newsletter-pagination span {
    border-radius: 0 !important;
}

body.nsm-section-redesign .newsletter-pagination a.active {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
    box-shadow: none !important;
}

/* Education procurement register: nine schools, one accountable ledger. */
body.nsm-section-redesign .school-procure-page {
    min-height: 80vh;
    color: var(--nsr-ink);
    background: transparent !important;
}

body.nsm-section-redesign .school-procure-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 78px 0 104px !important;
    color: var(--nsr-white) !important;
    background: linear-gradient(115deg, rgba(43, 18, 56, .97), rgba(94, 47, 115, .92)) !important;
    border-bottom: 1px solid var(--nsr-gold);
}

body.nsm-section-redesign .school-procure-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, transparent calc(100% - 1px), rgba(255, 255, 255, .055) calc(100% - 1px)),
        linear-gradient(0deg, transparent 68%, rgba(214, 174, 92, .13) 68% 68.25%, transparent 68.25%);
    background-size: 11.111% 100%, 100% 100%;
    pointer-events: none;
}

body.nsm-section-redesign .school-procure-hero-inner,
body.nsm-section-redesign .school-procure-container {
    width: min(calc(100% - 64px), var(--nsr-shell));
    max-width: var(--nsr-shell) !important;
    margin-inline: auto !important;
}

body.nsm-section-redesign .school-procure-hero-inner {
    text-align: left !important;
}

body.nsm-section-redesign .school-procure-icon {
    float: right;
    width: 86px;
    height: 86px;
    margin: 6px 0 20px 34px !important;
    color: var(--nsr-gold-soft);
    background: rgba(255, 255, 255, .055) !important;
    border: 1px solid rgba(214, 174, 92, .55) !important;
    border-radius: 0 !important;
    font-size: 2rem;
}

body.nsm-section-redesign .school-procure-hero-inner > span {
    display: inline-flex;
    margin-bottom: 14px;
    padding-bottom: 6px;
    color: var(--nsr-gold-soft) !important;
    border-bottom: 1px solid var(--nsr-gold);
    font-family: "Inter", sans-serif;
    font-size: .72rem !important;
    font-weight: 600;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}

body.nsm-section-redesign .school-procure-hero h1 {
    max-width: 880px;
    margin: 0 0 12px !important;
    color: var(--nsr-white) !important;
    font-size: clamp(2.25rem, 5vw, 4.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em;
    text-wrap: balance;
}

body.nsm-section-redesign .school-procure-hero p {
    max-width: 720px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    font-weight: 300;
    text-align: left !important;
    text-wrap: pretty;
}

body.nsm-section-redesign .school-procure-content {
    padding: 0 0 90px !important;
}

body.nsm-section-redesign .school-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: -54px 0 34px !important;
}

body.nsm-section-redesign .school-tabs a {
    position: relative;
    min-width: 0;
    min-height: 88px;
    padding: 15px 16px !important;
    color: var(--nsr-muted) !important;
    background: rgba(255, 253, 251, .985) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-top: 3px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 30px rgba(43, 18, 56, .09) !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--nsr-ease) !important;
    touch-action: manipulation;
}

body.nsm-section-redesign .school-tabs a:hover {
    color: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-gold) !important;
    transform: translateY(-3px) !important;
}

body.nsm-section-redesign .school-tabs a.active {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-gold) !important;
}

body.nsm-section-redesign .school-tabs strong {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border-left: 3px solid var(--nsr-gold);
    border-radius: 0 !important;
    font-family: "Inter", "Kanit", sans-serif;
    font-variant-numeric: tabular-nums;
}

body.nsm-section-redesign .school-tabs a.active strong {
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-white) !important;
}

body.nsm-section-redesign .school-tabs span {
    min-width: 0;
    color: inherit;
    font-size: .84rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
}

body.nsm-section-redesign .school-procure-search {
    position: relative;
    gap: 10px !important;
    margin-bottom: 28px !important;
    padding: 19px !important;
    background: var(--nsr-paper) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-left: 4px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 30px rgba(43, 18, 56, .055) !important;
}

body.nsm-section-redesign .school-procure-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.nsm-section-redesign .school-procure-search > div i {
    color: var(--nsr-plum) !important;
}

body.nsm-section-redesign .school-procure-search input {
    color: var(--nsr-ink);
    background: var(--nsr-white);
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

body.nsm-section-redesign .school-procure-search input:focus-visible {
    border-color: var(--nsr-plum) !important;
    box-shadow: 0 0 0 3px rgba(112, 64, 128, .14) !important;
}

body.nsm-section-redesign .school-procure-search button,
body.nsm-section-redesign .school-procure-search > a {
    min-height: 46px;
    border-radius: 0 !important;
    touch-action: manipulation;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.nsm-section-redesign .school-procure-search button {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .school-procure-search button:hover {
    background: var(--nsr-plum) !important;
}

body.nsm-section-redesign .school-procure-search > a {
    color: var(--nsr-plum-deep) !important;
    background: transparent !important;
    border-color: var(--nsr-gold) !important;
}

body.nsm-section-redesign .school-procure-summary {
    margin-bottom: 18px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--nsr-divider);
}

body.nsm-section-redesign .school-procure-summary div span {
    color: var(--nsr-muted) !important;
    font-family: "Inter", sans-serif;
    font-size: .7rem !important;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.nsm-section-redesign .school-procure-summary strong {
    color: var(--nsr-plum-deep) !important;
    font-size: 1.12rem !important;
}

body.nsm-section-redesign .school-procure-count {
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border: 1px solid var(--nsr-divider);
    border-radius: 0 !important;
    font-variant-numeric: tabular-nums;
}

body.nsm-section-redesign .school-procure-page .ai-summarize-card {
    margin: 0 0 24px !important;
    padding: 18px 20px !important;
    color: var(--nsr-ink) !important;
    background: linear-gradient(110deg, rgba(248, 242, 250, .98), rgba(255, 253, 251, .98)) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-left: 4px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.nsm-section-redesign .school-procure-page .ai-summarize-title {
    color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .school-procure-page .ai-summarize-title i {
    color: var(--nsr-gold) !important;
}

body.nsm-section-redesign .school-procure-page .ai-summarize-btn {
    min-height: 44px;
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border: 1px solid var(--nsr-plum-deep) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    touch-action: manipulation;
}

body.nsm-section-redesign .school-procure-page .ai-summarize-btn:hover {
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-white) !important;
    border-color: var(--nsr-gold) !important;
    transform: none !important;
}

body.nsm-section-redesign .school-procure-list {
    gap: 0 !important;
    background: var(--nsr-paper);
    border: 1px solid var(--nsr-divider);
    border-top: 3px solid var(--nsr-gold);
    box-shadow: 0 16px 38px rgba(43, 18, 56, .07);
}

body.nsm-section-redesign .school-procure-card {
    position: relative;
    gap: 18px !important;
    padding: 21px 22px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background-color 180ms ease, border-color 180ms ease !important;
}

body.nsm-section-redesign .school-procure-card:last-child {
    border-bottom: 0 !important;
}

body.nsm-section-redesign .school-procure-card:hover {
    background: rgba(214, 174, 92, .09) !important;
    border-color: var(--nsr-gold) !important;
    box-shadow: none !important;
    transform: none !important;
}

body.nsm-section-redesign .school-procure-card-icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border-left: 3px solid var(--nsr-gold);
    border-radius: 0 !important;
}

body.nsm-section-redesign .school-procure-card-school {
    color: var(--nsr-plum) !important;
    font-family: "Inter", "Kanit", sans-serif;
    font-size: .72rem !important;
    letter-spacing: .08em;
}

body.nsm-section-redesign .school-procure-card h2 {
    color: var(--nsr-ink) !important;
    font-size: 1.04rem !important;
    line-height: 1.6 !important;
    text-wrap: pretty;
}

body.nsm-section-redesign .school-procure-date {
    color: var(--nsr-muted) !important;
}

body.nsm-section-redesign .school-procure-date i {
    margin-right: 4px;
    color: var(--nsr-plum);
}

body.nsm-section-redesign .school-procure-open {
    color: var(--nsr-plum-deep) !important;
    background: transparent !important;
    border: 1px solid var(--nsr-gold);
    border-radius: 0 !important;
    transition: color 180ms ease, background-color 180ms ease;
    touch-action: manipulation;
}

body.nsm-section-redesign .school-procure-open:hover {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .school-procure-missing {
    color: #9f2f28 !important;
}

body.nsm-section-redesign .school-procure-empty {
    color: var(--nsr-muted) !important;
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .school-procure-empty h2 {
    color: var(--nsr-ink) !important;
}

body.nsm-section-redesign .school-procure-pagination {
    flex-wrap: wrap;
    margin-top: 38px !important;
}

body.nsm-section-redesign .school-procure-pagination a {
    min-width: 44px;
    height: 44px;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.nsm-section-redesign .school-procure-pagination a:hover,
body.nsm-section-redesign .school-procure-pagination a.active {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .school-procure-pagination a:hover {
    transform: translateY(-2px);
}

body.nsm-section-redesign .school-tabs a:focus-visible,
body.nsm-section-redesign .school-procure-search button:focus-visible,
body.nsm-section-redesign .school-procure-search > a:focus-visible,
body.nsm-section-redesign .school-procure-page .ai-summarize-btn:focus-visible,
body.nsm-section-redesign .school-procure-open:focus-visible,
body.nsm-section-redesign .school-procure-pagination a:focus-visible {
    outline: 3px solid var(--nsr-gold);
    outline-offset: 3px;
}

/* Remaining public front-end — municipal record, search and reading desk. */
.nsr-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.nsm-section-redesign .public-record-page,
body.nsm-section-redesign .news-detail-page,
body.nsm-section-redesign .search-results-page {
    min-height: 80vh;
    padding: 72px 0 88px !important;
    color: var(--nsr-ink);
    background: transparent !important;
}

body.nsm-section-redesign .public-record-shell,
body.nsm-section-redesign .news-detail-page > .container,
body.nsm-section-redesign .search-results-page > .container {
    width: min(calc(100% - 64px), 980px);
    max-width: 980px !important;
    margin-inline: auto !important;
    padding: 0 !important;
}

body.nsm-section-redesign .record-back-row,
body.nsm-section-redesign .news-detail-page .breadcrumbs {
    margin-bottom: 24px !important;
    color: var(--nsr-muted) !important;
    font-size: .9rem !important;
}

body.nsm-section-redesign .record-back-row a,
body.nsm-section-redesign .news-detail-page .breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nsr-plum-deep) !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px;
}

body.nsm-section-redesign .public-record-card,
body.nsm-section-redesign .news-article-card {
    overflow: hidden;
    padding: 0 !important;
    background: var(--nsr-paper) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-top: 3px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 58px rgba(35, 18, 36, .09) !important;
}

body.nsm-section-redesign .public-record-header,
body.nsm-section-redesign .banner-detail-header,
body.nsm-section-redesign .banner-registry-header,
body.nsm-section-redesign .news-detail-page .article-meta {
    position: relative;
    isolation: isolate;
    padding: 34px 36px 30px !important;
    margin: 0 !important;
    color: var(--nsr-white) !important;
    text-align: left !important;
    background:
        linear-gradient(120deg, rgba(43, 18, 56, .97), rgba(94, 47, 115, .91)),
        radial-gradient(circle at 84% 18%, rgba(214, 174, 92, .23), transparent 32%) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsr-gold) !important;
}

body.nsm-section-redesign .public-record-header::after,
body.nsm-section-redesign .banner-detail-header::after,
body.nsm-section-redesign .banner-registry-header::after,
body.nsm-section-redesign .news-detail-page .article-meta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, transparent 0 74%, rgba(255, 255, 255, .055) 74% 74.15%, transparent 74.15%);
    pointer-events: none;
}

body.nsm-section-redesign .public-record-kicker,
body.nsm-section-redesign .news-detail-page .article-meta .badge,
body.nsm-section-redesign .search-page-kicker {
    display: inline-flex !important;
    align-items: center;
    min-height: 28px;
    margin: 0 0 14px !important;
    padding: 4px 0 !important;
    color: var(--nsr-gold-soft) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-size: .7rem !important;
    font-weight: 600 !important;
    letter-spacing: .15em;
    text-transform: uppercase;
}

body.nsm-section-redesign .public-record-header h1,
body.nsm-section-redesign .banner-detail-header h1,
body.nsm-section-redesign .banner-registry-header h1,
body.nsm-section-redesign .news-detail-page .article-title {
    max-width: 860px;
    margin: 0 !important;
    color: var(--nsr-white) !important;
    font-family: "Kanit", sans-serif !important;
    font-size: clamp(1.65rem, 3.5vw, 2.8rem) !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: -.02em;
    text-align: left !important;
    text-wrap: balance;
}

body.nsm-section-redesign .banner-detail-header > div,
body.nsm-section-redesign .news-detail-page .meta-flex {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px 22px !important;
    margin: 18px 0 0 !important;
    padding: 16px 0 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .14) !important;
}

body.nsm-section-redesign .public-record-body {
    padding: 32px 36px 36px !important;
}

body.nsm-section-redesign .public-record-table {
    color: var(--nsr-ink);
}

body.nsm-section-redesign .public-record-table td {
    padding: 18px 10px !important;
    color: var(--nsr-ink) !important;
    border-bottom-color: var(--nsr-divider) !important;
    vertical-align: top;
}

body.nsm-section-redesign .public-record-table td:first-child {
    width: 190px !important;
    color: var(--nsr-muted) !important;
    font-size: .9rem;
}

body.nsm-section-redesign .public-record-table i {
    color: var(--nsr-plum);
}

body.nsm-section-redesign .public-record-file,
body.nsm-section-redesign .record-print-button,
body.nsm-section-redesign .news-detail-page .btn-print,
body.nsm-section-redesign .news-detail-page .btn-back {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    gap: 9px;
    padding: 10px 18px !important;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-left: 3px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.nsm-section-redesign .public-record-file:hover,
body.nsm-section-redesign .record-print-button:hover,
body.nsm-section-redesign .news-detail-page .btn-print:hover,
body.nsm-section-redesign .news-detail-page .btn-back:hover {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
    transform: translateY(-2px);
}

body.nsm-section-redesign .public-record-actions {
    margin-top: 30px !important;
}

body.nsm-section-redesign .banner-detail-card {
    padding: 0 36px 36px !important;
}

body.nsm-section-redesign .banner-detail-header {
    margin-inline: -36px !important;
}

body.nsm-section-redesign .banner-detail-card > hr {
    margin: 0 0 32px !important;
    border-top-color: var(--nsr-divider) !important;
}

body.nsm-section-redesign .banner-detail-gallery img {
    width: auto;
    max-width: 100% !important;
    height: auto;
    background: var(--nsr-white);
    border: 1px solid var(--nsr-divider);
    border-radius: 0 !important;
    box-shadow: 0 18px 36px rgba(35, 18, 36, .08) !important;
}

body.nsm-section-redesign .banner-registry-card {
    padding: 0 36px 36px !important;
}

body.nsm-section-redesign .banner-registry-header {
    margin-inline: -36px !important;
    margin-bottom: 0 !important;
}

body.nsm-section-redesign .banner-registry-list {
    gap: 0 !important;
}

body.nsm-section-redesign .total-banner-row {
    padding: 22px 0 !important;
    border-bottom: 1px solid var(--nsr-divider) !important;
}

body.nsm-section-redesign .total-banner-row:hover {
    padding-left: 12px !important;
    background: rgba(210, 178, 112, .08) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .total-banner-row > a {
    align-items: center;
    min-width: 0;
}

body.nsm-section-redesign .banner-registry-thumb {
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
    background: var(--nsr-paper-deep) !important;
}

body.nsm-section-redesign .total-banner-row h3 {
    color: var(--nsr-ink) !important;
    text-wrap: pretty;
}

body.nsm-section-redesign .banner-pagination {
    flex-wrap: wrap;
}

body.nsm-section-redesign .modern-navi-btn {
    min-height: 42px;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .modern-navi-btn:hover,
body.nsm-section-redesign .modern-navi-btn.active {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .news-detail-page .gallery-wrapper,
body.nsm-section-redesign .news-detail-page .article-content,
body.nsm-section-redesign .news-detail-page .ai-summarize-card,
body.nsm-section-redesign .news-detail-page .article-footer-actions {
    margin-inline: 36px !important;
}

body.nsm-section-redesign .news-detail-page .gallery-wrapper {
    margin-top: 34px !important;
    margin-bottom: 32px !important;
}

body.nsm-section-redesign .news-detail-page .main-image-container {
    overflow: hidden;
    margin-bottom: 15px !important;
    background: var(--nsr-paper-deep);
    border: 1px solid var(--nsr-divider);
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.nsm-section-redesign .news-detail-page #activeGalleryImage {
    max-height: 620px !important;
    object-fit: contain !important;
    background: var(--nsr-paper-deep);
}

body.nsm-section-redesign .news-detail-page .thumbnail-grid {
    gap: 10px !important;
}

body.nsm-section-redesign .news-detail-page .thumbnail-item {
    padding: 0;
    background: var(--nsr-paper-deep);
    border-color: transparent !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .news-detail-page .thumbnail-item:hover,
body.nsm-section-redesign .news-detail-page .thumbnail-item.active {
    border-color: var(--nsr-gold) !important;
    transform: translateY(-2px);
}

body.nsm-section-redesign .news-detail-page .article-content {
    margin-top: 30px !important;
    margin-bottom: 34px !important;
    color: var(--nsr-ink) !important;
    font-size: 1.04rem !important;
    line-height: 1.9 !important;
}

body.nsm-section-redesign .news-detail-page .content-text {
    overflow-wrap: anywhere;
}

body.nsm-section-redesign .news-detail-page .content-text img,
body.nsm-section-redesign .news-detail-page .content-text iframe {
    max-width: 100%;
}

body.nsm-section-redesign .news-detail-page .article-footer-actions {
    gap: 14px;
    padding: 26px 0 36px !important;
    border-top-color: var(--nsr-divider) !important;
}

body.nsm-section-redesign .record-back-row a:focus-visible,
body.nsm-section-redesign .public-record-file:focus-visible,
body.nsm-section-redesign .record-print-button:focus-visible,
body.nsm-section-redesign .modern-navi-btn:focus-visible,
body.nsm-section-redesign .news-detail-page a:focus-visible,
body.nsm-section-redesign .news-detail-page button:focus-visible {
    outline: 3px solid var(--nsr-gold);
    outline-offset: 3px;
}

/* Municipal search index. */
body.nsm-section-redesign .search-results-page > .container {
    max-width: 1040px !important;
}

body.nsm-section-redesign .search-page-header {
    padding: 38px 42px 36px;
    color: var(--nsr-white);
    background:
        linear-gradient(120deg, rgba(43, 18, 56, .97), rgba(94, 47, 115, .91)),
        radial-gradient(circle at 82% 16%, rgba(214, 174, 92, .24), transparent 34%);
    border-bottom: 1px solid var(--nsr-gold);
}

body.nsm-section-redesign .search-page-header h1 {
    margin: 0 0 22px;
    color: var(--nsr-white);
    font-family: "Kanit", sans-serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.12;
    text-wrap: balance;
}

body.nsm-section-redesign .search-page-header h1 i {
    color: var(--nsr-gold-soft);
    font-size: .6em;
}

body.nsm-section-redesign .search-page-form {
    max-width: 760px;
}

body.nsm-section-redesign .search-page-input-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 7px 7px 7px 18px;
    background: var(--nsr-paper);
    border: 1px solid rgba(255, 255, 255, .28);
    border-left: 3px solid var(--nsr-gold);
}

body.nsm-section-redesign .search-page-input-wrap:focus-within {
    outline: 3px solid var(--nsr-gold-soft);
    outline-offset: 3px;
}

body.nsm-section-redesign .search-page-input-wrap > i {
    color: var(--nsr-plum);
}

body.nsm-section-redesign .search-page-input-wrap input {
    min-width: 0;
    height: 44px;
    padding: 0;
    color: var(--nsr-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font: 400 1rem/1.4 "Kanit", sans-serif;
}

body.nsm-section-redesign .search-page-input-wrap button {
    min-height: 44px;
    padding: 9px 22px;
    color: var(--nsr-white);
    background: var(--nsr-plum-deep);
    border: 1px solid var(--nsr-plum-deep);
    border-radius: 0;
    font-family: "Kanit", sans-serif;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.nsm-section-redesign .search-page-input-wrap button:hover {
    color: var(--nsr-plum-deep);
    background: var(--nsr-gold-soft);
    border-color: var(--nsr-gold-soft);
}

body.nsm-section-redesign .search-summary {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .72);
}

body.nsm-section-redesign .search-summary strong {
    color: var(--nsr-gold-soft);
}

body.nsm-section-redesign .search-page-header .ai-summarize-card {
    margin: 26px 0 0 !important;
    color: var(--nsr-ink);
    background: var(--nsr-paper) !important;
    border-color: rgba(210, 178, 112, .55) !important;
}

body.nsm-section-redesign .search-direct-link {
    color: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .search-direct-link:hover {
    color: var(--nsr-white) !important;
    background: var(--nsr-plum-deep) !important;
    border-color: var(--nsr-plum-deep) !important;
    transform: translateY(-2px);
}

body.nsm-section-redesign .search-empty-state {
    padding: 72px 30px;
    color: var(--nsr-muted);
    text-align: center;
    background: var(--nsr-paper);
    border: 1px solid var(--nsr-divider);
    border-top: 3px solid var(--nsr-gold);
}

body.nsm-section-redesign .search-empty-state > i {
    margin-bottom: 18px;
    color: var(--nsr-lilac);
    font-size: 2.6rem;
}

body.nsm-section-redesign .search-empty-state h3 {
    margin: 0 0 8px;
    color: var(--nsr-ink);
    font-size: 1.35rem;
}

body.nsm-section-redesign .search-tabs {
    display: flex;
    gap: 0;
    margin-top: 30px;
    overflow-x: auto;
    border-bottom: 1px solid var(--nsr-divider);
}

body.nsm-section-redesign .search-tab {
    min-height: 48px;
    padding: 11px 18px;
    color: var(--nsr-muted);
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    font-family: "Kanit", sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.nsm-section-redesign .search-tab:hover,
body.nsm-section-redesign .search-tab.active {
    color: var(--nsr-plum-deep);
    background: rgba(210, 178, 112, .08);
    border-bottom-color: var(--nsr-gold);
}

body.nsm-section-redesign .tab-count {
    display: inline-grid;
    min-width: 28px;
    min-height: 28px;
    margin-left: 5px;
    place-items: center;
    color: var(--nsr-plum-deep);
    background: var(--nsr-paper-deep);
    border: 1px solid var(--nsr-divider);
    font: 600 .75rem/1 "Inter", sans-serif;
    font-variant-numeric: tabular-nums;
}

body.nsm-section-redesign .search-tab-content {
    display: none;
    padding-top: 18px;
}

body.nsm-section-redesign .search-tab-content.active {
    display: grid;
    gap: 14px;
}

body.nsm-section-redesign .search-tab-content[hidden] {
    display: none !important;
}

body.nsm-section-redesign .search-result-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    color: inherit;
    background: var(--nsr-paper);
    border: 1px solid var(--nsr-divider);
    border-left: 3px solid var(--nsr-gold);
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.nsm-section-redesign .search-result-card:hover {
    background: var(--nsr-white);
    border-color: var(--nsr-gold);
    box-shadow: 0 14px 30px rgba(35, 18, 36, .08);
    transform: translateY(-2px);
}

body.nsm-section-redesign .search-result-thumb {
    min-height: 150px;
    background: var(--nsr-paper-deep);
    border-right: 1px solid var(--nsr-divider);
}

body.nsm-section-redesign .search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.nsm-section-redesign .search-result-body {
    min-width: 0;
    padding: 20px 22px;
}

body.nsm-section-redesign .search-result-category,
body.nsm-section-redesign .search-result-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nsr-plum) !important;
    font-size: .78rem;
}

body.nsm-section-redesign .search-result-category-procure {
    color: #9f2f28 !important;
}

body.nsm-section-redesign .search-result-title {
    margin: 7px 0 8px;
    color: var(--nsr-ink);
    font: 500 1.08rem/1.55 "Kanit", sans-serif;
    text-wrap: pretty;
}

body.nsm-section-redesign .search-result-excerpt {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--nsr-muted);
    font-size: .9rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-wrap: pretty;
}

body.nsm-section-redesign mark {
    padding: 1px 3px;
    color: inherit;
    background: rgba(210, 178, 112, .35);
}

body.nsm-section-redesign .search-tab:focus-visible,
body.nsm-section-redesign .search-result-card:focus-visible,
body.nsm-section-redesign .search-direct-link:focus-visible,
body.nsm-section-redesign .search-page-input-wrap button:focus-visible {
    outline: 3px solid var(--nsr-gold);
    outline-offset: 3px;
}

/* E-book viewer keeps a focused dark reading desk within the civic palette. */
body.nsm-section-redesign .ebook-viewer-page {
    min-height: 100vh;
    padding: 0 !important;
    background: #211426 !important;
}

body.nsm-section-redesign .ebook-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    gap: 24px;
    padding: 16px 24px !important;
    color: var(--nsr-white);
    background:
        linear-gradient(115deg, rgba(43, 18, 56, .98), rgba(73, 36, 87, .98)),
        #2b1238 !important;
    border-top: 3px solid var(--nsr-gold);
    border-bottom: 1px solid rgba(210, 178, 112, .45);
    box-shadow: 0 14px 34px rgba(12, 6, 14, .3) !important;
}

body.nsm-section-redesign .ebook-toolbar-title {
    min-width: 0;
}

body.nsm-section-redesign .ebook-toolbar h1 {
    overflow: hidden;
    color: var(--nsr-white) !important;
    font-size: 1.05rem !important;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.nsm-section-redesign .ebook-toolbar h1 i {
    color: var(--nsr-gold-soft) !important;
}

body.nsm-section-redesign .ebook-back-link,
body.nsm-section-redesign .ebook-btn {
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px !important;
    color: rgba(255, 255, 255, .82) !important;
    background: rgba(255, 255, 255, .065) !important;
    border: 1px solid rgba(210, 178, 112, .32) !important;
    border-radius: 0 !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.nsm-section-redesign .ebook-back-link:hover,
body.nsm-section-redesign .ebook-btn:hover {
    color: #211426 !important;
    background: var(--nsr-gold-soft) !important;
    border-color: var(--nsr-gold-soft) !important;
    transform: translateY(-1px);
}

body.nsm-section-redesign .ebook-controls {
    flex: 0 0 auto;
    align-items: center;
}

body.nsm-section-redesign #page-info {
    min-width: 88px;
    justify-content: center;
    color: var(--nsr-gold-soft) !important;
    font-variant-numeric: tabular-nums;
}

body.nsm-section-redesign .ebook-stage {
    height: calc(100vh - 76px) !important;
    min-height: 560px;
    overscroll-behavior: contain;
    background:
        radial-gradient(circle at 50% 18%, rgba(112, 64, 128, .25), transparent 42%),
        linear-gradient(180deg, #211426, #140d17) !important;
    scrollbar-color: var(--nsr-lilac) #140d17;
}

body.nsm-section-redesign .book-page {
    border-radius: 0 !important;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .42) !important;
}

body.nsm-section-redesign .ebook-back-link:focus-visible,
body.nsm-section-redesign .ebook-btn:focus-visible {
    outline: 3px solid var(--nsr-gold-soft);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    body.nsm-section-redesign .public-record-shell,
    body.nsm-section-redesign .news-detail-page > .container,
    body.nsm-section-redesign .search-results-page > .container {
        width: min(calc(100% - 40px), 980px);
    }

    body.nsm-section-redesign .ebook-toolbar {
        align-items: flex-start !important;
        flex-direction: column;
    }

    body.nsm-section-redesign .ebook-controls {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }
}

@media (max-width: 640px) {
    body.nsm-section-redesign .public-record-page,
    body.nsm-section-redesign .news-detail-page,
    body.nsm-section-redesign .search-results-page {
        padding: 48px 0 68px !important;
    }

    body.nsm-section-redesign .public-record-shell,
    body.nsm-section-redesign .news-detail-page > .container,
    body.nsm-section-redesign .search-results-page > .container {
        width: min(calc(100% - 28px), 980px);
    }

    body.nsm-section-redesign .public-record-header,
    body.nsm-section-redesign .banner-detail-header,
    body.nsm-section-redesign .banner-registry-header,
    body.nsm-section-redesign .news-detail-page .article-meta,
    body.nsm-section-redesign .search-page-header {
        padding: 26px 20px 24px !important;
    }

    body.nsm-section-redesign .public-record-body,
    body.nsm-section-redesign .banner-detail-card,
    body.nsm-section-redesign .banner-registry-card {
        padding: 24px 18px !important;
    }

    body.nsm-section-redesign .banner-detail-header,
    body.nsm-section-redesign .banner-registry-header {
        margin: -24px -18px 0 !important;
    }

    body.nsm-section-redesign .public-record-table,
    body.nsm-section-redesign .public-record-table tbody,
    body.nsm-section-redesign .public-record-table tr,
    body.nsm-section-redesign .public-record-table td {
        display: block;
        width: 100% !important;
    }

    body.nsm-section-redesign .public-record-table tr {
        padding: 14px 0;
        border-bottom: 1px solid var(--nsr-divider);
    }

    body.nsm-section-redesign .public-record-table td {
        padding: 4px 0 !important;
        border: 0 !important;
    }

    body.nsm-section-redesign .public-record-file,
    body.nsm-section-redesign .record-print-button {
        width: 100%;
    }

    body.nsm-section-redesign .total-banner-row > a {
        align-items: flex-start;
        flex-direction: column;
    }

    body.nsm-section-redesign .banner-registry-thumb {
        width: 100% !important;
        height: 150px !important;
    }

    body.nsm-section-redesign .news-detail-page .gallery-wrapper,
    body.nsm-section-redesign .news-detail-page .article-content,
    body.nsm-section-redesign .news-detail-page .ai-summarize-card,
    body.nsm-section-redesign .news-detail-page .article-footer-actions {
        margin-inline: 18px !important;
    }

    body.nsm-section-redesign .news-detail-page .article-footer-actions {
        align-items: stretch !important;
        flex-direction: column;
    }

    body.nsm-section-redesign .news-detail-page .btn-print,
    body.nsm-section-redesign .news-detail-page .btn-back {
        width: 100%;
    }

    body.nsm-section-redesign .search-page-input-wrap {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body.nsm-section-redesign .search-page-input-wrap button {
        grid-column: 1 / -1;
        width: 100%;
    }

    body.nsm-section-redesign .search-result-card {
        grid-template-columns: 1fr;
    }

    body.nsm-section-redesign .search-result-thumb {
        height: 190px;
        border-right: 0;
        border-bottom: 1px solid var(--nsr-divider);
    }

    body.nsm-section-redesign .ebook-toolbar {
        padding: 14px !important;
    }

    body.nsm-section-redesign .ebook-toolbar-title {
        align-items: flex-start !important;
        flex-direction: column;
    }

    body.nsm-section-redesign .ebook-toolbar h1 {
        max-width: calc(100vw - 28px);
        white-space: normal;
    }

    body.nsm-section-redesign .ebook-stage {
        height: calc(100vh - 170px) !important;
        min-height: 460px;
        padding: 16px !important;
    }
}

/* Contact — civic contact desk and location ledger. */
body.nsm-section-redesign .contact-page {
    min-height: 80vh;
    padding: 72px 0 88px !important;
    background: transparent !important;
}

body.nsm-section-redesign .contact-page > .container {
    width: min(calc(100% - 64px), var(--nsr-shell));
    max-width: var(--nsr-shell) !important;
    margin-inline: auto !important;
    padding: 0 !important;
}

body.nsm-section-redesign .contact-grid {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr) !important;
    gap: 28px !important;
}

body.nsm-section-redesign .contact-info-wrapper,
body.nsm-section-redesign .map-card-wrapper {
    overflow: hidden;
    background: var(--nsr-paper) !important;
    border: 1px solid var(--nsr-divider) !important;
    border-top: 3px solid var(--nsr-gold) !important;
    border-radius: 0 !important;
    box-shadow: 0 22px 52px rgba(35, 18, 36, .08) !important;
}

body.nsm-section-redesign .contact-info-wrapper {
    gap: 0 !important;
}

body.nsm-section-redesign .contact-card-main {
    padding: 28px !important;
    color: var(--nsr-white);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 46%),
        var(--nsr-plum-deep) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.nsm-section-redesign .contact-office-heading {
    align-items: flex-start !important;
    margin-bottom: 16px !important;
}

body.nsm-section-redesign .contact-office-icon {
    flex: 0 0 52px;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    color: var(--nsr-gold-soft) !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(210, 178, 112, .52);
    border-left-width: 3px;
    border-radius: 0 !important;
}

body.nsm-section-redesign .contact-card-main h2 {
    color: var(--nsr-white) !important;
    font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
    line-height: 1.45 !important;
}

body.nsm-section-redesign .contact-card-main p {
    color: rgba(255, 255, 255, .72) !important;
}

body.nsm-section-redesign .contact-card {
    gap: 18px !important;
    align-items: flex-start !important;
    padding: 22px 24px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--nsr-divider) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.nsm-section-redesign .contact-card:last-child {
    border-bottom: 0 !important;
}

body.nsm-section-redesign .contact-card:hover {
    background: rgba(210, 178, 112, .09) !important;
    border-bottom-color: var(--nsr-gold) !important;
    transform: none !important;
}

body.nsm-section-redesign .contact-card-icon {
    display: grid !important;
    flex: 0 0 48px;
    place-items: center;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    color: var(--nsr-plum-deep) !important;
    background: var(--nsr-paper-deep) !important;
    border-left: 3px solid var(--nsr-gold);
    border-radius: 0 !important;
    font-size: 1.15rem !important;
}

body.nsm-section-redesign .contact-card-copy {
    min-width: 0;
}

body.nsm-section-redesign .contact-card h3 {
    color: var(--nsr-ink) !important;
}

body.nsm-section-redesign .contact-card p,
body.nsm-section-redesign .contact-card address {
    color: var(--nsr-muted) !important;
}

body.nsm-section-redesign .contact-card a {
    color: var(--nsr-plum-deep) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

body.nsm-section-redesign .map-card-wrapper {
    gap: 18px !important;
    height: 100% !important;
    padding: 22px !important;
}

body.nsm-section-redesign .contact-map-header {
    gap: 20px;
    padding-bottom: 16px !important;
    margin-bottom: 0 !important;
    border-bottom-color: var(--nsr-divider) !important;
}

body.nsm-section-redesign .contact-map-title {
    color: var(--nsr-ink) !important;
}

body.nsm-section-redesign .contact-map-title i,
body.nsm-section-redesign .contact-map-header > a {
    color: var(--nsr-plum-deep) !important;
}

body.nsm-section-redesign .contact-map-header > a {
    flex: 0 0 auto;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px;
}

body.nsm-section-redesign .contact-map-frame {
    min-height: 480px;
    aspect-ratio: auto !important;
    border-color: var(--nsr-divider) !important;
    border-radius: 0 !important;
}

body.nsm-section-redesign .contact-map-frame iframe {
    width: 100%;
    height: 100%;
}

body.nsm-section-redesign .contact-card a:focus-visible,
body.nsm-section-redesign .contact-map-header > a:focus-visible {
    outline: 3px solid var(--nsr-gold);
    outline-offset: 3px;
}

/* Responsive guardrails for long Thai labels and hierarchical diagrams. */
body.nsm-section-redesign h1,
body.nsm-section-redesign h2,
body.nsm-section-redesign h3,
body.nsm-section-redesign p,
body.nsm-section-redesign a,
body.nsm-section-redesign button {
    overflow-wrap: break-word;
    word-break: normal;
    line-break: loose;
}

@media (max-width: 900px) {
    body.nsm-section-redesign .page-content > .container,
    body.nsm-section-redesign .alderman-board-wrap,
    body.nsm-section-redesign .page-header .container,
    body.nsm-section-redesign .alderman-hero-inner,
    body.nsm-section-redesign .news-archive-page > .container,
    body.nsm-section-redesign .magazine-page > .container,
    body.nsm-section-redesign .newsletter-hero-inner,
    body.nsm-section-redesign .newsletter-container,
    body.nsm-section-redesign .school-procure-hero-inner,
    body.nsm-section-redesign .school-procure-container,
    body.nsm-section-redesign .contact-page > .container {
        width: min(calc(100% - 40px), var(--nsr-shell));
    }

    body.nsm-section-redesign .contact-grid {
        grid-template-columns: 1fr !important;
    }

    body.nsm-section-redesign .contact-map-frame {
        min-height: 440px;
    }

    body.nsm-section-redesign .page-header,
    body.nsm-section-redesign .alderman-hero {
        padding: 62px 0 54px !important;
    }

    body.nsm-section-redesign .structure-section,
    body.nsm-section-redesign .executive-group-section,
    body.nsm-section-redesign .meetings-card-wrapper,
    body.nsm-section-redesign .ita-wrapper {
        padding: 26px 22px !important;
    }

    body.nsm-section-redesign .org-tree-wrapper,
    body.nsm-section-redesign .board-tree-wrapper {
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 12px;
    }

    body.nsm-section-redesign .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.nsm-section-redesign .magazine-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.nsm-section-redesign .newsletter-filter {
        grid-template-columns: 1fr 1fr !important;
    }

    body.nsm-section-redesign .newsletter-filter-button,
    body.nsm-section-redesign .newsletter-clear-button {
        width: 100%;
    }

    body.nsm-section-redesign .newsletter-grid {
        grid-template-columns: 1fr !important;
    }

    body.nsm-section-redesign .school-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.nsm-section-redesign .school-procure-card {
        align-items: flex-start !important;
        flex-wrap: wrap;
    }

    body.nsm-section-redesign .school-procure-open {
        margin-left: 70px !important;
    }
}

@media (max-width: 640px) {
    body.nsm-section-redesign .page-content > .container,
    body.nsm-section-redesign .alderman-board-wrap,
    body.nsm-section-redesign .page-header .container,
    body.nsm-section-redesign .alderman-hero-inner,
    body.nsm-section-redesign .news-archive-page > .container,
    body.nsm-section-redesign .magazine-page > .container,
    body.nsm-section-redesign .newsletter-hero-inner,
    body.nsm-section-redesign .newsletter-container,
    body.nsm-section-redesign .school-procure-hero-inner,
    body.nsm-section-redesign .school-procure-container,
    body.nsm-section-redesign .contact-page > .container {
        width: min(calc(100% - 28px), var(--nsr-shell));
    }

    body.nsm-section-redesign .contact-page {
        padding: 48px 0 68px !important;
    }

    body.nsm-section-redesign .contact-page .archive-header {
        margin-bottom: 34px !important;
    }

    body.nsm-section-redesign .contact-card-main,
    body.nsm-section-redesign .map-card-wrapper {
        padding: 18px !important;
    }

    body.nsm-section-redesign .contact-card {
        gap: 14px !important;
        padding: 18px 16px !important;
    }

    body.nsm-section-redesign .contact-office-heading,
    body.nsm-section-redesign .contact-map-header {
        align-items: flex-start !important;
        flex-direction: column;
    }

    body.nsm-section-redesign .contact-map-header > a {
        flex-basis: auto;
    }

    body.nsm-section-redesign .contact-map-frame {
        min-height: 360px;
    }

    body.nsm-section-redesign .page-header,
    body.nsm-section-redesign .alderman-hero {
        padding: 48px 0 44px !important;
    }

    body.nsm-section-redesign .page-header h1,
    body.nsm-section-redesign .alderman-hero h1,
    body.nsm-section-redesign .archive-header h1 {
        font-size: clamp(2rem, 11vw, 3rem) !important;
    }

    body.nsm-section-redesign .page-header + .container,
    body.nsm-section-redesign .page-content > .container[style*="margin-top: -"] {
        padding-top: 24px;
    }

    body.nsm-section-redesign .tab-toggle-btn,
    body.nsm-section-redesign .year-tab-btn {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    body.nsm-section-redesign .meeting-item-card {
        align-items: flex-start !important;
        padding-inline: 4px !important;
    }

    body.nsm-section-redesign .meeting-details > div {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 4px !important;
    }

    body.nsm-section-redesign .action-arrow {
        display: none !important;
    }

    body.nsm-section-redesign .news-archive-page,
    body.nsm-section-redesign .magazine-page {
        padding: 48px 0 68px !important;
    }

    body.nsm-section-redesign .news-grid,
    body.nsm-section-redesign .magazine-grid {
        grid-template-columns: 1fr !important;
    }

    body.nsm-section-redesign .news-card-body {
        padding: 21px 18px 20px !important;
    }

    body.nsm-section-redesign .news-archive-page .ita-doc-card {
        align-items: flex-start !important;
        padding: 19px 16px !important;
    }

    body.nsm-section-redesign .news-archive-page .ita-doc-icon {
        width: 44px;
        height: 44px;
        margin-right: 12px !important;
        font-size: 1.45rem !important;
    }

    body.nsm-section-redesign .newsletter-hero {
        padding: 52px 0 94px !important;
    }

    body.nsm-section-redesign .newsletter-hero-icon {
        float: none;
        width: 64px;
        height: 64px;
        margin: 0 0 18px !important;
        font-size: 1.55rem;
    }

    body.nsm-section-redesign .newsletter-filter {
        grid-template-columns: 1fr !important;
        margin-top: -46px !important;
        padding: 18px !important;
    }

    body.nsm-section-redesign .newsletter-result-bar,
    body.nsm-section-redesign .newsletter-card-footer {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    body.nsm-section-redesign .newsletter-card {
        min-height: 0;
        padding: 21px 19px !important;
    }

    body.nsm-section-redesign .school-procure-hero {
        padding: 52px 0 92px !important;
    }

    body.nsm-section-redesign .school-procure-icon {
        float: none;
        width: 64px;
        height: 64px;
        margin: 0 0 18px !important;
        font-size: 1.5rem;
    }

    body.nsm-section-redesign .school-procure-hero h1 {
        font-size: clamp(2rem, 10.5vw, 3rem) !important;
    }

    body.nsm-section-redesign .school-tabs {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 10px !important;
        margin-top: -44px !important;
        padding: 0 0 10px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: var(--nsr-lilac) transparent;
    }

    body.nsm-section-redesign .school-tabs a {
        flex: 0 0 min(78vw, 270px);
        min-height: 80px;
        scroll-snap-align: start;
    }

    body.nsm-section-redesign .school-tabs a.active {
        order: -1;
    }

    body.nsm-section-redesign .school-procure-search {
        flex-direction: column !important;
        padding: 16px !important;
    }

    body.nsm-section-redesign .school-procure-search button,
    body.nsm-section-redesign .school-procure-search > a {
        width: 100%;
    }

    body.nsm-section-redesign .school-procure-summary {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    body.nsm-section-redesign .school-procure-page .ai-summarize-header {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 14px;
    }

    body.nsm-section-redesign .school-procure-page .ai-summarize-btn {
        width: 100%;
        justify-content: center;
    }

    body.nsm-section-redesign .school-procure-card {
        gap: 13px !important;
        padding: 18px 16px !important;
    }

    body.nsm-section-redesign .school-procure-card-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    body.nsm-section-redesign .school-procure-card-body {
        flex-basis: calc(100% - 60px);
    }

    body.nsm-section-redesign .school-procure-open {
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.nsm-section-redesign *,
    body.nsm-section-redesign *::before,
    body.nsm-section-redesign *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
