.layout__1of3,
.layout__2of3,
.layout__3of3,
.layout__4of4,
.layout__5of5 {
  position: relative;
  padding: 20px 25px;
  gap: 45px;
  flex-direction: column;
}

.layout__3of3,
.layout__5of5 {
  display: block;
}

.layout__3of3 .article,
.layout__5of5 .article {
  margin-bottom: 45px;
}

.layout__3of3 .article:last-of-type,
.layout__5of5 .article:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .layout__3of3,
  .layout__5of5 {
    display: flex;
  }

  .layout__3of3 .article,
  .layout__5of5 .article {
    margin-bottom: unset;
  }
}

@media (min-width: 768px) {
  .layout__1of3,
  .layout__2of3,
  .layout__3of3,
  .layout__4of4,
  .layout__5of5 {
    padding: 30px 40px;
    flex-direction: row;
    gap: 40px;
  }
}

@media (min-width: 1440px) {
  .layout__1of3,
  .layout__2of3,
  .layout__3of3,
  .layout__4of4,
  .layout__5of5 {
    gap: 50px;
  }
}

.layout__1of3 .article,
.layout__2of3 .article,
.layout__3of3 .article,
.layout__4of4 .article,
.layout__5of5 .article {
  flex-direction: column;
  position: relative;
  flex: 1 1 0;
}

@media (min-width: 768px) {
  .layout__1of3 .article::after,
  .layout__2of3 .article::after,
  .layout__3of3 .article::after,
  .layout__4of4 .article::after,
  .layout__5of5 .article::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 1px;
    height: 100%;
    background: #ebebeb;
  }

  .layout__1of3 .article:last-of-type::after,
  .layout__2of3 .article:last-of-type::after,
  .layout__3of3 .article:last-of-type::after,
  .layout__4of4 .article:last-of-type::after,
  .layout__5of5 .article:last-of-type::after {
    display: none;
  }

  .layout__3of3 .article::after {
    right: -25px;
  }
}

.layout__1of3 .article__row,
.layout__2of3 .article__row,
.layout__3of3 .article__row,
.layout__4of4 .article__row,
.layout__5of5 .article__row {
  flex-direction: row;
  position: relative;
}

.layout__1of3 .article__row:before,
.layout__2of3 .article__row:before,
.layout__3of3 .article__row:before,
.layout__4of4 .article__row:before,
.layout__5of5 .article__row:before {
  content: "";
  position: absolute;
  bottom: -21px;
  width: 100%;
  height: 1px;
  background: #ebebeb;
}

@media (min-width: 768px) {
  .layout__1of3 .article__row:before,
  .layout__2of3 .article__row:before,
  .layout__3of3 .article__row:before,
  .layout__4of4 .article__row:before,
  .layout__5of5 .article__row:before {
    display: none;
  }
}

.layout__1of3 .article__row .article__img,
.layout__2of3 .article__row .article__img,
.layout__3of3 .article__row .article__img,
.layout__4of4 .article__row .article__img,
.layout__5of5 .article__row .article__img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  margin-right: 18px;
}

@media (min-width: 768px) {
  .layout__1of3 .article__row .article__img,
  .layout__2of3 .article__row .article__img,
  .layout__3of3 .article__row .article__img,
  .layout__4of4 .article__row .article__img,
  .layout__5of5 .article__row .article__img {
    width: 120px;
    height: 67px;
    margin-right: 24px;
  }
}

@media (min-width: 1440px) {
  .layout__1of3 .article__row .article__img,
  .layout__2of3 .article__row .article__img,
  .layout__3of3 .article__row .article__img,
  .layout__4of4 .article__row .article__img,
  .layout__5of5 .article__row .article__img {
    margin-right: 15px;
  }
}

.layout__1of3 .article__row .article__category,
.layout__2of3 .article__row .article__category,
.layout__3of3 .article__row .article__category,
.layout__4of4 .article__row .article__category,
.layout__5of5 .article__row .article__category {
  margin-top: 0;
}

.layout__4of4  .article__title,
.layout__5of5  .article__title {
  font-size: 16px;
}

.layout__1of3 .article__row .article__description,
.layout__2of3 .article__row .article__description,
.layout__3of3 .article__row .article__description,
.layout__4of4 .article__row .article__description,
.layout__5of5 .article__row .article__description {
  display: none;
}

