*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fdf6f0;
  color: #3a2a2a;
  min-height: 100vh;
}

/* ── HEADER ── */
header {
  background: linear-gradient(135deg, #c97bb2 0%, #e8a0bf 50%, #f7cfe6 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-align: center;
}

.tagline {
  color: #fff;
  font-weight: 300;
  font-size: 1rem;
  opacity: 0.92;
  text-align: center;
}

/* ── MAIN ── */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* ── HERO ── */
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #8b3a7e;
  margin-bottom: 0.6rem;
}

.hero p {
  font-size: 1rem;
  line-height: 1.7;
  color: #6b4c4c;
  max-width: 560px;
  margin: 0 auto;
}

/* ── CARDS ── */
.posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 4px 24px rgba(180, 80, 150, 0.08);
  border: 1px solid #f0daea;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(180, 80, 150, 0.14);
}

.card-badge {
  display: inline-block;
  background: linear-gradient(135deg, #c97bb2, #e8a0bf);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.card.featured {
  border: 2px solid #e8a0bf;
  background: linear-gradient(160deg, #fff 70%, #fde8f5 100%);
}

.card.today {
  border: 3px solid #d966b0;
  box-shadow: 0 0 0 4px rgba(217, 102, 176, 0.18), 0 6px 28px rgba(180, 80, 150, 0.13);
  background: linear-gradient(160deg, #fff 60%, #fce0f4 100%);
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #6b1f6a;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.card-meta {
  font-size: 0.8rem;
  color: #b08898;
  margin-bottom: 0.7rem;
  font-weight: 300;
}

.card p:not(.card-meta) {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #5a3a3a;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  background: #f7dff2;
  color: #8b3a7e;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-right: 0.4rem;
  margin-top: 0.2rem;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #f0d9eb;
  color: #7a3a6a;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-small {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ── RESPONSIVE ── */
@media (min-width: 600px) {
  .posts {
    grid-template-columns: 1fr 1fr;
  }

  .card.featured {
    grid-column: 1 / -1;
  }

  .header-inner {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: 1.5rem;
  }

  header h1 {
    font-size: 2.8rem;
  }
}
