.ega-new-courses-section {
    scroll-margin-top: 96px;
    overflow: hidden;
    background: #f4f5f7;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.ega-new-courses-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.ega-new-courses-heading h2 { margin: 12px 0 8px; color: #101014; font-size: clamp(32px, 4vw, 46px); font-weight: 900; line-height: 1.1; }
.ega-new-courses-heading h2 span { color: #ed0613; }
.ega-new-courses-heading p { margin: 0; color: #666b73; font-size: 15px; }
.ega-new-courses-nav { display: flex; flex: 0 0 auto; gap: 10px; }

.ega-slider-button { display: inline-grid; place-items: center; width: 48px; height: 48px; color: #fff; background: #111115; border: 0; border-radius: 50%; cursor: pointer; transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.ega-slider-button:hover { background: #ed0613; transform: translateY(-2px); }
.ega-slider-button:disabled { opacity: .35; cursor: default; transform: none; }

.ega-new-courses-slider { display: flex; align-items: flex-start; gap: 20px; padding: 4px 2px 30px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: thin; scrollbar-color: #ed0613 #dfe1e5; }
.ega-new-courses-slider::-webkit-scrollbar { height: 6px; }
.ega-new-courses-slider::-webkit-scrollbar-track { background: #dfe1e5; border-radius: 99px; }
.ega-new-courses-slider::-webkit-scrollbar-thumb { background: #ed0613; border-radius: 99px; }

.ega-new-course-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 22px; overflow: hidden; background: #fff; border: 1px solid #dfe2e7; border-radius: 18px; box-shadow: 0 12px 30px rgba(17, 17, 20, .07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ega-new-course-slide { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }
.ega-new-course-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #ed0613, #8e0008); }
.ega-new-course-card:hover { transform: translateY(-6px); border-color: rgba(237, 6, 19, .32); box-shadow: 0 20px 42px rgba(17, 17, 20, .13); }
.ega-new-course-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

.ega-new-course-badge, .ega-new-course-id { display: inline-flex; align-items: center; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ega-new-course-badge { gap: 6px; padding: 7px 11px; color: #fff; background: #ed0613; }
.ega-new-course-id { padding: 7px 10px; color: #676c74; background: #f0f1f3; }
.ega-new-course-institution { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: #a5030c; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ega-new-course-institution i { display: grid; place-items: center; width: 30px; height: 30px; color: #ed0613; background: #fff0f1; border-radius: 9px; }
.ega-new-course-card h3 { margin: 0 0 10px; color: #101014; font-size: 18px; font-weight: 900; line-height: 1.35; }
.ega-new-course-category { margin: 0 0 13px; color: #737881; font-size: 11px; font-weight: 800; line-height: 1.45; text-transform: uppercase; }
.ega-new-course-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 0; padding-top: 13px; border-top: 1px solid #eceef1; color: #555b64; font-size: 12px; }
.ega-new-course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ega-new-course-meta i { color: #ed0613; }
.ega-new-course-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.ega-new-course-price small { display: block; color: #90959d; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ega-new-course-price strong { color: #101014; font-size: 17px; font-weight: 900; }
.ega-new-course-price em { color: #737881; font-size: 9px; font-style: normal; font-weight: 700; }
.ega-new-course-link { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; color: #fff; background: #111115; border-radius: 10px; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .2s ease, gap .2s ease; }
.ega-new-course-link:hover { gap: 10px; color: #fff; background: #ed0613; }

.ega-new-courses-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; padding: 20px 24px; color: #fff; background: linear-gradient(115deg, #111115 0%, #2b0d10 72%, #65020a 100%); border-radius: 16px; }
.ega-new-courses-footer p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14px; }
.ega-new-courses-footer strong { color: #fff; }

.ega-latest-page-hero { position: relative; padding: 72px 0 66px; overflow: hidden; color: #fff; background: linear-gradient(120deg, #0d0d10 0%, #210d10 62%, #66030b 100%); }
.ega-latest-page-hero::after { content: "37"; position: absolute; right: 4%; top: 50%; color: rgba(255, 255, 255, .035); font-size: 250px; font-weight: 900; line-height: 1; transform: translateY(-50%); }
.ega-latest-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 12px; }
.ega-latest-breadcrumb a { color: rgba(255,255,255,.7); }
.ega-latest-breadcrumb span, .ega-latest-breadcrumb i { color: #fff; }
.ega-latest-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.ega-latest-hero-grid h1 { margin: 14px 0 12px; color: #fff; font-size: clamp(42px, 6vw, 68px); font-weight: 900; }
.ega-latest-hero-grid h1 span { color: #ed0613; }
.ega-latest-hero-grid p { max-width: 720px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.8; }
.ega-latest-count { display: flex; align-items: center; gap: 14px; min-width: 210px; padding: 20px 24px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); border-radius: 16px; backdrop-filter: blur(6px); }
.ega-latest-count strong { color: #fff; font-size: 46px; font-weight: 900; line-height: 1; }
.ega-latest-count span { max-width: 90px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; line-height: 1.35; }
.ega-latest-listing-section { background: #f4f5f7; }
.ega-latest-listing-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.ega-latest-listing-head span { color: #ed0613; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ega-latest-listing-head h2 { margin: 5px 0 0; color: #101014; font-size: 34px; font-weight: 900; }
.ega-latest-listing-head a { color: #ed0613; font-size: 13px; font-weight: 800; }
.ega-new-courses-listing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; }

@media (max-width: 1199px) { .ega-new-course-slide { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 991px) { .ega-new-course-slide { flex-basis: calc((100% - 20px) / 2); } .ega-new-courses-listing { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ega-latest-page-hero::after { font-size: 180px; } }
@media (max-width: 767px) { .ega-new-courses-heading { align-items: center; } .ega-new-courses-heading p { max-width: 430px; } .ega-new-courses-footer { align-items: flex-start; flex-direction: column; } .ega-latest-hero-grid { grid-template-columns: 1fr; } .ega-latest-count { width: fit-content; } }
@media (max-width: 575px) { .ega-new-courses-heading { align-items: flex-start; flex-direction: column; } .ega-new-courses-nav { align-self: flex-end; margin-top: -58px; } .ega-slider-button { width: 42px; height: 42px; } .ega-new-course-slide { flex-basis: calc(100vw - 54px); } .ega-new-course-card { min-height: 0; padding: 20px; } .ega-new-courses-slider { gap: 14px; padding-bottom: 24px; } .ega-new-courses-footer .ve-btn-primary { width: 100%; justify-content: center; text-align: center; } .ega-new-courses-listing { grid-template-columns: 1fr; } .ega-latest-page-hero { padding: 54px 0 50px; } .ega-latest-listing-head { align-items: flex-start; flex-direction: column; } }
