112 lines
1.9 KiB
CSS
112 lines
1.9 KiB
CSS
|
|
.hero__inner {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner {
|
||
|
|
grid-column: span 3;
|
||
|
|
min-height: 40rem;
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
align-items: flex-end;
|
||
|
|
justify-content: space-between;
|
||
|
|
padding: 0 3.6rem 3rem 11.7rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__bg {
|
||
|
|
position: absolute;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
left: 0;
|
||
|
|
top: 0;
|
||
|
|
z-index: -1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__bg::before {
|
||
|
|
content: '';
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
position: absolute;
|
||
|
|
left: 0;
|
||
|
|
top: 0;
|
||
|
|
background: linear-gradient(19.49deg, #000000 2.74%, rgba(0, 0, 0, 0) 52.71%);
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__bg img {
|
||
|
|
position: absolute;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
object-fit: cover;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__main {
|
||
|
|
font-size: 2.6rem;
|
||
|
|
font-weight: 700;
|
||
|
|
line-height: 3.2rem;
|
||
|
|
text-transform: uppercase;
|
||
|
|
transform: rotate(-90deg);
|
||
|
|
color: var(--primary);
|
||
|
|
position: absolute;
|
||
|
|
left: -1.5rem;
|
||
|
|
bottom: 7.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__content {
|
||
|
|
max-width: 57rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__title {
|
||
|
|
color: var(--white);
|
||
|
|
max-width: 34rem;
|
||
|
|
margin-bottom: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__text {
|
||
|
|
color: var(--white);
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 767px) {
|
||
|
|
.most-read.hero__most-read {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero__container {
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero__inner {
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner {
|
||
|
|
width: 100%;
|
||
|
|
padding: 0 2rem 4rem 6.5rem;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
justify-content: flex-end;
|
||
|
|
gap: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner::before {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
left: 0;
|
||
|
|
top: 0;
|
||
|
|
background: linear-gradient(19.49deg, #000000 2.74%, rgba(0, 0, 0, 0) 52.71%),
|
||
|
|
linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__main {
|
||
|
|
left: -3.3rem;
|
||
|
|
bottom: 12.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-banner__content,
|
||
|
|
.hero-banner__tag {
|
||
|
|
position: relative;
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
}
|