/* WSN Editorial — Full-Width Mockup Hal. 1 Layout + Color System Hal. 2 */

:root {
  --ivory: #F8F5EF;
  --burgundy: #702D3D;
  --burgundy-hover: #57212E;
  --charcoal: #292927;
  --muted: #595954;
  --sage: #819486;
  --taupe: #A88F7D;
  --surface-soft: #F2ECE1;
  --border: #E5DFD5;
  --white: #FFFFFF;

  /* Space card tints harmonized with Hal. 2 Color System */
  --tint-mind: #F4E3E4;
  --tint-work: #F3E6D9;
  --tint-future: #E2EADF;
  --tint-journal: #F6E7E3;

  --radius: 16px;
  --shadow: 0 8px 28px rgba(41, 41, 39, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--charcoal);
  overflow-x: hidden;
}

.wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}

.wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

a:focus-visible, button:focus-visible, input:focus-visible, [role="tab"]:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

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

.wsn-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.wsn-section { padding: 40px 0; }

.wsn-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Buttons */
.wsn-btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 24px; border-radius: 999px;
  font-size: 0.94rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.wsn-btn--primary { background: var(--burgundy); color: var(--white); border: 1px solid var(--burgundy); }
.wsn-btn--primary:hover { background: var(--burgundy-hover); border-color: var(--burgundy-hover); color: var(--white); }
.wsn-btn--secondary { background: rgba(255, 255, 255, 0.72); color: var(--charcoal); border: 1px solid var(--taupe); }
.wsn-btn--secondary:hover { background: var(--white); border-color: var(--burgundy); color: var(--burgundy); }

/* Header — Full Width */
.wsn-header {
  width: 100%;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}
.wsn-header__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wsn-logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--charcoal); flex-shrink: 0; }
.wsn-logo__script { font-family: "Mrs Saint Delafield", cursive; font-size: 2.05rem; line-height: .82; color: var(--charcoal); display: block; text-align: center; }
.wsn-logo__leaf { width: 22px; height: 22px; color: var(--taupe); }
.wsn-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wsn-nav a { color: var(--charcoal); text-decoration: none; font-size: .92rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.wsn-nav a:hover { color: var(--burgundy); }
.wsn-header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.wsn-header__search { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--charcoal); }
.wsn-header__search:hover { color: var(--burgundy); }

/* Hero — ONLY full-bleed band (edge-to-edge), text aligned to 1200px container */
.wsn-hero-band {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #F6F0E8 0%, #EFE8DD 52%, #EAE1D5 100%);
}
.wsn-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 480px;
}
.wsn-hero__copy {
  padding: 64px 32px 64px max(40px, calc((100vw - 1200px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.wsn-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 14px;
}
.wsn-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.125rem, 1.7rem + 2.2vw, 3.35rem);
  line-height: 1.16;
  margin: 0 0 18px;
  color: var(--charcoal);
  font-weight: 600;
}
.wsn-hero__desc {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 46ch;
}
.wsn-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wsn-hero__media {
  position: relative;
  min-height: 360px;
  margin: 0;
}
.wsn-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.65) 22%, #000 42%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.65) 22%, #000 42%);
}

/* Four Spaces — Refined Cards Matching Mockup */
.wsn-spaces-section {
  padding: 36px 0 28px;
}
.wsn-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wsn-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.wsn-space-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 184px;
  padding: 26px 24px 60px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--charcoal);
  border: 1px solid rgba(168, 143, 125, 0.22);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wsn-space-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--burgundy);
  color: var(--charcoal);
}
.wsn-space-card--mind { background: var(--tint-mind); }
.wsn-space-card--work { background: var(--tint-work); }
.wsn-space-card--future { background: var(--tint-future); }
.wsn-space-card--journal { background: var(--tint-journal); }

