:root {
  --ak-bg:#050914;
  --ak-card:#0b1220;
  --ak-card2:#111a2d;
  --ak-line:#1f2a44;
  --ak-text:#e8eefc;
  --ak-muted:#9ca8c0;
  --ak-accent:#6aa8ff;
}

*{box-sizing:border-box}
body.ak-body{margin:0;background:var(--ak-bg);color:var(--ak-text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}
a{color:inherit}

.ak-news-section,.news-page,.article-page,.editor-page{max-width:1180px;margin:0 auto;padding:48px 20px}
.ak-section-header{margin-bottom:24px}
.ak-kicker{color:var(--ak-accent);font-size:12px;text-transform:uppercase;letter-spacing:.18em;font-weight:800}
.ak-section-header h1,.ak-section-header h2,.article-header h1{margin:8px 0 8px;font-size:clamp(28px,4vw,52px);line-height:1}
.ak-section-header p,.article-header p{color:var(--ak-muted);max-width:720px}

/* HOME NEWS: 1 duży + 2 małe + 3 linki bez zdjęć */
.ak-news-home{padding-top:54px;border-top:1px solid rgba(255,255,255,.08)}

.ak-news-home-header{
    display:block;
    margin-bottom:24px;
}


.ak-all-news-link,.news-readmore,.ak-news-footer a{color:var(--ak-accent);font-weight:800;text-decoration:none}

.ak-home-news-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.95fr);gap:18px;align-items:stretch}

