/*
Theme Name:   BWD Child Theme
Description:  الثيم الرسمي لجمعية سيدات الأعمال للتنمية
Author:       BWD
Template:     kadence
Version:      1.1.0
Text Domain:  bwd-child
*/

/* BWD Variables */
:root {
    --bwd-navy:       #1a2c5b;
    --bwd-navy-dark:  #0f1d3d;
    --bwd-navy-mid:   #253a6e;
    --bwd-red:        #c0392b;
    --bwd-red-h:      #a93226;
    --bwd-white:      #ffffff;
    --bwd-gray-bg:    #f5f6fa;
    --bwd-gray-line:  #e8eaf0;
    --bwd-gray-txt:   #6b7280;
    --bwd-text:       #1e2a3a;
    --bwd-font:       'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    --bwd-r:          10px;
    --bwd-r-lg:       18px;
    --bwd-shadow:     0 4px 24px rgba(26,44,91,.10);
    --bwd-shadow-lg:  0 8px 40px rgba(26,44,91,.16);
    --bwd-tr:         .25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--bwd-font) !important;
    color: var(--bwd-text);
    background: var(--bwd-white);
    direction: rtl;
    margin: 0;
}

/* Hide Kadence header/footer */
.site-header, .site-footer, #masthead, #colophon { display: none !important; }
.content-area, #primary, .site-content, body.home { padding-top: 0 !important; margin-top: 0 !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bwd-navy); text-decoration: none; transition: color var(--bwd-tr); }
a:hover { color: var(--bwd-red); }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4,h5,h6 { font-family: var(--bwd-font) !important; font-weight: 800; line-height: 1.25; color: var(--bwd-navy); margin: 0 0 .75rem; }
h1 { font-size: clamp(1.9rem,4.5vw,3rem); }
h2 { font-size: clamp(1.5rem,3vw,2.1rem); }
h3 { font-size: clamp(1.15rem,2vw,1.45rem); }
h4 { font-size: 1.05rem; }
p { line-height: 1.8; color: #3a4a6b; margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

/* Layout */
.bwd-wrap   { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.bwd-sec    { padding: 80px 0; }
.bwd-sec-sm { padding: 52px 0; }
.bwd-bg-gray { background: var(--bwd-gray-bg); }
.bwd-tc { text-align: center; }

/* Buttons */
.bwd-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border-radius: var(--bwd-r);
    font-family: var(--bwd-font); font-size: .97rem; font-weight: 700;
    cursor: pointer; border: 2px solid transparent;
    transition: all var(--bwd-tr); line-height: 1; text-decoration: none !important;
}
.bwd-btn-primary { background: var(--bwd-red); color: #fff !important; border-color: var(--bwd-red); }
.bwd-btn-primary:hover { background: var(--bwd-red-h); border-color: var(--bwd-red-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.35); color: #fff !important; }
.bwd-btn-navy { background: var(--bwd-navy); color: #fff !important; border-color: var(--bwd-navy); }
.bwd-btn-navy:hover { background: var(--bwd-navy-dark); border-color: var(--bwd-navy-dark); transform: translateY(-2px); color: #fff !important; }
.bwd-btn-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }
.bwd-btn-outline:hover { background: #fff; color: var(--bwd-navy) !important; border-color: #fff; }

/* Section Header */
.bwd-sh { text-align: center; margin-bottom: 52px; }
.bwd-sh-tag {
    display: inline-block; background: rgba(192,57,43,.08); color: var(--bwd-red);
    font-size: .75rem; font-weight: 700; letter-spacing: 1.5px;
    padding: 5px 16px; border-radius: 100px; border: 1px solid rgba(192,57,43,.18);
    margin-bottom: 12px; text-transform: uppercase;
}
.bwd-sh h2 { margin-bottom: 12px; }
.bwd-sh h2 span { color: var(--bwd-red); }
.bwd-sh p { color: var(--bwd-gray-txt); max-width: 580px; margin: 0 auto; }

/* ── HEADER ── */
#bwd-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 9999;
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: box-shadow var(--bwd-tr);
}
#bwd-header.bwd-scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.28); }
.bwd-hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.bwd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; flex-shrink: 0; }
.bwd-logo img, .bwd-logo .custom-logo { height: 75px !important; width: 200px !important; object-fit: contain; display: block; }
.bwd-logo-txt { display: flex; flex-direction: column; line-height: 1.2; }
.bwd-logo-txt .en { font-size: .62rem; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.45); text-transform: uppercase; }
.bwd-logo-txt .ar { font-size: .86rem; font-weight: 800; color: #fff; }

.bwd-nav { display: flex; align-items: center; gap: 4px; }
.bwd-nav a { color: rgba(15,29,61,.97); font-size: .88rem; font-weight: 600; padding: 7px 13px; border-radius: 8px; transition: all var(--bwd-tr); white-space: nowrap; text-decoration: none !important; }
.bwd-nav a:hover, .bwd-nav a.bwd-active { color: #c0392b; background: rgba(255,255,255,.1); }
.bwd-nav a.bwd-cta { background: var(--bwd-red); color: #fff !important; padding: 7px 18px; margin-right: 6px; }
.bwd-nav a.bwd-cta:hover { background: var(--bwd-red-h); }

.bwd-ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: rgba(15,29,61,.97); border: none; padding: 8px; }
.bwd-ham span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.bwd-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bwd-ham.open span:nth-child(2) { opacity: 0; }
.bwd-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bwd-mob { display: none; width: 100%; background: var(--bwd-white); border-top: 1px solid var(--bwd-gray-line); }
.bwd-mob.open { display: block; }
.bwd-mob a { color: var(--bwd-text); font-size: .95rem; font-weight: 600; display: block; padding: 12px 20px; border-bottom: 1px solid var(--bwd-gray-line); text-decoration: none !important; transition: all var(--bwd-tr); }
.bwd-mob a:last-child { border-bottom: none; }
.bwd-mob a:hover { color: var(--bwd-red); background: var(--bwd-gray-bg); }

.bwd-push { height: 70px; }

/* ── PAGE HERO ── */
.bwd-page-hero {
    background: linear-gradient(135deg, var(--bwd-navy-dark) 0%, var(--bwd-navy) 100%);
    padding: 64px 0 52px; text-align: center; position: relative; overflow: hidden;
}
.bwd-page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size: 50px 50px;
}
.bwd-page-hero-in { position: relative; z-index: 2; }
.bwd-page-hero h1 { color: #fff; margin-bottom: 10px; }
.bwd-page-hero p  { color: rgba(255,255,255,.62); font-size: 1.02rem; margin-bottom: 16px; }
.bwd-breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.45); }
.bwd-breadcrumb a { color: rgba(255,255,255,.65); }
.bwd-breadcrumb a:hover { color: #fff; }

/* ── HERO HOME ── */
.bwd-hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(135deg, var(--bwd-navy-dark) 0%, var(--bwd-navy) 60%, var(--bwd-navy-mid) 100%);
    position: relative; overflow: hidden; padding: 70px 0 0;
}
.bwd-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
    background-size: 54px 54px;
}
.bwd-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; z-index: 2; padding-bottom: 100px; }
.bwd-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 700; padding: 6px 16px; border-radius: 100px; margin-bottom: 22px; }
.bwd-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.bwd-hero h1 { color: #fff; font-size: clamp(2.1rem,4vw,3.3rem); line-height: 1.15; margin-bottom: 18px; }
.bwd-hero h1 span { color: #f87171; }
.bwd-hero-sub { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.8; margin-bottom: 34px; }
.bwd-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bwd-hero-visual { display: flex; justify-content: center; align-items: center; }
.bwd-hero-ring { width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.bwd-hero-ring img, .bwd-hero-ring .custom-logo { width: 170px; height: 170px; object-fit: contain; }
.bwd-hero-ring-ph { color: rgba(255,255,255,.35); font-size: .85rem; text-align: center; padding: 20px; line-height: 1.7; }
.bwd-hero-stats { background: rgba(255,255,255,.07); border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 2; }
.bwd-hero-stats-row { display: flex; }
.bwd-hero-stat { flex: 1; padding: 20px 16px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.bwd-hero-stat:last-child { border-left: none; }
.bwd-stat-num { display: block; font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 4px; }
.bwd-stat-lbl { font-size: .76rem; color: rgba(255,255,255,.52); font-weight: 600; }


/* ── CARDS ── */
.bwd-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.bwd-card { background: #fff; border-radius: var(--bwd-r-lg); overflow: hidden; border: 1px solid var(--bwd-gray-line); transition: transform var(--bwd-tr), box-shadow var(--bwd-tr); display: flex; flex-direction: column; height: 100%; }
.bwd-card:hover { transform: translateY(-6px); box-shadow: var(--bwd-shadow-lg); }
.bwd-card-thumb { width: 100%; height: 210px; object-fit: cover; display: block; }
.bwd-card-thumb-ph { width: 100%; height: 210px; background: var(--bwd-gray-bg); display: flex; align-items: center; justify-content: center; color: var(--bwd-gray-txt); font-size: .82rem; }
.bwd-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.bwd-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.bwd-card-cat { background: rgba(192,57,43,.08); color: var(--bwd-red); font-size: .72rem; font-weight: 700; padding: 3px 11px; border-radius: 100px; }
.bwd-card-cat.evt { background: rgba(26,44,91,.08); color: var(--bwd-navy); }
.bwd-card-date { font-size: .78rem; color: var(--bwd-gray-txt); }
.bwd-card-title { font-size: 1.05rem; color: var(--bwd-navy); margin-bottom: 8px; line-height: 1.45; }
.bwd-card-title a { color: inherit; }
.bwd-card-title a:hover { color: var(--bwd-red); }
.bwd-card-exc { font-size: .88rem; color: var(--bwd-gray-txt); line-height: 1.7; margin-bottom: 20px; flex-grow: 1; }
.bwd-card-link { font-size: .87rem; font-weight: 700; color: var(--bwd-red); display: inline-flex; align-items: center; gap: 5px; margin-top: auto; align-self: flex-start; }
.bwd-card-link:hover { color: var(--bwd-red-h); gap: 9px; }
.bwd-card-exc:empty {
    display: none;
}

/* ── GALLERY ── */
.bwd-gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.bwd-gallery-grid .bwd-gi:first-child { grid-column: span 2; grid-row: span 2; }
.bwd-gi { position: relative; border-radius: var(--bwd-r); overflow: hidden; background: var(--bwd-gray-line); cursor: pointer; aspect-ratio: 1/1; }
.bwd-gi:first-child { aspect-ratio: unset; }
.bwd-gi img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
.bwd-gi:hover img { transform: scale(1.07); }
.bwd-gi-overlay { position: absolute; inset: 0; background: rgba(15,29,61,.55); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--bwd-tr); }
.bwd-gi:hover .bwd-gi-overlay { opacity: 1; }
.bwd-gi-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,rgba(10,20,48,.75)); color: #fff; font-size: .8rem; font-weight: 600; padding: 24px 12px 10px; opacity: 0; transition: opacity var(--bwd-tr); }
.bwd-gi:hover .bwd-gi-caption { opacity: 1; }

/* Lightbox */
.bwd-lb { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 99999; align-items: center; justify-content: center; }
.bwd-lb.open { display: flex; }
.bwd-lb-img { max-width: 90vw; max-height: 86vh; border-radius: var(--bwd-r); object-fit: contain; }
.bwd-lb-close { position: absolute; top: 18px; left: 18px; background: rgba(255,255,255,.15); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--bwd-tr); }
.bwd-lb-close:hover { background: rgba(255,255,255,.28); }
.bwd-lb-cap { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; font-size: .9rem; font-weight: 600; padding: 8px 20px; border-radius: 100px; white-space: nowrap; }
.bwd-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--bwd-tr); }
.bwd-lb-nav:hover { background: rgba(255,255,255,.28); }
.bwd-lb-prev { right: 18px; }
.bwd-lb-next { left: 18px; }

