/*
Theme Name: Rihet Oud Hub — ريحة عود
Theme URI: https://rihetoud.com/
Description: موسوعة ريحة عود العربية. Classic/Hybrid مع Gutenberg وخط تجوال محلي وRTL ثابت.
Version: 2.1.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rihetoud-hub
Tags: blog, custom-logo, custom-menu, featured-images, rtl-language-support, block-patterns, editor-style
*/
@font-face{font-family:Tajawal;font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/Tajawal-Regular.ttf') format('truetype')}
@font-face{font-family:Tajawal;font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/Tajawal-Bold.ttf') format('truetype')}
:root{--brown:#3d2211;--gold:#c5a059;--ivory:#faf9f6;--ink:#35251c;--muted:#716255;--line:#e6ddcf;--body-size:clamp(18px,1.4vw,20px);--h1:clamp(34px,4.3vw,58px);--h2:clamp(29px,3.2vw,40px);--h3:clamp(22px,2vw,26px)}
*{box-sizing:border-box}html{scroll-padding-top:28px}body{direction:rtl;text-align:right;margin:0;background:var(--ivory);color:var(--ink);font:400 var(--body-size)/1.9 Tajawal,Tahoma,Arial,sans-serif}a{color:inherit;text-underline-offset:5px}a:hover{color:#805720}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button{cursor:pointer}a,button,input,textarea,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,.wp-block-table:focus-visible{outline:3px solid #94651d;outline-offset:5px}p,h1,h2,h3{margin-top:0}h1,h2,h3{font-weight:700;color:var(--brown);overflow-wrap:anywhere}h1{font-size:var(--h1);line-height:1.45;margin-bottom:24px}h2{font-size:var(--h2);line-height:1.5;margin-bottom:24px}h3{font-size:var(--h3);line-height:1.5}p{margin-bottom:22px}.wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}.section{padding-block:88px}.eyebrow{font-size:16px;font-weight:700;color:#805720;margin-bottom:12px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:36px}.section-heading h2{margin-bottom:0}.section-heading>p{max-width:400px;margin-bottom:4px;color:var(--muted);font-size:18px}.text-link{font-size:18px;font-weight:700;white-space:nowrap;text-decoration:none;border-bottom:1px solid #c3a373;padding-bottom:6px}
.site-header{background:#fffdf9;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:140px;padding-block:10px}.brand{flex-shrink:0;display:inline-flex;align-items:center;text-decoration:none}.brand-image{display:block;object-fit:contain;width:126px;height:116px}.header-inner nav{flex:1}.menu{display:flex;align-items:center;justify-content:center;gap:23px;list-style:none;padding:0;margin:0;font-size:18px;font-weight:700}.menu a{text-decoration:none;display:inline-block;padding-block:13px}.menu>li{position:relative}.menu>li>a:after{content:'';display:block;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:right;transition:transform .2s}.menu>li>a:hover:after,.menu>li>a:focus-visible:after{transform:scaleX(1)}.sub-menu{display:none;position:absolute;min-width:210px;z-index:10;background:#fffdf9;border:1px solid var(--line);border-radius:8px;padding:16px;list-style:none}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu-toggle{border:1px solid var(--line);background:#fffdf9;color:var(--brown);border-radius:8px;padding:8px 14px;min-height:46px;font-size:17px}.menu-toggle span{margin-inline-end:5px}
.hero{background:#21150e;color:#fff6e9;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.06fr 1fr;gap:45px;align-items:center;min-height:620px}.hero-copy{padding-block:72px;position:relative;z-index:1}.hero h1{color:#fff6e9;max-width:670px;font-size:clamp(36px,4vw,56px);line-height:1.5}.hero .eyebrow{color:#e8d295}.hero-description{font-size:22px;line-height:1.95;color:#e6d8c7;max-width:620px}.hero-media{align-self:stretch;position:relative;margin-inline-end:-80px}.hero-media>img{width:100%;height:100%;min-height:580px;object-fit:cover;display:block}.hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(to left,#21150e,transparent 36%)}.hero-caption{position:absolute;z-index:1;bottom:45px;inset-inline:70px 20px;text-align:center;color:#f2e2c4}.hero-caption span{display:block;font-size:24px;font-weight:700}.hero-caption small{font-size:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:#e8d295;border:1px solid transparent;border-radius:9px;color:#3d2211;padding:12px 26px;font-size:19px;font-weight:700;text-decoration:none;min-height:54px}.hero-links{display:flex;flex-wrap:wrap;gap:25px;font-size:17px;color:#e6d5b3;margin-top:24px}.hero-links a{text-decoration:none;border-bottom:1px solid #806542;padding-bottom:6px}.hero-links a:hover{color:white}
.topics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.topic{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fffdf9;text-decoration:none;box-shadow:0 4px 20px #3d221106;transition:transform .25s,border-color .25s,box-shadow .25s}.topic-photo{overflow:hidden;display:block;aspect-ratio:1.15;background:#3d2211}.topic-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .65s}.topic-copy{display:flex;flex-direction:column;flex:1;padding:20px 16px}.topic strong{font-size:21px;line-height:1.6;color:var(--brown);margin-bottom:9px}.topic-copy>span{font-size:16px;line-height:1.8;color:var(--muted);margin-bottom:16px}.topic small{font-size:16px;font-weight:700;display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:auto;color:#805720}.topic small b{font-size:24px;font-weight:400;transition:transform .2s}.topic:hover,.topic:focus-visible{transform:translateY(-6px);box-shadow:0 14px 30px #3d221114;border-color:#b39262}.topic:hover img,.topic:focus-visible img{transform:scale(1.06)}.topic:hover b,.topic:focus-visible b{transform:translateX(-4px)}.tint{background:#f0eae0;border-block:1px solid var(--line)}.reviews-section{background:#eee5d6}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.card{overflow:hidden;min-width:0;background:#fffdf9;border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column;box-shadow:0 4px 16px #3d221105;transition:transform .25s,box-shadow .25s}.card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #3d221111}.card-visual{position:relative}.card-image{display:block;overflow:hidden;background:#211b15}.card-image img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;transition:transform .6s}.card:hover .card-image img{transform:scale(1.035)}.card-image img.rh-product-photo{object-fit:contain;background:#11130f}.image-badge{position:absolute;bottom:14px;inset-inline-end:14px;font-size:14px;line-height:1.4;background:#fff5e4ed;color:#3d2211;padding:6px 10px;border-radius:5px;pointer-events:none}.card-copy{display:flex;flex-direction:column;flex:1;padding:25px}.meta{font-size:16px;color:var(--muted)}.category-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:14px;font-size:15px}.category-meta a{color:#805720;font-weight:700;text-decoration:none}.demo-label{font-size:14px;color:#716255;background:#f0ece4;padding:1px 7px;border-radius:4px}.card h3{margin-bottom:14px}.card h3 a{text-decoration:none}.card p{font-size:18px;line-height:1.9;color:var(--muted);margin-bottom:24px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:17px;margin-top:auto;font-size:15px}.card-bottom a{text-decoration:none;font-weight:700;color:#805720}.card-bottom a span{margin-inline-start:8px}.empty{padding:30px;background:#fffdf9;border:1px dashed #bbaa90;border-radius:12px}.empty p:last-child{margin-bottom:0}.trust{background:#e9ddc4;border-block:1px solid #dbcaac}.trust-inner{display:flex;align-items:center;gap:70px}.trust-inner>div:last-child{max-width:850px}.trust-inner p{font-size:21px}.trust-emblem{flex-shrink:0;min-width:180px;aspect-ratio:1;border:1px solid #a88a52;border-radius:50%;display:grid;place-content:center;text-align:center;font-size:31px;line-height:1.6;font-weight:700;transform:rotate(-7deg)}.inline-links{list-style:none;display:flex;flex-wrap:wrap;gap:20px;padding:0;margin-bottom:0}.inline-links a{font-weight:700}
.site-footer{background:#251b13;color:#f4eadc;border-top:3px solid var(--gold);padding-top:32px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:10px 28px;border-bottom:1px solid #59432c;margin-bottom:48px}.footer-top>span{font-size:25px;color:#ead3a4;font-weight:700}.footer-top>a{font-size:16px;text-decoration:none;color:#dfcda9}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:48px;padding-bottom:45px}.footer-grid>div{min-width:0}.site-footer h2{font-size:23px;line-height:1.5;margin-bottom:22px;color:#e8d295}.site-footer p{font-size:18px;line-height:1.95;color:#d9cbbb}.brand-full{margin-bottom:20px;background:transparent;padding:0}.brand-full .brand-image{width:154px;height:150px;filter:brightness(0) saturate(100%) invert(88%) sepia(23%) saturate(669%) hue-rotate(342deg) brightness(97%) contrast(89%)}.footer-brand>p{max-width:340px}.site-footer ul{padding:0;margin:0;list-style:none}.site-footer li{margin-bottom:13px;font-size:18px}.site-footer a{text-decoration:none}.site-footer a:hover{color:#e8d295}.site-footer .footer-note{font-size:15px;color:#d3ba87}.site-footer .footer-helper{margin-top:24px;font-size:16px;color:#bfad98}.copyright{border-top:1px solid #59432c;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-block:24px;font-size:16px;color:#d9cbbb}.copyright b{color:#e8d295;font-weight:700}
.reading{max-width:820px;margin-inline:auto;overflow-wrap:anywhere}.reading>header{margin-bottom:32px}.breadcrumbs{font-size:16px;color:var(--muted);margin-bottom:30px;line-height:1.9}.featured{margin:28px 0}.featured img{width:100%;border-radius:12px}.entry-content{font-size:22px;line-height:2.05}.entry-content p{margin-bottom:26px}.entry-content h2{font-size:32px;line-height:1.6;margin-block:44px 22px}.entry-content h3{font-size:26px;margin-top:30px}.entry-content ul,.entry-content ol{padding-inline-start:30px}.entry-content li{margin-bottom:12px}.entry-content a{text-decoration:underline}.entry-content figure{max-width:100%;margin-inline:0}.entry-content table{border-collapse:collapse;width:100%;min-width:560px;font-size:18px}.entry-content th,.entry-content td{border:1px solid #cbbda8;text-align:start;padding:15px}.entry-content th{background:#eee4d3}.wp-block-table,.table-scroll{overflow-x:auto;max-width:100%}.wp-block-table figcaption{font-size:16px;margin-top:12px}.wp-block-image img{height:auto}.callout,blockquote,.wp-block-pullquote{border-inline-start:4px solid #9a6f34;background:#efe7d8;padding:24px;margin-inline:0;font-size:19px}.author-box{display:flex;gap:24px;align-items:center;border-block:1px solid var(--line);padding-block:28px;margin-block:36px}.author-box img{border-radius:50%}.author-box h2{font-size:24px;margin-bottom:7px}.author-box p{font-size:18px;margin:7px 0}.author-box h1{margin-bottom:12px}.pagination{margin-top:44px}.nav-links{display:flex;flex-wrap:wrap;gap:12px}.page-numbers{padding:9px 17px;border:1px solid var(--line);border-radius:7px;font-size:18px}.current{background:var(--brown);color:white}.comment-list{padding-inline-start:20px}.comment-form input:not([type=checkbox]),.comment-form textarea{max-width:100%;width:100%;padding:13px;border:1px solid #b6a48c;border-radius:7px}.comment-form label{display:block;font-size:18px}.comment-form .submit{background:var(--brown);color:white;font-size:19px}.rh-product-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-block:28px}.rh-product-gallery figure{min-width:0;margin:0}.rh-product-gallery img{width:100%;height:auto;border-radius:9px;display:block}.rh-product-gallery figcaption{font-size:15px;line-height:1.8;margin-top:12px}.screen-reader-text,.skip-link{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip-link:focus{clip-path:none;width:auto;height:auto;background:white;padding:16px;z-index:100;inset:10px auto auto 10px}.alignwide,.alignfull,.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:16px}.sticky{border-color:#9a6f34}.bypostauthor{border-inline-start:2px solid #9a6f34}.js-motion [data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .6s var(--delay,0ms),transform .6s var(--delay,0ms)}.js-motion [data-reveal].is-visible{opacity:1;transform:none}
@media(min-width:1200px){.menu-toggle{display:none!important}}
@media(max-width:1199px){.wrap{width:calc(100% - 48px)}.header-inner{flex-wrap:wrap;gap:16px;min-height:118px}.brand{margin-inline-end:auto}.brand-image{width:112px;height:100px}.header-inner nav{order:4;flex-basis:100%}.menu{flex-wrap:wrap;justify-content:start;gap:14px 26px;padding-block:12px}.nav-ready #primary-navigation{display:none}.nav-ready #primary-navigation.is-open{display:block}.sub-menu{position:static;display:block;border:0;background:transparent;padding:6px 16px}.hero-grid{gap:20px;min-height:560px}.hero h1{font-size:42px}.hero-media>img{min-height:560px}.hero-description{font-size:20px}.topics{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.topic-photo{aspect-ratio:1.7}.topic-copy{padding:22px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 50px}.cards{gap:22px}.card-copy{padding:22px}.card h3{font-size:24px}.section-heading{gap:25px}.section-heading>p{max-width:320px}.trust-inner{gap:40px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.section{padding-block:58px}.header-inner{min-height:112px;gap:12px}.brand-image{width:104px;height:94px}.menu{flex-direction:column;align-items:stretch;gap:0;font-size:19px}.menu a{padding-block:12px}.hero-grid{display:flex;flex-direction:column;gap:0}.hero-copy{padding-block:44px 18px;width:100%}.hero h1{font-size:clamp(34px,8.5vw,44px);line-height:1.55}.hero-description{font-size:20px;line-height:1.9}.hero-media{width:100%;height:300px;min-height:0;margin:0}.hero-media>img{height:300px;min-height:0;object-position:center}.hero-media:after{background:linear-gradient(to bottom,#21150e,transparent 38%)}.hero-caption{bottom:20px;inset-inline:20px}.hero-caption span{font-size:22px}.hero-links{gap:17px;font-size:16px}.section-heading{display:block;margin-bottom:28px}.section-heading h2{font-size:31px}.section-heading>p{max-width:none;font-size:18px;margin-top:15px;margin-bottom:0}.section-heading>.text-link{display:inline-block;margin-top:18px}.eyebrow{font-size:15px}.topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.topic-photo{aspect-ratio:1.12}.topic-copy{padding:18px 14px}.topic strong{font-size:20px}.topic-copy>span{font-size:16px;line-height:1.8}.topic small{font-size:16px}.cards{grid-template-columns:1fr;gap:26px}.card-copy{padding:24px}.card h3{font-size:25px}.card p{font-size:19px}.card-bottom{font-size:16px}.trust-inner{display:block}.trust-emblem{width:115px;min-width:0;font-size:22px;margin-bottom:28px}.trust-inner p{font-size:20px}.footer-top{display:block;margin-bottom:35px}.footer-top>span{display:block;font-size:23px;margin-bottom:12px}.footer-grid{gap:35px 22px}.footer-grid>div:first-child{grid-column:1/-1}.footer-brand{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:15px 24px}.brand-full{margin:0}.brand-full .brand-image{width:110px;height:130px}.footer-brand>p{max-width:none;margin:0;font-size:18px}.footer-brand .footer-note{grid-column:1/-1;font-size:15px}.site-footer h2{font-size:21px}.site-footer li{font-size:18px;margin-bottom:12px}.footer-helper{font-size:16px}.copyright{font-size:15px;gap:10px}.entry-content{font-size:20px;line-height:2}.entry-content h2{font-size:29px}.entry-content h3{font-size:24px}.reading h1{font-size:34px}.meta{font-size:16px}.author-box{align-items:start}.rh-product-gallery{grid-template-columns:1fr}.breadcrumbs{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.js-motion [data-reveal]{opacity:1!important;transform:none!important}}

.featured figcaption{font-size:15px;color:var(--muted);margin-top:12px}.featured img.rh-product-photo{max-height:600px;object-fit:contain;background:#11130f}
