/* BLOG.CSS — page-specific styles */
/* Global styles (nav, footer, dark mode, toggle, hamburger) come from global.css */

  .site { max-width: var(--max); margin: 0 auto; padding: 0 0 80px; }

  /* NAV */

  /* JOURNAL HEADER */
  .journal-header {
    padding: 60px 32px 40px;
    border-bottom: 0.5px solid var(--border);
  }
  .journal-eyebrow {
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--sage-dark); margin-bottom: 14px; font-weight: 500;
  }
  .journal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 7vw, 64px); font-weight: 300;
    color: var(--text); line-height: 1.1; margin-bottom: 16px;
  }
  .journal-title em { font-style: italic; color: var(--sage-dark); }
  .journal-sub { font-size: 15px; color: var(--text2); font-weight: 300; max-width: 440px; line-height: 1.8; }

  /* FILTER TABS */
  .filter-row {
    display: flex; gap: 8px; padding: 20px 32px;
    border-bottom: 0.5px solid var(--border); flex-wrap: wrap;
  }
  .filter-btn {
    padding: 6px 18px; border-radius: 100px; font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: 0.5px solid var(--border2); background: transparent;
    color: var(--text2); cursor: pointer; transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
  }
  .filter-btn.active, .filter-btn:hover {
    background: var(--sage-dark); border-color: var(--sage-dark); color: var(--cream);
  }

  /* FEATURED POST */
  .featured-post {
    margin: 32px; border-radius: 16px;
    background: var(--surface); border: 0.5px solid var(--border);
    border-top: 2px solid var(--sage);
    overflow: hidden; text-decoration: none; display: block;
    transition: border-color 0.25s;
    position: relative;
  }
  .featured-post:hover { border-color: var(--sage); border-top-color: var(--sage-dark); }
  .featured-img {
    width: 100%; height: 280px; object-fit: cover; display: block;
    background: var(--bg2);
  }
  .featured-img-placeholder {
    width: 100%; height: 280px; background: var(--bg2);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .featured-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--sage-dark); color: var(--cream);
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 100px; font-weight: 500;
    box-shadow: 0 0 0 3px rgba(107,135,106,0.18), 0 2px 12px rgba(107,135,106,0.22);
  }
  .featured-body { padding: 28px 32px 32px; }
  .featured-tag {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--sage-dark); margin-bottom: 10px; display: block; font-weight: 500;
  }
  .featured-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px; font-weight: 400; color: var(--text);
    line-height: 1.25; margin-bottom: 12px;
  }
  .featured-excerpt { font-size: 15px; color: var(--text2); line-height: 1.8; font-weight: 300; margin-bottom: 18px; }
  .featured-meta { font-size: 12px; color: var(--text3); display: flex; gap: 16px; align-items: center; }
  .read-link {
    margin-left: auto; font-size: 12px; color: var(--sage-dark);
    letter-spacing: 0.1em; text-transform: uppercase;
    border-bottom: 0.5px solid var(--sage-light); padding-bottom: 1px;
    transition: all 0.2s;
  }
  .featured-post:hover .read-link { border-color: var(--sage-dark); }

/* NEWSLETTER */
.newsletter-section {
  padding: 52px 32px 32px; border-top: 0.5px solid var(--border); text-align: center;
}
.newsletter-inner { max-width: 520px; margin: 0 auto; }
.newsletter-eyebrow {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 16px; font-weight: 500;
}
.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 38px); font-weight: 300;
  color: var(--text); line-height: 1.2; margin-bottom: 12px;
}
.newsletter-title em { font-style: italic; color: var(--sage-dark); }
.newsletter-sub { font-size: 14px; color: var(--text2); font-weight: 300; line-height: 1.8; margin-bottom: 20px; }
.beehiiv-wrap { width: 100%; margin: 0 auto; }


  /* POST LIST */
  .post-list { padding: 0 32px; display: flex; flex-direction: column; gap: 0; }

  
  .post-card {
  position: relative;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  transition: background 0.2s, border-color 0.2s;
}

.post-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--sage);
  opacity: 0;
  transition: opacity 0.2s;
}

.post-card:hover::before {
  opacity: 1;
}

