/* Front page, from the نُزُل design. Images sit next to this file. */

body{margin:0;background:#F8F6F8}
a{color:inherit;text-decoration:none}
.btn{transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s,background-color .2s}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:scale(.98)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #B04A9F;outline-offset:3px}
input::placeholder,textarea::placeholder{color:#9A8E9C}
.fld:focus-within{border-color:#8E2A7E !important;box-shadow:0 0 0 4px rgba(107,19,93,0.1)}
.navlinks{display:none}
.navlinks a{color:rgba(255,255,255,0.85)}
.navlinks a:hover{color:#FFFFFF}
.bg-band{background-image:linear-gradient(180deg,rgba(30,8,28,0.55),rgba(30,8,28,0.92)),url("server-corridor.jpg");background-size:cover;background-position:30% center}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g-auto{grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){
.navlinks{display:flex}
.g-auto{grid-template-columns:repeat(2,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
.g3{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media (prefers-reduced-motion:reduce){.btn{transition:none}.btn:hover{transform:none}}

/* Menu (opens in place of the design's separate menu page) */
.lp-menu{position:relative}
.lp-menu summary::-webkit-details-marker{display:none}
.lp-menu-panel{position:absolute;inset-inline-end:0;top:calc(100% + 10px);min-width:220px;background:#fff;border:1px solid #EEE5EC;border-radius:20px;box-shadow:0 24px 50px rgba(59,18,53,.22);padding:8px;display:flex;flex-direction:column;z-index:40}
.lp-menu-panel a{color:#2B1E2A;padding:12px 14px;border-radius:12px;font-size:15px}
.lp-menu-panel a:hover,.lp-menu-panel a:focus-visible{background:#F4EAF2;color:#6B135D}
/* News: one card fills the design width, more cards sit side by side on wide screens */
.lp-news{grid-template-columns:minmax(0,720px)}
@media (min-width:900px){.lp-news:has(article + article){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Demo notice, same as the rest of the system */
.demo-bar{background:#FFF4D6;color:#5A4200;border-bottom:1px solid #F0D98A;padding:8px 16px;text-align:center;font-size:14px;line-height:1.6;font-family:"Readex Pro",system-ui,sans-serif}
.demo-bar b{margin-inline-end:6px}
/* English (left to right): mirror the forward arrows and the separators in the promises band */
html[dir=ltr] main a.btn svg{transform:scaleX(-1)}
html[dir=ltr] [style*="border-left: 2px"]{border-left:0 !important;border-right:2px solid rgba(255,255,255,.85) !important}