/* ── SINGLE POST/EVENT ── */
.bwd-single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.bwd-single-main { background: #fff; border-radius: var(--bwd-r-lg); overflow: hidden; border: 1px solid var(--bwd-gray-line); }
.bwd-single-cover { width: 100%; height: 400px; object-fit: cover; display: block; }
.bwd-single-body { padding: 36px; }
.bwd-single-body h1 { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 20px; }
.bwd-entry { font-size: 1rem; line-height: 1.9; color: #374151; }
.bwd-entry h2 { font-size: 1.4rem; margin: 1.8rem 0 .8rem; }
.bwd-entry h3 { font-size: 1.15rem; margin: 1.4rem 0 .6rem; }
.bwd-entry p  { margin-bottom: 1.1rem; }
.bwd-entry ul { list-style: disc; padding-right: 1.4rem; margin-bottom: 1.1rem; }
.bwd-entry ol { list-style: decimal; padding-right: 1.4rem; margin-bottom: 1.1rem; }
.bwd-entry li { margin-bottom: 5px; }
.bwd-entry blockquote { border-right: 4px solid var(--bwd-red); background: var(--bwd-gray-bg); padding: 18px 22px; border-radius: 0 var(--bwd-r) var(--bwd-r) 0; margin: 1.4rem 0; font-style: italic; color: var(--bwd-navy); }
.bwd-entry img { border-radius: var(--bwd-r); margin: 1.4rem auto; }
.bwd-entry a { color: var(--bwd-red); }
.bwd-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 86px; }
.bwd-widget { background: #fff; border: 1px solid var(--bwd-gray-line); border-radius: var(--bwd-r-lg); padding: 24px; }
.bwd-widget-title { font-size: .97rem; font-weight: 800; color: var(--bwd-navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bwd-gray-line); position: relative; }
.bwd-widget-title::after { content: ''; position: absolute; bottom: -2px; right: 0; width: 32px; height: 2px; background: var(--bwd-red); border-radius: 2px; }
.bwd-post-nav { display: flex; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--bwd-gray-line); flex-wrap: wrap; }
.bwd-post-nav a { flex: 1; padding: 14px 18px; background: var(--bwd-gray-bg); border-radius: var(--bwd-r); min-width: 180px; display: block; text-decoration: none !important; }
.bwd-post-nav a:hover { background: var(--bwd-gray-line); }
.bwd-post-nav .lbl { display: block; font-size: .72rem; color: var(--bwd-gray-txt); margin-bottom: 4px; }
.bwd-post-nav .ttl { font-size: .9rem; font-weight: 700; color: var(--bwd-navy); line-height: 1.4; }
.bwd-post-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--bwd-gray-line); }
.bwd-post-tags .lbl { font-size: .82rem; font-weight: 700; color: var(--bwd-navy); }
.bwd-tag-pill { background: var(--bwd-gray-bg); color: var(--bwd-navy); padding: 3px 13px; border-radius: 100px; font-size: .8rem; font-weight: 600; }

