Files
Keith Solomon bd035501b7
Deploy to Dreamhost (dev) / build (push) Successful in 35s
Sync TODOs with Issues / sync_todos (push) Successful in 7s
🐞 fix: Round corners of hero intro
2026-07-14 22:32:01 -05:00

102 lines
2.0 KiB
CSS

.page-hero__heading {
@apply text-cwc-blue-01;
line-height: 1;
margin: 0;
text-align: left;
em {
color: var(--color-secondary);
font-style: normal;
}
}
.page-hero__intro {
font-weight: 300;
line-height: 1.3;
text-align: left;
}
/* Page Hero partial styles (page-hero-services.php)
* Scoped to .page-hero-services to avoid affecting the homepage-hero block. */
.page-hero-services {
background: linear-gradient(73.83deg, #8FC9E6 -8.7%, #006196 21.51%, #032F46 60.7%);
isolation: isolate;
margin-bottom: 10rem;
min-height: clamp(31rem, 38.5417vw, 46.25rem);
position: relative;
}
.page-hero-services__content {
padding-block: clamp(2rem, 6vw, 4rem);
position: relative;
z-index: 10;
}
.page-hero-services__heading {
color: #fff;
line-height: 1;
margin: 3rem 0 1.5rem;
max-width: 36rem;
text-align: left;
em {
color: var(--color-secondary);
font-style: normal;
}
}
.page-hero-services__intro {
color: #fff;
font-size: clamp(1rem, 1.5vw, 1.5rem);
font-weight: 300;
line-height: 1.4;
max-width: 32rem;
opacity: 0.95;
text-align: left;
}
.page-hero-services__media {
@apply rounded-xl;
bottom: -5%;
height: auto;
max-height: none;
pointer-events: none;
position: absolute;
right: 28vw;
top: 3rem;
width: auto;
z-index: 1;
/* Set width via max-width so the image's natural aspect ratio is preserved. */
max-width: clamp(20rem, 30vw, 28rem);
}
.page-hero-services__vector {
/* bottom: clamp(1.5rem, 4vw, 3rem); */
bottom: 0;
height: auto;
left: 0;
pointer-events: none;
position: absolute;
width: 100%;
z-index: 5;
}
@media (max-width: 767px) {
.page-hero-services {
min-height: clamp(28rem, 130vw, 40rem);
}
.page-hero-services__media {
bottom: -8%;
right: 0;
top: auto;
max-width: 60vw;
}
.page-hero-services__vector {
bottom: clamp(1rem, 3vw, 2rem);
width: 100%;
}
}