﻿.download-home,
.download-center {
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

.header-lang .box {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.header-lang .box em,
.header-lang .box i {
  float: none;
  margin: 0;
}

.header-lang .box img,
.header-lang ul li img {
  display: none;
}

.header-lang ul {
  padding: 0;
}

.header-lang ul li a {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: center;
  min-height: 32px;
}

.lang-icon {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
  height: 20px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  width: 20px;
}

.lang-icon--de {
  background: linear-gradient(180deg, #111 0 33%, #d00 33% 66%, #ffce00 66% 100%);
}

.lang-icon--en {
  background: #1d4ed8;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #dc2626;
}

.download-main,
.header .wp,
.menu-tabs .wp,
#footer > .wp {
  max-width: 1440px;
}

.download-main {
  background: #f6f7f8;
  box-sizing: border-box;
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}

.download-home {
  padding: 18px 0 54px;
}

.download-home__hero {
  background: #fafafa;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 42px;
}

.download-home__eyebrow {
  color: #1cb14d;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.download-home__hero h1 {
  color: #111;
  font-size: 42px;
  line-height: 1.14;
  margin: 0 0 14px;
}

.download-home__hero p {
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 680px;
}

.download-home__search {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  display: block;
  max-width: 680px;
  padding: 12px 16px;
}

.download-home__search span {
  color: #666;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.download-home__search input {
  border: 0;
  color: #333;
  font-size: 16px;
  outline: 0;
  width: 100%;
}

.download-home__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.download-home__card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: block;
  min-height: 116px;
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.download-home__card:hover {
  border-color: #1cb14d;
  box-shadow: 0 10px 24px rgba(28, 177, 77, 0.15);
  transform: translateY(-2px);
}

.download-home__card strong {
  color: #111;
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}

.download-home__card span {
  color: #666;
  font-size: 14px;
}

.download-center {
  margin: 0 auto;
  max-width: 1440px;
  padding: 32px 0 64px;
}

.download-center--compact {
  margin-top: 12px;
  padding-bottom: 0;
}

.download-center--hidden {
  display: none;
}

.download-center__header {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.download-center__title h1 {
  color: #111;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.download-center__title h1::after {
  background: #1cb14d;
  content: "";
  display: block;
  height: 3px;
  margin-top: 14px;
  width: 50px;
}

.download-center__title p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.download-center__search {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  min-width: 360px;
  padding: 11px 14px;
}

.download-center__search span {
  color: #666;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-center__search input {
  border: 0;
  color: #333;
  font-size: 15px;
  outline: 0;
  width: 100%;
}

.download-center__body {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.download-center__sidebar {
  background: #fff;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
}

.download-center__series-all {
  background: #1cb14d;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 48px;
  margin: 0;
  padding: 0 16px;
  text-align: left;
  width: 100%;
}

.download-center__series-all.is-active {
  background: #1cb14d;
}

.download-center__filters {
  display: grid;
}

.download-center__filter {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #ededed;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  min-height: 46px;
  padding: 12px 16px;
  position: relative;
  text-align: left;
}

.download-center__filter::after {
  color: #999;
  content: ">";
  position: absolute;
  right: 12px;
  top: 12px;
}

.download-center__filter:hover,
.download-center__filter.is-active {
  color: #1cb14d;
}

.download-center__filter.is-active::after {
  color: #1cb14d;
}

.download-center__content {
  min-width: 0;
}

.download-center__section {
  margin-bottom: 28px;
}

.download-center__section h2 {
  color: #111;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 24px;
}

.download-center__list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-center__card {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.download-center__card:hover {
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.download-center__card-icon {
  color: #b6b8bf;
  height: 40px;
  margin-bottom: 22px;
  width: 40px;
}

.download-center__card-icon svg {
  display: block;
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 100%;
}

.download-center__card h3 {
  color: #111;
  display: -webkit-box;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  min-height: 49px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.download-center__meta {
  color: #777;
  display: grid;
  font-size: 12px;
  gap: 4px;
  line-height: 17px;
}

.download-center__button {
  background: transparent;
  border: 0;
  color: #1cb14d;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  justify-content: flex-start;
  line-height: 20px;
  margin-top: 14px;
  min-height: 22px;
  padding: 0;
  text-align: left;
  width: fit-content;
}

.download-center__button:hover {
  background: transparent;
  color: #128c3b;
}

.menu-tabs ul li.active a {
  background: #1cb14d;
}

.down-list ul li .more,
.down-list ul li:hover .more {
  background: #1cb14d;
}

.down-list ul li:hover {
  border-color: #1cb14d;
}

.download-center__button svg {
  display: block;
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 14px;
}

.download-center__pager {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 36px 0 0;
}

.download-center__pager--series {
  border-top: 1px solid #ededed;
  gap: 6px;
  margin: 0;
  padding: 12px;
}

.download-center__page-btn {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  height: 30px;
  justify-content: center;
  min-width: 30px;
  padding: 0 9px;
}

.download-center__page-btn:hover {
  border-color: #1cb14d;
  color: #1cb14d;
}

.download-center__page-btn.is-active {
  background: #1cb14d;
  border-color: #1cb14d;
  color: #fff;
}

.download-center__page-btn:disabled {
  color: #b6b8bf;
  cursor: not-allowed;
  opacity: 0.58;
}

.download-center__page-btn:disabled:hover {
  border-color: #dfe3e8;
  color: #b6b8bf;
}

.download-center__page-gap {
  align-items: center;
  color: #9aa1aa;
  display: inline-flex;
  font-size: 13px;
  height: 30px;
  justify-content: center;
  min-width: 18px;
}

.download-center__empty {
  background: #fff;
  border: 1px dashed #d9d9d9;
  border-radius: 10px;
  color: #666;
  padding: 28px;
  text-align: center;
}

@media (max-width: 1024px) {
  .download-center__body {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .download-center__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .download-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .download-home {
    padding: 8px 0 34px;
  }

  .download-home__hero {
    padding: 28px 20px;
  }

  .download-home__hero h1,
  .download-center__title h1 {
    font-size: 28px;
  }

  .download-home__grid,
  .download-center__body {
    grid-template-columns: 1fr;
  }

  .download-center__header {
    align-items: stretch;
    display: block;
  }

  .download-center__search {
    margin-top: 18px;
    min-width: 0;
  }

  .download-center__list {
    grid-template-columns: 1fr;
  }
}

