:root {
  --psdnt-paper: #f5f0e5;
  --psdnt-paper-deep: #e8dfcf;
  --psdnt-ink: #111111;
  --psdnt-muted: #5c574d;
  --psdnt-line: rgba(20, 20, 20, 0.18);
  --psdnt-accent: #d95400;
  --psdnt-blue: #004aad;
  --psdnt-card: rgba(255, 252, 244, 0.68);
  --psdnt-shadow: 0 18px 50px rgba(15, 12, 8, 0.14);
  --psdnt-radius: 10px;
  --psdnt-serif: Georgia, 'Times New Roman', Times, serif;
  --psdnt-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --psdnt-container: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--psdnt-ink);
  font-family: var(--psdnt-serif);
  font-size: 18px;
  line-height: 1.65;
  background-color: var(--psdnt-paper);
  background-image:
    radial-gradient(circle at 18% 26%, rgba(0, 0, 0, 0.04) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.62), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(0, 0, 0, 0.025)),
    repeating-linear-gradient(88deg, rgba(0,0,0,0.018) 0 1px, transparent 1px 46px);
  background-size: 18px 18px, auto, auto, auto;
}

body.admin-bar .psdnt-nav-shell {
  top: 32px;
}

a {
  color: var(--psdnt-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus {
  color: var(--psdnt-blue);
}

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

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

.psdnt-container {
  width: min(var(--psdnt-container), calc(100% - 56px));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  clip: auto !important;
  display: block;
  height: auto;
  width: auto;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  z-index: 10000;
}

/* Header */
.psdnt-site-header {
  border-bottom: 1px solid var(--psdnt-line);
}

.psdnt-portal-bar {
  background: var(--psdnt-accent);
  color: #fff;
  font-family: var(--psdnt-serif);
}

.psdnt-portal-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.psdnt-portal-title,
.psdnt-portal-story {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.psdnt-portal-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.psdnt-portal-story {
  font-size: 1rem;
  white-space: nowrap;
}

.psdnt-portal-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--psdnt-blue);
  color: #fff;
  font-family: var(--psdnt-sans);
  font-size: 0.9rem;
}

.psdnt-portal-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.psdnt-date-stamp {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  white-space: nowrap;
}

.psdnt-date-stamp strong {
  font-size: 1.6rem;
  line-height: 1;
}

.psdnt-date-stamp span {
  font-size: 0.98rem;
}

.psdnt-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.psdnt-social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #050505;
  color: #fff;
  text-decoration: none;
  font-family: var(--psdnt-sans);
  font-weight: 800;
  font-size: 0.85rem;
}

.psdnt-masthead {
  min-height: 230px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 14% 52%, rgba(255,255,255,0.45), transparent 22%),
    radial-gradient(circle at 76% 35%, rgba(0,0,0,0.06), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.48), rgba(0,0,0,0.02));
}

.psdnt-masthead-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
}

.psdnt-logo-wrap {
  flex: 0 0 auto;
}

.psdnt-logo-wrap img {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
}

.psdnt-fallback-logo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.38);
  text-decoration: none;
  font-family: var(--psdnt-serif);
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--psdnt-accent);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.34);
}

.psdnt-site-title {
  margin: 0;
  font-family: var(--psdnt-serif);
  font-size: clamp(3.2rem, 6.8vw, 6.25rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 900;
}

.psdnt-site-title a {
  text-decoration: none;
}

p.psdnt-site-title {
  font-size: clamp(2.6rem, 5.8vw, 5.6rem);
}

.psdnt-site-subtitle {
  margin: 18px 0 0;
  max-width: 760px;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
  line-height: 1.35;
  color: #2f2a25;
}

.psdnt-nav-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 240, 229, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--psdnt-line);
  border-bottom: 1px solid var(--psdnt-line);
}

.psdnt-nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.psdnt-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--psdnt-line);
  border-radius: 10px;
  background: rgba(255,255,255,0.36);
  padding: 8px;
}

.psdnt-menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  background: var(--psdnt-ink);
  margin: 5px 0;
}

