/* =========================================================
   Rebekah Small — Journal (blog) styles
   Inherits palette tokens from the main site's style.css.
   ========================================================= */

/* ---------- Blog page (list + single) ---------- */
.blog-page{
  padding: clamp(140px, 18vh, 200px) 32px clamp(80px, 12vh, 120px);
  min-height: 60vh;
  position: relative;
  z-index: 2;
}
.blog-page__inner{
  max-width: 1100px;
  margin: 0 auto;
}
.blog-page__empty-wrap{ text-align:center; padding: 80px 0; }
.blog-page__header{
  text-align: center;
  margin-bottom: 72px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.blog-page__header .eyebrow{ margin-bottom: 18px; }
.blog-page__title{
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 18px 0;
}
.blog-page__title em{
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-page__subtitle{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto;
}
.blog-page__empty{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-faint);
  font-size: 1.2rem;
  text-align: center;
}

/* ---------- Post list cards ---------- */
.blog-list{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 880px){
  .blog-list{ grid-template-columns: 1fr; gap: 32px; }
}

.blog-card{
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .5s cubic-bezier(.2,.7,.2,1),
              border-color .4s,
              box-shadow .5s cubic-bezier(.2,.7,.2,1);
}
.blog-card:hover{
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(232, 200, 122, 0.15);
}
.blog-card__link{
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover .blog-card__image{ transform: scale(1.04); }
.blog-card:hover .blog-card__more{ gap: 14px; }

.blog-card__image-wrap{
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.blog-card__image{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) brightness(0.95);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.blog-card__body{
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
}
.blog-card__date{
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.blog-card__title{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px 0;
}
.blog-card__excerpt{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 24px 0;
  max-width: 56ch;
}
.blog-card__more{
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: flex-start;
  padding-bottom: 4px;
  transition: gap .3s ease, color .3s;
}

@media (max-width: 560px){
  .blog-card__body{ padding: 26px 22px 30px; }
}

/* ---------- Single post ---------- */
.blog-post{ margin: 0 auto; }
.blog-post__inner{ max-width: 760px; margin: 0 auto; }
.blog-post__header{ text-align: center; margin-bottom: 48px; }
.blog-post__date{
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.blog-post__title{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.blog-post__hero{
  margin: 0 0 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.blog-post__hero-img{ width: 100%; height: auto; display: block; }
@media (max-width: 760px){ .blog-post__hero{ margin: 0 0 36px 0; } }

.blog-post__body{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text);
}
.blog-post__body p{ margin: 0 0 1.3em 0; color: var(--text); }
.blog-post__body h2{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 2.2em 0 0.6em 0;
  color: var(--gold-bright);
}
.blog-post__body h3{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin: 1.8em 0 0.5em 0;
  color: var(--lavender);
}
.blog-post__body a{
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  transition: color .3s;
}
.blog-post__body a:hover{ color: var(--rose); border-bottom-color: var(--rose); }
.blog-post__body blockquote{
  margin: 2em 0;
  padding: 6px 28px;
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--lavender);
}
.blog-post__body ul,
.blog-post__body ol{ margin: 0 0 1.3em 1.2em; }
.blog-post__body li{ margin: 0.4em 0; }
.blog-post__body code{
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--gold-bright);
}
.blog-post__body img{
  max-width: 100%; height: auto;
  margin: 1.6em 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.blog-post__body hr{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.4em 0;
}

.blog-post__footer{
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.blog-back{
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .3s;
}
.blog-back:hover{ color: var(--gold); }

/* Active nav highlight */
.nav-links a.is-active{ color: var(--gold); }
