/*
Theme Name: Yalla B2B V9
Theme URI: https://business.yalanewsmedia.com/
Author: Yalla News Media
Description: RTL Arabic B2B WordPress theme with mobile-first header, clear logo, company directory, opportunities, investments and PWA integration.
Version: 9.0.0
Text Domain: yalla-b2b-v9
*/
:root{--yb-navy:#031327;--yb-navy2:#061b34;--yb-gold:#d7a83c;--yb-gold2:#f2cf70;--yb-white:#fff;--yb-muted:#667085;--yb-border:#e7eaf0;--yb-bg:#f6f8fb}*{box-sizing:border-box}body{margin:0;font-family:'Tajawal','Cairo',Arial,sans-serif;background:#fff;color:#0b1930;direction:rtl}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.yb-container{width:min(1180px,calc(100% - 32px));margin:auto}.yb-topbar{position:sticky;top:0;z-index:999;background:rgba(3,19,39,.98);border-bottom:1px solid rgba(255,255,255,.08)}.yb-header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px}.yb-brand{display:flex;align-items:center;gap:12px;min-width:190px}.yb-brand img{height:58px;width:auto;object-fit:contain;display:block;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}.yb-brand-text{display:flex;flex-direction:column;line-height:1}.yb-brand-title{font-size:28px;font-weight:900;letter-spacing:1px;color:#fff}.yb-brand-title span{color:var(--yb-gold)}.yb-brand-sub{font-size:13px;color:#cbd5e1;margin-top:7px}.yb-nav{display:flex;align-items:center;gap:24px;color:#f8fafc;font-weight:700}.yb-nav a{opacity:.92}.yb-nav a:hover{color:var(--yb-gold);opacity:1}.yb-actions{display:flex;align-items:center;gap:10px}.yb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:12px 20px;font-weight:800;border:1px solid rgba(255,255,255,.18);cursor:pointer}.yb-btn.gold{background:linear-gradient(135deg,var(--yb-gold),var(--yb-gold2));color:#07162a;border:0}.yb-btn.outline{color:#fff;border-color:rgba(255,255,255,.25)}.yb-mobile-toggle{display:none;background:none;border:0;color:#fff;font-size:34px;line-height:1}.yb-mobile-drawer{position:fixed;inset:0 0 0 auto;width:min(340px,86vw);background:#061728;z-index:1001;transform:translateX(105%);transition:.28s ease;box-shadow:-20px 0 60px rgba(0,0,0,.35);padding:22px}.yb-mobile-drawer.open{transform:translateX(0)}.yb-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.yb-drawer-head img{height:52px}.yb-close{background:rgba(255,255,255,.08);color:#fff;border:0;border-radius:10px;font-size:24px;width:42px;height:42px}.yb-drawer-menu a{display:block;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);padding:14px 6px;font-weight:800}.yb-drawer-cta{margin-top:18px;display:grid;gap:10px}.yb-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1000}.yb-overlay.open{display:block}.yb-hero{position:relative;background:#031327;color:#fff;overflow:hidden}.yb-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,19,39,.45),rgba(3,19,39,.88) 54%,rgba(3,19,39,.96)),var(--yb-hero-bg);background-size:cover;background-position:center;opacity:1}.yb-hero-inner{position:relative;min-height:620px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:34px;padding:70px 0}.yb-hero h1{font-size:64px;line-height:1.18;margin:0 0 22px;font-weight:900}.yb-hero h1 span{color:var(--yb-gold2)}.yb-hero p{font-size:25px;line-height:1.8;color:#e5e7eb;margin:0 0 30px}.yb-search-box{background:#fff;border-radius:22px;padding:18px;box-shadow:0 22px 60px rgba(0,0,0,.25);display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px}.yb-search-box input,.yb-search-box select{height:54px;border:1px solid #e5e7eb;border-radius:13px;padding:0 14px;font-size:16px;background:#fff;color:#111827}.yb-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.yb-tags a,.yb-tags span{border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:10px;padding:9px 13px;background:rgba(255,255,255,.06)}.yb-hero-image{position:relative}.yb-hero-image img{border-radius:34px;box-shadow:0 26px 80px rgba(0,0,0,.4);aspect-ratio:16/9;object-fit:cover}.yb-section{padding:55px 0}.yb-section.alt{background:var(--yb-bg)}.yb-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.yb-section-head h2{margin:0;font-size:32px;color:#0b1930}.yb-section-head a{color:var(--yb-gold);font-weight:800}.yb-stats{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--yb-border);background:#fff}.yb-stat{padding:28px 10px;text-align:center;border-inline-start:1px solid var(--yb-border)}.yb-stat strong{display:block;font-size:32px;color:#0b1930}.yb-stat span{color:#64748b;font-weight:700}.yb-grid{display:grid;gap:22px}.yb-grid.cols-3{grid-template-columns:repeat(3,1fr)}.yb-grid.cols-4{grid-template-columns:repeat(4,1fr)}.yb-card{background:#fff;border:1px solid var(--yb-border);border-radius:22px;padding:22px;box-shadow:0 10px 35px rgba(15,23,42,.06)}.yb-card h3{margin:10px 0 8px;font-size:22px}.yb-card p{color:#64748b;line-height:1.8}.yb-link{color:var(--yb-gold);font-weight:900}.yb-sector{display:flex;align-items:center;justify-content:center;gap:10px;min-height:96px;font-size:18px;font-weight:900}.yb-opportunity-img{height:165px;width:100%;object-fit:cover;border-radius:16px;margin:-8px -8px 14px;width:calc(100% + 16px);max-width:none}.yb-trusted-marquee{overflow:hidden;border:1px solid var(--yb-border);border-radius:22px;background:#fff}.yb-trusted-track{display:flex;gap:16px;width:max-content;animation:ybScroll 28s linear infinite;padding:16px}.yb-trusted-track:hover{animation-play-state:paused}@keyframes ybScroll{0%{transform:translateX(0)}100%{transform:translateX(50%)}}.yb-company-logo{min-width:180px;height:92px;border:1px solid var(--yb-border);border-radius:18px;display:flex;align-items:center;justify-content:center;gap:12px;background:#fff;padding:14px}.yb-logo-wrap{width:54px;height:54px;border-radius:16px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.yb-company-real-logo{width:100%;height:100%;object-fit:contain}.yb-company-initials{font-size:20px;font-weight:900;color:var(--yb-gold)}.yb-company-name{font-weight:900;color:#0b1930;white-space:nowrap}.yb-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:13px;color:#fff;margin-inline-start:6px;vertical-align:middle;box-shadow:0 2px 10px rgba(0,0,0,.15)}.yb-badge.blue{background:#1d6cf2}.yb-badge.silver{background:linear-gradient(135deg,#d1d5db,#8b949e)}.yb-badge.gold{background:linear-gradient(135deg,#f6d365,#bd8a12)}.yb-company-profile-hero{background:#031327;color:#fff;padding:50px 0}.yb-company-profile-box{display:grid;grid-template-columns:160px 1fr auto;gap:24px;align-items:center}.yb-company-profile-logo{width:150px;height:150px;border-radius:26px;background:#fff;padding:18px;display:flex;align-items:center;justify-content:center}.yb-company-profile-logo img{object-fit:contain;max-height:100%}.yb-company-profile-title h1{margin:0 0 12px;font-size:44px}.yb-company-tabs{display:flex;gap:12px;border-bottom:1px solid var(--yb-border);margin-bottom:24px;overflow:auto}.yb-company-tabs a{padding:16px 18px;font-weight:900;color:#64748b;border-bottom:3px solid transparent}.yb-company-tabs a.active{color:#0b1930;border-color:var(--yb-gold)}.yb-form{display:grid;gap:14px}.yb-form input,.yb-form textarea,.yb-form select{width:100%;border:1px solid var(--yb-border);border-radius:14px;padding:14px;font-size:16px}.yb-footer-cta{background:#061b34;color:#fff;padding:40px 0;text-align:center}.yb-footer-cta h2{font-size:34px;margin:0 0 12px}.yb-footer{background:#031327;color:#cbd5e1;padding:50px 0 24px}.yb-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px}.yb-footer img{height:70px;width:auto}.yb-footer h4{color:#fff;font-size:20px}.yb-footer a{display:block;color:#cbd5e1;margin:10px 0}.yb-social{display:flex;gap:10px;margin-top:15px}.yb-social a{width:40px;height:40px;border:1px solid rgba(255,255,255,.15);border-radius:50%;display:flex;align-items:center;justify-content:center}.yb-install-btn{position:fixed;bottom:18px;left:18px;z-index:9999;border:0;border-radius:999px;padding:14px 20px;background:linear-gradient(135deg,var(--yb-gold),var(--yb-gold2));color:#031327;font-weight:900;box-shadow:0 14px 40px rgba(0,0,0,.22)}.yb-install-hint{position:fixed;bottom:78px;left:18px;width:min(330px,calc(100vw - 36px));background:#fff;color:#111827;border-radius:18px;padding:16px;box-shadow:0 20px 60px rgba(0,0,0,.25);z-index:9999;display:none;line-height:1.7}.yb-install-hint.open{display:block}.yb-install-hint button{float:left;background:#031327;color:#fff;border:0;border-radius:8px;padding:5px 10px}.yb-copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:34px;padding-top:22px;text-align:center;color:#94a3b8}@media(max-width:900px){.yb-header-inner{height:76px}.yb-brand{min-width:0;gap:9px}.yb-brand img{height:56px}.yb-brand-title{font-size:21px;letter-spacing:.5px}.yb-brand-sub{font-size:11px}.yb-nav,.yb-actions{display:none}.yb-mobile-toggle{display:block}.yb-hero-inner{grid-template-columns:1fr;min-height:auto;padding:54px 0}.yb-hero h1{font-size:48px;text-align:center}.yb-hero p{font-size:22px;text-align:center}.yb-search-box{grid-template-columns:1fr;padding:14px;border-radius:20px}.yb-tags{justify-content:center}.yb-hero-image{display:none}.yb-stats{grid-template-columns:repeat(2,1fr)}.yb-grid.cols-3,.yb-grid.cols-4{grid-template-columns:1fr}.yb-section-head{align-items:flex-start;gap:10px}.yb-section-head h2{font-size:27px}.yb-footer-grid{grid-template-columns:1fr;text-align:center}.yb-social{justify-content:center}.yb-company-profile-box{grid-template-columns:1fr;text-align:center}.yb-company-profile-logo{margin:auto}.yb-company-profile-title h1{font-size:34px}.yb-install-btn{bottom:16px;left:14px;right:14px;width:auto}.yb-install-hint{left:14px;right:14px;bottom:76px;width:auto}}@media(max-width:520px){.yb-container{width:min(100% - 28px,1180px)}.yb-hero h1{font-size:42px;line-height:1.35}.yb-hero p{font-size:20px}.yb-hero-inner{padding-top:42px}.yb-topbar .yb-btn.gold{display:none}.yb-company-logo{min-width:160px}.yb-stat strong{font-size:26px}}

/* === Yalla B2B V9 mobile/header/PWA fixes === */
html.yb-menu-open,body.yb-menu-open{overflow:hidden!important;touch-action:none}.yb-topbar{min-height:78px}.yb-header-inner{position:relative}.yb-brand{background:transparent!important;border:0!important;box-shadow:none!important}.yb-brand-mark{width:58px;height:58px;border-radius:18px;background:#031327;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 58px;box-shadow:0 0 0 1px rgba(215,168,60,.28),0 8px 25px rgba(0,0,0,.18)}.yb-brand-mark img{width:100%!important;height:100%!important;object-fit:contain!important;padding:4px!important;background:transparent!important;filter:none!important}.yb-brand-footer .yb-brand-mark{width:64px;height:64px}.yb-brand-footer{display:flex!important;margin-bottom:16px}.yb-footer .yb-brand-title{font-size:25px}.yb-footer .yb-brand-sub{font-size:13px}.yb-mobile-toggle{width:48px;height:48px;border-radius:14px;display:none;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.15)!important}.yb-mobile-toggle span{display:block;width:25px;height:3px;background:#fff;border-radius:99px}.yb-overlay[hidden]{display:none!important}.yb-overlay.open{display:block!important}.yb-mobile-drawer{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(390px,92vw)!important;height:100dvh!important;overflow-y:auto!important;background:#041225!important;z-index:10020!important;transform:translateX(110%)!important;transition:transform .28s ease!important;box-shadow:-25px 0 70px rgba(0,0,0,.45)!important;padding:22px 22px 110px!important}.yb-mobile-drawer.open{transform:translateX(0)!important}.yb-drawer-head{height:auto!important;margin:0 0 20px!important;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.12)}.yb-drawer-head strong{font-size:28px;color:#fff;font-weight:900}.yb-close{background:rgba(255,255,255,.09)!important;color:#fff!important}.yb-drawer-brand{display:flex;justify-content:center;margin-bottom:18px}.yb-drawer-brand .yb-brand{justify-content:center}.yb-drawer-brand .yb-brand-mark{width:68px;height:68px}.yb-drawer-brand .yb-brand-title{font-size:25px}.yb-drawer-menu{display:grid;gap:8px}.yb-drawer-menu a{display:flex!important;align-items:center;justify-content:space-between;color:#fff!important;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)!important;border-radius:14px;padding:15px 16px!important;font-size:18px;font-weight:900}.yb-drawer-menu a:hover{background:rgba(215,168,60,.16);color:#f2cf70!important}.yb-drawer-cta .yb-btn{width:100%;min-height:50px}.yb-install-btn{display:inline-flex!important;position:fixed!important;left:18px!important;right:auto!important;bottom:18px!important;width:auto!important;max-width:210px!important;min-height:46px!important;padding:12px 18px!important;z-index:10000!important;font-size:15px!important;border:0!important}.yb-install-btn.is-hidden{display:none!important}.yb-install-hint{z-index:10001!important}.yb-search-box button[type=submit],.yb-search-box .yb-btn.gold{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:auto!important;max-width:none!important;z-index:auto!important}.yb-hero::before{background:linear-gradient(90deg,rgba(3,19,39,.42),rgba(3,19,39,.82) 48%,rgba(3,19,39,.96)),var(--yb-hero-bg)!important;background-size:cover!important;background-position:center!important}.yb-hero h1{word-break:normal;overflow-wrap:normal}.yb-footer img{background:transparent!important}.yb-footer .yb-brand img{height:auto!important}
@media(max-width:900px){.yb-header-inner{height:82px!important;display:grid!important;grid-template-columns:56px 1fr 56px!important;align-items:center!important;gap:8px!important}.yb-mobile-toggle{display:flex!important;grid-column:3;justify-self:end}.yb-brand{grid-column:2;justify-self:center;min-width:0!important;gap:8px!important}.yb-brand-mark{width:54px;height:54px;flex-basis:54px}.yb-brand-title{font-size:25px!important;letter-spacing:1px!important;white-space:nowrap}.yb-brand-sub{text-align:center;font-size:12px!important}.yb-nav,.yb-actions{display:none!important}.yb-hero-inner{padding-top:46px!important}.yb-hero h1{font-size:44px!important;line-height:1.33!important}.yb-hero p{font-size:20px!important;line-height:1.8!important}.yb-search-box{margin-top:24px!important}.yb-install-btn{left:14px!important;bottom:16px!important;font-size:14px!important;padding:10px 14px!important;min-height:42px!important}.yb-install-hint{bottom:70px!important}.yb-footer .yb-brand{justify-content:center!important}.yb-footer .yb-brand-mark{margin:auto}.yb-footer .yb-brand-text{text-align:center}}
@media(max-width:520px){.yb-brand-mark{width:48px;height:48px;flex-basis:48px}.yb-brand-title{font-size:22px!important}.yb-brand-sub{font-size:11px!important}.yb-hero h1{font-size:39px!important}.yb-hero p{font-size:18px!important}.yb-mobile-drawer{width:100vw!important;max-width:none!important}.yb-drawer-menu a{font-size:17px}.yb-install-btn{border-radius:999px!important}.yb-search-box{padding-bottom:18px!important}.yb-container{width:min(100% - 26px,1180px)!important}}
@media(display-mode:standalone){.yb-install-btn,.yb-install-hint{display:none!important}}
