/* FashionKIC Learning Platform — public course information page.
   Standalone stylesheet; does not override Moodle core styles. */
:root {
  --brand: #0b5229;
  --brand-strong: #064326;
  --brand-soft: #edf5ee;
  --ink: #1d3026;
  --body-text: #4d6155;
  --muted: #697b70;
  --border: #e2e9e4;
  --surface: #fff;
  --canvas: #f7f9f8;
  --focus: #d7ac58;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.shell{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.skip-link{position:absolute;left:20px;top:-80px;z-index:50;background:var(--brand);color:white;border-radius:8px;padding:10px 15px}
.skip-link:focus{top:12px}
/* Moodle-inspired, uncomplicated navigation with official logo */
.site-header{background:white;border-bottom:1px solid var(--border);box-shadow:0 2px 12px rgba(26,62,35,.03)}
.header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:18px;min-width:0}
.brand-logo{display:block;width:163px;height:auto;flex-shrink:0}
.brand-divider{height:30px;width:1px;background:#d9e2dc;flex-shrink:0}
.brand-division{font-size:13px;font-weight:700;letter-spacing:.02em;color:#435a4b;white-space:nowrap}
.header-nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:650}
.nav-courses{color:var(--ink);white-space:nowrap}
.nav-courses:hover{color:var(--brand)}
.nav-login{background:var(--brand);color:white;border:1px solid var(--brand);border-radius:8px;padding:10px 17px;white-space:nowrap;display:inline-flex;gap:14px;align-items:center;transition:background .15s}
.nav-login:hover{background:var(--brand-strong)}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:25px 0 20px;color:#748579;font-size:13px}
.breadcrumbs a{font-weight:650;color:var(--brand)}
.breadcrumbs a:hover{text-decoration:underline}
/* Course banner supplied by user */
.hero{line-height:0;overflow:hidden;border-radius:14px;border:1px solid #e5ece7;background:#fff;box-shadow:0 12px 36px rgba(18,55,33,.05)}
.hero picture,.hero img{display:block;width:100%;height:auto}
/* Course heading */
.intro-topline{display:flex;align-items:center;margin-top:34px}
.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--brand)}
.eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#78a781;margin:0 7px 1px 0}
h1{font-size:clamp(34px,4vw,49px);line-height:1.16;letter-spacing:-.038em;color:#153f2b;font-weight:760;margin:10px 0 13px;max-width:900px}
.subtitle{font-size:17px;line-height:1.7;color:var(--body-text);max-width:825px;margin:0}
.on-page{display:flex;flex-wrap:wrap;gap:11px;border-bottom:1px solid var(--border);padding-bottom:23px;margin:29px 0 37px}
.on-page a{background:white;color:var(--brand);border:1px solid #d6e4da;border-radius:8px;padding:9px 15px;font-weight:650;font-size:13px;transition:background .15s,border-color .15s}
.on-page a:hover{background:var(--brand-soft);border-color:#b8d4c1}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:36px;margin-bottom:67px}
.main-column{min-width:0}
.content-section{scroll-margin-top:28px;margin-bottom:33px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:30px 30px 32px;box-shadow:0 4px 16px rgba(21,57,35,.025)}
.section-heading{display:flex;align-items:center;gap:13px;margin-bottom:21px}
.section-index{display:grid;place-items:center;background:#e6f1e9;border:1px solid #d9e8dd;border-radius:8px;width:35px;height:35px;flex:none;color:var(--brand);font-weight:800;font-size:12px}
.section-heading h2{margin:0;font-size:26px;line-height:1.25;font-weight:750;letter-spacing:-.025em;color:#143d29}
.overview-text{margin:0;font-size:15px;line-height:1.9;color:var(--body-text)}
/* Optional three-stage summary; course terminology unchanged */
.journey-section{background:var(--brand-soft);border:1px solid #dae8dd;border-radius:14px;padding:25px 23px;margin-bottom:33px}
.journey-head h3{font-size:21px;color:#163e2b;letter-spacing:-.015em;margin:4px 0 19px;line-height:1.35}
.journey-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.journey-card{background:white;border:1px solid #dfe8e1;border-radius:11px;padding:16px 14px 17px;min-width:0}
.journey-number{font-size:10px;letter-spacing:.055em;font-weight:800;text-transform:uppercase;color:#59836a}
.journey-icon{display:block;height:41px;color:#407b56;margin:11px 0 8px}
.journey-card h4{margin:0 0 7px;color:#1a462e;font-size:14px;line-height:1.3}
.journey-card p{margin:0;font-size:12px;line-height:1.65;color:#617366}
.section-lead{margin:0 0 12px;color:var(--body-text);font-size:14px}
.learning-list{list-style:none;margin:0;padding:0}
.learning-list li{display:flex;align-items:flex-start;gap:13px;padding:14px 0;border-bottom:1px solid #edf0ed;font-size:14px;line-height:1.75;color:var(--body-text)}
.learning-list li:last-child{border-bottom:0;padding-bottom:0}
.item-check{display:grid;place-items:center;background:#e9f4ed;color:var(--brand);border-radius:50%;width:23px;height:23px;font-size:13px;font-weight:750;line-height:1;flex-shrink:0;margin-top:1px}
/* Single course-access callout; redundant status list and bottom CTA removed */
.sidebar{position:sticky;top:22px}
.access-card{background:white;border:1px solid #dbe7dd;border-top:4px solid var(--brand);border-radius:14px;padding:26px 24px 22px;box-shadow:0 9px 28px rgba(17,69,31,.045)}
.access-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--brand-soft);color:var(--brand);margin-bottom:18px}
.access-overline{font-size:11px;letter-spacing:.11em;font-weight:800;color:#52815f;margin:0 0 9px}
.access-card h2{color:#19452e;font-size:23px;line-height:1.28;letter-spacing:-.026em;margin:0 0 12px}
.access-card>p:not(.access-overline):not(.access-note){font-size:14px;line-height:1.75;color:var(--body-text);margin:0 0 23px}
.btn{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid transparent;border-radius:8px;padding:12px 14px;font-size:13px;font-weight:700;line-height:1.3;transition:background .15s,border-color .15s}
.btn-primary{color:white;background:var(--brand);border-color:var(--brand);margin-bottom:10px}
.btn-primary:hover{background:var(--brand-strong)}
.btn-outline{color:var(--brand);background:white;border-color:#bdd7c6}
.btn-outline:hover{background:var(--brand-soft)}
.access-note{display:flex;align-items:flex-start;gap:8px;font-size:12px!important;color:#758579!important;border-top:1px solid #e9eee9;padding-top:17px;margin:19px 0 0!important;line-height:1.55!important}
.access-note svg{flex:none;margin-top:2px}
.site-footer{border-top:1px solid var(--border);background:white;padding:22px 0 26px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;font-size:13px;color:var(--muted)}
.footer-inner p{margin:0}
.footer-inner strong{color:var(--brand);font-size:15px;margin-right:6px}
.footer-inner a{font-weight:700;color:var(--brand)}
.footer-inner a:hover{text-decoration:underline}
@media(max-width:1020px){
  .content-layout{grid-template-columns:minmax(0,1fr) 285px;gap:20px}
  .journey-cards{grid-template-columns:1fr}
  .journey-card{display:grid;grid-template-columns:55px 1fr;column-gap:8px}
  .journey-number{grid-column:1 / -1}
  .journey-icon{grid-row:2 / span 2;grid-column:1}
  .journey-card h4,.journey-card p{grid-column:2}
  .brand-logo{width:150px}
}
@media(max-width:760px){
  .shell{width:min(100% - 32px,570px)}
  .header-inner{min-height:78px;gap:8px}
  .brand{gap:10px}
  .brand-logo{width:125px}
  .brand-divider,.brand-division{display:none}
  .header-nav{gap:11px;font-size:12px}
  .nav-courses{display:none}
  .nav-login{padding:9px 12px;gap:8px}
  .breadcrumbs{padding:18px 0 15px;font-size:11px;gap:8px}
  .hero{border-radius:10px}
  .intro-topline{margin-top:23px}
  h1{font-size:34px;line-height:1.15;margin:9px 0 10px}
  .subtitle{font-size:15px}
  .on-page{gap:8px;margin:21px 0 24px;padding-bottom:20px}
  .on-page a{padding:7px 10px;font-size:12px}
  .content-layout{display:flex;flex-direction:column;gap:8px;margin-bottom:38px}
  .main-column,.sidebar{width:100%}
  .sidebar{position:static;order:-1;margin-bottom:13px}
  .access-card{padding:22px}
  .access-card h2{font-size:21px}
  .content-section{padding:23px 20px 25px;margin-bottom:22px}
  .section-heading h2{font-size:22px}
  .overview-text{font-size:14px;line-height:1.8}
  .journey-section{padding:20px;margin-bottom:22px}
  .journey-head h3{font-size:20px}
  .learning-list li{font-size:13px;padding:13px 0}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:8px}
}
@media(max-width:390px){.brand-logo{width:115px}h1{font-size:30px}.shell{width:calc(100% - 24px)}.on-page a{padding:7px 8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto} .btn,.on-page a,.nav-login{transition:none}}
