/*
Theme Name: Beauty Laser
Theme URI: https://beauty-laser.cc/
Author: Beauty Laser
Description: ثيم خاص بموقع بيوتي ليزر لمراجعات أجهزة الليزر المنزلية. عربي (RTL) وسريع وبدون إضافات، ويدعم جداول TablePress وكروت المنتجات والتاقات والنجوم.
Version: 3.0.1
Update URI: false
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beauty-laser
Tags: rtl-language-support, blog, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ------------------------------------------------------------------
   1. Tokens
------------------------------------------------------------------- */
:root {
	--bl-accent: #B0386A;
	--bl-accent-dark: #8A2952;
	--bl-blush: #E9A9C4;
	--bl-ink: #24171F;
	--bl-ink-2: #3D2A37;
	--bl-text: #3A2B33;
	--bl-muted: #6B5A63;
	--bl-nude: #F6ECE6;
	--bl-nude-2: #EFE0D7;
	--bl-line: #EFE3DC;
	--bl-ivory: #FFFCFA;
	--bl-white: #FFFFFF;
	--bl-star: #E3A008;
	--bl-good: #1F7A4D;
	--bl-bad: #B42339;

	--bl-head: "Alexandria", "IBM Plex Sans Arabic", Tahoma, sans-serif;
	--bl-body: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;

	--bl-r-sm: 12px;
	--bl-r: 20px;
	--bl-r-lg: 32px;
	--bl-shadow: 0 14px 34px rgba(36, 23, 31, 0.08);
	/* Surfaces that switch in night mode */
	--bl-bg: var(--bl-ivory);
	--bl-surface: #FFFFFF;
	--bl-deep: #24171F;          /* brand dark blocks (footer, quiz, table heads) */
	--bl-tile: #F6ECE6;          /* product image pads stay light in both modes */
	--bl-header-bg: rgba(255, 252, 250, .92);
	--bl-lead: #5A4A53;
	--bl-container: 1200px;
	--bl-narrow: 760px;
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: var(--bl-bg);
	color: var(--bl-ink);
	font-family: var(--bl-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--bl-accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--bl-accent-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--bl-head); color: var(--bl-ink); line-height: 1.4; font-weight: 700; margin: 0 0 .6em; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--bl-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--bl-blush); color: var(--bl-deep); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.bl-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--bl-deep); color: #fff; padding: 10px 16px; border-radius: 999px; }