.wsn-space-card__icon {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wsn-space-card--mind .wsn-space-card__icon { color: var(--burgundy); }
.wsn-space-card--work .wsn-space-card__icon { color: #755C4B; }
.wsn-space-card--future .wsn-space-card__icon { color: #4E6454; }
.wsn-space-card--journal .wsn-space-card__icon { color: var(--burgundy); }

.wsn-space-card__icon .wsn-icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}
.wsn-space-card__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wsn-space-card__title {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--charcoal);
}
.wsn-space-card__sub {
  display: block;
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.wsn-space-card__go {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--taupe);
  color: var(--burgundy);
  background: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.wsn-space-card:hover .wsn-space-card__go {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}
.wsn-space-card__go .wsn-icon { width: 15px; height: 15px; }

/* Featured "From The Journal" */
.wsn-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.wsn-featured__media {
  min-height: 290px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tint-journal), var(--surface-soft));
  position: relative;
}
.wsn-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wsn-featured__body { position: relative; padding: 8px 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.wsn-featured__bookmark { position: absolute; top: 28px; right: 28px; color: var(--taupe); }
.wsn-featured__title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); line-height: 1.25; margin: 0; padding-right: 28px; }
.wsn-featured__title a { color: var(--charcoal); text-decoration: none; }
.wsn-featured__title a:hover { color: var(--burgundy); }
.wsn-featured__excerpt { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.65; }
.wsn-featured__footer { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wsn-featured__author { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.wsn-featured__author strong { display: block; color: var(--charcoal); font-weight: 600; }
.wsn-featured__author img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.wsn-circle-link {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--taupe); color: var(--burgundy);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.wsn-circle-link:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }

/* Section head & tabs */
.wsn-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.wsn-section-head h2 { margin: 0; font-size: 1.6rem; }
.wsn-section-head a { color: var(--burgundy); font-size: .9rem; font-weight: 500; text-decoration: none; }
.wsn-section-head a:hover { color: var(--burgundy-hover); text-decoration: underline; }
.wsn-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.wsn-tabs [role="tab"] {
  flex: 1; text-align: center; background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 8px; min-height: 44px; font: inherit; font-size: .94rem; font-weight: 500; color: var(--muted); cursor: pointer;
}
.wsn-tabs [role="tab"][aria-selected="true"] { color: var(--burgundy); border-bottom-color: var(--burgundy); font-weight: 600; }

/* Latest 3-column fixed spaces: The Mind (left), The Work (center), The Future (right) */
.wsn-latest-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.wsn-latest-col {
  display: flex;
  flex-direction: column;
}
.wsn-latest-col .wsn-post-card {
  flex: 1;
}
.wsn-latest-col__head {
  display: block;
  text-align: center;
  padding: 10px 8px 12px;
  margin-bottom: 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .18s ease, border-color .18s ease;
}
.wsn-latest-col__head.is-featured,
.wsn-latest-col__head:hover {
  color: var(--charcoal);
  border-bottom: 2px solid var(--burgundy);
}
@media (max-width: 900px) {
  .wsn-latest-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* Post cards */
.wsn-post-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.wsn-post-card__thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--surface-soft), var(--tint-work)); display: flex; align-items: center; justify-content: center; color: var(--taupe); overflow: hidden; }
.wsn-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wsn-post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.wsn-post-card__cat { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); margin: 0; }
.wsn-post-card__title { font-family: "Playfair Display", Georgia, serif; font-size: 1.08rem; line-height: 1.35; margin: 0; }
.wsn-post-card__title a { color: var(--charcoal); text-decoration: none; }
.wsn-post-card__title a:hover { color: var(--burgundy); }
.wsn-post-card__meta { font-size: .78rem; color: var(--muted); margin: 2px 0 0; }
.wsn-empty { background: var(--white); border: 1px dashed var(--border); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted); grid-column: 1 / -1; font-size: .92rem; }

