/* Blog index */

body.page-blog {
  display: flex;
  flex-direction: column;
}

.hero {
  padding: 5rem 2.5rem 4rem;
  border-bottom: 1px solid var(--border);
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--muted);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.25rem;
  color: var(--ocean);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}

.hero p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.65;
}

.blog-section {
  padding: 4rem 2.5rem;
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1rem;
}

.section-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(10, 58, 82, 0.08);
  border-color: var(--teal);
}

.article-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.article-thumb.green  { background: var(--teal-light); }
.article-thumb.teal   { background: #E3EEF5; }
.article-thumb.purple { background: #E8F0F8; }
.article-thumb.amber  { background: var(--sand); }

.article-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--ocean);
  color: var(--white);
}

.article-tag.health  { background: var(--teal-dark); }
.article-tag.digital { background: var(--ocean-light); }
.article-tag.oral    { background: var(--ocean); }

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
}

.article-category {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.article-title {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ocean);
}

.article-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.article-read {
  font-size: 0.75rem;
  color: var(--muted);
}

.article-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ocean);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.article-card:hover .article-cta { gap: 8px; }

.article-card.coming {
  border-style: dashed;
  opacity: 0.5;
  pointer-events: none;
}

.article-card.coming .article-thumb {
  background: var(--sand);
  font-size: 2rem;
}

@media (max-width: 640px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .blog-section { padding: 2.5rem 1.25rem; }
  .articles { grid-template-columns: 1fr; }
}
