
/* Shared Rital header + footer — single source used across all site templates */
.rt-wrap{width:min(1180px,92vw);margin-inline:auto;position:relative}
.rt-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(20,58,40,.08);font-family:"IBM Plex Sans Arabic",Arial,sans-serif}
.admin-bar .rt-header{top:32px}
.rt-header__inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.rt-logo{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:142px;height:70px}
.rt-logo__img{display:block!important;width:142px!important;height:70px!important;max-width:142px!important;max-height:70px!important;object-fit:contain!important}
.rt-nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:700}
.rt-nav a{position:relative;text-decoration:none;color:#1f2d23}
.rt-nav a:after{content:"";position:absolute;right:0;left:0;bottom:-9px;height:2px;background:#efa33a;transform:scaleX(0);transition:.25s}
.rt-nav a:hover:after,.rt-nav a.is-active:after{transform:scaleX(1)}
.rt-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:12px;font-weight:700;text-decoration:none;border:1px solid transparent;transition:.25s;font-family:"IBM Plex Sans Arabic",Arial,sans-serif}
.rt-btn--primary{background:#143a28;color:#fff!important}
.rt-btn:hover{transform:translateY(-2px)}
.rt-mobile-menu{display:none;position:relative}
.rt-mobile-menu summary{list-style:none;cursor:pointer;width:44px;height:44px;border:1px solid #e7eadf;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#143a28;background:#fff}
.rt-mobile-menu summary::-webkit-details-marker{display:none}
.rt-mobile-menu__panel{position:absolute;left:0;top:54px;width:min(310px,88vw);background:#fff;border:1px solid #e7eadf;border-radius:18px;box-shadow:0 20px 55px rgba(20,58,40,.16);padding:12px;display:grid;gap:4px}
.rt-mobile-menu__panel a{display:block;padding:11px 12px;border-radius:10px;color:#1f2d23;text-decoration:none;font-weight:700}
.rt-mobile-menu__panel a:hover{background:#f4f7ef}
.rt-mobile-menu__panel .rt-mobile-menu__cta{background:#143a28;color:#fff;text-align:center;margin-top:4px}

.rt-footer{background:#102f22;color:#fff;position:relative;overflow:hidden;font-family:"IBM Plex Sans Arabic",Arial,sans-serif}
.rt-footer:before{content:"";position:absolute;inset:auto -8% -110px auto;width:520px;height:260px;border-radius:50%;border:36px solid rgba(221,236,76,.08)}
.rt-footer__main{padding:64px 0 72px;display:grid;grid-template-columns:1.35fr .7fr .9fr;gap:50px;position:relative;z-index:2}
.rt-footer__logo{display:flex;width:170px;height:88px;align-items:center;justify-content:center;margin-bottom:18px}
.rt-footer__logo img{display:block!important;width:170px!important;height:88px!important;max-width:170px!important;max-height:88px!important;object-fit:contain!important}
.rt-footer__brand p{color:#d6e1d9;line-height:1.8;margin:0;max-width:470px}
.rt-footer__socials{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.rt-footer__social{width:40px;height:40px;border:1px solid rgba(255,255,255,.16);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;color:#e8f16c!important;background:rgba(255,255,255,.04);transition:.2s}
.rt-footer__social:hover{background:#e8f16c;color:#102f22!important;transform:translateY(-2px)}
.rt-footer__social svg{width:19px;height:19px;fill:currentColor;stroke:currentColor;stroke-width:1.5}
.rt-footer__social--instagram svg rect,.rt-footer__social--instagram svg circle{fill:none}
.rt-footer__col h4{margin:0 0 16px;font-size:16px;color:#e8f16c}
.rt-footer__col a,.rt-footer__col span{display:block;color:#d6e1d9;text-decoration:none;font-size:14px;line-height:2}
.rt-footer__col a:hover,.rt-footer__bottom a:hover{color:#fff}
.rt-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;color:#c4d2c8;font-size:12px;position:relative;z-index:2}
.rt-footer__bottom-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.rt-footer__bottom a{color:#c4d2c8;text-decoration:none}

@media(max-width:980px){
  .admin-bar .rt-header{top:46px}
  .rt-header__inner{min-height:74px}
  .rt-nav,.rt-header__cta{display:none}
  .rt-mobile-menu{display:block}
  .rt-logo{width:122px;height:60px}
  .rt-logo__img{width:122px!important;height:60px!important;max-width:122px!important;max-height:60px!important}
}
@media(max-width:680px){
  .rt-footer__main{grid-template-columns:1fr;gap:32px;padding:54px 0 60px}
  .rt-footer__bottom-inner{display:block}
  .rt-footer__bottom-inner span+span{margin-top:6px;display:block}
}
