* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; background: #0a0f1e; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #e0e0e0; overflow-x: hidden; transition: background 0.3s, color 0.3s; }
body.dark-mode { background: #2a2a3e; color: #e0e0e0; }
#mainContent { min-height: calc(100vh - 320px); }

:root {
  --teget: #1a1a2e;
  --crvena: #d90429;
  --plava: #2563eb;
  --ljubicasta: #7c3aed;
  --zelena: #26bf11;
  --zuta: #f7aa02;
  --roza: #d6cd1e;
  --tirkizna: #06b6d4;
}


  /* SKIN AD — MODE 1: Bočne fixne reklame */
  body.skin-sides .skin-ad-left,
  body.skin-sides .skin-ad-right {
    display: block !important;
    position: fixed;
    top: 56px;
    bottom: 0;
    width: calc((100vw - 1020px) / 2);
    z-index: 50;
    overflow: hidden;
  }
  body.skin-sides .skin-ad-left { left: 0; }
  body.skin-sides .skin-ad-right { right: 0; }
  .skin-ad-left a, .skin-ad-right a {
    display: block;
    width: 100%;
    height: 100%;
  }
  .skin-ad-left img, .skin-ad-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
  .skin-ad-right img {
    object-position: left center;
  }
  .skin-ad-label {
    position: absolute;
    bottom: 4px;
    font-size: 8px;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  .skin-ad-left .skin-ad-label { right: 6px; }
  .skin-ad-right .skin-ad-label { left: 6px; }

  /* SKIN AD — MODE 2: Wallpaper pozadinska reklama */
  body.skin-wallpaper {
    background-image: var(--wallpaper-url) !important;
    background-size: 100% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
  }
  body.skin-wallpaper .skin-bg-ad {
    display: block !important;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    cursor: pointer;
  }

  /* HEADER */
.hdr { background: #16213e; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 100; }
.logo { font-size: 18px; font-weight: 900; letter-spacing: 3px; color: #fff; border: 2px solid #d90429; padding: 2px 8px; margin-left: -4px; cursor: pointer; }
.logo span { color: #d90429; }
.hdr-icons { display: flex; gap: 12px; align-items: center; }
#currentCat:empty { display: none; }
.hdr-icon { width: 26px; height: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hdr-icon svg { width: 100%; height: 100%; stroke: rgba(255,255,255,0.85); stroke-width: 2; fill: none; }

/* BREAKING */
.brk { background: var(--crvena); padding: 10px 14px 7px 14px; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.bdot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.5s infinite; flex-shrink: 0; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.5); opacity: 0; } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.1; transform: scale(0.8); } }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
@keyframes scroll-right { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* SCROLL SNAP */
#basketballScroll { scroll-snap-type: y mandatory; scroll-behavior: auto; }
#basketballScroll > div { scroll-snap-align: start; scroll-snap-stop: always; }

/* HERO */
.hero { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); margin-bottom: 0; min-height: 300px; background-size: cover; background-position: center; }
.hero-ov { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%); padding: 80px 14px 20px; }
.hero-badge { display: inline-block; background: var(--crvena); color: #fff; padding: 4px 12px; font-size: 9px; font-weight: 800; border-radius: 3px; margin-bottom: 8px; }
.hero-title { font-size: 20px; font-weight: 900; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.3; margin-bottom: 10px; margin-top: 0; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.4; margin-bottom: 5px; }
.hero-meta { font-size: 12px; color: rgba(255,255,255,0.5); }

/* TABS */
.tabs { display: flex; overflow-x: auto; background: #16213e; -webkit-overflow-scrolling: touch; position: sticky; top: 51px; z-index: 99; margin: 0; padding: 0; padding-bottom: 0 !important;  width: 100vw; margin-left: calc(-50vw + 50%); justify-content: space-around; }
.tabs span { flex: 1; padding: 10px 0; text-align: center; font-size: 12px; font-weight: 700; white-space: nowrap; border-bottom: 0; cursor: pointer; transition: all 0.2s; text-transform: uppercase; color: rgba(255,255,255,0.85); letter-spacing: 0.5px; margin: 0 1px; }
.tabs span { flex: 1; padding: 10px 0; text-align: center; font-size: 12px; font-weight: 700; white-space: nowrap; border-bottom: 0; cursor: pointer; transition: all 0.2s; text-transform: uppercase; color: rgba(255,255,255,0.85); letter-spacing: 0.5px; margin: 0 1px; }
.tabs span[style*="border-bottom: 3px"] { }
/* Removed override rule */

/* ČLANCI */
.big-article { padding: 14px; border-bottom: 1px solid #f0f0f0; background: #fff; margin-bottom: 0; cursor: pointer; transition: all 0.3s ease; }

.big-article img { width: 100%; height: 240px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; display: block; }
.big-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.big-title { font-size: 22px; font-weight: 900; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--teget); line-height: 1.1; margin-top: 5px; }
.big-time { font-size: 9px; color: #bbb; margin-top: 5px; }
body.dark-mode .big-article { background: #2a2a3e; border-bottom-color: transparent; margin-bottom: 0; }

body.dark-mode .big-title { color: #e0e0e0; }
body.dark-mode .big-time { color: #888; }

/* ČLANAKA U LISTI */
.article-item { display: flex; gap: 12px; padding: 14px 14px; border-bottom: 1px solid #f0f0f0; border-left: 3px solid; background: #fff; cursor: pointer; transition: all 0.3s ease; }

.article-item img { width: 100px; height: 75px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.article-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.article-title { font-size: 16px; font-weight: 900; color: var(--teget); line-height: 1.2; margin-top: 3px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.article-time { font-size: 9px; color: #bbb; margin-top: 4px; }
body.dark-mode .article-item { background: #2a2a3e; border-bottom-color: transparent; }

body.dark-mode .article-title { color: #e0e0e0; }
body.dark-mode .article-time { color: #888; }

/* ARTICLE ROW - 2 kolone (slika gore, tekst dolje) */
.article-row { display: flex; gap: 10px; padding: 0 14px; background: #fff; }
.article-row .article-item { flex: 1; border: none; padding: 10px 0; display: flex; flex-direction: column; }
.article-row .article-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; margin-bottom: 0; }
.article-row .article-cat { font-size: 10px; margin-bottom: -3px; }
.article-row .article-title { font-size: 14px; line-height: 1.1; margin-top: -5px; }
.article-row .article-time { font-size: 8px; margin-top: auto; }
body.dark-mode .article-row { background: #2a2a3e !important; }
body.dark-mode .cat-btn-wrapper { background: #1a1a2e !important; }
body.dark-mode .trending-row { background: #1a1a2e !important; }
body.dark-mode #articlesContainer { background: #2a2a3e !important; }
body.dark-mode .trending-row .article-item { background: #1a1a2e !important; border-bottom-color: transparent !important; }
body.dark-mode .trending-row .article-title { color: #fff !important; }
body.dark-mode .trending-row .article-time { color: #888 !important; }
body.dark-mode #infoBar { background: #2a2a3e !important; box-shadow: none !important; }
body.dark-mode #infoBar span { color: #aaa !important; }
body.dark-mode #infoText { color: #aaa !important; }
body.dark-mode .article-row .article-title { color: #fff !important; }
body.dark-mode .article-row .article-time { color: #888 !important; }

/* TRENDING SECTION */
.trending { padding: 16px 14px; background: #f8f8fa; margin-top: 0; }
.trending-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: var(--teget); }
.trending-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eee; align-items: center; }
.trending-item:last-child { border-bottom: none; }
.trending-dot { width: 8px; height: 8px; background: var(--crvena); border-radius: 50%; flex-shrink: 0; }
.trending-cat { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.trending-title { font-size: 15px; font-weight: 900; color: var(--teget); line-height: 1.3; margin-top: 2px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.trending-time { font-size: 9px; color: #bbb; margin-top: 3px; }
body.dark-mode .trending { background: #1a1a2e; margin-top: 0; }
body.dark-mode .trending-label { color: #e0e0e0; }
body.dark-mode .trending-item { border-bottom-color: transparent; }
body.dark-mode .trending-title { color: #e0e0e0; }

/* TRENDING ROW - 3 mala članka u POPISU (jedan ispod drugog, slika lijevo, tekst desno) */
.trending-row { display: flex; flex-direction: column; gap: 0; padding: 12px 14px; background: #fff; }
.trending-row .article-item { border-left: 3px solid; border-bottom: 1px solid #f0f0f0; padding: 12px 0 12px 12px; display: flex; flex-direction: row; margin: 0 0 0 -14px; gap: 12px; align-items: flex-start; }
.trending-row .article-item:last-child { border-bottom: none; }
.trending-row .article-item img { width: 100px; height: 75px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.trending-row .article-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 2px; }
.trending-row .article-title { font-size: 14px; font-weight: 900; line-height: 1.2; margin-top: 0; color: var(--teget); }
.trending-row .article-time { font-size: 9px; color: #bbb; margin-top: 4px; }

.trending-button { flex: 1; min-width: calc(33.333% - 7px); padding: 0 !important; border: none !important; margin: 0 !important; }
.trending-button button { width: 100%; padding: 10px 6px; background: var(--teget); border: none; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; }
.trending-button button:hover { background: var(--crvena); }
body.dark-mode .trending-row { background: #1a1a2e; }
body.dark-mode .trending-button button { background: var(--crvena); }
body.dark-mode .trending-button button:hover { background: var(--teget); }

/* LOAD MORE BUTTON */
.load-more-container { text-align: center; padding: 20px 14px; background: #fff; }
.load-more-btn { background: var(--plava); color: #fff; border: none; padding: 12px 30px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.load-more-btn:hover { background: var(--crvena); }
body.dark-mode .load-more-container { background: #2a2a3e; }
body.dark-mode .load-more-btn { background: var(--crvena); color: #fff !important; }
body.dark-mode .load-more-btn:hover { background: var(--plava); }

.hidden { display: none !important; }

/* ADSENSE PLACEHOLDERS */
.adsense-placeholder {
  width: 100%;
  background: #f0f0f0;
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ccc;
  border-radius: 4px;
  font-size: 11px;
  color: #999;
  font-weight: 600;
  min-height: 300px;
}
body.dark-mode #articlesContainer {
  background: #2a2a3e !important;
}
body.dark-mode .adsense-placeholder,
.dark-mode .adsense-placeholder {
  background: #2a2a3e !important;
  border-color: #3a3a5e !important;
  color: #555 !important;
}


/* GRID 2x2 */
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e8e8e8; border-bottom: 1px solid #f0f0f0; }
.grid-card { background: #fff; cursor: pointer; transition: background 0.2s; -webkit-tap-highlight-color: transparent; }
.grid-card:active { background: #f8f8fa; }
.grid-card-img-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.grid-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid-card-badge { position: absolute; bottom: 5px; left: 5px; color: #fff; font-size: 8px; font-weight: 800; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }
.grid-card-body { padding: 8px 10px 10px; }
.grid-card-title { font-size: 13px; font-weight: 700; color: #1a1a2e; line-height: 1.15; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.grid-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.grid-card-time { font-size: 9px; color: #bbb; }
.grid-card-stats { display: flex; gap: 6px; }
.grid-card-stat { display: inline-flex; align-items: center; gap: 2px; font-size: 9px; color: #bbb; }
.grid-card-stat svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2; }
body.dark-mode .grid-2x2 { background: #1a1a2e; border-bottom-color: transparent; }
body.dark-mode .grid-card { background: #2a2a3e; }
body.dark-mode .grid-card:active { background: #1a1a2e; }
body.dark-mode .grid-card-title { color: #e0e0e0; }

/* MINI LIST */
.mini-list { border-bottom: 1px solid #f0f0f0; }
.mini-list-item { display: flex; gap: 10px; padding: 10px 14px 10px 11px; border-bottom: 1px solid #f0f0f0; border-left: 3px solid #ccc; background: #fff; cursor: pointer; transition: background 0.2s; -webkit-tap-highlight-color: transparent; }
.mini-list-item:active { background: #f8f8fa; }
.mini-list-item:last-child { border-bottom: none; }
.mini-list-img-wrap { width: 28%; flex-shrink: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; }
.mini-list-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-list-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.mini-list-title { font-size: 14px; font-weight: 700; color: #1a1a2e; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.mini-list-badge { display: inline-block; color: #fff; font-size: 9px; font-weight: 800; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; margin-top: 4px; align-self: flex-start; }
.mini-list-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.mini-list-time { font-size: 10px; color: #bbb; }
.mini-list-stats { display: flex; gap: 6px; }
.mini-list-stat { display: inline-flex; align-items: center; gap: 2px; font-size: 9px; color: #bbb; }
.mini-list-stat svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2; }
body.dark-mode .mini-list { border-bottom-color: transparent; }
body.dark-mode .mini-list-item { background: #2a2a3e; border-bottom-color: transparent; }
body.dark-mode .mini-list-item:active { background: #1a1a2e; }
body.dark-mode .mini-list-title { color: #e0e0e0; }

/* CATEGORY SECTION HEADER */
.cat-section { margin-top: 0; }
.cat-section-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px; background: #fff; cursor: pointer; }
.cat-section-title { font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.cat-section-arrow { display: flex; align-items: center; }
body.dark-mode .cat-section-header { background: #2a2a3e; }

/* FOOTER */
.site-footer { background: #0a0f1e; padding: 30px 16px 20px; margin-top: auto; }
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo { font-size: 18px; font-weight: 900; letter-spacing: 3px; color: #fff; border: 2px solid #d90429; padding: 2px 8px; margin-bottom: 20px; display: inline-block; }
.footer-logo span { color: #d90429; }
.footer-cols { display: flex; gap: 40px; margin-bottom: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; margin-top: 8px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.4); }
body.dark-mode .site-footer { background: #0a0f1e; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 20px; right: 16px; width: 44px; height: 44px; background: var(--crvena); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; transform: translateY(20px); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2.5; fill: none; }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #1a1a2e; color: #fff; padding: 16px; z-index: 9999; transform: translateY(100%); transition: transform 0.4s ease; box-shadow: 0 -2px 10px rgba(0,0,0,0.3); }
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { max-width: 600px; margin: 0 auto; }
.cookie-text { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.cookie-text a { color: var(--crvena); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btn { flex: 1; padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; font-family: inherit; transition: background 0.2s; }
.cookie-btn.accept { background: var(--crvena); color: #fff; }
.cookie-btn.accept:hover { background: #b80322; }
.cookie-btn.decline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.cookie-btn.decline:hover { background: rgba(255,255,255,0.2); }

/* SEARCH OVERLAY */
#searchOverlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff; z-index: 1100; flex-direction: column; }
#searchOverlay.show { display: flex; }
body.dark-mode #searchOverlay { background: #1a1a2e; }
.search-header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #eee; background: #fff; }
body.dark-mode .search-header { background: #16213e; border-bottom-color: transparent; }
.search-back { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.search-back svg { width: 22px; height: 22px; stroke: #555; stroke-width: 2; fill: none; }
body.dark-mode .search-back svg { stroke: #ccc; }
.search-input-wrap { flex: 1; position: relative; }
.search-input { width: 100%; padding: 10px 14px 10px 36px; border: 1.5px solid #ddd; border-radius: 10px; font-size: 15px; font-family: inherit; background: #f5f5f5; color: #333; outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: #d90429; }
body.dark-mode .search-input { background: #2a2a3e; border-color: #3a3a5e; color: #e0e0e0; }
body.dark-mode .search-input:focus { border-color: #d90429; }
.search-input-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: #999; stroke-width: 2; fill: none; }
.search-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; cursor: pointer; display: none; background: #ccc; border-radius: 50%; align-items: center; justify-content: center; }
.search-clear.show { display: flex; }
.search-clear svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.5; fill: none; }
.search-body { flex: 1; overflow-y: auto; padding: 16px; }
.search-section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 12px; }
.search-trending { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.search-tag { padding: 8px 14px; background: #f0f0f0; border-radius: 20px; font-size: 13px; color: #555; cursor: pointer; font-weight: 500; transition: background 0.2s; }
.search-tag:hover { background: #e0e0e0; }
body.dark-mode .search-tag { background: #2a2a3e; color: #ccc; }
body.dark-mode .search-tag:hover { background: #3a3a5e; }
.search-result { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
body.dark-mode .search-result { border-bottom-color: transparent; }
.search-result-img { width: 80px; height: 60px; border-radius: 6px; object-fit: cover; background: #ddd; flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.search-result-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #d90429; margin-bottom: 3px; }
.search-result-title { font-size: 14px; font-weight: 700; color: #333; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.dark-mode .search-result-title { color: #e0e0e0; }
.search-result-time { font-size: 11px; color: #999; margin-top: 3px; }
.search-no-results { text-align: center; padding: 40px 20px; color: #999; }
.search-no-results svg { width: 48px; height: 48px; stroke: #ccc; stroke-width: 1.5; fill: none; margin-bottom: 12px; }
.search-no-results p { font-size: 14px; }
.search-recent-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
body.dark-mode .search-recent-item { border-bottom-color: transparent; }
.search-recent-item svg { width: 16px; height: 16px; stroke: #999; stroke-width: 2; fill: none; flex-shrink: 0; }
.search-recent-item span { font-size: 14px; color: #555; }
body.dark-mode .search-recent-item span { color: #ccc; }

/* SIDE MENU */
#sideMenu { position: fixed; top: 0; right: -250px; width: 250px; height: 100vh; background: #16213e; z-index: 1000; transition: right 0.3s; padding-top: 0; box-shadow: -2px 0 10px rgba(0,0,0,0.2); display: flex; flex-direction: column; }

/* MENU CATEGORY LINE ANIMATION */
.menu-cat {
  position: relative;
  border-left: none !important;
  overflow: visible;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.menu-sub div {
  text-transform: uppercase !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85) !important;
}
.menu-cat.open {
  color: #fff !important;
}
.menu-cat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--cat-color);
}
.menu-cat.open::before {
  animation: snakeOpen 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.menu-cat.closing::before {
  animation: snakeClose 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes snakeOpen {
  0%   { left: 0; top: 0; width: 3px; height: 100%; }
  35%  { left: 0; top: calc(100% - 3px); width: 3px; height: 3px; }
  40%  { left: 0; top: calc(100% - 3px); width: 3px; height: 3px; }
  100% { left: 12px; top: calc(100% - 3px); width: calc(100% - 46px); height: 3px; }
}
@keyframes snakeClose {
  0%   { left: 12px; top: calc(100% - 3px); width: calc(100% - 46px); height: 3px; }
  60%  { left: 0; top: calc(100% - 3px); width: 3px; height: 3px; }
  65%  { left: 0; top: calc(100% - 3px); width: 3px; height: 3px; }
  100% { left: 0; top: 0; width: 3px; height: 100%; }
}
#menuOverlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#darkModeToggle { width: 44px; height: 26px; background: #ccc; border-radius: 13px; position: relative; cursor: pointer; transition: background 0.3s; }
#darkModeToggle > div { position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 11px; top: 2px; left: 2px; transition: left 0.3s; }

/* RESPONSIVE - 3 KOLONE ZA TRENDING REDAK */
@media (max-width: 1020px) {
  .trending-row .article-item { flex: 0 1 calc(33.333% - 7px); }
  .trending-button { flex: 0 1 calc(33.333% - 7px); }
}

body.dark-mode #darkModeToggle { background: #d90429 !important; }
body.dark-mode #darkModeToggle > div { left: 20px !important; }

/* BIG CARDS */
.big-card {
  display: block; cursor: pointer; background: #fff;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.big-card:active { background: #f8f8fa; }
body.dark-mode .big-card { background: #2a2a3e; border-bottom-color: transparent; }
body.dark-mode .big-card:active { background: #1a1a2e; }
.big-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.big-card-badge {
  display: block; width: fit-content; color: #fff; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 4px; margin: -16px 0 0 14px; position: relative; z-index: 1;
}
.big-card-body { padding: 8px 14px 10px; }
.big-card-title { font-size: 23px; font-weight: 800; color: var(--teget); line-height: 1.2; margin-top: 0; padding-bottom: 3px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
body.dark-mode .big-card-title { color: #e0e0e0; }
.big-card-sub { font-size: 14px; color: #888; margin-top: 4px; line-height: 1.15; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
body.dark-mode .big-card-sub { color: #777; }
.big-card-meta { font-size: 10px; color: #bbb; margin-top: 3px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.big-card-meta-left { flex: 1; }
.big-card-stats { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.big-card-stat { display: inline-flex; align-items: center; gap: 2px; font-size: 10px; color: #bbb; }
.big-card-stat svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

#heroSection[style*="display: none"] + #bannerSection,
#heroSection[style*="display:none"] + #bannerSection { margin-top: 51px; }
#heroSection[style*="display: none"] + #bannerSection[style*="display: none"] + .tabs,
#heroSection[style*="display:none"] + #bannerSection[style*="display:none"] + .tabs { margin-top: 51px; }

/* ROW 2ND — mobilno skriveni bočni članci */
.row-2nd-side { display: none; }
.hero-side { display: none; }

/* SKIN ADS — hidden on mobile */
.skin-ad-left, .skin-ad-right { display: none; }
.skin-bg-ad { display: none; }
.desktop-banner-top { display: none; }
.hero-card-desktop { display: none; }
.hero-list { display: none; }
.desktop-ad-leaderboard { display: none; }
.hero-bottom-row { display: none; }

/* TABS inactive underline */
.tabs span { position: relative; }
.tabs span:not(.act)::after { content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 20px; height: 1px; background: var(--tab-c, rgba(255,255,255,0.2)); border-radius: 1px; }

/* ============================
   DESKTOP LAYOUT (1024px+)
   ============================ */
@media (min-width: 1024px) {

  /* SKIN AD PLACEHOLDER — skriveno dok nema pravih reklama */
  body:not(.skin-sides):not(.skin-wallpaper)::before,
  body:not(.skin-sides):not(.skin-wallpaper)::after {
    display: none;
  }
/* SKIN AD — wallpaper reklama u marginama */
  body {
    background: #fff;
    background-size: 100% 100%;
    position: relative;
  }

  /* HEADER — logo lijevo, kategorije sredina, ikone desno */
  .hdr {
    padding: 0 calc((100vw - 1020px) / 2 + 10px + 16px);
    height: 56px;
    justify-content: flex-start;
    gap: 0;
  }
  .logo { flex-shrink: 0; margin-right: 32px; font-size: 22px; margin-left: -6px; }
  /* Desktop nav kategorije u headeru */
  .hdr-nav {
    display: flex !important;
    gap: 0px;
    flex: 1;
    justify-content: center;
  }
  .hdr-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  .hdr-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
  }
  .hdr-icons { margin-left: auto; gap: 16px; }
  .hdr-icons .hdr-icon { width: 32px; height: 32px; }
  /* Hamburger na desktopu — desno, simetrično s logom */
  #menuToggle { display: flex !important; margin-left: auto; margin-right: -6px; }
  /* DESKTOP DROPDOWN MENU */
  .hdr-nav-item { position: relative; }
  .hdr-nav-item > a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 12px 16px; border-radius: 6px; transition: all 0.2s; display: block; position: relative; }
  .hdr-nav-item > a:hover { background: none; transform: scale(1.1); }
  .hdr-nav-item:nth-child(1) > a:hover, .hdr-nav-item:nth-child(1) > a.nav-active { color: #d90429; }
  .hdr-nav-item:nth-child(2) > a:hover, .hdr-nav-item:nth-child(2) > a.nav-active { color: #26bf11; }
  .hdr-nav-item:nth-child(3) > a:hover, .hdr-nav-item:nth-child(3) > a.nav-active { color: #2563eb; }
  .hdr-nav-item:nth-child(4) > a:hover, .hdr-nav-item:nth-child(4) > a.nav-active { color: #d6cd1e; }
  .hdr-nav-item:nth-child(5) > a:hover, .hdr-nav-item:nth-child(5) > a.nav-active { color: #f7aa02; }
  .hdr-nav-item:nth-child(6) > a:hover, .hdr-nav-item:nth-child(6) > a.nav-active { color: #06b6d4; }
  .hdr-nav-item > a::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 20px; height: 1px; border-radius: 1px; }
  .hdr-nav-item:nth-child(1) > a::after { background: #d90429; }
  .hdr-nav-item:nth-child(2) > a::after { background: #26bf11; }
  .hdr-nav-item:nth-child(3) > a::after { background: #2563eb; }
  .hdr-nav-item:nth-child(4) > a::after { background: #d6cd1e; }
  .hdr-nav-item:nth-child(5) > a::after { background: #f7aa02; }
  .hdr-nav-item:nth-child(6) > a::after { background: #06b6d4; }
  .hdr-dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #16213e; border-radius: 0 0 12px 12px; padding: 8px 0; min-width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 200; border-top: 2px solid var(--crvena); }
  .hdr-nav-item:hover .hdr-dropdown { display: none; }
  .hdr-dropdown a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 12px; font-weight: 600; padding: 8px 20px; transition: all 0.15s; white-space: nowrap; }
  .hdr-dropdown a:hover { color: #fff; background: rgba(255,255,255,0.1); }
  .hdr-dropdown .dropdown-tag { color: rgba(255,255,255,0.4); font-size: 11px; }
  .hdr-dropdown .dropdown-tag:hover { color: rgba(255,255,255,0.7); }
  #currentCat { display: none !important; }

  /* TABS — sakrij na desktopu, nav ih zamjenjuje */
  .tabs {
    display: none !important;
  }

  /* HERO na desktopu — centriran */
  #heroSection {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
  }
  #heroSection > div:last-child {
    width: 100%;
    margin-left: 0;
    border-radius: 0 0 12px 12px;
  }

  /* DESKTOP PLATINUM BANNER */
  .desktop-banner-top {
    display: block !important;
    max-width: 1000px;
    margin: 56px auto 0;
    text-align: center;
    padding: 6px 0 0;
  }
  .desktop-banner-top img {
    margin: 0 auto;
    display: block;
  }


  /* DESKTOP WRAPPER — main + sidebar */
  .desktop-ad-leaderboard {
    display: block !important;
  }
  .hero-card-desktop {
    display: block !important;
    max-width: 1000px;
    margin: 55px auto 0;
  }
  .hero-card-first {
    margin-top: 62px !important;
  }
  .hero-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
  }
  .hero-left {
    flex: 0 0 65.8%;
    min-width: 0;
  }
  .hero-left .big-card {
    width: 100% !important;
    margin: 0;
  }
  .hero-side {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    gap: 6px;
  }
  .hero-side .big-card {
    flex: 1;
    width: 100% !important;
  }
  .hero-side .big-card-img {
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  .hero-side .big-card-body {
    padding: 4px 8px 6px;
  }
  .hero-side .big-card-title {
    font-size: 18px !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 2;
  }
  .hero-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 100%;
  }
  .hero-grid-2x2 .big-card {
    width: 100% !important;
  }
  .hero-grid-2x2 .big-card-img {
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  .hero-grid-2x2 .big-card-body {
    padding: 4px 8px 6px;
  }
  .hero-grid-2x2 .big-card-title {
    font-size: 18px !important;
    line-height: 1.2;
    -webkit-line-clamp: 2;
  }
  .hero-list {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    height: 100%;
  }
  .hero-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    flex: 0 0 auto;
  }
  .hero-list-item:first-child { padding-top: 0; }
  .hero-list-item:last-child { border-bottom: none; }
  .hero-list-item:hover { background: #f8f8fa; }
  .hero-list-bar {
    width: 3px;
    align-self: stretch;
    flex-shrink: 0;
    border-radius: 2px;
  }
  .hero-list-img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
  }
  .hero-list-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .hero-list-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--teget);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .hero-list-item:hover .hero-list-title { color: #555; }
  .hero-list-time {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
  }
  /* SECTION CARD */
  .section-card {
    display: block !important;
    max-width: 1000px;
    margin: 10px auto 0;
    background: #fff;
    padding: 20px;
  }
  .section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
  }
  .section-title {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .section-arrow { font-size: 40px; font-weight: 900; text-decoration: none; line-height: 1; margin-top: -8px; transition: opacity 0.2s; }
  .section-arrow:hover { opacity: 0.8; }
  .section-top {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
  }
  .section-articles {
    display: flex;
    gap: 12px;
    flex: 1;
  }
  .section-articles .big-card {
    flex: 1;
    width: auto !important;
  }
  .section-ad {
    flex-shrink: 0;
  }
  .section-lists {
    display: flex;
    gap: 20px;
  }
  .section-list {
    flex: 1;
  }
  .section-list-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    padding-bottom: 8px;
    margin-bottom: 6px;
    border-bottom: 2px solid #f0f0f0;
  }
  .section-list-header a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
  }
  .section-list .hero-list-item {
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
  }
  .section-list .hero-list-item:last-child { border-bottom: none; }

  .hero-bottom-row {
    display: flex !important;
    display: flex;
    gap: 16px;
    margin-top: 10px;
    padding-top: 0;
  }
  .hero-bottom-row .hero-list-item {
    flex: 1;
    border-bottom: none;
    padding: 0;
  }
  .hero-card-desktop .big-card-title {
    font-size: 32px;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .hero-card-desktop .big-card-body {
    padding-top: 4px;
  }
  .hero-card-desktop .big-card-sub {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .desktop-wrapper {
    display: none !important;
  }
  .desktop-main {
    min-width: 0;
  }
  .desktop-sidebar {
    display: none !important;
  }

  /* SIDEBAR TRENDING */
  .sidebar-trending {
    background: #f8f8fa;
    border-radius: 0;
    padding: 20px;
    display: block !important;
  }
  body.dark-mode .sidebar-trending {
    background: #1a1a2e;
  }
  .sidebar-trending .trending-label {
    font-size: 14px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--crvena);
  }
  .sidebar-trending .trending-title {
    font-size: 14px;
  }

  /* SIDEBAR AD SLOT */
  .sidebar-ad {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 0;
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    min-height: 250px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }
  body.dark-mode .sidebar-ad {
    background: #2a2a3e;
    border-color: #3a3a5e;
    color: #555;
  }

  /* ARTICLES CONTAINER */
  #articlesContainer {
    border-radius: 0;
    overflow: hidden;
    padding: 16px;
  }

  /* BIG CARD — hover efekt */
  .big-card {
    transition: box-shadow 0.2s, transform 0.2s;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 2px;
    width: 65%;
    margin-left: 0;
    margin-right: auto;
  }
  .big-card:first-child {
    margin-top: 0;
  }
  .big-card:hover .big-card-title {
    color: #555;
  }
  .big-card-title { font-size: 20px; }
  .big-card-sub { font-size: 14px; }
  #articlesContainer .big-card:first-child { width: calc(100% + 16px); margin-right: -16px; }
  #articlesContainer .big-card:first-child .big-card-title { font-size: 28px; }

  /* ROW 2ND — 2. članak + 2 manja desno */
  .row-2nd {
    display: flex;
    gap: 16px;
    width: calc(100% + 16px);
    margin-right: -16px;
    align-items: stretch;
  }
  .row-2nd > .big-card {
    flex: 0 0 65%;
    width: auto !important;
    margin: 0;
    min-width: 0;
    overflow: hidden;
  }
  .row-2nd-side {
    width: 32%;
    flex-shrink: 0;
    margin-left: auto;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }
  .row-2nd-side .big-card {
    width: 100% !important;
  }
  .row-2nd-side .big-card:last-child {
    flex: 1;
  }
  .row-2nd-side .big-card:first-child {
    flex: 1;
  }
  .row-2nd-side .big-card-img {
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  .row-2nd-side .big-card-body {
    padding: 6px 8px 10px;
  }
  .row-2nd-side .big-card-title {
    font-size: 18px !important;
    -webkit-line-clamp: 2;
    line-height: 1.15;
  }

  /* GRID 2x2 — na desktopu 2x2 ostaje ali veći */
  .grid-2x2 {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 2px;
  }
  .grid-card:hover {
    background: #f5f5f5;
  }
  body.dark-mode .grid-card:hover {
    background: #1a1a2e;
  }
  .grid-card-title { font-size: 14px; }
  .grid-card-body { padding: 10px 14px 14px; }

  /* MINI LIST — hover efekt */
  .mini-list {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 2px;
  }
  .mini-list-item:hover {
    background: #f8f8fa;
  }
  body.dark-mode .mini-list-item:hover {
    background: #1a1a2e;
  }
  .mini-list-title { font-size: 15px; }

  /* TRENDING u sadržaju — sakrij na desktopu (ide u sidebar) */
  .trending {
    display: none;
  }

  /* ADSENSE — širi */
  #articlesContainer .adsense-placeholder {
    display: none !important;
  }
  .adsense-placeholder {
    border-radius: 0;
    max-width: 100%;
  }

  /* LOAD MORE */
  .load-more-container {
    border-radius: 0;
  }

  /* FOOTER — 4 stupca */

  /* HOVER EFFECTS */
  .big-card { transition: box-shadow 0.2s, transform 0.2s; border-radius: 8px; overflow: hidden; cursor: pointer; }
  .big-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
  .hero-list-item { transition: background 0.2s; border-radius: 6px; cursor: pointer; }
  .hero-list-item:hover { background: rgba(0,0,0,0.03); }

  .site-footer {
    padding: 40px 24px 24px;
    position: relative;
    z-index: 51;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  .footer-inner {
    max-width: 1020px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .footer-logo {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .footer-cols {
    display: contents;
  }
  .footer-col {
    gap: 10px;
  }
  .footer-col-title {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .footer-col a {
    font-size: 14px;
  }
  .footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    margin-top: 0;
  }

  /* SEARCH OVERLAY — centriran */
  #searchOverlay .search-header {
    max-width: 600px;
    margin: 0 auto;
  }

  /* COOKIE BANNER — centriran */
  .cookie-inner {
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .cookie-text {
    margin-bottom: 0;
    flex: 1;
  }
  .cookie-btns {
    flex-shrink: 0;
    width: 280px;
  }

  /* SIDE MENU — ostaje isto, ali manje korišten na desktopu */

  /* BANNERI — deaktivirani */
  .desktop-banner-top { display: none !important; }
  #bannerSection { display: none !important; }

  /* ČLANCI — bez zaobljenih rubova na desktopu */
  .big-card { border-radius: 0 !important; }
  .big-card img, .big-card-img { border-radius: 0 !important; }
  .big-article img { border-radius: 0 !important; }
  .article-item img { border-radius: 0 !important; }
  .grid-card { border-radius: 0 !important; }
  .grid-card img { border-radius: 0 !important; }
  .mini-list-img-wrap { border-radius: 0 !important; }
  .hero-card-desktop { border-radius: 0 !important; }
  .hero-list-item img { border-radius: 0 !important; }

  /* HOVER EFEKTI NA ČLANCIMA */
  .big-card { transition: box-shadow 0.2s, transform 0.2s; overflow: hidden; cursor: pointer; }
  .big-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
  .big-card:hover .big-card-title { color: #555; }
  .grid-card { transition: background 0.2s; cursor: pointer; }
  .grid-card:hover { background: #f5f5f5; }
  body.dark-mode .grid-card:hover { background: #1a1a2e; }
  .mini-list-item { transition: background 0.2s; cursor: pointer; }
  .mini-list-item:hover { background: rgba(0,0,0,0.03); }
  .hero-list-item { transition: background 0.2s; border-radius: 6px; cursor: pointer; }
  .hero-list-item:hover { background: rgba(0,0,0,0.03); }

  /* DARK MODE — Desktop elementi */
  .hero-card-desktop { background: #fff; }
  body.dark-mode .hero-card-desktop { background: #2a2a3e; }
  body.dark-mode .hero-list-title { color: #e0e0e0; }
  body.dark-mode .hero-list-item:hover .hero-list-title { color: #fff; }
  body.dark-mode .hero-list-item { border-bottom-color: #3a3a5e; }
  body.dark-mode .hero-list-item:hover { background: rgba(255,255,255,0.05); }
  body.dark-mode .hero-bottom-row .hero-list-item { border-bottom-color: #3a3a5e; }
  body.dark-mode { background: #2a2a3e !important; }
  body.dark-mode .desktop-subcat-bar { background: #1a1a2e; border-bottom-color: #3a3a5e; }
  body.dark-mode .section-card { background: #2a2a3e; }
  body.dark-mode .section-header { border-bottom-color: #3a3a5e; }
  body.dark-mode .section-list-header { border-bottom-color: #3a3a5e; }
  body.dark-mode .section-list .hero-list-item { border-bottom-color: #3a3a5e; }
}

/* TABLET (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hdr { padding: 10px 20px; }
  .tabs {
    max-width: 100%;
    justify-content: center;
  }
  .tabs span {
    padding: 12px 16px;
    font-size: 12px;
  }
  .big-card-title { font-size: 19px; }
  .grid-card-title { font-size: 14px; }
  .site-footer .footer-inner {
    max-width: 100%;
  }
  .footer-cols {
    gap: 30px;
  }
  .cookie-inner {
    max-width: 700px;
  }
}
