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 {
.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;
}
// No sidebar, large desktop screens
// &__large {
// @include breakpoint($extrawide) {
// padding: 0 40px 32px 0;
// }
// @include breakpoint($xlarge) {
// padding: 0 40px 36px 0;
// }
// }
.hy-hero__actions {
margin-top: 20px;
@include breakpoint($narrow) {
margin-top: 24px;
}
@include breakpoint($wide) {
margin-top: 0;
}
}
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
// .hy-hero {
// position: relative;
// @include breakpoint($wide) {
// margin-left: 0;
// margin-right: 0;
// }
// @include breakpoint($xlarge) {
// margin-left: -32px;
// padding-left: 32px;
// }
// // No sidebar, >1200px styles
// &__large {
// @include breakpoint($xlarge) {
// margin-left: 0;
// padding-left: 0;
// }
// }
// &__desktop-container {
// @include breakpoint($wide) {
// display: flex;
// }
// }
// &__image-container {
// background: transparent;
// background-position: 50% 50%;
// background-size: cover;
// position: relative;
// @include breakpoint($wide) {
// background: white;
// order: 2;
// padding: 6px 0;
// width: 60%;
// z-index: 1;
// }
// img.hy-image__image {
// height: 100%;
// min-height: 205px;
// object-fit: cover;
// width: 100%;
// }
// }
// &__content {
// display: none;
// margin-right: 24px;
// margin-top: -24px;
// min-height: 24px;
// max-width: 100%;
// position: relative;
// @include breakpoint($narrow) {
// margin-right: 48px;
// margin-top: -40px;
// min-height: 40px;
// max-width: 87%; //7col (out of 8) - 32px (1 margin)
// }
// @include breakpoint($wide) {
// display: none;
// }
// }
// &__content--bottom {
// @include breakpoint($extrawide) {
// margin-right: 32px;
// }
// }
// &__content--container {
// position: relative;
// @include breakpoint($wide) {
// margin-left: 32px;
// margin-right: -32px;
// padding-bottom: 44px;
// padding-top: 20px;
// }
// @include breakpoint($extrawide) {
// padding-bottom: 44px;
// padding-top: 20px;
// margin-left: 0;
// margin-right: 0;
// }
// @include breakpoint($xlarge) {
// padding-bottom: 78px;
// padding-top: 48px;
// }
// // No sidebar, large screens
// &__large {
// @include breakpoint($extrawide) {
// padding-bottom: 78px;
// padding-top: 48px;
// }
// @include breakpoint($xlarge) {
// padding-bottom: 92px;
// padding-top: 56px;
// }
// }
// }
// &__content-wrap-helper {
// padding: 1rem;
// padding-bottom: 32px;
// @include breakpoint($narrow) {
// padding: 0 32px 40px;
// }
// @include breakpoint($wide) {
// align-self: center;
// display: flex;
// flex-direction: column;
// height: 100%;
// justify-content: center;
// left: 0;
// margin: 0;
// order: 1;
// padding: 0;
// position: relative;
// top: 0;
// width: 40%;
// z-index: 2;
// }
// }
// &--blue {
// background-color: var(--brand-main-light);
// .hy-hero__title__overlay h1 {
// background-color: var(--brand-main-light);
// color: transparent !important;
// }
// .hy-hero__content,
// .hy-hero__description,
// .hy-hero__cta-link__container {
// background-color: var(--brand-main-light);
// color: var(--grayscale-white);
// }
// }
// &--black {
// background-color: var(--grayscale-black);
// .hy-hero__title__overlay h1 {
// background-color: var(--grayscale-black);
// color: transparent !important;
// }
// .hy-hero__content,
// .hy-hero__description,
// .hy-hero__cta-link__container {
// background-color: var(--grayscale-black);
// color: var(--grayscale-white);
// }
// }
// &--white {
// background-color: var(--grayscale-white);
// .hy-hero__title__overlay h1 {
// background-color: var(--grayscale-white);
// color: transparent !important;
// }
// .hy-hero__content,
// .hy-hero__description,
// .hy-hero__cta-link__container {
// background-color: var(--grayscale-white);
// color: var(--grayscale-black);
// }
// }
// &__title__container {
// position: relative;
// @include breakpoint($wide) {
// width: 110%;
// }
// }
// &__description {
// // Ingress Small
// @include font-size(16px, 24px);
// color: var(--grayscale-white);
// font-family: var(--main-font-family);
// font-weight: 600;
// letter-spacing: -0.1px;
// margin: 12px 0 20px 0;
// padding: 0;
// @include breakpoint($narrow) {
// margin: 16px 0 24px 0;
// max-width: 87%;
// // Ingress Medium
// @include font-size(18px, 28px);
// letter-spacing: -0.1px;
// }
// @include breakpoint($wide) {
// @include font-size(18px, 28px);
// letter-spacing: -0.1px;
// max-width: 100%;
// margin: 9px 0 0;
// padding: 0 24px 20px 0;
// }
// @include breakpoint($extrawide) {
// margin: 9px 0 0;
// padding: 0 24px 20px 0;
// }
// @include breakpoint($xlarge) {
// padding: 0 40px 32px 0;
// }
// // No sidebar, large desktop screens
// &__large {
// @include breakpoint($extrawide) {
// padding: 0 40px 32px 0;
// }
// @include breakpoint($xlarge) {
// padding: 0 40px 36px 0;
// }
// }
// }
// &__cta-link__container {
// max-width: 100%;
// @include breakpoint($wide) {
// max-width: 87%;
// }
// }
// }
// .hy-hero__title {
// z-index: 2;
// }
// .hy-hero__title__overlay--container {
// left: 0;
// opacity: 1;
// position: absolute;
// top: 0;
// .hy-hero__title__overlay {
// .hy-heading__container.hy-heading__container__common,
// .hy-heading__container.sc-hy-heading-wide {
// display: block;
// }
// h1 {
// display: inline;
// }
// }
// .hy-hero__title__overlay h1 {
// box-decoration-break: clone;
// display: inline;
// // margin-left: -32px;
// // padding: 16px 16px 16px 32px !important;
// @include breakpoint($narrow) {
// margin-left: -32px;
// padding: 16px 16px 16px 32px !important;
// }
// @include breakpoint($wide) {
// margin-left: 0;
// padding: 16px 16px 16px 0 !important;
// }
// }
// }
// .hy-hero__title,
// .hy-hero__title__overlay h1 {
// @include font-weight($bold);
// box-decoration-break: clone;
// display: inline;
// color: var(--grayscale-white);
// font-family: var(--main-font-family);
// font-weight: bold;
// letter-spacing: -0.75px;
// word-wrap: break-word;
// hyphens: auto;
// margin-bottom: 12px;
// max-width: 100%;
// position: relative;
// text-transform: uppercase;
// @include breakpoint($narrow) {
// // margin-bottom: 16px;
// }
// @include breakpoint($wide) {
// margin: 0;
// max-width: 100%;
// }
// }
// .hy-hero__title h1,
// .hy-hero__title__overlay > h1 {
// padding: 1rem;
// @include breakpoint($narrow) {
// // margin-bottom: 16px;
// }
// @include breakpoint($wide) {
// margin: 0;
// max-width: 100%;
// padding: 16px 32px 16px 0;
// }
// @include breakpoint($extrawide) {
// padding: 16px 32px 16px 0;
// }
// @include breakpoint($xlarge) {
// padding: 16px 40px 16px 0;
// }
// }