/* PulseNova public design system */

:root {
  --pn-container: 1380px;
  --pn-font-size: 16px;
  --pn-heading-weight: 800;
  --pn-accent: #d81b60;
  --pn-secondary: #6c5ce7;
  --pn-tertiary: #00c2a8;
  --pn-warning: #ffb703;
  --pn-ink: #172033;
  --pn-muted: #657089;
  --pn-surface: #fff;
  --pn-page: #f4f6fb;
  --pn-dark: #111827;
  --pn-border: rgba(23,32,51,.1);
  --pn-shadow: 0 24px 70px rgba(39,48,76,.12);
  --pn-soft-shadow: 0 12px 35px rgba(39,48,76,.08);
  --pn-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pn-page);
  color: var(--pn-ink);
  font-family: var(--pn-font);
  font-size: var(--pn-font-size);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.pn-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--pn-heading-weight);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-top: 0;
}

p {
  margin-top: 0;
}

.pn-container {
  margin-inline: auto;
}

.pn-main {
  min-height: 60vh;
}

.pn-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: none;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus,
.pn-skip-link:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  background: #fff;
  color: #111;
  padding: 14px 18px;
  z-index: 100000;
  top: 8px;
  left: 8px;
}

.pn-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.pn-icon-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pn-border);
  border-radius: 15px;
  background: var(--pn-surface);
  color: var(--pn-ink);
  transition: .25s ease;
}

.pn-icon-button:hover,
.pn-icon-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--pn-secondary);
  color: var(--pn-secondary);
}

.pn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 800;
  transition: .25s ease;
  position: relative;
  z-index: 4;
}

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

.pn-button-dark {
  background: var(--pn-dark);
  color: #fff;
}

.pn-brandbar {
  background: var(--pn-surface);
  border-bottom: 1px solid var(--pn-border);
}

.pn-brandbar-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.pn-brand {
  text-align: left;
}

.pn-brand-kicker {
  margin: 5px 0 0;
  color: var(--pn-muted);
  font-size: 13px;
  font-weight: 600;
}

.custom-logo {
  max-height: 65px;
  width: auto;
}

.pn-menu-toggle {
  display: none;
}

.pn-navbar {
  background: var(--pn-surface);
  border-bottom: 1px solid var(--pn-border);
  position: relative;
  z-index: 50;
}

.pn-navbar-inner {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pn-nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pn-nav-list a {
  display: flex;
  align-items: center;
  padding: 18px 14px;
  font-size: 14px;
  font-weight: 800;
  transition: .2s ease;
}

.pn-nav-list>li>a:hover,
.pn-nav-list>.current-menu-item>a {
  background: rgba(108,92,231,.09);
  color: var(--pn-secondary);
}

.pn-nav-list .menu-item-has-children {
  position: relative;
}

.pn-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  list-style: none;
  background: var(--pn-surface);
  border: 1px solid var(--pn-border);
  box-shadow: var(--pn-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .2s ease;
}

.pn-nav-list li:hover>.sub-menu,
.pn-nav-list li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.pn-nav-list .sub-menu a {
  padding: 11px 12px;
}

.pn-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  background: var(--pn-page);
  border: 1px solid var(--pn-border);
  border-radius: 18px;
  width: 100%;
}

.pn-search-form input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  color: var(--pn-ink);
}

.pn-search-form button {
  border: 0;
  background: var(--pn-dark);
  color: #fff;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
}

.pn-ticker-inner {
  min-height: 50px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.pn-ticker strong {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}

.pn-ticker strong span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pn-accent);
  animation: pnPulse 1.8s infinite;
}

.pn-ticker-track {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
}

.pn-ticker-track a {
  position: relative;
}

@keyframes pnPulse {
  50% {
    box-shadow: 0 0 0 7px rgba(255,61,129,.12);
  }
}

.pn-eyebrow {
  display: inline-flex;
  color: var(--pn-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 11px;
}

.pn-post-media {
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg,var(--pn-secondary),var(--pn-accent));
}

.pn-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.pn-card-link:hover~.pn-post-media img,
.pn-story-card:hover .pn-post-media img,
.pn-editor-card:hover .pn-post-media img {
  transform: scale(1.045);
}

.pn-image-fallback {
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,var(--pn-secondary),var(--pn-accent) 50%,var(--pn-warning));
}

.pn-image-fallback span {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  background: rgba(255,255,255,.18);
}

.pn-image-fallback span:nth-child(1) {
  width: 55%;
  aspect-ratio: 1;
  right: -10%;
  top: -20%;
}

.pn-image-fallback span:nth-child(2) {
  width: 35%;
  aspect-ratio: 1;
  left: 10%;
  bottom: -15%;
}

.pn-image-fallback span:nth-child(3) {
  width: 18%;
  aspect-ratio: 1;
  left: 45%;
  top: 25%;
  background: rgba(255,255,255,.28);
}

.pn-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--pn-accent);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  z-index: 4;
}

.pn-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--pn-muted);
  font-size: 12px;
  font-weight: 700;
}

.pn-post-meta .pn-icon {
  width: 15px;
  height: 15px;
}

.pn-post-meta a:hover {
  color: var(--pn-accent);
}

.pn-content-section {
  padding: 70px 0;
}

.pn-content-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 370px;
  align-items: start;
}

.pn-section-heading {
  display: flex;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.pn-section-heading h2 {
  margin: 0;
}

.pn-section-line {
  height: 1px;
  background: linear-gradient(90deg,var(--pn-border),transparent);
  flex: 1;
  margin-bottom: 9px;
}

.pn-latest-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
}

.pn-story-card {
  position: relative;
  background: var(--pn-surface);
  border: 1px solid var(--pn-border);
  border-radius: var(--pn-radius);
  overflow: hidden;
  box-shadow: var(--pn-soft-shadow);
  transition: .3s ease;
}

.pn-story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pn-shadow);
}

.pn-story-card>.pn-post-media {
  height: 220px;
}

.pn-story-featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
}

.pn-story-body {
  padding: 24px;
}

.pn-story-featured .pn-story-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pn-story-body h3 {
  margin: 14px 0 12px;
}

.pn-story-body p {
  color: var(--pn-muted);
}

.pn-sidebar-column {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pn-trending-card,
.pn-widget {
  background: var(--pn-surface);
  border: 1px solid var(--pn-border);
  border-radius: var(--pn-radius);
  box-shadow: var(--pn-soft-shadow);
  overflow: hidden;
}

.pn-side-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 25px 25px 17px;
}

.pn-side-title>span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg,var(--pn-warning),#ff7f50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b2d00;
}

.pn-side-title small {
  color: var(--pn-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pn-side-title h2 {
  margin: 2px 0 0;
  font-size: 24px;
}

.pn-trending-list {
  counter-reset: trending;
  list-style: none;
  padding: 0 20px 20px;
  margin: 0;
}

.pn-trending-list li {
  counter-increment: trending;
  border-top: 1px solid var(--pn-border);
}

.pn-trending-list li>a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px 0;
  position: relative;
}

.pn-trending-list li>a:before {
  content: counter(trending,decimal-leading-zero);
  position: absolute;
  right: 0;
  bottom: 5px;
  color: rgba(108,92,231,.12);
  font-size: 34px;
  font-weight: 900;
}

.pn-trending-thumb {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  overflow: hidden;
  background: linear-gradient(135deg,var(--pn-secondary),var(--pn-accent));
}

.pn-trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pn-trending-list strong {
  font-size: 14px;
  line-height: 1.35;
  display: block;
  padding-right: 23px;
}

.pn-trending-list small {
  color: var(--pn-muted);
  font-size: 11px;
}

.pn-trending-placeholder {
  display: flex;
  gap: 12px;
  padding: 18px 0;
}

.pn-trending-placeholder>span {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--pn-page);
}

.pn-trending-placeholder div {
  flex: 1;
}

.pn-trending-placeholder i {
  display: block;
  height: 10px;
  border-radius: 10px;
  background: var(--pn-page);
  margin: 8px 0;
}

.pn-trending-placeholder i:last-child {
  width: 55%;
}

.pn-widget {
  padding: 25px;
}

.widget-title {
  font-size: 22px;
}

.pn-widget ul {
  padding-left: 18px;
}

.pn-widget li {
  margin: 8px 0;
}

