﻿@charset "utf-8";

body.nsrl-page {
  background: #ffffff;
  color: #22314e;
}

.nsrl-main { overflow: hidden; }

.nsrl-page button {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.nsrl-page .section {
  padding: 40px 0 34px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.nsrl-section--intro {
  background-image: none;
  background-color: #ffffff;
}

.nsrl-section--leaders {
  background-image: linear-gradient(180deg, #eef3f9 0%, #dfefff 100%);
}

.nsrl-section--party {
  background-image: none;
  background-color: #ffffff;
}

.nsrl-section--org {
  background-image: linear-gradient(180deg, #eef3f9 0%, #dfefff 100%);
}

.nsrl-page .section-head {
  margin-bottom: 38px;
  align-items: flex-end;
}

.nsrl-page .section-title {
  padding-left: 0;
  /* font-family: "Microsoft YaHei"; */
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: #003277;
}

.nsrl-page .section-title::before { display: none; }

.nsrl-about {
  display: grid;
  grid-template-columns: 580px 840px;
  gap: 0;
  align-items: start;
}

.nsrl-about-visual {
  width: 580px;
  height: 400px;
  min-height: 400px;
  overflow: hidden;
  background: #e7eef8;
  box-shadow: 0 22px 56px rgba(16, 54, 118, 0.14);
}

.nsrl-about-visual .wp-window,
.nsrl-about-visual .wp-window > div {
  width: 100%;
  height: 100%;
}

.nsrl-about-link {
  display: block;
  width: 100%;
  height: 100%;
}

.nsrl-about-image,
.nsrl-about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nsrl-about-content {
  width: 840px;
  min-height: 363px;
  margin-top: 20px;
  padding: 30px 20px 30px 50px;
  background: #eff7ff;
  box-shadow: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.nsrl-section--intro .nsrl-about:hover .nsrl-about-content {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(22, 55, 110, 0.12);
}

.nsrl-about-content h3 {
  font-size: 24px;
  line-height: 1;
  color: var(--color-primary-2);
}

.nsrl-about-text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 32px;
  color: var(--color-primary-3);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  max-height: 160px;
}

.nsrl-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nsrl-action-window {
  display: inline-flex;
}

.nsrl-action-window .wp_nav {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nsrl-action-window .wp_nav .nav-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nsrl-action-window .wp_nav .mark {
  display: none;
}

.nsrl-action-window .wp_nav .nav-item > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 138px;
  min-width: 138px;
  height: 50px;
  padding: 8px 14px;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  font-size: 16px !important;
  line-height: 1;
  text-decoration: none;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.nsrl-action-window .wp_nav .nav-item > a .item-name {
  display: none;
}

.nsrl-action-window[frag="窗口13"] .wp_nav .nav-item > a::before {
  content: "阅读更多";
}

.nsrl-action-window[frag="窗口14"] .wp_nav .nav-item > a::before {
  content: "历史进程";
}

.nsrl-action-window .wp_nav .nav-item > a::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 40%, 0 60%, 58% 60%, 58% 86%, 100% 50%, 58% 14%, 58% 40%);
}

.nsrl-action-window .wp_nav .nav-item > a:hover {
  background: var(--color-primary-2);
  border-color: var(--color-primary-2);
  color: #ffffff;
}

.nsrl-action-content {
  display: none;
}

.nsrl-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 138px;
  min-width: 138px;
  height: 50px;
  padding: 8px 14px;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  font-size: 16px !important;
  line-height: 1;
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.nsrl-action:link,
.nsrl-action:visited {
  text-decoration: none;
  color: #ffffff;
}

.nsrl-action [frag="按钮内容"],
.nsrl-action [frag="按钮内容2"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}

.nsrl-action::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 40%, 0 60%, 58% 60%, 58% 86%, 100% 50%, 58% 14%, 58% 40%);
}

.nsrl-action:hover {
  background: var(--color-primary-2);
  border-color: var(--color-primary-2);
  color: #ffffff;
}

.nsrl-action--ghost {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.nsrl-action--ghost:hover {
  background: var(--color-primary-2);
  border-color: var(--color-primary-2);
  color: #ffffff;
}

.nsrl-head-with-tools { gap: 24px; }

.nsrl-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nsrl-tab {
  min-width: 120px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.nsrl-tab:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.nsrl-tab.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.nsrl-tab-panel[hidden] { display: none !important; }

.nsrl-tab-panel .wp_article_list_table {
  width: 100%;
  border-collapse: collapse;
}

.nsrl-tab-panel .wp_article_list_table td {
  padding: 0;
  border: 0;
}

.nsrl-history-content {
  padding: 0;
  color: #02152f;
}

.nsrl-history-item {
  font-size: 18px;
  line-height: 1.45;
}

.nsrl-history-item .director-table {
  width: 100%;
  max-width: 100%;
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.nsrl-history-item .director-table .row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  min-height: 52px;
  text-align: center;
  column-gap: 0;
}

.nsrl-history-item .director-table .row > div {
  padding: 8px 12px;
}

.nsrl-history-item .director-table .head {
  font-weight: 700;
  color: #02152f;
}

.nsrl-history-item .director-table .row:nth-child(odd) {
  background: #e8f2ff;
}

.nsrl-history-item .director-table .row:nth-child(even) {
  background: #ffffff;
}

.nsrl-history-item .director-table .two-line {
  min-height: 88px;
}

.nsrl-history-item .director-table p {
  margin: 6px 0;
}

.nsrl-history-item .director-table .two-line > div:nth-child(2) p,
.nsrl-history-item .director-table .two-line > div:nth-child(3) p {
  margin: 12px 0;
}

.nsrl-leader-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nsrl-leader-card {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 28px;
  height: 190px;
  padding: 16px 24px;
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(32, 73, 143, 0.08);
  box-shadow: 0 18px 42px rgba(18, 54, 114, 0.08);
  overflow: hidden;
}

#nsrl-panel-current .nsrl-leader-card {
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  animation: none;
}

#nsrl-panel-current.is-animating .nsrl-leader-card {
  animation: nsrlLeaderCardIn 0.56s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

#nsrl-panel-current .nsrl-leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(18, 54, 114, 0.16);
}

#nsrl-panel-current .nsrl-avatar img,
#nsrl-panel-current .nsrl-avatar-image {
  transition: transform 0.36s ease;
}

