﻿/* kku-home-sections — panel/haber/duyuru/etkinlik/sayilarla birlesik. Kaynak dosyalar ayni klasorde durur. */

/* ==== kku-panel-baslik.css ==== */
/* Anasayfa bölüm bantları (Haberler, Duyurular, Etkinlikler, …) */

section.panel {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 28px 0 14px !important;
  z-index: 2;
  overflow: visible;
}

section.panel > .container {
  padding-left: 15px;
  padding-right: 15px;
}

section.panel .panel-baslik {
  margin: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    var(--kku-red, #c9151b) 0%,
    var(--kku-darkred, #9e1b32) 42%,
    var(--kku-navy, #053170) 100%
  );
  box-shadow: 0 8px 22px rgba(158, 27, 50, 0.28);
  position: relative;
}

section.panel .panel-baslik::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: rgba(255, 255, 255, 0.55);
}

section.panel .panel-baslik > .row {
  margin: 0;
}

section.panel .panel-baslik .left-align {
  padding: 16px 22px 16px 26px;
}

section.panel .panel-baslik-link,
section.panel .panel-baslik-link:link,
section.panel .panel-baslik-link:visited,
section.panel .panel-baslik-link:hover,
section.panel .panel-baslik-link:focus,
section.panel .panel-baslik-link:active {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #fff !important;
  font-size: clamp(18px, 1.4vw + 11px, 23px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

section.panel .panel-baslik-link:hover,
section.panel .panel-baslik-link:focus {
  opacity: 0.92;
  transform: translateX(2px);
  outline: 0 !important;
}

section.panel .panel-baslik-link::after {
  content: "›";
  font-size: 1.15em;
  font-weight: 400;
  opacity: 0.75;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

section.panel .panel-baslik-link:hover::after,
section.panel .panel-baslik-link:focus::after {
  opacity: 1;
  transform: translateX(3px);
}

section.panel .panel-baslik-aciklama {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

@media (max-width: 768px) {
  section.panel {
    margin: 20px 0 10px !important;
  }

  section.panel .panel-baslik .left-align {
    padding: 13px 16px 13px 20px;
  }

  section.panel .panel-baslik-link {
    font-size: 18px !important;
  }
}


/* ==== kku-haber.css ==== */
/* Anasayfa Haberler — görsel kartlar */

.kku-haber-zone {
  position: relative;
  padding: 8px 0 28px;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(201, 21, 27, 0.06), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(5, 49, 112, 0.05), transparent 50%),
    #f7f8fa;
  overflow: hidden;
}

.kku-haber-zone .container {
  position: relative;
  z-index: 1;
}

.kku-haber-zone .news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  height: 420px;
  box-shadow: 0 6px 22px rgba(1, 23, 47, 0.08);
  border: 1px solid rgba(1, 23, 47, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.kku-haber-zone .news-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9151b, #053170);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kku-haber-zone .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(1, 23, 47, 0.14);
}

.kku-haber-zone .news-card:hover::after {
  opacity: 1;
}

.kku-haber-zone .news-link,
.kku-haber-zone .news-link:hover,
.kku-haber-zone .news-link:focus,
.kku-haber-zone .news-link:active,
.kku-haber-zone .news-link:visited {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
  outline: 0 !important;
}

.kku-haber-zone .news-link .news-title,
.kku-haber-zone .news-link .news-meta,
.kku-haber-zone .news-link span {
  text-decoration: none !important;
}

.kku-haber-zone .news-image {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #e8eef4;
  flex-shrink: 0;
}

.kku-haber-zone .news-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 18%;
  transform: none;
  transform-origin: center 22%;
  transition: transform 0.7s ease;
}

.kku-haber-zone .news-card:hover .news-image img {
  transform: scale(1.06);
}

.kku-haber-zone .news-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 23, 47, 0) 45%,
    rgba(1, 23, 47, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.kku-haber-zone .news-date-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #053170;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(1, 23, 47, 0.18);
}

.kku-haber-zone .news-date-badge i {
  color: #c9151b;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.kku-haber-zone .news-content {
  padding: 18px 18px 16px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.kku-haber-zone .news-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #01172f;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px !important;
  transition: color 0.25s ease;
}

.kku-haber-zone .news-card:hover .news-title {
  color: #c9151b;
}

.kku-haber-zone .news-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(1, 23, 47, 0.08);
}

.kku-haber-zone .news-cta,
.kku-haber-zone .news-cta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #053170;
  transition: color 0.2s ease, gap 0.2s ease;
}