.pn-empty-card {
  padding: 50px;
  border-radius: var(--pn-radius);
  background: var(--pn-surface);
  border: 1px dashed rgba(108,92,231,.35);
  text-align: center;
}

.pn-empty-card h2,
.pn-empty-card h3 {
  font-size: 32px;
}

.pn-editor-section:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  background: rgba(108,92,231,.24);
  right: -100px;
  top: -180px;
}

.pn-editor-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  position: relative;
}

.pn-editor-card {
  position: relative;
  border-radius: var(--pn-radius);
}

.pn-editor-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 25%,rgba(4,8,17,.95));
}

.pn-editor-card-body {
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.pn-footer-top {
  position: relative;
}

.pn-footer-brand p {
  margin-top: 18px;
}

.pn-site-footer .widget-title {
  font-size: 17px;
  color: #fff;
}

.pn-site-footer ul {
  list-style: none;
  padding: 0;
}

.pn-site-footer li {
  margin: 8px 0;
  color: #9faabd;
}

.pn-site-footer a:hover {
  color: #fff;
}

.pn-footer-bottom {
  position: relative;
}

.pn-page-header h1 {
  margin: 0;
}

.pn-page-header p,
.pn-archive-description {
  color: var(--pn-muted);
  font-size: 18px;
}

.pn-archive-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 30px;
  padding-bottom: 80px;
}

.pn-archive-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
  align-content: start;
}

.pn-archive-card {
  position: relative;
  background: var(--pn-surface);
  border: 1px solid var(--pn-border);
  border-radius: var(--pn-radius);
  overflow: hidden;
  box-shadow: var(--pn-soft-shadow);
}

.pn-archive-card>.pn-post-media {
  height: 240px;
}

.pn-archive-card-body {
  padding: 24px;
}

.pn-archive-card h2 {
  margin: 13px 0 12px;
}

.pn-archive-card p {
  color: var(--pn-muted);
}

.pn-sidebar {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nav-links {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.page-numbers {
  padding: 11px 15px;
  background: var(--pn-surface);
  border: 1px solid var(--pn-border);
  border-radius: 12px;
  font-weight: 800;
}

.page-numbers.current {
  background: var(--pn-secondary);
  color: #fff;
}

.entry-content {
  font-size: 18px;
  line-height: 1.85;
}

.entry-content h2 {
  font-size: 40px;
  margin-top: 1.7em;
}

.entry-content h3 {
  font-size: 30px;
  margin-top: 1.5em;
}

.entry-content a {
  color: var(--pn-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  margin: 40px 0;
  padding: 30px 36px;
  border-left: 6px solid var(--pn-accent);
  background: linear-gradient(135deg,rgba(255,61,129,.08),rgba(108,92,231,.08));
  border-radius: 0 var(--pn-radius) var(--pn-radius) 0;
  font-size: 1.25em;
  font-weight: 700;
}

.entry-content pre {
  overflow: auto;
  background: var(--pn-dark);
  color: #fff;
  padding: 22px;
  border-radius: 18px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--pn-border);
  padding: 12px;
}

.post-navigation {
  margin: 40px 0;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2,1fr);
}

.post-navigation a {
  display: block;
  padding: 22px;
  border: 1px solid var(--pn-border);
  border-radius: 18px;
  background: var(--pn-surface);
}

.pn-comments-area {
  margin-top: 50px;
}

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

.comment-body {
  padding: 24px;
  border: 1px solid var(--pn-border);
  border-radius: 18px;
  margin: 18px 0;
  background: var(--pn-surface);
}

.comment-author img {
  border-radius: 50%;
  float: left;
  margin-right: 12px;
}

.comment-form input:not([type=submit]),
.comment-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--pn-border);
  border-radius: 12px;
  background: var(--pn-surface);
  color: var(--pn-ink);
}

.comment-form .submit {
  border: 0;
  border-radius: 13px;
  padding: 13px 20px;
  background: var(--pn-secondary);
  color: #fff;
  font-weight: 800;
}

.pn-page-featured {
  border-radius: var(--pn-radius);
  overflow: hidden;
}

.pn-not-found {
  padding: 100px 0;
  text-align: center;
  max-width: 760px;
}

.pn-not-found>span {
  font-size: clamp(100px,20vw,230px);
  font-weight: 900;
  line-height: .8;
  background: linear-gradient(135deg,var(--pn-accent),var(--pn-secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.pn-not-found h1 {
  font-size: 48px;
  margin: 35px 0 15px;
}

.pn-not-found .pn-search-form {
  margin: 30px 0;
}

@media (max-width:1180px) {
  .pn-content-layout {
    grid-template-columns: minmax(0,1fr) 330px;
  }

  .pn-editor-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .pn-footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .pn-footer-top>div:last-child {
    display: none;
  }
}

@media (max-width:980px) {
  .pn-container {
    width: min(calc(100% - 28px),var(--pn-container));
  }

  .pn-brand-kicker {
    display: none;
  }

  .pn-menu-toggle {
    display: inline-flex;
  }

  .pn-brandbar-inner {
    min-height: 88px;
  }

  .pn-primary-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw,390px);
    background: var(--pn-surface);
    z-index: 100;
    padding: 96px 20px 30px;
    overflow: auto;
    box-shadow: var(--pn-shadow);
  }

  .pn-primary-nav.is-open {
    display: block;
  }

  .pn-primary-nav .pn-nav-list {
    display: block;
  }

  .pn-primary-nav .pn-nav-list a {
    padding: 13px;
  }

  .pn-primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding-left: 15px;
  }

  .pn-navbar {
    display: none;
  }

  .pn-content-layout,
  .pn-archive-layout {
    grid-template-columns: 1fr;
  }

  .pn-sidebar-column,
  .pn-sidebar {
    position: static;
  }

  .pn-sidebar-column {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }

  .pn-widget-stack {
    grid-column: 1/-1;
  }

  .pn-archive-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .pn-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .pn-footer-brand {
    grid-column: 1/-1;
  }
}

@media (max-width:720px) {
  .pn-content-section {
    padding: 50px 0;
  }

  .pn-latest-grid {
    grid-template-columns: 1fr;
  }

  .pn-story-featured {
    grid-column: auto;
    display: block;
  }

  .pn-story-featured>.pn-post-media {
    height: 260px;
  }

  .pn-story-featured .pn-story-body {
    padding: 25px;
  }

  .pn-sidebar-column {
    display: flex;
  }

  .pn-editor-grid {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
  }

  .pn-editor-card {
    min-width: 78vw;
    scroll-snap-align: center;
  }

  .pn-archive-grid {
    grid-template-columns: 1fr;
  }

  .pn-footer-top {
    grid-template-columns: 1fr;
  }

  .pn-footer-bottom {
    display: block;
  }

  .entry-content {
    font-size: 17px;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width:480px) {
  .pn-brandbar-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .pn-icon-button {
    width: 42px;
    height: 42px;
  }

  .pn-section-heading h2 {
    font-size: 34px;
  }

  .pn-story-card>.pn-post-media {
    height: 210px;
  }

  .pn-editor-card {
    min-width: 88vw;
  }

  .pn-not-found h1 {
    font-size: 36px;
  }
}

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

.pn-nav-list a {
  border-radius: 10px;
}

.pn-nav-list .sub-menu {
  border-radius: 14px;
}

.pn-search-form,
.pn-icon-button,
.pn-button,
.comment-form input:not([type=submit]),
.comment-form textarea {
  border-radius: 12px;
}

.pn-page-featured,
.comment-body,
.post-navigation a,
.pn-widget,
.pn-story-card,
.pn-editor-card,
.pn-sidebar .widget,
.pn-search-form button {
  border-radius: 16px;
}

.pn-post-media,
.pn-story-featured>.pn-post-media {
  border-radius: 16px;
  overflow: hidden;
}

.pn-site-header,
.pn-site-footer,
.pn-content-section,
.pn-page-main,
.pn-archive-main {
  overflow-x: clip;
}

.pn-ticker {
  background: linear-gradient(90deg,#fff6fa,#f5f1ff,#f1fffc);
  border-bottom: 1px solid rgba(108,92,231,.08);
}

.pn-ticker-inner {
  grid-template-columns: auto minmax(0,1fr);
  gap: 18px;
}

.pn-ticker-viewport {
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.pn-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  min-width: max-content;
  will-change: transform;
}

.pn-ticker-track.is-animated {
  animation: pnTickerMove 34s linear infinite;
}

.pn-ticker-track:hover,
.pn-ticker-track:focus-within {
  animation-play-state: paused;
}

.pn-ticker-track a,
.pn-ticker-track span {
  flex: none;
}

.pn-ticker-track a:after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pn-secondary);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes pnTickerMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--pn-ticker-distance, 50%)));
  }
}

