/* ================================================
   NATURAL PURSUITS — BLOG INDEX
   Additional CSS (v12)
   ================================================ */

/* ── Full black page mode ── */
body.np-full-black {
  background-color: #000 !important;
  color: #fff;
}

/* ── Root container ── */
#np-index-root {
  margin: 0;
  padding: 2rem 0 4rem;
  font-family: 'Barlow', sans-serif;
  width: 100%;
}

/* ── Kill theme underlines on all card children ── */
.np-card,
.np-card *,
.np-card:visited,
.np-card:link {
  text-decoration: none !important;
}

/* ── Restore underline on title hover only ── */
.np-card:hover .np-card-title {
  text-decoration: underline !important;
}

/* ════════════════════════════════════════
   ACCESS FILTER ROW
════════════════════════════════════════ */

.np-access-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  font-family: 'Barlow', sans-serif;
}

.np-access-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-right: 0.25rem;
  white-space: nowrap;
}

.np-access-btn {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-decoration: none;
  line-height: 1.6;
}

.np-access-btn:hover {
  background: rgba(255,255,255,0.15);
}

.np-access-btn.np-active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

/* ════════════════════════════════════════
   BROWSE BY FILTER ROW
════════════════════════════════════════ */

.np-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  padding-top: 0.625rem;
  border-top: 1px solid #555;
  font-family: 'Barlow', sans-serif;
}

.np-filters-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-right: 0.25rem;
  white-space: nowrap;
}

.np-filter-btn {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 2rem;
  font-size: 9px !important;
  font-weight: 500;
  font-family: 'Barlow', sans-serif !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-decoration: none;
  line-height: 1.6;
}

.np-filter-btn:hover {
  background: rgba(255,255,255,0.15);
}

.np-filter-btn.np-active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

/* ── Mobile: Browse By becomes a select dropdown ── */
@media (max-width: 400px) {
  .np-filter-btn {
    display: none;
  }

  .np-filter-select {
    flex: 1;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    border: 1px solid #fff;
    border-radius: 2rem;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.4rem 2.25rem 0.4rem 1rem;
    cursor: pointer;
  }

  .np-filter-select:focus {
    outline: none;
    background-color: rgba(255,255,255,0.1);
  }
}

/* ── Hide select on larger screens ── */
@media (min-width: 401px) {
  .np-filter-select {
    display: none;
  }
}

/* ── Visual separation when both rows appear together ── */
.np-access-filters + .np-filters {
  margin-top: 0;
}

/* ════════════════════════════════════════
   GRID  (1 hero + 2 columns)
════════════════════════════════════════ */

.np-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

/* ════════════════════════════════════════
   CARDS
════════════════════════════════════════ */

.np-card {
  display: flex;
  flex-direction: column;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.np-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* ── Image wrapper — 16:9 for all cards ── */
.np-card-img-wrap {
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 16 / 9;
}

.np-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

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

.np-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: #1e1e1e;
}

/* ── Card body ── */
.np-card-body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  font-family: 'Barlow', sans-serif;
}

.np-card--wide .np-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* ── Tags inside card — gray, these are metadata ── */
.np-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.1rem;
}

.np-card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none !important;
}

/* ── Card title ── */
.np-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.25;
  color: #fff;
  margin: 0;
  text-decoration: none !important;
  text-transform: none;
}

.np-card--wide .np-card-title {
  font-size: 1.6rem;
}

.np-card:hover .np-card-title {
  text-decoration: underline !important;
}

/* ── Card excerpt ── */
.np-card-excerpt {
  font-size: 0.85rem;
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;
  color: #fff;
  margin: 0;
  text-decoration: none !important;
}

/* ════════════════════════════════════════
   PAGINATION
════════════════════════════════════════ */

.np-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #555;
  font-family: 'Barlow', sans-serif;
}

.np-pagination-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Barlow', sans-serif;
  cursor: pointer;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.np-pagination-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.15);
}

.np-pagination-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.np-pagination-info {
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Barlow', sans-serif;
  color: #fff;
  text-align: center;
  flex: 1;
}

/* ════════════════════════════════════════
   LOADING / EMPTY / ERROR STATES
════════════════════════════════════════ */

.np-loading {
  grid-column: 1 / -1;
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.06em;
}

.np-empty {
  grid-column: 1 / -1;
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  font-family: 'Barlow', sans-serif;
}

.np-empty-hed {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: 'Barlow', sans-serif;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

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

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

  .np-card--wide .np-card-title {
    font-size: 1.25rem;
  }

  .np-pagination {
    flex-direction: column;
    text-align: center;
  }

  .np-pagination-info {
    order: -1;
  }
}
=============================================
   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;
  }
}

/* =============================================
   NATURAL PURSUITS ONLINE — POST TYPOGRAPHY
   ============================================= */

/* Hide post title on single posts only */
body.single .wp-block-post-title {
  display: none;
}

/* Paragraph */
body.single .entry-content p {
  font-family: 'Barlow', sans-serif;
  font-size: 19px;
  line-height: 1.4;
  color: #050505;
  font-weight: 300;
  margin-bottom: 0.75em !important;
  margin-top: 0 !important;
}

/* H1 — Rarely used, display only */
body.single .entry-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: #050505;
  text-transform: uppercase;
  margin-bottom: 0.25em;
}

