/* ─────────────────────────────────────────
   ELYSIAN TRAVEL GROUP — journal.css
   Journal listing page + article page.
   Requires: base.css
───────────────────────────────────────── */

/* ═══════════════════════════════════════
   JOURNAL LISTING PAGE
═══════════════════════════════════════ */

/* ── INTRO ───────────────────────────── */
.journal-intro {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 64px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
  border-bottom: 1px solid var(--border);
}
.journal-headline {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.22;
  color: var(--ink);
  margin-top: 20px;
}
.journal-headline em { font-style: italic; }
.journal-intro-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--muted);
}

/* ── CATEGORY FILTER ─────────────────── */
.journal-filter {
  border-bottom: 1px solid var(--border);
  padding: 0 64px;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.journal-filter::-webkit-scrollbar { display: none; }
.jfilter-btn {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 20px 28px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.jfilter-btn:hover { color: var(--ink); }
.jfilter-btn.active { color: var(--ink); border-bottom-color: var(--gold); }

/* ── FEATURED POST ───────────────────── */
.journal-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 580px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  overflow: hidden;
}
.journal-featured:hover .jfeat-img { transform: scale(1.03); }
.jfeat-img-wrap { overflow: hidden; position: relative; }
.jfeat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s ease;
}
.jfeat-body {
  padding: 64px 60px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.jfeat-cat {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.jfeat-cat::before { content: ''; width: 18px; height: 1px; background: var(--gold); display: block; }
.jfeat-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.jfeat-title em { font-style: italic; }
.jfeat-rule { width: 24px; height: 1px; background: var(--gold); margin-bottom: 20px; opacity: 0.5; }
.jfeat-excerpt {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}
.jfeat-meta { display: flex; align-items: center; gap: 16px; }
.jfeat-date {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}
.jfeat-read {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  transition: gap 0.3s;
}
.jfeat-read::after { content: '→'; }
.journal-featured:hover .jfeat-read { gap: 14px; }

/* ── POST GRID ───────────────────────── */
.journal-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 64px 120px;
}
.journal-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(26,24,20,0.06);
}
.post-card {
  background: var(--warm-white);
  text-decoration: none;
  display: block;
  transition: background 0.35s;
  position: relative;
  overflow: hidden;
}
.post-card.hidden { display: none; }
.post-card:hover { background: var(--stone); }
.post-img-wrap { height: 240px; overflow: hidden; position: relative; }
.post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
  display: block;
}
.post-card:hover .post-img { transform: scale(1.05); }
.post-body { padding: 36px 36px 44px; }
.post-cat {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.post-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: 14px;
}
.post-title em { font-style: italic; }
.post-excerpt {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 24px;
}
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.post-date {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(122,116,108,0.7);
  text-transform: uppercase;
}
.post-arrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing 0.3s;
}
.post-card:hover .post-arrow { letter-spacing: 0.22em; }

/* ═══════════════════════════════════════
   ARTICLE PAGE
═══════════════════════════════════════ */

.article-hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18,16,12,0.2) 0%,
    rgba(18,16,12,0.1) 40%,
    rgba(18,16,12,0.78) 100%
  );
}
.article-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 64px;
  max-width: 900px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s ease 0.4s forwards;
}
.article-back {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  transition: color 0.3s;
}
.article-back:hover { color: rgba(255,255,255,0.85); }
.article-cat {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-cat::before { content:''; width:18px; height:1px; background:var(--gold); display:block; }
.article-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  max-width: 800px;
}
.article-title em { font-style: italic; }

/* Article body */
.article-body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 64px 80px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 64px;
}
.article-content { min-width: 0; }
.article-sidebar-left { padding-top: 8px; }
.article-meta-item { margin-bottom: 28px; }
.article-meta-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.article-meta-value { font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.article-sidebar-right { padding-top: 8px; }
.article-share-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  opacity: 0.6;
}

