/* === NATURAL PURSUITS POST STYLES === */

.np-hero-title,
.np-section-label,
.np-closer-label,
.np-photo-caption-label {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  letter-spacing: 0.08em;
}

.np-intro-text,
.np-body-text,
.np-closer-text {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
}

.np-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  margin: 0 !important;
  padding: 0 !important;
}

.np-hero img {
  width: 100%;
  height: 75vh;
  min-height: 480px;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

.np-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 40px 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.np-hero-issue {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 10px;
}

.np-hero-title {
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.92;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

.np-intro {
  background: #0f0f0f;
  padding: 64px 40px;
  text-align: center;
  max-width: 100% !important;
}

.np-intro-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 24px;
}

.np-intro-text {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
}

.np-photo-block {
  background: #0a0a0a;
  padding: 6px 0;
  margin: 0 !important;
}

.np-photo-grid {
  display: grid;
  gap: 6px;
  padding: 0;
}

.np-photo-dominant {
  width: 100%;
  overflow: hidden;
}

.np-photo-dominant img {
  width: 100%;
  height: 62vw;
  max-height: 680px;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.np-photo-secondary {
  display: grid;
  gap: 6px;
}

.np-photo-secondary.has-2 { grid-template-columns: 1fr 1fr; }
.np-photo-secondary.has-3 { grid-template-columns: 1fr 1fr 1fr; }
.np-photo-secondary.has-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.np-photo-secondary img {
  width: 100%;
  height: 28vw;
  max-height: 320px;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

.np-photo-block.np-layout-side .np-photo-grid {
  grid-template-columns: 60% 40%;
  grid-template-rows: 1fr;
}

.np-photo-block.np-layout-side .np-photo-dominant img {
  height: 55vw;
  max-height: 620px;
}

.np-photo-block.np-layout-side .np-photo-secondary {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(auto-fill, 1fr);
}

.np-photo-block.np-layout-side .np-photo-secondary img {
  height: 100%;
  min-height: 0;
  max-height: none;
}

.np-caption-strip {
  background: #0a0a0a;
  padding: 12px 20px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.np-photo-caption-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.np-photo-caption-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  line-height: 1.4;
}

.np-text-section {
  background: #ffffff;
  padding: 64px 40px;
  max-width: 100% !important;
}

.np-section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #999;
  display: block;
  margin-bottom: 20px;
}

.np-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.95;
  color: #0a0a0a;
  margin: 0 0 28px 0;
  letter-spacing: 0.04em;
}

.np-body-text {
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
  max-width: 620px;
  font-weight: 300;
}

.np-body-text p {
  margin: 0 0 1.4em 0;
}

.np-body-text p:last-child {
  margin-bottom: 0;
}

.np-pullquote {
  border-left: 3px solid #0a0a0a;
  margin: 32px 0;
  padding: 4px 0 4px 24px;
}

.np-pullquote p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.2;
  color: #0a0a0a;
  letter-spacing: 0.03em;
  margin: 0 !important;
}

.np-video-interstitial {
  background: #0a0a0a;
  padding: 48px 20px;
  text-align: center;
}

.np-video-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 20px;
}

.np-video-interstitial video {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
}

.np-closer {
  background: #0a0a0a;
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.np-closer-mark {
  font-size: 28px;
  display: block;
  margin-bottom: 24px;
  opacity: 0.4;
  color: #ffffff;
}

.np-closer-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 16px;
}

.np-closer-text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 32px;
}

.np-closer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.np-closer-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 3px;
}

.np-closer-links a:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}

@media (max-width: 680px) {
  .np-intro { padding: 48px 24px; }
  .np-text-section { padding: 48px 24px; }
  .np-closer { padding: 60px 24px; }
  .np-hero-overlay { padding: 32px 24px 28px; }
  .np-photo-secondary.has-3,
  .np-photo-secondary.has-4 { grid-template-columns: 1fr 1fr; }
  .np-photo-block.np-layout-side .np-photo-grid { grid-template-columns: 1fr; }
  .np-photo-block.np-layout-side .np-photo-dominant img { height: 75vw; }
  .np-photo-block.np-layout-side .np-photo-secondary img { height: 45vw; }
}
/* ============================================================
   NATURAL PURSUITS MAGAZINE — BLOG INDEX
   Part 1 of 3: Additional CSS (v6 — final)
   
   WHERE THIS GOES:
   WordPress Dashboard → Appearance → Customize
   → Additional CSS → replace ALL previous versions with this → Publish
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500&display=swap');

:root {
  --np-black:   #0a0a0a;
  --np-surface: #111111;
  --np-border:  #1e1e1e;
  --np-white:   #f5f5f0;
  --np-muted:   #aaaaaa;
  --np-dim:     #777777;
  --np-gap:     28px;
}

/* ============================================================
   FULL BLACK PAGE MODE
   Applied automatically to any page containing #np-index-root.
   Header, footer, body background all go black.
   Navigation links go white.
   Does not affect any other page on the site.
   ============================================================ */

