.go-back {
padding: 1.863rem 0 1.648rem;
}
.go-back .go-back-link {
display: flex;
gap: 0.882rem;
align-items: center;
}
.go-back .go-back-link .icon-arrow-left {
width: 1.511rem;
height: 0.694rem;
}
.go-back .go-back-link .btn {
letter-spacing: 0;
font-size: 17.64px;
line-height: 23.52px;
border-width: 0.73px;
border-color: var(--bs-black);
padding: 0.167rem 0.278rem 0.111rem 0.278rem;
min-width: inherit;
}
.single-news-page {
padding: 3.111rem 0 7.111rem;
}
.single-news-page .news-meta {
font-family: var(--font-family-tertiary);
font-size: 0.778rem;
line-height: 1.333rem;
letter-spacing: 0.05em;
margin-bottom: 0.444rem;
}
.single-news-page .excerpt {
margin-top: 0.889rem;
}
.single-news-page .news-image {
margin-top: 1.667rem;
display: flex;
gap: 2.667rem;
padding-bottom: 0.722rem;
border-bottom: 0.028rem solid var(--bs-black);
justify-content: space-between;
}
.single-news-page .news-image .image-post {
margin-bottom: 0.278rem;
}
.single-news-page .news-image .info-post {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
}
.single-news-page .news-image .info-post .btn {
color: var(--color-primary);
margin-bottom: 0.889rem;
text-align: left;
font-family: var(--font-family-tertiary);
font-size: 12px;
line-height: 18px;
text-transform: none;
padding: 0.444rem 1.056rem 0.389rem 1.167rem;
min-width: 9rem;
display: flex;
align-items: center;
clear: both;
}
.single-news-page .news-image .info-post .btn:hover {
background: var(--color-secondary);
}
.single-news-page .news-image .title-post {
font-size: 0.778rem;
line-height: 0.933rem;
}
.single-news-page .buttons-post {
position: relative;
}
.single-news-page .share-popup {
background: var(--bs-white);
padding: 0.8rem 1rem;
position: absolute;
top: 100%;
right: 0;
z-index: 1000;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
font-size: 0.8rem;
line-height: 1rem;
}
.single-news-page .share-popup a {
display: block;
color: var(--bs-black);
padding: 0.3rem 0;
}
.single-news-page .share-popup a:hover {
color: var(--color-primary);
}
.single-news-page .news-text {
padding-top: 2.667rem;
}
.single-post .block-news {
padding: 3.611rem 0 4.5rem;
}
.single-post .block-news .news-container {
margin-top: 2.111rem;
margin-bottom: 1.5rem;
}
.single-post .block-news .news-container .news-item {
padding-top: 1.333rem;
padding-bottom: 3.444rem;
} @media only screen and (max-width: 767px) {
.single-news-page {
padding: 3.733rem 0 3.8rem;
}
.single-news-page .news-image {
gap: 1rem;
flex-direction: column;
}
.single-news-page .news-image .info-post {
flex-direction: column-reverse;
gap: 1rem;
}
.single-news-page .news-image .info-post .btn {
clear: left;
margin-left: 10px;
}
}.block-news {
padding: 6.167rem 0 5.5rem;
}
.block-news .news-container {
display: flex;
flex-wrap: wrap;
gap: 3.722rem;
margin: 1.167rem 0 3.556rem;
}
.block-news .news-container .news-item {
position: relative;
padding-top: 1.5rem;
padding-bottom: 1.389rem;
flex: 1;
box-sizing: border-box;
}
.block-news .news-container .news-item:not(:last-child):before {
content: '';
position: absolute;
top: 0;
bottom: 0;
right: -1.889rem;
border-right: 0.028rem solid var(--bs-black);
}
.block-news .news-item .date {
font-size: 0.778rem;
line-height: 1.333rem;
letter-spacing: 0.05em;
margin-bottom: 0.389rem;
}
.block-news .news-item .title {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
min-height: 3.111rem;
}
.block-news .news-item .image {
position: relative;
margin: 1.333rem 0;
}
.block-news .news-item .image img {
height: 9.556rem;
width: 100%;
object-fit: cover;
}
.block-news .news-item .image .btn {
position: absolute;
right: 0;
bottom: 0;
min-width: inherit;
padding: 0;
width: 2.219rem;
height: 2.086rem;
line-height: 1.974rem;
border: 0.044rem solid var(--bs-black);
font-size: 1.333rem;
}
.block-news .news-item:hover .image .btn {
color: var(--bs-white);
background: var(--bs-black);
}
.block-news .news-item .excerpt p {
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.block-news .news-item .link {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-size: 0;
} .block-news.all_posts {
--gap-item: 3.5rem;
padding: 5rem 0 7.312rem;
}
.block-news.all_posts .news-container {
gap: var(--gap-item);
row-gap: 0;
margin: 0;
}
.block-news.all_posts .news-container .news-item {
padding: 3.056rem 0 2.722rem;
flex: calc((100% / 3) - (var(--gap-item) * 2 / 3));
}
.block-news.all_posts .news-container .news-item:before {
right: calc(-3.5rem / 2);
}
.block-news.all_posts .news-container .news-item:after {
content: '';
position: absolute;
top: 0;
left: calc(-3.5rem / 2);
right: calc(-3.5rem / 2);
border-top: 0.028rem solid var(--bs-black);
}
.block-news.all_posts .news-container .news-item:nth-child(-n+3) {
padding-top: 1.333rem;
}
.block-news.all_posts .news-container .news-item:nth-child(-n+3):after {
display: none;
}
.block-news.all_posts .news-container .news-item:nth-child(3n+1):after {
left: 0;
}
@media only screen and (min-width: 768px) {
.block-news.all_posts .news-container .news-item:nth-child(3n):before {
display: none;
}
}
.block-news.all_posts .news-container .news-item:nth-child(3n):after {
right: 0;
}
.block-news.all_posts .news-container .news-item:nth-last-child(-n+3) {
padding-bottom: 0.611rem;
}
.block-news.all_posts .pagination {
display: flex;
justify-content: center;
gap: 1.476rem;
margin-top: 3.778rem;
}
.block-news.all_posts .pagination .page-numbers {
font-family: var(--font-family-quaternary);
font-size: 1.333rem;
line-height: 1.667rem;
letter-spacing: 0.03em;
text-decoration: none;
color: var(--bs-black);
border: 0.056rem solid var(--bs-black);
box-sizing: border-box;
width: 1.778rem;
height: 1.799rem;
text-align: center;
}
.block-news.all_posts .pagination .page-numbers.current {
background-color: var(--color-primary);
}
.block-news.all_posts .pagination .page-numbers:hover {
background-color: var(--color-primary);
}
.block-news.all_posts .pagination .page-numbers.prev, .block-news.all_posts .pagination .page-numbers.next {
width: auto;
height: auto;
border: none;
background: none;
line-height: 1.799rem;
} @media only screen and (max-width: 767px) {
.block-news {
padding: 3rem 0 4.867rem;
}
.block-news .news-container {
gap: 6rem !important;
margin: 1.84rem 0 3.867rem;
flex-direction: column;
}
.block-news .news-container .news-item {
padding: 0 0.533rem !important;
}
.block-news .news-container .news-item:not(:last-child):before {
top: inherit;
bottom: -3rem !important;
left: 0;
right: 0;
border: none;
border-bottom: 0.028rem solid var(--bs-black);
}
.block-news .news-item .date {
font-size: 0.84rem;
line-height: 1.44rem;
margin-bottom: 0.393rem;
}
.block-news .news-item .title {
min-height: inherit;
}
.block-news .news-item .image {
margin: 1.44rem 0;
}
.block-news .news-item .image img {
height: 10.333rem;
}
.block-news .news-item .image .btn {
width: 2.396rem;
height: 2.253rem;
line-height: 2.2rem;
font-size: 1.6rem;
}
.block-news.all_posts .news-container .news-item {
flex: 1;
}
.block-news.all_posts .news-container .news-item:after {
display: none;
}
}