.article-lead {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.58;
  color: var(--ink);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.article-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.92;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-text strong { color: var(--ink); font-weight: 400; }
.article-pullquote {
  margin: 44px 0;
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-pullquote p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.article-image { margin: 44px 0; overflow: hidden; }
.article-image img { width: 100%; display: block; object-fit: cover; }
.article-image-caption {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(122,116,108,0.65);
  margin-top: 12px;
  text-transform: uppercase;
}
.article-h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 300;
  color: var(--ink);
  margin: 44px 0 20px;
  line-height: 1.2;
}
.article-h2 em { font-style: italic; }

/* In-article CTA strip */
.article-cta {
  margin-top: 56px;
  padding: 48px;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.article-cta-text { min-width: 0; }
.article-cta-copy {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
}
.article-cta-btn {
  flex-shrink: 0;
  background: var(--ink);
  color: #fff;
}

/* Related posts */
.article-related {
  background: var(--stone);
  padding: 90px 64px;
  border-top: 1px solid var(--border);
}
.article-related-grid {
  max-width: 1440px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(26,24,20,0.07);
}

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
  .journal-intro { padding: 80px 40px; gap: 60px; }
  .journal-grid { padding: 60px 40px 100px; }
  .journal-filter { padding: 0 40px; }
  .article-body { padding: 70px 40px 60px; grid-template-columns: 140px 1fr; }
  .article-sidebar-right { display: none; }
  .article-related { padding: 72px 40px; }
}

@media (max-width: 768px) {
  /* Intro */
  .journal-intro {
    padding: 56px 24px 40px;
    gap: 28px;
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  /* Filter — remove entirely, same rationale as experiences page */
  .journal-filter {
    display: none;
  }

  /* Featured post */
  .journal-featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .jfeat-img-wrap { height: 340px; }   /* more generous than the old 280px */
  .jfeat-body {
    padding: 40px 24px 48px;
    justify-content: flex-start;       /* don't push content to bottom on single col */
  }

  /* Post grid */
  .journal-grid { padding: 40px 24px 64px; }
  .journal-grid-inner { grid-template-columns: 1fr; }  /* single column, not 2 */

  /* Article */
  .article-hero { height: 60vh; min-height: 380px; }
  .article-hero-content { padding: 40px 24px; }
  .article-title { font-size: clamp(28px, 6vw, 48px); }
  .article-body {
    padding: 44px 24px 48px;
    grid-template-columns: 1fr;
  }
  .article-sidebar-left,
  .article-sidebar-right { display: none; }
  .article-related { padding: 56px 24px; }
  .article-related-grid { grid-template-columns: 1fr; }

  /* In-article CTA strip — stack on mobile so the button can't force overflow */
  .article-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 20px;
  }
  .article-cta-btn { align-self: flex-start; }

  /* Post card body padding tightened to match experiences */
  .post-body { padding: 28px 20px 36px; }
}

@media (max-width: 480px) {
  /* already single-col at 768 — nothing extra needed here */
}
/* ─────────────────────────────────────────
   ELYSIAN TRAVEL GROUP — style.css
   Ultra-luxury positioning
   Fonts: Cormorant Garamond (serif) + Jost (sans)
───────────────────────────────────────── */

/* ═══════════════════════════════════════
   ARTICLE CTA
═══════════════════════════════════════ */

.article-cta {
  margin-top: 72px;
  padding: 72px 64px;
  background: var(--stone);
  border-top: 1px solid var(--border);

  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 72px;
  align-items: center;
}

.article-cta-text {
  max-width: 640px;
}

.article-cta .label {
  margin-bottom: 14px;
}

.article-cta-copy {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 300;
  line-height: 1.22;
  color: var(--ink);
  margin: 0;
}

.article-cta-copy em {
  font-style: italic;
}

.article-cta-btn {
  flex-shrink: 0;
  min-width: 285px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.article-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}


/* ───────────────────────────────────────
   TABLET
─────────────────────────────────────── */

@media (max-width:1024px){

  .article-cta{
    padding:64px 40px;
    gap:56px;
  }

}


/* ───────────────────────────────────────
   MOBILE
─────────────────────────────────────── */

@media (max-width:768px){

  .article-cta{
    margin-top:56px;
    padding:52px 24px;

    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:32px;
  }

  .article-cta-text{
    max-width:none;
    width:100%;
  }

  .article-cta .label{
    margin-bottom:12px;
  }

  .article-cta-copy{
    font-size:clamp(28px,8vw,34px);
    line-height:1.18;
  }

  .article-cta-btn{
    width:100%;
    min-width:0;
    justify-content:center;
    padding:18px 24px;
  }

}


@media (max-width:480px){

  .article-cta{
    padding:48px 20px;
  }

  .article-cta-copy{
    font-size:30px;
  }

}