/* ── ABOUT ── */
.bwd-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bwd-about-img-wrap { border-radius: var(--bwd-r-lg); overflow: hidden; box-shadow: var(--bwd-shadow-lg); width: 100%; height: 100%; }
.bwd-about-img-wrap img { width: 100%; height: 600px; object-fit: cover; object-position: top; display: block; }
.bwd-about-img-ph { width: 100%; height: 480px; background: var(--bwd-gray-bg); border-radius: var(--bwd-r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--bwd-gray-txt); font-size: .88rem; text-align: center; padding: 20px; line-height: 1.7; border: 2px dashed var(--bwd-gray-line); gap: 10px; }
.bwd-pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.bwd-pillar { background: #fff; border: 1px solid var(--bwd-gray-line); border-radius: var(--bwd-r-lg); border-top: 3px solid var(--bwd-red); padding: 26px 22px; transition: all var(--bwd-tr); }
.bwd-pillar:hover { transform: translateY(-4px); box-shadow: var(--bwd-shadow); }
.bwd-pillar-ico { width: 50px; height: 50px; background: rgba(26,44,91,.07); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.4rem; }
.bwd-pillar h4 { color: var(--bwd-navy); margin-bottom: 8px; }
.bwd-pillar p  { font-size: .86rem; color: var(--bwd-gray-txt); }
.bwd-role-item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; background: #fff; border-radius: var(--bwd-r); border: 1px solid var(--bwd-gray-line); margin-bottom: 8px; font-size: .88rem; }
.bwd-role-yr { color: var(--bwd-red); font-weight: 800; font-size: .8rem; min-width: 34px; padding-top: 2px; }

.bwd-about-container { display: flex !important; align-items: stretch !important; gap: 40px; }
.bwd-about-img-column { flex: 0 0 40%; display: flex; }
.bwd-about-img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: top center !important; display: block; }
.bwd-about-content-column { flex: 1; padding: 10px 0; }
.bwd-about-text-area { font-size: 1rem; line-height: 1.85; color: #3a4a6b; text-align: right; }

.bwd-roles-section { margin-top: 60px; padding: 40px; background: var(--bwd-gray-bg); border-radius: var(--bwd-r-lg); text-align: center; }
.bwd-roles-header { margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.bwd-roles-title { color: var(--bwd-navy); font-size: 1.5rem !important; font-weight: 800; margin-bottom: 10px; }
.bwd-title-line { width: 60px; height: 4px; background: var(--bwd-red); border-radius: 2px; }
.bwd-roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.bwd-role-card { display: flex; align-items: center; gap: 15px; padding: 20px; background: #fff; border-radius: 12px; border: 1px solid var(--bwd-gray-line); transition: all 0.3s ease; text-align: right; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.bwd-role-card:hover { transform: translateY(-5px); box-shadow: var(--bwd-shadow); border-color: var(--bwd-red); }
.bwd-role-badge { background: var(--bwd-red); color: #fff; font-weight: 800; font-size: 0.85rem; padding: 8px 12px; border-radius: 8px; min-width: 65px; text-align: center; box-shadow: 0 4px 10px rgba(192, 57, 43, 0.2); }
.bwd-role-text { color: var(--bwd-navy); font-size: 0.95rem; font-weight: 600; line-height: 1.5; }

.bwd-about-content-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.bwd-about-vision-mission { display: flex; flex-direction: column; gap: 16px; }
.bwd-card-navy, .bwd-card-red { border-radius: var(--bwd-r-lg); padding: 28px; }
.bwd-card-navy { background: var(--bwd-navy); }
.bwd-card-red { background: var(--bwd-red); }
.bwd-card-label { font-size: .7rem; letter-spacing: 2px; color: rgba(255,255,255,.45); margin-bottom: 6px; font-weight: 700; }
.bwd-card-navy p, .bwd-card-red p { color: #fff; font-size: .95rem; line-height: 1.75; margin: 0; }

/* ── CONTACT ── */
.bwd-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.bwd-contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.bwd-contact-icon { width: 44px; height: 44px; background: rgba(26,44,91,.07); border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--bwd-navy); }
.bwd-ci-text strong { display: block; font-size: .87rem; color: var(--bwd-navy); margin-bottom: 2px; }
.bwd-ci-text span { font-size: .87rem; color: var(--bwd-gray-txt); }
.bwd-form { display: flex; flex-direction: column; gap: 16px; }
.bwd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bwd-fg { display: flex; flex-direction: column; gap: 5px; }
.bwd-fg label { font-size: .85rem; font-weight: 700; color: var(--bwd-navy); }
.bwd-fg input, .bwd-fg textarea, .bwd-fg select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--bwd-gray-line); border-radius: var(--bwd-r); font-family: var(--bwd-font); font-size: .93rem; color: var(--bwd-text); background: #fff; direction: rtl; outline: none; transition: border-color var(--bwd-tr), box-shadow var(--bwd-tr); }
.bwd-fg input:focus, .bwd-fg textarea:focus { border-color: var(--bwd-navy); box-shadow: 0 0 0 3px rgba(26,44,91,.08); }
.bwd-fg textarea { resize: vertical; min-height: 130px; }

/* ── PAGINATION ── */
.bwd-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 56px; flex-wrap: wrap; }
.bwd-pagination .page-numbers, .bwd-pagination a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-weight: 700; font-size: .92rem; border: 1.5px solid var(--bwd-gray-line); color: var(--bwd-navy); transition: all var(--bwd-tr); padding: 0 10px; text-decoration: none !important; }
.bwd-pagination .page-numbers:hover, .bwd-pagination .current { background: var(--bwd-navy); border-color: var(--bwd-navy); color: #fff; }

/* ── FOOTER ── */
#bwd-footer { 
    background: var(--bwd-navy-dark); 
    color: rgba(255,255,255,.6); 
    padding: 60px 0 0; 
}
.bwd-footer-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr 1.2fr; 
    gap: 50px; 
    padding-bottom: 44px; 
    border-bottom: 1px solid rgba(255,255,255,.1); 
}
.bwd-footer-brand p { 
    font-size: .92rem; 
    line-height: 1.8; 
    color: rgba(255,255,255,.5); 
    margin-top: 20px; 
    max-width: 320px; 
}
.bwd-footer-col h4 { 
    color: #fff; 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin-bottom: 22px; 
    padding-bottom: 11px; 
    position: relative; 
    border-bottom: 1px solid rgba(255,255,255,.08); 
}
.bwd-footer-col ul { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.bwd-footer-col ul li a { 
    color: rgba(255,255,255,.6); 
    font-size: .95rem; 
    transition: all var(--bwd-tr); 
    display: block;
    line-height: 1.4;
}
.bwd-footer-col ul li a:hover { 
    color: #fff; 
    padding-right: 6px; 
}
.bwd-footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 25px 0; 
    font-size: .85rem; 
    color: rgba(255,255,255,.38); 
    flex-wrap: wrap; 
    gap: 10px; 
}