body.np-full-black {
  background: var(--np-black) !important;
}

/* Header background */
body.np-full-black header,
body.np-full-black .site-header,
body.np-full-black #masthead,
body.np-full-black .wp-block-template-part[class*="header"] {
  background: var(--np-black) !important;
  border-bottom: 1px solid var(--np-border) !important;
}

/* Nav links */
body.np-full-black header a,
body.np-full-black .site-header a,
body.np-full-black #masthead a,
body.np-full-black nav a {
  color: var(--np-white) !important;
}

body.np-full-black header a:hover,
body.np-full-black .site-header a:hover,
body.np-full-black #masthead a:hover,
body.np-full-black nav a:hover {
  color: var(--np-muted) !important;
  text-decoration: none !important;
}

/* Dropdown menus — override white link color with dark text */
body.np-full-black .sub-menu,
body.np-full-black .dropdown-menu,
body.np-full-black nav ul ul,
body.np-full-black header ul ul,
body.np-full-black nav .wp-block-navigation__submenu-container,
body.np-full-black header .wp-block-navigation__submenu-container {
  background: #ffffff !important;
}

body.np-full-black .sub-menu a,
body.np-full-black .sub-menu a:link,
body.np-full-black .sub-menu a:visited,
body.np-full-black .dropdown-menu a,
body.np-full-black nav ul ul a,
body.np-full-black header ul ul a,
body.np-full-black .wp-block-navigation__submenu-container a,
body.np-full-black .wp-block-navigation__submenu-container a:link,
body.np-full-black .wp-block-navigation__submenu-container a:visited {
  color: #111111 !important;
}

body.np-full-black .sub-menu a:hover,
body.np-full-black .dropdown-menu a:hover,
body.np-full-black nav ul ul a:hover,
body.np-full-black header ul ul a:hover,
body.np-full-black .wp-block-navigation__submenu-container a:hover {
  color: #000000 !important;
  text-decoration: none !important;
}

/* Footer */
body.np-full-black footer,
body.np-full-black .site-footer,
body.np-full-black #colophon,
body.np-full-black .wp-block-template-part[class*="footer"] {
  background: var(--np-black) !important;
  border-top: 1px solid var(--np-border) !important;
  color: var(--np-dim) !important;
}

body.np-full-black footer a,
body.np-full-black .site-footer a,
body.np-full-black #colophon a {
  color: var(--np-muted) !important;
}

body.np-full-black footer a:hover,
body.np-full-black .site-footer a:hover,
body.np-full-black #colophon a:hover {
  color: var(--np-white) !important;
  text-decoration: none !important;
}

/* Page content area background */
body.np-full-black main,
body.np-full-black #primary,
body.np-full-black #content,
body.np-full-black .wp-site-blocks,
body.np-full-black .entry-content,
body.np-full-black .site-content {
  background: var(--np-black) !important;
}

/* Page title — hide it, the grid is the page */
body.np-full-black .entry-title,
body.np-full-black h1.page-title,
body.np-full-black .wp-block-post-title {
  display: none !important;
}

/* ============================================================
   BLOG INDEX COMPONENT
   ============================================================ */

#np-index-root {
  background: var(--np-black);
  color: var(--np-white);
  font-family: 'DM Sans', sans-serif;
  min-height: 60vh;
  padding: 48px 0 80px;
  box-sizing: border-box;
  width: 100%;
}

/* ── Fix link underline — theme inverts this ── */
#np-index-root a {
  text-decoration: none !important;
}

#np-index-root .np-card:hover .np-card-title {
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-color: rgba(245, 245, 240, 0.4) !important;
}

/* ── Filter bar ── */
.np-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding-bottom: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--np-border);
}

.np-filters-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999999;
  margin-right: 24px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.np-filter-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #bbbbbb;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 16px 10px 0;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  line-height: 1;
}

.np-filter-btn:hover {
  color: var(--np-white);
}

