/*
Theme Name: Astra
Template: astra
Version: 1.1.0
*/

/* Academy visual system: dark engineering console + warm learning accent */
:root{
  --ash-ink:#101828;
  --ash-ink-2:#172033;
  --ash-muted:#667085;
  --ash-line:#e4e7ec;
  --ash-bg:#f6f8fb;
  --ash-card:#ffffff;
  --ash-accent:#f59e0b;
  --ash-accent-dark:#b45309;
  --ash-blue:#2563eb;
  --ash-dark:#0b1220;
  --ash-dark-2:#111b2e;
  --ash-success:#16a34a;
  --ash-radius:14px;
}

html{scroll-behavior:smooth}
body.ash-academy-shell{
  margin:0!important;
  background:var(--ash-bg);
  color:var(--ash-ink);
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.ash-academy-shell #page{min-height:100vh;display:flex;flex-direction:column}
body.ash-academy-shell .ash-main{flex:1}
.ash-container{width:min(1180px,calc(100% - 40px));margin:auto}

/* Header */
.ash-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--ash-line);
  box-shadow:0 1px 0 rgba(16,24,40,.03);
}
.ash-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.ash-brand{display:inline-flex;align-items:center;gap:11px;color:var(--ash-ink);text-decoration:none!important;line-height:1.05;flex-shrink:0}
.ash-brand-mark{
  width:40px;height:40px;border-radius:10px;display:grid;place-items:center;
  color:#111827;font-weight:900;background:var(--ash-accent);
  box-shadow:0 7px 18px rgba(245,158,11,.24)
}
.ash-brand strong{display:block;font-size:15px;letter-spacing:-.01em}
.ash-brand small{display:block;margin-top:3px;color:var(--ash-muted);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ash-nav-label{
  margin-left:auto;
  padding:6px 10px;border-radius:999px;
  background:#fff7e6;color:#9a6700;
  font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;
}
.ash-nav{display:flex;align-items:center;gap:20px}
.ash-nav a{color:#344054;text-decoration:none!important;font-size:14px;font-weight:700;white-space:nowrap}
.ash-nav a:hover{color:var(--ash-blue)}
.ash-nav .ash-nav-cta{
  padding:11px 17px;border-radius:9px;background:var(--ash-ink);color:#fff;
  box-shadow:0 5px 14px rgba(16,24,40,.16)
}
.ash-nav .ash-nav-cta:hover{background:#25324a;color:#fff}

/* Generic pages */
.ash-main{min-height:60vh}
.ash-page-wrap{padding:48px 0}
.ash-entry-header{margin-bottom:28px}
.ash-entry-header h1{font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-.04em;color:var(--ash-ink);margin:0}
.ash-entry-content{font-size:16px;line-height:1.75}
.ash-entry-content h2{margin-top:42px;font-size:30px;letter-spacing:-.025em}
.ash-entry-content h3{margin-top:32px;font-size:22px}
.ash-entry-content a{color:var(--ash-blue);font-weight:650}

/* Academy content cards */
.ash-card{
  background:var(--ash-card);
  border:1px solid var(--ash-line);
  border-radius:var(--ash-radius);
  box-shadow:0 8px 25px rgba(16,24,40,.05);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.ash-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(16,24,40,.09);border-color:#cbd5e1}

/* Tutor LMS course surfaces */
.tutor-wrap,.tutor-course-details,.tutor-course-single-content-wrapper{color:var(--ash-ink)}
.tutor-course-card,.tutor-card{
  border:1px solid var(--ash-line)!important;
  border-radius:var(--ash-radius)!important;
  box-shadow:0 8px 25px rgba(16,24,40,.05)!important;
  overflow:hidden;
}
.tutor-course-card:hover,.tutor-card:hover{border-color:#cbd5e1!important}
.tutor-btn,.tutor-button{
  border-radius:9px!important;
  font-weight:750!important;
}
.tutor-btn-primary,.tutor-button-primary{
  background:var(--ash-blue)!important;
  border-color:var(--ash-blue)!important;
}
.tutor-course-single-sidebar-wrapper{
  border-left:1px solid var(--ash-line);
}
.tutor-course-single-content-wrapper .tutor-course-topic-item{
  border-radius:8px;
}
.tutor-course-single-content-wrapper .tutor-course-topic-item:hover{
  background:#f8fafc;
}

/* Footer */
.ash-footer{margin-top:70px;background:var(--ash-dark);color:#cbd5e1}
.ash-footer-grid{padding:56px 0 44px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px}
.ash-footer-brand{color:#fff}
.ash-footer p{max-width:480px;margin:18px 0 0;color:#98a2b3;line-height:1.7;font-size:14px}
.ash-footer h4{margin:4px 0 15px;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.ash-footer-grid>div:not(:first-child) a{display:block;margin:11px 0;color:#98a2b3;text-decoration:none;font-size:14px}
.ash-footer-grid>div:not(:first-child) a:hover{color:#fff}
.ash-footer-bottom{border-top:1px solid rgba(152,162,179,.15)}
.ash-footer-bottom .ash-container{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#667085}

/* Mobile */
@media(max-width:900px){
  .ash-nav-label{display:none}
  .ash-nav{gap:13px}
  .ash-nav a:nth-child(4){display:none}
}
@media(max-width:700px){
  .ash-container{width:min(100% - 28px,1180px)}
  .ash-header-inner{min-height:68px}
  .ash-nav{gap:9px;overflow-x:auto;max-width:58vw;scrollbar-width:none}
  .ash-nav::-webkit-scrollbar{display:none}
  .ash-nav a{font-size:12px}
  .ash-nav a:nth-child(5){display:none}
  .ash-nav .ash-nav-cta{padding:9px 12px}
  .ash-page-wrap{padding:34px 0}
  .ash-footer-grid{grid-template-columns:1fr;gap:30px}
  .ash-footer-bottom .ash-container{padding:16px 0;align-items:flex-start;flex-direction:column}
}