.layout__1of3 {
  flex-basis: 33.33%;
}

.layout__2of3 {
  flex-basis: 66.66%;
}

.layout__2of3 .article__category {
  margin-bottom: 15px;
}

.layout__3of3 .article__category {
  margin-bottom: 15px;
}

.layout__3of3,
.layout__4of4,
.layout__5of5 {
  flex-basis: 100%;
}

.layout__4of4 .article__description,
.layout__5of5 .article__description {
  display: none;
}

.layout__5of5 .article__meta {
  flex-direction: column;
  align-items: flex-start;
}

.layout__5of5 .article__author .photo {
  display: none;
}

.layout__5of5 {
  gap: 0;
}

@media (min-width: 768px) {
  .layout__5of5 {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .layout__5of5 {
    gap: 40px;
    flex-direction: row;
  }
}

.layout__5of5 .article {
  flex-direction: row;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.layout__5of5 .article:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .layout__5of5 .article:after {
    display: none;
  }
}

@media (min-width: 1024px) {
  .layout__5of5 .article {
    flex-direction: column;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: inherit;
  }

  .layout__5of5 .article:after {
    display: inherit;
    right: -21px;
  }
}

.layout__5of5 .article__img {
  width: 72px;
  height: 72px;
  margin-right: 18px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .layout__5of5 .article__img {
    width: 223px;
    height: 125px;
    margin-right: 24px;
  }
}

@media (min-width: 1024px) {
  .layout__5of5 .article__img {
    width: inherit;
    height: inherit;
    margin-right: inherit;
    margin-bottom: 16px;
  }
}

.layout__5of5 .article__category {
  margin-top: 0;
}

@media (min-width: 768px) {
  .layout__5of5 .article__category {
    margin-top: inherit;
  }
}

.layout__single {
  width: 100%;
  padding-bottom: 45px;
}

@media (min-width: 768px) {
  .layout__single {
    padding-bottom: 0;
  }
}

.layout__single .article {
  position: relative;
  flex-direction: column;
}

@media (min-width: 768px) {
  .layout__single .article {
    margin-bottom: 197px;
  }
}

@media (min-width: 1440px) {
  .layout__single .article {
    margin-bottom: 144px;
  }
}

.layout__single .article__img {
  width: 100%;
  margin-bottom: 0;
}

.layout__single .article__img img {
  width: 100%;
  aspect-ratio: 18.7 / 9;
  -o-object-fit: cover;
  object-fit: cover;
}

.layout__single .article__title {
  font-size: 22px;
}

@media (min-width: 768px) {
  .layout__single .article__title {
    font-size: 28px;
  }
}

.layout__single .article__wrap {
  border: 1px solid #ebebeb;
  padding: 17px;
}

@media (min-width: 768px) {
  .layout__single .article__wrap {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -167px;
    padding: 20px;
    background: #fff;
    max-width: 100%;
    align-self: flex-end;
    padding: 25px 28px 16px 28px;
  }
}

@media (min-width: 1440px) {
  .layout__single .article__wrap {
    right: 30px;
    left: inherit;
    bottom: -114px;
    max-width: 860px;
  }
}

.layout__single .article__category {
  margin: 0;
  margin-top: 5px;
  margin-bottom: 9px;
}

@media (min-width: 768px) {
  .layout__single .article__category {
    margin-top: 0;
  }
}

.layout__single .article__description {
  margin-bottom: 15px;
}

.layout__single .article__meta {
  line-height: 1.7;
}

.layout__simple {
  display: flex;
}

.layout__simple.background-grey .article__description a {
  color: #3d3434;
}

.layout__simple .article {
  padding: 30px 0;
  flex-direction: column;
}

@media (min-width: 768px) {
  .layout__simple .article {
    flex-direction: row;
  }
}

.layout__simple .article__wrap {
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .layout__simple .article__wrap {
    padding-left: 30px;
    flex-basis: 39%;
    flex-shrink: 0;
    justify-content: center;
  }
}

.layout__simple .article__img {
  margin-bottom: 0;
}

.layout__simple .article__title {
  font-size: 20px;
}

@media (min-width: 768px) {
  .layout__simple .article__title {
    font-size: 24px;
  }
}


.layout__authors {
  display: block;
  justify-content: space-between;
  padding-bottom: 30px;
}

@media (min-width: 768px) {
  .layout__authors {
    display: flex;
    gap: 24px;
    flex-direction: row;
  }
}

@media (min-width: 1440px) {
  .layout__authors {
    gap: 50px;
  }
}

.layout__authors .article {
  flex: 1 1 0;
  padding-top: 30px;
}

.layout__authors .article__img {
  display: block;
  flex-shrink: 0;
  margin-right: 18px;
  width: 72px;
  height: 72px;
}

@media (min-width: 768px) {
  .layout__authors .article__img {
    width: 82px;
    height: 82px;
  }
}

.layout__authors .article__img img {
  max-width: 100%;
  border-radius: 50%;
  width: 70px;
  height: 70px;
}

.layout__authors .article__wrap {
  flex-shrink: 1;
}

.layout__authors .article__category {
  display: none;
}

.layout__authors .article__title {
  font-size: 16px;
}

.layout__authors .article__description {
  display: none;
}

.layout__authors .article__meta .photo {
  display: none;
}

.layout__authors .article__meta--date {
  display: none;
}

.layout__numbers {
  display: flex;
  flex-direction: column;
}

.layout__numbers .article {
  flex-direction: row;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #ebebeb;
}

.layout__numbers .article {
  padding: 24px 0 14px 0;
}

.layout__numbers .article:last-of-type {
  border-bottom: none;
}

.layout__numbers .article__img,
.layout__numbers .article__category,
.layout__numbers .article__description,
.layout__numbers .article__meta {
  display: none;
}

.layout__numbers .article__title {
  word-break: break-word;
  font-size: 16px;
  margin: 0;
  position: relative;
  margin-left: 22px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
}

.layout__numbers .article .number {
  font-family: "DM Sans", sans-serif, "Sharp Grotesk Bold 15", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  margin: 0;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: normal;
  color: #900;
}

.grid-row .article {
  flex-direction: column;
  padding: 30px 0;
  border-bottom: 1px solid #ebebeb;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .grid-row .article {
    flex-direction: row;
  }
}

