/* تصميم وهج — طبقة فوق Jannah. كل قسم مربوط بكلاس على body ويمكن إيقافه من الإعدادات. */
body.wg-on {
	--wg-blue: #48a0c8;      /* أزرق الشعار */
	--wg-blue-d: #2a7ea8;    /* أغمق للنصوص والأزرار (تباين أفضل) */
	--wg-blue-dd: #154a66;   /* كحلي للقائمة */
	--wg-ink: #1d2731;
	--wg-muted: #6b7680;
	--wg-grey: #989898;      /* رمادي الشعار */
	--wg-bg: #f2f5f7;
	--wg-line: #e3e8ec;
	--wg-r: 12px;
}

/* ================= 1) الهوية اللونية ================= */
body.wg-identity {
	--brand-color: var(--wg-blue-d);
	--dark-brand-color: var(--wg-blue-dd);
	--base-color: var(--wg-ink);
}
body.wg-identity #main-nav,
body.wg-identity .main-nav-wrapper #main-nav {
	--main-nav-background: var(--wg-blue-dd);
	--main-nav-primary-color: var(--wg-blue);
	--main-nav-contrast-primary-color: #fff;
	--main-nav-main-border-color: rgba(255,255,255,.08);
	background: var(--wg-blue-dd) !important;
	border-bottom: 3px solid var(--wg-blue);
}
body.wg-identity #main-nav .main-menu > ul > li.tie-current-menu > a,
body.wg-identity #main-nav .main-menu > ul > li:hover > a,
body.wg-identity #main-nav .menu-item-home > a {
	background: var(--wg-blue) !important;
	color: #fff !important;
}
body.wg-identity .post-cat,
body.wg-identity .button,
body.wg-identity a.more-link,
body.wg-identity .slider-arrow-nav a:hover,
body.wg-identity .tie-slider-nav li span.active,
body.wg-identity .slick-dots li.slick-active button {
	background-color: var(--wg-blue-d);
	border-color: var(--wg-blue-d);
}
body.wg-identity a:hover,
body.wg-identity .post-title a:hover { color: var(--wg-blue-d); }

/* ================= 2) الخط ================= */
body.wg-font,
body.wg-font h1, body.wg-font h2, body.wg-font h3, body.wg-font h4, body.wg-font h5, body.wg-font h6,
body.wg-font .post-title, body.wg-font .thumb-title, body.wg-font .entry,
body.wg-font #main-nav, body.wg-font #top-nav, body.wg-font .mag-box-title,
body.wg-font input, body.wg-font button, body.wg-font textarea, body.wg-font select,
body.wg-font .post-meta, body.wg-font .post-cat, body.wg-font .widget-title {
	font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif) !important;
}
body.wg-font .entry p { line-height: 1.95; }

/* ================= 3) رأس الصفحة ================= */
@media (min-width: 992px) {
	body.wg-header #logo { margin-top: 18px; margin-bottom: 18px; }
	body.wg-header #logo img { max-height: 120px !important; width: auto; }
	body.wg-header #main-nav .main-menu > ul > li > a {
		font-size: 15px;
		font-weight: 600;
		padding-left: 16px;
		padding-right: 16px;
	}
	body.wg-header #top-nav { border-bottom: 1px solid var(--wg-line); }
}
body.wg-header #theme-header.has-shadow { box-shadow: 0 2px 12px rgba(16,40,56,.08); }

