/* =========================================================
   Nakhon Sawan Civic Editorial — official homepage
   Loaded exclusively by index.php
   ========================================================= */

body.nsm-redesign {
    --nsr-ink: #241d27;
    --nsr-muted: #6e6572;
    --nsr-paper: #fffdfb;
    --nsr-paper-deep: #f8f2fa;
    --nsr-plum: #704080;
    --nsr-plum-deep: #5e2f73;
    --nsr-purple: #7c3aed;
    --nsr-violet: #9656ad;
    --nsr-lilac: #d9bde4;
    --nsr-gold: #d6ae5c;
    --nsr-gold-soft: #e9d5a5;
    --nsr-divider: #eadfed;
    --nsr-white: #fff;
    /* Action colors stay independent of the lighter dark-mode text palette. */
    --nsr-action-bg: #5e2f73;
    --nsr-action-hover: #4b245c;
    --nsr-action-text: #fff;
    --nsr-gold-ink: #34203e;
    --nsr-shell: 1240px;
    --nsr-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--nsr-ink);
    background: var(--nsr-paper);
    font-family: "Kanit", sans-serif;
    overflow-x: hidden;
}

body.nsm-redesign *,
body.nsm-redesign *::before,
body.nsm-redesign *::after {
    box-sizing: border-box;
}

/* Keep the link reset weaker than component colors, including hover states. */
:where(body.nsm-redesign a) {
    color: inherit;
}

body.nsm-redesign button,
body.nsm-redesign input {
    font: inherit;
}

body.nsm-redesign img {
    max-width: 100%;
}

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

.nsr-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    padding: 11px 18px;
    color: var(--nsr-plum) !important;
    background: var(--nsr-gold);
    border: 2px solid var(--nsr-white);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

.nsr-skip-link:focus {
    transform: translateY(0);
}

.nsr-shell {
    width: min(calc(100% - 64px), var(--nsr-shell));
    margin-inline: auto;
}

.nsr-main {
    position: relative;
    z-index: 1;
    background: var(--nsr-paper);
}

.nsr-main h1,
.nsr-main h2,
.nsr-main h3,
.nsr-main p {
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: loose;
}

/* Shared header restyle */
body.nsm-redesign .top-bar {
    min-height: 34px;
    color: rgba(255, 255, 255, 0.78);
    background: var(--nsr-plum-deep);
    border: 0;
}

body.nsm-redesign .top-bar-inner {
    min-height: 34px;
    max-width: var(--nsr-shell);
    padding-block: 4px;
}

body.nsm-redesign .top-bar-left {
    gap: 24px;
    font-size: 0.76rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

body.nsm-redesign .top-bar-left i {
    margin-right: 7px;
    color: var(--nsr-gold);
}

body.nsm-redesign .top-bar-right {
    gap: 4px;
}

body.nsm-redesign .top-bar-right a {
    display: grid;
    width: 30px;
    height: 26px;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    border: 0;
    border-radius: 0;
    transition: color 180ms ease, background 180ms ease;
}

body.nsm-redesign .top-bar-right a:hover {
    color: var(--nsr-plum-deep);
    background: var(--nsr-gold);
}

body.nsm-redesign .header {
    position: sticky;
    top: 0;
    z-index: 1100;
    height: auto;
    background: rgba(252, 250, 247, 0.97);
    border-bottom: 1px solid rgba(43, 18, 56, 0.12);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

body.nsm-redesign .header.scrolled {
    background: rgba(252, 250, 247, 0.985);
    box-shadow: 0 14px 40px rgba(43, 18, 56, 0.08);
}

body.nsm-redesign .header-inner {
    max-width: var(--nsr-shell);
    min-height: 92px;
    padding-block: 10px;
    gap: 18px;
}

body.nsm-redesign .logo-link {
    min-width: 285px;
    gap: 12px;
    text-decoration: none;
}

body.nsm-redesign .logo-glow {
    width: 60px;
    height: 60px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.nsm-redesign .logo-glow::before,
body.nsm-redesign .logo-glow::after {
    display: none;
}

body.nsm-redesign .logo-img {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

body.nsm-redesign .logo-text {
    gap: 1px;
}

body.nsm-redesign .logo-title {
    color: var(--nsr-plum);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
}

body.nsm-redesign .logo-subtitle {
    color: var(--nsr-muted);
    font-family: "Inter", sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.115em;
    text-transform: uppercase;
}

body.nsm-redesign .nav-desktop {
    gap: 0;
    margin-left: auto;
}

body.nsm-redesign .nav-link {
    position: relative;
    min-height: 46px;
    padding: 13px 10px 11px;
    color: #493f4d;
    background: transparent !important;
    border-radius: 0;
    font-size: 0.79rem;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

body.nsm-redesign .nav-link::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 5px;
    left: 10px;
    height: 2px;
    background: var(--nsr-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms var(--nsr-ease);
}

body.nsm-redesign .nav-link:hover,
body.nsm-redesign .nav-link.active {
    color: var(--nsr-purple);
}

body.nsm-redesign .nav-link:hover::after,
body.nsm-redesign .nav-link.active::after,
body.nsm-redesign .nav-dropdown.is-open > .nav-link::after {
    transform: scaleX(1);
}

body.nsm-redesign .nav-link i {
    margin-left: 3px;
    font-size: 0.58rem;
}

body.nsm-redesign .dropdown-content {
    top: calc(100% + 8px);
    min-width: 235px;
    padding: 8px 0;
    background: var(--nsr-paper);
    border: 1px solid var(--nsr-divider);
    border-top: 3px solid var(--nsr-gold);
    border-radius: 0;
    box-shadow: 0 20px 45px rgba(43, 18, 56, 0.13);
}

body.nsm-redesign .nav-dropdown.is-open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.nsm-redesign .dropdown-content a {
    padding: 11px 18px;
    color: var(--nsr-ink);
    border-left: 3px solid transparent;
    font-size: 0.86rem;
    text-decoration: none;
}

body.nsm-redesign .dropdown-content a:hover {
    color: var(--nsr-purple);
    background: #f4eef5;
    border-left-color: var(--nsr-gold);
}

body.nsm-redesign .search-toggle,
body.nsm-redesign .hamburger {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: var(--nsr-plum);
    background: transparent;
    border: 1px solid rgba(43, 18, 56, 0.18);
    border-radius: 0;
}

body.nsm-redesign .search-toggle:hover,
body.nsm-redesign .hamburger:hover {
    color: var(--nsr-white);
    background: var(--nsr-plum);
    border-color: var(--nsr-plum);
}

body.nsm-redesign .hamburger span {
    background: currentColor;
}

body.nsm-redesign .mobile-nav-overlay {
    background: rgba(27, 12, 37, 0.72);
    backdrop-filter: blur(8px);
}

body.nsm-redesign .mobile-nav-panel {
    width: min(420px, 90vw);
    color: var(--nsr-ink);
    background: var(--nsr-paper);
    border-left: 5px solid var(--nsr-gold);
}

body.nsm-redesign .mobile-nav-close {
    color: var(--nsr-plum);
    background: transparent;
    border: 1px solid var(--nsr-divider);
    border-radius: 0;
}

body.nsm-redesign .mobile-nav-links > a,
body.nsm-redesign .mobile-nav-links summary {
    min-height: 48px;
    padding: 13px 4px;
    color: var(--nsr-ink);
    border-bottom: 1px solid var(--nsr-divider);
    font-size: 1rem;
    font-weight: 500;
}

body.nsm-redesign .mobile-nav-links details a {
    padding: 10px 18px;
    color: var(--nsr-muted);
    border-left: 2px solid var(--nsr-gold);
}

body.nsm-redesign .search-overlay {
    background: rgba(27, 12, 37, 0.94);
    backdrop-filter: blur(12px);
}

body.nsm-redesign .search-overlay-inner {
    color: var(--nsr-white);
}

body.nsm-redesign .search-overlay-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
}

body.nsm-redesign .search-overlay-subtitle {
    color: rgba(255, 255, 255, 0.66);
}

body.nsm-redesign .search-input-wrapper {
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--nsr-gold);
    border-radius: 0;
}

body.nsm-redesign .search-input {
    color: var(--nsr-white);
    background: transparent;
}

body.nsm-redesign .search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

body.nsm-redesign .search-submit,
body.nsm-redesign .search-overlay-close {
    color: var(--nsr-plum-deep);
    background: var(--nsr-gold);
    border-radius: 0;
}

body.nsm-redesign .search-suggestions a {
    color: var(--nsr-gold-soft);
    border-color: rgba(214, 174, 92, 0.42);
    border-radius: 0;
}

/* Hero */
.nsr-hero {
    position: relative;
    isolation: isolate;
    min-height: 760px;
    overflow: hidden;
    color: var(--nsr-white);
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 224, 249, 0.72) 0, rgba(224, 164, 231, 0.42) 25%, transparent 50%),
        radial-gradient(circle at 12% 70%, rgba(199, 139, 216, 0.64) 0, transparent 42%),
        linear-gradient(135deg, #86509d 0%, #a667b6 44%, #ca91d2 74%, #9961aa 100%);
}

.nsr-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(100, 51, 119, 0.74) 0%, rgba(125, 70, 140, 0.48) 50%, rgba(171, 108, 179, 0.18) 100%),
        linear-gradient(0deg, rgba(99, 50, 114, 0.3), transparent 54%);
}

