/* WordPress content styling. The shared original styles define the portal design. */
.colorful-portal .ns-hero-has-background{position:relative;isolation:isolate}
.colorful-portal .ns-hero>.ns-hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--ns-banner-image-position,center);opacity:var(--ns-banner-image-opacity,.2);border-radius:inherit;pointer-events:none;z-index:0}
.colorful-portal .ns-hero-has-background>.hero-grid{z-index:1}
.colorful-portal .hero-grid:not(:has(.hero-art)){grid-template-columns:1fr}
svg.ns-icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.colorful-portal .brand-logo>img{width:42px;height:auto;max-height:48px;object-fit:contain}
.colorful-portal .box-color-custom .homepage-box-header{color:var(--box-ink,#fff)}
.colorful-portal .tile-color-custom{color:var(--tile-ink,#fff)}
.colorful-portal .tint-custom{background:color-mix(in srgb,var(--accent) 8%,#fff);border-color:color-mix(in srgb,var(--accent) 22%,#fff);color:color-mix(in srgb,var(--accent) 65%,#24132f)}
.colorful-portal .newsletter-band-form>.ns-widget{margin:0}
.ns-page .ns-entry-content,.ns-entry-content{font-size:var(--ns-body-size,16px)}
/* Archives and native block content. */

.ns-page {
  padding: 25px 30px 35px;
  min-height: 40vh;
}

.ns-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .75rem;
  line-height: 1.7;
  color: #78648b;
  margin-bottom: 20px;
}

.ns-breadcrumbs a:hover {
  color: var(--ns-accent);
}

.ns-page-heading {
  margin-bottom: 26px;
}

.ns-page-heading>h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -.6px;
  color: #321a42;
}

.ns-page-heading>.ns-search-form {
  margin-top: 17px;
  max-width: 700px;
}

.ns-archive-description {
  font-size: .9375rem;
  color: #75617f;
  margin-top: 12px;
}

.ns-archive-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
}

.ns-post-card {
  border: 1px solid #e4d8ef;
  background: #fff;
  border-radius: 10px;
  padding: 19px;
}

.ns-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .75rem;
  color: #8b7597;
  margin-bottom: 8px;
}

.ns-card-meta>a {
  font-weight: 650;
  color: #7e43b7;
}

.ns-post-card h2 {
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 650;
  color: #402b4d;
}

.ns-post-card h2 a:hover {
  color: var(--ns-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ns-post-card>p {
  font-size: .875rem;
  color: #786783;
  margin-top: 9px;
  line-height: 1.8;
}

.ns-card-deadline {
  display: inline-block;
  margin-top: 12px;
  font-size: .75rem;
  color: #96671d;
  background: #fff6e5;
  padding: 3px 8px;
  border-radius: 4px;
}

.pagination {
  margin-top: 26px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 7px 11px;
  border: 1px solid #e4d8ef;
  border-radius: 6px;
  font-size: .875rem;
  color: #76518f;
}

.page-numbers.current {
  background: var(--ns-accent);
  color: #fff;
  border-color: var(--ns-accent);
}

.ns-empty-state {
  text-align: center;
  padding: 45px 22px;
}

.ns-empty-state h1,.ns-empty-state h2 {
  font-size: 1.7rem;
  color: #492c5c;
  margin: 6px 0 12px;
}

.ns-empty-state>p {
  color: #806a90;
}

.ns-empty-state .ns-search-form {
  margin: 22px auto;
}

.ns-standard-page {
  max-width: 940px;
  margin: auto;
}

.ns-featured-image {
  display: block;
  max-height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: 9px;
  margin: 0 0 22px;
}

.ns-entry-content {
  font-size: var(--ns-body-size);
  line-height: 1.85;
  color: #302837;
  overflow-wrap: break-word;
}

.ns-entry-content>* {
  margin-top: 0;
  margin-bottom: 18px;
}

.ns-entry-content h1,.ns-entry-content h2,.ns-entry-content h3,.ns-entry-content h4 {
  line-height: 1.5;
  font-weight: 700;
  color: #4c2e63;
}

.ns-entry-content h2 {
  font-size: 1.125rem;
  padding: 10px 14px;
  border: 1px solid #e5d8ef;
  border-left: 3px solid #9c75c4;
  background: #f3ecfa;
  border-radius: 6px;
  margin-top: 28px;
  margin-bottom: 13px;
}

.ns-entry-content h3 {
  font-size: 1.0625rem;
  margin-top: 24px;
}

.ns-entry-content h4 {
  font-size: 1rem;
}

.ns-entry-content>h2:first-child {
  margin-top: 0;
}

.ns-entry-content a {
  color: #67408e;
  text-decoration: underline;
  text-decoration-color: #bfa5d4;
  text-underline-offset: 3px;
}

.ns-entry-content a:hover {
  color: #4d226e;
  text-decoration-color: currentColor;
}

.ns-entry-content ul,.ns-entry-content ol {
  padding-left: 24px;
}

.ns-entry-content li {
  margin: 5px 0;
}

.ns-entry-content strong {
  font-weight: 650;
}

.ns-entry-content blockquote {
  margin: 20px 0;
  padding: 13px 19px;
  border-left: 3px solid #b698cf;
  background: #faf6fe;
  color: #6b527d;
}

.ns-entry-content blockquote>*:last-child {
  margin-bottom: 0;
}

.ns-entry-content hr {
  border: 0;
  border-top: 1px solid #e3dbea;
  margin: 26px 0;
}

.ns-entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  line-height: 1.75;
}

.ns-entry-content td,.ns-entry-content th {
  border: 1px solid #e1d7e9;
  padding: 10px 12px;
  vertical-align: top;
}

.ns-entry-content th {
  background: #ede2f7;
  color: #543366;
  font-weight: 650;
  text-align: left;
}

.ns-entry-content tbody tr:nth-child(even)>td {
  background: #fcfaff;
}

.ns-entry-content table p {
  margin: 0 0 6px;
  color: inherit;
}

.ns-entry-content table p:last-child {
  margin-bottom: 0;
}

.ns-entry-content table ul,.ns-entry-content table ol {
  padding-left: 19px;
  margin: 5px 0;
}

.ns-entry-content .wp-block-table,.ns-table-region {
  overflow-x: auto;
  border-radius: 7px;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #ccb3df #faf7fc;
}

.ns-table-region:focus-visible,.ns-entry-content .wp-block-table:focus-visible {
  outline: 2px solid #ac83cd;
  outline-offset: 3px;
}

.ns-entry-content .wp-block-table>table {
  margin: 0;
}

.ns-entry-content figcaption {
  font-size: .8125rem;
  line-height: 1.6;
  color: #7d698c;
  margin-top: 7px;
}

.ns-entry-content .wp-block-button__link {
  background: var(--ns-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: .9375rem;
  padding: 11px 17px;
}

.ns-entry-content .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--ns-accent);
  border: 1px solid #d4b9e9;
}

.ns-entry-content .alignwide {
  max-width: 100%;
}

.ns-entry-content .alignfull {
  margin-left: 0;
  margin-right: 0;
}

.ns-entry-content .alignleft {
  float: left;
  margin: 0 20px 15px 0;
}

.ns-entry-content .alignright {
  float: right;
  margin: 0 0 15px 20px;
}

.ns-entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.ns-reading-page {
  background: #f4f1f7 !important;
}

.ns-reading-page .ns-shell {
  box-shadow: none;
}

.ns-article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px;
  gap: 32px;
  max-width: 1120px;
  margin: auto;
}

.ns-article {
  min-width: 0;
}

.ns-article-full {
  grid-template-columns: minmax(0,1fr);
  max-width: 960px;
}

.ns-article-header {
  border: 1px solid #e3d7ed;
  border-top: 3px solid #9b73c4;
  border-radius: 10px;
  padding: 23px;
  margin-bottom: 25px;
}

.ns-category-label {
  display: inline-block;
  font-size: .75rem;
  line-height: 1.6;
  color: #6a4194;
  padding: 4px 9px;
  background: #f0e7fa;
  border-radius: 5px;
  font-weight: 650;
}

.ns-article-header h1 {
  font-size: 1.8rem;
  font-weight: 750;
  letter-spacing: -.5px;
  line-height: 1.33;
  color: #2c1c38;
  margin: 12px 0;
}

.ns-article-summary {
  font-size: .9375rem;
  line-height: 1.8;
  color: #51415c;
}

.ns-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  font-size: .75rem;
  color: #7b688a;
  margin-top: 15px;
}