#nsrl-panel-current .nsrl-leader-name-group h3,
#nsrl-panel-current .nsrl-leader-name-group p {
  transition: color 0.28s ease;
}

#nsrl-panel-current .nsrl-leader-card:hover .nsrl-avatar img,
#nsrl-panel-current .nsrl-leader-card:hover .nsrl-avatar-image {
  transform: scale(1.06);
}

#nsrl-panel-current .nsrl-leader-card:hover .nsrl-leader-name-group h3,
#nsrl-panel-current .nsrl-leader-card:hover .nsrl-leader-name-group p {
  color: #002e6f;
}

#nsrl-panel-current.is-animating .nsrl-leader-card:nth-child(2) { animation-delay: 0.08s; }
#nsrl-panel-current.is-animating .nsrl-leader-card:nth-child(3) { animation-delay: 0.16s; }
#nsrl-panel-current.is-animating .nsrl-leader-card:nth-child(4) { animation-delay: 0.24s; }
#nsrl-panel-current.is-animating .nsrl-leader-card:nth-child(5) { animation-delay: 0.32s; }
#nsrl-panel-current.is-animating .nsrl-leader-card:nth-child(6) { animation-delay: 0.4s; }

@keyframes nsrlLeaderCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nsrl-avatar {
  width: 115px;
  height: 164px;
  overflow: hidden;
  background: #eef3fb;
  border: 1px solid #e2e6ea;
}

.nsrl-avatar a {
  display: block;
  width: 100%;
  height: 100%;
}