.nsr-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.nsr-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 760px;
    padding-block: 52px 244px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: center;
}

.nsr-hero-copy {
    position: relative;
    display: flex;
    width: 100%;
    max-width: var(--nsr-shell);
    padding: 8px 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.nsr-hero-copy::before {
    content: none;
}

.nsr-kicker {
    display: flex;
    margin: 0 0 24px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.76);
    font-family: "Inter", sans-serif;
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nsr-kicker > span:nth-child(2) {
    width: 54px;
    height: 1px;
    background: var(--nsr-gold);
}

.nsr-kicker strong {
    font-family: "Kanit", sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.nsr-hero h1 {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    letter-spacing: 0;
    text-wrap: balance;
}

.nsr-hero h1 > span {
    color: var(--nsr-gold-soft);
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    font-weight: 400;
    line-height: 1.25;
}

.nsr-hero h1 > strong {
    max-width: none;
    color: var(--nsr-white);
    font-size: clamp(2.85rem, 4.45vw, 4.75rem);
    font-weight: 500;
    line-height: 1.08;
    white-space: nowrap;
    text-shadow: 0 12px 34px rgba(44, 8, 64, 0.4);
}

.nsr-vision {
    width: min(100%, 625px);
    max-width: 625px;
    margin-top: 24px;
    padding: 14px 0 0;
    text-align: center;
    background: transparent;
    border: 0;
    border-top: 2px solid var(--nsr-gold);
}

.nsr-vision-label {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--nsr-gold);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.nsr-vision p {
    display: flex;
    width: 100%;
    margin: 6px 0 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--nsr-gold-soft);
    font-size: clamp(1.1rem, 1.45vw, 1.45rem);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.5;
}

.nsr-vision-line {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 0.38em;
    text-align: center;
}

.nsr-vision-line > span {
    white-space: nowrap;
}

.nsr-hero-description {
    max-width: 610px;
    margin: 19px auto 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.98rem, 1.25vw, 1.08rem);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.72;
}

.nsr-hero-actions {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nsr-button {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 22px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 0.94rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--nsr-ease);
}

.nsr-button:hover {
    transform: translateY(-2px);
}

.nsr-button-gold {
    color: var(--nsr-gold-ink) !important;
    background: var(--nsr-gold);
}

.nsr-button-gold:hover {
    background: #e4c16f;
}

.nsr-button-ghost {
    color: var(--nsr-white) !important;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.34);
}

.nsr-button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--nsr-white);
}

.nsr-smart-story {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 28px;
    left: 0;
    padding: 18px 24px 12px;
    background: linear-gradient(145deg, rgba(104, 53, 122, 0.94), rgba(151, 87, 163, 0.88));
    border: 1px solid rgba(233, 213, 165, 0.24);
    box-shadow: 0 24px 60px rgba(37, 6, 52, 0.28);
    backdrop-filter: blur(12px);
}

.nsr-smart-story-heading {
    display: flex;
    min-height: 44px;
    margin-bottom: 10px;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.nsr-smart-story-heading span {
    display: block;
    color: var(--nsr-gold);
    font-family: "Inter", sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.nsr-smart-story-heading h2 {
    margin: 2px 0 0;
    color: var(--nsr-white);
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    font-weight: 400;
    line-height: 1.3;
}

.nsr-smart-story-heading p {
    margin: 0 0 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    font-weight: 300;
}

.nsr-smart-route-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: rgba(214, 174, 92, 0.42) transparent;
    scrollbar-width: thin;
}

.nsr-smart-route-stage {
    position: relative;
    min-width: 1160px;
    height: 142px;
    padding-inline: 12px;
}

.nsr-smart-route {
    position: relative;
    z-index: 2;
    display: grid;
    margin: 0;
    padding: 0 0 35px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
}

.nsr-smart-route li {
    position: relative;
    display: grid;
    min-height: 82px;
    padding: 11px 12px;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--nsr-ease);
    animation: nsr-smart-card 4.8s ease-in-out infinite;
}

.nsr-smart-route li:nth-child(2) {
    animation-delay: -3.8s;
}

.nsr-smart-route li:nth-child(3) {
    animation-delay: -2.8s;
}

.nsr-smart-route li:nth-child(4) {
    animation-delay: -1.8s;
}

.nsr-smart-route li:nth-child(5) {
    animation-delay: -0.8s;
}

.nsr-smart-route li::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 7px;
    height: 7px;
    background: var(--nsr-gold);
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(214, 174, 92, 0.12);
    transform: translateX(-50%);
}

.nsr-smart-route-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    grid-row: 1 / 3;
    align-items: center;
    justify-content: center;
    color: #4a1467;
    background: linear-gradient(145deg, #f2dfa9, #d6ae5c);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(35, 6, 50, 0.22);
}

.nsr-smart-route strong,
.nsr-smart-route small {
    display: block;
    min-width: 0;
}

