/* ── ROOT TOKENS ── */
:root {
  --saffron:      #ea580c;
  --saffron-glow: #f97316;
  --deep-maroon:  #92400e;
  --dark-bg:      #ffffff;
  --card-bg:      #ffffff;
  --gold:         #b45309;
  --gold-light:   #d97706;
  --cream:        #1c1917;
  --muted:        #78716c;
  --border:       #e5ddd0;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Outfit', sans-serif;
}

/* ── PAGE WRAPPER ── */
.blogs-page {
  background-color: #FAF7F2;
  min-height: 100vh;
  padding-bottom: 5rem;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

/* ── SUBTLE WARM GLOW BG ── */
.blogs-page::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(234,88,12,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── HERO HEADER ── */
.blogs-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4.5rem 2rem 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e5ddd0;
}

.blogs-hero__mandala {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
  animation: spin-slow 24s linear infinite;
  color: #f59e0b;
  opacity: 0.9;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.blogs-hero__label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ea580c;
  border: 1px solid rgba(234,88,12,0.3);
  padding: 0.35rem 1.1rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
  background: rgba(234,88,12,0.06);
  font-family: 'Cinzel', serif;
}

.blogs-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #1c1917;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.blogs-hero__title em {
  font-style: italic;
  color: #ea580c;
}

.blogs-hero__subtitle {
  font-size: 0.92rem;
  font-weight: 300;
  color: #78716c;
  letter-spacing: 0.04em;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* Gold divider */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 auto;
  max-width: 320px;
}

.hero-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5ddd0, transparent);
}

.hero-divider__gem {
  color: #ea580c;
  font-size: 0.7rem;
}

/* ── GRID ── */
.blog-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 0 5vw;
}

/* ── CARD ── */
.blog-card {
  background: #ffffff;
  border: 1px solid #e5ddd0;
  border-radius: .75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: card-rise 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  transition: border-color 0.35s, box-shadow 0.35s;
}

/* stagger */
.blog-card:nth-child(1) { animation-delay: 0.08s; }
.blog-card:nth-child(2) { animation-delay: 0.18s; }
.blog-card:nth-child(3) { animation-delay: 0.28s; }
.blog-card:nth-child(4) { animation-delay: 0.38s; }
.blog-card:nth-child(5) { animation-delay: 0.48s; }
.blog-card:nth-child(6) { animation-delay: 0.58s; }

@keyframes card-rise {
  to { opacity: 1; transform: translateY(0); }
}

.blog-card:hover {
  border-color: rgba(234,88,12,0.4);
  box-shadow: 0 8px 32px rgba(234,88,12,0.08), 0 2px 12px rgba(0,0,0,0.06);
  z-index: 2;
}

/* top shimmer line */
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ea580c, #f59e0b, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: 1;
}

.blog-card:hover::before { transform: scaleX(1); }

/* ── CARD IMAGE ── */
.card-image {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.96) saturate(0.95);
}

.blog-card:hover .card-image img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.05);
}

/* image overlay gradient */
.card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(255,255,255,0.6), transparent);
  pointer-events: none;
}

/* ── CARD BODY ── */
.card-body {
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
}

.card-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ea580c;
  font-family: 'Cinzel', serif;
}

.card-title a {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1c1917;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.card-title a:hover { color: #ea580c; }

.card-ornament {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-ornament__line {
  width: 24px;
  height: 1px;
  background: #e5ddd0;
}

.card-ornament__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ea580c;
}

.card-desc {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.7;
  color: #78716c;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ── READ MORE ── */
.card-footer {
  padding-top: 1rem;
  border-top: 1px solid #e5ddd0;
  margin-top: auto;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #92400e;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  font-family: 'Cinzel', serif;
}

.read-more__arrow {
  display: inline-block;
  transition: transform 0.25s;
}

.read-more:hover {
  color: #ea580c;
  gap: 0.75rem;
}

.read-more:hover .read-more__arrow {
  transform: translateX(4px);
}

/* ── EMPTY STATE ── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 6rem 2rem;
}

.empty-state__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.85rem;
  color: #a8a29e;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .blog-grid { grid-template-columns: 1fr; padding: 0 4vw; gap: 1rem; }
  .blogs-hero { padding: 3rem 1.5rem 2.5rem; }
  .card-image { height: 180px; }
}