/* Newsletter Bar — contained inside the 1200px container */
.wsn-newsletter-wrap { padding-top: 12px; padding-bottom: 8px; }
.wsn-newsletter {
  width: 100%;
  margin: 0;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wsn-newsletter__intro { display: flex; align-items: center; gap: 14px; color: var(--burgundy); }
.wsn-newsletter__intro h2 { margin: 0; font-size: 1.12rem; color: var(--charcoal); }
.wsn-newsletter__intro p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.wsn-newsletter__form { display: flex; flex-direction: column; gap: 6px; flex: 1; max-width: 520px; min-width: 280px; position: relative; }
.wsn-newsletter__row { display: flex; gap: 10px; }
.wsn-newsletter__input { flex: 1; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-size: .95rem; color: var(--charcoal); }
.wsn-newsletter__consent { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.wsn-newsletter__msg { font-size: .85rem; margin: 0; min-height: 1.1em; color: var(--burgundy); }

/* Page banner, archive layout */
.wsn-banner { border-radius: 20px; padding: 44px 48px; background: linear-gradient(100deg, #F5EFE6, #EFE8DD 60%, #E9DFD3); border: 1px solid var(--border); margin-bottom: 32px; }
.wsn-banner h1 { margin: 0 0 6px; font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem); color: var(--charcoal); }
.wsn-banner p { margin: 0; color: var(--muted); }
.wsn-archive-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.wsn-sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.wsn-sidebar-card h3 { margin: 0 0 12px; font-size: 1.05rem; }
.wsn-topic-list { list-style: none; margin: 0; padding: 0; }
.wsn-topic-list a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: var(--charcoal); text-decoration: none; font-size: .92rem; border-bottom: 1px solid var(--border); }
.wsn-topic-list li:last-child a { border-bottom: 0; }
.wsn-topic-list a:hover { color: var(--burgundy); }

/* Book card */
.wsn-book-card { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.wsn-book-card img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 12px 28px rgba(41, 41, 39, .14); display: block; }
.wsn-book-card h2 { margin: 0 0 10px; }
.wsn-book-card p { color: var(--muted); margin: 0 0 22px; }

/* Article */
.wsn-reading-column { max-width: 720px; margin: 0 auto; }
.wsn-audio-player {
  margin: 24px 0 6px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #FBF7F1, #F3ECE2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--burgundy);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wsn-audio-player__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.wsn-audio-player__label {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy);
}
.wsn-audio-player__sub {
  font-size: .78rem;
  color: var(--muted);
}
.wsn-audio-player audio {
  width: 100%;
  height: 40px;
}
.wsn-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.wsn-sources__title { font-size: 1.2rem; margin: 0 0 12px; }
.wsn-sources__list { padding-left: 20px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.wsn-author-box { margin-top: 36px; padding: 22px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; display: flex; gap: 18px; align-items: center; }
.wsn-author-box__avatar { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.wsn-author-box__name { font-family: "Playfair Display", Georgia, serif; font-size: 1.1rem; margin: 0 0 4px; }
.wsn-author-box__bio { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* Footer — Full Width */
.wsn-footer { width: 100%; margin-top: 40px; border-top: 1px solid var(--border); padding: 44px 0 28px; font-size: .9rem; color: var(--muted); background: var(--ivory); }
.wsn-footer a { color: var(--muted); text-decoration: none; }
.wsn-footer a:hover { color: var(--burgundy); }
.wsn-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.wsn-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.wsn-footer__bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .8rem; }

/* Cards for template-based queries & journal */
.wsn-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.wsn-card--journal { background: var(--tint-journal); border-color: var(--border); }
.wsn-card h3 { font-family: "Playfair Display", Georgia, serif; margin: 0; }

/* Mobile menu */
.wsn-mobile-menu { display: none; position: relative; }
.wsn-mobile-menu summary { list-style: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--charcoal); }
.wsn-mobile-menu summary::-webkit-details-marker { display: none; }
.wsn-mobile-menu__panel { position: absolute; right: 0; top: 48px; z-index: 50; min-width: 220px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; }
.wsn-mobile-menu__panel a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; color: var(--charcoal); text-decoration: none; border-radius: 8px; }
.wsn-mobile-menu__panel a:hover { background: var(--ivory); color: var(--burgundy); }

/* Responsive */
@media (max-width: 1023px) {
  .wsn-container, .wsn-header__inner { padding-left: 24px; padding-right: 24px; }
  .wsn-hero { padding: 0; grid-template-columns: 1fr; min-height: auto; }
  .wsn-hero__media { min-height: 320px; order: -1; margin-right: 0; }
  .wsn-hero__media img { -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent); mask-image: linear-gradient(to bottom, #000 58%, transparent); }
  .wsn-hero__copy { padding: 12px 24px 40px; }
  .wsn-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .wsn-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .wsn-archive-layout { grid-template-columns: 1fr; }
  .wsn-featured { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 767px) {
  .wsn-container, .wsn-header__inner { padding-left: 18px; padding-right: 18px; }
  .wsn-hero__copy { padding: 8px 18px 34px; }
  .wsn-nav { display: none; }
  .wsn-mobile-menu { display: block; }
  .wsn-header__actions .wsn-btn { display: none; }
  .wsn-logo__script { font-size: 1.7rem; }
  .wsn-grid-3 { grid-template-columns: 1fr; }
  .wsn-grid-4 { grid-template-columns: 1fr; gap: 12px; }
  .wsn-space-card { min-height: 76px; flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
  .wsn-space-card__icon { margin: 0; }
  .wsn-space-card__icon .wsn-icon { width: 26px; height: 26px; }
  .wsn-space-card__sub { display: none; }
  .wsn-space-card__go { position: static; margin-left: auto; }
  .wsn-newsletter { padding: 20px 18px; }
  .wsn-newsletter__row { flex-direction: column; }
  .wsn-book-card { grid-template-columns: 1fr; }
  .wsn-banner { padding: 28px 24px; }
  .wsn-author-box { flex-direction: column; align-items: flex-start; }
  .wsn-featured__body { padding: 0; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }


/* ===== Inner pages: The Mind / The Work / The Future / The Journal / The Books ===== */
.wsn-page-hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(100deg, #F6F0E8 0%, #EFE8DD 55%, #EAE1D5 100%);
}
.wsn-page-hero--plain { grid-template-columns: 1fr; min-height: 190px; }
.wsn-page-hero__copy {
  padding: 48px 32px 48px max(40px, calc((100vw - 1200px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.wsn-page-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 1.7rem + 1.8vw, 3.2rem);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--charcoal);
}
.wsn-page-hero__sub { margin: 0; font-size: 1.12rem; color: var(--muted); }
.wsn-page-hero__media { position: relative; min-height: 260px; }
.wsn-page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 26%, #000 52%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 26%, #000 52%);
}

.wsn-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}
.wsn-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wsn-post-card__thumb { text-decoration: none; }
.wsn-post-card h2.wsn-post-card__title { font-size: 1.1rem; }

.wsn-sidebar-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  position: sticky;
  top: 24px;
}
.wsn-sidebar-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--charcoal);
}
.wsn-topic-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wsn-topic-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  transition: border-color .18s ease, color .18s ease;
}
.wsn-topic-list li:last-child a { border-bottom: 1px solid var(--border); }
.wsn-topic-list a:hover { border-color: var(--burgundy); color: var(--burgundy); }
.wsn-topic-list .wsn-icon { width: 16px; height: 16px; color: var(--burgundy); }

.wsn-pagination { margin-top: 32px; }
.wsn-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.wsn-pagination a, .wsn-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--white); color: var(--charcoal); text-decoration: none; font-size: .9rem;
}
.wsn-pagination .current { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }

