.course2-hero { position: relative; width: 375px; height: 790px; overflow: hidden; background: var(--cream-50); color: var(--graphite); } .course2-hero__bg { position: absolute; z-index: 1; top: 0; right: 0; width: 375px; height: 100%; background-image: url('/images/course2/hero_photo_375.png'); background-repeat: no-repeat; background-position: right 35px; background-size: auto; pointer-events: none; } .course2-hero__content { position: relative; z-index: 2; width: 100%; padding: 0; } .course2-hero__title { margin: 0; padding-top: 27px; padding-left: 24px; font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -0.5px; color: var(--graphite); } .course2-hero__subtitle { width: 225px; margin-top: 29px; margin-left: 24px; font-size: 15px; line-height: 1.2; font-weight: 400; color: var(--graphite); } .course2-hero__subtitle span { color: var(--orange-100); } .course2-hero__accent { width: 46px; height: 2px; margin-top: 30px; margin-left: 24px; background: var(--orange-100); } .course2-route { position: relative; width: 175px; height: 270px; margin-top: 30px; margin-left: 22px; background-image: url('/images/course2/01screen_route_mob.png'); background-repeat: no-repeat; background-position: left top; background-size: auto 100%; } .course2-route__items { position: relative; width: 155px; height: 100%; margin: 0; padding: 0; font-size: 11px; line-height: 1.1; font-weight: 500; color: var(--graphite); } .course2-route__items > div { position: absolute; left: 27px; width: 145px; transform: translateY(-50%); } .course2-route__items > div:nth-child(1) { top: 3%; } .course2-route__items > div:nth-child(2) { top: 18%; } .course2-route__items > div:nth-child(3) { top: 31%; } .course2-route__items > div:nth-child(4) { top: 47%; } .course2-route__items > div:nth-child(5) { top: 65%; } .course2-route__items > div:nth-child(6) { top: 81%; } .course2-route__items > div:nth-child(7) { top: 96%; } .course2-hero__facts { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: stretch; width: 310px; height: 122px; padding: 18px 10px; border-radius: 12px; } .course2-fact, .course2-fact:nth-child(1), .course2-fact:nth-child(2), .course2-fact:nth-child(3) { position: relative; display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: flex-start; width: auto; height: auto; padding: 0 7px; text-align: center; font-size: 11px; line-height: 1.25; font-weight: 500; color: var(--graphite); } .course2-fact + .course2-fact { padding-left: 7px; } .course2-fact + .course2-fact::before { content: ''; position: absolute; left: 0; top: 3px; width: 1px; height: 85px; background: var(--sand-500); } .course2-fact img { display: block; width: 34px; height: 34px; margin: 0 0 11px 0; object-fit: contain; }