/* =========================
   Etkinlikler Grid (Final)
   İstekler:
   - Radius: 6px
   - Pasif tab: tamamen transparan (bg yok, gölge yok)
   - Hover tab: aktif tab gibi (bg + renk)
   - Kart başlığı kutu içinde değil, altta ortalı
   - Hover zoom yapınca radius bozulmasın
   ========================= */

/* Tabs */
.etk-tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px;                 /* görseldeki gibi aralıklı */
  margin-bottom:44px;
}

.etk-tab{
  border:0 !important;
  outline:0 !important;
  background:transparent !important; /* PASİF: kesinlikle bg yok */
  box-shadow:none !important;        /* PASİF: gölge yok */
  padding: 0px 16px;
  border-radius:6px;
  cursor:pointer;
  font-weight:600;
  font-size:16px;            /* görseldeki gibi iri */
  color: rgb(56, 56, 56);
  line-height:30px;
  transition:background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

/* Hover: aktif gibi görün */
.etk-tab:hover{
  background:#D5B36B !important;
  color:#fff !important;
  box-shadow:0 10px 22px rgba(0,0,0,.10) !important;
  padding: 0px 16px;         /* hover'da aktif hissi */
}

/* Active */
.etk-tab.is-active{
  background:#D5B36B !important;
  color:#fff !important;
  box-shadow:0 10px 22px rgba(0,0,0,.10) !important;
  padding: 0px 16px;
}

/* Grid */
.etk-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:30px;
}

/* Card: kutu yok, sadece görsel + başlık */
.etk-card{
  background:transparent;
}

/* Link */
.etk-card-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

/* Görsel wrapper: radius bozulmasın diye gerekli */
.etk-card-img-wrap{
  border-radius:6px;
  overflow:hidden;           /* zoom'da köşeler keskinleşmesin */
  background:#fff;           /* boşluk olursa beyaz */
}

/* Görsel (zoom bunun üzerinde) */
.etk-card-img{
  height:220px;
  background-size:cover;
  border-radius:6px;
  background-position:center;
  transform:scale(1);
  transition:transform .35s ease;
  will-change:transform;
}

/* Hover zoom (çok hafif) */
.etk-card:hover .etk-card-img{
  transform:scale(1.04);
}

/* Başlık dışarıda altta ortalı */
.etk-card-body{
  padding:12px 0 0;
  text-align:center;
  background:transparent;
}

.etk-card-title{
  margin:0;
  font-size:18px;
  font-weight:600;
  line-height:1.25;
}

/* Excerpt varsa */
.etk-card-excerpt{
  margin:10px 0 0;
  color:#666;
  font-size:14px;
}

/* Responsive */
@media (max-width: 1024px){
  .etk-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .etk-tab{ font-size:18px; }
}

@media (max-width: 576px){
  .etk-grid{ grid-template-columns:1fr; }
  .etk-card-img{ height:200px; }
  .etk-tabs{ gap:16px; }
  .etk-tab{ font-size:16px; }
}

/* Pagination */
.etk-pagination{
  margin-top:26px;
  text-align:center;
}

.etk-pagination .page-numbers{
  display:inline-block;
  padding:8px 12px;
  margin:0 4px;
  border-radius:6px;
  background:#f3f3f3;
  text-decoration:none;
  color:#1a1a1a;
  transition:background-color .2s ease, color .2s ease;
}

.etk-pagination .page-numbers:hover{
  background:#e9e9e9;
}

.etk-pagination .current{
  background:#D5B36B;
  color:#fff;
}

/* =========================
   Single Etkinlik
   ========================= */

.etk-single-wrapper{
  padding:60px 0;
}

.etk-single-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
  align-items:start;
}

.etk-single-image img{
  width:100%;
  height:auto;
  border-radius:6px;
}

.etk-single-title{
  font-size:28px;
  margin-bottom:20px;
}

.etk-single-description{
  margin-bottom:25px;
  line-height:1.6;
}

.etk-single-meta{
  list-style:none;
  padding:0;
  margin:0;
}

.etk-single-meta li{
  margin-bottom:10px;
}

.etk-pdf-button{
  display:inline-block;
  padding:10px 18px;
  background:#D5B36B;
  color:#fff;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  margin-top:10px;
}

.etk-pdf-button:hover{
	color:#ffffff;
	background-color: #EAC575;
}

@media(max-width:992px){
  .etk-single-grid{
    grid-template-columns:1fr;
  }
}

.etk-single-divider{
  height:1px;
  background:rgba(0,0,0,.10);
  margin:22px 0;
}

/* Katılım Butonu */

.etk-katilim-item{
  margin-top:18px;
}

.etk-katilim-btn{
  display:inline-block;
  padding:10px 28px;
             /* kurumsal koyu ton */
  border:1px solid #152644;
  color:#152644;
  text-decoration:none;
  border-radius:6px;
  font-weight:700;
  font-size:16px;
  transition:all .25s ease;
  margin-top:10px
}

.etk-katilim-btn:hover{
  background:#152644;         /* hover'da altın ton */
  color:#fff;
}

/* Butonlar Yan Yana */

.etk-button-row{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap; /* mobilde alta düşsün */
  margin-top:18px;
}

/* PDF butonunu bozmuyoruz sadece küçük düzen */
.etk-pdf-button{
  display:inline-block;
}

/* Katılım butonu zaten vardı */
.etk-katilim-btn{
  display:inline-block;
}

.etk-archive-desc{
  max-width:80%;
  margin:0px auto 50px auto;
  color:#666;
  font-size:16px;
  line-height:1.6;
  text-align:center;
}

.etk-card-date{
  font-size:13px;
  font-weight:500;
  color:#777;
  margin-bottom:6px;
  letter-spacing:.2px;
}

.etk-archive-calendar{
  margin-top:80px;
}