/* Approved sage preview: homepage only. Other pages retain their current styles. */
body.home {
 --ys-ui-sage:#DCE7D5; --ys-ui-ink:#284B3A; --ys-ui-hover:#C6D8BC; --ys-ui-peach:#F7DFD0;
}
body.home .ys-page,
body.home .ys-page :is(h1,h2,h3,p:not(.ys-footer-ai-disclosure,.ys-footer-copyright,.ys-footer-rights-detail),a,button,input,select,textarea,summary,small,span,li,label) {
 font-family:'Noto Sans Arabic','Yoanna Cairo',Tahoma,Arial,sans-serif !important;
}
body.home .ys-header {
 --header-ink:#284B3A; --header-button-ink:#284B3A;
 --header-item-bg:#DCE7D5; --header-button-border:#B7C9AD;
}
body.home .ys-header .ys-header-nav .ys-header-nav-link,
body.home .ys-header :is(.ys-header-icon-button,.ys-header-submit) {
 background:#DCE7D5; color:#284B3A; border-color:#B7C9AD;
}
body.home .ys-header .ys-header-nav .ys-header-nav-link:is(:hover,:focus-visible,[aria-expanded="true"],[aria-current="page"]),
body.home .ys-header .ys-header-age[data-current="true"] > .ys-header-nav-link,
body.home .ys-header .ys-header-books[data-current="true"] .ys-header-nav-link,
body.home .ys-header :is(.ys-header-icon-button,.ys-header-submit):is(:hover,:focus-visible,:active,[aria-expanded="true"]) {
 background:#C6D8BC; color:#284B3A; border-color:#7F9A73;
}
body.home .ys-header .ys-header-nav :is(.ys-header-age-list,.ys-header-books-list) a {color:#284B3A;}
body.home .ys-header .ys-header-nav :is(.ys-header-age-list,.ys-header-books-list) a:is(:hover,:focus-visible,[aria-current="page"]) {
 background:#C6D8BC; color:#284B3A;
}
body.home .ys-header .ys-header-books-arrow {background:transparent;color:#284B3A;}
body.home .ys-header .ys-header-books-split:has(> a:is(:hover,:focus-visible,[aria-current="page"])) .ys-header-books-arrow,
body.home .ys-header .ys-header-books[data-current="true"] .ys-header-books-arrow,
body.home .ys-header .ys-header-books-arrow:is(:hover,:focus-visible,[aria-expanded="true"]) {background:#C6D8BC;color:#284B3A;}
body.home .ys-header :is(a,button,input):focus-visible {
 outline:3px solid #284B3A; outline-offset:3px;
}
body.home .ys-header .ys-header-nav .ys-header-nav-link,
body.home .ys-header .ys-header-nav :is(.ys-header-age-list,.ys-header-books-list) :is(a,span),
body.home .ys-header :is(.ys-header-submit,.ys-header-search-panel input) {
 font-size:16px; font-weight:600; line-height:1.7;
}
body.home .ys-header :is(.ys-header-contact,.ys-header-commerce-link) {font-size:14px;line-height:1.7;color:#284B3A;}



body.home .ys-header .ys-header-nav .ys-header-nav-link {white-space:normal;text-align:center;}
body.home .ys-header .ys-header-nav {min-width:0;}
body.home #ys-main .ys-meet :is(p,.ys-bio-summary) {font-size:17px;line-height:1.95;color:#284B3A;}
body.home #ys-main .ys-meet .ys-bio-summary {font-weight:500;}
body.home .ys-footer {color:#284B3A;}

@media(min-width:901px) and (max-width:1599px) {
 body.home .ys-header .ys-header-inner {flex-wrap:wrap;}
 body.home .ys-header .ys-header-nav {order:4;flex:0 0 100%;justify-content:center;}
}
/* Owner-approved final sample: dark forest/white and apricot/black. */
body.home {--ys-ui-sage:#315343;--ys-ui-ink:#000000;--ys-ui-hover:#EDB183;--ys-ui-peach:#EDB183;}
body.home .ys-header {--header-ink:#000;--header-button-ink:#000;--header-item-bg:#EDB183;--header-button-border:#EDB183;color:#000;}
body.home .ys-header .ys-header-nav .ys-header-nav-link,
body.home .ys-header :is(.ys-header-icon-button,.ys-header-submit) {
 background:#EDB183;color:#000;border-color:#EDB183;
}

body.home .ys-header .ys-header-nav .ys-header-nav-link:is(:hover,:focus-visible,[aria-expanded="true"],[aria-current="page"]),
body.home .ys-header .ys-header-age[data-current="true"] > .ys-header-nav-link,
body.home .ys-header .ys-header-books[data-current="true"] .ys-header-nav-link,
body.home .ys-header :is(.ys-header-icon-button,.ys-header-submit):is(:hover,:focus-visible,:active,[aria-expanded="true"]) {
 background:#315343;color:#fff;border-color:#315343;
}

body.home .ys-header .ys-header-nav :is(.ys-header-age-list,.ys-header-books-list) a {color:#000;}
body.home .ys-header .ys-header-nav :is(.ys-header-age-list,.ys-header-books-list) a:is(:hover,:focus-visible,[aria-current="page"]) {background:#315343;color:#fff;}
body.home .ys-header .ys-header-books-arrow {background:transparent;color:#000;}
body.home .ys-header .ys-header-books-split:has(> a:is(:hover,:focus-visible,[aria-current="page"])) .ys-header-books-arrow,
body.home .ys-header .ys-header-books[data-current="true"] .ys-header-books-arrow,
body.home .ys-header .ys-header-books-arrow:is(:hover,:focus-visible,[aria-expanded="true"]) {background:#315343;color:#fff;}
body.home .ys-header :is(.ys-header-title,.ys-header-contact,.ys-header-commerce-link),
body.home #ys-main .ys-meet :is(h2,p,.ys-bio-summary),
body.home .ys-footer,
body.home .ys-footer :is(a,p,small) {color:#000;}
/* Approved soft peach capsules: homepage/header review only; geometry preserved. */
body.home {--ys-ui-peach:#FFD3AC;--ys-ui-hover:#E8EFE3;}
body.home .ys-header {--header-item-bg:#FFD3AC;--header-button-border:#9AAF91;}
body.home .ys-header .ys-header-nav .ys-header-nav-link,
body.home .ys-header :is(.ys-header-icon-button,.ys-header-submit) {
 background:#FFD3AC;color:#000;border-color:#9AAF91;border-radius:999px;
}
body.home .ys-header .ys-header-nav .ys-header-nav-link:is(:hover,:focus-visible,[aria-expanded="true"],[aria-current="page"]),
body.home .ys-header .ys-header-age[data-current="true"] > .ys-header-nav-link,
body.home .ys-header .ys-header-books[data-current="true"] .ys-header-nav-link,
body.home .ys-header :is(.ys-header-icon-button,.ys-header-submit):is(:hover,:focus-visible,:active,[aria-expanded="true"]) {
 background:#E8EFE3;color:#000;border-color:#6F8963;
}
body.home .ys-header .ys-header-nav :is(.ys-header-age-list,.ys-header-books-list) a:is(:hover,:focus-visible,[aria-current="page"]) {background:#E8EFE3;color:#000;}
body.home .ys-header .ys-header-books-arrow {background:transparent;color:#000;border-radius:999px;}
body.home .ys-header .ys-header-books-split:has(> a:is(:hover,:focus-visible,[aria-current="page"])) .ys-header-books-arrow,
body.home .ys-header .ys-header-books[data-current="true"] .ys-header-books-arrow,
body.home .ys-header .ys-header-books-arrow:is(:hover,:focus-visible,[aria-expanded="true"]) {background:#E8EFE3;color:#000;}

/* Header buttons: forest green with the approved light hover. */
body .ys-header {
  --header-item-bg: #06402B;
  --header-button-border: #06402B;
  --header-button-ink: #FFFFFF;
}
body .ys-header .ys-header-nav .ys-header-nav-link,
body .ys-header :is(.ys-header-icon-button,.ys-header-submit) {
  background: #06402B !important;
  color: #FFFFFF !important;
  border-color: #06402B !important;
}
body .ys-header .ys-header-nav .ys-header-nav-link:is(:hover,:focus-visible,[aria-expanded="true"]),
body .ys-header :is(.ys-header-icon-button,.ys-header-submit):is(:hover,:focus-visible,:active,[aria-expanded="true"]) {
  background: #F2F4BE !important;
  color: #111111 !important;
  border-color: #F2F4BE !important;
}

/* Approved final homepage hero palette, isolated from shared navigation/footer. */
body.home .ys-page #ys-main .ys-hero--books #ys-title {color:#174F37;}
body.home .ys-page #ys-main .ys-hero--books :is(.ys-hero-kicker,.ys-hero-summary) {color:#111111;font-size:16px;line-height:1.9;}
body.home .ys-page #ys-main .ys-hero--books :is(.ys-hero-cta,.ys-home-karim-link,.ys-home-carousel-arrow) {
 background:#FFDAB9;color:#111111;border-color:#D8C8B5;border-radius:999px;box-shadow:none;
 transition:background-color .18s ease,border-color .18s ease;
}
body.home .ys-page #ys-main .ys-hero--books :is(.ys-hero-cta,.ys-home-karim-link) {font-size:16px;font-weight:600;line-height:1.7;min-height:44px;}
body.home .ys-page #ys-main .ys-hero--books :is(.ys-hero-cta,.ys-home-karim-link,.ys-home-carousel-arrow):not([aria-disabled="true"]):is(:hover,:focus-visible,:active) {background:#F2F4BE;color:#111111;border-color:#F2F4BE;}
body.home .ys-page #ys-main .ys-hero--books :is(.ys-hero-cta,.ys-home-karim-link,.ys-home-carousel-arrow):focus-visible {outline:3px solid #174F37;outline-offset:3px;}

/* One shared hover palette for enabled website buttons, without changing their geometry. */
body .ys-page :is(button,input[type="submit"],input[type="button"],a.button,a[role="button"],a.wp-block-button__link,a.elementor-button,a.ys-resource-button,a.ys-header-nav-link,a.ys-hero-cta,a.ys-home-karim-link):not(.ys-buy-button):not(.ys-resource-button):not(:disabled):not([disabled]):not([aria-disabled="true"]):is(:hover,:focus-visible),
body .woocommerce :is(button,input[type="submit"],a.button):not(.ys-buy-button):not(.ys-resource-button):not(:disabled):not([disabled]):not([aria-disabled="true"]):is(:hover,:focus-visible),
body .ys-page .ys-header :is(.ys-header-age-list,.ys-header-books-list) a:is(:hover,:focus-visible) {
 background-color:#F2F4BE!important;border-color:#F2F4BE!important;color:#111111!important;
}