.ns-article-meta a {
  font-weight: 550;
  color: #705185;
}

.ns-deadline-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 600;
  color: #86601e;
  background: #fff6e4;
  border: 1px solid #f0dfb9;
  border-radius: 6px;
  padding: 9px 12px;
}

.ns-deadline-note.is-closed {
  color: #8b4d58;
  background: #fff1f3;
  border-color: #f1d5db;
}

.ns-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ns-toc-panel,.ns-article-sidebar>.ns-widget {
  padding: 17px 15px;
  border: 1px solid #e5d9ef;
  background: #fcfaff;
  border-radius: 9px;
}

.ns-toc-panel>h2 {
  font-size: .875rem;
  color: #63417c;
  font-weight: 650;
  margin-bottom: 12px;
}

.ns-toc-panel nav {
  display: grid;
  gap: 4px;
}

.ns-toc-panel a {
  display: block;
  font-size: .8125rem;
  line-height: 1.65;
  color: #756080;
  padding: 6px 8px;
  border-radius: 5px;
}

.ns-toc-panel a:hover,.ns-toc-panel a[aria-current] {
  background: #efe3fa;
  color: #6a3a8d;
}

.ns-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.ns-article-tags>a {
  font-size: .75rem;
  color: #744e92;
  padding: 3px 9px;
  border: 1px solid #dfcdec;
  border-radius: 5px;
  background: #faf6fe;
}

