/* ===== BPW Blog: breadcrumbs + sidebar + single/archive polish ===== */

/* ---------- Breadcrumbs ---------- */
.bpw-bc{display:flex;justify-content:center;font-size:14px;line-height:1.6}
.bpw-bc__list{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 0;margin:0;padding:0;list-style:none;max-width:100%}
.bpw-bc__item{display:inline-flex;align-items:center;min-width:0}
.bpw-bc__sep{margin:0 8px;opacity:.6;font-size:1.1em}
.bpw-bc__link,.bpw-bc__current{display:inline-flex;align-items:center;gap:6px;text-decoration:none;transition:color .2s}
.bpw-bc__current span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46ch}
.bpw-bc__home{flex:none;margin-top:-2px}

/* glass (على البانر الغامق) */
.bpw-bc-style-glass .bpw-bc__list{padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.bpw-bc-style-glass .bpw-bc__link,.bpw-bc-style-glass .bpw-bc__sep{color:rgba(255,255,255,.8)}
.bpw-bc-style-glass .bpw-bc__link:hover{color:#fff}
.bpw-bc-style-glass .bpw-bc__current{color:#fff;font-weight:600}

/* light (على خلفية فاتحة) */
.bpw-bc-style-light .bpw-bc__list{padding:8px 18px;border-radius:999px;background:#F2F6F9;border:1px solid #e3e9ef}
.bpw-bc-style-light .bpw-bc__link,.bpw-bc-style-light .bpw-bc__sep{color:#5b6573}
.bpw-bc-style-light .bpw-bc__link:hover{color:#c8102e}
.bpw-bc-style-light .bpw-bc__current{color:#04213F;font-weight:600}

/* plain */
.bpw-bc-style-plain .bpw-bc__link,.bpw-bc-style-plain .bpw-bc__sep{color:inherit;opacity:.8}
.bpw-bc-style-plain .bpw-bc__current{font-weight:600}

@media (max-width:767px){
	.bpw-bc{font-size:13px}
	.bpw-bc__current span{max-width:24ch}
	.bpw-bc-style-glass .bpw-bc__list,.bpw-bc-style-light .bpw-bc__list{padding:6px 14px;border-radius:16px}
}

/* ---------- Sidebar ---------- */
.bpw-sb{--bpw-sb-accent:#c8102e;--bpw-sb-cta:#04213F;display:flex;flex-direction:column;gap:22px;color:#1a1a1a}
@media (min-width:1025px){.bpw-sb--sticky{position:sticky;top:30px}}
.admin-bar .bpw-sb--sticky{top:62px}
.bpw-sb__box{background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:22px;box-shadow:0 6px 24px rgba(4,33,63,.05)}
.bpw-sb__title{position:relative;margin:0 0 16px;padding-bottom:12px;font-size:18px;font-weight:700;color:#04213F;border-bottom:1px solid #eef1f4}
.bpw-sb__title::after{content:"";position:absolute;bottom:-1px;right:0;width:44px;height:3px;border-radius:3px;background:var(--bpw-sb-accent)}

.bpw-sb__search{position:relative;display:flex;background:#fff;border:1px solid #e6ebf0;border-radius:14px;overflow:hidden;box-shadow:0 6px 24px rgba(4,33,63,.05)}
.bpw-sb__search input[type=search]{flex:1;min-width:0;height:52px;border:0!important;background:transparent!important;padding:0 18px!important;font-size:15px;box-shadow:none!important;outline:0;border-radius:0!important}
.bpw-sb__search button{flex:none;width:52px;height:52px;padding:0!important;border:0!important;border-radius:0!important;background:var(--bpw-sb-accent)!important;color:#fff!important;display:flex;align-items:center;justify-content:center;cursor:pointer}
.bpw-sb__search button:hover{filter:brightness(.92)}
.bpw-sb__search:focus-within{border-color:var(--bpw-sb-accent)}

.bpw-sb__cats{list-style:none;margin:0;padding:0}
.bpw-sb__cats li+li{margin-top:6px}
.bpw-sb__cats a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:10px;background:#F7F9FB;color:#1a1a1a;text-decoration:none;font-weight:500;transition:background .2s,color .2s}
.bpw-sb__cats a em{font-style:normal;font-size:12px;min-width:26px;height:26px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#5b6573;border:1px solid #e6ebf0}
.bpw-sb__cats a:hover,.bpw-sb__cats a.is-active{background:var(--bpw-sb-accent);color:#fff}
.bpw-sb__cats a:hover em,.bpw-sb__cats a.is-active em{background:rgba(255,255,255,.2);border-color:transparent;color:#fff}

.bpw-sb__posts{list-style:none;margin:0;padding:0}
.bpw-sb__posts li+li{margin-top:14px;padding-top:14px;border-top:1px solid #eef1f4}
.bpw-sb__posts a{display:flex;gap:14px;align-items:flex-start;text-decoration:none;color:inherit}
.bpw-sb__thumb{flex:none;width:76px;height:76px;border-radius:10px;overflow:hidden;background:#eef1f4}
.bpw-sb__thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.bpw-sb__posts a:hover img{transform:scale(1.06)}
.bpw-sb__meta{display:flex;flex-direction:column;gap:4px;min-width:0}
.bpw-sb__cat{color:var(--bpw-sb-accent);font-size:12px;font-weight:600}
.bpw-sb__meta strong{font-size:14px;line-height:1.55;font-weight:600;color:#1a1a1a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}
.bpw-sb__posts a:hover strong{color:var(--bpw-sb-accent)}
.bpw-sb__meta time{font-size:12px;color:#8a94a1}

.bpw-sb__social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bpw-sb__social a{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#F7F9FB;color:#1a1a1a;text-decoration:none;font-size:14px;font-weight:500;transition:background .2s,color .2s}
.bpw-sb__social a svg{flex:none}
.bpw-sb__social a.is-facebook svg{color:#1877f2}
.bpw-sb__social a.is-instagram svg{color:#d6249f}
.bpw-sb__social a.is-linkedin svg{color:#0a66c2}
.bpw-sb__social a.is-whatsapp svg{color:#25d366}
.bpw-sb__social a:hover{background:#04213F;color:#fff}
.bpw-sb__social a:hover svg{color:#fff}

.bpw-sb__cta{position:relative;overflow:hidden;border-radius:14px;padding:26px 22px;background:var(--bpw-sb-cta);color:#fff}
.bpw-sb__cta::before{content:"";position:absolute;top:-40px;left:-40px;width:140px;height:140px;border-radius:50%;background:var(--bpw-sb-accent);opacity:.35}
.bpw-sb__cta h4{position:relative;margin:0 0 8px;font-size:20px;font-weight:700;color:#fff}
.bpw-sb__cta p{position:relative;margin:0 0 18px;font-size:14px;line-height:1.7;color:rgba(255,255,255,.82)}
.bpw-sb__cta a{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:11px 22px;border-radius:10px;background:var(--bpw-sb-accent);color:#fff;font-weight:600;text-decoration:none;transition:filter .2s}
.bpw-sb__cta a:hover{filter:brightness(.92);color:#fff}

@media (max-width:1024px){.bpw-sb{margin-top:10px}}