/* ── LANGUAGE SWITCHER ── */
.bwd-lang-desktop { margin: 0 15px; display: flex; align-items: center; }
.bwd-lang-mob { padding: 12px 20px; border-bottom: 1px solid var(--bwd-gray-line); background: var(--bwd-white); }

/* ── LTR — الإنجليزية ── */
html[lang^="en"] { direction: ltr !important; }
html[lang^="en"] body { direction: ltr !important; }
html[lang^="en"] .bwd-hdr-inner { flex-direction: row !important; }
html[lang^="en"] .bwd-lang-desktop { margin-right: 0 !important; margin-left: 15px !important; }
html[lang^="en"] .bwd-footer-grid,
html[lang^="en"] .bwd-footer-grid h4,
html[lang^="en"] .bwd-footer-grid p,
html[lang^="en"] .bwd-footer-bottom { text-align: left; }
html[lang^="en"] .wp-block-kadence-column { text-align: left; }

/* ── HERO V2 (الصفحة الرئيسية) ── */
.bwd-hero-v2 { min-height: 100vh; display: flex; flex-direction: column; align-items: stretch; position: relative; overflow: hidden; }
.bwd-hero-v2-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,20,50,.72) 0%, rgba(10,20,50,.60) 60%, rgba(10,20,50,.80) 100%); z-index: 1; }
.bwd-hero-v2-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 140px; position: relative; z-index: 2; }
.bwd-hero-v2-logo { margin-bottom: 28px; }
.bwd-hero-v2-logo-img { height: 90px; width: auto; object-fit: contain; }
.bwd-hero-v2-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 700; letter-spacing: .5px; padding: 7px 20px; border-radius: 100px; margin-bottom: 28px; backdrop-filter: blur(8px); }
.bwd-hero-v2-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0; animation: bwdPulse 2s infinite; }
@keyframes bwdPulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(1.5);} }
.bwd-hero-v2-title { font-size: clamp(2rem,5vw,3.8rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.4); letter-spacing: -.5px; }
.bwd-hero-v2-line { width: 64px; height: 3px; background: var(--bwd-red); border-radius: 2px; margin: 0 auto 22px; }
.bwd-hero-v2-sub { font-size: clamp(.95rem,1.8vw,1.15rem); color: rgba(255,255,255,.78); max-width: 600px; line-height: 1.8; margin-bottom: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.bwd-hero-v2-slogan { font-size: clamp(1rem,2vw,1.3rem); font-weight: 800; color: rgba(255,255,255,.55); margin-bottom: 36px; font-style: italic; letter-spacing: .5px; }
.bwd-hero-v2-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.bwd-hero-v2-scroll { color: rgba(255,255,255,.35); animation: bwdBounce 2s infinite; }
@keyframes bwdBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }
.bwd-hero-v2-stats { position: relative; z-index: 2; background: rgba(10,20,50,.65); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.bwd-hero-v2-stats-row { display: flex; align-items: stretch; }
.bwd-hero-v2-stat { flex: 1; padding: 22px 16px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); transition: background .25s; }
.bwd-hero-v2-stat:last-child { border-left: none; }
.bwd-hero-v2-stat:hover { background: rgba(255,255,255,.05); }
.bwd-hero-v2-num { display: block; font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 5px; }
.bwd-hero-v2-lbl { font-size: .75rem; color: rgba(255,255,255,.5); font-weight: 600; }