.kku-haber-zone .news-card:hover .news-cta {
  color: #c9151b;
  gap: 10px;
}

.kku-haber-zone .news-cta i {
  font-size: 12px !important;
}

.kku-haber-zone #kkusliderHaber.carousel {
  position: relative;
  padding-bottom: 72px;
  margin-bottom: 8px;
}

.kku-haber-zone .carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(1, 23, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.kku-haber-zone .carousel-indicators li {
  position: relative !important;
  width: 11px !important;
  height: 11px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(5, 49, 112, 0.22) !important;
  text-indent: -9999px;
  overflow: hidden !important;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.kku-haber-zone .carousel-indicators li.active {
  background: #c9151b !important;
  transform: scale(1.2);
}

.kku-haber-zone .thumb-popup {
  display: none !important;
}

@media (max-width: 991px) {
  .kku-haber-zone .news-card {
    height: 400px;
  }

  .kku-haber-zone .news-image {
    height: 210px;
  }
}

@media (max-width: 767px) {
  .kku-haber-zone {
    padding: 4px 0 18px;
  }

  .kku-haber-zone .news-card {
    height: auto;
    min-height: 0;
  }

  .kku-haber-zone .news-image {
    height: 200px;
  }

  .kku-haber-zone .news-title {
    font-size: 16px;
    -webkit-line-clamp: 3;
  }

  .kku-haber-zone #kkusliderHaber.carousel {
    padding-bottom: 56px;
  }
}


/* ==== kku-duyuru.css ==== */
/* 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: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  line-height: 1.2 !important;
}

.kku-duyuru-date i {
  display: inline-block;
  font-size: 12px !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: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.kku-duyuru-title,
.kku-duyuru-title a {
  margin: 0;
  font-size: 16px !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: 13px !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: 13px !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: 13px;
  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: 14px;
  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: 14px !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;
  }
}


/* ==== kku-etkinlik.css ==== */
/* Anasayfa Etkinlikler takvimi — KKU tema (kırmızı / lacivert) */

.etkinlik-takvimi-section {
  --kku-red: #c9151b;
  --kku-darkred: #9e1b32;
  --kku-navy: #053170;
  --kku-navy-soft: #1d3a5f;
  --kku-gold: #b69a51;
  --kku-paper: #f7f8fa;
  --kku-ink: #01172f;
  --kku-muted: #5c6b7a;

  position: relative;
  padding: 8px 0 28px;
  overflow-x: hidden;
  overflow-y: visible;
  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);
}

.etkinlik-takvimi-section .container {
  position: relative;
  z-index: 1;
}

.etkinlik-takvimi,
.gunun-etkinlikleri {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(1, 23, 47, 0.07);
  box-shadow: 0 6px 22px rgba(1, 23, 47, 0.08);
  overflow: hidden;
  height: 100%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.etkinlik-takvimi {
  padding: 0;
}

/* —— Başlık bandı —— */
.takvim-header {
  margin: 0;
  padding: 14px 16px;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    var(--kku-red) 0%,
    var(--kku-darkred) 42%,
    var(--kku-navy) 100%
  );
  color: #fff;
  box-shadow: 0 4px 14px rgba(158, 27, 50, 0.22);
}

.ay-secici {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  gap: 8px;
}

.ay-yil-baslik {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
  color: #fff;
}

