.article-rating {
  padding: 20px;
}

.rating-question {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.3px;
}

.rating-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.rating-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.rating-icon-circle {

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.rating-icon-green {

  color: #22c55e;
}

.rating-icon-red {

  color: #dc2626;
}

.rating-upvote {
  background: #fff;
  border-color: var(--border);
}

.rating-upvote:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
}

.rating-upvote:hover .rating-icon-circle {
  transform: scale(1.1);
}

.rating-downvote {
  background: #fff;
  border-color: var(--border);
}

.rating-downvote:hover {
  background: rgba(220, 38, 38, 0.04);
  border-color: rgba(220, 38, 38, 0.3);
}

.rating-downvote:hover .rating-icon-circle {
  transform: scale(1.1);
}

.rating-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.rating-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

.rating-btn:disabled .rating-icon-circle {
  transform: none;
}

.btn-text {
  position: relative;
  z-index: 1;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.rating-result {
  margin-top: 24px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(226, 0, 61, 0.08) 0%, rgba(226, 0, 61, 0.03) 100%);
  border-radius: 12px;
  border: 2px solid rgba(226, 0, 61, 0.15);
  position: relative;
  overflow: hidden;
}

.rating-percentage {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-thanks {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.rating-percentage.rating-good .percentage-value {
  background: none;
  color: #4caf50;
  -webkit-text-fill-color: #4caf50;
}
.rating-percentage.rating-medium .percentage-value {
  background: none;
  color: #f5a623;
  -webkit-text-fill-color: #f5a623;
}
.rating-percentage.rating-bad .percentage-value {
  background: none;
  color: #e53935;
  -webkit-text-fill-color: #e53935;
}

.percentage-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  display: inline-block;
  margin-right: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(226, 0, 61, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 600px) {
  .article-rating {
    padding: 24px 18px;
  }

  .rating-question {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .rating-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .rating-btn {
    width: 100%;
    min-width: auto;
    padding: 12px 20px 12px 12px;
    justify-content: center;
  }

  .rating-icon-circle {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .btn-text {
    font-size: 15px;
  }

  .rating-result {
    padding: 20px 16px;
    margin-top: 20px;
  }

  .rating-percentage {
    font-size: 15px;
  }

  .percentage-value {
    font-size: 28px;
  }
}

.category-container > aside,
.home-wrapper aside {
  align-self: stretch;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;

  top: calc(var(--header-height, 155px) + 20px);
}

.sidebar-newsletter-promo {
  border-radius:5px;
  background-image: url('https://all-inkl.com/web-guide/img/bg-ad-newsletter.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 28px 24px;
  color: #fff;
  position: relative;
  height: 435px;
  display: flex;
}

.sidebar-newsletter-content {
  position: relative;
  z-index: 2;
  margin:auto;
}

.sidebar-newsletter-brand {

  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 1px;
  font-size: 49px;
    margin: 13px 0 14px;
    font-style: italic;
}

.sidebar-newsletter-brand span {
  color: var(--accent);
  font-style: italic;
}

.sidebar-newsletter-heading {
    font-size: 19px;
  font-weight: 700;
  letter-spacing: .8px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.sidebar-newsletter-text {
    font-size: 17px;
  line-height: 1.55;
  opacity: .85;
  margin: 0 0 18px;
}
.sidebar-newsletter-btn {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 5px;
}

.sidebar-newsletter-btn i {
  font-size: 12px;
  font-weight: bold;
}

.sidebar-top-articles {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 22px;
}

.sidebar-top-articles h2,
.sidebar-top-articles h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
}
.top-article-list {
  display: flex;
  flex-direction: column;
}
.top-article-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}
.top-article-item:last-child { border-bottom: none; }
.top-article-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 24px;
  flex-shrink: 0;
}
.top-article-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.top-article-content strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  transition: color .2s;
}
.top-article-item:hover .top-article-content strong {
  color: var(--accent);
}
.top-article-meta {
  font-size: 12px;
  color: var(--muted);
}
.sidebar-more-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.sidebar-more-link:hover { color: var(--accent); }

.sidebar-promo-banner {
  border-radius: 5px;
  background-image: url('https://all-inkl.com/web-guide/img/bg-ad-privat+@2x.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.sidebar-promo-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 18px 16px 20px;
  min-height: 340px;
}
.sidebar-promo-head {
  text-align: right;
  margin-bottom: 0;
}
.sidebar-promo-title {
    font-size: 55px;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 4px;
  color: #fff;
  text-transform: uppercase;
  font-style: italic;
}
.sidebar-promo-title span {
  color: var(--accent);
}
.sidebar-promo-tagline {
    font-size: 24px;
    margin-right: 55px;
    margin-top: -10px;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
  text-align: right;
}
.sidebar-promo-badge {
  position: absolute;
  top: 44%;
  right: 35px;
  width: 130px;
  height: 130px;
  background: var(--accent);
  font-style: italic;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}
.sidebar-promo-badge-row1 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.sidebar-promo-badge-price {
    font-size: 70px;
    top: 10px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  position: absolute;
}
.sidebar-promo-badge-eur {

  color: #fff;
  align-self: flex-start;
  font-size: 16px;
  position: absolute;
  top: 24px;
  right: 25px;
}
.sidebar-promo-badge-sub {
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: .3px;
  font-size: 12px;
  margin-top: 66px;
  text-transform: uppercase;
}
.sidebar-promo-btn {
  display: flex;
  align-items: center;
  justify-content: center;

    padding: 14px 20px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    transition: background .2s;
    flex-shrink: 0;
    width: 185px;
    text-align: center;
    bottom: 25px;
    right: 25px;
    position: absolute;
}

.sidebar-promo-banner:hover .sidebar-promo-btn,
.sidebar-promo-banner:focus-visible .sidebar-promo-btn,
.sidebar-promo-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.sidebar-promo-banner:focus-visible {
  outline: 3px solid var(--accent, #e2003d);
  outline-offset: 2px;
}

.sidebar .block {
  border-radius: 5px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--card);
}
.sidebar h2,
.sidebar h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.article-list { display: grid; gap: 0; }
.article-item {
  display: grid; gap: 6px; padding: 16px 0;
  border-bottom: 1px solid var(--border); transition: all .3s; cursor: pointer;
}
.article-item:last-child { border-bottom: none; }
.article-item strong { display: block; color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; transition: color .3s; }
.article-item:hover strong { color: var(--accent); }
.article-item span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.article-item a { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 4px; display: inline-block; }
.newsletter-box { background: #f8f9fa; padding: 20px; border: 1px solid var(--border); }
.newsletter-box h4 { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--text); }
.newsletter-box p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.newsletter-box .btn { width: 100%; margin-top: 4px; }
.promo-block {
  background: linear-gradient(135deg, #1a1f2e 0%, #252b3a 100%);
  padding: 24px; color: #fff; position: relative; overflow: hidden;
}
.promo-block::before { content: ""; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(226,0,61,.1) 0%, transparent 70%); }
.promo-block-content { position: relative; z-index: 1; }
.promo-block h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.promo-block p { margin: 0 0 16px; font-size: 14px; opacity: .9; line-height: 1.5; }
.promo-block .btn { background: var(--accent); color: #fff; border: none; width: 100%; }
.promo-block .btn:hover { background: var(--accent-dark); }
.promo-icon { position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px; opacity: .15; font-size: 80px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 1024px) {
  .sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  .category-container > aside,
  .home-wrapper aside {
    align-self: start;
  }
}

@media (max-width: 900px) {
  .article-sidebar .sidebar-promo-banner {
    margin-left: 16px;
    margin-right: 16px;
  }
}