.pn-page-header {
  padding-top: 56px;
}

.pn-footer-top,
.pn-footer-bottom,
.pn-brandbar-inner,
.pn-navbar-inner,
.pn-page-article {
  width: 100%;
}

@media (max-width:980px) {
  .pn-page-article {
    padding-top: 40px;
  }
}

.pn-container {
  width: min(calc(100% - 40px),var(--pn-container));
}

.pn-story-card,
.pn-editor-card,
.pn-widget,
.pn-trending-card,
.pn-page-featured,
.comment-body,
.post-navigation a,
.pn-search-form button {
  border-radius: 12px;
}

.pn-post-media,
.pn-story-featured>.pn-post-media,
.pn-trending-thumb {
  border-radius: 12px;
}

.pn-side-title>span {
  border-radius: 12px;
}

.pn-page-article {
  margin-inline: auto;
}

.pn-page-article {
  padding-top: 42px;
  padding-bottom: 80px;
}

.pn-page-header {
  padding: 24px 0 26px;
}

.pn-page-featured {
  margin-bottom: 28px;
}

.pn-content-layout {
  gap: 28px;
}

.pn-site-header .pn-container,
.pn-site-footer .pn-container,
.pn-content-section>.pn-container,
.pn-editor-section .pn-container {
  width: min(calc(100% - 40px),var(--pn-container));
  margin-inline: auto;
}

.pn-footer-top,
.pn-footer-bottom,
.pn-brandbar-inner,
.pn-navbar-inner {
  width: 100%;
}

@media (max-width:980px) {
  .pn-page-article {
    width: min(calc(100% - 28px),var(--pn-container));
  }

  .pn-page-article {
    padding-top: 34px;
  }
}

:root {
  --pn-radius: 10px;
}

.pn-article-page {
  padding: 28px 0 84px;
  background: var(--pn-page);
}

.pn-article-shell {
  width: min(calc(100% - 40px),var(--pn-container));
  margin-inline: auto;
}

.pn-article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--pn-muted);
  font-size: 13px;
  line-height: 1.5;
}

.pn-article-breadcrumb a {
  color: var(--pn-secondary);
  font-weight: 750;
}

.pn-article-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pn-article-breadcrumb span[aria-hidden=true] {
  opacity: .55;
}

.pn-article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 28px;
  align-items: start;
  width: 100%;
}

.pn-no-widgets .pn-article-layout {
  grid-template-columns: minmax(0,1fr);
}

.pn-article-column {
  min-width: 0;
}

.pn-article-card,
.pn-comments-section {
  background: var(--pn-surface);
  border: 1px solid var(--pn-border);
  border-radius: 10px;
  box-shadow: var(--pn-soft-shadow);
}

.pn-article-card {
  overflow: hidden;
}

.pn-article-header {
  padding: 34px 38px 26px;
}

.pn-article-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg,var(--pn-tertiary),var(--pn-secondary));
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pn-article-title {
  margin: 0;
  color: var(--pn-ink);
  font-weight: var(--pn-heading-weight);
}

.pn-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pn-border);
}

.pn-article-author {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.pn-article-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.pn-article-author strong {
  display: block;
  color: var(--pn-ink);
  font-size: 15px;
}

.pn-article-author span {
  display: block;
  color: var(--pn-muted);
  font-size: 13px;
  margin-top: 2px;
}

.pn-article-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--pn-muted);
  font-size: 13px;
  font-weight: 700;
}

.pn-article-stats>span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pn-article-stats .pn-icon {
  width: 16px;
  height: 16px;
}

.pn-article-hero {
  margin: 0;
  background: var(--pn-dark);
}

.pn-article-hero img {
  display: block;
  width: 100%;
  height: clamp(340px,48vw,660px);
  object-fit: cover;
}

.pn-article-hero figcaption {
  padding: 10px 38px;
  color: var(--pn-muted);
  background: var(--pn-page);
  background: color-mix(in srgb,var(--pn-page) 78%,var(--pn-surface));
  border-bottom: 1px solid var(--pn-border);
  font-size: 12px;
  line-height: 1.5;
}

.pn-article-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px 38px 38px;
  color: var(--pn-ink);
  font-size: 18px;
  line-height: 1.85;
}

.pn-article-content>*:first-child {
  margin-top: 0;
}

.pn-article-content p {
  margin: 0 0 22px;
}

.pn-article-content>p:first-child {
  font-size: 20px;
  line-height: 1.75;
  font-weight: 500;
  color: var(--pn-ink);
}

.pn-article-content h2 {
  margin: 38px 0 15px;
  color: var(--pn-ink);
  font-size: 30px;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.pn-article-content h3 {
  margin: 30px 0 12px;
  color: var(--pn-ink);
  font-size: 24px;
  line-height: 1.3;
}

.pn-article-content ul,
.pn-article-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.pn-article-content li {
  margin: 0 0 10px;
  padding-left: 3px;
}

.pn-article-content blockquote {
  margin: 30px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--pn-secondary);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(135deg,rgba(108,92,231,.09),rgba(255,61,129,.07));
  color: var(--pn-ink);
  font-size: 21px;
  line-height: 1.65;
  font-weight: 650;
}

.pn-article-content figure {
  margin: 30px 0;
}

.pn-article-content figure img {
  width: 100%;
  border-radius: 10px;
}

.pn-article-content figcaption {
  margin-top: 8px;
  color: var(--pn-muted);
  font-size: 12px;
  line-height: 1.5;
}

.pn-article-content pre {
  border-radius: 10px;
}

.pn-article-footer {
  padding: 0 38px 38px;
}

.pn-article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--pn-border);
}

.pn-article-share-label {
  color: var(--pn-ink);
  font-size: 14px;
  font-weight: 800;
}

.pn-article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pn-article-tags a {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--pn-page);
  border: 1px solid var(--pn-border);
  color: var(--pn-muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.pn-article-tags a:hover {
  border-color: var(--pn-secondary);
  color: var(--pn-secondary);
}

.pn-article-author-box {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr);
  gap: 18px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--pn-border);
  border-radius: 10px;
  background: var(--pn-page);
  background: color-mix(in srgb,var(--pn-page) 70%,var(--pn-surface));
}

.pn-author-box-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.pn-article-author-box h2 {
  margin: 0 0 7px;
  font-size: 19px;
  line-height: 1.25;
}

.pn-article-author-box p {
  margin: 0;
  color: var(--pn-muted);
  font-size: 14px;
  line-height: 1.65;
}

.pn-comments-section {
  margin-top: 28px;
  padding: 28px;
}

.pn-article-section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--pn-ink);
  font-size: 25px;
  line-height: 1.25;
}

.pn-article-section-title:before {
  content: "";
  width: 4px;
  height: 28px;
  border-radius: 99px;
  background: linear-gradient(180deg,var(--pn-secondary),var(--pn-accent));
  flex: none;
}

.pn-article-layout>.pn-sidebar {
  position: static;
  top: auto;
  min-width: 0;
}

.pn-article-layout>.pn-sidebar .pn-widget {
  border-radius: 10px;
  box-shadow: var(--pn-soft-shadow);
}

.pn-comments-section .comment-list {
  margin: 0 0 28px;
}

.pn-comments-section .comment-body {
  border-radius: 10px;
  box-shadow: none;
}

.pn-comment-reply-title {
  font-size: 21px;
  margin: 0 0 18px;
}

.pn-article-comment-form {
  display: grid;
  gap: 14px;
}

.pn-article-comment-form p {
  margin: 0;
}

.pn-article-comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--pn-muted);
  font-size: 13px;
  font-weight: 750;
}

