:root{
  --fe-bg:#f0f2f5;
  --fe-surface:#ffffff;
  --fe-box:#f8fafc;
  --fe-text:#334155;
  --fe-muted:#64748b;
  --fe-blue:#005088;
  --fe-teal:#11caa0;
  --fe-border:#edf2f7;
  --fe-shadow:rgba(0,0,0,.04);
}
html[data-theme="dark"]{
  --fe-bg:#0b1120;
  --fe-surface:#1e293b;
  --fe-box:#0f172a;
  --fe-text:#f8fafc;
  --fe-muted:#94a3b8;
  --fe-blue:#38bdf8;
  --fe-teal:#11caa0;
  --fe-border:#334155;
  --fe-shadow:rgba(0,0,0,.25);
}
body{
  background:var(--fe-bg)!important;
  color:var(--fe-text);
}
.inside-article,
.site-header,
.main-navigation,
.sidebar .widget,
.footer-widgets,
.site-footer{
  background:var(--fe-surface)!important;
  color:var(--fe-text)!important;
}
.entry-title,
.entry-content,
.entry-content p,
.entry-content li,
.widget-title{
  color:var(--fe-text)!important;
}
.entry-meta,
.entry-summary,
.entry-content figcaption{
  color:var(--fe-muted)!important;
}
a{
  color:var(--fe-blue);
}
.fe-dark-toggle{
  border:0;
  background:transparent;
  color:var(--fe-text);
  cursor:pointer;
  padding:6px 10px;
  font-size:18px;
  line-height:1;
}
.fe-dark-toggle:hover{
  color:var(--fe-teal);
}
.fe-dark-toggle .fe-sun{display:none}
html[data-theme="dark"] .fe-dark-toggle .fe-sun{display:inline}
html[data-theme="dark"] .fe-dark-toggle .fe-moon{display:none}

/* Reading progress bar */
#fe-reading-progress{
  position:fixed;
  top:0;
  left:0;
  width:0;
  height:4px;
  background:linear-gradient(to left,var(--fe-teal),var(--fe-blue));
  z-index:999999;
  pointer-events:none;
  transform:translateZ(0);
}
.admin-bar #fe-reading-progress{
  top:32px;
}
@media(max-width:782px){
  .admin-bar #fe-reading-progress{
    top:46px;
  }
}

/* Copy link button + toast */
.fe-copy-link-box{
  margin:28px 0;
  padding:18px;
  background:var(--fe-box);
  border:1px solid var(--fe-border);
  border-radius:12px;
  text-align:center;
}
.fe-copy-link-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  background:var(--fe-blue);
  color:#fff;
  font-weight:700;
  padding:10px 20px;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.fe-copy-link-btn:hover{
  transform:translateY(-2px);
  background:var(--fe-teal);
}
.fe-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translate(-50%,20px);
  background:var(--fe-blue);
  color:#fff;
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  z-index:999999;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease,transform .25s ease,visibility .25s ease;
}
.fe-toast.is-visible{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}

/* Related posts */
.fe-related-posts{
  margin:34px 0 20px;
  padding-top:24px;
  border-top:1px solid var(--fe-border);
}
.fe-related-title{
  margin:0 0 16px;
  color:var(--fe-blue);
  font-size:20px;
  font-weight:800;
}
.fe-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.fe-related-card{
  display:flex;
  align-items:center;
  min-height:74px;
  padding:16px;
  background:var(--fe-box);
  border:1px solid var(--fe-border);
  border-radius:12px;
  text-decoration:none!important;
  color:var(--fe-text)!important;
  font-weight:700;
  line-height:1.7;
  box-shadow:0 4px 12px var(--fe-shadow);
  transition:transform .2s ease,border-color .2s ease;
}
.fe-related-card:hover{
  transform:translateY(-3px);
  border-color:var(--fe-teal);
  color:var(--fe-teal)!important;
}
@media(max-width:768px){
  .fe-related-grid{
    grid-template-columns:1fr;
  }
}

/* Random quote box */
.fe-random-quote{
  margin:30px 0;
  padding:22px;
  background:var(--fe-box);
  border:1px dashed var(--fe-border);
  border-radius:14px;
  text-align:center;
}
.fe-random-quote-title{
  margin:0 0 12px;
  color:var(--fe-blue);
  font-size:19px;
  font-weight:800;
}
.fe-random-quote-text{
  margin:0 0 16px;
  color:var(--fe-text);
  font-weight:700;
  line-height:1.9;
  min-height:34px;
  transition:opacity .2s ease;
}
.fe-random-quote-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  background:var(--fe-teal);
  color:#fff;
  font-weight:800;
  padding:10px 22px;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.fe-random-quote-btn:hover{
  transform:translateY(-2px);
  background:var(--fe-blue);
}

/* HTML sitemap */
.fe-sitemap{
  margin:30px 0;
}
.fe-sitemap-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}
.fe-sitemap-section{
  background:var(--fe-box);
  border:1px solid var(--fe-border);
  border-radius:14px;
  padding:18px;
  box-shadow:0 4px 12px var(--fe-shadow);
}
.fe-sitemap-title{
  margin:0 0 14px;
  color:var(--fe-blue);
  font-size:18px;
  font-weight:800;
}
.fe-sitemap-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fe-sitemap-link{
  color:var(--fe-text)!important;
  text-decoration:none!important;
  border-bottom:1px solid var(--fe-border);
  padding-bottom:8px;
  line-height:1.7;
  font-weight:700;
}
.fe-sitemap-link:hover{
  color:var(--fe-teal)!important;
}
.fe-sitemap-more{
  margin-top:12px;
  display:inline-block;
  color:var(--fe-teal)!important;
  font-weight:800;
  text-decoration:none!important;
}

/* FAQ shortcode */
.fe-faq-box{
  margin:24px 0;
  padding:18px 20px;
  background:var(--fe-box);
  border:1px solid var(--fe-border);
  border-right:4px solid var(--fe-teal);
  border-radius:12px;
  box-shadow:0 4px 12px var(--fe-shadow);
}
.fe-faq-q{
  margin:0 0 10px;
  color:var(--fe-blue);
  font-size:18px;
  font-weight:800;
  line-height:1.7;
}
.fe-faq-a{
  margin:0;
  color:var(--fe-text);
  line-height:1.9;
  font-weight:600;
}

/* Live search */
.fe-live-search-results{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:999999;
  display:none;
  max-height:340px;
  overflow:auto;
  background:var(--fe-surface);
  border:1px solid var(--fe-border);
  border-radius:0 0 12px 12px;
  box-shadow:0 12px 28px var(--fe-shadow);
}
.fe-live-search-results.is-active{
  display:block;
}
.fe-live-search-item,
.fe-live-search-status{
  display:block;
  padding:12px 15px;
  color:var(--fe-text)!important;
  text-decoration:none!important;
  font-weight:700;
  line-height:1.7;
  border-bottom:1px solid var(--fe-border);
}
.fe-live-search-item:hover{
  color:var(--fe-teal)!important;
  background:var(--fe-box);
}
.fe-live-search-status{
  color:var(--fe-muted)!important;
  text-align:center;
}
.fe-live-search-more{
  color:var(--fe-blue)!important;
  text-align:center;
}

/* Rank Math breadcrumbs */
.fe-breadcrumbs{
  margin:0 0 18px;
  padding:10px 14px;
  background:var(--fe-box);
  border:1px solid var(--fe-border);
  border-radius:10px;
  color:var(--fe-muted);
  font-size:14px;
  font-weight:700;
  line-height:1.8;
}
.fe-breadcrumbs a{
  color:var(--fe-blue)!important;
  text-decoration:none!important;
}
.fe-breadcrumbs a:hover{
  color:var(--fe-teal)!important;
}

/* Quote actions */
.single-post .entry-content blockquote{
  position:relative;
  padding-bottom:68px!important;
}
.fe-quote-actions{
  position:absolute;
  left:16px;
  bottom:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  z-index:2;
}
.fe-quote-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 12px;
  border:0;
  border-radius:999px;
  background:var(--fe-blue);
  color:#fff!important;
  font-size:13px;
  font-weight:800;
  line-height:1;
  text-decoration:none!important;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.fe-quote-action:hover{
  transform:translateY(-2px);
  background:var(--fe-teal);
  color:#fff!important;
}
.fe-quote-copy{
  background:var(--fe-teal);
}
@media(max-width:768px){
  .fe-quote-actions{
    position:static;
    margin-top:14px;
  }
  .single-post .entry-content blockquote{
    padding-bottom:20px!important;
  }
}

