/* Mobile layout only; the existing brand fonts and desktop styles stay in place. */
.course-reference-description .course-description-list { list-style:none; padding:0; margin:0; direction:rtl; text-align:right; }
.course-reference-description .course-description-list li { display:flex; align-items:flex-start; gap:12px; padding:18px 0; border-bottom:1px solid #ffffff12; line-height:1.9; }
.course-reference-description .course-description-list li:last-child { border-bottom:0; }
.course-reference-description .course-description-list svg { flex:0 0 20px; width:20px; height:20px; margin-top:5px; color:currentColor; }
.course-reference-description .course-description-list span { min-width:0; overflow-wrap:anywhere; }
@media (max-width: 980px) {
  .site-header.classic-header { position:relative !important; z-index:1000; width:100% !important; min-height:80px !important; padding:8px 0 !important; }
  .site-header.classic-header .nav-shell { position:relative; display:grid !important; grid-template-columns:56px minmax(0,1fr) 44px !important; width:calc(100% - 24px) !important; gap:8px !important; padding:0 !important; align-items:center !important; }
  .site-header.classic-header .brand { grid-column:1; grid-row:1; width:56px !important; height:56px !important; margin:0 !important; }
  .site-header.classic-header .brand img { width:56px !important; height:56px !important; }
  .site-header.classic-header .header-actions { grid-column:2 !important; grid-row:1 !important; justify-self:center; min-width:0; }
  .site-header.classic-header .classic-header-auth { gap:5px; flex-wrap:wrap; justify-content:center; }
  .site-header.classic-header .btn-classic-login,
  .site-header.classic-header .btn-classic-register,
  .site-header.classic-header .account-button,
  .site-header.classic-header .account-logout { min-height:40px !important; min-width:0 !important; padding:8px 10px !important; font-size:12px !important; margin:0 !important; }
  .site-header.classic-header .nav-toggle { display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:5px; grid-column:3 !important; grid-row:1 !important; width:44px; height:44px; padding:10px; border:1px solid #7c958b; border-radius:10px; background:transparent; justify-self:end; }
  .site-header.classic-header .nav-toggle span { display:block; width:22px; height:2px; margin:0; background:#fff; }
  .site-header.classic-header .account-logout { color:#fff; border-color:#7c958b; }
  .site-header.classic-header .main-nav { display:none !important; position:absolute !important; top:calc(100% + 12px) !important; inset-inline:0 !important; width:100% !important; margin:0 !important; padding:12px !important; background:#09281e !important; border:1px solid #315346 !important; border-radius:14px; box-shadow:0 16px 32px #0006 !important; max-height:calc(100dvh - 108px); overflow-y:auto; overscroll-behavior:contain; }
  .site-header.classic-header .main-nav { bottom:auto !important; height:auto !important; flex-wrap:nowrap !important; box-sizing:border-box; overflow-x:hidden; }
  .site-header.classic-header .main-nav.open { display:flex !important; flex-direction:column !important; align-items:stretch !important; gap:3px !important; }
  .site-header.classic-header .main-nav > a,
  .site-header.classic-header .main-nav .course-nav-menu { width:100%; margin:0; border:0 !important; padding:0 !important; flex-shrink:0; }
  .site-header.classic-header .main-nav > a,
  .site-header.classic-header .main-nav .course-nav-menu summary,
  .site-header.classic-header .main-nav .course-nav-menu a { display:flex; align-items:center; min-height:46px; padding:10px 12px !important; font-size:15px !important; white-space:normal !important; color:#fff !important; border-radius:8px; }
  .site-header.classic-header .main-nav > a:hover,
  .site-header.classic-header .main-nav > a:focus-visible { background:#134b39; color:#fff !important; }
  .site-header.classic-header .main-nav .course-nav-menu > div { position:static !important; width:100% !important; min-width:0; margin:0 !important; padding:4px 12px; border:0; background:#103b2b; box-shadow:none; }
  .site-header.classic-header .main-nav .course-nav-menu:not([open]) > div { display:none !important; }
  .site-header.classic-header .main-nav .course-nav-menu[open] > div { display:block !important; }
  body:has(.main-nav.open) .rk-support-root { display:none !important; }
}
@media (max-width: 700px) {
  .react-editor-page .page-head h1 { font-size:29px; line-height:1.5; }
  .course-editor-tabs { grid-template-columns:repeat(2,minmax(0,1fr)) !important; grid-auto-flow:row !important; grid-auto-columns:auto !important; overflow:visible !important; }
  .course-editor-tabs button { min-width:0; min-height:46px; padding:10px 6px; white-space:normal; }
  .course-reference-description .course-description-list li { padding:14px 0; gap:10px; font-size:16px; }
  .shell { max-width:calc(100% - 28px); }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size:16px !important; max-width:100%; }
  input[type=file] { width:100%; min-width:0; }
  .auth-section { padding:32px 0 60px; }
  .auth-section .auth-shell { grid-template-columns:minmax(0,1fr); gap:24px; }
  .auth-section .auth-copy { text-align:center; }
  .auth-section .auth-copy h1 { font-size:34px; line-height:1.4; margin:8px 0; }
  .auth-section .auth-copy p { font-size:16px; margin:8px 0; }
  .auth-section .auth-card { min-width:0; padding:22px 18px; }
  .auth-section .auth-card form { min-width:0; }
  .auth-section .auth-remember { display:flex; align-items:center; gap:8px; min-height:40px; }
  .auth-section .auth-remember input { width:20px; height:20px; }
  .classic-hero { padding:24px 0 20px !important; }
  .classic-hero .classic-hero-grid { width:calc(100% - 28px) !important; max-width:none; gap:28px !important; }
  .classic-hero .classic-hero-grid > .classic-hero-copy { order:1 !important; width:100%; min-width:0; }
  .classic-hero .classic-hero-grid > .classic-hero-visual { order:2 !important; width:min(100%,250px) !important; }
  .classic-hero .classic-hero-grid > .classic-proof { order:3 !important; }
  .classic-hero .classic-hero-copy .eyebrow { font-size:14px; line-height:1.8; margin:0 0 10px; }
  .classic-hero .classic-hero-copy h1 { white-space:normal; font-size:clamp(32px,10vw,44px); line-height:1.4; }
  .classic-hero .classic-hero-copy .hero-subtitle { font-size:16px; line-height:1.8; margin-top:10px; }
  .classic-hero .classic-services { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:9px !important; margin-top:20px; }
  .classic-hero .classic-services a.classic-service-btn { min-width:0; min-height:46px; padding:9px 6px; font-size:14px; white-space:normal; }
  .classic-hero .classic-services a:last-child:nth-child(odd) { grid-column:1 / -1; }
  .classic-hero .classic-proof { gap:18px; padding:22px 14px; }
  .classic-hero .classic-proof .stats { width:100%; justify-content:space-around; gap:8px; }
  .classic-hero .classic-proof .stat { min-width:0; }
  .classic-hero .classic-proof .stat strong { font-size:27px; }
  .classic-hero .classic-proof .stat span { font-size:12px; }
  .classic-hero .classic-proof .student-cloud { width:210px; }
  .course-detail-page .course-showcase-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .course-detail-page .classic-course-heading h1 { font-size:26px; line-height:1.5; overflow-wrap:anywhere; }
  .classic-course-card .course-footer.classic-course-footer { flex-wrap:wrap !important; gap:12px !important; padding:14px 16px !important; }
  .classic-course-card .classic-course-start-btn { min-height:44px !important; }
  .course-curriculum-row { min-width:0; flex-wrap:wrap; }
  .course-curriculum-row strong { overflow-wrap:anywhere; }
  .page-hero { padding:32px 0; }
  .offers-grid, .product-grid, .article-grid { grid-template-columns:minmax(0,1fr); }
  .offer-card, .offer-body, .detail-copy, .content-page, .lesson-main, .lesson-sidebar { min-width:0; }
  .cert-page-wrapper .cert-header { margin-bottom:28px; }
  .cert-page-wrapper .cert-title { font-size:30px; line-height:1.4; }
  .cert-page-wrapper .cert-subtitle { font-size:16px; }
  .offline-body .mat-levels-grid, .offline-body .coach-levels-grid { gap:12px; }
  .offline-body .mat-page-heading h1, .offline-body .coach-page-heading h1 { font-size:27px; }
  .footer-shell { padding-bottom:70px; }
  .footer-links { display:flex; flex-wrap:wrap; gap:8px 16px; }
  .footer-links a { display:inline-flex; align-items:center; min-height:40px; }
  .rk-support-root { right:12px !important; bottom:max(12px,env(safe-area-inset-bottom)) !important; }
  .rk-support-root .rk-prompt-bubble { display:none !important; }
  .rk-support-root .rk-floating-dock { gap:8px; }
  .rk-support-root .rk-support-toggle, .rk-support-root .rk-phone-toggle { width:44px; height:44px; }
  .rk-support-root .rk-support-toggle svg.icon-chat { width:25px; height:25px; }
  .rk-support-root .rk-chat-window { width:calc(100vw - 24px); max-width:calc(100vw - 24px); height:min(600px,calc(100dvh - 88px)); bottom:58px; }
  .to-top { right:auto; left:12px; bottom:14px; width:44px; height:44px; }
  .lesson-page-body .lesson-workspace { grid-template-columns:minmax(0,1fr); }
  .lesson-page-body .lesson-tabs { max-width:100%; overflow-x:auto; flex-wrap:nowrap; }
  .lesson-page-body .lesson-tabs button { flex-shrink:0; min-height:44px; }
  .lesson-page-body .lesson-main iframe, .lesson-page-body .lesson-main video { max-width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .rk-support-root .rk-phone-toggle { animation:none; }
}
