/*
Theme Name: Kridemy Student Theme
Description: Lightweight, standalone student-facing theme for Kridemy. Designed to integrate with the separate Kridemy Student Portal plugin.
Version: 1.0.0
Author: Kridemy
Text Domain: kridemy-student
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
*/
:root{--ks-ink:#1a1a2e;--ks-blue:#1759c9;--ks-purple:#6a11cb;--ks-bg:#f7f8fc;--ks-muted:#536078;--ks-line:#e3e8f1;--ks-dark:#0d1220;--ks-max:1160px;--ks-radius:18px}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ks-bg);color:var(--ks-ink);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:break-word}a{color:var(--ks-blue);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:var(--ks-purple)}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}svg{flex:none}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #2575fc;outline-offset:4px} [hidden]{display:none!important}.ks-shell{min-height:100vh;display:flex;flex-direction:column}.ks-main{flex:1;min-width:0}.ks-wrap{width:min(var(--ks-max),calc(100% - 48px));margin-inline:auto}.ks-skip{position:fixed;top:8px;left:8px;z-index:1000;padding:10px 16px;background:#fff;transform:translateY(-200%)}.ks-skip:focus{transform:none}.ks-header{background:#fff;border-bottom:1px solid var(--ks-line);position:relative;z-index:10}.ks-accent{height:4px;background:linear-gradient(90deg,#6a11cb,#2575fc)}.ks-header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:10px}.ks-brand{display:flex;align-items:center;gap:12px;color:var(--ks-ink);text-decoration:none;flex-shrink:0}.ks-brand img{height:54px;width:auto;max-width:170px;object-fit:contain;display:block}.ks-wordmark{font-size:30px;line-height:1;font-weight:850;letter-spacing:-1.7px;color:#6a11cb}.ks-brand-label{font-size:12px;line-height:1.4;color:#536078;font-weight:650;border-left:1px solid var(--ks-line);padding-left:12px}.ks-nav{display:flex;align-items:center;gap:18px}.ks-nav a:not(.ks-button){color:#344054;font-size:14px;font-weight:650;text-decoration:none}.ks-nav a:hover{color:var(--ks-purple)}.ks-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:30px;padding:10px 20px;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none;white-space:nowrap;background:var(--ks-blue);color:#fff}.ks-button:hover{background:#1247a4;color:#fff}.ks-button--outline{background:#fff;color:var(--ks-blue);border-color:var(--ks-blue)}.ks-button--outline:hover{background:#eef4ff;color:#1247a4}.ks-menu-toggle{display:none;background:white;border:1px solid var(--ks-line);border-radius:10px;padding:10px;color:var(--ks-ink);align-items:center;justify-content:center}.ks-hero{padding:68px 0 54px}.ks-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:44px;align-items:center}.ks-kicker{display:inline-flex;align-items:center;gap:8px;background:#f0eaff;color:#5425a1;font-size:13px;font-weight:750;padding:6px 13px;border-radius:30px;letter-spacing:.01em}.ks-hero h1{font-size:clamp(38px,5.6vw,64px);line-height:1.08;letter-spacing:-.045em;margin:18px 0;color:var(--ks-ink);max-width:700px}.ks-hero h1 span{color:var(--ks-purple)}.ks-lead{font-size:clamp(17px,2vw,19px);color:var(--ks-muted);max-width:540px;margin:0 0 24px}.ks-access{background:#fff;border:1px solid #e2def5;border-radius:24px;padding:30px;box-shadow:0 14px 45px rgba(38,30,82,.06);scroll-margin-top:24px}.ks-access-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:#eee7ff;color:var(--ks-purple);margin-bottom:16px}.ks-access h2{font-size:24px;line-height:1.2;letter-spacing:-.025em;margin:0 0 10px}.ks-access p{margin:0 0 16px;color:var(--ks-muted)}.ks-notice{background:#f4f6fa;border:1px solid var(--ks-line);border-radius:12px;padding:12px 14px;font-size:14px;color:#46536a}.ks-access .ks-notice{margin:0}.ks-features{padding:0 0 60px}.ks-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ks-feature{background:white;border:1px solid var(--ks-line);padding:22px;border-radius:var(--ks-radius)}.ks-feature svg{color:var(--ks-purple);width:26px;height:26px}.ks-feature h2{font-size:18px;margin:10px 0 5px;line-height:1.3}.ks-feature p{margin:0;color:var(--ks-muted);font-size:14px}.ks-footer{background:var(--ks-dark);color:#c3cbd9;padding:26px 0 16px}.ks-footer-top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.ks-footer-brand{font-size:21px;color:#fff;font-weight:800;letter-spacing:-.7px}.ks-footer p{font-size:13px;margin:4px 0}.ks-footer-links{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}.ks-footer a{color:#e1e7f1;text-decoration:none;font-size:14px}.ks-footer a:hover{text-decoration:underline;color:white}.ks-footer-bottom{border-top:1px solid #2a3446;margin-top:20px;padding-top:13px;font-size:12px;color:#aeb9cb}.ks-page{padding:44px 0 64px}.ks-content{max-width:850px;margin:auto;background:#fff;padding:clamp(20px,4vw,42px);border:1px solid var(--ks-line);border-radius:var(--ks-radius)}.ks-content h1{font-size:clamp(28px,4vw,42px);line-height:1.15;letter-spacing:-.03em;margin-top:0}.ks-content img{height:auto}.ks-content table{display:block;overflow-x:auto}.ks-content pre{overflow-x:auto}.ks-content iframe{max-width:100%}.ks-focus .ks-header-inner{min-height:62px}.ks-focus .ks-header .ks-nav,.ks-focus .ks-header .ks-menu-toggle,.ks-focus .ks-footer{display:none}.ks-focus .ks-brand img{height:40px}.ks-focus .ks-brand-label{display:none}.aligncenter{display:block;margin-inline:auto}.wp-caption{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0}.ks-skip.screen-reader-text:focus{width:auto;height:auto;clip:auto;clip-path:none;white-space:normal;padding:10px 16px}
@media(max-width:760px){.ks-wrap{width:calc(100% - 32px)}.ks-header-inner{min-height:68px;flex-wrap:wrap;gap:12px}.ks-brand img{height:44px;max-width:135px}.ks-wordmark{font-size:26px}.ks-brand-label{font-size:11px}.ks-nav{flex-wrap:wrap;gap:12px}.ks-header.ks-js .ks-menu-toggle{display:inline-flex;margin-left:auto}.ks-header.ks-js .ks-nav{width:100%;flex-direction:column;align-items:stretch;gap:8px;padding:8px 0 12px}.ks-header.ks-js .ks-nav a:not(.ks-button){padding:8px 0}.ks-header.ks-js .ks-nav[hidden]{display:none}.ks-hero{padding:42px 0 32px}.ks-hero-grid{grid-template-columns:1fr;gap:26px}.ks-access{padding:22px}.ks-feature-grid{grid-template-columns:1fr;gap:12px}.ks-features{padding-bottom:36px}.ks-feature{padding:18px}.ks-footer-top{align-items:flex-start;flex-direction:column;gap:14px}.ks-footer-links{gap:10px 17px}.ks-focus .ks-header .ks-menu-toggle{display:none}}@media(max-width:350px){.ks-brand-label{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
