/* ============================================
   Projelerimiz kartları (veri: admin -> Etkinlikler)
   Detay sayfası yok; kart harici bağlantıya gider.
   ============================================ */

.project-card__link:focus-visible {
  outline: 3px solid var(--yellow, #faa31a);
  outline-offset: 2px;
}

/* Kart listesi (açık gri zemin) */
.projects-list {
  background: #f8f7f5;
  padding: 72px 0 96px;
}

/* Banner yoksa liste sabit navbar'ın altında başlar */
main > .visually-hidden:first-child + .projects-list,
main > .projects-list:first-child {
  padding-top: calc(115px + 72px);
}

@media (max-width: 575px) {
  main > .visually-hidden:first-child + .projects-list,
  main > .projects-list:first-child {
    padding-top: calc(80px + 40px);
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(62, 55, 57, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.project-card:has(a.project-card__link):hover {
  box-shadow: 0 16px 40px rgba(62, 55, 57, 0.14);
  transform: translateY(-3px);
}

.project-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

a.project-card__link:hover {
  color: inherit;
}

.project-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 32px;
  background: #ffffff;
  border-bottom: 1px solid rgba(62, 55, 57, 0.06);
}

.project-card__media img[hidden],
.project-card__placeholder[hidden] {
  display: none;
}

.project-card__media img {
  max-width: 70%;
  max-height: 100%;
  object-fit: contain;
}

.project-card__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(62, 55, 57, 0.08);
  color: var(--yellow-text, #a86400);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
}

.project-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 24px 24px 28px;
}

.project-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #3e3739;
  margin: 0 0 12px;
}

.project-card__summary {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 24px;
}

/* "İncele" butonu: turuncu hap + beyaz daire içinde ok */
.project-card__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 20px;
  border-radius: 100px;
  background: var(--yellow, #faa31a);
  color: var(--on-yellow, #3e3739);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

a.project-card__link:hover .project-card__btn {
  background: #e89415;
}

.project-card__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 767px) {
  .project-card__media {
    height: 160px;
    padding: 24px;
  }

  .projects-list {
    padding: 40px 0 64px;
  }
}

/* Kategori alt başlıkları (etkinlik kategorisi girildiğinde) */
.projects-group + .projects-group {
  margin-top: 64px;
}

.projects-group__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--grey, #3e3739);
  margin: 0 0 24px;
}

/* Etkinlikler sayfası: başlık + takvim bağlantısı */
/* Sayfa başlığı + giriş metni (Etkinlik Takvimi, Projelerimiz) */
.events-head,
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 40px;
}

.events-head .page-lead,
.page-head .page-lead {
  margin-bottom: 0;
}
