
/* Główny kontener */
.article-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 12px 48px 12px;
    background: transparent;
}

.article-main a {
  color:#ffe47a;
}

.article-container {
    background: #181b22;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(20,20,40,0.06);
    padding: 30px 30px 28px 30px;
    margin-bottom: 40px;
}

.breadcrumbs {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    letter-spacing: 0.2px;
}
.breadcrumbs a { color: #ccc; }
.breadcrumbs span { color: #fff; font-weight: bold; }

.article-header {
    margin-bottom: 24px;
}
.article-title {
    color: #fff;
    font-family: gigabold, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 18px;
    margin-top:0px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}
.article-meta {
    color: #b3b3b3;
    font-size: 1rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}
.article-meta a, .article-category {
    background: #262a33;
    color: #ffd857;
    padding: 2px 12px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 700;
    text-decoration: none;
}
.article-date { color: #c7c7cf; }

/* Miniaturka */
.article-thumb {
    width: 100%;
    margin: 0 auto 32px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #22252c;
    background: #101118;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow:hidden;
}
.article-featured-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

#article-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    z-index: 9999;
    background: linear-gradient(90deg, #ff4c53, #ffcc32, #29b6f6, #5fffbc);
    transition: width 0.18s cubic-bezier(.87,.01,.77,1.01);
    box-shadow: 0 1px 6px #0007;
    border-radius: 0 6px 6px 0;
  }

  
/* Treść */
.article-content {
    font-size: 1.17em;
    color: #e2e2e8;
    line-height: 1.72;
    margin-bottom: 24px;
    word-break: break-word;
}
.article-content h2, .article-content h3, .article-content h4 {
    color: #fff;
    font-weight: bold;
    margin-block-end: 0em;
}
.article-content img {
    max-width: 100%;
    margin: 32px auto;
    border-radius: 12px;
    display: block;
    background: #121219;
}
.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 1.5em;
}
.article-content blockquote {
    background: #23242b;
    color: #fff;
    border-left: 4px solid #FFCC32;
    padding: 18px 22px;
    margin: 28px 0;
    border-radius: 8px;
}

/* Tagi */
.article-tags {
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.article-tag {
    background: #23242b;
    color: #FFCC32;
    padding: 6px 13px;
    border-radius: 8px;
    font-size: 0.96em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s;
}
.article-tag:hover {
    background: #ffcc32;
    color: #181b22;
}

/* Autor na dole */
.article-footer {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #23242b;
    display: flex;
    align-items: center;
}
.author-box {
    display: flex;
    align-items: center;
    gap: 18px;
}
.author-avatar img {
    border-radius: 50%;
    background: #20222a;
    border: 2px solid #32343e;
}
.author-details strong {
    color: #fff;
    font-size: 1.14em;
}
.author-bio {
    color: #ccc;
    font-size: 0.97em;
    margin-top: 4px;
}

/* Komentarze (minimum readability) */
.comment-list, #respond, .comment-reply-title, .comment-form {
    background: none !important;
    color: #eee;
}
.comment-list li {
    margin-bottom: 0px;
}
.comment-author .avatar { border-radius:50%; margin-right:8px; }

/* Responsywność */
@media (max-width: 700px) {
    .article-main, .article-container {
        padding: 8px 2vw !important;
    }
    .article-title { font-size: 1.28em; }
    .article-thumb { margin-bottom: 22px; }
    .article-content { font-size: 1em; }
}

.article-main.article-has-sidebar .article-flex-wrapper {
    display: flex;
    gap: 38px;
}
.article-container {
    flex: 1 1 0;
    min-width: 0;
}
.article-sidebar {
    flex: 0 0 280px;
    max-width: 290px;
    border-radius: 16px;
    padding: 24px 20px 18px 20px;
    font-size: 0.97em;
    color: #ccc;
    position: sticky;
    top: 24px;
    height: fit-content;
}
.sidebar-section + .sidebar-section {
    margin-top: 30px;
}
.toc-list {
    margin-top: 12px;
    font-size: 1em;
    line-height: 1.5;
}
.toc-list ol {
    padding-left: 1.2em;
    margin: 0;
}
.toc-list li { margin-bottom: 7px; }
.toc-h2 { font-weight: bold; }
.toc-h3 { margin-left: 18px; opacity: 0.8; font-weight: 400; }
.toc-list a {
    color: #ffcc32;
    border-radius: 6px;
    padding: 2px 2px;
    transition: background 0.13s;
}
.toc-list a:hover { background: #ffcc3250; }

.related-articles {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid #292a32;
}
.related-articles h2 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 17px;
    font-weight: 700;
    font-family:'gigabold', sans-serif;
    text-transform: uppercase;
}
.related-articles-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.related-article {
    flex: 1 1 0;
    background: #23242b;
    border-radius: 10px;
    padding: 10px 10px 8px 10px;
    display: flex;
    min-width: 0;
    flex-basis:30%;
    transition: box-shadow .17s;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}
.related-article:hover { box-shadow: 0 2px 8px #0005; }
.related-article-thumb {
    width:100%;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
    background: #12121a;
}
.related-article-info h3 {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin: 0 0 2px 0;
    line-height: 1.2;
    padding-top:10px;
    padding-bottom:10px;
}
.related-article-date {
    font-size: 0.98em;
    color: #ffe57a;
}

/* Responsywność */
@media (max-width: 900px) {
    .article-main.article-has-sidebar .article-flex-wrapper {
        flex-direction: column;
        gap: 0;
    }
    .article-sidebar {
        display:none;
    }
    .related-articles-list {
        flex-direction: column;
        gap: 10px;
    }
    .related-article { max-width: 100%; }
}


.article-content iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 1.5em 0;
  max-width: 100%;
  border: 0;
  border-radius:20px;
}


/* FORMULARZ KOMENTARZY */
.comment-respond, #respond {
    background: #23242b;
    border-radius: 12px;
    margin-top: 32px;
    color: #f5f5f5;
    box-shadow: 0 2px 14px rgba(20,20,40,0.10);
    max-width: 600px;
  }
  
  #respond label,
  .comment-form label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 7px;
    display: inline-block;
  }
  
  .comment-form-comment textarea,
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"] {
    background: #181b22;
    color: #fff;
    border: 1.5px solid #303741;
    border-radius: 9px;
    padding: 13px 14px;
    font-size: 1em;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s;
  }
  
  .comment-form-comment textarea:focus,
  .comment-form input[type="text"]:focus,
  .comment-form input[type="email"]:focus,
  .comment-form input[type="url"]:focus {
    border-color: #FFCC32;
    outline: none;
  }
  
  .comment-form-cookies-consent {
    color: #aaa;
    font-size: 0.97em;
    margin: 10px 0 18px 0;
  }
  
  .comment-form input[type="submit"],
  #respond input[type="submit"] {
    background: linear-gradient(90deg, #FFCC32 0%, #ffd857 100%);
    color: #181b22;
    border: none;
    border-radius: 8px;
    padding: 11px 30px;
    font-size: 1.04em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px #ffcc3240;
    margin-top: 12px;
    transition: background 0.15s;
  }
  .comment-form input[type="submit"]:hover,
  #respond input[type="submit"]:hover {
    background: #ffe57a;
  }
  
  /* TEKST POMOCNICZY */
  #respond .logged-in-as,
  #respond .must-log-in,
  #respond .comment-notes {
    color: #fff6;
    font-size: 0.98em;
    margin-bottom: 8px;
  }
  
  #respond .comment-notes strong {
    color: #FFCC32;
    font-weight: 700;
  }
  
  /* LISTA KOMENTARZY */
  .comments-title, .logged-in-as a {
    color:#fafafa;
  }
  .comment-list {
    margin-top: 38px;
    list-style: none;
    padding: 0;
  }

  .comment-meta {
    margin:0px;
    padding-top:0px;
    padding-bottom:0px;
    border-top:0px;
    display:flex;
    flex-direction: row;
    justify-content:space-between;
    align-items:center;
    background:transparent;
  }

  .comment-list .comment .comment-author {
    display:flex;
    align-items:center;
    gap:5px; 
  }
  
  .comment-list .comment {
    border-radius: 12px;
    color: #e2e2e8;
    position: relative;
    margin-top:16px;
  }

  .comment-author a {
    color:#fafafa;
  }
  
  .comment-list .comment .comment-meta {
    font-size: 0.97em;
    color: #aaa;
    margin-bottom: 7px;
  }
  
  .comment-list .comment .comment-content p {
    margin: 0 0 5px 0;
    color: #e2e2e8;
  }
  
  .comment-list .comment .reply a {
    color: #ffd857;
    font-size: 0.98em;
  }
  
  .comment-list .avatar {
    float: left;
    margin-right: 13px;
    border-radius: 50%;
    border: 2px solid #303741;
    background: #181b22;
    width: 48px;
    height: 48px;
    object-fit: cover;
  }
  
  @media (max-width: 700px) {
    .comment-respond, #respond { padding: 16px 8px 18px 8px; }
    .comment-list .comment { padding: 10px 8px 10px 12px; }
  }
  

  .comment-list .children {
    margin-left: 36px;
    padding-left: 18px;
  }

  .comment-list .children,
  .comment-list .children li {
      list-style: none !important;
  }
  .comment-list .children li::marker {
      content: '';
      display: none !important;
  }
  

  .comment {
    margin-bottom: 24px;
  }
  .comment-body {
    display: flex;
    gap: 18px;
    background: #20222c;
    border-radius: 10px;
    padding: 14px 16px 10px 16px;
    box-shadow: 0 1px 4px #0002;
  }
  .comment-avatar img {
    border-radius: 50%;
    width: 48px; height: 48px;
    background: #23242b;
  }
  .comment-meta-content {
    flex: 1 1 0;
  }
  .comment-meta {
    color: #ffe17a;
    font-size: 0.99em;
    font-weight: 600;
    margin-bottom: 7px;
  }
  .comment-author {
    color: #fff;
    font-weight: 700;
    margin-right: 8px;
  }
  .comment-date {
    color: #aaa;
    font-size: 0.95em;
  }
  .comment-text {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.04em;
  }
  .comment-reply-link a {
    color: #ffcc32;
    font-size: 0.96em;
    text-decoration: underline;
    border-radius: 4px;
    padding: 2px 4px;
  }
  .comment-awaiting-moderation {
    color: #FF6868;
    font-size: 0.98em;
    margin-top: 8px;
    display: block;
  }
  

  .article-related-box {
    border-top: 1px solid #2a2b31;
    border-bottom: 1px solid #2a2b31;
    margin: 16px 0 26px 0;
    padding: 16px 0 16px 0;
    font-size: 0.7em;
    background: transparent;
}
.article-related-box strong {
    font-weight: bold;
    color: #fff;
    margin-right: 4px;
    font-size: 1em;
}
.article-related-box a {
    color: #ffe47a;
    font-weight: bold;
    font-size: 1.02em;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: color .18s;
}
.article-related-box a span {
    font-size: 0.95em;
    margin-left: 2px;
}
.article-related-box a:hover {
    color: #ffcc32;
    text-decoration: underline;
}
@media (max-width: 700px) {
    .article-related-box { font-size: 1em; padding: 10px 0 2px 0; }
}


