/* .evo-scene{background-image:var(--evo-bg);background-size:cover;background-position:center;padding:24px;border-radius:12px} */
.glass {
    background: rgb(255 255 255 / 12%);
    backdrop-filter: blur(2px);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 17%);
}
.evo-day-list a{ color:#222138; }

.evo-wrap{ display:grid; grid-template-columns:260px 1fr 380px; gap:18px; align-items:stretch; }
@media (max-width:1100px){
  .evo-wrap{ grid-template-columns:1fr; }
  .evo-right{ order:3 } .evo-left{ order:1 } .evo-center{ order:2 }
}

.evo-left{ position:relative; padding:18px 12px; }
.evo-year{ font-weight:800; text-align:center; margin:0 40px; color:#ffffff; }
.evo-year-btn{ position:absolute; top:16px; background:#e9b77f; border:none; color:#fff; width:32px; height:32px; border-radius:5px; cursor:pointer; }
.evo-prev{ left:12px; padding:5px; } .evo-next{ right:12px; padding:5px; }
.evo-prev:hover{ color:#fff!important; background-color:#222138!important; text-decoration:none; }
.evo-next:hover{ color:#fff!important; background-color:#222138!important; text-decoration:none; }

.evo-months{ list-style:none; margin:12px 0 8px; padding:0; height:520px; overflow:auto; }
.evo-months li{ padding:8px 10px; border-radius:5px; margin:2px 0; cursor:pointer; color:#ffffff; background:transparent; transition:.2s; }
.evo-months li.active, .evo-months li:hover{ background:#ffffff; color:#222138; font-weight:500; }

.evo-all{
  display:inline-block; font-weight:400; color:#ffffff!important; text-align:center; white-space:nowrap;
  user-select:none; background:transparent; border:1px solid #ffffff!important; padding:8px 1rem; font-size:1rem;
  border-radius:3px; transition:all .3s; width:235px;
}
.evo-all:hover, .evo-all:focus{ color:#fff!important; background-color:#222138!important; text-decoration:none; }

.evo-center{ padding:16px; }
.evo-month-title{ font-weight:800; text-align:center; margin:6px 0 12px; color:#fff; letter-spacing:1px; }
.evo-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:10px; }
.evo-grid .dow{ color:#ffffff; text-align:center; font-size:12px; }

.evo-day{
  background:#fffffff0; border:1px solid #eee; border-radius:5px; height:72px; position:relative; display:flex;
  align-items:center; justify-content:center; cursor:pointer; transition:all .15s; color:#222138!important;
}
.evo-day:hover{ transform:translateY(-1px); box-shadow:0 4px 10px rgba(0,0,0,.08); color:#222138!important; background-color:#e9b77f!important; text-decoration:none; }
.evo-day.muted{ opacity:.35; cursor:default; }
.evo-day.selected{ outline:2px solid #222138; background:#222138; color:#fff!important; font-weight:700; font-size:20px; }

.evo-dot{ position:absolute; width:8px; height:8px; border-radius:50%; left:8px; bottom:10px; background:#f4c542; border:1px solid #fff; }

.evo-right{ padding:16px; }
.evo-day-title{ font-size:22px; font-weight:800; margin:6px 0 14px; color:#ffffff; }

.evo-event{
  padding:12px 6px; border-left:3px solid #eee; margin-left:6px; position:relative; display:grid;
  grid-template-columns:56px 1fr; gap:10px; align-items:start; background:#fff; border-radius:5px;
}
.evo-event+.evo-event{ margin-top:10px; }
.evo-thumb{ width:56px; height:56px; border-radius:8px; background:#eee; object-fit:cover; image-rendering:auto; }
.evo-event .bullet{
  position:absolute; left:-10px; top:22px; width:10px; height:10px; border-radius:50%; background:#f4c542; border:3px solid #fff; box-shadow:0 0 0 2px #eee;
}
.evo-event h4{ margin:0 0 4px; font-size:16px; }
.evo-event .meta{ font-size:13px; color:#666; }

.uel{ padding:16px; }
.uel-top{ display:flex; gap:10px; margin-bottom:16px; }
.uel-search{ flex:1; height:44px; border:1px solid #ddd; border-radius:5px; padding:0 12px; }
.uel-cat{ width:220px; height:44px; border:1px solid #ddd; border-radius:5px; padding:0 10px; background:#fff; }
.uel-btn{ height:44px; border:none; border-radius:8px; background:#222138; color:#fff; padding:0 16px; cursor:pointer; }
.uel-btn:hover{ background:#e9b77f!important; }

.uel-list .uel-item{
  display:grid; grid-template-columns:30% 70%; gap:18px; align-items:stretch; background:#fff; border:1px solid #eee; border-radius:5px; padding:14px; margin-bottom:12px;
}
@media (max-width:900px){ .uel-list .uel-item{ grid-template-columns:1fr; } }

.uel-thumb{ width:100%; height:260px; border-radius:5px; background:#eee; object-fit:cover; image-rendering:auto; }
.uel-body{ display:flex; flex-direction:column; gap:6px; }
.uel-catpill{
  display:inline-flex; align-items:center; gap:6px; font-size:17px; font-weight:600; padding:8px 8px; border-radius:5px;
  border:1px solid transparent; background:#fafafa; width:296px; font-family:'Source Sans Pro'; letter-spacing:1px;
}
.uel-title a{ margin:0; font-size:28px; color:#222138!important; padding-top:12px; padding-bottom:11px; }
.uel-meta{ font-size:17px; color:#151414; }
.uel-links{ display:flex; gap:10px; margin-top:6px; }
.uel-links a{ color:#6c54a1; }

.uel-pager{ display:flex; gap:10px; align-items:center; justify-content:flex-end; margin-top:10px; }
.uel-pager button{
  height:36px; padding:0 10px; border:1px solid #ddd; border-radius:8px; background:#fff; cursor:pointer; color:#222138;
}
.uel-pager button[disabled]{ opacity:.5; cursor:not-allowed; }
.uel-pager .info{ font-size:14px; color:#666; }

.evo-modal{ position:fixed; inset:0; display:none; z-index:9999; align-items:center; justify-content:center; }
.evo-modal.active{ display:flex; }
.evo-modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.45); backdrop-filter:blur(2px); }
.evo-modal__content{ position:relative; width:800px; height:800px; background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.25); overflow:auto; }
.evo-modal__close{ position:sticky; left:calc(100% - 36px); top:8px; border:none; background:transparent; font-size:28px; cursor:pointer; z-index:2; }
.evo-modal__body{ display:grid; grid-template-columns:300px 1fr; gap:18px; padding:18px; }
.evo-modal__body img{ width:100%; height:260px; object-fit:cover; border-radius:10px; background:#eee; }
.evo-modal__title{ margin:0 0 8px; font-size:24px; }
.evo-modal__meta{ font-size:14px; color:#666; margin-bottom:6px; }

/* =========================================================
   MOBİL DÜZEN (≤768px): SADECE SAĞ PANEL + TAŞMA/SCROLL FİX
   ========================================================= */
@media (max-width:768px){
  /* Genel taşmaları engelle */
  .evo-scene, .evo-wrap{ max-width:100%; overflow-x:hidden; }
  .evo-scene{ padding:12px!important; }
  .evo-scene *{ box-sizing:border-box; }

  /* Sol ve Orta panel gizli; tek sütun */
  .evo-left, .evo-center{ display:none!important; }
  .evo-wrap{ grid-template-columns:1fr!important; gap:12px; }

  /* Sağ panel tam genişlik */
  .evo-right{
    width:100%!important; max-width:100%!important; margin:0 auto!important;
    padding:0 10px!important;
  }
  .evo-right .evo-day-list{ overflow-x:hidden; }

  /* Etkinlik kartı: taşma ve yana scroll’u bitir */
  .evo-day-list .evo-event{
    grid-template-columns:1fr;   /* tek kolon */
    margin-left:0!important;     /* soldaki ekstra boşluğu kaldır */
    padding:12px;
    overflow:hidden;
  }
  /* Bullet’ı içeri al (dışarı taşmayıp scroll yaratmasın) */
  .evo-day-list .evo-event .bullet{
    left:6px!important;
    box-shadow:none;
  }

  /* Kart görseli mobil boyut */
  .evo-event .evo-thumb{
    width:100%!important; height:180px!important; object-fit:cover;
  }

  /* Uzun metinler satır kırabilsin */
  .evo-event h4, .evo-event .meta, .evo-day-list a{
    overflow-wrap:anywhere; word-break:break-word;
  }

  /* (İstenecek davranış) Sadece ilk görsel görünsün */
  .evo-day-list .evo-event img:not(:first-child){ display:none!important; }

  /* Modal tam ekran */
  .evo-modal__content{
    width:100vw; max-width:100vw; height:100vh; max-height:100vh; border-radius:0;
  }
  .evo-modal__close{ position:absolute; right:8px; top:8px; left:auto; }
}

/* Çok küçük ekranlar (≤480px): tipografiyi sıkıştır */
@media (max-width:480px){
  .evo-year{ font-size:16px; }
  .evo-months li{ font-size:13px; padding:6px 8px; }
  .evo-grid .dow{ font-size:10px; }
  .evo-day{ min-height:40px; font-size:13px; }
  .evo-day-title{ font-size:16px; }
  .evo-event h4{ font-size:16px; }
  .uel-title{ font-size:17px; }
  .evo-event .bullet{ width:8px; height:8px; }
}

/* === UEC EVO – Mobil: ORTA + SAĞ aktif, SOL gizli; overflow fix === */
@media (max-width: 768px){
  /* 0) Güvenlik ağı (scroll taşmasını kapat) */
  .evo-scene, .evo-wrap{ max-width:100%; overflow-x:hidden; }
  .evo-scene *{ box-sizing:border-box; }

  /* 1) Sütun davranışı */
  .evo-left{ display:none !important; }            /* SOL gizli */
  .evo-center{ display:block !important; order:1; }/* ORTA açık */
  .evo-right{  display:block !important; order:2;  /* SAĞ açık */
               width:100% !important; max-width:100% !important;
               margin:0 auto !important; padding:0 10px !important; }
  .evo-wrap{ grid-template-columns: 1fr !important; gap:12px; }

  /* 2) Takvim ızgarası mobil uyum */
  .evo-grid{
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 6px;
  }
  .evo-grid > *{ min-width: 0; }
  .evo-day{ min-width:0; height:56px; border-radius:8px; }

  /* 3) Sağ panel liste: kart taşmalarını durdur */
  .evo-right .evo-day-list{ overflow-x:hidden; }
  .evo-day-list .evo-event{
    grid-template-columns: 1fr;   /* tek kolon */
    margin-left: 0 !important;    /* soldaki 6px’i kaldır */
    padding: 12px;
    overflow: hidden;
  }
  /* dışarı taşan yuvarlak nokta (bullet) içeri alınır */
  .evo-day-list .evo-event .bullet{
    left: 6px !important;
    box-shadow: none;
  }
  .evo-event .evo-thumb{
    width: 100% !important; height: 180px !important; object-fit: cover;
  }
  .evo-event h4, .evo-event .meta, .evo-day-list a{
    overflow-wrap: anywhere; word-break: break-word;
  }

  /* 4) (İstersen) mobilde sadece ilk görsel görünsün */
  .evo-day-list .evo-event img:not(:first-child){ display:none !important; }

  /* 5) Modal tam ekran ve taşmasız */
  .evo-modal__content{
    width:100vw; max-width:100vw; height:100vh; max-height:100vh; border-radius:0;
  }
  .evo-modal__close{ position:absolute; right:8px; top:8px; left:auto; }
}