.ns-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  font-size: .8125rem;
  margin-top: 22px;
  padding: 17px 0;
  border-top: 1px solid #e6ddeb;
}

.ns-share>span {
  color: #867090;
}

.ns-share a,.ns-share button {
  font-size: .8125rem;
  color: #6e4786;
  background: none;
  border: 0;
  padding: 0;
}

.ns-copy-status {
  font-size: .75rem;
}

.post-navigation {
  margin: 16px 0 24px;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  justify-content: stretch;
  gap: 18px;
}

.post-navigation a {
  font-size: .875rem;
  color: #65447e;
  font-weight: 550;
}

.post-navigation a>span {
  display: block;
  font-weight: 400;
  color: #8e7a99;
  font-size: .75rem;
  margin-bottom: 4px;
}

.nav-next {
  text-align: right;
}

.ns-page-links {
  font-size: .875rem;
  color: #754e93;
}

.ns-comments {
  border-top: 1px solid #e6ddeb;
  margin-top: 28px;
  padding-top: 22px;
}

.ns-comments h2,.ns-comments h3 {
  font-size: 1.2rem;
  font-weight: 650;
  color: #513465;
  margin-bottom: 14px;
}

.comment-list {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  padding-left: 25px;
}

.comment-body {
  padding: 17px 0;
  border-bottom: 1px solid #eee6f3;
  font-size: .875rem;
}

.comment-author {
  font-weight: 650;
}

.comment-author .avatar {
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}

.comment-metadata {
  font-size: .75rem;
  color: #8e779a;
  margin: 5px 0 10px;
}

.reply {
  font-size: .75rem;
  color: #744f91;
  margin-top: 7px;
}

.comment-form>p {
  margin-bottom: 15px;
  font-size: .875rem;
  color: #776281;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
}

.comment-form input:not([type=checkbox]),.comment-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #dfcdec;
  border-radius: 6px;
  padding: 10px;
  color: #513765;
  background: #fff;
}

