/* Kadirli Mobil — halka açık portal tasarım sistemi (mobil öncelikli, açık/koyu tema)
   Tek dosya, framework yok. Sınıf adları README'de listelenmiştir. */

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;font-family:Inter,"Segoe UI",Roboto,-apple-system,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.45;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;width:100%}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,ul,ol,figure{margin:0;padding:0}
ul,ol{list-style:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
:focus-visible{outline:3px solid var(--chip);outline-offset:2px;border-radius:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ico{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Tema ---------- */
:root{
  --bg:#F6F7F9;--surface:#fff;--surface2:#F0F2F5;--line:#E5E7EB;--text:#111827;--sub:#6B7280;
  --accent:#0F766E;--chip:#14B8A6;--danger:#DC2626;--up:#15803D;--yellow:#E5B450;--yellow-text:#1f1500;
  --shadow:0 1px 2px rgba(16,24,40,.05),0 6px 20px rgba(16,24,40,.07);--r:18px;--r-sm:12px;
  --gutter:16px;--wrap:1280px;--nav-h:56px;
}
:root[data-theme="dark"]{
  --bg:#0F1114;--surface:#1A1D23;--surface2:#22262D;--line:#2A2D34;--text:#F3F4F6;--sub:#9CA3AF;
  --accent:#2DD4BF;--chip:#2DD4BF;--danger:#F87171;--up:#4ADE80;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0F1114;--surface:#1A1D23;--surface2:#22262D;--line:#2A2D34;--text:#F3F4F6;--sub:#9CA3AF;
    --accent:#2DD4BF;--chip:#2DD4BF;--danger:#F87171;--up:#4ADE80;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);
  }
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---------- Yerleşim ---------- */
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
main{display:block;padding-bottom:16px}
.stack>*+*{margin-top:20px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);transition:transform .15s ease,border-color .15s}
.card:hover{transform:translateY(-2px);border-color:var(--accent)}
.sec-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 14px}
.sec-h h2{font-size:1.25rem;font-weight:800;letter-spacing:-.01em;display:flex;align-items:center;gap:10px}
.sec-h h2::before{content:"";width:5px;height:1.1em;border-radius:3px;background:var(--accent)}
.sec-h a{font-size:.9rem;font-weight:700;color:var(--accent);display:inline-flex;align-items:center;gap:4px}
.sec-h a .ico{width:16px;height:16px}
.slider + .sec-h{margin-top:24px}

/* ---------- Üst bilgi (masaüstü) ---------- */
.topbar{display:none;background:var(--surface2);border-bottom:1px solid var(--line);font-size:.82rem;color:var(--sub)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;height:38px;gap:16px}
.topbar .l,.topbar .r{display:flex;align-items:center;gap:18px}
.topbar .pill{display:inline-flex;align-items:center;gap:6px;color:var(--text);font-weight:600}
.topbar .pill .ico{width:16px;height:16px;color:var(--accent)}
.topbar a:hover{color:var(--accent)}

/* ---------- Başlık ---------- */
.hdr{background:var(--surface);border-bottom:1px solid var(--line)}
.hdr-main{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.logo{display:block;flex:none}
.logo img{height:52px;width:auto;max-width:62vw;object-fit:contain}
.hdr-actions{display:flex;align-items:center;gap:8px}
.iconbtn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--surface2);border:1px solid var(--line);color:var(--text)}
.iconbtn:hover{border-color:var(--accent);color:var(--accent)}
.theme-ico-sun{display:none}
:root[data-theme="dark"] .theme-ico-sun{display:block}
:root[data-theme="dark"] .theme-ico-moon{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .theme-ico-sun{display:block}:root:not([data-theme="light"]) .theme-ico-moon{display:none}}

.search{display:flex;align-items:center;gap:8px;height:54px;padding:0 6px 0 16px;background:var(--surface);border:1.5px solid var(--line);border-radius:999px;box-shadow:var(--shadow);position:relative}
.search:focus-within{border-color:var(--accent)}
.search .ico{color:var(--sub)}
.search input{flex:1;min-width:0;height:100%;background:none;border:0;outline:0;font-size:1rem}
.search input::placeholder{color:var(--sub)}
.hdr .search{display:none}
.wa-btn{display:none}

/* Autocomplete dropdown */
.search-autocomplete{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:100;max-height:400px;overflow-y:auto}
.search-section{border-bottom:1px solid var(--line)}
.search-section:last-of-type{border-bottom:0}
.search-section-title{padding:10px 16px 6px;font-size:0.7rem;font-weight:800;letter-spacing:0.05em;color:var(--sub);text-transform:uppercase}
.search-result-item{display:block;padding:10px 16px;font-size:0.9rem;color:var(--text);transition:background 0.15s}
.search-result-item:hover{background:var(--surface2);color:var(--accent)}
.search-view-all{display:block;padding:12px 16px;font-size:0.9rem;font-weight:700;color:var(--accent);text-align:center;border-top:1px solid var(--line)}
.search-view-all:hover{background:var(--surface2)}

/* ---------- Ana menü (masaüstü) ---------- */
.nav{display:none;background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60}
.nav ul.m{display:flex;align-items:center;gap:2px;height:var(--nav-h)}
.nav li.mi{position:relative}
.nav a.ml{display:flex;align-items:center;gap:6px;height:var(--nav-h);padding:0 14px;font-weight:700;font-size:.95rem;color:var(--text);border-bottom:3px solid transparent}
.nav a.ml:hover,.nav li:focus-within>a.ml,.nav a.ml[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}
.nav a.ml .ico{width:14px;height:14px}
.drop{position:absolute;left:0;top:100%;min-width:220px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:0 0 var(--r) var(--r);box-shadow:var(--shadow);display:none}
.mi:hover>.drop,.mi:focus-within>.drop{display:block}
.drop a{display:block;padding:9px 12px;border-radius:10px;font-weight:600;font-size:.92rem}
.drop a:hover{background:var(--surface2);color:var(--accent)}
/* Mega menu removed - see desktop-fix section */
.mi:hover>.mega,.mi:focus-within>.mega{display:grid;opacity:1}
.mega a{display:flex;align-items:center;gap:10px}
.mega img{width:30px;height:30px;object-fit:contain}

/* ---------- Son Dakika şeridi ---------- */
.ticker{display:flex;align-items:center;gap:10px;margin-top:16px;padding:8px 12px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--danger);border-radius:var(--r);box-shadow:var(--shadow);min-height:40px}
.ticker .flash-icon{flex:none;width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--danger)}
.ticker .flash-icon svg{width:20px;height:20px}
.ticker span{flex:1;min-width:0;font-weight:600;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ticker .ico.go{color:var(--sub);width:18px;height:18px;flex:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (min-width:1024px){
  .ticker span{font-size:.9rem}
  .ticker{min-height:44px;padding:8px 14px}
}
@media (prefers-reduced-motion:no-preference){
  .ticker .flash-icon{animation:pulse 2s ease-in-out infinite}
}
@keyframes pulse{
  0%, 100%{opacity:1}
  50%{opacity:0.7}
}

/* ---------- Haberler Sayfası - Professional News Portal ---------- */

/* Main Container */
.haberler-container{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:0 16px;
}

/* Breaking News Ticker */
.breaking-ticker{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  background:var(--danger);
  color:#fff;
  border-radius:10px;
  margin:12px 0;
  font-weight:700;
  font-size:0.9rem;
  transition:transform .2s;
  min-height:48px;
}
.breaking-ticker:hover{
  transform:translateY(-1px);
}
.breaking-ticker-icon{
  width:18px;
  height:18px;
  flex-shrink:0;
  animation:pulse 1.5s ease-in-out infinite;
}
.breaking-ticker-text{
  flex:1;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:0.9rem;
  line-height:1.3;
}
.breaking-ticker-arrow{
  width:16px;
  height:16px;
  flex-shrink:0;
}

/* Category Navigation */
.haberler-cats{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:12px 0;
  margin:0 -16px;
  padding-left:16px;
  padding-right:16px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.haberler-cats::-webkit-scrollbar{
  display:none;
}
.haberler-cat{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1.5px solid var(--line);
  color:var(--text);
  font-weight:700;
  font-size:0.85rem;
  background:var(--surface);
  white-space:nowrap;
  transition:all .2s;
}
.haberler-cat .ico{
  width:16px;
  height:16px;
}
.haberler-cat:hover{
  background:var(--surface2);
  transform:translateY(-1px);
}
.haberler-cat.active{
  background:var(--chip);
  border-color:var(--chip);
  color:#fff;
}
:root[data-theme="dark"] .haberler-cat.active{
  color:#06201c;
}

/* Hero Section - Mobile First */
.haberler-hero{
  display:grid;
  gap:12px;
  margin:16px 0;
}

/* Main Featured News */
.hero-main{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:var(--surface2);
  aspect-ratio:16/10;
  display:block;
}
.hero-main-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.hero-main-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-main-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.88) 0%,rgba(0,0,0,0.4) 50%,transparent 100%);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:16px;
}
.hero-main-tag{
  display:inline-flex;
  padding:5px 11px;
  border-radius:6px;
  font-size:0.65rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.5px;
  background:rgba(255,255,255,0.95);
  color:#000;
  margin-bottom:10px;
  width:fit-content;
}
.hero-main-title{
  font-size:1.3rem;
  font-weight:900;
  line-height:1.25;
  color:#fff;
  margin:0 0 8px;
  text-shadow:0 2px 12px rgba(0,0,0,0.6);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.hero-main-meta{
  font-size:0.8rem;
  color:rgba(255,255,255,0.92);
  text-shadow:0 1px 4px rgba(0,0,0,0.4);
}
.hero-main:hover .hero-main-img img{
  transform:scale(1.05);
  transition:transform 0.3s;
}

/* Secondary News */
.hero-secondary{
  display:grid;
  gap:10px;
}
.hero-sec-item{
  display:flex;
  gap:10px;
  padding:10px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:10px;
  align-items:center;
  transition:all .2s;
}
.hero-sec-item:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
}
.hero-sec-img{
  position:relative;
  width:90px;
  height:68px;
  flex-shrink:0;
  border-radius:8px;
  overflow:hidden;
  background:var(--surface2);
}
.hero-sec-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-sec-tag{
  position:absolute;
  bottom:3px;
  left:3px;
  padding:2px 6px;
  border-radius:4px;
  font-size:0.55rem;
  font-weight:700;
  color:#fff;
  text-transform:uppercase;
}
.hero-sec-content{
  flex:1;
  min-width:0;
}
.hero-sec-title{
  font-size:0.9rem;
  font-weight:700;
  line-height:1.35;
  color:var(--text);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.hero-sec-item:hover .hero-sec-title{
  color:var(--accent);
}

/* Latest News Section */
.haberler-latest{
  margin:20px 0;
  padding:16px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
}
.haberler-latest-title{
  font-size:1.1rem;
  font-weight:800;
  color:var(--text);
  margin:0 0 12px;
  display:flex;
  align-items:center;
  gap:8px;
}
.haberler-latest-title::before{
  content:"";
  width:4px;
  height:1.1em;
  background:var(--accent);
  border-radius:2px;
}
.haberler-latest-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.latest-item{
  display:flex;
  gap:10px;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid var(--line);
  transition:color .15s;
}
.latest-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}
.latest-item:hover{
  color:var(--accent);
}
.latest-dot{
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  flex-shrink:0;
  margin-top:2px;
}
.latest-text{
  flex:1;
  font-size:0.85rem;
  font-weight:600;
  line-height:1.4;
  color:var(--text);
}
.latest-item:hover .latest-text{
  color:var(--accent);
}

/* Sports Widgets */
.spor-widgets{
  display:grid;
  gap:20px;
  margin:24px 0;
}
.spor-widget{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px;
}
.spor-widget-title{
  font-size:1.1rem;
  font-weight:800;
  color:var(--text);
  margin:0 0 14px;
  display:flex;
  align-items:center;
  gap:8px;
}
.spor-widget-title svg{
  color:var(--accent);
}

/* Puan Durumu Table */
.puan-table{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.puan-body{
  display:flex;
  flex-direction:column;
}
.puan-header,.puan-row{
  display:grid;
  grid-template-columns:32px minmax(110px,1fr) repeat(4,32px) 40px;
  gap:6px;
  align-items:center;
  padding:8px 6px;
  font-size:0.8rem;
}
.puan-header{
  background:var(--surface2);
  border-radius:6px;
  font-weight:800;
  color:var(--sub);
  text-transform:uppercase;
  font-size:0.7rem;
  padding:6px;
  margin-bottom:4px;
}
.puan-row{
  border-bottom:1px solid var(--line);
  padding:10px 6px;
}
.puan-row:last-child{
  border-bottom:none;
}
.puan-col-sira{
  text-align:center;
  font-weight:700;
  color:var(--accent);
  font-size:0.85rem;
}
.puan-col-takim{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  color:var(--text);
  min-width:0;
  font-size:0.8rem;
}
.puan-col-takim span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.puan-logo{
  width:18px;
  height:18px;
  object-fit:contain;
  flex-shrink:0;
}
.puan-col-stat{
  text-align:center;
  color:var(--sub);
  font-size:0.75rem;
}
.puan-col-puan{
  text-align:center;
  font-weight:800;
  color:var(--text);
  font-size:0.85rem;
}
.puan-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px;
  margin-top:10px;
  background:var(--surface2);
  border:1px solid var(--line);
  border-radius:8px;
  font-weight:700;
  font-size:0.8rem;
  color:var(--text);
  cursor:pointer;
  transition:all .2s;
}
.puan-toggle:hover{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}
.puan-toggle svg{
  transition:transform .3s;
}

/* Fikstur List */
.fikstur-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fikstur-item{
  padding:12px;
  background:var(--surface2);
  border-radius:8px;
  border:1px solid var(--line);
}
.fikstur-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
  font-size:0.7rem;
  color:var(--sub);
}
.fikstur-hafta{
  font-weight:700;
  color:var(--accent);
}
.fikstur-match{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  align-items:center;
}
.fikstur-takim{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.85rem;
  font-weight:700;
  color:var(--text);
  min-width:0;
}
.fikstur-takim:last-child{
  flex-direction:row-reverse;
  text-align:right;
}
.fikstur-takim span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fikstur-logo{
  width:22px;
  height:22px;
  object-fit:contain;
  flex-shrink:0;
}
.fikstur-vs{
  text-align:center;
  font-weight:800;
  color:var(--sub);
  font-size:0.8rem;
}
.fikstur-skor{
  color:var(--accent);
  font-size:1rem;
}

/* News Grid Section */
.haberler-section{
  margin:24px 0;
}
.haberler-section-title{
  font-size:1.25rem;
  font-weight:900;
  color:var(--text);
  margin:0 0 16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.haberler-section-title::before{
  content:"";
  width:4px;
  height:1.15em;
  background:var(--accent);
  border-radius:2px;
}
.haberler-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

/* News Card - Mobile Horizontal */
.haberler-card{
  display:flex;
  gap:10px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  transition:all .2s;
  min-height:100px;
}
.haberler-card:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
}
.haberler-card-img{
  position:relative;
  width:110px;
  min-width:110px;
  height:auto;
  background:var(--surface2);
  align-self:center;
  margin:8px 0 8px 8px;
  border-radius:8px;
  overflow:hidden;
}
.haberler-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
}
.haberler-card-tag{
  position:absolute;
  top:5px;
  left:5px;
  padding:3px 7px;
  border-radius:5px;
  font-size:0.6rem;
  font-weight:700;
  color:#fff;
  text-transform:uppercase;
}
.haberler-card-content{
  flex:1;
  min-width:0;
  padding:12px 12px 12px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}
