/* 1SAFETY REDESIGN — HOME V3
   Visual direction approved from supplied desktop/mobile references.
   Existing Futura PT / SF Pro Text fonts are kept. */

:root{
  --rs-bg:#f8fafc;
  --rs-card:#fff;
  --rs-text:#101214;
  --rs-muted:#707780;
  --rs-line:#e4e9ef;
  --rs-yellow:#ffc400;
  --rs-yellow-soft:#fff7d6;
  --rs-dark:#111315;
  --rs-green:#16845a;
  --rs-radius:12px;
  --rs-shell:1600px;
}

html{background:var(--rs-bg)}
body.rs-site{margin:0;background:var(--rs-bg);color:var(--rs-text);font-family:var(--sfPro);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.rs-site.no-scroll{overflow:hidden}
.rs-site *{box-sizing:border-box}
.rs-site a{color:inherit;text-decoration:none}
.rs-site button,.rs-site input{font:inherit}
.rs-site button{color:inherit}
.rs-site img{max-width:100%}
.rs-shell{width:calc(100% - 80px);max-width:var(--rs-shell);margin:0 auto}
.rs-main{min-height:50vh}

/* ===== Header ===== */
.rs-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid var(--rs-line)}
.rs-header-desktop{height:68px;display:flex;align-items:center;gap:22px}
.rs-logo{width:132px;min-width:132px;height:42px;display:flex;align-items:center}
.rs-logo img{width:132px;height:38px;object-fit:contain;object-position:left center}
.rs-main-nav{display:flex;align-items:center;gap:clamp(15px,1.35vw,25px);white-space:nowrap}
.rs-main-nav a{font-size:13px;font-weight:600;color:#25282c;transition:.16s}
.rs-main-nav a:hover{color:#000}
.rs-search{margin-left:auto;width:min(330px,23vw);height:40px;border:1px solid var(--rs-line);border-radius:9px;background:#fff;display:flex;align-items:center;overflow:hidden;transition:.18s}
.rs-search:focus-within{border-color:#c8ced5;box-shadow:0 0 0 3px rgba(24,31,39,.035)}
.rs-search input{height:100%;width:100%;border:0!important;box-shadow:none!important;outline:0;background:transparent;padding:0 0 0 12px;font-size:12px;color:#202327}
.rs-search button{width:39px;height:39px;border:0;background:transparent;display:grid;place-items:center;padding:0;cursor:pointer}
.rs-search svg,.rs-header-actions svg,.rs-profile svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rs-header-actions{display:flex;align-items:center;gap:3px;min-width:max-content}
.rs-icon-btn{position:relative;width:38px!important;height:38px!important;display:grid!important;place-items:center;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;padding:0!important;cursor:pointer;transition:.15s}
.rs-icon-btn:hover{background:#f3f6f9!important;border-color:var(--rs-line)!important}
.rs-icon-btn img{width:20px!important;height:20px!important}
.rs-profile-wrap{position:relative}
.rs-profile{height:40px;border:0;background:transparent;display:flex;align-items:center;gap:7px;padding:0 4px 0 6px;border-radius:9px;font-size:12px;font-weight:600;cursor:pointer}
.rs-profile:hover{background:#f4f6f8}
.rs-avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#f2f4f6}
.rs-avatar svg{width:18px;height:18px}
.rs-profile-chevron{width:14px!important;height:14px!important;color:#80868e}
.rs-profile-menu{display:none;position:absolute;right:0;top:48px;width:240px;background:#fff;border:1px solid var(--rs-line);border-radius:12px;box-shadow:0 14px 40px rgba(22,32,45,.14);padding:7px;z-index:1200}
.rs-profile-menu.open{display:block}
.rs-profile-menu>a{display:flex;align-items:center;min-height:38px;padding:8px 10px;border-radius:8px;font-size:12px;color:#292d31}
.rs-profile-menu>a:hover{background:#f5f7f9}
.rs-lang-switch{display:flex;gap:6px;margin-top:6px;padding:8px 6px 3px;border-top:1px solid var(--rs-line)}
.rs-lang-switch button{height:28px;border:1px solid var(--rs-line);background:#fff;border-radius:7px;padding:0 10px;font-size:11px;cursor:pointer}
.rs-lang-switch button.active{background:var(--rs-yellow-soft);border-color:#dfbd35;font-weight:800}

/* Existing notification logic, redesigned shell */
.rs-notify-wrap{display:inline-flex!important;position:relative}
.rs-notify-wrap .header-notify{margin:0!important}
.rs-notify-wrap #notify-badge{position:absolute!important;top:-2px!important;right:-3px!important;min-width:16px!important;height:16px!important;line-height:16px!important;border-radius:99px!important;background:var(--rs-yellow)!important;color:#111!important;font-size:9px!important;font-weight:800!important;padding:0 4px!important;text-align:center!important}
#notify-dropdown{width:380px!important;border-radius:13px!important;border:1px solid var(--rs-line)!important;box-shadow:0 14px 45px rgba(22,32,45,.16)!important}
#notify-list{width:380px!important}
#notify-dropdown .nd-head{padding:14px 16px!important}
#notify-dropdown .nd-title{font-family:var(--sfPro);font-size:14px!important}
#notify-dropdown .nd-markread{color:#756000!important;font-size:11px!important}
.nd-item{width:380px!important;padding:12px 16px!important}
.nd-item.nd-unread{background:#fff9df!important}
.nd-dot{background:#d2a900!important}

/* Mobile header */
.rs-mobile-head,.rs-mobile-drawer,.rs-mobile-backdrop,.rs-bottom-nav{display:none}

/* ===== Home ===== */
.rs-home{padding-bottom:42px}
.rs-home-shell{padding-top:14px}
.rs-hero{margin:0}
.rs-hero-banner{height:clamp(220px,14.6vw,265px);border-radius:8px;overflow:hidden;background:#121416;position:relative}
.rs-hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .35s ease;display:block;background:#111}
.rs-hero-slide.active{opacity:1;pointer-events:auto}
.rs-hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.rs-hero-empty{display:grid;place-items:center;background:linear-gradient(120deg,#111 0%,#25282c 70%,#5c4b00 100%);color:#fff}
.rs-hero-empty>div{display:flex;flex-direction:column;gap:8px;text-align:center}.rs-hero-empty strong{font-size:34px}.rs-hero-empty span{font-size:14px;color:#d9dde1}
.rs-hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:38px;height:38px;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:rgba(0,0,0,.25);color:#fff;font-size:27px;line-height:1;padding:0;cursor:pointer;display:grid;place-items:center;opacity:.8;transition:.15s}
.rs-hero-arrow:hover{opacity:1;background:rgba(0,0,0,.42)}
.rs-hero-prev{left:12px}.rs-hero-next{right:12px}
.rs-hero-dots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:6}
.rs-hero-dots button{width:7px;height:7px;border:0;border-radius:99px;background:rgba(255,255,255,.55);padding:0;cursor:pointer;transition:.18s}
.rs-hero-dots button.active{width:22px;background:var(--rs-yellow)}

.rs-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:16px}
.rs-shortcut{height:clamp(168px,11.4vw,188px);border:1px solid var(--rs-line);border-radius:10px;background:#fff;padding:18px 14px 14px;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:flex-start;transition:.18s}
.rs-shortcut:hover{transform:translateY(-2px);border-color:#d2d8de;box-shadow:0 9px 24px rgba(21,29,38,.055)}
.rs-shortcut>svg{width:clamp(38px,2.8vw,46px);height:clamp(38px,2.8vw,46px);fill:none;stroke:#111;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:14px}
.rs-shortcut>div{display:flex;min-height:72px;flex-direction:column;align-items:center}
.rs-shortcut h3{font-family:var(--sfPro);font-size:clamp(15px,1.08vw,18px);font-weight:750;line-height:1.1;margin:0 0 8px;text-transform:none;color:#111}
.rs-shortcut p{font-size:clamp(10px,.76vw,12px);line-height:1.35;color:var(--rs-muted);max-width:190px;margin:0}
.rs-shortcut>span{margin-top:auto;font-size:19px;line-height:1;transition:.15s}
.rs-shortcut:hover>span{transform:translateX(3px);color:#a98300}

.rs-section{margin-top:30px}
.rs-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:11px}
.rs-section-head h2{font-family:var(--sfPro);font-size:clamp(20px,1.5vw,24px);line-height:1.08;letter-spacing:-.25px;text-transform:none;color:#111;margin:0;font-weight:800}
.rs-section-head>a{font-size:12px;color:#555b63;font-weight:600;white-space:nowrap}
.rs-section-head>a:hover{color:#000}
.rs-tabs{display:flex;gap:18px;margin:0 0 11px;overflow-x:auto;scrollbar-width:none}
.rs-tabs::-webkit-scrollbar{display:none}
.rs-tabs button{border:0;background:transparent;padding:3px 0 5px;font-size:11px;color:#666;white-space:nowrap;cursor:pointer;border-bottom:2px solid transparent}
.rs-tabs button.active{color:#111;font-weight:750;border-bottom-color:#111}

.rs-rail-wrap{position:relative;overflow:hidden}
.rs-rail{display:flex;gap:10px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:1px 120px 5px 1px}
.rs-rail::-webkit-scrollbar{display:none}
.rs-rail-next{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:1px solid var(--rs-line);border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 4px 16px rgba(19,27,35,.08);font-size:25px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:4}
.rs-rail-next:hover{border-color:#cbd2d9}
.rs-tab-panel{display:none}.rs-tab-panel.active{display:block}
.rs-empty{border:1px solid var(--rs-line);border-radius:12px;padding:24px 22px;text-align:left;background:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:118px;justify-content:center}
.rs-empty strong{font-size:14px;line-height:1.25;color:#202327;font-weight:760}.rs-empty p{font-size:11px;line-height:1.45;color:var(--rs-muted);margin:0;max-width:620px}.rs-empty-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin-top:5px;padding:0 12px;border-radius:8px;background:var(--rs-yellow);color:#111!important;font-size:10px;font-weight:800}.rs-empty-action:hover{background:#f2bb00;text-decoration:none!important}

/* Products */
.rs-product-card{position:relative;flex:0 0 clamp(245px,17vw,282px);min-height:292px;border:1px solid var(--rs-line);border-radius:9px;background:#fff;padding:10px;display:flex;flex-direction:column}
.rs-product-image{height:clamp(145px,10vw,170px);border-radius:7px;background:#fbfcfe;display:grid;place-items:center;overflow:hidden}
.rs-product-image img{width:100%;height:100%;object-fit:contain;padding:6px}
.rs-fav{position:absolute;right:10px;top:10px;width:31px;height:31px;border:0;background:rgba(255,255,255,.94);border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;z-index:2}
.rs-fav svg{width:17px;height:17px;fill:none;stroke:#111;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rs-fav.fav--active{background:#fff3b6}.rs-fav.fav--active svg path{fill:var(--rs-yellow)}
.rs-product-title{font-size:13px;line-height:1.28;font-weight:650;margin-top:9px;min-height:34px;color:#181a1d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rs-product-meta{font-size:9px;color:#8a9097;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rs-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:9px}
.rs-price{font-size:clamp(15px,1.05vw,18px);font-weight:820;line-height:1;color:#111;white-space:nowrap}
.rs-cart-btn{height:32px;border:1px solid #d4d7da;border-radius:7px;background:#fff;padding:0 9px;display:flex;align-items:center;gap:5px;font-size:9px;font-weight:750;cursor:pointer;white-space:nowrap}
.rs-cart-btn:hover{background:#fffbed;border-color:#c5a72c}
.rs-cart-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Continue */
.rs-continue-rail{gap:12px;padding-right:120px}
.rs-continue-card{flex:0 0 clamp(350px,29vw,430px);min-height:132px;border:1px solid var(--rs-line);border-radius:9px;background:#fff;padding:12px;display:grid;grid-template-columns:82px minmax(0,1fr);gap:13px;align-items:center}
.rs-continue-thumb{width:82px;height:82px;border-radius:7px;overflow:hidden;background:#edf1f4;display:grid;place-items:center}
.rs-continue-thumb img{width:100%;height:100%;object-fit:cover}.rs-placeholder{background:linear-gradient(135deg,#f0f3f6,#e4e9ee);color:#7d858d}.rs-placeholder span,.rs-placeholder b{font-weight:850;letter-spacing:.4px}
.rs-kicker{font-size:9px;color:#866800;font-weight:800;text-transform:uppercase;letter-spacing:.4px}
.rs-continue-title{display:block;font-size:12px;line-height:1.25;font-weight:750;margin-top:4px;max-height:31px;overflow:hidden}
.rs-progress{height:5px;background:#edf0f3;border-radius:99px;overflow:hidden;margin-top:10px}.rs-progress span{display:block;height:100%;background:var(--rs-yellow);border-radius:99px}
.rs-progress-meta{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:9px;color:#777}.rs-progress-meta a{font-weight:750;color:#111}

/* Courses */
.rs-course-card{flex:0 0 clamp(255px,18vw,300px);border:1px solid var(--rs-line);border-radius:10px;background:#fff;overflow:hidden}
.rs-course-image{height:145px;display:grid;place-items:center;overflow:hidden;background:#eef2f5}.rs-course-image img{width:100%;height:100%;object-fit:cover}.rs-course-image.rs-placeholder span{font-size:18px}
.rs-course-body{padding:10px 11px 12px}
.rs-course-title{display:block;font-size:13px;font-weight:760;line-height:1.25;min-height:33px;color:#16191b}
.rs-course-meta{display:flex;gap:9px;flex-wrap:wrap;color:var(--rs-muted);font-size:9px;margin:7px 0 9px}
.rs-text-link{font-size:10px;font-weight:750;display:inline-flex;align-items:center;gap:4px;color:#17191c}.rs-text-link:hover{text-decoration:underline}

/* Editorial */
.rs-editorial-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px}.rs-editorial-layout.no-ad{grid-template-columns:1fr}
.rs-news-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:9px;align-items:start}
.rs-news-feature{border:1px solid var(--rs-line);border-radius:10px;background:#fff;overflow:hidden}
.rs-news-stack{display:grid;gap:9px;align-content:start}
.rs-news-feature>.rs-editorial-image{height:330px}
.rs-editorial-image,.rs-news-small-image,.rs-article-small-image{display:grid;place-items:center;overflow:hidden;background:#eef2f5}.rs-editorial-image img,.rs-news-small-image img,.rs-article-small-image img{width:100%;height:100%;object-fit:cover}
.rs-editorial-body{padding:10px}
.rs-date{font-size:9px;color:var(--rs-muted)}
.rs-editorial-title{display:block;font-size:18px;line-height:1.15;font-weight:800;margin:5px 0 6px;letter-spacing:-.2px}
.rs-editorial-body p{font-size:10px;line-height:1.38;color:#5f656b;margin:0 0 8px}
.rs-news-small{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:104px;border:1px solid var(--rs-line);border-radius:9px;background:#fff;overflow:hidden}
.rs-news-small-image{width:112px;height:100%}
.rs-news-small-title{display:block;font-size:11px;line-height:1.25;font-weight:750;margin:4px 0 5px}
.rs-news-small .rs-editorial-body p{font-size:9px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rs-vertical-ad{height:100%;min-height:560px;border:1px solid var(--rs-line);border-radius:9px;overflow:hidden;background:#111}
.rs-vertical-ad>*{max-width:100%}.rs-vertical-ad img{width:100%!important;height:100%!important;object-fit:cover!important}

/* Articles */
.rs-article-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:10px}
.rs-article-feature{border:1px solid var(--rs-line);border-radius:10px;background:#fff;overflow:hidden}.rs-article-feature>.rs-editorial-image{height:365px}.rs-article-feature .rs-editorial-title{font-size:19px}
.rs-article-stack{display:grid;gap:8px}
.rs-article-small{display:grid;grid-template-columns:115px minmax(0,1fr);min-height:102px;border:1px solid var(--rs-line);border-radius:9px;background:#fff;overflow:hidden}.rs-article-small-image{width:115px;height:100%}.rs-article-small .rs-editorial-body p{font-size:9px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Reference + jobs */
.rs-reference-grid,.rs-jobs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rs-ref-row{display:grid;grid-template-columns:96px minmax(0,1fr) 18px;gap:11px;align-items:center;min-height:82px;padding:10px;border:1px solid var(--rs-line);border-radius:10px;background:#fff;transition:.16s}
.rs-ref-row:hover{border-color:#cfd6dd;transform:translateY(-1px)}
.rs-ref-image{width:96px;height:62px;border-radius:8px;overflow:hidden;display:grid;place-items:center}.rs-ref-image img{width:100%;height:100%;object-fit:cover}.rs-ref-row strong{display:block;font-size:11px;line-height:1.28;margin-bottom:6px}.rs-ref-row small{display:inline-block;font-size:8px;color:#6c7278;background:#f2f5f8;border-radius:99px;padding:3px 6px}.rs-ref-row>b{font-size:18px;font-weight:400;color:#90969c}
.rs-job{border:1px solid var(--rs-line);border-radius:10px;background:#fff;transition:.16s}.rs-job:hover{border-color:#cfd6dd;transform:translateY(-1px)}.rs-job>a{min-height:82px;padding:13px 14px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.rs-job strong{display:block;font-size:12px;line-height:1.3}.rs-job small{display:block;font-size:9px;color:var(--rs-muted);margin-top:7px}.rs-job span{font-size:11px;color:var(--rs-green);font-weight:850;white-space:nowrap}

/* B2B */
.rs-b2b{border:1px solid #e5e1d7;border-radius:10px;background:#fffefa;padding:20px 22px;display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center}
.rs-b2b h2{font-size:21px;line-height:1.1;margin:0 0 7px;font-weight:820;letter-spacing:-.3px}.rs-b2b p{font-size:10px;color:#646a70;line-height:1.5;margin:0 0 13px;max-width:620px}
.rs-services{display:grid;grid-template-columns:1fr 1fr;gap:11px}.rs-service{display:grid;grid-template-columns:36px 1fr;gap:8px;align-items:center}.rs-service>span{width:36px;height:36px;border-radius:8px;background:#fff6cf;color:#806300;display:grid;place-items:center}.rs-service svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rs-service b{font-size:10px}.rs-service small{display:block;color:var(--rs-muted);font-size:8px;margin-top:2px;line-height:1.3}

/* ===== Footer ===== */
.rs-footer{margin-top:30px;background:var(--rs-dark);color:#fff}
.rs-footer .rs-shell{padding-top:24px;padding-bottom:24px}.rs-footer-note{font-size:9px;color:#8f969d;border-bottom:1px solid #2a2e32;padding-bottom:12px;margin-bottom:20px}
.rs-footer-grid{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:24px}.rs-footer-logo{display:block;font-size:22px;font-weight:920;letter-spacing:-.7px;margin-bottom:8px}.rs-footer-logo span{color:var(--rs-yellow)}
.rs-footer p{font-size:10px;line-height:1.5;color:#aeb4ba;margin:0;max-width:250px}.rs-footer h4{font-size:11px;margin:0 0 8px}.rs-footer-grid>div>a:not(.rs-footer-logo){display:block;color:#d5d9dd;font-size:10px;margin:6px 0}.rs-footer-grid>div>a:hover{color:#fff}
.rs-footer-socials{display:flex;gap:7px;margin-top:11px}.rs-footer-socials a{width:31px;height:31px;border-radius:50%;background:#282c30;display:grid;place-items:center;font-size:8px;font-weight:800;color:#fff}.rs-footer-socials a:hover{background:#373c41}
.rs-footer-copy{border-top:1px solid #2b3034;margin-top:18px;padding-top:12px;font-size:8px;color:#8d949b;display:flex;justify-content:space-between}

/* Toast used only for mockup-level cart controls; project contains no cart backend. */
.rs-toast{position:fixed;left:50%;bottom:24px;z-index:2500;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#111;color:#fff;border-radius:10px;padding:10px 14px;font-size:11px;box-shadow:0 8px 30px rgba(0,0,0,.2);transition:.2s}.rs-toast.show{opacity:1;transform:translate(-50%,0)}

/* Old content pages sit inside the new frame until their dedicated redesign pass. */
.rs-site:not(.rs-is-home) .rs-main>.container,.rs-site:not(.rs-is-home) .rs-main>.wrapper{margin-top:22px}

/* ===== Tablet ===== */
@media (max-width:1240px){
  .rs-shell{width:calc(100% - 48px)}
  .rs-main-nav{gap:13px}.rs-main-nav a{font-size:12px}.rs-search{width:260px}.rs-header-desktop{gap:15px}
  .rs-shortcut p{font-size:10px}.rs-editorial-layout{grid-template-columns:minmax(0,1fr) 200px}.rs-footer-grid{gap:18px}
}

@media (max-width:1050px){
  .rs-main-nav a:nth-child(5),.rs-main-nav a:nth-child(6){display:none}
  .rs-search{width:245px}
  .rs-shortcuts{grid-template-columns:repeat(3,1fr)}.rs-shortcut{height:145px}
  .rs-editorial-layout{grid-template-columns:1fr}.rs-vertical-ad{display:none}
}

/* ===== Mobile interface: separate composition, not compressed desktop ===== */
@media (max-width:825px){
  body.rs-site{padding-bottom:74px;background:var(--rs-bg)}
  .rs-shell{width:100%;max-width:none;padding-left:16px;padding-right:16px}
  .rs-header-desktop{display:none}
  .rs-header{position:sticky;top:0;background:rgba(248,250,252,.97);border-bottom:1px solid rgba(229,233,239,.78)}
  .rs-mobile-head{display:block}
  .rs-mobile-topbar{height:58px;position:relative;display:flex;align-items:center;padding:0 12px}
  .rs-mobile-menu-btn{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;border-radius:10px;padding:0;display:grid;place-items:center}
  .rs-mobile-menu-btn svg,.rs-mobile-actions svg{width:23px;height:23px;fill:none;stroke:#111;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .rs-mobile-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:124px;height:38px;display:grid;place-items:center}.rs-mobile-logo img{width:124px;height:34px;object-fit:contain}
  .rs-mobile-actions{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:flex-end;gap:14px}.rs-mobile-actions a{width:29px;height:36px;display:grid;place-items:center}
  .rs-mobile-search-wrap{padding:0 16px 12px}
  .rs-mobile-search{height:46px;border:1px solid var(--rs-line);border-radius:13px;background:#fff;display:flex;align-items:center;overflow:hidden;box-shadow:none}
  .rs-mobile-search-icon{flex:0 0 auto;width:21px;height:21px;margin-left:13px;fill:none;stroke:#8c8c8c;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .rs-mobile-search input{min-width:0;flex:1;height:44px;border:0!important;border-radius:0!important;background:transparent!important;padding:0 10px!important;outline:none!important;box-shadow:none!important;font-size:14px!important;line-height:44px!important;color:#222!important}
  .rs-mobile-search button{flex:0 0 44px;width:44px;height:44px;border:0;border-left:1px solid #e0b900;background:var(--rs-yellow);padding:0;display:grid;place-items:center;cursor:pointer}
  .rs-mobile-search button svg{width:20px;height:20px;fill:none;stroke:#111;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

  .rs-mobile-backdrop{display:block;position:fixed;inset:0;z-index:1300;background:rgba(11,18,27,.34);opacity:0;pointer-events:none;transition:opacity .22s;backdrop-filter:blur(2px)}
  .rs-mobile-backdrop.open{opacity:1;pointer-events:auto}
  .rs-mobile-drawer{display:flex;position:fixed;z-index:1400;top:0;left:0;right:auto;bottom:0;width:min(330px,calc(100vw - 28px));background:#fff;transform:translateX(-104%);transition:transform .25s cubic-bezier(.2,.8,.2,1);box-shadow:18px 0 40px rgba(22,32,45,.16);flex-direction:column;overflow:auto;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .rs-mobile-drawer.open{transform:translateX(0)}
  .rs-mobile-drawer-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-bottom:1px solid var(--rs-line)}.rs-mobile-drawer-head strong{font-size:19px}.rs-mobile-drawer-head button{width:38px;height:38px;border:0;border-radius:11px;background:#f4f6f8;font-size:25px;line-height:1}
  .rs-mobile-drawer-nav{padding:16px}.rs-mobile-drawer-nav a,.rs-mobile-drawer-group a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid var(--rs-line);font-size:14px;font-weight:650}.rs-mobile-drawer-nav a:last-child,.rs-mobile-drawer-group a:last-child{border-bottom:0}
  .rs-mobile-drawer-group{margin:0 16px;padding:0 12px;border:1px solid var(--rs-line);border-radius:14px;background:#fff}
  .rs-mobile-lang{display:flex;gap:8px;padding:18px 16px}.rs-mobile-lang button{height:34px;border:1px solid var(--rs-line);border-radius:9px;background:#fff;padding:0 14px;font-size:12px}.rs-mobile-lang button.active{background:var(--rs-yellow-soft);border-color:#d7b532;font-weight:800}

  #notify-dropdown{position:fixed!important;left:10px!important;right:10px!important;top:68px!important;width:auto!important;max-width:none!important}.nd-item,#notify-list{width:100%!important}

  .rs-home{padding-bottom:24px}.rs-home-shell{padding-top:14px}
  .rs-hero{display:block!important;margin:0!important}
  .rs-hero-banner{display:block!important;height:171px;border-radius:16px}.rs-hero-arrow{display:none}.rs-hero-slide img{object-position:center}
  .rs-hero-dots{bottom:9px}.rs-hero-dots button{width:6px;height:6px}.rs-hero-dots button.active{width:17px}
  .rs-shortcuts{display:grid!important;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}
  .rs-shortcut{display:flex!important;height:98px;border-radius:15px;padding:10px 5px;justify-content:center;gap:9px}.rs-shortcut>svg{width:29px;height:29px;margin:0}.rs-shortcut>div{min-height:0}.rs-shortcut h3{font-size:13px;margin:0;font-weight:650}.rs-shortcut p,.rs-shortcut>span{display:none}
  .rs-section{margin-top:30px}.rs-section-head{margin-bottom:13px}.rs-section-head h2{font-size:22px;letter-spacing:-.35px}.rs-section-head>a{font-size:13px}
  .rs-empty{border-radius:16px;padding:18px;min-height:120px;gap:7px}.rs-empty strong{font-size:15px}.rs-empty p{font-size:12px}.rs-empty-action{min-height:38px;border-radius:10px;padding:0 14px;font-size:12px}
  .rs-tabs{gap:8px;margin:-2px 0 13px}.rs-tabs button{border:1px solid var(--rs-line);background:#fff;border-radius:999px;padding:8px 12px;font-size:12px;color:#555}.rs-tabs button.active{border-color:#d8b000;background:#fff8dc;border-bottom-color:#d8b000;color:#111}
  .rs-rail{gap:12px;padding:0 86px 4px 0;margin-right:-16px;scroll-snap-type:x mandatory}.rs-rail-next{display:none}
  .rs-product-card{flex:0 0 244px;min-height:320px;scroll-snap-align:start;border-radius:16px;padding:11px}.rs-product-image{height:190px;border-radius:12px}.rs-fav{right:15px;top:15px;width:34px;height:34px}.rs-product-title{font-size:14px;min-height:35px;margin-top:10px}.rs-product-meta{font-size:10px}.rs-product-bottom{margin-top:8px;padding-top:0}.rs-price{font-size:18px}.rs-cart-btn{height:35px;border-radius:10px;padding:0 12px;font-size:12px;gap:6px}.rs-cart-btn svg{width:16px;height:16px}
  .rs-continue-rail{gap:12px;padding:0 50px 4px 0;margin-right:-16px;scroll-snap-type:x mandatory}.rs-continue-card{flex:0 0 310px;min-height:142px;scroll-snap-align:start;border-radius:16px;padding:12px;grid-template-columns:108px 1fr}.rs-continue-thumb{width:108px;height:118px;border-radius:12px}.rs-kicker{font-size:11px}.rs-continue-title{font-size:16px;max-height:40px}.rs-progress{height:7px;margin-top:10px}.rs-progress-meta{font-size:11px}
  .rs-course-card{flex:0 0 292px;scroll-snap-align:start;border-radius:16px}.rs-course-image{height:164px}.rs-course-body{padding:12px}.rs-course-title{font-size:16px;min-height:auto}.rs-course-meta{font-size:12px;margin:9px 0 11px}.rs-text-link{font-size:13px}

  .rs-editorial-layout{display:block}.rs-news-grid{display:block}.rs-news-feature{border-radius:16px}.rs-news-feature>.rs-editorial-image{height:auto;aspect-ratio:16/9}.rs-news-stack{display:grid;gap:0;margin-top:10px;border:1px solid var(--rs-line);border-radius:16px;overflow:hidden;background:#fff}.rs-editorial-body{padding:13px}.rs-date{font-size:12px}.rs-editorial-title{font-size:18px;margin:6px 0 7px}.rs-editorial-body p{font-size:13px;line-height:1.4}.rs-news-small{grid-template-columns:98px 1fr;min-height:94px;border:0;border-bottom:1px solid var(--rs-line);border-radius:0;margin:0}.rs-news-small:last-child{border-bottom:0}.rs-news-small-image{width:98px}.rs-news-small-title{font-size:14px}.rs-news-small .rs-editorial-body p{font-size:11px}
  .rs-vertical-ad{display:none}

  .rs-article-layout{display:block}.rs-article-feature{border-radius:16px}.rs-article-feature>.rs-editorial-image{height:auto;aspect-ratio:16/9}.rs-article-feature .rs-editorial-title{font-size:18px}.rs-article-stack{margin-top:10px;gap:10px}.rs-article-small{grid-template-columns:105px 1fr;min-height:100px;border-radius:16px}.rs-article-small-image{width:105px}.rs-article-small .rs-news-small-title{font-size:14px}.rs-article-small .rs-editorial-body p{font-size:11px}

  .rs-reference-grid,.rs-jobs-grid{grid-template-columns:1fr;gap:9px}.rs-ref-row{grid-template-columns:92px 1fr 18px;gap:10px;min-height:90px;padding:10px;border-radius:15px}.rs-ref-image{width:92px;height:70px;border-radius:10px}.rs-ref-row strong{font-size:14px}.rs-ref-row small{font-size:10px}.rs-job{border-radius:15px}.rs-job>a{padding:12px;min-height:82px}.rs-job strong{font-size:15px}.rs-job small{font-size:12px}.rs-job span{font-size:14px}
  .rs-b2b{display:block;border-radius:18px;padding:18px}.rs-b2b h2{font-size:22px}.rs-b2b p{font-size:13px}.rs-services{display:grid;grid-template-columns:1fr;gap:11px;margin-top:16px}.rs-service{grid-template-columns:34px 1fr}.rs-service>span{width:34px;height:34px}.rs-service b{font-size:13px}.rs-service small{font-size:11px}

  .rs-footer{margin-top:34px}.rs-footer .rs-shell{padding:24px 16px 18px}.rs-footer-note{display:none}.rs-footer-grid{display:block}.rs-footer-brand{margin-bottom:17px}.rs-footer-logo{font-size:24px}.rs-footer p{font-size:13px;max-width:none}.rs-footer-socials{margin-top:14px}.rs-footer-socials a{width:42px;height:42px;font-size:11px}.rs-footer-grid>div:not(.rs-footer-brand){display:grid;grid-template-columns:1fr 1fr;column-gap:16px;border-top:1px solid #303438;padding:10px 0}.rs-footer-grid>div:not(.rs-footer-brand) h4{grid-column:1/-1;font-size:11px;color:#8f969d;margin:0 0 2px}.rs-footer-grid>div>a:not(.rs-footer-logo){font-size:13px;margin:0;min-height:36px;display:flex;align-items:center}.rs-footer-copy{font-size:9px;display:block;line-height:1.5;padding-bottom:4px}.rs-footer-copy span{display:block}

  .rs-bottom-nav{position:fixed;z-index:1250;bottom:0;left:0;width:100%;height:74px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-top:1px solid var(--rs-line);display:grid;grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom)}
  .rs-bottom-nav a,.rs-bottom-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10.5px;color:#4b4b4b;padding:0}
  .rs-bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rs-bottom-nav .active{color:#876800;font-weight:800}.rs-bottom-nav .active svg{color:#111;filter:drop-shadow(0 3px 0 var(--rs-yellow))}

  .rs-toast{bottom:88px;max-width:calc(100vw - 32px);text-align:center;font-size:12px}
  .rs-site:not(.rs-is-home) .rs-main>.container,.rs-site:not(.rs-is-home) .rs-main>.wrapper{margin-top:12px}
}

@media (max-width:390px){
  .rs-mobile-logo{width:114px}.rs-mobile-logo img{width:114px}.rs-mobile-actions{gap:10px}
  .rs-shortcuts{gap:7px}.rs-shortcut{height:94px;font-size:12px}.rs-shortcut h3{font-size:12px}
  .rs-product-card{flex-basis:232px}.rs-course-card{flex-basis:278px}
}

/* ===== HOME V4 — compact low-data states and calmer sparse layouts ===== */
@media (min-width:826px){
  .rs-empty{
    min-height:88px;
    padding:13px 18px;
    gap:3px;
    border-radius:10px;
  }
  .rs-empty strong{font-size:13px}
  .rs-empty p{font-size:10px;line-height:1.35;max-width:760px}
  .rs-empty-action{min-height:30px;margin-top:4px;padding:0 11px;border-radius:7px;font-size:9px}

  .rs-rail.is-short{padding-right:1px;overflow-x:visible}
  .rs-course-rail.is-short,.rs-product-rail.is-short,.rs-continue-rail.is-short{width:max-content;max-width:100%}

  .rs-article-layout.single{display:block}
  .rs-article-layout.single .rs-article-feature{max-width:900px}
  .rs-article-layout.single .rs-article-feature>.rs-editorial-image{height:300px}

  .rs-reference-grid.is-short{grid-template-columns:minmax(0,680px)}
}

@media (max-width:825px){
  .rs-empty{min-height:104px;padding:15px 16px;gap:5px}
  .rs-empty-action{min-height:36px;margin-top:4px}
  .rs-rail.is-short{overflow-x:auto}
  .rs-article-layout.single .rs-article-feature{max-width:none}
}

/* ===== HOME V5 — adaptive sparse content layouts ===== */
@media (min-width:826px){
  /* 1–3 courses: intentional grid instead of two small cards abandoned in a huge rail. */
  .rs-course-rail.is-sparse{
    display:grid;
    gap:12px;
    padding-right:1px;
    overflow:visible;
    width:100%;
    max-width:1080px;
  }
  .rs-course-rail.is-sparse.rs-count-1{grid-template-columns:minmax(300px,380px);max-width:380px}
  .rs-course-rail.is-sparse.rs-count-2{grid-template-columns:repeat(2,minmax(0,360px));max-width:732px}
  .rs-course-rail.is-sparse.rs-count-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1080px}
  .rs-course-rail.is-sparse .rs-course-card{width:auto;min-width:0;flex:none}
  .rs-course-rail.is-sparse .rs-course-image{height:180px}
  .rs-course-rail.is-sparse .rs-course-body{padding:12px 13px 14px}
  .rs-course-rail.is-sparse .rs-course-title{font-size:14px;line-height:1.28;min-height:36px}
  .rs-course-rail.is-sparse .rs-course-meta{font-size:10px;margin:8px 0 10px}
  .rs-course-rail.is-sparse .rs-text-link{font-size:11px}

  /* One article: magazine card at roughly 60–65% of the working width. */
  .rs-article-layout.single .rs-article-feature{
    width:62%;
    min-width:620px;
    max-width:920px;
  }
  .rs-article-layout.single .rs-article-feature>.rs-editorial-image{height:255px}
  .rs-article-layout.single .rs-article-feature .rs-editorial-body{padding:13px 14px 14px}
  .rs-article-layout.single .rs-article-feature .rs-editorial-title{font-size:18px}

  /* Reference items behave like actual knowledge cards, not technical rows. */
  .rs-reference-grid.is-short{grid-template-columns:minmax(0,760px)}
  .rs-ref-row{grid-template-columns:112px minmax(0,1fr) 20px;min-height:104px;padding:11px 12px;gap:13px}
  .rs-ref-image{width:112px;height:78px}
  .rs-ref-body{min-width:0;display:block}
  .rs-ref-body strong{font-size:13px;line-height:1.25;margin-bottom:5px}
  .rs-ref-body small{font-size:8px;padding:3px 6px}
  .rs-ref-body p{margin:7px 0 0;color:var(--rs-muted);font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

@media (max-width:825px){
  .rs-ref-body{min-width:0;display:block}
  .rs-ref-body p{margin:6px 0 0;color:var(--rs-muted);font-size:11px;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

/* ===== HOME V6 — compact mobile sticky header + stronger sparse desktop balance ===== */
@media (max-width:825px){
  /* Keep the accepted topbar, but collapse only the search row after the user leaves the page top. */
  .rs-mobile-search-wrap{
    max-height:58px;
    opacity:1;
    overflow:hidden;
    transition:max-height .20s ease,padding .20s ease,opacity .14s ease;
  }
  .rs-header.rs-mobile-compact .rs-mobile-search-wrap{
    max-height:0;
    padding-top:0;
    padding-bottom:0;
    opacity:0;
    pointer-events:none;
  }
}

@media (min-width:826px){
  /* With only 1–3 courses, make the cards feel intentional rather than stranded at the left edge. */
  .rs-course-rail.is-sparse.rs-count-1{
    grid-template-columns:minmax(360px,440px);
    max-width:440px;
  }
  .rs-course-rail.is-sparse.rs-count-2{
    grid-template-columns:repeat(2,minmax(0,420px));
    max-width:852px;
  }
  .rs-course-rail.is-sparse.rs-count-3{
    grid-template-columns:repeat(3,minmax(0,1fr));
    max-width:1140px;
  }
  .rs-course-rail.is-sparse .rs-course-image{height:205px}
  .rs-course-rail.is-sparse .rs-course-title{font-size:15px;min-height:38px}

  /* A lone article remains editorial, but uses more of the available width. */
  .rs-article-layout.single .rs-article-feature{
    width:72%;
    min-width:700px;
    max-width:1050px;
  }
  .rs-article-layout.single .rs-article-feature>.rs-editorial-image{height:285px}
}

/* ===== LEARNING SECTION V7 — same composition, new visual system ===== */
/* The existing Yii learning layout, tabs, filters, sorting, cards, sidebar and pagination stay in place. */

.rs-site .edu-content{
  position:relative;
  gap:18px;
  align-items:flex-start;
}

.rs-site .manage-panel--edu{
  min-width:0;
  flex:1 1 auto;
}

/* Breadcrumbs on internal pages */
.rs-site .breadcrumb{
  margin:0 0 14px;
  padding:0;
  background:transparent;
  border-radius:0;
  min-height:22px;
}
.rs-site .breadcrumb a{
  font-family:var(--sfPro);
  font-size:11px;
  line-height:1.3;
  color:#747b83;
  font-weight:500;
}
.rs-site .breadcrumb li+li{margin-left:19px}
.rs-site .breadcrumb li+li:before{
  content:'›';
  left:-13px;
  color:#a3a9b0;
  font-size:15px;
}
.rs-site .breadcrumb li:last-child a{color:#a2a8af}

/* Existing section description */
.rs-site .container.content>.row[style*="margin: 30px"]{
  margin:0 0 18px!important;
  padding:15px 17px;
  border:1px solid var(--rs-line);
  border-radius:11px;
  background:#fff;
  color:#5f666d;
  font-size:12px;
  line-height:1.5;
}

/* Material type tabs: same tabs, styled like the approved home page */
.rs-site .manage-panel--edu .tab-panel{
  transform:none!important;
  width:100%!important;
  margin:0 0 16px!important;
  padding:0!important;
  display:flex;
  align-items:center;
  gap:20px;
  overflow-x:auto;
  scrollbar-width:none;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--rs-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.rs-site .manage-panel--edu .tab-panel::-webkit-scrollbar{display:none}
.rs-site .manage-panel--edu .tab-panel li{
  position:relative;
  flex:0 0 auto;
  margin:0!important;
  padding:0 0 9px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.rs-site .manage-panel--edu .tab-panel li a{
  display:block;
  padding:0!important;
  font-family:var(--sfPro)!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:600!important;
  color:#6a7178!important;
  text-decoration:none!important;
  white-space:nowrap;
}
.rs-site .manage-panel--edu .tab-panel li.active:after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  background:#111;
  border-radius:2px 2px 0 0;
}
.rs-site .manage-panel--edu .tab-panel li.active a{color:#111!important;font-weight:760!important}
.rs-site .manage-panel--edu .tab-panel li:not(.active):hover a{color:#111!important}

/* Filter trigger */
.rs-site .filters__mobile-btn{
  width:38px;
  height:38px;
  border:1px solid var(--rs-line);
  border-radius:9px;
  background:#fff;
  box-shadow:none;
  transition:.15s;
}
.rs-site .filters__mobile-btn:hover,
.rs-site .filters__mobile-btn.active{border-color:#cfb22f;background:#fffbed}
.rs-site .filters__mobile-btn img{width:20px;height:20px;object-fit:contain}

/* Results + sorting row */
.rs-site .page-results{
  margin:0 0 18px;
  padding:0 0 13px;
  min-height:34px;
  border-bottom:1px solid var(--rs-line);
  color:#626970;
  font-family:var(--sfPro);
  font-size:11px;
  line-height:1.3;
  font-weight:500;
}
.rs-site .page-results__info strong{
  margin-left:5px;
  color:#111;
  font-weight:800;
}
.rs-site .page-results:not(.page-results--company) .page-sort{
  margin-left:auto;
  margin-right:18px;
}
.rs-site .page-sort{
  gap:6px;
  color:#6b7279;
  font-family:var(--sfPro);
  font-size:11px;
  line-height:1.3;
  font-weight:500;
}
.rs-site .page-sort li.selected span{
  color:#111;
  font-weight:750;
  text-decoration:none;
}
.rs-site .page-sort>li::after{
  top:0;
  right:-15px;
  width:12px;
  height:12px;
  opacity:.65;
}
.rs-site .page-sort ul{
  top:calc(100% + 8px)!important;
  left:auto;
  right:-12px;
  min-width:170px;
  padding:7px;
  border:1px solid var(--rs-line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 32px rgba(20,28,36,.12);
  line-height:1.35;
}
.rs-site .page-sort ul li a{
  display:block;
  padding:7px 9px;
  border-radius:6px;
  color:#34383c;
  font-size:11px;
  text-decoration:none;
}
.rs-site .page-sort ul li:hover a{background:#f5f7f9;text-decoration:none}

/* Section title */
.rs-site .manage-panel--edu>.h2,
.rs-site .manage-panel--edu .h2{
  margin:0 0 13px!important;
  font-family:var(--sfPro)!important;
  font-size:24px!important;
  line-height:1.1!important;
  letter-spacing:-.3px;
  text-transform:none!important;
  font-weight:820!important;
  color:#111!important;
}

/* Main material list — same vertical list composition */
.rs-site .edu-list{
  margin:0!important;
  padding:0!important;
  list-style:none;
  width:100%;
}
.rs-site .edu-list>.items{margin:0;padding:0}

/* Course / education cards */
.rs-site .edu-card{
  width:100%;
  margin:0 0 11px!important;
  padding:12px;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  grid-template-rows:auto 1fr auto;
  gap:7px 15px;
  border:1px solid var(--rs-line);
  border-radius:11px;
  background:#fff;
  box-shadow:none!important;
  color:#1d2023;
  font-family:var(--sfPro);
  font-size:12px;
  line-height:1.4;
  transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.rs-site .edu-card:hover{
  border-color:#d0d6dc;
  transform:translateY(-1px);
  box-shadow:0 8px 24px rgba(20,28,36,.045)!important;
}
.rs-site .edu-card__img{
  grid-column:1;
  grid-row:1 / span 3;
  width:220px;
  max-width:220px;
  height:142px;
  border-radius:8px;
  overflow:hidden;
  background:#f1f4f7;
}
.rs-site .edu-card__img a{display:block;width:100%;height:100%}
.rs-site .edu-card__img img{
  width:100%!important;
  height:100%!important;
  border-radius:0!important;
  object-fit:cover;
  display:block;
}
.rs-site .edu-card__title{
  grid-column:2;
  grid-row:1;
  margin:1px 0 0!important;
  color:#151719;
  font-family:var(--sfPro);
  font-size:16px;
  line-height:1.2;
  font-weight:780;
  letter-spacing:-.1px;
}
.rs-site .edu-card__inner{
  grid-column:2;
  grid-row:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.rs-site .edu-card__text{
  max-width:850px;
  color:#646b72;
  font-size:11px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.rs-site .edu-card__actions{
  margin-top:10px;
  justify-content:flex-start;
}
.rs-site .edu-card__btn{
  width:auto;
  min-width:105px;
  min-height:32px;
  padding:0 13px;
  border:1px solid #d2ab10;
  border-radius:7px;
  background:var(--rs-yellow)!important;
  box-shadow:none!important;
  color:#111!important;
  font-family:var(--sfPro)!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  cursor:pointer;
  transition:.15s;
}
.rs-site .edu-card__btn:hover{background:#ffd129!important;border-color:#b89612}
.rs-site .edu-card__btn--deny{background:#fff!important;border-color:#d7dce1!important;color:#222!important}
.rs-site .edu-card__btn--deny:hover{background:#f8fafb!important;border-color:#c6cdd4!important}
.rs-site .edu-card__btn img{width:14px;height:14px}
.rs-site .edu-card__stats{
  grid-column:2;
  grid-row:3;
  margin:0!important;
  padding-top:8px;
  border-top:1px solid #eef1f3;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:15px;
  color:#848b92;
  font-family:var(--sfPro);
  font-size:9px;
  line-height:1.2;
  font-weight:550;
}
.rs-site .edu-card__stats span{gap:4px;white-space:nowrap}
.rs-site .edu-card__stats span:last-child{margin-left:auto}
.rs-site .edu-card__stats span img{width:14px!important;height:14px!important;opacity:.75}
.rs-site .edu-card__stats .card__fav,
.rs-site .edu-card__stats .edu-card__fav{
  width:26px!important;
  height:26px!important;
  padding:4px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  display:grid!important;
  place-items:center!important;
}
.rs-site .edu-card__stats .card__fav:hover,
.rs-site .edu-card__stats .edu-card__fav:hover{background:#fff5c8!important}
.rs-site .edu-card__stats .card__fav svg,
.rs-site .edu-card__stats .edu-card__fav svg{width:16px!important;height:16px!important}

/* Desktop filter panel: same location and functionality, visually aligned with redesign */
.rs-site .filters--edu{
  max-width:270px;
  width:270px;
  margin-right:18px;
  flex:0 0 270px;
}
.rs-site .filter-form{
  border:1px solid var(--rs-line);
  border-radius:11px;
  background:#fff;
  color:#545b62;
  font-family:var(--sfPro);
  font-size:11px;
  line-height:1.35;
  box-shadow:none;
}
.rs-site .filter-form__title{
  margin:0;
  padding:12px 14px;
  border-bottom:1px solid var(--rs-line);
  border-radius:11px 11px 0 0;
  background:#fff;
  color:#151719;
  font-family:var(--sfPro);
  font-size:14px;
  line-height:1.25;
  font-weight:780;
}
.rs-site .filter-form__inner{padding:0 14px 16px;background:#fff}
.rs-site .filter-form__unit{padding-bottom:15px;border-bottom:1px solid #edf0f2}
.rs-site .filter-form__unit-inner{gap:11px;margin-top:11px}
.rs-site .filter-form__unit label{gap:7px;font-size:11px}
.rs-site .filter-form__unit label .text{padding-left:24px}
.rs-site .filter-form__unit label .text:before{width:17px;height:17px;border-color:#b8bec5;border-radius:4px}
.rs-site .filter-form__unit label .text:after{width:17px;height:17px;background-size:17px 17px}
.rs-site .filter-form__toggle{
  padding-top:15px;
  background:#fff;
  color:#25282c;
  font-size:12px;
  line-height:1.3;
  font-weight:720;
}
.rs-site .filter-form__toggle:after{width:14px;height:14px;opacity:.7}
.rs-site .filter-form__submit{
  margin-top:15px;
  padding:0 13px;
  height:34px;
  border:1px solid #d2ab10;
  border-radius:7px;
  background:var(--rs-yellow);
  box-shadow:none;
  color:#111;
  font-size:10px;
  font-weight:800;
}

/* Existing right rail / hot items */
.rs-site #flyHotBlock{
  max-width:250px;
  width:250px;
  margin-left:7px;
  flex:0 0 250px;
}
.rs-site #flyHotBlock .banner_block{margin-bottom:11px}
.rs-site #flyHotBlock .banner_block a img{border-radius:9px}
.rs-site #flyHotBlock .hot-block__title{
  margin:0;
  padding:11px 13px;
  border:1px solid var(--rs-line);
  border-bottom:0;
  border-radius:10px 10px 0 0;
  background:#fff;
  color:#151719;
  font-family:var(--sfPro);
  font-size:12px;
  line-height:1.2;
  font-weight:780;
  text-align:left;
}
.rs-site #flyHotBlock .hot-block__wrap{
  padding:10px;
  border:1px solid var(--rs-line);
  border-radius:0 0 10px 10px;
  background:#fff;
}

/* Pagination */
.rs-site .pager{margin:18px 0 4px!important}
.rs-site .pager ul{display:flex;justify-content:center;gap:5px;padding:0;margin:0;list-style:none}
.rs-site .pager li a,
.rs-site .pager li span{
  min-width:31px;
  height:31px;
  padding:0 8px!important;
  display:grid!important;
  place-items:center;
  border:1px solid var(--rs-line)!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#40454a!important;
  font-size:10px!important;
  text-decoration:none!important;
}
.rs-site .pager li.selected a,
.rs-site .pager li.selected span{background:var(--rs-yellow)!important;border-color:#d7b11f!important;color:#111!important;font-weight:800}

@media (max-width:1630px){
  .rs-site .filters--edu{width:auto;max-width:none;flex:0 0 auto;margin-right:0}
  .rs-site .filter-form{
    min-width:300px;
    margin-top:47px;
    border-radius:11px;
    box-shadow:0 16px 42px rgba(19,27,35,.16);
  }
  .rs-site .manage-panel--edu .tab-panel{
    transform:translateX(48px)!important;
    width:calc(100% - 48px)!important;
  }
}

@media (max-width:1020px){
  .rs-site .edu-content{display:block!important}
  .rs-site #flyHotBlock{
    width:100%;
    max-width:100%;
    margin:20px 0 0;
  }
  .rs-site #flyHotBlock .hot-block__title{
    padding:0 0 9px;
    border:0;
    border-bottom:1px solid var(--rs-line);
    border-radius:0;
    background:transparent;
    font-size:15px;
  }
  .rs-site #flyHotBlock .hot-block__wrap{
    padding:10px 0 0;
    border:0;
    border-radius:0;
    background:transparent;
  }
}

@media (max-width:825px){
  .rs-site:not(.rs-is-home) .rs-main>.container.content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px 16px 90px!important;
  }
  .rs-site .breadcrumb{margin-bottom:8px}
  .rs-site .breadcrumb a{font-size:10px}
  .rs-site .container.content>.row[style*="margin: 30px"]{padding:12px 13px;margin-bottom:12px!important;font-size:11px}

  .rs-site .filters__mobile-btn{
    top:0;
    width:35px;
    height:35px;
    border-radius:9px;
  }
  .rs-site .filters__mobile-btn img{width:18px;height:18px}
  .rs-site .manage-panel--edu .tab-panel{
    transform:translateX(44px)!important;
    width:calc(100% - 44px)!important;
    gap:16px;
    margin-bottom:13px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li{padding-bottom:8px!important}
  .rs-site .manage-panel--edu .tab-panel li a{font-size:11px!important}

  .rs-site .filter-form{
    width:min(calc(100vw - 32px),360px)!important;
    min-width:0!important;
    margin-top:43px;
    font-size:11px;
  }
  .rs-site .filter-form__title{font-size:13px;padding:11px 12px}
  .rs-site .filter-form__inner{padding:0 12px 14px}

  .rs-site .page-results{
    margin-bottom:14px;
    padding-bottom:11px;
    min-height:30px;
    flex-wrap:wrap;
    gap:7px 12px;
    font-size:10px;
  }
  .rs-site .page-results:not(.page-results--company) .page-sort{margin:0 14px 0 auto}
  .rs-site .page-sort{font-size:10px}
  .rs-site .manage-panel--edu .h2{font-size:21px!important;margin-bottom:11px!important}

  .rs-site .edu-card{
    padding:10px;
    grid-template-columns:104px minmax(0,1fr);
    grid-template-rows:auto 1fr auto;
    gap:5px 10px;
    border-radius:10px;
    font-size:11px;
  }
  .rs-site .edu-card__img{
    grid-column:1;
    grid-row:1 / span 2;
    width:104px;
    max-width:104px;
    height:82px;
    border-radius:7px;
  }
  .rs-site .edu-card__title{
    grid-column:2;
    grid-row:1;
    font-size:13px;
    line-height:1.22;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .rs-site .edu-card__inner{grid-column:2;grid-row:2;min-height:55px}
  .rs-site .edu-card__text{
    font-size:9.5px;
    line-height:1.35;
    -webkit-line-clamp:2;
  }
  .rs-site .edu-card__actions{margin-top:6px}
  .rs-site .edu-card__btn{min-width:0;min-height:28px;padding:0 10px;font-size:9px!important;border-radius:6px}
  .rs-site .edu-card__stats{
    grid-column:1 / span 2;
    grid-row:3;
    padding-top:7px;
    gap:10px;
    font-size:8px;
  }
  .rs-site .edu-card__stats span img{width:12px!important;height:12px!important}
  .rs-site .edu-card__stats .card__fav,
  .rs-site .edu-card__stats .edu-card__fav{width:24px!important;height:24px!important}

  .rs-site #flyHotBlock{margin-top:18px}
  .rs-site #flyHotBlock .hot-block__title{font-size:13px}
}

/* ===== LEARNING SECTION V8 — format/date metadata + stable favorites + mobile tabs ===== */
.rs-site .edu-card{
  position:relative;
  grid-template-rows:auto auto 1fr auto;
}
.rs-site .edu-card__img{grid-row:1 / span 4}
.rs-site .edu-card__format{
  grid-column:2;
  grid-row:1;
  width:max-content;
  max-width:calc(100% - 38px);
  margin:0 0 1px;
  padding:4px 7px;
  border:1px solid #e3e7eb;
  border-radius:999px;
  background:#f5f7f9;
  color:#6c737b;
  font-family:var(--sfPro);
  font-size:9px;
  line-height:1;
  font-weight:650;
  white-space:nowrap;
}
.rs-site .edu-card__title{
  grid-column:2;
  grid-row:2;
  padding-right:34px;
}
.rs-site .edu-card__inner{grid-column:2;grid-row:3}
.rs-site .edu-card__stats{
  grid-column:2;
  grid-row:4;
  min-height:27px;
}
.rs-site .edu-card__stats .edu-card__favorite-wrap{
  position:static!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}
.rs-site .edu-card .card__fav.edu-card__favorite{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:3!important;
  width:28px!important;
  height:28px!important;
  margin:0!important;
  padding:5px!important;
  border:1px solid #e3e7eb!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.94)!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:none!important;
}
.rs-site .edu-card .card__fav.edu-card__favorite:hover{
  background:#fff7d8!important;
  border-color:#d7bd50!important;
}
.rs-site .edu-card .card__fav.edu-card__favorite svg{
  position:static!important;
  width:15px!important;
  height:15px!important;
  display:block!important;
  fill:none!important;
  flex:none!important;
}
.rs-site .edu-card .card__fav.edu-card__favorite.choosed{
  background:#fff3b4!important;
  border-color:#d5b52f!important;
}
.rs-site .edu-card .card__fav.edu-card__favorite.choosed svg path{fill:var(--rs-yellow)!important}
.rs-site .edu-card__date{color:#697078;font-weight:650}
.rs-site .edu-card__views,
.rs-site .edu-card__modules,
.rs-site .edu-card__extra{display:inline-flex;align-items:center;gap:4px}

/* Keep the type navigation usable on every mobile width. */
.rs-site .manage-panel--edu .tab-panel{
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
  scroll-padding-inline:6px;
}
.rs-site .manage-panel--edu .tab-panel li{scroll-snap-align:start}

@media (max-width:825px){
  .rs-site .manage-panel--edu .tab-panel{
    gap:12px;
    padding-right:16px!important;
    overscroll-behavior-x:contain;
  }
  .rs-site .manage-panel--edu .tab-panel li a{font-size:10.5px!important}

  .rs-site .page-results{
    align-items:center;
    flex-wrap:nowrap;
    gap:8px;
  }
  .rs-site .page-results__info{flex:0 0 auto;white-space:nowrap}
  .rs-site .page-results:not(.page-results--company) .page-sort{
    min-width:0;
    margin:0 14px 0 auto;
    white-space:nowrap;
  }
  .rs-site .page-sort li.selected span{
    display:inline-block;
    max-width:122px;
    overflow:hidden;
    text-overflow:ellipsis;
    vertical-align:bottom;
  }

  .rs-site .edu-card{
    grid-template-columns:108px minmax(0,1fr);
    grid-template-rows:auto auto 1fr auto;
    gap:5px 10px;
    padding:10px;
  }
  .rs-site .edu-card__img{
    grid-column:1;
    grid-row:1 / span 3;
    width:108px;
    max-width:108px;
    height:92px;
  }
  .rs-site .edu-card__format{
    grid-column:2;
    grid-row:1;
    max-width:calc(100% - 34px);
    padding:3px 6px;
    font-size:8px;
  }
  .rs-site .edu-card__title{
    grid-column:2;
    grid-row:2;
    margin:0!important;
    padding-right:30px;
    font-size:13px;
    line-height:1.2;
  }
  .rs-site .edu-card__inner{
    grid-column:2;
    grid-row:3;
    min-height:58px;
  }
  .rs-site .edu-card__text{
    font-size:9.5px;
    line-height:1.34;
    -webkit-line-clamp:2;
  }
  .rs-site .edu-card__actions{margin-top:7px}
  .rs-site .edu-card__stats{
    grid-column:1 / span 2;
    grid-row:4;
    min-height:22px;
    padding-top:7px;
    border-top:1px solid #eef1f3;
    gap:11px;
    font-size:8.5px;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite{
    top:10px!important;
    right:10px!important;
    width:26px!important;
    height:26px!important;
    padding:5px!important;
    border-radius:7px!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite svg{width:14px!important;height:14px!important}
}

@media (max-width:390px){
  .rs-site .manage-panel--edu .tab-panel{gap:10px;padding-right:12px!important}
  .rs-site .manage-panel--edu .tab-panel li a{font-size:10px!important}
  .rs-site .page-sort li.selected span{max-width:102px}
  .rs-site .edu-card{grid-template-columns:104px minmax(0,1fr)}
  .rs-site .edu-card__img{width:104px;max-width:104px;height:90px}
}
\n\n/* ===== LEARNING SECTION V8.1 — unified favorite heart ===== */\n.rs-site .edu-card .card__fav.edu-card__favorite svg{\n  width:17px!important;\n  height:17px!important;\n  overflow:visible!important;\n}\n.rs-site .edu-card .card__fav.edu-card__favorite svg path{\n  fill:none;\n  stroke:#101010;\n  stroke-width:1.8;\n  stroke-linecap:round;\n  stroke-linejoin:round;\n  transition:fill .16s ease,stroke .16s ease;\n}\n.rs-site .edu-card .card__fav.edu-card__favorite.fav--active,\n.rs-site .edu-card .card__fav.edu-card__favorite.choosed{\n  background:#fff7d6!important;\n  border-color:#d8bb45!important;\n}\n.rs-site .edu-card .card__fav.edu-card__favorite.fav--active svg path,\n.rs-site .edu-card .card__fav.edu-card__favorite.choosed svg path{\n  fill:#ffc400!important;\n  stroke:#101010!important;\n}\n@media(max-width:760px){\n  .rs-site .edu-card .card__fav.edu-card__favorite svg{width:16px!important;height:16px!important}\n}\n
/* ===== LEARNING SECTION V8.2 — cleaner editorial cards ===== */
.rs-site .edu-card{
  grid-template-columns:230px minmax(0,1fr)!important;
  grid-template-rows:auto auto minmax(34px,1fr) auto!important;
  gap:5px 16px!important;
  min-height:169px;
  padding:12px!important;
  border-radius:12px!important;
  overflow:hidden;
}
.rs-site .edu-card__img{
  grid-column:1!important;
  grid-row:1 / span 4!important;
  width:230px!important;
  max-width:230px!important;
  height:145px!important;
  border-radius:9px!important;
}
.rs-site .edu-card__meta{
  grid-column:2;
  grid-row:1;
  min-width:0;
  padding-right:38px;
  display:flex;
  align-items:center;
  gap:6px;
  color:#7a8188;
  font-family:var(--sfPro);
  font-size:10px;
  line-height:1.2;
  white-space:nowrap;
}
.rs-site .edu-card__format{
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#555d64!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:720!important;
}
.rs-site .edu-card__meta-dot{color:#b3b8bd}
.rs-site .edu-card__date{color:#7a8188!important;font-weight:560!important}
.rs-site .edu-card__title{
  grid-column:2!important;
  grid-row:2!important;
  margin:1px 0 0!important;
  padding-right:38px!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:790!important;
  letter-spacing:-.15px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.rs-site .edu-card__inner{
  grid-column:2!important;
  grid-row:3!important;
  min-height:0!important;
  display:block!important;
}
.rs-site .edu-card__text{
  max-width:920px!important;
  color:#666e75!important;
  font-size:11px!important;
  line-height:1.42!important;
  -webkit-line-clamp:2!important;
}
.rs-site .edu-card__footer{
  grid-column:2;
  grid-row:4;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:4px;
}
.rs-site .edu-card__actions{margin:0!important;display:flex;align-items:center}
.rs-site .edu-card__btn{
  min-width:0!important;
  min-height:31px!important;
  padding:0 13px!important;
  border-radius:8px!important;
  font-size:10px!important;
}
.rs-site .edu-card__stats{
  grid-column:auto!important;
  grid-row:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:13px!important;
  color:#7e858c!important;
  font-size:9.5px!important;
}
.rs-site .edu-card__stats span:last-child{margin-left:0!important}
.rs-site .edu-card__stats span img{width:14px!important;height:14px!important;opacity:.72}
.rs-site .edu-card .card__fav.edu-card__favorite{
  top:12px!important;
  right:12px!important;
  width:30px!important;
  height:30px!important;
  padding:5px!important;
  border-radius:9px!important;
}

@media(max-width:825px){
  .rs-site .edu-card{
    grid-template-columns:112px minmax(0,1fr)!important;
    grid-template-rows:auto auto minmax(34px,1fr) auto!important;
    gap:5px 10px!important;
    min-height:136px;
    padding:11px!important;
    border-radius:12px!important;
  }
  .rs-site .edu-card__img{
    grid-column:1!important;
    grid-row:1 / span 4!important;
    width:112px!important;
    max-width:112px!important;
    height:112px!important;
    border-radius:9px!important;
  }
  .rs-site .edu-card__meta{
    grid-column:2;
    grid-row:1;
    padding-right:31px;
    gap:5px;
    font-size:9px;
  }
  .rs-site .edu-card__format{font-size:9px!important}
  .rs-site .edu-card__title{
    grid-column:2!important;
    grid-row:2!important;
    padding-right:31px!important;
    font-size:13.5px!important;
    line-height:1.18!important;
  }
  .rs-site .edu-card__inner{
    grid-column:2!important;
    grid-row:3!important;
    min-height:0!important;
  }
  .rs-site .edu-card__text{
    font-size:9.5px!important;
    line-height:1.33!important;
    -webkit-line-clamp:2!important;
  }
  .rs-site .edu-card__footer{
    grid-column:2;
    grid-row:4;
    gap:8px;
    margin-top:2px;
  }
  .rs-site .edu-card__btn{
    min-height:29px!important;
    padding:0 10px!important;
    border-radius:7px!important;
    font-size:9px!important;
  }
  .rs-site .edu-card__stats{
    gap:7px!important;
    font-size:8.5px!important;
  }
  .rs-site .edu-card__stats span img{width:12px!important;height:12px!important}
  .rs-site .edu-card .card__fav.edu-card__favorite{
    top:10px!important;
    right:10px!important;
    width:27px!important;
    height:27px!important;
    padding:5px!important;
    border-radius:8px!important;
  }
}

@media(max-width:390px){
  .rs-site .edu-card{
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:5px 9px!important;
  }
  .rs-site .edu-card__img{
    width:104px!important;
    max-width:104px!important;
    height:108px!important;
  }
  .rs-site .edu-card__title{font-size:13px!important}
  .rs-site .edu-card__meta{font-size:8.5px}
  .rs-site .edu-card__format{font-size:8.5px!important}
}


/* ===== LEARNING SECTION V8.3 — catalog cards aligned with approved concept ===== */
.rs-site .edu-card{
  grid-template-columns:218px minmax(0,1fr)!important;
  grid-template-rows:auto auto minmax(42px,1fr) auto!important;
  column-gap:18px!important;
  row-gap:6px!important;
  min-height:166px!important;
  padding:12px 14px 12px 12px!important;
  border:1px solid #e1e5e9!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.rs-site .edu-card:hover{
  border-color:#d1d7dc!important;
  box-shadow:0 5px 18px rgba(24,32,40,.045)!important;
  transform:none!important;
}
.rs-site .edu-card__img{
  grid-column:1!important;
  grid-row:1 / span 4!important;
  width:218px!important;
  max-width:218px!important;
  height:142px!important;
  border-radius:10px!important;
  overflow:hidden!important;
  align-self:center!important;
}
.rs-site .edu-card__img a,
.rs-site .edu-card__img img{
  width:100%!important;
  height:100%!important;
  display:block!important;
}
.rs-site .edu-card__img img{object-fit:cover!important}

.rs-site .edu-card__meta{
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  padding-right:44px!important;
  font-size:10px!important;
  line-height:1!important;
}
.rs-site .edu-card__format{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  max-width:max-content!important;
  padding:5px 8px!important;
  margin:0!important;
  border:1px solid #e5e8eb!important;
  border-radius:999px!important;
  background:#f6f7f8!important;
  color:#4f575e!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-weight:720!important;
  white-space:nowrap!important;
}
.rs-site .edu-card__meta-dot{display:none!important}

.rs-site .edu-card__title{
  grid-column:2!important;
  grid-row:2!important;
  min-width:0!important;
  margin:0!important;
  padding-right:44px!important;
  font-size:16.5px!important;
  line-height:1.18!important;
  font-weight:790!important;
  letter-spacing:-.12px!important;
  color:#111!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.rs-site .edu-card__title a{
  color:inherit!important;
  text-decoration:none!important;
}
.rs-site .edu-card__title a:hover{text-decoration:none!important;color:#111!important}

.rs-site .edu-card__inner{
  grid-column:2!important;
  grid-row:3!important;
  min-width:0!important;
  min-height:0!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
}
.rs-site .edu-card__text{
  max-width:760px!important;
  margin:0!important;
  color:#626a71!important;
  font-size:11px!important;
  line-height:1.42!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.rs-site .edu-card__footer{
  grid-column:2!important;
  grid-row:4!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:3px 0 0!important;
  padding:0!important;
}
.rs-site .edu-card__stats{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  color:#70777e!important;
  font-size:10px!important;
  line-height:1!important;
}
.rs-site .edu-card__stats span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  white-space:nowrap!important;
}
.rs-site .edu-card__date{
  color:#70777e!important;
  font-weight:560!important;
}
.rs-site .edu-card__stat-icon{
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
  color:#737a80!important;
}
.rs-site .edu-card__extra img{width:14px!important;height:14px!important}

.rs-site .edu-card__actions{
  flex:0 0 auto!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
}
.rs-site .edu-card__btn{
  width:auto!important;
  min-width:0!important;
  min-height:29px!important;
  padding:0 13px!important;
  border-radius:8px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:760!important;
  box-shadow:none!important;
}
.rs-site .edu-card__btn--accept{
  background:#ffc400!important;
  border:1px solid #e5b000!important;
  color:#111!important;
}
.rs-site .edu-card__btn--accept:hover{background:#ffd129!important}
.rs-site .edu-card__btn--deny{
  background:#fff!important;
  border:1px solid #d8dde1!important;
  color:#262626!important;
}

.rs-site .edu-card .card__fav.edu-card__favorite{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  width:31px!important;
  height:31px!important;
  display:grid!important;
  place-items:center!important;
  padding:5px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
}
.rs-site .edu-card .card__fav.edu-card__favorite:hover{background:#f7f8f9!important}
.rs-site .edu-card .card__fav.edu-card__favorite.fav--active,
.rs-site .edu-card .card__fav.edu-card__favorite.choosed{
  background:#fff5c2!important;
}
.rs-site .edu-card .card__fav.edu-card__favorite svg{
  width:19px!important;
  height:19px!important;
}

@media(max-width:825px){
  .rs-site .edu-card{
    grid-template-columns:112px minmax(0,1fr)!important;
    grid-template-rows:auto auto minmax(38px,1fr) auto!important;
    min-height:142px!important;
    padding:10px!important;
    column-gap:10px!important;
    row-gap:5px!important;
    border-radius:14px!important;
  }
  .rs-site .edu-card__img{
    width:112px!important;
    max-width:112px!important;
    height:118px!important;
    border-radius:10px!important;
    align-self:start!important;
  }
  .rs-site .edu-card__meta{
    padding-right:34px!important;
    font-size:9px!important;
  }
  .rs-site .edu-card__format{
    padding:4px 7px!important;
    font-size:8.5px!important;
  }
  .rs-site .edu-card__title{
    padding-right:34px!important;
    font-size:13.5px!important;
    line-height:1.18!important;
  }
  .rs-site .edu-card__text{
    max-width:none!important;
    font-size:9.6px!important;
    line-height:1.34!important;
    -webkit-line-clamp:2!important;
  }
  .rs-site .edu-card__footer{
    gap:7px!important;
    margin-top:1px!important;
  }
  .rs-site .edu-card__stats{
    gap:8px!important;
    font-size:8.6px!important;
  }
  .rs-site .edu-card__stat-icon{
    width:12px!important;
    height:12px!important;
    flex-basis:12px!important;
  }
  .rs-site .edu-card__btn{
    min-height:28px!important;
    padding:0 10px!important;
    border-radius:7px!important;
    font-size:9px!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite{
    top:9px!important;
    right:9px!important;
    width:27px!important;
    height:27px!important;
    padding:4px!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite svg{
    width:17px!important;
    height:17px!important;
  }
}

@media(max-width:390px){
  .rs-site .edu-card{
    grid-template-columns:103px minmax(0,1fr)!important;
    column-gap:9px!important;
    padding:9px!important;
  }
  .rs-site .edu-card__img{
    width:103px!important;
    max-width:103px!important;
    height:112px!important;
  }
  .rs-site .edu-card__title{font-size:12.8px!important}
  .rs-site .edu-card__text{font-size:9.2px!important}
  .rs-site .edu-card__stats{font-size:8.2px!important;gap:6px!important}
  .rs-site .edu-card__btn{padding:0 8px!important;font-size:8.6px!important}
}

/* ===== LEARNING SECTION V8.4 — larger catalog cards, closer to approved mockup ===== */
@media(min-width:826px){
  .rs-site .edu-card{
    grid-template-columns:236px minmax(0,1fr)!important;
    grid-template-rows:auto auto minmax(50px,1fr) auto!important;
    min-height:184px!important;
    padding:14px 16px 14px 14px!important;
    column-gap:20px!important;
    row-gap:7px!important;
    margin-bottom:13px!important;
    border-radius:15px!important;
  }
  .rs-site .edu-card__img{
    width:236px!important;
    max-width:236px!important;
    height:154px!important;
    border-radius:11px!important;
  }
  .rs-site .edu-card__meta{
    padding-right:48px!important;
    min-height:24px!important;
  }
  .rs-site .edu-card__format{
    padding:6px 9px!important;
    font-size:10.5px!important;
    font-weight:720!important;
  }
  .rs-site .edu-card__title{
    padding-right:48px!important;
    font-size:18px!important;
    line-height:1.2!important;
    letter-spacing:-.15px!important;
  }
  .rs-site .edu-card__text{
    max-width:720px!important;
    font-size:12.5px!important;
    line-height:1.45!important;
    -webkit-line-clamp:2!important;
  }
  .rs-site .edu-card__footer{
    margin-top:5px!important;
    gap:18px!important;
  }
  .rs-site .edu-card__stats{
    gap:14px!important;
    font-size:11px!important;
  }
  .rs-site .edu-card__stat-icon{
    width:15px!important;
    height:15px!important;
    flex-basis:15px!important;
  }
  .rs-site .edu-card__btn{
    min-height:32px!important;
    padding:0 15px!important;
    border-radius:9px!important;
    font-size:10.5px!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite{
    top:13px!important;
    right:13px!important;
    width:34px!important;
    height:34px!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite svg{
    width:20px!important;
    height:20px!important;
  }
}

@media(min-width:826px) and (max-width:1180px){
  .rs-site .edu-card{
    grid-template-columns:215px minmax(0,1fr)!important;
    min-height:174px!important;
    padding:13px 14px 13px 13px!important;
    column-gap:17px!important;
  }
  .rs-site .edu-card__img{
    width:215px!important;
    max-width:215px!important;
    height:148px!important;
  }
  .rs-site .edu-card__title{font-size:17px!important}
  .rs-site .edu-card__text{font-size:11.8px!important}
}

@media(max-width:825px){
  .rs-site .edu-card{
    grid-template-columns:124px minmax(0,1fr)!important;
    grid-template-rows:auto auto minmax(42px,1fr) auto!important;
    min-height:158px!important;
    padding:11px!important;
    column-gap:12px!important;
    row-gap:6px!important;
    margin-bottom:12px!important;
  }
  .rs-site .edu-card__img{
    width:124px!important;
    max-width:124px!important;
    height:132px!important;
  }
  .rs-site .edu-card__format{
    padding:5px 7px!important;
    font-size:9.5px!important;
  }
  .rs-site .edu-card__title{
    font-size:14.5px!important;
    line-height:1.2!important;
  }
  .rs-site .edu-card__text{
    font-size:10.5px!important;
    line-height:1.38!important;
  }
  .rs-site .edu-card__stats{
    font-size:9.5px!important;
    gap:8px!important;
  }
  .rs-site .edu-card__btn{
    min-height:29px!important;
    padding:0 10px!important;
    font-size:9.4px!important;
  }
}

@media(max-width:390px){
  .rs-site .edu-card{
    grid-template-columns:112px minmax(0,1fr)!important;
    min-height:150px!important;
    padding:10px!important;
    column-gap:10px!important;
  }
  .rs-site .edu-card__img{
    width:112px!important;
    max-width:112px!important;
    height:124px!important;
  }
  .rs-site .edu-card__title{font-size:13.8px!important}
  .rs-site .edu-card__text{font-size:10px!important}
  .rs-site .edu-card__stats{font-size:9px!important}
}

/* ===== LEARNING SECTION V8.5 — faithful implementation of the approved mockup ===== */
/* This pass intentionally changes the whole learning catalogue presentation,
   not only card size: shell width, filter panel, tabs, hierarchy and cards. */

@media (min-width:1021px){
  .rs-site:not(.rs-is-home) .rs-main>.container.content{
    width:calc(100% - 64px)!important;
    max-width:1480px!important;
    margin:22px auto 0!important;
    padding:0!important;
  }
  .rs-site .edu-content{
    display:flex!important;
    gap:28px!important;
    align-items:flex-start!important;
  }
  .rs-site .filters--edu{
    width:286px!important;
    max-width:286px!important;
    flex:0 0 286px!important;
    margin:0!important;
  }
  .rs-site .manage-panel--edu{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .rs-site #flyHotBlock{
    width:250px!important;
    max-width:250px!important;
    flex:0 0 250px!important;
    margin-left:0!important;
  }

  .rs-site .manage-panel--edu .tab-panel{
    gap:34px!important;
    margin-bottom:21px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li{
    padding-bottom:12px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li a{
    font-size:14px!important;
    font-weight:620!important;
  }
  .rs-site .manage-panel--edu .tab-panel li.active a{
    font-weight:800!important;
  }

  .rs-site .page-results{
    min-height:38px!important;
    margin-bottom:20px!important;
    padding-bottom:15px!important;
    font-size:12.5px!important;
  }
  .rs-site .page-sort,
  .rs-site .page-sort ul li a{
    font-size:12.5px!important;
  }
  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{
    margin-bottom:16px!important;
    font-size:28px!important;
    line-height:1.08!important;
    letter-spacing:-.45px!important;
  }

  .rs-site .edu-card{
    grid-template-columns:220px minmax(0,1fr)!important;
    grid-template-rows:auto auto minmax(48px,1fr) auto!important;
    min-height:176px!important;
    margin-bottom:12px!important;
    padding:12px 18px 12px 12px!important;
    column-gap:20px!important;
    row-gap:6px!important;
    border-radius:15px!important;
    border-color:#dde3e8!important;
    box-shadow:0 1px 0 rgba(17,24,39,.015)!important;
  }
  .rs-site .edu-card:hover{
    transform:none!important;
    border-color:#cbd3da!important;
    box-shadow:0 8px 24px rgba(18,28,39,.04)!important;
  }
  .rs-site .edu-card__img{
    width:220px!important;
    max-width:220px!important;
    height:150px!important;
    border-radius:10px!important;
  }
  .rs-site .edu-card__meta{
    min-height:24px!important;
    padding-right:48px!important;
  }
  .rs-site .edu-card__format{
    padding:5px 9px!important;
    border:0!important;
    background:#f3f5f7!important;
    color:#656d75!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:680!important;
  }
  .rs-site .edu-card__title{
    margin:0!important;
    padding-right:48px!important;
    font-size:17px!important;
    line-height:1.2!important;
    letter-spacing:-.15px!important;
    font-weight:800!important;
  }
  .rs-site .edu-card__text{
    max-width:680px!important;
    font-size:12px!important;
    line-height:1.45!important;
    color:#626a72!important;
    -webkit-line-clamp:2!important;
  }
  .rs-site .edu-card__footer{
    margin-top:2px!important;
    align-items:center!important;
  }
  .rs-site .edu-card__stats{
    gap:20px!important;
    font-size:11px!important;
    color:#6e757c!important;
  }
  .rs-site .edu-card__stat-icon{
    width:15px!important;
    height:15px!important;
    flex-basis:15px!important;
  }
  .rs-site .edu-card__btn{
    min-height:31px!important;
    padding:0 14px!important;
    border:0!important;
    border-radius:8px!important;
    font-size:10.5px!important;
    font-weight:800!important;
    box-shadow:none!important;
  }
  .rs-site .edu-card__btn--accept{
    background:#fff0b3!important;
    color:#111!important;
  }
  .rs-site .edu-card__btn--accept:hover{background:#ffe58a!important}
  .rs-site .edu-card .card__fav.edu-card__favorite{
    top:13px!important;
    right:14px!important;
    width:34px!important;
    height:34px!important;
    padding:5px!important;
    border:0!important;
    background:transparent!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite:hover{
    background:#f6f7f8!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite svg{
    width:22px!important;
    height:22px!important;
  }
}

/* Filter panel from the approved mockup */
.rs-site .filter-form{
  overflow:hidden!important;
  border:1px solid #dde3e8!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.rs-site .filter-form__head{
  min-height:52px;
  padding:0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #e7ebef;
}
.rs-site .filter-form__head .filter-form__title{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:15px!important;
  font-weight:820!important;
}
.rs-site .filter-form__reset{
  color:#656d75!important;
  font-size:11px!important;
  font-weight:560!important;
  white-space:nowrap;
}
.rs-site .filter-form__reset:hover{color:#111!important;text-decoration:none!important}
.rs-site .filter-form__inner{
  padding:0 15px 16px!important;
}
.rs-site .filter-form__unit{
  padding-bottom:17px!important;
  border-bottom:1px solid #edf0f2!important;
}
.rs-site .filter-form__toggle{
  padding-top:17px!important;
  color:#202428!important;
  font-size:12.5px!important;
  font-weight:760!important;
}
.rs-site .filter-form__unit-inner{
  gap:10px!important;
  margin-top:12px!important;
}
.rs-site .filter-form__unit-inner>input[type="text"],
.rs-site .filter-form__unit-inner label.date input[type="text"]{
  width:100%!important;
  height:36px!important;
  padding:0 11px!important;
  border:1px solid #d8dee4!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  outline:0!important;
  color:#202428!important;
  font-size:11.5px!important;
}
.rs-site .filter-form__unit-inner>input[type="text"]::placeholder{color:#9aa1a8}
.rs-site .filter-form__unit label{
  min-height:22px!important;
  gap:8px!important;
  color:#606870!important;
  font-size:11.5px!important;
}
.rs-site .filter-form__unit label .text{
  padding-left:25px!important;
}
.rs-site .filter-form__unit label .text:before,
.rs-site .filter-form__unit label .text:after{
  width:17px!important;
  height:17px!important;
}
.rs-site .filter-form__unit label .count:empty{display:none!important}
.rs-site .filter-form__submit{
  height:36px!important;
  margin:16px 15px!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--rs-yellow)!important;
  font-size:11px!important;
  font-weight:800!important;
}

@media (max-width:1020px){
  .rs-site .filter-form__head{min-height:48px;padding:0 13px}
  .rs-site .filter-form__head .filter-form__title{font-size:14px!important}
  .rs-site .filter-form__reset{font-size:10.5px!important}
}

/* Mobile layout: match the approved mockup hierarchy instead of compressing desktop. */
@media (max-width:825px){
  .rs-site:not(.rs-is-home) .rs-main>.container.content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:17px 14px 96px!important;
  }
  .rs-site .breadcrumb{
    margin-bottom:13px!important;
    min-height:20px!important;
  }
  .rs-site .breadcrumb a{
    font-size:11px!important;
  }

  .rs-site .manage-panel--edu{
    display:flex!important;
    flex-direction:column!important;
  }
  .rs-site .filters__mobile-btn{
    order:1!important;
    position:absolute!important;
    top:33px!important;
    left:0!important;
    width:42px!important;
    height:42px!important;
    border-radius:10px!important;
    z-index:4!important;
  }
  .rs-site .manage-panel--edu .tab-panel{
    order:1!important;
    transform:translateX(52px)!important;
    width:calc(100% - 52px)!important;
    gap:28px!important;
    margin:0 0 25px!important;
    padding-right:20px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li{
    padding-bottom:10px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li a{
    font-size:13.5px!important;
    font-weight:620!important;
  }
  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{
    order:2!important;
    margin:0 0 17px!important;
    font-size:29px!important;
    line-height:1.08!important;
    letter-spacing:-.4px!important;
  }
  .rs-site .page-results{
    order:3!important;
    min-height:36px!important;
    margin:0 0 19px!important;
    padding:0!important;
    border-bottom:0!important;
    gap:10px!important;
    font-size:12.5px!important;
  }
  .rs-site .page-results__info{
    font-size:12.5px!important;
  }
  .rs-site .page-sort{
    margin-left:auto!important;
    margin-right:6px!important;
    font-size:12.5px!important;
  }
  .rs-site .page-sort li.selected span{
    max-width:136px!important;
    font-size:12.5px!important;
  }
  .rs-site .manage-panel--edu>.flex{
    order:4!important;
  }

  .rs-site .edu-card{
    grid-template-columns:126px minmax(0,1fr)!important;
    grid-template-rows:auto auto minmax(60px,1fr) auto!important;
    min-height:174px!important;
    margin-bottom:12px!important;
    padding:12px!important;
    column-gap:13px!important;
    row-gap:6px!important;
    border-radius:15px!important;
    border-color:#dce2e7!important;
  }
  .rs-site .edu-card__img{
    width:126px!important;
    max-width:126px!important;
    height:140px!important;
    border-radius:10px!important;
  }
  .rs-site .edu-card__meta{
    min-height:22px!important;
    padding-right:36px!important;
  }
  .rs-site .edu-card__format{
    padding:5px 8px!important;
    border:0!important;
    background:#f3f5f7!important;
    font-size:10.5px!important;
    color:#5f6871!important;
  }
  .rs-site .edu-card__title{
    margin:0!important;
    padding-right:34px!important;
    font-size:16px!important;
    line-height:1.18!important;
    letter-spacing:-.12px!important;
    -webkit-line-clamp:2!important;
  }
  .rs-site .edu-card__text{
    font-size:11.8px!important;
    line-height:1.4!important;
    color:#656d75!important;
    -webkit-line-clamp:3!important;
  }
  .rs-site .edu-card__footer{
    grid-column:2!important;
    gap:8px!important;
    margin-top:1px!important;
    align-items:center!important;
  }
  .rs-site .edu-card__stats{
    gap:10px!important;
    padding:0!important;
    border:0!important;
    font-size:10.5px!important;
  }
  .rs-site .edu-card__stat-icon{
    width:14px!important;
    height:14px!important;
    flex-basis:14px!important;
  }
  .rs-site .edu-card__btn{
    min-height:32px!important;
    padding:0 13px!important;
    border:0!important;
    border-radius:9px!important;
    background:#fff0b3!important;
    font-size:10.5px!important;
    font-weight:800!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite{
    top:12px!important;
    right:12px!important;
    width:32px!important;
    height:32px!important;
    padding:4px!important;
    border:0!important;
    background:transparent!important;
  }
  .rs-site .edu-card .card__fav.edu-card__favorite svg{
    width:21px!important;
    height:21px!important;
  }

  .rs-site .filter-form{
    width:min(calc(100vw - 28px),390px)!important;
    margin-top:51px!important;
  }
}

@media (max-width:430px){
  .rs-site .manage-panel--edu .tab-panel{gap:23px!important}
  .rs-site .manage-panel--edu .tab-panel li a{font-size:13px!important}
  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{font-size:27px!important}
  .rs-site .page-results,
  .rs-site .page-results__info,
  .rs-site .page-sort,
  .rs-site .page-sort li.selected span{font-size:11.5px!important}
  .rs-site .edu-card{
    grid-template-columns:118px minmax(0,1fr)!important;
    min-height:169px!important;
    padding:11px!important;
    column-gap:11px!important;
  }
  .rs-site .edu-card__img{
    width:118px!important;
    max-width:118px!important;
    height:134px!important;
  }
  .rs-site .edu-card__format{font-size:10px!important}
  .rs-site .edu-card__title{font-size:15px!important}
  .rs-site .edu-card__text{font-size:11px!important}
  .rs-site .edu-card__stats{font-size:10px!important}
  .rs-site .edu-card__btn{font-size:10px!important;padding:0 11px!important}
}

/* ===== LEARNING SECTION V8.6 — typography system + mobile hierarchy =====
   Goal: use the same SF Pro typography rhythm as the approved home page.
   No layout/functionality rewrite; only typography, spacing and the broken mobile top hierarchy. */

/* Learning page typography: one family, one hierarchy */
.rs-site .manage-panel--edu,
.rs-site .filters--edu,
.rs-site .filter-form,
.rs-site .edu-card,
.rs-site .page-results,
.rs-site .page-sort,
.rs-site .manage-panel--edu .tab-panel,
.rs-site .manage-panel--edu .h2{
  font-family:var(--sfPro)!important;
}

@media (min-width:826px){
  /* H1 / section title */
  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{
    margin:0 0 18px!important;
    font-size:28px!important;
    line-height:34px!important;
    font-weight:700!important;
    letter-spacing:-.3px!important;
  }

  /* Tabs */
  .rs-site .manage-panel--edu .tab-panel{
    gap:30px!important;
    margin-bottom:18px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li{
    padding:0 0 10px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li a{
    font-size:14px!important;
    line-height:19px!important;
    font-weight:500!important;
    color:#4d5359!important;
    letter-spacing:0!important;
  }
  .rs-site .manage-panel--edu .tab-panel li.active a{
    font-size:14px!important;
    font-weight:600!important;
    color:#111!important;
  }

  /* Results / sorting */
  .rs-site .page-results{
    min-height:38px!important;
    margin:0 0 22px!important;
    padding:0 0 14px!important;
    font-size:13px!important;
    line-height:18px!important;
    font-weight:400!important;
    color:#5e656c!important;
  }
  .rs-site .page-results__info,
  .rs-site .page-sort,
  .rs-site .page-sort ul li a,
  .rs-site .page-sort li.selected span{
    font-size:13px!important;
    line-height:18px!important;
    font-weight:400!important;
  }
  .rs-site .page-results__info strong,
  .rs-site .page-sort li.selected span{
    font-weight:600!important;
    color:#151719!important;
  }

  /* Material/course cards */
  .rs-site .edu-card{
    min-height:184px!important;
    padding:14px 18px 14px 14px!important;
    column-gap:20px!important;
    row-gap:7px!important;
  }
  .rs-site .edu-card__meta{
    min-height:23px!important;
  }
  .rs-site .edu-card__format{
    padding:4px 8px!important;
    font-size:12px!important;
    line-height:16px!important;
    font-weight:550!important;
    letter-spacing:0!important;
    color:#626a72!important;
  }
  .rs-site .edu-card__title{
    margin:0!important;
    font-size:17px!important;
    line-height:22px!important;
    font-weight:700!important;
    letter-spacing:-.12px!important;
    color:#121416!important;
  }
  .rs-site .edu-card__title a{
    font:inherit!important;
    color:inherit!important;
  }
  .rs-site .edu-card__text{
    max-width:720px!important;
    font-size:14px!important;
    line-height:20px!important;
    font-weight:400!important;
    color:#5d646b!important;
    -webkit-line-clamp:2!important;
  }
  .rs-site .edu-card__footer{
    margin-top:5px!important;
  }
  .rs-site .edu-card__stats,
  .rs-site .edu-card__date,
  .rs-site .edu-card__views,
  .rs-site .edu-card__modules,
  .rs-site .edu-card__extra{
    font-size:13px!important;
    line-height:18px!important;
    font-weight:450!important;
    color:#6c737a!important;
  }
  .rs-site .edu-card__stats{
    gap:18px!important;
  }
  .rs-site .edu-card__stat-icon{
    width:14px!important;
    height:14px!important;
    flex-basis:14px!important;
  }
  .rs-site .edu-card__btn{
    min-height:29px!important;
    padding:5px 10px!important;
    border-radius:8px!important;
    font-size:13px!important;
    line-height:17px!important;
    font-weight:600!important;
    box-shadow:none!important;
  }
  .rs-site .edu-card__btn--accept{
    background:#fff4c8!important;
    color:#171717!important;
  }

  /* Desktop filters */
  .rs-site .filter-form__head{
    min-height:54px!important;
  }
  .rs-site .filter-form__head .filter-form__title{
    font-size:16px!important;
    line-height:21px!important;
    font-weight:700!important;
    letter-spacing:0!important;
  }
  .rs-site .filter-form__reset{
    font-size:12px!important;
    line-height:17px!important;
    font-weight:500!important;
  }
  .rs-site .filter-form__toggle{
    font-size:14px!important;
    line-height:19px!important;
    font-weight:600!important;
  }
  .rs-site .filter-form__unit label{
    min-height:24px!important;
    font-size:13px!important;
    line-height:18px!important;
    font-weight:400!important;
    color:#5c646c!important;
  }
  .rs-site .filter-form__unit-inner>input[type="text"],
  .rs-site .filter-form__unit-inner label.date input[type="text"]{
    height:38px!important;
    font-size:14px!important;
    line-height:18px!important;
    font-weight:400!important;
  }
  .rs-site .filter-form__submit{
    height:36px!important;
    font-size:13px!important;
    font-weight:600!important;
  }
}

/* Mobile: tabs -> title -> filter/results/sort -> cards. No overlap. */
@media (max-width:825px){
  .rs-site .manage-panel--edu{
    position:relative!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-areas:
      "tabs tabs"
      "title title"
      "filter results"
      "list list"!important;
    column-gap:10px!important;
    align-items:start!important;
  }

  .rs-site .manage-panel--edu .tab-panel{
    grid-area:tabs!important;
    order:initial!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 20px!important;
    padding:0 0 0!important;
    gap:24px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    background:transparent!important;
    border-radius:0!important;
    border-bottom:1px solid #e4e9ef!important;
    scroll-snap-type:x proximity!important;
  }
  .rs-site .manage-panel--edu .tab-panel li{
    flex:0 0 auto!important;
    margin:0!important;
    padding:0 0 10px!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-bottom:2px solid transparent!important;
  }
  .rs-site .manage-panel--edu .tab-panel li.active{
    background:transparent!important;
    border-radius:0!important;
    box-shadow:none!important;
    border-bottom-color:#111!important;
  }
  .rs-site .manage-panel--edu .tab-panel li a,
  .rs-site .manage-panel--edu .tab-panel li.active a{
    font-size:14px!important;
    line-height:19px!important;
    font-weight:500!important;
    color:#4d5359!important;
    white-space:nowrap!important;
  }
  .rs-site .manage-panel--edu .tab-panel li.active a{
    font-weight:600!important;
    color:#111!important;
  }

  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{
    grid-area:title!important;
    order:initial!important;
    margin:0 0 17px!important;
    padding:0!important;
    font-size:24px!important;
    line-height:29px!important;
    font-weight:700!important;
    letter-spacing:-.2px!important;
    color:#101214!important;
  }

  .rs-site .filters__mobile-btn{
    grid-area:filter!important;
    order:initial!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    align-self:start!important;
    justify-self:start!important;
    width:42px!important;
    height:42px!important;
    margin:0 0 18px!important;
    padding:0!important;
    border:1px solid #dde3e8!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:none!important;
    z-index:1!important;
  }
  .rs-site .filters__mobile-btn img{
    width:19px!important;
    height:19px!important;
  }

  .rs-site .page-results{
    grid-area:results!important;
    order:initial!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    font-size:13px!important;
    line-height:18px!important;
    font-weight:400!important;
    color:#606870!important;
  }
  .rs-site .page-results__info{
    flex:0 0 auto!important;
    min-width:max-content!important;
    font-size:13px!important;
    line-height:18px!important;
    font-weight:400!important;
  }
  .rs-site .page-results__info strong{
    margin-left:4px!important;
    font-size:13px!important;
    font-weight:600!important;
    color:#111!important;
  }
  .rs-site .page-sort{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    font-size:13px!important;
    line-height:18px!important;
    font-weight:400!important;
    white-space:nowrap!important;
  }
  .rs-site .page-sort li.selected span{
    max-width:138px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:13px!important;
    line-height:18px!important;
    font-weight:600!important;
    color:#111!important;
  }

  .rs-site .manage-panel--edu>.flex{
    grid-area:list!important;
    order:initial!important;
    min-width:0!important;
  }

  /* Card typography on mobile */
  .rs-site .edu-card{
    margin-bottom:12px!important;
    padding:12px!important;
    column-gap:13px!important;
    row-gap:7px!important;
    border-radius:15px!important;
  }
  .rs-site .edu-card__meta{
    min-height:21px!important;
  }
  .rs-site .edu-card__format{
    padding:3px 7px!important;
    font-size:12px!important;
    line-height:16px!important;
    font-weight:550!important;
    color:#606870!important;
  }
  .rs-site .edu-card__title{
    margin:0!important;
    font-size:16px!important;
    line-height:20px!important;
    font-weight:700!important;
    letter-spacing:-.08px!important;
    color:#121416!important;
    -webkit-line-clamp:2!important;
  }
  .rs-site .edu-card__title a{
    font:inherit!important;
    color:inherit!important;
  }
  .rs-site .edu-card__text{
    font-size:14px!important;
    line-height:19px!important;
    font-weight:400!important;
    color:#606870!important;
    -webkit-line-clamp:3!important;
  }
  .rs-site .edu-card__footer{
    margin-top:4px!important;
    gap:8px!important;
  }
  .rs-site .edu-card__stats,
  .rs-site .edu-card__date,
  .rs-site .edu-card__views,
  .rs-site .edu-card__modules,
  .rs-site .edu-card__extra{
    gap:9px!important;
    font-size:12px!important;
    line-height:17px!important;
    font-weight:450!important;
    color:#6d747b!important;
  }
  .rs-site .edu-card__stat-icon{
    width:13px!important;
    height:13px!important;
    flex-basis:13px!important;
  }
  .rs-site .edu-card__btn{
    min-height:30px!important;
    padding:5px 9px!important;
    border-radius:8px!important;
    font-size:12px!important;
    line-height:16px!important;
    font-weight:600!important;
    box-shadow:none!important;
  }
  .rs-site .edu-card__btn--accept{
    background:#fff4c8!important;
    color:#171717!important;
  }

  /* Mobile filter drawer typography */
  .rs-site .filter-form__head .filter-form__title{
    font-size:16px!important;
    line-height:21px!important;
    font-weight:700!important;
  }
  .rs-site .filter-form__reset{
    font-size:12px!important;
    line-height:17px!important;
    font-weight:500!important;
  }
  .rs-site .filter-form__toggle{
    font-size:14px!important;
    line-height:19px!important;
    font-weight:600!important;
  }
  .rs-site .filter-form__unit label{
    font-size:13px!important;
    line-height:18px!important;
    font-weight:400!important;
  }
  .rs-site .filter-form__unit-inner>input[type="text"],
  .rs-site .filter-form__unit-inner label.date input[type="text"]{
    font-size:14px!important;
    line-height:18px!important;
  }
}

@media (max-width:430px){
  .rs-site:not(.rs-is-home) .rs-main>.container.content{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .rs-site .manage-panel--edu .tab-panel{
    gap:22px!important;
    margin-bottom:18px!important;
  }
  .rs-site .manage-panel--edu .tab-panel li a,
  .rs-site .manage-panel--edu .tab-panel li.active a{
    font-size:14px!important;
  }
  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{
    font-size:24px!important;
    line-height:29px!important;
  }
  .rs-site .page-results,
  .rs-site .page-results__info,
  .rs-site .page-results__info strong,
  .rs-site .page-sort,
  .rs-site .page-sort li.selected span{
    font-size:12.5px!important;
    line-height:17px!important;
  }
  .rs-site .page-sort li.selected span{max-width:122px!important}
  .rs-site .edu-card__format{font-size:11.5px!important;line-height:15px!important}
  .rs-site .edu-card__title{font-size:16px!important;line-height:20px!important}
  .rs-site .edu-card__text{font-size:13.5px!important;line-height:19px!important}
  .rs-site .edu-card__stats,
  .rs-site .edu-card__date,
  .rs-site .edu-card__views,
  .rs-site .edu-card__modules{font-size:12px!important;line-height:16px!important}
  .rs-site .edu-card__btn{font-size:12px!important;line-height:16px!important}
}

/* ===== LEARNING SECTION V8.7 — mobile top controls only =====
   Keep V8.6 cards and typography untouched.
   Mobile hierarchy: tabs -> title -> filter + count -> full sort row -> cards. */
@media (max-width:825px){
  .rs-site .manage-panel--edu{
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-areas:
      "tabs tabs"
      "title title"
      "filter info"
      "sort sort"
      "list list"!important;
    column-gap:12px!important;
    row-gap:0!important;
  }

  /* Tabs stay on one horizontal rail and never wrap. */
  .rs-site .manage-panel--edu .tab-panel{
    grid-area:tabs!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding:0 16px 0 0!important;
    gap:24px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-padding-inline:0 16px!important;
  }
  .rs-site .manage-panel--edu .tab-panel::-webkit-scrollbar{display:none!important}
  .rs-site .manage-panel--edu .tab-panel li{flex:0 0 auto!important}

  /* Title gets its own clean level. */
  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{
    grid-area:title!important;
    margin:0 0 14px!important;
  }

  /* Flatten the old combined result/sort wrapper so its children can occupy
     two independent rows in the parent grid. */
  .rs-site .page-results{
    display:contents!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }

  .rs-site .filters__mobile-btn{
    grid-area:filter!important;
    width:42px!important;
    height:42px!important;
    margin:0 0 10px!important;
    align-self:center!important;
  }

  .rs-site .page-results__info{
    grid-area:info!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0 0 10px!important;
    white-space:nowrap!important;
  }

  /* Sort gets a full row, so the selected value is never clipped. */
  .rs-site .page-sort,
  .rs-site .page-results:not(.page-results--company) .page-sort{
    grid-area:sort!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    justify-self:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:30px!important;
    margin:0 0 18px!important;
    padding:0!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-align:right!important;
  }
  .rs-site .page-sort li.selected{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .rs-site .page-sort li.selected span{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }

  .rs-site .manage-panel--edu>.flex{
    grid-area:list!important;
  }
}

@media (max-width:430px){
  .rs-site .manage-panel--edu .tab-panel{
    gap:22px!important;
    margin-bottom:16px!important;
  }
  .rs-site .page-sort,
  .rs-site .page-sort li.selected span{
    font-size:12px!important;
    line-height:17px!important;
  }
}

/* ===== LEARNING SECTION V8.8 — mobile filter close + safe edges/spacing =====
   Scope: mobile learning catalogue only. Cards/typography stay as approved in V8.6/V8.7. */
@media (max-width:825px){
  /* Keep every learning block inside the viewport and preserve complete borders. */
  .rs-site:not(.rs-is-home) .rs-main>.container.content{
    padding-left:12px!important;
    padding-right:12px!important;
    overflow-x:hidden!important;
  }
  .rs-site .edu-content,
  .rs-site .manage-panel--edu,
  .rs-site .manage-panel--edu>.flex,
  .rs-site .edu-list,
  .rs-site .edu-list .list-view,
  .rs-site .edu-list .items{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Consistent vertical rhythm: breadcrumb -> tabs -> title -> controls -> cards. */
  .rs-site .breadcrumb{
    margin:0 0 12px!important;
  }
  .rs-site .manage-panel--edu .tab-panel{
    margin-bottom:18px!important;
  }
  .rs-site .manage-panel--edu>.h2,
  .rs-site .manage-panel--edu .h2{
    margin-bottom:16px!important;
  }
  .rs-site .filters__mobile-btn,
  .rs-site .page-results__info{
    margin-bottom:12px!important;
  }
  .rs-site .page-sort,
  .rs-site .page-results:not(.page-results--company) .page-sort{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding:0 2px 0 0!important;
    overflow:visible!important;
  }

  /* Keep the sort value and chevron inside the right edge. */
  .rs-site .page-sort li.selected{
    position:relative!important;
    max-width:100%!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
  }
  .rs-site .page-sort li.selected span{
    display:block!important;
    max-width:calc(100vw - 185px)!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .rs-site .page-sort>li::after{
    top:3px!important;
    right:0!important;
    width:12px!important;
    height:12px!important;
  }
  .rs-site .page-sort ul{
    left:auto!important;
    right:0!important;
    max-width:calc(100vw - 24px)!important;
    box-sizing:border-box!important;
  }

  /* Cards must keep full rounded borders inside the mobile content width. */
  .rs-site .edu-card{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  /* Real mobile filter drawer. It sits above the bottom nav and can always be closed. */
  .rs-site .filters--edu{
    position:static!important;
  }
  .rs-site .filter-form{
    position:fixed!important;
    top:117px!important;
    left:-105vw!important;
    bottom:0!important;
    z-index:1602!important;
    width:min(394px,calc(100vw - 32px))!important;
    min-width:0!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    border:1px solid #dde3e8!important;
    border-left:0!important;
    border-radius:0 16px 0 0!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    opacity:0!important;
    visibility:hidden!important;
    transform:translateX(-8px)!important;
    transition:left .24s ease,opacity .2s ease,transform .24s ease,visibility .2s ease!important;
    box-shadow:16px 0 38px rgba(17,24,39,.16)!important;
  }
  .rs-site .filter-form.visible{
    left:0!important;
    opacity:1!important;
    visibility:visible!important;
    transform:translateX(0)!important;
  }
  /* Disable the old pseudo-backdrop; V8.8 uses a real clickable backdrop. */
  .rs-site .filter-form::after{
    display:none!important;
    content:none!important;
  }
  .rs-site .edu-filter-backdrop{
    display:block!important;
    position:fixed!important;
    top:117px!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    z-index:1601!important;
    background:rgba(15,20,26,.42)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .2s ease,visibility .2s ease!important;
    -webkit-tap-highlight-color:transparent;
  }
  .rs-site .filter-form.visible + .edu-filter-backdrop{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  /* Drawer header: title, reset action and an explicit close button. */
  .rs-site .filter-form__head{
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    min-height:52px!important;
    padding:0 10px 0 16px!important;
    background:#fff!important;
    border-bottom:1px solid #e7ebef!important;
    box-sizing:border-box!important;
  }
  .rs-site .filter-form__head .filter-form__title{
    flex:0 1 auto!important;
    min-width:0!important;
  }
  .rs-site .filter-form__reset{
    margin-left:auto!important;
    margin-right:4px!important;
  }
  .rs-site .filter-form__close{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:10px!important;
    background:#f4f6f7!important;
    color:#111!important;
    cursor:pointer!important;
    font:inherit!important;
    line-height:1!important;
    -webkit-tap-highlight-color:transparent;
  }
  .rs-site .filter-form__close::before,
  .rs-site .filter-form__close::after{
    content:"";
    position:absolute;
    width:16px;
    height:2px;
    border-radius:2px;
    background:#111;
  }
  .rs-site .filter-form__close::before{transform:rotate(45deg)}
  .rs-site .filter-form__close::after{transform:rotate(-45deg)}
  .rs-site .filter-form__close:active{background:#e9edef!important}

  /* Complete inner edges and safe bottom spacing above the fixed mobile navigation. */
  .rs-site .filter-form__inner{
    padding-left:16px!important;
    padding-right:16px!important;
    box-sizing:border-box!important;
  }
  .rs-site .filter-form__submit{
    width:calc(100% - 32px)!important;
    margin:16px 16px 96px!important;
    box-sizing:border-box!important;
  }
  body.no-scroll{
    overflow:hidden!important;
    touch-action:none;
  }
}

@media (min-width:826px){
  .rs-site .filter-form__close,
  .rs-site .edu-filter-backdrop{display:none!important}
}

@media (max-width:430px){
  .rs-site .page-sort li.selected span{
    max-width:calc(100vw - 180px)!important;
  }
}

/* ===== TEST MATERIAL V9.0 — approved detail-page direction ===== */
.rs-site .rs-test-page{
  min-width:0;
  flex:1 1 auto;
  font-family:var(--sfPro);
}
.rs-site .rs-test-hero{
  display:grid;
  grid-template-columns:minmax(420px,1.25fr) minmax(300px,.75fr);
  gap:28px;
  align-items:stretch;
  margin:0 0 24px;
  padding:18px;
  border:1px solid var(--rs-line);
  border-radius:16px;
  background:#fff;
  box-shadow:none;
}
.rs-site .rs-test-media{
  position:relative;
  min-width:0;
}
.rs-site .rs-test-main-photo{
  overflow:hidden;
  aspect-ratio:16/9;
  width:100%;
  border-radius:13px;
  background:#eef1f3;
}
.rs-site .rs-test-main-photo>a,
.rs-site .rs-test-main-photo>img{
  display:block;
  width:100%;
  height:100%;
}
.rs-site .rs-test-main-photo img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover;
  border-radius:0!important;
}
.rs-site .rs-test-media-actions{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  display:flex;
  gap:8px;
}
.rs-site .rs-test-icon-btn,
.rs-site .test-card__share.rs-test-icon-btn,
.rs-site .test-card__fav.rs-test-icon-btn{
  position:static!important;
  display:grid!important;
  place-items:center;
  width:40px!important;
  height:40px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(25,28,31,.12)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.94)!important;
  color:#151719;
  box-shadow:0 4px 14px rgba(21,25,28,.10);
  backdrop-filter:blur(8px);
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.rs-site .rs-test-icon-btn:hover{
  transform:translateY(-1px);
  background:#fff!important;
  box-shadow:0 6px 18px rgba(21,25,28,.14);
}
.rs-site .rs-test-icon-btn svg{
  width:20px!important;
  height:20px!important;
  display:block;
}
.rs-site .rs-test-icon-btn.fav--active{
  background:#fff8d9!important;
  border-color:#e7c63b!important;
}
.rs-site .rs-test-icon-btn.fav--active svg path{
  fill:var(--rs-yellow)!important;
  stroke:#151719!important;
}
.rs-site .rs-test-icon-btn.is-copied{
  background:#fff8d9!important;
  border-color:#e7c63b!important;
}
.rs-site .rs-test-thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:9px;
}
.rs-site .rs-test-thumb{
  display:block;
  width:72px;
  height:52px;
  overflow:hidden;
  border:1px solid var(--rs-line);
  border-radius:8px;
  background:#fff;
}
.rs-site .rs-test-thumb img{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover;
}
.rs-site .rs-test-summary,
.rs-site .test-card__inner.rs-test-summary{
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  row-gap:0;
  padding:6px 2px 2px;
}
.rs-site .rs-test-meta,
.rs-site .test-card__stats.rs-test-meta{
  order:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:6px;
  width:100%;
  margin:0 0 13px;
  color:#737a80;
  font-size:12.5px;
  line-height:1.35;
  font-weight:500;
}
.rs-site .rs-test-meta__item{
  display:inline-flex!important;
  align-items:center;
  gap:4px!important;
}
.rs-site .rs-test-meta__type{
  color:#4b5157;
  font-weight:650;
}
.rs-site .rs-test-meta__dot{
  color:#b2b7bc;
}
.rs-site .rs-test-meta__views svg{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px;
}
.rs-site .rs-test-heading,
.rs-site .test-card__heading.rs-test-heading{
  display:block;
  margin:0;
}
.rs-site .rs-test-title,
.rs-site .rs-test-heading .h2{
  display:block!important;
  overflow:visible!important;
  margin:0!important;
  color:#151719;
  font-family:var(--sfPro);
  font-size:27px!important;
  line-height:1.18!important;
  font-weight:760!important;
  letter-spacing:-.02em;
  text-transform:none!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
}
.rs-site .rs-test-time{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  color:#555c62;
  font-family:var(--sfPro);
  font-size:13px;
  line-height:1.4;
  font-weight:500;
}
.rs-site .rs-test-time svg{
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.rs-site .rs-test-start,
.rs-site .test-card__info.rs-test-start{
  width:100%;
  margin-top:auto;
  padding-top:22px;
  display:block;
}
.rs-site .rs-test-start form{
  width:100%;
  margin:0;
}
.rs-site .rs-test-settings{
  overflow:hidden;
  width:100%;
  margin:0 0 14px;
  border:1px solid #e4e8eb;
  border-radius:12px;
  background:#f7f8f9;
}
.rs-site .rs-test-settings__title{
  padding:11px 13px 8px;
  color:#202428;
  font-size:12px;
  line-height:1.25;
  font-weight:760;
}
.rs-site .rs-test-setting,
.rs-site .test-card__label.rs-test-setting{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-height:48px;
  margin:0!important;
  padding:10px 13px;
  border-top:1px solid #e7eaed;
  color:#30353a;
  font-family:var(--sfPro);
  font-size:12.5px;
  line-height:1.35;
  font-weight:520;
  cursor:pointer;
}
.rs-site .rs-test-setting__text{
  min-width:0;
  padding:0!important;
}
.rs-site .rs-test-setting__text:before,
.rs-site .rs-test-setting__text:after{
  content:none!important;
}
.rs-site .rs-test-switch{
  position:relative;
  flex:0 0 42px;
  width:42px;
  height:24px;
  padding:0!important;
}
.rs-site .rs-test-switch:before,
.rs-site .rs-test-switch:after{
  content:none!important;
}
.rs-site .rs-test-switch input{
  position:absolute!important;
  inset:0;
  z-index:2;
  width:42px;
  height:24px;
  margin:0!important;
  opacity:0;
  cursor:pointer;
  appearance:none;
}
.rs-site .rs-test-switch__track{
  position:absolute;
  inset:0;
  padding:0!important;
  border:1px solid #c7cdd2;
  border-radius:999px;
  background:#dfe3e6;
  transition:background .18s ease,border-color .18s ease;
}
.rs-site .rs-test-switch__track:before{
  content:""!important;
  position:absolute!important;
  top:3px!important;
  left:3px!important;
  width:16px!important;
  height:16px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(0,0,0,.20);
  transform:none!important;
  transition:left .18s ease!important;
}
.rs-site .rs-test-switch__track:after{
  content:none!important;
}
.rs-site .rs-test-switch input:checked + .rs-test-switch__track{
  border-color:#d9b61f;
  background:var(--rs-yellow);
}
.rs-site .rs-test-switch input:checked + .rs-test-switch__track:before{
  left:21px!important;
  background:#fff!important;
}
.rs-site .rs-test-setting--select{
  cursor:default;
}
.rs-site .rs-test-select{
  min-width:150px;
  max-width:52%;
  height:34px;
  padding:0 30px 0 10px;
  border:1px solid #ccd2d7;
  border-radius:8px;
  background:#fff;
  color:#23272b;
  font-family:var(--sfPro);
  font-size:12px;
  outline:none;
}
.rs-site .rs-test-primary,
.rs-site .test-card__start-test.rs-test-primary{
  width:100%;
  min-height:48px;
  margin:0!important;
  padding:0 20px!important;
  border:1px solid #d4af18!important;
  border-radius:10px!important;
  background:var(--rs-yellow)!important;
  box-shadow:none!important;
  color:#111!important;
  font-family:var(--sfPro)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.01em;
  text-transform:none!important;
}
.rs-site .rs-test-primary:hover{
  filter:brightness(.985);
}
.rs-site .rs-test-secondary,
.rs-site .test-card__start-continue.rs-test-secondary{
  width:100%;
  min-height:44px;
  margin:9px 0 0!important;
  padding:0 18px!important;
  border:1px solid #d8dde1!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#202428!important;
  font-size:12.5px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.rs-site .rs-test-section,
.rs-site .test-view__box.rs-test-section{
  margin:0 0 18px;
  padding:22px 24px;
  border:1px solid var(--rs-line);
  border-radius:14px;
  background:#fff;
  box-shadow:none;
  color:#33383d;
  font-family:var(--sfPro);
  font-size:14px;
  line-height:1.62;
  font-weight:400;
}
.rs-site .rs-test-section .h3{
  margin:0 0 13px!important;
  color:#171a1d;
  font-family:var(--sfPro);
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:760!important;
  text-transform:none!important;
}
.rs-site .rs-test-section__text{
  max-width:920px;
}
.rs-site .rs-test-characteristics table{
  width:100%;
  border-collapse:collapse;
  color:#34393e;
  font-family:var(--sfPro);
  font-size:13.5px;
  line-height:1.45;
  font-weight:400;
}
.rs-site .rs-test-characteristics table tr{
  border-bottom:1px solid #edf0f2;
  background:#fff;
}
.rs-site .rs-test-characteristics table tr:last-child{
  border-bottom:0;
}
.rs-site .rs-test-characteristics table td{
  width:50%;
  padding:10px 0;
  vertical-align:top;
}
.rs-site .rs-test-characteristics table td:first-child{
  padding-right:18px;
  color:#6d747a;
}
.rs-site .rs-test-characteristics table strong{
  color:#24282c;
  font-weight:650;
}

@media(max-width:1180px){
  .rs-site .rs-test-hero{
    grid-template-columns:minmax(360px,1fr) minmax(280px,.8fr);
    gap:20px;
  }
  .rs-site .rs-test-title,
  .rs-site .rs-test-heading .h2{
    font-size:24px!important;
  }
}

@media(max-width:1020px){
  .rs-site .rs-test-hero{
    grid-template-columns:1fr;
  }
  .rs-site .rs-test-start{
    margin-top:0;
  }
}

@media(max-width:825px){
  .rs-site .content.flex:has(.rs-test-page){
    display:block!important;
  }
  .rs-site .rs-test-page{
    width:100%!important;
    max-width:100%!important;
  }
  .rs-site .rs-test-hero,
  .rs-site .test-card.rs-test-hero{
    display:block!important;
    width:100%!important;
    margin:0 0 28px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .rs-site .rs-test-main-photo{
    aspect-ratio:16/9;
    border-radius:13px;
  }
  .rs-site .rs-test-media-actions{
    top:10px;
    right:10px;
    gap:7px;
  }
  .rs-site .rs-test-icon-btn,
  .rs-site .test-card__share.rs-test-icon-btn,
  .rs-site .test-card__fav.rs-test-icon-btn{
    width:38px!important;
    height:38px!important;
  }
  .rs-site .rs-test-icon-btn svg{
    width:19px!important;
    height:19px!important;
  }
  .rs-site .rs-test-thumbs{
    margin-top:8px;
  }
  .rs-site .rs-test-summary,
  .rs-site .test-card__inner.rs-test-summary{
    padding:13px 0 0!important;
  }
  .rs-site .rs-test-meta,
  .rs-site .test-card__stats.rs-test-meta{
    order:0!important;
    margin:0 0 11px!important;
    gap:5px!important;
    color:#747b81!important;
    font-size:11.5px!important;
    line-height:1.35!important;
    justify-content:flex-start!important;
  }
  .rs-site .rs-test-meta__item{
    width:auto!important;
    gap:3px!important;
  }
  .rs-site .rs-test-meta__views svg{
    width:14px!important;
    height:14px!important;
  }
  .rs-site .rs-test-title,
  .rs-site .rs-test-heading .h2{
    margin:0!important;
    font-size:22px!important;
    line-height:1.26!important;
    font-weight:760!important;
    letter-spacing:-.018em!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
    overflow:visible!important;
  }
  .rs-site .rs-test-time{
    margin-top:13px;
    font-size:12px;
  }
  .rs-site .rs-test-start,
  .rs-site .test-card__info.rs-test-start{
    padding-top:17px;
  }
  .rs-site .rs-test-settings{
    margin-bottom:12px;
    border-radius:11px;
  }
  .rs-site .rs-test-settings__title{
    padding:10px 12px 8px;
    font-size:11.5px;
  }
  .rs-site .rs-test-setting,
  .rs-site .test-card__label.rs-test-setting{
    min-height:48px;
    padding:10px 12px;
    font-family:var(--sfPro)!important;
    font-size:12.5px!important;
    line-height:1.35!important;
    font-weight:520!important;
  }
  .rs-site .rs-test-switch{
    flex-basis:42px;
  }
  .rs-site .rs-test-primary,
  .rs-site .test-card__start-test.rs-test-primary{
    min-height:50px;
    border-radius:10px!important;
    font-family:var(--sfPro)!important;
    font-size:13px!important;
    font-weight:800!important;
    text-transform:none!important;
  }
  .rs-site .rs-test-section,
  .rs-site .test-view__box.rs-test-section{
    margin:0 0 28px!important;
    padding:0 0 22px!important;
    border:0!important;
    border-bottom:1px solid #e1e5e8!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:14px!important;
    line-height:1.58!important;
    font-weight:400!important;
  }
  .rs-site .rs-test-section .h3{
    margin-bottom:11px!important;
    font-size:20px!important;
    line-height:1.25!important;
    font-weight:760!important;
  }
  .rs-site .rs-test-characteristics table{
    font-size:13px!important;
    line-height:1.4!important;
  }
  .rs-site .rs-test-characteristics table tr{
    border-bottom:1px solid #e7eaed!important;
  }
  .rs-site .rs-test-characteristics table td{
    width:50%!important;
    padding:9px 0!important;
  }
  .rs-site .rs-test-characteristics table td:first-child{
    padding-right:14px!important;
  }
  .rs-site #flyHotBlock{
    margin-top:0!important;
  }
}

@media(max-width:390px){
  .rs-site .rs-test-title,
  .rs-site .rs-test-heading .h2{
    font-size:21px!important;
  }
  .rs-site .rs-test-meta{
    font-size:11px!important;
  }
}
/* ===== END TEST MATERIAL V9.0 ===== */

/* ========================================================================== */
/* 1SAFETY REDESIGN V9.8.1 — GLOBAL BUTTON PRESS / FOCUS                      */
/* Scope: the whole redesign theme, including legacy/admin pages using it.    */
/* ========================================================================== */

:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .button,
  [role="button"],
  a[class*="btn"],
  a[class*="button"],
  a[class*="cta"]
) {
  -webkit-tap-highlight-color: transparent;
}

:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .button,
  [role="button"],
  a[class*="btn"],
  a[class*="button"],
  a[class*="cta"]
):focus {
  outline: none !important;
}

:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .button,
  [role="button"],
  a[class*="btn"],
  a[class*="button"],
  a[class*="cta"]
):focus-visible,
:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .button,
  [role="button"],
  a[class*="btn"],
  a[class*="button"],
  a[class*="cta"]
):active {
  outline: none !important;
  box-shadow: none !important;
  background-color: #f6f6f6 !important;
}
