/* LoLPress — Theme (SEO + featured focus control) */
:root{--saffron:#F4C430;--black:#0a0a0a;--white:#ffffff;--ink:#121212;--text:#17202A;--muted:#616C76;--card:#ffffff;--line:#E8EBEE;--soft:#F7F9FB;--shadow:0 6px 24px rgba(10,10,10,.08);--radius:16px}
*{box-sizing:border-box}html,body{margin:0;padding:0}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,sans-serif;color:var(--text);background:#fff}
a{color:inherit;text-decoration:none}a:hover{color:var(--ink)}
.container{max-width:1180px;margin:0 auto;padding:0 18px}
.header{position:sticky;top:0;z-index:50;background:linear-gradient(180deg,#000 0%,#0d0d0d 100%);color:#fff;border-bottom:1px solid #111}
.header .top{display:flex;align-items:center;gap:16px;padding:12px 0}
.logo{display:flex;align-items:center;gap:10px}.logo .mark{width:14px;height:28px;background:var(--saffron);display:inline-block;border-radius:3px}.logo img{height:28px}
.hamburger{display:none;background:transparent;border:0;color:#fff;font-size:22px;margin-right:6px;cursor:pointer}
.nav{display:flex;gap:8px;flex-wrap:wrap}
.nav a{color:#e9eef2;padding:8px 10px;border-radius:10px;border:1px solid transparent}
.nav a:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12)}
.nav a.active{background:var(--saffron);color:#141414;border-color:var(--saffron)}
.search{margin-left:auto;display:flex;align-items:center}.search input{padding:9px 12px;border-radius:12px;border:1px solid #2b2b2b;background:#0b0b0b;color:#fff;min-width:200px}
.ticker{background:var(--saffron);color:#000;overflow:hidden;white-space:nowrap;border-bottom:1px solid #e5bf29}.ticker .container{padding:0 18px}.ticker .inner{display:inline-block;padding:9px 0;animation:marq 22s linear infinite}.ticker .tick{margin-right:28px;color:#000;text-decoration:none;font-weight:900}
@keyframes marq{from{transform:translateX(100%)} to{transform:translateX(-100%)}}
.grid{display:grid;grid-template-columns:2fr 1fr;gap:22px;margin:22px 0}.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.card img{width:100%;height:180px;object-fit:cover}
/* Miniatury w kafelkach: mniejsze i kwadratowe */
.cards3 .card img{
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}
/* Sidebar miniatury już są 64x64 z cover — bez zmian */

/* Featured hero defaults (can be overriden inline via style attr) */
.featured .card img{width:100%;height:480px;object-fit:cover;object-position:center 35%;border-radius:16px}
.card .p{padding:14px 16px}.card h2{margin:6px 0 8px;font-size:22px;line-height:1.25}.card h2.small{font-size:18px}.card .meta{color:var(--muted);font-size:12px}
.badge{display:inline-block;background:#F4C430 !important;color:#000 !important;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700;margin-right:6px;border:1px solid #e6c24b}
.sidebar .card{margin-bottom:18px}.headline-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.headline-list li{display:flex;gap:12px;align-items:center}.headline-list img{width:64px;height:64px;object-fit:cover;border-radius:10px;background:#f2f2f2;flex:0 0 auto}
.tags{display:flex;flex-wrap:wrap;gap:8px}.tag{display:inline-block;background:#fff8d6;color:#6a5200;padding:4px 8px;border-radius:999px;font-size:12px;border:1px solid #ffe38c}
.pages{margin:22px 0;display:flex;gap:10px;flex-wrap:wrap}.btn{display:inline-block;background:var(--saffron);color:#1a1a1a;padding:9px 14px;border-radius:12px;text-decoration:none;font-weight:900;border:1px solid #e6c24b}
.article{max-width:860px;margin:22px auto;background:transparent}.article h1{font-size:42px;line-height:1.15;margin:10px 0 6px;font-weight:900}.article .meta{color:#6b7785}.article figure img{width:100%;height:auto;border-radius:16px}.article .body{font-size:18px;line-height:1.75}
.more-section{margin-top:120px}.more-title{font-size:24px;margin:0 0 12px}
.carousel.paged{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 46px 40px;overflow:hidden;box-shadow:var(--shadow)}
.carousel.paged .car-track{display:flex;gap:14px;overflow:hidden;scroll-behavior:smooth;padding:6px 0}
.carousel.paged .car-card{flex:0 0 240px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.carousel.paged .car-thumb{width:100%;aspect-ratio:16/9;background:#f2f4f6;overflow:hidden}.carousel.paged .car-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.carousel.paged .car-meta{padding:10px}.carousel.paged .car-meta h3{margin:6px 0 0;font-size:16px;line-height:1.3}
.carousel.paged .car-btn{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:1px solid #e2e6eb;background:#fff;cursor:pointer;font-size:18px;font-weight:900}.carousel.paged .car-btn.prev{left:6px}.carousel.paged .car-btn.next{right:6px}
.car-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;gap:8px;justify-content:center}.car-dot{width:8px;height:8px;border-radius:50%;background:#d6dbe1;border:1px solid #c4ccd6;cursor:pointer}.car-dot[aria-current="true"]{background:#111;border-color:#111}
.site-footer{margin-top:40px;background:#0d0d0d;color:#dfe6ee;border-top:1px solid #111}.footer-grid{display:grid;grid-template-columns:2fr 2fr 2fr;gap:16px;padding:24px 18px}.foot-nav{display:flex;flex-wrap:wrap;gap:10px}.foot-nav a{color:#e6ebf0;text-decoration:none}.foot-copy{color:#9aa6b2;font-size:14px}
@media(max-width:1100px){.cards3{grid-template-columns:repeat(2,1fr)}.article h1{font-size:36px}.featured .card img{height:420px}}
@media(max-width:860px){.grid{grid-template-columns:1fr}.search{display:none}.card img{height:160px} /* mobile base; overridden by .cards3 square rule */.featured .card img{height:340px}}
@media(max-width:560px){.hamburger{display:inline-block}.nav{max-height:0;overflow:hidden;width:100%}body.nav-open .nav{max-height:260px;margin-top:8px}.logo img{height:26px}.headline-list img{width:56px;height:56px}.article h1{font-size:30px}.featured .card img{height:260px}}


/* --- THUMBS FIX R2 --- */
/* Kafelki listy: wymuś kwadratowe miniatury i nadpisz media queries */
.grid.cards3 .card img,
.cards3 .card img{
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}
/* Sidebar miniatury bez zmian (64x64) */
