/* ═══════════════════════════════════════════════════════════
   BE WEISZ — Blog Index Page Styles
   Page hero · Particles · Blog card grid
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE HERO ────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgb(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgb(201, 168, 76, 0.05) 0%, transparent 50%), var(--black);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--grey-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── PARTICLES ────────────────────────────────────────── */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 12px 4px rgb(201, 168, 76, 0.6),
    0 0 30px 8px rgb(201, 168, 76, 0.25);
  animation: floatUp ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 5%;
  width: 8px;
  height: 8px;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  left: 20%;
  width: 10px;
  height: 10px;
  animation-delay: 2s;
  animation-duration: 14s;
}

.particle:nth-child(3) {
  left: 35%;
  width: 7px;
  height: 7px;
  animation-delay: 4s;
  animation-duration: 11s;
}

.particle:nth-child(4) {
  left: 50%;
  width: 12px;
  height: 12px;
  animation-delay: 1s;
  animation-duration: 15s;
}

.particle:nth-child(5) {
  left: 65%;
  width: 9px;
  height: 9px;
  animation-delay: 3s;
  animation-duration: 13s;
}

.particle:nth-child(6) {
  left: 80%;
  width: 7px;
  height: 7px;
  animation-delay: 5s;
  animation-duration: 14s;
}

.particle:nth-child(7) {
  left: 92%;
  width: 10px;
  height: 10px;
  animation-delay: 1.5s;
  animation-duration: 12s;
}

.particle:nth-child(8) {
  left: 40%;
  width: 8px;
  height: 8px;
  animation-delay: 6s;
  animation-duration: 16s;
}

@keyframes floatUp {
  0% {
    bottom: -5%;
    opacity: 0;
    transform: translateX(0) scale(0.3);
  }

  8% {
    opacity: 1;
    transform: scale(1);
  }

  25% {
    opacity: 1;
    transform: translateX(12px);
  }

  50% {
    opacity: 0.9;
    transform: translateX(-8px);
  }

  75% {
    opacity: 0.7;
    transform: translateX(15px);
  }

  92% {
    opacity: 0.3;
  }

  100% {
    bottom: 105%;
    opacity: 0;
    transform: translateX(-5px) scale(0.5);
  }
}

/* ── NAV ACTIVE STATE ─────────────────────────────────── */
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

/* ── BLOG SECTION ─────────────────────────────────────── */
.blog-section {
  padding: 80px 24px 120px;
  background: var(--black);
}

.blog-container {
  max-width: 1000px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* ── BLOG CARD ────────────────────────────────────────── */
.blog-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--black-soft);
  border: 1px solid var(--charcoal);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover {
  border-color: rgb(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow:
    0 16px 50px rgb(0, 0, 0, 0.4),
    0 0 30px var(--gold-glow);
}

/* ── CARD IMAGE PANEL ─────────────────────────────────── */
.blog-card-image {
  position: relative;
  overflow: hidden;
  background: var(--black-rich);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.blog-card-image > div {
  text-align: center;
}

.blog-card-image .blog-month-display {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  opacity: 0.8;
}

.blog-card-image .blog-year-display {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
  margin-top: 6px;
}

.blog-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(201, 168, 76, 0.1);
  margin: 12px;
  pointer-events: none;
  transition: border-color 0.4s;
}

.blog-card:hover .blog-card-image::after {
  border-color: rgb(201, 168, 76, 0.3);
}

/* ── CARD BODY ────────────────────────────────────────── */
.blog-card-body {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-category {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.blog-card:hover .blog-card-title {
  color: var(--gold-light);
}

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-date {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--grey-light);
  letter-spacing: 0.1em;
}

.blog-read-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.blog-read-link:hover {
  color: var(--gold-light);
  gap: 10px;
}

.blog-read-link svg {
  width: 14px;
  height: 14px;
  stroke: currentcolor;
  fill: none;
  stroke-width: 2;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (width <= 768px) {
  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    min-height: 180px;
  }

  .blog-card-body {
    padding: 28px 24px;
  }
}
