/*
 * Nagham23 Style v0.1.0 — طبقة تصميم فوق ثيم btourq (Breeko)
 * CSS فقط: لا يغيّر HTML ولا الروابط ولا المحتوى.
 */

:root {
--n23-ink: #1d1d1f;
--n23-text: #424245;
--n23-mute: #6e6e73;
--n23-blue: #4fb0e3;
--n23-blue-deep: #1a78a5;
--n23-blue-soft: #e8f4fb;
--n23-bg: #f5f5f7;
--n23-line: rgba(0, 0, 0, .08);
--n23-r: 18px;
--n23-r-lg: 24px;
--n23-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .07);
}

body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
color: var(--n23-text);
background: #fff;
}
a { -webkit-tap-highlight-color: transparent; }

body #rr-header-area {
background: rgba(255, 255, 255, .86);
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
border-bottom: 0;
}
body .barfii__middle-header-wrap {
border: 0 !important;
padding-top: 10px;
padding-bottom: 10px;
}
body .barfii__main-menu-wrap {
border-top: 0 !important;
border-bottom: 1px solid var(--n23-line) !important;
box-shadow: none !important;
background: transparent !important;
}
body .barfii__main-logo img,
body .darklogo img { max-height: 44px; width: auto; }
body .barfii__main-menu a { font-weight: 700; color: var(--n23-ink); }
body .barfii__main-menu a:hover { color: var(--n23-blue-deep); }

