:root{
  --primary:var(--elsha3r-primary, var(--elsha3r-primary));
  --dark:#2f2f2f;
  --mid:#444;
  --bg:#ddd;
  --card:#fff;
  --muted:#777;
  --border:#e5e5e5;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth}
body{
  margin:0;
  background: var(--elsha3r-primary);
  color:#111;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height:1.7;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--elsha3r-primary);}

.button, a.button, button, input[type=submit], input[type=button], .elsha3r-btn{
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  border-radius:50px;
  text-decoration:none;
}
.button:hover, a.button:hover, button:hover, input[type=submit]:hover, input[type=button]:hover, .elsha3r-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.container{max-width:1240px;margin:0 auto;padding:0 16px;}

#layout{min-height:100vh}
.cz_overlay{display:none}

/* ------------------------------------------------------------------
   Header (matched to the provided screenshot)
-------------------------------------------------------------------*/

/* Keep the overall site container as-is, but match the header width to the screenshot. */
.header_3 .container,
.header_2 .container,
.header_4 .container{max-width:1185px;padding:0}

/* Force header container to stay fixed regardless of page content */
.single .header_3 .container,
.single .header_2 .container,
.single .header_4 .container{max-width:1185px !important;padding:0 !important;}
.page .header_3 .container,
.page .header_2 .container,
.page .header_4 .container{max-width:1185px !important;padding:0 !important;}
.archive .header_3 .container,
.archive .header_2 .container,
.archive .header_4 .container{max-width:1185px !important;padding:0 !important;}
.search .header_3 .container,
.search .header_2 .container,
.search .header_4 .container{max-width:1185px !important;padding:0 !important;}

/* Top bar */
.header_3{background:#303440;overflow:visible;position:sticky;top:0;z-index:9999}
.header_3.is-stuck{box-shadow:0 6px 16px rgba(0,0,0,.2)}
.main-nav{height:57px;display:flex;align-items:center;justify-content:space-between;gap:0;padding:0}

/* Header typography */
.header_3,
.header_2,
.header_4{font-family:"Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif}

.primary-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0;flex-wrap:nowrap}
/* Add spacing between top-level items so hover background doesn't stick to neighbors */
.primary-menu > li{margin:0 4px}

/* Animated red background: grows from the center to cover the item */
.primary-menu > li > a {
    height: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    z-index: 0;
    isolation: isolate;
    background: linear-gradient(180deg, #3a3f4a 0%, #242833 100%);
    border: 1px solid #303440;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 1px 2px rgb(0 0 0);
    transition: color .15s ease;
}
.primary-menu > li > a::after{
  content:"";
  position:absolute;
  inset:0;
  background:var(--elsha3r-primary);
  border-radius:10px;
  transform:scale(0);
  transform-origin:center;
  transition:transform .22s ease;
  z-index:-1;
}
.primary-menu > li > a:hover,
.primary-menu > li > a:focus-visible{color:#fff}
.primary-menu > li > a:hover::after,
.primary-menu > li > a:focus-visible::after{transform:scale(1)}

/* Active/current items */
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after,
.primary-menu > li.menu-item-home > a::after{transform:scale(1)}

/* Home item looks like the screenshot (red block + home icon). */
.primary-menu > li.menu-item-home > a{min-width:110px;padding:0 14px;justify-content:center;gap:10px}
.primary-menu > li.menu-item-home > a .menu-home-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px}
.primary-menu > li.menu-item-home > a .menu-home-icon svg{width:18px;height:18px;display:block;fill:currentColor}

.header-datetime{
  height:40px;
  line-height:40px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  color:#fff;
  font-weight:600;
  font-size:14px;
  white-space:nowrap;
  position:relative;
  overflow:hidden;
  border-radius:10px;
  z-index:0;
  isolation:isolate;
  /* Sunken (inset) look to match menu buttons but "pressed" */
  background:linear-gradient(180deg,#242833 0%,#3a3f4a 100%);
  border:1px solid #303440;
  box-shadow:inset 0 2px 5px rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 10%);
}
.header-datetime i{font-size:16px;line-height:1}
.dt-sep{opacity:.9}

/* Middle header (logo + editor + centered banner) */
.header_2{
  background: #d7d7d7;
  position:relative;
  box-shadow: 10px 10px 22px rgb(0 0 0 / 58%);
  z-index:0;
}
.header_2::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none; z-index:-1;
  /* Convex white highlight from center and subtle edge vignette */
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.55) 30%, rgba(255,255,255,0) 58%),
    radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 60%);
}
.header-main{height:105px;display:flex;align-items:center;justify-content:space-between;gap:22px;direction:ltr}