.ak-featured-news{min-height:420px;border:1px solid var(--ak-line);border-radius:22px;overflow:hidden;background-position:center;background-size:cover;background-color:#101827;display:flex;align-items:flex-end;box-shadow:0 20px 46px rgba(0,0,0,.26)}
.ak-featured-content{width:100%;padding:30px;background:linear-gradient(0deg,rgba(5,9,20,.92),rgba(5,9,20,.22))}
.ak-featured-content h3{max-width:640px;margin:14px 0 14px;font-size:clamp(30px,3.2vw,48px);line-height:1.05}
.ak-featured-content h3 a{text-decoration:none}
.ak-featured-content p{max-width:560px;color:#c2ccdf;font-size:18px;line-height:1.55;margin:0 0 24px}

.ak-side-news-column{display:grid;grid-template-rows:1fr 1fr;gap:18px}
.ak-side-news{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0;background:linear-gradient(180deg,#0e1728,#080d18);border:1px solid var(--ak-line);border-radius:20px;overflow:hidden;min-height:201px}
.ak-side-image{display:block;background:#121a2c}
.ak-side-image img{width:100%;height:100%;object-fit:cover;display:block}
.ak-side-body{padding:20px;display:flex;flex-direction:column;min-width:0}
.ak-side-body h3{font-size:22px;line-height:1.15;margin:10px 0 10px}
.ak-side-body h3 a{text-decoration:none}
.ak-side-body p{color:var(--ak-muted);line-height:1.45;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ak-side-body .news-readmore{
    font-size:15px;
    font-weight:500;
    color:#79aefc;
}

.ak-news-links-strip{
    margin-top:24px;
    display:flex;
    flex-direction:column;
    gap:0;
}

.ak-news-link-item{
    display:grid;
    grid-template-columns:120px 1fr auto;
    gap:20px;
    align-items:center;
    padding:18px 0;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,.08);
    min-height:auto;
}

.ak-news-link-item:last-child{
    border-bottom:none;
}

.ak-news-link-item:hover{
    background:none;
}

.ak-link-date{
  color:var(--ak-muted);
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.ak-news-link-item strong{
    color:var(--ak-text);
    font-size:16px;
    font-weight:500;
    line-height:1.35;
    transition:.2s;
}

.ak-news-link-item:hover strong{
    color:var(--ak-accent);
}

.ak-link-arrow{
     color:rgba(106,168,255,.8);
    font-size:18px;
    font-weight:400;
    transition:.2s;
}

/* Standardowe listy newsów i artykuły */
.ak-news-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px}
.ak-news-grid.small{grid-template-columns:repeat(3,1fr)}
.news-card{background:linear-gradient(180deg,#0e1728,#080d18);border:1px solid var(--ak-line);border-radius:20px;overflow:hidden}
.news-card:first-child{grid-row:span 2}
.news-card-image{display:block;aspect-ratio:16/9;background:#121a2c}
.news-card:first-child .news-card-image{aspect-ratio:16/10}
.news-card img{width:100%;height:100%;object-fit:cover;display:block}
.news-card-body{padding:18px}
.news-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--ak-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.news-card h3{font-size:22px;margin:10px 0}.news-card h3 a{text-decoration:none}
.news-card p{color:var(--ak-muted);line-height:1.55}
.ak-news-footer{margin-top:20px}
.ak-news-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.pagination{display:flex;gap:10px;margin-top:28px}.pagination a{border:1px solid var(--ak-line);padding:8px 12px;border-radius:10px;text-decoration:none}.pagination a.active{background:var(--ak-accent);color:#001022}
.article-nav{display:flex;justify-content:space-between;margin-bottom:24px}.lang-switch{display:flex;gap:10px}.article-cover{width:100%;max-height:520px;object-fit:cover;border-radius:24px;border:1px solid var(--ak-line)}

.article-content{
    max-width:1280px;
    width:100%;
    margin:36px auto;
    font-size:18px;
    line-height:1.75;
}
@media(max-width:1050px){
  .ak-home-news-layout{grid-template-columns:1fr}
  .ak-side-news-column{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .ak-news-link-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}
  .ak-news-link-item:last-child{border-bottom:0}
}
@media(max-width:820px){
  .ak-news-grid,.ak-news-list,.ak-news-grid.small{grid-template-columns:1fr}
  .news-card:first-child{grid-row:auto}
  .ak-news-section,.news-page,.article-page,.editor-page{padding:32px 14px}
  .news-card h3{font-size:20px}
  .ak-news-home-header{display:block}

  .ak-all-news-link{
    display:inline-block;
    margin-top:8px;
    margin-bottom:24px;
    color:rgba(106,168,255,.85);
    font-size:14px;
    font-weight:500;
    text-decoration:none;
}

  .ak-featured-news{min-height:420px}
  .ak-side-news-column{grid-template-columns:1fr}
  .ak-side-news{grid-template-columns:1fr}
  .ak-side-image{aspect-ratio:16/9}
}
.ak-news-home-header{
    display:block;
    margin-bottom:24px;
}

.ak-all-news-link{
    display:inline-block;
    margin-top:6px;
    color:rgba(106,168,255,.85);
    font-size:14px;
    font-weight:500;
    text-decoration:none;
}

.news-readmore{
    color:rgba(106,168,255,.85);
    font-size:14px;
    font-weight:500;
    text-decoration:none;
}

.ak-featured-content .news-readmore,
.ak-side-body .news-readmore{
    font-size:14px;
    font-weight:500;
}

.ak-all-news-link:hover,
.news-readmore:hover{
    color:#8bbcff;
}
.article-image{
    margin:40px 0;
}

.article-image img{
    width:100%;
    border-radius:18px;
    display:block;
}

.article-image figcaption{
    margin-top:10px;
    color:#8b95a7;
    font-size:14px;
    text-align:center;
}
.site-header{
    max-width:1280px;
    margin:0 auto 40px;
    padding:24px 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.site-logo{
    color:#fff;
    text-decoration:none;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.site-nav{
    display:flex;
    gap:24px;
    align-items:center;
}

.site-nav a{
    color:#aeb8cc;
    text-decoration:none;
    font-size:14px;
}

.site-nav a.active,
.site-nav a:hover{
    color:#fff;
}

.site-lang{
    color:#aeb8cc;
    font-size:13px;
}

.site-footer{
    max-width:1280px;
    margin:80px auto 0;
    padding:32px 28px;
    border-top:1px solid rgba(255,255,255,.12);
    color:#8b95a7;
    font-size:13px;
    display:flex;
    justify-content:space-between;
    gap:24px;
}
/* Podstrona News */
.news-hero {
  min-height: 300px;
}

.news-hero-inner {
  box-sizing: border-box;
  width: min(100%, 440px);
  max-width: 440px;
  margin-top: 44px;
  padding: 20px 24px;
  border: 1px solid rgba(114, 214, 255, .38);
  border-radius: 14px;
  background: rgba(9, 22, 40, .68);
  backdrop-filter: blur(6px);
}

.news-hero-inner .version-label {
  font-size: 12px;
  letter-spacing: 3px;
}

.news-hero-inner .news-last-update {
  margin-top: 18px;
  gap: 5px;
}

.news-page-list {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 36px;
}

.news-page-list .ak-news-list {
  gap: 22px;
}

.news-page-list .news-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: #101826;
}

.news-page-list .news-card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (max-width: 800px) {
  .news-hero {
    min-height: 270px;
  }

  .news-hero-inner {
    width: 100%;
    max-width: 440px;
    margin-top: 30px;
    padding: 18px 20px;
  }

  .news-page-list {
    width: min(100% - 32px, 600px);
    padding-top: 24px;
  }

  .news-page-list .news-card-image img {
    height: 230px;
  }
}