.nsr-smart-route strong {
    align-self: end;
    color: var(--nsr-white);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.25;
}

.nsr-smart-route small {
    align-self: start;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.7rem;
    font-weight: 300;
    line-height: 1.35;
}

.nsr-smart-route-line {
    position: absolute;
    z-index: 1;
    right: 4%;
    bottom: 17px;
    left: 4%;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.nsr-smart-route-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, var(--nsr-gold) 46%, #f6e5b4 50%, var(--nsr-gold) 54%, transparent 100%);
    background-size: 34% 100%;
    background-repeat: no-repeat;
    animation: nsr-route-light 6s linear infinite;
}

@keyframes nsr-smart-card {
    0%,
    82%,
    100% {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.1);
        transform: translateY(0);
    }
    90% {
        background: rgba(255, 255, 255, 0.13);
        border-color: rgba(233, 213, 165, 0.34);
        transform: translateY(-3px);
    }
}

@keyframes nsr-route-light {
    from {
        background-position: -45% 0;
    }
    to {
        background-position: 145% 0;
    }
}

.nsr-hero-note {
    align-self: end;
    max-width: 310px;
    margin-left: auto;
    padding: 26px 0 0 30px;
    border-top: 1px solid rgba(214, 174, 92, 0.72);
    border-left: 1px solid rgba(214, 174, 92, 0.35);
}

.nsr-hero-note-index {
    color: var(--nsr-gold);
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.nsr-hero-note p {
    margin: 12px 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

.nsr-hero-note div {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.52);
    font-family: "Inter", "Kanit", sans-serif;
    font-size: 0.7rem;
    line-height: 1.7;
}

/* Shared section language */
.nsr-section {
    position: relative;
    padding-block: 92px;
}

.nsr-section-heading {
    display: grid;
    margin-bottom: 46px;
    grid-template-columns: 78px minmax(280px, 1fr) minmax(260px, 390px);
    gap: 22px;
    align-items: end;
}

.nsr-section-number {
    color: transparent;
    font-family: "Inter", sans-serif;
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: -0.08em;
    line-height: 0.9;
    -webkit-text-stroke: 1px var(--nsr-lilac);
}

.nsr-eyebrow {
    margin: 0 0 8px;
    color: var(--nsr-violet);
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nsr-section-heading h2,
.nsr-facts-intro h2 {
    margin: 0;
    color: var(--nsr-plum);
    font-size: clamp(2rem, 3.5vw, 3.45rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.22;
    text-wrap: balance;
}

.nsr-section-heading > p {
    margin: 0;
    color: var(--nsr-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
}

.nsr-services .nsr-section-heading {
    grid-template-columns: 78px minmax(0, 1fr);
    row-gap: 12px;
    align-items: start;
}

.nsr-services .nsr-section-heading > p {
    grid-column: 2;
    max-width: 720px;
    text-wrap: pretty;
}

.nsr-text-link,
.nsr-inline-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-self: end;
    gap: 12px;
    color: var(--nsr-plum) !important;
    border-bottom: 1px solid var(--nsr-gold);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: gap 200ms var(--nsr-ease), color 200ms ease;
}

.nsr-text-link {
    padding-bottom: 7px;
}

.nsr-text-link:hover,
.nsr-inline-link:hover {
    gap: 18px;
    color: var(--nsr-purple) !important;
}

/* Services */
.nsr-services {
    background: var(--nsr-paper);
}

.nsr-service-ledger {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--nsr-divider);
}

.nsr-service-item {
    position: relative;
    display: grid;
    min-height: 156px;
    padding: 30px 28px;
    grid-template-columns: 45px 48px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    color: var(--nsr-ink);
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--nsr-divider);
    cursor: pointer;
    text-decoration: none;
    transition: color 220ms ease, background 220ms ease;
}

.nsr-service-item:nth-child(odd) {
    border-right: 1px solid var(--nsr-divider);
}

.nsr-service-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--nsr-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 260ms var(--nsr-ease);
}

.nsr-service-item:hover {
    color: var(--nsr-plum);
    background: #f7f1f7;
}

.nsr-service-item:hover::before {
    transform: scaleY(1);
}

.nsr-service-number {
    color: var(--nsr-violet);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.nsr-service-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--nsr-purple);
    border: 1px solid var(--nsr-lilac);
    border-radius: 50%;
    font-size: 1rem;
}

.nsr-service-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.nsr-service-copy strong {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
}

.nsr-service-copy small {
    max-width: 500px;
    margin-top: 8px;
    color: var(--nsr-muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.65;
}

.nsr-service-status {
    grid-column: 3;
    display: inline-flex;
    margin-top: 8px;
    align-items: center;
    gap: 9px;
    color: var(--nsr-violet);
    font-size: 0.72rem;
    font-weight: 500;
}

/* News */
.nsr-news {
    background: var(--nsr-paper-deep);
}

.nsr-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
    gap: clamp(34px, 5vw, 68px);
    align-items: stretch;
}

.nsr-news-feature {
    min-width: 0;
    height: 100%;
}

.nsr-news-feature-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Base News Image Container with Ambient Backdrop support */
.nsr-news-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--news-aspect, 16 / 10);
    max-height: 480px;
    overflow: hidden;
    background: #1c1322;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(78, 38, 92, 0.08);
}

.nsr-news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    pointer-events: none;
}

/* Double-Layer Ambient Blur Backdrop */
.nsr-news-backdrop {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.68) saturate(1.3);
    opacity: 0.65;
    transform: scale(1.15);
    pointer-events: none;
    transition: transform 600ms ease, opacity 600ms ease;
}

.nsr-news-image:hover .nsr-news-backdrop,
.nsr-news-brief-image:hover .nsr-news-backdrop {
    transform: scale(1.22);
    opacity: 0.85;
}

/* Main Image with Smart Focal Point (Headroom safe) */
.nsr-news-main-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center var(--news-focal-y, 20%);
    transition: transform 650ms var(--nsr-ease);
}

.nsr-news-image:hover .nsr-news-main-img,
.nsr-news-brief-image:hover .nsr-news-main-img {
    transform: scale(1.025);
}

/* Feature News Badge */
.nsr-news-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--nsr-gold, #d6ae5c) 0%, #b8860b 100%);
    color: var(--nsr-plum-deep, #2a0845);
    font-family: "Kanit", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

/* Default / Landscape copy */
.nsr-news-feature-copy {
    position: relative;
    width: calc(100% - 48px);
    margin: -42px 0 0 auto;
    padding: 24px 28px 0;
    background: var(--nsr-paper-deep);
    border-radius: 8px 0 0 0;
    box-shadow: -4px -4px 16px rgba(78, 38, 92, 0.03);
}

/* ===== SPLIT EDITORIAL SHOWCASE (When Featured News is Portrait) ===== */
.nsr-news-feature.is-portrait .nsr-news-feature-inner {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--nsr-divider);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(78, 38, 92, 0.06);
    height: 100%;
}

.nsr-news-feature.is-portrait .nsr-news-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
    max-height: 490px;
    width: 100%;
    border-radius: 10px;
}