/* ── ACTIVITIES GRID ── */
.bwd-detailed-activities { padding: 80px 0; }
.bwd-activity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin-top: 50px; }
.bwd-activity-card { background: #fff; border: 1px solid #eee; padding: 30px; border-radius: 15px; box-shadow: 0 8px 25px rgba(0,0,0,.02); transition: all .4s ease; display: flex; flex-direction: column; }
.bwd-activity-card:hover { transform: translateY(-8px); border-color: var(--bwd-red); box-shadow: var(--bwd-shadow); }
.card-icon { font-size: 2.2rem; margin-bottom: 15px; }
.bwd-activity-card h3 { color: var(--bwd-navy); font-size: 1.15rem; font-weight: 800; margin-bottom: 15px; line-height: 1.4; min-height: 3.2rem; }
.bwd-activity-card ul { list-style: none; padding: 0; margin-top: auto; }
.bwd-activity-card ul li { font-size: .88rem; color: #555; line-height: 1.6; margin-bottom: 10px; padding-right: 18px; position: relative; }
.bwd-activity-card ul li::before { content: "•"; color: var(--bwd-red); position: absolute; right: 0; font-weight: bold; }

/* ==================================================== */
/* ── RESPONSIVE (الميديا كويري مجمعة هنا بشكل نظيف) ── */
/* ==================================================== */

/* 1024px (التابلت العرضي والشاشات المتوسطة) */
@media (max-width: 1024px) {
    .bwd-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .bwd-hero-visual { order: -1; }
    .bwd-hero-btns { justify-content: center; }
    .bwd-hero-ring { width: 220px; height: 220px; }
    .bwd-hero-ring img { width: 130px; height: 130px; }
    .bwd-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .bwd-cards-grid { grid-template-columns: repeat(2,1fr); }
    .bwd-gallery-grid { grid-template-columns: repeat(3,1fr); }
    .bwd-gallery-grid .bwd-gi:first-child { grid-column: span 2; }
    .bwd-about-grid { grid-template-columns: 1fr; }
    .bwd-pillars-grid { grid-template-columns: repeat(2,1fr); }
    .bwd-single-layout { grid-template-columns: 1fr; }
    .bwd-sidebar { position: static; }
    .bwd-contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .bwd-activity-grid { grid-template-columns: repeat(2,1fr); }
}

/* 991px (التابلت) */
@media (max-width: 991px) {
    .bwd-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 769px+ — إخفاء عناصر الموبايل في الشاشات الكبيرة */
@media (min-width: 769px) {
    .bwd-lang-mob { display: none !important; }
}

/* 768px (الموبايل والتابلت الصغير) */
@media (max-width: 768px) {
    .bwd-sec { padding: 56px 0; }
    .bwd-nav { display: none; }
    .bwd-ham { display: flex; }
    .bwd-lang-desktop { display: none !important; }
    .bwd-cards-grid { grid-template-columns: 1fr; }
    .bwd-gallery-grid { grid-template-columns: repeat(2,1fr); }
    .bwd-gallery-grid .bwd-gi:first-child { grid-column: 1; grid-row: 1; }
    .bwd-form-row { grid-template-columns: 1fr; }
    .bwd-pillars-grid { grid-template-columns: 1fr; }
    .bwd-hero-stats-row { flex-wrap: wrap; }
    .bwd-hero-stat { flex: 1 1 50%; }
    .bwd-about-img-wrap img, .bwd-about-img-ph { height: 320px; }
    
    /* تعديلات About المجمعة */
    .bwd-about-container { flex-direction: column; }
    .bwd-about-img-column { height: 400px; }
    .bwd-about-content-wrapper { display: block !important; }
    .bwd-about-main-text { margin-bottom: 30px; text-align: right; }
    .bwd-card-navy, .bwd-card-red { width: 100%; margin-bottom: 16px; }
    
    /* تعديلات Footer المجمعة */
    .bwd-footer-grid { grid-template-columns: 1fr; gap: 35px; text-align: center; }
    .bwd-footer-col h4::after { right: 50%; transform: translateX(50%); }
    .bwd-footer-brand p { margin-left: auto; margin-right: auto; }

    /* Hero V2 */
    .bwd-hero-v2-content { padding: 100px 20px 120px; }
    .bwd-hero-v2-stats-row { flex-wrap: wrap; }
    .bwd-hero-v2-stat { flex: 1 1 50%; }
    .bwd-hero-v2-logo-img { height: 70px; }

    /* Activities */
    .bwd-activity-grid { grid-template-columns: 1fr; }
}

/* 600px (الموبايل) */
@media (max-width: 600px) {
    .bwd-roles-grid { grid-template-columns: 1fr; }
    .bwd-roles-section { padding: 20px; }
}

/* 480px (الشاشات الصغيرة جداً) */
@media (max-width: 480px) {
    .bwd-hero-ring { width: 180px; height: 180px; }
    .bwd-hero-ring img { width: 110px; height: 110px; }
    .bwd-btn { width: 100%; justify-content: center; }
    .bwd-gallery-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
}