/* Floating share bar */
.fe-floating-share{
  position:fixed;
  top:50%;
  right:18px;
  transform:translateY(-50%);
  z-index:99999;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fe-floating-share-btn{
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff!important;
  text-decoration:none!important;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 6px 16px var(--fe-shadow);
  transition:transform .2s ease,opacity .2s ease;
}
.fe-floating-share-btn:hover{
  transform:translateX(-3px) scale(1.08);
  opacity:.92;
}
.fe-share-wa{background:#25d366}
.fe-share-fb{background:#1877f2}
.fe-share-x{background:#111827}
.fe-share-copy{background:var(--fe-blue)}
@media(max-width:768px){
  .fe-floating-share{
    display:none;
  }
}

/* Archive/Search/Home hero */
.fe-archive-hero{
  margin:0 0 34px;
  padding:42px 28px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--fe-blue),#002244);
  color:#fff;
  text-align:center;
  box-shadow:0 14px 34px var(--fe-shadow);
  overflow:hidden;
  position:relative;
}
.fe-archive-hero:before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle,rgba(255,255,255,.14),transparent 45%);
  transform:rotate(8deg);
  pointer-events:none;
}
.fe-archive-hero-title{
  position:relative;
  margin:0 0 12px;
  color:#fff!important;
  font-size:clamp(26px,4vw,42px);
  font-weight:900;
  line-height:1.5;
}
.fe-archive-hero-desc{
  position:relative;
  max-width:820px;
  margin:0 auto;
  color:rgba(255,255,255,.9)!important;
  font-size:16px;
  font-weight:700;
  line-height:1.9;
}
@media(max-width:768px){
  .fe-archive-hero{
    border-radius:0;
    margin-left:-20px;
    margin-right:-20px;
    padding:34px 20px;
  }
}

/* ===== FE_ARTICLE_POLISH_V2 START ===== */

/* ===============================
   Premium Article Shell
   =============================== */
.single-post .inside-article{
  position:relative;
  overflow:hidden;
}

.single-post .inside-article::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:7px;
  background:linear-gradient(90deg,var(--brand-teal,#11caa0),var(--brand-blue,#005088),#7c3aed);
  opacity:.95;
}

/* ===============================
   Premium Rank Math TOC
   =============================== */
.wp-block-rank-math-toc-block{
  position:relative;
  margin:34px 0 42px!important;
  padding:26px 24px 24px!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at top right, rgba(17,202,160,.16), transparent 34%),
    linear-gradient(135deg, var(--bg-surface,#fff), var(--bg-box,#f8fafc))!important;
  border:1px solid var(--border-color,#edf2f7)!important;
  box-shadow:0 18px 50px rgba(15,23,42,.08)!important;
  overflow:hidden;
}

.wp-block-rank-math-toc-block::before{
  content:"";
  position:absolute;
  top:-80px;
  left:-80px;
  width:190px;
  height:190px;
  background:radial-gradient(circle, rgba(0,80,136,.18), transparent 62%);
  pointer-events:none;
}

.wp-block-rank-math-toc-block h2{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px!important;
  padding:0 0 16px!important;
  color:var(--brand-blue,#005088)!important;
  font-size:22px!important;
  font-weight:900!important;
  border-bottom:1px solid var(--border-color,#edf2f7)!important;
}

.wp-block-rank-math-toc-block h2::before{
  content:"☰";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,var(--brand-blue,#005088),var(--brand-teal,#11caa0));
  box-shadow:0 10px 22px rgba(0,80,136,.22);
  font-size:18px;
}

.wp-block-rank-math-toc-block nav ul{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  display:grid;
  gap:10px;
}

.wp-block-rank-math-toc-block nav li{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}

.wp-block-rank-math-toc-block nav li::before{
  display:none!important;
  content:none!important;
}

.wp-block-rank-math-toc-block nav a{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 16px 13px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(148,163,184,.18);
  color:var(--text-main,#334155)!important;
  text-decoration:none!important;
  font-size:15px;
  font-weight:800;
  line-height:1.65;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

[data-theme="dark"] .wp-block-rank-math-toc-block nav a{
  background:rgba(15,23,42,.62);
}

.wp-block-rank-math-toc-block nav a::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:var(--brand-teal,#11caa0);
  box-shadow:0 0 0 5px rgba(17,202,160,.12);
}

.wp-block-rank-math-toc-block nav a:hover{
  transform:translateY(-2px);
  color:var(--brand-blue,#005088)!important;
  border-color:rgba(17,202,160,.45);
  box-shadow:0 12px 28px rgba(15,23,42,.08);
  background:var(--bg-surface,#fff);
}

.wp-block-rank-math-toc-block nav ul ul{
  margin:10px 18px 0 0!important;
}

/* ===============================
   Premium Quote Actions
   =============================== */
.single-post .entry-content blockquote{
  overflow:visible!important;
  padding-bottom:74px!important;
}

.fe-quote-actions{
  position:absolute!important;
  left:18px!important;
  bottom:16px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  z-index:5!important;
}

.fe-quote-action{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#fff!important;
  text-decoration:none!important;
  cursor:pointer!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 10px 22px rgba(15,23,42,.14)!important;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease!important;
}

.fe-quote-action:hover{
  transform:translateY(-3px) scale(1.04)!important;
  box-shadow:0 16px 30px rgba(15,23,42,.22)!important;
  opacity:.96!important;
}

.fe-quote-wa{background:linear-gradient(135deg,#25d366,#128c7e)!important;}
.fe-quote-x{background:linear-gradient(135deg,#111827,#000)!important;}
.fe-quote-reddit{background:linear-gradient(135deg,#ff4500,#ff7a18)!important;}
.fe-quote-copy{
  width:auto!important;
  padding:0 14px!important;
  background:linear-gradient(135deg,var(--brand-blue,#005088),var(--brand-teal,#11caa0))!important;
}

/* ===============================
   Premium Floating Share
   =============================== */
.fe-floating-share{
  position:fixed!important;
  top:50%!important;
  right:22px!important;
  transform:translateY(-50%)!important;
  z-index:9999!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:10px!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.68)!important;
  border:1px solid rgba(148,163,184,.22)!important;
  box-shadow:0 20px 50px rgba(15,23,42,.16)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}

[data-theme="dark"] .fe-floating-share{
  background:rgba(15,23,42,.72)!important;
  border-color:rgba(148,163,184,.20)!important;
}

.fe-floating-share-btn{
  width:44px!important;
  height:44px!important;
  border-radius:16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  text-decoration:none!important;
  border:none!important;
  cursor:pointer!important;
  font-size:14px!important;
  font-weight:950!important;
  box-shadow:0 10px 24px rgba(15,23,42,.16)!important;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease!important;
}

.fe-floating-share-btn:hover{
  transform:translateX(-4px) scale(1.05)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.24)!important;
  filter:saturate(1.08)!important;
}

.fe-share-wa{background:linear-gradient(135deg,#25d366,#128c7e)!important;}
.fe-share-fb{background:linear-gradient(135deg,#1877f2,#0b5ed7)!important;}
.fe-share-x{background:linear-gradient(135deg,#111827,#000)!important;}
.fe-share-reddit{background:linear-gradient(135deg,#ff4500,#ff7a18)!important;}
.fe-share-copy{background:linear-gradient(135deg,var(--brand-blue,#005088),var(--brand-teal,#11caa0))!important;}

/* ===============================
   Toast
   =============================== */
.fe-copy-toast{
  position:fixed!important;
  right:50%!important;
  bottom:28px!important;
  transform:translate(50%,18px)!important;
  z-index:999999!important;
  opacity:0!important;
  visibility:hidden!important;
  padding:13px 22px!important;
  border-radius:999px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--brand-blue,#005088),var(--brand-teal,#11caa0))!important;
  font-weight:900!important;
  font-size:14px!important;
  box-shadow:0 18px 42px rgba(15,23,42,.22)!important;
  transition:all .25s ease!important;
}

.fe-copy-toast.show{
  opacity:1!important;
  visibility:visible!important;
  transform:translate(50%,0)!important;
}

/* ===============================
   Entry Meta / Categories / Next Prev
   =============================== */
.single-post footer.entry-meta{
  margin-top:34px!important;
  padding:24px!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at top left, rgba(17,202,160,.14), transparent 32%),
    linear-gradient(135deg,var(--bg-surface,#fff),var(--bg-box,#f8fafc))!important;
  border:1px solid var(--border-color,#edf2f7)!important;
  box-shadow:0 16px 44px rgba(15,23,42,.07)!important;
}

.single-post footer.entry-meta .cat-links{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:9px!important;
  margin-bottom:18px!important;
  color:var(--text-muted,#64748b)!important;
  font-size:0!important;
}

.single-post footer.entry-meta .cat-links .gp-icon{
  width:36px!important;
  height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--brand-blue,#005088),var(--brand-teal,#11caa0))!important;
}

.single-post footer.entry-meta .cat-links a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:36px!important;
  padding:7px 13px!important;
  border-radius:999px!important;
  background:var(--bg-surface,#fff)!important;
  border:1px solid var(--border-color,#edf2f7)!important;
  color:var(--text-main,#334155)!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:900!important;
  transition:transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease!important;
}

.single-post footer.entry-meta .cat-links a:hover{
  transform:translateY(-2px)!important;
  color:var(--brand-blue,#005088)!important;
  border-color:rgba(17,202,160,.55)!important;
  box-shadow:0 10px 22px rgba(15,23,42,.08)!important;
}

.single-post .post-navigation{
  margin-top:20px!important;
}

.single-post .post-navigation .nav-links,
.single-post .post-navigation{
  display:grid!important;
  gap:14px!important;
}

.single-post .post-navigation .nav-previous,
.single-post .post-navigation .nav-next{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:16px!important;
  border-radius:20px!important;
  background:var(--bg-surface,#fff)!important;
  border:1px solid var(--border-color,#edf2f7)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease!important;
}

.single-post .post-navigation .nav-previous:hover,
.single-post .post-navigation .nav-next:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(17,202,160,.45)!important;
  box-shadow:0 18px 38px rgba(15,23,42,.10)!important;
}

.single-post .post-navigation .gp-icon{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--brand-blue,#005088),var(--brand-teal,#11caa0))!important;
}

.single-post .post-navigation a{
  color:var(--text-main,#334155)!important;
  text-decoration:none!important;
  font-weight:900!important;
  line-height:1.7!important;
}

.single-post .post-navigation a:hover{
  color:var(--brand-blue,#005088)!important;
}

/* ===============================
   Infinite Scroll
   =============================== */
.fe-infinite-loader,
.fe-infinite-end{
  grid-column:1/-1;
  text-align:center;
  margin:28px auto;
  padding:14px 20px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
  color:var(--text-muted,#64748b);
  background:var(--bg-surface,#fff);
  border:1px solid var(--border-color,#edf2f7);
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.fe-infinite-loader::before{
  content:"";
  display:inline-block;
  width:13px;
  height:13px;
  margin-left:8px;
  border-radius:50%;
  border:2px solid rgba(100,116,139,.24);
  border-top-color:var(--brand-teal,#11caa0);
  vertical-align:-2px;
  animation:feSpin .8s linear infinite;
}

@keyframes feSpin{to{transform:rotate(360deg)}}

/* ===============================
   Mobile
   =============================== */
@media(max-width:900px){
  .fe-floating-share{
    top:auto!important;
    right:50%!important;
    bottom:14px!important;
    transform:translateX(50%)!important;
    flex-direction:row!important;
    border-radius:22px!important;
  }

  .fe-floating-share-btn{
    width:42px!important;
    height:42px!important;
    border-radius:15px!important;
  }

  .fe-floating-share-btn:hover{
    transform:translateY(-3px) scale(1.04)!important;
  }

  .single-post footer.entry-meta{
    border-radius:18px!important;
    padding:18px!important;
  }

  .wp-block-rank-math-toc-block{
    border-radius:18px!important;
    padding:22px 18px!important;
  }

  .fe-quote-actions{
    position:static!important;
    margin-top:14px!important;
    justify-content:flex-start!important;
  }

  .single-post .entry-content blockquote{
    padding-bottom:22px!important;
  }
}

/* ===== FE_ARTICLE_POLISH_V2 END ===== */

/* ===== FE_HERO_DARK_TOGGLE_FIX START ===== */

/* Hero احترافي بتباين واضح */
.fe-archive-hero,
.fe-archive-hero-container,
.archive-hero-pro{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  margin:24px 0 38px!important;
  padding:54px 30px!important;
  border-radius:28px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:
    radial-gradient(circle at 18% 18%, rgba(17,202,160,.36), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(56,189,248,.30), transparent 34%),
    linear-gradient(135deg,#062033 0%,#005088 48%,#073b4c 100%)!important;
  box-shadow:0 24px 70px rgba(2,6,23,.22)!important;
}

.fe-archive-hero::before,
.fe-archive-hero-container::before,
.archive-hero-pro::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  background:
    linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.34)),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.20) 100%)!important;
}

.fe-archive-hero::after,
.fe-archive-hero-container::after,
.archive-hero-pro::after{
  content:""!important;
  position:absolute!important;
  width:260px!important;
  height:260px!important;
  left:-80px!important;
  bottom:-110px!important;
  z-index:-1!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.10)!important;
  filter:blur(2px)!important;
}

.fe-archive-hero-title,
.archive-title-pro,
.fe-archive-hero h1,
.archive-hero-pro h1{
  position:relative!important;
  color:#ffffff!important;
  text-shadow:0 3px 18px rgba(0,0,0,.42)!important;
  font-size:clamp(2rem,4vw,3.1rem)!important;
  line-height:1.35!important;
  font-weight:950!important;
  letter-spacing:0!important;
  margin:0 0 14px!important;
}

.fe-archive-hero-title::after,
.archive-title-pro::after,
.fe-archive-hero h1::after,
.archive-hero-pro h1::after{
  content:""!important;
  display:block!important;
  width:86px!important;
  height:5px!important;
  margin:18px auto 0!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#11caa0,#ffffff,#38bdf8)!important;
  box-shadow:0 8px 24px rgba(17,202,160,.38)!important;
}

.fe-archive-hero-desc,
.archive-desc-pro,
.fe-archive-hero p,
.archive-hero-pro p,
.fe-archive-hero div,
.archive-hero-pro div{
  color:rgba(255,255,255,.94)!important;
  text-shadow:0 2px 12px rgba(0,0,0,.35)!important;
  font-size:clamp(1rem,2vw,1.18rem)!important;
  line-height:1.95!important;
  font-weight:700!important;
  max-width:780px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* زر الليل والنهار الجديد */
.fe-dark-mode-item{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.fe-dark-toggle,
button.fe-dark-toggle,
[data-fe-dark-toggle]{
  position:relative!important;
  width:58px!important;
  height:32px!important;
  min-width:58px!important;
  min-height:32px!important;
  padding:0!important;
  margin:0 8px!important;
  border:1px solid rgba(148,163,184,.35)!important;
  border-radius:999px!important;
  cursor:pointer!important;
  overflow:hidden!important;
  outline:none!important;
  background:linear-gradient(135deg,#e0f2fe,#ffffff)!important;
  box-shadow:inset 0 1px 3px rgba(255,255,255,.8),0 8px 22px rgba(15,23,42,.10)!important;
  transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,transform .2s ease!important;
}

.fe-dark-toggle:hover,
button.fe-dark-toggle:hover,
[data-fe-dark-toggle]:hover{
  transform:translateY(-1px)!important;
  box-shadow:inset 0 1px 3px rgba(255,255,255,.8),0 12px 28px rgba(15,23,42,.16)!important;
}

.fe-dark-toggle::before,
button.fe-dark-toggle::before,
[data-fe-dark-toggle]::before{
  content:""!important;
  position:absolute!important;
  top:4px!important;
  right:4px!important;
  width:24px!important;
  height:24px!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,#fbbf24,#f97316)!important;
  box-shadow:0 5px 12px rgba(249,115,22,.35)!important;
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease!important;
}

.fe-dark-toggle::after,
button.fe-dark-toggle::after,
[data-fe-dark-toggle]::after{
  content:"☀"!important;
  position:absolute!important;
  top:50%!important;
  right:10px!important;
  transform:translateY(-50%)!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1!important;
  z-index:2!important;
  transition:content .25s ease!important;
}

/* إخفاء الرموز القديمة داخل الزر */
.fe-dark-toggle span,
[data-fe-dark-toggle] span,
.fe-dark-toggle .fe-moon,
.fe-dark-toggle .fe-sun,
[data-fe-dark-toggle] .fe-moon,
[data-fe-dark-toggle] .fe-sun{
  display:none!important;
}

/* حالة الوضع الليلي */
html[data-theme="dark"] .fe-dark-toggle,
html[data-theme="dark"] button.fe-dark-toggle,
html[data-theme="dark"] [data-fe-dark-toggle]{
  background:linear-gradient(135deg,#020617,#0f172a)!important;
  border-color:rgba(56,189,248,.28)!important;
  box-shadow:inset 0 1px 3px rgba(255,255,255,.08),0 10px 28px rgba(2,6,23,.35)!important;
}

html[data-theme="dark"] .fe-dark-toggle::before,
html[data-theme="dark"] button.fe-dark-toggle::before,
html[data-theme="dark"] [data-fe-dark-toggle]::before{
  transform:translateX(-26px)!important;
  background:linear-gradient(135deg,#38bdf8,#6366f1)!important;
  box-shadow:0 5px 14px rgba(56,189,248,.32)!important;
}

html[data-theme="dark"] .fe-dark-toggle::after,
html[data-theme="dark"] button.fe-dark-toggle::after,
html[data-theme="dark"] [data-fe-dark-toggle]::after{
  content:"☾"!important;
  right:auto!important;
  left:11px!important;
  color:#fff!important;
}

/* توافق مع أي كلاس قديم */
.dark-mode-toggle-btn{
  display:none!important;
}

/* تحسين القراءة في العناوين داخل المقال */
.single-post .entry-title{
  color:var(--text-main,#334155)!important;
  text-shadow:none!important;
  letter-spacing:0!important;
}

[data-theme="dark"] .single-post .entry-title{
  color:#f8fafc!important;
}

/* موبايل */
@media(max-width:768px){
  .fe-archive-hero,
  .fe-archive-hero-container,
  .archive-hero-pro{
    padding:42px 18px!important;
    border-radius:22px!important;
    margin:18px 0 30px!important;
  }

  .fe-dark-toggle,
  button.fe-dark-toggle,
  [data-fe-dark-toggle]{
    width:54px!important;
    height:30px!important;
    min-width:54px!important;
    min-height:30px!important;
  }

  .fe-dark-toggle::before,
  button.fe-dark-toggle::before,
  [data-fe-dark-toggle]::before{
    width:22px!important;
    height:22px!important;
  }

  html[data-theme="dark"] .fe-dark-toggle::before,
  html[data-theme="dark"] button.fe-dark-toggle::before,
  html[data-theme="dark"] [data-fe-dark-toggle]::before{
    transform:translateX(-24px)!important;
  }
}

/* ===== FE_HERO_DARK_TOGGLE_FIX END ===== */

/* ===== FE_TITLE_REDDIT_FIX START ===== */

/* عناوين المقالات في صفحة أحدث العبارات / الأرشيف */
.blog .entry-title,
.archive .entry-title,
.search .entry-title,
.blog .entry-title a,
.archive .entry-title a,
.search .entry-title a,
.blog article .entry-header .entry-title a,
.archive article .entry-header .entry-title a,
.search article .entry-header .entry-title a{
  color:#0f172a!important;
  font-weight:950!important;
  line-height:1.55!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  text-shadow:none!important;
}

[data-theme="dark"] .blog .entry-title,
[data-theme="dark"] .archive .entry-title,
[data-theme="dark"] .search .entry-title,
[data-theme="dark"] .blog .entry-title a,
[data-theme="dark"] .archive .entry-title a,
[data-theme="dark"] .search .entry-title a{
  color:#f8fafc!important;
}

.blog .inside-article,
.archive .inside-article,
.search .inside-article{
  background:linear-gradient(180deg,var(--bg-surface,#ffffff),var(--bg-box,#f8fafc))!important;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover,
.search .entry-title a:hover{
  color:var(--brand-blue,#005088)!important;
}

[data-theme="dark"] .blog .entry-title a:hover,
[data-theme="dark"] .archive .entry-title a:hover,
[data-theme="dark"] .search .entry-title a:hover{
  color:#38bdf8!important;
}

/* كارت عنوان المقال داخل الأرشيف */
.blog .entry-header,
.archive .entry-header,
.search .entry-header{
  position:relative!important;
  padding:22px 24px 10px!important;
}

.blog .entry-header::before,
.archive .entry-header::before,
.search .entry-header::before{
  content:""!important;
  display:block!important;
  width:54px!important;
  height:4px!important;
  margin-bottom:14px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,var(--brand-teal,#11caa0),var(--brand-blue,#005088))!important;
}

/* أزرار الاقتباس مع Reddit */
.fe-quote-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

.fe-quote-action{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  border-radius:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:none!important;
  color:#fff!important;
  text-decoration:none!important;
  cursor:pointer!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:0 10px 22px rgba(15,23,42,.16)!important;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease!important;
}

.fe-quote-action:hover{
  transform:translateY(-3px) scale(1.04)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.24)!important;
}

.fe-quote-wa{
  background:linear-gradient(135deg,#25d366,#128c7e)!important;
}

.fe-quote-x{
  background:linear-gradient(135deg,#111827,#000000)!important;
}

.fe-quote-reddit{
  background:linear-gradient(135deg,#ff4500,#ff7a18)!important;
}

.fe-quote-copy{
  width:auto!important;
  padding:0 15px!important;
  background:linear-gradient(135deg,var(--brand-blue,#005088),var(--brand-teal,#11caa0))!important;
}

/* ===== FE_TITLE_REDDIT_FIX END ===== */

/* ===== FE_DARK_ARCHIVE_TITLE_FIX START ===== */

/* في الوضع الداكن: عناوين كروت أحدث المقالات تكون واضحة جدًا */
html[data-theme="dark"] .blog .entry-title,
html[data-theme="dark"] .archive .entry-title,
html[data-theme="dark"] .search .entry-title,
html[data-theme="dark"] .blog .entry-title a,
html[data-theme="dark"] .archive .entry-title a,
html[data-theme="dark"] .search .entry-title a,
html[data-theme="dark"] .blog article .entry-header .entry-title a,
html[data-theme="dark"] .archive article .entry-header .entry-title a,
html[data-theme="dark"] .search article .entry-header .entry-title a{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:0 2px 14px rgba(0,0,0,.38)!important;
}

/* Hover أوضح في الوضع الداكن */
html[data-theme="dark"] .blog .entry-title a:hover,
html[data-theme="dark"] .archive .entry-title a:hover,
html[data-theme="dark"] .search .entry-title a:hover{
  color:#67e8f9!important;
}

/* خلفية البطاقة في الوضع الداكن حتى يظهر العنوان بقوة */
html[data-theme="dark"] .blog .inside-article,
html[data-theme="dark"] .archive .inside-article,
html[data-theme="dark"] .search .inside-article{
  background:linear-gradient(180deg,#1e293b 0%,#0f172a 100%)!important;
  border-color:rgba(148,163,184,.28)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.28)!important;
}

/* ملخص المقال في الوضع الداكن */
html[data-theme="dark"] .blog .entry-summary p,
html[data-theme="dark"] .archive .entry-summary p,
html[data-theme="dark"] .search .entry-summary p{
  color:#cbd5e1!important;
}

/* التاريخ والميتا داخل الكروت */
html[data-theme="dark"] .blog .entry-meta,
html[data-theme="dark"] .archive .entry-meta,
html[data-theme="dark"] .search .entry-meta{
  color:#94a3b8!important;
}

html[data-theme="dark"] .blog .entry-meta a,
html[data-theme="dark"] .archive .entry-meta a,
html[data-theme="dark"] .search .entry-meta a{
  color:#bae6fd!important;
}

/* خط زخرفي تحت عنوان الكارت */
html[data-theme="dark"] .blog .entry-header::before,
html[data-theme="dark"] .archive .entry-header::before,
html[data-theme="dark"] .search .entry-header::before{
  background:linear-gradient(90deg,#22d3ee,#11caa0,#ffffff)!important;
  box-shadow:0 8px 22px rgba(34,211,238,.24)!important;
}

/* ===== FE_DARK_ARCHIVE_TITLE_FIX END ===== */

/* ===== FE_ORIENTAL_PALACE_V3 START ===== */

/*
  Oriental Palace V3
  هوية شرقية فاخرة معاصرة
  CSS + JS only
  No template
  No shortcode
  No dangerous PHP
*/

:root{
  --op-navy:#07182d;
  --op-navy-2:#0a2540;
  --op-ink:#102033;
  --op-surface:#ffffff;
  --op-soft:#f8fafc;
  --op-muted:#64748b;
  --op-line:rgba(148,163,184,.22);

  --op-gold:#d4af37;
  --op-gold-2:#f4d06f;
  --op-teal:#11caa0;
  --op-cyan:#38bdf8;

  --op-glass:rgba(255,255,255,.78);
  --op-glass-strong:rgba(255,255,255,.88);
  --op-glass-border:rgba(255,255,255,.42);

  --op-radius-xl:34px;
  --op-radius-lg:26px;
  --op-radius-md:18px;

  --op-shadow:0 18px 46px rgba(15,23,42,.08);
  --op-shadow-hover:0 26px 70px rgba(212,175,55,.20);
  --op-shadow-teal:0 24px 70px rgba(17,202,160,.18);

  --op-mesh:
    radial-gradient(circle at 12% 18%, rgba(212,175,55,.25), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(17,202,160,.22), transparent 32%),
    radial-gradient(circle at 48% 92%, rgba(56,189,248,.16), transparent 34%),
    linear-gradient(135deg,#07182d 0%,#0a2540 52%,#063d55 100%);
}

html[data-theme="dark"]{
  --op-navy:#030712;
  --op-navy-2:#07111f;
  --op-ink:#f8fafc;
  --op-surface:#111827;
  --op-soft:#0f172a;
  --op-muted:#cbd5e1;
  --op-line:rgba(148,163,184,.18);

  --op-glass:rgba(15,23,42,.70);
  --op-glass-strong:rgba(15,23,42,.84);
  --op-glass-border:rgba(255,255,255,.10);

  --op-shadow:0 18px 50px rgba(0,0,0,.28);
  --op-shadow-hover:0 28px 78px rgba(212,175,55,.16);
  --op-shadow-teal:0 24px 74px rgba(17,202,160,.14);

  --op-mesh:
    radial-gradient(circle at 12% 18%, rgba(212,175,55,.16), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(17,202,160,.16), transparent 32%),
    radial-gradient(circle at 48% 92%, rgba(56,189,248,.10), transparent 34%),
    linear-gradient(135deg,#030712 0%,#07111f 54%,#082f49 100%);
}

/* إصلاح تباعد الحروف */
body,
body *{
  letter-spacing:0!important;
}

/* الخلفية العامة */
body{
  background:
    radial-gradient(circle at 18% 12%, rgba(212,175,55,.07), transparent 24%),
    radial-gradient(circle at 84% 9%, rgba(17,202,160,.08), transparent 24%),
    radial-gradient(circle at 50% 92%, rgba(56,189,248,.06), transparent 28%),
    var(--bg-body, #f0f2f5)!important;
}

/* زخرفة شرقية ثابتة وخفيفة */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-5;
  pointer-events:none;
  opacity:.42;
  background:
    radial-gradient(circle at 14% 26%, rgba(212,175,55,.11) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(17,202,160,.10) 0 1px, transparent 2px),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(0,80,136,.025) 22px 23px);
  background-size:90px 90px, 110px 110px, 56px 56px;
}

/* عرض الموقع */
@media(min-width:1025px){
  body.blog .site.grid-container,
  body.archive .site.grid-container,
  body.search .site.grid-container,
  body.home .site.grid-container,
  body.blog .grid-container,
  body.archive .grid-container,
  body.search .grid-container,
  body.home .grid-container{
    max-width:1340px!important;
    width:calc(100% - 58px)!important;
  }
}

/* الهيدر */
.site-header,
.main-navigation,
.main-navigation ul ul{
  background:rgba(255,255,255,.84)!important;
  border-bottom:1px solid rgba(148,163,184,.18)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .main-navigation,
html[data-theme="dark"] .main-navigation ul ul{
  background:rgba(3,7,18,.72)!important;
  border-bottom-color:rgba(255,255,255,.08)!important;
}

.main-navigation .main-nav ul li a{
  font-weight:900!important;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover>a,
.main-navigation .main-nav ul li[class*="current-menu-"]>a{
  color:var(--op-gold)!important;
}

/* إخفاء كتل قديمة متداخلة */
body.blog .fe-t-page,
body.archive .fe-t-page,
body.search .fe-t-page,
body.blog .fe-latest-final,
body.archive .fe-latest-final,
body.search .fe-latest-final,
body.blog .fe-latest-magazine,
body.archive .fe-latest-magazine,
body.search .fe-latest-magazine{
  display:none!important;
}

/* شبكة المقالات */
body.blog .site-main,
body.archive .site-main,
body.search .site-main{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  align-items:stretch!important;
  padding:22px 0 48px!important;
}

/* الهيرو الشرقي */
.op-palace-hero{
  grid-column:1/-1!important;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:310px;
  margin:6px 0 2px;
  padding:44px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:28px;
  align-items:center;
  border-radius:var(--op-radius-xl);
  color:#fff;
  background:var(--op-mesh);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 34px 110px rgba(2,6,23,.28);
}

.op-palace-hero::before{
  content:"";
  position:absolute;
  inset:14px;
  z-index:-1;
  border-radius:25px;
  border:1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.035)),
    repeating-linear-gradient(135deg,rgba(255,255,255,.045) 0 1px,transparent 1px 15px);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.op-palace-hero::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  left:-120px;
  bottom:-150px;
  z-index:-2;
  border-radius:50%;
  background:rgba(212,175,55,.15);
  filter:blur(2px);
  animation:opFloat 12s ease-in-out infinite;
}

@keyframes opFloat{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(22px,-18px,0) scale(1.06)}
}

.op-palace-content{
  position:relative;
  z-index:2;
}

.op-palace-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:15px;
  padding:8px 15px;
  border-radius:999px;
  color:#fff7d6;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 14px 38px rgba(0,0,0,.18);
  font-size:13px;
  font-weight:950;
}

.op-palace-hero h1{
  margin:0!important;
  color:transparent!important;
  background:linear-gradient(90deg,var(--op-gold-2),#fff7d6,var(--op-teal));
  -webkit-background-clip:text;
  background-clip:text;
  font-size:clamp(2.15rem,4.8vw,4.9rem)!important;
  line-height:1.15!important;
  font-weight:1000!important;
  text-shadow:none!important;
}

.op-palace-hero p{
  max-width:790px;
  margin:18px 0 0!important;
  color:rgba(255,255,255,.88)!important;
  font-size:16px!important;
  line-height:2!important;
  font-weight:800!important;
}

.op-palace-actions{
  margin-top:24px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.op-palace-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 21px;
  border-radius:999px;
  color:#07182d!important;
  background:linear-gradient(135deg,var(--op-gold),var(--op-gold-2));
  text-decoration:none!important;
  font-weight:1000;
  box-shadow:0 16px 36px rgba(212,175,55,.28);
  transition:transform .25s ease, box-shadow .25s ease;
}

.op-palace-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 44px rgba(212,175,55,.38);
}

.op-palace-search{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:5px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.op-palace-search input{
  width:min(310px,48vw);
  height:38px!important;
  border:0!important;
  outline:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.94)!important;
  color:#0f172a!important;
  padding:0 15px!important;
  font-size:14px!important;
  font-weight:800!important;
}

.op-palace-search button{
  width:42px!important;
  height:38px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  cursor:pointer!important;
  color:#062033!important;
  background:linear-gradient(135deg,var(--op-teal),var(--op-cyan))!important;
  font-weight:1000!important;
}

.op-palace-side{
  position:relative;
  z-index:2;
  width:176px;
  height:176px;
  display:grid;
  place-items:center;
  border-radius:38px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 24px 68px rgba(0,0,0,.22);
}

.op-palace-star{
  width:92px;
  height:92px;
  display:grid;
  place-items:center;
  color:#fff7d6;
  font-size:48px;
  background:linear-gradient(135deg,rgba(212,175,55,.32),rgba(17,202,160,.12));
  clip-path:polygon(50% 0%,61% 32%,95% 20%,68% 43%,100% 50%,68% 57%,95% 80%,61% 68%,50% 100%,39% 68%,5% 80%,32% 57%,0% 50%,32% 43%,5% 20%,39% 32%);
  animation:opBreath 4.5s ease-in-out infinite;
}

@keyframes opBreath{
  0%,100%{transform:scale(1) rotate(0deg);opacity:.92}
  50%{transform:scale(1.08) rotate(6deg);opacity:1}
}

/* شريط التصنيفات */
.op-palace-filter{
  grid-column:1/-1!important;
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:2px 2px 10px;
  scrollbar-width:thin;
}

.op-palace-chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  padding:0 16px;
  border-radius:999px;
  color:var(--op-ink)!important;
  background:var(--op-glass);
  border:1px solid var(--op-glass-border);
  box-shadow:0 10px 24px rgba(15,23,42,.055);
  text-decoration:none!important;
  font-size:13px;
  font-weight:950;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:transform .2s ease, background .2s ease, color .2s ease;
}

.op-palace-chip:hover,
.op-palace-chip.is-active{
  transform:translateY(-2px);
  color:#07182d!important;
  background:linear-gradient(135deg,var(--op-gold),var(--op-gold-2));
}

/* الكروت */
body.blog .site-main > article,
body.archive .site-main > article,
body.search .site-main > article{
  min-width:0!important;
  height:100%!important;
  margin:0!important;
}

/* المقال الأول لا يكون عريض */
@media(min-width:1025px){
  body.blog .site-main > article:first-of-type,
  body.archive .site-main > article:first-of-type,
  body.search .site-main > article:first-of-type{
    grid-column:auto!important;
  }
}

body.blog .inside-article,
body.archive .inside-article,
body.search .inside-article{
  height:100%!important;
  min-height:100%!important;
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  padding:0!important;
  border-radius:var(--op-radius-lg)!important;
  background:var(--op-glass-strong)!important;
  border:1px solid var(--op-glass-border)!important;
  box-shadow:var(--op-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s cubic-bezier(.2,.8,.2,1),
    border-color .35s ease!important;
}

body.blog .inside-article::before,
body.archive .inside-article::before,
body.search .inside-article::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.8;
  background:
    radial-gradient(circle at top right,rgba(212,175,55,.13),transparent 34%),
    radial-gradient(circle at bottom left,rgba(17,202,160,.10),transparent 34%);
}

body.blog .inside-article:hover,
body.archive .inside-article:hover,
body.search .inside-article:hover{
  transform:translateY(-9px)!important;
  border-color:rgba(212,175,55,.55)!important;
  box-shadow:var(--op-shadow-hover)!important;
}

/* الصور */
body.blog .post-image,
body.archive .post-image,
body.search .post-image{
  position:relative!important;
  z-index:1!important;
  overflow:hidden!important;
  margin:0!important;
  line-height:0!important;
  display:block!important;
  background:var(--op-soft)!important;
}

body.blog .post-image img,
body.archive .post-image img,
body.search .post-image img,
body.blog .wp-post-image,
body.archive .wp-post-image,
body.search .wp-post-image{
  display:block!important;
  width:100%!important;
  height:220px!important;
  min-height:220px!important;
  object-fit:cover!important;
  border-radius:var(--op-radius-lg) var(--op-radius-lg) 0 0!important;
  transform:scale(1)!important;
  transition:transform .65s cubic-bezier(.2,.8,.2,1), filter .65s ease!important;
}

body.blog .inside-article:hover .post-image img,
body.archive .inside-article:hover .post-image img,
body.search .inside-article:hover .post-image img{
  transform:scale(1.055)!important;
  filter:saturate(1.08) contrast(1.03)!important;
}

/* المحتوى */
body.blog .entry-header,
body.archive .entry-header,
body.search .entry-header,
body.blog .entry-summary,
body.archive .entry-summary,
body.search .entry-summary{
  position:relative!important;
  z-index:1!important;
  background:transparent!important;
}

body.blog .entry-header,
body.archive .entry-header,
body.search .entry-header{
  padding:19px 21px 8px!important;
}

body.blog .entry-summary,
body.archive .entry-summary,
body.search .entry-summary{
  padding:0 21px 21px!important;
  flex:1;
}

.op-card-cat{
  display:inline-flex!important;
  max-width:100%;
  margin-bottom:10px;
  padding:6px 11px;
  border-radius:999px;
  color:#07182d!important;
  background:linear-gradient(135deg,rgba(212,175,55,.95),rgba(244,208,111,.88));
  text-decoration:none!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:1000!important;
  box-shadow:0 10px 24px rgba(212,175,55,.16);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

body.blog .entry-title,
body.archive .entry-title,
body.search .entry-title{
  margin:0!important;
  color:var(--op-ink)!important;
  font-size:clamp(1.05rem,1.45vw,1.28rem)!important;
  line-height:1.65!important;
  font-weight:1000!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}

body.blog .entry-title a,
body.archive .entry-title a,
body.search .entry-title a{
  color:inherit!important;
  text-decoration:none!important;
}

body.blog .entry-title a:hover,
body.archive .entry-title a:hover,
body.search .entry-title a:hover{
  color:var(--op-gold)!important;
}

body.blog .entry-summary p,
body.archive .entry-summary p,
body.search .entry-summary p{
  margin:10px 0 0!important;
  color:var(--op-muted)!important;
  font-size:14px!important;
  line-height:1.9!important;
  font-weight:750!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
}

body.blog .entry-meta,
body.archive .entry-meta,
body.search .entry-meta{
  display:none!important;
}

.op-card-footer{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:15px;
}

.op-card-date{
  color:var(--op-muted);
  font-size:12px;
  font-weight:850;
}

.op-read-more{
  display:inline-flex;
  min-height:36px;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:999px;
  color:#052033!important;
  background:linear-gradient(135deg,var(--op-teal),var(--op-cyan));
  text-decoration:none!important;
  font-size:12px;
  font-weight:1000;
  box-shadow:0 12px 26px rgba(17,202,160,.18);
  transition:background .25s ease, transform .25s ease;
}

.op-read-more:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg,var(--op-gold),var(--op-gold-2));
}

/* pagination */
body.blog .paging-navigation,
body.archive .paging-navigation,
body.search .paging-navigation{
  grid-column:1/-1!important;
  padding:22px!important;
  border-radius:var(--op-radius-lg)!important;
  background:var(--op-glass)!important;
  border:1px solid var(--op-glass-border)!important;
  box-shadow:var(--op-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}

body.blog .nav-links,
body.archive .nav-links,
body.search .nav-links{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:9px!important;
}

body.blog .page-numbers,
body.archive .page-numbers,
body.search .page-numbers{
  min-width:40px!important;
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  color:var(--op-ink)!important;
  background:var(--op-glass-strong)!important;
  border:1px solid var(--op-line)!important;
  text-decoration:none!important;
  font-weight:950!important;
}

body.blog .page-numbers.current,
body.archive .page-numbers.current,
body.search .page-numbers.current,
body.blog .page-numbers:hover,
body.archive .page-numbers:hover,
body.search .page-numbers:hover{
  color:#07182d!important;
  background:linear-gradient(135deg,var(--op-gold),var(--op-gold-2))!important;
}

/* infinite loader */
.op-infinite-loader{
  grid-column:1/-1;
  display:none;
  justify-content:center;
  align-items:center;
  min-height:70px;
  color:var(--op-muted);
  font-weight:950;
}

.op-infinite-loader.is-loading{
  display:flex;
}

.op-infinite-loader span{
  padding:12px 18px;
  border-radius:999px;
  background:var(--op-glass);
  border:1px solid var(--op-glass-border);
  box-shadow:var(--op-shadow);
}

/* Reveal */
.op-ready body.blog .site-main > article,
.op-ready body.archive .site-main > article,
.op-ready body.search .site-main > article{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .52s ease, transform .52s cubic-bezier(.2,.8,.2,1)!important;
}

.op-ready body.blog .site-main > article.op-visible,
.op-ready body.archive .site-main > article.op-visible,
.op-ready body.search .site-main > article.op-visible{
  opacity:1;
  transform:translateY(0);
}

/* reading progress */
#op-reading-progress{
  position:fixed;
  top:0;
  right:0;
  width:0;
  height:3px;
  z-index:999999;
  background:linear-gradient(90deg,var(--op-gold),var(--op-gold-2),var(--op-teal));
  box-shadow:0 0 18px rgba(212,175,55,.55);
}

/* Responsive */
@media(max-width:1100px){
  body.blog .site-main,
  body.archive .site-main,
  body.search .site-main{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:22px!important;
  }

  .op-palace-hero{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .op-palace-side{
    display:none;
  }
}

@media(max-width:768px){
  body.blog .site-main,
  body.archive .site-main,
  body.search .site-main{
    grid-template-columns:1fr!important;
    gap:18px!important;
    padding:14px 0 36px!important;
  }

  .op-palace-hero{
    padding:26px 18px;
    border-radius:24px;
  }

  .op-palace-hero::before{
    inset:8px;
    border-radius:17px;
  }

  .op-palace-hero h1{
    font-size:clamp(2rem,9vw,2.6rem)!important;
    line-height:1.3!important;
  }

  .op-palace-hero p{
    font-size:14px!important;
    line-height:1.9!important;
  }

  .op-palace-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .op-palace-btn,
  .op-palace-search{
    width:100%;
  }

  .op-palace-search input{
    width:100%;
  }

  body.blog .inside-article,
  body.archive .inside-article,
  body.search .inside-article{
    border-radius:22px!important;
  }

  body.blog .post-image img,
  body.archive .post-image img,
  body.search .post-image img,
  body.blog .wp-post-image,
  body.archive .wp-post-image,
  body.search .wp-post-image{
    height:205px!important;
    min-height:205px!important;
    border-radius:22px 22px 0 0!important;
  }

  body.blog .entry-header,
  body.archive .entry-header,
  body.search .entry-header{
    padding:17px 17px 7px!important;
  }

  body.blog .entry-summary,
  body.archive .entry-summary,
  body.search .entry-summary{
    padding:0 17px 17px!important;
  }

  .op-card-footer{
    flex-direction:row;
  }
}

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

  .op-ready body.blog .site-main > article,
  .op-ready body.archive .site-main > article,
  .op-ready body.search .site-main > article{
    opacity:1!important;
    transform:none!important;
  }
}

/* ===== FE_ORIENTAL_PALACE_V3 END ===== */

/* ===== FE_ORIENTAL_PALACE_V3_SEARCH_PATCH START ===== */

/* حذف التاريخ وزر اقرأ المزيد نهائياً */
.op-card-footer,
.op-card-date,
.op-read-more,
body.blog .op-card-footer,
body.archive .op-card-footer,
body.search .op-card-footer,
body.blog .op-read-more,
body.archive .op-read-more,
body.search .op-read-more{
  display:none!important;
}

/* تحسين مربع البحث ليحمل الصوت والبحث الحي */
.op-palace-search{
  position:relative!important;
  display:grid!important;
  grid-template-columns:42px minmax(160px,1fr) 42px!important;
  gap:7px!important;
  overflow:visible!important;
}

.op-palace-search input{
  grid-column:2!important;
  width:100%!important;
}

.op-palace-search button[type="submit"]{
  grid-column:3!important;
}

.op-voice-btn{
  grid-column:1!important;
  width:42px!important;
  height:38px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  cursor:pointer!important;
  color:#07182d!important;
  background:linear-gradient(135deg,var(--op-gold),var(--op-gold-2))!important;
  font-size:16px!important;
  font-weight:1000!important;
  box-shadow:0 10px 24px rgba(212,175,55,.22)!important;
}

.op-voice-btn.is-listening{
  background:linear-gradient(135deg,#ef4444,#f97316)!important;
  color:#fff!important;
  animation:opVoicePulse 1s ease-in-out infinite;
}

@keyframes opVoicePulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.08)}
}

/* نتائج البحث الحي */
.op-live-search{
  position:absolute!important;
  top:calc(100% + 10px)!important;
  right:0!important;
  left:0!important;
  z-index:999999!important;
  max-height:390px!important;
  overflow:auto!important;
  display:none;
  padding:10px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(255,255,255,.45)!important;
  box-shadow:0 24px 70px rgba(2,6,23,.28)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}

html[data-theme="dark"] .op-live-search{
  background:rgba(15,23,42,.94)!important;
  border-color:rgba(255,255,255,.10)!important;
}

.op-live-search.is-open{
  display:block!important;
}

.op-live-item{
  display:block!important;
  padding:12px 14px!important;
  border-radius:15px!important;
  color:#0f172a!important;
  text-decoration:none!important;
  font-size:13px!important;
  line-height:1.7!important;
  font-weight:900!important;
  border:1px solid transparent!important;
  transition:background .2s ease, border-color .2s ease, transform .2s ease!important;
}

html[data-theme="dark"] .op-live-item{
  color:#f8fafc!important;
}

.op-live-item:hover{
  transform:translateY(-2px)!important;
  background:rgba(17,202,160,.10)!important;
  border-color:rgba(17,202,160,.22)!important;
}

.op-live-meta{
  display:block!important;
  margin-top:3px!important;
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
}

html[data-theme="dark"] .op-live-meta{
  color:#cbd5e1!important;
}

.op-live-empty,
.op-live-loading{
  padding:14px!important;
  color:#64748b!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:center!important;
}

html[data-theme="dark"] .op-live-empty,
html[data-theme="dark"] .op-live-loading{
  color:#cbd5e1!important;
}

/* في الجوال */
@media(max-width:768px){
  .op-palace-search{
    grid-template-columns:42px 1fr 42px!important;
  }

  .op-live-search{
    max-height:330px!important;
  }
}

/* ===== FE_ORIENTAL_PALACE_V3_SEARCH_PATCH END ===== */

/* ===== FE_ORIENTAL_FRONT_STATIC_V3 START ===== */

/*
  Static Oriental Front V3
  Safe:
  - No REST API
  - No MutationObserver
  - No infinite loops
  - No footer
  - No date
  - No read more
*/

:root{
  --sf-bg:#0a192f;
  --sf-bg2:#07182d;
  --sf-gold:#d4af37;
  --sf-gold2:#f0c75e;
  --sf-teal:#00b4d8;
  --sf-teal2:#48cae4;
  --sf-white:#f8fafc;
  --sf-muted:#94a3b8;
  --sf-glass:rgba(255,255,255,.075);
  --sf-glass2:rgba(255,255,255,.105);
  --sf-border:rgba(255,255,255,.14);
  --sf-radius:28px;
  --sf-shadow:0 24px 80px rgba(0,0,0,.28);
}

html.sf-front-active{
  scroll-behavior:smooth;
}

body.sf-front-loaded{
  background:
    radial-gradient(circle at 16% 14%, rgba(212,175,55,.12), transparent 25%),
    radial-gradient(circle at 84% 12%, rgba(0,180,216,.10), transparent 25%),
    linear-gradient(180deg,var(--sf-bg),var(--sf-bg2))!important;
  color:var(--sf-white)!important;
}

/* حذف محتوى الرئيسية القديم */
body.sf-front-loaded .site-main > *:not(.sf-home){
  display:none!important;
}

/* حذف الفوتر بالكامل */
body.sf-front-loaded .site-footer,
body.sf-front-loaded .site-info,
body.sf-front-loaded footer{
  display:none!important;
}

/* الهيدر */
body.sf-front-loaded .site-header,
body.sf-front-loaded .main-navigation{
  position:sticky!important;
  top:0!important;
  z-index:9999!important;
  background:rgba(7,24,45,.82)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  box-shadow:0 12px 38px rgba(2,6,23,.22)!important;
}

body.sf-front-loaded .site-branding .main-title a,
body.sf-front-loaded .site-branding .site-title a{
  color:var(--sf-gold)!important;
  font-weight:1000!important;
  text-shadow:0 0 22px rgba(212,175,55,.28)!important;
}

body.sf-front-loaded .main-navigation .main-nav ul li a{
  color:rgba(248,250,252,.88)!important;
  font-weight:900!important;
}

body.sf-front-loaded .main-navigation .main-nav ul li:hover>a,
body.sf-front-loaded .main-navigation .main-nav ul li[class*="current-menu-"]>a{
  color:var(--sf-gold)!important;
}

/* زخارف خلفية خفيفة */
body.sf-front-loaded::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-4;
  pointer-events:none;
  opacity:.45;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,.17) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 20%, rgba(72,202,228,.14) 0 1px, transparent 2px),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,.025) 22px 23px);
  background-size:110px 110px,130px 130px,58px 58px;
}

.sf-home{
  direction:rtl;
  width:100%;
  overflow:hidden;
  position:relative;
}

.sf-section{
  max-width:1240px;
  width:calc(100% - 42px);
  margin:0 auto;
  position:relative;
  z-index:2;
}

.sf-glass{
  background:var(--sf-glass);
  border:1px solid var(--sf-border);
  border-radius:var(--sf-radius);
  box-shadow:var(--sf-shadow);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

/* Hero */
.sf-hero{
  min-height:calc(100vh - 84px);
  display:grid;
  place-items:center;
  position:relative;
  padding:70px 0 58px;
}

.sf-hero::before,
.sf-hero::after{
  content:"✦";
  position:absolute;
  display:grid;
  place-items:center;
  font-size:130px;
  width:190px;
  height:190px;
  animation:sfSpin 30s linear infinite;
  pointer-events:none;
}

.sf-hero::before{
  top:8%;
  right:5%;
  color:rgba(212,175,55,.18);
}

.sf-hero::after{
  bottom:8%;
  left:5%;
  color:rgba(72,202,228,.15);
  animation-direction:reverse;
}

@keyframes sfSpin{
  to{transform:rotate(360deg)}
}

.sf-hero-inner{
  max-width:980px;
  text-align:center;
  padding:38px 24px;
}

.sf-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 17px;
  border-radius:999px;
  color:#fff7d6;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.13);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  font-size:13px;
  font-weight:1000;
  box-shadow:0 16px 42px rgba(0,0,0,.22);
}

.sf-title{
  margin:20px 0 0!important;
  color:transparent!important;
  background:linear-gradient(90deg,var(--sf-gold2),#fff3bd,var(--sf-teal2));
  -webkit-background-clip:text;
  background-clip:text;
  font-size:clamp(3rem,8vw,7rem)!important;
  line-height:1.08!important;
  font-weight:1000!important;
}

.sf-subtitle{
  max-width:740px;
  margin:22px auto 0!important;
  color:rgba(248,250,252,.82)!important;
  font-size:clamp(1rem,2vw,1.35rem)!important;
  line-height:2!important;
  font-weight:800!important;
}

/* Search */
.sf-search-wrap{
  width:min(780px,100%);
  margin:30px auto 0;
  position:relative;
  z-index:30;
}

.sf-search{
  position:relative;
  display:grid;
  grid-template-columns:54px 1fr 54px;
  gap:10px;
  align-items:center;
  padding:9px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.17);
  box-shadow:0 24px 70px rgba(0,0,0,.26);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.sf-search input{
  width:100%!important;
  height:52px!important;
  border:0!important;
  outline:0!important;
  border-radius:999px!important;
  padding:0 20px!important;
  color:#07182d!important;
  background:rgba(255,255,255,.95)!important;
  font-size:16px!important;
  font-weight:900!important;
  text-align:right!important;
}

.sf-search button{
  width:54px!important;
  height:52px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  cursor:pointer!important;
  display:grid!important;
  place-items:center!important;
  font-size:19px!important;
  font-weight:1000!important;
}

.sf-voice{
  color:#07182d!important;
  background:linear-gradient(135deg,var(--sf-gold),var(--sf-gold2))!important;
  box-shadow:0 14px 30px rgba(212,175,55,.24)!important;
}

.sf-submit{
  color:#07182d!important;
  background:linear-gradient(135deg,var(--sf-teal),var(--sf-teal2))!important;
  box-shadow:0 14px 30px rgba(0,180,216,.20)!important;
}

.sf-voice.is-listening{
  color:#fff!important;
  background:linear-gradient(135deg,#ef4444,#f97316)!important;
  animation:sfPulse 1s ease-in-out infinite;
}

@keyframes sfPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.08)}
}

.sf-live{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  left:0;
  display:none;
  max-height:390px;
  overflow:auto;
  padding:12px;
  border-radius:24px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 28px 80px rgba(0,0,0,.34);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  z-index:99999;
}

.sf-live.is-open{
  display:block;
}

.sf-live a{
  display:block;
  padding:13px 15px;
  border-radius:16px;
  color:#0f172a!important;
  text-decoration:none!important;
  font-size:14px;
  line-height:1.7;
  font-weight:950;
  border:1px solid transparent;
}

.sf-live a:hover{
  background:rgba(0,180,216,.10);
  border-color:rgba(0,180,216,.22);
}

.sf-live span{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:11px;
  font-weight:800;
}

.sf-live-empty{
  padding:15px;
  text-align:center;
  color:#64748b;
  font-size:14px;
  font-weight:900;
}

/* Hero buttons */
.sf-actions{
  margin-top:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.sf-btn{
  display:inline-flex;
  min-height:52px;
  align-items:center;
  justify-content:center;
  padding:0 26px;
  border-radius:999px;
  color:#07182d!important;
  background:linear-gradient(135deg,var(--sf-teal),var(--sf-teal2));
  border:1px solid rgba(212,175,55,.55);
  text-decoration:none!important;
  font-size:15px;
  font-weight:1000;
  box-shadow:0 18px 42px rgba(0,180,216,.22);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.sf-btn:hover{
  transform:translateY(-4px);
  background:linear-gradient(135deg,var(--sf-gold),var(--sf-gold2));
}

/* Values */
.sf-values{
  padding:18px 0 70px;
}

.sf-values-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.sf-value{
  min-height:190px;
  padding:30px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.sf-value:hover{
  transform:translateY(-8px);
  border-color:rgba(212,175,55,.48);
  box-shadow:0 28px 70px rgba(212,175,55,.13);
}

.sf-value-icon{
  font-size:44px;
  display:block;
  margin-bottom:13px;
}

.sf-value h3{
  margin:0 0 8px!important;
  color:var(--sf-gold)!important;
  font-size:1.36rem!important;
  font-weight:1000!important;
}

.sf-value p{
  max-width:270px;
  margin:0 auto!important;
  color:var(--sf-muted)!important;
  line-height:1.9!important;
  font-weight:800!important;
}

/* Sections heading */
.sf-section-head{
  margin:0 0 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
}

.sf-section-head h2{
  margin:0!important;
  color:var(--sf-gold)!important;
  font-size:clamp(1.9rem,4vw,3rem)!important;
  line-height:1.3!important;
  font-weight:1000!important;
}

.sf-section-head h2::after{
  content:"";
  display:block;
  width:86px;
  height:3px;
  margin:10px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--sf-gold),var(--sf-teal));
}

.sf-section-head a{
  color:var(--sf-teal2)!important;
  text-decoration:none!important;
  font-weight:1000!important;
}

.sf-section-head a:hover{
  color:var(--sf-gold)!important;
}

/* Categories */
.sf-categories{
  padding:8px 0 82px;
}

.sf-cat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.sf-cat{
  min-height:170px;
  padding:30px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
  position:relative;
  overflow:hidden;
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.sf-cat::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right,rgba(212,175,55,.16),transparent 36%),
    radial-gradient(circle at bottom left,rgba(0,180,216,.13),transparent 34%);
}

.sf-cat:hover{
  transform:translateY(-8px);
  border-color:rgba(212,175,55,.55);
  box-shadow:0 28px 76px rgba(212,175,55,.14);
}

.sf-cat-icon,
.sf-cat h3,
.sf-cat span{
  position:relative;
  z-index:2;
}

.sf-cat-icon{
  font-size:42px;
  margin-bottom:12px;
}

.sf-cat h3{
  margin:0!important;
  color:var(--sf-gold)!important;
  font-size:1.32rem!important;
  font-weight:1000!important;
}

.sf-cat span{
  display:block;
  margin-top:7px;
  color:var(--sf-muted);
  font-size:13px;
  font-weight:850;
}

/* Quick latest cards without date/read */
.sf-latest{
  padding:0 0 88px;
}

.sf-post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.sf-post{
  min-height:150px;
  padding:24px;
  text-align:center;
  text-decoration:none!important;
  color:inherit!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.sf-post:hover{
  transform:translateY(-8px);
  border-color:rgba(212,175,55,.55);
}

.sf-post h3{
  margin:0!important;
  color:var(--sf-gold)!important;
  font-size:1.15rem!important;
  line-height:1.7!important;
  font-weight:1000!important;
}

.sf-post p{
  margin:8px 0 0!important;
  color:var(--sf-muted)!important;
  line-height:1.9!important;
  font-size:13.5px!important;
  font-weight:800!important;
}

/* Top button */
.sf-top{
  position:fixed;
  left:22px;
  bottom:22px;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  z-index:99999;
  display:none;
  place-items:center;
  color:#07182d;
  background:linear-gradient(135deg,var(--sf-gold),var(--sf-gold2));
  box-shadow:0 18px 44px rgba(212,175,55,.24);
  cursor:pointer;
  font-size:20px;
  font-weight:1000;
}

.sf-top.is-visible{
  display:grid;
}

#sf-progress{
  position:fixed;
  top:0;
  right:0;
  width:0;
  height:3px;
  z-index:100000;
  background:linear-gradient(90deg,var(--sf-gold),var(--sf-gold2),var(--sf-teal));
  box-shadow:0 0 18px rgba(212,175,55,.58);
}

/* Reveal */
.sf-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}

.sf-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* Responsive */
@media(max-width:1024px){
  .sf-values-grid,
  .sf-cat-grid,
  .sf-post-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:680px){
  .sf-section{
    width:calc(100% - 28px);
  }

  .sf-hero{
    min-height:auto;
    padding:62px 0 52px;
  }

  .sf-title{
    font-size:clamp(2.6rem,14vw,4rem)!important;
  }

  .sf-search{
    grid-template-columns:48px 1fr 48px;
    gap:7px;
    padding:7px;
  }

  .sf-search input{
    height:48px!important;
    font-size:14px!important;
    padding:0 14px!important;
  }

  .sf-search button{
    width:48px!important;
    height:48px!important;
    font-size:17px!important;
  }

  .sf-values-grid,
  .sf-cat-grid,
  .sf-post-grid{
    grid-template-columns:1fr;
  }
}

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

  .sf-reveal{
    opacity:1!important;
    transform:none!important;
  }
}

/* ===== FE_ORIENTAL_FRONT_STATIC_V3 END ===== */

/* ===== FE_GLOBAL_ORIENTAL_COLORS_V1 START ===== */

/*
  Global Oriental Theme Colors
  يطبق هوية الأزرق الكحلي + الذهبي + الفيروزي على كامل الموقع
*/

:root{
  --fo-bg:#0a192f;
  --fo-bg-2:#07182d;
  --fo-card:rgba(255,255,255,.075);
  --fo-card-strong:rgba(255,255,255,.105);
  --fo-border:rgba(255,255,255,.14);
  --fo-text:#f8fafc;
  --fo-muted:#94a3b8;
  --fo-gold:#d4af37;
  --fo-gold-2:#f0c75e;
  --fo-teal:#00b4d8;
  --fo-teal-2:#48cae4;
  --fo-radius:26px;
  --fo-shadow:0 24px 80px rgba(0,0,0,.24);
}

html[data-theme="dark"]{
  --fo-bg:#030712;
  --fo-bg-2:#07111f;
  --fo-card:rgba(255,255,255,.055);
  --fo-card-strong:rgba(255,255,255,.085);
}

/* خلفية عامة للموقع */
body{
  background:
    radial-gradient(circle at 16% 14%, rgba(212,175,55,.10), transparent 25%),
    radial-gradient(circle at 84% 12%, rgba(0,180,216,.09), transparent 25%),
    linear-gradient(180deg,var(--fo-bg),var(--fo-bg-2))!important;
  color:var(--fo-text)!important;
}

/* زخرفة ناعمة على كل الموقع */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-5;
  pointer-events:none;
  opacity:.34;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,.16) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 20%, rgba(72,202,228,.13) 0 1px, transparent 2px),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,.023) 22px 23px);
  background-size:110px 110px,130px 130px,58px 58px;
}

/* إصلاح تباعد الحروف في كل الموقع */
body,
body *{
  letter-spacing:0!important;
}

/* الهيدر */
.site-header,
.main-navigation{
  background:rgba(7,24,45,.84)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  box-shadow:0 12px 38px rgba(2,6,23,.22)!important;
}

.site-branding .main-title a,
.site-branding .site-title a,
.site-logo a{
  color:var(--fo-gold)!important;
  font-weight:1000!important;
  text-shadow:0 0 22px rgba(212,175,55,.28)!important;
}

.main-navigation .main-nav ul li a,
.menu-toggle,
.menu-bar-items a{
  color:rgba(248,250,252,.88)!important;
  font-weight:900!important;
}

.main-navigation .main-nav ul li:hover>a,
.main-navigation .main-nav ul li[class*="current-menu-"]>a,
.main-navigation .main-nav ul li.current-menu-item>a{
  color:var(--fo-gold)!important;
}

.main-navigation ul ul{
  background:rgba(7,24,45,.96)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.28)!important;
}

/* الحاويات العامة */
.site-content,
.content-area,
.inside-article,
.sidebar .widget,
.comments-area,
.page-header,
.one-container .site-content{
  background:transparent!important;
}

/* المقالة المنفردة والصفحات */
.single .inside-article,
.page:not(.home) .inside-article,
.single-post .inside-article{
  background:var(--fo-card)!important;
  border:1px solid var(--fo-border)!important;
  border-radius:var(--fo-radius)!important;
  box-shadow:var(--fo-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  padding:clamp(22px,4vw,46px)!important;
  overflow:hidden!important;
  position:relative!important;
}

.single .inside-article::before,
.page:not(.home) .inside-article::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at top right,rgba(212,175,55,.12),transparent 34%),
    radial-gradient(circle at bottom left,rgba(0,180,216,.10),transparent 34%);
  z-index:0;
}

.single .inside-article > *,
.page:not(.home) .inside-article > *{
  position:relative;
  z-index:1;
}

/* عنوان المقالة */
.single .entry-title,
.page .entry-title{
  color:transparent!important;
  background:linear-gradient(90deg,var(--fo-gold-2),#fff3bd,var(--fo-teal-2));
  -webkit-background-clip:text;
  background-clip:text;
  font-size:clamp(2rem,5vw,4rem)!important;
  line-height:1.35!important;
  font-weight:1000!important;
  text-align:center!important;
  margin-bottom:22px!important;
}

/* بيانات المقال */
.single .entry-meta,
.single .entry-meta a,
.page .entry-meta,
.page .entry-meta a{
  color:var(--fo-muted)!important;
  text-align:center!important;
  font-weight:800!important;
}

.single .entry-meta{
  justify-content:center!important;
}

/* محتوى المقال */
.entry-content{
  color:rgba(248,250,252,.88)!important;
  font-size:18px!important;
  line-height:2.15!important;
  font-weight:650!important;
}

.entry-content p{
  color:rgba(248,250,252,.88)!important;
}

.entry-content strong,
.entry-content b{
  color:#fff7d6!important;
}

.entry-content h2,
.entry-content h3,
.entry-content h4{
  color:var(--fo-gold)!important;
  font-weight:1000!important;
  line-height:1.55!important;
  margin-top:34px!important;
  margin-bottom:14px!important;
}

.entry-content h2{
  font-size:clamp(1.55rem,3vw,2.3rem)!important;
  padding-bottom:10px!important;
  border-bottom:1px solid rgba(212,175,55,.28)!important;
}

.entry-content h3{
  font-size:clamp(1.3rem,2.4vw,1.8rem)!important;
}

/* الروابط */
a,
.entry-content a{
  color:var(--fo-teal-2)!important;
  text-decoration:none!important;
  transition:color .22s ease, opacity .22s ease;
}

a:hover,
.entry-content a:hover{
  color:var(--fo-gold-2)!important;
}

/* الصور داخل المقال */
.entry-content img,
.featured-image img,
.post-image img,
.wp-post-image{
  border-radius:22px!important;
  box-shadow:0 20px 60px rgba(0,0,0,.24)!important;
}

/* الاقتباسات */
.entry-content blockquote{
  margin:28px 0!important;
  padding:22px 24px!important;
  border-right:4px solid var(--fo-gold)!important;
  border-left:0!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.075)!important;
  color:rgba(248,250,252,.88)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.18)!important;
}

.entry-content blockquote p{
  color:rgba(248,250,252,.92)!important;
}

/* القوائم */
.entry-content ul,
.entry-content ol{
  color:rgba(248,250,252,.88)!important;
}

.entry-content li::marker{
  color:var(--fo-gold)!important;
}

/* الجداول */
.entry-content table{
  width:100%!important;
  overflow:hidden!important;
  border-radius:18px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  background:rgba(255,255,255,.055)!important;
  color:rgba(248,250,252,.88)!important;
}

.entry-content th{
  background:rgba(212,175,55,.16)!important;
  color:var(--fo-gold-2)!important;
  font-weight:1000!important;
}

.entry-content td,
.entry-content th{
  border-color:rgba(255,255,255,.12)!important;
  padding:14px!important;
}

/* أزرار ووردبريس */
.wp-block-button__link,
button,
input[type="submit"],
.button,
.read-more,
.generate-back-to-top{
  border-radius:999px!important;
  background:linear-gradient(135deg,var(--fo-teal),var(--fo-teal-2))!important;
  color:#07182d!important;
  border:1px solid rgba(212,175,55,.48)!important;
  font-weight:1000!important;
  box-shadow:0 14px 34px rgba(0,180,216,.18)!important;
  transition:transform .22s ease, background .22s ease, box-shadow .22s ease!important;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.button:hover,
.read-more:hover,
.generate-back-to-top:hover{
  transform:translateY(-2px)!important;
  background:linear-gradient(135deg,var(--fo-gold),var(--fo-gold-2))!important;
  color:#07182d!important;
  box-shadow:0 18px 44px rgba(212,175,55,.24)!important;
}

/* حقول الإدخال */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select{
  background:rgba(255,255,255,.92)!important;
  color:#07182d!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:16px!important;
  font-weight:800!important;
}

input:focus,
textarea:focus,
select:focus{
  border-color:var(--fo-gold)!important;
  box-shadow:0 0 0 3px rgba(212,175,55,.18)!important;
  outline:0!important;
}

/* السايدبار */
.sidebar .widget{
  background:var(--fo-card)!important;
  border:1px solid var(--fo-border)!important;
  border-radius:22px!important;
  box-shadow:var(--fo-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  color:rgba(248,250,252,.86)!important;
}

.sidebar .widget-title{
  color:var(--fo-gold)!important;
  font-weight:1000!important;
}

.sidebar a{
  color:var(--fo-teal-2)!important;
}

.sidebar a:hover{
  color:var(--fo-gold-2)!important;
}

/* التعليقات */
.comments-area{
  background:var(--fo-card)!important;
  border:1px solid var(--fo-border)!important;
  border-radius:var(--fo-radius)!important;
  box-shadow:var(--fo-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  padding:clamp(20px,4vw,38px)!important;
  color:rgba(248,250,252,.86)!important;
}

.comments-title,
.comment-reply-title{
  color:var(--fo-gold)!important;
  font-weight:1000!important;
}

.comment-content{
  color:rgba(248,250,252,.86)!important;
}

/* التنقل بين المقالات */
.post-navigation,
.paging-navigation{
  background:var(--fo-card)!important;
  border:1px solid var(--fo-border)!important;
  border-radius:22px!important;
  box-shadow:var(--fo-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  padding:18px!important;
}

.post-navigation a,
.paging-navigation a{
  color:var(--fo-teal-2)!important;
  font-weight:1000!important;
}

.post-navigation a:hover,
.paging-navigation a:hover{
  color:var(--fo-gold-2)!important;
}

/* الفوتر */
.site-footer,
.site-info{
  background:rgba(3,7,18,.88)!important;
  color:rgba(248,250,252,.78)!important;
  border-top:1px solid rgba(255,255,255,.09)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}

.site-footer a,
.site-info a{
  color:var(--fo-gold)!important;
}

.site-footer a:hover,
.site-info a:hover{
  color:var(--fo-teal-2)!important;
}

/* بطاقات الأرشيف الافتراضية إن وجدت */
.blog .inside-article,
.archive .inside-article,
.search .inside-article{
  background:var(--fo-card)!important;
  border:1px solid var(--fo-border)!important;
  border-radius:22px!important;
  box-shadow:var(--fo-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}

.blog .entry-title a,
.archive .entry-title a,
.search .entry-title a{
  color:var(--fo-gold)!important;
}

/* الجوال */
@media(max-width:768px){
  .single .inside-article,
  .page:not(.home) .inside-article{
    border-radius:20px!important;
    padding:20px!important;
  }

  .entry-content{
    font-size:16px!important;
    line-height:2!important;
  }

  .single .entry-title,
  .page .entry-title{
    font-size:clamp(1.8rem,9vw,2.7rem)!important;
  }
}

/* ===== FE_GLOBAL_ORIENTAL_COLORS_V1 END ===== */



/* ===== FE_DARK_ARTICLE_CONTRAST_FIX_V1 START ===== */

/*
  Fix article contrast in dark mode
  يحسن وضوح النص داخل المقالات والصفحات في الوضع الليلي
*/

/* خلفية المقال في الوضع الليلي */
html[data-theme="dark"] body.single .inside-article,
html[data-theme="dark"] body.single-post .inside-article,
html[data-theme="dark"] body.page:not(.home) .inside-article,
body.dark-mode.single .inside-article,
body.dark-mode.single-post .inside-article,
body.dark-mode.page:not(.home) .inside-article{
  background:rgba(3, 12, 27, .92)!important;
  border-color:rgba(240,199,94,.22)!important;
  box-shadow:
    0 24px 80px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.06)!important;
}

/* النص الأساسي داخل المقال */
html[data-theme="dark"] body.single .entry-content,
html[data-theme="dark"] body.single-post .entry-content,
html[data-theme="dark"] body.page:not(.home) .entry-content,
body.dark-mode.single .entry-content,
body.dark-mode.single-post .entry-content,
body.dark-mode.page:not(.home) .entry-content{
  color:#f8fafc!important;
  font-weight:700!important;
}

/* الفقرات */
html[data-theme="dark"] body.single .entry-content p,
html[data-theme="dark"] body.single-post .entry-content p,
html[data-theme="dark"] body.page:not(.home) .entry-content p,
body.dark-mode.single .entry-content p,
body.dark-mode.single-post .entry-content p,
body.dark-mode.page:not(.home) .entry-content p{
  color:#f1f5f9!important;
  line-height:2.2!important;
  font-weight:700!important;
}

/* النصوص العامة داخل المقال */
html[data-theme="dark"] body.single .entry-content li,
html[data-theme="dark"] body.single-post .entry-content li,
html[data-theme="dark"] body.page:not(.home) .entry-content li,
html[data-theme="dark"] body.single .entry-content span,
html[data-theme="dark"] body.single-post .entry-content span,
html[data-theme="dark"] body.page:not(.home) .entry-content span,
body.dark-mode.single .entry-content li,
body.dark-mode.single-post .entry-content li,
body.dark-mode.page:not(.home) .entry-content li,
body.dark-mode.single .entry-content span,
body.dark-mode.single-post .entry-content span,
body.dark-mode.page:not(.home) .entry-content span{
  color:#f1f5f9!important;
}

/* العناوين داخل المقال */
html[data-theme="dark"] body.single .entry-content h2,
html[data-theme="dark"] body.single-post .entry-content h2,
html[data-theme="dark"] body.page:not(.home) .entry-content h2,
html[data-theme="dark"] body.single .entry-content h3,
html[data-theme="dark"] body.single-post .entry-content h3,
html[data-theme="dark"] body.page:not(.home) .entry-content h3,
html[data-theme="dark"] body.single .entry-content h4,
html[data-theme="dark"] body.single-post .entry-content h4,
html[data-theme="dark"] body.page:not(.home) .entry-content h4,
body.dark-mode.single .entry-content h2,
body.dark-mode.single-post .entry-content h2,
body.dark-mode.page:not(.home) .entry-content h2,
body.dark-mode.single .entry-content h3,
body.dark-mode.single-post .entry-content h3,
body.dark-mode.page:not(.home) .entry-content h3,
body.dark-mode.single .entry-content h4,
body.dark-mode.single-post .entry-content h4,
body.dark-mode.page:not(.home) .entry-content h4{
  color:#f0c75e!important;
  text-shadow:0 0 18px rgba(240,199,94,.16)!important;
}

/* عنوان المقال الرئيسي */
html[data-theme="dark"] body.single .entry-title,
html[data-theme="dark"] body.single-post .entry-title,
html[data-theme="dark"] body.page:not(.home) .entry-title,
body.dark-mode.single .entry-title,
body.dark-mode.single-post .entry-title,
body.dark-mode.page:not(.home) .entry-title{
  background:linear-gradient(90deg,#f0c75e,#fff3bd,#48cae4)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  text-shadow:none!important;
}

/* بيانات المقال */
html[data-theme="dark"] body.single .entry-meta,
html[data-theme="dark"] body.single-post .entry-meta,
html[data-theme="dark"] body.single .entry-meta *,
html[data-theme="dark"] body.single-post .entry-meta *,
body.dark-mode.single .entry-meta,
body.dark-mode.single-post .entry-meta,
body.dark-mode.single .entry-meta *,
body.dark-mode.single-post .entry-meta *{
  color:#cbd5e1!important;
}

/* الروابط داخل المقال */
html[data-theme="dark"] body.single .entry-content a,
html[data-theme="dark"] body.single-post .entry-content a,
html[data-theme="dark"] body.page:not(.home) .entry-content a,
body.dark-mode.single .entry-content a,
body.dark-mode.single-post .entry-content a,
body.dark-mode.page:not(.home) .entry-content a{
  color:#67e8f9!important;
  font-weight:900!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(103,232,249,.35)!important;
}

html[data-theme="dark"] body.single .entry-content a:hover,
html[data-theme="dark"] body.single-post .entry-content a:hover,
html[data-theme="dark"] body.page:not(.home) .entry-content a:hover,
body.dark-mode.single .entry-content a:hover,
body.dark-mode.single-post .entry-content a:hover,
body.dark-mode.page:not(.home) .entry-content a:hover{
  color:#f0c75e!important;
  border-bottom-color:rgba(240,199,94,.55)!important;
}

/* الاقتباسات */
html[data-theme="dark"] body.single .entry-content blockquote,
html[data-theme="dark"] body.single-post .entry-content blockquote,
html[data-theme="dark"] body.page:not(.home) .entry-content blockquote,
body.dark-mode.single .entry-content blockquote,
body.dark-mode.single-post .entry-content blockquote,
body.dark-mode.page:not(.home) .entry-content blockquote{
  background:rgba(255,255,255,.075)!important;
  border-right-color:#f0c75e!important;
  color:#f8fafc!important;
}

html[data-theme="dark"] body.single .entry-content blockquote p,
html[data-theme="dark"] body.single-post .entry-content blockquote p,
html[data-theme="dark"] body.page:not(.home) .entry-content blockquote p,
body.dark-mode.single .entry-content blockquote p,
body.dark-mode.single-post .entry-content blockquote p,
body.dark-mode.page:not(.home) .entry-content blockquote p{
  color:#f8fafc!important;
}

/* الجداول */
html[data-theme="dark"] body.single .entry-content table,
html[data-theme="dark"] body.single-post .entry-content table,
html[data-theme="dark"] body.page:not(.home) .entry-content table,
body.dark-mode.single .entry-content table,
body.dark-mode.single-post .entry-content table,
body.dark-mode.page:not(.home) .entry-content table{
  background:rgba(255,255,255,.065)!important;
  color:#f8fafc!important;
  border-color:rgba(240,199,94,.20)!important;
}

html[data-theme="dark"] body.single .entry-content td,
html[data-theme="dark"] body.single-post .entry-content td,
html[data-theme="dark"] body.page:not(.home) .entry-content td,
html[data-theme="dark"] body.single .entry-content th,
html[data-theme="dark"] body.single-post .entry-content th,
html[data-theme="dark"] body.page:not(.home) .entry-content th,
body.dark-mode.single .entry-content td,
body.dark-mode.single-post .entry-content td,
body.dark-mode.page:not(.home) .entry-content td,
body.dark-mode.single .entry-content th,
body.dark-mode.single-post .entry-content th,
body.dark-mode.page:not(.home) .entry-content th{
  color:#f8fafc!important;
  border-color:rgba(255,255,255,.14)!important;
}

html[data-theme="dark"] body.single .entry-content th,
html[data-theme="dark"] body.single-post .entry-content th,
html[data-theme="dark"] body.page:not(.home) .entry-content th,
body.dark-mode.single .entry-content th,
body.dark-mode.single-post .entry-content th,
body.dark-mode.page:not(.home) .entry-content th{
  background:rgba(212,175,55,.18)!important;
  color:#fff3bd!important;
}

/* الأكواد والكلمات المميزة */
html[data-theme="dark"] body.single .entry-content code,
html[data-theme="dark"] body.single-post .entry-content code,
html[data-theme="dark"] body.page:not(.home) .entry-content code,
body.dark-mode.single .entry-content code,
body.dark-mode.single-post .entry-content code,
body.dark-mode.page:not(.home) .entry-content code{
  background:rgba(0,0,0,.35)!important;
  color:#67e8f9!important;
  border:1px solid rgba(103,232,249,.18)!important;
  border-radius:8px!important;
  padding:2px 6px!important;
}

/* صناديق GenerateBlocks داخل المقال */
html[data-theme="dark"] body.single .entry-content .gb-container,
html[data-theme="dark"] body.single-post .entry-content .gb-container,
html[data-theme="dark"] body.page:not(.home) .entry-content .gb-container,
body.dark-mode.single .entry-content .gb-container,
body.dark-mode.single-post .entry-content .gb-container,
body.dark-mode.page:not(.home) .entry-content .gb-container{
  color:#f8fafc!important;
}

/* منع أي لون رمادي ضعيف داخل المقال */
html[data-theme="dark"] body.single .entry-content [style*="color"],
html[data-theme="dark"] body.single-post .entry-content [style*="color"],
html[data-theme="dark"] body.page:not(.home) .entry-content [style*="color"],
body.dark-mode.single .entry-content [style*="color"],
body.dark-mode.single-post .entry-content [style*="color"],
body.dark-mode.page:not(.home) .entry-content [style*="color"]{
  color:#f1f5f9!important;
}

/* استثناء الروابط والعناوين من قاعدة الألوان المضمنة */
html[data-theme="dark"] body.single .entry-content a[style*="color"],
html[data-theme="dark"] body.single-post .entry-content a[style*="color"],
html[data-theme="dark"] body.page:not(.home) .entry-content a[style*="color"],
body.dark-mode.single .entry-content a[style*="color"],
body.dark-mode.single-post .entry-content a[style*="color"],
body.dark-mode.page:not(.home) .entry-content a[style*="color"]{
  color:#67e8f9!important;
}

html[data-theme="dark"] body.single .entry-content h2[style*="color"],
html[data-theme="dark"] body.single-post .entry-content h2[style*="color"],
html[data-theme="dark"] body.page:not(.home) .entry-content h2[style*="color"],
html[data-theme="dark"] body.single .entry-content h3[style*="color"],
html[data-theme="dark"] body.single-post .entry-content h3[style*="color"],
html[data-theme="dark"] body.page:not(.home) .entry-content h3[style*="color"],
body.dark-mode.single .entry-content h2[style*="color"],
body.dark-mode.single-post .entry-content h2[style*="color"],
body.dark-mode.page:not(.home) .entry-content h2[style*="color"],
body.dark-mode.single .entry-content h3[style*="color"],
body.dark-mode.single-post .entry-content h3[style*="color"],
body.dark-mode.page:not(.home) .entry-content h3[style*="color"]{
  color:#f0c75e!important;
}

/* ===== FE_DARK_ARTICLE_CONTRAST_FIX_V1 END ===== */

/* ===== FE_RANDOM_QUOTE_PRO_V2 START ===== */

#random-quote-container,
.random-quote-container,
.fe-random-quote,
[class*="random-quote"]{
  position:relative!important;
  overflow:hidden!important;
}

#random-quote-text,
.random-quote-text,
.fe-random-quote-text,
[data-random-quote-text]{
  display:block!important;
  color:#f8fafc!important;
  font-size:clamp(1.05rem,2.3vw,1.45rem)!important;
  line-height:2!important;
  font-weight:850!important;
  transition:opacity .22s ease, transform .22s ease!important;
}

#random-quote-text.fe-rq-changing,
.random-quote-text.fe-rq-changing,
.fe-random-quote-text.fe-rq-changing,
[data-random-quote-text].fe-rq-changing{
  opacity:.12!important;
  transform:translateY(8px)!important;
}

.fe-rq-source{
  display:block!important;
  margin-top:10px!important;
  color:#94a3b8!important;
  font-size:12px!important;
  font-weight:800!important;
}

.fe-rq-source a{
  color:#48cae4!important;
  text-decoration:none!important;
}

.fe-rq-source a:hover{
  color:#f0c75e!important;
}

.fe-rq-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin-top:14px!important;
}

.fe-rq-copy{
  min-height:36px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  border:1px solid rgba(212,175,55,.42)!important;
  background:linear-gradient(135deg,#00b4d8,#48cae4)!important;
  color:#07182d!important;
  font-size:12px!important;
  font-weight:1000!important;
  cursor:pointer!important;
}

.fe-rq-copy:hover{
  background:linear-gradient(135deg,#d4af37,#f0c75e)!important;
}

/* ===== FE_RANDOM_QUOTE_PRO_V2 END ===== */