/* H2 — Main section title */
body.single .entry-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: #050505;
  text-transform: uppercase;
  margin-bottom: 0.25em;
}

/* H3 — Subsection title */
body.single .entry-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #050505;
  text-transform: uppercase;
  margin-bottom: 0.25em;
}

/* H4 — Small section label */
body.single .entry-content h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.5em;
}

/* H5 — Smaller label */
body.single .entry-content h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.5em;
}

/* H6 — Smallest label */
body.single .entry-content h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.5em;
}

/* Blockquote / Pull quote */
body.single .entry-content blockquote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #050505;
  border-left: 3px solid #050505;
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* Lists */
body.single .entry-content ul,
body.single .entry-content ol {
  font-family: 'Barlow', sans-serif;
  font-size: 19px;
  line-height: 1.4;
  color: #050505;
  font-weight: 300;
  margin-bottom: 0.75em !important;
  margin-top: 0 !important;
}
/* ============================================
   HEADER - Black Background (Edge to Edge)
   ============================================ */
.wp-block-template-part[class*="header"],
header.wp-block-template-part {
  background-color: #000000 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}

/* ============================================
   HEADER - Navigation Text (White)
   ============================================ */
header.wp-block-template-part a,
.wp-block-template-part[class*="header"] a,
.wp-block-template-part[class*="header"] .wp-block-navigation a {
  color: #ffffff !important;
}

/* ============================================
   HEADER - Dropdown Arrows (White)
   ============================================ */
.wp-block-template-part[class*="header"] .wp-block-navigation__submenu-icon,
header.wp-block-template-part .wp-block-navigation__submenu-icon,
.wp-block-template-part[class*="header"] .wp-block-navigation__submenu-icon svg,
header.wp-block-template-part .wp-block-navigation__submenu-icon svg path {
  stroke: #ffffff !important;
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* ============================================
   HEADER - Mobile Hamburger Menu (White)
   ============================================ */
.wp-block-template-part[class*="header"] .wp-block-navigation__responsive-container-open,
header.wp-block-template-part .wp-block-navigation__responsive-container-open,
.wp-block-template-part[class*="header"] .wp-block-navigation__responsive-container-open svg,
header.wp-block-template-part .wp-block-navigation__responsive-container-open svg,
.wp-block-template-part[class*="header"] .wp-block-navigation__responsive-container-open svg path,
header.wp-block-template-part .wp-block-navigation__responsive-container-open svg path {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* ============================================
   HEADER - Mobile Menu Overlay Text (Black)
   ============================================ */
.wp-block-navigation__responsive-container.is-menu-open a,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
  color: #000000 !important;
}

/* ============================================
   HEADER - Dropdown Menu Text (Black on White)
   ============================================ */
.wp-block-navigation .wp-block-navigation__submenu-container a {
  color: #000000 !important;
}

/* ============================================
   HEADER - Cart Icon (White)
   ============================================ */
.wc-block-mini-cart__button,
.wc-block-mini-cart__button svg,
.wc-block-mini-cart__button svg path,
.wc-block-mini-cart__button svg circle,
.wc-block-mini-cart__button span {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}
/* ================================================
   NATURAL PURSUITS ONLINE -- Editorial Top Section
   Add to: Appearance > Customize > Additional CSS
   ================================================ */

/* ------------------------------------------
   Section reset
   ------------------------------------------ */

.np-online-intro,
.np-online-intro *,
.np-online-intro *::before,
.np-online-intro *::after {
  box-sizing: border-box;
  font-style: normal;
}

.np-online-intro {
  background-color: #000;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* ------------------------------------------
   ROW 1: Masthead
   ------------------------------------------ */

.np-online-masthead {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 0.75rem 0 0.85rem;
  margin-bottom: 1.75rem;
}

.np-online-masthead__label {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.2rem 0;
}

.np-online-heading {
  font-family: 'Bebas Neue', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* ------------------------------------------
   ROW 2: Two-column body
   ------------------------------------------ */

.np-online-body-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

/* LEFT: Editorial description */

.np-online-description-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.np-online-kicker {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.np-online-description {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
  margin: 0;
}

/* RIGHT: CTA card */

.np-online-member-cta {
  border: 1px solid #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.np-online-member-cta__label {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.np-online-member-cta__heading {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.np-online-member-cta__subline {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  color: #fff;
  margin: 0;
}

.np-online-member-cta__btn {
  display: block;
  width: 100%;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #000;
  background: #fff;
  padding: 0.65rem 1rem;
  margin-top: 0.15rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.np-online-member-cta__btn:hover,
.np-online-member-cta__btn:focus {
  background: #000;
  color: #fff;
  outline: 1px solid #fff;
  outline-offset: -1px;
}

/* ------------------------------------------
   ROW 3: Browse guidance
   ------------------------------------------ */

.np-online-browse-note {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 0.25rem 0;
  border-top: 1px solid #fff;
  padding-top: 0.85rem;
}

/* ------------------------------------------
   Mobile
   ------------------------------------------ */

@media (max-width: 768px) {

  .np-online-heading {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .np-online-body-row {
    grid-template-columns: 1fr;
    gap: 1.25rem 0;
    margin-bottom: 1.25rem;
  }

  .np-online-kicker {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }

  .np-online-member-cta {
    padding: 1.25rem;
  }

  .np-online-member-cta__btn {
    width: 100%;
    text-align: center;
  }

}