.nsrl-avatar-image,
.nsrl-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(180deg, #f7faff, #e4edf8);
}

.nsrl-leader-body {
  min-width: 0;
  margin-top: 20px;
}

.nsrl-leader-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}

.nsrl-leader-name-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.nsrl-leader-name-group h3 { 
  display: inline-block;
  flex: 0 0 auto;
  width: 3em;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
  color: var(--color-primary-2);
}

.nsrl-leader-name-group h3 a {
  display: inline-block;
  width: 100%;
  color: inherit;
  line-height: inherit;
  text-decoration: none;
}

.nsrl-leader-name-group h3.is-two-char a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.nsrl-leader-name-group h3.is-two-char a > span {
  display: block;
}

.nsrl-party-table .nsrl-cn-text-fix {
  display: inline-block;
  width: 3em;
  white-space: nowrap;
  text-align: left;
}

.nsrl-party-table .nsrl-cn-text-fix.is-two-char {
  display: inline-flex;
  justify-content: space-between;
  align-items: baseline;
}

.nsrl-party-table .nsrl-cn-text-fix.is-two-char > span {
  display: block;
}

.nsrl-leader-name-group p {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.nsrl-leader-meta {
  display: grid;
  grid-template-columns: 280px 184px 184px;
  justify-items: start;
  align-items: center;
  justify-content: start;
  column-gap: 34px;
  width: auto;
  max-width: none;
  color: var(--color-primary-2);
  font-size: 18px; 
  white-space: nowrap;
}

.nsrl-leader-meta-item {
  min-width: 0;
}

.nsrl-leader-meta-item--email {
  width: auto;
}

.nsrl-leader-meta-item--office {
  width: auto;
}

.nsrl-leader-meta-item--phone {
  width: auto;
}

.nsrl-leader-desc {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid #e2e6ea;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-primary-3);
}

.nsrl-leader-desc p {
  margin: 0 0 0.65em;
}

.nsrl-leader-desc > *:first-child,
.nsrl-committee-grid > *:first-child {
  margin-top: 0;
}

.nsrl-leader-desc > *:last-child,
.nsrl-committee-grid > *:last-child {
  margin-bottom: 0;
}

.nsrl-table-wrap {
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.nsrl-party-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
  border: 0;
}

.nsrl-party-table thead th {
  height: 56px;
  padding: 8px 12px;
  border: 0;
  background: #e9f3ff;
  vertical-align: middle;
  font-size: 18px;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
  color: #02152f;
}

.nsrl-party-table tbody td {
  height: 56px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  vertical-align: middle;
  font-size: 18px;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
  color: #031b3d;
}

.nsrl-party-table tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.nsrl-party-table tbody tr:nth-child(even) td {
  background: #e9f3ff;
}

.nsrl-party-table tbody td:nth-child(3),
.nsrl-party-table thead th:nth-child(3) {
  text-align: center;
  padding-left: 12px;
}

.nsrl-party-table a {
  color: inherit;
  text-decoration: none;
}

.nsrl-party-table a:hover {
  text-decoration: underline;
}

.nsrl-party-table thead th:nth-child(1),
.nsrl-party-table tbody td:nth-child(1) {
  width: 33.3333%;
}

.nsrl-party-table thead th:nth-child(2),
.nsrl-party-table tbody td:nth-child(2) {
  width: 33.3333%;
}

.nsrl-party-table thead th:nth-child(3),
.nsrl-party-table tbody td:nth-child(3) {
  width: 33.3333%;
}

.nsrl-org-board {
  --org-node-width: 180px;
  --org-node-height: 80px;
  --org-connector-gap: 20px;
  --org-connector-arrow: 10px;
  --org-connector-line: 26px;
  --org-line-offset: calc(var(--org-connector-gap) + var(--org-connector-arrow) + var(--org-connector-line));
  padding-top: 16px;
}

.nsrl-org-root {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  min-height: 60px;
  margin: 0 auto;
  padding: 8px 22px;
  background: #003277;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.nsrl-org-root::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 36px;
  background: #003277;
  transform: translateX(-50%);
}

.nsrl-org-grid {
  position: relative;
  margin-top: 92px;
}

.nsrl-org-grid > .wp-window,
.nsrl-org-grid > .wp-window > [frag="窗口内容"],
.nsrl-org-grid .wp_nav,
.nsrl-org-grid .wp_nav tbody {
  position: static;
}

.nsrl-org-grid .wp-window {
  width: 100%;
}

.nsrl-org-grid .wp_nav {
  display: block;
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: transparent;
}

.nsrl-org-grid .wp_nav tbody {
  display: block;
  width: 100%;
}

.nsrl-org-grid .wp_nav tr {
  display: grid;
  grid-template-columns: repeat(7, var(--org-node-width));
  justify-content: space-between;
  row-gap: 40px;
  align-items: start;
  justify-items: center;
  width: 100%;
}

.nsrl-org-grid .wp_nav td {
  display: block;
  width: var(--org-node-width);
  padding: 0;
  margin: 0;
  vertical-align: top;
}

.nsrl-org-grid::before {
  content: "";
  position: absolute;
  left: calc(var(--org-node-width) / 2);
  right: calc(var(--org-node-width) / 2);
  top: calc(-1 * var(--org-line-offset));
  height: 2px;
  background: #003277;
}

.nsrl-org-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--org-node-height);
  padding: 10px 0;
  box-sizing: border-box;
  background-color: #1C4F98;
  background-image: var(--org-node-bg, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transition: background-size 0.24s ease;
}

