/* Article pages + rehber listing */

.page-hero--article {
  padding-bottom: 1.5rem;
}

.article {
  padding-bottom: var(--section-y);
  max-width: 860px;
}

.article__header {
  margin-bottom: 1.5rem;
}

.article__meta {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 0.75rem;
}

.article__cat {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--color-teal-bg);
  color: var(--color-teal-dark);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--color-navy);
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-md);
}

.article__body {
  max-width: none;
}

.article__body img {
  border-radius: var(--radius-lg);
  margin: 1.25rem 0;
}

.article__body a {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

.article-author {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 2.25rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-teal-bg);
}

.article-author img {
  border-radius: 50%;
  background: var(--color-white);
}

.article-author__eyebrow {
  margin: 0 0 0.15rem;
  color: var(--color-teal-dark);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-author h2 {
  margin: 0 0 0.3rem;
  font-size: var(--fs-lg);
}

.article-author p:last-child {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.article-related {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
}

.article-related h2 {
  margin-bottom: 0.8rem;
  font-size: var(--fs-lg);
}

.article-related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding-left: 1.25rem;
}

.article-related a {
  color: var(--color-teal-dark);
  font-weight: var(--fw-semibold);
}

.article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Rehber listing */
.rehber-section {
  padding-block: 2.5rem;
  scroll-margin-top: 100px;
}

.rehber-section:nth-child(even) {
  background: var(--color-bg);
}

.rehber-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.rehber-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.rehber-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rehber-card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, var(--color-teal-bg), var(--color-lavender-bg));
}

.rehber-card__body {
  padding: 1.1rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.rehber-card__title {
  font-size: var(--fs-md);
  color: var(--color-navy);
  line-height: 1.35;
}

.rehber-card__excerpt {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  flex: 1;
}

.rehber-card__link {
  font-weight: var(--fw-bold);
  color: var(--color-teal-dark);
  font-size: var(--fs-sm);
}

@media (max-width: 1024px) {
  .rehber-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .article-related ul {
    grid-template-columns: 1fr;
  }

  .rehber-grid {
    grid-template-columns: 1fr;
  }
}