.comment-form .submit {
  background: var(--ns-accent) !important;
  color: #fff !important;
  border: 0 !important;
  width: auto !important;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comment-form-cookies-consent label {
  display: inline;
}

.bypostauthor>.comment-body {
  border-left: 2px solid #c2a3dd;
  padding-left: 13px;
}

.sticky {
  border-color: #bb96db;
}

.gallery-caption,.wp-caption-text {
  font-size: .8125rem;
  color: #82678d;
}

.wp-caption {
  max-width: 100%;
}

/* Optional article presets; content colors chosen in WordPress remain editable. */

.ns-article-simple .ns-article-header {
  border: 0;
  border-bottom: 1px solid #e3dbe9;
  border-radius: 0;
  padding: 0 0 22px;
}

.ns-article-simple .ns-entry-content h2 {
  background: none;
  border: 0;
  border-bottom: 1px solid #e4dce9;
  border-radius: 0;
  padding: 0 0 9px;
  color: #3d3048;
}

.ns-article-simple .ns-entry-content th {
  background: #f2eef6;
  color: #45334f;
}

.ns-article-colorful .ns-entry-content h2 {
  background: var(--ns-accent);
  color: #fff;
  border: 0;
  border-left: 4px solid #ffffff50;
}

.ns-article-colorful .ns-entry-content th {
  background: var(--ns-nav);
  color: #fff;
}

@media (max-width:1300px) {
  .ns-shell {
    margin: 20px;
    max-width: calc(100% - 40px);
  }
  .ns-header-links {
    gap: 13px;
  }
  .ns-main-menu>li>a {
    padding: 13px 12px;
  }
  .ns-hero h1 {
    font-size: 2rem;
  }
  .ns-shortcuts {
    gap: 9px;
  }
}

@media (max-width:1050px) {
  .ns-header-links time {
    display: none;
  }
  .ns-header-links {
    font-size: .75rem;
  }
  .ns-utility-menu {
    gap: 12px;
  }
  .ns-brand strong {
    font-size: 1.4rem;
  }
  .ns-brand small {
    max-width: 200px;
  }
  .ns-main-menu>li>a {
    font-size: .8125rem;
    padding: 13px 10px;
  }
  .ns-shortcuts {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .ns-columns-4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .ns-board-grid {
    gap: 16px;
  }
  .ns-board-head {
    padding: 17px 15px;
    gap: 9px;
  }
  .ns-board-head h2 {
    min-width: 0;
    overflow-wrap: break-word;
    font-size: 1.15rem;
  }
  .ns-title-list {
    padding-left: 15px;
    padding-right: 15px;
  }
  .ns-title-list li {
    font-size: .875rem;
  }
  .ns-category-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .ns-quick-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .ns-article-layout {
    grid-template-columns: minmax(0,1fr) 190px;
    gap: 24px;
  }
  .ns-article-full {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width:800px) {
  .ns-header-links {
    display: none;
  }
  .ns-header-login {
    margin-left: auto;
  }
  .ns-menu-toggle {
    display: flex;
    align-items: center;
  }
  .ns-header-inner {
    padding: 17px 20px;
    gap: 10px;
  }
  .ns-nav-bar {
    padding: 0;
    min-height: 0;
  }
  .ns-navigation {
    display: none;
  }
  .ns-navigation.is-open {
    display: block;
  }
  .ns-main-menu {
    display: block;
    padding: 10px 15px;
  }
  .ns-main-menu>li>a {
    padding: 11px;
    font-size: .875rem;
    min-height: auto;
  }
  .ns-main-menu .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    background: #ffffff0b;
    color: #fff;
    min-width: 0;
    padding: 0 10px;
  }
  .ns-main-menu .sub-menu a:hover {
    background: #ffffff13;
  }
  .ns-nav-search {
    display: none;
  }
  .ns-hero {
    grid-template-columns: 1fr .6fr;
    padding: 25px 22px 0;
  }
  .ns-hero h1 {
    font-size: 1.8rem;
  }
  .ns-hero-art {
    margin: -7px -12px 0 -22px;
  }
  .ns-board-grid,.ns-columns-2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .ns-discovery-grid>.ns-board:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .ns-highlight-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .ns-footer-main {
    flex-wrap: wrap;
    gap: 24px;
  }
  .ns-footer-widgets {
    max-width: none;
    flex-basis: 100%;
  }
  .ns-article-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .ns-article-sidebar {
    display: block;
  }
  .ns-toc-panel {
    display: none;
  }
  .ns-article-sidebar .ns-widget {
    margin-top: 20px;
  }
}

@media (max-width:600px) {
  .ns-shell {
    margin: 10px;
    max-width: calc(100% - 20px);
    border-radius: 13px;
  }
  .ns-header-inner {
    min-height: 76px;
    padding: 16px 15px;
  }
  .ns-brand {
    gap: 8px;
  }
  .ns-brand strong {
    font-size: 1.25rem;
    letter-spacing: -.5px;
  }
  .ns-brand small {
    font-size: .625rem;
    max-width: 180px;
  }
  .ns-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .ns-brand-icon svg {
    width: 25px;
    height: 25px;
  }
  .ns-header-login {
    font-size: .75rem;
    padding: 9px 11px;
  }
  .ns-menu-toggle {
    padding: 4px;
  }
  .custom-logo {
    max-width: 200px;
    max-height: 45px;
  }
  .ns-home-section {
    margin: 18px 15px 22px;
  }
  .ns-hero {
    display: block;
    padding: 23px 18px 0;
    isolation: isolate;
  }
  .ns-hero-copy {
    padding-bottom: 22px;
  }
  .ns-hero h1 {
    font-size: 1.75rem;
    letter-spacing: -.7px;
  }
  .ns-hero-copy>p {
    font-size: .875rem;
  }
  .ns-hero-kicker {
    font-size: .75rem;
    padding: 4px 9px;
  }
  .ns-hero-art {
    position: absolute;
    inset: auto -24px 0 auto;
    width: 170px;
    height: 160px;
    opacity: .15;
    z-index: -1;
  }
  .ns-search-form {
    gap: 6px;
    border-radius: 8px;
    margin-top: 17px;
    padding: 4px;
  }
  .ns-search-form input {
    font-size: .875rem;
    padding: 7px 0;
  }
  .ns-search-icon {
    margin-left: 5px;
  }
  .ns-search-icon svg {
    width: 17px;
    height: 17px;
  }
  .ns-search-form button {
    font-size: .8125rem;
    padding: 10px 11px;
    border-radius: 5px;
  }
  .ns-keywords {
    gap: 5px;
    font-size: .75rem;
  }
  .ns-keywords a {
    padding: 2px 8px;
  }
  .ns-shortcuts {
    gap: 8px;
  }
  .ns-shortcut {
    padding: 13px 3px 10px;
    gap: 7px;
    border-radius: 9px;
  }
  .ns-shortcut>span {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }
  .ns-shortcut>span svg {
    width: 22px;
    height: 22px;
  }
  .ns-shortcut h2 {
    font-size: .75rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .ns-shortcut small {
    display: none;
  }
  .ns-section-heading h2 {
    font-size: 1.2rem;
    gap: 7px;
    letter-spacing: -.3px;
  }
  .ns-section-heading h2>svg {
    width: 21px;
    height: 21px;
  }
  .ns-highlight-grid {
    gap: 8px;
  }
  .ns-highlight {
    padding: 14px 10px;
    font-size: .875rem;
    line-height: 1.5;
    min-height: 90px;
    border-radius: 8px;
  }
  .ns-board-grid,.ns-columns-2,.ns-columns-4 {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }
  .ns-board {
    border-radius: 11px;
  }
  .ns-board-head {
    padding: 18px;
    min-height: 80px;
    gap: 12px;
  }
  .ns-board-head h2 {
    min-width: 0;
    overflow-wrap: break-word;
    font-size: 1.25rem;
  }
  .ns-title-list {
    padding: 3px 18px;
  }
  .ns-title-list li {
    font-size: .9375rem;
    padding: 14px 0 14px 16px;
  }
  .ns-board-footer {
    padding: 13px 18px;
    font-size: .875rem;
  }
  .ns-light-panel {
    padding: 18px 14px;
  }
  .ns-quick-grid {
    gap: 8px;
  }
  .ns-quick-grid>a {
    font-size: .8125rem;
    padding: 11px 9px;
    gap: 7px;
  }
  .ns-quick-grid>a>svg {
    width: 16px;
    height: 16px;
  }
  .ns-category-grid {
    gap: 8px;
  }
  .ns-category-grid>a {
    padding: 15px 5px 12px;
    gap: 8px;
    border-radius: 8px;
  }
  .ns-category-grid h3 {
    font-size: .8125rem;
  }
  .ns-category-grid small {
    font-size: .75rem;
  }
  .ns-category-grid>a>svg {
    width: 24px;
    height: 24px;
  }
  .ns-discovery-grid>.ns-board:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .ns-footer-main {
    padding: 24px 19px;
    gap: 24px;
  }
  .ns-footer-brand {
    max-width: 100%;
  }
  .ns-footer-brand>strong {
    font-size: 1.35rem;
  }
  .ns-footer-links {
    width: 100%;
  }
  .ns-footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .ns-footer-links a {
    font-size: .8125rem;
  }
  .ns-footer-bottom {
    padding: 14px 19px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: .75rem;
  }
  .ns-page {
    padding: 22px 18px 30px;
  }
  .ns-page-heading>h1 {
    font-size: 1.6rem;
  }
  .ns-archive-list {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .ns-post-card {
    padding: 17px 15px;
  }
  .ns-post-card h2 {
    font-size: 1rem;
  }
  .ns-article-header {
    padding: 18px 16px;
    border-radius: 8px;
    margin-bottom: 22px;
  }
  .ns-article-header h1 {
    font-size: 1.5rem;
    letter-spacing: -.3px;
    line-height: 1.35;
  }
  .ns-article-meta {
    gap: 8px;
    font-size: .75rem;
  }
  .ns-entry-content {
    font-size: var(--ns-body-size);
  }
  .ns-entry-content h2 {
    font-size: 1.0625rem;
    padding: 9px 12px;
  }
  .ns-entry-content td,.ns-entry-content th {
    font-size: .875rem;
    padding: 9px;
  }
  .ns-entry-content .wp-block-columns {
    gap: 18px;
  }
  .ns-share {
    gap: 10px 13px;
  }
  .ns-share>span:first-child {
    flex-basis: 100%;
  }
  .post-navigation .nav-links {
    gap: 13px;
  }
  .post-navigation a {
    font-size: .8125rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .ns-shortcut:hover,.ns-highlight:hover {
    transform: none;
  }
}

@media print {
  body.ns-portal {
    background: #fff !important;
  }
  .ns-shell {
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
  .ns-nav-bar,.ns-header-login,.ns-header-links,.ns-menu-toggle,.ns-footer,.ns-article-sidebar,.ns-share,.post-navigation,.ns-comments {
    display: none !important;
  }
  .ns-article-layout {
    display: block;
  }
  .ns-article-header {
    padding: 0 0 15px;
    border: 0;
    border-bottom: 1px solid #aaa;
  }
  .ns-page {
    padding: 0;
  }
  .ns-entry-content h2 {
    background: none;
    border: 0;
    border-bottom: 1px solid #bbb;
    padding-left: 0;
    color: #111;
  }
  .ns-entry-content table {
    break-inside: auto;
  }
  .ns-entry-content tr {
    break-inside: avoid;
  }
  .ns-entry-content a {
    color: #111;
  }
}

/* Native post content uses the same reader structure as the original portal. */
.ns-article-simple .article-page .article-prose h2{background:none;border:0;border-bottom:1px solid #e4dce9;border-radius:0;padding:0 0 9px;color:#3d3048}
.ns-article-simple .article-page .article-prose table th{background:#f2eef6;color:#45334f}
.ns-article-colorful .article-page .article-prose h2{background:var(--ns-accent);color:var(--ns-accent-ink,#fff);border:0;border-left:4px solid #ffffff50;padding:10px 14px;border-radius:6px}
.ns-article-colorful .article-page .article-prose table th{background:var(--ns-nav);color:var(--ns-nav-ink,#fff)}
.ns-reading-page{background:#f4f3f6!important}

/* Footer widgets are an optional independent row, never a tall fourth column. */
.colorful-portal .footer-grid {
  align-items: start;
}
.colorful-portal .site-footer .footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  align-items: start;
  gap: 20px 28px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #513165;
}
.colorful-portal .footer-widgets .ns-widget {
  min-width: 0;
  margin: 0;
  color: #c6afd5;
  font-size: 14px;
  line-height: 1.65;
}
.colorful-portal .footer-widgets :is(h2, h3, h4, .ns-widget-title, .wp-block-heading) {
  margin: 0 0 12px;
  color: #f4e5ff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.colorful-portal .footer-widgets :is(a, li, p, label) {
  color: #c6afd5;
  font-size: 14px;
  line-height: 1.65;
}
.colorful-portal .footer-widgets a:hover {
  color: #fff;
}
.colorful-portal .footer-widgets ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.colorful-portal .footer-widgets li {
  margin: 0 0 6px;
  break-inside: avoid;
}
.colorful-portal .footer-widgets :is(.wp-block-categories-list, .wp-block-archives-list) {
  columns: 2;
  column-gap: 22px;
}
.colorful-portal .footer-widgets ul ul {
  padding-left: 14px;
}
.colorful-portal .footer-widgets select {
  max-width: 100%;
  padding: 7px 10px;
  color: #39264a;
  background: #fff;
  border: 1px solid #c8a8df;
  border-radius: 5px;
}
@media (max-width: 640px) {
  .colorful-portal .site-footer .footer-widgets {
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