.pn-article-comment-form input:not([type=submit]):not([type=checkbox]),
.pn-article-comment-form textarea {
  width: 100%;
  border: 1px solid var(--pn-border);
  border-radius: 9px;
  background: var(--pn-surface);
  color: var(--pn-ink);
  padding: 13px 14px;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.pn-article-comment-form input:focus-visible,
.pn-article-comment-form textarea:focus-visible {
  border-color: var(--pn-secondary);
  outline-color: var(--pn-secondary);
  box-shadow: 0 0 0 4px rgba(108,92,231,.12);
}

.pn-article-comment-form textarea {
  min-height: 140px;
}

.pn-comment-submit {
  border: 0;
  border-radius: 9px;
  padding: 12px 20px;
  background: linear-gradient(135deg,var(--pn-secondary),var(--pn-accent));
  color: #fff;
  font-weight: 850;
}

.pn-comment-submit:hover {
  transform: translateY(-1px);
}

@media (max-width:1100px) {
  .pn-article-layout {
    grid-template-columns: minmax(0,1fr) 290px;
    gap: 22px;
  }
}

@media (max-width:980px) {
  .pn-article-shell {
    width: min(calc(100% - 28px),var(--pn-container));
  }

  .pn-article-layout {
    grid-template-columns: 1fr;
  }

  .pn-article-layout>.pn-sidebar {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
  }

  .pn-article-layout>.pn-sidebar .pn-widget {
    margin: 0;
  }
}

@media (max-width:720px) {
  .pn-article-page {
    padding-top: 18px;
  }

  .pn-article-header {
    padding: 24px 20px 20px;
  }

  .pn-article-title {
    font-size: 34px;
  }

  .pn-article-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .pn-article-stats {
    justify-content: flex-start;
  }

  .pn-article-hero img {
    height: 300px;
  }

  .pn-article-hero figcaption {
    padding: 9px 20px;
  }

  .pn-article-content {
    padding: 26px 20px 30px;
    font-size: 17px;
    line-height: 1.78;
  }

  .pn-article-content>p:first-child {
    font-size: 19px;
  }

  .pn-article-content h2 {
    font-size: 25px;
  }

  .pn-article-footer {
    padding: 0 20px 28px;
  }

  .pn-comments-section {
    padding: 22px 18px;
  }

  .pn-article-author-box {
    grid-template-columns: 58px minmax(0,1fr);
    padding: 18px;
  }

  .pn-author-box-avatar {
    width: 58px;
    height: 58px;
  }

  .pn-article-layout>.pn-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width:420px) {
  .pn-article-title {
    font-size: 29px;
  }

  .pn-article-hero img {
    height: 245px;
  }

  .pn-article-content {
    font-size: 16px;
  }

  .pn-article-content blockquote {
    padding: 20px;
    font-size: 18px;
  }
}

.pn-article-title {
  font-size: clamp(28px,3vw,36px);
  letter-spacing: -.03em;
}

.pn-article-card>.pn-comments-section {
  margin: 0;
  padding: 32px 38px 38px;
  border: 0;
  border-top: 1px solid var(--pn-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pn-article-card>.pn-comments-section .pn-article-section-title {
  margin-bottom: 22px;
}

.pn-article-card>.pn-comments-section .comment-body {
  background: var(--pn-page);
  background: color-mix(in srgb,var(--pn-page) 55%,var(--pn-surface));
  border: 1px solid var(--pn-border);
}

@media (max-width:720px) {
  .pn-article-title {
    font-size: 28px;
  }

  .pn-article-card>.pn-comments-section {
    padding: 26px 20px 30px;
  }
}

@media (max-width:420px) {
  .pn-article-title {
    font-size: 26px;
  }
}

.pn-header-colormag .pn-brandbar {
  background: #fff;
  border-bottom: 1px solid #d7dce6;
}

.pn-header-colormag .pn-brandbar-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto minmax(320px,1fr);
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}

.pn-header-colormag .pn-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pn-color-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pn-color-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f71567;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.pn-color-logo-text strong {
  display: block;
  color: #1b2440;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.pn-color-logo-text small,
.pn-header-colormag .pn-brand-kicker {
  display: block;
  margin-top: 5px;
  color: #6d7a96;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pn-header-colormag .custom-logo {
  max-height: 54px;
  width: auto;
}

.pn-header-colormag .pn-leaderboard {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px dashed #ff95b7;
  border-radius: 16px;
}

.pn-header-colormag .pn-leader-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f71567;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.pn-header-colormag .pn-leader-copy strong {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pn-header-colormag .pn-leader-copy small {
  display: block;
  margin-top: 4px;
  color: #5b667f;
  font-size: 11px;
  font-weight: 500;
}

.pn-header-colormag .pn-leader-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.pn-header-colormag .pn-navbar {
  border-bottom: 0;
  position: relative;
}

.pn-header-colormag .pn-navbar-inner {
  min-height: 42px;
  justify-content: flex-start;
}

.pn-header-colormag .pn-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.pn-header-colormag .pn-nav-list>li {
  position: relative;
}

.pn-header-colormag .pn-nav-list>li>a {
  padding: 11px 18px 11px 24px;
  border-radius: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
}

.pn-header-colormag .pn-nav-list>li>a:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.pn-header-colormag .pn-nav-list>li:nth-child(1)>a:before {
  background: #ffffff;
}

.pn-header-colormag .pn-nav-list>li:nth-child(2)>a:before {
  background: #ff8fb5;
}

.pn-header-colormag .pn-nav-list>li:nth-child(3)>a:before {
  background: #26b5ff;
}

.pn-header-colormag .pn-nav-list>li:nth-child(4)>a:before {
  background: #33d16b;
}

.pn-header-colormag .pn-nav-list>li:nth-child(5)>a:before {
  background: #20d3ff;
}

.pn-header-colormag .pn-nav-list>li:nth-child(6)>a:before {
  background: #ff9700;
}

.pn-header-colormag .pn-nav-list>li:nth-child(7)>a:before {
  background: #7be450;
}

.pn-header-colormag .pn-nav-list>li:nth-child(8)>a:before {
  background: #9a6bff;
}

.pn-header-colormag .pn-nav-list>li:nth-child(9)>a:before {
  background: #ff2d55;
}

.pn-header-colormag .pn-nav-list>li>a:hover,
.pn-header-colormag .pn-nav-list>.current-menu-item>a,
.pn-header-colormag .pn-nav-list>.current-menu-ancestor>a {
  background: rgba(0,0,0,.12);
  color: #fff;
}

.pn-header-colormag .pn-nav-list .sub-menu {
  top: 100%;
  border-radius: 0 0 14px 14px;
  border: 1px solid #efdae3;
  box-shadow: 0 18px 48px rgba(21,22,35,.12);
}

/* Keep long desktop menus on one line without changing WordPress menu data. */
@media (min-width:981px) {
  .pn-header-colormag .pn-navbar-inner,
  .pn-header-colormag .pn-primary-nav {
    min-width: 0;
    width: 100%;
  }

  .pn-header-colormag .pn-nav-list {
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
    overflow: visible;
  }

  .pn-header-colormag .pn-nav-list > li {
    flex: 0 0 auto;
  }

  .pn-header-colormag .pn-nav-overflow-item {
    order: -1;
    margin-inline: 0 6px;
    position: relative;
    align-self: stretch;
  }

  .pn-header-colormag .pn-nav-overflow-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 42px;
    padding: 0;
    border: 0;
    border-inline-end: 1px solid rgba(255,255,255,.18);
    border-radius: 0;
    background: rgba(0,0,0,.12);
    color: #fff;
    cursor: pointer;
  }

  .pn-nav-overflow-icon {
    width: 19px;
    height: 15px;
    display: grid;
    align-content: space-between;
  }

  .pn-nav-overflow-icon i {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
  }

  .pn-header-colormag .pn-nav-overflow-toggle:hover,
  .pn-header-colormag .pn-nav-overflow-toggle:focus-visible,
  .pn-header-colormag .pn-nav-overflow-item.is-open > .pn-nav-overflow-toggle {
    background: rgba(0,0,0,.24);
    color: #fff;
  }

  .pn-header-colormag .pn-nav-overflow-item > .pn-nav-overflow-menu {
    top: calc(100% + 8px);
    inset-inline-start: 0;
    inset-inline-end: auto;
    min-width: 290px;
    max-width: min(420px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #eadde4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(21,22,35,.18);
  }

  .pn-header-colormag .pn-nav-overflow-item.is-open > .pn-nav-overflow-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .pn-header-colormag .pn-nav-overflow-menu > li + li {
    border-top: 1px solid #f0e8ed;
  }

  .pn-header-colormag .pn-nav-overflow-menu > li > a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    color: #222a3c;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .pn-header-colormag .pn-nav-overflow-menu > li > a:hover,
  .pn-header-colormag .pn-nav-overflow-menu > .current-menu-item > a {
    background: #fff2f7;
    color: var(--pn-accent);
  }

  .pn-header-colormag .pn-nav-overflow-menu .menu-item-has-children > .sub-menu {
    top: 0;
    inset-inline-start: 100%;
    inset-inline-end: auto;
  }
}

@media (max-width:980px) {
  .pn-nav-overflow-item {
    display: none !important;
  }
}

.pn-header-colormag .pn-breaking-bar {
  background: #eef1f5;
  border-top: 1px solid #d7dce6;
  border-bottom: 1px solid #d7dce6;
}

.pn-header-colormag .pn-ticker-inner {
  min-height: 40px;
  grid-template-columns: auto minmax(0,1fr);
  gap: 14px;
}

.pn-header-colormag .pn-ticker strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.pn-header-colormag .pn-ticker strong span {
  display: none;
}

.pn-header-colormag .pn-ticker-viewport {
  min-width: 0;
}

.pn-header-colormag .pn-ticker-track {
  font-size: 13px;
  font-weight: 700;
  color: #29334d;
  gap: 32px;
}

.pn-header-colormag .pn-ticker-track a {
  padding: 0;
}

.pn-header-colormag .pn-ticker-track a:after {
  background: #b8c1d6;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
}

.pn-page-header h1 {
  font-size: clamp(24px,4vw,43px) !important;
  line-height: 1.06;
}

.pn-story-featured h3 {
  font-size: clamp(20px,2.4vw,34px);
}

.pn-story-body h3 {
  font-size: clamp(18px,1.6vw,24px);
}

.pn-archive-card h2 {
  font-size: 22px;
}

.pn-section-heading h2 {
  font-size: clamp(26px,3vw,40px);
}

@media (max-width:980px) {
  .pn-header-colormag .pn-brandbar-inner {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .pn-header-colormag .pn-leaderboard {
    grid-column: 1/-1;
  }

  .pn-header-colormag .pn-navbar {
    display: block;
  }

  .pn-header-colormag .pn-navbar-inner {
    min-height: 0;
    padding: 0;
  }

  .pn-header-colormag .pn-primary-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw,390px);
    background: #fff;
    z-index: 100;
    padding: 84px 18px 24px;
    overflow: auto;
    box-shadow: 0 18px 60px rgba(20,27,44,.18);
  }

  .pn-header-colormag .pn-primary-nav.is-open {
    display: block;
  }

  .pn-header-colormag .pn-primary-nav .pn-nav-list {
    display: block;
  }

  .pn-header-colormag .pn-primary-nav .pn-nav-list>li>a {
    color: #1b2440;
    padding: 14px 14px 14px 28px;
  }

  .pn-header-colormag .pn-primary-nav .pn-nav-list>li>a:hover,
  .pn-header-colormag .pn-primary-nav .pn-nav-list>.current-menu-item>a,
  .pn-header-colormag .pn-primary-nav .pn-nav-list>.current-menu-ancestor>a {
    background: #f5f7fb;
    color: #1b2440;
  }

  .pn-header-colormag .pn-primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding-left: 18px;
  }

  .pn-header-colormag .pn-ticker-track {
    gap: 24px;
  }

  .pn-header-colormag .pn-ticker strong {
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width:640px) {
  .pn-color-logo-text strong {
    font-size: 22px;
  }

  .pn-color-logo-text small,
  .pn-header-colormag .pn-brand-kicker {
    font-size: 10px;
  }

  .pn-header-colormag .pn-leaderboard {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .pn-header-colormag .pn-leader-button {
    width: 100%;
  }

  .pn-page-header h1 {
    font-size: clamp(22px,8vw,34px) !important;
  }
}

.pn-page-article {
  width: min(calc(100% - 40px),var(--pn-container)) !important;
  max-width: none;
}

.pn-page-header {
  max-width: none;
}

.pn-primary-nav {
  display: block;
}

.pn-latest-grid,
.pn-editor-grid,
.pn-archive-grid,
.pn-sidebar-column,
.pn-widget-stack,
.pn-article-layout,
.pn-content-layout,
.pn-article-layout>.pn-sidebar {
  gap: 15px !important;
}

.pn-story-featured {
  column-gap: 15px;
}

.post-navigation .nav-links {
  gap: 15px;
}

.pn-comments-area .comment-list {
  display: grid;
  gap: 15px;
}

.pn-comments-area .comment-body {
  margin: 0;
}

@media (max-width:980px) {
  .pn-latest-grid,
  .pn-editor-grid,
  .pn-archive-grid,
  .pn-sidebar-column,
  .pn-widget-stack,
  .pn-article-layout,
  .pn-content-layout,
  .pn-article-layout>.pn-sidebar {
    gap: 15px !important;
  }
}

.pn-content-section {
  padding-top: 38px;
}

.pn-story-body h3,
.pn-story-featured h3,
.pn-editor-card h3,
.pn-archive-card h2,
.pn-trending-list strong {
  font-weight: 500 !important;
  letter-spacing: -.015em;
}

.pn-story-body h3,
.pn-story-featured h3 {
  line-height: 1.22;
}

.pn-editor-card h3,
.pn-archive-card h2 {
  line-height: 1.25;
}

.pn-article-title,
.pn-page-header h1,
.pn-archive-main .pn-page-header h1,
.pn-not-found h1 {
  font-weight: 500 !important;
  letter-spacing: -.025em;
}

.pn-article-title {
  line-height: 1.14;
}

@media (max-width:980px) {
  .pn-article-title,
  .pn-page-header h1,
  .pn-archive-main .pn-page-header h1,
  .pn-not-found h1 {
    font-weight: 500 !important;
  }
}

.pn-header-colormag .pn-nav-list>li>a {
  font-weight: 400 !important;
  letter-spacing: 0;
}

.pn-header-colormag .pn-primary-nav .pn-nav-list>li>a {
  font-weight: 400 !important;
}

.pn-story-featured .pn-story-body {
  padding: 20px 28px !important;
}

.pn-story-featured .pn-story-body p {
  margin-bottom: 12px;
}

@media (max-width:720px) {
  .pn-story-featured .pn-story-body {
    padding: 18px 20px !important;
  }
}

.pn-story-featured {
  min-height: 290px !important;
}

.pn-story-featured>.pn-post-media {
  height: 290px !important;
}

.pn-site,
.pn-site * {
  font-weight: 400 !important;
}

.pn-site strong,
.pn-site b,
.pn-site th,
.pn-site button,
.pn-site input,
.pn-site select,
.pn-site textarea {
  font-weight: 400 !important;
}

@media (max-width:720px) {
  .pn-story-featured>.pn-post-media {
    height: 230px !important;
  }

  .pn-story-featured {
    min-height: 0 !important;
  }
}

.pn-editor-section {
  padding: 58px 0;
  background: var(--pn-page);
  color: var(--pn-ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--pn-border);
}

.pn-editor-section:before {
  display: none;
}

.pn-editor-section .pn-eyebrow {
  color: var(--pn-accent);
}

.pn-editor-section .pn-section-line {
  background: linear-gradient(90deg,var(--pn-border),transparent);
}

.pn-editor-grid {
  gap: 15px;
}

.pn-editor-card {
  min-height: 0;
  background: var(--pn-surface);
  border: 1px solid var(--pn-border);
  box-shadow: var(--pn-soft-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pn-editor-card .pn-post-media {
  height: 220px;
  flex: none;
}

.pn-editor-card:after {
  display: none;
}

.pn-editor-card-body {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px;
  color: var(--pn-ink);
  min-height: 150px;
}

.pn-editor-card h3 {
  font-size: 20px;
  line-height: 1.28;
  margin: 0;
  color: var(--pn-ink);
  font-weight: 400 !important;
}

.pn-editor-card-body>span {
  font-size: 12px;
  color: var(--pn-muted);
  font-weight: 400;
}

.pn-editor-card .pn-category-badge {
  margin: 0;
}

.pn-site-footer {
  background: #111827;
  color: #d9dfeb;
  padding: 58px 0 22px;
  border-top: 4px solid var(--pn-accent);
  position: relative;
  overflow: hidden;
}

.pn-footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3,minmax(0,1fr));
  gap: 28px;
  padding-bottom: 38px;
}

.pn-footer-brand {
  min-width: 0;
}

.pn-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
}

.pn-footer-logo .custom-logo-link {
  display: block;
}

.pn-footer-logo .custom-logo {
  max-height: 48px;
  width: auto;
}

.pn-footer-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pn-accent);
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}

.pn-footer-brand p {
  max-width: 330px;
  margin: 18px 0;
  color: #9da8bb;
  font-size: 14px;
  line-height: 1.75;
}

.pn-footer-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
}

