.rn-programs { color: #24354b; }
.rn-program-hero { background: linear-gradient(120deg, #eef6ff, #fafcff); padding: 30px 0 48px; }
.rn-breadcrumb { font-size: 14px; margin-bottom: 35px; }
.rn-breadcrumb a { color: #185bb2; }
.rn-kicker { display: block; color: #185bb2; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.rn-programs h1 { font-size: 44px; margin-bottom: 20px; }
.rn-programs p { color: #59687b; line-height: 1.8; }
.rn-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rn-facts span, .rn-age { display: inline-block; border-radius: 8px; background: #eaf2fe; color: #174e91; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.rn-hero-image { width: 100%; height: 250px; object-fit: contain; }
.rn-catalog { padding-top: 35px; padding-bottom: 70px; }
.rn-program-nav, .rn-subject-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.rn-program-nav a, .rn-subject-nav a { padding: 11px 18px; border: 1px solid #d9e3ef; border-radius: 9px; color: #234d81; background: #fff; }
.rn-program-nav a[aria-current], .rn-program-nav a:hover { background: #185bb2; border-color: #185bb2; color: #fff; }
.rn-subject-nav a { font-size: 13px; padding: 7px 12px; }
.rn-programs a:focus-visible { outline: 3px solid #e98320; outline-offset: 4px; }
.rn-lead { margin-bottom: 22px; }
.rn-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.rn-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.rn-course { display: flex; flex-direction: column; border: 1px solid #e1e8f1; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(25,58,98,.05); scroll-margin-top: 130px; }
.rn-course { --rn-tint: #d9efff; --rn-glow: #88c8f4; --rn-circuit: #297fb5; --rn-ribbon-start: #123cff; --rn-ribbon-end: #05cce8; --rn-ribbon-fold: #071e9d; }
.rn-theme-mint { --rn-tint: #d4f5ed; --rn-glow: #70d5bc; --rn-circuit: #20866f; --rn-ribbon-start: #087f68; --rn-ribbon-end: #3cdbc0; --rn-ribbon-fold: #075346; }
.rn-theme-violet { --rn-tint: #ebe3ff; --rn-glow: #b3a0ed; --rn-circuit: #8060b5; --rn-ribbon-start: #6436d7; --rn-ribbon-end: #bd70f4; --rn-ribbon-fold: #40208e; }
.rn-theme-amber { --rn-tint: #fff0d5; --rn-glow: #efc176; --rn-circuit: #ab7628; --rn-ribbon-start: #e46b13; --rn-ribbon-end: #f7b928; --rn-ribbon-fold: #9b3c0a; }
.rn-course-image { position: relative; isolation: isolate; overflow: hidden; padding: 30px; background: radial-gradient(ellipse at 82% 20%, var(--rn-glow), transparent 70%), linear-gradient(135deg, #f9fcff, var(--rn-tint)); }
.rn-course-image::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, #ffffffb8 0%, #ffffff80 26%, transparent 66%); }
.rn-circuit { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; color: var(--rn-circuit); pointer-events: none; }
.rn-circuit path, .rn-circuit circle { vector-effect: non-scaling-stroke; }
.rn-circuit-traces { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: miter; opacity: .26; }
.rn-circuit-nodes { fill: var(--rn-tint); stroke: currentColor; stroke-width: 1.4; opacity: .48; }
.rn-circuit-pulse { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: miter; stroke-dasharray: 1.6 98.4; animation: rn-circuit-flow 8s linear infinite; }
.rn-circuit-pulse:nth-child(2) { animation-duration: 9s; animation-delay: -4s; }
.rn-circuit-pulse:nth-child(3) { animation-duration: 10s; animation-delay: -6s; }
.rn-circuit-pulse:nth-child(4) { animation-duration: 11s; animation-delay: -2s; }
@keyframes rn-circuit-flow { 0% { stroke-dashoffset: 0; opacity: 0; } 8% { opacity: .7; } 78% { opacity: .7; } 90%, 100% { stroke-dashoffset: -100; opacity: 0; } }
.rn-course-image img { position: relative; z-index: 2; display: block; width: 100%; height: 200px; object-fit: contain; filter: drop-shadow(0 14px 9px #18395324); transition: transform .3s ease; }
.rn-course:hover .rn-course-image img { transform: translateY(-5px) scale(1.025); }
@media (prefers-reduced-motion: reduce) { .rn-circuit-pulse { animation: none; display: none; } .rn-course-image img { transition: none; } .rn-course:hover .rn-course-image img { transform: none; } }
.rn-course-body { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.rn-course h3 { font-size: 23px; margin: 16px 0 12px; }
.rn-course-body p { margin: 14px 0 22px; }
.rn-course-cost { border-top: 1px solid #e8edf4; padding-top: 18px; margin-top: auto; width: 100%; }
.rn-course-cost span, .rn-kit span { display: block; font-size: 13px; color: #59687b; }
.rn-course-cost strong { display: block; font-size: 25px; color: #143e76; margin: 6px 0; }
.rn-kit { background: #f4f8fd; padding: 14px; border-radius: 8px; margin-top: 16px; width: 100%; font-size: 13px; }
.rn-link { display: inline-block; color: #185bb2; font-weight: 700; margin-top: 22px; }
.rn-price-note { font-size: 13px; margin: 24px 0; }
.rn-program-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 32px; background: #eef5ff; border-radius: 16px; margin-top: 36px; }
.rn-program-cta h2 { font-size: 25px; }
.rn-program-cta .btn_1 { flex-shrink: 0; }
.rn-home-section { padding: 70px 0; scroll-margin-top: 100px; }
.rn-home-grid .rn-course-image { min-height: 260px; padding: 0; background: var(--rn-tint); }
.rn-home-grid .rn-course-image::after { display: none; }
.rn-home-grid .rn-course-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.rn-home-grid .rn-course:hover .rn-course-image img { transform: scale(1.035); }
.rn-home-grid .rn-course:nth-child(5n) { --rn-ribbon-start: #d51d5f; --rn-ribbon-end: #ff6d82; --rn-ribbon-fold: #8f123f; }
.rn-home-grid .rn-course-ribbon { position: absolute; top: 22px; left: 0; z-index: 3; display: block; min-width: 58%; max-width: calc(100% - 24px); padding: 11px 30px 11px 22px; overflow: visible; border-radius: 0 999px 999px 0; background: linear-gradient(100deg, var(--rn-ribbon-start), var(--rn-ribbon-end)); box-shadow: 0 8px 18px rgba(15, 41, 82, .2); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; text-align: left; white-space: nowrap; text-overflow: ellipsis; }
.rn-home-grid .rn-course-ribbon::before { content: ""; position: absolute; top: 100%; left: 0; width: 0; height: 0; border-top: 12px solid var(--rn-ribbon-fold); border-left: 0 solid transparent; border-right: 13px solid transparent; filter: brightness(.82); }
.rn-home-grid .rn-link { margin-top: auto; padding-top: 22px; }
.rn-school-info { margin: 30px 0; padding: 28px; background: #f4f8fd; border-radius: 16px; }
.rn-school-info h3 { font-size: 22px; margin: 18px 0 12px; }
.rn-school-info h3:first-child { margin-top: 0; }
.rn-school-info p + p { margin-top: 14px; }
.rn-school-heading { margin-top: 36px; }
.rn-products .rn-product-image { position: relative; z-index: 2; display: block; width: 100%; height: 230px; overflow: hidden; filter: drop-shadow(0 10px 8px #18395320); }
.rn-products .rn-course-body .rn-link { margin-top: auto; padding-top: 18px; }
@media (max-width: 991px) { .rn-home-grid { grid-template-columns: 1fr; } .rn-home-grid .rn-course { display: grid; grid-template-columns: 1fr 2fr; } .rn-program-cta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 575px) { .rn-course-grid, .rn-home-grid .rn-course { display: grid; grid-template-columns: 1fr; } .rn-programs h1 { font-size: 34px; } .rn-hero-image { height: 180px; margin-top: 25px; } .rn-course-body { padding: 22px; } .rn-home-section { padding: 45px 0; } .rn-home-grid .rn-course-image { min-height: 220px; } .rn-home-grid .rn-course-ribbon { top: 18px; left: 0; max-width: calc(100% - 20px); padding: 10px 26px 10px 18px; font-size: 13px; } }