.ay-yil-baslik span {
  margin: 0 4px;
  font-size: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
}

.ay-yil-baslik:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ay-onceki,
.ay-sonraki {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  outline: 0 !important;
  box-shadow: none;
}

.ay-onceki:hover,
.ay-sonraki:hover,
.ay-onceki:focus,
.ay-sonraki:focus {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.05);
  outline: 0 !important;
}

/* —— Takvim gövde —— */
.takvim-govde {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.takvim-gunler {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: linear-gradient(180deg, #eef2f7 0%, #e8edf4 100%);
  border-bottom: 1px solid rgba(5, 49, 112, 0.1);
  flex-shrink: 0;
  gap: 0;
  margin: 0;
}

.gun-baslik {
  text-align: center;
  padding: 10px 0;
  font-weight: 700 !important;
  color: var(--kku-navy);
  text-transform: uppercase;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.04em;
}

.takvim-tarihler {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: rgba(5, 49, 112, 0.08);
  padding: 1px;
  min-height: 0;
}

.tarih {
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  padding: 4px;
  border-radius: 0;
}

.tarih:hover:not(.bos) {
  background: #f4f7fb;
  z-index: 1;
}

.tarih.has-event:hover {
  background: #fff5f5;
  box-shadow: 0 4px 12px rgba(201, 21, 27, 0.14);
  z-index: 2;
}

.tarih.bos {
  background: #f3f5f8;
  cursor: default;
}

.tarih.bugun {
  background: linear-gradient(160deg, rgba(5, 49, 112, 0.08), rgba(201, 21, 27, 0.06));
  box-shadow: inset 0 0 0 2px var(--kku-navy);
}

.tarih.secili {
  background: linear-gradient(160deg, rgba(201, 21, 27, 0.12), rgba(201, 21, 27, 0.05));
  box-shadow: inset 0 0 0 2px var(--kku-red);
  transform: scale(1.04);
  z-index: 2;
}

.tarih.bugun.secili {
  box-shadow: inset 0 0 0 2px var(--kku-red);
}

.gun-numara {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--kku-ink);
  line-height: 1.2 !important;
}

.bugun .gun-numara {
  color: var(--kku-navy);
  font-weight: 800;
}

.has-event .gun-numara {
  color: var(--kku-darkred);
}

.secili .gun-numara {
  color: var(--kku-red);
}

.etkinlik-gosterge {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.event-badge {
  background: linear-gradient(135deg, #e02a30, var(--kku-red));
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(201, 21, 27, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  line-height: 1;
}

/* —— Günün etkinlikleri —— */
.gunun-etkinlikleri {
  padding: 18px 18px 14px;
  position: relative;
}

.gunun-etkinlikleri::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kku-red), var(--kku-navy));
}

.gunun-etkinlikleri h3 {
  margin: 0 0 14px;
  padding: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--kku-navy);
  border-bottom: 1px solid rgba(5, 49, 112, 0.12);
  position: relative;
  z-index: 2;
}

.etkinlik-listesi {
  flex: 1;
  overflow-y: auto;
  overflow-anchor: none;
  position: relative;
  z-index: 2;
  min-height: 120px;
}

.etkinlik-ozet {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--kku-red);
  padding: 12px 14px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(1, 23, 47, 0.06);
  border-left-width: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(1, 23, 47, 0.04);
}

.etkinlik-ozet:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(1, 23, 47, 0.1);
  border-color: rgba(201, 21, 27, 0.2);
  background: #fffafa;
}