.psdnt-primary-nav {
  flex: 1;
}

.psdnt-primary-menu,
.psdnt-primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.psdnt-primary-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.psdnt-primary-menu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  font-size: 1rem;
  color: var(--psdnt-ink);
}

.psdnt-primary-menu a:hover {
  color: var(--psdnt-blue);
}

.psdnt-primary-menu .menu-item-has-children {
  position: relative;
}

.psdnt-primary-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  padding: 10px 14px;
  background: var(--psdnt-paper);
  border: 1px solid var(--psdnt-line);
  border-radius: 10px;
  box-shadow: var(--psdnt-shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 160ms ease;
}

.psdnt-primary-menu .menu-item-has-children:hover > .sub-menu,
.psdnt-primary-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.psdnt-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.psdnt-search-toggle {
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.psdnt-search-toggle:hover {
  background: rgba(0,0,0,0.07);
}

.psdnt-subscribe,
.psdnt-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: var(--psdnt-sans);
  font-size: 0.95rem;
  font-weight: 700;
}

.psdnt-button {
  color: #fff;
  background: var(--psdnt-blue);
  border-color: var(--psdnt-blue);
}

.psdnt-header-search {
  border-top: 1px solid var(--psdnt-line);
  padding: 16px 0;
  background: rgba(245, 240, 229, 0.98);
}

/* Search */
.psdnt-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
}

.psdnt-search-form label {
  flex: 1;
}

.psdnt-search-form input[type='search'] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0,0,0,0.13);
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
}

.psdnt-search-form button,
.search-submit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--psdnt-blue);
  color: #fff;
  font-family: var(--psdnt-sans);
  font-weight: 800;
  cursor: pointer;
}

/* Front page */
.psdnt-main {
  padding-bottom: 70px;
}

.psdnt-front-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr);
  gap: 24px;
  padding-top: 34px;
}

.psdnt-secondary-slots {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.psdnt-secondary-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.psdnt-card {
  position: relative;
}

.psdnt-card-image {
  position: relative;
  display: block;
  min-height: 290px;
  border-radius: var(--psdnt-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  box-shadow: var(--psdnt-shadow);
  isolation: isolate;
}

.psdnt-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,0.62) 100%),
    radial-gradient(circle, rgba(255,255,255,0.0), rgba(0,0,0,0.08));
  z-index: 0;
}

.psdnt-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.35) 0 1px, transparent 1.5px);
  background-size: 4px 4px;
  opacity: 0.22;
  mix-blend-mode: screen;
  z-index: 1;
}

.psdnt-card-label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 5px;
  background: #1687e5;
  color: #fff;
  font-family: var(--psdnt-serif);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.psdnt-card-body {
  position: relative;
}

.psdnt-card-title {
  margin: 18px 0 10px;
  font-family: var(--psdnt-serif);
  font-weight: 900;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
}

.psdnt-card-title a {
  color: var(--psdnt-ink);
}

.psdnt-card-title a:hover {
  color: var(--psdnt-blue);
}

.psdnt-card-excerpt {
  margin: 0;
  color: #2f2a25;
  max-width: 62ch;
}

.psdnt-card-arrow {
  position: absolute;
  right: 0;
  top: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 74, 173, 0.25);
  background: rgba(255,255,255,0.26);
  text-decoration: none;
  font-family: var(--psdnt-sans);
  font-weight: 900;
}

.psdnt-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  color: var(--psdnt-muted);
  font-family: var(--psdnt-sans);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.psdnt-card-lead .psdnt-card-image {
  min-height: clamp(430px, 46vw, 610px);
}

.psdnt-card-lead .psdnt-card-body,
.psdnt-card-hero-small .psdnt-card-body,
.psdnt-card-hero-wide .psdnt-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 28px;
  background: linear-gradient(90deg, rgba(120, 18, 0, 0.92), rgba(0,0,0,0.48));
  backdrop-filter: blur(8px);
  border-bottom-left-radius: var(--psdnt-radius);
  border-bottom-right-radius: var(--psdnt-radius);
}