/* Right: Logo under the Home button */
.header-logo{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;direction:rtl}
.site-logo img{max-height:78px;width: 220px;display:block}
.site-title{font-size:44px;font-weight:800;color:#111}
.site-title:hover{color:#111}

/* Middle: Editor-in-chief centered */
.header-editor{flex:1 1 auto;display:flex;align-items:center;justify-content:center;direction:rtl}
.editor-box{display:flex;flex-direction:column;align-items:center;gap:6px;color:#303440;font-weight:600;text-align:center}
.editor-title{font-size: 13px;line-height:1.15;font-weight: 700;}
.editor-name{font-size: 20px;font-weight: 700;line-height:1.15;color: #434343;}

/* Banner (center) with light frame/shadow like the screenshot */
.header-ad{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-start}
.header-ad a,
.header-ad img{display:block}
.header-ad a{background:#fff;padding:8px 10px;box-shadow:0 0 8px rgba(0,0,0,.25)}
.header-ad img{max-height:90px;width:auto}

/* Bottom bar */
.header_4{background:#303440}
.header-bottom{height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px}
/* Ticker width matches the screenshot, but can shrink on smaller screens */
.header-bottom .ticker-section{flex:1 1 auto;max-width:680px;min-width:0}
.header-bottom .search-section{flex:0 0 auto}

/* Search (button + input) */
.header-search-form{display:flex;align-items:center;gap:12px}
.header-search-field{width:clamp(220px, 30vw, 348px);height:42px;border:1px solid #dcdcdc;border-radius:12px;padding:0 12px;font-size:14px;font-weight:500;color:#333;background:#fff;font-family:"Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif}
.header-search-field::placeholder{color:#777}
.header-search-field:focus{outline:none}
.header-search-submit{height:42px;padding:0 24px;border:0;border-radius:12px;background:var(--elsha3r-primary);color:#fff;font-size:14px;font-weight:600;cursor:pointer;font-family:"Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif}

/* Listen article button */
.elsha3r-listen-wrap{padding:0 0 10px; display:flex; justify-content:flex-start; margin-bottom:0;}
.elsha3r-listen-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;border:0;border-radius:25px;
  padding:12px 20px;font-weight:700;cursor:pointer;font-family:"Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size:14px;box-shadow:0 4px 15px rgba(var(--elsha3r-primary-rgb), 0.3);
  transition: all 0.3s ease; position:relative; overflow:hidden;
}
.elsha3r-listen-btn::before{
  content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition:left 0.5s ease;
}
.elsha3r-listen-btn:hover::before{left:100%;}
.elsha3r-listen-btn:hover{background:linear-gradient(135deg,var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%); transform:translateY(-2px); box-shadow:0 6px 20px rgba(var(--elsha3r-primary-rgb), 0.4);}
.elsha3r-listen-btn i{font-size:16px; transition:transform 0.3s ease;}
.elsha3r-listen-btn:hover i{transform:scale(1.1);}
.elsha3r-listen-btn[data-state="playing"]{background:linear-gradient(135deg,#2e7d32 0%, #1b5e20 100%); box-shadow:0 4px 15px rgba(46,125,50,0.3);}
.elsha3r-listen-btn[data-state="playing"]:hover{background:linear-gradient(135deg,#1b5e20 0%, #145314 100%); box-shadow:0 6px 20px rgba(46,125,50,0.4);}
.elsha3r-listen-btn[data-state="loading"]{background:linear-gradient(135deg,#f57c00 0%, #ef6c00 100%); box-shadow:0 4px 15px rgba(245,124,0,0.3);}
.elsha3r-listen-btn[data-state="loading"]:hover{background:linear-gradient(135deg,#ef6c00 0%, #e65100 100%); box-shadow:0 6px 20px rgba(245,124,0,0.4);}
.elsha3r-listen-btn[data-state="paused"]{background:linear-gradient(135deg,#1565c0 0%, #0d47a1 100%); box-shadow:0 4px 15px rgba(21,101,192,0.3);}
.elsha3r-listen-btn[data-state="paused"]:hover{background:linear-gradient(135deg,#0d47a1 0%, #0a3d91 100%); box-shadow:0 6px 20px rgba(21,101,192,0.4);}

@media (max-width: 768px) {
  .elsha3r-listen-wrap{padding:10px 0 15px;}
  .elsha3r-listen-btn{padding:10px 16px;font-size:13px;gap:8px;}
  .elsha3r-listen-btn i{font-size:14px;}
}

/* Ticker (gray rounded box) */
.breaking-ticker{height:42px;background:#434343;border-radius:12px;display:flex;align-items:center;overflow:hidden;padding:0 12px}
.breaking-badge{width:84px;height:32px;background:transparent url("../img/ticker.gif") center/contain no-repeat;border-radius:0;flex:0 0 auto;margin-left:12px}

.breaking-items{flex:1;min-width:0;display:flex;align-items:center;overflow:hidden}
.breaking-item{display:flex;align-items:center;gap:14px;min-width:0;white-space:nowrap}
.breaking-link{color:#fff;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.breaking-link:hover{color:#fff}
.breaking-date{color:#a8a8a8;font-size:13px;white-space:nowrap;flex:0 0 auto}

/* Typewriter cursor for breaking news */
.breaking-link.is-typing::after{content:"|";margin-right:6px;display:inline-block;opacity:.9;animation:blink 1s steps(2, start) infinite}
@keyframes blink{to{opacity:0}}

/* Controls are on the LEFT side; keep their internal order LTR (rss then arrows). */
.breaking-controls{display:flex;align-items:center;gap:14px;direction:ltr;margin-right:12px;flex:0 0 auto}
.breaking-rss{width:26px;height:26px;background:#fff;border-radius:2px;display:flex;align-items:center;justify-content:center}
.breaking-rss i{color:#f0a220;font-size:15px}
.breaking-prev,.breaking-next{border:0;background:transparent;color:#a8a8a8;font-size:26px;cursor:pointer;padding:0;line-height:1}

/* Ensure hidden breaking items are not shown. */
[hidden]{display:none !important}

/* Dropdown */
.primary-menu li{position:relative}
.primary-menu li ul{display:none;position:absolute;top:100%;right:0;min-width:200px;background:#303440;border:0;list-style:none;margin:0;padding:8px 0;z-index:99999;border-radius:8px;box-shadow:0 10px 25px rgba(0,0,0,.35)}
.primary-menu li:hover > ul{display:block}
.primary-menu li ul a{display:block;padding:9px 12px;color: #fff;font-weight:500}
.primary-menu li ul a:hover{background:rgb(30, 95, 142)}

.menu-toggle{display: none;border:0;background:transparent;color:#fff;cursor:pointer;width:44px;height:44px;align-items:center;justify-content:center;}
.menu-toggle span{display: block;width:22px;height:2px;background:#fff;margin:4px 0;}

/* Blocks */
.home-block{background:var(--card);border:1px solid var(--border);border-radius:6px;margin-bottom:14px;overflow:hidden}
.block-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.block-title{margin:0}

/* Hero (featured slider layout like the provided screenshot) */
.hero{margin-bottom:14px}
.hero-featured{font-family:"Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;}

/* Row: slider box on the RIGHT (RTL) + ad box on the far LEFT */
.hero-featured-row{display:flex;align-items: stretch;gap:16px;direction:rtl;}

/* Slider container (thick dark border) */
.hero-featured-slider{flex:0 0 68%;background: #f0f0f1;border:4px solid #3b3b3b;padding:8px;box-shadow: 0 0 0 3px #32373c inset;min-width:0}
.hero-featured-inner{display:flex;align-items: stretch;gap:10px;min-width:0}

/* Main slider */
/* Hero Slider Transitions */
.hero-slider{position:relative;flex:1 1 auto;background:#000;overflow:hidden;min-width:0}
.hero-slides{position:relative;height:360px;}

.hero-slide{position:absolute;inset:0;z-index:1;opacity:0;transition:opacity .8s ease, transform .8s ease, filter .8s ease}
.hero-slide.is-active{opacity:1;z-index:2}

/* Effect: Fade */
.hero-slider[data-effect="fade"] .hero-slide{ transform: scale(1); }

/* Effect: Zoom (Fade + Zoom) */
.hero-slider[data-effect="zoom"] .hero-slide{ transform: scale(1.08); }
.hero-slider[data-effect="zoom"] .hero-slide.is-active{ transform: scale(1); }

/* Effect: Blur (Fade + Blur) */
.hero-slider[data-effect="blur"] .hero-slide{ filter: blur(10px); transform: scale(1); }
.hero-slider[data-effect="blur"] .hero-slide.is-active{ filter: blur(0); }

/* Effect: Slide (Horizontal) */
.hero-slider[data-effect="slide"] .hero-slide{ transform: translateX(100%); opacity: 1; z-index: 1; }
.hero-slider[data-effect="slide"] .hero-slide.is-active{ transform: translateX(0); z-index: 3; }
.hero-slider[data-effect="slide"] .hero-slide.is-outgoing{ transform: translateX(-100%); z-index: 2; }
/* Reset transitions for other cases to avoid jumpiness */
.hero-slider[data-effect="slide"] .hero-slide:not(.is-active):not(.is-outgoing) { transition: none; }

.hero-slide::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.38)}
.hero-slide-link{position:absolute;inset:0;z-index:5;border: 3px solid #414241;}

/* Title/meta should be hidden by default and appear on hover (as requested) */
.hero-slide-overlay{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:space-between;padding:20px;opacity:1;transform:translateY(0);pointer-events:none;transition:opacity .18s ease, transform .18s ease;background:linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 30%, rgba(0,0,0,.8) 100%);}
.hero-slide:hover .hero-slide-overlay,
.hero-slide:focus-within .hero-slide-overlay{opacity:1;transform:translateY(0)}

.hero-content-top{flex:1;display:flex;justify-content:flex-end}
.hero-content-bottom{display:flex;justify-content:space-between;align-items:flex-end;flex-direction:row-reverse}

.hero-title{margin:0;color:#fff;font-size:24px;font-weight:600;line-height:1.4;max-width:65%;text-align:right;text-shadow:0 2px 8px rgba(0,0,0,.55);
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  display:-moz-box;-moz-box-orient:vertical;-moz-line-clamp:3;
  display:box;box-orient:vertical;line-clamp:3;
  overflow:hidden}

/* Category label (shown on hover with the overlay) */
.hero-cat{position:absolute;top:20px;right:20px;background:rgb(30, 95, 142);color:#fff;font-size:12px;font-weight:600;padding:6px 12px;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,0.3)}

/* Meta boxes (blue) */
.hero-meta{display:flex;gap:10px;align-items:center;justify-content:flex-start}
.hero-meta-box{background:rgb(30, 95, 142);color:#fff;font-size:12px;font-weight:600;padding:6px 10px;border-radius:0}

/* Responsive Design for Hero Slider */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 22px;
    max-width: 60%;
  }
  .hero-meta-box {
    font-size: 11px;
    padding: 5px 8px;
  }
  .hero-cat {
    font-size: 11px;
    padding: 5px 10px;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 20px;
    max-width: 55%;
  }
  .hero-meta-box {
    font-size: 10px;
    padding: 4px 8px;
  }
  .hero-cat {
    font-size: 10px;
    padding: 4px 8px;
  }
  .hero-slide-overlay {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 18px;
    max-width: 50%;
  }
  .hero-meta {
    gap: 8px;
    flex-wrap: wrap;
  }
  .hero-meta-box {
    font-size: 10px;
    padding: 4px 6px;
  }
  .hero-cat {
    font-size: 10px;
    padding: 4px 8px;
    top: 15px;
    right: 15px;
  }
  .hero-slide-overlay {
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 16px;
    max-width: 45%;
    line-height: 1.3;
  }
  .hero-meta {
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-meta-box {
    font-size: 9px;
    padding: 3px 6px;
  }
  .hero-cat {
    font-size: 9px;
    padding: 3px 6px;
    top: 10px;
    right: 10px;
  }
  .hero-slide-overlay {
    padding: 10px;
  }
}

/* Nav arrows */
.hero-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;border:0;background:rgba(0,0,0,.35);color:#fff;width:38px;height:38px;border-radius:3px;cursor:pointer;font-size:18px;font-weight:bold;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease}
.hero-nav:hover{background:rgba(0,0,0,.6)}
.hero-nav:focus{outline:2px solid #fff;outline-offset:2px}
.hero-prev{right:12px}
.hero-next{left:12px}

.hero-empty{background:#fff;color:#111;padding:20px}

/* Thumbnails (4 boxes) */
.hero-thumbs{/* flex:0 0 280px; */display:flex;flex-direction:column;gap:10px;min-width:0}
.hero-thumb{flex:1 1 0;min-height:0;border: 3px solid #303440;background:#222;background-size:cover;background-position:center;position:relative;cursor:pointer;padding:0;outline:none;border-radius:12px;overflow:hidden}
.hero-thumb img{border-radius:9px;width:100%;height:100%;object-fit:cover;}

/* Overlay tint layer (keeps active thumb highlighted even when text overlay is hidden) */
.hero-thumb::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.0);pointer-events:none;transition:background .2s ease;border-radius:inherit}
.hero-thumb:hover::after{background:rgba(0,0,0,.35)}

/* Text overlay (visible by default, hidden on hover) */
.hero-thumb-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px;text-align:center;opacity:1;transform:translateY(0);transition:opacity .18s ease, transform .18s ease;pointer-events:auto;overflow:hidden;border-radius:inherit}
.hero-thumb:hover .hero-thumb-overlay,
.hero-thumb:focus-visible .hero-thumb-overlay{opacity:0;transform:translateY(8px);pointer-events:none}
.hero-thumb-title{color:#fff;font-size:13px;font-weight:600;line-height:1.35;font-family:'Cairo', sans-serif;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:90%;
  margin:0 auto}

.hero-thumb-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center}
.hero-thumb-cat,.hero-thumb-author{font-size:11px;font-weight:600;color:#fff;background:rgb(30 95 142);padding:3px 8px;font-family:'Cairo', sans-serif}

/* Active thumb: dark red highlight like the website */
.hero-thumb.is-active{border-color:var(--elsha3r-primary)}
.hero-thumb.is-active::after{background:rgba(30,95,142,.35)}
.hero-thumb.is-active:hover::after{background:rgba(30,95,142,.55)}

/* Ad box (same border style) */
.hero-ad{flex:1 1 auto;background: #333333;border:4px solid #3b3b3b;padding: 5px;box-shadow:0 0 0 1px #d6d6d6 inset;display:flex;align-items:center;justify-content:center}
.hero-ad a,.hero-ad img{display:block}
.hero-ad img{width:100%;height:100%;object-fit: fill;}
.hero-ad-placeholder{font-size:13px;color:#555;text-align:center;line-height:1.6;padding:20px}

/* Responsive */
@media (max-width: 1200px){
  .hero-slides{height:340px}
  .hero-thumbs{flex-basis:230px}
  .hero-featured-slider{flex:0 0 65%}
  .hero-title{font-size:28px}
}

/* On touch devices (no hover), keep slider overlays visible for usability */
@media (hover: none), (pointer: coarse){
  .hero-thumb-overlay{opacity:0;transform:translateY(8px);pointer-events:none}
  .hero-thumb.is-active .hero-thumb-overlay{opacity:1;transform:none;pointer-events:auto}
}
@media (max-width: 980px){
  .hero-featured-row{flex-direction:column}
  .hero-featured-slider{flex: 1 1 auto;max-width:100%}
  .hero-ad{flex: 1 1 auto;width:100%;height:120px}
}
@media (max-width: 900px){
  .hero-featured-inner{flex-direction:column}
  .hero-thumbs{flex-basis:auto;width:100%;height:auto;display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
  .hero-thumb{height:90px}
  .hero-slides{height:320px}
}
@media (max-width: 600px){
  .hero-title{font-size:20px;max-width:92%}
  .hero-meta{left:12px;bottom:12px;gap:8px}
  .hero-meta-box{font-size:11px;padding:5px 8px}
  .hero-slides{height:250px}
  .hero-thumbs{grid-template-columns:1fr}
  .hero-thumb{height:84px}
}

/* Horizontal slider - VIDEO EXACT (13 pages) */
.hslider.hslider-video{background:#f4f4f4;border:1px solid #cfcfcf;border-radius:2px;padding:0;margin:14px 0;overflow:hidden}
.hslider-video .cz-hs-top{background: #303440;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding: 8px 8px;direction:ltr}
.hslider-video .cz-hs-controls{display:flex;align-items:center;gap:6px}
.hslider-video .cz-hs-btn{width:26px;height:18px;border:0;background:transparent;color:#fff;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;opacity:.95}
.hslider-video .cz-hs-btn:hover{opacity:1}
.hslider-video .cz-hs-pages{display:flex;align-items:center;gap:2px;direction:ltr}
.hslider-video .cz-hs-page{width:26px;height:18px;border:0;background:#555;color:#fff;cursor:pointer;font-weight:600;font-size:12px;line-height:1;border-radius:2px}
.hslider-video .cz-hs-page.is-active{background:var(--elsha3r-primary)}
.hslider-video .cz-hs-label{min-width:64px;text-align:right;font-weight:600;direction:rtl}

.hslider-video .cz-hs-grid{background:#fff;display:grid;grid-template-columns:2.25fr repeat(6,1fr);grid-template-rows:1fr 1fr;gap:6px;padding:6px}
.hslider-video .cz-tile{position:relative;display:block;overflow:hidden;border:2px solid #bfbfbf;background:#fff}
.hslider-video .cz-tile img{width:100%;height:100%;object-fit:cover;display:block}
.hslider-video .cz-big{grid-column:1;grid-row:1 / span 2}

.hslider-video .cz-num{position:absolute;bottom:6px;right:6px;width:24px;height:24px;border-radius:2px;background:#fff;border:2px solid var(--elsha3r-primary);color:#000;font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center}
.hslider-video .cz-big .cz-num{width:28px;height:28px;background:var(--elsha3r-primary);border-color:var(--elsha3r-primary);color:#fff}

.hslider-video .cz-hs-bottom{background: #303440;padding:6px 10px;direction:rtl}
.hslider-video .cz-hs-bottom-link{color:#fff;text-decoration:none;font-weight:800;font-size:16px;display:block;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hslider-video .cz-hs-bottom-link:hover{color:#fff}

@media (max-width: 1100px){
  .hslider-video .cz-hs-grid{grid-template-columns:1.8fr repeat(4,1fr)}
  /* hide last 2 columns on smaller screens */
  .hslider-video .cz-hs-grid .cz-tile:nth-child(n+7):nth-child(-n+8){display:none}
  .hslider-video .cz-hs-grid .cz-tile:nth-child(n+14){display:none}
}
@media (max-width: 700px){
  .hslider-video .cz-hs-pages{display:none}
  .hslider-video .cz-hs-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:6px}
  .hslider-video .cz-big{grid-column:1 / span 2;grid-row:auto}
}


/* Blocks */
.home-block{background:var(--card);border:1px solid var(--border);border-radius:6px;margin-bottom:14px;overflow:hidden}
.block-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.block-title{margin:0}
.block-title a{color:#fff}
.block-more{color:#fff;opacity:.9;font-size:13px;padding:0 10px}
.home-block .block-header{background: #303440;color:#fff;border-right: 10px solid #303440;padding:8px 10px}
.block-body{padding:10px;display:grid;gap:10px}

.home-block.layout-grid-2 .block-body{grid-template-columns:repeat(2,1fr)}
.home-block.layout-grid-3 .block-body{grid-template-columns:repeat(3,1fr)}
.home-block.layout-grid-4 .block-body{grid-template-columns:repeat(4,1fr)}
.home-block.layout-list .block-body{grid-template-columns:1fr}

.post-card{border:1px solid var(--border);border-radius:6px;overflow:hidden;background:#fafafa;display:flex;flex-direction:column;min-height:100%}
.home-block.layout-list .post-card{flex-direction:row;gap:10px;background:#fff}
.post-thumb{display:block}
.post-thumb img{width:100%;height:clamp(150px, 16vw, 190px);object-fit:cover}
.home-block.layout-list .post-thumb img{width:120px;height:90px}
.post-body{padding:10px;display:flex;flex-direction:column;gap:8px}
.post-title{margin:0;font-size:14px;line-height:1.7}
.post-title a{font-weight:800}
.post-meta{display:flex;gap:10px;font-size:12px;color:var(--muted)}
.elsha3r-meta-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border-radius:4px;
  background:var(--elsha3r-primary); /* like main slider */
  color:#fff;
  font-family:'Cairo', Arial, sans-serif;
  font-weight:600;
  font-size:11px;
  line-height:18px;
  white-space:nowrap;
}
.post-meta .post-author{margin-right:auto}
.post-excerpt{font-size:13px;color:#444}

/* Archive / single */
.content-grid{display:grid;grid-template-columns: 1fr 320px;gap:16px;align-items:start}
body.no-post-sidebar .content-grid{grid-template-columns:1fr}
.archive-card{background:var(--card);border:1px solid var(--border);border-radius:6px;overflow:hidden;margin-bottom:12px;display:grid;grid-template-columns: 220px 1fr}
.archive-thumb img{width:100%;height:160px;object-fit:cover}
.archive-body{padding:10px}
.archive-title{margin:0 0 8px;font-size:18px;line-height:1.6}
.archive-meta{display:flex;gap:10px;font-size:12px;color:var(--muted);margin-bottom:10px}

.single-article{background:var(--card);border:1px solid var(--border);border-radius:6px;padding:12px}
.single-title{margin:0 0 8px;font-size:24px;line-height:1.6}
.single-meta{display:flex;gap:10px;color:var(--muted);font-size:13px;margin-bottom:10px}
.single-thumb{margin:12px 0}
.single-thumb img{width:100%;height:auto;border-radius:6px}
.single-content{font-size:16px;color:#222}
.single-content a{text-decoration:underline}

.pagination{margin:14px 0}

/* Footer */
#site_footer{background: #303440;color:#ddd;margin-top: -25px;}
.footer-top{display:grid;grid-template-columns: 280px 1fr;gap:18px;padding:18px 0}
.footer-simple .footer-top{grid-template-columns:1fr;justify-items:center;text-align:center}
.footer-simple .footer-brand{align-items:center}
.footer-simple .footer-logo{display:flex;justify-content:center}
.footer-brand{display:flex;flex-direction:column;gap:12px}
.footer-logo{font-weight:800;color:#fff}
.footer-logo img{max-height:70px;width:auto}
.social-links{display:flex;gap:10px;flex-wrap:wrap}
.social-link{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:rgba(255,255,255,.08);color:#fff}
.social-link:hover{background:rgba(255,255,255,.16);color:#fff}

.footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.footer-widgets .widget{background:transparent;border:0;padding:0;margin:0}
.footer-widgets .widget-title{background:transparent;border:0;padding:0;margin:0 0 10px;color:#fff}
.footer-widgets a{color:#ddd}
.footer-widgets a:hover{color:#fff}

.footer-menu{list-style:none;margin:12px 0 0;padding:0;display:flex;gap:12px;flex-wrap:wrap}
.footer-menu a{color:#ddd;font-size:13px}
.footer-menu a:hover{color:#fff}

.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:12px 0}
.footer-copy{font-size:13px;color:#bbb}

/* Responsive */
@media (min-width: 1400px){
  .container{max-width:1320px;}
}
@media (min-width: 1700px){
  .container{max-width:1500px}
}

@media (max-width: 1200px){
  .home-block.layout-grid-4 .block-body{grid-template-columns:repeat(3,1fr)}
  .header-main{grid-template-columns: 260px 1fr 60px}
}

@media (max-width: 1100px){
  .header-main{grid-template-columns: 1fr 1fr 60px}
  body.home-sidebar-right .home-grid,
  body.home-sidebar-left .home-grid{grid-template-columns:1fr;grid-template-areas:"main" "sidebar"}
  .content-grid{grid-template-columns: 1fr}
  .hero-row{grid-template-columns:1fr}
  .footer-top{grid-template-columns: 1fr}
  .footer-cols{grid-template-columns:repeat(2,1fr)}
  .primary-menu{display:none;flex-direction:column}
  .menu-toggle{display:inline-flex}
  .main-nav{justify-content:space-between}
  .main-nav.is-open .primary-menu{display:flex;background:var(--mid);padding-bottom:10px}
  .primary-menu > li > a{border-top:1px solid rgba(255,255,255,.08)}
  .primary-menu li ul{position:static;border:0;background:rgba(0,0,0,.12)}
  .primary-menu li:hover > ul{display:none}
  .primary-menu li.is-open > ul{display:block}
  .primary-menu li ul a{color:#fff}
  /* Swap hamburger icon with datetime badge on small screens */
  .main-nav .header-datetime{order:1}
  .main-nav .menu-toggle{order:2}

  /* Blocks */
  .home-block.layout-grid-4 .block-body{grid-template-columns:repeat(2,1fr)}
  .home-block.layout-grid-3 .block-body{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 768px){
  .container{padding:0 12px}

  /* Top bar */
  .topbar{flex-direction:column;align-items:stretch}
  .topbar-left{display:flex;justify-content:center}
  .top-menu{justify-content:center}

  /* Header stacks */
  .header-main{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }
  .brand{align-items:center}
  .header-ad{min-height:0}
  .header-ad img{max-height:64px}
  .header-search{justify-content:center}
  .search-panel{
    left:50%;
    transform:translateX(-50%);
    width:min(380px, 92vw);
  }

  /* Ticker */
  .ticker{flex-wrap:wrap}
  .ticker-title{width:100%;text-align:center}
  .ticker-track{width:100%}

  /* Typography */
  .hero-title{font-size:18px}
  .archive-title{font-size:17px}
  .single-title{font-size:22px}
}

@media (max-width: 600px){
  .archive-card{grid-template-columns:1fr}
  .archive-thumb img{height:auto}

  .hero-slides{height:clamp(220px, 56vw, 340px)}
  .hero-nav{width:38px;height:38px}

  .home-block.layout-grid-4 .block-body,
  .home-block.layout-grid-3 .block-body,
  .home-block.layout-grid-2 .block-body{grid-template-columns:1fr}

  .home-block.layout-list .post-card{flex-direction:column}
  .home-block.layout-list .post-thumb img{width:100%;height:180px}

  .post-thumb img{height:160px}
  .hslider-item{width:92px;height:68px}
  .footer-cols{grid-template-columns:1fr}
}

@media (max-width: 420px){
  .site-title{font-size:20px}
  .primary-menu > li > a{padding:10px 12px}
  .widget-title{font-size:14px}
  .hero-title{font-size:17px}
  .post-title{font-size:13px}
}

/* ------------------------------------------------------------------
   Header responsiveness (large / medium / mobile)
-------------------------------------------------------------------*/

@media (max-width: 1200px){
  .header_3 .container,
  .header_2 .container,
  .header_4 .container{max-width:100%;padding:0 12px}

  /* Slightly tighter typography so the menu never looks "oversized" */
  .primary-menu > li > a{padding:0 14px;font-size:14px}
  .header-datetime{font-size:13px}
  .editor-title{font-size:13px}
  .editor-name{font-size:18px}
}

@media (max-width: 900px){
  /* Stack the middle header (logo/editor + ad) */
  .header-main{height:auto;flex-direction:column;gap:12px;padding:12px 0;direction:rtl}
  .header-logo,.header-editor,.header-ad{justify-content:center}
  .header-logo{order:1}
  .header-editor{order:2}
  .header-ad{order:3}
  .editor-box{align-items:center}

  /* Bottom bar becomes two rows: search then ticker */
  .header-bottom{height:auto;flex-wrap:wrap;gap:10px;padding:10px 0}
  .header-bottom .search-section{width:100%;order:1;display:flex;justify-content:center}
  .header-search-form{width:min(620px, 100%);justify-content:center}
  .header-search-field{width:100%}
  .header-bottom .ticker-section{width:100%;max-width:none;order:2}
}

@media (max-width: 600px){
  .header-search-field{height:40px;font-size:14px}
  .header-search-submit{height:40px;font-size:14px;padding:0 18px}
  .breaking-ticker{height:40px}
  .breaking-badge{width:72px;height:30px}
  .breaking-link{font-size:12px}
  .breaking-date{display:none}
  .breaking-prev,.breaking-next{font-size:22px}
}


/* Offcanvas (hamburger) menu - RTL, slides from right */
.offcanvas-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.45);
  opacity:0;pointer-events:none;transition:opacity .2s ease;
  z-index:9998;
}
.offcanvas{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:min(360px, 92vw);
  background:#303440;
  color:#fff;
  transform:translateX(105%);
  transition:transform .25s ease;
  z-index:9999;
  display:flex;
  flex-direction:column;
  padding:18px 16px 14px;
}
body.offcanvas-open .offcanvas{transform:translateX(0)}
body.offcanvas-open .offcanvas-overlay{opacity:1;pointer-events:auto}

.offcanvas-header{display:flex;gap:10px;padding: 50px 0 14px;border-bottom:1px solid rgba(255,255,255,.12);align-items: center;justify-content: center;flex-wrap: nowrap;flex-direction: column-reverse;}
.offcanvas-logo img{max-height:64px;width:auto}
.offcanvas-sitename{font-size:18px;font-weight:800;margin:0;line-height:1.2;text-align:center}
.offcanvas-close{
  position:absolute;top:12px;left:12px;
  width:38px;height:38px;border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);color:#fff;
  display:flex;align-items:center;justify-content:center;
}
.offcanvas-close:hover{background:rgba(255,255,255,.12)}

.offcanvas-menu{flex:1 1 auto;overflow:auto;padding:14px 0}
.offcanvas-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;align-items:center}
.offcanvas-menu a{
  color:#fff;text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:240px;
  padding:10px 14px;border-radius:14px;
  position:relative;overflow:hidden;
  font-weight:600;
}
.offcanvas-menu a::before{
  content:"";position:absolute;inset:0;border-radius:14px;
  background:var(--elsha3r-primary);
  transform:scale(.1);opacity:0;
  transition:transform .22s ease, opacity .22s ease;
}
.offcanvas-menu a:hover::before,
.offcanvas-menu .current-menu-item > a::before{transform:scale(1);opacity:1}
.offcanvas-menu a span{position:relative;z-index:1}

.offcanvas-social{display:flex;gap:12px;justify-content:center;align-items:center;padding:10px 0 4px}
.offcanvas-social a{color:#fff;font-size:18px;width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.offcanvas-social a:hover{background:rgba(var(--elsha3r-primary-rgb),.85);border-color:rgba(var(--elsha3r-primary-rgb),.95)}

.offcanvas-footer{padding-top:10px;border-top:1px solid rgba(255,255,255,.12);text-align:center}
.offcanvas-credit{margin:10px 0 0;font-size:13px;color:rgba(255,255,255,.85)}
.offcanvas-credit a{color:#fff;text-decoration:none;font-weight:800}
.offcanvas-heart{color:var(--elsha3r-primary); padding:0 6px}

/* Show hamburger on <= 980px and hide the desktop primary menu */
@media (max-width: 980px){
  .main-nav .primary-menu{display:none}
  .main-nav .menu-toggle{display:flex}
}
@media (min-width: 981px){
  .main-nav .menu-toggle{display:none}
}

/* Offcanvas trigger breakpoint */
@media (max-width: 1100px){
  .main-nav .primary-menu{display:none !important}
  .main-nav .menu-toggle{display:flex !important;align-content: center;align-items: center;justify-content: space-evenly;flex-wrap: wrap;}
}
@media (min-width: 1101px){
  .main-nav .menu-toggle{display:none !important}
}


/* =========================
   Footer (pixel-matched)
   ========================= */

/* Top wave */
.footer-wave-wrap{
  position:relative;
  width:100%;
  height:130px;
  line-height:0;
  overflow:hidden;
  margin-bottom:-2px; /* overlap into footer */
}
.footer-wave-wrap .fw{
  position:absolute;
  inset:0;
  width:100%;
  height:130px;
  display:block;
}
.footer-wave-wrap .fw1{ transform: translateY(0); }
.footer-wave-wrap .fw2{ transform: translateY(18px); }
.footer-wave-wrap .fw3{ transform: translateY(36px); }

/* overlap paths to avoid seams/anti-alias gaps */
.footer-wave-wrap .fw2 path{ transform: translateY(-1px); }
.footer-wave-wrap .fw3 path{ transform: translateY(-2px); }

.site-footer{
  background:#303440;
  color:rgba(255,255,255,.88);
}

.footer-main{position: relative;z-index:1;padding:35px 0 18px;}

.footer-grid{
  display:flex;
  gap:34px;
  align-items:center;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
  justify-content: center;
  align-content: center;
}

.footer-brandbox{
  width:380px;
  text-align:center;
}
.footer-logo-box{
  /* display:inline-flex; */
  align-items:center;
  justify-content:center;
  width:120px;
  /* height:120px; */
  margin:0 auto 10px;
}
.footer-logo-box img{max-width:120px;max-height:120px}
.footer-brand-links .footer-brand-line{
  font-size:16px;
  font-weight:600;
  margin:6px 0;
}
.footer-brand-links .footer-brand-muted{
  font-size:16px;
  font-weight:600;
  color:rgba(255,255,255,.82);
}
.footer-brand-links a{
  color:rgba(255,255,255,.82);
  text-decoration:none;
}
.footer-brand-links a:hover{color:#fff}
.footer-dot{padding:0 10px; opacity:.75}

.footer-divider{
  width: 2px;
  height: 250px;
  background: #a7aaad;
  flex:0 0 auto;
}

/* links columns */
.footer-links-cols{
  flex:1 1 auto;
  display:flex;
  gap:54px;
  justify-content:space-between;
  direction:rtl;
}

/* Desktop links - 3 columns */
.footer-desktop-links{
  display:flex;
  gap:54px;
  justify-content:space-between;
  width:100%;
}

/* Mobile links - 2 columns */
.footer-mobile-links{
  display:none;
  gap:30px;
  justify-content:space-between;
  width:100%;
}

.footer-links{
  list-style:none;
  margin:0;
  padding:0;
  flex:1;
  text-align:right;
  direction:rtl;
}
.footer-links li{margin:10px 0}

/* link with dark-red hover + shake, icon on LEFT of text (RTL) */
.footer-links a{
  position:relative;
  display:inline-flex !important;
  align-items:center;
  justify-content:flex-end;
  text-decoration:none;
  color:rgba(255,255,255,.82);
  font-weight:600;
  font-size:14px;
  line-height:1.5;
  padding:8px 16px;
  border-radius:14px;
  overflow:hidden;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  max-width:100% !important;
}
.footer-links a .txt{order:1; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;}
.footer-links a .ico{/* order:2; */opacity:.9; flex-shrink:0;}

.footer-links a::before{
  content:"";position:absolute;inset:0;border-radius:14px;
  background:var(--elsha3r-primary);
  opacity:.95;
  transform:scale(0);
  transform-origin:center;
  border-radius:14px;
  transition:transform .22s ease, opacity .22s ease;
  z-index:0;
}
.footer-links a > *{position:relative;z-index:1;}
.footer-links a:hover{color:#fff; animation: footerShake .55s linear;}
.footer-links a:hover::before{transform:scale(1);}

/* little dance for text + icon while keeping the red button hover */
.footer-links a:hover .txt{animation: elsha3rTextDance .55s ease-in-out both;}
.footer-links a:hover .ico,
.footer-links a:hover .footer-chain{animation: elsha3rIconDance .55s ease-in-out both;}

.footer-chain{opacity:.9;}

@keyframes elsha3rTextDance{
  0%{transform:translateY(0) rotate(0);}
  20%{transform:translateY(-2px) rotate(-1deg);}
  40%{transform:translateY(0) rotate(1deg);}
  60%{transform:translateY(-1px) rotate(0);}
  100%{transform:translateY(0) rotate(0);}
}

@keyframes elsha3rIconDance{
  0%{transform:translateX(0) rotate(0);}
  25%{transform:translateX(-2px) rotate(-10deg);}
  50%{transform:translateX(0) rotate(10deg);}
  75%{transform:translateX(-1px) rotate(-6deg);}
  100%{transform:translateX(0) rotate(0);}
}

/* Bottom bar */
.footer-bottom{
  background: #333333;
  padding:14px 0;
  position:relative;
  z-index:2;
}
.footer-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  direction:ltr; /* credit left, copy right like reference */
}

.footer-credit{order:1; text-align:left;}
.footer-social{order:2;}
.footer-copy{order:3; text-align:right;}

.footer-credit,
.footer-copy{
  font-size:14px;
  color:rgba(255,255,255,.75);
  font-weight:600;
}

.footer-heart{color:var(--elsha3r-primary); padding:0 6px;}
.footer-credit-link{
  color: rgb(255 250 29);
  text-decoration:none;
  font-weight:900;
}
.footer-credit-link:hover{color:#fff; text-decoration:underline}

/* social icons (same set + colored like reference) */
.footer-social{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.footer-social-link{
  position:relative;
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:50%;
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease;
  overflow:hidden;
}
.footer-social-link::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  /* background: currentColor; */
  /* opacity:.12; */
  transform: scale(.85);
  transition: transform .18s ease, opacity .18s ease;
}
.footer-social-link::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  box-shadow: 0 0 0 2px currentColor inset;
  /* transform: scale(.92); */
  transition: transform .18s ease, opacity .18s ease;
}
.footer-social-link svg{width: 22px;height: 22px;}

/* default icon colors to match reference */
.footer-social-link.android{color:#3DDC84;}
.footer-social-link.apple{color:#bdbdbd;}
.footer-social-link.rss{color:#f57c00;}
.footer-social-link.youtube{color:#ff0000;}
.footer-social-link.instagram{color:#E1306C;}
.footer-social-link.x{color:#1da1f2;}
.footer-social-link.facebook{color:#1877f2;}

.footer-social-link:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,.25);
  color:#fff;
}
.footer-social-link:hover::before{
  opacity:.22;
  transform: scale(1.1);
}
.footer-social-link:hover::after{
  opacity:.65;
  transform: scale(1.08);
}

/* back to top */
.back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  width:54px;
  height:54px;
  border-radius:50%;
  background:var(--elsha3r-primary);
  border: 2px solid var(--elsha3r-primary);
  box-shadow: 0 10px 18px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  z-index: 200;
  opacity:0;
  transform: translateY(10px);
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.back-to-top::before{
  content:"";
  width:14px;
  height:14px;
  border-top:4px solid #fff;
  border-left:4px solid #fff;
  transform: rotate(45deg);
  margin-top:6px;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.25));
}
.back-to-top.is-visible{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

.back-to-top:hover{
  filter: brightness(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,.38), inset 0 2px 0 rgba(255,255,255,.12);
}


/* Responsive */
@media (max-width: 1100px){
  .footer-grid{flex-direction:column; gap:22px;}
  .footer-divider{display:none;}
  .footer-links-cols{flex-direction:column; gap:18px; align-items:stretch;}
  .footer-links{min-width:unset;}
  .footer-bottom-inner{flex-direction:column; direction:rtl;}
  .footer-credit,.footer-copy{order:unset; text-align:center;}
}

/* Mobile footer optimization - 2 columns with 4 links each */
@media (max-width: 768px){
  .footer-desktop-links{display:none;}
  .footer-mobile-links{
    display:flex !important;
    flex-direction:row !important;
    gap:20px !important;
    justify-content:space-between !important;
  }
  
  .footer-mobile-links .footer-links{
    flex:1;
    min-width:0;
  }
  
  .footer-mobile-links .footer-links li{
    margin:8px 0;
  }
  
  .footer-links a{
    font-size:13px;
    padding:6px 10px;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    max-width:100% !important;
    display:inline-flex !important;
  }
  
  .footer-links a .txt{
    font-size:13px;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  
  .footer-chain{
    width:20px;
    height:20px;
    flex-shrink:0;
  }
}

/* Fix footer logo display on single pages */
.single .footer-brandbox{width:380px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.single .footer-logo-box{display:flex;align-items:center;justify-content:center;margin:0 auto 10px;}
.single .footer-logo-box img{max-width:120px;max-height:120px;width:auto;height:auto;}
.single .footer-brand-links{text-align:center;}
.single .footer-brand-links .footer-brand-line{font-size:16px;font-weight:600;margin:6px 0;}
.single .footer-brand-links .footer-brand-muted{font-size:16px;font-weight:600;color:rgba(255,255,255,.82);}
.single .footer-brand-links a{color:rgba(255,255,255,.82);text-decoration:none;}
.single .footer-brand-links a:hover{color:#fff;}
.single .footer-dot{padding:0 10px;opacity:.75;}


/* =========================================================
   Elsha3r Mosaic Horizontal Slider (match reference layout)
   ========================================================= */
.elsha3r-mosaic.mosCont{
  clear:right;
  width:100%;
  position:relative;
  overflow:hidden;
  border:1px solid #bdbdbd;
  border-radius:6px;
  overflow:hidden;
  background:#f4f4f4;
  margin-bottom:12px; /* add spacing below slider */
  font-family:'Cairo','Droid Arabic Kufi',Tahoma,Arial,sans-serif;
  box-sizing:border-box;
}

.elsha3r-mosaic .SliderUpDiv{
  height:34px;
  width:100%;
  background:#303440;
  position:relative;
  border-radius:6px 6px 0 0;
}

.elsha3r-mosaic .elsha3r-hs-label{
  position:absolute;
  right:10px;
  top:0;
  height:34px;
  line-height:34px;
  color:#fff;
  font-weight:600;
  font-family:'Cairo','Droid Arabic Kufi',Tahoma,Arial,sans-serif;
  direction:rtl;
}

.elsha3r-mosaic #PlayControls{
  position:absolute;
  left:10px;
  top:6px;
  height:22px;
  display:flex;
  gap:6px;
  align-items:center;
}

.elsha3r-mosaic .TopNewsPlay,
.elsha3r-mosaic .TopNewsIncreaseSpeed,
.elsha3r-mosaic .TopNewsDecreaseSpeed{
  width:24px;height:24px;
  background-color:#3B3B3B;
  cursor:pointer;
  background-repeat:no-repeat;
  background-position:center;
}

.elsha3r-mosaic .TopNewsPlay{ background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2222%22%20height%3D%2222%22%20fill%3D%22none%22/%3E%3Crect%20x%3D%226%22%20y%3D%225%22%20width%3D%223%22%20height%3D%2212%22%20fill%3D%22%23fff%22/%3E%3Crect%20x%3D%2213%22%20y%3D%225%22%20width%3D%223%22%20height%3D%2212%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E"); }
.elsha3r-mosaic .TopNewsPlay.is-paused{ background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%3E%3Cpolygon%20points%3D%228%2C5%2018%2C11%208%2C17%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E"); }

.elsha3r-mosaic .TopNewsIncreaseSpeed{ background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%3E%3Cpolygon%20points%3D%224%2C5%2012%2C11%204%2C17%22%20fill%3D%22%23fff%22/%3E%3Cpolygon%20points%3D%2210%2C5%2018%2C11%2010%2C17%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E"); }
.elsha3r-mosaic .TopNewsDecreaseSpeed{ background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%3E%3Cpolygon%20points%3D%2218%2C5%2010%2C11%2018%2C17%22%20fill%3D%22%23fff%22/%3E%3Cpolygon%20points%3D%2212%2C5%204%2C11%2012%2C17%22%20fill%3D%22%23fff%22/%3E%3C/svg%3E"); }

.elsha3r-mosaic .TopNewsPlay:hover,
.elsha3r-mosaic .TopNewsIncreaseSpeed:hover,
.elsha3r-mosaic .TopNewsDecreaseSpeed:hover{
  background-color:var(--elsha3r-primary);
}

/* bullets */
.elsha3r-mosaic .bulletsSlider{
  left:0;
  right:0;
  margin:auto;
  top:6px;
  height:24px;
  display:flex;
  gap:5px;
  direction:ltr;
  justify-content:center;
  z-index:5;
}

.elsha3r-mosaic .Bullet_label{
  width:24px;height:24px;
  line-height:24px;
  text-align:center;
  color:#fff;
  font-weight:600;
  font-size:12px;
  font-family:'Cairo','Droid Arabic Kufi',Tahoma,Arial,sans-serif;
  cursor:pointer;
  user-select:none;
  background:linear-gradient(#3a3f4f,#1f2330);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15), 0 1px 2px rgba(0,0,0,.35);
  border-radius:2px;
}

.elsha3r-mosaic .activeBullet{
  background:linear-gradient(var(--elsha3r-primary), var(--elsha3r-primary-dark)) !important;
  border-color:rgba(0,0,0,.35) !important;
  color:#fff !important;
}

/* image area */
.elsha3r-mosaic .TopNewsDiv{
  position: relative;
  width:100%;
  width:100%;
  height:210px; /* default; JS recalculates responsively */
  margin:0;
  background: #303440;
  overflow:hidden; /* prevent tiles/badges from bleeding into title bar */
}

.elsha3r-mosaic .SingleNewDiv{
  position:absolute;
  height:105px;
  cursor:pointer;
  direction:ltr;
  overflow:hidden; /* keep badge INSIDE */
  border-radius:3px;
  padding:0;
  box-sizing:border-box;
  transition:all 0.3s ease;
}

/* Active image in center - larger and highlighted */
.elsha3r-mosaic .SingleNewDiv.Border-Img{
  z-index:10 !important;
  box-shadow:0 8px 24px rgba(0,0,0,0.3) !important;
  border:3px solid var(--elsha3r-primary) !important;
  overflow:visible !important;
}

.elsha3r-mosaic .Border-Img .TopNewsImg1{
  height:100% !important;
  width:100% !important;
  border:3px solid var(--elsha3r-primary) !important;
  box-sizing:border-box !important;
}

.elsha3r-mosaic .SingleNewDiv > a:last-child{position:relative;display:block;height:100%;line-height:0;}

.elsha3r-mosaic .TopNewsImg1{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:3px;
  display:block;
  margin:0;
  padding:0;
  background:#fff;
}

.elsha3r-mosaic .Border-Img{
  /* don't force fixed height; inline height comes from JS (scaled) */
  position:relative;
  z-index:10 !important;
  box-shadow:0 8px 24px rgba(0,0,0,0.3) !important;
  border:3px solid var(--elsha3r-primary) !important;
  border-radius:3px !important;
  overflow:visible !important;
}

.elsha3r-mosaic .Border-Img .TopNewsImg1{
  height:100% !important;
  width:100% !important;
  border:3px solid var(--elsha3r-primary) !important;
  box-sizing:border-box !important;
  border-radius:3px !important;
  object-fit:cover !important;
}

/* Ensure active image is visible above all others */
.elsha3r-mosaic .SingleNewDiv.Border-Img{
  position:absolute !important;
  z-index:10 !important;
  box-shadow:0 8px 24px rgba(0,0,0,0.3) !important;
  border:3px solid var(--elsha3r-primary) !important;
  border-radius:3px !important;
  overflow:visible !important;
}

/* link icon (disabled) */
.elsha3r-mosaic .TopNewNewsLink{display:none !important;}

/* count badge */
.elsha3r-mosaic .img-count-link{
  position:absolute !important;
  right:6px;
  bottom:6px;
  width:18px;height:18px;
  line-height:18px;
  background:#fff;
  border-radius:5px;
  color:var(--elsha3r-primary);
  font-weight:600;
  font-size:11px;
  text-align:center;

  z-index:6;
display:block;}

.elsha3r-mosaic .activeImg{
  background:var(--elsha3r-primary) !important;
  color:#fff !important;
  right:10px;
}

/* bottom title bar */
.elsha3r-mosaic .SliderDownDiv{
  position: absolute;
  left:0;
  right:0;
  height:38px;
  line-height:38px;
  background:#303440;
  color:#fff;
  text-align:center;
  font-family:'Cairo','Droid Arabic Kufi',Tahoma,Arial,sans-serif;
  font-size:20px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  border-radius:0 0 6px 6px;
}

/* ===== Big Ad Block (under horizontal slider) ===== */
.elsha3r-big-ad{
  width:100%;
  margin: 10px 0 15px;
  border: 2px solid #303440;
  border-radius: 15px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.22), 0 18px 48px rgba(0,0,0,.16);
  transition: box-shadow .25s ease, transform .25s ease;
}
.elsha3r-big-ad__link{display:block; line-height:0;}
.elsha3r-big-ad__img{width:100%;height:auto;display:block;border: 5px solid #fff;border-radius: 15px;}

.elsha3r-big-ad:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.26), 0 22px 60px rgba(0,0,0,.18);
}


/* ===== New Home Layout Blocks (post big-ad) ===== */
body{font-family:'Cairo',system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;}

.elsha3r-block{border:1px solid #303440;border-radius:6px;overflow:hidden;background:#fff;margin:0 0 12px 0;}
.elsha3r-block-head{background:#303440;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;}
.elsha3r-block-head h2,.elsha3r-block-head h3{margin:0;font-size:18px;font-weight:600;line-height:1;}
.elsha3r-more{color:#fff;text-decoration:none;font-size:13px;font-weight:600;opacity:.9}
.elsha3r-more:hover{opacity:1;text-decoration:underline}
.elsha3r-block-body{padding:10px 12px;}
.elsha3r-empty{margin:0;color:#666;font-size:13px}

.elsha3r-404{
  padding: 12px 0 18px;
}
.elsha3r-404-card{
  background:#fff;
  border:1px solid #303440;
  border-radius:14px;
  padding:24px;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
  text-align:center;
}
.elsha3r-404-code{
  font-size:72px;
  font-weight:900;
  letter-spacing:3px;
  color:var(--elsha3r-primary);
  text-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.elsha3r-404-title{
  margin:8px 0 6px;
  font-size:26px;
  font-weight:800;
  color:#303440;
}
.elsha3r-404-desc{
  margin:0 0 12px;
  color:#666;
  font-size:15px;
}
.elsha3r-404-actions{display:flex;gap:10px;justify-content:center;margin:10px 0 6px;}
.elsha3r-404-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.elsha3r-404-primary{background:var(--elsha3r-primary);color:#fff;}
.elsha3r-404-primary:hover,
.elsha3r-404-primary:focus,
.elsha3r-404-primary:active{filter:brightness(1.05); color:#fff !important; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18);}
.elsha3r-404-secondary{background:#303440;color:#fff;}
.elsha3r-404-secondary:hover,
.elsha3r-404-secondary:focus,
.elsha3r-404-secondary:active{filter:brightness(1.05); color:#fff !important; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18);}
.elsha3r-404-search{display:flex;gap:8px;justify-content:center;margin:12px 0;}
.elsha3r-404-input{
  width:360px; max-width:90%;
  padding:10px 12px;
  border:1px solid #d9dbe6;
  border-radius:8px;
  font-size:14px;
  font-family:'Cairo',system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
}
.elsha3r-404-input::placeholder{
  color:var(--elsha3r-primary);
  font-weight:700;
  font-family:'Cairo',system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
}
.elsha3r-404-input::-webkit-input-placeholder{
  color:var(--elsha3r-primary); font-weight:700; font-family:'Cairo',system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
}
.elsha3r-404-input:-ms-input-placeholder{
  color:var(--elsha3r-primary); font-weight:700; font-family:'Cairo',system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
}
.elsha3r-404-submit{
  padding:10px 16px;
  border:none; border-radius:8px;
  background:#303440; color:#fff;
  font-weight:700; cursor:pointer;
  font-family:'Cairo',system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
}
.elsha3r-404-suggest{margin-top:14px;}
.elsha3r-404-headbar{
  background:#303440; color:#fff;
  display:flex; align-items:center; gap:10px;
  padding:10px 18px; border-radius:8px; margin:0 0 10px;
  flex-direction: row-reverse;
  justify-content: space-between;
  position: relative;
  overflow: visible;
}
.elsha3r-404-headbar::after{
  content:"";
  position:absolute;
  top:0; right:0;
  width:42px; height:100%;
  background:#303440;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
  border-radius:0 8px 8px 0;
}
.elsha3r-404-head-icon{
  font-size:18px; line-height:1;
  width:28px; height:28px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background:#303440; color:#fff;
  border:2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.elsha3r-404-head-title{font-size:18px; font-weight:800; line-height:1;}
.elsha3r-404-grid{
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px;
}
.elsha3r-404-suggest{
  box-shadow:0 12px 28px rgba(0,0,0,.12);
  border-radius:12px;
}
.elsha3r-404-suggest .elsha3r-headbar{ margin-bottom:0; }
.elsha3r-404-item{
  display:block; text-decoration:none; color:var(--elsha3r-primary);
  border:1px solid #e6e6ee; border-radius:12px; overflow:hidden; background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  position:relative;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.elsha3r-404-thumb{display:block;width:100%;height:150px;object-fit:cover;}
.elsha3r-404-item-title{display:block;padding:10px 12px;font-weight:700;font-size:14px;}
.elsha3r-404-item::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.18) 100%);
  opacity:0; transition:opacity .2s ease;
}
.elsha3r-404-item:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.14);
  border-color:#dcdcf2;
}
.elsha3r-404-item:hover::after{opacity:.6}
.elsha3r-404-item .elsha3r-404-thumb{
  transition:transform .22s ease, filter .22s ease;
}
.elsha3r-404-item:hover .elsha3r-404-thumb{
  transform:scale(1.05);
  filter:saturate(1.08) contrast(1.02);
}
.elsha3r-404-item:hover .elsha3r-404-item-title{
  color:var(--elsha3r-primary);
}
@media (max-width: 820px){
  .elsha3r-404-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
}
@media (max-width: 540px){
  .elsha3r-404-grid{grid-template-columns: 1fr;}
}

/* Nice hover effects for all block images */
.elsha3r-toplist-thumb,
.elsha3r-card-img,
.elsha3r-frame-card,
.elsha3r-smallcol-thumb,
.elsha3r-followups-img{position:relative;display:block;overflow:hidden;border-radius:6px;}

.elsha3r-toplist-thumb::after,
.elsha3r-card-img::after,
.elsha3r-frame-card::after,
.elsha3r-smallcol-thumb::after,
.elsha3r-followups-img::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.22) 100%);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}

.elsha3r-block a img{transition:transform .35s ease, filter .35s ease;}

.elsha3r-toplist-thumb:hover img,
.elsha3r-card-img:hover img,
.elsha3r-frame-card:hover img,
.elsha3r-smallcol-thumb:hover img,
.elsha3r-followups-img:hover img{transform:scale(1.06);filter:saturate(1.1) contrast(1.06);}

.elsha3r-toplist-thumb:hover::after,
.elsha3r-card-img:hover::after,
.elsha3r-frame-card:hover::after,
.elsha3r-smallcol-thumb:hover::after,
.elsha3r-followups-img:hover::after{opacity:1;}

/* top list (grid like the reference) */
.elsha3r-toplist-items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
@media(max-width:992px){.elsha3r-toplist-items{grid-template-columns:repeat(2,1fr)}}
@media(max-width:576px){.elsha3r-toplist-items{grid-template-columns:1fr}}

.elsha3r-toplist-item{border:3px solid #333333;border-radius:6px;overflow:hidden;background:#fff;}
.elsha3r-toplist-thumb{display:block;line-height:0;position:relative;}
.elsha3r-toplist-thumb img{width:100%;height:160px;object-fit:cover;display:block;background:#fff;}
.elsha3r-toplist-meta{padding:10px 12px;}
.elsha3r-toplist-title{color:#222;text-decoration:none;font-weight:800;font-size:14px;line-height:1.7;display:block;}
.elsha3r-toplist-title:hover{color:var(--elsha3r-primary)}
.elsha3r-toplist-sub{font-size:11px;color:#777;margin-top:6px;display:flex;gap:10px;flex-wrap:wrap}

/* two column row */
/* NOTE: CSS grid respects RTL writing mode (the first column becomes the right side).
   We force LTR for the grid itself so the small blocks stay on the LEFT like the reference,
   while keeping RTL inside each column. */
.elsha3r-home-row{display:grid;grid-template-columns:300px 1fr;gap:12px;align-items:start;margin-bottom:12px;direction:ltr}
.elsha3r-home-left,.elsha3r-home-right{direction:rtl}
@media(max-width:992px){.elsha3r-home-row{grid-template-columns:1fr}}

/* left framed */
.elsha3r-frame{border:1px solid #303440;border-radius:6px;overflow:hidden;background:#fff;margin:0 0 12px 0;}
.elsha3r-frame-head{background:#303440;color:#fff;padding:10px 12px}
.elsha3r-frame-head h3{margin:0;font-size:16px;font-weight:700}
.elsha3r-frame-card{display:block;text-decoration:none;color:inherit}
.elsha3r-frame-img img{width:100%;height:220px;object-fit:cover;display:block;background:#fff}
.elsha3r-frame-title{padding:10px 12px;font-weight:800;color:#222;font-size:14px;line-height:1.6}
.elsha3r-frame-card:hover .elsha3r-frame-title{color:var(--elsha3r-primary)}

/* ===== Frame #3: stacked photo-frame list (4 posts) ===== */
.elsha3r-frame--2 .elsha3r-frame-body,
.elsha3r-frame--3 .elsha3r-frame-body{padding:12px 10px;}
.elsha3r-frame3-list{display:flex;flex-direction:column;gap:12px;}
.elsha3r-frame3-item{display:block;text-decoration:none;color:inherit;}

.elsha3r-frame3-photo{
  position:relative;
  width:100%;
  max-width:300px;
  margin:0 auto;
  aspect-ratio:300/250;
}

.elsha3r-frame3-bg{
  position:absolute;inset:0;
  background:url('../img/frame3.png') center/contain no-repeat;
  z-index:2;
  pointer-events:none;
}

/* Frame #2 uses a different frame artwork */
.elsha3r-frame--2 .elsha3r-frame3-bg{
  background-image:url('../img/frame2.png');
}

/* The image sits inside the "window" of the frame background */
.elsha3r-frame3-window{
  position:absolute;
  /* tuned to the provided frame artwork (300x250) */
  /* window size: make the image fill the inner rectangle with no visible margins */
  top: 29px;
  left:18px;
  right:18px;
  /* extend the window downwards so the image reaches the bottom edge */
  bottom: 29px;
  overflow:hidden; /* Ù…Ù‡Ù…: ÙŠÙ…Ù†Ø¹ Ø®Ø±ÙˆØ¬ Ø§Ù„ØµÙˆØ±Ø© Ø®Ø§Ø±Ø¬ Ø§Ù„Ø¨Ø±ÙˆØ§Ø² */
  border-radius:2px;
  z-index:1;
}

.elsha3r-frame3-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease, filter .25s ease;
}

.elsha3r-frame3-title{
  margin-top:8px;
  text-align:center;
  font-family:'Cairo',Tahoma,Arial,sans-serif;
  font-weight:800;
  color:var(--elsha3r-primary);
  font-size:14px;
  line-height:1.7;
}

.elsha3r-frame3-item:hover .elsha3r-frame3-title{ text-decoration:underline; }
.elsha3r-frame3-item:hover .elsha3r-frame3-img{ filter:saturate(1.08) contrast(1.06); transform:scale(1.02); }

/* Shake effect for the photo + frame together on hover */
@keyframes elsha3r-shake{
  0%{transform:translate(0,0) rotate(0deg)}
  20%{transform:translate(-1px, 0) rotate(-0.6deg)}
  40%{transform:translate(1px, -1px) rotate(0.6deg)}
  60%{transform:translate(-1px, 1px) rotate(-0.4deg)}
  80%{transform:translate(1px, 0) rotate(0.4deg)}
  100%{transform:translate(0,0) rotate(0deg)}
}
.elsha3r-frame3-item:hover .elsha3r-frame3-photo{
  animation: elsha3r-shake .35s ease-in-out both;
}

@media(max-width:992px){
  .elsha3r-frame3-photo{max-width:360px;}
}

/* poll: make plugin output fit */
.elsha3r-poll-wrap *{font-family:'Cairo',Tahoma,Arial,sans-serif !important;}
.elsha3r-poll-wrap{font-size:14px}

/* most read */
.elsha3r-mostread-list{margin:0;padding:0 18px 0 0}
.elsha3r-mostread-list li{margin:6px 0;color:var(--elsha3r-primary);font-weight:700}
.elsha3r-mostread-list a{color:#333;text-decoration:none;font-weight:600;line-height:1.6}
.elsha3r-mostread-list a:hover{color:var(--elsha3r-primary);text-decoration:underline}

/* main grid */
.elsha3r-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media(max-width:1200px){.elsha3r-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.elsha3r-card-grid{grid-template-columns:1fr}}
.elsha3r-card{background: #e1e1e1;border:1px solid var(--elsha3r-primary);border-radius:6px;overflow:hidden}
.elsha3r-card-img img{width:100%;height:140px;object-fit:cover;display:block;background:#fff}
.elsha3r-card-title{margin:0;padding:8px 10px;font-size:13px;line-height:1.6;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:44px}
.elsha3r-card-title a{color:#222;text-decoration:none;font-weight:800}
.elsha3r-card-title a:hover{color:var(--elsha3r-primary)}
.elsha3r-card-meta{padding:0 10px 8px;display:flex;gap:8px;flex-wrap:wrap}
.elsha3r-card-excerpt{padding:0 10px 10px;color:#666;font-size:12px;line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:64px}

/* four columns */
.elsha3r-fourcols-grid{display:grid;grid-template-columns: repeat(4,1fr);gap:12px}
@media(max-width:1200px){.elsha3r-fourcols-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.elsha3r-fourcols-grid{grid-template-columns:1fr}}
.elsha3r-smallcol-list{list-style:none;margin:0;padding:0}
.elsha3r-smallcol-list li{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #eee}
.elsha3r-smallcol-list li:last-child{border-bottom:0}
.elsha3r-smallcol-thumb img{width:52px;height:40px;object-fit:cover;border-radius:4px;border:1px solid #ddd;display:block}
.elsha3r-smallcol-title{color:#222;text-decoration:none;font-weight:800;font-size:12px;line-height:1.6}
.elsha3r-smallcol-title:hover{color:var(--elsha3r-primary)}

/* followups */
.elsha3r-followups-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media(max-width:1200px){.elsha3r-followups-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.elsha3r-followups-grid{grid-template-columns:1fr}}
.elsha3r-followups-card{border:1px solid #eee;border-radius:6px;overflow:hidden;background:#fff}
.elsha3r-followups-img img{width:100%;height:160px;object-fit:cover;display:block;background:#fff}
.elsha3r-followups-card h3{margin:0;padding:8px 10px;font-size:13px;line-height:1.6}
.elsha3r-followups-card h3 a{color: #fff;text-decoration:none;font-weight:800}
.elsha3r-followups-card h3 a:hover{color:var(--elsha3r-primary)}


/* ===== Block Headbars (elsha3r) ===== */
.elsha3r-headbar{
  --head-main: #303440;
  --head-accent:var(--elsha3r-primary);
  position: relative;
  height:42px;
  background: var(--head-main);
  border-bottom:none;
  border-radius:6px 6px 0 0;
  overflow:hidden;
  padding:0 10px;
  font-family:'Cairo', sans-serif;
}

/* icon (left) */
.elsha3r-headbar .elsha3r-head-ico,
.elsha3r-headbar .elsha3r-head-icon{
  position:absolute;
  left:8px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  border-radius:6px;
  background:rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:16px;
  z-index:2;
  margin-right:8px;
  text-decoration:none;
  transition:all 0.3s ease;
}
.elsha3r-headbar .elsha3r-head-ico:hover,
.elsha3r-headbar .elsha3r-head-icon:hover{
  background:rgba(255,255,255,.25);
  transform:translateY(-50%) scale(1.1);
}
.elsha3r-headbar .elsha3r-head-ico::before,
.elsha3r-headbar .elsha3r-head-icon::before{
  content:"";
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-position:center;
  background-size:16px 16px;
  opacity:.95;
}

/* title (right) */
.elsha3r-headbar .elsha3r-head-title{
  position:absolute;
  right:0;
  top:0;
  height:42px;
  display:flex;
  align-items:center;
  padding: 0 20px 0 26px;
  background:var(--head-accent);
  color:#fff;
  font-size:18px;
  font-weight:600;
  margin:0;
  line-height:1;
  white-space:nowrap;
}
.elsha3r-headbar .elsha3r-head-title::before{
  /* diagonal cut (downward like reference) */
  content:"";
  position:absolute;
  left:-20px;
  top:0px;
  bottom:0px;
  width:0;height:0;
  border-bottom:42px solid var(--head-accent);
  border-left:22px solid transparent;
}

/* more link */
.elsha3r-headbar .elsha3r-more{
  position:absolute;
  left:46px;
  top:0;
  height:42px;
  display:flex;
  align-items:center;
  padding:0 10px;
  color:#fff;
  font-weight:600;
  font-size:13px;
  text-decoration:none;
  opacity:.9;
}
.elsha3r-headbar .elsha3r-more:hover{opacity:1;text-decoration:underline;}

/* body blocks should round bottom with same radius */
.elsha3r-block-body{
  border-top:none;
  border-radius:0 0 6px 6px;
  background: #dddddd;
}

/* Color schemes (per block) */
.elsha3r-maingrid--1 .elsha3r-headbar{ --head-main:#303440; --head-accent:#0b57d0; }
.elsha3r-maingrid--2 .elsha3r-headbar{ --head-main:#303440; --head-accent:#8e24aa; }
.elsha3r-fourcols .elsha3r-headbar{ --head-main:#303440; --head-accent:#455a64; }
.elsha3r-followups .elsha3r-headbar{ --head-main:#303440; --head-accent:var(--elsha3r-primary); }
.elsha3r-mostread .elsha3r-headbar{ --head-main:#303440; --head-accent:#ff6f00; }

/* ===== Tabs (Most read / Latest / Comments) ===== */
.elsha3r-tabs .elsha3r-tabs-nav{
  display:flex;
  gap:0;
  padding:0;
  margin: 1px 0 0 0;
  border: 1px solid #fff;
  overflow:hidden;
}
.elsha3r-tabs .elsha3r-tab{
  flex: 1 1 0;
  border:0;
  padding: 10px 5px;
  cursor:pointer;
  font-family:'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  font-weight: 700;
  font-size:14px;
  line-height:1;
  color:#fff;
  transition:filter .15s ease, transform .15s ease;
  border-radius: 1px;
}
.elsha3r-tabs .elsha3r-tab:active{transform:translateY(1px)}
.elsha3r-tabs .elsha3r-tab.is-active{filter:brightness(.92)}

/* Tab colors (distinct backgrounds) */
.elsha3r-tabs .tab-most{background:#303440}
.elsha3r-tabs .tab-latest{background:var(--elsha3r-primary)}
.elsha3r-tabs .tab-comments{background:#1f2937}

.elsha3r-tabs .elsha3r-tabs-body{padding:0}
.elsha3r-tabs .elsha3r-tab-panel{display:none}
.elsha3r-tabs .elsha3r-tab-panel.is-active{display:block}

.elsha3r-tabs .elsha3r-tab-list{list-style:none;margin:0;padding:0}
.elsha3r-tabs .elsha3r-tab-list li{border-bottom:1px solid #ececec}
.elsha3r-tabs .elsha3r-tab-item{
  display:flex;
  /* RTL: keep thumbnail on the RIGHT */
  direction: rtl;
  flex-direction: row;
  align-items:center;
  gap:10px;
  padding:10px;
  background:#fff;
  text-decoration:none;
}
.elsha3r-tabs .elsha3r-tab-item:hover{background:#fafafa}
.elsha3r-tabs .elsha3r-pop-card{
  border:2px solid #d9dbe6;
  border-radius:10px;
  box-shadow:0 6px 14px rgba(0,0,0,.12);
}
.elsha3r-tabs .elsha3r-pop-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.16);}
.elsha3r-tabs .elsha3r-tab-thumb{
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:6px;
  border:1px solid #dcdcdc;
  background:#f2f2f2;
  flex:0 0 auto;
}
.elsha3r-tabs .elsha3r-tab-text{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1 1 auto;}
.elsha3r-tabs .elsha3r-tab-title{
  display:block;
  color:#303440;
  font-weight:800;
  font-size:13px;
  line-height:1.5;
  max-height:3em;
  overflow:hidden;
  text-align:right;
}
.elsha3r-tabs .elsha3r-tab-item:hover .elsha3r-tab-title{color:var(--elsha3r-primary)}
.elsha3r-pop-rank{
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);
  color: #f7f3f3;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:12px;
  line-height:1;
  border:2px solid #fff;
  box-shadow:0 2px 6px rgba(var(--elsha3r-primary-rgb),.12);
}
.elsha3r-pop-meta{display:flex;align-items:center;gap:10px;width:100%;margin-top:4px;}
.elsha3r-pop-views{
  margin-inline-start:auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background: linear-gradient(135deg, #666 0%, #303440 100%);
  color:#fff;
  font-weight:800;
  font-size:12px;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.elsha3r-pop-views i{color:#fff;}
.elsha3r-poll .elsha3r-headbar{ --head-main:#303440; --head-accent:#00796b; }

/* =========================
   Page sidebar: Popular (match card styling request)
   ========================= */
.page .elsha3r-popular-list{display:grid;gap:12px;}
.page .elsha3r-popular-item{
  display:flex;align-items:center;gap:12px;
  padding:12px;border:2px solid #d9dbe6;border-radius:12px;background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  transition:all 0.3s ease;
}
.page .elsha3r-popular-item:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.2);border-color:var(--elsha3r-primary);}
.page .elsha3r-popular-number{
  width:32px;height:32px;flex:0 0 32px;border-radius:50%;
  background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;display:grid;place-items:center;
  font-weight:800;font-size:14px;border:2px solid #fff;box-shadow:0 4px 12px rgba(var(--elsha3r-primary-rgb),0.3);
  transition:all 0.3s ease;
}
.page .elsha3r-popular-item:hover .elsha3r-popular-number{
  transform:scale(1.1);
  box-shadow:0 6px 16px rgba(var(--elsha3r-primary-rgb),0.4);
}
.page .elsha3r-popular-content{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1 1 auto;}
.page .elsha3r-popular-title{margin:0;}
.page .elsha3r-popular-title a{color:#303440;font-weight:800;text-decoration:none;font-size:14px;line-height:1.4;}
.page .elsha3r-popular-item:hover .elsha3r-popular-title a{color:var(--elsha3r-primary);}
.page .elsha3r-popular-meta{
  align-self:flex-end;
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:8px;
  background:linear-gradient(135deg, #303440 0%, #1a1d29 100%);
  color:#fff;font-weight:700;font-size:11px;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  transition:all 0.3s ease;
}
.page .elsha3r-popular-meta:hover{
  background:linear-gradient(135deg, #495057 0%, #343a40 100%);
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.3);
}
.page .elsha3r-popular-meta i{color:#fff;font-size:10px;}

/* Category page popular items - same styling */
.category .elsha3r-popular-list{display:grid;gap:12px;}
.category .elsha3r-popular-item{
  display:flex;align-items:center;gap:12px;
  padding:12px;border:2px solid #d9dbe6;border-radius:12px;background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  transition:all 0.3s ease;
}
.category .elsha3r-popular-item:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.2);border-color:var(--elsha3r-primary);}
.category .elsha3r-popular-number{
  width:32px;height:32px;flex:0 0 32px;border-radius:50%;
  background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;display:grid;place-items:center;
  font-weight:800;font-size:14px;border:2px solid #fff;box-shadow:0 4px 12px rgba(var(--elsha3r-primary-rgb),0.3);
  transition:all 0.3s ease;
}
.category .elsha3r-popular-item:hover .elsha3r-popular-number{
  transform:scale(1.1);
  box-shadow:0 6px 16px rgba(var(--elsha3r-primary-rgb),0.4);
}
.category .elsha3r-popular-content{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1 1 auto;}
.category .elsha3r-popular-title{margin:0;}
.category .elsha3r-popular-title a{color:#303440;font-weight:800;text-decoration:none;font-size:14px;line-height:1.4;}
.category .elsha3r-popular-item:hover .elsha3r-popular-title a{color:var(--elsha3r-primary);}
.category .elsha3r-popular-meta{
  align-self:flex-end;
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:8px;
  background:linear-gradient(135deg, #303440 0%, #1a1d29 100%);
  color:#fff;font-weight:700;font-size:11px;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  transition:all 0.3s ease;
}
.category .elsha3r-popular-meta:hover{
  background:linear-gradient(135deg, #495057 0%, #343a40 100%);
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.3);
}
.category .elsha3r-popular-meta i{color:#fff;font-size:10px;}

/* Search page popular items - same styling */
.search .elsha3r-popular-list{display:grid;gap:12px;}
.search .elsha3r-popular-item{
  display:flex;align-items:center;gap:12px;
  padding:12px;border:2px solid #d9dbe6;border-radius:12px;background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  transition:all 0.3s ease;
}
.search .elsha3r-popular-item:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.2);border-color:var(--elsha3r-primary);}
.search .elsha3r-popular-number{
  width:32px;height:32px;flex:0 0 32px;border-radius:50%;
  background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;display:grid;place-items:center;
  font-weight:800;font-size:14px;border:2px solid #fff;box-shadow:0 4px 12px rgba(var(--elsha3r-primary-rgb),0.3);
  transition:all 0.3s ease;
}
.search .elsha3r-popular-item:hover .elsha3r-popular-number{
  transform:scale(1.1);
  box-shadow:0 6px 16px rgba(var(--elsha3r-primary-rgb),0.4);
}
.search .elsha3r-popular-content{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1 1 auto;}
.search .elsha3r-popular-title{margin:0;}
.search .elsha3r-popular-title a{color:#303440;font-weight:800;text-decoration:none;font-size:14px;line-height:1.4;}
.search .elsha3r-popular-item:hover .elsha3r-popular-title a{color:var(--elsha3r-primary);}
.search .elsha3r-popular-meta{
  align-self:flex-end;
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:8px;
  background:linear-gradient(135deg, #303440 0%, #1a1d29 100%);
  color:#fff;font-weight:700;font-size:11px;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  transition:all 0.3s ease;
}
.search .elsha3r-popular-meta:hover{
  background:linear-gradient(135deg, #495057 0%, #343a40 100%);
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.3);
}
.search .elsha3r-popular-meta i{color:#fff;font-size:10px;}

/* Remove lift effect on the whole sidebar block; keep it on items only */
.single .elsha3r-sidebox:hover,
.page .elsha3r-sidebox:hover,
.category .elsha3r-sidebox:hover,
.elsha3r-home-left .elsha3r-sidebox:hover{
  transform:none !important;
  box-shadow:none !important;
}

/* framed blocks left */
.elsha3r-frame--1 .elsha3r-headbar{ --head-main:#303440; --head-accent:var(--elsha3r-primary); }
.elsha3r-frame--2 .elsha3r-headbar{ --head-main:#303440; --head-accent:#1565c0; }
.elsha3r-frame--3 .elsha3r-headbar{ --head-main:#303440; --head-accent:#6d4c41; }

/* Ensure frame head icons work like other blocks */
.elsha3r-frame-head .elsha3r-head-ico{
  position:absolute;
  left:8px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  border-radius:6px;
  background:rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:16px;
  z-index:2;
  margin-right:8px;
  text-decoration:none;
  transition:all 0.3s ease;
}
.elsha3r-frame-head .elsha3r-head-ico:hover{
  background:rgba(255,255,255,.25);
  transform:translateY(-50%) scale(1.1);
}

/* ensure frame bodies keep consistent borders */
.elsha3r-frame-body{
  border: 1px solid #666;
  border-top:none;
  border-radius:0 0 6px 6px;
  background: #dddddd;
}


/* --- v23: restore cover in cards to avoid small images/white margins --- */
.post-thumb img,
.archive-thumb img,
.elsha3r-toplist-thumb img,
.elsha3r-card-img img,
.elsha3r-followups-img img{
  object-fit: fill;
  object-position: center;
  background: transparent;
}

/* Keep frame blocks as designed (window clipping) */
.elsha3r-frame3-window img,
.elsha3r-frame3-img{
  object-fit: cover;
  object-position: center;
}

/* ===== Showcase block (new layout) ===== */
.elsha3r-showcase .elsha3r-showcase-wrap{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  background: #303440;
  gap: 5px;
}
.elsha3r-showcase-featured{
  background: #e1e1e1;
  border:1px solid var(--elsha3r-primary);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.elsha3r-showcase-media{
  display:block;
  position:relative;
  height: 260px;
  overflow:hidden;
}
.elsha3r-showcase-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition:transform .25s ease, filter .25s ease;
}
.elsha3r-showcase-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
  opacity: .1;
}
.elsha3r-showcase-body{
  padding:12px;
}
.elsha3r-showcase-title{
  margin:0 0 8px;
  font-family:'Cairo', sans-serif;
  font-size:18px;
  line-height:1.6;
}
.elsha3r-showcase-title a{ color:var(--elsha3r-primary); text-decoration:none; transition:color .15s ease; }
.elsha3r-showcase-title a:hover{ color:var(--elsha3r-primary-dark); }
.elsha3r-showcase-excerpt{
  margin:10px 0 0;
  color: #555;
  font-size: 14px;
  line-height:1.9;
  font-weight: 700;
}
.elsha3r-showcase-featured:hover .elsha3r-showcase-media img{
  transform:scale(1.04);
  filter:saturate(1.12) contrast(1.05);
}

.elsha3r-showcase-list{
  background: #ddd;
  border:1px solid var(--elsha3r-primary);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.elsha3r-showcase-item{
  display:flex;
  gap:10px;
  padding:10px;
  border-bottom:1px solid #efefef;
}
.elsha3r-showcase-item:last-child{ border-bottom:none; }
.elsha3r-showcase-thumb{
  flex:0 0 92px;
  width:92px;
  height:62px;
  border-radius:8px;
  overflow:hidden;
  display:block;
}
.elsha3r-showcase-thumb img{
  width:100%;
  height:100%;
  object-fit:fill;
  display:block;
  transition:transform .25s ease;
}
.elsha3r-showcase-item:hover .elsha3r-showcase-thumb img{ transform:scale(1.06); }
.elsha3r-showcase-item-body h4{
  margin:0 0 6px;
  font-family:'Cairo', sans-serif;
  font-size:14px;
  line-height:1.55;
}
.elsha3r-showcase-item-body a{ color:var(--elsha3r-primary); text-decoration:none; transition:color .15s ease; }
.elsha3r-showcase-item-body a:hover{ color:var(--elsha3r-primary-dark); }

@media (max-width: 900px){
  .elsha3r-showcase .elsha3r-showcase-wrap{ grid-template-columns: 1fr; }
  .elsha3r-showcase-media{ height:220px; }
}


/* Sticky side ads */
.elsha3r-side-ads{
  will-change: transform;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 200;
}
.elsha3r-side-ad{
  position: absolute;
  width: 160px;
  pointer-events: auto;
}
.elsha3r-side-ad--left{
  left: 12px;
}
.elsha3r-side-ad--right{
  right: 12px;
}
.elsha3r-side-ad .elsha3r-ad{
  border: 1px solid #303440;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.elsha3r-side-ad img{
  display:block;
  width:100%;
  height:auto;
}
@media (max-width: 1280px){
  .elsha3r-side-ads{
  will-change: transform; display:none; }
}

.elsha3r-side-ads.is-bottom{ position:absolute; }

/* Align side ads relative to content width on category pages */
/* Between 1281px and 1399px viewport, main container ~1240px */
@media (min-width:1281px) and (max-width:1399px){
  .category .elsha3r-side-ad--left{ left: max(12px, calc((100vw - 1240px)/2 - 8px)); }
  .category .elsha3r-side-ad--right{ right: max(12px, calc((100vw - 1240px)/2 - 8px)); }
}
/* From 1400px to 1699px viewport, container is 1320px */
@media (min-width:1400px) and (max-width:1699px){
  .category .elsha3r-side-ad--left{ left: max(12px, calc((100vw - 1320px)/2 - 8px)); }
  .category .elsha3r-side-ad--right{ right: max(12px, calc((100vw - 1320px)/2 - 8px)); }
}
/* From 1700px up, container is 1500px */
@media (min-width:1700px){
  .category .elsha3r-side-ad--left{ left: max(12px, calc((100vw - 1500px)/2 - 8px)); }
  .category .elsha3r-side-ad--right{ right: max(12px, calc((100vw - 1500px)/2 - 8px)); }
}

/* =========================
   Single (Post) page layout
   ========================= */

/* Override any conflicting styles */
.single .container{width:100%;margin:0 auto;padding:0 16px;box-sizing:border-box;}
.single .elsha3r-single-wrap{width:100%;max-width:100%;margin:0;padding:0;box-sizing:border-box;}
.single .elsha3r-single-grid{display:grid;grid-auto-flow:row;gap:25px;align-items:start;}
.single .elsha3r-single-main{min-width:0;}
.single .elsha3r-single-sidebar{width:100%;}

/* Ensure no overflow */
.single{overflow-x:hidden;}
.single .elsha3r-single-wrap{overflow-x:hidden;}
.single .elsha3r-single-grid{overflow-x:hidden;}
.single .elsha3r-single-main{overflow-x:hidden;}
.single .elsha3r-single-sidebar{overflow-x:hidden;}

@media (max-width: 1200px){
  .single .elsha3r-single-wrap{padding:0;margin:0;}
  .single .elsha3r-single-grid{display:block !important;grid-template-columns:none !important;gap:20px !important;}
  .single .elsha3r-single-main{min-width:0 !important;}
  .single .elsha3r-single-sidebar{width:100% !important;min-width:0 !important;}
  /* Force children to take full width */
  .elsha3r-single-grid > *{width:100% !important;max-width:100% !important;}
  .elsha3r-single-sidebar{clear:both !important;}
}

@media (min-width: 1200px){
  .single .elsha3r-single-grid{grid-template-columns: 1fr 400px;}
}

@media (max-width: 992px){
  .single .elsha3r-single-wrap{padding:0;margin:0;}
  .single .elsha3r-single-grid{display:block !important;grid-template-columns:none !important;gap:15px !important;}
  .single .elsha3r-single-main{min-width:0 !important;}
  .single .elsha3r-single-sidebar{width:100% !important;min-width:0 !important;}
  .elsha3r-single-grid > *{width:100% !important;max-width:100% !important;}
  .content-grid{display:block !important;grid-template-columns:none !important;}
  .content-grid > *{width:100% !important;max-width:100% !important;}
  .single .container{max-width:100%;}
}

@media (max-width: 768px){
  .single .container{padding:0 10px;}
  .single .elsha3r-single-wrap{margin:0;padding:0;}
  .single .elsha3r-single-grid{display:block !important;grid-template-columns:none !important;gap:12px !important;}
  .single .elsha3r-single-main{min-width:0 !important;}
  .single .elsha3r-single-sidebar{width:100% !important;min-width:0 !important;}
  .elsha3r-single-grid > *{width:100% !important;max-width:100% !important;}
  .content-grid{display:block !important;grid-template-columns:none !important;}
  .content-grid > *{width:100% !important;max-width:100% !important;}
}

@media (max-width: 576px){
  .single .container{padding:0 8px;}
  .single .elsha3r-single-wrap{margin:0;padding:0;}
  .single .elsha3r-single-grid{display:block !important;grid-template-columns:none !important;gap:10px !important;}
  .single .elsha3r-single-main{min-width:0 !important;}
  .single .elsha3r-single-sidebar{width:100% !important;min-width:0 !important;}
  .elsha3r-single-grid > *{width:100% !important;max-width:100% !important;}
  .content-grid{display:block !important;grid-template-columns:none !important;}
  .content-grid > *{width:100% !important;max-width:100% !important;}
}

/* Content wrapper with border for better separation */
.elsha3r-content-wrapper{background: #dddddd;color: #a71414;font-size: 1em;font-weight: bold;border: 2px solid var(--elsha3r-primary);border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 4px 12px rgba(0,0,0,0.08);position:relative;}
.elsha3r-content-wrapper:before{content:'';position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;width:calc(100% + 4px);height:calc(100% + 4px);background:linear-gradient(45deg, var(--elsha3r-primary) 25%, transparent 25%, transparent 75%, var(--elsha3r-primary) 100%);border-radius:12px;z-index:-1;opacity:0.6;animation:contentGlow 3s ease-in-out infinite;}
@keyframes contentGlow{0%,100%{opacity:0.6;}50%{opacity:0.3;}}
.elsha3r-single-content{position:relative;z-index:1;background:transparent;}

/* Responsive design for content wrapper */
@media (max-width: 768px){
  .elsha3r-content-wrapper{padding:15px;margin-bottom:15px;}
  .elsha3r-content-wrapper:before{display:none;}
}
@media (max-width: 576px){
  .elsha3r-content-wrapper{padding:12px;margin-bottom:12px;}
  .elsha3r-content-wrapper:before{display:none;}
}
.single .elsha3r-single-content table{max-width:100%;overflow-x:auto;}
.single .elsha3r-single-content iframe{max-width:100%;height:auto;}
.single .elsha3r-single-content embed{max-width:100%;height:auto;}
.single .elsha3r-single-content video{max-width:100%;height:auto;}
.single .elsha3r-single-content pre{max-width:100%;overflow-x:auto;}
.single .elsha3r-single-content code{max-width:100%;word-wrap:break-word;}

/* Fix navigation overflow */
.single .elsha3r-post-nav{max-width:100%;overflow:hidden;}
.single .elsha3r-post-nav .nav-link{max-width:100%;overflow:hidden;}
.single .elsha3r-post-nav .nav-title{max-width:100%;overflow:hidden;}

/* Fix sidebar overflow */
.single .elsha3r-sidebox{max-width:100%;overflow:hidden;}
.single .elsha3r-news-scroll-container{max-width:100%;overflow:hidden;}
.single .elsha3r-news-scroll-content{max-width:100%;overflow:hidden;}
.single .elsha3r-other-news-item{max-width:100%;overflow:hidden;}
.single .elsha3r-other-news-title{max-width:100%;overflow:hidden;}

/* Hide any duplicate breadcrumb or title elements outside main article */
.single .elsha3r-single-wrap > .elsha3r-breadcrumb,
.single .elsha3r-single-wrap > .breadcrumbs,
.single .elsha3r-single-wrap > .page-title,
.single .elsha3r-single-wrap > .entry-title,
.single .elsha3r-single-wrap > h1:not(.elsha3r-single-title),
.single .elsha3r-single-wrap > .breadcrumb,
.single .elsha3r-single-wrap > .post-navigation,
.single .elsha3r-single-wrap > .nav-links{
  display: none !important;
}

/* Hide breadcrumbs class specifically */
.single .breadcrumbs,
.single .elsha3r-single-wrap .breadcrumbs:not(.elsha3r-breadcrumb),
.single .site-main .breadcrumbs,
.single .content-area .breadcrumbs{
  display: none !important;
}

/* Ensure only elements inside the article are visible */
.single .elsha3r-single-article .elsha3r-breadcrumb,
.single .elsha3r-single-article .elsha3r-single-title{
  display: flex !important;
}

/* Hide WordPress default navigation outside our custom container */
.single .post-navigation:not(.elsha3r-post-nav),
.single .navigation:not(.elsha3r-post-nav){
  display: none !important;
}

/* Hide any duplicate title in header */
.single .site-header .page-title,
.single .site-header .entry-title,
.single .page-header .page-title,
.single .page-header .entry-title{
  display: none !important;
}
.elsha3r-single-header{padding:12px 12px 0;}
.elsha3r-breadcrumb{font-family:'Cairo',sans-serif;font-size: 12px;color: #fff;margin-bottom:8px;padding:8px 12px;background: #333333;border-radius:6px;display:flex;align-items:center;flex-wrap:wrap;gap:6px;position:relative;}
.elsha3r-breadcrumb a{color: #fff;text-decoration:none;font-weight:700;padding:4px 6px;border-radius:3px;transition:background-color 0.3s ease;display:flex;align-items:center;gap:4px;position:relative;z-index:1;}
.elsha3r-breadcrumb a:hover{background-color:var(--elsha3r-primary);color:#fff;}
.elsha3r-breadcrumb a i{font-size:12px;}
.elsha3r-breadcrumb .fa-house{font-size:14px;}
.elsha3r-breadcrumb .fa-chevron-right{color:#999;font-size:12px;margin:0 3px;z-index:0;position:relative;transition:color 0.3s ease;}
.elsha3r-breadcrumb .fa-chevron-right:hover{color:#fff;}
.elsha3r-breadcrumb .current{color: #fff;font-weight:700;background: #333333;padding:4px 8px;border-radius:3px;max-width:500px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;z-index:2;min-height:24px;display:flex;align-items:center;}

/* تحسين ترقيم الصفحات في صفحات الأقسام */
.elsha3r-pagination .nav-links .page-numbers,
.elsha3r-category-pagination .page-numbers,
.nav-links .page-numbers {
	padding: 4px 8px !important;
	min-width: 32px !important;
	max-width: 36px !important;
	font-size: 12px !important;
	margin: 0 2px !important;
}

.elsha3r-pagination .nav-links .page-numbers.current,
.elsha3r-category-pagination .page-numbers.current,
.nav-links .page-numbers.current {
	padding: 4px 8px !important;
	min-width: 32px !important;
	max-width: 36px !important;
	font-size: 12px !important;
	margin: 0 2px !important;
}

.elsha3r-pagination .nav-links .page-numbers.prev,
.elsha3r-pagination .nav-links .page-numbers.next,
.elsha3r-category-pagination .page-numbers.prev,
.elsha3r-category-pagination .page-numbers.next,
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
	padding: 4px 8px !important;
	min-width: auto !important;
	max-width: 60px !important;
	font-size: 12px !important;
	margin: 0 2px !important;
}

.elsha3r-pagination .nav-links .page-numbers.dots,
.elsha3r-category-pagination .page-numbers.dots,
.nav-links .page-numbers.dots {
	padding: 4px 8px !important;
	min-width: 20px !important;
	max-width: 20px !important;
	font-size: 12px !important;
	margin: 0 2px !important;
}

/* تحسين حاوية الترقيم */
.elsha3r-pagination,
.elsha3r-category-pagination,
.pagination {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 4px !important;
}

.elsha3r-pagination .nav-links,
.elsha3r-category-pagination .nav-links,
.nav-links {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 4px !important;
}

/* تحسين على الموبايل - قواعد أقوى */
@media (max-width: 768px) {
	.elsha3r-pagination .nav-links .page-numbers,
	.elsha3r-category-pagination .page-numbers,
	.nav-links .page-numbers,
	.page-numbers {
		padding: 2px 4px !important;
		min-width: 24px !important;
		max-width: 28px !important;
		font-size: 10px !important;
		margin: 0 1px !important;
	}
	
	.elsha3r-pagination .nav-links .page-numbers.current,
	.elsha3r-category-pagination .page-numbers.current,
	.nav-links .page-numbers.current,
	.page-numbers.current {
		padding: 2px 4px !important;
	}
	
	.elsha3r-pagination .nav-links .page-numbers.prev,
	.elsha3r-pagination .nav-links .page-numbers.next,
	.elsha3r-category-pagination .page-numbers.prev,
	.elsha3r-category-pagination .page-numbers.next,
	.nav-links .page-numbers.prev,
	.nav-links .page-numbers.next,
	.page-numbers.prev,
	.page-numbers.next {
		padding: 2px 4px !important;
		min-width: auto !important;
		/* max-width: 40px !important; */
		font-size: 10px !important;
		margin: 0 1px !important;
	}
	
	.elsha3r-pagination .nav-links .page-numbers.dots,
	.elsha3r-category-pagination .page-numbers.dots,
	.nav-links .page-numbers.dots,
	.page-numbers.dots {
		padding: 2px 4px !important;
		min-width: 16px !important;
		max-width: 16px !important;
		font-size: 10px !important;
		margin: 0 1px !important;
	}
}

/* تحسينات إضافية للـ breadcrumb */
.elsha3r-breadcrumb .current::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 1px;
    background: var(--elsha3r-primary);
    transform: translateY(-50%);
    margin-left: 8px;
}

@media (max-width: 768px) {
    .elsha3r-breadcrumb .current {
        max-width: 250px;
        font-size: 11px;
    }
    .elsha3r-breadcrumb {
        font-size: 11px;
        padding: 6px 8px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .elsha3r-breadcrumb .current {
        max-width: 220px;
        font-size: 10px;
        padding: 3px 6px;
    }
    .elsha3r-breadcrumb {
        font-size: 10px;
        padding: 4px 6px;
        gap: 3px;
    }
}

.elsha3r-single-article{background:#fff;border:1px solid #e6e6e6;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.06);}
.elsha3r-single-title{margin:0 0 15px;font-family:'Cairo',sans-serif;font-size:22px;line-height:1.4;color:var(--elsha3r-primary);font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,0.1);letter-spacing:-0.5px;text-align:center;padding:0 20px;word-wrap:break-word;overflow-wrap:break-word;hyphens:auto;display:flex;align-items:center;justify-content:center;}
.elsha3r-single-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px;justify-content:center;padding:0 20px;}
@media (max-width: 768px){.elsha3r-single-title{font-size:20px;padding:0 15px;}}
@media (max-width: 576px){.elsha3r-single-title{font-size:18px;padding:0 10px;}}
@media (max-width: 480px){.elsha3r-single-title{font-size:16px;padding:0 8px;}}
@media (max-width: 768px){.elsha3r-single-meta{padding:0 15px;}}
@media (max-width: 576px){.elsha3r-single-meta{padding:0 10px;}}

.elsha3r-meta-badge{display:inline-flex;align-items:center;gap:6px;background:var(--elsha3r-primary);color:#fff;border-radius:5px;padding:4px 8px;font-family:'Cairo',sans-serif;font-size:12px;font-weight:800;}
.elsha3r-meta-badge i{font-size:12px;opacity:.95;}

.elsha3r-single-thumb{padding:0 25px 25px;position:relative;}
@media (max-width: 768px){.elsha3r-single-thumb{padding:0 15px 15px;}}
@media (max-width: 576px){.elsha3r-single-thumb{padding:0 10px 10px;}}
.elsha3r-single-thumb img{width:100%;height:400px;display:block;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.2);transition:transform 0.3s ease, box-shadow 0.3s ease;object-fit:fill;}
@media (max-width: 768px){.elsha3r-single-thumb img{height:300px;border-radius:8px;}}
@media (max-width: 576px){.elsha3r-single-thumb img{height:250px;border-radius:6px;}}
.elsha3r-thumb-link{display:block;position:relative;overflow:hidden;border-radius:12px;}
@media (max-width: 768px){.elsha3r-thumb-link{border-radius:8px;}}
@media (max-width: 576px){.elsha3r-thumb-link{border-radius:6px;}}
.elsha3r-thumb-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 0.3s ease;border-radius:12px;}
@media (max-width: 768px){.elsha3r-thumb-overlay{border-radius:8px;}}
@media (max-width: 576px){.elsha3r-thumb-overlay{border-radius:6px;}}
.elsha3r-thumb-link:hover .elsha3r-thumb-overlay{opacity:1;}
.elsha3r-thumb-link:hover img{transform:scale(1.05);box-shadow:0 12px 32px rgba(0,0,0,0.25);}
.elsha3r-thumb-overlay i{color:#fff;font-size:24px;transform:scale(0.8);transition:transform 0.3s ease;}
@media (max-width: 576px){.elsha3r-thumb-overlay i{font-size:20px;}}
.elsha3r-thumb-link:hover .elsha3r-thumb-overlay i{transform:scale(1);}

.elsha3r-page-wrap .elsha3r-single-thumb img{
  height:340px;
  object-fit:contain;
  background:#fff;
}
.elsha3r-page-wrap .elsha3r-thumb-link:hover img{transform:scale(1.01);}
@media (max-width: 768px){
  .elsha3r-page-wrap .elsha3r-single-thumb img{height:280px;}
}
@media (max-width: 576px){
  .elsha3r-page-wrap .elsha3r-single-thumb img{height:240px;}
}

.elsha3r-single-content{padding:0 25px 25px;font-family:'Cairo',sans-serif;font-size:16px;line-height:1.8;color:#333;font-weight:400;text-align:justify;background:#fff;}
@media (max-width: 768px){.elsha3r-single-content{padding:0 15px 15px;font-size:15px;line-height:1.6;}}
@media (max-width: 576px){.elsha3r-single-content{padding:0 10px 10px;font-size:14px;line-height:1.5;}}
.single .elsha3r-single-content{font-size:calc(16px * var(--elsha3r-font-scale,1));}
.elsha3r-single-content p{margin:0 0 18px;text-indent:25px;}
@media (max-width: 768px){.elsha3r-single-content p{margin:0 0 15px;text-indent:20px;}}
@media (max-width: 576px){.elsha3r-single-content p{margin:0 0 12px;text-indent:15px;}}
.elsha3r-single-content p:first-child{text-indent:0;}
.elsha3r-single-content p:first-child::first-letter{font-size:inherit;font-weight:inherit;color:inherit;float:none;margin:0;line-height:inherit;}
@media (max-width: 768px){.elsha3r-single-content p:first-child::first-letter{font-size:inherit;margin:0;}}
@media (max-width: 576px){.elsha3r-single-content p:first-child::first-letter{font-size:inherit;margin:0;}}
.elsha3r-single-content h2{color:var(--elsha3r-primary);font-size:18px;font-weight:700;margin:22px 0 14px;padding-bottom:8px;border-bottom:2px solid var(--elsha3r-primary);}
@media (max-width: 768px){.elsha3r-single-content h2{font-size:16px;margin:18px 0 12px;padding-bottom:6px;}}
@media (max-width: 576px){.elsha3r-single-content h2{font-size:14px;margin:15px 0 10px;padding-bottom:5px;}}
.elsha3r-single-content h3{color:var(--elsha3r-primary);font-size:16px;font-weight:600;margin:18px 0 12px;}
@media (max-width: 768px){.elsha3r-single-content h3{font-size:14px;margin:15px 0 10px;}}
@media (max-width: 576px){.elsha3r-single-content h3{font-size:13px;margin:12px 0 8px;}}
.single .elsha3r-single-content h2{font-size:calc(18px * var(--elsha3r-font-scale,1));}
.single .elsha3r-single-content h3{font-size:calc(16px * var(--elsha3r-font-scale,1));}
.elsha3r-single-content ul,.elsha3r-single-content ol{margin:18px 0;padding-right:35px;}
@media (max-width: 768px){.elsha3r-single-content ul,.elsha3r-single-content ol{margin:15px 0;padding-right:25px;}}
@media (max-width: 576px){.elsha3r-single-content ul,.elsha3r-single-content ol{margin:12px 0;padding-right:20px;}}
.elsha3r-single-content li{margin-bottom:10px;}
@media (max-width: 768px){.elsha3r-single-content li{margin-bottom:8px;}}
@media (max-width: 576px){.elsha3r-single-content li{margin-bottom:6px;}}
.elsha3r-single-content blockquote{margin:22px 0;padding:18px 25px;background:#f8f9fa;border-right:4px solid var(--elsha3r-primary);border-radius:0 6px 6px 0;font-style:italic;color:#555;}
@media (max-width: 768px){.elsha3r-single-content blockquote{margin:18px 0;padding:15px 20px;border-right:3px solid var(--elsha3r-primary);border-radius:0 4px 4px 0;}}
@media (max-width: 576px){.elsha3r-single-content blockquote{margin:15px 0;padding:12px 15px;border-right:2px solid var(--elsha3r-primary);border-radius:0 3px 3px 0;}}
.elsha3r-single-content strong{color:var(--elsha3r-primary);font-weight:700;}
.elsha3r-single-content a{color:var(--elsha3r-primary);font-weight:600;text-decoration:none;border-bottom:1px dotted var(--elsha3r-primary);transition:all 0.3s ease;}
.elsha3r-single-content a:hover{color:var(--elsha3r-primary-dark);border-bottom-style:solid;}
.elsha3r-single-content img{max-width:100%;height:auto;display:block;margin:20px auto;border-radius:10px;box-shadow:0 6px 16px rgba(0,0,0,0.15);}
@media (max-width: 768px){.elsha3r-single-content img{margin:15px auto;border-radius:8px;}}
@media (max-width: 576px){.elsha3r-single-content img{margin:12px auto;border-radius:6px;}}

/* Lightbox */
.elsha3r-lightbox{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;opacity:0;visibility:hidden;transition:opacity 0.3s ease, visibility 0.3s ease;}
.elsha3r-lightbox.active{opacity:1;visibility:visible;}
.elsha3r-lightbox-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.95);display:flex;align-items:center;justify-content:center;padding:20px;}
.elsha3r-lightbox-content{position:relative;max-width:90vw;max-height:90vh;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,0.3);}
.elsha3r-lightbox-close{position:absolute;top:15px;right:15px;width:40px;height:40px;background:rgba(255,255,255,0.9);border:none;border-radius:50%;color:#333;font-size:20px;cursor:pointer;z-index:10;transition:all 0.3s ease;display:flex;align-items:center;justify-content:center;}
.elsha3r-lightbox-close:hover{background:#fff;color:var(--elsha3r-primary);transform:scale(1.1);}
.elsha3r-lightbox-img{max-width:100%;max-height:90vh;display:block;object-fit:contain;}
.elsha3r-lightbox-loading{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;gap:15px;color:#fff;font-size:16px;font-family:'Cairo',sans-serif;}
.elsha3r-lightbox-loading i{font-size:32px;color:#fff;}

/* Content images with lightbox */
.elsha3r-single-content img{margin:15px auto;border-radius:8px;cursor:pointer;transition:all 0.3s ease;}
.elsha3r-single-content img:hover{transform:scale(1.02);box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.elsha3r-single-content img:active{transform:scale(0.98);}

/* Font tools (above content) */
.elsha3r-fonttools{
  margin: 0 25px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  direction:rtl;
  background: #303440;
  border:1px solid #e6e6ee;
  border-radius:14px;
  padding:8px 12px;
  box-shadow: 0 6px 16px rgb(0 0 0 / 8%);
}
.elsha3r-fonttools .fz-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:36px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid #d9dbe6;
  background:linear-gradient(180deg,#fefefe,#f5f6f9);
  font-weight:800;
  color: var(--elsha3r-primary);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.elsha3r-fonttools .fz-btn:hover{transform:translateY(-1px);box-shadow:0 6px 12px rgba(0,0,0,.12);filter:brightness(1.03)}
.elsha3r-fonttools .fz-btn .fz-a.small{font-size:14px}
.elsha3r-fonttools .fz-btn .fz-a.mid{font-size:16px}
.elsha3r-fonttools .fz-btn .fz-a.big{font-size:18px}
.elsha3r-fonttools .fz-track{
  position:relative;flex:1 1 auto;height:8px;border-radius:999px;background:#edf0f6;border:1px solid #e6e6ee;overflow:hidden;
}
.elsha3r-fonttools .fz-fill{
  position:absolute;inset-inline-start:0;top:0;height:100%;width:50%;background:linear-gradient(90deg,var(--elsha3r-primary),var(--elsha3r-primary-dark));border-radius:inherit;transition:width .2s ease;
}
.elsha3r-fonttools .fz-tick{position:absolute;top:50%;transform:translateY(-50%);width:2px;height:10px;background:#d9dbe6}
.elsha3r-fonttools .fz-tick:nth-child(1){inset-inline-start:20%}
.elsha3r-fonttools .fz-tick:nth-child(2){inset-inline-start:40%}
.elsha3r-fonttools .fz-tick:nth-child(3){inset-inline-start:60%}
.elsha3r-fonttools .fz-tick:nth-child(4){inset-inline-start:80%}
.elsha3r-fonttools .fz-tick:nth-child(5){inset-inline-start:100%}

@media (max-width: 768px){
  .elsha3r-lightbox-content{max-width:95vw;margin:10px;}
  .elsha3r-lightbox-close{top:10px;right:10px;width:35px;height:35px;font-size:18px;}
  .elsha3r-lightbox-loading{font-size:14px;}
  .elsha3r-lightbox-loading i{font-size:24px;}
  .elsha3r-single-content img{margin:12px auto;border-radius:6px;}
  .elsha3r-single-content img:hover{transform:scale(1.01);box-shadow:0 2px 8px rgba(0,0,0,0.1);}
}

@media (max-width: 576px){
  .elsha3r-single-content img{margin:10px auto;border-radius:4px;}
  .elsha3r-single-content img:hover{transform:scale(1.005);box-shadow:0 1px 6px rgba(0,0,0,0.08);}
}

.elsha3r-anticopy{user-select:none;-webkit-user-select:none;-ms-user-select:none}
.elsha3r-anticopy img{-webkit-user-drag:none}

/* Tags bar (single) */
.elsha3r-tagsbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;border: 2px solid #303440;border-radius: 10px;background: #303440;align-items:center;}
.elsha3r-tags-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--elsha3r-primary);border-radius:8px;margin-left:8px;flex-shrink:0;}
.elsha3r-tags-icon i{color:#fff;font-size:16px;}
.elsha3r-tags-content{display:flex;flex-wrap:wrap;gap:8px;flex:1;min-width:0;}
.elsha3r-tag{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border: 1px solid #e6e6e6;border-radius:8px;background:var(--elsha3r-primary);color:#fff;text-decoration:none;font-family:'Cairo',sans-serif;font-size:12px;font-weight:800;}
.elsha3r-tag:hover{background:#303440;color:#fff;}

.elsha3r-sharebar{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border-top:1px solid #efefef;background:#fff;justify-content:center;max-width:600px;margin:0 auto;}
.elsha3r-sharebar .sbtn{width: 40px;height: 40px;border-radius:8px;border: none;display:inline-flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;transition:transform .15s ease, background .15s ease, color .15s ease;box-shadow: 0 4px 8px rgb(0 0 0 / 84%);}
.elsha3r-sharebar .sbtn:hover{transform:translateY(-2px);box-shadow:0 6px 12px rgba(0,0,0,0.3);}

/* Facebook */
.elsha3r-sharebar .sbtn[href*="facebook.com"]{background:#1877f2;}
.elsha3r-sharebar .sbtn[href*="facebook.com"]:hover{background:#166fe5;}

/* Twitter/X */
.elsha3r-sharebar .sbtn[href*="twitter.com"]{background:#1da1f2;}
.elsha3r-sharebar .sbtn[href*="twitter.com"]:hover{background:#1a91da;}

/* Telegram */
.elsha3r-sharebar .sbtn[href*="t.me"]{background:#0088cc;}
.elsha3r-sharebar .sbtn[href*="t.me"]:hover{background:#0077b5;}

/* WhatsApp */
.elsha3r-sharebar .sbtn[href*="whatsapp.com"]{background:#25d366;}
.elsha3r-sharebar .sbtn[href*="whatsapp.com"]:hover{background:#128c7e;}

/* LinkedIn */
.elsha3r-sharebar .sbtn[href*="linkedin.com"]{background:#0077b5;}
.elsha3r-sharebar .sbtn[href*="linkedin.com"]:hover{background:#005885;}

/* Copy Link */
.elsha3r-sharebar .sbtn[data-copy]{background:#6c757d;}
.elsha3r-sharebar .sbtn[data-copy]:hover{background:#5a6268;}

/* Reddit */
.elsha3r-sharebar .sbtn[href*="reddit.com"]{background:var(--elsha3r-primary);}
.elsha3r-sharebar .sbtn[href*="reddit.com"]:hover{background:var(--elsha3r-primary-dark);}

/* Pinterest */
.elsha3r-sharebar .sbtn[href*="pinterest.com"]{background:var(--elsha3r-primary);}
.elsha3r-sharebar .sbtn[href*="pinterest.com"]:hover{background:var(--elsha3r-primary-dark);}

/* Email */
.elsha3r-sharebar .sbtn[href*="mailto:"]{background:#ea4335;}
.elsha3r-sharebar .sbtn[href*="mailto:"]:hover{background:#d23321;}

/* Print */
.elsha3r-sharebar .sbtn[onclick*="print"]{background:#6c757d;}
.elsha3r-sharebar .sbtn[onclick*="print"]:hover{background:#5a6268;}

/* Responsive design for sharebar */
@media (max-width: 768px){
  .elsha3r-sharebar{max-width:100%;gap:6px;padding:10px;}
  .elsha3r-sharebar .sbtn{width:36px;height:36px;}
  .elsha3r-tagsbar{padding:8px 10px;}
  .elsha3r-tags-icon{width:36px;height:36px;margin-left:6px;}
  .elsha3r-tags-icon i{font-size:14px;}
}
@media (max-width: 576px){
  .elsha3r-sharebar{max-width:100%;gap:4px;padding:8px;}
  .elsha3r-sharebar .sbtn{width:32px;height:32px;}
  .elsha3r-tagsbar{padding:6px 8px;}
  .elsha3r-tags-icon{width:32px;height:32px;margin-left:4px;}
  .elsha3r-tags-icon i{font-size:12px;}
}

/* Navigation between posts */
.elsha3r-post-nav{display:flex;gap:20px;justify-content:space-between;padding:20px 25px;border-top:1px solid #efefef;background: #303440;}
.elsha3r-post-nav .prev,.elsha3r-post-nav .next{flex:1;max-width:48%;}
.elsha3r-post-nav .nav-link{display:flex;align-items:center;gap:15px;padding:20px;background:#fff;border-radius:12px;border:2px solid #e6e6e6;text-decoration:none;transition:all 0.3s ease;box-shadow:0 2px 8px rgba(0,0,0,0.08);position:relative;overflow:hidden;}
.elsha3r-post-nav .nav-link:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.12);border-color:var(--elsha3r-primary);}
.elsha3r-post-nav .nav-link::before{content:'';position:absolute;top:0;left:0;width:0;height:100%;background:linear-gradient(90deg, rgba(183,28,28,0.05) 0%, rgba(183,28,28,0) 100%);transition:width 0.3s ease;}
.elsha3r-post-nav .nav-link:hover::before{width:100%;}
.elsha3r-post-nav .nav-thumb{width:80px;height:60px;border-radius:8px;object-fit:cover;flex-shrink:0;}
.elsha3r-post-nav .nav-thumb-placeholder{width:80px;height:60px;border-radius:8px;background:#f0f0f0;display:flex;align-items:center;justify-content:center;color:#888;font-size:24px;flex-shrink:0;}
.elsha3r-post-nav .nav-content{flex:1;min-width:0;}
.elsha3r-post-nav .nav-label{display:block;font-family:'Cairo',sans-serif;font-size:11px;color:#888;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;}
.elsha3r-post-nav .nav-title{display:block;font-family:'Cairo',sans-serif;font-size:14px;color:#303440;font-weight:700;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.elsha3r-post-nav .nav-arrow{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;border-radius:50%;font-size:24px;font-weight:700;transition:all 0.3s ease;flex-shrink:0;}
.elsha3r-post-nav .nav-link:hover .nav-arrow{transform:scale(1.1);box-shadow:0 4px 12px rgba(var(--elsha3r-primary-rgb), 0.3);}
.elsha3r-post-nav .prev{text-align:right;}
.elsha3r-post-nav .next{text-align:left;}
.elsha3r-post-nav .prev .nav-arrow{order:-1;}
.elsha3r-post-nav .next .nav-arrow{order:3;}
.elsha3r-post-nav .prev .nav-link:hover .nav-arrow{transform:translateX(-3px) scale(1.1);}
.elsha3r-post-nav .next .nav-link:hover .nav-arrow{transform:translateX(3px) scale(1.1);}

@media (max-width: 768px){
  .elsha3r-post-nav{flex-direction:column;gap:15px;padding:15px;}
  .elsha3r-post-nav .prev,.elsha3r-post-nav .next{max-width:100%;}
  .elsha3r-post-nav .nav-link{padding:15px;gap:12px;}
  .elsha3r-post-nav .nav-thumb{width:70px;height:50px;border-radius:6px;}
  .elsha3r-post-nav .nav-thumb-placeholder{width:70px;height:50px;border-radius:6px;font-size:20px;}
  .elsha3r-post-nav .nav-label{font-size:10px;margin-bottom:3px;}
  .elsha3r-post-nav .nav-title{font-size:13px;line-height:1.3;}
  .elsha3r-post-nav .nav-arrow{width:35px;height:35px;font-size:22px;}
}
@media (max-width: 576px){
  .elsha3r-post-nav{gap:10px;padding:10px;}
  .elsha3r-post-nav .nav-link{padding:12px;gap:10px;border-radius:8px;}
  .elsha3r-post-nav .nav-thumb{width:60px;height:40px;border-radius:4px;}
  .elsha3r-post-nav .nav-thumb-placeholder{width:60px;height:40px;border-radius:4px;font-size:18px;}
  .elsha3r-post-nav .nav-label{font-size:9px;margin-bottom:2px;}
  .elsha3r-post-nav .nav-title{font-size:12px;line-height:1.2;}
  .elsha3r-post-nav .nav-arrow{width:30px;height:30px;font-size:20px;}
}

/* Related Posts */
.elsha3r-related{margin-top:24px;background:#fff;border:1px solid #e6e6e6;border-radius:10px;overflow:hidden;}
.elsha3r-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:15px;}
@media (max-width: 992px){.elsha3r-related-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 576px){.elsha3r-related-grid{grid-template-columns:1fr;} }
.elsha3r-related-item{border: 3px solid #333333;border-radius:8px;overflow:hidden;background: #dddddd;transition:transform 0.3s ease, box-shadow 0.3s ease;}
.elsha3r-related-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.elsha3r-related-thumb{display:block;line-height:0;position:relative;}
.elsha3r-related-thumb img{width:100%;height:140px;object-fit:cover;display:block;background:#fff;}
.elsha3r-related-meta{padding:12px;}
.elsha3r-related-title-link{color:var(--elsha3r-primary);text-decoration:none;font-weight:700;font-size:14px;line-height:1.6;display:block;margin-bottom:8px;}
.elsha3r-related-title-link:hover{color:var(--elsha3r-primary);}
.elsha3r-related-sub{font-size:11px;color:#777;display:flex;gap:10px;flex-wrap:wrap;}
.elsha3r-related-sub .elsha3r-meta-badge{background:var(--elsha3r-primary);color:#fff;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;}

/* Sidebar boxes */
.elsha3r-sidebox{margin-bottom:15px;border:1px solid linear-gradient(135deg, #303440 0%, #1a1d29 100%);border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.2);transition:all 0.3s ease;}
.elsha3r-sidebox:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 8px 30px rgba(0,0,0,0.25), 0 12px 24px rgba(0,0,0,0.3);}

/* Remove hover effect from Facebook and Other News blocks */
.elsha3r-single-sidebar .elsha3r-sidebox:hover{transform:none;box-shadow:0 4px 20px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.2);}
.elsha3r-sidebox-body{padding:12px;}
.elsha3r-fb-embed iframe{max-width:100% !important;}

/* Apply Cairo font to Facebook widget content */
.elsha3r-fb-embed{
  font-family:'Cairo',sans-serif !important;
}
.elsha3r-fb-embed *{
  font-family:'Cairo',sans-serif !important;
}
.elsha3r-fb-embed iframe{
  font-family:'Cairo',sans-serif !important;
}
.elsha3r-fb-embed .fb-page,
.elsha3r-fb-embed .fb-page *{
  font-family:'Cairo',sans-serif !important;
}

/* Additional Facebook font overrides - backup styles */
.elsha3r-fb-embed .plugin,
.elsha3r-fb-embed .plugin button,
.elsha3r-fb-embed .plugin input,
.elsha3r-fb-embed .plugin label,
.elsha3r-fb-embed .plugin select,
.elsha3r-fb-embed .plugin td,
.elsha3r-fb-embed .plugin textarea,
.elsha3r-fb-embed .plugin span,
.elsha3r-fb-embed .plugin div,
.elsha3r-fb-embed .plugin a,
.elsha3r-fb-embed .plugin p,
.elsha3r-fb-embed .plugin h1,
.elsha3r-fb-embed .plugin h2,
.elsha3r-fb-embed .plugin h3,
.elsha3r-fb-embed .plugin h4,
.elsha3r-fb-embed .plugin h5,
.elsha3r-fb-embed .plugin h6{
  font-family:'Cairo',sans-serif !important;
  font-size:12px !important;
}

/* DIRECT OVERRIDE - Force body.plugin to use Cairo */
.elsha3r-fb-embed body.plugin,
.elsha3r-fb-embed iframe body.plugin,
body.plugin{
  background: transparent !important;
  font-family: 'Cairo', sans-serif !important;
  line-height: 1.28 !important;
  overflow: hidden !important;
  -webkit-text-size-adjust: none !important;
  font-size: 12px !important;
}

/* Force override Facebook's inline styles */
.elsha3r-fb-embed [style*="font-family"]{
  font-family:'Cairo',sans-serif !important;
}

.elsha3r-fb-embed iframe[style*="font-family"]{
  font-family:'Cairo',sans-serif !important;
}

/* Universal override for any Facebook content */
.elsha3r-fb-embed * {
  font-family: 'Cairo', sans-serif !important;
}

/* Override any element with font-family style */
.elsha3r-fb-embed *[style] {
  font-family: 'Cairo', sans-serif !important;
}

/* Target Facebook specific classes */
.elsha3r-fb-embed .fb_iframe_widget,
.elsha3r-fb-embed .fb_iframe_widget span,
.elsha3r-fb-embed .fb_iframe_widget iframe,
.elsha3r-fb-embed .fb-page,
.elsha3r-fb-embed .fb-page span,
.elsha3r-fb-embed .fb-page iframe,
.elsha3r-fb-embed ._4bl9,
.elsha3r-fb-embed ._50f3,
.elsha3r-fb-embed ._50f4,
.elsha3r-fb-embed ._50f5,
.elsha3r-fb-embed ._50f6,
.elsha3r-fb-embed ._50f7{
  font-family: 'Cairo', sans-serif !important;
}

/* Force font loading */
@font-face {
  font-family: 'Cairo';
  src: url('https://fonts.gstatic.com/s/cairo/v17/SLXGc1nY6HkvalIkTpu0xg.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Global override for Facebook widgets */
.fb_iframe_widget,
.fb_iframe_widget *,
.fb-page,
.fb-page *,
.fb-like,
.fb-like *,
.fb-comments,
.fb-comments * {
  font-family: 'Cairo', sans-serif !important;
}

/* Override any Helvetica or Arial fonts in Facebook content */
.elsha3r-fb-embed *[style*="Helvetica"],
.elsha3r-fb-embed *[style*="Arial"],
.elsha3r-fb-embed *[style*="sans-serif"] {
  font-family: 'Cairo', sans-serif !important;
}

/* FINAL ATTEMPT - Maximum specificity override */
html body .elsha3r-fb-embed,
html body .elsha3r-fb-embed *,
html body .elsha3r-fb-embed *::before,
html body .elsha3r-fb-embed *::after,
html body .elsha3r-fb-embed iframe,
html body .elsha3r-fb-embed iframe *,
html body .elsha3r-fb-embed iframe *::before,
html body .elsha3r-fb-embed iframe *::after,
html body .elsha3r-fb-embed body.plugin,
html body .elsha3r-fb-embed iframe body.plugin,
html body .elsha3r-fb-embed .plugin,
html body .elsha3r-fb-embed .plugin *,
html body .elsha3r-fb-embed .plugin button,
html body .elsha3r-fb-embed .plugin input,
html body .elsha3r-fb-embed .plugin label,
html body .elsha3r-fb-embed .plugin select,
html body .elsha3r-fb-embed .plugin td,
html body .elsha3r-fb-embed .plugin textarea,
html body .elsha3r-fb-embed .plugin span,
html body .elsha3r-fb-embed .plugin div,
html body .elsha3r-fb-embed .plugin a,
html body .elsha3r-fb-embed .plugin p,
html body .elsha3r-fb-embed .plugin h1,
html body .elsha3r-fb-embed .plugin h2,
html body .elsha3r-fb-embed .plugin h3,
html body .elsha3r-fb-embed .plugin h4,
html body .elsha3r-fb-embed .plugin h5,
html body .elsha3r-fb-embed .plugin h6,
html body .elsha3r-fb-embed [style*="font-family"],
html body .elsha3r-fb-embed [style*="Helvetica"],
html body .elsha3r-fb-embed [style*="Arial"],
html body .elsha3r-fb-embed [style*="sans-serif"],
html body .elsha3r-fb-embed ._4bl9,
html body .elsha3r-fb-embed ._50f3,
html body .elsha3r-fb-embed ._50f4,
html body .elsha3r-fb-embed ._50f5,
html body .elsha3r-fb-embed ._50f6,
html body .elsha3r-fb-embed ._50f7,
html body .elsha3r-fb-embed ._4bl9 *,
html body .elsha3r-fb-embed ._50f3 *,
html body .elsha3r-fb-embed ._50f4 *,
html body .elsha3r-fb-embed ._50f5 *,
html body .elsha3r-fb-embed ._50f6 *,
html body .elsha3r-fb-embed ._50f7 * {
  font-family: 'Cairo', sans-serif !important;
  font-size: 12px !important;
  background: transparent !important;
  line-height: 1.28 !important;
  overflow: hidden !important;
  -webkit-text-size-adjust: none !important;
}

/* Make toplist compact when used in sidebar */
.elsha3r-side-toplist{list-style:none;margin:0;padding:0;}
.elsha3r-side-toplist .elsha3r-toplist-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #efefef;align-items:center;}
.elsha3r-side-toplist .elsha3r-toplist-item:last-child{border-bottom:none;}
.elsha3r-side-toplist .elsha3r-toplist-thumb{width:90px;height:65px;flex:0 0 90px;border-radius:6px;overflow:hidden;}
.elsha3r-side-toplist .elsha3r-toplist-thumb img{width:100%;height:100%;object-fit:cover;}
.elsha3r-side-toplist .elsha3r-toplist-meta{flex:1;min-width:0;}
.elsha3r-side-toplist .elsha3r-toplist-title{display:block;color:#303440;text-decoration:none;font-weight:700;font-size:13px;line-height:1.5;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.elsha3r-side-toplist .elsha3r-toplist-title:hover{color:var(--elsha3r-primary);}
.elsha3r-side-toplist .elsha3r-toplist-sub{font-size:11px;color:#888;display:flex;gap:8px;flex-wrap:wrap;}
.elsha3r-side-toplist .elsha3r-meta-badge{background:#f0f0f0;color:#666;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;}

/* Comments */
.elsha3r-comments-wrap{margin-top:12px;background:#fff;border:1px solid #e6e6e6;border-radius:10px;overflow:hidden;max-width:100%;box-sizing:border-box;}
.elsha3r-comments-header{padding:10px;}
.elsha3r-comments-content{padding:0 10px 10px;max-width:100%;overflow:hidden;box-sizing:border-box;}
.elsha3r-comments-list{margin:0;padding:0;list-style:none;}
.elsha3r-comment-item{display:flex;gap:12px;padding:12px;border-bottom:1px solid #efefef;background:#fafafa;border-radius:8px;margin-bottom:8px;max-width:100%;box-sizing:border-box;}
.elsha3r-comment-item:last-child{border-bottom:none;}
.elsha3r-comment-avatar{flex:0 0 60px;}
.elsha3r-comment-avatar img{width:60px;height:60px;border-radius:50%;border:2px solid #e6e6e6;}
.elsha3r-comment-content{flex:1;min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box;}
.elsha3r-comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;}
.elsha3r-comment-author{font-family:'Cairo',sans-serif;font-weight:900;color:#303440;display:flex;align-items:center;gap:8px;}
.elsha3r-author-badge{display:inline-flex;align-items:center;gap:4px;background:var(--elsha3r-primary);color:#fff;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700;}
.elsha3r-comment-meta{font-size:12px;color:#888;}
.elsha3r-comment-text{font-family:'Cairo',sans-serif;font-size:14px;line-height:1.6;color:#333;margin-bottom:8px;}
.comment-awaiting-moderation{display:flex;align-items:center;gap:6px;color:#ff9800;font-size:12px;margin-bottom:8px;}
.elsha3r-comment-actions{display:flex;gap:8px;}
.elsha3r-comment-actions .reply{display:inline-flex;align-items:center;gap:4px;background:#303440;color:#fff;border-radius:6px;padding:4px 8px;font-size:12px;text-decoration:none;font-weight:700;}
.elsha3r-comment-actions .reply:hover{background:var(--elsha3r-primary);}
.elsha3r-no-comments{text-align:center;padding:30px;color:#777;}
/* Comment Form */
.elsha3r-comment-form{padding:10px;border-top:1px solid #efefef;max-width:100%;overflow:hidden;box-sizing:border-box;}
.elsha3r-comment-form-title{margin:0 0 15px;font-family:'Cairo',sans-serif;font-weight:900;color:var(--elsha3r-primary);font-size:16px;}
.elsha3r-logged-in{padding:8px;background:#f0f8ff;border-radius:6px;margin-bottom:15px;font-size:12px;}
.elsha3r-logged-in a{color:var(--elsha3r-primary);}
.elsha3r-comment-field{margin-bottom:12px;max-width:100%;overflow:hidden;}
.elsha3r-comment-field label{display:block;margin-bottom:4px;font-weight:600;}
.elsha3r-comment-field input,.elsha3r-comment-field textarea{width:100%;max-width:100%;box-sizing:border-box;}
.elsha3r-comment-textarea{max-width:100%;overflow:hidden;}
.elsha3r-comment-textarea textarea{width:100%;max-width:100%;box-sizing:border-box;resize:vertical;}
.elsha3r-comment-submit{margin-top:15px;}
.elsha3r-comment-submit button{background:var(--elsha3r-primary);color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;font-family:'Cairo',sans-serif;font-weight:600;}
.elsha3r-comment-submit button:hover{background:#a01729;}
.elsha3r-cancel-reply{color:#666;text-decoration:none;font-size:12px;}
.elsha3r-cancel-reply:hover{color:var(--elsha3r-primary);}

@media (max-width: 768px){
  .elsha3r-comment-item{flex-direction:column;gap:8px;}
  .elsha3r-comment-header{flex-direction:column;align-items:flex-start;gap:4px;}
  .elsha3r-comment-avatar{flex:0 0 auto;}
  .elsha3r-comment-form{padding:8px;}
}

/* Ad Boxes */
.elsha3r-ad-box{margin-bottom:12px;border:1px solid #e6e6e6;border-radius:10px;overflow:hidden;background:#fff;padding:0;text-align:center;}
.elsha3r-ad-box img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:auto;}
.elsha3r-ad-box a{display:block;width:100%;height:auto;}
.elsha3r-ad-box a img{width:100%;height:100%;object-fit:cover;display:block;}
.elsha3r-ad-box .elsha3r-ad-image{width:100%;height:auto;display:block;object-fit:cover;}

.elsha3r-ad-flash{
  position:relative;
}
@keyframes elsha3rAdFlash {
  0%   { filter:brightness(1); }
  50%  { filter:brightness(1.35); }
  100% { filter:brightness(1); }
}
.header-ad img:hover,
.hero-ad img:hover,
.elsha3r-big-ad__img:hover,
.elsha3r-ad-box img:hover,
.elsha3r-side-ad img:hover,
.elsha3r-ad img:hover,
.elsha3r-ad-image:hover{
  animation: elsha3rAdFlash .9s ease-in-out infinite;
  will-change: filter;
}

.elsha3r-comments{
  margin-top:16px;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:10px;
  overflow:hidden;
}
.elsha3r-comments-header{padding:10px;}
.comment-list{list-style:none;margin:0;padding:0 10px;}
.comment-list .comment{padding:10px;border-bottom:1px solid #efefef;}
.comment-list .comment:last-child{border-bottom:0;}
.elsha3r-comment-card{
  background: #ffe6e6;
  border: 2px solid #303440;
  border-radius:10px;
  padding:12px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 82%);
  font-family:'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
}
.elsha3r-comment-head{
  display:grid;
  grid-template-columns:46px 1fr auto;
  gap:10px;
  align-items:center;
  direction:rtl;
}
.elsha3r-comment-avatar img{width:46px;height:46px;border-radius:50%;border:2px solid #e6e6e6}
.elsha3r-comment-meta{display:flex;flex-direction:column;align-items:flex-start;text-align:right}
.elsha3r-comment-author{font-weight:800;color:#303440}
.elsha3r-comment-author .badge{margin-right:8px;background:var(--elsha3r-primary);color:#fff;font-size:11px;font-weight:800;padding:2px 6px;border-radius:4px}
.elsha3r-comment-meta time{font-size:12px;color:#888}
.elsha3r-comment-content{margin-top:8px;font-size:14px;font-weight: 700;color: #8d0909;line-height:1.7;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.elsha3r-comment-action{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f0f0f0;
  color:#303440;
  border-radius:6px;
  padding:4px 8px;
  font-size:12px;
  text-decoration:none;
  font-weight:700;
  margin-right:6px;
}
.elsha3r-comment-action.edit{background:#303440;color:#fff}
.elsha3r-comment-action.delete{background:var(--elsha3r-primary);color:#fff}
.elsha3r-comment-action:hover{filter:brightness(1.05);color:#fff}
.comment-list .comment .comment-content img,
.comment-list .comment .comment-content video,
.comment-list .comment .comment-content iframe{max-width:100%;height:auto}
.comment-list .children{margin-right:44px;border-right:2px solid #f0f0f0;padding-right:10px}
.elsha3r-comments-nav{display:flex;justify-content:space-between;gap:10px;padding:10px}
.elsha3r-comment-form{padding:10px;border-top:1px solid #efefef}
.elsha3r-comment-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  background: #dddddd;
  border: 2px solid var(--elsha3r-primary);
  border-radius:10px;
  padding:14px;
  margin:10px;
  box-shadow: -6px 6px 4px 2px rgb(0 0 0 / 71%);
}
.elsha3r-field{margin-bottom:12px}
.elsha3r-field.author,
.elsha3r-field.email{margin:0}
.elsha3r-field.url{grid-column:1 / -1}
.elsha3r-textarea{grid-column:1 / -1}
.elsha3r-field label{display:block;margin-bottom:6px;font-weight:700}
.elsha3r-field.has-ico label{display:flex;align-items:center;gap:8px}
.elsha3r-field.has-ico label i{width:18px;height:18px;color:var(--elsha3r-primary)}
.elsha3r-field input,.elsha3r-field textarea{width:100%;border:1px solid #ddd;border-radius:6px;padding:10px;font-size:14px}
.elsha3r-field input:focus,
.elsha3r-field textarea:focus{outline:none;border-color:var(--elsha3r-primary);box-shadow:0 0 0 3px rgba(30, 95, 142, 0.12)}
.elsha3r-field textarea{resize:vertical;min-height:110px}
.elsha3r-submit{margin-top:10px}
.elsha3r-submit{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-end;
}
.elsha3r-comment-form button{background:var(--elsha3r-primary);color:#fff;border:0;border-radius:6px;padding:10px 16px;font-weight:700;cursor:pointer}
.elsha3r-comment-form button:hover{background:#a01729;color:#fff}
.comment-reply-link{display:inline-flex;align-items:center;gap:6px;background:#303440;color:#fff;border-radius:6px;padding:4px 8px;font-size:12px;text-decoration:none;font-weight:700}
.comment-reply-link:hover{background:var(--elsha3r-primary);color:#fff}
.comment-list .says{display:none}
.comment.bypostauthor .comment-author::after{
  content:"كاتب الخبر";
  display:inline-block;
  margin-right:8px;
  margin-left:8px;
  background:var(--elsha3r-primary);
  color:#fff;
  font-size:11px;
  font-weight:800;
  padding:2px 6px;
  border-radius:4px;
}

@media (max-width: 768px){
  .elsha3r-comment-form{
    grid-template-columns:1fr;
    gap:10px;
    padding:12px;
    margin:8px;
  }
  .elsha3r-field.url,
  .elsha3r-textarea{grid-column:auto}
}

#cancel-comment-reply-link{
  margin:0 8px;
}
.elsha3r-comment-form button,
.elsha3r-edit-actions .btn,
.elsha3r-modal .btn,
#cancel-comment-reply-link{
  font-family:'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif !important;
}
.elsha3r-comment-edit{
  margin-top:10px;
  border:1px solid #eee;
  border-radius:8px;
  padding:10px;
  background:#fafafa;
}
.elsha3r-comment-edit textarea{
  width:100%;
  border:1px solid #ddd;
  border-radius:6px;
  padding:10px;
  font-family:'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
}
.elsha3r-edit-actions{margin-top:8px;display:flex;gap:8px}
.elsha3r-edit-actions .btn{
  display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer
}
.elsha3r-edit-actions .btn-save{background:#303440;color:#fff;border:0}
.elsha3r-edit-actions .btn-cancel{background:var(--elsha3r-primary);color:#fff}

.elsha3r-page-headbar{margin:12px 25px 8px;border-radius:6px 6px 0 0}
.elsha3r-page-headbar .elsha3r-head-title{gap:8px}
.elsha3r-page-headbar .elsha3r-head-title i{font-size:16px}
.elsha3r-page-headbar .elsha3r-head-title .fa-chevron-left{font-size:14px;opacity:.9}
.elsha3r-page-headbar .elsha3r-head-title .elsha3r-home-link{display:inline-flex;align-items:center;color:#fff;text-decoration:none}
.elsha3r-page-headbar .elsha3r-head-title .elsha3r-home-link:hover{opacity:.9}
@media (max-width: 768px){
  .elsha3r-page-headbar{margin:10px 15px 6px}
}
@media (max-width: 576px){
  .elsha3r-page-headbar{margin:8px 10px 6px}
}
.elsha3r-page-wrap .elsha3r-single-thumb{
  padding:0 25px 25px;
}
@media (max-width: 768px){
  .elsha3r-page-wrap .elsha3r-single-thumb{padding:0 15px 15px}
}
@media (max-width: 576px){
  .elsha3r-page-wrap .elsha3r-single-thumb{padding:0 10px 10px}
}
.elsha3r-modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.55);
  z-index:10000;display:none;align-items:center;justify-content:center;
}
.elsha3r-modal{
  background:#fff;border-radius:12px;border:1px solid #e6e6e6;max-width:420px;width:92vw;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.35);
  font-family:'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;color:#303440
}
.elsha3r-modal h3{margin:0 0 10px;font-weight:900}
.elsha3r-modal p{margin:0 0 14px}
.elsha3r-modal .modal-actions{display:flex;gap:10px;justify-content:flex-end}
.elsha3r-modal .btn{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:8px 14px;font-weight:800;text-decoration:none;cursor:pointer}
.elsha3r-modal .btn-confirm{background:var(--elsha3r-primary);color:#fff}
.elsha3r-modal .btn-cancel{background:#303440;color:#fff}

/* =========================
   Category page layout
   ========================= */

/* Category page container */
.elsha3r-category-wrap{width:100%;max-width:100%;margin:15px auto;box-sizing:border-box;}
.elsha3r-category-grid{display:grid;grid-template-columns:1fr 350px;gap:20px;align-items:start;}
.elsha3r-category-main{min-width:0;}
.elsha3r-category-sidebar{width:100%;}

/* Category header */
.elsha3r-category-header{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%);border-radius:16px;padding:30px;margin-bottom:30px;color:#fff;position:relative;overflow:hidden;}
.elsha3r-category-header::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');background-size:100px 100px;opacity:0.3;}
.elsha3r-category-info{display:flex;align-items:center;gap:25px;margin-bottom:25px;position:relative;z-index:1;}
.elsha3r-category-icon{width:80px;height:80px;background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff;box-shadow:0 8px 24px rgba(var(--elsha3r-primary-rgb), 0.3);flex-shrink:0;}
.elsha3r-category-details{flex:1;}
.elsha3r-category-title{font-family:'Cairo',sans-serif;font-size:32px;font-weight:900;margin:0 0 10px;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,0.3);}
.elsha3r-category-description{font-family:'Cairo',sans-serif;font-size:16px;line-height:1.6;color:rgba(255,255,255,0.9);margin:0 0 15px;}
.elsha3r-category-stats{display:flex;gap:20px;flex-wrap:wrap;}
.elsha3r-stat-item{display:flex;align-items:center;gap:8px;font-family:'Cairo',sans-serif;font-size:14px;color:rgba(255,255,255,0.8);}
.elsha3r-stat-item i{color:var(--elsha3r-primary);}

/* Category controls */
.elsha3r-category-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:1;}
.elsha3r-view-options{display:flex;gap:10px;background:rgba(255,255,255,0.1);padding:4px;border-radius:12px;}
.elsha3r-view-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:transparent;border:none;border-radius:8px;color:rgba(255,255,255,0.7);font-family:'Cairo',sans-serif;font-size:14px;font-weight:600;cursor:pointer;transition:all 0.3s ease;}
.elsha3r-view-btn:hover{background:rgba(255,255,255,0.1);color:#fff;}
.elsha3r-view-btn.active{background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;box-shadow:0 4px 12px rgba(var(--elsha3r-primary-rgb), 0.3);}
.elsha3r-sort-options{display:flex;align-items:center;}
.elsha3r-sort-select{background:rgba(48,52,64,0.9);border:1px solid rgba(255,255,255,0.3);border-radius:8px;padding:10px 16px;color:#fff;font-family:'Cairo',sans-serif;font-size:14px;cursor:pointer;transition:all 0.3s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left 12px center;background-size:16px;padding-left:40px;}
.elsha3r-sort-select:focus{outline:none;border-color:var(--elsha3r-primary);box-shadow:0 0 0 3px rgba(var(--elsha3r-primary-rgb), 0.2);background-color:rgba(48,52,64,0.95);}
.elsha3r-sort-select:hover{background-color:rgba(48,52,64,0.95);border-color:rgba(255,255,255,0.4);}
.elsha3r-sort-select option{background:#303440;color:#fff;padding:12px;border:none;}
.elsha3r-sort-select option:hover{background:var(--elsha3r-primary);color:#fff;}
.elsha3r-sort-select option:checked{background:var(--elsha3r-primary);color:#fff;}
.elsha3r-sort-select option:disabled{background:#4a4e5a;color:#999;}
.elsha3r-sort-select::-ms-expand{display:none;}
.elsha3r-sort-select::-webkit-scrollbar{width:8px;}
.elsha3r-sort-select::-webkit-scrollbar-track{background:#303440;}
.elsha3r-sort-select::-webkit-scrollbar-thumb{background:var(--elsha3r-primary);border-radius:4px;}
.elsha3r-sort-select::-webkit-scrollbar-thumb:hover{background:var(--elsha3r-primary);}

/* Category content */
.elsha3r-category-content{margin-bottom:30px;}

/* Grid view */
.elsha3r-category-grid-view{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));gap:20px;}
.elsha3r-category-card{background:#fff;border:1px solid linear-gradient(135deg, #303440 0%, #1a1d29 100%);border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.2);transition:all 0.3s ease;position:relative;}
.elsha3r-category-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 8px 30px rgba(0,0,0,0.25), 0 12px 24px rgba(0,0,0,0.3);}
.elsha3r-card-image{position:relative;aspect-ratio:16/9;overflow:hidden;}
.elsha3r-card-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s ease;}
.elsha3r-category-card:hover .elsha3r-card-image img{transform:scale(1.05);}
.elsha3r-card-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 0.3s ease;}
.elsha3r-category-card:hover .elsha3r-card-overlay{opacity:1;}
.elsha3r-card-overlay i{color:#fff;font-size:24px;}
.elsha3r-card-category{position:absolute;top:15px;right:15px;background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;padding:6px 12px;border-radius:20px;font-family:'Cairo',sans-serif;font-size:12px;font-weight:600;z-index:1;}
.elsha3r-card-content{padding:20px;}
.elsha3r-card-meta{display:flex;align-items:center;gap:15px;margin-bottom:12px;}
.elsha3r-card-date,.elsha3r-card-author{
  display:flex;
  align-items:center;
  gap:6px;
  font-family:'Cairo',sans-serif;
  font-size:12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow:0 2px 8px rgba(var(--elsha3r-primary-rgb), 0.3);
  transition: none;
}
.elsha3r-card-date i,.elsha3r-card-author i{color:#fff;}
.elsha3r-card-title{margin:0 0 12px;}
.elsha3r-card-title a{font-family:'Cairo',sans-serif;font-size:18px;font-weight:700;color:#303440;text-decoration:none;line-height:1.4;display:block;transition:color 0.3s ease;}
.elsha3r-card-title a:hover{color:var(--elsha3r-primary);}
.elsha3r-card-excerpt{font-family:'Cairo',sans-serif;font-weight: 600;font-size:14px;line-height:1.6;color: var(--elsha3r-primary);margin:0 0 15px;}
.elsha3r-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;}
.elsha3r-card-comments,.elsha3r-card-views{display:flex;align-items:center;gap:6px;font-family:'Cairo',sans-serif;font-size:12px;font-weight: 700;color: #333333;}
.elsha3r-card-comments i,.elsha3r-card-views i{color:var(--elsha3r-primary);}
.elsha3r-card-read-more{display:flex;align-items:center;gap:6px;color:var(--elsha3r-primary);font-family:'Cairo',sans-serif;font-size:14px;font-weight: 700;text-decoration:none;transition:all 0.3s ease;}
.elsha3r-card-read-more:hover{color:var(--elsha3r-primary);transform:translateX(-2px);}

/* List view */
.elsha3r-category-list-view{display:flex;flex-direction:column;gap:20px;}
.elsha3r-category-list-item{background:#fff;border:1px solid linear-gradient(135deg, #303440 0%, #1a1d29 100%);border-radius:12px;padding:20px;box-shadow:0 4px 20px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.2);transition:all 0.3s ease;display:flex;gap:20px;}
.elsha3r-category-list-item:hover{transform:translateX(-8px) scale(1.02);box-shadow:0 8px 30px rgba(0,0,0,0.25), 0 12px 24px rgba(0,0,0,0.3);}
.elsha3r-list-image{width:120px;height:90px;flex-shrink:0;border-radius:8px;overflow:hidden;position:relative;}
.elsha3r-list-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s ease;}
.elsha3r-category-list-item:hover .elsha3r-list-image img{transform:scale(1.05);}
.elsha3r-list-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 0.3s ease;}
.elsha3r-category-list-item:hover .elsha3r-list-overlay{opacity:1;}
.elsha3r-list-overlay i{color:#fff;font-size:18px;}
.elsha3r-no-thumb-small{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#f5f5f5;color:#999;text-decoration:none;}
.elsha3r-list-content{flex:1;min-width:0;}
.elsha3r-list-meta{display:flex;align-items:center;gap:15px;margin-bottom:8px;}
.elsha3r-list-category{background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;padding:4px 8px;border-radius:12px;font-family:'Cairo',sans-serif;font-size:11px;font-weight:600;}
.elsha3r-list-date{display:flex;align-items:center;gap:6px;font-family:'Cairo',sans-serif;font-size:12px;color:#666;}
.elsha3r-list-date i{color:var(--elsha3r-primary);}
.elsha3r-list-title{margin:0 0 8px;}
.elsha3r-list-title a{font-family:'Cairo',sans-serif;font-size:16px;font-weight:700;color:#303440;text-decoration:none;line-height:1.4;display:block;transition:color 0.3s ease;}
.elsha3r-list-title a:hover{color:var(--elsha3r-primary);}
.elsha3r-list-excerpt{font-family:'Cairo',sans-serif;font-size:14px;line-height:1.6;color:#666;margin:0 0 12px;}
.elsha3r-list-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;}
.elsha3r-list-author{display:flex;align-items:center;gap:6px;font-family:'Cairo',sans-serif;font-size:12px;color:#666;}
.elsha3r-list-author i{color:var(--elsha3r-primary);}
.elsha3r-list-comments{display:flex;align-items:center;gap:6px;font-family:'Cairo',sans-serif;font-size:12px;color:#666;}
.elsha3r-list-comments i{color:var(--elsha3r-primary);}
.elsha3r-list-read-more{display:flex;align-items:center;gap:6px;color:var(--elsha3r-primary);font-family:'Cairo',sans-serif;font-size:13px;font-weight:600;text-decoration:none;transition:all 0.3s ease;}
.elsha3r-list-read-more:hover{color:var(--elsha3r-primary);transform:translateX(-2px);}

/* No thumb styles */
.elsha3r-no-thumb{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);color:#999;text-decoration:none;}
.elsha3r-no-thumb-icon{font-size:48px;color:#999;}

/* Empty state */
.elsha3r-category-empty{text-align:center;padding:60px 20px;background:#fff;border-radius:16px;box-shadow:0 2px 8px rgba(0,0,0,0.08);}
.elsha3r-empty-icon{width:80px;height:80px;background:linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;color:#999;font-size:32px;}
.elsha3r-empty-title{font-family:'Cairo',sans-serif;font-size:24px;font-weight:700;color:#303440;margin:0 0 10px;}
.elsha3r-empty-description{font-family:'Cairo',sans-serif;font-size:16px;line-height:1.6;color:#666;margin:0 0 20px;}
.elsha3r-empty-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;padding:12px 24px;border-radius:8px;font-family:'Cairo',sans-serif;font-size:14px;font-weight:600;text-decoration:none;transition:all 0.3s ease;box-shadow:0 4px 12px rgba(var(--elsha3r-primary-rgb), 0.3);}
.elsha3r-empty-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(var(--elsha3r-primary-rgb), 0.4);}

/* Sidebar categories */
.elsha3r-categories-list{list-style:none;margin:0;padding:0;}
.elsha3r-categories-list .cat-item{margin-bottom:8px;}
.elsha3r-categories-list .cat-item:last-child{margin-bottom:0;}
.elsha3r-categories-list .cat-item a{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:8px;text-decoration:none;transition:all 0.3s ease;font-family:'Cairo',sans-serif;font-size:14px;font-weight:500;color:#fff;position:relative;overflow:hidden;}
.elsha3r-categories-list .cat-item a::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);border-radius:8px;z-index:0;}
.elsha3r-categories-list .cat-item a:hover{transform:translateX(4px);box-shadow:0 4px 12px rgba(0,0,0,0.15);}
.elsha3r-categories-list .cat-item a .cat-name{position:relative;z-index:1;flex:1;}
.elsha3r-categories-list .cat-item a .cat-count{position:relative;z-index:1;background:linear-gradient(135deg, #303440 0%, #1a1d29 100%);padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600;border:1px solid rgba(255,255,255,0.3);box-shadow:0 2px 4px rgba(0,0,0,0.2);}
.elsha3r-categories-list .cat-item.current-cat a{transform:scale(1.02);box-shadow:0 6px 16px rgba(var(--elsha3r-primary-rgb), 0.2);}

/* Different colors for each category */
.elsha3r-categories-list .cat-item:nth-child(1) a{background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);}
.elsha3r-categories-list .cat-item:nth-child(2) a{background:linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);}
.elsha3r-categories-list .cat-item:nth-child(3) a{background:linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);}
.elsha3r-categories-list .cat-item:nth-child(4) a{background:linear-gradient(135deg, #ff9800 0%, #f57c00 100%);}
.elsha3r-categories-list .cat-item:nth-child(5) a{background:linear-gradient(135deg, #9c27b0 0%, #6a1b9a 100%);}
.elsha3r-categories-list .cat-item:nth-child(6) a{background:linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);}
.elsha3r-categories-list .cat-item:nth-child(7) a{background:linear-gradient(135deg, #ff5722 0%, #d84315 100%);}
.elsha3r-categories-list .cat-item:nth-child(8) a{background:linear-gradient(135deg, #795548 0%, #5d4037 100%);}
.elsha3r-categories-list .cat-item:nth-child(9) a{background:linear-gradient(135deg, #607d8b 0%, #455a64 100%);}
.elsha3r-categories-list .cat-item:nth-child(10) a{background:linear-gradient(135deg, #e91e63 0%, #c2185b 100%);}
.elsha3r-categories-list .cat-item:nth-child(11) a{background:linear-gradient(135deg, #3f51b5 0%, #283593 100%);}
.elsha3r-categories-list .cat-item:nth-child(12) a{background:linear-gradient(135deg, #009688 0%, #00695c 100%);}
.elsha3r-categories-list .cat-item:nth-child(13) a{background:linear-gradient(135deg, #ffc107 0%, #ffa000 100%);}
.elsha3r-categories-list .cat-item:nth-child(14) a{background:linear-gradient(135deg, #673ab7 0%, #512da8 100%);}
.elsha3r-categories-list .cat-item:nth-child(15) a{background:linear-gradient(135deg, #4caf50 0%, #388e3c 100%);}
.elsha3r-categories-list .cat-item:nth-child(16) a{background:linear-gradient(135deg, #ff6f00 0%, #e65100 100%);}
.elsha3r-categories-list .cat-item:nth-child(17) a{background:linear-gradient(135deg, #cddc39 0%, #afb42b 100%);}
.elsha3r-categories-list .cat-item:nth-child(18) a{background:linear-gradient(135deg, #ffeb3b 0%, #fbc02d 100%);}
.elsha3r-categories-list .cat-item:nth-child(19) a{background:linear-gradient(135deg, #03a9f4 0%, #0288d1 100%);}
.elsha3r-categories-list .cat-item:nth-child(20) a{background:linear-gradient(135deg, #8bc34a 0%, #689f38 100%);}
.elsha3r-categories-list .cat-item:nth-child(21) a{background:linear-gradient(135deg, #5c6bc0 0%, #3949ab 100%);}
.elsha3r-categories-list .cat-item:nth-child(22) a{background:linear-gradient(135deg, #26a69a 0%, #00897b 100%);}
.elsha3r-categories-list .cat-item:nth-child(23) a{background:linear-gradient(135deg, #ec407a 0%, #d81b60 100%);}
.elsha3r-categories-list .cat-item:nth-child(24) a{background:linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);}
.elsha3r-categories-list .cat-item:nth-child(25) a{background:linear-gradient(135deg, #7e57c2 0%, #5e35b1 100%);}
.elsha3r-categories-list .cat-item:nth-child(26) a{background:linear-gradient(135deg, #5e35b1 0%, #4527a0 100%);}
.elsha3r-categories-list .cat-item:nth-child(27) a{background:linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);}
.elsha3r-categories-list .cat-item:nth-child(28) a{background:linear-gradient(135deg, #29b6f6 0%, #039be5 100%);}
.elsha3r-categories-list .cat-item:nth-child(29) a{background:linear-gradient(135deg, #26c6da 0%, #00acc1 100%);}
.elsha3r-categories-list .cat-item:nth-child(30) a{background:linear-gradient(135deg, #26c6da 0%, #0097a7 100%);}

/* Fallback color for any remaining categories */
.elsha3r-categories-list .cat-item:nth-child(n+31) a{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%);}

/* Tags cloud wrapper with border */
.elsha3r-tags-cloud-wrapper{background:#fff;border:2px solid #303440;border-radius:12px;padding:15px;margin-bottom:15px;box-shadow:0 2px 8px rgba(0,0,0,0.1);position:relative;}
.elsha3r-tags-cloud{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;}
.elsha3r-popular-meta i{color:var(--elsha3r-primary);}

/* Tags cloud */
.elsha3r-tags-cloud{display:flex;flex-wrap:wrap;gap:8px;}
.elsha3r-tag-cloud-item{display:inline-block;padding:6px 12px;background:#f8f9fa;border-radius:20px;color:#303440;text-decoration:none;font-family:'Cairo',sans-serif;font-weight:600;transition:all 0.3s ease;}
.elsha3r-tag-cloud-item:hover{background:linear-gradient(135deg, var(--elsha3r-primary) 0%, var(--elsha3r-primary-dark) 100%);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(var(--elsha3r-primary-rgb), 0.3);}

/* Category page responsive */
@media (max-width: 1200px){
  .elsha3r-category-wrap{padding:0 10px;}
  .elsha3r-category-grid{grid-template-columns:1fr 320px;gap:15px;}
  .elsha3r-category-grid-view{grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));gap:15px;}
}
@media (max-width: 992px){
  .elsha3r-category-wrap{padding:0 8px;}
  .elsha3r-category-grid{grid-template-columns:1fr;gap:15px;}
  .elsha3r-category-sidebar{width:100%;}
  .elsha3r-category-header{padding:20px;}
  .elsha3r-category-info{flex-direction:column;gap:15px;text-align:center;}
  .elsha3r-category-title{font-size:28px;}
  .elsha3r-category-controls{flex-direction:column;gap:15px;}
  .elsha3r-category-grid-view{grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));gap:15px;}
  .elsha3r-category-list-item{flex-direction:column;gap:15px;}
  .elsha3r-list-image{width:100%;height:200px;}
}
@media (max-width: 768px){
  .elsha3r-category-wrap{margin:10px auto;padding:0 5px;}
  .elsha3r-category-header{padding:15px;margin-bottom:20px;}
  .elsha3r-category-icon{width:60px;height:60px;font-size:24px;}
  .elsha3r-category-title{font-size:24px;}
  .elsha3r-category-description{font-size:14px;}
  .elsha3r-category-stats{justify-content:center;}
  .elsha3r-category-controls{flex-direction:column;gap:10px;}
  .elsha3r-view-options{justify-content:center;}
  .elsha3r-category-grid-view{grid-template-columns:1fr;gap:15px;}
  .elsha3r-category-list-item{flex-direction:column;gap:15px;}
  .elsha3r-list-image{width:100%;height:180px;}
}
@media (max-width: 576px){
  .elsha3r-category-wrap{margin:5px auto;padding:0 3px;}
  .elsha3r-category-header{padding:12px;margin-bottom:15px;}
  .elsha3r-category-icon{width:50px;height:50px;font-size:20px;}
  .elsha3r-category-title{font-size:20px;}
  .elsha3r-category-description{font-size:13px;}
  .elsha3r-category-stats{flex-direction:column;gap:8px;align-items:center;}
  .elsha3r-category-controls{flex-direction:column;gap:8px;}
  .elsha3r-view-options{width:100%;justify-content:center;}
  .elsha3r-view-btn{flex:1;justify-content:center;}
  .elsha3r-category-grid-view{grid-template-columns:1fr;gap:12px;}
  .elsha3r-card-content{padding:15px;}
  .elsha3r-card-title a{font-size:16px;}
  .elsha3r-card-excerpt{font-size:13px;}
  .elsha3r-category-list-item{padding:15px;}
  .elsha3r-list-image{width:100%;height:160px;}
  .elsha3r-list-title a{font-size:14px;}
  .elsha3r-list-excerpt{font-size:13px;}
}

/* Homepage Left Column Elements */
.elsha3r-home-left .elsha3r-sidebox{margin-bottom:15px;border:1px solid linear-gradient(135deg, #303440 0%, #1a1d29 100%);border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.2);transition:all 0.3s ease;}
.elsha3r-home-left .elsha3r-sidebox:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 8px 30px rgba(0,0,0,0.25), 0 12px 24px rgba(0,0,0,0.3);}

/* Remove hover effect from Facebook and Other News blocks in homepage */
.elsha3r-home-left .elsha3r-sidebox:hover{transform:none;box-shadow:0 4px 20px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.2);}
.elsha3r-home-left .elsha3r-sidebox-body{padding:16px;}
.elsha3r-home-left .elsha3r-sidebox:last-child{margin-bottom:0;}
.elsha3r-home-left .elsha3r-empty{text-align:center;color:#666;font-family:'Cairo',sans-serif;font-size:14px;padding:20px;}
.elsha3r-home-left .elsha3r-fb-embed iframe{max-width:100% !important;}
.elsha3r-home-left .elsha3r-headbar{/* background: #303440; */color:#fff;padding:12px 16px;display:flex;align-items:center;gap:10px;position:relative;overflow:hidden;}
.elsha3r-home-left .elsha3r-headbar::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);border-radius:8px;z-index:0;}
.elsha3r-home-left .elsha3r-head-icon,
.elsha3r-home-left .elsha3r-head-ico{
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--head-accent);
  border-radius:50%;
  color:#fff;
  font-size:12px;
  z-index:1;
}
.elsha3r-home-left .elsha3r-head-title{
  font-family:'Cairo',sans-serif;
  font-size:14px;
  font-weight:700;
  z-index:1;
}
.elsha3r-home-left .elsha3r-ad-box{margin-bottom:15px;border:1px solid #e6e6e6;border-radius:10px;overflow:hidden;background:#fff;padding:0;text-align:center;}
.elsha3r-home-left .elsha3r-ad-box img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:auto;}
.elsha3r-home-left .elsha3r-ad-box a{display:block;width:100%;height:auto;}
.elsha3r-home-left .elsha3r-ad-box a img{width:100%;height:100%;object-fit:cover;display:block;}
.elsha3r-home-left .elsha3r-ad-box .elsha3r-ad-image{width:100%;height:auto;display:block;object-fit:cover;}

/* Other News */
.elsha3r-news-scroll-container{height:600px;overflow:hidden;position:relative;}
@media (max-width: 992px){.elsha3r-news-scroll-container{height:500px;}}
@media (max-width: 768px){.elsha3r-news-scroll-container{height:400px;}}
@media (max-width: 576px){.elsha3r-news-scroll-container{height:350px;}}
.elsha3r-news-scroll-content{transition:transform 0.1s linear;}
.elsha3r-news-scroll-container.paused .elsha3r-news-scroll-content{animation-play-state:paused;}
.elsha3r-other-news-item{display:flex;gap:12px;padding:10px 0;background: #dddddd05;border-bottom: 1px solid #303440;align-items:center;}
@media (max-width: 768px){.elsha3r-other-news-item{gap:10px;padding:8px 0;}}
@media (max-width: 576px){.elsha3r-other-news-item{gap:8px;padding:6px 0;}}

/* FINAL PAGINATION OVERRIDE - Highest specificity */
body .pagination,
body .elsha3r-pagination,
body .elsha3r-category-pagination,
body .elsha3r-category-pagination .elsha3r-pagination,
body .elsha3r-category-pagination .nav-links,
body .elsha3r-category-pagination .nav-links .page-numbers{display:flex !important;justify-content:center !important;align-items:center !important;gap:8px !important;background:transparent !important;padding:0 !important;border-radius:12px !important;flex-wrap:wrap !important;margin:20px 0 !important;border:none !important;box-shadow:none !important;}
body .pagination .page-numbers,
body .elsha3r-pagination .page-numbers,
body .elsha3r-category-pagination .page-numbers,
body .elsha3r-category-pagination .elsha3r-pagination .page-numbers,
body .elsha3r-category-pagination .nav-links .page-numbers{display:flex !important;align-items:center !important;justify-content:center !important;min-width:44px !important;height:44px !important;padding:8px 16px !important;border:2px solid linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;border-radius:10px !important;font-family:'Cairo',sans-serif !important;font-size:14px !important;font-weight:600 !important;color:#303440 !important;text-decoration:none !important;transition:all 0.3s ease !important;white-space:nowrap !important;background:#fff !important;box-shadow:none !important;position:relative !important;z-index:1 !important;margin:0 2px !important;}
body .pagination .page-numbers:hover,
body .elsha3r-pagination .page-numbers:hover,
body .elsha3r-category-pagination .page-numbers:hover,
body .elsha3r-category-pagination .elsha3r-pagination .page-numbers:hover,
body .elsha3r-category-pagination .nav-links .page-numbers:hover{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;color:#fff !important;transform:translateY(-2px) !important;box-shadow:0 4px 12px rgba(0,0,0,0.15) !important;}
body .pagination .page-numbers.current,
body .elsha3r-pagination .page-numbers.current,
body .elsha3r-category-pagination .page-numbers.current,
body .elsha3r-category-pagination .elsha3r-pagination .page-numbers.current,
body .elsha3r-category-pagination .nav-links .page-numbers.current{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;color:#fff !important;box-shadow:0 4px 16px rgba(0,0,0,0.2) !important;transform:scale(1.05) !important;}
body .pagination .page-numbers.prev,
body .pagination .page-numbers.next,
body .elsha3r-pagination .page-numbers.prev,
body .elsha3r-pagination .page-numbers.next,
body .elsha3r-category-pagination .page-numbers.prev,
body .elsha3r-category-pagination .page-numbers.next,
body .elsha3r-category-pagination .nav-links .page-numbers.prev,
body .elsha3r-category-pagination .nav-links .page-numbers.next{padding:8px 20px !important;min-width:auto !important;}
body .pagination .page-numbers.dots,
body .elsha3r-pagination .page-numbers.dots,
body .elsha3r-category-pagination .page-numbers.dots,
body .elsha3r-category-pagination .elsha3r-pagination .page-numbers.dots,
body .elsha3r-category-pagination .nav-links .page-numbers.dots{background:transparent !important;border:2px solid transparent !important;color:#666 !important;cursor:default;padding:8px 12px !important;min-width:32px !important;margin:0 2px !important;}
body .pagination .page-numbers.dots:hover,
body .elsha3r-pagination .page-numbers.dots:hover,
body .elsha3r-category-pagination .page-numbers.dots:hover,
body .elsha3r-category-pagination .elsha3r-pagination .page-numbers.dots:hover,
body .elsha3r-category-pagination .nav-links .page-numbers.dots:hover{background:transparent !important;border-color:transparent !important;color:#666 !important;transform:none !important;box-shadow:none !important;}

/* Mobile optimization */
@media (max-width: 768px) {
    body .pagination .page-numbers,
    body .elsha3r-pagination .page-numbers,
    body .elsha3r-category-pagination .page-numbers,
    body .elsha3r-category-pagination .elsha3r-pagination .page-numbers,
    body .elsha3r-category-pagination .nav-links .page-numbers{min-width:36px !important;height:36px !important;padding:6px 12px !important;font-size:12px !important;margin:0 1px !important;}
    
    body .pagination .page-numbers.prev,
    body .pagination .page-numbers.next,
    body .elsha3r-pagination .page-numbers.prev,
    body .elsha3r-pagination .page-numbers.next,
    body .elsha3r-category-pagination .page-numbers.prev,
    body .elsha3r-category-pagination .page-numbers.next,
    body .elsha3r-category-pagination .nav-links .page-numbers.prev,
    body .elsha3r-category-pagination .nav-links .page-numbers.next{padding:6px 16px !important;min-width:auto !important;font-size:12px !important;}
    
    body .pagination .page-numbers.dots,
    body .elsha3r-pagination .page-numbers.dots,
    body .elsha3r-category-pagination .page-numbers.dots,
    body .elsha3r-category-pagination .elsha3r-pagination .page-numbers.dots,
    body .elsha3r-category-pagination .nav-links .page-numbers.dots{padding:6px 8px !important;min-width:24px !important;font-size:12px !important;}
    
    body .pagination,
    body .elsha3r-pagination,
    body .elsha3r-category-pagination,
    body .elsha3r-category-pagination .elsha3r-pagination,
    body .elsha3r-category-pagination .nav-links,
    body .elsha3r-category-pagination .nav-links .page-numbers{gap:4px !important;margin:15px 0 !important;}
}

/* WordPress default pagination override */
body .elsha3r-category-pagination .nav-links a,
body .elsha3r-category-pagination .nav-links .page-numbers a,
body .elsha3r-category-pagination .page-numbers a{display:flex !important;align-items:center !important;justify-content:center !important;min-width:44px !important;height:44px !important;padding:0 16px !important;border:2px solid linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;border-radius:10px !important;font-family:'Cairo',sans-serif !important;font-size:14px !important;font-weight:600 !important;color:#303440 !important;text-decoration:none !important;transition:all 0.3s ease !important;white-space:nowrap !important;background:#fff !important;box-shadow:none !important;position:relative !important;z-index:1 !important;margin:0 !important;}
body .elsha3r-category-pagination .nav-links a:hover,
body .elsha3r-category-pagination .nav-links .page-numbers a:hover,
body .elsha3r-category-pagination .page-numbers a:hover{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;color:#fff !important;transform:translateY(-2px) !important;box-shadow:0 4px 12px rgba(0,0,0,0.15) !important;}
body .elsha3r-category-pagination .nav-links a.current,
body .elsha3r-category-pagination .nav-links .page-numbers a.current,
body .elsha3r-category-pagination .page-numbers a.current{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;color:#fff !important;box-shadow:0 4px 16px rgba(0,0,0,0.2) !important;transform:scale(1.05) !important;}
body .elsha3r-category-pagination .nav-links a.prev,
body .elsha3r-category-pagination .nav-links .page-numbers a.prev,
body .elsha3r-category-pagination .page-numbers a.prev,
body .elsha3r-category-pagination .nav-links a.next,
body .elsha3r-category-pagination .nav-links .page-numbers a.next,
body .elsha3r-category-pagination .page-numbers a.next{padding:0 24px !important;min-width:auto !important;}
body .elsha3r-category-pagination .nav-links .dots,
body .elsha3r-category-pagination .nav-links .page-numbers .dots,
body .elsha3r-category-pagination .page-numbers .dots{background:transparent !important;border:2px solid transparent !important;color:#666 !important;cursor:default;padding:0 12px !important;min-width:44px !important;margin:0 !important;}
body .elsha3r-category-pagination .nav-links .dots:hover,
body .elsha3r-category-pagination .nav-links .page-numbers .dots:hover,
body .elsha3r-category-pagination .page-numbers .dots:hover{background:transparent !important;border-color:transparent !important;color:#666 !important;transform:none !important;box-shadow:none !important;}

/* Force pagination styles for category page */
.elsha3r-category-pagination .elsha3r-pagination,
.elsha3r-category-pagination .nav-links{display:flex !important;justify-content:center !important;align-items:center !important;gap:20px !important;background:transparent !important;padding:0 !important;border-radius:12px !important;flex-wrap:nowrap !important;margin:30px 0 !important;border:none !important;box-shadow:none !important;}
.elsha3r-category-pagination .elsha3r-pagination .page-numbers,
.elsha3r-category-pagination .nav-links .page-numbers,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers a,
.elsha3r-category-pagination .nav-links .page-numbers a{display:flex !important;align-items:center !important;justify-content:center !important;min-width:44px !important;height:44px !important;padding:0 16px !important;border:2px solid linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;border-radius:10px !important;font-family:'Cairo',sans-serif !important;font-size:14px !important;font-weight:600 !important;color:#303440 !important;text-decoration:none !important;transition:all 0.3s ease !important;white-space:nowrap !important;background:#fff !important;box-shadow:none !important;position:relative !important;z-index:1 !important;margin:0 !important;}
.elsha3r-category-pagination .elsha3r-pagination .page-numbers:hover,
.elsha3r-category-pagination .nav-links .page-numbers:hover,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers a:hover,
.elsha3r-category-pagination .nav-links .page-numbers a:hover{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;color:#fff !important;transform:translateY(-2px) !important;box-shadow:0 4px 12px rgba(0,0,0,0.15) !important;}
.elsha3r-category-pagination .elsha3r-pagination .page-numbers.current,
.elsha3r-category-pagination .nav-links .page-numbers.current,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers a.current,
.elsha3r-category-pagination .nav-links .page-numbers a.current{background:linear-gradient(135deg, #303440 0%, #1a1d29 100%) !important;color:#fff !important;box-shadow:0 4px 16px rgba(0,0,0,0.2) !important;transform:scale(1.05) !important;}
.elsha3r-category-pagination .elsha3r-pagination .page-numbers.prev,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers.next,
.elsha3r-category-pagination .nav-links .page-numbers.prev,
.elsha3r-category-pagination .nav-links .page-numbers.next,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers a.prev,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers a.next,
.elsha3r-category-pagination .nav-links .page-numbers a.next{padding:0 24px !important;min-width:auto !important;}
.elsha3r-category-pagination .elsha3r-pagination .page-numbers.dots,
.elsha3r-category-pagination .nav-links .page-numbers.dots,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers .dots,
.elsha3r-category-pagination .nav-links .page-numbers .dots{background:transparent !important;border:2px solid transparent !important;color:#666 !important;cursor:default;padding:0 12px !important;min-width:44px !important;margin:0 !important;}
.elsha3r-category-pagination .elsha3r-pagination .page-numbers.dots:hover,
.elsha3r-category-pagination .nav-links .page-numbers.dots:hover,
.elsha3r-category-pagination .elsha3r-pagination .page-numbers .dots:hover,
.elsha3r-category-pagination .nav-links .page-numbers .dots:hover{background:transparent !important;border-color:transparent !important;color:#666 !important;transform:none !important;box-shadow:none !important;}
.elsha3r-other-news-item:last-child{border-bottom:none;}
.elsha3r-other-news-thumb{width:90px;height:65px;flex:0 0 90px;border-radius:6px;overflow:hidden;}
@media (max-width: 768px){.elsha3r-other-news-thumb{width:80px;height:55px;flex:0 0 80px;border-radius:5px;}}
@media (max-width: 576px){.elsha3r-other-news-thumb{width:70px;height:45px;flex:0 0 70px;border-radius:4px;}}
.elsha3r-other-news-thumb img{width:100%;height:100%;object-fit:cover;}
.elsha3r-other-news-content{flex:1;min-width:0;}
.elsha3r-other-news-title{display:block;color:var(--elsha3r-primary);text-decoration:none;font-weight:700;font-size:13px;line-height:1.5;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media (max-width: 768px){.elsha3r-other-news-title{font-size:12px;line-height:1.4;margin-bottom:3px;}}
@media (max-width: 576px){.elsha3r-other-news-title{font-size:11px;line-height:1.3;margin-bottom:2px;}}
.elsha3r-other-news-title:hover{color:var(--elsha3r-primary);}
.elsha3r-other-news-meta{font-size:11px;color:#888;display:flex;gap:8px;flex-wrap:wrap;}
@media (max-width: 768px){.elsha3r-other-news-meta{font-size:10px;gap:6px;}}
@media (max-width: 576px){.elsha3r-other-news-meta{font-size:9px;gap:4px;}}
.elsha3r-other-news-meta .elsha3r-meta-badge{background:#f0f0f0;color:#666;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;}
@media (max-width: 768px){.elsha3r-other-news-meta .elsha3r-meta-badge{padding:1px 4px;font-size:9px;}}
@media (max-width: 576px){.elsha3r-other-news-meta .elsha3r-meta-badge{padding:1px 3px;font-size:8px;}}


.elsha3r-gear{
  position:fixed;
  top:50%;
  right:0;
  z-index:11000;
  transform:translateY(-50%);
  pointer-events:none;
}
html[dir="rtl"] .elsha3r-gear{left:0;right:auto;}
.elsha3r-gear-shell{
  position:relative;
  display:flex;
  align-items:center;
  pointer-events:auto;
  transition:transform 1.5s cubic-bezier(.22,1,.36,1);
  transform:translateX(318px);
}
html[dir="rtl"] .elsha3r-gear-shell{transform:translateX(-318px);}
html:not([dir="rtl"]) .elsha3r-gear-shell{flex-direction:row;}
.elsha3r-gear.open .elsha3r-gear-shell{transform:translateX(0);}
.elsha3r-gear-btn{
  position:relative;
  width: 64px;
  min-width: 64px;
  min-height: 65px;
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,rgba(var(--elsha3r-primary-rgb,200,5,11),.98),rgba(var(--elsha3r-primary-rgb,200,5,11),.78));
  color:#fff;
  cursor:pointer;
  border-radius:22px 0 0 22px;
  box-shadow:0 18px 45px rgba(15,23,42,.35),0 0 0 1px rgba(255,255,255,.18) inset;
  overflow:hidden;
  transition:box-shadow .45s ease,filter .45s ease;
  isolation:isolate;
  z-index: 2;
}
html[dir="rtl"] .elsha3r-gear-btn{border-radius:0 22px 22px 0;}
.elsha3r-gear-btn:hover{filter:brightness(1.06);box-shadow:0 22px 50px rgba(15,23,42,.42),0 0 28px rgba(var(--elsha3r-primary-rgb,200,5,11),.32);}
.elsha3r-gear-btn__glow{
  position:absolute;
  inset:10px;
  border-radius:18px;
  background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.35),rgba(255,255,255,0) 70%);
  opacity:.95;
  pointer-events:none;
}
.elsha3r-gear-btn__icon{
  position:relative;
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
  box-shadow:0 8px 18px rgba(0,0,0,.18),0 0 0 1px rgba(255,255,255,.22) inset;
}
.elsha3r-gear-btn i{font-size:24px;animation:elsha3rGearSpin 8s linear infinite;}
@keyframes elsha3rGearSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.elsha3r-gear-panel{
  width:318px;
  max-width:calc(100vw - 92px);
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(244,247,252,.96));
  border:1px solid rgba(255,255,255,.42);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(15,23,42,.28),0 0 0 1px rgba(255,255,255,.45) inset;
  backdrop-filter:blur(18px);
  opacity:0;
  visibility:hidden;
  transition:opacity 1.2s ease,visibility 1.2s ease;
  z-index: 1;
}
html[dir="rtl"] .elsha3r-gear-panel{margin-inline-start: 0;}
html:not([dir="rtl"]) .elsha3r-gear-panel{margin-inline-end: 0;}
.elsha3r-gear.open .elsha3r-gear-panel{opacity:1;visibility:visible;}
.elsha3r-gear.open .elsha3r-gear-btn{transform:scale(1.02);}
.elsha3r-gear-head{
  position:relative;
  padding:20px 22px 16px;
  background:linear-gradient(135deg,#252a39 0%,#1a1f2e 55%,rgba(var(--elsha3r-primary-rgb,200,5,11),.92) 100%);
  color:#fff;
}
.elsha3r-gear-head:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
}
.elsha3r-gear-head__title{font:800 31px/1.2 "Cairo",sans-serif;letter-spacing:-.02em;}
.elsha3r-gear-head__sub{margin-top:7px;font:600 13px/1.7 "Cairo",sans-serif;color:rgba(255,255,255,.82);}
.elsha3r-gear-body{padding:18px;display:flex;flex-direction:column;gap:16px;}
.elsha3r-gear-current{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.74);
  box-shadow:0 12px 30px rgba(148,163,184,.14) inset,0 1px 0 rgba(255,255,255,.75);
}
.elsha3r-gear-current__label{font:700 14px/1.4 "Cairo",sans-serif;color:#3d465a;}
.elsha3r-gear-current__value{font:800 13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--elsha3r-primary,#c8050b);direction:ltr;}
.elsha3r-gear-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.elsha3r-gear-swatches button{
  appearance:none;
  border:0;
  height:42px;
  border-radius:15px;
  background:var(--sw);
  cursor:pointer;
  box-shadow:0 10px 22px rgba(15,23,42,.16),0 0 0 3px rgba(255,255,255,.78) inset;
  transition:transform .3s ease,box-shadow .3s ease;
}
.elsha3r-gear-swatches button:hover{transform:translateY(-3px);box-shadow:0 15px 28px rgba(15,23,42,.22),0 0 0 3px rgba(255,255,255,.88) inset;}
.elsha3r-gear-swatches button.is-active{transform:translateY(-2px) scale(1.02);box-shadow:0 0 0 3px rgba(255,255,255,.94) inset,0 0 0 3px rgba(var(--elsha3r-primary-rgb,200,5,11),.2),0 12px 24px rgba(15,23,42,.16);}
.elsha3r-gear-picker{display:flex;flex-direction:column;gap:8px;font:700 14px/1.5 "Cairo",sans-serif;color:#3d465a;}
.elsha3r-gear-picker input[type="color"]{
  width:100%;
  height:52px;
  border:0;
  border-radius:16px;
  background:#fff;
  padding:4px;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(15,23,42,.08),0 0 0 1px rgba(203,213,225,.75) inset;
}
.elsha3r-gear-picker input[type="color"]::-webkit-color-swatch-wrapper{padding:0;border-radius:12px;}
.elsha3r-gear-picker input[type="color"]::-webkit-color-swatch{border:none;border-radius:12px;}
.elsha3r-gear-picker input[type="color"]::-moz-color-swatch{border:none;border-radius:12px;}
.elsha3r-gear-actions{display:flex;}
.elsha3r-gear-actions button{
  width:100%;
  height:50px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#2d3445,#1f2432);
  color:#fff;
  font:800 15px/1 "Cairo",sans-serif;
  cursor:pointer;
  box-shadow:0 16px 30px rgba(15,23,42,.18);
  transition:transform .3s ease,box-shadow .3s ease,filter .3s ease;
}
.elsha3r-gear-actions button:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 20px 34px rgba(15,23,42,.22);}
@media (max-width:767px){
  .elsha3r-gear{top:auto;bottom:22px;transform:none;}
  html[dir="rtl"] .elsha3r-gear{left:0;right:auto;}
  .elsha3r-gear-btn{width:66px;min-width:66px;min-height:82px;}
  .elsha3r-gear-panel{width:min(300px,calc(100vw - 76px));border-radius:24px;}
  .elsha3r-gear-head__title{font-size:26px;}
}

