/* ============================================================
   DUYURULAR SAYFASI — duyuru.css
   ============================================================ */

/* ── BÖLÜM ───────────────────────────────────────────── */
.dy-section {
  padding: 40px 0 80px;
}

/* ── KART ────────────────────────────────────────────── */
.dy-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 28px;
  text-decoration: none !important;
  color: inherit;
  border-top: 3px solid transparent;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  box-sizing: border-box;
}

.dy-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.11);
  border-top-color: #ffed00;
  transform: translateY(-4px);
}

.dy-card__date {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  margin-bottom: 14px;
}

.dy-card__title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 14px;
  font-family: 'Barlow', sans-serif;
}

.dy-card__excerpt {
  font-size: 15px;
  line-height: 1.68;
  color: #555;
  margin: 0 0 22px;
  flex: 1;
}

.dy-card__more {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
  text-decoration: none;
}

.dy-card:hover .dy-card__more {
  text-decoration: none;
}

/* ── BOŞ DURUM ───────────────────────────────────────── */
.dy-empty {
  padding: 56px 0;
  font-size: 0.95rem;
  color: #666;
}

/* ── SAYFALAMA ───────────────────────────────────────── */
.dy-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}

.dy-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  background: #fff;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.dy-pagination__btn:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

.dy-pagination__btn.is-active {
  background: #ffed00;
  border-color: #ffed00;
  color: #1a1a1a;
  font-weight: 800;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 959px) {
  .dy-section { padding: 32px 0 56px; }
  .dy-card { padding: 22px; }
}

@media (max-width: 639px) {
  .dy-section { padding: 24px 0 40px; }
  .dy-card { padding: 18px; }
  .dy-card__title { font-size: 15px; }
  .dy-pagination { margin-top: 32px; }
}

/* ============================================================
   DUYURU DETAY
   ============================================================ */

/* ── DETAY BÖLÜM ─────────────────────────────────────── */
.dy-detail-section {
  padding: 48px 0 72px;
}

/* ── META (TARİH + KATEGORİ) ─────────────────────────── */
.dy-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.dy-detail__meta-date {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #1a1a1a;
  padding: 5px 14px;
  letter-spacing: 0.04em;
}

.dy-detail__meta-sep {
  display: none;
}

.dy-detail__meta-cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  background: #ffed00;
  padding: 5px 14px;
}

/* ── HERO GÖRSEL ──────────────────────────────────────── */
.dy-detail__hero {
  margin: 0 0 40px;
  padding: 0;
}

.dy-detail__hero a {
  display: block;
  overflow: hidden;
  position: relative;
}

.dy-detail__hero a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.35s ease;
}

.dy-detail__hero a:hover::after {
  background: rgba(0, 0, 0, 0.06);
}

.dy-detail__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.dy-detail__hero a:hover img {
  transform: scale(1.02);
}


/* ── GERİ BUTONU ──────────────────────────────────────── */
.dy-back {
  padding: 25px 0 25px;
}

.dy-back__btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 13px 28px 13px 20px;
  background: #1a1a1a !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}

.dy-back__btn:hover,
.dy-back__btn:focus {
  background: #ffed00 !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
}

/* ── RESPONSIVE (DETAY) ───────────────────────────────── */
@media (max-width: 959px) {
  .dy-back { padding: 36px 0 48px; }
}

@media (max-width: 639px) {
  .dy-detail__hero img { max-height: 240px; }
  .dy-back             { padding: 28px 0 40px; }
  .dy-back__btn        { padding: 12px 24px 12px 18px; font-size: 12px; }
}
