/*
Theme Name: Duraah Midnight | دُرّه
Version: 1.1.0
Description: قالب عربي داكن لمشاريع دُرّه وأفكارها.
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: duraah
*/
:root{--bg:#080e1b;--panel:#111c2e;--ink:#f4f7fc;--muted:#aebbd0;--cyan:#42d5d1;--blue:#5a78ff;--line:#233148}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,Arial,sans-serif;font-size:17px;line-height:1.9}a{color:inherit;text-decoration:none}a:hover{color:var(--cyan)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--cyan);outline-offset:5px}img{max-width:100%;height:auto}button,input,textarea{font:inherit}.wrap{width:min(1200px,90%);margin-inline:auto}.site-header{border-bottom:1px solid var(--line);background:#080e1bf5}.header-row{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:106px}.brand img{width:190px;max-height:85px;object-fit:contain;display:block}nav ul{list-style:none;display:flex;gap:32px;padding:0;margin:0;font-size:14px}nav .sub-menu{display:block;padding:10px;background:var(--panel)}.menu-toggle{display:none;background:none;border:1px solid var(--line);color:white;border-radius:8px;padding:5px 14px}.hero{background-size:cover;background-position:center;min-height:650px;position:relative;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#080e1bf0 0%,#080e1baa 42%,transparent 75%);z-index:-1}.hero-inner{display:flex;justify-content:flex-end;min-height:650px;align-items:center}.hero-copy{width:49%;padding:70px 0;text-align:right}.eyebrow{font-size:13px;letter-spacing:.02em;color:var(--cyan);display:block;margin-bottom:20px}h1,h2,h3{line-height:1.5;margin:0 0 22px}h1{font-size:clamp(34px,4.5vw,65px);font-weight:700;letter-spacing:-1.7px}.hero h1{color:#eaf7ff}.hero p{max-width:490px;font-size:18px;color:#c6d3e6}.actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;gap:30px;background:var(--cyan);color:#061725;border:0;border-radius:40px;padding:12px 26px;font-weight:bold;font-size:15px}.button:hover{background:#a5fffb;color:#061725}.text-link{color:var(--cyan);font-size:15px}.section{padding-block:76px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.section-head h2{margin:0}.section-head .eyebrow{margin-bottom:8px}.section-head>a{font-size:14px;color:var(--cyan)}h2{font-size:32px}h3{font-size:23px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.card{border:1px solid var(--line);background:var(--panel);border-radius:18px;overflow:hidden;transition:transform .2s,border-color .2s}.card:hover{transform:translateY(-5px);border-color:#42d5d180}.card-image{display:block;aspect-ratio:16/10;overflow:hidden}.card-image img{width:100%;height:100%;object-fit:cover}.placeholder{height:100%;background:radial-gradient(circle at 35% 30%,#205575,#111d38 50%,#0a1121);display:grid;place-items:center}.placeholder span{font-size:54px;color:#80cdd9;opacity:.65}.card-body{padding:25px}.card h3{margin:12px 0}.card p{color:var(--muted);font-size:14px}.meta{font-size:12px;color:var(--muted)}.badge{display:inline-block;border:1px solid #42d5d155;background:#42d5d10d;border-radius:30px;padding:4px 16px;color:#9aefed;font-size:13px;margin:0 0 8px 8px}.filters{margin-bottom:32px}.empty{padding:48px 28px;border:1px dashed #344560;border-radius:16px;color:var(--muted);text-align:center}.about-strip{background:linear-gradient(120deg,#101b35,#0d242b);border-block:1px solid var(--line)}.about-inner{padding-block:65px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.about-inner p{color:#c6d3e6}.contact-strip{padding:42px;margin-bottom:70px;border:1px solid var(--line);border-radius:20px;display:flex;justify-content:space-between;align-items:center;gap:25px}.contact-strip h2{font-size:26px;margin:0}footer{border-top:1px solid var(--line);padding-block:42px}.footer-row{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}footer p,footer small{font-size:12px;color:var(--muted)}footer strong{font-size:24px}.latin{font-size:12px;letter-spacing:3px;margin-inline-start:10px}.reading{max-width:850px;min-height:55vh}.reading h1{margin-top:24px;font-size:clamp(32px,4vw,52px)}.cover{width:100%;border-radius:16px;margin:25px 0}.content{margin-block:30px;overflow-wrap:anywhere}.content a{text-decoration:underline;color:var(--cyan)}.content p{color:#d7e0ee}.content h2,.content h3{margin-top:36px}.content iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-block-embed iframe{width:100%;aspect-ratio:16/9;height:auto}.wp-block-gallery img{border-radius:10px}input,textarea{background:var(--panel);border:1px solid #53657c;color:var(--ink);padding:10px;max-width:100%;border-radius:6px}input[type=submit]{cursor:pointer;background:var(--cyan);color:var(--bg)}.pagination,.page-numbers{margin-top:30px}.page-numbers{display:inline-block;padding:7px 12px}.page-numbers.current{color:var(--cyan)}.skip{position:absolute;top:-100px;z-index:99;padding:10px;background:white;color:black}.skip:focus{top:0}@media(max-width:800px){.header-row{flex-wrap:wrap;gap:10px;min-height:88px;padding-block:8px}.brand img{width:150px;max-height:65px}.menu-toggle{display:block}nav{width:100%;display:none;padding-bottom:18px}nav.is-open{display:block}nav ul{flex-direction:column;gap:12px}.hero,.hero-inner{min-height:620px}.hero{background-position:70% center}.hero:before{background:linear-gradient(0deg,#080e1b 0%,#080e1bc9 55%,#080e1b20 100%)}.hero-inner{align-items:flex-end}.hero-copy{width:100%;padding:250px 0 45px}.hero h1{max-width:540px;font-size:40px}.cards{grid-template-columns:1fr 1fr}.about-inner{grid-template-columns:1fr;gap:15px}.section{padding-block:48px}.contact-strip{display:block;padding:25px}.contact-strip .button{margin-top:20px}.section-head{align-items:flex-start}.section-head h2{font-size:25px}}@media(max-width:520px){.cards{grid-template-columns:1fr}.hero h1{font-size:36px}.hero p{font-size:16px}.section-head{flex-wrap:wrap}.footer-row{display:block}.footer-row>a{display:block;margin-block:15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* 1.1 — typography, measured hero and editorial layout */
@font-face{font-family:Duraah;src:url('assets/Tajawal-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Duraah;src:url('assets/Tajawal-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
body{font-family:Duraah,Tahoma,sans-serif;font-size:18px;line-height:1.8}.wrap{width:calc(100% - 96px);max-width:1440px}h1,h2,h3{letter-spacing:0}.header-row{min-height:100px;gap:48px}.brand{flex-shrink:0}.brand img{width:174px;height:72px;object-fit:contain;mix-blend-mode:screen;mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent)}nav ul{font-size:16px;gap:36px}nav a{display:inline-block;padding:9px 0}.hero{max-width:1600px;margin:auto;min-height:520px;background-size:auto 100%;background-repeat:no-repeat;background-position:right center}.hero-inner{min-height:520px}.hero:before{background:linear-gradient(90deg,#080e1b 0%,#080e1bdb 28%,#080e1b40 53%,transparent 70%),linear-gradient(0deg,#080e1b,transparent 20%)}.hero-copy{width:50%;padding:64px 0;max-width:630px}.hero h1{font-size:clamp(42px,4.3vw,68px);line-height:1.25;margin:18px 0 24px;font-weight:700}.hero h1 span{background:linear-gradient(100deg,#5a78ff,#42d5d1);background-clip:text;-webkit-background-clip:text;color:transparent}.hero p{font-size:19px;line-height:1.9;max-width:490px;margin:0}.eyebrow{font-size:14px;margin-bottom:12px}.actions{margin-top:28px}.button{font-size:17px;padding:10px 26px}.discovery{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(280px,1fr);gap:38px;padding-block:44px 58px}.section-head{margin-bottom:22px;min-height:56px}.section-head h2{font-size:29px}.section-head>a{font-size:15px}.journal-column{border-inline-start:1px solid var(--line);padding-inline-start:32px}.journal-column .section-head h2{font-size:25px}.journal-column .cards{display:flex;flex-direction:column;gap:18px}.journal-column .card{display:grid;grid-template-columns:90px 1fr;background:transparent;border:0;border-radius:0;border-bottom:1px solid var(--line);padding-bottom:18px;gap:16px}.journal-column .card-image{aspect-ratio:1;border-radius:10px}.journal-column .card-body{padding:0}.journal-column .card h3{font-size:19px;margin:3px 0}.journal-column .card p,.journal-column .card .text-link{display:none}.card-body{padding:20px}.card h3{font-size:23px}.card p{font-size:16px}.meta{font-size:13px}.cards{gap:20px}.card{border-radius:12px}.empty.editorial-empty{border:0;border-radius:12px;min-height:230px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:start;padding:30px;background:radial-gradient(ellipse at 100% 0%,#17324b80,transparent 80%),#0e1726}.empty-mark{font-size:30px;color:var(--cyan)}.editorial-empty h3{font-size:25px;color:var(--ink);margin:8px 0}.editorial-empty p{font-size:17px;max-width:520px;margin:0}.journal-column .editorial-empty{background:transparent;padding:15px 0}.journal-column .editorial-empty h3{font-size:22px}.about-inner{padding-block:45px;gap:70px}.about-inner h2{font-size:32px;margin:0}.about-inner p{font-size:18px;margin-top:0}.about-strip{background:linear-gradient(120deg,#101b2c,#0c1d28)}.contact-strip{margin-top:44px;margin-bottom:44px}.section{padding-block:52px}.footer-row{font-size:16px}footer{padding-block:30px}footer p,footer small{font-size:14px}.reading{max-width:850px}
@media(min-width:1600px){.hero-copy{width:47%}.hero,.hero-inner{min-height:550px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.discovery{grid-template-columns:1fr}.journal-column{border-inline-start:0;border-top:1px solid var(--line);padding:28px 0 0}.journal-column .cards{display:grid;grid-template-columns:repeat(3,1fr)}.journal-column .card{display:block}.journal-column .card-image{aspect-ratio:16/10;margin-bottom:14px}.hero h1{font-size:48px}.hero-copy{width:53%}.hero p{font-size:17px}}
@media(max-width:800px){.wrap{width:calc(100% - 40px)}.header-row{min-height:84px;gap:12px}.brand img{width:152px;height:62px}.hero{background-size:auto 390px;background-position:65% top;min-height:600px}.hero-inner{min-height:600px;align-items:flex-end}.hero:before{background:linear-gradient(0deg,#080e1b 4%,#080e1bf0 40%,#080e1b22 75%)}.hero-copy{width:100%;max-width:none;padding:275px 0 30px}.hero h1{font-size:46px;line-height:1.25;margin-block:12px 18px}.hero p{max-width:540px;font-size:18px}.discovery{padding-block:28px 40px;gap:28px}.project-column .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-column .cards{grid-template-columns:1fr}.journal-column .card{display:grid;grid-template-columns:90px 1fr}.journal-column .card-image{aspect-ratio:1;margin:0}.section-head h2{font-size:27px}.about-inner{grid-template-columns:1fr;gap:22px;padding-block:32px}.about-inner h2{font-size:30px}.empty.editorial-empty{min-height:190px;padding:24px}.journal-column .editorial-empty{padding:0;min-height:150px}nav ul{gap:5px}.contact-strip{padding:24px}.reading{width:calc(100% - 40px)}}
@media(max-width:520px){.project-column .cards{grid-template-columns:1fr}.hero h1{font-size:42px}.section-head{gap:8px}.section-head>a{font-size:14px}.hero .eyebrow{font-size:13px}.hero p{font-size:17px}.actions{gap:18px}.button{font-size:16px}.hero,.hero-inner{min-height:610px}}

.brand-lockup{display:flex;direction:ltr;align-items:center;gap:10px}.brand .brand-lockup img{width:62px;height:62px;mask-image:none;-webkit-mask-image:none;mix-blend-mode:normal}.brand-type{display:flex;flex-direction:column;align-items:center}.brand-type b{font-family:Duraah,Tahoma,sans-serif;font-size:38px;line-height:1.2;color:#f4f7fc}.brand-type small{font:10px Arial,sans-serif;letter-spacing:5px;margin-top:5px;color:#d7e6ff}.hero:before{z-index:0;pointer-events:none}.hero-inner{position:relative;z-index:1}.hero{background-color:#080e1b}