.psdnt-card-hero-small .psdnt-card-body,
.psdnt-card-hero-wide .psdnt-card-body {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0,0,0,0.45));
  padding: 18px 20px;
}

.psdnt-card-lead .psdnt-card-title,
.psdnt-card-hero-small .psdnt-card-title,
.psdnt-card-hero-wide .psdnt-card-title {
  margin: 0;
}

.psdnt-card-lead .psdnt-card-title a,
.psdnt-card-hero-small .psdnt-card-title a,
.psdnt-card-hero-wide .psdnt-card-title a {
  color: #fff;
}

.psdnt-card-lead .psdnt-card-title {
  font-size: clamp(2rem, 3.7vw, 3.65rem);
}

.psdnt-card-hero-small .psdnt-card-image,
.psdnt-card-hero-wide .psdnt-card-image {
  min-height: 235px;
}

.psdnt-card-hero-wide .psdnt-card-image {
  min-height: 260px;
}

.psdnt-card-hero-small .psdnt-card-title,
.psdnt-card-hero-wide .psdnt-card-title {
  padding-right: 42px;
  font-size: clamp(1.2rem, 1.7vw, 1.9rem);
}

.psdnt-card-lead .psdnt-card-arrow,
.psdnt-card-hero-small .psdnt-card-arrow,
.psdnt-card-hero-wide .psdnt-card-arrow {
  display: none;
}

.psdnt-timeline-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 24px 26px;
  border-top: 3px double rgba(0,0,0,0.26);
  border-bottom: 3px double rgba(0,0,0,0.26);
  background: rgba(255, 255, 255, 0.23);
}

.psdnt-timeline-copy span,
.psdnt-kicker,
.psdnt-section-heading p {
  display: block;
  margin: 0 0 5px;
  font-family: var(--psdnt-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--psdnt-accent);
}

.psdnt-timeline-copy h2,
.psdnt-section-heading h2 {
  margin: 0;
  font-family: var(--psdnt-serif);
  line-height: 1.05;
}

.psdnt-timeline-copy h2 {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
}

.psdnt-content-sidebar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  margin-top: 52px;
}

.psdnt-content-sidebar-wrap.no-sidebar {
  grid-template-columns: 1fr;
}

.psdnt-section-heading {
  margin-bottom: 22px;
}

.psdnt-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.psdnt-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 34px;
}

.psdnt-post-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psdnt-card-standard .psdnt-card-image {
  min-height: clamp(250px, 27vw, 390px);
}

.psdnt-card-standard .psdnt-card-title {
  padding-right: 52px;
}

/* Sidebar/widgets */
.psdnt-sidebar {
  align-self: start;
  position: sticky;
  top: 98px;
}

.psdnt-widget {
  padding: 0 0 30px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--psdnt-line);
}

.psdnt-widget-title {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--psdnt-blue);
  color: #fff;
  font-family: var(--psdnt-serif);
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.psdnt-widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.psdnt-widget-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  font-size: 0.98rem;
  line-height: 1.45;
}

.psdnt-widget-list li::before {
  content: '▦';
  margin-right: 8px;
  color: #333;
}

.psdnt-comment-list li::before {
  content: '';
  margin: 0;
}

.psdnt-comment-icon {
  display: inline-block;
  margin-right: 7px;
  transform: translateY(-1px);
}

/* Archive and singular */
.psdnt-archive-header,
.psdnt-single-header {
  padding-top: 52px;
  padding-bottom: 24px;
}