.bl-skip:focus { top: 12px; color: #fff; }

.bl-container { width: 100%; max-width: var(--bl-container); margin-inline: auto; padding-inline: 24px; }
.bl-narrow { width: 100%; max-width: var(--bl-narrow); margin-inline: auto; padding-inline: 24px; }
.bl-wide { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: 24px; }
.bl-section { padding-block: 72px; }
.bl-band { background: var(--bl-nude); }
.bl-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.bl-section-head .bl-section-title { margin: 0; }
.bl-section-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.bl-section-sub { color: var(--bl-muted); margin-bottom: 24px; }
.bl-link-more { font-weight: 600; display: inline-flex; gap: 6px; }

.bl-kicker { margin: 0 0 12px; color: var(--bl-accent); font-weight: 600; font-size: 14px; }
.bl-kicker--pill { display: inline-block; background: var(--bl-nude); color: var(--bl-accent-dark); padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.bl-kicker--light { color: var(--bl-blush); }

/* Buttons */
.bl-btn, .entry-content .bl-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 24px;
	background: var(--bl-accent); color: #fff; border: 1.5px solid var(--bl-accent);
	border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.3;
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.bl-btn:hover, .entry-content .bl-btn:hover, .wp-block-button__link:hover { background: var(--bl-accent-dark); border-color: var(--bl-accent-dark); color: #fff; }
.bl-btn--ghost, .entry-content .bl-btn--ghost { background: transparent; color: var(--bl-ink); border-color: var(--bl-ink); }
.bl-btn--ghost:hover, .entry-content .bl-btn--ghost:hover { background: var(--bl-deep); border-color: var(--bl-ink); color: #fff; }
.bl-btn--dark, .entry-content .bl-btn--dark { background: var(--bl-deep); border-color: var(--bl-deep); color: #fff; }
.bl-btn--lg { min-height: 54px; padding: 14px 30px; font-size: 16px; }

.bl-pill {
	display: inline-block; background: var(--bl-nude); color: var(--bl-accent-dark);
	font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; line-height: 1.6;
}
.bl-pill:hover { background: var(--bl-nude-2); color: var(--bl-accent-dark); }

/* ------------------------------------------------------------------
   3. Header
------------------------------------------------------------------- */
.bl-progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.bl-progress span { display: block; height: 100%; background: var(--bl-accent); transform: scaleX(0); transform-origin: right; }
.admin-bar .bl-progress { top: 32px; }

.bl-header { background: var(--bl-header-bg); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--bl-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .bl-header { top: 32px; }
.bl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.bl-logo, .custom-logo-link { display: inline-flex; align-items: center; gap: 12px; color: var(--bl-ink); flex-shrink: 0; }
.bl-logo:hover { color: var(--bl-ink); }
.bl-logo__text { display: flex; flex-direction: column; gap: 7px; line-height: 1.15; }
.bl-logo__name { font-family: var(--bl-head); font-weight: 700; font-size: 21px; }
.bl-logo__latin { font-family: var(--bl-head); font-size: 10.5px; letter-spacing: 2.5px; color: var(--bl-muted); }
.custom-logo { max-height: 56px; width: auto; }

.bl-nav { display: flex; align-items: center; gap: 12px; }
.bl-nav__list, .bl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.bl-nav a { display: block; color: var(--bl-ink); font-weight: 500; font-size: 14.5px; padding: 9px 12px; border-radius: 999px; white-space: nowrap; }
.bl-nav a:hover, .bl-nav .current-menu-item > a, .bl-nav .current_page_item > a { background: var(--bl-nude); color: var(--bl-accent-dark); }
.bl-nav li { position: relative; }
.bl-nav .sub-menu {
	position: absolute; inset-inline-start: 0; top: 100%; min-width: 220px; z-index: 10;
	flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
	background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: var(--bl-r-sm); box-shadow: var(--bl-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.bl-nav li:hover > .sub-menu, .bl-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bl-nav .sub-menu a { border-radius: 8px; }

.bl-menu-toggle, .bl-search-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 0; border-radius: 999px; background: transparent; color: var(--bl-ink); cursor: pointer;
}
.bl-search-toggle:hover, .bl-menu-toggle:hover { background: var(--bl-nude); }
.bl-menu-toggle { display: none; }
.bl-search-panel { border-top: 1px solid var(--bl-line); padding-block: 16px; background: var(--bl-bg); }

.bl-searchform { display: flex; gap: 8px; max-width: 640px; }
.bl-searchform input[type="search"] {
	flex: 1; min-width: 0; height: 50px; padding-inline: 20px; border: 1.5px solid var(--bl-nude-2);
	border-radius: 999px; background: var(--bl-surface); font-size: 15px;
}
.bl-searchform input[type="search"]:focus { border-color: var(--bl-accent); outline: none; }

@media (max-width: 900px) {
	.bl-menu-toggle { display: inline-flex; }
	.bl-nav {
		display: none; position: absolute; inset-inline: 0; top: 100%;
		flex-direction: column; align-items: stretch; padding: 12px 24px 20px;
		background: var(--bl-bg); border-bottom: 1px solid var(--bl-line); box-shadow: var(--bl-shadow);
	}
	.bl-nav.is-open { display: flex; }
	.bl-nav__list, .bl-nav ul { flex-direction: column; align-items: stretch; }
	.bl-nav a { padding: 12px 14px; font-size: 16px; }
	.bl-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 16px 0 0; background: transparent; }
	.bl-search-toggle { align-self: flex-start; }
}
@media (max-width: 782px) { .admin-bar .bl-header, .admin-bar .bl-progress { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bl-header { top: 0; } }

/* ------------------------------------------------------------------
   4. Homepage
------------------------------------------------------------------- */
.bl-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 64px 56px; }
.bl-hero__copy { flex: 1 1 460px; min-width: 0; }
.bl-hero__title { font-size: clamp(32px, 4.3vw, 50px); line-height: 1.3; margin-bottom: 20px; }
.bl-hero__title span { color: var(--bl-accent); display: block; }
.bl-hero__text { font-size: 19px; line-height: 1.85; color: var(--bl-lead); max-width: 540px; margin-bottom: 32px; }
.bl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bl-hero__media {
	flex: 1 1 400px; min-width: 0; position: relative; min-height: 420px; border-radius: var(--bl-r-lg);
	background: var(--bl-tile); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.bl-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-hero__rings, .bl-hero__rings::before { position: absolute; border: 1px solid #E5CFC4; border-radius: 50%; }
.bl-hero__rings { inset: 12%; }
.bl-hero__rings::before { content: ""; inset: 18%; }
.bl-hero__media .bl-mark { position: relative; }
.bl-hero__score {
	position: absolute; bottom: 24px; inset-inline-start: 24px; display: flex; align-items: center; gap: 14px;
	background: var(--bl-surface); border-radius: 18px; padding: 14px 18px; box-shadow: var(--bl-shadow); max-width: calc(100% - 48px);
}
.bl-hero__score-num { font-family: var(--bl-head); font-size: 28px; font-weight: 700; color: var(--bl-accent); }
.bl-hero__score-text { font-size: 14px; line-height: 1.5; color: var(--bl-ink-2); font-weight: 500; }

.bl-trust { background: var(--bl-surface); border-block: 1px solid var(--bl-line); }
.bl-trust__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding-block: 28px; }
.bl-trust__item { display: flex; gap: 14px; align-items: flex-start; color: var(--bl-accent); }
.bl-trust__item svg { flex-shrink: 0; }
.bl-trust__title { margin: 0 0 2px; font-weight: 700; color: var(--bl-ink); }
.bl-trust__text { margin: 0; font-size: 14px; color: var(--bl-muted); line-height: 1.6; }

/* Quiz */
.bl-quiz { background: var(--bl-deep); color: #FFFCFA; border-radius: var(--bl-r-lg); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 40px 48px; }
.bl-quiz__intro { flex: 1 1 320px; min-width: 0; }
.bl-quiz__title { color: #FFFCFA; font-size: clamp(26px, 3vw, 34px); line-height: 1.4; }
.bl-quiz__text { color: #D9CBD2; margin: 0; }
.bl-quiz__body { flex: 1 1 520px; min-width: 0; }
.bl-quiz__tones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.bl-tone {
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; min-height: 44px;
	background: transparent; border: 1.5px solid #4A3644; border-radius: 16px; cursor: pointer; transition: .15s;
}
.bl-tone:hover { border-color: #7A6070; }
.bl-tone[aria-pressed="true"] { background: #3D2A37; border-color: var(--bl-blush); }
.bl-tone__dot {
	width: 44px; height: 44px; border-radius: 50%; background: var(--c); display: flex; align-items: center; justify-content: center;
	font-weight: 700; color: var(--bl-deep);
}
.bl-tone:nth-child(n+5) .bl-tone__dot { color: #fff; }
.bl-tone__name { font-size: 12px; line-height: 1.4; color: #D9CBD2; text-align: center; }
.bl-quiz__result { margin-top: 18px; background: #33232E; border-radius: var(--bl-r); padding: 22px 24px; }
.bl-quiz__verdict { margin: 0 0 6px; font-weight: 700; font-size: 17px; }
.bl-quiz__verdict[data-level="good"] { color: #9FE0B8; }
.bl-quiz__verdict[data-level="warn"] { color: #F2D28B; }
.bl-quiz__verdict[data-level="bad"] { color: #F4A6A6; }
.bl-quiz__advice { margin: 0 0 14px; color: #E8DDE2; font-size: 15px; line-height: 1.85; }
.bl-quiz__link { color: #FFFCFA; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--bl-blush); }
.bl-quiz__link:hover { color: var(--bl-blush); }
@media (max-width: 560px) {
	.bl-quiz__tones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Guides list */
.bl-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; counter-reset: g; }
.bl-guides li { counter-increment: g; }
.bl-guides a {
	display: block; height: 100%; background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: var(--bl-r);
	padding: 22px 24px; color: var(--bl-ink); font-weight: 600; font-size: 17px; line-height: 1.6; transition: .15s;
}
.bl-guides a::before { content: counter(g, decimal-leading-zero); display: block; color: var(--bl-accent); font-family: var(--bl-head); font-weight: 700; margin-bottom: 8px; }
.bl-guides a:hover { border-color: var(--bl-accent); color: var(--bl-ink); transform: translateY(-2px); }

/* Newsletter */
.bl-newsletter { border: 1px solid var(--bl-line); border-radius: var(--bl-r-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; background: var(--bl-surface); }
.bl-newsletter > div:first-child { flex: 1 1 340px; }
.bl-newsletter__title { font-size: 26px; margin-bottom: 6px; }
.bl-newsletter p { margin: 0; color: var(--bl-muted); }
.bl-newsletter__form { flex: 1 1 360px; }
.bl-newsletter__form input[type="email"], .bl-newsletter__form input[type="text"] { height: 50px; border: 1.5px solid var(--bl-nude-2); border-radius: 999px; padding-inline: 20px; background: var(--bl-surface); width: 100%; }
.bl-newsletter__form input[type="submit"], .bl-newsletter__form button { min-height: 50px; border: 0; border-radius: 999px; padding-inline: 28px; background: var(--bl-accent); color: #fff; font-weight: 600; cursor: pointer; }

/* ------------------------------------------------------------------
   5. Post cards & grids
------------------------------------------------------------------- */
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.bl-post-card { background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.bl-post-card:hover { box-shadow: var(--bl-shadow); transform: translateY(-3px); }
.bl-post-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--bl-tile); }
.bl-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-post-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.bl-post-card__media .bl-badge { position: absolute; top: 14px; inset-inline-start: 14px; }
.bl-post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.bl-post-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bl-post-card__score { font-family: var(--bl-head); font-weight: 700; color: var(--bl-accent); font-size: 18px; display: inline-flex; align-items: center; gap: 4px; }
.bl-post-card__score::before { content: "★"; color: var(--bl-star); font-size: 16px; }
.bl-post-card__title { font-size: 19px; line-height: 1.55; margin: 0; }
.bl-post-card__title a { color: var(--bl-ink); }
.bl-post-card__title a:hover { color: var(--bl-accent); }
.bl-post-card__excerpt { color: var(--bl-muted); font-size: 15px; line-height: 1.75; margin: 0; flex-grow: 1; }
.bl-post-card__more { font-weight: 600; font-size: 15px; }

.bl-archive-head { background: var(--bl-nude); padding-block: 56px 48px; }
.bl-archive-head__title { font-size: clamp(30px, 4vw, 42px); margin: 0; }
.bl-archive-head__desc { color: var(--bl-muted); max-width: 640px; margin-top: 10px; }

.bl-pagination { margin-top: 48px; }
.bl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bl-pagination .page-numbers { min-width: 44px; height: 44px; padding-inline: 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--bl-line); background: var(--bl-surface); color: var(--bl-ink); font-weight: 600; }
.bl-pagination .page-numbers.current { background: var(--bl-deep); border-color: var(--bl-deep); color: #fff; }
.bl-pagination a.page-numbers:hover { border-color: var(--bl-accent); color: var(--bl-accent); }
.bl-empty { text-align: center; padding-block: 40px; }
.bl-empty .bl-searchform { margin-inline: auto; }

/* ------------------------------------------------------------------
   6. Single
------------------------------------------------------------------- */
.bl-single__head { padding-block: 56px 32px; }
.bl-single__pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.bl-single__title { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.35; margin-bottom: 20px; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--bl-muted); font-size: 14px; }
.bl-meta__author { display: inline-flex; align-items: center; gap: 8px; color: var(--bl-ink); font-weight: 600; }
.bl-meta__author img { border-radius: 50%; }
.bl-single__hero { margin: 0 auto 40px; }
.bl-single__hero img { width: 100%; border-radius: var(--bl-r-lg); display: block; max-height: 560px; object-fit: cover; }

.bl-disclosure { display: flex; gap: 10px; align-items: flex-start; background: var(--bl-nude); color: var(--bl-ink-2); border-radius: var(--bl-r-sm); padding: 14px 18px; font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
.bl-disclosure svg { flex-shrink: 0; margin-top: 3px; color: var(--bl-accent); }

.bl-toc { border: 1px solid var(--bl-line); border-radius: var(--bl-r); background: var(--bl-surface); margin-bottom: 36px; overflow: hidden; }
.bl-toc__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px; border: 0; background: transparent; font-family: var(--bl-head); font-weight: 600; font-size: 16px; cursor: pointer; color: var(--bl-ink); }
.bl-toc__toggle svg { transition: transform .2s; }
.bl-toc__toggle[aria-expanded="false"] svg { transform: rotate(90deg); }
.bl-toc__list { margin: 0; padding: 0 22px 18px; padding-inline-start: 44px; font-size: 15px; line-height: 1.6; }
.bl-toc__list li { padding-block: 5px; }
.bl-toc__list a { color: var(--bl-ink-2); }
.bl-toc__list a:hover { color: var(--bl-accent); }
.bl-toc__list li::marker { color: var(--bl-accent); font-weight: 700; }

/* Reading typography */
.bl-content { font-size: 18px; line-height: 1.95; color: var(--bl-text); }
.bl-content > * { margin-block: 0 1.15em; }
.bl-content h2 { font-size: clamp(24px, 2.8vw, 30px); margin: 1.9em 0 .6em; }
.bl-content h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.bl-content h4 { font-size: 19px; margin: 1.4em 0 .5em; }
.bl-content a:not([class]) { text-decoration: underline; text-decoration-color: rgba(176, 56, 106, .35); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.bl-content a:not([class]):hover { text-decoration-color: currentColor; }
.bl-content ul, .bl-content ol { padding-inline-start: 1.4em; }
.bl-content li { margin-bottom: .45em; }
.bl-content li::marker { color: var(--bl-accent); }
.bl-content strong { color: var(--bl-ink); }
.bl-content img { border-radius: var(--bl-r); }
.bl-content figure { margin-inline: 0; }
.bl-content figcaption, .wp-caption-text { font-size: 14px; color: var(--bl-muted); text-align: center; margin-top: 8px; }
.bl-content blockquote, .bl-content .wp-block-quote {
	margin: 1.6em 0; padding: 26px 30px; border: 0; border-radius: var(--bl-r);
	background: var(--bl-nude); color: var(--bl-ink-2); font-size: 18px; position: relative;
}
.bl-content blockquote::before { content: "”"; position: absolute; top: -8px; inset-inline-start: 22px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--bl-accent); }
.bl-content blockquote p:last-child { margin-bottom: 0; }
.bl-content blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--bl-muted); }
.bl-content hr { border: 0; height: 1px; background: var(--bl-line); margin-block: 2.5em; }
.bl-content table:not(.tablepress) { width: 100%; border-collapse: collapse; font-size: 15px; }
.bl-content table:not(.tablepress) th, .bl-content table:not(.tablepress) td { border-bottom: 1px solid var(--bl-line); padding: 12px; text-align: start; }
.bl-content .alignwide { width: min(1040px, 100vw - 48px); max-width: none; margin-inline: calc(50% - min(520px, 50vw - 24px)); }
.bl-content .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.bl-content .alignleft { float: left; margin: .3em 0 1em 1.5em; }
.bl-content .alignright { float: right; margin: .3em 1.5em 1em 0; }
.bl-content .aligncenter { margin-inline: auto; display: block; }

.bl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 32px; }
.bl-tags a { background: var(--bl-surface); border: 1px solid var(--bl-line); color: var(--bl-ink-2); padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.bl-tags a:hover { border-color: var(--bl-accent); color: var(--bl-accent); }

.bl-author { display: flex; gap: 18px; align-items: flex-start; background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 24px; margin-block: 40px; }
.bl-author img { border-radius: 50%; flex-shrink: 0; }
.bl-author__name { font-family: var(--bl-head); font-weight: 700; margin: 0 0 4px; }
.bl-author__bio { margin: 0; color: var(--bl-muted); font-size: 15px; line-height: 1.75; }

.bl-related { background: var(--bl-nude); padding-block: 64px; margin-top: 40px; }

/* Comments */
.bl-comments-wrap { padding-block: 56px; }
.bl-comment-list, .bl-comment-list .children { list-style: none; margin: 0; padding: 0; }
.bl-comment-list .children { padding-inline-start: 28px; }
.bl-comment-list .comment-body { background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 20px 22px; margin-bottom: 14px; }
.bl-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.bl-comment-list .comment-author img { border-radius: 50%; }
.bl-comment-list .says { display: none; }
.bl-comment-list .comment-metadata { font-size: 13px; margin-bottom: 8px; }
.bl-comment-list .comment-metadata a { color: var(--bl-muted); }
.bl-comment-list .reply a { font-size: 14px; font-weight: 600; }
.comment-respond { margin-top: 32px; }
.comment-reply-title { font-size: 24px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 1.5px solid var(--bl-nude-2); border-radius: var(--bl-r-sm); padding: 12px 16px; background: var(--bl-surface);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--bl-accent); outline: none; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }
.comment-notes { color: var(--bl-muted); font-size: 14px; }

/* 404 */
.bl-404 { text-align: center; padding-block: 96px; }
.bl-404__code { font-family: var(--bl-head); font-size: 96px; font-weight: 700; color: var(--bl-accent); line-height: 1; margin-bottom: 16px; }
.bl-404 .bl-searchform { margin: 28px auto; }

/* ------------------------------------------------------------------
   7. Footer
------------------------------------------------------------------- */
.bl-footer { background: var(--bl-deep); color: #D9CBD2; padding-block: 56px 28px; margin-top: 0; }
.bl-footer a { color: #FFFCFA; }
.bl-footer a:hover { color: var(--bl-blush); }
.bl-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #3D2A37; }
.bl-footer .widget-title { color: #FFFCFA; font-size: 17px; }
.bl-footer .widget ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.bl-footer .widget li { padding-block: 4px; }
.bl-footer .widget select, .bl-footer .widget input { max-width: 100%; }
.bl-footer__inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.bl-footer__about { flex: 1 1 340px; max-width: 520px; }
.bl-footer__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--bl-head); font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.bl-footer__note { font-size: 14px; line-height: 1.85; margin: 0; }
.bl-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
.bl-footer__copy { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid #3D2A37; font-size: 13px; color: #A8959F; }

/* ------------------------------------------------------------------
   8. Core blocks & WP classes
------------------------------------------------------------------- */
.has-rose-color { color: #B0386A; } .has-rose-background-color { background-color: #B0386A; }
.has-ink-color { color: #24171F; } .has-ink-background-color { background-color: #24171F; }
.has-nude-color { color: #F6ECE6; } .has-nude-background-color { background-color: #F6ECE6; }
.has-ivory-color { color: #FFFCFA; } .has-ivory-background-color { background-color: #FFFCFA; }
.has-muted-color { color: #6B5A63; } .has-muted-background-color { background-color: #6B5A63; }
.wp-block-image img { border-radius: var(--bl-r); }
.sticky .bl-post-card__title a::after { content: " ★"; color: var(--bl-star); }
.bypostauthor > .comment-body { border-color: var(--bl-blush); }
.gallery-caption, .wp-caption { max-width: 100%; }

@media (max-width: 640px) {
	body { font-size: 16px; }
	.bl-section { padding-block: 52px; }
	.bl-content { font-size: 17px; }
	.bl-hero__inner { padding-block: 40px; gap: 32px; }
	.bl-hero__media { min-height: 300px; }
	.bl-hero__text { font-size: 17px; }
	.bl-content .alignleft, .bl-content .alignright { float: none; margin: 1em auto; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Finder additions (skin-tone quiz) */
.bl-quiz__step { margin: 0 0 10px; font-weight: 700; font-size: 14px; color: #E8DDE2; }
.bl-quiz__step span { font-weight: 400; color: #A8959F; }
.bl-quiz__tones + .bl-quiz__step { margin-top: 20px; }
.bl-tone[aria-pressed="true"] .bl-tone__dot { box-shadow: 0 0 0 3px var(--bl-deep), 0 0 0 5px var(--bl-blush); }
.bl-quiz__hair { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-hairbtn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 10px;
	background: transparent; border: 1.5px solid #4A3644; border-radius: 999px; color: #E8DDE2;
	font-size: 13.5px; font-weight: 500; cursor: pointer; transition: .15s;
}
.bl-hairbtn.is-any { padding-inline: 16px; }
.bl-hairbtn:hover { border-color: #7A6070; }
.bl-hairbtn[aria-pressed="true"] { background: #3D2A37; border-color: var(--bl-blush); color: #fff; }
.bl-hairbtn__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.bl-quiz__count { margin: 6px 0 12px; font-weight: 700; font-size: 15px; color: #fff; }
.bl-quiz__count:empty { display: none; }
.bl-quiz__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bl-match {
	display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px;
	margin: 0; padding: 10px 12px; background: #3D2A37; border-radius: 16px;
}
.bl-match__img { width: 64px; height: 64px; border-radius: 12px; background: var(--bl-tile); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bl-match__img img { max-width: 86%; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.bl-match__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bl-match__top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bl-match__top .bl-badge { font-size: 11.5px; padding: 3px 10px 3px 8px; box-shadow: none; }
.bl-match__top .bl-badge::before { width: 11px; height: 11px; }
.bl-match__tech { font-size: 11.5px; font-weight: 600; color: #D9CBD2; border: 1px solid #5A4554; border-radius: 999px; padding: 2px 8px; }
.bl-match__name { font-family: var(--bl-head); font-weight: 600; font-size: 15px; color: #fff; line-height: 1.45; }
.bl-match .bl-stars::before { font-size: 14px; background-image: linear-gradient(to left, var(--bl-star) calc(var(--r) * 20%), #5A4554 calc(var(--r) * 20%)); }
.bl-match .bl-stars__num { color: #fff; font-size: 13px; }
.bl-match__acts { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.bl-match__buy {
	display: inline-flex; justify-content: center; min-height: 38px; align-items: center; padding: 6px 14px; border-radius: 999px;
	background: var(--bl-blush); color: var(--bl-deep); font-weight: 700; font-size: 13px; white-space: nowrap;
}
.bl-match__buy:hover { background: #fff; color: var(--bl-deep); }
.bl-match__review { text-align: center; font-size: 13px; font-weight: 600; color: #E8DDE2; }
.bl-match__review:hover { color: var(--bl-blush); }
.bl-quiz__more { margin-top: 12px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: transparent; border: 1.5px solid var(--bl-blush); color: #fff; font-weight: 600; cursor: pointer; }
.bl-quiz__more:hover { background: var(--bl-blush); color: var(--bl-deep); }
.bl-finder-wrap { margin: 36px 0; }
.bl-content > .bl-finder-wrap { width: min(1040px, 100vw - 48px); max-width: none; margin-inline: calc(50% - min(520px, 50vw - 24px)); }
@media (max-width: 560px) {
	.bl-match { grid-template-columns: 56px minmax(0, 1fr); }
	.bl-match__img { width: 56px; height: 56px; }
	.bl-match__acts { grid-column: 1 / -1; flex-direction: row; }
	.bl-match__buy { flex: 1; }
	.bl-match__review { align-self: center; padding-inline: 10px; }
	.bl-hairbtn__name { display: none; }
	.bl-hairbtn { padding: 6px; min-width: 40px; justify-content: center; }
	.bl-hairbtn.is-any .bl-hairbtn__name, .bl-hairbtn.is-any { padding-inline: 14px; }
}


/* ------------------------------------------------------------------
   Night mode (الوضع الليلي) — toggled by the moon button, remembered per reader
------------------------------------------------------------------- */
html[data-theme="dark"] {
	color-scheme: dark;
	--bl-bg: #161015;
	--bl-ivory: #161015;
	--bl-surface: #211820;
	--bl-nude: #2A1E28;
	--bl-nude-2: #3D2D39;
	--bl-line: #35262F;
	--bl-ink: #F3E8EE;
	--bl-ink-2: #E0CFD8;
	--bl-text: #D8C6D0;
	--bl-muted: #AC98A3;
	--bl-lead: #CDB9C4;
	--bl-accent: #E57CA7;
	--bl-accent-dark: #F2A7C6;
	--bl-deep: #24171F;
	--bl-tile: #EDE2DC;
	--bl-header-bg: rgba(22, 16, 21, .9);
	--bl-shadow: 0 14px 34px rgba(0, 0, 0, .35);
	--bl-good: #5FCB93;
	--bl-bad: #F08A9A;
}
html[data-theme="dark"] .bl-content > p img, html[data-theme="dark"] .bl-content figure img, html[data-theme="dark"] .bl-post-card__media img, html[data-theme="dark"] .bl-single__hero img { filter: brightness(.92); }

/* Text on the (now light) accent becomes dark */
html[data-theme="dark"] .bl-btn, html[data-theme="dark"] .entry-content .bl-btn, html[data-theme="dark"] .wp-block-button__link,
html[data-theme="dark"] .bl-buys .bl-buy:first-child, html[data-theme="dark"] .bl-buy--primary,
html[data-theme="dark"] .bl-offer.is-first .bl-offer__go,
html[data-theme="dark"] .bl-newsletter__form input[type="submit"], html[data-theme="dark"] .bl-newsletter__form button { color: var(--bl-deep); }
html[data-theme="dark"] .bl-btn:hover, html[data-theme="dark"] .bl-buys .bl-buy:first-child:hover, html[data-theme="dark"] .bl-offer.is-first .bl-offer__go:hover { color: var(--bl-deep); }
html[data-theme="dark"] .bl-btn--ghost, html[data-theme="dark"] .entry-content .bl-btn--ghost { background: transparent; color: var(--bl-ink); }
html[data-theme="dark"] .bl-btn--ghost:hover { background: var(--bl-ink); color: var(--bl-deep); }
html[data-theme="dark"] .bl-btn--dark { background: #3D2A37; border-color: #3D2A37; color: #fff; }
html[data-theme="dark"] .bl-buy:hover, html[data-theme="dark"] .bl-offer__go:hover { background: var(--bl-ink); color: var(--bl-deep); }
html[data-theme="dark"] .bl-badge--value { --bg: var(--bl-badge); }

html[data-theme="dark"] .bl-badge--price, html[data-theme="dark"] .bl-box__tech, html[data-theme="dark"] .bl-card__tech { box-shadow: 0 0 0 1px #4A3644; }

/* Dark blocks sit on a dark page: give them an edge */
html[data-theme="dark"] .bl-quiz, html[data-theme="dark"] .bl-verdict, html[data-theme="dark"] .bl-scores__head { box-shadow: inset 0 0 0 1px #3A2A35; }
html[data-theme="dark"] .bl-footer { border-top: 1px solid var(--bl-line); }

/* Soft tints */
html[data-theme="dark"] .bl-pros { background: #1C2A22; }
html[data-theme="dark"] .bl-cons { background: #2E1A20; }
html[data-theme="dark"] .bl-note { background: #2B2416; border-color: #4A3D1E; color: #EFE3C6; }
html[data-theme="dark"] .bl-note__title { color: #F2D28B; }
html[data-theme="dark"] .tablepress { --hover-bg-color: #2A1E28; }
html[data-theme="dark"] .tablepress > tbody > tr:has(.bl-badge) > td,
html[data-theme="dark"] .tablepress.bl-compare > tbody.is-featured > tr > td { background-color: #2A1A26; }
html[data-theme="dark"] .bl-hero__score { background: var(--bl-surface); }
html[data-theme="dark"] .bl-tones .bl-sw.is-off, html[data-theme="dark"] .bl-swatches .bl-sw.is-off { opacity: .35; }
html[data-theme="dark"] .bl-chart__item.is-off .bl-chart__label { color: #6E5C67; }
html[data-theme="dark"] .bl-badge--cool { --bg: #13303F; --fg: #BFE4F7; --bd: #1F4B63; --ic: #7CC6EE; }
html[data-theme="dark"] .bl-badge--top { --bg: #3A2C10; --fg: #F6D58C; --bd: #5C4718; }
html[data-theme="dark"] .bl-badge--pick { --bg: transparent; --fg: var(--bl-accent); }
html[data-theme="dark"] .bl-badge--new { --bg: #2A1E28; --fg: var(--bl-accent-dark); --bd: #3D2D39; }

/* Theme toggle button */
.bl-theme-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 0; border-radius: 999px; background: transparent; color: var(--bl-ink); cursor: pointer;
}
.bl-theme-toggle:hover { background: var(--bl-nude); }
.bl-theme-toggle .bl-sun { display: none; }
html[data-theme="dark"] .bl-theme-toggle .bl-sun { display: block; }
html[data-theme="dark"] .bl-theme-toggle .bl-moon { display: none; }
html[data-theme="dark"] .tablepress tbody img { mix-blend-mode: normal; background: var(--bl-tile); border-radius: 12px; padding: 6px; }
html[data-theme="dark"] .bl-hero__rings, html[data-theme="dark"] .bl-hero__rings::before { border-color: #E2CEC4; }

.bl-header__tools { display: flex; align-items: center; gap: 4px; }
.bl-nav { margin-inline-start: auto; }

/* Desktop menu: one line, overflow moves into «المزيد» (theme.js) */
@media (min-width: 901px) {
	.bl-nav { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
	.bl-nav > .bl-nav__list { flex-wrap: nowrap; min-width: 0; }
	.bl-nav > .bl-nav__list > li { flex-shrink: 0; }
}
.bl-nav__more > button {
	display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 0; border-radius: 999px;
	background: transparent; color: var(--bl-ink); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.bl-nav__more > button:hover, .bl-nav__more.is-open > button { background: var(--bl-nude); color: var(--bl-accent-dark); }
.bl-nav__more > button svg { transition: transform .15s; }
.bl-nav__more.is-open > button svg { transform: rotate(180deg); }
.bl-nav__more > .sub-menu { inset-inline-start: auto; inset-inline-end: 0; min-width: 260px; }
.bl-nav__more.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bl-nav__more > .sub-menu a { white-space: normal; line-height: 1.5; }


/* ------------------------------------------------------------------
   Article layout with sidebar
------------------------------------------------------------------- */
.bl-single-layout .bl-narrow { padding-inline: 0; }
.bl-single-layout--solo .bl-narrow { padding-inline: 24px; }
@media (min-width: 1100px) {
	.bl-single-layout:not(.bl-single-layout--solo) {
		display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start;
	}
	.bl-single-layout:not(.bl-single-layout--solo) .bl-narrow { max-width: none; margin-inline: 0; }
	.bl-has-sidebar .bl-content > .bl-box, .bl-has-sidebar .bl-content > .bl-cols, .bl-has-sidebar .bl-content .bl-cards,
	.bl-has-sidebar .bl-content > .tablepress, .bl-has-sidebar .bl-content .dt-container, .bl-has-sidebar .bl-content > .bl-scores,
	.bl-has-sidebar .bl-content > .bl-finder-wrap, .bl-has-sidebar .bl-content > .bl-h2h { width: auto; margin-inline: 0; }
	.bl-has-sidebar .bl-toc-fab { display: none !important; }
}
.bl-sidebar { display: flex; flex-direction: column; gap: 20px; padding-block: 56px 40px; }
.bl-sidebar__sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.admin-bar .bl-sidebar__sticky { top: 128px; }
.bl-sidebar .bl-toc-side { position: static; inset: auto; width: auto; max-height: calc(100vh - 170px); box-shadow: none; z-index: auto; }
@media (max-width: 1099px) {
	.bl-sidebar { padding-top: 8px; max-width: 760px; margin-inline: auto; }
	.bl-sidebar .bl-toc-side, .bl-sidebar__sticky { position: static; }
	.bl-sidebar .bl-toc-side { display: none !important; }
}

.bl-side-box { background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: 20px; padding: 18px; }
.bl-side-box__title { margin: 0 0 12px; font-family: var(--bl-head); font-weight: 700; font-size: 16px; color: var(--bl-ink); }
.bl-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bl-side-item { display: flex; align-items: center; gap: 10px; margin: 0; }
.bl-side-item__rank { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bl-nude); color: var(--bl-accent); font-family: var(--bl-head); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bl-side-item__img { flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--bl-tile); display: flex; align-items: center; justify-content: center; }
.bl-side-item__img img { width: 100%; height: 100%; object-fit: cover; }
.bl-side-list--devices .bl-side-item__img img { object-fit: contain; width: 86%; height: 86%; mix-blend-mode: multiply; }
.bl-side-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bl-side-item__title { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--bl-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.bl-side-item__title:hover { color: var(--bl-accent); }
.bl-side-item .bl-stars::before { font-size: 13px; letter-spacing: 0; }
.bl-side-item .bl-stars__num { font-size: 12.5px; }
.bl-side-item__score { font-size: 12.5px; font-weight: 700; color: var(--bl-star); }
.bl-side-cta { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; background: var(--bl-deep); color: #fff; }
.bl-side-cta:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--bl-blush); }
.bl-side-cta__dots { display: flex; gap: 4px; }
.bl-side-cta__dots span { width: 20px; height: 20px; border-radius: 50%; }
.bl-side-cta__title { font-family: var(--bl-head); font-weight: 700; font-size: 16px; line-height: 1.5; }
.bl-side-cta__go { font-size: 13.5px; font-weight: 600; color: var(--bl-blush); }
.bl-sidebar .widget ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.bl-sidebar .widget li { padding-block: 5px; border-top: 1px dashed var(--bl-line); }
.bl-sidebar .widget li:first-child { border-top: 0; }

/* Breadcrumbs */
.bl-crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--bl-muted); }
.bl-crumbs li { display: inline-flex; align-items: center; }
.bl-crumbs li + li::before { content: "‹"; margin-inline: 8px; color: var(--bl-nude-2); font-size: 15px; }
.bl-crumbs a { color: var(--bl-muted); }
.bl-crumbs a:hover { color: var(--bl-accent); }
.bl-crumbs [aria-current] { color: var(--bl-ink-2); }

/* «اقرئي أيضاً» inside the article */
.bl-content .bl-also { margin: 28px 0; }
.bl-also a {
	display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px;
	background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: 18px;
	text-decoration: none !important; color: var(--bl-ink); transition: border-color .15s, box-shadow .15s;
}
.bl-also a:hover { border-color: var(--bl-accent); box-shadow: var(--bl-shadow); color: var(--bl-ink); }
.bl-also__img { flex-shrink: 0; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--bl-tile); }
.bl-also__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bl-also__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bl-also__kicker { font-size: 12.5px; font-weight: 700; color: var(--bl-accent); }
.bl-also__title { font-family: var(--bl-head); font-weight: 600; font-size: 16px; line-height: 1.5; }
.bl-also__score { font-size: 12.5px; font-weight: 700; color: var(--bl-star); }
.bl-also__go { font-size: 20px; color: var(--bl-accent); }

/* Previous / next */
.bl-postnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 32px 0 8px; }
.bl-postnav__item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--bl-line); border-radius: 18px; background: var(--bl-surface); color: var(--bl-ink); }
.bl-postnav__item span { font-size: 12.5px; font-weight: 600; color: var(--bl-muted); }
.bl-postnav__item b { font-family: var(--bl-head); font-size: 15px; line-height: 1.5; }
.bl-postnav__item--next { text-align: end; }
.bl-postnav__item:hover { border-color: var(--bl-accent); color: var(--bl-ink); }

/* Banner spots */
.bl-ad { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 32px 0; text-align: center; clear: both; }
.bl-ad__label { font-size: 11px; letter-spacing: .5px; color: var(--bl-muted); }
.bl-ad__item { width: 100%; display: flex; justify-content: center; }
.bl-ad__item + .bl-ad__item { margin-top: 12px; }
.bl-ad img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin-inline: auto; }
.bl-ad iframe { max-width: 100%; }
.bl-ad--ad-sidebar { margin: 0; }
.bl-grid__ad { grid-column: 1 / -1; }
.bl-grid__ad .bl-ad { margin: 8px 0; }

/* ------------------------------------------------------------------
   Text formats inside articles
------------------------------------------------------------------- */
.bl-content strong, .bl-content b { font-weight: 700; color: var(--bl-ink); }
.bl-content em, .bl-content i { font-style: normal; color: var(--bl-accent-dark); } /* Arabic has no true italics */
.bl-content mark:not([style]), .bl-content .bl-mark-text {
	background: linear-gradient(transparent 52%, #F9CFE0 52%, #F9CFE0 92%, transparent 92%);
	color: inherit; padding-inline: 2px;
}
.bl-content mark[style] { padding: 1px 4px; border-radius: 4px; }
html[data-theme="dark"] .bl-content mark:not([style]) { background: linear-gradient(transparent 50%, rgba(229, 124, 167, .38) 50%, rgba(229, 124, 167, .38) 92%, transparent 92%); }
.bl-content small { font-size: .82em; color: var(--bl-muted); }
.bl-content del, .bl-content s { color: var(--bl-muted); text-decoration-color: var(--bl-bad); }
.bl-content ins { text-decoration: none; background: #E6F4EC; color: #1F5E3D; padding-inline: 3px; border-radius: 4px; }
.bl-content code, .bl-content kbd {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .85em;
	background: var(--bl-nude); padding: 2px 6px; border-radius: 6px; direction: ltr; unicode-bidi: isolate;
}
.bl-content kbd { border: 1px solid var(--bl-nude-2); border-bottom-width: 2px; }
.bl-content pre { background: var(--bl-deep); color: #F3E8EE; padding: 18px 20px; border-radius: var(--bl-r); overflow-x: auto; direction: ltr; font-size: 14px; }
.bl-content pre code { background: none; padding: 0; color: inherit; }
.bl-content abbr[title] { text-decoration: underline dotted; cursor: help; }
.bl-content sup, .bl-content sub { font-size: .7em; }
.bl-content h5 { font-size: 17px; margin: 1.3em 0 .4em; }
.bl-content h6 { font-size: 15px; margin: 1.3em 0 .4em; color: var(--bl-muted); }
.bl-content > h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bl-accent); margin-inline-end: 10px; vertical-align: middle; }

/* Lists */
.bl-content ul:not([class]) { list-style: none; padding-inline-start: 0; }
.bl-content ul:not([class]) > li { position: relative; padding-inline-start: 26px; }
.bl-content ul:not([class]) > li::before {
	content: ""; position: absolute; inset-inline-start: 4px; top: .78em; width: 8px; height: 8px; border-radius: 50%;
	background: var(--bl-accent); box-shadow: 0 0 0 4px var(--bl-nude);
}
.bl-content ul:not([class]) ul { margin-top: .4em; }
.bl-content ul:not([class]) ul > li::before { background: transparent; border: 2px solid var(--bl-accent); box-shadow: none; width: 7px; height: 7px; }
.bl-content ol:not([class]) { list-style: none; counter-reset: bl-ol; padding-inline-start: 0; }
.bl-content ol:not([class]) > li { counter-increment: bl-ol; position: relative; padding-inline-start: 40px; min-height: 30px; }
.bl-content ol:not([class]) > li::before {
	content: counter(bl-ol); position: absolute; inset-inline-start: 0; top: .18em; width: 28px; height: 28px; border-radius: 50%;
	background: var(--bl-nude); color: var(--bl-accent-dark); font-family: var(--bl-head); font-weight: 700; font-size: 14px;
	display: flex; align-items: center; justify-content: center;
}

/* Drop cap, pull quote, separators, buttons from the editor */
/* Arabic letters join, so an enlarged first letter breaks the word: keep it normal and set the opening paragraph larger instead */
.bl-content .has-drop-cap:not(:focus)::first-letter { float: none; font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit; margin: 0; }
.bl-content .has-drop-cap { font-size: 1.12em; color: var(--bl-ink); }
.bl-content .wp-block-pullquote { border: 0; padding: 32px 24px; margin: 2em 0; text-align: center; border-block: 2px solid var(--bl-accent); }
.bl-content .wp-block-pullquote blockquote { background: none; padding: 0; margin: 0; }
.bl-content .wp-block-pullquote blockquote::before { display: none; }
.bl-content .wp-block-pullquote p { font-family: var(--bl-head); font-size: clamp(21px, 2.6vw, 26px); line-height: 1.6; color: var(--bl-ink); font-weight: 600; }
.bl-content .wp-block-separator, .bl-content hr { border: 0; height: 1px; background: var(--bl-line); }
.bl-content .wp-block-separator.is-style-dots { background: none; height: auto; text-align: center; }
.bl-content .wp-block-separator.is-style-dots::before { content: "· · ·"; color: var(--bl-accent); font-size: 24px; letter-spacing: 12px; }
.bl-content .wp-block-button__link { text-decoration: none !important; }
.bl-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--bl-accent); }
.bl-content .wp-block-table table, .bl-content table:not(.tablepress) { border: 1px solid var(--bl-line); border-radius: 16px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.bl-content .wp-block-table th, .bl-content table:not(.tablepress) th { background: var(--bl-nude); font-weight: 700; color: var(--bl-ink); }
.bl-content .wp-block-table td, .bl-content .wp-block-table th { border: 0; border-top: 1px solid var(--bl-line); padding: 12px 14px; }
.bl-content .wp-block-table tr:first-child td, .bl-content .wp-block-table thead th { border-top: 0; }
.bl-content .wp-block-image figcaption, .bl-content .wp-element-caption { font-size: 14px; color: var(--bl-muted); text-align: center; }
@media (min-width: 1100px) { .bl-single-layout:not(.bl-single-layout--solo) > .bl-sidebar { align-self: stretch; } }
.bl-admin-note { background: #FFF3CD; border: 1px dashed #D9A400; color: #5C4400; padding: 10px 14px; border-radius: 10px; font-size: 14px; }

/* ------------------------------------------------------------------
   Footer v2
------------------------------------------------------------------- */
.bl-footer { padding-block: 0 28px; }
.bl-footer__trust {
	list-style: none; margin: 0 0 44px; padding: 26px 0; border-bottom: 1px solid #3D2A37;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.bl-footer__trust li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--bl-blush); }
.bl-footer__trust svg { flex-shrink: 0; margin-top: 2px; }
.bl-footer__trust span { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.6; color: #BFAEB7; }
.bl-footer__trust b { color: #FFFCFA; font-size: 15px; font-family: var(--bl-head); font-weight: 600; }
.bl-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px 40px; }
.bl-footer__about .bl-footer__note { max-width: 360px; margin-bottom: 18px; }
.bl-footer__h { margin: 0 0 14px; font-family: var(--bl-head); font-weight: 700; font-size: 16px; color: #FFFCFA; }
.bl-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.bl-footer__list li { margin: 0; }
.bl-footer__list a { color: #D9CBD2; }
.bl-footer__list a:hover { color: var(--bl-blush); }
.bl-footer__score { color: var(--bl-star); font-size: 12.5px; font-weight: 700; margin-inline-start: 4px; }
.bl-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bl-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #33232E; color: #F3E8EE; }
.bl-social a:hover { background: var(--bl-blush); color: var(--bl-deep); }
.bl-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid #3D2A37; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.bl-footer__copy { margin: 0; font-size: 13px; color: #A8959F; padding: 0; border: 0; }
.bl-footer__disclosure { margin: 0; font-size: 12.5px; line-height: 1.8; color: #A8959F; max-width: 640px; }
@media (max-width: 900px) { .bl-footer__cols { grid-template-columns: 1fr 1fr; } .bl-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bl-footer__cols { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Promo banner — [bl_banner]
------------------------------------------------------------------- */
.bl-banner {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px;
	margin: 36px 0; padding: 28px 32px; border-radius: 26px;
	background: var(--bl-deep); color: #F3E8EE;
}
.bl-banner__deco { position: absolute; z-index: -1; inset-inline-start: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(233, 169, 196, .35); box-shadow: 0 0 0 40px rgba(233, 169, 196, .06), 0 0 0 80px rgba(233, 169, 196, .04); }
.bl-banner__body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bl-banner__kicker { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--bl-blush); color: var(--bl-deep); font-size: 12.5px; font-weight: 700; }
.bl-banner .bl-banner__title { margin: 0; font-family: var(--bl-head); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.4; color: #fff; }
.bl-banner .bl-banner__text { margin: 0; font-size: 15px; line-height: 1.8; color: #D9CBD2; }
.bl-banner__code { font-size: 14px; color: #D9CBD2; }
.bl-banner__code b { display: inline-block; margin-inline-start: 4px; padding: 2px 10px; border: 1.5px dashed var(--bl-blush); border-radius: 8px; color: #fff; letter-spacing: 1px; font-family: var(--bl-head); }
.bl-banner__img { flex: 0 0 120px; height: 120px; border-radius: 20px; background: var(--bl-tile); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bl-banner .bl-banner__img img { max-width: 86%; max-height: 86%; object-fit: contain; border-radius: 0; mix-blend-mode: multiply; }
.bl-content a.bl-banner__btn, .bl-banner__btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px;
	background: var(--bl-blush); color: var(--bl-deep); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.bl-banner__btn:hover { background: #fff; color: var(--bl-deep); }
.bl-banner--light { background: var(--bl-surface); color: var(--bl-ink); border: 1px solid var(--bl-line); }
.bl-banner--light .bl-banner__title { color: var(--bl-ink); }
.bl-banner--light .bl-banner__text, .bl-banner--light .bl-banner__code { color: var(--bl-ink-2); }
.bl-banner--light .bl-banner__code b { color: var(--bl-ink); border-color: var(--bl-accent); }
.bl-banner--light .bl-banner__kicker, .bl-banner--nude .bl-banner__kicker { background: var(--bl-accent); color: #fff; }
.bl-banner--light .bl-banner__btn, .bl-banner--nude .bl-banner__btn { background: var(--bl-accent); color: #fff; }
.bl-banner--light .bl-banner__btn:hover, .bl-banner--nude .bl-banner__btn:hover { background: var(--bl-accent-dark); color: #fff; }
.bl-banner--light .bl-banner__deco, .bl-banner--nude .bl-banner__deco { border-color: rgba(176, 56, 106, .18); box-shadow: 0 0 0 40px rgba(176, 56, 106, .04), 0 0 0 80px rgba(176, 56, 106, .03); }
.bl-banner--nude { background: var(--bl-nude); color: var(--bl-ink); }
.bl-banner--nude .bl-banner__title { color: var(--bl-ink); }
.bl-banner--nude .bl-banner__text, .bl-banner--nude .bl-banner__code { color: var(--bl-ink-2); }
.bl-banner--nude .bl-banner__code b { color: var(--bl-ink); border-color: var(--bl-accent); }
html[data-theme="dark"] .bl-banner--light .bl-banner__btn, html[data-theme="dark"] .bl-banner--nude .bl-banner__btn { color: var(--bl-deep); }
@media (max-width: 560px) { .bl-banner { padding: 22px; } .bl-banner__btn { width: 100%; justify-content: center; } .bl-banner__img { flex-basis: 88px; height: 88px; } }