.nsr-news-feature.is-portrait .nsr-news-main-img {
    object-fit: contain !important;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.32));
}

.nsr-news-feature.is-portrait .nsr-news-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 10px 14px 10px 8px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nsr-news-feature.is-portrait .nsr-news-feature-copy h3 {
    font-size: clamp(1.4rem, 2.1vw, 1.85rem);
    line-height: 1.42;
}

.nsr-news-feature-action {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--nsr-divider);
}

.nsr-news-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #ffffff;
    background: var(--nsr-action-bg);
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(42, 8, 69, 0.15);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.nsr-news-cta-btn:hover {
    background: var(--nsr-action-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(42, 8, 69, 0.25);
    color: #ffffff;
}

.nsr-news-meta {
    display: flex;
    margin-bottom: 13px;
    align-items: center;
    gap: 16px;
    color: var(--nsr-muted);
    font-size: 0.73rem;
}

.nsr-news-meta span {
    color: var(--nsr-purple);
    font-weight: 500;
}

.nsr-news-meta time::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    margin: 0 10px 3px 0;
    background: var(--nsr-gold);
}

.nsr-news-feature h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.48;
}

.nsr-news-feature h3 a,
.nsr-news-brief h3 a,
.nsr-notice-copy h3 a,
.nsr-magazine-item h3 a {
    color: inherit;
    text-decoration: none;
}

.nsr-news-feature h3 a:hover,
.nsr-news-brief h3 a:hover,
.nsr-notice-copy h3 a:hover,
.nsr-magazine-item h3 a:hover {
    color: var(--nsr-purple);
}

.nsr-news-feature-copy > p {
    margin: 16px 0 0;
    color: var(--nsr-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
}

.nsr-news-list {
    border-top: 1px solid var(--nsr-divider);
}

.nsr-news-brief {
    display: grid;
    padding-block: 0 26px;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    border-bottom: 1px solid var(--nsr-divider);
    align-items: center;
}

.nsr-news-brief + .nsr-news-brief {
    padding-top: 26px;
}

.nsr-news-brief-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1c1322;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(78, 38, 92, 0.05);
}

.nsr-news-brief-image .nsr-news-main-img {
    object-position: center var(--brief-focal-y, 20%);
}

.nsr-news-brief.is-portrait .nsr-news-brief-image .nsr-news-main-img {
    object-fit: contain !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.nsr-news-brief > div {
    min-width: 0;
}

.nsr-news-order {
    color: var(--nsr-gold);
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.nsr-news-brief time {
    display: block;
    margin: 7px 0 9px;
    color: var(--nsr-muted);
    font-size: 0.7rem;
}

.nsr-news-brief h3 {
    margin: 0 0 14px;
    font-size: 1.04rem;
    font-weight: 500;
    line-height: 1.45;
}

.nsr-inline-link {
    padding-bottom: 3px;
    font-size: 0.72rem;
}

/* Digital noticeboard */
.nsr-noticeboard {
    background:
        linear-gradient(135deg, rgba(181, 132, 200, 0.08) 0 24%, transparent 24% 100%),
        var(--nsr-paper);
}

.nsr-notice-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 36px;
    align-items: stretch;
}

.nsr-notice-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    align-self: stretch;
}

.nsr-notice-item {
    min-width: 0;
}

.nsr-notice-item.is-featured {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--nsr-divider);
}

.nsr-featured-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Adaptive Split Layout when Featured Banner is Portrait */
.nsr-notice-item.is-featured.is-portrait .nsr-featured-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    height: 100%;
}

.nsr-notice-item.is-featured.is-portrait .nsr-notice-pin-badge,
.nsr-notice-item.is-featured.is-portrait .nsr-notice-order {
    display: none !important;
}

.nsr-notice-item.is-featured.is-portrait .nsr-notice-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
    max-height: 485px;
    width: 100%;
    border-radius: 10px;
}

.nsr-notice-item.is-featured.is-portrait .nsr-notice-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--nsr-divider);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(78, 38, 92, 0.05);
    height: 100%;
}

.nsr-notice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.nsr-featured-pin-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 99px;
    background: linear-gradient(135deg, #d6ae5c 0%, #b8860b 100%);
    color: #2a0845;
    box-shadow: 0 2px 8px rgba(214, 174, 92, 0.35);
}

.nsr-notice-cta-wrap {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--nsr-divider);
}

.nsr-notice-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--nsr-action-bg);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(42, 8, 69, 0.18);
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.nsr-notice-cta-btn:hover {
    background: var(--nsr-action-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(42, 8, 69, 0.28);
    color: #ffffff;
}

.nsr-notice-item:not(.is-featured) {
    display: grid;
    padding: 12px 14px;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--nsr-divider);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(78, 38, 92, 0.04);
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.nsr-notice-item:not(.is-featured):hover {
    background: #ffffff;
    border-color: var(--nsr-lilac);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(78, 38, 92, 0.08);
}

.nsr-notice-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1c1322;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nsr-notice-backdrop {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.68) saturate(1.25);
    opacity: 0.65;
    transform: scale(1.15);
    pointer-events: none;
    transition: transform 600ms ease, opacity 600ms ease;
}

.nsr-notice-image:hover .nsr-notice-backdrop {
    transform: scale(1.22);
    opacity: 0.85;
}

.nsr-notice-main-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.nsr-notice-image:hover .nsr-notice-main-img {
    transform: scale(1.02);
}

.nsr-notice-item.is-featured .nsr-notice-image {
    aspect-ratio: 16 / 10.5;
    min-height: 360px;
    max-height: 480px;
    border-radius: 10px;
}

.nsr-notice-item.is-featured.is-square .nsr-notice-image {
    aspect-ratio: 1 / 1;
    max-height: 420px;
}

.nsr-notice-item:not(.is-featured) .nsr-notice-image {
    width: 140px;
    height: 105px;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
    border-radius: 6px;
}

.nsr-notice-order {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: var(--nsr-plum-deep);
    background: var(--nsr-gold);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
}

.nsr-notice-item:not(.is-featured) .nsr-notice-order {
    width: 34px;
    height: 34px;
    font-size: 0.65rem;
}