.post-card:hover {
  background: transparent;
}
  
  
  
  .post-card:last-child { border-bottom: none; }
  .pc-tag {
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--sage-dark); margin-bottom: 7px; display: block; font-weight: 500;
  }
  .pc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400; color: var(--text);
    line-height: 1.3; margin-bottom: 8px;
  }
  .pc-excerpt { font-size: 13px; color: var(--text2); line-height: 1.7; font-weight: 300; margin-bottom: 10px; }
  .pc-meta { font-size: 11px; color: var(--text3); display: flex; gap: 12px; }
  .pc-img {
    width: 90px; height: 90px; border-radius: 8px; object-fit: cover;
    background: var(--bg2); flex-shrink: 0; border: 0.5px solid var(--border);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .pc-img img { width: 100%; height: 100%; object-fit: cover; }
  .pc-img-placeholder { width: 100%; height: 100%; background: var(--bg2); }

  /* ARTICLE VIEW */
  .article-wrap {
    display: none; position: fixed; inset: 0;
    background: var(--bg); z-index: 200;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .article-wrap.open { display: block; }
  /* Sage tint strip behind the article header */
  .article-wrap::before {
    content: '';
    display: block;
    position: absolute;
    top: 57px; /* below sticky nav */
    left: 0; right: 0;
    height: 340px;
    background: linear-gradient(to bottom, rgba(154,173,140,0.07) 0%, rgba(154,173,140,0) 100%);
    pointer-events: none;
    z-index: 0;
  }
  .article-inner { position: relative; z-index: 1; }
  .article-nav {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; gap: 16px;
    padding: 16px 32px;
    background: rgba(244,237,224,0.9);
    backdrop-filter: blur(14px);
    border-bottom: 0.5px solid var(--border);
  }
  .article-back {
    font-size: 13px; color: var(--text2); cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    background: none; border: none; font-family: 'DM Sans', sans-serif;
    transition: color 0.2s; padding: 0;
  }
  .article-back:hover { color: var(--sage-dark); }
  .article-back-arrow { font-size: 16px; }
  .article-nav-title {
    font-size: 13px; color: var(--text3); flex: 1; text-align: center;
    font-family: 'Cormorant Garamond', serif; font-size: 15px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .article-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px 80px; }
  .article-header {
    padding: 52px 0 36px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--sage-light), transparent) 1;
    margin-bottom: 44px;
  }
  .article-tag {
    display: inline-flex; align-items: center;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sage-dark); font-weight: 500;
    background: rgba(154,173,140,0.12);
    border: 0.5px solid var(--border2);
    border-radius: 100px; padding: 5px 14px;
    margin-bottom: 20px;
  }
  .article-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 6vw, 54px); font-weight: 400; color: var(--text);
    line-height: 1.15; margin-bottom: 18px;
  }
  .article-title em { font-style: italic; color: var(--sage-dark); }
  .article-lede {
    font-size: 18px; color: var(--sage-dark); line-height: 1.8; font-weight: 300;
    margin-bottom: 24px; font-family: 'Cormorant Garamond', serif;
    font-style: italic
  }
  .article-meta {
    font-size: 12px; color: var(--text2);
    display: flex; align-items: center; gap: 0;
  }
  .article-meta span { padding: 0 14px; }
  .article-meta span:first-child { padding-left: 0; }
  .article-meta span + span {
    border-left: 1px solid var(--sage-light);
  }
  .article-hero-img {
    width: 100%; border-radius: 10px; margin-bottom: 44px;
    object-fit: cover; display: block; background: var(--bg2);
  }
  .article-body { font-size: 16px; color: var(--text2); line-height: 1.9; font-weight: 300; }
  .article-body p { margin-bottom: 26px; }
  .article-body p:first-of-type { color: var(--text); font-weight: 400; }
  .article-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; font-weight: 400; color: var(--text);
    margin: 44px 0 16px; line-height: 1.2;
    padding-left: 14px;
    border-left: 2px solid var(--sage);
  }
  .article-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400; color: var(--text);
    margin: 32px 0 12px;
  }
  .article-body blockquote {
    border-left: 2px solid var(--sage); padding: 4px 0 4px 24px;
    margin: 32px 0; font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-style: italic; color: var(--text); font-weight: 300;
    line-height: 1.6;
  }
  .article-body .pull-stat {
    text-align: center; padding: 32px 20px; margin: 32px 0;
    background: var(--surface); border-radius: 12px;
    border: 0.5px solid var(--border); border-top: 2px solid var(--sage);
  }
  .article-nav-arrows { display: flex; gap: 8px; align-items: center; }
  .article-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  border: 0.5px solid var(--border2); background: var(--surface);
  color: var(--text2); cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.article-arrow:hover { border-color: var(--sage); color: var(--sage-dark); }
.article-arrow:disabled { opacity: 0.3; cursor: default;
}

