/* MyCECentral's responsive homepage hero. */
.ce-hero {
    --ce-ink: #10264b;
    --ce-muted: #48627e;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--ce-ink);
    background: #f2f9fe;
    margin: 0 15px 80px;
    border-radius: 20px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
}
.ce-hero__photo { position: absolute; inset: 0 0 0 42%; z-index: -2; }
.ce-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.ce-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #f8fcff 0%, #f8fcff 35%, rgba(248,252,255,.95) 43%, rgba(248,252,255,.35) 54%, transparent 66%), linear-gradient(0deg, rgba(239,248,255,.85), transparent 16%);
}
.ce-hero__inner { width: min(1440px, 100%); margin: 0 auto; padding: 58px 48px 36px; display: grid; grid-template-columns: 53% 47%; }
.ce-hero__content { position: relative; z-index: 2; min-width: 0; }
.ce-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #47738c; text-transform: uppercase; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: 3px; }
.ce-hero__eyebrow > span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--color-secondary); box-shadow: 0 0 0 4px #8fcd4f1a; }
.ce-hero__eyebrow b { font-size: 14px; color: var(--color-primary); }
.ce-hero h1 { margin: 0; color: var(--ce-ink); font-size: clamp(34px, 3.7vw, 56px); line-height: 1.055; font-weight: 700; letter-spacing: -2px; }
.ce-hero h1 > span { color: var(--color-primary); }
.ce-hero__tagline { margin: 12px 0 14px; color: var(--ce-ink); font-size: clamp(25px, 2.5vw, 37px); line-height: 1.25; letter-spacing: -1.2px; }
.ce-hero__description { max-width: 550px; margin: 0 0 24px; color: var(--ce-muted); font-size: 16px; line-height: 1.6; }
.ce-offer { display: grid; grid-template-columns: 1fr 1fr; width: min(530px, 100%); padding: 20px 26px; border: 1px solid #ffffff40; border-radius: 14px; background: linear-gradient(115deg, #123d70, #176699 78%, #208fc4); box-shadow: 0 10px 24px #174a771a; color: #fff; }
.ce-offer__price { display: flex; flex-direction: column; align-items: flex-start; border-right: 1px solid #ffffff40; }
.ce-offer__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #d2efff; }
.ce-offer__price > strong { font-size: 62px; line-height: 1.1; letter-spacing: -2px; font-weight: 700; }
.ce-offer__price sup { top: -.35em; font-size: .55em; margin-right: 3px; }
.ce-offer__unit { font-size: 16px; line-height: 1.2; padding-left: 38px; color: #e1f3ff; }
.ce-offer__discount { padding-left: 26px; display: flex; flex-direction: column; justify-content: center; }
.ce-offer__coupon { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 9px 14px; border-radius: 8px; color: var(--ce-ink); background: var(--color-secondary); }
.ce-offer__coupon > i { font-size: 29px; }
.ce-offer__coupon > span { font-size: 10px; font-weight: 600; line-height: 1.1; text-transform: uppercase; letter-spacing: 1.5px; }
.ce-offer__coupon strong { display: block; font-size: 25px; line-height: 1.15; letter-spacing: .5px; }
.ce-offer__discount p { margin: 9px 0 0; color: #e1f3ff; font-size: 14px; text-align: center; line-height: 1.3; }
.ce-offer__discount p strong { color: #fff; }
.ce-hero__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.ce-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 14px; min-height: 46px; border: 1px solid transparent; border-radius: 7px; color: var(--ce-ink); font-size: 12px; font-weight: 700; line-height: 1.35; transition: transform .2s, box-shadow .2s, background .2s; }
.ce-button > i:first-child { font-size: 17px; }
.ce-button > i:last-child { font-size: 15px; }
.ce-button--green { background: var(--color-secondary); }
.ce-button--blue { background: var(--color-primary); }
.ce-button--outline { background: #ffffffd9; border-color: #32c1ff80; }
.ce-button--outline > i { color: #1680b1; }
.ce-hero a:hover { color: var(--ce-ink); transform: translateY(-2px); box-shadow: 0 8px 22px #13345914; }
.ce-hero a:focus-visible { outline: 3px solid #126a96; outline-offset: 4px; }
.ce-benefits { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 29px 0 0; max-width: 620px; }
.ce-benefits li { margin: 0; padding: 0 15px; border-left: 1px solid #32c1ff40; }
.ce-benefits li:first-child { padding-left: 0; border-left: 0; }
.ce-benefits li > i { display: block; margin-bottom: 9px; color: #1b9ed4; font-size: 24px; }
.ce-benefits strong { display: block; font-size: 11px; line-height: 1.4; font-weight: 700; }
.ce-benefits li > span { display: block; margin-top: 4px; color: var(--ce-muted); font-size: 11px; line-height: 1.5; }
.ce-hero__visual { position: relative; min-width: 0; }
.ce-course-links { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 2px 0 0 18px; }
.ce-course-link { display: flex; align-items: center; gap: 11px; width: 275px; padding: 18px 16px; border: 1px solid #fff; border-radius: 13px; background: #ffffffed; box-shadow: 0 8px 25px #27567b0b; color: var(--ce-ink); transition: transform .2s, box-shadow .2s; backdrop-filter: blur(10px); }
.ce-course-link--featured { width: 275px; padding: 21px 18px; }
.ce-course-link__icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 44px; border-radius: 8px; color: #1599d2; background: #32c1ff1a; font-size: 26px; }
.ce-course-link__text { flex: 1; }
.ce-course-link__text small { display: block; margin-bottom: 5px; font-size: 10px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #0879ac; }
.ce-course-link__text strong { display: block; font-size: 14px; line-height: 1.3; }
.ce-course-link--featured strong { font-size: 16px; }
.ce-course-link__text > span { display: block; margin-top: 5px; color: var(--ce-muted); font-size: 13px; line-height: 1.4; }
.ce-course-link__text b { padding: 0 3px; font-weight: 400; }
.ce-course-link > i { color: #149fd8; font-size: 21px; }
.ce-hero__note { position: absolute; top: -25px; right: -15px; margin: 0; color: #1c5984; font-family: Georgia, serif; font-size: 19px; font-style: italic; line-height: 1.4; text-align: center; transform: rotate(-9deg); }
.ce-hero__note span { font-size: 21px; }
.ce-hero__note svg { display: block; width: 140px; height: 12px; margin: 4px auto 0; fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; }
.ce-approval { position: absolute; bottom: -10px; right: -15px; display: flex; align-items: center; gap: 14px; max-width: 100%; padding: 18px 22px; border: 1px solid #fff; border-radius: 14px; color: var(--ce-ink); background: #fffffff2; box-shadow: 0 8px 24px #16385c10; transition: transform .2s, box-shadow .2s; }
.ce-approval__icon { display: grid; place-items: center; width: 44px; height: 46px; flex: 0 0 44px; border-radius: 50%; background: #8fcd4f24; color: #548328; font-size: 32px; }
.ce-approval strong { display: block; font-size: 14px; line-height: 1.4; }
.ce-approval small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--ce-muted); }
.ce-approval > i { color: #159fd8; font-size: 26px; }
@media (min-width: 1600px) {
    .ce-hero__inner { padding-top: 70px; padding-bottom: 48px; }
    .ce-hero__photo { left: calc(50% - 100px); }
}
@media (max-width: 1199px) and (min-width: 992px) {
    .ce-hero__inner { padding: 44px 30px 32px; grid-template-columns: 55% 45%; }
    .ce-hero h1 { font-size: 41px; letter-spacing: -1.6px; }
    .ce-hero__description { max-width: 470px; }
    .ce-hero__note { top: 2px; right: -10px; font-size: 15px; }
    .ce-hero__note span { font-size: 16px; }
    .ce-course-links { padding-left: 12px; padding-top: 65px; }
    .ce-course-link, .ce-course-link--featured { width: 213px; gap: 8px; padding: 13px 10px; }
    .ce-course-link--featured strong { font-size: 12px; }
    .ce-course-link__icon { flex-basis: 30px; width: 30px; font-size: 22px; }
    .ce-button { padding: 12px 10px; font-size: 11px; gap: 6px; }
}
@media (max-width: 991px) {
    .ce-hero { margin-bottom: 55px; }
    .ce-hero__inner { grid-template-columns: 1fr; padding: 42px 32px 24px; }
    .ce-hero__content { max-width: 690px; }
    .ce-hero h1 { font-size: clamp(36px, 6.3vw, 57px); }
    .ce-hero__tagline { font-size: 32px; }
    .ce-hero__description { max-width: 610px; }
    .ce-hero::before { background: linear-gradient(180deg, #f8fcff 0%, #f8fcff 51%, rgba(248,252,255,.55) 64%, transparent 75%); }
    .ce-hero__photo { inset: auto 0 0; height: 490px; }
    .ce-hero__photo img { object-position: center 60%; }
    .ce-hero__visual { min-height: 430px; margin-top: 25px; }
    .ce-course-links { padding: 30px 0 0; gap: 12px; }
    .ce-hero__note { top: 0; right: 0; font-size: 18px; }
    .ce-hero__note span { font-size: 20px; }
    .ce-approval { right: 0; bottom: 0; }
}
@media (max-width: 575px) {
    .ce-hero__inner { padding: 32px 20px 20px; }
    .ce-hero__eyebrow { font-size: 9px; letter-spacing: 2px; gap: 10px; margin-bottom: 17px; }
    .ce-hero h1 { font-size: clamp(29px, 7.3vw, 42px); line-height: 1.12; letter-spacing: -1.2px; }
    .ce-hero__tagline { font-size: clamp(21px, 5.5vw, 28px); margin: 12px 0; letter-spacing: -.8px; }
    .ce-hero__description { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
    .ce-offer { padding: 17px 16px; border-radius: 12px; grid-template-columns: .95fr 1.05fr; }
    .ce-offer__label { font-size: 9px; letter-spacing: 1.3px; }
    .ce-offer__price > strong { font-size: 50px; }
    .ce-offer__unit { font-size: 13px; padding-left: 27px; }
    .ce-offer__discount { padding-left: 15px; }
    .ce-offer__coupon { padding: 8px; gap: 7px; }
    .ce-offer__coupon > i { font-size: 22px; }
    .ce-offer__coupon strong { font-size: 22px; }
    .ce-offer__coupon > span { font-size: 9px; }
    .ce-offer__discount p { font-size: 11px; }
    .ce-hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
    .ce-button { padding: 12px 8px; font-size: 11px; gap: 6px; min-height: 47px; }
    .ce-button--outline { grid-column: 1 / -1; }
    .ce-benefits { grid-template-columns: 1fr 1fr; gap: 22px 0; margin-top: 25px; }
    .ce-benefits li { padding: 0 14px; }
    .ce-benefits li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .ce-benefits li > i { margin-bottom: 7px; font-size: 22px; }
    .ce-benefits strong { font-size: 12px; }
    .ce-benefits li > span { font-size: 11px; }
    .ce-hero__photo { height: 375px; bottom: 0; }
    .ce-hero__photo img { object-position: 64% center; }
    .ce-hero::before { background: linear-gradient(180deg, #f8fcff 0%, #f8fcff 58%, rgba(248,252,255,.4) 73%, transparent 82%); }
    .ce-hero__visual { margin-top: 28px; min-height: 510px; display: flex; flex-direction: column; justify-content: space-between; }
    .ce-course-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0; }
    .ce-course-link, .ce-course-link--featured { width: 100%; padding: 12px 10px; gap: 7px; border-color: #d7edf7; border-radius: 10px; }
    .ce-course-link--featured { grid-column: 1 / -1; }
    .ce-course-link__icon { width: 29px; height: 34px; flex-basis: 29px; font-size: 21px; }
    .ce-course-link__text strong { font-size: 10px; }
    .ce-course-link--featured strong { font-size: 13px; }
    .ce-course-link--featured strong br { display: none; }
    .ce-course-link__text > span { font-size: 9px; }
    .ce-course-link--featured .ce-course-link__text > span { font-size: 10px; }
    .ce-course-link > i { font-size: 15px; }
    .ce-hero__note { display: none; }
    .ce-approval { position: relative; align-self: flex-end; padding: 11px 12px; gap: 9px; }
    .ce-approval strong { font-size: 10px; }
    .ce-approval small { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .ce-hero a { transition: none; }
    .ce-hero a:hover { transform: none; }
}
