/* ——— базовое */
*,
*::before,
*::after { box-sizing: border-box; }

.container { max-width: 1160px; margin: 0 auto; }
.breadcrumbs { font-size: 14px; color:#888; margin-bottom: 24px; margin-top: 16px; }
.breadcrumbs a:hover { color:#C2181F; }

.page-header {
  display:flex; align-items:center; gap:12px; margin-bottom: 20px;
}
.page-header h1 {
  font-size: 36px; line-height:1.2; font-weight:500; color:#303030;
}
.back-button {
  display:grid; place-items:center; width:40px; height:40px; border:1px solid #eee;
  border-radius: 10px; background:#fff; cursor:pointer;
}
.back-button:hover { border-color:#ccc; }

/* ——— контент */
.brand-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

/* ——— область описания бренда */
.brand-description {
  font-size: 16px;
  line-height: 1.6;
  color:#303030;
}

/* логотип бренда (идёт до BbText) */
.brand-description .brand-logo {
  max-width: 240px;
  height:auto;
  display:block;
  margin: 4px 0 20px 0;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.02));
}

/* типографика: аккуратные отступы */
.brand-description p { margin: 0 0 12px 0; }
/* чтобы элементы корректно учитывали вложенности */
.brand-description p,
.brand-description li { display: flow-root; }

.brand-description ul {
  margin: 8px 0 16px 0;
  padding-left: 0;
}
.brand-description li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 10px 0;
}
.brand-description li::before {
  content: "";
  position:absolute; left:0; top:0.7em;
  width:8px; height:8px; border-radius: 50%;
  background:#C2181F;
}

.brand-description strong { font-weight:600; }

/* ——— изображения: просто прижаты к левому краю, без float, без центрирования */
.brand-description img {
  display:block;
  max-width: 100%;
  height: auto;
  margin: 16px 0;            /* было: auto по бокам — убрал, чтобы не центрировало */
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* отдельные крупные иллюстрации (когда картинка была отдельным абзацем) тоже слева */
.brand-description .is-standalone-image {
  margin: 20px 0;            /* было: auto по бокам — убрал */
}

/* ссылки (если попадутся) */
.brand-description a { color:#0b69c7; text-underline-offset: 3px; }
.brand-description a:hover { color:#094f95; }

.brand-downloads {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid #e7eaee;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(194, 24, 31, 0.06), transparent 34%),
    linear-gradient(180deg, #fbfcfd 0%, #f5f7f9 100%);
}

.brand-downloads__header {
  margin-bottom: 18px;
}

.brand-downloads__header h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
  color: #303030;
}

.brand-downloads__header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #66707a;
}

.brand-downloads__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.brand-download-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #dde3e9;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(48, 48, 48, 0.05);
  color: #303030;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.brand-download-card:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 24, 31, 0.28);
  box-shadow: 0 14px 28px rgba(48, 48, 48, 0.08);
  color: #303030;
}

.brand-download-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c2181f, #e14148);
  color: #fff;
  flex-shrink: 0;
}

.brand-download-card__content {
  min-width: 0;
}

.brand-download-card__topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1;
}

.brand-download-card__type {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(194, 24, 31, 0.1);
  color: #a1161b;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-download-card__size {
  color: #7a8591;
  white-space: nowrap;
}

.brand-download-card h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  color: #303030;
}

.brand-download-card p {
  margin: 0;
  color: #69737d;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.brand-download-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #303030;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* ——— адаптив */
@media (max-width: 1023px) {
  .page-header h1 { font-size: 28px; }
  .brand-description { font-size: 15.5px; }

  .brand-downloads {
    padding: 24px;
  }

  .brand-downloads__header h2 {
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .container { padding: 16px; }
  .page-header h1 { font-size: 24px; }
  .brand-description .brand-logo { max-width: 200px; margin-bottom: 16px; }
  .brand-description img { margin: 12px 0; }

  .brand-downloads {
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
  }

  .brand-downloads__header {
    margin-bottom: 14px;
  }

  .brand-downloads__header h2 {
    font-size: 22px;
  }

  .brand-downloads__header p {
    font-size: 14px;
  }

  .brand-downloads__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-download-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .brand-download-card__cta {
    grid-column: 1 / -1;
    width: 100%;
  }
}


.brand-description strong {
    font-weight: 500;
}


@media (max-width: 1279px) {
    .container {
        max-width: 944px;
        margin: 0 auto;
    }
}

@media (max-width: 1023px) {
    .container {
        max-width: 96%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 96%;
        margin: 0 auto;
    }
}

.brand-description h2,
.brand-description h3 {
  margin: 18px 0 12px 0;
  font-weight: 500;
  line-height: 1.25;
  color: #303030;
}

.brand-description h2 { font-size: 22px; }
.brand-description h3 { font-size: 20px; }

@media (max-width: 1023px) {
  .brand-description h2 { font-size: 20px; }
  .brand-description h3 { font-size: 18px; }
}
