/*
Theme Name: وصفة اليوم - Wasfa Today
Theme URI: https://wasfatoday.com
Author: Wasfa Today
Description: قالب عربي لمواقع الطبخ والوصفات. الوصفات تنشر كمقالات عادية مع مربع "بيانات الوصفة" للمكونات والخطوات والأوقات، وسكيما وصفات متوافقة مع Rank Math، وتصميم متجاوب لكل الشاشات.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wasfatoday
License: GPLv2 or later
Tags: rtl-language-support, blog, food-and-drink, custom-menu, custom-logo, featured-images
*/

/* =========================================================
   1. المتغيرات والأساسيات
   ========================================================= */
:root{
	--wt-accent:#E87527;
	--wt-accent-dark:#C95F14;
	--wt-accent-soft:#FFF0E3;
	--wt-ink:#29251F;
	--wt-text:#4A4239;
	--wt-muted:#6E655B;
	--wt-muted-2:#81786D;
	--wt-line:#EEE3D5;
	--wt-line-2:#F1E9DF;
	--wt-cream:#FFFCF7;
	--wt-tint:#F7EEE3;
	--wt-soft:#F7F0E7;
	--wt-dark:#382B20;
	--wt-dark-2:#3D3024;
	--wt-green-bg:#EDF2E8;
	--wt-green:#3F5033;
	--wt-card:#FFFFFF;
	--wt-shadow:0 8px 22px rgba(75,43,16,.06);
	--wt-shadow-hover:0 16px 32px rgba(75,43,16,.11);
	--wt-radius:18px;
	--wt-max:1200px;
	--wt-gutter:24px;
	--wt-font:'Tajawal',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;
	--wt-font-head:'Cairo','Tajawal',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;direction:rtl}
body{margin:0;background:var(--wt-cream);color:var(--wt-ink);font-family:var(--wt-font);font-size:16px;line-height:1.75;overflow-x:hidden}
img,svg,video,iframe{max-width:100%}
img{height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .2s}
a:hover{color:var(--wt-accent-dark)}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4,h5,h6{font-family:var(--wt-font-head);color:var(--wt-ink);line-height:1.45;margin:0 0 .5em;font-weight:800}
p{margin:0 0 1em}
:focus-visible{outline:3px solid var(--wt-accent);outline-offset:2px;border-radius:6px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;top:10px;right:10px;width:auto;height:auto;clip:auto;z-index:1000;background:#fff;padding:10px 16px;border-radius:8px;box-shadow:var(--wt-shadow)}
.wt-container{width:min(var(--wt-max),calc(100% - (var(--wt-gutter) * 2)));margin-inline:auto}
.wt-icon{width:1em;height:1em;flex:none;display:inline-block;vertical-align:middle}
.wt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:0;background:var(--wt-accent);color:#fff;border-radius:999px;padding:11px 26px;font-weight:700;font-size:16px;line-height:1.3;transition:background .2s,transform .2s}
.wt-btn:hover{background:var(--wt-accent-dark);color:#fff}
.wt-btn--ghost{background:#fff;color:var(--wt-ink);border:1px solid var(--wt-line)}
.wt-btn--ghost:hover{background:var(--wt-soft);color:var(--wt-ink)}
.wt-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--wt-accent);font-size:15px;font-weight:700}
.wt-eyebrow::before{content:"";width:26px;height:2px;background:currentColor}

/* =========================================================
   2. الشريط العلوي والهيدر
   ========================================================= */
.wt-topbar{background:var(--wt-dark);color:#F9EEE0;font-size:14px}
.wt-topbar .wt-container{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:38px}
.wt-topbar a{color:#F9EEE0}
.wt-topbar a:hover{color:#FFCA91}
.wt-social{display:flex;align-items:center;gap:6px}
.wt-social a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:15px}

.wt-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--wt-line)}
.admin-bar .wt-header{top:32px}
.wt-header__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}
.wt-brand{display:flex;align-items:center;gap:10px;flex:none}
.wt-brand__mark{width:48px;height:48px;color:var(--wt-accent);flex:none;display:flex}
.wt-brand__mark .wt-icon{width:100%;height:100%}
.wt-brand__text{display:flex;flex-direction:column;line-height:1.15}
.wt-brand__name{font-family:var(--wt-font-head);font-size:25px;font-weight:800;color:var(--wt-ink)}
.wt-brand__domain{font-size:11px;letter-spacing:2px;color:var(--wt-accent);font-weight:700;direction:ltr;text-align:right}
.wt-brand .custom-logo{max-height:56px;width:auto}

