.command {
  margin-top: 100px;
  color: white;
}
.command__container {
  padding: 40px 40px;
  background-color: #434b36;
}

.command__container--chief {
  display: flex;
  gap: 50px;
  margin-top: 20px;
}
.command__container--chief__img {
  width: 352px;
  height: auto;
}
.command__container--chief__img img {
  height: auto;
  width: 352px;
  object-fit: cover;
}
.command__container--chief__text--heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.command__container--chief__text--heading h3 {
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.command__container--chief__text--heading p {
  color: #a8aaa4;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
}

.command__container--chief__text--text {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}
.command__container--chief__text--bottom {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.command__container--chief__text--bottom__button {
  display: inline-flex;
  gap: 20px;
  color: #434b36;
  padding: 20px 40px;
  background-color: white;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  transition: all 0.4s;
}
.command__container--chief__text--bottom__button:hover {
  background-color: #c3cdb2;
}
.command__container--chief__text--bottom__social--list {
  display: flex;
  gap: 10px;
}
.command__container--chief__text--bottom__social--list__item {
  color: white;
  height: 64px;
  width: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  transition: all 0.4s;
}

.command__container--chief__text--bottom__social--list__item:hover {
  background-color: #c3cdb2;
  color: #434b36;
}

.horizonal {
  height: 1px;
  width: auto;
  justify-content: stretch;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 40px;
  margin-bottom: 40px;
}
.command__container--chief__brigade--item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 13px;
  align-items: stretch;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.command__container--chief__brigade--item h5 {
  height: 47px;
}
.command__container--chief__brigade--item--heading__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.command__container--chief__brigade--item--heading__text p {
  color: #a8aaa4;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}
.command__container--chief__brigade--item--text p {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}
.command__container--chief__brigade--item--heading {
  display: flex;
  gap: 16px;
  align-items: center;
}

.command__container--chief__brigade--item--bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.command__container--chief__brigade--item--bottom__button {
  display: flex;
  flex-direction: row;
  gap: 20px;
  color: #434b36;
  background-color: white;
  padding: 17px 30px;
  align-items: center;
  font-weight: 500;
  transition: all 0.4s;
}
.command__container--chief__brigade--item--bottom__button:hover {
  background-color: #c3cdb2;
}

.command__container--chief__brigade--item--bottom__social--list {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.command__container--chief__brigade--item--bottom__social--list__item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.4s;
  border: 1px solid white;
  height: 50px;
  width: 50px;
}
.command__container--chief__brigade--item--bottom__social--list__item:hover {
  background-color: #c3cdb2;
  color: #434b36;
}

.command__container--chief__brigade--item--heading__img {
  width: 130px;
  height: auto;
}
.command__container--chief__brigade--item--heading__img img {
  height: 100%;
  width: 130px;
  object-fit: cover;
}

.command__container--chief__brigade--list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
}
.command__container--chief__brigade--item {
  width: calc(33.3333% - 28px);
}
.command__container--chief__brigade--item h5 {
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1024px) {
  .command__container--chief__brigade--item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 0;
    padding-bottom: 20px;
  }
  .command__container--chief__brigade--item h5 {
    height: unset;
  }
}
@media screen and (max-width: 880px) {
  .command__container--chief__img {
    width: 200px;
  }
  .command__container--chief__img img {
    width: 200px;
  }
}
@media screen and (max-width: 768px) {
  .command__container--chief {
    flex-direction: column;
    gap: 20px;
  }
  .command__container {
    padding: 40px 20px;
  }
  .command__container--chief__text--heading h3 {
    font-size: 24px;
  }
  .command__container--chief__text--heading p {
    font-size: 16px;
  }
  .command__container--chief__text--text {
    margin-top: 20px;
  }
  .command__container--chief__text--bottom__button {
    font-size: 14px;
  }
  .command__container--chief__text--bottom__social--list__item {
    height: 50px;
    width: 50px;
  }
}

/* new text blocks */
.command__content--item__text {
  /* margin-top: 26px; */
  display: flex;
  flex-direction: column;
  gap: 00px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

/* redactor edits */
.command__content--item__text h1 {
  font-size: 22px;
}

.command__content--item__text h2 {
  font-size: 20px;
}

.command__content--item__text h3 {
  font-size: 19px;
}

.command__content--item__text h4 {
  font-size: 18px;
}

.command__content--item__text h5 {
  font-size: 17px;
}

.command__content--item__text h6 {
  font-size: 16px;
}

.command__content--item__text {
  width: 100%;
}

.command__content--item__text p {
  /* font-size: 16px; */
  /* line-height: 140%; */
  /* font-weight: 400; */
  margin: 8px 0;
}

@media screen and (max-width: 767px) {
  .command__content--item__text p {
    font-size: 14px;
  }
}

.command__content--item__text p:first-child {
  margin-top: 0;
}

.command__content--item__text p:last-child {
  margin-bottom: 0;
}

.command__content--item__text h1,
.command__content--item__text h2,
.command__content--item__text h3,
.command__content--item__text h4,
.command__content--item__text h5,
.command__content--item__text h6 {
  line-height: 110%;
  font-weight: 500;
  margin: 16px 0 20px;
}

@media (max-width: 767px) {
  .command__content--item__text h1,
  .command__content--item__text h2,
  .command__content--item__text h3,
  .command__content--item__text h4,
  .command__content--item__text h5,
  .command__content--item__text h6 {
    margin-top: 10px;
  }
}

.command__content--item__text h1:first-child,
.command__content--item__text h2:first-child,
.command__content--item__text h3:first-child,
.command__content--item__text h4:first-child,
.command__content--item__text h5:first-child,
.command__content--item__text h6:first-child {
  margin-top: 0;
}

.command__content--item__text ul:not(.page-numbers),
.command__content--item__text ol {
  /* margin: 20px 0 !important; */
  /* padding: 0 !important; */
}

.command__content--item__text ul:not(.page-numbers):first-child,
.command__content--item__text ol:first-child {
  margin-top: 0;
}

.command__content--item__text ul:not(.page-numbers):last-child,
.command__content--item__text ol:last-child {
  margin-bottom: 0;
}

.command__content--item__text ul:not(.page-numbers) li,
.command__content--item__text ol li {
  font-size: 14px;
  line-height: 130%;
  font-weight: 500;
  margin: 5px 0;
  position: relative;
}

.command__content--item__text ul:not(.page-numbers) li:first-child,
.command__content--item__text ol li:first-child {
  margin-top: 0;
}

.command__content--item__text ul:not(.page-numbers) li:last-child,
.command__content--item__text ol li:last-child {
  margin-bottom: 0;
}

.command__content--item__text ul:not(.page-numbers) li ol,
.command__content--item__text ul:not(.page-numbers) li ul,
.command__content--item__text ol li ol,
.command__content--item__text ol li ul {
  /* margin: 20px 0 !important; */
}

.command__content--item__text ul:not(.page-numbers) {
  list-style: none;
}

.command__content--item__text ul:not(.page-numbers) > li {
  padding-left: 14px;
}

.command__content--item__text
  ul:not(.page-numbers)
  > li:not(.filter__list__item):before {
  display: block;
  content: "";
  width: 8px;
  height: 8px;
  background: #6c834b;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 0;
}

.command__content--item__text ul:not(.page-numbers) > li ul {
  padding-left: 6px !important;
}

.command__content--item__text
  ul:not(.page-numbers)
  > li
  ul
  li:not(.filter__list__item):before {
  display: block;
  content: "";
  width: 6px;
  height: 6px;
  background: #6c834b;
  position: absolute;
  top: 6px;
  left: 0;
}

.command__content--item__text ol > li {
  margin-left: 11px;
  padding-left: 6px;
}

.command__content--item__text ol > li::marker {
  display: none;
  content: counter(list-item) ".";
  font-size: 14px;
  line-height: 130%;
  font-weight: 500;
  color: #6c834b;
  font-variant-numeric: normal;
}

.command__content--item__text blockquote {
  margin: 20px 0;
  padding: 16px 16px;
  background: #f0f1ee;
  position: relative;
  border-left: 1px solid #434b36;
  color: black;
}

.command__content--item__text blockquote:first-child {
  margin-top: 0;
}

.command__content--item__text blockquote:last-child {
  margin-bottom: 0;
}

.command__content--item__text blockquote p {
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  margin: 0;
}

@media (max-width: 767px) {
  .command__content--item__text blockquote p {
    font-size: 16px;
  }
}

.command__content--item__text blockquote cite {
  display: block;
  font-style: normal;
  font-size: 16px;
  line-height: 140%;
  font-weight: 700;
  color: #6c834b;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .command__content--item__text blockquote cite {
    margin-top: 16px;
  }
}

.command__content--item__text blockquote .blockquote-subtext {
  display: block;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  margin-top: 6px;
}

.command__content--item__text a {
  color: #434b36;
  font-size: 16px;
  transition: all 0.4s;
  font-weight: 500;
  border-bottom: 1px solid #6d653b;
}

.command__content--item__text a:hover {
  color: black;
}
