.single-article-constructor {
display: grid;
grid-template-columns: 72% 21%;
gap: 1.5rem;
justify-content: space-between;
}
.single-article-constructor .mobile {
display: none;
}
.single-article-constructor__title {
margin-bottom: 60px;
padding-bottom: 60px;
border-bottom: 1px solid rgba(125, 156, 158, 0.5);
}
.single-article-constructor .title--h3 {
font-size: 40px;
}
.single-article-constructor__left .page__container {
max-width: unset;
padding: unset;
margin: unset;
}
@media (max-width: 992px) {
.single-article-constructor {
display: flex;
flex-direction: column-reverse;
gap: 0;
}
.single-article-constructor .title--h3 {
font-size: 30px;
}
}
@media (max-width: 576px) {
.single-article-constructor .desktop {
display: none;
}
.single-article-constructor .mobile {
display: block;
}
.single-article-constructor .title--h3 {
font-size: 20px;
}
.single-article-constructor section {
margin: 30px auto;
}
} .top-article {
display: grid;
grid-template-columns: 77% auto;
gap: 0.75rem 1.5rem;
margin: 180px auto 60px auto;
font-family: "Mulish", sans-serif;
}
.top-article .mobile {
display: none;
}
.top-article__img {
object-fit: cover;
width: 100%;
min-height: 400px;
height: 100%;
}
.top-article__author {
display: flex;
color: #161615;
gap: 0.5rem;
flex-direction: column;
text-align: center;
align-items: center;
background-color: #EFF3F3;
padding: 4rem 2rem;
}
.top-article__author img {
min-width: 200px;
width: 200px;
height: 200px;
object-fit: cover;
object-position: top;
border-radius: 200px;
margin: 1.5rem 0 0.5rem;
}
.top-article__author .name {
font-weight: 600;
font-size: 18px;
}
.top-article__author .position {
font-size: 12px;
margin-top: 0.5rem;
}
.top-article__params {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.top-article__param {
font-weight: 500;
font-size: 13px;
border-radius: 50px;
line-height: 110%;
letter-spacing: 0.02em;
text-transform: uppercase;
padding: 0.5rem 1rem;
background: #eff3f3;
}
@media (max-width: 1200px) {
.top-article {
grid-template-columns: 65% auto;
}
}
@media (max-width: 992px) {
.top-article {
grid-template-columns: 62% auto;
margin: 25px auto 60px auto;
}
.top-article__img {
min-height: 300px;
}
.top-article__author {
padding: 1.5rem;
}
.top-article__author img {
width: 150px;
height: 150px;
}
.top-article__param {
font-size: 12px;
padding: 0.5rem;
}
}
@media (max-width: 768px) {
.top-article {
padding-bottom: 0;
margin-bottom: 30px;
margin-top: 60px;
}
.top-article__author {
padding: 1.5rem;
}
.top-article__author .title {
font-size: 16px;
}
.top-article__author img {
min-width: 120px;
width: 120px;
height: 120px;
margin: auto 0;
}
.top-article__author .name {
font-size: 14px;
}
}
@media (max-width: 576px) {
.top-article {
display: flex;
flex-direction: column;
}
.top-article .desktop {
display: none;
}
.top-article .mobile {
display: block;
}
.top-article__img {
min-height: 140px;
height: 140px;
margin-left: -20px;
margin-right: -20px;
width: calc(100% + 40px);
display: block;
max-width: unset;
order: 1;
}
.top-article__params {
order: 2;
justify-content: center;
gap: 0.25rem;
}
.top-article__param {
font-size: 10px;
padding: 0.25rem 0.5rem;
}
.top-article__author {
flex-direction: row;
gap: 1rem;
align-items: center;
text-align: left;
padding: 1rem;
order: 3;
}
.top-article__author .title {
font-size: 20px;
margin-bottom: 0.5rem;
}
.top-article__author img {
min-width: 100px;
width: 100px;
height: 100px;
margin: auto 0;
}
.top-article__author .name {
font-size: 16px;
}
}
.single-article-toc {
position: sticky;
top: 2rem;
display: flex;
flex-direction: column;
font-family: "Mulish", sans-serif;
padding-left: 30px;
border-left: 1px solid rgba(125, 156, 158, 0.5);
}
.single-article-toc h3 {
font-size: 20px;
color: #222222;
margin-bottom: 30px;
padding-bottom: 30px;
border-bottom: 1px solid rgba(125, 156, 158, 0.5);
}
.single-article-toc a {
text-decoration: none;
font-size: 16px;
margin-bottom: 20px;
display: block;
}
.single-article-toc a:hover {
color: #7D9C9E;
font-weight: bold;
}
@media (max-width: 1200px) {
.single-article-toc h3 {
margin-bottom: 20px;
padding-bottom: 20px;
font-size: 18px;
}
.single-article-toc a {
font-size: 14px;
margin-bottom: 10px;
}
}
@media (max-width: 992px) {
.single-article-toc {
border-left: 0;
padding-left: 0;
}
}
@media (max-width: 576px) {
.single-article-toc {
border-bottom: 1px solid rgba(125, 156, 158, 0.5);
padding-bottom: 20px;
margin-bottom: 20px;
}
}