.review-section {
  display: flex;
  margin: 0px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #181b22;
  border-radius: 14px;
  box-shadow: 0 2px 14px #181b22a0;
  padding: 34px 0px 24px 0px;
}

.review-section ul {
  padding-left:10px;
}

.review-features {
  flex: 2;
  display: flex;
  gap: 26px;
}

.review-advantages, .review-disadvantages {
  background: #20232a;
  border-radius: 10px;
  padding: 18px 18px 12px 18px;
  min-width: 170px;
  max-width: 310px;
  flex: 1 1 0;
}

.review-header {
  font-family: gigabold, sans-serif;
  font-size: 1.05em;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 7px;
  display: block;
}

.review-advantages li {
  color: #7fff9e;
  font-size: 1.09em;
  margin-bottom: 7px;
  list-style: none;
}
.review-advantages .plus {
  color: #34ff77;
  font-weight: bold;
  margin-right: 6px;
}

.review-disadvantages li {
  color: #ff7e7e;
  font-size: 1.09em;
  margin-bottom: 7px;
  list-style: none;
}
.review-disadvantages .minus {
  color: #ff4c53;
  font-weight: bold;
  margin-right: 6px;
}

.review-score-outer {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-left: 32px;
  position: relative;
}

.review-score {
  width: 122px;
  height: 122px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-score svg {
  width: 122px;
  height: 122px;
  transform: rotate(-90deg);
}
.review-score .bg {
  stroke: #262a33;
  stroke-width: 9;
  fill: none;
}
.review-score .progress {
  stroke: #ffcc32;
  stroke-width: 9;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transition: stroke-dashoffset 1.2s cubic-bezier(.87,.01,.77,1.01), stroke 0.28s;
}
.review-score .score-label {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: gigabold, sans-serif;
  font-size: 2.7em;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.review-score-text {
  display: block;
  color: #ffcc32;
  font-family: gigabold, sans-serif;
  font-size: 1.15em;
  margin-top: 16px;
  text-align: center;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .review-section {
      flex-direction: column;
      gap: 16px;
      padding: 14px 7vw 22px 7vw;
  }
  .review-score-outer { margin-left: 0; margin-top: 24px; }
  .review-features { flex-direction: column; gap: 13px; }
  .review-advantages, .review-disadvantages { min-width: 0; max-width: none;}
}