.nsrl-org-grid .wp_nav td:nth-child(1) .nsrl-org-node { --org-node-bg: url("../images/nsrl/bg1.png"); }
.nsrl-org-grid .wp_nav td:nth-child(2) .nsrl-org-node { --org-node-bg: url("../images/nsrl/bg2.png"); }
.nsrl-org-grid .wp_nav td:nth-child(3) .nsrl-org-node { --org-node-bg: url("../images/nsrl/bg3.png"); }
.nsrl-org-grid .wp_nav td:nth-child(4) .nsrl-org-node { --org-node-bg: url("../images/nsrl/bg4.png"); }
.nsrl-org-grid .wp_nav td:nth-child(5) .nsrl-org-node { --org-node-bg: url("../images/nsrl/bg5.png"); }
.nsrl-org-grid .wp_nav td:nth-child(6) .nsrl-org-node { --org-node-bg: url("../images/nsrl/bg6.png"); }
.nsrl-org-grid .wp_nav td:nth-child(7) .nsrl-org-node { --org-node-bg: url("../images/nsrl/bg7.png"); }

.nsrl-org-node span {
  position: relative;
  display: block;
  max-width: 100%;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.nsrl-org-node span::after {
  content: "";
  display: block;
  width: 21px;
  height: 8px;
  margin: 10px auto 0;
  background: url("data:image/svg+xml,%3Csvg width='21' height='8' viewBox='0 0 21 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 6.75H19.25L14.75 0.75' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nsrl-org-node:link,
.nsrl-org-node:visited,
.nsrl-org-node:hover,
.nsrl-org-node:active {
  color: #ffffff;
  text-decoration: none;
}

.nsrl-org-node:hover {
  transform: none;
  box-shadow: none;
  background-size: 108% 108%;
}

.nsrl-org-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--org-line-offset));
  width: 2px;
  height: var(--org-connector-line);
  background: #003277;
  transform: translateX(-50%);
}

.nsrl-org-node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-1 * (var(--org-connector-gap) + var(--org-connector-arrow)));
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #003277;
  transform: translateX(-50%);
}

.nsrl-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 42px;
}