@media (max-width: 1023px) {
  .wsn-page-hero { grid-template-columns: 1fr; min-height: auto; }
  .wsn-page-hero__media { min-height: 200px; order: -1; }
  .wsn-page-hero__media img { -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent); mask-image: linear-gradient(to bottom, #000 58%, transparent); }
  .wsn-page-hero__copy { padding: 8px 24px 32px; }
  .wsn-archive-layout { grid-template-columns: 1fr; }
  .wsn-sidebar-card { position: static; }
}
@media (max-width: 767px) {
  .wsn-grid-2 { grid-template-columns: 1fr; }
  .wsn-page-hero__copy { padding: 6px 18px 28px; }
}

/* =====================================================================
   HOMEPAGE v2 — matches new mockup (WSN logo, strip, Pilihan Bacaan tabs,
   newsletter card, The Books band)
   ===================================================================== */

/* Guard against any stray empty <p> tags inside layout grids */
.wsn-header p:empty,
.wsn-space-strip p:empty,
.wsn-picks p:empty,
.wsn-books-band p:empty,
.wsn-footer p:empty {
  display: none !important;
}

/* Buttons */
.wsn-btn--outline { background: rgba(255, 255, 255, 0.72); color: var(--burgundy); border: 1px solid var(--burgundy); }
.wsn-btn--outline:hover { background: var(--white); color: var(--burgundy-hover); border-color: var(--burgundy-hover); }
.wsn-btn--sm { min-height: 38px; padding: 6px 18px; font-size: .85rem; }
.wsn-btn--block { width: 100%; }
.wsn-btn .wsn-icon { width: 16px; height: 16px; }
.wsn-header__actions .wsn-btn,
.wsn-hero-band--v2 .wsn-btn,
.wsn-books-band .wsn-btn { border-radius: 8px; }

/* Header with real logo + dropdown nav */
.wsn-header__inner { padding-top: 12px; padding-bottom: 12px; }
.wsn-logo__img { height: 46px; width: auto; display: block; }
.wsn-nav { gap: 26px; }
.wsn-nav__item { position: relative; }
.wsn-nav__item > a { display: inline-flex; align-items: center; gap: 5px; }
.wsn-nav__item .wsn-icon { width: 12px; height: 12px; stroke-width: 2; }
.wsn-nav__dropdown {
  position: absolute; top: 100%; left: -14px; min-width: 240px; z-index: 60;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(41, 41, 39, .12); padding: 8px;
  display: none; flex-direction: column;
}
.wsn-nav__item:hover .wsn-nav__dropdown,
.wsn-nav__item:focus-within .wsn-nav__dropdown { display: flex; }
.wsn-nav__dropdown a { min-height: 40px; padding: 0 12px; border-radius: 8px; white-space: nowrap; font-weight: 500; }
.wsn-nav__dropdown a:hover { background: var(--ivory); color: var(--burgundy); }
.wsn-nav__dropdown .wsn-nav__all { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; color: var(--burgundy); font-weight: 600; }

/* Hero v2 */
.wsn-hero-band--v2 { background: linear-gradient(100deg, #FBF7F1 0%, #F4ECE2 45%, #EFE5D9 100%); border-bottom: 0; }
.wsn-hero-band--v2 .wsn-hero { min-height: 470px; }
.wsn-hero__eyebrow {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.8;
  color: var(--charcoal); opacity: .8; max-width: 36ch; margin: 0 0 20px;
}
.wsn-hero-band--v2 .wsn-hero__title {
  color: var(--burgundy); font-size: clamp(2rem, 1.4rem + 2.3vw, 3.15rem);
  line-height: 1.14; max-width: 15em; margin-bottom: 20px;
}
.wsn-hero-band--v2 .wsn-hero__desc { max-width: 48ch; font-size: .98rem; color: var(--charcoal); opacity: .85; }

/* Four spaces strip */
.wsn-space-strip-band { background: #F3ECE2; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.wsn-space-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wsn-space-strip__item {
  display: flex; align-items: center; gap: 16px; padding: 26px 24px;
  border-left: 1px solid var(--border); text-decoration: none; color: var(--charcoal);
  transition: background-color .18s ease;
}
.wsn-space-strip__item:first-child { border-left: 0; padding-left: 0; }
.wsn-space-strip__item:hover { background: rgba(255, 255, 255, .45); }
.wsn-space-strip__icon { color: var(--burgundy); display: inline-flex; }
.wsn-space-strip__icon .wsn-icon { width: 46px; height: 46px; stroke-width: 1.2; }
.wsn-space-strip__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wsn-space-strip__title { font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; font-weight: 600; color: var(--burgundy); line-height: 1.2; }
.wsn-space-strip__sub { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.wsn-space-strip__sub .wsn-icon { width: 15px; height: 15px; color: var(--burgundy); stroke-width: 1.8; }
.wsn-space-strip__item:hover .wsn-space-strip__title { color: var(--burgundy-hover); }

/* Pilihan Bacaan */
.wsn-picks-section { padding-top: 52px; padding-bottom: 52px; }
.wsn-picks { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 28px; align-items: start; }
.wsn-picks__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 22px;
}
.wsn-picks__title { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; font-weight: 600; color: var(--burgundy); margin: 0; line-height: 1.1; }
.wsn-picks__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.wsn-picks__tabs [role="tab"] {
  border: 0; background: transparent; font: inherit; font-size: .88rem; font-weight: 500; color: var(--charcoal);
  padding: 7px 16px; min-height: 36px; border-radius: 8px; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.wsn-picks__tabs [role="tab"]:hover { color: var(--burgundy); }
.wsn-picks__tabs [role="tab"][aria-selected="true"] { background: var(--burgundy); color: var(--white); }
.wsn-picks__panel { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.wsn-picks__panel[hidden] { display: none; }

.wsn-pick-featured {
  display: grid; grid-template-columns: 43% minmax(0, 1fr); gap: 18px; padding: 14px;
  background: rgba(255, 255, 255, .58); border: 1px solid var(--border); border-radius: 14px;
  height: 100%;
}
.wsn-pick-featured__img, .wsn-pick-item__img {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 10px; color: var(--taupe); text-decoration: none;
  background: linear-gradient(135deg, var(--surface-soft), #EADFD5);
}
.wsn-pick-featured__img { min-height: 280px; height: 100%; }
.wsn-pick-featured__img img, .wsn-pick-item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wsn-pick-featured__body { display: flex; flex-direction: column; gap: 10px; padding: 6px 4px 6px 0; min-width: 0; }
.wsn-pick-featured__title { font-family: "Playfair Display", Georgia, serif; font-size: 1.32rem; line-height: 1.28; margin: 0; font-weight: 600; }
.wsn-pick-featured__title a, .wsn-pick-item__title a { color: var(--charcoal); text-decoration: none; }
.wsn-pick-featured__title a:hover, .wsn-pick-item__title a:hover { color: var(--burgundy); }
.wsn-pick-featured__excerpt { font-size: .82rem; line-height: 1.6; color: var(--muted); margin: 0; }
.wsn-pick-featured .wsn-pick-meta { margin-top: auto; padding-top: 6px; }

.wsn-pick-list { display: flex; flex-direction: column; justify-content: space-between; }
.wsn-pick-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: center; }
.wsn-pick-item:first-child { padding-top: 0; }
.wsn-pick-item:last-child { border-bottom: 0; padding-bottom: 0; }
.wsn-pick-item__img { width: 100px; height: 76px; border-radius: 8px; }
.wsn-pick-item__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wsn-pick-item__title { font-family: "Playfair Display", Georgia, serif; font-size: .96rem; line-height: 1.32; margin: 0; font-weight: 600; }

.wsn-badge {
  display: inline-block; align-self: flex-start; padding: 2px 11px; border-radius: 999px;
  font-size: .68rem; font-weight: 600; color: var(--white); background: var(--burgundy); line-height: 1.55;
}
.wsn-badge--the-mind { background: var(--burgundy); }
.wsn-badge--the-work { background: #7D6554; }
.wsn-badge--the-future { background: #5F7364; }
.wsn-badge--the-journal { background: #5C4A45; }

.wsn-pick-meta { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); margin: 0; flex-wrap: wrap; }
.wsn-pick-meta span { display: inline-flex; align-items: center; gap: 6px; }
.wsn-pick-meta .wsn-icon { width: 14px; height: 14px; }

/* Newsletter card */
.wsn-nl-card {
  position: relative; overflow: hidden; padding: 28px 22px 20px;
  background: linear-gradient(160deg, #FBF6EE, #F3EADF); border: 1px solid var(--border); border-radius: 16px;
}
.wsn-nl-card__leaf { position: absolute; top: 0; right: 0; width: 110px; height: auto; pointer-events: none; }
.wsn-nl-card__title { font-family: "Playfair Display", Georgia, serif; font-size: 1.55rem; line-height: 1.18; font-weight: 600; margin: 0 0 12px; max-width: 8em; color: var(--burgundy); }
.wsn-nl-card__desc { font-size: .84rem; line-height: 1.62; color: var(--muted); margin: 0 0 18px; }
.wsn-nl-card .wsn-newsletter__form,
.wsn-nl-card__form {
  display: flex; flex-direction: column; gap: 10px; position: relative;
  min-width: 0; max-width: 100%; width: 100%; flex: none;
}
.wsn-nl-card__input {
  width: 100%; max-width: 100%; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--white);
  font-size: .9rem; color: var(--charcoal); box-sizing: border-box;
}
.wsn-nl-card__consent { display: flex; align-items: flex-start; gap: 8px; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.wsn-nl-card .wsn-btn { border-radius: 8px; width: 100%; max-width: 100%; box-sizing: border-box; }
.wsn-nl-card__note { text-align: center; font-size: .72rem; color: var(--muted); margin: 8px 0 0; }

/* The Books band */
.wsn-books-band {
  position: relative; overflow: hidden; margin-top: 12px;
  background: linear-gradient(100deg, #F6EFE6, #F0E6DA 55%, #EDE2D5);
  border-top: 1px solid var(--border);
}
.wsn-books-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.wsn-books-band__title { font-family: "Playfair Display", Georgia, serif; font-size: 2.3rem; font-weight: 600; margin: 0 0 10px; color: var(--burgundy); }
.wsn-books-band__intro p, .wsn-books-band__feature p { color: var(--muted); font-size: .92rem; line-height: 1.65; margin: 0 0 18px; }
.wsn-books-band__cover { display: flex; justify-content: center; }
.wsn-books-band__cover img { width: 210px; height: auto; border-radius: 4px; transform: rotate(-4deg); box-shadow: 0 18px 38px rgba(41, 41, 39, .22); }
.wsn-books-band__book { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; font-weight: 600; margin: 4px 0 10px; line-height: 1.25; }
.wsn-books-band__book a { color: var(--charcoal); text-decoration: none; }
.wsn-books-band__book a:hover { color: var(--burgundy); }
.wsn-pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: #EAD9C9; color: #6B5344; font-size: .78rem; font-weight: 600; }

/* Responsive */
@media (max-width: 1100px) {
  .wsn-nav { gap: 18px; }
  .wsn-logo__img { height: 40px; }
}
@media (max-width: 1023px) {
  .wsn-picks { grid-template-columns: 1fr; }
  .wsn-space-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wsn-space-strip__item { border-left: 0; padding: 20px 16px; border-bottom: 1px solid var(--border); }
  .wsn-space-strip__item:first-child { padding-left: 16px; }
  .wsn-books-band__inner { grid-template-columns: 1fr; text-align: left; gap: 24px; }
  .wsn-books-band__cover { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .wsn-picks__panel { grid-template-columns: 1fr; }
  .wsn-pick-featured { grid-template-columns: 1fr; }
  .wsn-pick-featured__img { min-height: 200px; }
  .wsn-space-strip { grid-template-columns: 1fr; }
  .wsn-picks__title { font-size: 1.7rem; }
  .wsn-logo__img { height: 36px; }
}