.etkinlik-ikon {
  color: var(--kku-red);
  font-size: 18px;
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.etkinlik-detay {
  flex: 1;
  min-width: 0;
}

.etkinlik-detay h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.etkinlik-detay h4 a,
.etkinlik-detay h4 a:visited {
  color: var(--kku-ink);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.etkinlik-detay h4 a:hover,
.etkinlik-detay h4 a:focus {
  color: var(--kku-red);
  text-decoration: none !important;
  outline: 0 !important;
}

.etkinlik-yok {
  color: var(--kku-muted);
  text-align: center;
  padding: 28px 12px;
  font-style: italic;
  margin: 0;
}

.yukleniyor-spinner {
  text-align: center;
  color: var(--kku-navy);
  padding: 24px 12px;
}

.fade-in {
  opacity: 0;
  animation: kkuEtkinlikFadeIn 0.45s ease forwards;
}

@keyframes kkuEtkinlikFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* —— Popover (ay/yıl seçici) —— */
.tarih-secici-popover {
  max-width: 300px;
  padding: 0;
}

.popover-aylar,
.popover-yillar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
}

.popover-aylar .ay-item,
.popover-yillar .yil-item {
  padding: 8px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 13px;
}

.popover-aylar .ay-item:hover,
.popover-yillar .yil-item:hover {
  background: rgba(5, 49, 112, 0.08);
  color: var(--kku-navy);
}

.popover-aylar .ay-item.active,
.popover-yillar .yil-item.active {
  background: linear-gradient(135deg, var(--kku-red), var(--kku-darkred));
  color: #fff;
  font-weight: 700;
}

.popover-secimler {
  display: flex;
  border-bottom: 1px solid rgba(5, 49, 112, 0.12);
}

.popover-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--kku-muted);
  font-size: 13px;
  font-weight: 600;
}

.popover-tab.active {
  border-bottom-color: var(--kku-red);
  color: var(--kku-red);
}

.popover-panel {
  display: none;
}

.popover-panel.active {
  display: block;
}