.nsrl-accordion-item {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nsrl-accordion-item summary {
  position: relative;
  padding: 10px 32px;
  list-style: none;
  cursor: pointer;
  background: #DFE6F4;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary-2);
}

.nsrl-accordion-item summary::-webkit-details-marker { display: none; }

.nsrl-accordion-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-primary-2);
  border-bottom: 2px solid var(--color-primary-2);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.26s ease;
}

.nsrl-accordion-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.nsrl-accordion-content {
  overflow: hidden;
  padding: 40px;
  background: #ffffff;
  border-top: 0;
  font-size: 24px;
  color: var(--color-primary-3);
  transform-origin: top center;
  backface-visibility: hidden;
}

.nsrl-accordion-item[open] .nsrl-accordion-content.is-animating {
  animation: nsrlAccordionExpand 0.36s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform, opacity, clip-path;
}

@keyframes nsrlAccordionExpand {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scaleY(0.9);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleY(1);
    clip-path: inset(0 0 0 0);
  }
}

.nsrl-committee-grid {
  /* display: grid;
  gap: 26px;
  padding-top: 0; */
}

.nsrl-committee-grid h4 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-2);
}

.nsrl-committee-grid p {
  line-height: 2;
}

.nsrl-committee-grid p.is-committee-label {
  color: var(--color-primary-2);
}

.nsrl-accordion-content .member-block {
  font-size: 18px;
  line-height: 1.8;
  color: #203a5f;
}

.nsrl-accordion-content .member-group {
  margin-bottom: 20px;
}

.nsrl-accordion-content .member-group:last-child {
  margin-bottom: 0;
}

.nsrl-accordion-content .member-title {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #0d2a4d;
}

.nsrl-accordion-content .title-2,
.nsrl-accordion-content .name-2 {
  display: inline-flex;
  justify-content: space-between;
  align-items: baseline;
  width: 3em;
  white-space: nowrap;
  vertical-align: baseline;
}

.nsrl-accordion-content .title-2 > span,
.nsrl-accordion-content .name-2 > span {
  display: block;
  flex: 0 0 auto;
}

.nsrl-accordion-content .member-list {
  font-size: 18px;
}

.nsrl-accordion-content .vice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
}

.nsrl-accordion-content .committee-list {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 4px;
}

@media (max-width: 1320px) {
  .nsrl-page .container,
  .nsrl-page .inner { max-width: calc(100% - 40px); }

  .nsrl-about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 0;
  }

  .nsrl-org-root::after { height: 24px; }

  .nsrl-org-grid {
    margin-top: 64px;
  }

  .nsrl-org-grid .wp_nav,
  .nsrl-org-grid .wp_nav tbody,
  .nsrl-org-grid .wp_nav tr { display: block; }

  .nsrl-org-grid .wp_nav tr {
    width: auto;
    text-align: center;
  }

  .nsrl-org-grid .wp_nav td {
    display: inline-block;
    margin: 0 10px 24px;
  }

  .nsrl-org-grid::before,
  .nsrl-org-node::before,
  .nsrl-org-node::after { display: none; }
}

@media (max-width: 1140px) {
  .nsrl-page .section {
    padding: 36px 0 30px;
  }

  .nsrl-page .section-head { margin-bottom: 32px; }

  .nsrl-page .section-title { font-size: 28px; }

  .nsrl-about { grid-template-columns: 1fr; }

  .nsrl-about-visual {
    width: auto;
    height: 320px;
    min-height: 320px;
  }

  .nsrl-about-image,
  .nsrl-about-visual img { height: 100%; }

  .nsrl-about-content {
    width: auto;
    min-height: auto;
    margin-top: 0;
    padding: 32px;
  }

  .nsrl-leader-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 20px;
    height: auto;
  }

  .nsrl-leader-top {
    display: block;
  }

  .nsrl-leader-body { margin-top: 0; }

  .nsrl-leader-name-group {
    flex-wrap: nowrap;
    gap: 8px 12px;
  }

  .nsrl-leader-name-group h3,
  .nsrl-leader-name-group p {
    white-space: nowrap;
  }

  .nsrl-leader-meta {
    margin-top: 10px;
  }

  .nsrl-leader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    width: auto;
  }

  .nsrl-org-root {
    width: min(100%, 320px);
    font-size: 20px;
  }

  .nsrl-org-grid { margin-top: 52px; }

  .nsrl-org-node span {
    font-size: 20px;
  }

  .nsrl-org-node span::after { width: 23px; }

  .nsrl-accordion-item summary { font-size: 18px; }
}

