/* دليل بريدة — v1.3
   تصميم دليل المدينة: هيدر كحلي ثابت، هيرو بصورة وبحث بتبويبات، كروت بصور، أشرطة بارالاكس، فوتر أزرق.
   الألوان: كحلي #2E3F6E · أزرق ملكي #384F95 · سماوي #4DB7FE · رمادي #F6F6F6
   الخط: Tajawal لكل الموقع (400/500/700/800/900) على السيرفر نفسه.
   مفيش style="" في الـHTML (CSP)، وكل الاتجاهات منطقية (RTL). ممنوع letter-spacing وuppercase مع العربي. */

@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-arabic-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-arabic-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "BD Tajawal"; src: url("../fonts/tajawal-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }

:root {
  --navy: #2E3F6E; --navy-2: #3D528B; --navy-3: #425998; --royal: #384F95; --sky: #4DB7FE; --sky-2: #2FA6F5;
  --foot: #325096; --foot-2: #253966; --deep: #142241; --dark: #2C3B5A;
  --ink: #566985; --title: #697891; --text: #6F82A3; --prose: #56627A; --muted: #9EA6BA;
  --line: #EEEEEE; --line-2: #E5E7F2; --gray: #F9F9F9; --gray-2: #F6F6F6;
  --green: #5ECFB1; --pink: #F75C96; --yellow: #F8BD38; --purple: #BE31E3; --blue: #4C97FD; --white: #fff;
  --head: "BD Tajawal", "Segoe UI", Tahoma, sans-serif;
  --body: "BD Tajawal", "Segoe UI", Tahoma, sans-serif;
  --gut: 4%; --head-h: 80px; --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
html.is-locked { overflow: hidden; }
body { margin: 0; padding-top: var(--head-h); background: #fff; color: var(--text); font: 400 15px/1.75 var(--body); text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--royal); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--head); font-weight: 700; line-height: 1.35; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.bd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bd-skip { position: fixed; inset-inline-start: 12px; top: -70px; z-index: 300; background: var(--sky); color: #fff; padding: 10px 18px; border-radius: 4px; font: 700 15px var(--head); text-decoration: none; }
.bd-skip:focus { top: 12px; }
.bd-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bd-preview { position: fixed; inset-inline: 0; bottom: 0; z-index: 250; margin: 0; padding: 8px 4%; background: var(--yellow); color: var(--dark); font: 700 14px/1.6 var(--head); text-align: center; }
.bd-wrap { width: 92%; max-width: 1750px; margin-inline: auto; }
.bd-wrap--mid { max-width: 1224px; }
.bd-wrap--sm { max-width: 1024px; }
.bd-cover { position: relative; overflow: hidden; background: var(--navy-2); }
.bd-cover > img, .bd-cover > .bd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-ph { display: block; width: 100%; height: 100%; min-height: 120px; background: var(--navy-2) url("../img/ph.svg") center / 110px no-repeat; }
.bd-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

@keyframes bd-bounce { 0%, 20%, 60%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 80% { transform: translateY(-5px); } }
@keyframes bd-wobble { 0%, 97%, 100% { transform: scale(1); } 20% { transform: scaleY(.95) scaleX(1.05); } 48% { transform: scaleY(1.1) scaleX(.9); } 68% { transform: scaleY(.98) scaleX(1.02); } 80% { transform: scaleY(1.02) scaleX(.98); } }
@keyframes bd-pulse { 100% { transform: scale(7); opacity: 0; } }
@keyframes bd-ring { 50% { box-shadow: 0 0 0 10px rgba(94, 207, 177, .2), 0 0 0 20px rgba(94, 207, 177, .1); } }
@keyframes bd-rise { 0% { transform: translateY(0); opacity: var(--o, .6); } 100% { transform: translateY(-150px); opacity: 0; } }
@keyframes bd-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- أزرار ---------- */
.bd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 28px; border: 0; border-radius: 4px; background: var(--royal); color: #fff; font: 700 14.5px/1 var(--head); text-decoration: none; cursor: pointer; box-shadow: 0 0 0 7px rgba(0, 0, 0, .04); transition: background .2s linear, box-shadow .2s ease-in-out; }
.bd-btn .bd-i { width: 17px; height: 17px; color: var(--sky); transition: transform .2s ease-in-out; }
.bd-btn:hover { background: var(--navy); box-shadow: 0 0 0 7px rgba(0, 0, 0, 0); }
.bd-btn:hover .bd-i { transform: translateX(-5px); }
.bd-btn--sky { background: var(--sky); }
.bd-btn--sky .bd-i { color: #fff; }
.bd-btn--sky:hover { background: var(--sky-2); }
.bd-btn--sm { min-height: 40px; padding: 0 20px; font-size: 13.5px; }
.bd-more { text-align: center; margin-top: 50px; }
.bd-pillbtn { display: inline-flex; align-items: center; gap: 16px; min-height: 50px; padding: 0 30px 0 8px; padding-inline: 8px 34px; border-radius: 30px; background: #fff; color: var(--text); font: 700 14.5px/1 var(--head); text-decoration: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .4); }
.bd-pillbtn i { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sky); color: #fff; transition: background .2s; }
.bd-pillbtn i .bd-i { width: 16px; height: 16px; }
.bd-pillbtn:hover i { background: var(--dark); }

/* ---------- الهيدر ---------- */
.bd-head { position: fixed; top: 0; inset-inline: 0; z-index: 100; display: flex; align-items: center; height: var(--head-h); padding-inline-start: 40px; background: var(--navy); }
.bd-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.bd-logo svg { width: 38px; height: 38px; }
.bd-logo-t { display: flex; flex-direction: column; gap: 5px; }
.bd-logo b { color: #fff; font: 800 23px/1 var(--head); white-space: nowrap; }
.bd-logo b span { color: var(--sky); }
.bd-logo small { color: rgba(255, 255, 255, .6); font: 500 12px/1 var(--body); }
.bd-hsearch { display: flex; align-items: center; justify-content: center; gap: 12px; flex: none; width: 170px; height: 43px; margin-inline-start: 44px; border: 0; border-radius: 30px; background: var(--navy-2); color: #fff; font: 500 14px var(--body); cursor: pointer; transition: background .2s; }
.bd-hsearch .bd-i { width: 16px; height: 16px; color: var(--sky); }
.bd-hsearch i { width: 1px; height: 12px; background: rgba(255, 255, 255, .45); }
.bd-hsearch:hover, .bd-hsearch[aria-expanded="true"] { background: var(--navy-3); }
.bd-nav { margin-inline-start: 34px; }
.bd-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.bd-nav > ul > li { position: relative; }
.bd-nav a, .bd-nav button { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 0; background: none; color: #fff; font: 700 14.5px/25px var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .1s linear; }
.bd-nav > ul > li > a:hover, .bd-nav button:hover, .bd-nav > ul > li > a[aria-current="page"], .bd-nav .is-current > button, .bd-nav .is-open > button { color: var(--sky); }
.bd-caret { width: 0; height: 0; margin-top: 3px; border: 4.5px solid transparent; border-top-color: var(--sky); border-bottom-width: 0; transition: transform .3s; }
.bd-has-sub:hover .bd-caret, .bd-has-sub.is-open .bd-caret { transform: rotateX(180deg); }
.bd-sub { position: absolute; top: 100%; inset-inline-start: 0; z-index: 5; min-width: 200px; margin-top: 34px; padding: 10px 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 12px 26px rgba(37, 44, 65, .14); list-style: none; opacity: 0; visibility: hidden; transition: opacity .2s ease-in-out, margin .2s ease-in-out, visibility .2s; }
.bd-has-sub::after { content: ""; position: absolute; top: 100%; inset-inline: 0; height: 18px; }
.bd-has-sub:hover .bd-sub, .bd-has-sub.is-open .bd-sub { margin-top: 16px; opacity: 1; visibility: visible; }
.bd-sub a { padding: 6px 20px; color: var(--ink); font-weight: 500; font-size: 14.5px; }
.bd-sub a:hover, .bd-sub a[aria-current="page"] { color: var(--sky); }
.bd-hright { display: flex; align-items: center; gap: 24px; align-self: stretch; margin-inline-start: auto; padding-inline: 34px 40px; background: var(--navy-2); }
.bd-hitem { display: flex; align-items: center; gap: 10px; color: #fff; font: 500 13.5px/1.3 var(--body); text-decoration: none; white-space: nowrap; }
.bd-hitem .bd-i { width: 19px; height: 19px; color: var(--sky); }
.bd-hitem + .bd-hitem { padding-inline-start: 24px; border-inline-start: 1px solid rgba(255, 255, 255, .2); }
.bd-hitem:hover { color: var(--sky); }
.bd-hpin { position: relative; display: flex; color: #fff; }
.bd-hpin .bd-i { width: 22px; height: 22px; }
.bd-hpin b { position: absolute; bottom: -5px; inset-inline-start: -9px; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px; background: var(--green); color: #fff; font: 700 10px/17px var(--body); text-align: center; }
.bd-hpin:hover { color: var(--sky); }
.bd-add { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 22px; border-radius: 4px; background: var(--sky); color: #fff; font: 700 14px/40px var(--body); text-decoration: none; white-space: nowrap; box-shadow: 0 0 0 6px rgba(255, 255, 255, .1); transition: box-shadow .2s ease-in-out; }
.bd-add .bd-i { width: 17px; height: 17px; }
.bd-add:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
.bd-menu-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 40px; border: 0; border-radius: 4px; background: var(--navy-3); color: #fff; cursor: pointer; }
.bd-searchbar { position: fixed; top: var(--head-h); inset-inline: 0; z-index: 99; padding: 18px 4%; background: var(--navy-2); box-shadow: 0 14px 30px rgba(20, 34, 65, .25); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.bd-searchbar.is-open { transform: none; visibility: visible; }
.bd-searchbar form { display: flex; max-width: 760px; margin: 0 auto; }
.bd-searchbar input { flex: 1; min-width: 0; height: 50px; padding: 0 24px; border: 0; border-radius: 0 30px 30px 0; background: #fff; color: var(--ink); font-size: 15px; }
.bd-searchbar button { flex: none; height: 50px; padding: 0 30px; border: 0; border-radius: 30px 0 0 30px; background: var(--sky); color: #fff; font: 700 15px var(--head); cursor: pointer; }

/* القايمة الجانبية (موبايل) */
.bd-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.bd-drawer.is-open { visibility: visible; }
.bd-drawer-bg { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(20, 34, 65, .6); opacity: 0; transition: opacity .3s; }
.bd-drawer.is-open .bd-drawer-bg { opacity: 1; }
.bd-drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(340px, 88vw); padding: 22px 22px 30px; background: var(--navy); overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); }
.bd-drawer.is-open .bd-drawer-panel { transform: none; }
.bd-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bd-drawer-close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 4px; background: var(--navy-3); color: #fff; cursor: pointer; }
.bd-drawer form { display: flex; margin-bottom: 8px; }
.bd-drawer form input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 0; border-radius: 0 30px 30px 0; background: #fff; color: var(--ink); }
.bd-drawer form button { flex: none; width: 54px; height: 46px; border: 0; border-radius: 30px 0 0 30px; background: var(--sky); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bd-drawer h2 { margin: 24px 0 8px; color: var(--sky); font-size: 14px; }
.bd-drawer ul { list-style: none; }
.bd-drawer li a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; font: 500 15.5px var(--body); text-decoration: none; }
.bd-drawer li a .bd-i { color: var(--sky); width: 19px; height: 19px; }

/* ---------- الهيرو ---------- */
.bd-hero { position: relative; z-index: 1; display: flex; align-items: center; min-height: max(640px, calc(100vh - var(--head-h))); padding: 90px 0 120px; background: var(--deep); color: #fff; text-align: center; overflow: hidden; }
.bd-hero-bg { position: absolute; inset: -110px 0 -110px; z-index: -2; }
.bd-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.bd-hero-bg img.is-on { opacity: 1; }
.bd-overlay { position: absolute; inset: 0; z-index: -1; background: #000; opacity: .5; }
.bd-hero-title { position: relative; }
.bd-sep { display: block; width: 50px; height: 3px; margin: 18px auto; border-radius: 3px; background: var(--sky); }
.bd-hero-title .bd-sep { margin: 0 auto 30px; }
.bd-hero-title h1 { position: relative; z-index: 2; color: #fff; font: 900 clamp(30px, 3.5vw, 50px)/1.3 var(--head); }
.bd-hero-title p { position: relative; z-index: 2; margin-top: 14px; color: rgba(255, 255, 255, .92); font: 500 15.5px/1.7 var(--body); }
.bd-bubble { position: absolute; bottom: 0; z-index: 1; border-radius: 50%; background: #fff; pointer-events: none; animation: bd-rise 3s linear forwards; }
.bd-hs { position: relative; z-index: 3; margin-top: 44px; }
.bd-htabs { display: none; justify-content: center; gap: 6px; list-style: none; }
.js .bd-htabs { display: flex; }
.bd-htabs button { position: relative; padding: 12px 22px 20px; border: 0; background: none; color: #fff; font: 700 14px/1 var(--head); cursor: pointer; transition: color .2s; }
.bd-htabs button:hover, .bd-htabs button[aria-selected="true"] { color: var(--sky); }
.bd-htabs button[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 50%; margin-left: -9px; border: 9px solid transparent; border-top-width: 0; border-bottom-color: rgba(255, 255, 255, .95); }
.bd-hform { display: flex; align-items: stretch; padding: 8px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .3); text-align: start; }
.js .bd-hform[hidden] { display: none; }
.bd-hfield { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; padding: 0 22px; border-inline-end: 1px solid var(--line); }
.bd-hfield .bd-i { width: 18px; height: 18px; color: var(--sky); }
.bd-hfield input, .bd-hfield select { flex: 1; min-width: 0; height: 50px; padding: 0; border: 0; background: none; color: var(--ink); font: 500 15px var(--body); appearance: none; outline: 0; }
.bd-hfield select { padding-inline-end: 24px; background: url("../img/caret.svg") left 2px center / 12px no-repeat; cursor: pointer; }
.bd-hfield input::placeholder { color: #8b93a5; }
.bd-hfield:focus-within { box-shadow: inset 0 -2px 0 var(--sky); }
.bd-hfield--note { color: var(--text); font-size: 14px; }
.bd-hform > button { display: flex; align-items: center; justify-content: center; gap: 14px; flex: none; width: 200px; min-height: 50px; margin-inline-start: 14px; border: 0; border-radius: 6px; background: var(--royal); color: #fff; font: 700 15px var(--head); cursor: pointer; transition: background .2s; }
.bd-hform > button .bd-i { width: 17px; height: 17px; color: var(--sky); }
.bd-hform > button:hover { background: var(--navy); }
.bd-hcats { position: relative; z-index: 2; margin-top: 46px; }
.bd-hcats::before { content: ""; display: block; width: 62px; height: 1px; margin: 0 auto 38px; background: rgba(255, 255, 255, .35); }
.bd-hcats h2 { color: rgba(255, 255, 255, .92); font: 500 14.5px/1.5 var(--body); }
.bd-hcats ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 52px; margin-top: 26px; list-style: none; }
.bd-hcats a { display: block; color: rgba(255, 255, 255, .75); font-size: 14.5px; text-decoration: none; transition: color .2s; }
.bd-hcats a .bd-i { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--sky); stroke-width: 1.3; transition: color .2s; }
.bd-hcats a:hover, .bd-hcats a:hover .bd-i { color: #fff; }
.bd-hcats a:hover .bd-i { animation: bd-bounce 1s ease 1; }
.bd-doodle { position: absolute; top: 66px; inset-inline-end: calc(50% - 400px); width: 76px; height: 76px; color: rgba(255, 255, 255, .7); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 5 5; stroke-linecap: round; pointer-events: none; }
.bd-notch { position: absolute; bottom: -1px; left: 50%; z-index: 5; display: flex; align-items: flex-end; justify-content: center; width: 220px; height: 44px; margin-left: -110px; padding-bottom: 5px; color: var(--sky); }
.bd-notch > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--notch, #fff); }
.bd-notch .bd-i { position: relative; width: 18px; height: 18px; }
.bd-notch:hover .bd-i { animation: bd-bounce 1s ease 1; }

/* ---------- عناوين الأقسام ---------- */
.bd-sec { position: relative; padding: 90px 0; background: #fff; }
.bd-sec--gray { background: var(--gray-2); overflow: hidden; }
.bd-sec--tight { padding-top: 60px; }
.bd-stitle { position: relative; z-index: 1; margin-bottom: 50px; text-align: center; }
.bd-stitle h2 { color: var(--title); font: 800 34px/1.35 var(--head); }
.bd-ghost { position: absolute; top: -26px; inset-inline: 0; z-index: -1; color: var(--sky); font: 900 70px/1.15 var(--head); opacity: .15; white-space: nowrap; overflow: hidden; pointer-events: none; user-select: none; }
.bd-stitle p { max-width: 620px; margin: 0 auto; color: var(--text); font-size: 15.5px; line-height: 1.75; }
.bd-blob { position: absolute; z-index: 0; border-radius: 50%; background: var(--sky); opacity: .07; animation: bd-wobble 8s ease-out infinite; pointer-events: none; }
.bd-blob--1 { top: 70px; inset-inline-start: -90px; width: 260px; height: 260px; }
.bd-blob--2 { bottom: 40px; inset-inline-end: -60px; width: 180px; height: 180px; animation-duration: 4s; }
.bd-blob--3 { top: 46%; inset-inline-end: 22%; width: 60px; height: 60px; animation-duration: 2s; opacity: .1; }

/* ---------- عناصر الكروت المشتركة ---------- */
.bd-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 20px; background: var(--green); color: #fff; font: 500 12.5px/1.2 var(--body); white-space: nowrap; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
.bd-pill .bd-i { width: 14px; height: 14px; }
.bd-pill--pink { background: var(--pink); }
.bd-pill--sky { background: var(--sky); }
.bd-ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-3); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.bd-ic .bd-i { width: 19px; height: 19px; }
.bd-score { display: flex; align-items: center; gap: 12px; color: #fff; }
.bd-score b { display: flex; align-items: center; justify-content: center; min-width: 46px; height: 42px; padding: 0 8px; border-radius: 4px; background: var(--royal); color: #fff; font: 700 15px/1 var(--head); }
.bd-score b .bd-i { width: 18px; height: 18px; }
.bd-score span { display: block; font: 700 13px/1.5 var(--body); }
.bd-score small { display: block; font: 400 12.5px/1.3 var(--body); color: rgba(255, 255, 255, .85); }
.bd-cat { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font: 500 14px/1.3 var(--body); text-decoration: none; }
.bd-cat i { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; }
.bd-cat i .bd-i { width: 16px; height: 16px; }
.bd-c1 i, i.bd-c1 { background: var(--pink); } .bd-c2 i, i.bd-c2 { background: var(--purple); } .bd-c3 i, i.bd-c3 { background: var(--blue); } .bd-c4 i, i.bd-c4 { background: var(--yellow); } .bd-c5 i, i.bd-c5 { background: var(--green); }
.bd-zoom { overflow: hidden; }
.bd-zoom img { transition: transform 2s var(--ease); }
a:hover > .bd-zoom img, .bd-zoom:hover img, .bd-pcard:hover .bd-zoom img, .bd-lcard:hover .bd-zoom img { transform: scale(1.12); }

/* ---------- كاروسيل أحدث الصفحات ---------- */
.bd-car { position: relative; overflow: hidden; }
.bd-car-track { display: flex; gap: 20px; list-style: none; will-change: transform; }
.bd-car-track.is-moving { transition: transform .45s ease; }
.bd-car-track > li { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; }
/* السهم في نص مساحة الصورة (فوق سطر العنوان وتحت الأيقونات) عشان مايغطيش أول حرف من عنوان الكارت الطرفي */
.bd-car-btn { position: absolute; top: calc(50% - 45px); z-index: 3; display: flex; align-items: center; width: 62px; height: 62px; margin-top: -31px; padding: 0 14px; border: 0; background: var(--royal); color: var(--sky); cursor: pointer; transition: background .2s; }
.bd-car-btn:hover { background: var(--navy); }
.bd-car-btn::before { content: ""; border: 6px solid transparent; }
.bd-car-btn--prev { inset-inline-start: 0; border-radius: 62px 0 0 62px; justify-content: flex-start; }
.bd-car-btn--prev::before { border-inline-end-color: currentColor; border-inline-start-width: 0; }
.bd-car-btn--next { inset-inline-end: 0; border-radius: 0 62px 62px 0; justify-content: flex-start; flex-direction: row-reverse; }
.bd-car-btn--next::before { border-inline-start-color: currentColor; border-inline-end-width: 0; }
.bd-lcard { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; min-height: 330px; border-radius: 10px; overflow: hidden; background: var(--deep); color: #fff; }
.bd-lcard .bd-zoom { position: absolute; inset: 0; }
.bd-lcard .bd-zoom img, .bd-lcard .bd-zoom .bd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-lcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 34, 68, .96) 0%, rgba(18, 34, 68, .82) 32%, rgba(18, 34, 68, .42) 52%, rgba(18, 34, 68, 0) 72%); pointer-events: none; }
.bd-lcard-top { position: absolute; top: 24px; inset-inline: 25px; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; }
.bd-lcard-body { position: absolute; bottom: 0; inset-inline: 0; z-index: 2; padding: 0 25px 16px; }
.bd-lcard-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.bd-lcard h3 { color: #fff; font: 700 19px/1.4 var(--head); text-shadow: 0 1px 3px rgba(18, 34, 68, .55); }
.bd-lcard h3 a { color: inherit; text-decoration: none; }
.bd-lcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bd-loc { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: rgba(255, 255, 255, .92); font: 500 14px/1.4 var(--body); }
.bd-loc .bd-i { width: 16px; height: 16px; color: var(--sky); }
.bd-lcard-foot { display: flex; align-items: center; gap: 22px; padding-top: 14px; }
.bd-lcard-foot .bd-cat { color: #fff; }
.bd-by { display: inline-flex; align-items: center; gap: 12px; margin-inline-start: auto; color: #fff; font: 500 13.5px/1.3 var(--body); }
.bd-by svg { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: #fff; }

/* ---------- مدن القصيم ---------- */
.bd-cities-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 38px; list-style: none; }
.bd-cities-grid > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.bd-cities-grid > :last-child:nth-child(3n + 2) { grid-column: span 2; }
.bd-city { position: relative; display: block; height: 325px; border-radius: 10px; overflow: hidden; background: var(--deep); color: #fff; text-decoration: none; }
.bd-city .bd-zoom { position: absolute; inset: 0; }
.bd-city .bd-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 40, 78, .88) 0%, rgba(22, 40, 78, .3) 45%, rgba(22, 40, 78, 0) 70%); }
.bd-chip { position: absolute; top: 36px; inset-inline-start: 25px; z-index: 2; padding: 8px 16px; border-radius: 4px; background: var(--royal); color: #fff; font: 500 13px/1.2 var(--body); box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
.bd-chip b { margin-inline-end: 6px; color: var(--sky); font-weight: 700; }
.bd-city-t { position: absolute; bottom: 24px; inset-inline: 25px; z-index: 2; }
.bd-city-t h3 { position: relative; padding-bottom: 10px; color: #fff; font: 800 24px/1.3 var(--head); transition: color .3s; }
.bd-city-t h3::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 25px; height: 2px; background: var(--sky); }
.bd-city-t p { margin-top: 10px; color: rgba(255, 255, 255, .75); font-size: 14.5px; transition: color .3s ease-in-out; }
.bd-city:hover h3 { color: var(--sky); }
.bd-city:hover p { color: #fff; }

/* ---------- أشرطة البارالاكس (الأرقام + الصلاة القادمة) ---------- */
.bd-par { position: relative; z-index: 1; padding: 110px 0; background: var(--deep); color: #fff; text-align: center; overflow: hidden; }
.bd-par-bg { position: absolute; inset: -30% 0; z-index: -2; }
.bd-par-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 20px; }
.bd-num b { display: block; color: #fff; font: 800 48px/1.15 var(--head); direction: ltr; }
.bd-num span { position: relative; display: block; margin-top: 8px; padding-bottom: 24px; color: #fff; font: 700 15px/1.4 var(--body); }
.bd-num span::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 36px; height: 3px; margin-left: -18px; border-radius: 3px; background: var(--sky); }
.bd-promo { padding: 130px 0; }
.bd-promo-k { color: #fff; font: 700 15px/1.5 var(--body); }
.bd-promo h2 { margin: 18px 0 34px; color: #fff; font: 800 clamp(26px, 2.6vw, 38px)/1.4 var(--head); }
.bd-clock { display: flex; justify-content: center; gap: 12px; margin-top: 10px; direction: ltr; }
.bd-clock div { min-width: 92px; }
.bd-clock b { display: block; font: 900 clamp(40px, 4.4vw, 62px)/1.1 var(--head); color: #fff; font-variant-numeric: tabular-nums; }
.bd-clock span { display: block; color: rgba(255, 255, 255, .8); font: 500 13.5px/1.4 var(--body); }
.bd-clock i { align-self: flex-start; font: 900 clamp(34px, 4vw, 54px)/1.2 var(--head); color: var(--sky); font-style: normal; }

/* ---------- فلاتر + شبكة كروت الأقسام/الصفحات ---------- */
.bd-filters-wrap { text-align: center; }
.bd-filters { display: inline-flex; flex-wrap: wrap; justify-content: center; margin-bottom: 46px; border: 1px solid var(--line); border-radius: 6px; background: var(--gray); overflow: hidden; }
.bd-filters button { padding: 16px 30px; border: 0; border-inline-start: 1px solid var(--line); background: none; color: var(--text); font: 700 14px/1.2 var(--head); cursor: pointer; transition: background .2s, color .2s; }
.bd-filters button:first-child { border-inline-start: 0; }
.bd-filters button:hover { background: #fff; }
.bd-filters button[aria-pressed="true"] { background: var(--sky); color: #fff; }
.bd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; list-style: none; }
.bd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 24px; }
.bd-grid > li { display: flex; min-width: 0; }
.bd-grid > li.is-out { display: none; }
.bd-grid > li.is-in { animation: bd-fade-in .45s ease both; }
.bd-pcard { position: relative; display: flex; flex-direction: column; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: box-shadow .3s; }
.bd-pcard:hover { box-shadow: 0 16px 14px rgba(37, 44, 65, .12); }
.bd-pcard-img { position: relative; display: block; height: 255px; border-radius: 10px 10px 0 0; overflow: hidden; background: var(--deep); }
.bd-pcard-img .bd-zoom { position: absolute; inset: 0; }
.bd-pcard-img .bd-zoom img, .bd-pcard-img .bd-zoom .bd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-pcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 34, 68, .9) 0%, rgba(18, 34, 68, .25) 42%, rgba(18, 34, 68, 0) 60%); pointer-events: none; }
.bd-pcard-img .bd-ic { position: absolute; top: 24px; inset-inline-start: 25px; z-index: 2; }
.bd-pcard-img .bd-pill { position: absolute; top: 28px; inset-inline-end: 25px; z-index: 2; }
.bd-pcard-img .bd-score { position: absolute; bottom: 44px; inset-inline-start: 25px; z-index: 2; }
.bd-pcard-body { position: relative; z-index: 3; margin-top: -24px; padding: 28px 25px 0; border-radius: 10px 10px 0 0; background: #fff; }
.bd-av { position: absolute; top: -36px; inset-inline-end: 38px; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; }
.bd-av i { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sky); color: #fff; }
.bd-av i .bd-i { width: 26px; height: 26px; stroke-width: 1.5; }
.bd-pcard h3 { display: flex; align-items: center; gap: 10px; padding-inline-end: 80px; color: var(--ink); font: 700 19px/1.45 var(--head); }
.bd-pcard h3 a { color: inherit; text-decoration: none; }
.bd-pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 10px; }
.bd-pcard h3 a:hover { color: var(--sky); }
.bd-ok { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 21px; height: 21px; border-radius: 50%; background: var(--green); color: #fff; }
.bd-ok .bd-i { width: 12px; height: 12px; stroke-width: 2.6; }
.bd-pcard .bd-loc { color: var(--text); margin-top: 8px; }
.bd-pcard-text { margin: 20px -25px 0; padding: 18px 25px 16px; border-top: 1px solid var(--line); }
.bd-pcard-text p { color: #8A8F9B; font: 500 14px/1.95 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bd-incl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink); font: 700 13.5px/1.4 var(--body); list-style: none; }
.bd-incl li:not(:first-child) { padding: 4px 11px; border-radius: 4px; background: #ECF6FF; color: #3F8FCB; font-weight: 500; font-size: 13px; }
.bd-pcard-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 12px 25px; border-top: 1px solid var(--line); }
.bd-pcard-foot .bd-meta { margin-inline-start: auto; color: var(--muted); font: 500 13px/1.3 var(--body); white-space: nowrap; }
.bd-go { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; padding-inline-start: 18px; border-inline-start: 1px solid var(--line); min-height: 34px; color: var(--muted); font: 700 13.5px/1 var(--head); text-decoration: none; white-space: nowrap; transition: color .2s; }
.bd-meta + .bd-go { margin-inline-start: 0; }
.bd-go .bd-i { width: 16px; height: 16px; }
.bd-pcard:hover .bd-go { color: var(--sky); }
.bd-pcard:hover .bd-go .bd-i { animation: bd-bounce 1s ease 1; }

/* ---------- طريقة الاستخدام ---------- */
.bd-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 76px; list-style: none; counter-reset: st; }
.bd-steps::before { content: ""; position: absolute; top: 50%; inset-inline: 10%; height: 1px; background: var(--line-2); }
.bd-step { position: relative; z-index: 1; padding: 34px 26px 58px; border: 1px solid var(--line); border-radius: 6px; background: var(--gray); text-align: center; counter-increment: st; }
.bd-step-ic { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 130px; height: 80px; color: var(--sky); }
.bd-step-ic::before, .bd-step-ic::after { content: ""; position: absolute; height: 10px; border-radius: 10px; background: #D9F0FF; }
.bd-step-ic::before { top: 18px; inset-inline-start: 6px; width: 74px; box-shadow: 34px 22px 0 #D9F0FF; }
.bd-step-ic::after { bottom: 12px; inset-inline-end: 30px; width: 56px; }
.bd-step-ic .bd-i { position: relative; z-index: 1; width: 64px; height: 64px; stroke-width: 1.5; }
.bd-step h3 { margin-top: 14px; color: var(--ink); font: 700 20px/1.4 var(--head); }
.bd-step p { margin-top: 12px; color: var(--text); font-size: 15px; line-height: 1.8; }
.bd-step::after { content: "0" counter(st); position: absolute; bottom: -30px; left: 50%; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-left: -30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--sky); font: 800 16px/1 var(--head); box-shadow: 0 9px 16px rgba(58, 87, 135, .15); }
.bd-steps-end { position: relative; width: 1px; height: 46px; margin: 30px auto 0; background: var(--line-2); }
.bd-steps-end i { position: absolute; top: 100%; left: 50%; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 12px rgba(94, 207, 177, .12); animation: bd-ring 2.4s ease-in-out infinite; }
.bd-steps-end i .bd-i { width: 28px; height: 28px; stroke-width: 2; }
.bd-steps-sec { padding-bottom: 170px; }

/* ---------- الفوتر ---------- */
.bd-foot { position: relative; z-index: 1; background: var(--foot); color: rgba(255, 255, 255, .78); overflow: hidden; }
.bd-foot a { color: #fff; text-decoration: none; }
.bd-foot-top { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.bd-foot-top .bd-wrap { display: flex; align-items: center; gap: 30px; padding-block: 46px 34px; }
.bd-foot-top h2 { color: #fff; font: 700 19px/1.4 var(--head); }
.bd-foot-top h2 span { color: var(--sky); }
.bd-foot-top p { margin-top: 2px; color: rgba(255, 255, 255, .65); font-size: 14.5px; }
.bd-foot-search { position: relative; flex: 1; max-width: 58%; margin-inline-start: auto; }
.bd-foot-search input { width: 100%; height: 62px; padding-inline: 32px 90px; border: 0; border-radius: 40px; background: #fff; color: var(--ink); font-size: 15px; }
.bd-foot-search button { position: absolute; top: 6px; inset-inline-end: 8px; display: flex; align-items: center; justify-content: center; width: 70px; height: 50px; border: 0; border-radius: 30px; background: none; color: var(--sky); cursor: pointer; }
.bd-foot-search button .bd-i { width: 26px; height: 26px; }
.bd-foot-search button:hover .bd-i { animation: bd-bounce 1s ease 1; }
.bd-foot-main { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px 60px; padding-block: 60px 90px; }
.bd-foot-mark { position: absolute; top: 120px; inset-inline-start: -30px; z-index: -1; width: 520px; height: 420px; color: #fff; opacity: .05; }
.bd-foot-mark svg { width: 100%; height: 100%; }
.bd-pin { position: absolute; z-index: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.bd-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: bd-pulse 2.6s ease-out infinite; }
.bd-pin--1 { top: 235px; inset-inline-start: 5%; } .bd-pin--2 { top: 232px; inset-inline-start: 14%; } .bd-pin--3 { top: 262px; inset-inline-start: 20%; } .bd-pin--4 { top: 360px; inset-inline-start: 8%; }
.bd-pin--2::after { animation-delay: .7s; } .bd-pin--3::after { animation-delay: 1.3s; } .bd-pin--4::after { animation-delay: 1.9s; }
.bd-foot-about p { margin-top: 28px; color: #fff; font: 500 14.5px/2 var(--body); }
.bd-foot-pills { display: grid; justify-items: start; gap: 14px; margin-top: 26px; list-style: none; }
.bd-foot-pills li > * { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 22px; border-radius: 30px; background: rgba(255, 255, 255, .11); color: #fff; font: 700 14px/1.3 var(--body); }
.bd-foot-pills .bd-i { width: 17px; height: 17px; color: var(--sky); }
.bd-foot-pills small { color: rgba(255, 255, 255, .6); font: 500 14px var(--body); }
.bd-foot-pills a:hover { background: rgba(255, 255, 255, .2); }
.bd-foot-soc { display: flex; align-items: center; gap: 16px; margin-top: 30px; color: #fff; font: 700 14px var(--body); }
.bd-foot-soc a { color: var(--sky); }
.bd-foot-soc a:hover { color: #fff; }
.bd-foot-soc .bd-i { width: 18px; height: 18px; }
.bd-foot-col > h2 { position: relative; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font: 700 19px/1.4 var(--head); }
.bd-foot-col > h2::after { content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; width: 50px; height: 1px; background: var(--sky); }
.bd-foot-news { display: grid; gap: 0; list-style: none; }
.bd-foot-news li { display: flex; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; }
.bd-foot-news .bd-cover { flex: none; width: 140px; height: 94px; border-radius: 4px; }
.bd-foot-news div { flex: 1; min-width: 0; padding-bottom: 14px; border-bottom: 1px dotted rgba(255, 255, 255, .22); }
.bd-foot-news a { display: block; color: #fff; font: 700 15px/1.6 var(--head); }
.bd-foot-news a:hover { color: var(--sky); }
.bd-foot-news time { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: rgba(255, 255, 255, .6); font: 700 13px var(--body); }
.bd-foot-news time .bd-i { width: 15px; height: 15px; color: var(--sky); }
.bd-foot-all { display: inline-flex; align-items: center; gap: 14px; color: #fff; font: 700 14.5px var(--head); }
.bd-foot-all .bd-i { width: 16px; height: 16px; color: var(--sky); transition: transform .2s; }
.bd-foot-all:hover .bd-i { transform: translateX(-5px); }
.bd-foot-links { display: grid; gap: 10px; list-style: none; }
.bd-foot-links a { position: relative; display: inline-block; padding-inline-start: 26px; color: #fff; font: 700 15.5px/1.7 var(--body); }
.bd-foot-links a::before { content: ""; position: absolute; top: 10px; inset-inline-start: 2px; border-block: 5px solid transparent; border-inline-start: 6px solid var(--sky); transition: inset-inline-start .2s; }
.bd-foot-links a:hover::before { inset-inline-start: 6px; }
.bd-foot-apps { display: grid; gap: 16px; margin-top: 34px; }
.bd-foot-apps a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 58px; padding-inline: 70px 30px; border-radius: 40px; background: #fff; color: var(--text); font: 700 14.5px var(--head); box-shadow: 0 0 0 5px rgba(255, 255, 255, .22); }
.bd-foot-apps i { position: absolute; top: 7px; inset-inline-start: 9px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: #fff; transition: background .2s; }
.bd-foot-apps a:hover i { background: var(--dark); }
.bd-foot-wave { position: absolute; bottom: 68px; inset-inline: 0; z-index: -1; width: 100%; height: 150px; fill: rgba(255, 255, 255, .06); pointer-events: none; }
.bd-foot-bottom { background: var(--foot-2); }
.bd-foot-bottom .bd-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; min-height: 76px; padding-block: 16px; }
.bd-foot-bottom p { color: #fff; font: 500 14px var(--body); }
.bd-foot-bottom ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; list-style: none; }
.bd-foot-bottom ul a { color: var(--sky); font: 500 14.5px var(--body); }
.bd-foot-bottom ul a:hover { color: #fff; }
.bd-foot-bottom .bd-credit { flex-basis: 100%; margin-top: -4px; color: rgba(255, 255, 255, .72); font: 400 13px var(--body); }
.bd-foot-bottom .bd-credit a { color: var(--sky); font-weight: 500; }
.bd-foot-bottom .bd-credit a:hover { color: #fff; }
@media (max-width: 760px) { .bd-foot-bottom .bd-credit { padding-bottom: 56px; } }
.bd-foot-date { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 4px; background: rgba(255, 255, 255, .08); color: #fff; font: 700 13.5px var(--body); }
.bd-foot-date .bd-i { width: 18px; height: 18px; color: var(--sky); }
.bd-top { position: fixed; bottom: 60px; inset-inline-end: 50px; z-index: 90; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 0; border-radius: 3px; background: var(--navy-3); color: var(--sky); cursor: pointer; box-shadow: 0 0 0 4px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; }
.bd-top::before { content: ""; border: 6px solid transparent; border-top-width: 0; border-bottom-color: currentColor; }
.bd-top.is-on { opacity: 1; visibility: visible; transform: none; }
.bd-top:hover { background: var(--foot-2); }

/* ---------- هيرو الصفحات الداخلية ---------- */
.bd-phero { position: relative; z-index: 1; padding: 96px 0 104px; background: var(--deep); color: #fff; text-align: center; overflow: hidden; }
.bd-phero h1 { color: #fff; font: 900 clamp(26px, 2.8vw, 40px)/1.4 var(--head); }
.bd-phero .bd-sep { margin: 20px auto 22px; }
.bd-phero-d { max-width: 680px; margin: 22px auto 0; color: rgba(255, 255, 255, .88); font: 500 15.5px/1.85 var(--body); }
.bd-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; list-style: none; font: 700 13.5px/1.5 var(--body); }
.bd-crumbs li { display: inline-flex; align-items: center; gap: 14px; }
.bd-crumbs li + li::before { content: ""; border-block: 4px solid transparent; border-inline-start: 5px solid var(--sky); }
.bd-crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.bd-crumbs a:hover { color: var(--sky); }
.bd-crumbs [aria-current] { color: #fff; }
.bd-phero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 18px; color: rgba(255, 255, 255, .8); font: 500 14px var(--body); }
.bd-phero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.bd-phero-meta .bd-i { width: 16px; height: 16px; color: var(--sky); }

/* ---------- هيكل الصفحات الداخلية ---------- */
.bd-page { padding: 34px 0 90px; background: var(--gray-2); --notch: #F6F6F6; }
.bd-phero + .bd-page { padding-top: 60px; }
.bd-cols { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.bd-box { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.bd-box + .bd-box, .bd-main > * + * { margin-top: 26px; }
.bd-box-pad { padding: 30px; }
.bd-box-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 30px; border-bottom: 1px solid var(--line); }
.bd-box-h h2 { color: var(--ink); font: 800 18px/1.4 var(--head); }
.bd-box-h .bd-i { width: 16px; height: 16px; color: var(--sky); }
.bd-crumbbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 26px; padding: 14px 24px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.bd-crumbbar .bd-crumbs ol { justify-content: flex-start; font-weight: 500; }
.bd-crumbbar .bd-crumbs a { color: var(--text); }
.bd-crumbbar .bd-crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.bd-share { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 18px; border: 0; border-radius: 4px; background: var(--royal); color: #fff; font: 700 13.5px var(--head); cursor: pointer; }
.bd-share .bd-i { width: 15px; height: 15px; color: var(--sky); }
.bd-share:hover { background: var(--navy); }
.bd-share.is-done { background: var(--green); }
.bd-share.is-done .bd-i { color: #fff; }

/* المقال */
.bd-art-img { position: relative; aspect-ratio: 16 / 9; border-radius: 10px 10px 0 0; overflow: hidden; background: var(--navy-2); }
.bd-art-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-art-head { padding: 28px 30px 0; }
.bd-art-head h1 { color: var(--ink); font: 800 clamp(23px, 2.1vw, 30px)/1.5 var(--head); }
.bd-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--text); font: 500 14px/1.4 var(--body); list-style: none; }
.bd-art-meta li { display: inline-flex; align-items: center; gap: 9px; }
.bd-art-meta .bd-i { width: 16px; height: 16px; color: var(--sky); }
.bd-art-meta svg:not(.bd-i) { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--navy); }
.bd-art-meta a { color: var(--text); text-decoration: none; }
.bd-art-meta a:hover { color: var(--sky); }
.bd-art-body { padding: 24px 30px 34px; }
.bd-art-lead { margin-bottom: 22px; color: var(--ink); font: 500 17.5px/2 var(--body); }
.bd-art-lead > * + * { margin-top: 12px; }
.bd-facts { position: relative; margin: 0 0 28px; padding: 24px 28px 24px 26px; border-inline-start: 8px solid var(--sky); border-radius: 4px; background: var(--gray); }
.bd-facts > .bd-i { position: absolute; bottom: 14px; inset-inline-end: 18px; width: 46px; height: 46px; color: #DCE3EE; }
.bd-facts h2 { color: var(--ink); font: 800 19px/1.4 var(--head); }
.bd-facts ul { display: grid; gap: 8px; margin-top: 12px; list-style: none; }
.bd-facts li { position: relative; padding-inline-start: 22px; color: var(--prose); font: 500 15.5px/1.85 var(--body); }
.bd-facts li::before { content: ""; position: absolute; top: 11px; inset-inline-start: 2px; border-block: 5px solid transparent; border-inline-start: 6px solid var(--sky); }
.bd-prose { color: var(--prose); font-size: 16.5px; line-height: 2; }
.bd-prose > :first-child { margin-top: 0; }
.bd-prose > * + * { margin-top: 16px; }
.bd-prose h2 { margin-top: 38px; color: var(--ink); font: 800 24px/1.5 var(--head); }
.bd-prose h3 { margin-top: 28px; color: var(--ink); font: 700 20px/1.5 var(--head); }
.bd-prose ul, .bd-prose ol { display: grid; gap: 8px; padding: 0; list-style: none; }
.bd-prose ul li { position: relative; padding-inline-start: 24px; }
.bd-prose ul li::before { content: ""; position: absolute; top: 13px; inset-inline-start: 2px; border-block: 5px solid transparent; border-inline-start: 6px solid var(--sky); }
.bd-prose ol { counter-reset: n; }
.bd-prose ol li { position: relative; padding-inline-start: 40px; counter-increment: n; }
.bd-prose ol li::before { content: counter(n); position: absolute; top: 3px; inset-inline-start: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--royal); color: #fff; font: 700 13px/28px var(--head); text-align: center; }
.bd-prose a { color: #2F8FD9; text-underline-offset: 4px; }
.bd-prose a:hover { color: var(--royal); }
.bd-prose strong { color: var(--ink); }
.bd-prose blockquote { margin: 26px 0; padding: 22px 26px; border-inline-start: 8px solid var(--sky); border-radius: 4px; background: var(--gray); color: var(--text); font-style: italic; }
.bd-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.bd-table table, .bd-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bd-table th, .bd-prose th { padding: 14px 16px; background: var(--royal); color: #fff; font: 700 14.5px var(--head); text-align: start; white-space: nowrap; }
.bd-table td, .bd-prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--prose); }
.bd-table tbody tr:nth-child(even) td, .bd-prose tbody tr:nth-child(even) td { background: var(--gray); }
.bd-table tbody tr:last-child td { border-bottom: 0; }
.bd-faq { margin-top: 40px; }
.bd-faq > h2 { margin-bottom: 18px; color: var(--ink); font: 800 24px/1.5 var(--head); }
.bd-faq details { margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--gray); overflow: hidden; }
.bd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; color: var(--ink); font: 700 16.5px/1.6 var(--head); cursor: pointer; list-style: none; transition: background .2s, color .2s; }
.bd-faq summary::-webkit-details-marker { display: none; }
.bd-faq summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--sky); font: 500 20px/1 var(--body); box-shadow: 0 0 0 1px var(--line); }
.bd-faq details[open] summary { background: var(--royal); color: #fff; }
.bd-faq details[open] summary::after { content: "−"; background: var(--sky); color: #fff; box-shadow: none; }
.bd-faq-a { padding: 18px 22px 20px; background: #fff; color: var(--prose); font-size: 16px; line-height: 1.95; }
.bd-faq-a > * + * { margin-top: 10px; }
.bd-sources { margin-top: 36px; padding: 22px 26px; border: 1px dashed var(--line-2); border-radius: 6px; }
.bd-sources h2 { color: var(--ink); font: 800 18px/1.4 var(--head); }
.bd-sources ol { display: grid; gap: 6px; margin-top: 10px; padding-inline-start: 22px; color: var(--text); }
.bd-sources a { color: #2F8FD9; }
.bd-updated { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); font-size: 14px; }
.bd-updated a { color: #2F8FD9; }

/* الودجات الجانبية */
.bd-side { display: grid; gap: 26px; }
.bd-wid { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.bd-wid-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.bd-wid-h h2 { color: var(--ink); font: 800 17px/1.4 var(--head); }
.bd-wid-h::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-inline-end: 1.6px solid var(--sky); border-bottom: 1.6px solid var(--sky); transform: rotate(45deg); }
.bd-wid-b { padding: 24px 26px; }
.bd-wid-search { display: flex; }
.bd-wid-search input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 0; border-radius: 0 30px 30px 0; background: #F5F6FA; color: var(--ink); font-size: 14.5px; }
.bd-wid-search button { display: flex; align-items: center; justify-content: center; flex: none; width: 76px; height: 50px; border: 0; border-radius: 30px 0 0 30px; background: var(--royal); color: #fff; cursor: pointer; }
.bd-wid-search button:hover { background: var(--navy); }
.bd-wid-list { display: grid; list-style: none; }
.bd-wid-list li + li { border-top: 1px solid var(--line); }
.bd-wid-list a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; padding-inline-start: 20px; color: var(--ink); font: 500 15px/1.6 var(--body); text-decoration: none; transition: color .2s; }
.bd-wid-list a::before { content: ""; position: absolute; top: 20px; inset-inline-start: 2px; border-block: 4.5px solid transparent; border-inline-start: 5.5px solid var(--sky); }
.bd-wid-list a:hover, .bd-wid-list a.is-on { color: var(--sky); }
.bd-wid-list a small { color: var(--muted); font-size: 13px; }
.bd-wid-posts { display: grid; gap: 18px; list-style: none; }
.bd-wid-posts li { display: flex; gap: 16px; align-items: flex-start; }
.bd-wid-posts .bd-cover { flex: none; width: 96px; height: 68px; border-radius: 4px; }
.bd-wid-posts div { flex: 1; min-width: 0; padding-bottom: 14px; border-bottom: 1px dotted var(--line-2); }
.bd-wid-posts li:last-child div { border-bottom: 0; padding-bottom: 0; }
.bd-wid-posts a { color: var(--ink); font: 700 14.5px/1.65 var(--head); text-decoration: none; }
.bd-wid-posts a:hover { color: var(--sky); }
.bd-wid-posts time { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); font: 700 12.5px var(--body); }
.bd-wid-posts time .bd-i { width: 14px; height: 14px; color: var(--sky); }
.bd-banner { position: relative; z-index: 1; padding: 54px 26px; border-radius: 10px; background: var(--deep); color: #fff; text-align: center; overflow: hidden; }
.bd-banner > .bd-cover { position: absolute; inset: 0; z-index: -2; }
.bd-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 34, 65, .62); }
.bd-banner h2 { color: #fff; font: 800 18px/1.6 var(--head); }
.bd-banner p { margin-top: 6px; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.bd-banner .bd-btn { margin-top: 20px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .15); }
.bd-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.bd-tags a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 4px; background: #F5F6FA; color: var(--ink); font: 500 14px var(--body); text-decoration: none; transition: background .2s, color .2s; }
.bd-tags a:hover { background: var(--sky); border-color: var(--sky); color: #fff; }
.bd-rel { margin-top: 60px; }
.bd-rel .bd-stitle { margin-bottom: 40px; }

/* صفحة القسم + البحث + الفاضي */
.bd-intro { margin-bottom: 34px; }
.bd-intro .bd-prose { font-size: 16px; }
.bd-count-line { margin: 0 0 22px; color: var(--ink); font: 800 18px var(--head); }
.bd-empty-card { padding: 54px 30px; border: 1px dashed var(--line-2); border-radius: 10px; background: #fff; text-align: center; }
.bd-empty-card h2 { color: var(--ink); font: 800 22px/1.5 var(--head); }
.bd-empty-card p { max-width: 620px; margin: 12px auto 0; font-size: 15.5px; }
.bd-empty-card a { color: #2F8FD9; }
.bd-search-box { display: flex; align-items: stretch; margin-bottom: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 8px 22px rgba(58, 87, 135, .07); }
.bd-search-box .bd-hfield:last-of-type { border-inline-end: 0; }
.bd-search-box > button { display: flex; align-items: center; justify-content: center; gap: 12px; flex: none; width: 180px; min-height: 50px; margin-inline-start: 10px; border: 0; border-radius: 6px; background: var(--royal); color: #fff; font: 700 15px var(--head); cursor: pointer; }
.bd-search-box > button .bd-i { width: 17px; height: 17px; color: var(--sky); }
.bd-search-box > button:hover { background: var(--navy); }
.bd-note { margin: 0 0 18px; padding: 14px 18px; border-inline-start: 6px solid var(--sky); border-radius: 4px; background: var(--gray); color: var(--ink); }
.bd-note.is-ok { border-color: var(--green); background: #EFFBF7; }
.bd-note.is-err { border-color: var(--pink); background: #FFF1F6; }

/* مواقيت الصلاة */
.bd-pray { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 26px; align-items: stretch; }
.bd-next { position: relative; z-index: 1; padding: 40px 34px; border-radius: 10px; background: linear-gradient(160deg, var(--royal) 0%, var(--navy) 100%); color: rgba(255, 255, 255, .82); text-align: center; overflow: hidden; }
.bd-next::before { content: ""; position: absolute; top: -70px; inset-inline-end: -70px; z-index: -1; width: 220px; height: 220px; border-radius: 50%; background: rgba(77, 183, 254, .16); animation: bd-wobble 8s ease-out infinite; }
.bd-next-label { display: inline-block; padding: 7px 16px; border-radius: 20px; background: rgba(255, 255, 255, .12); color: #fff; font: 700 14px var(--head); }
.bd-next-name { display: block; margin-top: 18px; color: #fff; font: 900 46px/1.25 var(--head); }
.bd-next-time { display: block; color: var(--sky); font: 800 28px/1.4 var(--head); }
.bd-count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; direction: ltr; }
.bd-count div { padding: 14px 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #fff; }
.bd-count b { display: block; font: 800 28px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.bd-count span { font-size: 13px; color: rgba(255, 255, 255, .8); }
.bd-next-left { display: block; margin-top: 14px; font-size: 15px; }
.bd-next-dates { display: block; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14.5px; line-height: 1.9; }
.bd-box-t { color: var(--ink); font: 800 21px/1.5 var(--head); }
.bd-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; list-style: none; }
.bd-times li { position: relative; padding: 22px 12px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--gray); text-align: center; transition: background .3s, border-color .3s; }
.bd-times li span { display: block; color: var(--ink); font: 800 18px var(--head); }
.bd-times li b { display: block; margin-top: 4px; color: var(--text); font: 700 17px var(--body); }
.bd-times li.is-next { border-color: var(--sky); background: var(--sky); box-shadow: 0 10px 22px rgba(77, 183, 254, .35); }
.bd-times li.is-next span, .bd-times li.is-next b { color: #fff; }
.bd-times li.is-sun span { color: var(--text); }
.bd-method { margin-top: 16px; color: var(--text); font-size: 14px; }
.bd-pray-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 20px; list-style: none; }
.bd-pray-facts li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 6px; background: #ECF6FF; color: var(--prose); font-size: 14.5px; line-height: 1.6; }
.bd-pray-facts .bd-i { width: 22px; height: 22px; margin-top: 2px; color: var(--sky); }
.bd-pray-facts b { display: block; color: var(--ink); font: 800 15px/1.4 var(--head); }
.bd-month-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.bd-month-nav h2 { color: var(--ink); font: 800 21px/1.5 var(--head); }
.bd-month-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 4px; background: var(--royal); color: #fff; font: 700 13.5px var(--head); text-decoration: none; }
.bd-month-nav a:hover { background: var(--sky); }
.bd-month-nav .bd-i { width: 15px; height: 15px; }
.bd-month tr.is-today td { background: #DFF2FF !important; color: var(--ink); font-weight: 700; }
.bd-citylinks h2 { color: var(--ink); font: 800 19px/1.5 var(--head); }
.bd-citylinks ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; list-style: none; }
.bd-citylinks a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 30px; background: var(--gray); color: var(--ink); font: 700 14.5px var(--head); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.bd-citylinks a .bd-i { width: 17px; height: 17px; color: var(--sky); }
.bd-citylinks a:hover { background: var(--sky); border-color: var(--sky); color: #fff; }
.bd-citylinks a:hover .bd-i { color: #fff; }
.bd-citylinks a.is-all { background: var(--royal); border-color: var(--royal); color: #fff; }

/* الطقس */
.bd-wx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 26px; align-items: stretch; }
.bd-wx-card { position: relative; z-index: 1; padding: 40px 34px; border-radius: 10px; background: linear-gradient(160deg, var(--royal) 0%, var(--navy) 100%); color: rgba(255, 255, 255, .82); overflow: hidden; }
.bd-wx-card::before { content: ""; position: absolute; top: -70px; inset-inline-end: -70px; z-index: -1; width: 220px; height: 220px; border-radius: 50%; background: rgba(77, 183, 254, .16); animation: bd-wobble 8s ease-out infinite; }
.bd-wx-now { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.bd-wx-now .bd-i { width: 70px; height: 70px; color: var(--sky); stroke-width: 1.3; }
.bd-wx-temp { display: inline-block; color: #fff; font: 900 62px/1 var(--head); }
.bd-wx-desc { margin-top: 6px; color: #fff; font: 700 17px var(--head); }
.bd-wx-grid, .bd-wx-sun { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; list-style: none; }
.bd-wx-grid { margin-top: 28px; }
.bd-wx-grid div, .bd-wx-sun li { padding: 12px 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); text-align: center; font-size: 13px; }
.bd-wx-sun li { background: none; border: 1px solid rgba(255, 255, 255, .16); }
.bd-wx-grid b, .bd-wx-sun b { display: block; margin-top: 2px; color: #fff; font: 800 17px var(--head); }
.bd-wx-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-top: 22px; list-style: none; }
.bd-wx-days li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--gray); color: var(--ink); text-align: center; font: 800 15.5px/1.4 var(--head); }
.bd-wx-days li small, .bd-wx-days li .rain { color: var(--text); font: 500 13px var(--body); }
.bd-wx-days li .bd-i { width: 34px; height: 34px; color: var(--sky); }
.bd-wx-days li .rng b { color: var(--royal); font-size: 18px; }
.bd-wx-days li .rng span { color: var(--text); font-weight: 500; }
.bd-wx-days li.bd-loading { grid-column: 1 / -1; }
.bd-loading { color: var(--text); font: 500 15px var(--body); }
.bd-wx-temp, .bd-wx-grid b, .bd-wx-days .rng b, .bd-wx-days .rng span { direction: ltr; unicode-bidi: isolate; }

/* مدن القصيم (الجدول) */
.bd-qc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.bd-qc-date { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 14.5px; line-height: 1.7; }
.bd-qc-date .bd-i { width: 32px; height: 32px; color: var(--sky); }
.bd-qc-table th[scope="row"] { position: sticky; inset-inline-start: 0; z-index: 1; background: #ECF6FF; }
.bd-qc-table th[scope="row"] a { color: var(--royal); text-decoration: none; }
.bd-qc-table th[scope="row"] a:hover { color: var(--sky); }
.bd-qc-table td a { color: #2F8FD9; font-weight: 700; }
.bd-qc-table td { white-space: nowrap; }

/* تواصل معنا */
.bd-field { width: 100%; min-height: 50px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--gray); color: var(--ink); font: 500 15px var(--body); appearance: none; transition: border-color .2s, background .2s; }
textarea.bd-field { min-height: 170px; padding: 14px 18px; line-height: 1.8; resize: vertical; }
select.bd-field { padding-inline-end: 40px; background: var(--gray) url("../img/caret.svg") left 16px center / 12px no-repeat; }
.bd-field::placeholder { color: #A3ABBD; }
.bd-field:focus { outline: 0; border-color: var(--sky); background-color: #fff; box-shadow: 0 0 0 3px rgba(77, 183, 254, .2); }
.bd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-top: 24px; }
.bd-form label { display: grid; gap: 8px; color: var(--ink); font: 700 14.5px var(--head); }
.bd-form .bd-full { grid-column: 1 / -1; }
.bd-req { color: var(--pink); }
.bd-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bd-contact-lead { margin-top: 8px; color: var(--text); font-size: 15.5px; }
.bd-info-list { display: grid; gap: 16px; list-style: none; }
.bd-info-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--prose); font-size: 14.5px; line-height: 1.7; }
.bd-info-list i { display: flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #ECF6FF; color: var(--sky); }
.bd-info-list b { display: block; color: var(--ink); font: 800 15px/1.5 var(--head); }
.bd-info-list a { color: #2F8FD9; }

/* تفاصيل تكميلية */
.bd-logo { color: #fff; }
.bd-by svg { color: var(--navy); }
.bd-art-meta svg:not(.bd-i) { color: #fff; }
.bd-car.is-static .bd-car-btn { display: none; }
.bd-hform[hidden] { display: none; }
.bd-phero { --notch: var(--gray-2); }
.bd-phero .bd-par-bg { inset: -30% 0; }
.bd-main > * + * { margin-top: 26px; }
.bd-tool-more { margin-top: 26px; }
.bd-others { margin-top: 70px; }
.bd-others .bd-stitle { margin-bottom: 40px; }
.bd-contact-lead { margin: 0 0 20px; }
.bd-box-pad > .bd-contact-lead:first-child { margin-top: 0; }
.bd-form { margin-top: 0; }
/* النقط النابضة في الفراغين اللي بين أعمدة الفوتر الثلاثة (60px) عشان ماتركبش على نص أو زرار */
.bd-pin--1, .bd-pin--2 { inset-inline-start: calc((100% - 120px) / 3 + 26px); } .bd-pin--3, .bd-pin--4 { inset-inline-start: calc((100% - 120px) * 2 / 3 + 86px); }
.bd-pin--1 { top: 70px; } .bd-pin--2 { top: 318px; } .bd-pin--3 { top: 168px; } .bd-pin--4 { top: 410px; }
.bd-month th, .bd-month td { white-space: nowrap; }
.bd-doodle { transform: scaleX(-1); }

/* ---------- الشاشات الأصغر ---------- */
@media (max-width: 1700px) {
  .bd-hsearch { width: 43px; margin-inline-start: 26px; }
  .bd-hsearch span, .bd-hsearch i { display: none; }
  .bd-nav { margin-inline-start: 18px; }
  .bd-hright { gap: 20px; padding-inline: 26px 30px; }
  .bd-hitem + .bd-hitem { padding-inline-start: 20px; }
}
@media (max-width: 1400px) {
  .bd-head { padding-inline-start: 26px; }
  .bd-hitem--wx { display: none; }
  .bd-hitem + .bd-hitem { padding-inline-start: 0; border: 0; }
  .bd-nav a, .bd-nav button { padding-inline: 9px; font-size: 14px; }
  .bd-grid { gap: 22px 14px; }
  .bd-pcard-body { padding-inline: 20px; }
  .bd-pcard-text { margin-inline: -20px; padding-inline: 20px; }
  .bd-pcard-foot { padding-inline: 20px; }
  .bd-steps { gap: 0 46px; }
}
@media (max-width: 1240px) {
  .bd-nav { display: none; }
  .bd-hsearch { margin-inline-start: auto; }
  .bd-hright { margin-inline-start: 14px; gap: 14px; padding-inline: 18px 20px; background: none; }
  .bd-hitem, .bd-hpin { display: none; }
  .bd-menu-btn { display: flex; }
  .bd-head { padding-inline: 4% 0; }
  .bd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
  .bd-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-car-track > li { flex-basis: calc((100% - 20px) / 2); }
  .bd-cols { grid-template-columns: minmax(0, 1fr); }
  .bd-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .bd-foot-main { grid-template-columns: 1fr 1fr; }
  .bd-pin { display: none; }
  .bd-foot-about { grid-column: 1 / -1; }
  .bd-doodle { display: none; }
}
@media (max-width: 1020px) {
  .bd-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .bd-cities-grid > :last-child:nth-child(3n + 1), .bd-cities-grid > :last-child:nth-child(3n + 2) { grid-column: auto; }
  .bd-cities-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bd-steps { grid-template-columns: 1fr; gap: 58px; max-width: 520px; margin-inline: auto; }
  .bd-steps::before { top: 5%; bottom: 5%; left: 50%; inset-inline: auto; width: 1px; height: auto; }
  .bd-pray, .bd-wx { grid-template-columns: minmax(0, 1fr); }
  .bd-foot-top .bd-wrap { flex-direction: column; align-items: stretch; text-align: center; }
  .bd-foot-search { max-width: none; margin: 0; }
  .bd-nums { grid-template-columns: repeat(2, 1fr); gap: 46px 20px; }
}
@media (max-width: 760px) {
  :root { --head-h: 66px; }
  body { font-size: 15px; }
  .bd-logo svg { width: 32px; height: 32px; }
  .bd-logo b { font-size: 19px; }
  .bd-logo small { font-size: 11px; }
  .bd-add { padding: 0 14px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .1); }
  .bd-add span { display: none; }
  .bd-hright { padding-inline: 10px 4%; }
  .bd-hero { min-height: 0; padding: 60px 0 96px; }
  .bd-hero-title h1 { font-size: 30px; }
  .bd-htabs button { padding-inline: 12px; font-size: 13.5px; }
  .bd-hform, .bd-search-box { flex-direction: column; box-shadow: 0 0 0 6px rgba(255, 255, 255, .3); }
  .bd-search-box { box-shadow: 0 8px 22px rgba(58, 87, 135, .07); }
  .bd-hfield { flex: none; border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 0 12px; }
  .bd-hform > button, .bd-search-box > button { width: 100%; margin: 8px 0 0; }
  .bd-hcats ul { gap: 20px 12px; }
  .bd-hcats li { width: 30%; }
  .bd-hcats a .bd-i { width: 32px; height: 32px; }
  .bd-notch { width: 160px; margin-left: -80px; height: 34px; }
  .bd-sec { padding: 64px 0; }
  .bd-stitle { margin-bottom: 36px; }
  .bd-stitle h2 { font-size: 26px; }
  .bd-ghost { top: -16px; font-size: 44px; }
  .bd-stitle p { font-size: 15px; }
  .bd-car-track > li { flex-basis: 84%; }
  .bd-car-track { gap: 14px; padding-inline: 8%; }
  /* الموبايل: السهمين تحت الكروت في النص (السحب بالإصبع شغال برضه) */
  .bd-car { padding-bottom: 60px; }
  .bd-car-btn { top: auto; bottom: 0; width: 44px; height: 44px; margin-top: 0; padding: 0; justify-content: center; }
  .bd-car-btn--prev { inset-inline-start: calc(50% - 50px); border-radius: 50%; justify-content: center; }
  .bd-car-btn--next { inset-inline-end: calc(50% - 50px); border-radius: 50%; justify-content: center; }
  .bd-lcard .bd-score > div { display: none; }
  .bd-lcard { aspect-ratio: 4 / 3.4; min-height: 0; }
  .bd-lcard::after { background: linear-gradient(to top, rgba(18, 34, 68, .96) 0%, rgba(18, 34, 68, .86) 44%, rgba(18, 34, 68, .5) 66%, rgba(18, 34, 68, 0) 90%); }
  .bd-lcard-top { top: 18px; inset-inline: 18px; }
  .bd-lcard-body { padding: 0 18px 14px; }
  .bd-lcard h3 { font-size: 17px; }
  .bd-by { display: none; }
  .bd-cities-grid, .bd-grid, .bd-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .bd-cities-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .bd-city { height: 240px; }
  .bd-filters { display: flex; }
  .bd-filters button { flex: 1 1 50%; padding: 14px 10px; border-top: 1px solid var(--line); }
  .bd-filters button:nth-child(-n + 2) { border-top: 0; }
  .bd-filters button:nth-child(odd) { border-inline-start: 0; }
  .bd-par { padding: 76px 0; }
  .bd-promo { padding: 84px 0; }
  .bd-num b { font-size: 38px; }
  .bd-clock div { min-width: 70px; }
  .bd-steps-sec { padding-bottom: 150px; }
  .bd-foot-main { grid-template-columns: 1fr; gap: 46px; padding-block: 46px 80px; }
  .bd-foot-news .bd-cover { width: 110px; height: 78px; }
  .bd-foot-bottom .bd-wrap { justify-content: center; text-align: center; }
  .bd-top { bottom: 22px; inset-inline-end: 18px; width: 44px; height: 44px; }
  .bd-phero { padding: 60px 0 78px; }
  .bd-page { padding: 24px 0 64px; }
  .bd-phero + .bd-page { padding-top: 40px; }
  .bd-side { grid-template-columns: minmax(0, 1fr); }
  .bd-box-pad, .bd-art-body { padding: 22px 18px 26px; }
  .bd-art-head { padding: 22px 18px 0; }
  .bd-box-h, .bd-wid-h { padding: 16px 18px; }
  .bd-wid-b { padding: 20px 18px; }
  .bd-prose { font-size: 16px; }
  .bd-prose h2 { font-size: 21px; }
  .bd-times { grid-template-columns: repeat(2, 1fr); }
  .bd-next, .bd-wx-card { padding: 32px 22px; }
  .bd-form { grid-template-columns: 1fr; }
  .bd-month-nav h2 { order: -1; width: 100%; font-size: 19px; }
  .bd-table table { font-size: 14px; }
  .bd-table th, .bd-table td { padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bd-bubble { display: none; }
}
@media print {
  .bd-head, .bd-foot, .bd-top, .bd-side, .bd-drawer, .bd-searchbar, .bd-phero-bg, .bd-share { display: none !important; }
  body { padding: 0; }
  .bd-page { background: #fff; }
}
