/*
Theme Name: Seha wa Jamal
Theme URI: https://sehawajamal.com/
Description: قالب عربي خفيف لموقع الصحة والجمال.
Author: Seha wa Jamal
Version: 1.0.0
Text Domain: seha-wa-jamal
*/

:root{--green:#285c43;--green-2:#427d5d;--mint:#a8d5ba;--pale:#eff8ef;--ink:#193328;--muted:#617168;--line:#dce9df;--white:#fff;--shadow:0 12px 34px rgba(30,74,50,.09);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbfdfb;color:var(--ink);font-family:Tahoma,Arial,sans-serif;line-height:1.8}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}.wrap{width:min(1160px,calc(100% - 36px));margin-inline:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.header-main{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:var(--green);font-weight:800;font-size:1.45rem;line-height:1.25}.brand:hover{text-decoration:none}.brand-mark{width:48px;height:48px;flex:none}.brand small{display:block;font-size:.76rem;color:var(--muted);font-weight:500;margin-top:4px}.header-actions{display:flex;align-items:center;gap:12px}.header-search form{display:flex;align-items:center;gap:6px}.header-search input[type=search]{width:190px;border:1px solid var(--line);border-radius:999px;padding:9px 14px;background:#f8fbf8}.header-search input[type=submit]{border:0;border-radius:999px;background:var(--green);color:#fff;padding:9px 15px;cursor:pointer}.tools-link,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:999px;background:var(--green);color:#fff;font-weight:700;border:1px solid var(--green);transition:transform .15s,background .15s}.tools-link:hover,.button:hover{background:#1e4b35;color:#fff;text-decoration:none;transform:translateY(-1px)}.button.secondary{background:transparent;color:var(--green)}.button.secondary:hover{background:var(--pale)}.nav-drawer{border-top:1px solid #f0f4f0}.nav-drawer summary{display:none;cursor:pointer;padding:10px 0;font-weight:700;color:var(--green)}.nav-drawer .menu{list-style:none;padding:0;margin:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.nav-drawer .menu a{display:block;padding:9px 13px;border-radius:999px;color:#31483b;font-size:.94rem}.nav-drawer .menu a:hover,.nav-drawer .current-menu-item>a{background:var(--pale);color:var(--green);text-decoration:none}.site-main{min-height:55vh}.hero{margin:26px auto 48px;background:linear-gradient(110deg,#eff8ef 0%,#e2f2e6 58%,#d2ead8 100%);border-radius:30px;overflow:hidden;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;min-height:380px;box-shadow:var(--shadow)}.hero-copy{padding:48px 54px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--green-2);font-weight:700;font-size:.93rem}.hero h1{font-size:clamp(2.2rem,5vw,3.8rem);line-height:1.2;color:var(--green);margin:12px 0}.hero h2{font-size:clamp(1.3rem,2vw,1.8rem);line-height:1.45;margin:0 0 14px;color:var(--ink)}.hero p{font-size:1.06rem;color:#42584b;max-width:620px;margin:0 0 24px}.hero-art{min-height:340px;display:flex;align-items:center;justify-content:center;padding:25px}.hero-art img{width:min(100%,460px);height:auto;filter:drop-shadow(0 16px 16px rgba(40,92,67,.12))}.section{padding:10px 0 38px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.section h2{font-size:1.8rem;color:var(--green);line-height:1.35;margin:0}.section-lead{color:var(--muted);margin:6px 0 0}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.category-card,.tool-card,.article-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 16px rgba(30,74,50,.035);transition:transform .18s,box-shadow .18s}.category-card{padding:20px;min-height:178px;display:flex;flex-direction:column}.category-card:hover,.tool-card:hover,.article-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);text-decoration:none}.card-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:var(--pale);font-size:1.55rem;margin-bottom:10px}.category-card strong{font-size:1.08rem;color:var(--green)}.category-card span:last-child{font-size:.91rem;color:var(--muted);margin-top:4px}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tool-card{padding:18px;display:flex;gap:12px;align-items:flex-start;min-height:130px;color:var(--ink)}.tool-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:#e7f5eb;color:var(--green);font-size:1.35rem;flex:none}.tool-card strong{display:block;color:var(--green);line-height:1.35}.tool-card p{font-size:.88rem;color:var(--muted);margin:5px 0 0}.badge{display:inline-block;font-size:.75rem;border-radius:999px;background:#f1f4f1;color:#59655d;padding:2px 9px;margin-top:8px}.book-banner{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;background:linear-gradient(115deg,#dff1e4,#f0f8ef);border:1px solid #d1e8d7;border-radius:var(--radius);padding:24px 30px;margin:5px 0 34px}.book-icon{display:grid;place-items:center;width:75px;height:75px;border-radius:22px;background:#fff;color:var(--green);font-size:2.25rem;box-shadow:var(--shadow)}.book-banner h2{margin:0;color:var(--green);font-size:1.55rem}.book-banner p{margin:5px 0 0;color:#4f6357}.empty-state{border:1px dashed #b9d5c1;border-radius:var(--radius);padding:30px;background:#fff;text-align:center;color:var(--muted)}.articles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.article-card{padding:20px;color:var(--ink)}.article-card h3{margin:0;color:var(--green);font-size:1.12rem}.article-card p{color:var(--muted);margin:7px 0}.page-shell{max-width:880px;margin:44px auto 72px;padding:0}.page-title{font-size:clamp(2rem,4vw,3rem);color:var(--green);line-height:1.25;margin:0 0 20px}.prose{font-size:1.05rem}.prose h2,.prose h3{color:var(--green);line-height:1.35;margin-top:1.7em}.prose p,.prose li{color:#42564a}.prose li{margin:.45em 0}.bmi-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(22px,4vw,38px);max-width:680px;margin:22px auto}.bmi-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field label{display:block;font-weight:700;color:var(--green);margin-bottom:6px}.field input{width:100%;border:1px solid #cbdccf;border-radius:12px;padding:12px 14px;background:#fbfdfb}.field input:focus{outline:3px solid #c4e3ce;border-color:var(--green)}.bmi-submit{margin-top:18px;width:100%;border:0;cursor:pointer}.bmi-result{margin-top:18px;padding:18px;border-radius:16px;background:var(--pale);color:var(--green);display:none}.bmi-result[aria-hidden=false]{display:block}.bmi-result strong{font-size:1.35rem}.bmi-note{font-size:.9rem;color:var(--muted);margin:16px 0 0}.site-footer{background:#174b36;color:#edf7ef;margin-top:48px;padding:42px 0 20px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:32px}.site-footer h2,.site-footer h3{color:#fff;margin:0 0 12px}.site-footer p{color:#d3e6d9;margin:6px 0}.site-footer a{color:#edf7ef}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:5px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.2);margin-top:28px;padding-top:14px;color:#d3e6d9;font-size:.9rem;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.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}.skip-link{position:absolute;top:-60px;right:12px;background:#fff;padding:10px 16px;z-index:20;border-radius:10px}.skip-link:focus{top:10px}.site-header [hidden]{display:none!important}.notice{padding:16px 18px;border-right:4px solid var(--green-2);background:var(--pale);border-radius:12px;margin:20px 0}.search-results{padding:30px 0}
@media(max-width:900px){.hero{grid-template-columns:1fr  .78fr;min-height:330px}.hero-copy{padding:35px}.category-grid,.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-main{flex-wrap:wrap;padding:14px 0}.header-actions{margin-inline-start:auto}.footer-grid{grid-template-columns:1fr 1fr}.book-banner{grid-template-columns:auto 1fr}.book-banner .button{grid-column:2;justify-self:start}}
@media(max-width:640px){.wrap{width:min(100% - 24px,1160px)}.header-main{gap:12px;min-height:70px}.brand{font-size:1.15rem}.brand-mark{width:40px;height:40px}.brand small{font-size:.69rem}.header-actions{gap:7px}.header-search{display:none}.tools-link{padding:9px 12px;font-size:.86rem}.nav-drawer{padding:0 0 8px}.nav-drawer summary{display:block}.nav-drawer .menu{display:grid;grid-template-columns:1fr 1fr;gap:2px}.nav-drawer:not([open]) .menu{display:none}.nav-drawer .menu a{padding:8px 10px}.hero{display:flex;flex-direction:column-reverse;margin:16px auto 34px;border-radius:23px}.hero-copy{padding:5px 24px 28px}.hero-art{min-height:auto;padding:22px 20px 2px}.hero-art img{max-width:300px}.hero h1{font-size:2.2rem}.hero p{font-size:.98rem}.section{padding-bottom:28px}.section h2{font-size:1.45rem}.category-grid{grid-template-columns:1fr 1fr;gap:10px}.category-card{padding:15px;min-height:170px}.category-card strong{font-size:.98rem}.category-card span:last-child{font-size:.83rem}.tools-grid{grid-template-columns:1fr;gap:10px}.tool-card{min-height:0;padding:15px}.book-banner{grid-template-columns:1fr;gap:12px;padding:20px;text-align:center}.book-icon{margin:auto}.book-banner .button{grid-column:auto;justify-self:center}.articles-grid{grid-template-columns:1fr}.page-shell{margin:30px auto 50px}.page-title{font-size:2rem}.bmi-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:23px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