.haberler-card-title{
  font-size:0.9rem;
  font-weight:700;
  line-height:1.35;
  color:var(--text);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.haberler-card:hover .haberler-card-title{
  color:var(--accent);
}
.haberler-card-meta{
  font-size:0.7rem;
  color:var(--sub);
}

/* Empty State */
.haberler-empty{
  text-align:center;
  padding:40px 20px;
  color:var(--sub);
}
.haberler-empty svg{
  width:48px;
  height:48px;
  margin:0 auto 12px;
  opacity:0.3;
}

/* Load More */
.haberler-loadmore{
  text-align:center;
  margin:24px 0;
}
.haberler-loadmore-btn{
  padding:12px 32px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:10px;
  font-weight:700;
  font-size:0.9rem;
  cursor:pointer;
  transition:all .2s;
}
.haberler-loadmore-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* Tablet Styles */
@media (min-width:768px){
  .haberler-container{
    padding:0 20px;
  }

  .breaking-ticker{
    margin:16px 0;
    padding:14px 20px;
    font-size:0.95rem;
  }

  .haberler-cats{
    padding:16px 0;
    margin:0;
    flex-wrap:wrap;
    overflow:visible;
  }

  .haberler-cat{
    height:40px;
    padding:0 16px;
    font-size:0.9rem;
  }

  .haberler-hero{
    margin:20px 0;
    gap:16px;
  }

  .hero-main{
    aspect-ratio:16/9;
  }

  .hero-main-overlay{
    padding:20px;
  }

  .hero-main-title{
    font-size:1.6rem;
  }

  .hero-sec-img{
    width:100px;
    height:75px;
  }

  .haberler-latest{
    margin:24px 0;
    padding:18px;
  }

  .spor-widgets{
    grid-template-columns:repeat(2,1fr);
    margin:28px 0;
  }

  .haberler-section{
    margin:28px 0;
  }

  .haberler-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }

  .haberler-card{
    flex-direction:column;
    min-height:auto;
  }

  .haberler-card-img{
    width:100%;
    height:160px;
    margin:0;
    border-radius:0;
  }

  .haberler-card-img img{
    border-radius:0;
  }

  .haberler-card-tag{
    top:8px;
    left:8px;
    padding:4px 10px;
    font-size:0.65rem;
  }

  .haberler-card-content{
    padding:14px;
  }

  .haberler-card-title{
    font-size:0.95rem;
    -webkit-line-clamp:2;
  }

  .puan-header,.puan-row{
    grid-template-columns:35px minmax(140px,1fr) repeat(4,35px) 45px;
    gap:8px;
    padding:10px 8px;
  }

  .puan-col-takim{
    font-size:0.85rem;
  }

  .fikstur-takim{
    font-size:0.9rem;
  }
}

/* Desktop Professional Layout */
@media (min-width:1024px){
  .haberler-container{
    padding:0 24px;
  }

  .breaking-ticker{
    margin:20px 0;
  }

  .haberler-cats{
    padding:20px 0;
  }

  /* Hero Grid - 2 Column */
  .haberler-hero{
    grid-template-columns:62% 38%;
    gap:20px;
    margin:24px 0;
  }

  .hero-main{
    aspect-ratio:unset;
    min-height:420px;
  }

  .hero-main-overlay{
    padding:24px;
  }

  .hero-main-tag{
    padding:6px 14px;
    font-size:0.72rem;
  }

  .hero-main-title{
    font-size:1.85rem;
    margin-bottom:10px;
  }

  .hero-main-meta{
    font-size:0.88rem;
  }

  .hero-secondary{
    gap:0;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:14px;
    overflow:hidden;
    padding:0;
  }

  .hero-sec-item{
    border:none;
    border-radius:0;
    border-bottom:1px solid var(--line);
    padding:14px 12px;
    background:transparent;
  }

  .hero-sec-item:last-child{
    border-bottom:none;
  }

  .hero-sec-item:hover{
    background:var(--surface2);
    transform:none;
    box-shadow:none;
  }

  .hero-sec-img{
    width:105px;
    height:78px;
  }

  .hero-sec-title{
    font-size:0.88rem;
  }

  /* Latest News Horizontal */
  .haberler-latest{
    margin:32px 0;
    padding:20px;
  }

  .haberler-latest-list{
    flex-direction:row;
    flex-wrap:wrap;
    gap:24px;
  }

  .latest-item{
    flex:1;
    min-width:180px;
    border-bottom:none;
    border-right:1px solid var(--line);
    padding:0 18px 0 0;
  }

  .latest-item:last-child{
    border-right:none;
    padding-right:0;
  }

  .spor-widgets{
    margin:32px 0;
  }

  /* News Grid - 4 Columns */
  .haberler-section{
    margin:32px 0;
  }

  .haberler-grid{
    grid-template-columns:repeat(4,1fr);
    gap:18px;
  }

  .haberler-card-img{
    height:150px;
  }

  .haberler-card-title{
    font-size:0.9rem;
    -webkit-line-clamp:3;
  }
}

