/* === Eterna Femme — Journal Pages === */
/* Dark charcoal/copper treatment for founder-voice essay content. */
/* Matches klow-science.css design tokens. Journal = credibility + warmth. */

/* ─── Article Hero ─── */
.journal-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 80px) var(--section-padding);
  position: relative;
  overflow: hidden;
}

.journal-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_168027/9eeb77a3-fd25-4fdd-92de-40def3ccbe6d.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.48) contrast(1.10);
}

.journal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 11, 8, 0.95) 0%,
    rgba(15, 11, 8, 0.82) 45%,
    rgba(15, 11, 8, 0.45) 70%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Copper glow — top right */
.journal-hero::after {
  content: '';
  position: absolute;
  top: -5%; right: -8%;
  width: 55%;
  height: 110%;
  background: radial-gradient(ellipse at center,
    rgba(184, 115, 51, 0.10) 0%,
    rgba(184, 115, 51, 0.04) 40%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

.journal-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.journal-hero-content { max-width: 720px; }

.journal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 1.4rem;
}

.journal-post-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.10;
  color: #FAF7F4;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.journal-post-title em {
  font-style: italic;
  color: #C9A96E;
}

.journal-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.journal-byline {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(250, 247, 244, 0.65);
}

.journal-byline a {
  color: #B87333;
  text-decoration: none;
  font-weight: 600;
}

.journal-byline a:hover { color: #D4A574; }

.journal-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(184, 115, 51, 0.40);
  flex-shrink: 0;
}

.journal-read-time,
.journal-date {
  font-size: 0.80rem;
  color: rgba(250, 247, 244, 0.50);
}

@media (max-width: 860px) {
  .journal-hero { padding-top: 100px; }
}

/* ─── Article Body ─── */
.journal-body {
  background: #181310;
  padding: 80px 0;
}

.journal-body-inner {
  max-width: 720px;
  margin: 0 auto;
}

.journal-article p {
  font-size: 1rem;
  line-height: 1.90;
  color: rgba(250, 247, 244, 0.75);
  margin-bottom: 1.6rem;
}

.journal-article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: #FAF7F4;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.journal-article h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #D4A574;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

.journal-article blockquote {
  border-left: 3px solid #B87333;
  padding: 4px 0 4px 24px;
  margin: 2.4rem 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(250, 247, 244, 0.65);
  line-height: 1.75;
}

/* Inline citation link style */
.journal-cite {
  color: #B87333;
  text-decoration: underline;
  text-decoration-color: rgba(184, 115, 51, 0.40);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s;
}

.journal-cite:hover {
  color: #D4A574;
}

/* PubMed footnote style */
.journal-footnote-ref {
  font-size: 0.72rem;
  color: rgba(184, 115, 51, 0.55);
  text-decoration: none;
  vertical-align: super;
  font-weight: 600;
}

.journal-footnote-ref:hover { color: #B87333; }

/* Section divider */
.journal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 3rem 0;
}

.journal-divider-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.40), transparent);
}

.journal-divider-diamond {
  width: 8px;
  height: 8px;
  background: #B87333;
  transform: rotate(45deg);
}

/* ─── End CTA Card ─── */
.journal-cta {
  background: #1A1410;
  border: 1px solid rgba(184, 115, 51, 0.18);
  border-radius: 8px;
  padding: 48px 44px;
  margin-top: 3.5rem;
  text-align: center;
}

.journal-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  color: #FAF7F4;
  margin-bottom: 0.8rem;
  margin-top: 0;
}

.journal-cta p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(250, 247, 244, 0.60);
  margin-bottom: 2rem;
}

.journal-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.journal-cta .btn-primary {
  background: #B87333;
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  display: inline-block;
  transition: background 0.2s;
}

.journal-cta .btn-primary:hover { background: #8B5A2B; color: #fff; }

.journal-cta .btn-secondary-dark {
  display: inline-block;
  padding: 13px 24px;
  background: transparent;
  color: rgba(250, 247, 244, 0.70);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid rgba(184, 115, 51, 0.30);
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
}

.journal-cta .btn-secondary-dark:hover {
  border-color: rgba(184, 115, 51, 0.60);
  color: #D4A574;
}

@media (max-width: 600px) {
  .journal-cta { padding: 36px 24px; }
  .journal-cta-actions { flex-direction: column; }
}

/* ─── Journal Index ─── */
.journal-index-hero {
  background: #140F0A;
  padding: 100px 0 80px;
  text-align: center;
}

.journal-index-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.journal-index-hero .section-label-dark {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 1rem;
  display: block;
}

.journal-index-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #FAF7F4;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.journal-index-hero p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(250, 247, 244, 0.60);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.journal-index-posts {
  background: #181310;
  padding: 80px 0;
}

.journal-index-posts-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.journal-post-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(20, 14, 10, 0.60);
  border: 1px solid rgba(184, 115, 51, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
  margin-bottom: 32px;
}

.journal-post-card:hover {
  box-shadow: 0 8px 40px rgba(184, 115, 51, 0.10);
  border-color: rgba(184, 115, 51, 0.28);
}

.journal-post-card-inner {
  padding: 40px 44px;
}

.journal-post-card-eyebrow {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #B87333;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.journal-post-card-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(184, 115, 51, 0.15);
  max-width: 80px;
}

.journal-post-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 400;
  color: #FAF7F4;
  line-height: 1.20;
  margin-bottom: 1rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.journal-post-card-title:hover { color: #D4A574; }

.journal-post-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(250, 247, 244, 0.62);
  margin-bottom: 1.6rem;
  max-width: 620px;
}

.journal-post-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.journal-post-card-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #B87333;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.journal-post-card-cta:hover { color: #D4A574; }

.journal-post-card-cta svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 600px) {
  .journal-post-card-inner { padding: 28px 24px; }
}