.psdnt-archive-header h1,
.psdnt-single-header h1 {
  margin: 0;
  font-family: var(--psdnt-serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.psdnt-archive-description {
  max-width: 760px;
  color: var(--psdnt-muted);
}

.psdnt-single-article {
  max-width: 980px;
}

.psdnt-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--psdnt-muted);
  font-family: var(--psdnt-sans);
  font-size: 0.93rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.psdnt-single-featured-image {
  margin: 10px 0 34px;
  border-radius: var(--psdnt-radius);
  overflow: hidden;
  box-shadow: var(--psdnt-shadow);
}

.psdnt-single-featured-image img {
  display: block;
  width: 100%;
}

.psdnt-entry-content {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.psdnt-entry-content > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.psdnt-entry-content > .alignwide {
  max-width: 1100px;
}

.psdnt-entry-content > .alignfull {
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.psdnt-entry-content h2,
.psdnt-entry-content h3,
.psdnt-entry-content h4 {
  font-family: var(--psdnt-serif);
  line-height: 1.12;
  text-transform: uppercase;
}

.psdnt-entry-content h2 {
  margin-top: 1.6em;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.psdnt-entry-content p,
.psdnt-entry-content ul,
.psdnt-entry-content ol {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.psdnt-timeline-context-box {
  margin: 48px auto 20px;
  max-width: 820px;
  padding: 28px;
  border: 2px solid rgba(0,0,0,0.16);
  border-radius: var(--psdnt-radius);
  background: rgba(255,255,255,0.32);
}

.psdnt-timeline-context-box h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.psdnt-tags {
  max-width: 820px;
  margin: 24px auto;
  font-family: var(--psdnt-sans);
  font-size: 0.93rem;
}

.psdnt-related-section,
.psdnt-comments-wrap {
  margin-top: 56px;
}

.nav-links,
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
  font-family: var(--psdnt-sans);
}

.nav-links a,
.nav-links span,
.page-links a,
.page-links span {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--psdnt-line);
  background: rgba(255,255,255,0.32);
  text-decoration: none;
}

.nav-links .current,
.page-links .current {
  background: var(--psdnt-blue);
  color: #fff;
}

/* Comments */
.comments-area {
  max-width: 820px;
  margin-inline: auto;
}

.comment-list {
  padding-left: 1.2rem;
}

.comment-body {
  margin-bottom: 24px;
  padding: 18px;
  background: rgba(255,255,255,0.32);
  border: 1px solid var(--psdnt-line);
  border-radius: var(--psdnt-radius);
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--psdnt-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.comment-form input[type='submit'] {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--psdnt-blue);
  color: #fff;
  font-family: var(--psdnt-sans);
  font-weight: 800;
}

/* Footer */
.psdnt-site-footer {
  border-top: 3px double rgba(0,0,0,0.22);
  padding: 36px 0;
  background: rgba(0,0,0,0.035);
}

.psdnt-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.psdnt-footer-inner p {
  margin: 4px 0 0;
  color: var(--psdnt-muted);
}

.psdnt-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: var(--psdnt-sans);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1180px) {
  .psdnt-front-hero {
    grid-template-columns: 1fr;
  }

  .psdnt-card-lead .psdnt-card-image {
    min-height: 460px;
  }

  .psdnt-content-sidebar-wrap {
    grid-template-columns: 1fr;
  }

  .psdnt-sidebar {
    position: static;
  }

  .psdnt-post-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.admin-bar .psdnt-nav-shell {
    top: 46px;
  }

  .psdnt-container {
    width: min(100% - 32px, var(--psdnt-container));
  }

  .psdnt-portal-inner {
    min-height: auto;
    padding-block: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .psdnt-portal-right {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .psdnt-masthead {
    min-height: 190px;
  }

  .psdnt-masthead-inner {
    align-items: flex-start;
  }

  .psdnt-logo-wrap img,
  .psdnt-fallback-logo {
    width: 74px;
    height: 74px;
    max-width: 74px;
    max-height: 74px;
    font-size: 2.4rem;
  }

  .psdnt-site-title {
    letter-spacing: 0.045em;
  }

  .psdnt-menu-toggle {
    display: inline-block;
  }

  .psdnt-nav-inner {
    justify-content: space-between;
  }

  .psdnt-primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 10px 16px 18px;
    background: rgba(245, 240, 229, 0.98);
    border-bottom: 1px solid var(--psdnt-line);
  }

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

  .psdnt-primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .psdnt-primary-menu a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .psdnt-primary-menu .sub-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    background: transparent;
  }

  .psdnt-secondary-top,
  .psdnt-post-grid,
  .psdnt-post-grid-three {
    grid-template-columns: 1fr;
  }

  .psdnt-timeline-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .psdnt-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .psdnt-portal-story {
    white-space: normal;
  }

  .psdnt-social-links a {
    width: 30px;
    height: 30px;
  }

  .psdnt-masthead-inner {
    gap: 14px;
  }

  .psdnt-site-title {
    font-size: 2.6rem;
  }

  .psdnt-site-subtitle {
    font-size: 1.02rem;
  }

  .psdnt-card-lead .psdnt-card-image,
  .psdnt-card-standard .psdnt-card-image,
  .psdnt-card-hero-small .psdnt-card-image,
  .psdnt-card-hero-wide .psdnt-card-image {
    min-height: 270px;
  }

  .psdnt-card-lead .psdnt-card-body,
  .psdnt-card-hero-small .psdnt-card-body,
  .psdnt-card-hero-wide .psdnt-card-body {
    padding: 18px;
  }

  .psdnt-card-lead .psdnt-card-title {
    font-size: 2rem;
  }

  .psdnt-card-title {
    font-size: 1.35rem;
  }

  .psdnt-front-hero {
    padding-top: 22px;
  }

  .psdnt-single-meta {
    flex-direction: column;
    gap: 5px;
  }
}

/* v1.1 Custom Engineering inspired header layout */
.psdnt-ce-header {
  border-bottom: 0;
  background: #fff;
}

.psdnt-utility-bar {
  min-height: 34px;
  background: var(--psdnt-header-bar, #101010);
  color: #fff;
  font-family: var(--psdnt-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.psdnt-utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.psdnt-utility-left,
.psdnt-utility-note,
.psdnt-header-cta {
  color: #fff;
  text-decoration: none;
}

.psdnt-utility-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.psdnt-utility-bolt {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--psdnt-blue);
  color: #fff;
  line-height: 1;
}

.psdnt-utility-note {
  font-family: var(--psdnt-serif);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.psdnt-utility-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.psdnt-utility-menu,
.psdnt-utility-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.psdnt-utility-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.psdnt-utility-menu li {
  display: inline-flex;
  align-items: center;
}

.psdnt-utility-menu li + li::before {
  content: '|';
  margin: 0 8px;
  opacity: 0.42;
}

.psdnt-utility-menu a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
}

.psdnt-utility-menu a:hover,
.psdnt-utility-left:hover,
.psdnt-utility-note:hover {
  color: #fff;
}

.psdnt-utility-date {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  white-space: nowrap;
  font-family: var(--psdnt-serif);
  text-transform: none;
  letter-spacing: 0;
}

.psdnt-utility-date strong {
  font-size: 1.1rem;
  line-height: 1;
}

.psdnt-header-cta {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  margin-right: calc((var(--psdnt-container) - var(--psdnt-container)) / 2);
  background: var(--psdnt-blue);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.psdnt-main-nav-bar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--psdnt-line);
  backdrop-filter: blur(12px);
}

body.admin-bar .psdnt-main-nav-bar {
  top: 32px;
}

.psdnt-main-nav-inner {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.psdnt-brand-block {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 260px;
}

.psdnt-brand-logo img,
.psdnt-brand-logo .custom-logo {
  display: block;
  max-width: 68px;
  max-height: 56px;
  object-fit: contain;
}

.psdnt-fallback-logo-small {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  box-shadow: none;
}

.psdnt-brand-text {
  display: grid;
  gap: 2px;
  text-decoration: none;
  color: var(--psdnt-ink);
  line-height: 1;
}

.psdnt-brand-text strong {
  font-family: var(--psdnt-serif);
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.psdnt-brand-text span {
  max-width: 450px;
  color: var(--psdnt-muted);
  font-family: var(--psdnt-serif);
  font-variant: small-caps;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.psdnt-header-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 80px;
  min-width: 0;
}

.psdnt-left-navigation,
.psdnt-right-navigation {
  min-width: 0;
}

.psdnt-left-menu,
.psdnt-right-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.psdnt-right-menu {
  justify-content: flex-end;
}

.psdnt-left-menu a,
.psdnt-right-menu a {
  display: block;
  padding: 6px 0;
  color: var(--psdnt-ink);
  font-family: var(--psdnt-sans);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.psdnt-left-menu a:hover,
.psdnt-right-menu a:hover {
  color: var(--psdnt-blue);
}

.psdnt-center-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 3px solid var(--psdnt-ink);
  background: var(--psdnt-blue);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 0 5px #fff, 0 6px 18px rgba(0,0,0,0.18);
}

.psdnt-center-mark span {
  transform: rotate(-45deg);
  font-family: var(--psdnt-serif);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.psdnt-inline-search {
  width: 190px;
}

.psdnt-inline-search .psdnt-search-form {
  max-width: none;
  gap: 0;
}

.psdnt-inline-search .psdnt-search-form input[type='search'] {
  min-height: 42px;
  border-radius: 4px;
  font-family: var(--psdnt-sans);
  font-size: 0.82rem;
}

.psdnt-inline-search .psdnt-search-form button,
.psdnt-inline-search .search-submit {
  display: none;
}

.psdnt-section-bar {
  min-height: 42px;
  background: var(--psdnt-section-bar, var(--psdnt-blue));
  color: #fff;
  font-family: var(--psdnt-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.psdnt-section-bar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.psdnt-section-bar a {
  color: #fff;
  text-decoration: none;
}

.psdnt-section-bar .psdnt-social-links a {
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.32);
  font-size: 0.7rem;
}

.psdnt-front-hero {
  padding-top: 30px;
}

.psdnt-games-section {
  margin-top: 34px;
  padding: 28px 0 4px;
  border-bottom: 1px solid var(--psdnt-line);
}

.psdnt-games-heading {
  margin-bottom: 18px;
}

.psdnt-games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.psdnt-game-card {
  display: grid;
  gap: 8px;
  min-height: 145px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--psdnt-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.76), rgba(255,255,255,0.38)),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.028) 0 1px, transparent 1px 16px);
  color: var(--psdnt-ink);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.psdnt-game-card:hover {
  border-color: rgba(0,74,173,0.36);
  transform: translateY(-1px);
}

.psdnt-game-card-kicker {
  color: var(--psdnt-accent);
  font-family: var(--psdnt-sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.psdnt-game-card strong {
  font-family: var(--psdnt-serif);
  font-size: 1.55rem;
  line-height: 1.03;
  text-transform: uppercase;
}

.psdnt-game-card span:last-child {
  color: var(--psdnt-muted);
  font-size: 0.98rem;
  line-height: 1.35;
}

@media (max-width: 1300px) {
  .psdnt-main-nav-inner {
    grid-template-columns: 1fr auto;
  }

  .psdnt-brand-block {
    min-width: 0;
  }

  .psdnt-header-navigation {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--psdnt-line);
    box-shadow: var(--psdnt-shadow);
  }

  .psdnt-header-navigation.is-open {
    display: grid;
  }

  .psdnt-menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .psdnt-inline-search {
    display: none;
  }

  .psdnt-left-menu,
  .psdnt-right-menu {
    justify-content: flex-start;
    gap: 8px 22px;
  }
}

@media (max-width: 960px) {
  .psdnt-utility-inner {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .psdnt-utility-right {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .psdnt-utility-menu {
    flex-wrap: wrap;
  }

  .psdnt-center-mark {
    display: none;
  }

  .psdnt-brand-text strong {
    font-size: 1.35rem;
  }

  .psdnt-brand-text span {
    max-width: 260px;
  }

  .psdnt-games-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .psdnt-main-nav-inner {
    min-height: 68px;
  }

  .psdnt-brand-logo img,
  .psdnt-brand-logo .custom-logo {
    max-width: 46px;
    max-height: 46px;
  }

  .psdnt-brand-text span {
    display: none;
  }

  .psdnt-brand-text strong {
    white-space: normal;
    letter-spacing: 0.04em;
  }

  .psdnt-section-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .psdnt-section-bar .psdnt-social-links {
    display: none;
  }
}