/* Wide Desktop */
@media (min-width:1280px){
  .hero-main{
    min-height:440px;
  }

  .hero-main-title{
    font-size:2rem;
  }

  .hero-sec-img{
    width:115px;
    height:82px;
  }

  .hero-sec-title{
    font-size:0.9rem;
  }

  .haberler-card-img{
    height:160px;
  }
}
/* ---------- Hero: slider + son dakika listesi ---------- */
.hero{display:grid;gap:16px;margin-top:16px}
.slider{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:var(--surface2);box-shadow:var(--shadow);isolation:isolate}
.slider.compact{aspect-ratio:21/9;border-radius:16px;max-height:360px}
@media (max-width:767px){
  .slider.compact{aspect-ratio:16/9;max-height:280px}
}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;display:block}
.slide.on{opacity:1;z-index:1}
.slide img{width:100%;height:100%;object-fit:cover}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.25) 45%,rgba(0,0,0,0) 70%)}
.slide .cap{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px 16px 34px;color:#fff}
.slide .tag{display:inline-block;margin-bottom:8px;padding:3px 10px;border-radius:999px;background:var(--danger);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.slide h2{font-size:clamp(1.05rem,2.6vw,1.9rem);line-height:1.2;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.5);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.slider.compact .slide h2{font-size:clamp(0.95rem,2.2vw,1.4rem);-webkit-line-clamp:2}
.slider.compact .slide .cap{padding:12px 16px 28px}
.s-count{position:absolute;top:12px;right:12px;z-index:3;padding:5px 12px;border-radius:999px;background:rgba(15,17,20,.72);color:#fff;font-weight:800;font-size:.8rem;backdrop-filter:blur(6px)}
.dots{position:absolute;left:0;right:0;bottom:12px;z-index:3;display:flex;justify-content:center;gap:7px}
.dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);padding:0}
.dots button[aria-current="true"]{width:22px;border-radius:5px;background:#fff}
.s-nav{display:none;position:absolute;top:50%;z-index:3;width:46px;height:46px;border-radius:50%;background:rgba(15,17,20,.55);color:#fff;place-items:center;transform:translateY(-50%);backdrop-filter:blur(6px)}
.s-nav:hover{background:rgba(15,17,20,.85)}
.s-prev{left:14px}.s-next{right:14px}
.side{display:none;padding:6px 4px;overflow:hidden}
.side h3{display:flex;align-items:center;gap:8px;padding:12px 14px 6px;font-size:1rem;font-weight:800}
.side h3 i{width:9px;height:9px;border-radius:50%;background:var(--danger);box-shadow:0 0 0 4px color-mix(in srgb,var(--danger) 22%,transparent)}
.side a{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding:9px 14px;border-radius:14px}
.side a:hover{background:var(--surface2)}
.side img{width:76px;height:56px;border-radius:10px;object-fit:cover}
.side strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.9rem;line-height:1.3}
.side time{display:block;margin-top:3px;font-size:.75rem;color:var(--sub)}

/* ---------- Ana + yan sütun ---------- */
.layout{display:grid;gap:24px;margin-top:4px}
.aside{display:grid;gap:16px;align-content:start}

/* ---------- Haber kartı (mobil: APK gibi yatay) ---------- */
.news-grid{display:grid;gap:12px}
.ncard{--c:var(--chip);display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:14px;align-items:stretch;padding:14px 14px 14px 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);position:relative;overflow:hidden;transition:transform .15s ease,border-color .15s}
.ncard::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--c)}
.ncard:hover{border-color:var(--c);transform:translateY(-2px)}
.nbody{min-width:0;display:flex;flex-direction:column;gap:6px}
.ncat{font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--c)}
.ncard h3{font-size:1.02rem;line-height:1.25;font-weight:800;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ncard p{font-size:.88rem;color:var(--sub);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nmeta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.78rem;color:var(--sub)}
.nmeta .src{display:inline-flex;align-items:center;gap:6px;min-width:0}
.nmeta .src .ico{width:15px;height:15px}
.nimg{width:112px;align-self:start}
.nimg img{width:112px;height:112px;object-fit:cover;border-radius:14px}

/* ---------- Şehir Rehberi kutuları: ikon solda, isim sağda ---------- */
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tile{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 10px;border-radius:12px;background:var(--c);color:#fff;font-weight:700;font-size:.8rem;line-height:1.2;box-shadow:var(--shadow);transition:transform .15s ease,filter .15s}
.tile:hover{transform:translateY(-2px);filter:brightness(1.07)}
.tile img{width:30px;height:30px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.tile span{min-width:0;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-wrap:break-word;hyphens:auto}
@media (max-width:359px){
  .tile{font-size:.76rem;padding:6px 8px;min-height:46px}
  .tile img{width:28px;height:28px}
}
@media (min-width:768px){
  .tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .tile{min-height:52px;padding:8px 12px;font-size:.85rem}
  .tile img{width:32px;height:32px}
}
@media (min-width:1024px){
  .tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .tile{min-height:56px;padding:10px 14px;font-size:.88rem}
  .tile img{width:36px;height:36px}
}

/* ---------- Reklam ---------- */
.ad{position:relative;display:block;aspect-ratio:16/5;border-radius:var(--r);overflow:hidden;background:var(--surface2);border:1px solid var(--line)}
.ad img{width:100%;height:100%;object-fit:cover}
.ad .rk{position:absolute;top:8px;right:8px;padding:3px 10px;border-radius:8px;background:rgba(15,17,20,.7);color:#fff;font-size:.7rem;font-weight:700}
.ad.ust{aspect-ratio:6/1}

/* ---------- Yan sütun widget'ları ---------- */
.widget{padding:16px}
.widget h3{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:1rem;font-weight:800;margin-bottom:12px}
.widget h3 a{font-size:.8rem;font-weight:700;color:var(--accent)}
.w-hava{background:linear-gradient(145deg,#1e3a8a,#5b21b6);color:#fff;border:0}
.w-hava .t{display:flex;align-items:center;justify-content:space-between}
.w-hava .deg{font-size:3.2rem;font-weight:800;line-height:1}
.w-hava .sub{opacity:.85;font-size:.9rem;margin-top:4px}
.w-hava .row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.w-hava .row div{padding:10px 6px;border-radius:12px;background:rgba(255,255,255,.14);text-align:center;font-size:.75rem}
.w-hava .row b{display:block;font-size:1rem}
.w-hava h3 a{color:#fff}
.eczane-mini{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.eczane-mini:first-of-type{border-top:0;padding-top:0}
.eczane-mini img{width:44px;height:44px;border-radius:10px;object-fit:contain;background:var(--surface2);flex:none}
.eczane-mini>div:nth-child(2){flex:1;min-width:0}
.eczane-mini strong{display:block;font-size:.9rem}
.eczane-mini small{color:var(--sub);font-size:.78rem;display:block}
.eczane-actions{display:flex;gap:8px;flex:none}
.eczane-mini a.tel,.eczane-mini a.map{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;flex:none;text-decoration:none;transition:all .2s}
.eczane-mini a.tel{background:#16a34a}
.eczane-mini a.tel:hover{background:#15803d;transform:scale(1.05)}
.eczane-mini a.map{background:var(--accent)}
.eczane-mini a.map:hover{background:var(--accent-hover);transform:scale(1.05)}
.namaz{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.namaz div{padding:10px 6px;border-radius:12px;background:var(--surface2);text-align:center;font-size:.75rem;color:var(--sub)}
.namaz b{display:block;font-size:1rem;color:var(--text)}
.namaz .nx{background:var(--accent);color:#fff}.namaz .nx b{color:#fff}

/* ---------- Sayfa başlığı / kırıntı ---------- */
.crumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:16px 0 4px;font-size:.85rem;color:var(--sub)}
.crumb a:hover{color:var(--accent)}
.crumb .ico{width:14px;height:14px}
.page-h{padding:12px 0 4px}
.page-h h1{font-size:clamp(1.5rem,3.4vw,2.2rem);font-weight:800;letter-spacing:-.02em;display:flex;align-items:center;gap:12px}
.page-h h1 img{width:44px;height:44px;object-fit:contain}
.page-h p{color:var(--sub);margin-top:4px}

/* ---------- Alt kategori kartları ---------- */
.subcats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.subcat{display:flex;align-items:center;gap:12px;min-height:88px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);font-weight:800;text-transform:uppercase;font-size:.88rem;letter-spacing:.01em}
.subcat:hover{border-color:var(--accent)}
.subcat .ci{width:52px;height:52px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:1.4rem;color:#fff;background:linear-gradient(135deg,var(--c1),var(--c2))}
.subcat span.n{min-width:0;flex:1;font-size:.82rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;hyphens:auto}
@media (max-width:480px){.subcat .ico{display:none}.subcat{padding:10px}}
.subcat .ico{color:var(--sub);width:16px;height:16px}

/* ---------- İşletme kartı / liste ---------- */
.biz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.biz{display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);transition:transform .15s}
.biz:hover{transform:translateY(-3px)}
.biz img{width:100%;aspect-ratio:1/0.86;object-fit:cover}
.biz h3{padding:12px 14px 14px;font-size:.98rem;font-weight:800;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:calc(1.25em*2 + 26px)}

/* ---------- İşletme detayı ---------- */
.detail{display:grid;gap:20px;margin-top:8px}
.gallery{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:4/3;background:var(--surface2);box-shadow:var(--shadow)}
.gallery img{width:100%;height:100%;object-fit:cover}
.d-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.d-title h1{font-size:clamp(1.5rem,3.4vw,2.1rem);font-weight:800;letter-spacing:-.02em;flex:1 1 100%}
.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:var(--surface2);border:1px solid var(--line);font-weight:700;font-size:.85rem}
.badge i{width:9px;height:9px;border-radius:50%;background:var(--danger)}
.badge.open i{background:var(--up)}
.badge.soft{color:var(--sub)}
.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;border-radius:999px;font-weight:800;border:1.5px solid var(--line);background:var(--surface);padding:0 12px}
.btn:hover{border-color:var(--accent)}
.btn.primary{background:var(--yellow);border-color:var(--yellow);color:var(--yellow-text)}
.btn.green{background:#16a34a;border-color:#16a34a;color:#fff}
.btn.blue{background:#2563eb;border-color:#2563eb;color:#fff}
.info{display:flex;align-items:center;gap:14px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.info .ib{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent);flex:none}
.info small{display:block;font-size:.72rem;font-weight:800;letter-spacing:.08em;color:var(--sub);text-transform:uppercase}
.info div{min-width:0}
.info strong{display:block;font-weight:600;overflow-wrap:anywhere}
.info .ico.go{margin-left:auto;color:var(--sub)}
.desc{padding:18px}
.desc h2{font-size:1.1rem;font-weight:800;margin-bottom:8px}
.desc p{color:var(--sub)}

/* ---------- Nöbetçi eczane ---------- */
.days{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:6px 0}
.days::-webkit-scrollbar{display:none}
.day{flex:none;min-width:112px;padding:10px 16px;border-radius:16px;background:var(--surface2);border:1px solid var(--line);text-align:center;font-weight:800}
.day small{display:block;font-weight:600;color:var(--sub);font-size:.78rem}
.day.on{background:#22c55e;border-color:#22c55e;color:#04210f}
.day.on small{color:#064e1f}
.ecz-list{display:grid;gap:12px}
.ecz{display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.ecz>img{width:84px;height:84px;border-radius:16px;object-fit:contain;background:var(--surface2)}
.ecz h3{font-size:1.05rem;font-weight:800;text-transform:uppercase}
.ecz p{display:flex;gap:8px;color:var(--sub);font-size:.9rem;margin-top:6px}
.ecz p .ico{width:16px;height:16px;margin-top:2px}
.ecz .tel{color:#2563eb;font-weight:800}
.ecz .acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.ecz .acts .btn{height:42px;font-size:.88rem;padding:0 18px}

/* ---------- Alt çubuk (mobil) ---------- */
.tabbar{position:fixed;z-index:80;left:12px;right:12px;bottom:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 10px 30px rgba(0,0,0,.25);padding-bottom:max(8px,calc(8px + env(safe-area-inset-bottom)))}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:2px 0;font-size:.72rem;font-weight:800}
.tabbar a .ti{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c)}
.tabbar a[aria-current="page"] .ti{background:var(--c);color:#fff}

/* ---------- Footer ---------- */
.footer{background:var(--surface);border-top:1px solid var(--line);margin-top:32px;padding:24px 0 calc(16px + env(safe-area-inset-bottom))}
.footer .wrap{max-width:var(--wrap)}
.f-brand{margin-bottom:20px}
.f-brand .fl{height:44px;width:auto;display:block}
.f-brand p{font-size:.85rem;color:var(--sub);line-height:1.45;margin:10px 0 0;max-width:40ch}
.f-apps{display:flex;gap:10px;margin:16px 0;flex-direction:column}
.f-app-btn{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface);border:2px solid var(--line);border-radius:12px;text-decoration:none;transition:all .2s;min-height:56px}
.f-app-btn:hover{transform:translateY(-2px);border-color:var(--accent)}
.f-app-btn svg{flex-shrink:0}
.f-app-label{font-size:0.75rem;color:var(--sub);margin-bottom:2px;line-height:1}
.f-app-sub{font-size:0.9rem;font-weight:700;color:var(--text);line-height:1}
.f-app-android svg{color:#3DDC84}
.f-app-ios svg{color:#000}
:root[data-theme="dark"] .f-app-ios svg{color:#fff}
.wa-footer{display:flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:999px;background:#16a34a;color:#fff;font-weight:700;font-size:.85rem;text-decoration:none;margin:10px 0 20px;width:100%}
.wa-footer svg{width:20px;height:20px}
.f-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 12px;margin-bottom:20px}
.f-grid h4{font-size:.8rem;font-weight:700;margin:0 0 10px 0;color:var(--text);letter-spacing:0}
.f-grid ul{list-style:none;padding:0;margin:0}
.f-grid li{margin:0}
.f-grid a{display:flex;align-items:center;color:var(--sub);font-size:.82rem;text-decoration:none;padding:6px 0;line-height:1.3;transition:color 0.15s;overflow-wrap:break-word;hyphens:manual;word-break:break-word}
.f-grid a:hover{color:var(--accent)}
.f-bottom{margin:0;padding:12px 0 0;border-top:1px solid var(--line);font-size:.75rem;color:var(--sub);text-align:center;line-height:1.4}
.f-bottom a{color:var(--sub);text-decoration:none}
.f-bottom a:hover{color:var(--accent)}

@media (max-width:767px){
  body:has(.tabbar) main{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  body:has(.tabbar) .footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}
@media (min-width:768px){
  .f-grid{grid-template-columns:1fr 1fr 1fr 1fr;gap:20px}
  .f-apps{max-width:400px}
  .wa-footer{max-width:400px}
  .footer{padding:32px 0 calc(24px + env(safe-area-inset-bottom))}
}
@media (min-width:1024px){
  .footer{padding:48px 0 24px}
  .f-layout{display:grid;grid-template-columns:2fr 3fr;gap:40px;margin-bottom:24px}
  .f-left{display:flex;flex-direction:column}
  .f-brand{margin-bottom:20px}
  .f-brand .fl{height:52px}
  .f-apps{flex-direction:row;gap:12px;margin:0}
  .wa-footer{width:auto;margin:12px 0 0}
  .f-grid{grid-template-columns:repeat(4,1fr);gap:24px;margin:0}
  .f-grid h4{font-size:.88rem;margin-bottom:12px}
  .f-grid a{font-size:.88rem;padding:8px 0;min-height:32px}
  .f-bottom{text-align:left;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
  .f-bottom-links{display:flex;gap:16px}
}

@media (min-width:768px){
  :root{--gutter:24px}
  .logo img{height:48px}
  main{padding-bottom:24px}
}

/* ---------- Masaüstü portal düzeni ---------- */
@media (min-width:1024px){
  .topbar{display:block}
  .hdr-main{height:84px}
  .logo img{height:56px}
  .hdr .search{display:flex;flex:1;max-width:620px;margin:0 auto}
  .search-block{display:none}
  .wa-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;border-radius:999px;background:#16a34a;color:#fff;font-weight:800;font-size:.9rem;white-space:nowrap}
  .hdr-actions .iconbtn.only-m{display:none}
  .nav{display:block}
  .tabbar{display:none}
  main{padding-bottom:24px}
  .chips{margin:0;padding:18px 0 4px;flex-wrap:wrap;overflow:visible}
  .hero{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;margin-top:18px}
  .slider{aspect-ratio:auto;min-height:420px;height:100%}
  .slide .cap{padding:28px 28px 50px;max-width:85%}
  .s-nav{display:grid}
  .side{display:block}
  .layout{grid-template-columns:minmax(0,1fr) 340px;gap:28px}
  .aside{position:sticky;top:calc(var(--nav-h) + 16px)}
  .subcats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .biz-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ecz-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-only{display:none!important}
}
@media (min-width:1280px){
  :root{--wrap:1240px}
}
@media (min-width:1536px){
  :root{--wrap:1320px}
}
@media (max-width:1023.98px){
  .desktop-only{display:none!important}
}

/* ---------- v2 fixes ---------- */
/* 1. Smaller city guide tiles */
.tiles .tile{min-height:48px;padding:8px 10px;font-size:0.78rem;gap:10px}
.tiles .tile img{width:30px;height:30px}
@media (min-width:768px){
  .tiles{grid-template-columns:repeat(4,1fr);gap:10px}
  .tiles .tile{min-height:56px;font-size:0.82rem}
}
.tiles .tile img{width:38px;height:38px}
@media (min-width:1024px){
  .tiles{grid-template-columns:repeat(8,minmax(0,1fr))}
  .tiles .tile{min-height:68px;padding:10px 12px;font-size:0.85rem}
  .tiles .tile img{width:44px;height:44px}
}

/* 2. Subcategory cards - 2 columns mobile, 3+ desktop */
.subcats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.subcat{min-height:76px;padding:11px;font-size:clamp(0.76rem,2.2vw,0.85rem);line-height:1.2}
.subcat .ci{width:46px;height:46px;font-size:1.3rem}
.subcat span.n{font-size:clamp(0.76rem,2.2vw,0.82rem);-webkit-line-clamp:2;word-break:break-word}
@media (max-width:480px){.subcat .ico{display:none}}
@media (min-width:768px){.subcats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){.subcats{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 3. Business grid stays 1 column mobile */
@media (max-width:767.98px){.biz-grid{grid-template-columns:1fr}}

/* 4. Piyasa single row with 5 columns */
.piyasa-serit{margin:20px 0;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.piyasa-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:10px}
.piyasa-item{display:flex;flex-direction:column;gap:3px;min-width:0;padding:8px 6px;border-radius:10px;background:var(--surface2)}
.piyasa-ad{font-size:clamp(0.62rem,1.8vw,0.68rem);font-weight:700;color:var(--sub);text-transform:uppercase;letter-spacing:0.02em}
.piyasa-deger{font-size:clamp(0.78rem,2.2vw,0.88rem);font-weight:800;color:var(--text);font-variant-numeric:tabular-nums}
.piyasa-degisim{font-size:clamp(0.64rem,1.9vw,0.72rem);font-weight:700;font-variant-numeric:tabular-nums}
.piyasa-degisim.up{color:var(--up)}
.piyasa-degisim.down{color:var(--danger)}
.piyasa-footer{font-size:clamp(0.7rem,1.8vw,0.78rem);color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (min-width:1024px){
  .piyasa-grid{gap:14px;margin-bottom:12px}
  .piyasa-item{padding:10px 8px}
}
@media (max-width:359px){
  .piyasa-ad{font-size:0.6rem}
  .piyasa-deger{font-size:0.74rem}
  .piyasa-degisim{font-size:0.62rem}
}

/* Mobile Menu */
.mobile-menu-btn{display:none;padding:8px;background:none;border:none;color:var(--text);cursor:pointer}
@media (max-width:1023.98px){.mobile-menu-btn{display:flex;align-items:center;justify-content:center}}

.mobile-menu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;pointer-events:none;opacity:0;transition:opacity 0.3s ease}
.mobile-menu.open{pointer-events:auto;opacity:1}
.mobile-menu-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);backdrop-filter:blur(4px)}
.mobile-menu-panel{position:absolute;top:0;left:0;width:280px;height:100%;background:var(--surface);box-shadow:4px 0 24px rgba(0,0,0,0.15);transform:translateX(-100%);transition:transform 0.3s ease;display:flex;flex-direction:column;overflow-y:auto}
.mobile-menu.open .mobile-menu-panel{transform:translateX(0)}

.mobile-menu-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--line);background:var(--bg)}
.mobile-menu-header img{height:36px;width:auto}
.mobile-menu-close{padding:8px;background:none;border:none;color:var(--text);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:background 0.2s}
.mobile-menu-close:hover{background:var(--surface2)}

.mobile-menu-nav{padding:8px;flex:1}
.mobile-menu-link{display:flex;align-items:center;gap:16px;padding:14px 16px;color:var(--text);text-decoration:none;border-radius:12px;transition:all 0.2s;font-weight:500;font-size:0.95rem}
.mobile-menu-link:hover,.mobile-menu-link:focus{background:var(--surface2);color:var(--primary)}
.mobile-menu-link.active{background:var(--primary);color:white}
.mobile-menu-link .ico{width:22px;height:22px;flex-shrink:0}

@media (min-width:1024px){.mobile-menu{display:none}}

/* ---------- Haber kartı (mobil: 2 sütun dikey) ---------- */
.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.news-card{display:flex;flex-direction:column;text-decoration:none;overflow:hidden;border-radius:12px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);transition:transform 0.2s}
.news-card:hover{transform:translateY(-2px)}
.news-card>div:first-child{position:relative;width:100%}
.news-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.news-cat-overlay{position:absolute;left:8px;bottom:8px;font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;padding:4px 10px;border-radius:12px;line-height:1;height:22px;display:flex;align-items:center}
.news-card .news-content{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}
.news-card h3{margin:0;font-size:0.85rem;line-height:1.3;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--text)}
.news-card .news-meta{margin-top:auto;font-size:0.75rem;color:var(--sub);display:flex;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:389px){
  .news-card h3{font-size:0.78rem}
  .news-card .news-meta{font-size:0.65rem}
  .news-cat-overlay{font-size:0.68rem;padding:3px 8px;height:20px}
}
@media (min-width:768px){
  .news-grid{gap:20px}
  .news-card h3{font-size:0.9rem}
  .news-cat-overlay{font-size:0.72rem;padding:5px 12px;height:24px}
}
@media (min-width:1024px){
  .news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1280px){
  .news-grid.four{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* appbanner */
.app-popup{position:fixed;bottom:0;left:0;right:0;z-index:10000;transform:translateY(100%);transition:transform 0.3s ease;pointer-events:none}
.app-popup.show{transform:translateY(0);pointer-events:auto}
.app-popup-content{background:var(--surface);border-top:1px solid var(--line);padding:24px 20px;max-height:45vh;overflow-y:auto;box-shadow:0 -4px 24px rgba(0,0,0,0.1)}
.app-popup-close{position:absolute;top:12px;right:12px;width:32px;height:32px;border:none;background:var(--surface2);color:var(--text);border-radius:50%;cursor:pointer;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background 0.2s}
.app-popup-close:hover{background:var(--line)}
.app-popup-header{margin-bottom:12px}
.app-popup-header img{height:29px;width:auto}
.app-popup-title{margin:0 0 8px 0;font-size:1.1rem;font-weight:700;color:var(--text);line-height:1.3}
.app-popup-desc{margin:0 0 20px 0;font-size:0.9rem;color:var(--sub);line-height:1.4}
.app-popup-buttons{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.app-badge{display:block;text-align:center}
.app-badge img{height:44px;width:auto;max-width:100%}
.app-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:600;font-size:0.9rem;transition:opacity 0.2s;min-height:44px}
.app-btn:hover{opacity:0.9}
.app-btn-ios{background:#000;color:#fff}
.app-btn-android{background:#01875f;color:#fff}
.app-popup-dismiss{background:none;border:none;color:var(--sub);font-size:0.85rem;cursor:pointer;padding:8px;text-decoration:underline;min-height:44px}
.app-popup-dismiss:hover{color:var(--text)}
@media (min-width:768px){
  .app-popup{bottom:20px;left:auto;right:20px;width:360px;border-radius:16px;transform:translateX(400px)}
  .app-popup.show{transform:translateX(0)}
  .app-popup-content{border-top:none;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,0.15);max-height:none}
  .app-popup-buttons{flex-direction:row}
  .app-popup-buttons.ios-first .app-btn-ios,.app-popup-buttons.ios-first .app-badge:first-child{order:-1}
}
@media (prefers-reduced-motion:reduce){
  .app-popup{transition:none}
}

/* drawer */
.drawer{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10001;pointer-events:none;visibility:hidden}
.drawer.open{pointer-events:auto;visibility:visible}
.drawer-backdrop{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.45);opacity:0;transition:opacity 0.22s ease-out}
.drawer.open .drawer-backdrop{opacity:1}
.drawer-panel{position:absolute;top:0;left:0;width:min(86vw,360px);height:100%;height:100dvh;background:var(--surface);box-shadow:2px 0 16px rgba(0,0,0,0.1);transform:translateX(-100%);transition:transform 0.22s ease-out;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain}
.drawer.open .drawer-panel{transform:translateX(0)}
.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--line);flex-shrink:0}
.drawer-header img{width:170px;max-height:68px;height:auto;object-fit:contain}
.drawer-close{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--surface2);border:none;border-radius:8px;color:var(--text);cursor:pointer;transition:background 0.2s}
.drawer-close:hover{background:var(--line)}
.drawer-search{padding:12px 16px;border-bottom:1px solid var(--line);flex-shrink:0}
.drawer-search form{display:flex;align-items:center;background:var(--bg);border-radius:8px;padding:8px 12px}
.drawer-search .ico{width:20px;height:20px;color:var(--sub);flex-shrink:0}
.drawer-search input{flex:1;border:none;background:none;color:var(--text);font-size:0.9rem;margin-left:8px;outline:none}
.drawer-body{flex:1;overflow-y:auto;padding:8px 0;padding-bottom:calc(env(safe-area-inset-bottom) + 8px)}
.drawer-section{padding:16px 0;border-bottom:1px solid var(--line)}
.drawer-section:last-child{border-bottom:none}
.drawer-section-title{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;color:var(--sub);padding:0 16px 8px 16px;margin:0}
.drawer-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:var(--text);text-decoration:none;min-height:48px;transition:background 0.15s}
.drawer-item:hover{background:var(--surface2)}
.drawer-item.active{background:var(--primary);background:var(--accent);color:#fff}
.drawer-item svg,.drawer-item img{width:24px;height:24px;flex-shrink:0}
.drawer-item span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drawer-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.drawer-cat img{border-radius:6px}
.drawer-footer{display:flex;gap:8px;padding:12px 16px;padding-bottom:calc(env(safe-area-inset-bottom) + 12px);border-top:1px solid var(--line);flex-shrink:0}
.drawer-theme-toggle,.drawer-app-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:8px;font-size:0.85rem;font-weight:600;text-decoration:none;min-height:44px;transition:opacity 0.2s}
.drawer-theme-toggle{background:var(--surface2);color:var(--text);border:none;cursor:pointer}
.drawer-theme-toggle:hover{opacity:0.8}
.drawer-app-btn{background:#0F766E;color:#fff}
.drawer-app-btn:hover{opacity:0.9}
.drawer-theme-toggle svg{width:20px;height:20px}
.drawer-app-btn svg{width:20px;height:20px}
@media (min-width:1024px){.drawer{display:none}}
@media (prefers-reduced-motion:reduce){.drawer-backdrop,.drawer-panel{transition:none}}

/* drawer grids */
.drawer-quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:0 16px}
.drawer-quick-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 8px;background:var(--surface2);border-radius:12px;text-decoration:none;color:var(--text);transition:background 0.15s;min-height:88px;text-align:center}
.drawer-quick-item:hover{background:var(--line)}
.drawer-quick-item svg{width:32px;height:32px;color:var(--primary)}
.drawer-quick-item span{font-size:0.8rem;font-weight:600;line-height:1.2}
.drawer-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:0 16px}
.drawer-cat-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 8px;background:var(--surface2);border-radius:12px;text-decoration:none;color:var(--text);transition:background 0.15s;min-height:80px;text-align:center}
.drawer-cat-item:hover{background:var(--line)}
.drawer-cat-item img{width:32px;height:32px;border-radius:8px}
.drawer-cat-item span{font-size:0.75rem;font-weight:600;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* eczane tabs */
.eczane-tabs{display:flex;border-bottom:2px solid var(--line)}
.eczane-tab{flex:1;padding:14px 10px;text-align:center;font-weight:700;border-bottom:3px solid transparent;color:var(--text);text-decoration:none;transition:all 0.2s;cursor:pointer;min-height:48px}
.eczane-tab:hover{background:var(--surface2)}
.eczane-tab.active{border-bottom-color:var(--accent);color:var(--accent)}
.eczane-tab-label{font-size:0.85rem;margin-bottom:3px}
.eczane-tab-date{font-size:0.72rem;font-weight:400;color:var(--sub)}
.eczane-panel{padding:16px;min-height:300px;position:relative}
.eczane-panel.loading{opacity:0.6;pointer-events:none}
.eczane-card{padding:16px;border-bottom:1px solid var(--line)}
.eczane-card:last-child{border-bottom:none}
.eczane-header{display:flex;gap:14px;align-items:start;margin-bottom:14px}
.eczane-header img{flex-shrink:0;border-radius:12px;width:36px;height:36px}
.eczane-header h3{margin:0 0 6px 0;font-size:0.95rem;font-weight:700;color:var(--text)}
.eczane-header p{margin:0;font-size:0.8rem;color:var(--sub);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;display:flex;align-items:start;gap:6px}
.eczane-header p .ico{width:14px;height:14px;margin-top:2px;flex-shrink:0;color:var(--accent)}
.eczane-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn-eczane{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:#16a34a;color:#fff;border-radius:999px;text-decoration:none;font-size:0.85rem;font-weight:600;transition:opacity 0.2s;min-height:36px}
.btn-eczane:hover{opacity:0.9}
.btn-eczane svg{width:16px;height:16px}
.btn-yol{background:var(--surface2);color:var(--text);border:1px solid var(--line)}

.eczane-tabs-mini{display:flex;border-bottom:1px solid var(--line)}
.eczane-tab-mini{flex:1;padding:10px 6px;text-align:center;font-weight:600;font-size:0.8rem;border-bottom:2px solid transparent;color:var(--text);text-decoration:none;transition:all 0.2s;cursor:pointer;min-height:48px}
.eczane-tab-mini:hover{background:var(--surface2)}
.eczane-tab-mini.active{border-bottom-color:var(--accent);color:var(--accent)}
.eczane-tab-mini .eczane-tab-label{margin-bottom:2px;font-size:0.85rem}
.eczane-tab-mini .eczane-tab-date{font-size:0.72rem;font-weight:400;color:var(--sub)}
.eczane-home-panel{padding:0;min-height:160px}
.eczane-home-panel.loading{opacity:0.6;pointer-events:none}
.eczane-home-panel .eczane-mini{padding:12px 16px;border-bottom:1px solid var(--line)}
.eczane-home-panel .eczane-mini:last-child{border-bottom:none}

@media (min-width:1024px){
  .eczane-tab-label{font-size:1rem}
  .eczane-tab-date{font-size:0.8rem}
  .eczane-header h3{font-size:1.05rem}
  .eczane-header p{font-size:0.88rem}
  .eczane-header img{width:40px;height:40px}
  .btn-eczane{font-size:0.88rem;padding:11px 16px;min-height:40px}
}

/* desktop-fix */
/* Container widths */
@media (min-width:1280px){
  :root{--wrap:1240px;--gutter:24px}
}
@media (min-width:1536px){
  :root{--wrap:1320px}
}

/* Tiles: 4 columns on desktop */
@media (min-width:1024px){
  .tiles{grid-template-columns:repeat(4,1fr)!important;gap:12px!important}
  .tiles .tile{min-height:64px!important;padding:12px 14px!important;font-size:0.88rem!important;gap:12px!important;line-height:1.3!important}
  .tiles .tile img{width:36px!important;height:36px!important}
  .tiles .tile span{display:block!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;white-space:normal!important;word-wrap:break-word!important}
}

/* Mega menu fix */
.nav{position:relative}
.nav .mi{position:relative}
.nav button.ml{display:flex;align-items:center;gap:6px;height:var(--nav-h);padding:0 14px;font-weight:700;font-size:.95rem;color:var(--text);border-bottom:3px solid transparent;background:none;border-top:none;border-left:none;border-right:none;cursor:pointer;font-family:inherit}
.nav button.ml:hover,.nav button.ml[aria-expanded="true"]{color:var(--accent);border-bottom-color:var(--accent)}
.nav button.ml .ico{width:14px;height:14px;transition:transform 0.2s}
.nav button.ml[aria-expanded="true"] .ico{transform:rotate(180deg)}
.mega{position:absolute;top:100%;left:50%;transform:translateX(-50%);background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,0.12);z-index:1000;display:none;grid-template-columns:repeat(4,1fr);gap:12px;padding:24px;border-radius:0 0 12px 12px;width:min(840px,94vw);opacity:0;transition:opacity 0.2s,transform 0.2s}
.mega.open{display:grid;opacity:1;transform:translateX(-50%) translateY(0)}
.mega a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;text-decoration:none;color:var(--text);font-weight:600;font-size:0.9rem;line-height:1.3;transition:background 0.15s;min-width:0}
.mega a:hover{background:var(--surface2)}
.mega a img{width:36px;height:36px;flex-shrink:0;border-radius:8px}
.mega a span{overflow-wrap:break-word}
@media (min-width:1024px){
  .topbar{display:block}
  .hdr .search{display:flex;height:40px}
  .nav{display:block}
  .nav{white-space:nowrap}
  .nav ul.m{gap:4px}
  .nav a.ml,.nav button.ml{padding:0 16px;font-size:0.92rem}
  .mobile-only{display:none!important}
  .layout{grid-template-columns:minmax(0,1fr) 340px}
  .hero{grid-template-columns:minmax(0,1fr) 340px}
  .slider{aspect-ratio:16/10}
  .side{display:block}
  .s-nav{display:grid}
}

/* final2 */
/* Haber detay */
.haber-detay{max-width:800px;margin:32px auto;padding:0 20px}
.breadcrumb{margin-bottom:16px}
.breadcrumb a{display:inline-flex;align-items:center;gap:6px;color:var(--sub);text-decoration:none;font-size:0.9rem;transition:color 0.15s}
.breadcrumb a:hover{color:var(--text)}
.breadcrumb .ico{width:16px;height:16px;transform:rotate(180deg)}
.haber-kategori{display:inline-block;padding:6px 14px;color:#fff;border-radius:6px;font-size:0.85rem;font-weight:700;margin-bottom:16px;letter-spacing:0.3px}
.haber-detay h1{font-size:clamp(1.75rem,5vw,2.5rem);line-height:1.2;margin:0 0 20px 0;font-weight:800}
.haber-meta{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:24px;font-size:0.9rem;color:var(--sub)}
.haber-meta span{display:flex;align-items:center;gap:6px}
.haber-meta .ico{width:16px;height:16px}
.haber-gorsel{margin:0 0 32px 0;border-radius:12px;overflow:hidden}
.haber-gorsel img{width:100%;height:auto;display:block}
.haber-ozet{font-size:1.1rem;line-height:1.6;color:var(--text);font-weight:500;margin-bottom:24px;padding:20px;background:var(--surface2);border-left:4px solid var(--accent);border-radius:0 8px 8px 0}
.haber-icerik{padding:24px;line-height:1.8;font-size:1rem;margin-bottom:32px}
.haber-share{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:24px}
.haber-share h3{margin:0 0 16px 0;font-size:1rem;font-weight:700}
.share-buttons{display:flex;gap:12px;flex-wrap:wrap}
.share-btn{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:10px;text-decoration:none;transition:transform 0.15s,opacity 0.15s;color:#fff}
.share-btn:hover{transform:scale(1.1);opacity:0.9}
.share-btn svg{width:24px;height:24px}
.share-wp{background:#25D366}
.share-tw{background:#1DA1F2}
.share-fb{background:#1877F2}
.share-copy{background:var(--text)}
.haber-nav{padding-top:24px;border-top:1px solid var(--line)}
.btn-back{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;background:var(--surface2);color:var(--text);border-radius:8px;text-decoration:none;font-weight:600;transition:background 0.15s}
.btn-back:hover{background:var(--line)}
.btn-back .ico{width:16px;height:16px;transform:rotate(180deg)}
@media (min-width:768px){
  .haber-detay{margin:48px auto}
}

/* ========== MOBİL SADELEŞTİRME (header, çipler, arama, Şehir Rehberi) ========== */
@media (max-width:767px){
  /* 1) Header: logo büyütsün, butonlar küçülsün (görsel 36px, tıklama alanı 44px için ::before) */
  .hdr-main{height:62px;padding:8px 0}
  .logo img{height:44px;max-width:52vw}
  .iconbtn,.mobile-menu-btn{width:36px;height:36px;position:relative}
  .iconbtn::before,.mobile-menu-btn::before{content:"";position:absolute;inset:-4px;border-radius:50%}
  .iconbtn .ico,.mobile-menu-btn .ico{width:18px;height:18px}

  /* 2) Haber kategorisi çipleri küçülsün */
  .chips{padding:10px 0 2px;gap:8px}
  .chip{height:36px;padding:0 12px;font-size:.8rem}
  .chip .ico{width:15px;height:15px}

  /* 3) Arama çubuğu küçülsün */
  .search-block{margin-top:12px!important}
  .search{height:40px;padding:0 6px 0 14px;border-radius:12px}
  .search .ico{width:18px;height:18px}
  .search input{font-size:.9rem}

  /* 4) Şehir Rehberi başlık ve düzen */
  .sec-h h2{font-size:1.15rem}
  .sec-h a{display:none} /* "Tüm kategoriler ›" gizle */

  /* 4) Şehir Rehberi: 4 sütun, ikon üstte */
  .tiles{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  .tile{flex-direction:column!important;min-height:68px!important;padding:6px 4px!important;font-size:.62rem!important;gap:4px!important;text-align:center;line-height:1.1!important}
  .tile img{width:28px!important;height:28px!important}
  .tile span{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;word-wrap:break-word!important;hyphens:auto!important}

  /* 5) Genel sıkılaştırma: dikey boşluklar */
  .ticker{margin-top:12px;padding:10px 12px}
  .chips{margin-top:10px}
  .hero{margin-top:12px;gap:12px}
  .slider{aspect-ratio:16/9;border-radius:16px}
  .piyasa-serit{margin-top:12px}
  .layout{margin-top:12px;gap:20px}
  .sec-h{margin:20px 0 12px}
}

/* Çok dar ekran: logo biraz küçülsün taşma olmasın */
@media (max-width:360px){
  .logo img{height:40px}
}

/* Çok dar ekranlar: Şehir Rehberi 3 sütun */
@media (max-width:339px){
  .tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* ---------- İşletme Detay Sayfası ---------- */
.isletme-layout{display:grid;gap:24px;margin-top:20px}
.isletme-main{min-width:0}
.isletme-content{min-width:0}

/* Galeri */
.isletme-gallery{position:relative;aspect-ratio:16/10;background:var(--surface2);border-radius:12px;overflow:hidden;margin-bottom:20px}
.gallery-slide{position:absolute;inset:0;opacity:0;transition:opacity .3s ease;pointer-events:none}
.gallery-slide.active{opacity:1;pointer-events:auto}
.gallery-slide img{width:100%;height:100%;object-fit:cover;display:block}

.gallery-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:2}
.gallery-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.5);border:none;cursor:pointer;transition:all .2s;padding:0}
.gallery-dot.active{background:#fff;width:24px;border-radius:4px}

.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.5);color:#fff;border:none;width:40px;height:40px;border-radius:50%;cursor:pointer;display:none;align-items:center;justify-content:center;transition:background .2s;z-index:2}
.gallery-nav:hover{background:rgba(0,0,0,0.7)}
.gallery-nav .ico{width:20px;height:20px}
.gallery-prev{left:12px}
.gallery-next{right:12px}

/* Header */
.isletme-header{margin-bottom:20px}
.isletme-header h1{font-size:1.5rem;font-weight:800;margin:0 0 8px;color:var(--text);line-height:1.3}
.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;font-size:0.85rem;font-weight:700}
.status-badge::before{content:"";width:8px;height:8px;border-radius:50%}
.status-open{background:rgba(34,197,94,0.15);color:#16a34a}
.status-open::before{background:#16a34a}
.status-closed{background:rgba(239,68,68,0.15);color:#dc2626}
.status-closed::before{background:#dc2626}
:root[data-theme="dark"] .status-open{background:rgba(34,197,94,0.2);color:#4ade80}
:root[data-theme="dark"] .status-closed{background:rgba(239,68,68,0.2);color:#f87171}

.status-badge-inline{padding:4px 10px;font-size:0.75rem;margin-left:8px;vertical-align:middle}

/* Aksiyon Butonları */
.isletme-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:8px;font-weight:700;font-size:0.9rem;text-decoration:none;transition:all .2s;border:none;cursor:pointer;min-height:44px}
.btn .ico{width:20px;height:20px}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover);transform:translateY(-1px)}
.btn-outline{background:transparent;border:2px solid var(--line);color:var(--text)}
.btn-outline:hover{background:var(--surface2);border-color:var(--accent)}
.btn-call{background:#F59E0B;color:#fff}
.btn-call:hover{background:#D97706}
.btn-full{width:100%}

/* Bilgi Kartları */
.isletme-cards{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}
.info-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:16px;background:var(--surface);border-radius:12px;text-decoration:none;transition:all .2s;min-height:44px}
.info-card:hover{background:var(--surface2);transform:translateY(-1px)}
.info-card-icon{width:40px;height:40px;border-radius:10px;background:var(--surface2);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.info-card-icon .ico{width:20px;height:20px;color:var(--accent)}
.info-card-content{min-width:0}
.info-card-label{font-size:0.75rem;color:var(--sub);margin-bottom:2px}
.info-card-value{font-size:0.95rem;color:var(--text);font-weight:600}
.info-card-arrow{width:20px;height:20px;color:var(--sub);flex-shrink:0}

/* Kartlar */
.isletme-card{background:var(--surface);border-radius:12px;padding:20px;margin-bottom:20px}
.card-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none}
.card-title{font-size:1.1rem;font-weight:800;margin:0;color:var(--text);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.card-toggle{width:20px;height:20px;color:var(--sub);transition:transform .2s;transform:rotate(90deg)}
.card-content{margin-top:16px}
.isletme-card p{margin:0;line-height:1.6;color:var(--text)}

/* Çalışma Saatleri */
.hours-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.hours-row:last-child{border-bottom:none}
.hours-day{font-size:0.9rem;color:var(--text);font-weight:600}
.hours-time{font-size:0.9rem;color:var(--sub)}
.hours-today{background:rgba(34,197,94,0.1);margin:0 -12px;padding:10px 12px;border-radius:8px}
.hours-today .hours-day{color:#16a34a;font-weight:800}
.hours-today .hours-time{color:var(--text);font-weight:700}
:root[data-theme="dark"] .hours-today{background:rgba(34,197,94,0.15)}
:root[data-theme="dark"] .hours-today .hours-day{color:#4ade80}

/* Açıklama Görünürlük */
.isletme-aciklama-desktop{display:none}
.isletme-aciklama-mobile{display:block}

/* Alt Sticky Bar */
.sticky-bottom-bar{position:fixed;bottom:0;left:0;right:0;padding:12px 16px;background:var(--bg);border-top:1px solid var(--line);z-index:20;box-shadow:0 -2px 8px rgba(0,0,0,0.1)}

/* Responsive */
@media (min-width:768px){
  .isletme-header h1{font-size:1.8rem}
  .isletme-actions{gap:16px}
  .btn{padding:14px 24px}
}

@media (min-width:1024px){
  .isletme-layout{grid-template-columns:1.2fr 1fr;gap:32px}
  .isletme-gallery{aspect-ratio:16/9;margin-bottom:24px}
  .gallery-nav{display:flex}
  .isletme-actions{grid-template-columns:1fr 1fr;gap:12px}
  .isletme-actions .btn-call{grid-column:1/-1}
  .isletme-aciklama-desktop{display:block}
  .isletme-aciklama-mobile{display:none}
  .sticky-bottom-bar{display:none}
}

/* Benzer İşletmeler */
.similar-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.similar-card{display:block;background:var(--surface);border-radius:12px;overflow:hidden;text-decoration:none;transition:transform .2s}
.similar-card:hover{transform:translateY(-2px)}
.similar-card-img{aspect-ratio:16/10;overflow:hidden;background:var(--surface2)}
.similar-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.similar-card-content{padding:14px}
.similar-card-content h3{font-size:0.95rem;font-weight:700;color:var(--text);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.similar-card-address,.similar-card-phone{font-size:0.8rem;color:var(--sub);margin:4px 0;display:flex;align-items:flex-start;gap:6px;line-height:1.4}
.similar-card-address{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media (min-width:768px){
  .similar-grid{grid-template-columns:repeat(4,1fr);gap:20px}
}

@media (min-width:1024px){
  .similar-grid{grid-template-columns:repeat(4,1fr)}
}

/* Sticky bar için alt padding */
body:has(.sticky-bottom-bar) .wrap:last-of-type{padding-bottom:80px}

/* ---------- Uygulama Sayfası ---------- */
.app-hero{display:grid;gap:40px;padding:40px 0;align-items:center}
.app-hero-content{max-width:600px}
.app-hero-title{font-size:clamp(2rem,5vw,3.5rem);font-weight:900;line-height:1.1;margin:20px 0;color:var(--text);letter-spacing:-0.02em}
.app-hero-subtitle{font-size:1.1rem;line-height:1.7;color:var(--sub);margin:0 0 32px}

.app-download-buttons{display:flex;flex-direction:column;gap:12px;margin:0 0 32px}
.app-download-btn{display:flex;align-items:center;gap:16px;padding:16px 24px;background:var(--surface);border:2px solid var(--line);border-radius:16px;text-decoration:none;transition:all .2s;min-height:72px}
.app-download-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.12);border-color:var(--accent)}
.app-download-btn svg{flex-shrink:0}
.app-download-label{font-size:0.85rem;color:var(--sub);margin-bottom:2px}
.app-download-sub{font-size:1.1rem;font-weight:700;color:var(--text)}
.app-download-android svg{color:#3DDC84}
.app-download-ios svg{color:#000}
:root[data-theme="dark"] .app-download-ios svg{color:#fff}

.app-stats{display:flex;align-items:center;gap:20px;padding:24px;background:var(--surface);border-radius:16px}
.app-stat{text-align:center}
.app-stat-value{font-size:1.8rem;font-weight:900;color:var(--text);line-height:1}
.app-stat-label{font-size:0.8rem;color:var(--sub);margin-top:4px}
.app-stat-divider{width:1px;height:40px;background:var(--line)}

.app-hero-visual{display:none}
.app-phone-mockup{width:280px;height:570px;background:var(--text);border-radius:40px;padding:12px;box-shadow:0 20px 60px rgba(0,0,0,0.3);position:relative}
.app-phone-mockup::before{content:"";position:absolute;top:20px;left:50%;transform:translateX(-50%);width:60px;height:6px;background:var(--bg);border-radius:3px}
.app-phone-screen{width:100%;height:100%;border-radius:32px;overflow:hidden;background:var(--bg)}

.section-title{font-size:2rem;font-weight:900;text-align:center;margin:0 0 40px;color:var(--text)}

.app-features{padding:60px 0}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.feature-card{padding:28px;background:var(--surface);border-radius:16px;text-align:center;transition:all .2s}
.feature-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,0.1)}
.feature-icon{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.feature-title{font-size:1.1rem;font-weight:800;margin:0 0 12px;color:var(--text)}
.feature-desc{font-size:0.95rem;line-height:1.6;color:var(--sub);margin:0}

.app-cta{text-align:center;padding:60px 0;background:var(--surface);border-radius:24px;margin:40px 0}
.app-cta-title{font-size:2rem;font-weight:900;margin:0 0 12px;color:var(--text)}
.app-cta-subtitle{font-size:1.1rem;color:var(--sub);margin:0 0 32px}

@media (min-width:768px){
  .app-download-buttons{flex-direction:row;justify-content:flex-start}
  .app-download-btn{flex:1;max-width:300px}
}

@media (min-width:1024px){
  .app-hero{grid-template-columns:1fr 1fr;gap:60px}
  .app-hero-visual{display:flex;justify-content:center;align-items:center}
  .feature-grid{grid-template-columns:repeat(3,1fr)}
}

/* App Download Banner */
/* App Download Banner - Single Row Layout */
.app-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;display:none;opacity:0;transform:translateY(100%);transition:opacity 0.3s ease,transform 0.3s ease;pointer-events:none}
.app-banner-visible{opacity:1;transform:translateY(0);pointer-events:auto}

.app-banner-card{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-top-left-radius:18px;border-top-right-radius:18px;box-shadow:0 -4px 24px rgba(0,0,0,0.12);padding:14px 16px;padding-bottom:calc(14px + env(safe-area-inset-bottom));max-width:100%}

.app-banner-icon{width:52px;height:52px;border-radius:12px;flex-shrink:0;object-fit:contain}

.app-banner-info{flex:1;min-width:0;margin-right:8px}
.app-banner-title{font-size:1.0625rem;font-weight:700;color:var(--text);margin:0;line-height:1.2}
.app-banner-subtitle{font-size:0.8125rem;color:var(--sub);margin:0;line-height:1.3;margin-top:2px}

.app-banner-store-btn{display:flex;align-items:center;gap:8px;height:46px;padding:0 14px;background:#fff;border:1px solid var(--line);border-radius:12px;text-decoration:none;font-size:0.9375rem;font-weight:600;color:#000;transition:all 0.2s;white-space:nowrap;flex-shrink:0}
.app-banner-store-btn:hover{background:var(--hover);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.08)}
.app-banner-store-icon{width:22px;height:22px;flex-shrink:0;display:block;opacity:1}

.app-banner-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;background:transparent;color:var(--sub);cursor:pointer;border-radius:8px;transition:all 0.2s;padding:0;flex-shrink:0;margin-left:4px}
.app-banner-close:hover{background:var(--hover);color:var(--text)}

@media (max-width:580px){
  .app-banner-card{gap:10px;padding:12px 14px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  .app-banner-icon{width:48px;height:48px}
  .app-banner-info{margin-right:4px}
  .app-banner-title{font-size:1rem}
  .app-banner-subtitle{font-size:0.75rem}
  .app-banner-store-btn{height:44px;padding:0 12px;font-size:0.875rem;gap:6px}
  .app-banner-store-icon{width:20px;height:20px}
  .app-banner-close{width:40px;height:40px;margin-left:0}
}

@media (max-width:420px){
  .app-banner-store-btn span{display:none}
  .app-banner-store-btn{padding:0 12px;gap:0}
}

/* Desktop App Modal */
.app-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;animation:fadeIn 0.2s}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.app-modal{position:relative;background:var(--surface);border-radius:24px;padding:32px;max-width:480px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,0.3);animation:slideUp 0.3s}
@keyframes slideUp{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
.app-modal-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border:none;background:var(--hover);color:var(--text);border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s}
.app-modal-close:hover{background:var(--line);transform:rotate(90deg)}
.app-modal-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.app-modal-header img{width:60px;height:60px;border-radius:16px}
.app-modal-header h3{font-size:1.5rem;font-weight:900;color:var(--text);margin:0 0 4px}
.app-modal-header p{font-size:0.95rem;color:var(--sub);margin:0}
.app-modal-buttons{display:flex;flex-direction:column;gap:12px}
.app-modal-btn{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 24px;background:var(--surface-2);color:var(--text);border-radius:16px;text-decoration:none;font-size:1rem;font-weight:700;transition:all 0.2s;border:1px solid var(--line)}
.app-modal-btn:hover{background:var(--hover);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.12)}
.app-modal-btn svg{flex-shrink:0}

@media (max-width:480px){
  .app-banner-desc{display:none}
  .app-banner-btn span{display:none}
  .app-banner-btn{padding:10px 12px}
}

/* ---------- Professional News Detail Design ---------- */

/* Container */
.haber-detay-container{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:0 var(--gutter);
}

/* Two Column Layout */
.haber-detay-wrap{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  margin:24px 0;
}

/* Main Content Column */
.haber-main{
  min-width:0;
}

/* Breadcrumb */
.haber-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:0.875rem;
  color:var(--sub);
  margin-bottom:16px;
  flex-wrap:wrap;
}
.haber-breadcrumb a{
  color:var(--sub);
  transition:color 0.15s;
}
.haber-breadcrumb a:hover{
  color:var(--accent);
}
.haber-breadcrumb span{
  color:var(--line);
}

/* Category Badge */
.haber-cat-badge{
  display:inline-flex;
  padding:6px 14px;
  border-radius:6px;
  font-size:0.8125rem;
  font-weight:700;
  color:#fff;
  margin-bottom:16px;
  text-transform:uppercase;
  letter-spacing:0.03em;
}

/* Title */
.haber-title{
  font-size:28px;
  font-weight:900;
  line-height:1.25;
  color:var(--text);
  margin:0 0 16px;
  letter-spacing:-0.02em;
}

/* Summary */
.haber-summary{
  font-size:1.125rem;
  line-height:1.6;
  color:var(--sub);
  margin-bottom:16px;
  font-weight:500;
}

/* Meta Bar */
.haber-meta-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  margin-bottom:16px;
}
.haber-meta-left{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.haber-meta-item{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.875rem;
  color:var(--sub);
}
.haber-meta-item .ico{
  width:16px;
  height:16px;
  color:var(--sub);
}

/* Share Bar */
.haber-share-bar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 0;
  margin-bottom:20px;
}
.haber-share-btn{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  border-radius:8px;
  font-size:0.875rem;
  font-weight:600;
  transition:all 0.2s;
  border:1px solid var(--line);
  background:var(--surface);
}
.haber-share-btn svg{
  width:18px;
  height:18px;
}
.haber-share-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.haber-share-wp{color:#25D366;border-color:#25D366;}
.haber-share-wp:hover{background:#25D366;color:#fff;}
.haber-share-fb{color:#1877F2;border-color:#1877F2;}
.haber-share-fb:hover{background:#1877F2;color:#fff;}
.haber-share-tw{color:#000;border-color:#000;background:#fff;}
.haber-share-tw:hover{background:#000;color:#fff;}
.haber-share-copy{color:var(--text);}
.haber-share-copy:hover{background:var(--accent);color:#fff;border-color:var(--accent);}

/* Main Image */
.haber-main-img{
  margin:0 0 24px;
  border-radius:16px;
  overflow:hidden;
}
.haber-main-img img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
}

/* Content */
.haber-content{
  font-size:18px;
  line-height:1.75;
  color:var(--text);
}
.haber-text{
  margin-bottom:20px;
}
.haber-heading{
  font-size:24px;
  font-weight:800;
  line-height:1.3;
  color:var(--text);
  margin:32px 0 16px;
  letter-spacing:-0.01em;
}
.haber-content-img{
  margin:24px auto;
  border-radius:12px;
  overflow:hidden;
  text-align:center;
  max-width:100%;
}
.haber-content-img img{
  width:auto;
  max-width:100%;
  max-height:560px;
  height:auto;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
.haber-content-img figcaption{
  padding:12px 0;
  font-size:0.875rem;
  color:var(--sub);
  text-align:center;
  font-style:italic;
}

/* Gallery */
.haber-gallery{
  margin:40px 0;
  padding:24px;
  background:var(--surface2);
  border-radius:16px;
}
.haber-gallery-title{
  font-size:1.25rem;
  font-weight:800;
  color:var(--text);
  margin:0 0 16px;
}
.haber-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:12px;
}
.haber-gallery-item{
  margin:0;
  border-radius:12px;
  overflow:hidden;
}
.haber-gallery-item img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  transition:transform 0.3s;
}
.haber-gallery-item:hover img{
  transform:scale(1.05);
}

/* Sidebar */
.haber-sidebar{
  display:none;
}
.sidebar-widget{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  margin-bottom:24px;
  box-shadow:var(--shadow);
}
.sidebar-widget-title{
  font-size:1.125rem;
  font-weight:800;
  color:var(--text);
  margin:0 0 16px;
  padding-bottom:12px;
  border-bottom:2px solid var(--accent);
}
.sidebar-news-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.sidebar-news-item{
  display:flex;
  gap:12px;
  transition:transform 0.2s;
}
.sidebar-news-item:hover{
  transform:translateX(4px);
}
.sidebar-news-thumb{
  width:80px;
  height:80px;
  flex-shrink:0;
  border-radius:10px;
  overflow:hidden;
  background:var(--surface2);
}
.sidebar-news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.sidebar-news-info{
  flex:1;
  min-width:0;
}
.sidebar-news-cat{
  display:inline-block;
  font-size:0.75rem;
  font-weight:700;
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.sidebar-news-title{
  font-size:0.9375rem;
  font-weight:700;
  line-height:1.4;
  color:var(--text);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Related News Section */
.haber-related{
  margin:48px 0;
}
.haber-related-title{
  font-size:1.5rem;
  font-weight:900;
  color:var(--text);
  margin:0 0 24px;
  padding-bottom:12px;
  border-bottom:2px solid var(--accent);
}
.haber-related-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
.haber-related-card{
  display:block;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:all 0.2s;
  box-shadow:var(--shadow);
}
.haber-related-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
  border-color:var(--accent);
}
.haber-related-img{
  position:relative;
  width:100%;
  height:200px;
  background:var(--surface2);
  overflow:hidden;
}
.haber-related-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.3s;
}
.haber-related-card:hover .haber-related-img img{
  transform:scale(1.05);
}
.haber-related-cat{
  position:absolute;
  top:12px;
  left:12px;
  padding:6px 12px;
  border-radius:6px;
  font-size:0.75rem;
  font-weight:700;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.haber-related-body{
  padding:16px;
}
.haber-related-card-title{
  font-size:1.0625rem;
  font-weight:700;
  line-height:1.4;
  color:var(--text);
  margin:0 0 8px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.haber-related-time{
  font-size:0.8125rem;
  color:var(--sub);
}

/* Desktop Styles */
@media (min-width:1024px){
  /* Two Column Layout */
  .haber-detay-wrap{
    grid-template-columns:1fr 320px;
    gap:32px;
  }

  /* Show Sidebar */
  .haber-sidebar{
    display:block;
  }

  /* Title Larger */
  .haber-title{
    font-size:38px;
  }

  /* Share Bar */
  .haber-share-bar{
    gap:10px;
  }

  /* Related Grid 3 Columns */
  .haber-related-grid{
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }

  /* Content Font Size */
  .haber-content{
    font-size:18px;
  }
}

/* Tablet Styles */
@media (min-width:768px) and (max-width:1023px){
  .haber-title{
    font-size:34px;
  }

  .haber-related-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
}

/* Mobile Styles */
@media (max-width:767px){
  .haber-title{
    font-size:26px;
  }

  .haber-summary{
    font-size:1rem;
  }

  .haber-content{
    font-size:16px;
  }

  .haber-share-bar{
    flex-wrap:wrap;
    gap:8px;
  }

  .haber-share-btn span{
    display:none;
  }

  .haber-share-btn{
    padding:10px 12px;
  }

  .haber-heading{
    font-size:20px;
  }

  .haber-gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Ana sayfa kategori filtreleri */
.chips{display:flex;gap:6px;overflow-x:auto;padding:12px 0 2px;margin:0 calc(var(--gutter)*-1);padding-left:var(--gutter);padding-right:var(--gutter);scrollbar-width:none;-webkit-overflow-scrolling:touch;position:sticky;top:0;background:var(--bg);z-index:10;border-bottom:1px solid transparent}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1.5px solid var(--c,var(--chip));color:var(--c,var(--chip));font-weight:700;font-size:.82rem;background:transparent;white-space:nowrap;transition:all .2s ease}
.chip .ico{width:15px;height:15px}
.chip:hover{background:var(--surface2);transform:translateY(-1px)}
.chip.on{background:var(--chip);border-color:var(--chip);color:#fff}
:root[data-theme="dark"] .chip.on{color:#06201c}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .chip.on{color:#06201c}}

/* ---------- Vefat İlanları - Modern Respectful Design ---------- */

.vefat-container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px 16px;
}

.vefat-header{
  margin-bottom:32px;
  text-align:center;
}

.vefat-title{
  font-size:1.8rem;
  font-weight:900;
  color:var(--text);
  margin:0 0 8px;
  position:relative;
  display:inline-block;
}

.vefat-title::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  transform:translateX(-50%);
  width:60px;
  height:3px;
  background:var(--accent);
  border-radius:2px;
}

.vefat-subtitle{
  font-size:0.95rem;
  color:var(--sub);
  margin:16px 0 0;
}

.vefat-group{
  margin-bottom:32px;
}

.vefat-date-label{
  font-size:1rem;
  font-weight:700;
  color:var(--text);
  margin:0 0 16px;
  padding-bottom:8px;
  border-bottom:1px solid var(--line);
}

.vefat-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.vefat-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  transition:all .2s;
}

.vefat-card:hover{
  border-color:var(--accent);
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.vefat-card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}

.vefat-name{
  font-size:1.1rem;
  font-weight:700;
  color:var(--text);
  margin:0;
  flex:1;
  min-width:0;
}

.vefat-age{
  flex-shrink:0;
  font-size:0.8rem;
  font-weight:600;
  color:var(--sub);
  background:var(--surface2);
  padding:4px 10px;
  border-radius:6px;
}

.vefat-details{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.vefat-detail{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.vefat-icon{
  width:18px;
  height:18px;
  flex-shrink:0;
  color:var(--accent);
  margin-top:2px;
}

.vefat-detail-content{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.vefat-label{
  font-size:0.7rem;
  font-weight:700;
  text-transform:uppercase;
  color:var(--sub);
  letter-spacing:0.5px;
}

.vefat-value{
  font-size:0.9rem;
  font-weight:500;
  color:var(--text);
  line-height:1.4;
  word-wrap:break-word;
}

.vefat-empty{
  text-align:center;
  padding:60px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  margin-top:24px;
}

.vefat-empty-icon{
  width:56px;
  height:56px;
  margin:0 auto 16px;
  color:var(--sub);
  opacity:0.3;
}

.vefat-empty-text{
  font-size:0.95rem;
  color:var(--sub);
  margin:0;
}

/* Tablet */
@media (min-width:768px){
  .vefat-container{
    padding:32px 20px;
  }

  .vefat-header{
    margin-bottom:40px;
  }

  .vefat-title{
    font-size:2rem;
  }

  .vefat-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }

  .vefat-card{
    padding:20px;
  }

  .vefat-name{
    font-size:1.15rem;
  }
}

/* Desktop */
@media (min-width:1024px){
  .vefat-container{
    padding:40px 24px;
  }

  .vefat-grid{
    gap:20px;
  }

  .vefat-card{
    padding:22px;
  }

  .vefat-card:hover{
    transform:translateY(-1px);
  }
}

/* ---------- Konserler - Modern Event Calendar ---------- */

.konser-container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px 16px;
}

.konser-header{
  margin-bottom:24px;
  text-align:center;
}

.konser-title{
  font-size:1.8rem;
  font-weight:900;
  color:var(--text);
  margin:0 0 8px;
  position:relative;
  display:inline-block;
}

.konser-title::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  transform:translateX(-50%);
  width:60px;
  height:3px;
  background:var(--accent);
  border-radius:2px;
}

.konser-subtitle{
  font-size:0.95rem;
  color:var(--sub);
  margin:16px 0 0;
}

/* Filters */
.konser-filters{
  margin-bottom:28px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.konser-filter-cities{
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding-bottom:4px;
}

.konser-filter-cities::-webkit-scrollbar{
  display:none;
}

.konser-filter-chip{
  flex:none;
  display:inline-flex;
  align-items:center;
  height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1.5px solid var(--line);
  color:var(--text);
  font-weight:700;
  font-size:0.85rem;
  background:var(--surface);
  white-space:nowrap;
  transition:all .2s;
}

.konser-filter-chip:hover{
  background:var(--surface2);
  transform:translateY(-1px);
}

.konser-filter-chip.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.konser-filter-date{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.konser-date-chip{
  flex:none;
  display:inline-flex;
  align-items:center;
  height:32px;
  padding:0 12px;
  border-radius:8px;
  border:1.5px solid var(--line);
  color:var(--text);
  font-weight:600;
  font-size:0.8rem;
  background:var(--surface);
  transition:all .2s;
}

.konser-date-chip:hover{
  background:var(--surface2);
}

.konser-date-chip.active{
  background:var(--chip);
  border-color:var(--chip);
  color:#fff;
}

:root[data-theme="dark"] .konser-date-chip.active{
  color:#06201c;
}

/* Groups */
.konser-group{
  margin-bottom:32px;
}

.konser-date-header{
  font-size:0.95rem;
  font-weight:700;
  color:var(--text);
  margin:0 0 16px;
  padding-bottom:8px;
  border-bottom:2px solid var(--line);
}

.konser-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

/* Concert Card */
.konser-card{
  display:flex;
  gap:14px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  transition:all .2s;
  min-height:100px;
}

.konser-card:hover{
  border-color:var(--accent);
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

/* Date Block */
.konser-date-block{
  flex-shrink:0;
  width:60px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:var(--surface2);
  border-radius:10px;
  padding:8px 4px;
  border:2px solid var(--accent);
}

.konser-day{
  font-size:1.5rem;
  font-weight:800;
  color:var(--accent);
  line-height:1;
}

.konser-month{
  font-size:0.7rem;
  font-weight:700;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-top:2px;
}

/* Details */
.konser-details{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
}

.konser-name{
  font-size:1rem;
  font-weight:700;
  color:var(--text);
  margin:0;
  line-height:1.3;
}

.konser-info{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.konser-info-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.konser-info-item{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:0.8rem;
  color:var(--sub);
}

.konser-icon{
  width:14px;
  height:14px;
  flex-shrink:0;
  color:var(--accent);
}

.konser-info-item span{
  line-height:1.3;
  word-break:break-word;
}

/* Empty State */
.konser-empty{
  text-align:center;
  padding:60px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  margin-top:24px;
}

.konser-empty-icon{
  width:56px;
  height:56px;
  margin:0 auto 16px;
  color:var(--sub);
  opacity:0.3;
}

.konser-empty-text{
  font-size:0.95rem;
  color:var(--sub);
  margin:0;
}

/* Tablet */
@media (min-width:768px){
  .konser-container{
    padding:32px 20px;
  }

  .konser-header{
    margin-bottom:32px;
  }

  .konser-title{
    font-size:2rem;
  }

  .konser-filters{
    flex-direction:row;
    align-items:center;
    gap:16px;
    margin-bottom:32px;
  }

  .konser-filter-cities{
    flex:1;
    overflow:visible;
    flex-wrap:wrap;
  }

  .konser-filter-date{
    flex:none;
  }

  .konser-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }

  .konser-card{
    padding:16px;
  }

  .konser-date-block{
    width:70px;
  }

  .konser-day{
    font-size:1.7rem;
  }

  .konser-month{
    font-size:0.75rem;
  }

  .konser-name{
    font-size:1.05rem;
  }

  .konser-info-item{
    font-size:0.85rem;
  }

  .konser-icon{
    width:15px;
    height:15px;
  }
}

/* Desktop */
@media (min-width:1024px){
  .konser-container{
    padding:40px 24px;
  }

  .konser-card{
    padding:18px;
  }

  .konser-card:hover{
    transform:translateY(-1px);
  }

  .konser-name{
    font-size:1.1rem;
  }
}

/* ---------- Spor Sayfası - News + Widget Sidebar ---------- */

.spor-page{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:24px 16px;
}

.spor-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}

/* Header */
.spor-header{
  margin-bottom:24px;
}

.spor-title{
  font-size:1.8rem;
  font-weight:900;
  color:var(--text);
  margin:0 0 8px;
}

.spor-subtitle{
  font-size:0.95rem;
  color:var(--sub);
  margin:0;
}

/* News Grid */
.spor-news-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.spor-news-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  transition:all .2s;
}

.spor-news-card:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.spor-news-link{
  display:flex;
  gap:14px;
  padding:12px;
}

.spor-news-img{
  width:110px;
  height:82px;
  flex-shrink:0;
  border-radius:8px;
  overflow:hidden;
  background:var(--surface2);
}

.spor-news-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.spor-news-content{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}

.spor-news-title{
  font-size:0.95rem;
  font-weight:700;
  color:var(--text);
  margin:0;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.spor-news-card:hover .spor-news-title{
  color:var(--accent);
}

.spor-news-excerpt{
  font-size:0.85rem;
  color:var(--sub);
  margin:0;
  line-height:1.4;
  display:none;
}

.spor-news-meta{
  font-size:0.75rem;
  color:var(--sub);
}

/* Empty State */
.spor-empty{
  text-align:center;
  padding:60px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
}

.spor-empty-icon{
  width:56px;
  height:56px;
  margin:0 auto 16px;
  color:var(--sub);
  opacity:0.3;
}

.spor-empty-text{
  font-size:0.95rem;
  color:var(--sub);
  margin:0;
}

/* Widget */
.spor-widget{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  position:sticky;
  top:80px;
}

.spor-widget-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:2px solid var(--line);
}

.spor-tab{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.9rem;
  font-weight:700;
  color:var(--sub);
  background:transparent;
  border:none;
  cursor:pointer;
  transition:all .2s;
  position:relative;
}

.spor-tab:hover{
  color:var(--text);
  background:var(--surface2);
}

.spor-tab.active{
  color:var(--accent);
}

.spor-tab.active::after{
  content:"";
  position:absolute;
  bottom:-2px;
  left:0;
  right:0;
  height:2px;
  background:var(--accent);
}

.spor-widget-header{
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  background:var(--surface2);
}

.spor-league{
  display:flex;
  align-items:center;
  gap:8px;
}

.spor-league-name{
  font-size:0.85rem;
  font-weight:700;
  color:var(--text);
}

.spor-widget-content{
  display:none;
}

.spor-widget-content.active{
  display:block;
}

/* Puan Tablosu Widget */
.puan-table-wrapper{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.puan-table-widget{
  width:100%;
  border-collapse:collapse;
  font-size:0.8rem;
}

.puan-table-widget thead{
  background:var(--surface2);
}

.puan-table-widget th{
  padding:8px 6px;
  text-align:center;
  font-size:0.7rem;
  font-weight:800;
  color:var(--sub);
  text-transform:uppercase;
  letter-spacing:0.3px;
}

.puan-table-widget th.puan-col-takim{
  text-align:left;
}

.puan-row-widget{
  border-bottom:1px solid var(--line);
  transition:background .15s;
}

.puan-row-widget:hover{
  background:var(--surface2);
}

.puan-row-widget:last-child{
  border-bottom:none;
}

.puan-table-widget td{
  padding:10px 6px;
  text-align:center;
  color:var(--text);
}

.puan-col-sira{
  width:32px;
  font-weight:700;
  color:var(--accent);
  font-size:0.85rem;
}

.puan-col-takim{
  text-align:left!important;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:120px;
}

.puan-logo-widget{
  width:20px;
  height:20px;
  object-fit:contain;
  flex-shrink:0;
}

.puan-takim-adi{
  font-weight:600;
  font-size:0.8rem;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.puan-col-stat{
  width:36px;
  font-size:0.75rem;
  color:var(--sub);
}

.puan-col-av{
  display:none;
}

.puan-col-puan{
  width:40px;
  font-weight:800;
  color:var(--text);
  font-size:0.85rem;
}

/* Fikstür Widget */
.fikstur-widget-wrapper{
  padding:16px;
}

.fikstur-week-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
  gap:12px;
}

.fikstur-week-btn{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface2);
  border:1px solid var(--line);
  border-radius:8px;
  cursor:pointer;
  transition:all .2s;
}

.fikstur-week-btn:hover:not(:disabled){
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.fikstur-week-btn:disabled{
  opacity:0.3;
  cursor:not-allowed;
}

.fikstur-week-btn svg{
  width:16px;
  height:16px;
}

.fikstur-week-label{
  flex:1;
  text-align:center;
  font-size:0.9rem;
  font-weight:700;
  color:var(--text);
}

.fikstur-matches{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.fikstur-match-widget{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  align-items:center;
  padding:10px;
  background:var(--surface2);
  border-radius:8px;
}

.fikstur-team{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.8rem;
  font-weight:600;
  color:var(--text);
  min-width:0;
}

.fikstur-team:last-child{
  flex-direction:row-reverse;
  text-align:right;
}

.fikstur-team span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.fikstur-logo-widget{
  width:20px;
  height:20px;
  object-fit:contain;
  flex-shrink:0;
}

.fikstur-score{
  text-align:center;
  font-size:0.85rem;
  font-weight:700;
  color:var(--sub);
  min-width:50px;
}

.fikstur-skor-text{
  color:var(--accent);
  font-size:0.95rem;
}

.fikstur-time{
  font-size:0.8rem;
}

/* Widget Footer */
.spor-widget-footer{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:12px;
  border-top:1px solid var(--line);
  font-size:0.85rem;
  font-weight:700;
  color:var(--accent);
  transition:all .2s;
}

.spor-widget-footer:hover{
  background:var(--surface2);
}

.spor-widget-footer svg{
  width:14px;
  height:14px;
}

.spor-widget-empty{
  padding:40px 20px;
  text-align:center;
  font-size:0.9rem;
  color:var(--sub);
}

/* Tablet */
@media (min-width:768px){
  .spor-page{
    padding:32px 20px;
  }

  .spor-news-grid{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
  }

  .spor-news-link{
    flex-direction:column;
    padding:0;
  }

  .spor-news-img{
    width:100%;
    height:160px;
    border-radius:0;
  }

  .spor-news-content{
    padding:14px;
  }

  .spor-news-title{
    font-size:1rem;
  }

  .spor-news-excerpt{
    display:block;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .puan-col-av{
    display:table-cell;
  }
}

/* Desktop */
@media (min-width:1024px){
  .spor-page{
    padding:40px 24px;
  }

  .spor-layout{
    grid-template-columns:1fr 340px;
    gap:32px;
  }

  .spor-main{
    min-width:0;
  }

  .spor-sidebar{
    position:relative;
  }

  .spor-news-grid{
    grid-template-columns:1fr;
  }

  .spor-news-link{
    flex-direction:row;
    padding:12px;
  }

  .spor-news-img{
    width:140px;
    height:105px;
    border-radius:8px;
  }

  .spor-news-content{
    padding:0;
  }

  .spor-news-title{
    font-size:1.05rem;
    -webkit-line-clamp:3;
  }

  .spor-news-excerpt{
    display:none;
  }
}

/* Wide Desktop */
@media (min-width:1280px){
  .spor-news-excerpt{
    display:block;
  }
}

/* ---------- Haberler - Mynet-style Hero Manşet Slider ---------- */

.haberler-container{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:16px;
}

.haberler-cats{
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding-bottom:4px;
  margin-bottom:20px;
}

.haberler-cats::-webkit-scrollbar{
  display:none;
}

.haberler-cat{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1.5px solid var(--line);
  color:var(--text);
  font-weight:700;
  font-size:0.85rem;
  background:var(--surface);
  white-space:nowrap;
  transition:all .2s;
}

.haberler-cat .ico{
  width:18px;
  height:18px;
  color:var(--c, var(--sub));
}

.haberler-cat:hover{
  background:var(--surface2);
  transform:translateY(-1px);
}

.haberler-cat.active{
  background:var(--c, var(--accent));
  border-color:var(--c, var(--accent));
  color:#fff;
}

.haberler-cat.active .ico{
  color:#fff;
}

/* Hero Manşet Grid */
.hero-manset{
  margin-bottom:20px; /* FIXED: consistent spacing before spor panel */
}

.hero-manset-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

/* Main Slider */
.hero-main-slider{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:var(--surface2);
}

.manset-slider{
  position:relative;
  width:100%;
  height:0;
  padding-bottom:62.5%; /* 16:10 aspect ratio - FIXED: consistent across all categories */
}

.manset-slide{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity .5s;
  pointer-events:none;
}

.manset-slide.active{
  opacity:1;
  pointer-events:auto;
  z-index:1;
}

.manset-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.manset-slide-overlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:24px 20px;
  background:linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.manset-slide-tag{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:6px;
  font-size:0.75rem;
  font-weight:700;
  color:#fff;
  background:var(--accent);
  align-self:flex-start;
}

.manset-slide-title{
  font-size:1.3rem;
  font-weight:800;
  color:#fff;
  margin:0;
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-shadow:0 2px 8px rgba(0,0,0,0.3);
}

/* Slider Arrows */
.manset-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.5);
  border:none;
  border-radius:50%;
  color:#fff;
  cursor:pointer;
  transition:all .2s;
  z-index:2;
  backdrop-filter:blur(4px);
}

.manset-arrow:hover{
  background:var(--accent);
  transform:translateY(-50%) scale(1.1);
}

.manset-arrow svg{
  width:20px;
  height:20px;
}

.manset-arrow-prev{
  left:12px;
}

.manset-arrow-next{
  right:12px;
}

/* Numbered Navigation */
.manset-nav{
  display:flex;
  gap:8px;
  justify-content:center;
  padding:14px;
  background:var(--surface);
  border-top:1px solid var(--line);
}

.manset-nav-btn{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.85rem;
  font-weight:700;
  color:var(--text);
  background:var(--surface2);
  border:1.5px solid var(--line);
  border-radius:8px;
  cursor:pointer;
  transition:all .2s;
}

.manset-nav-btn:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  transform:translateY(-1px);
}

.manset-nav-btn.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

/* Side News */
.hero-side-news{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  display:none;
}

.hero-side-title{
  font-size:1rem;
  font-weight:800;
  color:var(--text);
  margin:0 0 14px;
  padding-bottom:10px;
  border-bottom:2px solid var(--line);
}

.hero-side-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.side-news-item{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
  transition:all .2s;
}

.side-news-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.side-news-item:hover{
  transform:translateX(3px);
}

.side-news-img{
  position:relative;
  width:100%;
  height:120px;
  border-radius:10px;
  overflow:hidden;
  background:var(--surface2);
}

.side-news-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.side-news-tag{
  position:absolute;
  top:8px;
  left:8px;
  padding:4px 10px;
  border-radius:6px;
  font-size:0.7rem;
  font-weight:700;
  color:#fff;
}

.side-news-title{
  font-size:0.9rem;
  font-weight:700;
  color:var(--text);
  margin:0;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.side-news-item:hover .side-news-title{
  color:var(--accent);
}

/* Breaking News */
.hero-breaking{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  display:none;
}

.hero-breaking-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:1rem;
  font-weight:800;
  color:var(--danger);
  margin:0 0 14px;
  padding-bottom:10px;
  border-bottom:2px solid var(--line);
}

.hero-breaking-title svg{
  width:18px;
  height:18px;
}

.hero-breaking-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.breaking-item{
  display:flex;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid var(--line);
  transition:all .2s;
}

.breaking-item:last-child{
  border-bottom:none;
}

.breaking-item:hover{
  transform:translateX(3px);
}

.breaking-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--danger);
  flex-shrink:0;
  margin-top:6px;
}

.breaking-content{
  flex:1;
  min-width:0;
}

.breaking-time{
  font-size:0.7rem;
  font-weight:700;
  color:var(--sub);
  display:block;
  margin-bottom:4px;
}

.breaking-text{
  font-size:0.85rem;
  font-weight:600;
  color:var(--text);
  line-height:1.4;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.breaking-item:hover .breaking-text{
  color:var(--accent);
}

/* Latest News Grid - FIXED: proper spacing after spor panel */
.haberler-latest-section{
  margin-top:24px; /* FIXED: 24px after spor panel or slider */
}

.haberler-section-title{
  font-size:1.3rem;
  font-weight:800;
  color:var(--text);
  margin:0 0 16px;
  padding-bottom:10px;
  border-bottom:2px solid var(--line);
}

.haberler-news-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.news-card-compact{
  display:flex;
  gap:12px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  transition:all .2s;
}

.news-card-compact:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.news-card-compact-img{
  position:relative;
  width:100px;
  height:75px;
  flex-shrink:0;
  border-radius:8px;
  overflow:hidden;
  background:var(--surface2);
}

.news-card-compact-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.news-card-compact-tag{
  position:absolute;
  top:6px;
  left:6px;
  padding:3px 8px;
  border-radius:4px;
  font-size:0.65rem;
  font-weight:700;
  color:#fff;
}

.news-card-compact-content{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}

.news-card-compact-title{
  font-size:0.9rem;
  font-weight:700;
  color:var(--text);
  margin:0;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.news-card-compact:hover .news-card-compact-title{
  color:var(--accent);
}

.news-card-compact-time{
  font-size:0.75rem;
  color:var(--sub);
}

/* Empty State */
.haberler-empty{
  text-align:center;
  padding:80px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
}

.haberler-empty-icon{
  width:64px;
  height:64px;
  margin:0 auto 16px;
  color:var(--sub);
  opacity:0.3;
}

.haberler-empty-text{
  font-size:1rem;
  color:var(--sub);
  margin:0;
}

/* Tablet */
@media (min-width:768px){
  .haberler-container{
    padding:24px;
  }

  .haberler-cats{
    flex-wrap:wrap;
    overflow:visible;
    margin-bottom:24px;
  }

  .hero-manset-grid{
    gap:20px;
  }

  .manset-slider{
    padding-bottom:56%; /* FIXED: 16:9 for tablet */
  }

  .manset-slide-overlay{
    padding:30px 24px;
  }

  .manset-slide-title{
    font-size:1.6rem;
  }

  .manset-arrow{
    width:46px;
    height:46px;
  }

  .hero-side-news{
    display:block;
  }

  .hero-breaking{
    display:block;
  }

  .haberler-news-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }

  .news-card-compact{
    flex-direction:column;
    padding:0;
  }

  .news-card-compact-img{
    width:100%;
    height:140px;
    border-radius:0;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
  }

  .news-card-compact-content{
    padding:12px;
  }

  .news-card-compact-title{
    font-size:0.95rem;
  }

  /* SPOR PANEL - TABLET */
  .spor-data-panel{
    margin:24px auto 32px;
    padding:0 20px;
  }

  .fikstur-match-row{
    grid-template-columns:1fr 100px 1fr;
    gap:12px;
    padding:14px;
  }

  .fikstur-team-name{
    max-width:180px;
  }
}

/* Desktop */
@media (min-width:1024px){
  .haberler-container{
    padding:32px 24px;
  }

  .hero-manset-grid{
    grid-template-columns:60% 20% 20%;
    gap:16px;
  }

  .manset-slider{
    padding-bottom:52%; /* FIXED: proper desktop aspect ratio */
  }

  .manset-slide-overlay{
    padding:36px 32px;
  }

  .manset-slide-title{
    font-size:2rem;
    -webkit-line-clamp:2;
  }

  .manset-nav{
    padding:16px;
  }

  .manset-nav-btn{
    width:40px;
    height:40px;
    font-size:0.9rem;
  }

  .hero-side-news,
  .hero-breaking{
    display:block;
  }

  .haberler-news-grid{
    grid-template-columns:repeat(3,1fr);
    gap:18px;
  }

  .news-card-compact-img{
    height:160px;
  }

  .news-card-compact-title{
    font-size:1rem;
  }

  /* SPOR PANEL - DESKTOP */
  .spor-data-panel{
    margin:28px auto 36px;
    padding:0;
  }

  .puan-takim-name{
    max-width:220px;
  }

  .fikstur-match-row{
    grid-template-columns:1fr 110px 1fr;
    gap:14px;
    padding:14px 16px;
    min-height:58px;
    max-height:58px;
  }

  .fikstur-team-name{
    font-size:0.95rem;
    max-width:220px;
  }

  .fikstur-logo-img{
    width:28px;
    height:28px;
  }

  .fikstur-match-score{
    width:110px;
  }
}

/* Wide Desktop */
@media (min-width:1280px){
  .manset-slide-title{
    font-size:2.2rem;
  }

  .haberler-news-grid{
    grid-template-columns:repeat(4,1fr);
  }

  /* SPOR PANEL - WIDE DESKTOP */
  .spor-data-panel{
    max-width:1200px;
  }

  .puan-takim-name{
    max-width:250px;
  }

  .fikstur-team-name{
    max-width:260px;
  }
}

/* Extra Wide Desktop */
@media (min-width:1440px){
  .puan-takim-name,
  .fikstur-team-name{
    max-width:300px;
  }
}

/* ---------- Futbol Widget - Mynet Style ---------- */

.futbol-widget{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}

/* Tabs */
.futbol-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:2px solid var(--line);
  background:var(--surface2);
}

.futbol-tab{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.9rem;
  font-weight:700;
  color:var(--sub);
  background:transparent;
  border:none;
  cursor:pointer;
  transition:all .2s;
  position:relative;
}

.futbol-tab:hover{
  color:var(--text);
  background:rgba(0,0,0,0.02);
}

.futbol-tab.active{
  color:var(--accent);
}

.futbol-tab.active::after{
  content:"";
  position:absolute;
  bottom:-2px;
  left:0;
  right:0;
  height:2px;
  background:var(--accent);
}

/* League Selector */
.futbol-league-selector{
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  background:var(--surface);
}

.futbol-league-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 12px;
  background:var(--surface2);
  border:1px solid var(--line);
  border-radius:8px;
  cursor:pointer;
  transition:all .2s;
}

.futbol-league-btn:hover{
  border-color:var(--accent);
}

.futbol-league-name{
  font-size:0.85rem;
  font-weight:700;
  color:var(--text);
}

.futbol-league-arrow{
  width:16px;
  height:16px;
  color:var(--sub);
  transition:transform .2s;
}

/* Content */
.futbol-content{
  display:none;
}

.futbol-content.active{
  display:block;
}

/* Loading */
.futbol-loading{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

.futbol-spinner{
  width:32px;
  height:32px;
  border:3px solid var(--line);
  border-top-color:var(--accent);
  border-radius:50%;
  animation:spin 0.8s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg);}
}

/* Puan Durumu */
.puan-table-container{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.puan-table{
  width:100%;
  border-collapse:collapse;
  font-size:0.8rem;
}

.puan-table thead{
  background:var(--surface2);
  position:sticky;
  top:0;
  z-index:1;
}

.puan-table th{
  padding:10px 8px;
  text-align:center;
  font-size:0.7rem;
  font-weight:800;
  color:var(--sub);
  text-transform:uppercase;
  letter-spacing:0.3px;
}

.puan-th-sira{
  width:36px;
}

.puan-th-takim{
  text-align:left!important;
  padding-left:12px!important;
}

.puan-th-stat{
  width:36px;
}

.puan-th-puan{
  width:40px;
}

.puan-row{
  border-bottom:1px solid var(--line);
  transition:background .15s;
}

.puan-row:hover{
  background:var(--surface2);
}

.puan-row:last-child{
  border-bottom:none;
}

.puan-table td{
  padding:11px 8px;
  text-align:center;
  color:var(--text);
}

.puan-sira{
  font-weight:700;
  color:var(--accent);
  font-size:0.85rem;
}

.puan-takim{
  text-align:left!important;
  padding-left:12px!important;
  display:flex;
  align-items:center;
  gap:8px;
}

.puan-logo{
  width:20px;
  height:20px;
  object-fit:contain;
  flex-shrink:0;
}

.puan-takim-adi{
  font-weight:600;
  font-size:0.8rem;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.puan-stat{
  font-size:0.75rem;
  color:var(--sub);
}

.puan-puan{
  font-weight:800;
  color:var(--text);
  font-size:0.85rem;
}

/* Fikstür */
.fikstur-week-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  gap:12px;
  border-bottom:1px solid var(--line);
}

.fikstur-week-btn{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface2);
  border:1px solid var(--line);
  border-radius:8px;
  cursor:pointer;
  transition:all .2s;
  flex-shrink:0;
}

.fikstur-week-btn:hover:not(:disabled){
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.fikstur-week-btn:disabled{
  opacity:0.3;
  cursor:not-allowed;
}

.fikstur-week-btn svg{
  width:16px;
  height:16px;
}

.fikstur-week-display{
  flex:1;
  text-align:center;
}

.fikstur-week-label{
  font-size:0.9rem;
  font-weight:700;
  color:var(--text);
}

.fikstur-matches-container{
  padding:12px 16px;
  max-height:400px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

.fikstur-matches{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.fikstur-match{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:8px;
  align-items:center;
  padding:10px;
  background:var(--surface2);
  border-radius:8px;
  transition:all .2s;
}

.fikstur-match:hover{
  background:var(--surface);
  box-shadow:0 2px 4px rgba(0,0,0,0.05);
}

.fikstur-team{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.8rem;
  font-weight:600;
  color:var(--text);
  min-width:0;
}

.fikstur-home{
  justify-content:flex-start;
}

.fikstur-away{
  justify-content:flex-end;
  flex-direction:row-reverse;
}

.fikstur-logo{
  width:20px;
  height:20px;
  object-fit:contain;
  flex-shrink:0;
}

.fikstur-team-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.fikstur-score{
  text-align:center;
  font-size:0.85rem;
  font-weight:700;
  color:var(--sub);
  min-width:50px;
}

.fikstur-result{
  color:var(--accent);
  font-size:0.95rem;
}

.fikstur-live{
  color:#ef4444;
  font-size:0.75rem;
  animation:pulse 1.5s infinite;
}

@keyframes pulse{
  0%, 100%{opacity:1;}
  50%{opacity:0.5;}
}

.fikstur-time{
  font-size:0.8rem;
}

/* Footer Link */
.futbol-footer-link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:12px;
  border-top:1px solid var(--line);
  font-size:0.85rem;
  font-weight:700;
  color:var(--accent);
  background:var(--surface);
  transition:all .2s;
}

.futbol-footer-link:hover{
  background:var(--surface2);
}

.futbol-footer-link svg{
  width:14px;
  height:14px;
}

/* Empty State */
.futbol-empty{
  padding:40px 20px;
  text-align:center;
  font-size:0.9rem;
  color:var(--sub);
}

/* Responsive */
@media (max-width:1023px){
  .futbol-widget{
    max-width:600px;
    margin:0 auto;
  }
}

/* Mobile Content Images */
@media (max-width:767px){
  .haber-content-img{
    margin:20px auto;
  }

  .haber-content-img img{
    max-height:none;
    width:100%;
    height:auto;
  }
}

/* ---------- Haberler Spor Category Layout ---------- */

.haberler-spor-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:start;
}

.haberler-spor-news{
  min-width:0;
}

.haberler-spor-sidebar{
  display:none;
}

/* Desktop - Sidebar Layout */
@media (min-width:1024px){
  .haberler-spor-layout{
    grid-template-columns:1fr 320px;
    gap:28px;
  }

  .haberler-spor-sidebar{
    display:block;
    position:sticky;
    top:80px;
  }
}

@media (min-width:1280px){
  .haberler-spor-layout{
    grid-template-columns:1fr 340px;
  }
}

/* Mobile - Show widget at bottom */
@media (max-width:1023px){
  .haberler-spor-sidebar{
    display:block;
    max-width:600px;
    margin:32px auto 0;
  }
}

/* ---------- Futbol Widget Compact - Sidebar ---------- */

.futbol-widget-compact{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}

/* Tabs */
.futbol-compact-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:2px solid var(--line);
  background:var(--surface2);
}

.futbol-compact-tab{
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.85rem;
  font-weight:700;
  color:var(--sub);
  background:transparent;
  border:none;
  cursor:pointer;
  transition:all .2s;
  position:relative;
}

.futbol-compact-tab:hover{
  color:var(--text);
  background:rgba(0,0,0,0.02);
}

.futbol-compact-tab.active{
  color:var(--accent);
}

.futbol-compact-tab.active::after{
  content:"";
  position:absolute;
  bottom:-2px;
  left:0;
  right:0;
  height:2px;
  background:var(--accent);
}

/* Content */
.futbol-compact-content{
  display:none;
}

.futbol-compact-content.active{
  display:block;
}

/* Puan Durumu Compact */
.puan-compact-table{
  padding:8px 0;
}

.puan-compact-row{
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  transition:background .15s;
}

.puan-compact-row:hover{
  background:var(--surface2);
}

.puan-compact-sira{
  font-size:0.8rem;
  font-weight:700;
  color:var(--accent);
  text-align:center;
}

.puan-compact-takim{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.puan-compact-logo{
  width:18px;
  height:18px;
  object-fit:contain;
  flex-shrink:0;
}

.puan-compact-takim-adi{
  font-size:0.8rem;
  font-weight:600;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.puan-compact-stats{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.75rem;
}

.puan-compact-stat{
  color:var(--sub);
  min-width:18px;
  text-align:center;
}

.puan-compact-puan{
  font-weight:800;
  color:var(--text);
  min-width:22px;
  text-align:center;
}

.puan-compact-full{
  border-top:1px solid var(--line);
}

/* More Button */
.futbol-compact-more{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:11px;
  border:none;
  border-top:1px solid var(--line);
  background:var(--surface);
  font-size:0.8rem;
  font-weight:700;
  color:var(--accent);
  cursor:pointer;
  transition:all .2s;
}

.futbol-compact-more:hover{
  background:var(--surface2);
}

.futbol-compact-more svg{
  width:14px;
  height:14px;
}

/* Fikstür Compact */
.fikstur-compact-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px;
  gap:10px;
  border-bottom:1px solid var(--line);
  background:var(--surface2);
}

.fikstur-compact-nav-btn{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer;
  transition:all .2s;
  flex-shrink:0;
}

.fikstur-compact-nav-btn:hover:not(:disabled){
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.fikstur-compact-nav-btn:disabled{
  opacity:0.3;
  cursor:not-allowed;
}

.fikstur-compact-nav-btn svg{
  width:16px;
  height:16px;
}

.fikstur-compact-week-select{
  flex:1;
  padding:6px 10px;
  font-size:0.85rem;
  font-weight:700;
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer;
  text-align:center;
}

.fikstur-compact-matches{
  padding:0;
  max-height:450px;
  overflow-y:auto;
}

.fikstur-compact-match{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}

.fikstur-compact-match:last-child{
  border-bottom:none;
}

.fikstur-compact-match-teams{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.fikstur-compact-team-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.fikstur-compact-team-name{
  font-size:0.85rem;
  font-weight:600;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  flex:1;
}

.fikstur-compact-logo{
  width:20px;
  height:20px;
  object-fit:contain;
  flex-shrink:0;
}

.fikstur-compact-match-vs{
  text-align:center;
  padding:6px 0;
}

.fikstur-compact-score{
  font-size:0.95rem;
  font-weight:700;
  color:var(--accent);
}

.fikstur-compact-live{
  font-size:0.8rem;
  font-weight:700;
  color:#ef4444;
  animation:pulse 1.5s infinite;
}

.fikstur-compact-time{
  font-size:0.85rem;
  color:var(--sub);
  font-weight:600;
}

/* Empty State */
.futbol-compact-empty{
  padding:30px 20px;
  text-align:center;
  font-size:0.85rem;
  color:var(--sub);
}

/* Mobile Adjustments */
@media (max-width:767px){
  .futbol-widget-compact{
    max-width:100%;
  }
}


/* ==================================================================
   SPOR PANEL - Tek panel, compact, düzgün layout
   ================================================================== */

/* SPOR DATA PANEL - FIXED: consistent spacing */
.spor-data-panel{
  margin:20px auto 24px; /* FIXED: 20px after slider, 24px before news grid */
  max-width:1200px;
  padding:0 16px;
}

.spor-panel-container{
  background:var(--surface);
  border-radius:14px;
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}

/* Tabs */
.spor-panel-tabs{
  display:flex;
  border-bottom:2px solid var(--line);
  background:var(--surface);
}

.spor-panel-tab{
  flex:1;
  padding:14px 20px;
  font-size:0.95rem;
  font-weight:700;
  color:var(--sub);
  background:transparent;
  border:none;
  cursor:pointer;
  transition:all 0.2s ease;
  position:relative;
  text-align:center;
}

.spor-panel-tab:hover{
  color:var(--text);
}

.spor-panel-tab.active{
  color:var(--accent);
}

.spor-panel-tab.active::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:0;
  right:0;
  height:3px;
  background:var(--accent);
}

/* League Header */
.spor-panel-league{
  padding:12px 20px;
  border-bottom:1px solid var(--line);
  background:var(--surface2);
}

.spor-league-name{
  font-size:0.9rem;
  font-weight:600;
  color:var(--text);
}

/* Content */
.spor-panel-content{
  display:none;
  padding:20px;
}

.spor-panel-content.active{
  display:block;
}

/* ===== PUAN DURUMU TABLE - COMPLETELY FIXED ===== */
.puan-table-wrapper{
  width:100%;
  overflow-x:auto;
  margin-bottom:12px;
  -webkit-overflow-scrolling:touch;
}

.puan-table-full{
  width:100%;
  border-collapse:collapse;
  table-layout:auto; /* FIXED: auto for proper content distribution */
  font-size:0.9rem;
  background:var(--surface);
}

.puan-table-full thead{
  background:var(--surface2);
  border-bottom:2px solid var(--line);
}

.puan-table-full th{
  padding:12px 10px;
  text-align:center;
  font-size:0.75rem;
  font-weight:700;
  color:var(--sub);
  text-transform:uppercase;
  letter-spacing:0.3px;
  white-space:nowrap;
  vertical-align:middle;
  border-right:1px solid var(--line);
}

.puan-table-full th:last-child{
  border-right:none;
}

/* Header columns */
.puan-th-sira{
  width:50px;
  text-align:center;
}

.puan-th-takim{
  width:auto;
  min-width:200px;
  text-align:left;
  padding-left:16px;
}

.puan-th-o,
.puan-th-g,
.puan-th-b,
.puan-th-m{
  width:60px;
  text-align:center;
}

.puan-th-av{
  width:70px;
  text-align:center;
}

.puan-th-p{
  width:70px;
  text-align:center;
}

/* Table body */
.puan-table-full tbody tr{
  border-bottom:1px solid var(--line);
  transition:background 0.15s ease;
  height:44px;
}

.puan-table-full tbody tr:hover{
  background:var(--surface2);
}

.puan-table-full td{
  padding:10px;
  text-align:center;
  vertical-align:middle;
  white-space:nowrap;
  height:44px;
  border-right:1px solid var(--line);
}

.puan-table-full td:last-child{
  border-right:none;
}

/* Data cells - MATCH header widths exactly */
.puan-td-sira{
  width:50px;
  font-weight:600;
  color:var(--sub);
  text-align:center;
}

.puan-td-takim{
  width:auto;
  min-width:200px;
  text-align:left;
  padding-left:16px;
}

.puan-td-takim div{
  display:flex;
  align-items:center;
  gap:10px;
  height:28px;
}

.puan-logo-img{
  width:24px;
  height:24px;
  object-fit:contain;
  flex-shrink:0;
}

.puan-takim-name{
  font-weight:600;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:300px;
  line-height:1.2;
}

.puan-td-o,
.puan-td-g,
.puan-td-b,
.puan-td-m{
  width:60px;
  text-align:center;
  color:var(--text);
  font-size:0.9rem;
}

.puan-td-av{
  width:70px;
  text-align:center;
  color:var(--text);
  font-size:0.9rem;
}

.puan-td-p{
  width:70px;
  text-align:center;
  font-weight:700;
  color:var(--accent);
  font-size:1rem;
}

.puan-td-p strong{
  font-weight:700;
  color:var(--accent);
}

/* Toggle Button */
.spor-toggle-btn{
  width:100%;
  padding:12px;
  background:var(--surface2);
  border:1px solid var(--line);
  border-radius:8px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:0.85rem;
  font-weight:600;
  color:var(--accent);
  transition:all 0.2s ease;
  margin-top:12px;
}

.spor-toggle-btn:hover{
  background:var(--line);
}

.spor-toggle-icon{
  width:16px;
  height:16px;
  transition:transform 0.3s ease;
}

.spor-toggle-btn[data-state="expanded"] .spor-toggle-icon{
  transform:rotate(180deg);
}

/* ===== FİKSTÜR ===== */

/* Week Navigation */
.fikstur-week-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:14px;
  background:var(--surface2);
  border-radius:8px;
  margin-bottom:16px;
}

.fikstur-week-btn{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer;
  transition:all 0.2s ease;
  color:var(--text);
}

.fikstur-week-btn:hover:not(:disabled){
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.fikstur-week-btn:disabled{
  opacity:0.3;
  cursor:not-allowed;
}

.fikstur-week-btn svg{
  width:18px;
  height:18px;
}

.fikstur-week-selector{
  flex:1;
  max-width:180px;
}

.fikstur-week-select{
  width:100%;
  padding:8px 12px;
  font-size:0.9rem;
  font-weight:600;
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer;
  text-align:center;
}

.fikstur-week-select:focus{
  outline:none;
  border-color:var(--accent);
}

/* Matches Container */
.fikstur-matches-container{
  min-height:200px;
}

.fikstur-week-matches{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.fikstur-date-header{
  padding:8px 12px;
  font-size:0.75rem;
  font-weight:700;
  color:var(--sub);
  text-transform:uppercase;
  letter-spacing:0.5px;
  background:var(--surface2);
  border-radius:4px;
  margin-top:8px;
}

.fikstur-date-header:first-child{
  margin-top:0;
}

/* Match Row - Single Line - FIXED: proper layout */
.fikstur-match-row{
  display:grid;
  grid-template-columns:1fr 90px 1fr;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  transition:all 0.15s ease;
  min-height:54px;
  max-height:54px; /* FIXED: prevent height expansion */
}

.fikstur-match-row:hover{
  background:var(--surface2);
  border-color:var(--accent);
}

/* Home Team - Right Aligned */
.fikstur-home{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0; /* FIXED: enable text truncation */
}

.fikstur-home .fikstur-team-name{
  text-align:right;
}

/* Away Team - Left Aligned */
.fikstur-away{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-width:0; /* FIXED: enable text truncation */
}

.fikstur-away .fikstur-team-name{
  text-align:left;
}

.fikstur-logo-img{
  width:24px;
  height:24px;
  object-fit:contain;
  flex-shrink:0;
}

.fikstur-team-name{
  font-size:0.88rem;
  font-weight:600;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:150px; /* FIXED: prevent overflow */
}

/* Score/Time - Center */
.fikstur-match-score{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:90px; /* FIXED: consistent width */
}

.fikstur-score-result{
  font-size:1rem;
  font-weight:700;
  color:var(--accent);
  white-space:nowrap;
}

.fikstur-score-live{
  font-size:0.78rem;
  font-weight:700;
  color:#ef4444;
  padding:3px 8px;
  background:rgba(239,68,68,0.1);
  border-radius:4px;
  white-space:nowrap;
}

.fikstur-score-time{
  font-size:0.88rem;
  font-weight:600;
  color:var(--sub);
}

/* Empty State */
.spor-panel-empty{
  padding:40px 20px;
  text-align:center;
  color:var(--sub);
  font-size:0.9rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width:767px){
  .spor-data-panel{
    margin:16px auto 20px;
    padding:0 12px;
  }

  .spor-panel-tab{
    padding:12px 10px;
    font-size:0.88rem;
  }

  .spor-panel-league{
    padding:10px 14px;
  }

  .spor-panel-content{
    padding:14px 12px;
  }

  /* Puan - Hide G/B/M on mobile */
  .puan-th-g,.puan-th-b,.puan-th-m,
  .puan-td-g,.puan-td-b,.puan-td-m{
    display:none;
  }

  .puan-table-full{
    font-size:0.8rem;
    min-width:360px;
  }

  .puan-table-full th{
    padding:8px 4px;
    font-size:0.68rem;
  }

  .puan-table-full td{
    padding:8px 4px;
  }

  .puan-td-takim div{
    gap:6px;
  }

  .puan-logo-img{
    width:20px;
    height:20px;
  }

  .puan-takim-name{
    font-size:0.78rem;
    max-width:100px;
  }

  /* Fikstür Mobile */
  .fikstur-week-nav{
    gap:8px;
    padding:10px;
  }

  .fikstur-week-btn{
    width:32px;
    height:32px;
  }

  .fikstur-week-btn svg{
    width:16px;
    height:16px;
  }

  .fikstur-week-select{
    font-size:0.8rem;
    padding:6px 10px;
  }

  .fikstur-match-row{
    grid-template-columns:1fr 75px 1fr;
    gap:6px;
    padding:10px 8px;
    min-height:48px;
    max-height:48px;
  }

  .fikstur-logo-img{
    width:20px;
    height:20px;
  }

  .fikstur-team-name{
    font-size:0.78rem;
    max-width:100px;
  }

  .fikstur-match-score{
    width:75px;
  }

  .fikstur-score-result{
    font-size:0.9rem;
  }

  .fikstur-score-time{
    font-size:0.8rem;
  }

  .fikstur-date-header{
    padding:6px 10px;
    font-size:0.7rem;
  }
}

@media (max-width:480px){
  .puan-takim-name{
    font-size:0.75rem;
    max-width:90px;
  }

  .fikstur-team-name{
    font-size:0.75rem;
    max-width:85px;
  }

  .fikstur-match-row{
    grid-template-columns:1fr 70px 1fr;
    gap:4px;
    padding:8px 6px;
  }

  .fikstur-match-score{
    width:70px;
  }
}

/* ============================================
   NEW SPORT PANEL (SPL-*) - Side-by-Side Layout
   ============================================ */

/* Layout: Desktop 2-column grid when sport panel exists */
.hero-manset:has(.spl-panel) .hero-manset-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* Sport Panel Container */
.spl-panel {
  background: #0F172A;
  border-radius: 12px;
  border: 1px solid rgba(248,250,252,0.08);
  overflow: hidden;
  height: fit-content;
  max-height: 680px;
  display: flex;
  flex-direction: column;
}

/* Tab Navigation */
.spl-tabs {
  display: flex;
  background: rgba(15,23,42,0.6);
  border-bottom: 1px solid rgba(248,250,252,0.06);
}

.spl-tab {
  flex: 1;
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #94A3B8;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.spl-tab:hover {
  color: #F8FAFC;
  background: rgba(56,189,248,0.05);
}

.spl-tab-active {
  color: #38BDF8;
  background: rgba(56,189,248,0.1);
}

.spl-tab-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #38BDF8;
}

/* League Title */
.spl-league {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #F59E0B;
  background: rgba(245,158,11,0.08);
  border-bottom: 1px solid rgba(248,250,252,0.06);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Content Area */
.spl-content {
  display: none;
  overflow-y: auto;
  max-height: 580px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56,189,248,0.3) transparent;
}

.spl-content::-webkit-scrollbar {
  width: 6px;
}

.spl-content::-webkit-scrollbar-thumb {
  background: rgba(56,189,248,0.3);
  border-radius: 3px;
}

.spl-content::-webkit-scrollbar-track {
  background: transparent;
}

.spl-content-active {
  display: block;
}

/* Empty State */
.spl-empty {
  padding: 48px 20px;
  text-align: center;
  color: #64748B;
  font-size: 0.875rem;
}

/* ============================================
   PUAN DURUMU (Standings Table)
   ============================================ */

.spl-table-wrap {
  overflow-x: auto;
}

.spl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.spl-th {
  padding: 10px 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(15,23,42,0.6);
  border-bottom: 1px solid rgba(248,250,252,0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}

.spl-th-rank {
  width: 36px;
  padding-left: 12px;
}

.spl-th-team {
  text-align: left;
  padding-left: 12px;
  width: auto;
}

.spl-th-stat {
  width: 32px;
}

.spl-th-pts {
  width: 40px;
  padding-right: 12px;
}

.spl-row {
  border-bottom: 1px solid rgba(248,250,252,0.04);
  transition: background 0.15s ease;
}

.spl-row:hover {
  background: rgba(56,189,248,0.05);
}

.spl-td {
  padding: 10px 8px;
  text-align: center;
  color: #E2E8F0;
}

.spl-td-rank {
  padding-left: 12px;
  color: #64748B;
  font-weight: 600;
  font-size: 0.75rem;
}

.spl-td-team {
  text-align: left;
  padding-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spl-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.spl-team-name {
  font-weight: 600;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.spl-td-stat {
  font-size: 0.8125rem;
  color: #CBD5E1;
}

.spl-td-pts strong {
  color: #38BDF8;
  font-weight: 700;
  font-size: 0.875rem;
}

.spl-td-pts {
  padding-right: 12px;
}

/* Top 4 highlight */
.spl-row:nth-child(-n+4) .spl-td-rank {
  color: #4FD1C5;
}

/* Bottom 3 highlight */
.spl-row:nth-last-child(-n+3) .spl-td-rank {
  color: #F87171;
}

/* ============================================
   FİKSTÜR (Fixtures)
   ============================================ */

/* Week Navigation */
.spl-week-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(15,23,42,0.6);
  border-bottom: 1px solid rgba(248,250,252,0.06);
}

.spl-week-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #38BDF8;
}

.spl-week-btn:hover {
  background: rgba(56,189,248,0.2);
  border-color: #38BDF8;
}

.spl-week-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.spl-week-btn svg {
  width: 16px;
  height: 16px;
}

.spl-week-select {
  flex: 1;
  padding: 8px 12px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(248,250,252,0.1);
  border-radius: 6px;
  color: #F8FAFC;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spl-week-select option {
  background: #0F172A;
  color: #F8FAFC;
  padding: 8px;
}

.spl-week-select:hover {
  border-color: rgba(56,189,248,0.4);
  background: rgba(56,189,248,0.08);
}

.spl-week-select:focus {
  outline: none;
  border-color: #38BDF8;
}

/* Matches Container */
.spl-matches {
  padding: 0;
}

.spl-week-group {
  display: block;
}

/* Match Date Header */
.spl-match-date {
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245,158,11,0.08);
  border-bottom: 1px solid rgba(248,250,252,0.04);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Match Row */
.spl-match {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(248,250,252,0.04);
  transition: background 0.15s ease;
}

.spl-match:hover {
  background: rgba(56,189,248,0.04);
}

.spl-match-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.spl-match-team:first-child {
  justify-content: flex-end;
}

.spl-match-team:last-child {
  justify-content: flex-start;
}

.spl-match-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.spl-match-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.spl-match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.spl-score {
  font-size: 0.9rem;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: 0.5px;
}

.spl-live {
  font-size: 0.7rem;
  font-weight: 700;
  color: #F8FAFC;
  background: #EF4444;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: spl-pulse 2s ease-in-out infinite;
}

@keyframes spl-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.spl-time {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94A3B8;
}

/* ============================================
   RESPONSIVE: Tablet
   ============================================ */

@media (max-width: 1024px) {
  .hero-manset:has(.spl-panel) .hero-manset-grid {
    grid-template-columns: 1fr 320px;
    gap: 20px;
  }

  .spl-panel {
    max-height: 600px;
  }

  .spl-team-name {
    max-width: 110px;
  }

  .spl-match-name {
    max-width: 90px;
  }

  .spl-hide-mob {
    display: none;
  }
}

/* ============================================
   RESPONSIVE: Mobile
   ============================================ */

@media (max-width: 768px) {
  .hero-manset:has(.spl-panel) .hero-manset-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spl-panel {
    max-height: 500px;
  }

  .spl-tab {
    padding: 12px 12px;
    font-size: 0.8125rem;
  }

  .spl-league {
    font-size: 0.75rem;
    padding: 10px 12px;
  }

  .spl-th {
    font-size: 0.65rem;
    padding: 8px 6px;
  }

  .spl-td {
    padding: 8px 6px;
    font-size: 0.75rem;
  }

  .spl-logo {
    width: 18px;
    height: 18px;
  }

  .spl-team-name {
    font-size: 0.8125rem;
    max-width: 100px;
  }

  .spl-match {
    grid-template-columns: 1fr 70px 1fr;
    gap: 8px;
    padding: 10px 12px;
  }

  .spl-match-logo {
    width: 18px;
    height: 18px;
  }

  .spl-match-name {
    font-size: 0.75rem;
    max-width: 80px;
  }

  .spl-score {
    font-size: 0.8125rem;
  }

  .spl-time {
    font-size: 0.75rem;
  }
}