@media (max-width: 960px) {
  .nsrl-page .container,
  .nsrl-page .inner { max-width: calc(100% - 28px); }

  .nsrl-page .section {
    padding: 32px 0 28px;
  }

  .nsrl-page .section-head { margin-bottom: 28px; }

  .nsrl-page .section-title { font-size: 26px; }

  .nsrl-head-with-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .nsrl-tabs { width: 100%; }

  .nsrl-tab { flex: 1 1 0; }

  .nsrl-about-content h3 { font-size: 24px; }

  .nsrl-leader-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    height: auto;
  }

  .nsrl-avatar {
    width: 88px;
    height: 125px;
  }

  .nsrl-avatar-image,
  .nsrl-avatar img { height: 100%; }

  .nsrl-leader-name-group h3 { font-size: 24px; }

  .nsrl-leader-name-group p { font-size: 17px; }

  .nsrl-party-table thead th,
  .nsrl-party-table tbody td {
    height: auto;
    min-height: 0;
    padding: 12px 10px;
    font-size: 15px;
    line-height: 1.35;
  }

  .nsrl-org-grid {
    margin-top: 44px;
  }

  .nsrl-history-content {
    padding: 0;
  }

  .nsrl-history-item {
    font-size: 15px;
    line-height: 1.35;
  }

  .nsrl-history-item .director-table .row > div {
    padding: 7px 8px;
  }

  .nsrl-org-grid .wp_nav td { margin: 0 8px 18px; }

  .nsrl-org-node span {
    font-size: 18px;
  }

  .nsrl-org-node span::after {
    width: 21px;
    height: 7px;
    background:
      linear-gradient(#ffffff, #ffffff) left center / 16px 2px no-repeat,
      linear-gradient(45deg, transparent calc(50% - 1px), #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent calc(50% + 1px)) right 4px top -1px / 5px 5px no-repeat;
  }

  .nsrl-accordion-item summary {
    padding: 10px 24px;
    font-size: 20px;
  }

  .nsrl-accordion-item summary::after {
    right: 20px;
    width: 8px;
    height: 8px;
  }

  .nsrl-accordion-content { padding: 28px; }

  .nsrl-committee-grid { padding-top: 0; }

  .nsrl-accordion-content {
    font-size: 18px;
    line-height: 1.7;
  }

  .nsrl-committee-grid p {
    font-size: 18px;
    line-height: 1.75;
  }

  .nsrl-accordion-content .member-block,
  .nsrl-accordion-content .member-list {
    font-size: 17px;
    line-height: 1.75;
  }

  .nsrl-accordion-content .member-title {
    font-size: 17px;
  }

  .nsrl-accordion-content .committee-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 6px;
  }
}