.nsr-notice-pin-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--nsr-gold, #d6ae5c) 0%, #b8860b 100%);
    color: var(--nsr-plum-deep, #2a0845);
    font-family: "Kanit", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.nsr-notice-item:not(.is-featured) .nsr-notice-pin-badge {
    top: 6px;
    left: 6px;
    padding: 3px 8px;
    font-size: 0.68rem;
    gap: 4px;
}

.nsr-notice-item.is-pinned.is-featured {
    position: relative;
}

.nsr-notice-item:not(.is-featured).is-pinned {
    border-color: rgba(214, 174, 92, 0.45);
    background: rgba(254, 243, 199, 0.35);
}

.nsr-notice-copy {
    padding-top: 16px;
}

.nsr-notice-item:not(.is-featured) .nsr-notice-copy {
    min-width: 0;
    padding-top: 0;
}

.nsr-notice-copy time {
    display: block;
    margin-bottom: 6px;
    color: var(--nsr-violet);
    font-family: "Inter", "Kanit", sans-serif;
    font-size: 0.69rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.nsr-notice-copy h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.44;
    text-wrap: pretty;
}

.nsr-notice-item:not(.is-featured) .nsr-notice-copy h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nsr-notice-item.is-featured .nsr-notice-copy h3 {
    max-width: 760px;
    font-size: 1.35rem;
    line-height: 1.45;
}

.nsr-external-label {
    display: inline-flex;
    margin-top: 12px;
    align-items: center;
    gap: 7px;
    color: var(--nsr-muted);
    font-size: 0.68rem;
}

/* Magazine shelf */
.nsr-magazines {
    overflow: hidden;
    color: var(--nsr-ink);
    background:
        radial-gradient(circle at 88% 8%, rgba(214, 174, 92, 0.18), transparent 32%),
        linear-gradient(135deg, #f4e8f7 0%, #fffaf4 58%, #f8eff9 100%);
}

.nsr-magazines::before {
    content: "";
    position: absolute;
    top: -280px;
    right: -160px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(150, 86, 173, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 48px rgba(150, 86, 173, 0.025),
        0 0 0 96px rgba(150, 86, 173, 0.02);
}

.nsr-section-heading-light h2,
.nsr-section-heading-light .nsr-text-link {
    color: var(--nsr-plum) !important;
}

.nsr-section-heading-light .nsr-eyebrow {
    color: var(--nsr-violet);
}

.nsr-section-heading-light .nsr-section-number {
    -webkit-text-stroke-color: rgba(150, 86, 173, 0.48);
}

.nsr-magazine-shelf {
    position: relative;
    display: grid;
    padding: 0 34px 52px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(34px, 6vw, 86px);
}

.nsr-magazine-shelf::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 31px;
    left: 0;
    height: 8px;
    background: linear-gradient(90deg, #9c7738, var(--nsr-gold), #8c672f);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.nsr-magazine-item {
    position: relative;
    z-index: 1;
    max-width: 310px;
    margin-inline: auto;
}

.nsr-magazine-order {
    display: block;
    margin-bottom: 12px;
    color: var(--nsr-gold);
    font-family: "Inter", sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.nsr-magazine-cover {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    background: #e6dee7;
    border-left: 6px solid rgba(0, 0, 0, 0.24);
    box-shadow: 14px 18px 35px rgba(9, 2, 13, 0.32);
    transform-origin: bottom;
    transition: transform 400ms var(--nsr-ease), box-shadow 400ms ease;
}

.nsr-magazine-cover:hover {
    transform: translateY(-7px) rotate(-0.7deg);
    box-shadow: 18px 26px 44px rgba(9, 2, 13, 0.46);
}

.nsr-magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nsr-magazine-cover span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 52px;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    color: var(--nsr-plum-deep);
    background: rgba(214, 174, 92, 0.94);
    font-size: 0.78rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 300ms var(--nsr-ease);
}

.nsr-magazine-cover:hover span,
.nsr-magazine-cover:focus-visible span {
    transform: translateY(0);
}

.nsr-magazine-item h3 {
    margin: 20px 0 0;
    color: var(--nsr-ink);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.nsr-magazine-item h3 a:hover {
    color: var(--nsr-gold);
}

/* ===================================================
   Annual Performance Report Showcase (Section 05)
   =================================================== */
.nsr-annual-reports {
    overflow: hidden;
    color: var(--nsr-ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(107, 33, 168, 0.05), transparent 45%),
        linear-gradient(180deg, #fdfbfd 0%, #f9f5fb 50%, #fdfbfd 100%);
    border-top: 1px solid rgba(150, 86, 173, 0.12);
}

.nsr-annual-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
    padding: 10px 0 30px;
}

/* 1. Featured Report (Large Cover) */
.nsr-annual-featured {
    display: flex;
    gap: clamp(24px, 3.5vw, 44px);
    align-items: center;
    background: #ffffff;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 20px;
    border: 1px solid rgba(150, 86, 173, 0.15);
    box-shadow: 0 16px 40px rgba(88, 28, 135, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.nsr-annual-featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #581c87 0%, #9333ea 50%, #f6c86e 100%);
}

.nsr-annual-featured-cover-wrap {
    flex-shrink: 0;
    width: clamp(220px, 26vw, 300px);
}

.nsr-annual-featured-cover {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.414;
    border-radius: 4px 14px 14px 4px;
    overflow: hidden;
    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.nsr-annual-featured-cover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 16px;
    background: linear-gradient(to right, rgba(255,255,255,0.4) 0%, rgba(0,0,0,0.12) 30%, rgba(255,255,255,0.2) 100%);
    z-index: 2;
}

.nsr-annual-featured-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nsr-annual-featured-cover:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 22px 50px rgba(88, 28, 135, 0.28);
}

.nsr-annual-featured-cover:hover img {
    transform: scale(1.04);
}

.nsr-annual-badge-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-family: 'Kanit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
    z-index: 3;
    letter-spacing: 0.3px;
}

.nsr-annual-cover-hover {
    position: absolute;
    inset: 0;
    background: rgba(88, 28, 135, 0.72);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
    backdrop-filter: blur(3px);
}

.nsr-annual-featured-cover:hover .nsr-annual-cover-hover {
    opacity: 1;
}

.nsr-annual-featured-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nsr-annual-tag {
    display: inline-block;
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #7e22ce;
    background: rgba(126, 34, 206, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.nsr-annual-featured-details h3 {
    font-family: 'Kanit', sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 12px;
    color: #1e1b4b;
}

.nsr-annual-featured-details h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nsr-annual-featured-details h3 a:hover {
    color: #7e22ce;
}

.nsr-annual-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 24px;
}

.nsr-annual-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nsr-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nsr-action-bg);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: 'Kanit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(88, 28, 135, 0.28);
    transition: all 0.25s ease;
}

.nsr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(88, 28, 135, 0.4);
    color: var(--nsr-action-text) !important;
    background: var(--nsr-action-hover);
}

.nsr-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Kanit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.nsr-btn-secondary:hover {
    background: #ffffff;
    border-color: #7e22ce;
    color: #7e22ce !important;
    transform: translateY(-2px);
}

/* 2. Secondary Report (Smaller Card) */
.nsr-annual-secondary {
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(150, 86, 173, 0.25);
    border-radius: 18px;
    padding: 22px;
    backdrop-filter: blur(8px);
}

.nsr-annual-secondary-header {
    margin-bottom: 14px;
}

.nsr-annual-secondary-label {
    font-family: 'Kanit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nsr-annual-secondary-card {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nsr-annual-secondary-cover {
    flex-shrink: 0;
    width: 110px;
    aspect-ratio: 1 / 1.414;
    border-radius: 4px 10px 10px 4px;
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.nsr-annual-secondary-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nsr-annual-secondary-cover:hover {
    transform: translateY(-4px) scale(1.02);
}

.nsr-annual-secondary-cover .nsr-annual-cover-hover {
    font-size: 0.85rem;
}

.nsr-annual-secondary-cover:hover .nsr-annual-cover-hover {
    opacity: 1;
}

.nsr-annual-secondary-meta {
    flex: 1;
}

.nsr-annual-tag-subtle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 6px;
}

.nsr-annual-secondary-meta h4 {
    font-family: 'Kanit', sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 0 0 10px;
    color: #1e1b4b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nsr-annual-secondary-meta h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.nsr-annual-secondary-meta h4 a:hover {
    color: #7e22ce;
}

.nsr-annual-secondary-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nsr-link-read {
    font-size: 0.85rem;
    font-weight: 500;
    color: #7e22ce;
    text-decoration: none;
    transition: all 0.2s;
}

.nsr-link-read:hover {
    text-decoration: underline;
    color: #581c87;
}

.nsr-link-dl {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.nsr-link-dl:hover {
    background: #7e22ce;
    color: #ffffff;
}

/* Responsive adjustments for Section 05 */
@media (max-width: 1024px) {
    .nsr-annual-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .nsr-annual-featured {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .nsr-annual-featured-cover-wrap {
        width: 190px;
    }
    .nsr-annual-tag {
        align-self: center;
    }
    .nsr-annual-actions {
        justify-content: center;
    }
}

/* ITA index */
.nsr-ita {
    background: var(--nsr-paper);
}

.nsr-ita .nsr-section-heading {
    grid-template-columns: 78px minmax(0, 1fr) minmax(280px, 360px);
    column-gap: 32px;
    align-items: start;
}

.nsr-ita .nsr-section-heading h2 {
    max-width: 700px;
}

.nsr-ita .nsr-section-heading > p {
    max-width: 360px;
    margin-top: 30px;
    padding-left: 26px;
    border-left: 2px solid var(--nsr-gold-soft);
    text-wrap: pretty;
}

.nsr-ita-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--nsr-divider);
}

.nsr-ita-item {
    position: relative;
    display: grid;
    min-height: 112px;
    padding: 24px 26px;
    grid-template-columns: 38px 38px minmax(0, 1fr) 24px;
    gap: 16px;
    align-items: center;
    color: var(--nsr-ink) !important;
    border-bottom: 1px solid var(--nsr-divider);
    text-decoration: none;
    transition: color 220ms ease, background 220ms ease;
}

.nsr-ita-item:nth-child(odd) {
    border-right: 1px solid var(--nsr-divider);
}

.nsr-ita-item:hover {
    color: var(--nsr-purple) !important;
    background: #f6f0f7;
}

.nsr-ita-number {
    color: var(--nsr-violet);
    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
}

.nsr-ita-item > i:not(.nsr-ita-arrow) {
    color: var(--nsr-gold);
    font-size: 1rem;
}

.nsr-ita-item strong {
    font-size: 1rem;
    font-weight: 500;
}

.nsr-ita-copy { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nsr-ita-copy small { color: var(--nsr-muted); font-size: 0.78rem; line-height: 1.6; }
.nsr-ita-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.nsr-ita-footer p { margin: 0; color: var(--nsr-muted); font-size: 0.82rem; line-height: 1.7; }
.nsr-ita-footer .nsr-text-link { flex-shrink: 0; }
@media (min-width: 761px) { .nsr-ita-footer { padding-right: 72px; } }
@media (max-width: 760px) { .nsr-ita-footer { align-items: flex-start; flex-direction: column; } .nsr-ita-footer .nsr-text-link { white-space: normal; } }

.nsr-ita-arrow {
    color: var(--nsr-lilac);
    transition: transform 220ms var(--nsr-ease);
}

.nsr-ita-item:hover .nsr-ita-arrow {
    transform: translateX(5px);
}

/* City facts */
.nsr-city-facts {
    padding-block: 72px;
    color: var(--nsr-ink);
    background:
        linear-gradient(110deg, rgba(217, 189, 228, 0.48), rgba(255, 250, 244, 0.95)),
        var(--nsr-paper);
    border-top: 1px solid var(--nsr-divider);
}

.nsr-city-facts .nsr-shell {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 2.2fr);
    gap: 34px;
    align-items: center;
}

.nsr-facts-intro .nsr-eyebrow {
    color: var(--nsr-gold);
}

.nsr-facts-intro h2 {
    max-width: 360px;
    color: var(--nsr-plum);
    font-size: clamp(2.2rem, 3vw, 3.25rem);
    text-wrap: balance;
}

.nsr-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 1px solid rgba(112, 64, 128, 0.18);
}