/* —— Responsive —— */
@media (max-width: 767px) {
  .etkinlik-takvimi-section {
    padding: 4px 0 20px;
  }

  .etkinlik-takvimi,
  .gunun-etkinlikleri {
    min-height: 360px;
    margin-bottom: 12px;
  }

  .gun-baslik {
    font-size: 10px;
    padding: 8px 0;
  }

  .gun-numara {
    font-size: 13px;
  }

  .event-badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .ay-yil-baslik {
    font-size: 16px;
  }

  .ay-onceki,
  .ay-sonraki {
    width: 32px;
    height: 32px;
  }

  .gunun-etkinlikleri h3 {
    font-size: 17px;
  }

  .etkinlik-detay h4 {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .takvim-tarihler {
    gap: 0;
  }

  .gun-numara {
    font-size: 12px;
  }

  .event-badge {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
}


/* ==== kku-sayilarla.css ==== */
/* Anasayfa Sayılarla Biz — KKU tema */

.stats-showcase {
  --kku-red: #c9151b;
  --kku-darkred: #9e1b32;
  --kku-navy: #053170;
  --kku-navy-mid: #1d3a5f;
  --kku-navy-soft: #2c5c9c;
  --kku-gold: #b69a51;
  --kku-paper: #f7f8fa;
  --kku-ink: #01172f;
  --kku-muted: #5c6b7a;

  position: relative;
  padding: 8px 0 36px;
  overflow: hidden;
  z-index: 1;
  background:
    radial-gradient(ellipse 48% 42% at 100% 0%, rgba(201, 21, 27, 0.07), transparent 55%),
    radial-gradient(ellipse 42% 38% at 0% 100%, rgba(5, 49, 112, 0.06), transparent 50%),
    var(--kku-paper);
}

.stats-showcase > .container {
  position: relative;
  z-index: 1;
}

.say-satir > [class*="col-"] {
  display: flex;
  padding: 12px 15px;
}

/* —— Sayaç kartları —— */
.stat-counter-card {
  position: relative;
  border-radius: 14px;
  padding: 22px 18px;
  height: 100%;
  min-height: 168px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 6px 22px rgba(1, 23, 47, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
  margin: 0;
  color: #fff;
}

.stat-counter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(1, 23, 47, 0.18);
}

.primary-card {
  background: linear-gradient(145deg, var(--kku-red) 0%, var(--kku-darkred) 100%);
}

.secondary-card {
  background: linear-gradient(145deg, var(--kku-navy) 0%, var(--kku-navy-mid) 100%);
}

.tertiary-card {
  background: linear-gradient(145deg, var(--kku-navy-soft) 0%, var(--kku-navy) 100%);
}

.quaternary-card {
  background: linear-gradient(145deg, #c9ae68 0%, var(--kku-gold) 55%, #8f7840 100%);
  color: #fff;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-icon i {
  font-size: 22px;
  color: #fff;
}

.card-content h3,
.card-content .count-number {
  font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.15rem) !important;
  font-weight: 800 !important;
  margin: 0;
  line-height: 1.15 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
}

.card-content p {
  font-size: 0.92rem !important;
  margin: 6px 0 0;
  opacity: 0.92;
  color: #fff !important;
  line-height: 1.35 !important;
  font-weight: 500;
}

.card-bg-icon {
  position: absolute;
  bottom: -12px;
  right: -10px;
  font-size: 96px;
  opacity: 0.12;
  transform: rotate(-12deg);
  pointer-events: none;
  color: #fff;
}

/* —— Grafik kartları —— */
.chart-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 12px;
  height: 100%;
  min-height: 400px;
  width: 100%;
  box-shadow: 0 6px 22px rgba(1, 23, 47, 0.08);
  border: 1px solid rgba(1, 23, 47, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* visible: ECharts tooltip / dilim etiketleri hover’da kesilmesin */
  overflow: visible;
  position: relative;
  z-index: 2;
  margin: 0;
}

.chart-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(1, 23, 47, 0.12);
  z-index: 6;
}

/* ECharts hover tooltip — koyu zemin + beyaz yazı (tema CSS ezmesin) */
.stats-showcase div[class*="echarts-tooltip"],
body > div[class*="echarts-tooltip"] {
  color: #fff !important;
  background: rgba(1, 23, 47, 0.92) !important;
  border: 1px solid rgba(201, 21, 27, 0.55) !important;
  box-shadow: 0 8px 24px rgba(1, 23, 47, 0.28) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  z-index: 10050 !important;
  pointer-events: none;
}

.stats-showcase div[class*="echarts-tooltip"] *,
body > div[class*="echarts-tooltip"] * {
  color: #fff !important;
}

.chart-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kku-red), var(--kku-navy));
}

.chart-title {
  text-align: center;
  color: var(--kku-navy) !important;
  font-size: 1.05rem !important;
  margin: 4px 0 14px !important;
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 10px;
  line-height: 1.3 !important;
}

.chart-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--kku-red), var(--kku-navy));
  transform: translateX(-50%);
}

.chart-container {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.chart-container-wide {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

/* —— Bilgi kartları —— */
.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 6px 22px rgba(1, 23, 47, 0.08);
  border: 1px solid rgba(1, 23, 47, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 180px;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin: 0;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(1, 23, 47, 0.12);
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--kku-red), var(--kku-navy));
}

.icon-area {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(201, 21, 27, 0.12), rgba(5, 49, 112, 0.1));
  border: 1px solid rgba(201, 21, 27, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
}

.icon-area i {
  font-size: 28px;
  color: var(--kku-red);
}

.content-area h4 {
  color: var(--kku-navy) !important;
  font-size: 1.05rem !important;
  margin: 0 0 8px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.strong-number {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: var(--kku-red) !important;
  margin: 0 0 6px !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
}

.description {
  color: var(--kku-muted) !important;
  font-size: 0.88rem !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

@media (max-width: 992px) {
  .chart-card {
    min-height: 350px;
  }

  .chart-container {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .stats-showcase {
    padding: 4px 0 24px;
  }

  .stat-counter-card {
    min-height: 148px;
  }

  .info-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }

  .icon-area {
    margin: 0 0 14px 0;
  }
}