@media (max-width: 720px) {
  .nsrl-page .container,
  .nsrl-page .inner { max-width: calc(100% - 20px); }

  .nsrl-page .section {
    padding: 28px 0 24px;
  }

  .nsrl-page .section-head { margin-bottom: 24px; }

  .nsrl-page .section-title { font-size: 24px; }

  .nsrl-about {
    gap: 24px;
  }

  .nsrl-about-visual {
    height: 260px;
    min-height: 260px;
  }

  .nsrl-about-content {
    width: auto;
    min-height: auto;
    margin-top: 0;
    padding: 24px 20px;
  }

  .nsrl-about-content h3 { font-size: 20px; }

  .nsrl-about-text,
  .nsrl-leader-desc,
  .nsrl-committee-grid p {
    font-size: 15px;
    line-height: 1.8;
  }

  .nsrl-about-text { max-height: 135px; }

  .nsrl-tab-panel .wp_article_list_table,
  .nsrl-tab-panel .wp_article_list_table > tbody,
  .nsrl-tab-panel .wp_article_list_table > tbody > tr,
  .nsrl-tab-panel .wp_article_list_table > tbody > tr > td {
    display: block;
    width: 100%;
  }

  .nsrl-tab-panel .wp_article_list_table {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .nsrl-history-content {
    padding: 0;
    overflow: visible;
  }

  .nsrl-history-item {
    display: inline-block;
    min-width: 600px;
    font-size: 15px;
    line-height: 1.35;
  }

  .nsrl-history-item .director-table .row {
    grid-template-columns: 0.8fr 1fr 1.8fr;
    min-height: auto;
  }

  .nsrl-history-item .director-table .row > div {
    padding: 7px 6px;
    font-size: 15px;
    line-height: 1.35;
  }

  .nsrl-history-item .director-table {
    width: 100%;
    min-width: 600px;
    max-width: none;
  }

  .nsrl-history-item .director-table p {
    margin: 4px 0;
  }

  .nsrl-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .nsrl-action { width: 100%; }

  .nsrl-section--leaders .section-head.nsrl-head-with-tools {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .nsrl-section--leaders .nsrl-head-with-tools .section-title {
    flex: 0 0 auto;
    margin: 0;
  }

  .nsrl-section--leaders .nsrl-tabs {
    display: inline-flex;
    width: auto;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .nsrl-section--leaders .nsrl-tab {
    min-width: 0;
    height: 36px;
    padding: 0 14px;
    font-size: 16px;
    white-space: nowrap;
  }

  .nsrl-leader-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    height: auto;
  }

  .nsrl-avatar {
    width: 84px;
    height: 120px;
  }

  .nsrl-avatar-image,
  .nsrl-avatar img { height: 100%; }

  .nsrl-leader-top { gap: 14px; }

  .nsrl-leader-body { margin-top: 0; }

  .nsrl-leader-name-group h3 { font-size: 19px; }

  .nsrl-leader-name-group p { font-size: 14px; }

  .nsrl-leader-meta {
    gap: 8px 14px;
    font-size: 14px;
  }

  .nsrl-table-wrap {
    padding: 0;
    overflow-x: visible;
  }

  .nsrl-party-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .nsrl-party-table thead th,
  .nsrl-party-table tbody td {
    height: auto;
    min-height: 0;
    padding: 7px 6px;
    font-size: 15px;
    line-height: 1.35;
  }

  .nsrl-party-table thead th:nth-child(1),
  .nsrl-party-table tbody td:nth-child(1) {
    width: 26%;
  }

  .nsrl-party-table thead th:nth-child(2),
  .nsrl-party-table tbody td:nth-child(2) {
    width: 24%;
  }

  .nsrl-party-table thead th:nth-child(3),
  .nsrl-party-table tbody td:nth-child(3) {
    width: 50%;
  }

  .nsrl-org-board { padding-top: 12px; }

  .nsrl-org-root {
    width: 100%;
    max-width: 320px;
    min-height: 46px;
    padding: 10px 18px;
    font-size: 18px;
    text-align: center;
  }

  .nsrl-org-grid {
    margin-top: 36px;
  }

  .nsrl-org-grid .wp_nav td { margin: 0 7px 16px; }

  .nsrl-org-node span {
    font-size: 16px;
  }

  .nsrl-org-node span::after {
    width: 19px;
    height: 7px;
    margin-top: 8px;
    background:
      linear-gradient(#ffffff, #ffffff) left center / 14px 2px no-repeat,
      linear-gradient(45deg, transparent calc(50% - 1px), #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent calc(50% + 1px)) right 4px top -1px / 5px 5px no-repeat;
  }

  .nsrl-accordion {
    margin-top: 32px;
    gap: 16px;
  }

  .nsrl-accordion-item summary {
    padding: 10px 34px 10px 16px;
    font-size: 18px;
    line-height: 1.35;
  }

  .nsrl-accordion-item summary::after {
    right: 14px;
    width: 8px;
    height: 8px;
  }

  .nsrl-committee-grid {
    gap: 18px;
    padding-top: 0;
  }

  .nsrl-accordion-content {
    padding: 18px 16px;
    font-size: 15px;
    line-height: 1.75;
  }

  .nsrl-committee-grid h4 { font-size: 18px; }

  .nsrl-committee-grid p {
    font-size: 15px;
    line-height: 1.8;
  }

  .nsrl-accordion-content .member-block,
  .nsrl-accordion-content .member-list {
    font-size: 15px;
    line-height: 1.75;
  }

  .nsrl-accordion-content .member-title {
    font-size: 15px;
  }

  .nsrl-accordion-content .vice-list {
    gap: 0 16px;
  }

  .nsrl-accordion-content .committee-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 6px;
  }

  .nsrl-party-table tbody td:nth-child(3) {
    word-break: break-all;
  }
}

@media (max-width: 540px) {
  .nsrl-page .container,
  .nsrl-page .inner { max-width: calc(100% - 16px); }

  .nsrl-page .section {
    padding: 24px 0 20px;
  }

  .nsrl-page .section-title { font-size: 22px; }

  .nsrl-section--leaders .section-head.nsrl-head-with-tools {
    gap: 8px;
  }

  .nsrl-section--leaders .nsrl-tabs {
    gap: 6px;
  }

  .nsrl-section--leaders .nsrl-tab {
    height: 34px;
    padding: 0 10px;
    font-size: 16px;
  }
  .nsrl-about-visual {
    height: 220px;
    min-height: 220px;
  }

  .nsrl-about-content {
    margin-top: 0;
    padding: 20px 16px;
  }

  .nsrl-about-content h3 { font-size: 18px; }

  .nsrl-leader-card {
    height: auto;
    padding: 16px;
  }

  .nsrl-leader-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
  }

  .nsrl-avatar {
    width: 74px;
    height: 106px;
  }

  .nsrl-leader-name-group h3 {
    font-size: 17px;
    line-height: 1;
  }

  .nsrl-leader-name-group p { font-size: 13px; }

  .nsrl-party-table thead th,
  .nsrl-party-table tbody td {
    height: auto;
    min-height: 0;
    padding: 6px 5px;
    font-size: 14px;
    line-height: 1.3;
  }

  .nsrl-org-root { width: 100%; }

  .nsrl-history-item {
    font-size: 14px;
    line-height: 1.3;
  }

  .nsrl-history-item .director-table .row > div {
    padding: 6px 5px;
    font-size: 14px;
    line-height: 1.3;
  }

  .nsrl-org-node span {
    font-size: 14px;
  }

  .nsrl-org-node span::after {
    width: 18px;
    height: 6px;
    background:
      linear-gradient(#ffffff, #ffffff) left center / 13px 2px no-repeat,
      linear-gradient(45deg, transparent calc(50% - 1px), #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent calc(50% + 1px)) right 4px top -1px / 4px 4px no-repeat;
  }

  .nsrl-accordion-item summary {
    padding: 10px 30px 10px 14px;
    font-size: 16px;
    line-height: 1.35;
  }

  .nsrl-accordion-item summary::after {
    right: 12px;
    width: 7px;
    height: 7px;
  }

  .nsrl-accordion-content {
    padding: 14px 12px;
    font-size: 14px;
  }

  .nsrl-accordion-content .member-block,
  .nsrl-accordion-content .member-list,
  .nsrl-accordion-content .member-title,
  .nsrl-committee-grid p {
    font-size: 14px;
    line-height: 1.7;
  }

  .nsrl-accordion-content .committee-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 6px;
  }
}
