.news { &__wrap { position: relative; padding-bottom: 60px; margin-bottom: 60px; background-repeat: no-repeat; background-size: cover; background-position: center; @media (min-width: 1200px) { padding-bottom: 110px; margin-bottom: 100px; } &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(3, 9, 15, 0.6); } } &__inner { position: relative; } &__cnt { max-width: 470px; } &__title { margin-bottom: 12px; } &__descr { color: $white; font-size: 16px; line-height: 22px; font-weight: 500; @media (min-width: 1200px) { font-size: 20px; line-height: 30px; font-weight: 400; } } &__grid { display: grid; grid-template-columns: repeat(1, 1fr); grid-gap: 20px; margin-bottom: 20px; @media (min-width: 500px) { grid-template-columns: repeat(2, 1fr); } @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); } @media (min-width: 1200px) { grid-template-columns: repeat(4, 1fr); margin-bottom: 60px; } } } .news-one-top { position: relative; padding-bottom: 30px; background-repeat: no-repeat; background-size: cover; background-position: center; @media (min-width: 1200px) { padding-bottom: 40px; } &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(3, 9, 15, 0.6); } &__wrap { position: relative; } } .news-one { &__title { max-width: 880px; margin-bottom: 128px; line-height: 36px; @media (min-width: 1200px) { line-height: 58px; margin-bottom: 84px; } } &__date { span { display: block; color: $white; &:nth-child(1) { font-size: 32px; line-height: 40px; font-weight: 800; margin-bottom: 2px; } &:nth-child(2) { font-size: 14px; line-height: 20px; font-weight: 500; } } } &__inner { display: flex; flex-direction: column; padding: 40px 0 0; @media (min-width: 780px) { flex-direction: row; align-items: flex-start; padding: 40px 0; border-bottom: 1px solid #E8E8E9; } @media (min-width: 1200px) { padding: 60px 0; } } &__social { order: 1; margin: 40px 0px 0px 0px; @media (min-width: 780px) { order: 0; margin: 0px 30px 0px 0px; } @media (min-width: 1200px) { margin: 0px 50px 0px 0px; } &.social { width: 260px; flex-shrink: 0; padding: 20px 20px 30px; border-radius: 10px; box-shadow: 0px 2px 12px rgba(14, 56, 94, 0.04); background-color: #EDF7FF; } } &__descr { max-width: 700px; color: #4B4E53; font-size: 14px; line-height: 22px; font-weight: 500; padding-bottom: 40px; border-bottom: 1px solid #E8E8E9; @media (min-width: 780px) { padding-bottom: 0; border: none; } @media (min-width: 1200px) { font-size: 16px; } p { color: #4B4E53; font-size: 14px; line-height: 22px; font-weight: 500; @media (min-width: 1200px) { font-size: 16px; } &:not(:last-child) { margin-bottom: 16px; @media (min-width: 1200px) { margin-bottom: 20px; } } } } }