body .barfii__social-link a {
border: 1px solid var(--n23-line) !important;
color: var(--n23-ink) !important;
background: transparent !important;
transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body .barfii__social-link a:hover {
background: var(--n23-blue-deep) !important;
border-color: var(--n23-blue-deep) !important;
color: #fff !important;
}

body .barfii__post-overlay-two {
position: relative;
border-radius: var(--n23-r-lg);
overflow: hidden;
isolation: isolate;
box-shadow: var(--n23-shadow);
}
body .barfii__img_h { border-radius: var(--n23-r); overflow: hidden; }
body .barfii__post-overlay-two .barfii__img_h { border-radius: 0; }

body .barfii-cate-badge {
background: var(--n23-blue-soft) !important;
color: var(--n23-blue-deep) !important;
border: 0 !important;
border-radius: 999px !important;
padding: 6px 13px !important;
font-size: 12px;
font-weight: 700;
line-height: 1.4;
box-shadow: none !important;
text-shadow: none !important;
}
body .barfii-cate-badge span { color: inherit !important; }
body .barfii__post-overlay-two .barfii-cate-badge {
background: rgba(255, 255, 255, .24) !important;
color: #fff !important;
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
}

body .barfii__post_title { color: var(--n23-ink); font-weight: 800; line-height: 1.5; }
body .barfii__post_title a { color: inherit; }
body .barfii__post-overlay-two .barfii__post_title,
body .barfii__post-overlay-two .barfii__post_title a {
color: #fff;
text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
body .barfii__post-meta { color: var(--n23-mute); font-size: 13px; }
body .barfii__post-meta,
body .barfii__post-meta a,
body .barfii__post-meta strong { text-transform: none !important; }
body .barfii__post-meta .auth_by { display: none; }
body .barfii__post-overlay-two .barfii__post-meta { color: rgba(255, 255, 255, .85); }

body .barfii__section-title h1,
body .barfii__section-title h2 {
font-weight: 800;
color: var(--n23-ink);
font-size: clamp(24px, 6.4vw, 34px);
line-height: 1.25;
}

body .nav-pills .nav-link {
background: rgba(0, 0, 0, .05) !important;
color: var(--n23-ink) !important;
border: 0 !important;
border-radius: 999px !important;
padding: 7px 16px !important;
font-weight: 700;
font-size: 13px;
box-shadow: none !important;
}
body .nav-pills .nav-link.active {
background: linear-gradient(135deg, #2f93c9, var(--n23-blue-deep)) !important;
color: #fff !important;
}

body .back-top-btn {
width: 44px;
height: 44px;
border-radius: 50%;
background: rgba(29, 29, 31, .84) !important;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
box-shadow: var(--n23-shadow);
}

body .entry-header .entry-title {
font-weight: 800;
line-height: 1.45;
color: var(--n23-ink);
font-size: clamp(25px, 6.8vw, 40px);
}
body .entry-content { font-size: 17px; line-height: 2; color: var(--n23-text); }
body .entry-content p { margin-bottom: 1.15em; }
body .entry-content h2,
body .entry-content h3,
body .entry-content h4 {
font-weight: 800;
color: var(--n23-ink);
line-height: 1.45;
margin-top: 1.7em;
margin-bottom: .6em;
}
body .entry-content a {
color: var(--n23-blue-deep);
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 4px;
}
body .entry-content img { border-radius: var(--n23-r); }
body .entry-content blockquote {
margin: 1.6em 0;
padding: 16px 20px;
background: var(--n23-bg);
border: 0;
border-inline-start: 3px solid var(--n23-blue);
border-radius: 14px;
color: var(--n23-ink);
}
body .breadcrumb,
body .breadcrumb a { font-size: 13px; color: var(--n23-mute); }
body .breadcrumb a:hover { color: var(--n23-blue-deep); }
body article .entry-meta,
body article .entry-meta a { color: var(--n23-mute); font-size: 13px; }

@media (hover: hover) and (min-width: 992px) {
body .barfii__post-overlay-two { transition: transform .35s ease, box-shadow .35s ease; }
body .barfii__post-overlay-two:hover {
transform: translateY(-2px);
box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 18px 40px rgba(0, 0, 0, .12);
}
}
/* fix: backdrop-filter on header traps the fixed mobile menu */
body #rr-header-area { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- v0.2: هيدر مدمج على الهاتف + فواصل + سطر الإنشاء ---------- */
@media (max-width: 991px) {
body .barfii__middle-header-wrap { padding-top: 8px; padding-bottom: 4px; }
body .barfii__main-menu-wrap { padding: 2px 0 !important; }
body .barfii__main-menu-wrap .barfii__hambrug img { width: 26px; height: auto; }
body .btourq-post-item { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
}
.n23-credit {
text-align: center;
padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
font-size: 13px;
color: var(--n23-mute);
background: var(--n23-bg);
border-top: 1px solid var(--n23-line);
}
.n23-credit a { color: var(--n23-blue-deep); font-weight: 700; text-decoration: none; }
.n23-credit a:hover { text-decoration: underline; }
/* credit: merge with dark footer */
.n23-credit { background: #121418; border-top: 0; padding: 0 16px calc(18px + env(safe-area-inset-bottom)); color: rgba(255,255,255,.55); margin-top: -1px; }
.n23-credit a { color: #4fb0e3; }

/* keep 'follow us' heading size after h1 -> h2 */
body .barfii__social__profile .barfii__section-title h2 { font-size: 22px; font-weight: 700; line-height: 1.25; }

/* ---------- v0.5: قوالب الصفحات (من نحن / الخصوصية) + حركة خفيفة ---------- */
.n23-page { max-width: 760px; margin: 0 auto; padding: 8px 4px 32px; color: var(--n23-text); line-height: 2; }
.n23-hero { background: linear-gradient(135deg, #eaf6fd, #f5f5f7); border-radius: var(--n23-r-lg); padding: 28px 22px; margin: 8px 0 24px; }
.n23-hero h2 { margin: 0 0 8px; font-weight: 800; color: var(--n23-ink); font-size: clamp(24px, 6.4vw, 34px); line-height: 1.4; }
.n23-hero p { margin: 0; font-size: 17px; }
.n23-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 28px; }
@media (min-width: 640px) { .n23-grid { grid-template-columns: repeat(3, 1fr); } }
.n23-card { background: #fff; border: 1px solid var(--n23-line); border-radius: var(--n23-r); padding: 18px; box-shadow: var(--n23-shadow); }
.n23-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--n23-ink); }
.n23-card p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--n23-mute); }
.n23-page h2 { font-weight: 800; color: var(--n23-ink); font-size: clamp(21px, 5.4vw, 26px); margin: 1.6em 0 .5em; }
.n23-page ul { padding-inline-start: 22px; }
.n23-page li { margin-bottom: .4em; }
.n23-note { background: var(--n23-bg); border-radius: 14px; padding: 12px 16px; font-size: 14px; color: var(--n23-mute); }
details.n23-faq { border-bottom: 1px solid var(--n23-line); padding: 12px 0; }
details.n23-faq summary { font-weight: 700; cursor: pointer; color: var(--n23-ink); list-style: none; }
details.n23-faq summary::-webkit-details-marker { display: none; }
details.n23-faq summary::after { content: '+'; float: inline-end; color: var(--n23-blue-deep); font-weight: 800; }
details.n23-faq[open] summary::after { content: '\2013'; }
details.n23-faq p { margin: 8px 0 0; }
.n23-cta { display: inline-block; background: linear-gradient(135deg, #2f93c9, var(--n23-blue-deep)); color: #fff !important; border-radius: 999px; padding: 11px 26px; font-weight: 700; text-decoration: none !important; transition: transform .2s ease; }
.n23-cta:active, body .nav-pills .nav-link:active { transform: scale(.97); }
@media (prefers-reduced-motion: no-preference) {
@keyframes n23-rise { from { transform: translateY(10px); } to { transform: none; } }
body .btourq-post-item, .n23-page > * { animation: n23-rise .45s ease both; }
body .nav-pills .nav-link { transition: transform .2s ease, background .2s ease; }
}
.n23-hero h1 { margin: 0 0 8px; font-weight: 800; color: var(--n23-ink); font-size: clamp(24px, 6.4vw, 34px); line-height: 1.4; }

.n23-subscribe { margin: 32px 0 8px; padding: 22px 20px; background: var(--n23-blue-soft); border-radius: 18px; text-align: center; }
.n23-subscribe .n23-sub-title { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--n23-ink); }
.n23-subscribe .n23-sub-text { margin: 0 0 14px; color: var(--n23-mute); font-size: 14px; }
.n23-subscribe form p { margin: 0 0 10px; }
.n23-subscribe input[type="email"] { width: 100%; max-width: 420px; padding: 12px 16px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; font-size: 15px; text-align: right; }
.n23-subscribe button[type="submit"] { padding: 11px 32px; border: 0; border-radius: 12px; background: var(--n23-blue-deep); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.n23-subscribe button[type="submit"]:hover { background: var(--n23-ink); }
.n23-subscribe .mc4wp-response { margin-top: 10px; font-size: 14px; color: var(--n23-text); }
.n23-social { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 22px 16px 6px; background: #121418; }
.n23-social span { width: 100%; text-align: center; color: #a1a1a6; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.n23-social a { padding: 8px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #f5f5f7; font-size: 14px; text-decoration: none; transition: background .2s, border-color .2s; }
.n23-social a:hover { background: var(--n23-blue); border-color: var(--n23-blue); color: #fff; }
.elementor-element-cac972d .elementor-social-icons-wrapper { --grid-column-gap: 8px; --grid-row-gap: 8px; flex-wrap: nowrap; }
.elementor-element-cac972d .elementor-social-icon { font-size: 16px !important; padding: .6em !important; margin: 0 !important; border: 1px solid rgba(255,255,255,.14); transition: transform .25s ease, box-shadow .25s ease; }
.elementor-element-cac972d .elementor-social-icon:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.elementor-element-cac972d .elementor-social-icon-facebook-f { background-color: #1877f2 !important; }
.elementor-element-cac972d .elementor-social-icon-youtube { background-color: #ff0000 !important; }
.elementor-element-cac972d .elementor-social-icon-instagram { background: linear-gradient(45deg, #feda75, #fa7e1e 28%, #d62976 55%, #962fbf 78%, #4f5bd5) !important; }
.elementor-element-cac972d .elementor-social-icon-tiktok { background-color: #010101 !important; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.elementor-element-cac972d .elementor-social-icon-x-twitter { background-color: #000 !important; border-color: rgba(255,255,255,.3); }
.elementor-element-cac972d .elementor-social-icon i { color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .elementor-element-cac972d .elementor-social-icon { transition: none; } .elementor-element-cac972d .elementor-social-icon:hover { transform: none; } }
/* نموذج الاشتراك في الفوتر (Mailchimp) */
.elementor-element-5b8ec6c .n23-sub { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; background: transparent; text-align: right; }
.elementor-element-5b8ec6c .n23-sub-title, .elementor-element-5b8ec6c .n23-sub-text { display: none; }
.elementor-element-5b8ec6c .n23-sub p { margin: 0; }
.elementor-element-5b8ec6c .n23-sub p:has(input) { flex: 1 1 190px; }
.elementor-element-5b8ec6c .n23-sub input[type="email"] { width: 100%; padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.06); color: #f5f5f7; font-size: 15px; text-align: right; outline: none; transition: border-color .2s, background .2s; }
.elementor-element-5b8ec6c .n23-sub input[type="email"]::placeholder { color: #8e8e93; }
.elementor-element-5b8ec6c .n23-sub input[type="email"]:focus { border-color: var(--n23-blue); background: rgba(255,255,255,.1); }
.elementor-element-5b8ec6c .n23-sub button[type="submit"] { padding: 12px 26px; border: 0; border-radius: 12px; background: var(--n23-blue-deep); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.elementor-element-5b8ec6c .n23-sub button[type="submit"]:hover { background: var(--n23-blue); transform: translateY(-2px); }
.elementor-element-5b8ec6c .mc4wp-response { margin-top: 8px; font-size: 13px; color: #c7c7cc; }

/* إخفاء صندوق "تابعنا" التجريبي (يوتيوب/إنستغرام بعدد متابعين ثابت) */
.elementor-element-5daef94e, .barfii__social__profile { display: none !important; }
/* mobile header cleanup */
@media (max-width:991px){
.barfii__main-menu-wrap.rr-header-area-sticky{background:#fff!important;border-bottom:0!important;box-shadow:0 2px 14px rgba(0,0,0,.08)!important}
.barfii__main-menu-wrap.original{border-bottom:0!important}
.barfii__main-menu-wrap.rr-header::after{display:none!important}
html,body{overflow-x:clip}
}
