main.main-single-news-page {
position: relative;
max-width: 100%;
display: flex;
justify-content: space-between;
width: 100%;
z-index: 2;
padding: 24vh 2.8vw 12vh;
margin-top: 0;
margin-inline: auto;
gap: 0 30px;
}
@media screen and (max-width: 768px) {
main.main-single-news-page {
padding: 140px 20px 14vh !important;
display: block;
gap: 0;
}
}
.single-news-page {
padding-left: 24.3vw;
padding-right: 24.3vw;
position: relative;
width: 100%;
will-change: opacity, filter, transform;
}
@media screen and (max-width: 768px) {
.single-news {
padding-left: 0;
padding-right: 0;
}
.single-news-page {
padding: 0;
}
}
.single-news__mobile-title {
border-bottom: 1px solid #000;
display: none;
font-family: 'Shippori Mincho B1', serif;
font-size: max(2vw, 20px);
font-weight: 700;
line-height: 1;
margin: 0 0 55px;
padding-bottom: 10px;
}
@media screen and (max-width: 768px) {
.single-news__mobile-title {
display: block;
}
}
.single-news__headings {
display: block;
transform: translateY(-0.2vw);
}
.single-news__headings__date {
font-family: 'neue-haas-grotesk-display', sans-serif;
font-size: max(1vw, 12px);
font-weight: 400;
line-height: 1;
}
.single-news__headings__title {
font-size: max(1.7vw, 26px);
font-weight: 200;
line-height: 1.6;
margin-top: 35px;
}
.single-news__thumbnail-wrap {
margin-top: 25px;
max-height: 500px;
overflow: hidden;
}
.single-news__thumbnail {
display: block;
width: 100%;
height: auto;
object-fit: cover;
}
.single-news__thumbnail img {
position: absolute;
height: 100%;
inset: 0;
object-fit: cover;
}
.single-news__content {
font-size: max(1vw, 12px);
line-height: 2;
margin-top: 60px;
}
.single-news__content p {
letter-spacing: 0.03em;
margin-bottom: 1rem;
}
.single-news__links {
display: flex;
font-family: 'neue-haas-grotesk-display', sans-serif;
font-weight: 700;
gap: 0 2.8vw;
justify-content: space-between;
margin: 170px auto 160px;
}
@media screen and (max-width: 768px) {
.single-news__links {
margin-bottom: 100px;
margin-top: 100px;
}
}
.single-news__links__all,
.single-news__links__next,
.single-news__links__prev {
align-items: flex-end;
display: flex;
font-size: max(1vw, 12px);
gap: 0 12px;
line-height: 1;
position: relative;
color: #000;
text-decoration: none;
}
.single-news__links__all:hover,
.single-news__links__next:hover,
.single-news__links__prev:hover {
text-decoration: none;
}
.single-news__links__all:hover svg,
.single-news__links__next:hover svg,
.single-news__links__prev:hover svg {
transform: translateX(calc(100% + 0.5vw));
}
.single-news__links__arrow {
height: 10px;
overflow: hidden;
position: relative;
width: 3.2vw;
}
.single-news__links__all svg,
.single-news__links__next svg,
.single-news__links__prev svg {
height: 100%;
position: absolute;
top: 0;
transition: all 0.3s ease-in-out;
width: 100%;
}
.single-news__links__all svg:first-child,
.single-news__links__next svg:first-child,
.single-news__links__prev svg:first-child {
left: 0;
}
.single-news__links__all svg:nth-child(2),
.single-news__links__next svg:nth-child(2),
.single-news__links__prev svg:nth-child(2) {
left: calc(-100% - 0.5vw);
}
.single-news__links__all-wrap {
display: flex;
justify-content: center;
width: 21.5vw;
}
.single-news__links__all {
justify-content: center;
}
.single-news__links__all:after {
background-color: #000;
content: "";
display: block;
height: 3px;
position: absolute;
top: calc(100% + 5px);
width: 100%;
}
.single-news__links__prev {
justify-content: flex-start;
}
.single-news__links__prev:hover {
text-decoration: none;
}
.single-news__links__prev:hover svg {
transform: translateX(calc(-100% - 0.5vw));
}
.single-news__links__prev svg:first-child {
left: 0;
}
.single-news__links__prev svg:nth-child(2) {
left: calc(100% + 0.5vw);
}
.single-news__links__next {
justify-content: flex-end;
}
.single-news__links .hidden {
opacity: 0;
pointer-events: none;
}
.single-news__circle {
animation-duration: 20s;
animation-iteration-count: infinite;
animation-name: single-news-rotate;
animation-timing-function: linear;
opacity: 0.05;
position: absolute;
right: -190px;
top: -13px;
z-index: -1;
}
@media screen and (max-width: 768px) {
.single-news__circle {
top: -20px;
}
}
@keyframes single-news-rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(-360deg);
}
}
.single-news__border {
background-color: #b4b4b4;
height: 1px;
margin-top: 13vw;
width: 100%;
}
@media screen and (max-width: 768px) {
.single-news__border {
margin-top: 110px;
}
}