.wt-nav{flex:1;display:flex;justify-content:center}
.wt-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:6px 26px;flex-wrap:wrap}
.wt-nav li{position:relative}
.wt-nav a{display:block;font-size:16px;font-weight:700;padding:26px 0 24px;border-bottom:2px solid transparent}
.wt-nav .current-menu-item>a,.wt-nav .current-menu-parent>a,.wt-nav .current-post-ancestor>a,.wt-nav .current-category-ancestor>a,.wt-nav a:hover{color:var(--wt-accent);border-color:var(--wt-accent)}
.wt-nav .sub-menu{position:absolute;top:100%;right:-14px;min-width:220px;background:#fff;border:1px solid var(--wt-line);border-radius:14px;box-shadow:var(--wt-shadow-hover);padding:8px;display:none;flex-direction:column;align-items:stretch;gap:0;z-index:60}
.wt-nav li:hover>.sub-menu,.wt-nav li:focus-within>.sub-menu{display:flex}
.wt-nav .sub-menu a{padding:10px 12px;border:0;border-radius:8px;font-size:15px}
.wt-nav .sub-menu a:hover{background:var(--wt-soft)}

.wt-search{display:flex;align-items:center;gap:6px;background:#F7F1E9;border:1px solid #EFE5D9;border-radius:999px;padding:0 6px 0 14px;height:46px;width:240px;flex:none}
.wt-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px;padding:0 4px}
.wt-search input::placeholder{color:#958B80}
.wt-search button{width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--wt-muted);display:flex;align-items:center;justify-content:center;font-size:18px}
.wt-search button:hover{background:#fff;color:var(--wt-accent)}

.wt-header__tools{display:none;align-items:center;gap:6px}
.wt-icon-btn{width:46px;height:46px;border-radius:12px;border:1px solid var(--wt-line);background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:21px;color:var(--wt-ink)}
.wt-icon-btn:hover{border-color:var(--wt-accent);color:var(--wt-accent)}
.wt-mobile-search{display:none;padding:0 0 14px}
.wt-mobile-search.is-open{display:block}
.wt-mobile-search .wt-search{width:100%}

/* القائمة الجانبية للجوال */
.wt-drawer{position:fixed;inset:0;z-index:200;visibility:hidden;pointer-events:none}
.wt-drawer.is-open{visibility:visible;pointer-events:auto}
.wt-drawer__overlay{position:absolute;inset:0;background:rgba(25,18,12,.5);opacity:0;transition:opacity .25s}
.wt-drawer.is-open .wt-drawer__overlay{opacity:1}
.wt-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(340px,86vw);background:#fff;transform:translateX(100%);transition:transform .3s ease;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain}
.wt-drawer.is-open .wt-drawer__panel{transform:none}
.wt-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--wt-line)}
.wt-drawer__head .wt-brand__mark{width:40px;height:40px}
.wt-drawer__head .wt-brand__name{font-size:21px}
.wt-drawer nav ul{list-style:none;margin:0;padding:10px 18px}
.wt-drawer nav a{display:flex;align-items:center;justify-content:space-between;min-height:52px;font-size:17px;font-weight:700;border-bottom:1px solid var(--wt-line-2)}
.wt-drawer nav .sub-menu{padding:0 14px 0 0}
.wt-drawer nav .sub-menu a{font-weight:500;font-size:16px}
.wt-drawer nav .current-menu-item>a{color:var(--wt-accent)}
.wt-drawer__foot{margin-top:auto;padding:18px;border-top:1px solid var(--wt-line)}
.wt-drawer__foot .wt-social a{color:var(--wt-accent);border:1px solid var(--wt-line);border-radius:10px;width:44px;height:44px;font-size:17px}
body.wt-lock{overflow:hidden}

/* =========================================================
   3. السلايدر
   ========================================================= */
