Newer
Older
$margin-mobile: 16px;
$margin-narrow: 32px;

Ekaterina Kondareva
committed
.hy-adjacent-image-text {
background: var(--grayscale-background-box);
background: transparent;
}
background: var(--grayscale-background-box);
.hy-adjacent-image-text__image-container {
display: flex;
flex: 1;
justify-content: stretch;
margin-bottom: 0;
min-height: 10rem;
position: relative;
padding-bottom: $margin-narrow;
@include breakpoint($narrow) {
padding-bottom: 0;
}
@include breakpoint($wide) {
flex-basis: 50%;
margin: 0 calc(#{var(--gutter-wide)} * -1) 0 0;
z-index: 1;
}
@include breakpoint($extrawide) {
margin: 0 calc(#{var(--gutter-extrawide)} * -1) 0 0;
}
img {
height: 100%;
object-fit: cover;
width: 100%;
@include breakpoint($wide) {
.hy-adjacent-image-text__text-container {
background: var(--grayscale-background-box);
border-image: none;
display: flex;
flex: 1;
flex-direction: column;
-webkit-border-image: none;
-moz-border-image: none;
-o-border-image: none;
@include breakpoint($narrow) {
border-left: 1px solid transparent;
border-image: linear-gradient(to bottom, var(--grayscale-medium-dark), rgba(0, 0, 0, 0)) 1 0 0 100%;
margin-left: 66px;
margin-top: -63px;
padding-top: 38px;
position: relative;
z-index: 98;
-webkit-border-image: -webkit-linear-gradient(to bottom, var(--grayscale-medium-dark), rgba(0, 0, 0, 0)) 1 0 0 100%;
-moz-border-image: linear-gradient(to bottom, var(--grayscale-medium-dark), rgba(0, 0, 0, 0)) 1 0 0 100%;
-o-border-image: linear-gradient(to bottom, var(--grayscale-medium-dark), rgba(0, 0, 0, 0)) 1 0 0 100%;
border-left: none;
flex-basis: 50%;
margin-left: 0;
margin-top: 0;
padding-top: 0;
z-index: 0;
-webkit-border-image: none;
-moz-border-image: none;
-o-border-image: none;
.hy-adjacent-image-text__text-container__links-wrapper {
padding-left: 1rem;
@include breakpoint($narrow) {
padding-left: 50px;
}
@include breakpoint($wide) {
margin: 0 0 0 14%;
padding: 0;
}
}
.hy-adjacent-image-text__text-container__info-wrapper {
padding-left: 0;
padding-right: 0;
@include breakpoint($narrow) {
padding-left: 50px;
}
@include breakpoint($wide) {
margin: 0 7% 0 14%;
padding: 0;
}
}
.hy-adjacent-image-text__text-container__title {
@include font-size(22px, 28px);
@include font-weight($bold);
color: var(--brand-main-nearly-black);
font-family: var(--main-font-family);
letter-spacing: -0.69px;
margin-top: 32px;
padding: 0 1rem;
@include breakpoint($narrow) {
@include font-size(32px, 40px);
letter-spacing: -1px;
margin-top: 41px;
padding: 0;
}
}
Ekaterina Kondareva
committed
.hy-adjacent-image-text__text-container__description {
@include font-size(15px, 22px);
@include font-weight($regular);
color: var(--grayscale-dark);
font-family: var(--main-font-family);
margin: 20px 0 32px 0;
padding: 0 1rem;
@include breakpoint($narrow) {
@include font-size(16px, 24px);
margin: 20px 0 61px 0;
padding: 0;
}
@include breakpoint($xlarge) {
@include font-size(17px, 26px);
margin-bottom: 40px;
}
&__large {
@include breakpoint($extrawide) {
@include font-size(17px, 26px);
Ekaterina Kondareva
committed
}
.hy-adjacent-image-text__text-container__link {
display: flex;
justify-content: flex-end;
margin-bottom: 12px;
margin-right: -6px;
}

Ekaterina Kondareva
committed
.hy-adjacent-image-text::after {
Ekaterina Kondareva
committed
clear: both;