.pn-footer-home-link .pn-icon {
  width: 16px;
  height: 16px;
}

.pn-footer-column h2,
.pn-site-footer .widget-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 400 !important;
}

.pn-footer-list,
.pn-footer-posts,
.pn-site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pn-footer-list li,
.pn-site-footer li {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.pn-footer-list a,
.pn-site-footer li>a {
  display: block;
  padding: 9px 0;
  color: #aab4c7;
  font-size: 13px;
}

.pn-footer-list a:hover,
.pn-site-footer a:hover {
  color: #fff;
}

.pn-footer-posts li {
  padding: 0 0 13px;
  margin: 0 0 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.pn-footer-posts a {
  display: block;
  color: #d8deea;
  font-size: 13px;
  line-height: 1.45;
}

.pn-footer-posts small {
  display: block;
  margin-top: 5px;
  color: #7f8ba0;
  font-size: 11px;
}

.pn-site-footer .widget {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.pn-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #7f8ba0;
  font-size: 12px;
}

.pn-footer-bottom p {
  margin: 0;
}

@media (max-width:1100px) {
  .pn-footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .pn-footer-top>section:last-child {
    grid-column: 2/4;
  }

  .pn-editor-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px) {
  .pn-editor-section {
    padding: 42px 0;
  }

  .pn-editor-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .pn-editor-card {
    min-width: 0;
  }

  .pn-editor-card .pn-post-media {
    height: 240px;
  }

  .pn-footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pn-footer-top>section:last-child {
    grid-column: auto;
  }

  .pn-footer-bottom p+p {
    margin-top: 8px;
  }
}

.pn-header-colormag .pn-color-logo-mark {
  background: var(--pn-accent) !important;
}

.pn-header-colormag .pn-leaderboard {
  border-color: var(--pn-accent) !important;
  background: #fff8fc !important;
  background: color-mix(in srgb,var(--pn-accent) 4%,#fff) !important;
}

.pn-header-colormag .pn-leader-copy strong {
  color: var(--pn-accent) !important;
}

.pn-header-colormag .pn-leader-button {
  background: var(--pn-accent) !important;
}

.pn-header-colormag .pn-navbar {
  background: var(--pn-accent) !important;
}

.pn-header-colormag .pn-ticker strong {
  background: var(--pn-accent) !important;
}

.pn-header-colormag .pn-leaderboard.has-banner-image {
  display: block;
  min-width: 0;
  border-style: solid !important;
  background: #fff !important;
}

.pn-leader-image-link {
  display: flex;
  width: 100%;
  min-height: 64px;
  max-height: 90px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pn-leader-image-link img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: contain;
  background: #fff;
}

.pn-brand-kicker,
.pn-color-logo-text small {
  max-width: 390px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.pn-story-body h3,
.pn-story-featured h3,
.pn-editor-card h3,
.pn-archive-card h2,
.pn-article-title,
.pn-article-content h2,
.pn-article-content h3,
.pn-side-title h2,
.widget-title,
.pn-footer-column h2,
.pn-site-footer .widget-title {
  font-weight: var(--pn-heading-weight) !important;
}

.pn-story-card,
.pn-editor-card,
.pn-widget,
.pn-trending-card,
.pn-archive-card,
.pn-article-card,
.pn-comments-section,
.pn-page-featured,
.comment-body,
.post-navigation a {
  border-radius: var(--pn-radius) !important;
}

.pn-story-card>.pn-post-media,
.pn-editor-card .pn-post-media,
.pn-archive-card>.pn-post-media,
.pn-page-featured img {
  border-radius: var(--pn-radius) !important;
}

@media (max-width:980px) {
  .pn-header-colormag .pn-brandbar-inner {
    grid-template-columns: auto minmax(0,1fr);
  }

  .pn-leader-image-link,
  .pn-leader-image-link img {
    height: auto;
    max-height: 90px;
  }
}

.pn-header-colormag .pn-leaderboard.has-banner-image {
  width: min(100%,728px) !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  justify-self: end;
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 10px !important;
}

.pn-header-colormag .pn-leader-image-link {
  display: block !important;
  width: 100% !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  overflow: hidden !important;
  background: #fff;
}

.pn-header-colormag .pn-leader-image-link img {
  display: block !important;
  width: 100% !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}

.pn-header-colormag .pn-leader-image-link.is-not-linked {
  cursor: default;
}

@media (max-width:980px) {
  .pn-header-colormag .pn-leaderboard.has-banner-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 728/90;
  }

  .pn-header-colormag .pn-leader-image-link,
  .pn-header-colormag .pn-leader-image-link img {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

.pn-sidebar,
.pn-widget-stack,
.pn-sidebar-column,
.pn-article-layout>.pn-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

.pn-sidebar>.widget,
.pn-widget-stack>.widget,
.pn-sidebar-column>.widget,
.pn-article-layout>.pn-sidebar>.widget {
  margin: 0 !important;
}

.pn-sidebar>.pn-widget,
.pn-widget-stack>.pn-widget,
.pn-sidebar-column>.pn-widget,
.pn-article-layout>.pn-sidebar>.pn-widget {
  margin-block: 0 !important;
}

@media (max-width:980px) {
  .pn-article-layout>.pn-sidebar {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 15px !important;
  }
}

@media (max-width:720px) {
  .pn-article-layout>.pn-sidebar {
    grid-template-columns: 1fr !important;
  }
}

.pn-no-widgets .pn-archive-layout {
  grid-template-columns: minmax(0,1fr);
}

.pn-sidebar-column,
.pn-sidebar,
.pn-article-layout>.pn-sidebar {
  align-self: start;
}

.pn-content-layout,
.pn-article-layout,
.pn-archive-layout {
  align-items: start;
}

/* PulseNova light utility bar and international layout support. */

.pn-utilitybar {
  background: #fbf9fd;
  color: #5f5770;
  border-bottom: 1px solid #ece8f1;
  font-size: 12px;
}

.pn-utilitybar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pn-utilitybar-left,
.pn-utilitybar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.pn-utility-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #312b3b;
}

.pn-utility-date .pn-icon {
  width: 15px;
  height: 15px;
  color: var(--pn-accent);
}

.pn-utility-menu {
  min-width: 0;
}

.pn-utility-menu-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.pn-utility-menu-list a {
  color: #5f5770;
  transition: color .2s ease;
}

.pn-utility-menu-list a:hover,
.pn-utility-menu-list a:focus-visible {
  color: var(--pn-accent);
}

.pn-utility-socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pn-utility-socials a {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4dee8;
  border-radius: 50%;
  background: #fff;
  color: #5b5367;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.pn-utility-socials a:hover,
.pn-utility-socials a:focus-visible {
  border-color: color-mix(in srgb,var(--pn-accent) 42%,#fff);
  background: color-mix(in srgb,var(--pn-accent) 6%,#fff);
  color: var(--pn-accent);
}

.pn-utility-socials .pn-icon {
  width: 13px;
  height: 13px;
}

@media (max-width:980px) {
  .pn-utilitybar-inner {
    min-height: 34px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pn-utilitybar-inner::-webkit-scrollbar {
    display: none;
  }

  .pn-utilitybar-left,
  .pn-utilitybar-right {
    gap: 14px;
    flex: none;
  }


  .pn-utility-menu-list {
    gap: 16px;
  }
}

@media (max-width:640px) {
  .pn-utilitybar-right {
    margin-inline-start: auto;
  }

  .pn-utility-menu {
    display: none;
  }
}

/* PulseNova utility bar exact-content update 1.0.18. */

.pn-utilitybar {
  background: #f7f5fa;
  color: #4e465d;
  border-bottom: 1px solid #e7e2eb;
}

.pn-utilitybar-inner {
  min-height: 38px;
}

.pn-utility-date {
  font-weight: 500;
}

.pn-utility-menu-list a {
  font-weight: 400;
}

/* Fix stretched category bar */

.pn-story-body .pn-category-badge,
.pn-editor-card-body .pn-category-badge,
.pn-archive-card-body .pn-category-badge,
.pn-page-header .pn-category-badge {
  align-self: flex-start !important;
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}

/* Keyboard-focus hardening. */

.pn-nav-list a:focus-visible,
.pn-button:focus-visible,
.pn-card-link:focus-visible,
.pn-footer a:focus-visible,
.entry-content a:focus-visible,
.pn-article-breadcrumb a:focus-visible,
.pn-article-category:focus-visible,
.pn-category-badge:focus-visible {
  outline: 2px solid var(--pn-secondary);
  outline-offset: 3px;
}

.pn-card-link:focus-visible {
  outline-offset: -4px;
  border-radius: inherit;
}

.pn-search-form:focus-within {
  border-color: var(--pn-secondary);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--pn-secondary) 18%,transparent);
}

/* Optional WordPress custom header image. */

.pn-custom-header-media {
  background: var(--pn-surface);
  border-bottom: 1px solid var(--pn-border);
}

.pn-custom-header-media .pn-container {
  padding-block: 13px;
}

.pn-custom-header-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

/* WordPress.org review hardening: readable titles, keyboard focus, and mobile modal navigation. */

.pn-article-column,
.pn-content-column,
.pn-archive-layout,
.pn-archive-grid,
.pn-story-card,
.pn-story-body,
.pn-editor-card,
.pn-editor-card-body,
/* Wide and full block alignment support. */

.entry-content > .alignwide,
.entry-content > .alignfull {
  clear: both;
}

.pn-article-content > .alignwide {
  width: calc(100% + 40px);
  max-width: calc(100% + 40px);
  margin-inline: -20px;
}

.pn-article-content > .alignfull {
  width: calc(100% + 76px);
  max-width: calc(100% + 76px);
  margin-inline: -38px;
}

.pn-page-article > .entry-content > .alignwide {
  width: min(1100px, calc(100vw - 40px));
  max-width: none;
  margin-inline: auto;
}

.pn-page-article > .entry-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

@media (max-width: 980px) {
  .pn-article-content > .alignwide,
  .pn-article-content > .alignfull {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    margin-inline: -20px;
  }

  .pn-page-article > .entry-content > .alignwide {
    width: 100%;
  }
}

.pn-archive-card,
.pn-archive-card-body,
.pn-page-header,
.pn-article-header,
.pn-brand,
.pn-color-logo-text,
.entry-content {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.pn-article-title,
.pn-page-header h1,
.pn-story-body h3,
.pn-editor-card h3,
.pn-archive-card h2,
.pn-trending-list strong,
.pn-color-logo-text strong,
.pn-footer-posts a,
.entry-content,
.entry-content a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.pn-icon-button:focus-visible,
.pn-menu-close:focus-visible,
.pn-menu-toggle:focus-visible {
  outline: 3px solid var(--pn-secondary);
  outline-offset: 3px;
  transform: none;
}

.pn-menu-close {
  display: none;
}

.pn-nav-backdrop[hidden] {
  display: none;
}

.pn-ticker-viewport:hover .pn-ticker-track.is-animated,
.pn-ticker-viewport:focus-within .pn-ticker-track.is-animated {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pn-ticker-track {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .pn-header-colormag .pn-primary-nav {
    padding-top: 76px;
  }

  .pn-menu-close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    display: inline-flex;
    z-index: 2;
  }

  .pn-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(17, 24, 39, 0.54);
  }

  .pn-header-colormag .pn-primary-nav {
    z-index: 100;
  }
}

.pn-header-colormag .pn-brandbar-inner.pn-brandbar-inner-no-banner {
  grid-template-columns: auto minmax(280px, 500px);
  justify-content: space-between;
}

.pn-home-page-header {
  margin-bottom: 24px;
}

/* Header widget area uses only standard WordPress widgets and blocks. */
.pn-header-widget-area .widget,
.pn-header-widget-area .wp-block-image,
.pn-header-widget-area figure {
  margin: 0;
}

.pn-header-widget-area .widget-title {
  margin: 0 0 8px;
  font-size: 14px;
}

.pn-header-widget-area img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Universal visible keyboard focus fallback for interactive elements. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--pn-secondary);
  outline-offset: 3px;
}


/* Static front-page content is compact and flows into the magazine feed. */
.pn-front-page-intro {
  padding-top: 42px;
  padding-bottom: 18px;
}

.pn-front-page-intro .pn-page-header {
  padding-bottom: 18px;
}

.pn-front-page-intro .entry-content:empty {
  display: none;
}

.pn-static-front-page .pn-content-section {
  padding-top: 0;
}

@media (max-width: 700px) {
  .pn-front-page-intro {
    padding-top: 28px;
    padding-bottom: 8px;
  }
}

/* Keep the white background exactly as wide as the theme and leave 12px between it and the theme content. */
body {
  margin: 0;
  background: #f7f5fa;
}

.pn-site {
  width: min(calc(100% - 10px), var(--pn-container));
  max-width: var(--pn-container);
  min-height: calc(100vh - 10px);
  margin: 5px auto;
  background: #ffffff;
  border: 0;
  box-shadow: none;
  position: relative;
  isolation: isolate;
}

/* Every public section stays inside the same theme-width background with 12px side spacing. */
.pn-site .pn-container,
.pn-site-header .pn-container,
.pn-site-footer .pn-container,
.pn-content-section > .pn-container,
.pn-editor-section .pn-container {
  width: calc(100% - 24px) !important;
  max-width: calc(var(--pn-container) - 24px) !important;
  margin-inline: auto;
  padding-inline: 0;
}

.pn-site .pn-page-article {
  width: calc(100% - 24px) !important;
  max-width: calc(var(--pn-container) - 24px) !important;
  margin-inline: auto;
  padding-inline: 0;
}

.pn-site .pn-main,
.pn-site .pn-content-section,
.pn-site .pn-editor-section,
.pn-site .pn-page-main,
.pn-site .pn-archive-main,
.pn-site .pn-article-page {
  width: 100%;
  max-width: 100%;
  background: #ffffff;
}

/* Full-width blocks stay inside the constrained theme canvas. */
.pn-site .pn-page-article > .entry-content > .alignfull {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

@media (max-width: 980px) {
  .pn-site .pn-container,
  .pn-site .pn-page-article {
    width: calc(100% - 24px) !important;
  }
}



/* Header: logo, managed advertisement, and compact search. */
.pn-header-colormag .pn-brandbar-inner.pn-brandbar-layout {
  min-height: 96px;
  grid-template-columns: minmax(180px, 240px) minmax(300px, 540px) minmax(260px, 330px);
  justify-content: space-between;
  gap: 18px;
  padding-block: 10px;
}

.pn-header-ad-slot {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pn-header-ad,
.pn-header-ad-placeholder,
.pn-header-ad-empty {
  width: min(100%, 540px);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pn-header-ad {
  overflow: hidden;
  background: #f7f8fb;
  border: 1px solid #e0e4ec;
}

.pn-header-ad a,
.pn-header-ad .widget,
.pn-header-ad .wp-block-image,
.pn-header-ad figure {
  display: block;
  width: 100%;
  margin: 0;
}

.pn-header-ad-image,
.pn-header-ad img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.pn-header-ad-placeholder {
  gap: 10px;
  padding: 8px 14px;
  border: 1px dashed #c8cfda;
  background: #fafbfc;
  color: #5f6b82;
  text-align: left;
}

.pn-header-ad-badge {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--pn-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pn-header-ad-placeholder-copy {
  display: grid;
  gap: 2px;
}

.pn-header-ad-placeholder strong {
  color: #303a51;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pn-header-ad-placeholder small {
  color: #6f788d;
  font-size: 11px;
}

.pn-header-search {
  width: 100%;
  max-width: 340px;
  justify-self: end;
}

.pn-header-search .pn-search-form-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 3px 3px 3px 12px;
  background: #fff;
  border: 1px solid #d8dde7;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(21, 22, 35, 0.06);
}

.pn-header-search .pn-search-form-header > label.screen-reader-text {
  position: absolute !important;
}

.pn-header-search .pn-search-form-header > .pn-icon {
  width: 17px;
  height: 17px;
  color: #9099ab;
}

.pn-header-search .pn-search-form-header input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #28324b;
  font-size: 13px;
}

.pn-header-search .pn-search-form-header input::placeholder {
  color: #8d95a8;
}

.pn-header-search-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 27px;
  padding: 0 7px;
  border: 1px solid #dde2eb;
  border-radius: 8px;
  background: #f5f7fb;
  color: #7a8399;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.pn-header-search .pn-search-form-header button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #141414;
  color: #fff;
  box-shadow: none;
}

.pn-header-search .pn-search-form-header button .pn-icon {
  width: 16px;
  height: 16px;
}

.pn-header-search .pn-search-form-header button:hover,
.pn-header-search .pn-search-form-header button:focus-visible {
  background: #000;
}

/* Light footer theme. */
.pn-site-footer {
  background: #fff;
  color: #445068;
  border-top: 2px solid var(--pn-accent);
}

.pn-footer-logo,
.pn-footer-home-link,
.pn-footer-column h2,
.pn-site-footer .widget-title {
  color: #172033;
}

.pn-footer-brand p,
.pn-footer-list a,
.pn-site-footer li > a,
.pn-footer-posts a {
  color: #5f6b82;
}

.pn-footer-posts small,
.pn-footer-bottom {
  color: #7a859a;
}

.pn-footer-list li,
.pn-site-footer li,
.pn-footer-posts li {
  border-color: #e6e9ef;
}

.pn-footer-list a:hover,
.pn-site-footer a:hover,
.pn-footer-home-link:hover {
  color: var(--pn-accent);
}

.pn-footer-bottom {
  border-top-color: #e6e9ef;
}

@media (max-width: 1100px) {
  .pn-header-colormag .pn-brandbar-inner.pn-brandbar-layout {
    grid-template-columns: minmax(180px, 230px) minmax(300px, 1fr);
  }

  .pn-header-search {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .pn-header-colormag .pn-brandbar-inner.pn-brandbar-layout {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pn-header-colormag .pn-brandbar-inner.pn-brandbar-layout .pn-menu-toggle {
    display: inline-flex;
  }

  .pn-header-ad-slot,
  .pn-header-search {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .pn-header-ad,
  .pn-header-ad-placeholder,
  .pn-header-ad-empty {
    width: 100%;
  }

  .pn-header-search .pn-search-form-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .pn-header-search-shortcut {
    display: none;
  }
}

@media (max-width: 640px) {
  .pn-header-ad,
  .pn-header-ad-placeholder,
  .pn-header-ad-empty,
  .pn-header-ad-image,
  .pn-header-ad img {
    min-height: 54px;
    height: 54px;
  }
}


/* Homepage title block intentionally removed; retain only compact spacing above cards. */
.pn-home-main #latest.pn-content-section {
  padding-top: 18px;
}


/* Utility bar: exact 30px height and WordPress page-menu fallback. */
.pn-utilitybar {
  font-size: 11px;
}

.pn-utilitybar-inner {
  min-height: 30px;
  height: 30px;
}

@media (max-width: 980px) {
  .pn-utilitybar-inner {
    min-height: 30px;
    height: 30px;
  }
}

.pn-utilitybar-left,
.pn-utilitybar-right {
  gap: 15px;
}

.pn-utility-menu-list {
  gap: 16px;
}

.pn-utility-menu-list a {
  font-size: 11px;
  line-height: 30px;
}

.pn-utility-date {
  gap: 6px;
  font-size: 11px;
  line-height: 30px;
}

.pn-utility-date .pn-icon {
  width: 13px;
  height: 13px;
}

.pn-utility-socials {
  gap: 5px;
}

.pn-utility-socials a {
  width: 22px;
  height: 22px;
  min-width: 22px;
}

.pn-utility-socials .pn-icon {
  width: 11px;
  height: 11px;
}

.pn-footer-powered a {
  color: inherit;
}

.pn-footer-powered a:hover,
.pn-footer-powered a:focus-visible {
  color: var(--pn-accent);
}


/* Standard footer credit: site copyright only; no mandatory platform link. */
.pn-footer-bottom {
  justify-content: flex-start;
}

.pn-footer-powered {
  display: none;
}


/* Utility navigation alignment fix: keep fallback and assigned menus horizontal. */
.pn-utilitybar {
  height: 30px;
  overflow: hidden;
}

.pn-utilitybar .pn-utilitybar-inner {
  height: 30px;
  min-height: 30px;
  flex-wrap: nowrap;
}

.pn-utilitybar .pn-utilitybar-left {
  height: 30px;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow: hidden;
}

.pn-utilitybar .pn-utility-menu {
  min-width: 0;
  height: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.pn-utilitybar .pn-utility-menu::-webkit-scrollbar {
  display: none;
}

.pn-utilitybar .pn-utility-menu-list,
.pn-utilitybar .pn-utility-menu > ul {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  height: 30px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  white-space: nowrap;
}

.pn-utilitybar .pn-utility-menu-list > li,
.pn-utilitybar .pn-utility-menu > ul > li {
  display: block !important;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.pn-utilitybar .pn-utility-menu-list > li::marker,
.pn-utilitybar .pn-utility-menu > ul > li::marker {
  content: "";
}

.pn-utilitybar .pn-utility-menu-list a,
.pn-utilitybar .pn-utility-menu > ul a {
  display: inline-flex !important;
  align-items: center;
  height: 30px;
  padding: 0 !important;
  line-height: 30px !important;
}

.pn-utilitybar .pn-utilitybar-right {
  height: 30px;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .pn-utilitybar .pn-utility-menu {
    display: block;
  }

  .pn-utilitybar .pn-utility-socials {
    display: none;
  }
}


/* Standard right sidebar on posts, pages, archives, search results and blog indexes. */
.pn-page-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 28px;
  align-items: start;
  padding-top: 42px;
  padding-bottom: 80px;
}

.pn-page-content-column {
  min-width: 0;
}

.pn-page-layout .pn-page-article {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}

.pn-default-sidebar-search .pn-search-form {
  background: var(--pn-page);
}

.pn-default-recent-list,
.pn-default-category-list {
  list-style: none;
  margin: 0;
  padding: 0 !important;
}

.pn-default-recent-list li,
.pn-default-category-list li {
  margin: 0 !important;
  border-top: 1px solid var(--pn-border);
}

.pn-default-recent-list li:first-child,
.pn-default-category-list li:first-child {
  border-top: 0;
}

.pn-default-recent-list a {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 0;
}

.pn-default-recent-list .no-post-thumbnail a {
  grid-template-columns: minmax(0,1fr);
}

.pn-default-recent-thumb {
  width: 58px;
  height: 58px;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--pn-page);
}

.pn-default-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pn-default-recent-copy {
  min-width: 0;
}

.pn-default-recent-copy strong {
  display: block;
  color: var(--pn-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.pn-default-recent-copy time {
  display: block;
  margin-top: 5px;
  color: var(--pn-muted);
  font-size: 11px;
}

.pn-default-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: var(--pn-ink);
  font-size: 14px;
}

.pn-default-category-list a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pn-default-category-list small {
  min-width: 28px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--pn-page);
  color: var(--pn-muted);
  text-align: center;
  font-size: 11px;
}

@media (max-width:980px) {
  .pn-page-layout {
    grid-template-columns: 1fr;
  }

  .pn-page-layout > .pn-sidebar,
  .pn-archive-layout > .pn-sidebar,
  .pn-article-layout > .pn-sidebar {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:720px) {
  .pn-page-layout {
    padding-top: 28px;
    padding-bottom: 55px;
  }

  .pn-page-layout > .pn-sidebar,
  .pn-archive-layout > .pn-sidebar,
  .pn-article-layout > .pn-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* Prevent transitional paint while the desktop menu is fitted into one row. */
.pn-nav-list.pn-nav-is-fitting,
.pn-nav-list.pn-nav-is-fitting * {
  transition: none !important;
}