.wt-hero-wrap{padding:24px 0 8px}
.wt-hero{position:relative;overflow:hidden;border-radius:26px;background:#4A3426;min-height:440px;display:flex;align-items:stretch;box-shadow:var(--wt-shadow);isolation:isolate}
.wt-hero__slide{position:absolute;inset:0;display:flex;align-items:center;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s}
.wt-hero__slide.is-active{opacity:1;visibility:visible;position:relative;flex:1 1 100%;min-width:0;width:100%}
.wt-hero__bg{position:absolute;inset:0;z-index:-2}
.wt-hero__bg img{width:100%;height:100%;object-fit:cover}
.wt-hero__slide::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(28,18,10,.82) 0%,rgba(28,18,10,.5) 50%,rgba(28,18,10,.12) 100%)}
.wt-hero__copy{position:relative;padding:48px 76px;max-width:640px;min-width:0;color:#fff}
.wt-hero__copy .wt-eyebrow{color:#FFCA91}
.wt-hero__copy .wt-eyebrow::before{background:#F59A50}
.wt-hero__title{color:#fff;font-size:clamp(30px,4.2vw,52px);line-height:1.35;margin:14px 0 12px}
.wt-hero__text{font-size:18px;line-height:1.8;color:#F6E9DC;margin:0 0 26px;max-width:520px}
.wt-hero-search{display:flex;align-items:center;background:#fff;border-radius:999px;padding:6px;gap:6px;max-width:480px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.wt-hero-search input{flex:1;min-width:0;border:0;outline:0;font-size:16px;padding:0 16px;background:transparent;color:var(--wt-ink);height:46px}
.wt-hero-search .wt-btn{min-height:46px;padding:10px 24px;white-space:nowrap}
.wt-hero__arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;z-index:3;transition:background .2s}
.wt-hero__arrow:hover{background:rgba(255,255,255,.3)}
.wt-hero__arrow--next{left:16px}
.wt-hero__arrow--prev{right:16px}
.wt-hero__dots{position:absolute;bottom:22px;right:76px;display:flex;gap:4px;z-index:3}
.wt-hero__dots button{width:28px;height:28px;border:0;background:transparent;padding:0;display:flex;align-items:center;justify-content:center}
.wt-hero__dots button::before{content:"";width:8px;height:8px;border-radius:99px;background:rgba(255,255,255,.55);transition:width .3s,background .3s}
.wt-hero__dots button.is-active::before{width:24px;background:#fff}

/* =========================================================
   4. الأقسام والعناوين
   ========================================================= */
.wt-section{padding:44px 0}
.wt-section--tint{background:var(--wt-tint);border-block:1px solid #F0E2D1}
.wt-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.wt-section-head h2{font-size:28px;margin:0 0 4px}
.wt-section-head p{margin:0;font-size:16px;color:var(--wt-muted-2)}
.wt-section-head h2 a:hover{color:var(--wt-accent)}
.wt-pill .wt-pill__chef{font-size:20px}
.wt-more{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:var(--wt-accent);padding:10px 0;white-space:nowrap}
.wt-more .wt-icon{font-size:16px}

/* مربعات الأقسام */
.wt-cats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.wt-cat{display:block;background:#fff;border:1px solid var(--wt-line);border-radius:16px;overflow:hidden;box-shadow:var(--wt-shadow);text-align:center;transition:transform .25s,box-shadow .25s,border-color .25s}
.wt-cat:hover{transform:translateY(-4px);box-shadow:var(--wt-shadow-hover);border-color:#F0B17F;color:var(--wt-ink)}
.wt-cat__img{aspect-ratio:3/2;background:var(--wt-soft);overflow:hidden}
.wt-cat__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.wt-cat:hover .wt-cat__img img{transform:scale(1.05)}
.wt-cat__img--empty{display:flex;align-items:center;justify-content:center;color:var(--wt-accent);font-size:42px;background:var(--wt-accent-soft)}
.wt-cat__body{padding:12px 10px 16px}
.wt-cat__name{display:block;font-family:var(--wt-font-head);font-size:17px;font-weight:700;line-height:1.5}
.wt-cat__sub{display:block;font-size:14px;color:var(--wt-muted-2);margin-top:2px;line-height:1.5}

/* =========================================================
   5. بطاقة الوصفة
   ========================================================= */
.wt-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.wt-card{position:relative;background:var(--wt-card);border:1px solid var(--wt-line);border-radius:var(--wt-radius);overflow:hidden;box-shadow:var(--wt-shadow);transition:transform .25s,box-shadow .25s;min-width:0;display:flex;flex-direction:column}
.wt-card:hover{transform:translateY(-4px);box-shadow:var(--wt-shadow-hover)}
.wt-card__link{display:flex;flex-direction:column;flex:1;color:var(--wt-ink)}
.wt-card__link:hover{color:var(--wt-ink)}
.wt-card__media{position:relative;aspect-ratio:4/3;background:var(--wt-soft);overflow:hidden}
.wt-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.wt-card:hover .wt-card__media img{transform:scale(1.05)}
.wt-card__media--empty{display:flex;align-items:center;justify-content:center;color:#D4BFA8;font-size:48px}
.wt-badge{position:absolute;top:12px;right:12px;background:#FFFDF1;color:#A94C14;border-radius:99px;padding:4px 12px;font-size:13px;font-weight:700;line-height:1.6;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.wt-card__body{padding:16px 16px 14px;display:flex;flex-direction:column;flex:1}
.wt-card__title{font-size:18px;font-weight:700;line-height:1.55;margin:0 0 6px}
.wt-card__link:hover .wt-card__title{color:var(--wt-accent-dark)}
.wt-card__desc{margin:0 0 14px;font-size:15px;line-height:1.75;color:var(--wt-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wt-card__meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--wt-line-2);padding-top:12px;font-size:14px;color:var(--wt-muted)}
.wt-card__meta span{display:inline-flex;align-items:center;gap:6px}
.wt-card__meta .wt-icon{color:var(--wt-accent);font-size:17px}
.wt-save{position:absolute;top:10px;left:10px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.94);color:var(--wt-muted);display:flex;align-items:center;justify-content:center;font-size:19px;z-index:2;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:color .2s,transform .2s}
.wt-save:hover{color:var(--wt-accent);transform:scale(1.06)}
.wt-save.is-saved{color:var(--wt-accent)}
.wt-save.is-saved .wt-icon path{fill:currentColor}

/* =========================================================
   6. النصيحة والاشتراك
   ========================================================= */
.wt-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);background:#fff;border:1px solid var(--wt-line);border-radius:22px;overflow:hidden;box-shadow:var(--wt-shadow)}
.wt-feature__media{min-height:300px;background:var(--wt-soft)}
.wt-feature__media img{width:100%;height:100%;object-fit:cover}
.wt-feature__body{padding:34px 36px;align-self:center}
.wt-feature__body h2{font-size:28px;margin:10px 0}
.wt-feature__body p{font-size:17px;line-height:1.9;color:var(--wt-muted);margin:0 0 18px}
.wt-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:0;list-style:none}
.wt-chip{display:inline-flex;align-items:center;gap:6px;background:var(--wt-soft);border-radius:99px;padding:6px 14px;font-size:14px;color:#6E6255}
a.wt-chip:hover{background:var(--wt-accent-soft);color:var(--wt-accent-dark)}

.wt-newsletter{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;background:var(--wt-dark-2);color:#FFF7EC;border-radius:22px;padding:30px 34px}
.wt-newsletter h2{color:#fff;font-size:24px;margin:0}
.wt-newsletter p{margin:6px 0 0;font-size:16px;color:#D8C8B7}
.wt-newsletter form{display:flex;background:#fff;border-radius:999px;padding:6px;width:420px;max-width:100%}
.wt-newsletter input{flex:1;min-width:0;border:0;outline:0;padding:0 14px;font-size:15px;background:transparent;color:var(--wt-ink);height:44px}

/* =========================================================
   7. الفوتر
   ========================================================= */
.wt-footer{background:#fff;border-top:1px solid var(--wt-line);margin-top:48px}
.wt-footer__main{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:36px;padding:46px 0 32px}
.wt-footer__about p{font-size:15px;line-height:1.9;color:var(--wt-muted-2);max-width:340px;margin:12px 0 16px}
.wt-footer h2{font-size:17px;margin:0 0 14px;font-family:var(--wt-font)}
.wt-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.wt-footer ul a{display:inline-block;padding:4px 0;font-size:15px;color:var(--wt-muted)}
.wt-footer ul a:hover{color:var(--wt-accent)}
.wt-footer .wt-social a{border:1px solid var(--wt-line);border-radius:10px;width:44px;height:44px;color:var(--wt-accent);font-size:17px}
.wt-footer__bottom{border-top:1px solid var(--wt-line)}
.wt-footer__bottom .wt-container{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 0;font-size:14px;color:var(--wt-muted-2)}
.wt-to-top{position:fixed;left:18px;bottom:18px;width:46px;height:46px;border-radius:50%;border:0;background:var(--wt-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 8px 20px rgba(0,0,0,.15);opacity:0;visibility:hidden;transform:translateY(10px);transition:all .25s;z-index:40}
.wt-to-top.is-visible{opacity:1;visibility:visible;transform:none}

/* =========================================================
   8. صفحة الوصفة (المقال)
   ========================================================= */
.wt-crumbs{font-size:15px;color:var(--wt-muted-2);padding:20px 0;line-height:1.8}
.wt-crumbs a{color:var(--wt-accent)}
.wt-crumbs a:hover{color:var(--wt-accent-dark)}
.wt-crumbs .separator,.wt-crumbs .wt-sep{margin:0 8px;color:#B9AE9F}
.wt-crumbs p{margin:0}
.wt-single{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}
.wt-article{background:#fff;border:1px solid var(--wt-line);border-radius:20px;overflow:hidden;box-shadow:var(--wt-shadow);min-width:0}
.wt-article__media{background:var(--wt-soft)}
.wt-article__media img{width:100%;max-height:560px;object-fit:cover}
.wt-article__media figcaption{font-size:14px;color:var(--wt-muted-2);padding:8px 16px;text-align:center}
.wt-article__inner{padding:32px 36px 40px}
.wt-article__title{font-size:clamp(28px,3.2vw,40px);line-height:1.4;margin:10px 0 12px}
.wt-article__intro{font-size:19px;line-height:1.9;color:var(--wt-muted);margin:0 0 20px}
.wt-pills{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:0;list-style:none}
.wt-pill{display:inline-flex;align-items:center;gap:8px;background:var(--wt-soft);padding:9px 14px;border-radius:12px;font-size:15px;line-height:1.5}
.wt-pill .wt-icon{color:var(--wt-accent);font-size:18px}
.wt-actions{display:flex;gap:10px;flex-wrap:wrap;padding-bottom:26px;border-bottom:1px solid var(--wt-line-2);margin-bottom:8px;position:relative}
.wt-action{display:inline-flex;align-items:center;gap:8px;min-height:44px;border:1px solid var(--wt-line);background:#fff;border-radius:99px;padding:8px 18px;font-size:15px;color:var(--wt-ink);transition:border-color .2s,color .2s}
.wt-action:hover,.wt-action.is-saved{border-color:var(--wt-accent);color:var(--wt-accent)}
.wt-action.is-saved .wt-icon path{fill:currentColor}
.wt-share-menu{position:absolute;top:52px;right:0;background:#fff;border:1px solid var(--wt-line);border-radius:14px;box-shadow:var(--wt-shadow-hover);padding:8px;display:none;flex-direction:column;min-width:200px;z-index:20}
.wt-share-menu.is-open{display:flex}
.wt-share-menu a,.wt-share-menu button{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;border:0;background:none;font-size:15px;text-align:right;width:100%}
.wt-share-menu a:hover,.wt-share-menu button:hover{background:var(--wt-soft);color:var(--wt-ink)}
.wt-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--wt-ink);color:#fff;padding:12px 22px;border-radius:12px;font-size:15px;opacity:0;visibility:hidden;transition:all .25s;z-index:300}
.wt-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}

.wt-h2{font-size:26px;margin:34px 0 14px;border-right:4px solid var(--wt-accent);padding-right:14px}
.wt-h2-note{margin:-6px 0 16px;font-size:16px;color:var(--wt-muted-2)}

/* محتوى المقال القادم من المحرر */
.wt-content{font-size:18px;line-height:1.95;color:var(--wt-text);overflow-wrap:break-word}
.wt-content>*:first-child{margin-top:24px}
.wt-content p{margin:0 0 1.15em}
.wt-content h2{font-size:26px;margin:1.6em 0 .6em;border-right:4px solid var(--wt-accent);padding-right:14px}
.wt-content h3{font-size:22px;margin:1.4em 0 .5em}
.wt-content h4{font-size:19px;margin:1.3em 0 .5em}
.wt-content a{color:var(--wt-accent-dark);text-decoration:underline;text-underline-offset:3px}
.wt-content ul,.wt-content ol{padding-right:1.3em;padding-left:0;margin:0 0 1.2em}
.wt-content li{margin-bottom:.4em}
.wt-content li::marker{color:var(--wt-accent)}
.wt-content img{border-radius:14px}
.wt-content figure{margin:1.6em 0}
.wt-content figcaption{font-size:14px;color:var(--wt-muted-2);text-align:center;margin-top:8px}
.wt-content blockquote{margin:1.5em 0;padding:16px 20px;background:var(--wt-soft);border-right:4px solid var(--wt-accent);border-radius:12px;font-size:18px}
.wt-content blockquote p:last-child{margin:0}
.wt-content table{width:100%;border-collapse:collapse;margin:1.5em 0;font-size:16px;display:block;overflow-x:auto}
.wt-content th,.wt-content td{border:1px solid var(--wt-line);padding:10px 12px;text-align:right}
.wt-content th{background:var(--wt-soft)}
.wt-content iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:14px}
.wt-content .alignleft{float:left;margin:0 1.2em 1em 0}
.wt-content .alignright{float:right;margin:0 0 1em 1.2em}
.wt-content .aligncenter{margin-inline:auto}

/* المكونات */
.wt-ingredients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.wt-ing{display:flex;gap:12px;align-items:center;background:#FFFAF4;border:1px solid #F1E6D8;border-radius:12px;padding:12px 14px;font-size:17px;line-height:1.6;cursor:pointer;transition:background .2s,opacity .2s}
.wt-ing input{width:20px;height:20px;flex:none;accent-color:var(--wt-accent);margin:0;cursor:pointer}
.wt-ing strong{font-weight:700;color:var(--wt-ink)}
.wt-ing:has(input:checked){background:#F4F4EE;opacity:.7}
.wt-ing:has(input:checked) span{text-decoration:line-through;text-decoration-color:var(--wt-accent)}
.wt-ing-group{grid-column:1/-1;font-family:var(--wt-font-head);font-weight:700;font-size:18px;margin:10px 0 2px;color:var(--wt-ink)}

/* الخطوات */
.wt-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.wt-step{display:flex;gap:16px;align-items:flex-start}
.wt-step__num{width:38px;height:38px;border-radius:12px;background:var(--wt-accent);color:#fff;font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center;flex:none;margin-top:2px}
.wt-step__text{margin:0;font-size:18px;line-height:1.95;color:var(--wt-text)}
.wt-step__text strong{color:var(--wt-ink)}
.wt-tip{display:flex;gap:12px;align-items:flex-start;background:var(--wt-green-bg);border-radius:14px;padding:18px 20px;margin-top:26px;color:var(--wt-green);font-size:17px;line-height:1.9}
.wt-tip .wt-icon{font-size:22px;color:#566B45;margin-top:5px}
.wt-tip p{margin:0}
.wt-tags{margin-top:30px;padding-top:22px;border-top:1px solid var(--wt-line-2);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wt-tags__label{font-weight:700;font-size:16px}
.wt-ad{margin:26px 0;text-align:center;overflow:hidden}
.wt-ad .widget{margin:0}

/* الشريط الجانبي */
.wt-sidebar{display:flex;flex-direction:column;gap:18px;position:sticky;top:100px}
.admin-bar .wt-sidebar{top:132px}
.wt-box{background:#fff;border:1px solid var(--wt-line);border-radius:20px;padding:22px;box-shadow:var(--wt-shadow)}
.wt-box h2,.wt-box .widget-title{font-size:20px;margin:0 0 12px}
.wt-info{margin:0}
.wt-info div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--wt-line-2);font-size:16px}
.wt-info div:last-child{border:0;padding-bottom:0}
.wt-info dd{margin:0;color:var(--wt-muted-2);font-weight:700}
.wt-mini{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none}
.wt-mini a{display:flex;gap:12px;align-items:center;color:var(--wt-ink)}
.wt-mini__img{width:84px;height:70px;border-radius:10px;background:var(--wt-soft);overflow:hidden;flex:none}
.wt-mini__img img{width:100%;height:100%;object-fit:cover}
.wt-mini__title{display:block;font-size:16px;font-weight:700;line-height:1.5}
.wt-mini a:hover .wt-mini__title{color:var(--wt-accent-dark)}
.wt-mini__meta{font-size:14px;color:var(--wt-muted-2)}
.wt-catlist{list-style:none;margin:0;padding:0}
.wt-catlist a{display:flex;justify-content:space-between;align-items:center;min-height:46px;border-bottom:1px solid var(--wt-line-2);font-size:16px}
.wt-catlist li:last-child a{border:0}
.wt-catlist .wt-icon{color:var(--wt-accent)}

/* الويدجت */
.wt-box .widget+.widget{margin-top:18px}
.wt-box .widget ul{list-style:none;margin:0;padding:0}
.wt-box .widget li{padding:8px 0;border-bottom:1px solid var(--wt-line-2);font-size:15px}
.wt-box .widget li:last-child{border:0}
.wt-box .widget-title,.wt-box .wp-block-heading{font-size:18px;margin:0 0 10px}
.wt-ad .widget img{margin-inline:auto}

/* التعليقات */
.wt-comments{margin-top:28px}
.wt-comments .comment-list{list-style:none;margin:0 0 24px;padding:0}
.wt-comments .comment-list .children{list-style:none;padding-right:28px}
.wt-comments .comment-body{background:var(--wt-soft);border-radius:14px;padding:16px 18px;margin-bottom:14px;font-size:16px}
.wt-comments .comment-author{display:flex;align-items:center;gap:10px;font-weight:700}
.wt-comments .comment-author img{border-radius:50%}
.wt-comments .comment-metadata{font-size:13px;color:var(--wt-muted-2)}
.wt-comments .comment-metadata a{color:inherit}
.wt-comments .reply a{font-size:14px;color:var(--wt-accent);font-weight:700}
.comment-form label{display:block;font-weight:700;margin-bottom:6px;font-size:15px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;border:1px solid var(--wt-line);border-radius:12px;padding:12px 14px;font-size:16px;background:#FFFCF7}
.comment-form textarea{min-height:140px}
.comment-form p{margin:0 0 14px}
.comment-form .submit{border:0;background:var(--wt-accent);color:#fff;border-radius:999px;padding:12px 28px;font-weight:700;min-height:46px}
.comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start;font-size:14px}
.comment-form-cookies-consent label{font-weight:400}

/* =========================================================
   9. الأرشيف والبحث والصفحات
   ========================================================= */
.wt-archive-head{position:relative;overflow:hidden;border-radius:22px;background:var(--wt-dark-2);color:#fff;margin:24px 0 8px;isolation:isolate}
.wt-archive-head__bg{position:absolute;inset:0;z-index:-2}
.wt-archive-head__bg img{width:100%;height:100%;object-fit:cover}
.wt-archive-head::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(28,18,10,.85),rgba(28,18,10,.45))}
.wt-archive-head__inner{padding:44px 48px}
.wt-archive-head h1{color:#fff;font-size:clamp(28px,3.4vw,42px);margin:8px 0}
.wt-archive-head p{color:#F1E4D6;font-size:17px;margin:0;max-width:640px}
.wt-archive-head .wt-eyebrow{color:#FFCA91}
.wt-archive-head .wt-crumbs{padding:0 0 4px;color:#E9DCCB;font-size:14px}
.wt-archive-head .wt-crumbs a{color:#FFCA91}
.wt-archive-head .wt-crumbs span:last-child{color:#fff}
.wt-archive-head__count{display:inline-block;margin-top:14px;background:rgba(255,255,255,.14);border-radius:99px;padding:5px 14px;font-size:14px}
.wt-subcats{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 0;padding:0;list-style:none}
.wt-pagination{margin-top:36px}
.wt-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.wt-pagination .page-numbers{min-width:46px;height:46px;padding:0 12px;border-radius:12px;border:1px solid var(--wt-line);background:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}
.wt-pagination .page-numbers.current,.wt-pagination a.page-numbers:hover{background:var(--wt-accent);border-color:var(--wt-accent);color:#fff}
.wt-pagination .dots{border:0;background:none}
.wt-empty{background:#fff;border:1px dashed var(--wt-line);border-radius:18px;padding:40px 24px;text-align:center;color:var(--wt-muted)}
.wt-empty .wt-search{margin:18px auto 0;width:min(420px,100%)}
.wt-page{max-width:880px;margin:24px auto 0}
.wt-page .wt-article__inner{padding:36px 40px}
.wt-404{text-align:center;padding:60px 0}
.wt-404__code{font-family:var(--wt-font-head);font-size:clamp(80px,14vw,140px);font-weight:800;color:var(--wt-accent);line-height:1}

/* محاذاة ووردبريس */
.wp-caption{max-width:100%}
.sticky,.bypostauthor,.gallery-caption{}
.wp-block-image img{border-radius:14px}

/* =========================================================
   10. الشاشات الكبيرة جدا
   ========================================================= */
@media (min-width:1500px){
	:root{--wt-max:1320px}
	.wt-grid{gap:26px}
	.wt-hero{min-height:500px}
}

/* =========================================================
   11. اللابتوب والتابلت الأفقي (حتى 1199)
   ========================================================= */
@media (max-width:1199px){
	.wt-nav ul{gap:6px 18px}
	.wt-nav a{font-size:15px}
	.wt-search{width:200px}
	.wt-single{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
	.wt-grid{gap:18px}
}

/* =========================================================
   12. التابلت (حتى 1023): القائمة تتحول إلى زر
   ========================================================= */
@media (max-width:1023px){
	:root{--wt-gutter:20px}
	.wt-nav,.wt-header__inner>.wt-search{display:none}
	.wt-header__tools{display:flex}
	.wt-header__inner{min-height:70px}
	.wt-hero{min-height:400px;border-radius:22px}
	.wt-hero__copy{padding:40px 70px}
	.wt-hero__dots{right:70px}
	.wt-cats{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;margin-inline:calc(var(--wt-gutter) * -1);padding-inline:var(--wt-gutter);scroll-padding-inline:var(--wt-gutter);scrollbar-width:thin}
	.wt-cat{flex:0 0 180px;scroll-snap-align:start}
	.wt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.wt-single{grid-template-columns:minmax(0,1fr)}
	.wt-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
	.wt-feature{grid-template-columns:minmax(0,1fr)}
	.wt-feature__media{min-height:0;aspect-ratio:16/8}
	.wt-footer__main{grid-template-columns:repeat(3,minmax(0,1fr))}
	.wt-footer__about{grid-column:1/-1}
}

/* =========================================================
   13. التابلت الرأسي والهواتف الكبيرة (حتى 767)
   ========================================================= */
@media (max-width:767px){
	:root{--wt-gutter:16px}
	.wt-topbar__text{font-size:13px}
	.wt-topbar .wt-social{display:none}
	.wt-topbar .wt-container{justify-content:center;text-align:center}
	.wt-brand__mark{width:42px;height:42px}
	.wt-brand__name{font-size:22px}
	.wt-hero-wrap{padding-top:16px}
	.wt-hero{min-height:470px;border-radius:20px}
	.wt-hero__slide{align-items:flex-end}
	.wt-hero__slide::before{background:linear-gradient(0deg,rgba(28,18,10,.9) 0%,rgba(28,18,10,.55) 55%,rgba(28,18,10,.1) 100%)}
	.wt-hero__copy{padding:28px 22px 64px;max-width:none}
	.wt-hero__text{font-size:16px}
	.wt-hero__arrow{top:24px;transform:none;width:42px;height:42px}
	.wt-hero__arrow--next{left:12px}
	.wt-hero__arrow--prev{left:60px;right:auto}
	.wt-hero__dots{right:18px;bottom:16px}
	.wt-section{padding:34px 0}
	.wt-section-head h2{font-size:24px}
	.wt-section-head p{font-size:15px}
	.wt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
	.wt-card__body{padding:14px 14px 12px}
	.wt-card__title{font-size:17px}
	.wt-sidebar{grid-template-columns:minmax(0,1fr)}
	.wt-article__inner{padding:22px 20px 30px}
	.wt-article__intro{font-size:17px}
	.wt-h2,.wt-content h2{font-size:23px}
	.wt-content{font-size:17px}
	.wt-step__text{font-size:17px}
	.wt-ingredients{grid-template-columns:minmax(0,1fr)}
	.wt-ing{font-size:16px}
	.wt-pill{font-size:14px;padding:8px 12px}
	.wt-feature__body{padding:24px 22px}
	.wt-feature__body h2{font-size:23px}
	.wt-newsletter{padding:24px 22px}
	.wt-newsletter form{width:100%}
	.wt-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding:36px 0 24px}
	.wt-footer__bottom .wt-container{justify-content:center;text-align:center}
	.wt-archive-head__inner{padding:30px 22px}
	.wt-page .wt-article__inner{padding:24px 20px}
	.wt-content .alignleft,.wt-content .alignright{float:none;margin:1em auto}
}

/* =========================================================
   14. الهواتف (حتى 559): البطاقة أفقية مع الوصف
   ========================================================= */
@media (max-width:559px){
	.wt-hero-search .wt-btn{padding:10px 16px}
	.wt-cats{gap:12px}
	.wt-cat{flex-basis:142px}
	.wt-cat__name{font-size:16px}
	.wt-cat__sub{font-size:13px}
	.wt-grid{grid-template-columns:minmax(0,1fr);gap:12px}
	.wt-card__link{display:grid;grid-template-columns:136px minmax(0,1fr);align-items:stretch}
	.wt-card__media{aspect-ratio:auto;height:100%;min-height:136px}
	.wt-card__body{padding:12px 12px 10px}
	.wt-card__title{font-size:16px;margin-bottom:4px}
	.wt-card__desc{font-size:14px;margin-bottom:8px;line-height:1.65}
	.wt-card__meta{font-size:13px;padding-top:8px}
	.wt-card__meta .wt-icon{font-size:15px}
	.wt-badge{top:8px;right:8px;font-size:11.5px;padding:2px 9px}
	.wt-save{top:auto;bottom:8px;left:auto;right:92px;width:36px;height:36px;font-size:16px}
	.wt-card:hover{transform:none}
	.wt-footer__main{grid-template-columns:minmax(0,1fr)}
	.wt-pills{gap:8px}
	.wt-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
	.wt-actions .wt-action{justify-content:center;padding:8px 6px;font-size:13.5px;gap:6px}
	.wt-step{gap:12px}
	.wt-step__num{width:34px;height:34px;font-size:16px}
	.wt-comments .comment-list .children{padding-right:12px}
}

/* الهواتف الصغيرة جدا (حتى 374) */
@media (max-width:374px){
	:root{--wt-gutter:12px}
	.wt-brand__name{font-size:20px}
	.wt-brand__domain{display:none}
	.wt-icon-btn{width:42px;height:42px}
	.wt-hero__title{font-size:27px}
	.wt-hero-search input{padding:0 10px;font-size:15px}
	.wt-card__link{grid-template-columns:112px minmax(0,1fr)}
	.wt-save{right:68px}
	.wt-card__desc{-webkit-line-clamp:2}
}

/* =========================================================
   15. الطباعة: الوصفة فقط
   ========================================================= */
@media print{
	.wt-topbar,.wt-header,.wt-drawer,.wt-sidebar,.wt-footer,.wt-actions,.wt-to-top,.wt-comments,.wt-related,.wt-crumbs,.wt-ad,.wt-save,.wt-tags{display:none!important}
	body{background:#fff;font-size:12pt}
	.wt-single{display:block}
	.wt-article{border:0;box-shadow:none}
	.wt-article__inner{padding:0}
	.wt-article__media img{max-height:260px}
	.wt-ing{border:0;padding:4px 0;background:none}
	.wt-ingredients{gap:2px}
	a{text-decoration:none!important;color:#000!important}
}

/* تقليل الحركة لمن يفضل ذلك */
@media (prefers-reduced-motion:reduce){
	*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