.nsr-fact {
    min-height: 145px;
    padding: 22px 28px;
    border-right: 1px solid rgba(112, 64, 128, 0.18);
}

.nsr-fact strong {
    display: block;
    color: var(--nsr-gold);
    font-family: "Inter", sans-serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 1;
}

.nsr-fact span {
    display: block;
    margin-top: 18px;
    color: var(--nsr-muted);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Empty states and service notice */
.nsr-empty-state {
    display: grid;
    min-height: 220px;
    padding: 40px;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: var(--nsr-muted);
    border: 1px solid var(--nsr-divider);
    text-align: center;
}

.nsr-empty-state i {
    color: var(--nsr-lilac);
    font-size: 2rem;
}

.nsr-empty-state p {
    margin: 0;
}

.nsr-empty-state-dark {
    color: var(--nsr-muted);
    border-color: var(--nsr-divider);
}

.nsr-service-toast {
    position: fixed;
    z-index: 3000;
    right: 24px;
    bottom: 24px;
    max-width: min(390px, calc(100vw - 48px));
    padding: 16px 20px;
    color: var(--nsr-white);
    background: #75438a;
    border-left: 4px solid var(--nsr-gold);
    box-shadow: 0 18px 44px rgba(27, 12, 37, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 220ms ease, transform 220ms var(--nsr-ease);
}

.nsr-service-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shared footer restyle */
body.nsm-redesign .footer {
    position: relative;
    overflow: hidden;
    padding: 76px 0 24px;
    color: rgba(255, 255, 255, 0.86);
    background: linear-gradient(135deg, #704080 0%, #8d559e 58%, #a76eb1 100%) !important;
    border-top: 1px solid rgba(214, 174, 92, 0.22);
}

body.nsm-redesign .footer::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -110px;
    width: 700px;
    height: 470px;
    background:
        radial-gradient(circle at center, rgba(245, 216, 151, 0.24) 0 18%, transparent 19%),
        repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.11) 0 2px, transparent 3px 28px);
    opacity: 0.7;
    -webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
    mask-image: radial-gradient(circle at center, #000, transparent 72%);
    pointer-events: none;
}

body.nsm-redesign .footer .container {
    position: relative;
    z-index: 1;
    max-width: var(--nsr-shell);
}

body.nsm-redesign .footer-grid {
    grid-template-columns: 1.35fr 0.75fr 1fr 0.65fr;
    gap: clamp(30px, 5vw, 70px);
}

body.nsm-redesign .footer-logo {
    align-items: center;
}

body.nsm-redesign .footer-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

body.nsm-redesign .footer-logo strong {
    color: var(--nsr-white);
    font-weight: 500;
}

body.nsm-redesign .footer-logo small {
    color: var(--nsr-gold);
    font-family: "Inter", sans-serif;
    letter-spacing: 0.05em;
}

body.nsm-redesign .footer-col h4 {
    margin-bottom: 22px;
    color: var(--nsr-gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

body.nsm-redesign .footer-col p,
body.nsm-redesign .footer-col li,
body.nsm-redesign .footer-col a {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.85;
}

body.nsm-redesign .footer-col a {
    text-decoration: none;
}

body.nsm-redesign .footer-col a:hover {
    color: var(--nsr-gold);
}

body.nsm-redesign .footer-contact i {
    color: var(--nsr-gold);
}

body.nsm-redesign .footer-social {
    gap: 8px;
}

body.nsm-redesign .footer-social a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--nsr-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
}

body.nsm-redesign .footer-social a:hover {
    color: var(--nsr-plum-deep);
    background: var(--nsr-gold);
    border-color: var(--nsr-gold);
}

body.nsm-redesign .footer-bottom {
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.nsm-redesign .footer-bottom p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.75rem;
}

body.nsm-redesign .staff-login-link {
    color: rgba(255, 255, 255, 0.42) !important;
}

body.nsm-redesign .staff-login-link:hover {
    color: var(--nsr-gold) !important;
}

body.nsm-redesign .back-to-top {
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    color: var(--nsr-plum-deep);
    background: var(--nsr-gold);
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(27, 12, 37, 0.2);
}

body.nsm-redesign .nong-mangkee-widget {
    right: 22px;
    bottom: 86px;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

body.nsm-redesign .nong-mangkee-widget.is-chat-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}

/* Reveal is intentionally quiet — no floating-card choreography */
.js .nsr-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms ease, transform 650ms var(--nsr-ease);
}

.js .nsr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1180px) {
    body.nsm-redesign .nav-desktop {
        display: none;
    }

    body.nsm-redesign .hamburger {
        display: flex;
        margin-left: 0;
    }

    body.nsm-redesign .search-toggle {
        margin-left: auto;
    }

    .nsr-hero-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .nsr-section-heading {
        grid-template-columns: 68px minmax(0, 1fr) minmax(230px, 330px);
    }

    .nsr-news-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
        gap: 38px;
    }

    .nsr-news-brief {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 16px;
    }

    .nsr-notice-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
        gap: 24px;
    }

    .nsr-notice-item.is-featured .nsr-notice-image {
        min-height: 320px;
    }

    .nsr-notice-item.is-featured.is-portrait .nsr-featured-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 16px;
    }

    .nsr-notice-item:not(.is-featured) {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 14px;
        padding: 10px 12px;
    }

    .nsr-notice-item:not(.is-featured) .nsr-notice-image {
        width: 125px;
        height: 94px;
    }

    .nsr-city-facts .nsr-shell {
        grid-template-columns: 1fr;
    }

    .nsr-facts-intro h2 {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .nsr-shell {
        width: min(calc(100% - 40px), var(--nsr-shell));
    }

    body.nsm-redesign .top-bar-left span:nth-child(2) {
        display: none;
    }

    body.nsm-redesign .header-inner {
        min-height: 80px;
    }

    body.nsm-redesign .logo-link {
        min-width: 0;
    }

    body.nsm-redesign .logo-glow,
    body.nsm-redesign .logo-img {
        width: 52px;
        height: 52px;
    }

    .nsr-hero {
        min-height: 830px;
    }

    .nsr-hero::before {
        background:
            linear-gradient(90deg, rgba(103, 54, 121, 0.8) 0%, rgba(132, 77, 146, 0.62) 58%, rgba(176, 115, 183, 0.3) 100%),
            linear-gradient(0deg, rgba(98, 49, 113, 0.32), transparent 54%);
    }

    .nsr-hero-layout {
        min-height: 830px;
        padding-block: 48px 300px;
        grid-template-columns: 1fr;
    }

    .nsr-hero-copy {
        max-width: 680px;
    }

    .nsr-hero h1 > strong {
        white-space: normal;
    }

    .nsr-smart-story {
        bottom: 24px;
        width: min(calc(100% - 40px), var(--nsr-shell));
    }

    .nsr-hero-note {
        display: none;
    }

    .nsr-section {
        padding-block: 76px;
    }

    .nsr-section-heading {
        margin-bottom: 42px;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 18px;
    }

    .nsr-section-heading > :nth-child(3) {
        grid-column: 2;
        justify-self: start;
    }

    .nsr-ita .nsr-section-heading {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 18px;
    }

    .nsr-ita .nsr-section-heading > p {
        grid-column: 2;
        max-width: 680px;
        margin-top: 0;
        padding-left: 0;
        border-left: 0;
    }

    .nsr-services .nsr-section-heading {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 18px;
    }

    .nsr-service-ledger,
    .nsr-ita-index {
        grid-template-columns: 1fr;
    }

    .nsr-service-item:nth-child(odd),
    .nsr-ita-item:nth-child(odd) {
        border-right: 0;
    }

    .nsr-news-layout {
        grid-template-columns: 1fr;
    }

    .nsr-news-feature.is-portrait .nsr-news-feature-inner {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 20px;
        padding: 16px;
    }

    .nsr-news-feature.is-portrait .nsr-news-image {
        min-height: 360px;
        max-height: 440px;
    }

    .nsr-news-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        border-top: 0;
    }

    .nsr-news-brief,
    .nsr-news-brief + .nsr-news-brief {
        display: block;
        padding: 0 0 24px;
    }

    .nsr-news-brief-image {
        margin-bottom: 17px;
        aspect-ratio: 16 / 10;
    }

    .nsr-notice-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nsr-notice-item.is-featured .nsr-notice-image {
        min-height: 280px;
        max-height: 400px;
    }

    .nsr-notice-item.is-featured.is-portrait .nsr-featured-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nsr-notice-item.is-featured.is-portrait .nsr-notice-image {
        min-height: 320px;
        max-height: 460px;
    }

    .nsr-notice-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .nsr-notice-item:not(.is-featured) {
        display: grid;
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 14px;
        padding: 12px;
    }

    .nsr-notice-item:not(.is-featured) .nsr-notice-image {
        width: 130px;
        height: 98px;
    }

    .nsr-notice-item:not(.is-featured) .nsr-notice-copy {
        padding-top: 0;
    }

    .nsr-magazine-shelf {
        gap: 28px;
    }

    .nsr-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 1px solid rgba(112, 64, 128, 0.18);
    }

    .nsr-fact {
        border-bottom: 1px solid rgba(112, 64, 128, 0.18);
    }

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

