/* Ramy Executive 2.0 — coherent design system */
:root{--navy:#10264B;--navy-deep:#0B1C35;--gold:#C49A45;--gold-light:#E7D2A5;--ink:#1B2A41;--muted:#64748B;--ivory:#F6F3EC;--ivory-2:#FBFAF7;--line:#E7E1D5;--white:#fff;--green:#178A63;--shadow-sm:0 8px 24px rgba(16,38,75,.06);--shadow-lg:0 20px 54px rgba(16,38,75,.12);--radius:18px;--container:1240px;--font:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;font-family:var(--font);font-size:17px;color:var(--ink);background:#fff;line-height:1.85;overflow-x:hidden}body.no-scroll{overflow:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(var(--container),calc(100% - 64px));margin-inline:auto}.ramy-icon{display:inline-block;width:1.25em;height:1.25em;flex:0 0 auto;vertical-align:middle}.skip-link{position:absolute;z-index:5000;top:-100px;inset-inline-start:16px;background:#fff;padding:10px 16px;border-radius:8px}.skip-link:focus{top:12px}
/* Header */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-bottom:1px solid rgba(16,38,75,.08);transition:box-shadow .25s}.site-header.is-scrolled{box-shadow:0 8px 26px rgba(16,38,75,.1)}.header-inner{min-height:110px;display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(230px,1fr);align-items:center;gap:24px;transition:min-height .25s}.is-scrolled .header-inner{min-height:78px}.brand{min-width:0;display:flex;align-items:center}.brand-link{display:inline-flex;align-items:center;max-width:100%}.brand-link img,.brand .custom-logo,.brand .custom-logo-link img{display:block;width:var(--logo-desktop,180px);max-width:100%;max-height:94px;object-fit:contain;height:auto}.brand .custom-logo-link{display:inline-flex;max-width:100%}.desktop-nav{justify-self:center}.desktop-nav ul,.footer-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:clamp(14px,2vw,28px)}.desktop-nav a{font-size:16px;font-weight:600;color:var(--navy);transition:color .2s}.desktop-nav a:hover,.desktop-nav .current-menu-item>a{color:var(--gold)}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.phone-link,.header-wa{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 15px;border-radius:10px;font-size:14px;font-weight:700;white-space:nowrap;transition:transform .2s,box-shadow .2s,background .2s}.phone-link{border:1px solid var(--line);color:var(--navy);background:#fff}.phone-link .ramy-icon{width:18px;height:18px}.phone-link span{font-size:13px;direction:ltr;unicode-bidi:isolate}.header-wa{background:var(--green);color:#fff}.header-wa .ramy-icon{width:20px;height:20px}.phone-link:hover,.header-wa:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}.search-open,.menu-open{width:44px;height:44px;border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--navy)}.search-open:hover{background:var(--ivory);border-color:var(--line)}.search-open .ramy-icon{width:23px;height:23px}.menu-open{display:none}.menu-open span{display:block;width:22px;height:2px;background:var(--navy);border-radius:3px;margin:3px}
/* Drawer and search */
.drawer-overlay{position:fixed;inset:0;z-index:1090;background:rgba(5,16,32,.48);opacity:0;transition:opacity .2s}.drawer-overlay.is-visible{opacity:1}.mobile-drawer{position:fixed;z-index:1100;inset-block:0;inset-inline-start:0;width:min(390px,88vw);padding:22px;background:#fff;box-shadow:var(--shadow-lg);transform:translateX(105%);transition:transform .28s;overflow:auto;visibility:hidden}.mobile-drawer.is-open{transform:translateX(0);visibility:visible}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--line);color:var(--navy);font-size:20px}.drawer-close,.search-close{border:0;background:var(--ivory);color:var(--navy);width:40px;height:40px;border-radius:50%;font-size:26px;line-height:1}.mobile-drawer .menu{list-style:none;padding:0;margin:18px 0}.mobile-drawer .menu li{border-bottom:1px solid #f0ede6}.mobile-drawer .menu a{display:block;padding:13px 4px;font-weight:600;color:var(--navy)}.drawer-actions{display:grid;gap:10px;margin-top:24px}.drawer-actions .button{width:100%}.search-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:flex-start;justify-content:center;padding:15vh 20px 30px;background:rgba(7,20,39,.58);opacity:0;visibility:hidden;transition:.2s}.search-modal.is-open{opacity:1;visibility:visible}.search-panel{position:relative;width:min(650px,100%);padding:42px 38px 34px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-lg);transform:translateY(14px);transition:transform .2s}.search-modal.is-open .search-panel{transform:translateY(0)}.search-close{position:absolute;top:16px;inset-inline-end:16px}.search-panel h2{color:var(--navy);font-size:29px;margin:5px 0 20px}.search-form{display:flex;gap:10px}.search-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:12px 15px;outline:0}.search-form input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(196,154,69,.12)}.live-search-results{display:grid;gap:6px;margin-top:15px}.live-result{display:flex;gap:13px;align-items:center;padding:10px 12px;border-radius:10px;background:var(--ivory-2);transition:background .2s}.live-result:hover{background:var(--ivory)}.live-result img{width:48px;height:48px;object-fit:cover;border-radius:8px;flex:none}.live-result .live-result-copy{display:grid;gap:2px;min-width:0}.live-result .live-result-copy>span{font-size:12px;color:var(--gold);min-width:0}.live-result .live-result-copy strong{font-size:15px;color:var(--navy)}.live-result strong{font-size:15px;color:var(--navy)}.search-empty{color:var(--muted);margin:8px 0}
/* Common controls */
.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 22px;border-radius:10px;border:1px solid transparent;font-weight:700;font-size:15px;line-height:1.4;transition:transform .2s,box-shadow .2s,background .2s,color .2s}.button:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}.button-gold{background:var(--gold);color:#fff}.button-gold:hover{background:#ae8437}.button-outline{border-color:var(--navy);background:transparent;color:var(--navy)}.button-outline:hover{background:var(--navy);color:#fff}.button-whatsapp{background:var(--green);color:#fff}.button-whatsapp:hover{background:#11734f}.text-link{display:inline-flex;align-items:center;gap:5px;color:var(--navy);font-weight:700}.text-link:hover{color:var(--gold)}.text-link .ramy-icon{width:16px;height:16px}.eyebrow{display:inline-block;color:var(--gold);font-size:13px;font-weight:700;letter-spacing:.02em}
/* Hero */
.hero-section{position:relative;isolation:isolate;overflow:hidden;padding:75px 0 82px;background:linear-gradient(115deg,#fff 0%,#fbfaf7 53%,#f3f0e8 100%)}.hero-section:before{content:"";position:absolute;z-index:-1;width:500px;height:500px;border:1px solid rgba(196,154,69,.18);border-radius:50%;inset-inline-start:-185px;top:-250px;box-shadow:0 0 0 34px rgba(196,154,69,.045),0 0 0 78px rgba(16,38,75,.025),0 0 0 124px rgba(196,154,69,.025)}.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);align-items:center;gap:clamp(38px,6vw,86px)}.hero-copy{max-width:690px}.hero-copy h1{font-size:clamp(42px,5vw,68px);line-height:1.22;color:var(--navy);margin:12px 0 5px;font-weight:700}.hero-copy h2{font-size:clamp(21px,2.2vw,30px);line-height:1.55;color:#34445d;margin:0 0 17px}.hero-copy p{font-size:19px;line-height:1.95;color:var(--muted);margin:0;max-width:680px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.hero-visual{min-height:450px;position:relative;display:flex;justify-content:center;align-items:flex-end}.hero-portrait{width:min(390px,100%);height:455px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;border:1px solid rgba(196,154,69,.35);border-radius:190px 190px 18px 18px;background:rgba(255,255,255,.68);box-shadow:var(--shadow-sm)}.hero-portrait img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}.hero-stamp{position:absolute;bottom:24px;inset-inline-end:0;width:108px;height:108px;border-radius:50%;background:var(--navy);border:5px solid #fff;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--shadow-sm)}.hero-stamp strong{font-size:31px;line-height:1.1}.hero-stamp span{font-size:11px}
/* Watermark sections */
.section{position:relative;isolation:isolate;overflow:hidden;padding:82px 0}.section>*{position:relative;z-index:1}.watermark-section:before,.watermark-section:after{content:"";position:absolute;z-index:0;pointer-events:none}.watermark-section:before{width:340px;height:340px;border:1px solid rgba(196,154,69,.12);border-radius:50%;inset-inline-start:-190px;top:-145px;box-shadow:0 0 0 25px rgba(196,154,69,.025),0 0 0 52px rgba(16,38,75,.018)}.watermark-section:after{width:250px;height:250px;border:1px solid rgba(16,38,75,.045);transform:rotate(45deg);inset-inline-end:-160px;bottom:-150px;border-radius:42px}.watermark-services:before{inset-inline-start:auto;inset-inline-end:-200px;top:-120px;width:420px;height:420px;border-radius:42% 58% 54% 46%;transform:rotate(25deg);background:repeating-linear-gradient(135deg,transparent 0 17px,rgba(16,38,75,.018) 18px 19px)}.watermark-books:before{inset-inline-start:-200px;top:5%;width:390px;height:390px;border-radius:20px;transform:rotate(35deg);background:repeating-linear-gradient(45deg,transparent 0 23px,rgba(196,154,69,.028) 24px 25px)}.watermark-articles:before{inset-inline-end:-185px;inset-inline-start:auto;top:-180px;width:420px;height:420px;box-shadow:0 0 0 32px rgba(196,154,69,.025),0 0 0 68px rgba(16,38,75,.02)}.soft-section{background:var(--ivory-2)}.section-heading{position:relative;max-width:760px;margin:0 auto 42px;text-align:center}.section-heading h2,.cta-inner h2{font-size:clamp(30px,3vw,42px);line-height:1.35;color:var(--navy);margin:8px 0 12px}.section-heading p{font-size:17px;color:var(--muted);margin:0}
/* Feature and service cards */
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:stretch}.feature-card,.service-card{--accent:var(--gold);--tint:#fbf5e8;position:relative;isolation:isolate;min-width:0;min-height:250px;padding:27px 26px 30px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden;display:flex;flex-direction:column;transition:transform .28s,box-shadow .28s,border-color .28s,background .28s}.feature-card:before,.service-card:before{content:"";position:absolute;z-index:-1;width:180px;height:180px;border-radius:50%;background:var(--tint);inset-inline-start:-105px;bottom:-115px;opacity:.75;transition:transform .35s,opacity .35s}.feature-card:hover,.service-card:hover{transform:translateY(-8px);background:var(--tint);border-color:var(--accent);box-shadow:0 20px 42px color-mix(in srgb,var(--accent) 18%,transparent)}.feature-card:hover:before,.service-card:hover:before{transform:scale(1.6);opacity:1}.feature-01{--accent:#C49A45;--tint:#FBF4E6}.feature-02{--accent:#2E7796;--tint:#EAF4F7}.feature-03{--accent:#648B72;--tint:#EEF5EF}.feature-04{--accent:#7B6AA7;--tint:#F2EFF8}.service-01{--accent:#C49A45;--tint:#FBF4E6}.service-02{--accent:#3D8295;--tint:#EAF4F6}.service-03{--accent:#778A63;--tint:#F0F4EB}.card-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.feature-number,.service-number{font-size:15px;font-weight:700;color:var(--accent);letter-spacing:.08em}.feature-icon,.service-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:var(--tint);color:var(--accent);transition:background .25s,color .25s,transform .25s}.feature-icon .ramy-icon,.service-icon .ramy-icon{width:29px;height:29px}.feature-card:hover .feature-icon,.service-card:hover .service-icon{background:var(--accent);color:#fff;transform:rotate(-5deg) scale(1.04)}.feature-card h3,.service-card h3{font-size:21px;color:var(--navy);line-height:1.5;margin:0 0 9px}.feature-card p,.service-card p{font-size:16px;line-height:1.9;color:var(--muted);margin:0}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.service-card{min-height:270px;padding:30px}.section-action{text-align:center;margin-top:34px}
/* Books slider */
.book-slider{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:18px;max-width:1050px;margin:0 auto}.book-viewport{overflow:hidden;min-width:0;border-radius:var(--radius)}.book-track{display:flex;direction:ltr;width:100%;transition:transform .55s cubic-bezier(.2,.7,.2,1);will-change:transform}.book-slide{direction:rtl;flex:0 0 100%;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:42px;padding:28px 40px;background:linear-gradient(110deg,#fff 0%,#fbfaf7 100%);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.book-slide-cover{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;height:330px;background:var(--ivory);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 16px 36px rgba(16,38,75,.13)}.book-slide-cover img{width:100%;height:100%;object-fit:contain}.cover-fallback{display:grid;place-items:center;text-align:center;min-height:240px;padding:24px;background:linear-gradient(145deg,var(--navy),#1b406c);color:#fff;font-weight:700}.book-slide-info{grid-column:1;grid-row:1}.book-slide-info h3{font-size:29px;line-height:1.5;color:var(--navy);margin:8px 0}.book-slide-info p{font-size:17px;line-height:1.95;color:var(--muted);margin:0 0 22px}.book-actions{display:flex;flex-wrap:wrap;align-items:center;gap:15px}.book-arrow{width:46px;height:46px;border:1px solid var(--gold-light);border-radius:50%;background:#fff;color:var(--navy);display:grid;place-items:center;box-shadow:var(--shadow-sm);transition:.2s}.book-arrow .ramy-icon{width:20px;height:20px}.book-arrow:hover:not(:disabled){background:var(--navy);border-color:var(--navy);color:#fff}.book-arrow:disabled{opacity:.35;cursor:not-allowed}.book-dots{display:flex;justify-content:center;gap:8px;margin-top:18px}.book-dot{width:8px;height:8px;border:0;border-radius:20px;background:#d6d2c9;padding:0;transition:width .2s,background .2s}.book-dot.is-active{width:25px;background:var(--gold)}.books-empty{display:flex;align-items:center;gap:22px;max-width:900px;margin:0 auto;padding:26px 30px;border:1px dashed #d7c9ab;border-radius:16px;background:rgba(255,255,255,.76)}.books-empty-icon{width:58px;height:58px;flex:none;display:grid;place-items:center;border-radius:16px;background:var(--ivory);color:var(--gold)}.books-empty-icon .ramy-icon{width:28px;height:28px}.books-empty h3{margin:0 0 4px;color:var(--navy);font-size:20px}.books-empty p{margin:0;color:var(--muted);font-size:15px}
/* Article cards */
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1140px;margin-inline:auto;align-items:stretch}.article-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:var(--shadow-sm);transition:transform .28s,box-shadow .28s,border-color .28s}.article-card:hover{transform:translateY(-7px);border-color:rgba(196,154,69,.7);box-shadow:var(--shadow-lg)}.article-image{position:relative;display:block;height:220px;overflow:hidden;background:var(--ivory)}.article-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .55s}.article-card:hover .article-image img{transform:scale(1.055)}.image-fallback{display:grid;place-items:center;height:100%;color:var(--muted);background:linear-gradient(135deg,#f7f4ed,#e8edf2)}.article-card-body{display:flex;flex:1;flex-direction:column;padding:22px 22px 24px}.article-card-meta{color:var(--gold);font-size:12px;font-weight:600;margin-bottom:6px}.article-card h2,.article-card h3{font-size:20px;line-height:1.6;color:var(--navy);margin:0 0 10px}.article-card h2 a,.article-card h3 a{transition:color .2s}.article-card h2 a:hover,.article-card h3 a:hover{color:var(--gold)}.article-card p{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 16px}.article-card .text-link{margin-top:auto}
/* Page layouts */
.page-content{padding-top:60px;padding-bottom:82px}.page-heading{text-align:center;max-width:760px;margin:0 auto 46px}.page-heading h1{font-size:clamp(34px,4vw,48px);line-height:1.4;color:var(--navy);margin:8px 0 10px}.page-heading p{color:var(--muted);font-size:17px;margin:0}.archive-article-grid{max-width:1140px}.pagination{margin:40px 0}.pagination ul{display:flex;justify-content:center;gap:8px;list-style:none;padding:0}.pagination a,.pagination span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border:1px solid var(--line);border-radius:9px}.pagination .current{background:var(--navy);color:#fff;border-color:var(--navy)}
/* Article reading layout */
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:42px;align-items:start;width:min(1220px,calc(100% - 64px));margin-inline:auto;padding-top:48px;padding-bottom:84px}.single-article{min-width:0;max-width:920px}.article-header{margin-bottom:22px}.article-meta{display:flex;flex-wrap:wrap;gap:10px 20px;color:var(--muted);font-size:14px}.article-meta span+span:before{content:"•";color:var(--gold);margin-inline-end:12px}.article-header h1{font-size:clamp(34px,3.2vw,46px);line-height:1.45;color:var(--navy);font-weight:700;margin:12px 0 20px}.single-featured-image{margin:24px 0 32px}.single-featured-image img{display:block;width:100%;max-height:590px;object-fit:cover;border-radius:18px}.entry-content{width:100%;max-width:835px;font-size:19px;line-height:2.05;color:#28364a;overflow-wrap:anywhere;word-break:normal}.entry-content>*{max-width:100%}.entry-content p{margin:0 0 1.35em}.entry-content h2{position:relative;color:var(--navy);font-size:32px;line-height:1.5;font-weight:700;margin:1.8em 0 .65em;padding:0 .8em .35em 0;border-bottom:1px solid rgba(196,154,69,.3)}.entry-content h2:before{content:"";position:absolute;inset-inline-start:0;bottom:-1px;width:74px;height:3px;background:var(--gold);border-radius:3px}.entry-content h3{color:#1c426a;font-size:26px;line-height:1.55;font-weight:700;margin:1.5em 0 .55em}.entry-content h4{color:#425b78;font-size:22px;line-height:1.55;font-weight:700;margin:1.35em 0 .5em}.entry-content h5,.entry-content h6{color:var(--navy);font-size:19px;font-weight:700;margin:1.2em 0 .45em}.entry-content ul,.entry-content ol{padding-inline-start:0;padding-inline-end:1.65em;margin:1.1em 0 1.5em}.entry-content ul{list-style-type:disc}.entry-content ol{list-style-type:decimal}.entry-content li{padding-inline-start:.35em;margin:.45em 0;line-height:1.95}.entry-content li::marker{color:var(--gold);font-weight:700}.entry-content li>ul,.entry-content li>ol{margin:.4em 0 .6em;padding-inline-end:1.4em}.entry-content blockquote{position:relative;margin:30px 0;padding:23px 28px;border-inline-start:4px solid var(--gold);border-radius:0 13px 13px 0;background:var(--ivory-2);color:#42536b;font-size:19px;line-height:1.95}.entry-content blockquote p:last-child{margin-bottom:0}.entry-content table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:16px}.entry-content th,.entry-content td{padding:13px 15px;border-bottom:1px solid var(--line);border-inline-start:1px solid var(--line);text-align:start}.entry-content th{background:var(--navy);color:#fff;font-weight:700}.entry-content tr:nth-child(even) td{background:var(--ivory-2)}.entry-content tr:last-child td{border-bottom:0}.entry-content .wp-block-table{max-width:100%;overflow-x:auto}.entry-content img{height:auto;max-width:100%;border-radius:12px}.entry-content figure{margin:28px 0;max-width:100%}.entry-content iframe,.entry-content video,.entry-content embed{max-width:100%}.entry-content pre,.entry-content code{white-space:pre-wrap;overflow-wrap:anywhere}.entry-content .wp-block-columns{gap:24px}.article-sidebar{position:sticky;top:112px;min-width:0}.widget{padding:23px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm);margin-bottom:18px}.widget-title{font-size:20px;line-height:1.5;color:var(--navy);margin:0 0 16px}.widget ul{list-style:none;padding:0;margin:0}.widget li{padding:9px 0;border-bottom:1px solid #f0ede6;line-height:1.75}.widget li:last-child{border-bottom:0}.widget a{color:#40516a}.widget a:hover{color:var(--gold)}
/* Sharing and author card */
.share-row{display:flex;align-items:center;flex-wrap:wrap;gap:11px;border-top:1px solid var(--line);padding:25px 0;margin-top:34px}.share-row>strong{color:var(--navy);margin-inline-end:6px}.share-icon{width:46px;height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);display:grid;place-items:center;transition:transform .2s,background .2s,color .2s,border-color .2s;cursor:pointer}.share-icon .ramy-icon{width:21px;height:21px}.share-icon:hover{transform:translateY(-3px);color:#fff;background:var(--navy);border-color:var(--navy)}.share-whatsapp:hover{background:#178A63;border-color:#178A63}.share-facebook:hover{background:#1877F2;border-color:#1877F2}.share-linkedin:hover{background:#0A66C2;border-color:#0A66C2}.share-x:hover{background:#111;border-color:#111}.share-telegram:hover{background:#229ED9;border-color:#229ED9}.copy-feedback{flex-basis:100%;font-size:13px;color:var(--green);min-height:1.2em}.author-box{position:relative;isolation:isolate;display:flex;align-items:center;gap:24px;padding:28px 32px;margin:28px 0 42px;border:1px solid #eadbbd;border-radius:18px;background:linear-gradient(115deg,#fff 0%,#fbf8f1 100%);overflow:hidden}.author-box:after{content:"";position:absolute;z-index:-1;width:220px;height:220px;border:1px solid rgba(196,154,69,.14);border-radius:50%;inset-inline-start:-100px;bottom:-155px;box-shadow:0 0 0 24px rgba(196,154,69,.03)}.author-photo{flex:0 0 112px;width:112px;height:112px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 5px 20px rgba(16,38,75,.12)}.author-copy{min-width:0}.author-copy .eyebrow{margin-bottom:2px}.author-copy h2{font-size:24px;color:var(--navy);margin:0 0 5px}.author-copy p{font-size:16px;line-height:1.8;color:var(--muted);margin:0 0 8px}.related-posts{margin:42px 0}.related-heading{margin-bottom:20px}.related-heading h2{font-size:30px;color:var(--navy);margin:4px 0}.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.related-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s}.related-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}.related-image{display:block;height:175px;overflow:hidden;background:var(--ivory)}.related-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .4s}.related-card:hover .related-image img{transform:scale(1.05)}.related-copy{display:flex;flex:1;flex-direction:column;padding:17px}.related-copy h3{font-size:17px;line-height:1.6;color:var(--navy);margin:0 0 8px}.related-copy p{font-size:14px;color:var(--muted);line-height:1.75;margin:0 0 12px}.related-copy .text-link{margin-top:auto}
/* Comments */
.comments-area{margin-top:46px;padding-top:30px;border-top:1px solid var(--line)}.comments-heading h2{font-size:29px;color:var(--navy);margin:3px 0 20px}.comment-list{list-style:none;padding:0;margin:0}.comment-item{margin:12px 0}.comment-card{display:flex;gap:16px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.comment-card>img{width:54px;height:54px;border-radius:50%}.comment-body{min-width:0;flex:1}.comment-author{font-weight:700;color:var(--navy)}.author-badge{display:inline-flex;margin-inline-start:8px;padding:2px 9px;border-radius:20px;background:var(--gold);color:#fff;font-size:11px}.comment-body time{font-size:12px;color:var(--muted)}.comment-text{margin-top:8px}.reply-link{margin-top:7px}.comment-respond{padding:24px;border-radius:16px;background:var(--ivory-2);margin-top:25px}.comment-respond input,.comment-respond textarea,.contact-form input,.contact-form textarea{width:100%;padding:13px 15px;border:1px solid #d9dce2;border-radius:9px;background:#fff;outline:0}.comment-respond input:focus,.comment-respond textarea:focus,.contact-form input:focus,.contact-form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(196,154,69,.12)}
/* About, services, certificates */
.about-intro{display:grid;grid-template-columns:340px minmax(0,1fr);gap:50px;align-items:center;padding:34px;border-radius:22px;background:var(--ivory-2);border:1px solid var(--line)}.about-photo{height:430px;overflow:hidden;border-radius:170px 170px 16px 16px;background:#fff;border:1px solid var(--gold-light)}.about-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.about-copy h2{font-size:34px;color:var(--navy);margin:6px 0}.about-copy h3{font-size:21px;color:#40516a;margin:0 0 15px}.about-copy p{font-size:17px;line-height:1.95;color:var(--muted)}.timeline{max-width:880px;margin-inline:auto;display:grid;gap:15px}.timeline article{display:flex;gap:18px;padding:21px 24px;background:#fff;border:1px solid var(--line);border-radius:14px}.timeline article>span{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:13px;background:var(--ivory);color:var(--gold);font-weight:700}.timeline h3{margin:0;color:var(--navy);font-size:20px}.timeline p{margin:4px 0 0;color:var(--muted)}.credential-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.credential-card{padding:23px;border:1px solid var(--line);background:#fff;border-radius:14px}.credential-card h3{font-size:18px;color:var(--navy);margin:0}.credential-card p{margin:8px 0 0;color:var(--muted)}.certificate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.certificate-card{display:flex;flex-direction:column;gap:9px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s}.certificate-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.certificate-card img{display:block;width:100%;height:240px;object-fit:contain;background:#f9f8f5;border-radius:9px}.certificate-card span{font-weight:700;color:var(--navy)}.certificate-card small{color:var(--muted)}.service-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.service-detail{padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.service-detail .service-icon{margin-bottom:15px}.service-detail h2{font-size:23px;color:var(--navy);margin:0 0 13px}.service-detail ul{margin:0;padding-inline-start:0;padding-inline-end:1.4em}.service-detail li{margin:8px 0;color:var(--muted)}.service-detail li::marker{color:var(--gold)}
/* Contact */
.contact-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:26px}.contact-card,.contact-direct{padding:31px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.contact-card h2,.contact-direct h2{font-size:25px;color:var(--navy);margin:0 0 20px}.contact-direct{background:var(--ivory-2)}.contact-direct p{color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.form-grid label{display:grid;gap:7px;color:var(--navy);font-weight:600}.form-grid .form-wide{grid-column:1/-1}.contact-form textarea{resize:vertical;min-height:140px}.ramy-honeypot{position:absolute!important;inset-inline-start:-9999px!important;width:1px;height:1px;overflow:hidden}.contact-direct .button{width:100%;margin:12px 0}.contact-line{display:flex;align-items:center;gap:10px;margin:15px 0;color:var(--navy);font-weight:600}.contact-line .ramy-icon{color:var(--gold)}.contact-direct .social-links{display:flex;gap:10px;margin-top:20px}.form-notice{padding:13px 15px;border-radius:10px}.form-notice.is-success{background:#eaf6ef;color:#17623c}.form-notice.is-error{background:#fff0ed;color:#9a2d20}
/* Book archives and detail */
.book-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.book-archive-card{display:flex;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s}.book-archive-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}.book-archive-cover{height:320px;display:grid;place-items:center;background:var(--ivory-2);border-radius:10px;overflow:hidden}.book-archive-cover img{height:100%;width:100%;object-fit:contain}.book-archive-info{padding:15px 4px 4px}.book-archive-info h2{font-size:21px;color:var(--navy);margin:0 0 8px}.book-archive-info p{color:var(--muted);margin:0 0 12px}.book-detail{display:grid;grid-template-columns:340px minmax(0,1fr);align-items:start;gap:55px;max-width:1080px;margin:10px auto}.book-detail-cover{padding:16px;background:var(--ivory-2);border:1px solid var(--line);border-radius:18px}.book-detail-cover img{display:block;width:100%;max-height:510px;object-fit:contain}.book-detail-copy h1{font-size:38px;color:var(--navy);margin:8px 0}.book-long-desc{font-size:18px;color:var(--muted)}.book-purchase-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
/* Footer and floating controls */
.cta-band{position:relative;overflow:hidden;background:var(--navy);color:#fff;padding:55px 0}.cta-band:after{content:"";position:absolute;width:300px;height:300px;border:1px solid rgba(255,255,255,.08);border-radius:50%;inset-inline-start:-150px;top:-180px;box-shadow:0 0 0 30px rgba(255,255,255,.025),0 0 0 65px rgba(255,255,255,.018)}.cta-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:28px}.cta-inner h2{color:#fff;margin:4px 0 8px}.cta-inner p{color:#d5dce7;margin:0}.site-footer{position:relative;background:var(--navy-deep);color:#fff;padding:58px 0 0;overflow:hidden}.site-footer:before{content:"";position:absolute;inset-inline-end:-150px;top:-190px;width:370px;height:370px;border:1px solid rgba(196,154,69,.15);border-radius:50%;box-shadow:0 0 0 30px rgba(196,154,69,.025),0 0 0 64px rgba(255,255,255,.018)}.footer-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.35fr .8fr 1fr;gap:58px;padding-bottom:44px}.footer-brand img{width:140px;height:auto;display:block;background:#fff;border-radius:8px;padding:5px;margin-bottom:14px}.footer-grid h2,.footer-grid h3{color:#fff;margin:0 0 14px;font-size:21px}.footer-grid h4{color:#e5d3ad;margin:23px 0 10px}.footer-grid p{color:#c7d0dc;line-height:1.9;margin:0 0 16px}.footer-cta{display:inline-flex;align-items:center;gap:8px;color:#f1dcae;font-weight:700}.footer-cta .ramy-icon{width:20px;height:20px}.footer-nav ul{display:grid;gap:10px}.footer-nav a{color:#d9e0e9}.footer-nav a:hover{color:#e6c681}.footer-contact-line{display:flex;align-items:center;gap:11px;margin:13px 0;color:#edf1f6}.footer-contact-line .ramy-icon{width:19px;height:19px;color:#e0bd75}.footer-contact-line span[dir=ltr]{unicode-bidi:isolate}.mail-icon{width:19px;height:19px;display:grid;place-items:center;color:#e0bd75;border:1px solid #e0bd75;border-radius:5px;font-size:13px}.social-links{display:flex;flex-wrap:wrap;gap:10px}.social-icon-link{width:43px;height:43px;display:grid;place-items:center;border:1px solid rgba(225,197,139,.42);border-radius:12px;color:#e6d1a3;background:rgba(255,255,255,.035);transition:transform .2s,background .2s,color .2s,border-color .2s}.social-icon-link .ramy-icon{width:21px;height:21px}.social-icon-link:hover{transform:translateY(-4px);background:var(--gold);border-color:var(--gold);color:#fff}.footer-bottom{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.12);padding:17px 0;color:#c2ccda;font-size:13px}.footer-bottom .container{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-top-link{color:#e5d3ad}.floating-wa{position:fixed;inset-inline-start:24px;bottom:23px;z-index:950;display:inline-flex;align-items:center;gap:9px;padding:12px 17px;border-radius:50px;background:#168b62;color:#fff;font-weight:700;box-shadow:0 10px 28px rgba(22,139,98,.28);transition:transform .2s,box-shadow .2s}.floating-wa .ramy-icon{width:22px;height:22px}.floating-wa:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(22,139,98,.35)}.back-to-top{position:fixed;inset-inline-start:31px;bottom:91px;z-index:940;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:var(--gold);color:#fff;box-shadow:0 8px 22px rgba(16,38,75,.2);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s}.back-to-top .ramy-icon{width:20px;height:20px}.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.back-to-top:hover{background:var(--navy)}.error-page{text-align:center;min-height:48vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.error-page h1{font-size:42px;color:var(--navy)}
/* Responsive breakpoints: desktop, tablet, mobile */
@media(max-width:1100px){.header-inner{grid-template-columns:minmax(120px,.7fr) auto minmax(210px,.9fr);gap:14px}.desktop-nav ul{gap:13px}.desktop-nav a{font-size:14px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{grid-template-columns:minmax(0,1fr) 250px;gap:28px}.book-slide{grid-template-columns:minmax(0,1fr) 220px;gap:28px}.book-slide-cover{height:300px}}
@media(max-width:850px){.container{width:min(100% - 42px,var(--container))}.header-inner{min-height:78px;display:flex;justify-content:space-between;gap:12px}.brand-link img,.brand .custom-logo,.brand .custom-logo-link img{width:var(--logo-mobile,112px);max-height:60px}.desktop-nav{display:none}.menu-open{display:flex;flex-direction:column;align-items:center;justify-content:center}.header-actions{gap:6px}.phone-link,.header-wa{min-height:40px;padding:7px 10px;font-size:12px;gap:5px}.phone-link .ramy-icon,.header-wa .ramy-icon{width:17px;height:17px}.hero-section{padding:48px 0 58px}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(220px,.78fr);gap:26px}.hero-visual{min-height:340px}.hero-portrait{height:350px;width:min(300px,100%)}.hero-stamp{width:86px;height:86px;bottom:10px}.hero-stamp strong{font-size:25px}.hero-copy h1{font-size:44px}.hero-copy p{font-size:17px}.section{padding:64px 0}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card:last-child{grid-column:1/-1}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{width:calc(100% - 42px);grid-template-columns:minmax(0,1fr);gap:34px}.single-article{max-width:100%}.entry-content{max-width:100%}.article-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.article-sidebar .widget{margin:0}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-card:last-child:nth-child(odd){grid-column:1/-1}.about-intro{grid-template-columns:260px minmax(0,1fr);gap:28px;padding:25px}.about-photo{height:370px}.certificate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-detail:last-child{grid-column:1/-1}.book-detail{grid-template-columns:260px minmax(0,1fr);gap:30px}.footer-grid{gap:30px}}
@media(max-width:620px){.container{width:calc(100% - 32px)}.header-inner{min-height:72px}.brand-link img,.brand .custom-logo,.brand .custom-logo-link img{width:min(var(--logo-mobile,112px),100px);max-height:52px}.header-actions{gap:4px}.phone-link span,.header-wa span{display:none}.phone-link,.header-wa{width:38px;height:38px;min-height:38px;padding:0;border-radius:50%}.phone-link .ramy-icon,.header-wa .ramy-icon{width:19px;height:19px}.search-open,.menu-open{width:38px;height:38px}.search-panel{padding:38px 20px 24px}.search-panel h2{font-size:24px}.search-form{flex-direction:column}.search-form .button{width:100%}.hero-section{padding:38px 0 48px}.hero-grid{grid-template-columns:1fr;gap:25px}.hero-copy{text-align:center}.hero-copy h1{font-size:40px}.hero-copy h2{font-size:21px}.hero-copy p{font-size:16px}.hero-actions{justify-content:center}.hero-visual{min-height:315px;order:-1}.hero-portrait{height:315px;width:min(270px,82%)}.hero-stamp{inset-inline-end:calc(50% - 160px);bottom:5px;width:77px;height:77px}.hero-stamp strong{font-size:22px}.hero-stamp span{font-size:10px}.section{padding:52px 0}.section-heading{margin-bottom:27px}.section-heading h2{font-size:29px}.section-heading p{font-size:15px}.feature-grid,.service-grid,.article-grid,.related-grid,.book-archive-grid,.credential-grid,.certificate-grid,.service-detail-grid{grid-template-columns:minmax(0,1fr);gap:15px}.feature-card,.service-card{min-height:0;padding:23px 22px}.feature-card h3,.service-card h3{font-size:20px}.feature-card p,.service-card p{font-size:15px}.service-card:last-child,.service-detail:last-child,.related-card:last-child:nth-child(odd){grid-column:auto}.article-image{height:210px}.article-card-body{padding:19px}.article-card h2,.article-card h3{font-size:19px}.article-card p{font-size:14px}.book-slider{grid-template-columns:34px minmax(0,1fr) 34px;gap:5px}.book-arrow{width:33px;height:33px}.book-slide{grid-template-columns:1fr;gap:16px;padding:20px;text-align:center}.book-slide-cover{grid-column:1;grid-row:1;width:min(210px,100%);height:245px;margin-inline:auto}.book-slide-info{grid-column:1;grid-row:2}.book-slide-info h3{font-size:23px}.book-slide-info p{font-size:15px}.book-actions{justify-content:center}.books-empty{flex-direction:column;align-items:center;text-align:center;padding:23px 18px}.page-content{padding-top:40px;padding-bottom:58px}.page-heading{margin-bottom:30px}.page-heading h1{font-size:32px}.article-layout{width:calc(100% - 32px);padding-top:30px;padding-bottom:58px;gap:28px}.article-header h1{font-size:30px;line-height:1.5}.article-meta{font-size:12px;gap:7px 12px}.entry-content{font-size:17px;line-height:1.95;overflow-wrap:anywhere}.entry-content h2{font-size:24px;margin:1.6em 0 .65em;padding-right:.55em}.entry-content h3{font-size:21px;margin:1.35em 0 .55em}.entry-content h4{font-size:19px}.entry-content ul,.entry-content ol{padding-inline-end:1.4em}.entry-content li{padding-inline-start:.15em}.entry-content blockquote{padding:17px 18px;font-size:16px}.entry-content .wp-block-table{overflow-x:auto}.entry-content table{min-width:520px;font-size:14px}.entry-content th,.entry-content td{padding:9px 10px}.entry-content .wp-block-columns{display:block}.entry-content .wp-block-column{margin-bottom:20px}.share-row{gap:8px}.share-row>strong{flex-basis:100%}.share-icon{width:42px;height:42px}.author-box{align-items:flex-start;gap:14px;padding:19px}.author-photo{width:70px;height:70px;flex-basis:70px}.author-copy h2{font-size:19px}.author-copy p{font-size:14px}.related-heading h2{font-size:25px}.related-image{height:200px}.related-copy{padding:17px}.related-copy h3{font-size:18px}.article-sidebar{grid-template-columns:1fr}.widget{padding:19px}.about-intro{grid-template-columns:1fr;padding:20px;gap:22px}.about-photo{height:330px;width:min(270px,100%);margin-inline:auto}.about-copy h2{font-size:29px}.about-copy h3{font-size:19px}.timeline article{padding:17px}.certificate-card img{height:230px}.book-detail{grid-template-columns:1fr;gap:25px}.book-detail-cover{width:min(280px,100%);margin-inline:auto}.book-detail-copy h1{font-size:31px}.contact-layout{grid-template-columns:1fr}.contact-card,.contact-direct{padding:22px}.form-grid{grid-template-columns:1fr}.form-grid .form-wide{grid-column:auto}.cta-inner{flex-direction:column;align-items:flex-start}.cta-inner h2{font-size:27px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-brand img{width:125px}.footer-bottom .container{flex-direction:column;align-items:flex-start}.floating-wa{inset-inline-start:14px;bottom:14px;padding:10px 13px}.back-to-top{inset-inline-start:19px;bottom:72px;width:42px;height:42px}}
@media(max-width:360px){.container{width:calc(100% - 26px)}.hero-copy h1{font-size:35px}.hero-copy h2{font-size:19px}.phone-link,.header-wa,.search-open,.menu-open{width:34px;height:34px;min-width:34px}.brand-link img,.brand .custom-logo,.brand .custom-logo-link img{width:90px}.entry-content{font-size:16px}.article-header h1{font-size:27px}.book-slider{grid-template-columns:28px minmax(0,1fr) 28px}.book-arrow{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v2.1 refinements: page archives, stable article width, and safe responsive media */
.category-filter{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:0 auto 34px;max-width:1120px}
.category-filter-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 15px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-size:14px;font-weight:600;transition:background .2s,color .2s,border-color .2s,transform .2s}
.category-filter-link:hover,.category-filter-link.is-active{background:var(--navy);border-color:var(--navy);color:#fff;transform:translateY(-1px)}
.archive-description{color:var(--muted);font-size:16px;line-height:1.9}
.page-gutenberg-content{margin-top:48px;margin-bottom:56px;padding:34px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.article-layout{grid-template-columns:minmax(0,1fr) 270px;gap:34px}
.single-article{width:100%;max-width:885px;min-width:0}
.entry-content{width:100%;max-width:835px;margin-inline:0;overflow-wrap:anywhere;word-break:normal}
.entry-content .wp-block-image img,.entry-content .wp-block-gallery img,.entry-content .wp-block-cover img,.entry-content .wp-block-video video{max-width:100%;height:auto}
.entry-content .wp-block-embed,.entry-content .wp-block-embed__wrapper,.entry-content .wp-block-video{max-width:100%;overflow:hidden}
.entry-content .wp-block-embed iframe,.entry-content iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto}
.entry-content .wp-block-table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.entry-content .wp-block-table table{min-width:560px}
.entry-content pre{max-width:100%;overflow-x:auto;white-space:pre}
.article-card,.related-card,.feature-card,.service-card{min-width:0}
.article-card h2,.article-card h3,.related-copy h3{overflow-wrap:anywhere}
.back-to-top{background:#B88B39;color:#fff;border-color:#fff}
.back-to-top:hover{background:var(--navy);color:#fff}
@media(max-width:850px){.article-layout{grid-template-columns:minmax(0,1fr);gap:30px;width:calc(100% - 42px)}.single-article{max-width:100%}.entry-content{max-width:100%}.article-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.category-filter{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:0 0 8px;scrollbar-width:thin}.category-filter-link{flex:none}.page-gutenberg-content{padding:20px;margin-top:30px}.article-layout{width:calc(100% - 32px)}.entry-content{font-size:17px;line-height:1.95}.entry-content table{min-width:560px}.entry-content figure{margin:22px 0}.article-sidebar{grid-template-columns:1fr}}

/* Final refinement: generous but controlled archives and logo proportions */
.archive-page{max-width:1160px}
.archive-article-grid{max-width:1120px;margin-inline:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media(max-width:850px){.archive-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:620px){.archive-article-grid{grid-template-columns:1fr;gap:16px}.header-inner{min-height:76px}.brand-link img,.brand .custom-logo,.brand .custom-logo-link img{max-height:58px}}


/* Header stability patch 2.2.1: prevent off-canvas UI from occupying the page when closed. */
.site-header{width:100%;}
.site-header .header-inner{position:relative;direction:rtl;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);}
.site-header .brand{justify-self:end;min-width:0;}
.site-header .desktop-nav{min-width:0;white-space:nowrap;}
.site-header .header-actions{justify-self:start;display:flex;flex-wrap:nowrap;align-items:center;white-space:nowrap;}
.site-header .menu-open{display:none!important;}
.drawer-overlay[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important;}
.drawer-overlay:not([hidden]){display:block;pointer-events:auto;}
.mobile-drawer{inset-inline-start:auto;inset-inline-end:0;max-width:100vw;overscroll-behavior:contain;z-index:1101;transform:translate3d(110%,0,0);visibility:hidden;pointer-events:none;}
.mobile-drawer.is-open[aria-hidden="false"]{transform:translate3d(0,0,0);visibility:visible;pointer-events:auto;}
.mobile-drawer[aria-hidden="true"]{visibility:hidden!important;pointer-events:none!important;}
.drawer-overlay{z-index:1100;}
.search-modal[aria-hidden="true"]{pointer-events:none;}
.search-modal.is-open[aria-hidden="false"]{pointer-events:auto;}
@media(min-width:851px){
  .site-header .menu-open{display:none!important;}
  .mobile-drawer,.drawer-overlay{display:none!important;}
}
@media(max-width:850px){
  .site-header .header-inner{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;min-height:78px;}
  .site-header .brand{order:2;flex:0 1 auto;max-width:38%;}
  .site-header .header-actions{order:1;flex:1 1 auto;justify-self:auto;min-width:0;gap:6px;}
  .site-header .header-actions>*{flex:0 0 auto;}
  .site-header .menu-open{display:inline-flex!important;}
  .mobile-drawer{display:block;position:fixed;top:0;bottom:0;right:0;left:auto;width:min(390px,88vw);max-width:88vw;padding:22px;}
  .mobile-drawer.is-open[aria-hidden="false"]{display:block;}
}
@media(max-width:620px){
  .site-header .header-inner{min-height:70px;}
  .site-header .brand{max-width:34%;}
  .site-header .header-actions{gap:4px;}
  .site-header .phone-link,.site-header .header-wa,.site-header .search-open,.site-header .menu-open{width:38px;min-width:38px;height:38px;min-height:38px;padding:0;}
}
@media(max-width:360px){
  .site-header .brand{max-width:30%;}
  .site-header .phone-link,.site-header .header-wa,.site-header .search-open,.site-header .menu-open{width:34px;min-width:34px;height:34px;min-height:34px;}
}

/* Header layout correction v2.2.2 — desktop and RTL mobile layouts. */
.site-header .header-inner{
  display:flex;
  flex-direction:row;
  direction:rtl;
  justify-content:space-between;
  align-items:center;
  gap:clamp(18px,2.4vw,36px);
}
.site-header .brand{
  order:0;
  flex:0 0 auto;
  justify-self:auto;
  margin:0;
  min-width:0;
  max-width:none;
}
.site-header .brand-link,
.site-header .brand .custom-logo-link{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.site-header .desktop-nav{
  order:1;
  flex:0 1 auto;
  min-width:0;
  margin-inline:auto;
  justify-self:auto;
}
.site-header .desktop-nav ul{
  justify-content:center;
  flex-wrap:nowrap;
}
.site-header .header-actions{
  order:2;
  flex:0 0 auto;
  direction:rtl;
  justify-content:flex-start;
  justify-self:auto;
  min-width:0;
  margin:0;
}
.site-header .menu-open{display:none!important;}

@media (max-width:980px){
  .site-header .header-inner{
    min-height:78px;
    display:flex;
    flex-direction:row;
    direction:rtl;
    justify-content:space-between;
    align-items:center;
    gap:10px;
  }
  .site-header .brand{
    order:0;
    flex:0 0 auto;
    max-width:clamp(88px,27vw,132px);
    margin:0;
  }
  .site-header .brand-link img,
  .site-header .brand .custom-logo,
  .site-header .brand .custom-logo-link img{
    width:var(--logo-mobile,112px);
    max-width:100%;
    max-height:58px;
    height:auto;
    object-fit:contain;
  }
  .site-header .desktop-nav{display:none!important;}
  .site-header .header-actions{
    order:1;
    flex:0 0 auto;
    direction:ltr;
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    min-width:0;
    margin:0;
  }
  .site-header .header-actions>*{flex:0 0 auto;}
  .site-header .phone-link,
  .site-header .header-wa,
  .site-header .search-open,
  .site-header .menu-open{
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    padding:0;
    border-radius:50%;
  }
  .site-header .phone-link span,
  .site-header .header-wa span{display:none;}
  .site-header .menu-open{display:inline-flex!important;}
  .site-header .menu-open span{margin:3px 0;}
  .mobile-drawer{
    display:block;
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:auto;
    width:min(390px,88vw);
    max-width:88vw;
    z-index:1101;
  }
}
@media (max-width:620px){
  .site-header .header-inner{min-height:70px;}
  .site-header .brand{max-width:clamp(82px,27vw,112px);}
  .site-header .brand-link img,
  .site-header .brand .custom-logo,
  .site-header .brand .custom-logo-link img{max-height:52px;}
  .site-header .header-actions{gap:4px;}
  .site-header .phone-link,
  .site-header .header-wa,
  .site-header .search-open,
  .site-header .menu-open{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
  }
}
@media (max-width:360px){
  .site-header .header-inner{gap:7px;}
  .site-header .brand{max-width:82px;}
  .site-header .brand-link img,
  .site-header .brand .custom-logo,
  .site-header .brand .custom-logo-link img{width:min(var(--logo-mobile,112px),82px);}
  .site-header .header-actions{gap:3px;}
  .site-header .phone-link,
  .site-header .header-wa,
  .site-header .search-open,
  .site-header .menu-open{width:34px;min-width:34px;height:34px;min-height:34px;}
}

/* Services page refinement — v2.2.3 (scoped to the services page only) */
.services-page{max-width:1240px;padding-top:58px;padding-bottom:86px}
.services-page-heading{max-width:790px;margin-bottom:48px}
.services-page-heading h1{font-size:clamp(38px,4.2vw,52px);letter-spacing:-.025em}
.services-page-heading p{font-size:18px;line-height:1.9}
.services-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;margin:0 auto 36px}
.services-detail-card{--service-accent:#bd9140;--service-tint:#f7f1e5;position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:100%;padding:30px 29px 27px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(150deg,#fff 0%,#fff 72%,var(--service-tint) 150%);box-shadow:0 10px 30px rgba(16,38,75,.055);overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,background .28s ease}
.services-detail-card--consulting{--service-accent:#bd9140;--service-tint:#f7f1e5}
.services-detail-card--development{--service-accent:#527b9a;--service-tint:#edf3f7}
.services-detail-card--training{--service-accent:#7c688f;--service-tint:#f2eef6}
.services-detail-card:before{content:"";position:absolute;z-index:-1;width:210px;height:210px;inset-inline-end:-105px;bottom:-125px;border:1px solid color-mix(in srgb,var(--service-accent) 22%,transparent);border-radius:50%;box-shadow:0 0 0 20px color-mix(in srgb,var(--service-accent) 5%,transparent),0 0 0 43px color-mix(in srgb,var(--service-accent) 3%,transparent);transition:transform .35s ease,opacity .35s ease}
.services-detail-card:hover{transform:translateY(-8px);border-color:color-mix(in srgb,var(--service-accent) 50%,white);background:linear-gradient(145deg,var(--service-tint) 0%,#fff 76%);box-shadow:0 22px 48px rgba(16,38,75,.12)}
.services-detail-card:hover:before{transform:scale(1.15);opacity:.9}
.services-detail-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}
.services-detail-index{font-family:Arial,sans-serif;font-size:16px;font-weight:800;letter-spacing:.06em;color:var(--service-accent);padding:7px 12px;border-radius:9px;background:var(--service-tint);border:1px solid color-mix(in srgb,var(--service-accent) 18%,white)}
.services-detail-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:var(--service-tint);color:var(--service-accent);border:1px solid color-mix(in srgb,var(--service-accent) 20%,white);box-shadow:0 7px 18px color-mix(in srgb,var(--service-accent) 10%,transparent);transition:transform .28s ease,background .28s ease,color .28s ease}
.services-detail-icon .ramy-icon{width:27px;height:27px}
.services-detail-card:hover .services-detail-icon{transform:translateY(-3px) rotate(-4deg);background:var(--service-accent);color:#fff}
.services-detail-heading{position:relative;z-index:1}
.services-detail-kicker{display:block;margin-bottom:7px;color:var(--service-accent);font-size:12px;font-weight:700;letter-spacing:.01em}
.services-detail-heading h2{font-size:25px;line-height:1.5;color:var(--navy);margin:0 0 9px;font-weight:700}
.services-detail-heading p{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 17px}
.services-detail-list{position:relative;z-index:1;list-style:none!important;margin:0!important;padding:17px 0 0!important;border-top:1px solid color-mix(in srgb,var(--service-accent) 20%,var(--line));display:grid;gap:0}
.services-detail-list li{position:relative;margin:0!important;padding:9px 23px 9px 0;color:#42516a;font-size:15px;line-height:1.75;overflow-wrap:anywhere}
.services-detail-list li:before{content:"";position:absolute;right:2px;top:18px;width:8px;height:8px;border-radius:50%;background:var(--service-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--service-accent) 12%,transparent)}
.services-detail-list li+li{border-top:1px solid rgba(16,38,75,.045)}
.services-detail-watermark{position:absolute;z-index:-1;left:14px;bottom:12px;color:var(--service-accent);opacity:.055;transform:rotate(-12deg)}
.services-detail-watermark .ramy-icon{width:105px;height:105px}
.services-contact-cta{position:relative;isolation:isolate;overflow:hidden;max-width:1160px;margin:48px auto 0;padding:39px 43px;border:1px solid rgba(196,154,69,.35);border-radius:22px;background:linear-gradient(112deg,#0b1c35 0%,#10264b 72%,#17365f 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 18px 42px rgba(16,38,75,.15)}
.services-contact-ornament{position:absolute;z-index:-1;inset-inline-end:-70px;top:-155px;width:330px;height:330px;border:1px solid rgba(226,190,117,.25);border-radius:50%;box-shadow:0 0 0 24px rgba(226,190,117,.05),0 0 0 54px rgba(255,255,255,.035),0 0 0 88px rgba(226,190,117,.025)}
.services-contact-copy{min-width:0}
.services-contact-eyebrow{display:block;color:#e6c681;font-size:13px;font-weight:700;margin-bottom:6px}
.services-contact-copy h2{font-size:clamp(25px,3vw,34px);line-height:1.45;color:#fff;margin:0 0 6px}
.services-contact-copy p{margin:0;color:#d4dce8;font-size:16px;line-height:1.85}
.services-contact-button{flex:0 0 auto;min-width:205px;min-height:54px;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.14)}
.services-contact-button .ramy-icon{width:20px;height:20px}
.services-extra-content{max-width:100%;margin-top:42px}
@media(max-width:1050px){.services-detail-grid{gap:17px}.services-detail-card{padding:25px 22px}.services-detail-heading h2{font-size:22px}}
@media(max-width:850px){.services-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.services-detail-card:last-child{grid-column:1/-1}.services-contact-cta{padding:32px;gap:20px}}
@media(max-width:620px){.services-page{padding-top:40px;padding-bottom:58px}.services-page-heading{margin-bottom:29px}.services-page-heading h1{font-size:34px}.services-page-heading p{font-size:16px}.services-detail-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:26px}.services-detail-card,.services-detail-card:last-child{grid-column:auto;padding:24px 22px;border-radius:17px}.services-detail-topline{margin-bottom:17px}.services-detail-icon{width:52px;height:52px}.services-detail-heading h2{font-size:22px}.services-detail-heading p{font-size:15px}.services-detail-list li{font-size:15px;padding-block:8px}.services-contact-cta{margin-top:30px;padding:27px 22px;border-radius:18px;display:flex;flex-direction:column;align-items:stretch;text-align:right;gap:20px}.services-contact-copy h2{font-size:25px}.services-contact-copy p{font-size:15px}.services-contact-button{width:100%;min-width:0}.services-extra-content{padding:20px;margin-top:28px}}
@media(hover:none){.services-detail-card:hover{transform:none}}


/* v2.2.4: editorial sidebar book promotion, footer privacy link, book purchase actions. */
.widget-books-promo{position:relative;isolation:isolate;overflow:hidden;padding:27px 24px 25px;border:1px solid rgba(196,154,69,.42);border-radius:20px;background:linear-gradient(145deg,#fffaf0 0%,#f5eddb 100%);box-shadow:0 14px 34px rgba(16,38,75,.08)}
.widget-books-promo:before{content:"";position:absolute;z-index:-1;width:210px;height:210px;inset-inline-end:-105px;top:-112px;border:1px solid rgba(196,154,69,.25);border-radius:50%;box-shadow:0 0 0 18px rgba(196,154,69,.055),0 0 0 40px rgba(16,38,75,.025)}
.books-promo-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:17px;border-radius:16px;background:var(--navy);color:#e9ca83;box-shadow:0 8px 18px rgba(16,38,75,.16)}
.books-promo-icon .ramy-icon{width:27px;height:27px}
.books-promo-kicker{display:block;margin-bottom:6px;color:#a77c2f;font-size:12px;font-weight:700;letter-spacing:.04em}
.widget-books-promo h3{position:relative;color:var(--navy);font-size:20px;line-height:1.55;margin:0 0 9px}
.widget-books-promo p{position:relative;color:#536174;font-size:14px;line-height:1.9;margin:0 0 18px}
.books-promo-link{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:45px;padding:10px 14px;border-radius:10px;background:var(--gold);color:#fff!important;font-size:14px;font-weight:700;transition:background .2s,transform .2s,box-shadow .2s}
.books-promo-link:hover{background:var(--navy);color:#fff!important;transform:translateY(-2px);box-shadow:0 8px 18px rgba(16,38,75,.16)}
.footer-policy-link{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding-top:13px;border-top:1px solid rgba(255,255,255,.12);color:#e6c681;font-size:14px;font-weight:600}
.footer-policy-link:before{content:"";width:6px;height:6px;border-radius:50%;background:#c49a45}
.footer-policy-link:hover{color:#fff}
.book-purchase-actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin-top:30px}
.book-buy-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-width:210px;min-height:54px;padding:13px 20px;border:1px solid transparent;border-radius:12px;background:linear-gradient(135deg,#c49a45,#b48631);color:#fff!important;font-size:16px;font-weight:700;line-height:1.4;box-shadow:0 9px 20px rgba(196,154,69,.2);transition:transform .22s,background .22s,box-shadow .22s,border-color .22s}
.book-buy-button .ramy-icon{width:20px;height:20px;flex:0 0 auto}
.book-buy-button .ramy-icon:last-child{width:16px;height:16px}
.book-buy-button:hover{transform:translateY(-3px);background:var(--navy);border-color:var(--navy);color:#fff!important;box-shadow:0 13px 25px rgba(16,38,75,.18)}
.book-buy-secondary{background:#fff;color:var(--navy)!important;border-color:rgba(16,38,75,.2);box-shadow:0 7px 18px rgba(16,38,75,.06)}
.book-buy-secondary:hover{background:var(--navy);color:#fff!important}
.ramy-hide-page-titles .ramy-page-title{display:none!important}
/* The back-to-top control is intentionally anchored to the physical left edge in RTL layouts. */
.back-to-top{left:31px!important;right:auto!important;inset-inline-start:auto!important;inset-inline-end:auto!important}
@media(max-width:620px){
 .widget-books-promo{padding:23px 21px;border-radius:17px}
 .books-promo-icon{width:49px;height:49px}
 .widget-books-promo h3{font-size:19px}
 .book-purchase-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:11px}
 .book-buy-button{width:100%;min-width:0;min-height:52px}
 .back-to-top{left:19px!important;right:auto!important;inset-inline-start:auto!important;bottom:72px;width:42px;height:42px}
}

/* v2.2.5: make editorial links easy to recognize while keeping the site's navy-and-gold identity. */
.entry-content a:not(.wp-block-button__link):not(.button):not(.books-promo-link):not(.book-buy-button){
 color:#8a6424;
 text-decoration-line:underline;
 text-decoration-color:rgba(196,154,69,.78);
 text-decoration-thickness:1.5px;
 text-underline-offset:4px;
 text-decoration-skip-ink:auto;
 transition:color .18s ease,text-decoration-color .18s ease;
}
.entry-content a:not(.wp-block-button__link):not(.button):not(.books-promo-link):not(.book-buy-button):hover,
.entry-content a:not(.wp-block-button__link):not(.button):not(.books-promo-link):not(.book-buy-button):focus-visible{
 color:var(--navy);
 text-decoration-color:var(--navy);
}

/* v2.2.7: show complete 3D book mockups without cropping */
.book-slide-cover{padding:10px;box-sizing:border-box;}
.book-slide-cover img{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center;}
@media(max-width:620px){.book-slide-cover{padding:8px;}}


/* v2.2.8 — consistent, uncropped book artwork across slider and archive */
.book-slide-cover{
  padding:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0;
  min-height:0;
}
.book-slide-cover img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  flex:0 1 auto;
}
.book-archive-cover{
  height:320px;
  min-height:320px;
  padding:14px;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box;
  background:var(--ivory-2);
}
.book-archive-cover img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  flex:0 1 auto;
}
.book-detail-cover{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:360px;
}
.book-detail-cover img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:510px !important;
  object-fit:contain !important;
  object-position:center !important;
}
@media(max-width:850px){
  .book-archive-cover{height:300px;min-height:300px;padding:12px}
}
@media(max-width:620px){
  .book-slide-cover{height:245px;padding:10px !important}
  .book-archive-cover{height:280px;min-height:280px;padding:12px}
  .book-detail-cover{min-height:0}
}


/* v2.2.9 — normalize the slider image frame while preserving each full image */
.book-slide-cover{
  width:250px;
  height:330px;
  min-width:0;
  box-sizing:border-box;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden;
  padding:12px !important;
}
.book-slide-cover img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  flex:0 0 100%;
}
@media(max-width:850px){
  .book-slide-cover{
    width:min(210px,100%);
    height:245px;
  }
}
@media(max-width:620px){
  .book-slide-cover{
    width:min(210px,100%);
    height:245px;
  }
}


/* v2.2.10 — visually normalize 3D book mockups in the homepage slider.
   The source artwork may be landscape with excess scenery around a centered book.
   Fill the portrait frame and crop only the outer artwork edges. */
.book-slide-cover{
  width:250px !important;
  height:330px !important;
  padding:8px !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}
.book-slide-cover img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  flex:0 0 100% !important;
}
@media(max-width:850px){
  .book-slide-cover{width:min(210px,100%) !important;height:245px !important;}
}
@media(max-width:620px){
  .book-slide-cover{width:min(210px,100%) !important;height:245px !important;}
}