.grid-row .article__img {
  display: block;
  max-width: 100%;
  width: 100%;
  margin-right: 30px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .grid-row .article__img {
    max-width: 346px;
  }
}

.grid-row .article__img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
  object-fit: cover;
}

.banner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .banner {
    flex-direction: row;
    height: 205px;
  }
}

.banner main,
.banner aside {
  flex: 1 1 0;
}

.banner main {
  position: relative;
}

.banner main::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.banner main::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 300px;
  width: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), black);
}

@media (min-width: 768px) {
  .banner main::after {
    width: 300px;
    left: initial;
    right: -1px;
    height: 100%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), black);
  }
}

.banner aside {
  position: absolute;
  bottom: 0;
  max-width: 100%;
  display: block;
  padding: 25px;
  text-align: center;
}

@media (min-width: 768px) {
  .banner aside {
    max-width: 560px;
    background: black;
    position: inherit;
    bottom: inherit;
    text-align: left;
  }
}

@media (min-width: 1440px) {
  .banner aside {
    padding: 45px 45px 45px 0;
  }
}

.banner aside .button {
  padding: 9px 24px;
  font-size: 14px;
  color: #fff;
  background: #900;
  border-radius: 0;
}

.banner .article {
  position: relative;
}

.banner .article__img-wrap {
  padding: 25px;
  position: absolute;
  z-index: 1;
  top: 0;
  text-align: center;
}

@media (min-width: 1440px) {
  .banner .article__img-wrap {
    padding: 45px;
  }
}

.banner .article__url {
  color: #fff;
}

.banner .article__title {
  position: relative;
  z-index: 1;
  font-weight: 500;
  text-shadow: 0px 0px 2px black;
}

.banner .article__category {
  display: block;
  margin-bottom: 8px;
  margin-top: 0;
}

.banner .article__description {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .banner .article__description {
    overflow: inherit;
    white-space: initial;
    text-overflow: initial;
  }
}

.banner .article__description a {
  color: #fff;
}

/* Regions sections */
.section__editor-others.regions section {
  background-color: #ebebeb;
}

.section__editor-others.regions section .article:after {
  background: #fff;
}
.section__editor-others.regions .photo {
  display: none;
}