Newer
Older
overflow: hidden;
position: relative;
@include breakpoint($extrawide) {
margin-left: 8px;
margin-right: 8px;
}
@include breakpoint($xlarge) {
margin-left: 0;
margin-right: 0;
.hy-hero__content-container,
.hy-hero__spacer-box {
background-color: var(--brand-main-light);
}
.hy-hero__title {
&:not(.hy-hero__title--overlay) {
span {
color: var(--grayscale-white);
}
h1 {
color: var(--grayscale-white);
}
&--overlay {
span {
background-color: var(--brand-main-light);
box-shadow: 24px 0 0 var(--brand-main-light), -24px 0 0 var(--brand-main-light);
color: var(--brand-main-light);
display: inline;
position: relative;
@include breakpoint($narrow) {
box-shadow: 48px 0 0 var(--brand-main-light), -48px 0 0 var(--brand-main-light);
}
@include breakpoint($wide) {
box-shadow: 32px 0 0 var(--brand-main-light), 0 0 0 var(--brand-main-light);
}
@include breakpoint($extrawide) {
box-shadow: 40px 0 0 var(--brand-main-light), 0 0 0 var(--brand-main-light);
}
.hy-hero__content-container,
.hy-hero__spacer-box {
.hy-hero__title {
&:not(.hy-hero__title--overlay) {
span {
color: var(--grayscale-white);
}
}
h1 {
color: var(--grayscale-white);
}
&--overlay {
span {
background-color: var(--grayscale-black);
box-shadow: 24px 0 0 var(--grayscale-black), -24px 0 0 var(--grayscale-black);
color: var(--grayscale-black);
display: inline;
position: relative;
@include breakpoint($narrow) {
box-shadow: 48px 0 0 var(--grayscale-black), -48px 0 0 var(--grayscale-black);
}
@include breakpoint($wide) {
box-shadow: 32px 0 0 var(--grayscale-black), 0 0 0 var(--grayscale-black);
}
@include breakpoint($extrawide) {
box-shadow: 40px 0 0 var(--grayscale-black), 0 0 0 var(--grayscale-black);
}
background-color: var(--grayscale-black);
color: var(--grayscale-white);
}
}
&--white {
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
border-bottom: 1px solid rgba(16, 126, 171, 0.1);
box-shadow: inset 0 -2rem 2rem -2rem rgba(14, 104, 139, 0.1);
padding-bottom: 2rem;
@include breakpoint($narrow) {
box-shadow: inset 0 -40px 40px -40px rgba(14, 104, 139, 0.1);
padding-bottom: 40px;
}
@include breakpoint($wide) {
background-color: var(--grayscale-white);
border-bottom: 1px solid rgba(16, 126, 171, 0.1);
border-top: 1px solid rgba(16, 126, 171, 0.1);
box-shadow: inset 0 -6px 6px -6px rgba(14, 104, 139, 0.1);
padding: 6px 0;
}
@include breakpoint($extrawide) {
box-shadow: inset 0 -6px 6px -6px rgba(14, 104, 139, 0.1), inset 0 6px 6px -6px rgba(14, 104, 139, 0.1);
margin: 0;
}
@include breakpoint($xlarge) {
box-shadow: inset 0 -12px 12px -12px rgba(14, 104, 139, 0.1), inset 0 12px 12px -12px rgba(14, 104, 139, 0.1);
margin-left: -32px;
margin-right: -32px;
padding: 12px 0;
}
.hy-hero__content-container {
@include breakpoint(max-width $wide) {
padding-bottom: 0;
}
@include breakpoint($extrawide) {
padding-left: 32px; // Original 24px + 8px
padding-right: 8px;
}
@include breakpoint($xlarge) {
padding-left: 0;
}
}
.hy-hero__image-container {
@include breakpoint($wide) {
padding: 0;
}
@include breakpoint($extrawide) {
padding-right: 8px;
}
}
.hy-hero__content-container,
.hy-hero__spacer-box {
background-color: var(--grayscale-white);
}
.hy-hero__title {
&:not(.hy-hero__title--overlay) {
span {
color: var(--grayscale-black);
}
}
h1 {
color: var(--grayscale-black);
}
&--overlay {
span {
background-color: var(--grayscale-white);
box-shadow: 24px 0 0 var(--grayscale-white), -24px 0 0 var(--grayscale-white);
color: var(--grayscale-white);
display: inline;
position: relative;
@include breakpoint($narrow) {
box-shadow: 48px 0 0 var(--grayscale-white), -48px 0 0 var(--grayscale-white);
}
@include breakpoint($wide) {
box-shadow: 32px 0 0 var(--grayscale-white), 0 0 0 var(--grayscale-white);
}
@include breakpoint($extrawide) {
box-shadow: 40px 0 0 var(--grayscale-white), 0 0 0 var(--grayscale-white);
}
background-color: var(--grayscale-white);
color: var(--grayscale-black);
}
.hy-hero__container {
@include breakpoint($wide) {
display: flex;
position: relative;
.hy-hero__image-container {
background-position: 50% 50%;
background-size: cover;
background: transparent;
margin: 0;
padding: 0;
position: relative;
@include breakpoint($wide) {
background-color: var(--grayscale-white);
position: absolute;
right: 0;
top: 0;
.hy-image__image {
display: block;
height: 100%;
min-height: 205px;
object-fit: cover;
width: 100%;
}
@include breakpoint($narrow) {
padding: 0 2rem 40px;
background-color: transparent !important;
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 auto;
padding: 52px 2rem;
padding: 80px 24px;
}
@include breakpoint($xlarge) {
max-width: 1216px;
.hy-hero__spacer-box {
display: none;
bottom: 0;
display: block;
left: 0;
order: 1;
position: absolute;
top: 0;
width: 40%;
.hy-hero__title-container {
position: relative;
.hy-hero__title {
&:not(.hy-hero__title--overlay) {
position: relative;
z-index: 10;
span {
color: var(--grayscale-black);
color: var(--grayscale-black);
display: inline-block !important;
font-family: var(--main-font-family);
font-weight: bold;
hyphens: auto;
letter-spacing: -0.75px;
max-width: 100%;
position: relative;
text-transform: uppercase;
word-wrap: break-word;
max-width: 48.75% !important;
@include breakpoint($wide) {
padding-bottom: 28px;
padding-top: 24px;
}
@include breakpoint($extrawide) {
left: 0;
position: absolute;
top: 0;
span {
display: inline;
position: relative;
}
.hy-hero__description {
// Ingress Small
@include font-size(16px, 24px);
color: var(--grayscale-black);
font-family: var(--main-font-family);
font-weight: 600;
letter-spacing: -0.1px;
// Ingress Medium
@include font-size(18px, 28px);
letter-spacing: -0.1px;
@include font-size(18px, 28px);
letter-spacing: -0.1px;