.article-bottom-nav {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border);
}
.abn-card {
  background: var(--surface); border: 0.5px solid var(--border);
  border-radius: 10px; padding: 16px 18px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex; flex-direction: column; gap: 6px;
}
.abn-card:hover { border-color: var(--sage); background: var(--bg2); }
.abn-next { text-align: right; }
.abn-label {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-dark); font-weight: 500;
}
.abn-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 400; color: var(--text); line-height: 1.3;
}
  
  .pull-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px; font-weight: 300; color: var(--sage-dark); line-height: 1;
    display: block; margin-bottom: 6px;
  }
  .pull-stat-label { font-size: 12px; color: var(--text3); letter-spacing: 0.1em; }
  .article-body .rating-card {
    background: var(--surface); border: 0.5px solid var(--border);
    border-radius: 12px; padding: 20px 24px; margin: 24px 0;
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
    border-left: 2px solid var(--sage);
  }
  .rc-name { font-weight: 500; color: var(--text); font-size: 16px; margin-bottom: 4px; }
  .rc-desc { font-size: 13px; color: var(--text2); font-weight: 300; }
  .rc-score {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 300; color: var(--sage-dark);
    text-align: center; line-height: 1;
  }
  .rc-price { font-size: 11px; color: var(--text3); text-align: center; margin-top: 4px; }
  .article-body hr {
    border: none; margin: 44px 0;
    height: 1px;
    background: linear-gradient(90deg, var(--sage-light), transparent);
  }
  .article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 44px; padding-top: 32px; border-top: 0.5px solid var(--border); }
  .article-tag-pill {
    padding: 5px 14px; border-radius: 100px; font-size: 11px;
    letter-spacing: 0.08em; border: 0.5px solid var(--border2);
    color: var(--sage); background: rgba(154,173,140,0.10);
    transition: background 0.2s, border-color 0.2s;
  }
  .article-tag-pill:hover {
    background: rgba(154,173,140,0.22); border-color: var(--sage);
  }

  /* RELATED */
  .related-section { margin-top: 52px; padding-top: 32px; border-top: 0.5px solid var(--border); }
  .related-label {
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--sage-dark); margin-bottom: 20px; font-weight: 500;
  }
  .related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .related-card {
    background: var(--surface); border: 0.5px solid var(--border);
    border-radius: 10px; padding: 18px 20px; text-decoration: none;
    transition: border-color 0.2s; cursor: pointer; display: block; width: 100%;
  }
  .related-card:hover { border-color: var(--sage); }
  .rc-tag { font-size: 10px; letter-spacing: 0.14em; color: var(--sage-dark); text-transform: uppercase; margin-bottom: 6px; display: block; }
  .rc-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; color: var(--text); line-height: 1.3; }

    /* ACCENT BAR */

  @media (max-width: 600px) {
    .journal-header, .post-list { padding-left: 20px; padding-right: 20px; }
    .featured-post { margin: 20px; }
    .filter-row { padding: 16px 20px; }
    .related-grid { grid-template-columns: 1fr; }
    .article-inner { padding: 0 20px 60px; }
    .article-nav { padding: 14px 20px; }
    .pc-img { width: 72px; height: 72px; }
	.newsletter-section { padding: 40px 20px 20px; }
  }

    /* TOGGLE BUTTON */

  /* HAMBURGER */

  /* NEWSLETTER SIGNUP */
  .newsletter-section {
    padding: 52px 32px;
    border-top: 0.5px solid var(--border);
    text-align: center;
  }
  .newsletter-inner {
    max-width: 520px;
    margin: 0 auto;
  }
  .newsletter-eyebrow {
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--sage-dark); margin-bottom: 16px; font-weight: 500;
  }
  .newsletter-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 5vw, 38px); font-weight: 300;
    color: var(--text); line-height: 1.2; margin-bottom: 12px;
  }
  .newsletter-title em { font-style: italic; color: var(--sage-dark); }
  .newsletter-sub {
    font-size: 14px; color: var(--text2); font-weight: 300;
    line-height: 1.8; margin-bottom: 20px;
  }
  .beehiiv-wrap {
    width: 100%;
    height: 340px;
    overflow: hidden;
  }
  .beehiiv-wrap iframe {
    width: 100% !important;
    height: 340px !important;
    border: none;
  }
  @media (max-width: 600px) {
    .newsletter-section { padding: 40px 20px; }
  }

  @media (max-width: 600px) {
    .journal-header, .post-list { padding-left: 20px; padding-right: 20px; }
    .filter-row { padding: 16px 20px; }
    .newsletter-section { padding: 40px 20px; }
    .related-grid { grid-template-columns: 1fr; }
    .pc-img { width: 72px; height: 72px; }
  }

/* NEWSLETTER FORM — matches index.html form styles */
.custom-sub-form {
  display: flex; width: 100%; border-radius: 100px;
  overflow: hidden; border: 1px solid var(--sage-light); background: var(--cream);
}
.sub-input {
  flex: 1; padding: 14px 20px; border: none; background: transparent;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  outline: none; min-width: 0;
}
.sub-input::placeholder { color: var(--text3); }
.sub-btn {
  padding: 14px 28px; background: var(--sage-dark); color: #fff;
  border: none; font-family: 'DM Sans', sans-serif; font-size: 13px;
  letter-spacing: 0.06em; cursor: pointer; border-radius: 100px;
  transition: background 0.2s; white-space: nowrap; flex-shrink: 0;
}
.sub-btn:hover { background: var(--sage); }
.sub-msg { font-size: 13px; color: var(--sage-dark); text-align: center; margin-top: 10px; }

/* FOOTER EXTENSIONS — matches index.html footer styles */
.footer-accent {
  color: var(--sage-dark);
  font-style: italic;
}
.footer-ig {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text3); text-decoration: none; font-size: 12px;
  letter-spacing: 0.04em; transition: color 0.2s;
  line-height: 1; vertical-align: middle;
}
.footer-ig svg { display: block; flex-shrink: 0; width: 13px; height: 13px; }
.footer-ig:hover { color: var(--sage-dark); }
