.block-hero {
position: relative;
text-align: center;
}
.block-hero .hero-image {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.block-hero .hero-image.logo-bg {
right: calc(50% + 8.333rem);
top: 2.944rem;
}
.block-hero .hero-image.logo-bg img {
width: auto;
height: auto;
float: right;
}
.block-hero.subpage .hero-image:after {
background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 14.18%, rgba(0, 0, 0, 0) 103.09%);
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.block-hero .hero-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.block-hero:not(.subpage) img {
object-position: center top;
}
.block-hero .hero-wrapper {
position: relative;
}
.block-hero:not(.subpage) .hero-wrapper {
padding: 9.278rem 0 5rem;
}
.block-hero.subpage .hero-wrapper {
padding: 14.444rem 0 2.944rem;
}
.block-hero .logo {
margin-bottom: 4.608rem;
}
.block-hero h1, .block-hero h2, .block-hero h3, .block-hero h4, .block-hero h5, .block-hero h6,
.block-hero .h1, .block-hero .h2, .block-hero .h3, .block-hero .h4, .block-hero .h5, .block-hero .h6 {
margin: 0;
}
.block-hero h1 > span {
display: block;
}
.block-hero.subpage .title {
font-weight: var(--font-weight-extra-bold);
}
.block-hero .subtitle {
margin-top: 0.278rem;
font-weight: var(--font-weight-medium);
}
@media only screen and (min-width: 992px) {
.block-hero .subtitle {
font-size: 2.722rem;
}
}
.block-hero .slogan {
position: relative;
margin-top: 1.167rem;
width: 33.778rem;
text-align: center;
}
.block-hero.subpage .slogan {
margin-top: 0.444rem;
}
.block-hero .slogan:before {
content: "";
background: var(--color-primary);
width: 100%;
height: 0.056rem;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.block-hero .slogan .btn {
cursor: text;
position: relative;
line-height: 1.889rem;
border: none;
padding: 0 1.111rem;
user-select: auto;
}
.block-hero .slogan .btn:hover {
color: var(--bs-btn-color);
background: var(--bs-btn-bg);
} @media only screen and (max-width: 767px) {
.block-hero .container {
padding: 0;
}
.block-hero .hero-image.logo-bg {
display: none;
}
.block-hero:not(.subpage) img {
object-position: 75% top;
}
.block-hero:not(.subpage) .hero-wrapper {
padding: 8.933rem 0 2.075rem;
}
.block-hero .logo {
margin-bottom: 1.408rem;
}
.block-hero .logo img {
height: 12.059rem;
}
.block-hero h1 {
font-size: var(--font-size-h2-mobile);
line-height: var(--line-height-h2-mobile);
}
.block-hero .subtitle {
font-size: 1.617rem;
line-height: 1.98rem;
}
.block-hero .slogan {
margin-top: 0.835rem;
width: 22.216rem;
}
.block-hero .slogan .btn {
line-height: 1.756rem;
padding: 0 0.977rem;
font-size: 1.085rem;
} .block-hero.subpage .hero-wrapper {
padding: 20.133rem 0 2.379rem;
}
.block-hero.subpage .title {
font-size: 2.533rem;
line-height: 2.667rem;
}
.block-hero.subpage .slogan {
margin-top: 0.731rem;
}
}.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;
}
}