/* Anasayfa Duyurular — KKU tema (Haber / Etkinlik ile aynı dil) */

.kku-duyuru-zone {
  --kku-red: #c9151b;
  --kku-darkred: #9e1b32;
  --kku-navy: #053170;
  --kku-paper: #f7f8fa;
  --kku-ink: #01172f;
  --kku-muted: #5c6b7a;

  position: relative;
  padding: 8px 0 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 42% at 0% 0%, rgba(201, 21, 27, 0.07), transparent 55%),
    radial-gradient(ellipse 42% 38% at 100% 100%, rgba(5, 49, 112, 0.06), transparent 50%),
    var(--kku-paper);
}

.kku-duyuru-zone > .container {
  position: relative;
  z-index: 1;
}

.kku-duyuru-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kku-duyuru-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(1, 23, 47, 0.06);
  box-shadow: 0 4px 14px rgba(1, 23, 47, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kku-duyuru-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--kku-red), var(--kku-navy));
}

.kku-duyuru-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 23, 47, 0.12);
  border-color: rgba(201, 21, 27, 0.2);
}

.kku-duyuru-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* Tek satır tarih — dikey tarih kartı yok */
.kku-duyuru-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 49, 112, 0.06);
  border: 1px solid rgba(5, 49, 112, 0.1);
  color: var(--kku-navy);
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
  line-height: 1.2 !important;
}

.kku-duyuru-date i {
  display: inline-block;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--kku-red);
}

.kku-duyuru-date time {
  color: var(--kku-navy);
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.kku-duyuru-title,
.kku-duyuru-title a {
  margin: 0;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  min-width: 0;
}

.kku-duyuru-title a {
  color: var(--kku-ink) !important;
  text-decoration: none !important;
  transition: color 0.25s ease;
}

.kku-duyuru-title a:hover,
.kku-duyuru-item:hover .kku-duyuru-title a {
  color: var(--kku-red) !important;
}

.kku-duyuru-action {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.kku-duyuru-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--kku-navy);
  color: var(--kku-navy) !important;
  background: #fff;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.kku-duyuru-btn span {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: inherit !important;
}

.kku-duyuru-btn:hover,
.kku-duyuru-btn:focus {
  background: var(--kku-navy);
  border-color: var(--kku-navy);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateX(2px);
}

.kku-duyuru-btn i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.kku-duyuru-btn:hover i {
  transform: translateX(3px);
}

/* Footer: pager + tümünü gör */
.kku-duyuru-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.kku-duyuru-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(1, 23, 47, 0.06);
  box-shadow: 0 4px 16px rgba(1, 23, 47, 0.06);
}

.kku-duyuru-zone .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--kku-paper);
  color: var(--kku-ink) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kku-duyuru-zone .page-link:hover {
  background: #fff;
  border-color: var(--kku-navy);
  color: var(--kku-navy) !important;
  transform: translateY(-1px);
}

.kku-duyuru-zone .page-link.active {
  background: var(--kku-navy);
  border-color: var(--kku-navy);
  color: #fff !important;
}

.kku-duyuru-zone .page-link.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.kku-duyuru-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--kku-red), var(--kku-darkred));
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(201, 21, 27, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kku-duyuru-all:hover,
.kku-duyuru-all:focus {
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 21, 27, 0.34);
}

.kku-duyuru-all i {
  transition: transform 0.25s ease;
}

.kku-duyuru-all:hover i {
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .kku-duyuru-item {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }

  .kku-duyuru-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .kku-duyuru-action {
    align-self: stretch;
  }

  .kku-duyuru-btn {
    width: 100%;
    justify-content: center;
  }

  .kku-duyuru-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .kku-duyuru-pager {
    justify-content: center;
  }

  .kku-duyuru-all {
    justify-content: center;
  }
}