@media (max-width: 640px) {
    .nsr-shell {
        width: min(calc(100% - 28px), var(--nsr-shell));
    }

    body.nsm-redesign .top-bar-inner {
        padding-inline: 14px;
    }

    body.nsm-redesign .top-bar-left {
        font-size: 0.68rem;
    }

    body.nsm-redesign .top-bar-right a {
        width: 27px;
    }

    body.nsm-redesign .header-inner {
        min-height: 70px;
        padding-inline: 14px;
        gap: 8px;
    }

    body.nsm-redesign .logo-glow,
    body.nsm-redesign .logo-img {
        width: 45px;
        height: 45px;
    }

    body.nsm-redesign .logo-title {
        font-size: 0.94rem;
    }

    body.nsm-redesign .logo-subtitle {
        max-width: 160px;
        font-size: 0.5rem;
        letter-spacing: 0.05em;
    }

    body.nsm-redesign .search-toggle,
    body.nsm-redesign .hamburger {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .nsr-hero {
        min-height: 870px;
    }

    .nsr-hero::before {
        background:
            linear-gradient(90deg, rgba(105, 56, 123, 0.84), rgba(148, 89, 158, 0.68)),
            linear-gradient(0deg, rgba(98, 49, 113, 0.32), transparent 54%);
    }

    .nsr-hero-layout {
        min-height: 870px;
        padding-block: 36px 326px;
    }

    .nsr-hero-copy {
        padding: 0;
        backdrop-filter: none;
    }

    .nsr-hero-copy::before {
        content: none;
    }

    .nsr-kicker {
        margin-bottom: 22px;
        gap: 8px;
        font-size: 0.61rem;
        letter-spacing: 0.1em;
    }

    .nsr-kicker > span:nth-child(2) {
        width: 24px;
    }

    .nsr-kicker strong {
        font-size: 0.65rem;
    }

    .nsr-hero h1 {
        gap: 4px;
    }

    .nsr-hero h1 > span {
        font-size: 1.28rem;
    }

    .nsr-hero h1 > strong {
        font-size: clamp(2.4rem, 10.5vw, 3.35rem);
        line-height: 1.12;
    }

    .nsr-vision {
        margin-top: 20px;
        padding: 14px 0 0;
    }

    .nsr-vision p {
        font-size: 1.18rem;
        line-height: 1.58;
    }

    .nsr-hero-description {
        margin-top: 18px;
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .nsr-hero-actions {
        margin-top: 26px;
    }

    .nsr-button {
        width: 100%;
    }

    .nsr-smart-story {
        bottom: 18px;
        width: min(calc(100% - 28px), var(--nsr-shell));
        padding: 15px 14px 10px;
    }

    .nsr-smart-story-heading {
        display: block;
        margin-bottom: 9px;
    }

    .nsr-smart-story-heading p {
        margin-top: 4px;
        font-size: 0.75rem;
    }

    .nsr-smart-route-stage {
        min-width: 1080px;
    }

    .nsr-smart-route li {
        min-height: 80px;
        padding-inline: 10px;
    }

    .nsr-section {
        padding-block: 68px;
    }

    .nsr-section-heading {
        margin-bottom: 34px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .nsr-section-number {
        font-size: 2.35rem;
    }

    .nsr-section-heading h2,
    .nsr-facts-intro h2 {
        font-size: 2rem;
    }

    .nsr-section-heading > :nth-child(3) {
        margin-top: 4px;
    }

    .nsr-ita .nsr-section-heading {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .nsr-services .nsr-section-heading {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .nsr-service-item {
        min-height: 0;
        padding: 24px 12px;
        grid-template-columns: 32px 42px minmax(0, 1fr);
        gap: 12px;
    }

    .nsr-service-icon {
        width: 40px;
        height: 40px;
    }

    .nsr-service-copy strong {
        font-size: 1.05rem;
    }

    .nsr-service-copy small {
        font-size: 0.82rem;
    }

    .nsr-service-status {
        grid-column: 3;
    }

    .nsr-news-feature-copy {
        width: calc(100% - 16px);
        margin-top: -24px;
        padding: 20px 18px 0;
    }

    .nsr-news-feature.is-portrait .nsr-news-feature-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px;
    }

    .nsr-news-feature.is-portrait .nsr-news-image {
        min-height: 280px;
        max-height: 380px;
    }

    .nsr-news-feature.is-portrait .nsr-news-feature-copy {
        width: 100%;
        margin-top: 6px;
        padding: 0 4px;
    }

    .nsr-news-feature h3 {
        font-size: 1.42rem;
    }

    .nsr-news-list {
        grid-template-columns: 1fr;
    }

    .nsr-notice-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nsr-notice-item:not(.is-featured) {
        display: grid;
        padding: 10px;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
    }

    .nsr-notice-item:not(.is-featured) .nsr-notice-image {
        width: 105px;
        height: 80px;
    }

    .nsr-notice-item:not(.is-featured) .nsr-notice-copy {
        padding-top: 0;
    }

    .nsr-notice-item:not(.is-featured) .nsr-notice-order {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }

    .nsr-magazine-shelf {
        padding-inline: 18px;
        grid-template-columns: 1fr;
    }

    .nsr-magazine-item {
        width: min(100%, 280px);
    }

    .nsr-ita-item {
        min-height: 96px;
        padding: 18px 8px;
        grid-template-columns: 28px 30px minmax(0, 1fr) 20px;
        gap: 9px;
    }

    .nsr-ita-item strong {
        font-size: 0.88rem;
    }

    .nsr-city-facts {
        padding-block: 64px;
    }

    .nsr-city-facts .nsr-shell {
        gap: 36px;
    }

    .nsr-facts-intro h2 {
        max-width: none;
    }

    .nsr-facts-grid {
        grid-template-columns: 1fr;
    }

    .nsr-fact {
        min-height: 112px;
        padding: 22px 18px;
    }

    body.nsm-redesign .footer {
        padding-top: 64px;
    }

    body.nsm-redesign .footer-grid {
        grid-template-columns: 1fr;
    }

    body.nsm-redesign .footer-bottom {
        align-items: flex-start !important;
        flex-direction: column;
    }
}

/* Leave room for both header actions on narrow phones while keeping the full name. */
@media (max-width: 360px) {
    body.nsm-redesign .header-inner .logo-link { flex: 1 1 0; }
    body.nsm-redesign .header-inner .logo-text { min-width: 0; }
    body.nsm-redesign .header-inner .logo-subtitle { overflow-wrap: anywhere; }
}

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

    .js .nsr-reveal {
        opacity: 1;
        transform: none;
    }

    .nsr-smart-route li,
    .nsr-smart-route-line::after {
        animation: none !important;
    }
}

/* Shared public actions: readable labels in search, chat and cookie controls. */
body.nsm-redesign :is(.search-ai-btn, .mangkee-send-btn, .nsm-cookie-btn-primary) {
    color: var(--nsr-action-text) !important;
    background: var(--nsr-action-bg) !important;
}
body.nsm-redesign :is(.search-ai-btn, .mangkee-send-btn, .nsm-cookie-btn-primary):hover {
    background: var(--nsr-action-hover) !important;
}
body.nsm-redesign :is(.nsr-news-cta-btn, .nsr-notice-cta-btn, .nsr-btn-primary, .search-ai-btn, .mangkee-send-btn, .nsm-cookie-btn-primary):focus-visible {
    outline: 3px solid var(--nsr-gold);
    outline-offset: 4px;
    box-shadow: 0 0 0 2px #fff;
}

/* E-book mode controls share the civic gold selection color. */
body.nsm-section-redesign .ebook-mode-btn {
    color: rgba(255, 255, 255, .9);
}
body.nsm-section-redesign .ebook-mode-btn:is(.active, :hover) {
    color: var(--nsr-gold-ink);
    background: var(--nsr-gold-soft);
}
