/* Blog / Journal — reuses site tokens from styles.css */

/** Match .header-inner width + horizontal inset so Journal aligns with the nav bar. */
.blog-shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2vw, 1.45rem);
  padding-right: clamp(1rem, 2vw, 1.45rem);
}

.blog-page .page {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.blog-main {
  padding-top: clamp(0.5rem, 2vw, 1rem);
}

.blog-hero {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.blog-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.blog-hero__title {
  margin: 0 0 0.85rem;
  max-width: 44rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.1;
  font-weight: 500;
}

.blog-hero__lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38rem;
}

.blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(197, 160, 89, 0.18);
  background: linear-gradient(165deg, rgba(28, 24, 26, 0.92), rgba(12, 11, 12, 0.98));
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.blog-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s var(--ease-flow);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__body {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.15rem;
  align-content: start;
}

.blog-card__date {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 234, 209, 0.5);
}

.blog-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 500;
}

.blog-card__title a {
  color: rgba(252, 246, 228, 0.95);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--gold-2);
}

.blog-card__excerpt {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.blog-card__more {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
  text-decoration: none;
}

.blog-card__more:hover {
  color: var(--gold-2);
}

.blog-article {
  width: 100%;
  padding-bottom: 2rem;
}

.blog-article__header,
.blog-article__hero,
.blog-article__content,
.blog-article__footer {
  max-width: 42rem;
}

.blog-article__crumb {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.blog-article__crumb a {
  color: var(--gold-3);
  text-decoration: none;
}

.blog-article__crumb a:hover {
  color: var(--gold-2);
}

.blog-article__header {
  margin-bottom: 1.15rem;
}

.blog-article__date {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 234, 209, 0.52);
}

.blog-article__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.12;
  font-weight: 500;
}

.blog-article__tags {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-article__tags li {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 234, 209, 0.72);
}

.blog-article__hero {
  margin: 0 0 1.25rem;
  /* 3:2 photo ratio — width capped so height stays ~18rem (not a wide squat crop) */
  width: min(100%, 42rem, 27rem);
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: rgba(12, 11, 12, 0.6);
}

.blog-article__hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.blog-article__content {
  color: rgba(243, 234, 209, 0.82);
  font-size: 0.96rem;
  line-height: 1.72;
}

.blog-article__content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-2);
  margin: 1.75rem 0 0.65rem;
}

.blog-article__content p {
  margin: 0 0 1rem;
}

.blog-article__content a {
  color: var(--gold-3);
}

.blog-article__content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.blog-article__footer {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(197, 160, 89, 0.18);
}

.blog-article__footer p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.blog-article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-footer {
  border-top: 1px solid rgba(197, 160, 89, 0.14);
  padding: 1.25rem 0 1.5rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.site-footer__brand {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(243, 234, 209, 0.55);
}

.site-footer__links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.78rem;
}

.site-footer__links a {
  color: var(--gold-3);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--gold-2);
}

@media (max-width: 640px) {
  .blog-article__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-article__actions .btn {
    width: 100%;
  }
}
