/*
Theme Name: Edame Student
Theme URI: https://edameapp.ir/
Author: Edame
Description: A friendly, RTL-first WordPress theme for the Edame learning platform.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: edame-student
*/
:root{--edame-ink:#23324a;--edame-muted:#63718a;--edame-primary:#4169e1;--edame-primary-dark:#3154c4;--edame-mint:#dff7ee;--edame-sun:#fff1c7;--edame-lilac:#eee8ff;--edame-bg:#f7f9ff;--edame-card:#fff;--edame-line:#e7ebf4;--edame-radius:22px;--edame-shadow:0 12px 34px rgba(43,65,115,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--edame-bg);color:var(--edame-ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.8}a{color:var(--edame-primary);text-decoration:none}a:hover{color:var(--edame-primary-dark)}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}.site-header{background:rgba(255,255,255,.92);border-bottom:1px solid var(--edame-line);position:relative;z-index:2}.header-inner{max-width:1160px;margin:auto;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;color:var(--edame-ink);font-size:1.35rem;font-weight:800}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,#dff7ee,#e7eaff);color:var(--edame-primary);font-size:1.4rem}.brand small{display:block;color:var(--edame-muted);font-size:.72rem;font-weight:500;line-height:1.3}.main-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.main-nav a{color:var(--edame-muted);font-size:.95rem;font-weight:700}.main-nav a:hover{color:var(--edame-primary)}.header-cta,.button-link{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;padding:10px 18px;background:var(--edame-primary);color:#fff;font-weight:800;box-shadow:0 7px 18px rgba(65,105,225,.18)}.header-cta:hover,.button-link:hover{background:var(--edame-primary-dark);color:#fff}.site-main{min-height:65vh}.home-wrap{max-width:1160px;margin:0 auto;padding:34px 22px 70px}.welcome-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.3fr .7fr;gap:28px;align-items:center;padding:clamp(26px,5vw,58px);border-radius:30px;background:linear-gradient(125deg,#e5f8f0 0%,#f1edff 58%,#fff5d9 100%);box-shadow:var(--edame-shadow)}.welcome-hero:after{content:"✦";position:absolute;left:25px;top:8px;font-size:5rem;color:rgba(65,105,225,.13);transform:rotate(15deg)}.eyebrow{display:inline-block;border-radius:999px;background:rgba(255,255,255,.75);padding:5px 13px;color:var(--edame-primary-dark);font-size:.85rem;font-weight:800}.welcome-hero h1{font-size:clamp(2rem,4.4vw,3.55rem);line-height:1.35;margin:14px 0;color:var(--edame-ink)}.welcome-hero p{max-width:620px;color:#53627b;font-size:1.08rem;margin:0 0 22px}.hero-art{display:grid;place-items:center;min-height:210px}.hero-orbit{width:min(100%,270px);aspect-ratio:1;border-radius:42% 58% 57% 43%/42% 42% 58% 58%;background:rgba(255,255,255,.68);display:grid;place-items:center;transform:rotate(-7deg);border:1px solid rgba(255,255,255,.9)}.hero-book{width:132px;height:154px;border-radius:18px 22px 22px 18px;background:#fff;box-shadow:12px 12px 0 #c8d5ff;transform:rotate(7deg);display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--edame-primary);font-size:3rem}.hero-book span{font-size:.92rem;font-weight:800}.section-heading{margin:34px 0 16px}.section-heading h2{margin:0;font-size:1.45rem}.section-heading p{margin:4px 0 0;color:var(--edame-muted)}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.feature-card{background:var(--edame-card);border:1px solid var(--edame-line);border-radius:var(--edame-radius);padding:22px;box-shadow:var(--edame-shadow)}.feature-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:var(--edame-mint);font-size:1.45rem;margin-bottom:12px}.feature-card:nth-child(2) .feature-icon{background:var(--edame-lilac)}.feature-card:nth-child(3) .feature-icon{background:var(--edame-sun)}.feature-card h3{margin:0 0 5px;font-size:1.1rem}.feature-card p{margin:0;color:var(--edame-muted);font-size:.95rem}.app-area{margin-top:30px;padding:clamp(18px,3vw,30px);background:#fff;border:1px solid var(--edame-line);border-radius:26px;box-shadow:var(--edame-shadow)}.app-area h2{margin-top:0}.app-area:empty{display:none}.app-area .edame-app,.app-area #root{min-height:120px}.content-wrap{max-width:960px;margin:0 auto;padding:38px 22px 70px}.entry-content,.page-content{background:#fff;border:1px solid var(--edame-line);border-radius:24px;padding:clamp(20px,4vw,42px);box-shadow:var(--edame-shadow)}.entry-title{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.4}.site-footer{border-top:1px solid var(--edame-line);background:#fff}.footer-inner{max-width:1160px;margin:auto;padding:22px;color:var(--edame-muted);font-size:.9rem;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.site-footer p{margin:0}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alignwide{max-width:1160px;margin-left:auto;margin-right:auto}.wp-block-button__link{border-radius:13px;background:var(--edame-primary)}.wp-block-image img{border-radius:18px}
@media(max-width:760px){.header-inner{padding:12px 16px;flex-wrap:wrap}.main-nav{order:3;width:100%;gap:14px}.header-cta{margin-right:auto}.home-wrap{padding:20px 14px 46px}.welcome-hero{grid-template-columns:1fr;padding:26px 22px;gap:8px}.hero-art{min-height:160px}.hero-orbit{width:190px}.hero-book{width:95px;height:112px;font-size:2.3rem}.feature-grid{grid-template-columns:1fr;gap:12px}.feature-card{padding:18px}.content-wrap{padding:24px 14px 45px}.footer-inner{padding:18px 16px}}