/* ================= 4) أقسام فاتحة ================= */
/* PHP يحذف كلاس dark-skin من صناديق الرئيسية؛ هنا لمسات إضافية فقط */
body.wg-light .section-item.wg-was-dark { background: transparent; }
body.wg-light .first-post-gradient li:first-child .post-overlay,
body.wg-light .big-thumb-left-box li:first-child .post-overlay { color: #fff; }

/* ================= 5) عناوين الأقسام ================= */
body.wg-titles .mag-box-title,
body.wg-titles .mag-box .the-global-title {
	align-items: flex-end;
	padding: 0 !important;
	border-bottom: 3px solid var(--wg-blue) !important;
	margin-bottom: 18px;
}
body.wg-titles .mag-box-title:before,
body.wg-titles .mag-box-title:after,
body.wg-titles .mag-box .the-global-title:before,
body.wg-titles .mag-box .the-global-title:after { display: none !important; }
body.wg-titles .mag-box-title h3 {
	background: var(--wg-blue-d);
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	padding: 8px 20px 7px;
	margin: 0 !important;
	border-radius: 8px 8px 0 0;
	line-height: 1.5;
}
body.wg-titles .mag-box-title h3 a { color: #fff !important; }
body.wg-titles .mag-box-title .block-more-button,
body.wg-titles .mag-box-title .mag-box-options { align-self: center; }
body.wg-titles .mag-box-title .block-more-button { color: var(--wg-blue-d); font-weight: 600; }
/* ألسنة التبويب */
body.wg-titles .tabs-box .tabs-menu li.active > a,
body.wg-titles .tabs-box .tabs-menu li:hover > a {
	background: var(--wg-blue-d) !important;
	color: #fff !important;
}

/* ================= 6) البطاقات ================= */
body.wg-cards,
body.wg-cards #tie-wrapper,
body.wg-cards .background-overlay { background-color: var(--wg-bg); }
body.wg-cards .mag-box .container-wrapper,
body.wg-cards .mag-box.container-wrapper,
body.wg-cards .sidebar .container-wrapper {
	background: #fff;
	border: 0 !important;
	border-radius: var(--wg-r);
	box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 6px 20px rgba(16,40,56,.05);
}
/* الصور */
body.wg-cards .mag-box .post-thumb,
body.wg-cards .mag-box .post-thumb img,
body.wg-cards .big-thumb-left-box-inner,
body.wg-cards .main-slider .slide,
body.wg-cards .main-slider .tie-slick-slider .slide,
body.wg-cards .related-item .post-thumb img,
body.wg-cards .widget .post-thumb img {
	border-radius: 10px;
	overflow: hidden;
}
body.wg-cards .main-slider .slide { margin: 0 4px; }
/* العناوين */
body.wg-cards .mag-box .post-title { font-weight: 700; line-height: 1.55; }
body.wg-cards .mag-box .post-title a { color: var(--wg-ink); }
body.wg-cards .mag-box .post-overlay .post-title a,
body.wg-cards .mag-box .thumb-overlay .thumb-title a { color: #fff; }
body.wg-cards .mag-box .posts-items li .post-details .post-title { font-size: 16px; }
body.wg-cards .main-slider .thumb-title { font-weight: 700; line-height: 1.5; }
body.wg-cards .post-excerpt { color: var(--wg-muted); }
body.wg-cards .post-meta, body.wg-cards .post-meta a:not(:hover) { color: var(--wg-muted); }
/* شارة التصنيف */
body.wg-cards .post-cat { border-radius: 6px; padding: 3px 9px; }

/* ================= 7) الفوتر ================= */
body.wg-footer #footer { display: none !important; }
.wg-foot { font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif); color: #b9c8d3; }
.wg-foot a { text-decoration: none !important; }
.wg-f-band { position: relative; overflow: hidden; color: #fff; padding: 44px 0; background: radial-gradient(120% 140% at 100% 0%, #2a7ea8 0%, #154a66 45%, #0d2433 100%); }
.wg-f-band:before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(45deg, #fff 25%, transparent 25%), linear-gradient(-45deg, #fff 25%, transparent 25%); background-size: 28px 28px; -webkit-mask-image: linear-gradient(to left, transparent 35%, #000 100%); mask-image: linear-gradient(to left, transparent 35%, #000 100%); }
.wg-f-band .container { position: relative; display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 36px; }
.wg-f-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #9fd3ec; margin-bottom: 8px; }
.wg-f-kicker:before { content: ""; width: 10px; height: 10px; border-radius: 4px 4px 4px 1px; background: #48a0c8; box-shadow: -3px 3px 0 -1px rgba(255,255,255,.35); }
.wg-f-band-txt strong { display: block; font-size: 28px; font-weight: 800; line-height: 1.4; margin-bottom: 8px; color: #fff; }
.wg-f-sub { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.8; }
.wg-f-chan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wg-ch { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff !important; backdrop-filter: blur(6px); transition: transform .25s, background .25s, border-color .25s; }
.wg-ch:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.wg-ch-ic { flex: 0 0 42px; height: 42px; border-radius: 12px 12px 12px 3px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.wg-ch-t { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.wg-ch-t b { font-size: 15px; font-weight: 700; }
.wg-ch-t small { font-size: 12px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-ch-wa { grid-row: span 2; flex-direction: column; justify-content: center; text-align: center; background: linear-gradient(160deg, #25d366, #128c4a); border-color: transparent; }
.wg-ch-wa:hover { background: linear-gradient(160deg, #2ee073, #149a52); }
.wg-ch-wa .wg-ch-ic { flex-basis: auto; width: 56px; height: 56px; background: rgba(255,255,255,.18); }
.wg-ch-wa .wg-ch-t b { font-size: 18px; }
.wg-ch-wa .wg-ch-t small { color: rgba(255,255,255,.88); }
.wg-ch-x .wg-ch-ic { background: #000; }
.wg-ch-facebook .wg-ch-ic { background: #1877f2; }
.wg-ch-instagram .wg-ch-ic { background: radial-gradient(circle at 30% 110%, #fdcb52 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%); }
.wg-ch-youtube .wg-ch-ic { background: #ff0000; }
.wg-f-about .wg-f-soc { display: none; }
.wg-f-main { background: #0d2433; padding: 50px 0 34px; }
.wg-f-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.wg-f-logo img { height: 84px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 14px; }
.wg-f-about p { font-size: 14px; line-height: 1.9; color: #9fb2c0; margin: 0 0 18px; }
.wg-f-soc { display: flex; gap: 10px; }
.wg-f-soc a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); color: #dbe7ef !important; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.wg-f-soc a:hover { background: #48a0c8; color: #fff !important; }
.wg-foot h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 18px; padding-bottom: 10px; position: relative; }
.wg-foot h4:after { content: ""; position: absolute; bottom: 0; right: 0; width: 34px; height: 3px; border-radius: 3px; background: #48a0c8; }
.wg-foot ul { list-style: none; margin: 0; padding: 0; }
.wg-foot li { margin: 0 0 11px; }
.wg-foot li a { color: #b9c8d3 !important; font-size: 14.5px; transition: color .2s, padding .2s; }
.wg-foot li a:hover { color: #fff !important; padding-right: 4px; }
.wg-f-bottom { background: #081923; padding: 16px 0; font-size: 13px; color: #7f95a5; }
.wg-f-bottom .container { display: flex; justify-content: center; text-align: center; }
.wg-f-bottom i { font-style: normal; color: #48a0c8; margin: 0 8px; }
@media (max-width: 860px) {
	.wg-f-band .container { grid-template-columns: 1fr; gap: 24px; }
	.wg-f-cols { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
	.wg-f-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.wg-f-band { padding: 32px 0; }
	.wg-f-band-txt strong { font-size: 22px; }
	.wg-f-chan { grid-template-columns: 1fr 1fr; gap: 10px; }
	.wg-ch-wa { grid-row: auto; grid-column: 1 / -1; flex-direction: row; text-align: right; }
	.wg-ch-wa .wg-ch-ic { width: 46px; height: 46px; }
	.wg-ch { padding: 10px; gap: 10px; }
	.wg-ch-ic { flex-basis: 36px; height: 36px; }
	.wg-f-main { padding: 36px 0 20px; }
	.wg-f-cols > div:last-child { grid-column: 1 / -1; }
	.wg-f-bottom .container { justify-content: center; text-align: center; }
}

/* ================= 8) القائمة الرئيسية (ضمن header) ================= */
body.wg-header #main-nav .main-menu .menu > li:not(.menu-item-home) > a .tie-menu-icon { display: none !important; }
body.wg-header #main-nav { border-top: 0 !important; border-bottom: 0 !important; box-shadow: 0 6px 18px rgba(13,36,51,.18); }
body.wg-header #main-nav .main-menu-wrapper { border: 0 !important; }
@media (min-width: 992px) {
	body.wg-header #main-nav .main-menu .menu > li > a {
		position: relative;
		font-size: 15.5px !important;
		font-weight: 600 !important;
		color: #e8f1f6 !important;
		background: transparent !important;
		padding: 0 15px !important;
		transition: color .2s, background .2s;
	}
	body.wg-header #main-nav .main-menu .menu > li > a:after {
		content: ""; position: absolute; right: 15px; left: 15px; bottom: 0; height: 3px;
		border-radius: 3px 3px 0 0; background: var(--wg-blue);
		transform: scaleX(0); transition: transform .25s ease;
	}
	body.wg-header #main-nav .main-menu .menu > li:hover > a,
	body.wg-header #main-nav .main-menu .menu > li.tie-current-menu > a { color: #fff !important; background: rgba(255,255,255,.06) !important; }
	body.wg-header #main-nav .main-menu .menu > li:hover > a:after,
	body.wg-header #main-nav .main-menu .menu > li.tie-current-menu > a:after { transform: scaleX(1); }
	/* أيقونة الرئيسية: مربع بشكل الهوية */
	body.wg-header #main-nav .menu > li.menu-item-home > a { padding: 0 18px !important; background: var(--wg-blue) !important; color: #fff !important; }
	body.wg-header #main-nav .menu > li.menu-item-home > a:after { display: none; }
	/* سهم القوائم المنسدلة أخف */
	body.wg-header #main-nav .menu > li.menu-item-has-children > a:before,
	body.wg-header #main-nav .menu > li.mega-menu > a:before { opacity: .55; }
	/* القوائم المنسدلة */
	body.wg-header #main-nav .menu-sub-content { border-top: 3px solid var(--wg-blue) !important; border-radius: 0 0 12px 12px; box-shadow: 0 14px 34px rgba(13,36,51,.18) !important; }
}

/* ================= 9) زر الصعود للأعلى ================= */
body.wg-on #go-to-top {
	display: flex !important; align-items: center; justify-content: center;
	position: fixed; bottom: 24px; left: 24px; right: auto; z-index: 999;
	width: 48px; height: 48px;
	background: var(--wg-blue-d) !important; color: #fff !important;
	border-radius: 15px 15px 15px 4px;
	box-shadow: -4px 4px 0 -1px rgba(152,152,152,.55), 0 10px 24px rgba(13,36,51,.25);
	opacity: 0; visibility: hidden; transform: translateY(14px);
	transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
body.wg-on.wg-scrolled #go-to-top { opacity: 1; visibility: visible; transform: none; }
body.wg-on #go-to-top:hover { background: var(--wg-blue-dd) !important; transform: translateY(-3px); }
body.wg-on #go-to-top span, body.wg-on #go-to-top .tie-icon-angle-up { font-size: 0 !important; }
body.wg-on #go-to-top:before {
	content: ""; width: 12px; height: 12px; margin-top: 6px;
	border-top: 3px solid #fff; border-left: 3px solid #fff; border-radius: 2px;
	transform: rotate(45deg);
}
@media (max-width: 560px) { body.wg-on #go-to-top { width: 44px; height: 44px; bottom: 18px; left: 16px; } }
/* إصلاحات */
@media (min-width: 992px) {
	body.wg-header #main-nav .main-menu .menu > li > a:before,
	body.wg-header #main-nav .main-menu .menu > li > a .menu-tiny-label,
	body.wg-header #main-nav .menu > li > a > .dropdown-arrow { display: none !important; }
	body.wg-header #main-nav .main-menu .menu > li > a { padding-left: 15px !important; }
}
.wg-ch-t small { unicode-bidi: plaintext; text-align: right; }

/* ================= 10) الرأس النحيف ================= */
body.wg-slimhead #top-nav { display: none !important; }
body.wg-slimhead #theme-header #logo { margin-top: 16px !important; margin-bottom: 16px !important; }
body.wg-slimhead #theme-header #logo img { max-height: 92px !important; }
.wg-htools { display: flex; align-items: center; justify-content: flex-end; gap: 22px; height: 100%; min-height: 124px; }
.wg-hdate { display: flex; flex-direction: column; text-align: left; color: var(--wg-muted, #6b7680); font-size: 13.5px; line-height: 1.5; padding-left: 22px; border-left: 1px solid #e3e8ec; }
.wg-hdate-d { color: var(--wg-ink, #1d2731); font-weight: 700; font-size: 15px; }
.wg-hsearch { display: flex; align-items: center; width: 330px; max-width: 100%; height: 46px; background: #f2f5f7; border: 1.5px solid transparent; border-radius: 14px 14px 14px 4px; padding: 0 6px 0 4px; transition: border-color .2s, background .2s, box-shadow .2s; }
.wg-hsearch:focus-within { background: #fff; border-color: #48a0c8; box-shadow: 0 0 0 4px rgba(72,160,200,.15); }
.wg-hsearch input { flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14.5px; padding: 0 12px !important; height: 100%; color: #1d2731; font-family: inherit; }
.wg-hsearch button { width: 36px; height: 36px; flex: 0 0 36px; border: 0; border-radius: 10px 10px 10px 3px; background: #2a7ea8; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.wg-hsearch button:hover { background: #154a66; }
.wg-adbar { background: transparent; padding: 18px 0 0; }
.wg-adbox { position: relative; max-width: 728px; margin: 0 auto; line-height: 0; }
.wg-adbox img { width: 100% !important; height: auto !important; border-radius: 8px; display: block; }
.wg-adbox .stream-item-top { margin: 0; }
.wg-ad-label { position: absolute; top: -9px; left: 10px; z-index: 2; font-size: 10.5px; line-height: 1.6; color: #8a97a1; background: #f2f5f7; padding: 0 6px; border-radius: 4px; letter-spacing: .3px; }
@media (max-width: 991px) {
	.wg-htools { display: none; }
	.wg-adbar { padding: 12px 0 0; }
	.wg-adbar .container { padding-left: 15px; padding-right: 15px; }
}

/* ================= 11) العمود الجانبي ================= */
body.wg-sidebar .sidebar .widget_categories { display: none !important; }
.wg-side { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px; font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif); }
.wg-pop { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 6px 18px rgba(16,40,56,.06); padding: 20px 20px 8px; }
.wg-pop-h { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #1d2731; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid #eef2f5; }
.wg-pop-ic { width: 18px; height: 18px; border-radius: 7px 7px 7px 2px; background: #48a0c8; box-shadow: -3px 3px 0 -1px #c4ccd2; }
.wg-pop-ic.wg-live { background: #c62f2f; animation: wgpulse2 1.6s infinite; }
@keyframes wgpulse2 { 50% { opacity: .45; } }
.wg-pop ol, .wg-pop ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.wg-pop li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid #eef2f5; margin: 0 !important; }
.wg-pop li:last-child { border-bottom: 0; }
.wg-pop-n { flex: 0 0 34px; font-size: 34px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #48a0c8; font-family: 'IBM Plex Sans Arabic', sans-serif; text-align: center; transition: color .2s; }
.wg-pop li:first-child .wg-pop-n { color: #48a0c8; }
.wg-pop li:hover .wg-pop-n { color: #48a0c8; }
.wg-pop li a { color: #1d2731 !important; font-weight: 700; font-size: 15px; line-height: 1.65; text-decoration: none !important; display: block; }
.wg-pop li a:hover { color: #2a7ea8 !important; }
.wg-pop time { display: block; font-size: 12px; color: #8a97a1; margin-top: 4px; }
.wg-latest li { gap: 12px; }
.wg-lt-img { flex: 0 0 86px; height: 64px; border-radius: 10px 10px 10px 3px; overflow: hidden; display: block; background: #dfe6eb; }
.wg-lt-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.wg-latest li a:not(.wg-lt-img) { font-size: 14px; }

/* ================= 12) صفحة الخبر ================= */
body.single.wg-single .wg-progress { position: fixed; top: 0; right: 0; left: 0; height: 4px; z-index: 100000; pointer-events: none; }
body.admin-bar.single.wg-single .wg-progress { top: 32px; }
body.single.wg-single .wg-progress span { display: block; height: 100%; background: linear-gradient(to left, #48a0c8, #2a7ea8); transform: scaleX(0); transform-origin: right; border-radius: 0 0 0 4px; }
body.single.wg-single #breadcrumb { font-size: 13px; color: #8a97a1; margin-bottom: 14px; }
body.single.wg-single #breadcrumb a { color: #6b7680; }
body.single.wg-single .entry-header .post-cat { border-radius: 10px 10px 10px 2px; padding: 4px 12px; font-weight: 700; font-size: 13px; }
body.single.wg-single .entry-header .post-title.entry-title { font-size: 36px !important; font-weight: 800 !important; line-height: 1.5 !important; color: #14202a !important; margin: 14px 0 16px !important; letter-spacing: -.2px; }
body.single.wg-single .single-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13.5px; color: #6b7680; padding-bottom: 18px; border-bottom: 1px solid #e6ecf0; margin-bottom: 4px; }
body.single.wg-single .single-post-meta .meta-item { margin: 0 !important; }
body.single.wg-single .wg-rt { display: inline-flex; align-items: center; gap: 5px; background: #e9f4fa; color: #2a7ea8; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
body.single.wg-single .wg-rt:before { display: none !important; }
body.single.wg-single #the-post.container-wrapper,
body.single.wg-single .post-content.container-wrapper { border-radius: 16px; border: 0 !important; box-shadow: 0 1px 2px rgba(16,40,56,.05), 0 10px 30px rgba(16,40,56,.06); }
body.single.wg-single .featured-area img, body.single.wg-single .single-featured-image img { border-radius: 14px; }
body.single.wg-single .featured-area figcaption, body.single.wg-single .single-caption-text { font-size: 13px; color: #6b7680; }
body.single.wg-single .entry-content { font-size: 19px !important; line-height: 2.05 !important; color: #23303a; }
body.single.wg-single .entry-content p { margin-bottom: 1.25em !important; }
body.single.wg-single .entry-content p:first-child { color: #2a7ea8; font-weight: 700; font-size: 16px; }
body.single.wg-single .entry-content h2, body.single.wg-single .entry-content h3 { font-weight: 800 !important; color: #14202a; margin: 1.4em 0 .6em; }
body.single.wg-single .entry-content a { color: #2a7ea8; text-decoration: underline; text-decoration-color: rgba(42,126,168,.35); text-underline-offset: 4px; }
body.single.wg-single .entry-content blockquote { border: 0 !important; border-right: 4px solid #48a0c8 !important; background: #f2f8fb; border-radius: 12px 4px 4px 12px; padding: 18px 22px !important; font-size: 20px; font-weight: 600; color: #154a66; }
body.single.wg-single .entry-content img { border-radius: 12px; }
/* إخفاء أزرار المشاركة القديمة وعدّاد المشاهدات */
body.single.wg-single #share-buttons-top, body.single.wg-single #share-buttons-bottom,
body.single.wg-single .share-buttons, body.single.wg-single .share-to-whatsapp-wrapper,
body.single.wg-single .entry-content .post-views, body.single.wg-single .post-views.content-post { display: none !important; }
/* شريط المشاركة الجديد */
.wg-share { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 34px 0 6px; padding: 18px 20px; border-radius: 16px 16px 16px 4px; background: #f2f8fb; font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif); }
.wg-share-t { font-weight: 800; color: #154a66; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.wg-share-t:before { content: ""; width: 14px; height: 14px; border-radius: 5px 5px 5px 1px; background: #48a0c8; box-shadow: -3px 3px 0 -1px #c4ccd2; }
.wg-share-b { display: flex; gap: 8px; flex-wrap: wrap; }
.wg-sh { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px 12px 12px 3px; color: #fff !important; text-decoration: none !important; font-size: 14.5px; font-weight: 700; transition: transform .2s, filter .2s; }
.wg-sh:hover { transform: translateY(-2px); filter: brightness(1.08); }
.wg-sh-wa { background: #25d366; padding: 0 18px; }
.wg-sh-x { background: #000; }
.wg-sh-fb { background: #1877f2; }
.wg-sh-tg { background: #229ed9; }
.wg-sh-copy { background: #fff; color: #2a7ea8 !important; border: 1.5px solid #cfe3ee; }
.wg-copy-ok { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: #154a66; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.wg-sh-copy.ok .wg-copy-ok { opacity: 1; transform: translateX(-50%); }
/* مقالات ذات صلة */
body.single.wg-single #related-posts { border-radius: 16px; border: 0 !important; box-shadow: 0 1px 2px rgba(16,40,56,.05), 0 10px 30px rgba(16,40,56,.06); }
body.single.wg-single #related-posts .related-item .post-thumb, body.single.wg-single #related-posts .related-item img { border-radius: 12px 12px 12px 3px; overflow: hidden; }
body.single.wg-single #related-posts .related-item .post-title { font-size: 15.5px !important; font-weight: 700 !important; line-height: 1.6 !important; }
body.single.wg-single #related-posts .related-item .post-title a { color: #1d2731; }
@media (max-width: 768px) {
	body.single.wg-single .entry-header .post-title.entry-title { font-size: 25px !important; line-height: 1.55 !important; }
	body.single.wg-single .entry-content { font-size: 18px !important; line-height: 2 !important; }
	.wg-share { flex-direction: column; align-items: stretch; padding: 16px; }
	.wg-share-b { justify-content: space-between; }
	.wg-sh { flex: 1; padding: 0; }
	.wg-sh-wa { flex: 2; }
	body.admin-bar.single.wg-single .wg-progress { top: 46px; }
}

/* ================= 13) صفحات الأقسام والبحث ================= */
body.wg-archive #posts-container { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0 !important; padding: 0 !important; }
body.wg-archive #posts-container > li.post-item { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 6px 18px rgba(16,40,56,.06); transition: transform .2s, box-shadow .2s; }
body.wg-archive #posts-container > li.post-item:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,40,56,.08), 0 12px 28px rgba(16,40,56,.12); }
body.wg-archive #posts-container > li.post-item:after { content: ""; position: absolute; bottom: 0; right: 0; left: 0; height: 3px; background: linear-gradient(to left, #48a0c8, #2a7ea8); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
body.wg-archive #posts-container > li.post-item:hover:after { transform: scaleX(1); }
body.wg-archive #posts-container .post-thumb { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; aspect-ratio: 16/9; flex: 0 0 auto !important; height: auto !important; overflow: hidden; display: block; border-radius: 0 !important; }
body.wg-archive #posts-container .post-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .5s; }
body.wg-archive #posts-container li:hover .post-thumb img { transform: scale(1.04); }
body.wg-archive #posts-container .post-details { padding: 14px 18px 18px !important; display: flex; flex-direction: column; gap: 8px; flex: 1; }
body.wg-archive #posts-container .post-title { order: 1; font-size: 18px !important; font-weight: 700 !important; line-height: 1.6 !important; margin: 0 !important; }
body.wg-archive #posts-container .post-title a { color: #1d2731; }
body.wg-archive #posts-container .post-excerpt { order: 2; color: #6b7680; font-size: 14.5px; line-height: 1.8; margin: 0; }
body.wg-archive #posts-container .post-meta { order: 3; margin-top: auto !important; font-size: 12.5px; color: #8a97a1; }
body.wg-archive #posts-container .post-meta .author-meta { display: none !important; }
body.wg-archive #posts-container .more-link { display: none !important; }
body.wg-archive .container-wrapper.page-head, body.wg-archive header.entry-header-outer.container-wrapper { border-radius: 14px; border: 0 !important; box-shadow: 0 1px 2px rgba(16,40,56,.06); }
body.wg-archive .page-title { font-size: 30px !important; font-weight: 800 !important; display: flex; align-items: center; gap: 14px; }
body.wg-archive .page-title:before { content: ""; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 10px 10px 10px 3px; background: #48a0c8; box-shadow: -5px 5px 0 -1px #c4ccd2; }
body.wg-archive .pages-nav .pages-numbers li a, body.wg-archive .pages-nav .pages-numbers li span { border-radius: 10px 10px 10px 3px; }
body.wg-archive #posts-container + .pages-nav, body.wg-archive .pages-nav { margin-top: 26px; }
@media (max-width: 600px) {
	body.wg-archive #posts-container { grid-template-columns: 1fr; gap: 14px; }
	body.wg-archive #posts-container .post-title { font-size: 16.5px !important; }
}
body.single.wg-single .entry-content p, body.single.wg-single .entry-content li, body.single.wg-single .entry-content span, body.single.wg-single .entry-content div:not(.wg-share):not(.wg-share-b) {
	font-size: 19px !important; line-height: 2.05 !important; font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif) !important;
}
body.single.wg-single .entry-content p:first-child, body.single.wg-single .entry-content p:first-child span { font-size: 16px !important; }
body.single.wg-single .wg-share span, body.single.wg-single .wg-share a { font-size: 14.5px !important; line-height: 1 !important; }
body.single.wg-single .wg-share .wg-share-t { font-size: 16px !important; }
body.single.wg-single .wg-share .wg-copy-ok { font-size: 12px !important; line-height: 1.6 !important; }
@media (max-width: 768px) { body.single.wg-single .entry-content p, body.single.wg-single .entry-content li { font-size: 18px !important; line-height: 2 !important; } }
body.wg-archive #posts-container .post-meta .meta-comment, body.wg-archive #posts-container .post-meta .tie-icon-comments,
body.wg-archive #posts-container .post-meta a[href*="#respond"], body.wg-archive #posts-container .post-meta .comments-link { display: none !important; }
/* توحيد عناوين القالب (مقالات ذات صلة، الودجات) مع هوية الرئيسية */
body.wg-titles #related-posts .mag-box-title, body.wg-titles .post-components .mag-box-title, body.wg-titles .sidebar .widget-title {
	border: 0 !important; padding: 0 !important; display: flex; align-items: center; margin-bottom: 20px;
}
body.wg-titles #related-posts .mag-box-title h3, body.wg-titles .post-components .mag-box-title h3 {
	background: none !important; color: #1d2731 !important; padding: 0 !important; font-size: 22px !important; font-weight: 800 !important;
	display: flex; align-items: center; gap: 12px; border-radius: 0;
}
body.wg-titles #related-posts .mag-box-title h3:before, body.wg-titles .post-components .mag-box-title h3:before {
	content: ""; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 9px 9px 9px 3px; background: #48a0c8; box-shadow: -4px 4px 0 -1px #c4ccd2;
}
body.wg-titles #related-posts .mag-box-title:after, body.wg-titles .post-components .mag-box-title:after {
	content: ""; display: block !important; flex: 1; height: 2px; margin-right: 16px; position: static !important; width: auto !important;
	background: linear-gradient(to left, #cdd6dc, rgba(205,214,220,0)) !important;
}
.wg-f-bottom bdi { white-space: nowrap; }
body.single.wg-single .wg-views { display: inline-flex; align-items: center; gap: 5px; background: #f2f5f7; color: #4d5b66; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
body.single.wg-single .wg-views:before { display: none !important; }
/* الصورة البارزة: إطار بارتفاع أقصى، الصورة كاملة بلا قص، والجوانب بنسخة مموّهة */
body.single.wg-single .featured-area { margin-bottom: 26px; }
body.single.wg-single figure.wg-fi { position: relative; display: flex; align-items: center; justify-content: center; max-height: 560px; overflow: hidden; border-radius: 16px; background: #0d2433; margin: 0; isolation: isolate; }
body.single.wg-single figure.wg-fi:before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--wg-fi) center / cover no-repeat; filter: blur(30px) brightness(.72) saturate(1.15); transform: scale(1.08); }
body.single.wg-single figure.wg-fi img { position: relative; display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 560px !important; object-fit: contain; border-radius: 0 !important; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
body.single.wg-single figure.wg-fi figcaption { position: absolute; bottom: 0; right: 0; left: 0; padding: 22px 18px 10px; background: linear-gradient(to top, rgba(8,24,36,.85), transparent); color: #e6eef3 !important; font-size: 13px; }
@media (max-width: 768px) {
	body.single.wg-single figure.wg-fi, body.single.wg-single figure.wg-fi img { max-height: 420px !important; }
	body.single.wg-single figure.wg-fi { border-radius: 12px; }
}
/* الإعلان: مقاس Billboard القياسي 970 بكسل */
.wg-adbox { max-width: 970px; }
.wg-adbar { padding-top: 22px; }
.wg-adbox img { border-radius: 10px; box-shadow: 0 2px 10px rgba(16,40,56,.08); }

/* ================= 14) قائمة الجوال الجانبية ================= */
body.wg-mmenu .side-aside {
	background: radial-gradient(120% 70% at 100% 0%, #2a7ea8 0%, #154a66 40%, #0b1f2c 100%) !important;
	font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif);
}
body.wg-mmenu .side-aside:before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; background-image: linear-gradient(45deg, #fff 25%, transparent 25%), linear-gradient(-45deg, #fff 25%, transparent 25%); background-size: 26px 26px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 45%); mask-image: linear-gradient(to bottom, #000, transparent 45%); }
body.wg-mmenu .side-aside .side-aside-wrapper { background: transparent !important; }
body.wg-mmenu #mobile-container { padding: 18px 22px 30px !important; position: relative; }
/* زر الإغلاق */
body.wg-mmenu .side-aside .close-side-aside { position: absolute !important; top: 16px !important; left: 16px !important; right: auto !important; z-index: 5; width: 42px !important; height: 42px !important; border-radius: 13px 13px 13px 4px; background: rgba(255,255,255,.1) !important; display: flex !important; align-items: center; justify-content: center; margin: 0 !important; }
body.wg-mmenu .side-aside .close-side-aside:before, body.wg-mmenu .side-aside .close-side-aside:after { background: #fff !important; }
/* الرأس */
.wg-mm-head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 4px 0 20px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.wg-mm-head img { height: 62px; width: auto; filter: brightness(0) invert(1); }
.wg-mm-date { color: #9fd3ec; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.wg-mm-date:before { content: ""; width: 9px; height: 9px; border-radius: 3px 3px 3px 1px; background: #48a0c8; }
/* البحث */
body.wg-mmenu #mobile-search { margin-bottom: 14px !important; }
body.wg-mmenu #mobile-search .search-form { position: relative; }
body.wg-mmenu #mobile-search .search-field { height: 50px !important; border-radius: 14px 14px 14px 4px !important; background: rgba(255,255,255,.95) !important; border: 0 !important; color: #1d2731 !important; font-size: 15px !important; padding: 0 16px 0 56px !important; font-family: inherit; }
body.wg-mmenu #mobile-search .search-field::placeholder { color: #7a8893; }
body.wg-mmenu #mobile-search .search-form:after { content: ""; position: absolute; top: 7px !important; left: 7px; right: auto !important; width: 36px; height: 36px; border-radius: 10px 10px 10px 3px; background: #2a7ea8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / 17px no-repeat; font-size: 0 !important; line-height: 0 !important; pointer-events: none; }
body.wg-mmenu #mobile-search .search-submit { position: absolute; top: 7px; left: 7px; width: 36px; height: 36px; opacity: 0; z-index: 2; cursor: pointer; }
/* عناصر القائمة */
body.wg-mmenu #mobile-menu { margin: 0 0 22px !important; padding: 0 !important; }
body.wg-mmenu #mobile-menu li { border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.09) !important; position: relative; opacity: 1 !important; transform: none !important; visibility: visible !important; }
body.wg-mmenu #mobile-menu li a { display: flex !important; align-items: center; gap: 12px; color: #fff !important; font-size: 17px !important; font-weight: 600 !important; padding: 15px 4px !important; line-height: 1.4 !important; opacity: 1 !important; }
body.wg-mmenu #mobile-menu > ul > li > a:before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 3px 3px 3px 1px; background: rgba(255,255,255,.28); transition: background .2s, transform .2s; }
body.wg-mmenu #mobile-menu > ul > li.current-menu-item > a, body.wg-mmenu #mobile-menu > ul > li > a:hover { color: #9fd3ec !important; }
body.wg-mmenu #mobile-menu > ul > li.current-menu-item > a:before, body.wg-mmenu #mobile-menu > ul > li > a:hover:before { background: #48a0c8; transform: scale(1.3); }
body.wg-mmenu #mobile-menu .tie-menu-icon { display: none !important; }
body.wg-mmenu #mobile-menu .mobile-arrows { position: absolute !important; top: 9px !important; left: 0 !important; right: auto !important; width: 36px !important; height: 36px !important; line-height: 36px !important; border-radius: 10px 10px 10px 3px; background: rgba(255,255,255,.08); color: #fff !important; text-align: center; font-size: 13px !important; }
body.wg-mmenu #mobile-menu .sub-menu { padding: 0 18px 8px 0 !important; margin: 0 !important; background: transparent !important; }
body.wg-mmenu #mobile-menu .sub-menu li { border-bottom: 0 !important; }
body.wg-mmenu #mobile-menu .sub-menu li a { font-size: 15px !important; font-weight: 500 !important; color: #c9dbe6 !important; padding: 9px 4px !important; }
/* التواصل */
body.wg-mmenu #mobile-social-icons { margin: 0 0 14px !important; }
body.wg-mmenu #mobile-social-icons ul { display: flex !important; justify-content: center; gap: 10px; }
body.wg-mmenu #mobile-social-icons .social-icons-item .social-link { width: 46px !important; height: 46px !important; border-radius: 13px 13px 13px 4px !important; display: flex !important; align-items: center; justify-content: center; background: rgba(255,255,255,.1) !important; }
body.wg-mmenu #mobile-social-icons .facebook-social-icon { background: #1877f2 !important; }
body.wg-mmenu #mobile-social-icons .twitter-social-icon { background: #000 !important; }
body.wg-mmenu #mobile-social-icons .instagram-social-icon { background: radial-gradient(circle at 30% 110%, #fdcb52 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%) !important; }
body.wg-mmenu #mobile-social-icons .custom-link-1-social-icon { background: #ff0000 !important; }
body.wg-mmenu #mobile-social-icons .social-link span { color: #fff !important; font-size: 18px !important; line-height: 1 !important; }
body.wg-mmenu #mobile-social-icons .social-icon-img-1 { filter: brightness(0) invert(1); }
.wg-mm-foot { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.wg-mm-wa { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 14px 14px 14px 4px; background: linear-gradient(160deg, #25d366, #128c4a); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; box-shadow: 0 10px 24px rgba(18,140,74,.3); }
.wg-mm-copy { text-align: center; color: rgba(255,255,255,.5); font-size: 12px; }
/* إصلاحات قائمة الجوال */
body.wg-mmenu .side-aside .close-side-aside:before, body.wg-mmenu .side-aside .close-side-aside:after { display: none !important; }
body.wg-mmenu .side-aside .close-side-aside { background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 18px no-repeat !important; }
body.wg-mmenu .side-aside .close-side-aside * { display: none !important; }
.wg-mm-head { align-items: flex-start; }
.wg-mm-head a { align-self: flex-start; }
body.wg-mmenu #mobile-menu .mobile-arrows { top: 10px !important; display: flex !important; align-items: center; justify-content: center; }
body.wg-mmenu #mobile-menu .mobile-arrows:before { line-height: 1 !important; margin: 0 !important; }
body.wg-mmenu #mobile-social-icons .social-icons-item .facebook-social-icon { background: #1877f2 !important; }
body.wg-mmenu #mobile-social-icons .social-icons-item .twitter-social-icon { background: #000 !important; }
body.wg-mmenu #mobile-social-icons .social-icons-item .instagram-social-icon { background: radial-gradient(circle at 30% 110%, #fdcb52 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%) !important; }
body.wg-mmenu #mobile-social-icons .social-icons-item .custom-link-1-social-icon { background: #ff0000 !important; }

/* ================= 15) نافذة "شاهد أيضاً" ================= */
body.single.wg-single #check-also-box { width: 330px; padding: 20px 20px 18px; border: 0 !important; border-radius: 0 18px 18px 0 !important; background: #fff; box-shadow: 0 18px 50px rgba(13,36,51,.28); border-top: 4px solid #48a0c8 !important; font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif); }
body.single.wg-single #check-also-box .widget-title, body.single.wg-single #check-also-box .the-global-title { border: 0 !important; padding: 0 0 12px !important; margin: 0 0 14px !important; border-bottom: 1px solid #eef2f5 !important; }
body.single.wg-single #check-also-box .widget-title:before, body.single.wg-single #check-also-box .widget-title:after, body.single.wg-single #check-also-box .the-global-title:after, body.single.wg-single #check-also-box .the-global-title:before { display: none !important; }
body.single.wg-single #check-also-box .the-subtitle { display: flex !important; align-items: center; gap: 10px; font-size: 17px !important; font-weight: 800 !important; color: #1d2731 !important; }
body.single.wg-single #check-also-box .the-subtitle:before { content: ""; width: 16px; height: 16px; border-radius: 6px 6px 6px 2px; background: #48a0c8; box-shadow: -3px 3px 0 -1px #c4ccd2; }
body.single.wg-single #check-also-box #check-also-close { width: 32px; height: 32px; border-radius: 10px 10px 10px 3px; background: #f2f5f7; color: #6b7680 !important; display: flex; align-items: center; justify-content: center; top: 14px !important; left: 14px !important; }
body.single.wg-single #check-also-box .post-widget-thumbnail, body.single.wg-single #check-also-box .post-thumb, body.single.wg-single #check-also-box img { border-radius: 12px 12px 12px 3px !important; overflow: hidden; }
body.single.wg-single #check-also-box img { aspect-ratio: 16/10; object-fit: cover; width: 100% !important; height: auto !important; }
body.single.wg-single #check-also-box .post-title { font-size: 16.5px !important; font-weight: 700 !important; line-height: 1.6 !important; margin-top: 10px !important; }
body.single.wg-single #check-also-box .post-title a { color: #1d2731 !important; }
body.single.wg-single #check-also-box .post-cat { border-radius: 8px 8px 8px 2px; }
body.single.wg-single #check-also-box .post-meta { color: #8a97a1; font-size: 12.5px; }

/* ================= 16) فصل عناصر القائمة + القائمة المنسدلة الكبيرة ================= */
@media (min-width: 992px) {
	body.wg-header #main-nav .main-menu .menu > li > a {
		font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif) !important;
		font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0 !important;
		padding: 0 20px !important;
	}
	/* فاصل رفيع بين الأقسام */
	body.wg-header #main-nav .main-menu .menu > li { position: relative; }
	body.wg-header #main-nav .main-menu .menu > li:not(.menu-item-home):not(:last-child)::after {
		content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 18px; margin-top: -9px;
		background: rgba(255,255,255,.22); pointer-events: none;
	}
	/* القائمة المنسدلة الكبيرة: خلفية بيضاء ونصوص واضحة */
	body.wg-header #main-nav .mega-menu-block,
	body.wg-header #main-nav .menu-sub-content { background: #fff !important; color: #1d2731 !important; }
	body.wg-header #main-nav .mega-menu-block { padding: 26px !important; }
	body.wg-header #main-nav .mega-menu-block .post-title,
	body.wg-header #main-nav .mega-menu-block .post-title a,
	body.wg-header #main-nav .mega-menu-block h2 a, body.wg-header #main-nav .mega-menu-block h3 a {
		color: #1d2731 !important; font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif) !important; font-weight: 700 !important; line-height: 1.6 !important;
	}
	body.wg-header #main-nav .mega-menu-block .post-title a:hover { color: #2a7ea8 !important; }
	body.wg-header #main-nav .mega-menu-block .post-meta,
	body.wg-header #main-nav .mega-menu-block .post-meta *,
	body.wg-header #main-nav .mega-menu-block .date { color: #6b7680 !important; opacity: 1 !important; font-size: 13px !important; }
	body.wg-header #main-nav .mega-menu-block .meta-comment,
	body.wg-header #main-nav .mega-menu-block .tie-icon-comments,
	body.wg-header #main-nav .mega-menu-block a[href*="#respond"] { display: none !important; }
	body.wg-header #main-nav .mega-menu-block img { border-radius: 10px 10px 10px 3px; }
	body.wg-header #main-nav .mega-menu-block .mega-menu-post { border-color: #eef2f5 !important; }
	/* القوائم الفرعية العادية (أخبار العالم، المقالات) */
	body.wg-header #main-nav .menu-sub-content:not(.mega-menu-block) a { color: #1d2731 !important; font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif) !important; font-weight: 600; }
	body.wg-header #main-nav .menu-sub-content:not(.mega-menu-block) li:hover > a { color: #2a7ea8 !important; background: #f2f8fb !important; }
}

/* ================= 17) صفحة اتصل بنا ================= */
.wg-ct { font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif); margin-bottom: 10px; }
.wg-ct-hero { position: relative; overflow: hidden; border-radius: 18px 18px 18px 5px; padding: 34px 32px; color: #fff; background: radial-gradient(130% 140% at 100% 0%, #2a7ea8 0%, #154a66 50%, #0b1f2c 100%); margin-bottom: 24px; }
.wg-ct-hero:before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(45deg, #fff 25%, transparent 25%), linear-gradient(-45deg, #fff 25%, transparent 25%); background-size: 26px 26px; -webkit-mask-image: linear-gradient(to left, transparent 40%, #000); mask-image: linear-gradient(to left, transparent 40%, #000); }
.wg-ct-hero > * { position: relative; }
.wg-ct-k { display: inline-flex; align-items: center; gap: 8px; color: #9fd3ec; font-weight: 700; font-size: 14px; }
.wg-ct-k:before { content: ""; width: 11px; height: 11px; border-radius: 4px 4px 4px 1px; background: #48a0c8; }
.wg-ct-hero h2 { color: #fff !important; font-size: 32px !important; font-weight: 800 !important; margin: 8px 0 10px !important; }
.wg-ct-hero p { color: rgba(255,255,255,.82) !important; font-size: 16px !important; line-height: 1.9 !important; margin: 0 0 16px !important; max-width: 620px; }
.wg-ct-loc { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.wg-ct-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.wg-ct-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border-radius: 16px 16px 16px 4px; box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 6px 18px rgba(16,40,56,.06); text-decoration: none !important; color: #1d2731 !important; transition: transform .2s, box-shadow .2s; border: 1px solid #eef2f5; }
.wg-ct-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,40,56,.12); }
.wg-ct-ic { flex: 0 0 52px; height: 52px; border-radius: 14px 14px 14px 4px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.wg-ct-wa .wg-ct-ic { background: #25d366; } .wg-ct-x .wg-ct-ic { background: #000; } .wg-ct-fb .wg-ct-ic { background: #1877f2; } .wg-ct-yt .wg-ct-ic { background: #ff0000; } .wg-ct-ml .wg-ct-ic { background: #2a7ea8; }
.wg-ct-ig .wg-ct-ic { background: radial-gradient(circle at 30% 110%, #fdcb52 0%, #fd5949 40%, #d6249f 65%, #285aeb 100%); }
.wg-ct-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wg-ct-t b { font-size: 16.5px; font-weight: 700; }
.wg-ct-t small { font-size: 14px; color: #6b7680; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.wg-ct-go { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #2a7ea8; background: #e9f4fa; padding: 6px 12px; border-radius: 999px; }
.wg-ct-wa, .wg-ct-ml { grid-column: 1 / -1; }
.wg-ct-wa { background: linear-gradient(160deg, #f0fff5, #fff); border-color: #c9f2d7; }
.wg-ct-wa .wg-ct-go { background: #25d366; color: #fff; }
.wg-ct-form-h { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: #1d2731; margin: 34px 0 16px; }
.wg-ct-form-h span { width: 22px; height: 22px; border-radius: 8px 8px 8px 2px; background: #48a0c8; box-shadow: -4px 4px 0 -1px #c4ccd2; }
/* نموذج المراسلة */
.wpcf7 { font-family: var(--wg-font, 'IBM Plex Sans Arabic', sans-serif); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100% !important; border: 1.5px solid #dfe6eb !important; border-radius: 12px 12px 12px 4px !important; padding: 12px 14px !important; font-size: 15px !important; background: #f8fafb !important; font-family: inherit; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: #48a0c8 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(72,160,200,.15); outline: 0; }
.wpcf7 input[type="submit"] { background: #2a7ea8 !important; color: #fff !important; border: 0 !important; border-radius: 12px 12px 12px 4px !important; padding: 13px 34px !important; font-size: 16px !important; font-weight: 700 !important; cursor: pointer; font-family: inherit; }
.wpcf7 input[type="submit"]:hover { background: #154a66 !important; }
@media (max-width: 600px) {
	.wg-ct-hero { padding: 26px 20px; } .wg-ct-hero h2 { font-size: 25px !important; }
	.wg-ct-grid { grid-template-columns: 1fr; }
}
/* إصلاح: القائمة الكبيرة تأخذ عرض الشريط كاملاً؛ الفاصل كخلفية بدل عنصر مطلق */
@media (min-width: 992px) {
	body.wg-header #main-nav .main-menu .menu > li { position: static !important; }
	body.wg-header #main-nav .main-menu .menu > li:not(.mega-menu) { position: relative !important; }
	body.wg-header #main-nav .main-menu .menu > li::after { display: none !important; }
	body.wg-header #main-nav .main-menu .menu > li:not(.menu-item-home):not(:last-child) {
		background: linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) left center / 1px 18px no-repeat !important;
	}
}
/* archive: whole card clickable */
body.wg-archive #posts-container > li.post-item .post-title a:before { content: ""; position: absolute; inset: 0; z-index: 1; }
body.wg-archive #posts-container > li.post-item { cursor: pointer; }

/* ===== 18. زينة العيد الوطني (module natday) — أطفئ الوحدة من الإعدادات للرجوع ===== */
body.wg-natday #theme-header .header-container { position: relative; display: flow-root; }
body.wg-natday #theme-header .header-container:before,
body.wg-natday #theme-header .header-container:after { content: ""; display: block; position: absolute; z-index: 0; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
body.wg-natday #theme-header .header-container:before { top: 0; left: 0; width: 470px; height: 47px; background-image: url(/wp-content/plugins/wa-gulf-redesign/img/nd-ribbon.webp); background-position: left top; }
body.wg-natday #theme-header .header-container:after { bottom: 0; right: 215px; width: 560px; height: 118px; background-image: url(/wp-content/plugins/wa-gulf-redesign/img/nd-sky.webp); background-position: center bottom; }
body.wg-natday #theme-header .logo-wrapper, body.wg-natday #theme-header .wg-htools, body.wg-natday #theme-header #logo, body.wg-natday #theme-header .mobile-header-components { position: relative; z-index: 1; }
body.wg-natday #theme-header { position: relative; }
body.wg-natday #theme-header:after { content: ""; display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 5; pointer-events: none; background: linear-gradient(to left, #db161b 0 33.3%, #fff 33.3% 66.6%, #008000 66.6% 100%); }
@media (max-width: 1240px) { body.wg-natday #theme-header .header-container:after { width: 430px; height: 92px; } }
@media (max-width: 991px) {
	body.wg-natday #theme-header .header-container:before { left: 0; width: 330px; height: 33px; }
	body.wg-natday #theme-header .logo-container { background: transparent !important; }
	body.wg-natday #theme-header { background: #fff; }
	body.wg-natday #theme-header .header-container:after { right: 0; left: 0; width: 100%; height: 78px; opacity: .32; background-position: center bottom; }
}