.np-filter-btn.np-active {
  color: var(--np-white);
  border-bottom-color: var(--np-white);
}

.np-filter-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ── Grid ── */
.np-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--np-gap);
}

/* ── Card ── */
.np-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  background: var(--np-surface);
  overflow: hidden;
  cursor: pointer;
}

.np-card-img-wrap {
  overflow: hidden;
  width: 100%;
}

.np-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--np-border);
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.np-card:hover .np-card-img {
  transform: scale(1.03);
  opacity: 0.85;
}

.np-card--portrait .np-card-img {
  aspect-ratio: 3 / 4;
}

.np-card--square .np-card-img {
  aspect-ratio: 1 / 1;
}

.np-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--np-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-card--portrait .np-card-img-placeholder {
  aspect-ratio: 3 / 4;
}

.np-card-img-placeholder::after {
  content: 'NP';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: #222;
  letter-spacing: 0.06em;
}

.np-card-body {
  padding: 28px 24px 32px;
}

.np-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 12px;
}

.np-card-tag {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--np-dim);
  text-decoration: none !important;
}

.np-card-tag + .np-card-tag::before {
  content: '·';
  margin: 0 8px;
  color: var(--np-border);
}

.np-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--np-white);
  margin: 0 0 16px;
  text-transform: uppercase;
  text-decoration: none !important;
}

.np-card-excerpt {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #bbbbbb;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Hero card ── */
.np-card--wide {
  grid-column: 1 / -1;
}

.np-card--wide .np-card-img {
  aspect-ratio: 21 / 9;
  max-height: 480px;
}

.np-card--wide .np-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  padding: 28px 32px 36px;
  align-items: start;
}

.np-card--wide .np-card-tags {
  grid-column: 1 / -1;
}

.np-card--wide .np-card-title {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.92;
  margin-bottom: 0;
}

.np-card--wide .np-card-excerpt {
  -webkit-line-clamp: 5;
  align-self: end;
  padding-top: 6px;
  font-size: 15px;
}

/* ── Pagination ── */
.np-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--np-border);
}

.np-pagination-info {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbbbbb;
}

.np-pagination-btn {
  background: transparent;
  border: 1px solid #444444;
  color: #cccccc;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.np-pagination-btn:hover {
  border-color: var(--np-muted);
  color: var(--np-white);
  text-decoration: none !important;
}

.np-pagination-btn:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

/* ── Loading ── */
.np-loading {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--np-dim);
}

/* ── Empty / error ── */
.np-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--np-muted);
  font-size: 14px;
}

.np-empty-hed {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--np-border);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 800px) {
  #np-index-root {
    padding: 32px 0 60px;
  }

  .np-card--wide .np-card-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .np-card--wide .np-card-title {
    margin-bottom: 10px;
  }

  .np-card--wide .np-card-excerpt {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .np-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .np-card--wide .np-card-img {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .np-card--wide .np-card-body {
    padding: 18px 20px 24px;
  }

  .np-card-body {
    padding: 18px 20px 24px;
  }
}
/* =============================================
   DICKS IN FLICKS — PAGE HEADER v4
   ============================================= */

.dif-hero {
  width: 100%;
  background-color: #0a0a0a;
  margin-bottom: 0;
  line-height: 0;
}

.dif-hero__img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}

.dif-header {
  background: #0a0a0a;
  padding: 32px 5vw 40px;
  border-bottom: 1px solid #1e1e1e;
}

.dif-header__series-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5f5f0;
  margin: 0 0 10px;
  display: block;
}

.dif-header__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.92;
  color: #f5f5f0;
  margin: 0 0 10px;
}

.dif-header__deck {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  font-style: italic;
  font-weight: 300;
  color: #f5f5f0;
  margin: 0 0 36px;
  padding-top: 2px;
  border-top: 1px solid #f5f5f0;
  display: inline-block;
}

.dif-header__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  align-items: start;
}

.dif-header__copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: #f5f5f0;
  margin: 0;
}

.dif-header__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.dif-header__cta-line {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.0;
  color: #f5f5f0;
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dif-header__cta-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5f5f0 !important;
  text-decoration: none !important;
  border: 1px solid #f5f5f0;
  padding: 12px 24px;
  transition: background 0.15s ease, color 0.15s ease;
  display: inline-block;
}

.dif-header__cta-link:hover {
  background: #f5f5f0;
  color: #0a0a0a !important;
  text-decoration: none !important;
}

@media (max-width: 700px) {
  .dif-header__body {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
}