/* ============================================================
   MOPlus WordPress Theme - Main Stylesheet
   Converted from Blogger XML template
   ============================================================ */


body#layout {
  background-color: #f8f9fa !important;
}

body#layout .section > h4 {
  color: #5f6368 !important;
  text-transform: uppercase;
}

body#layout .widget {
  border: none !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  padding: 4px !important;
  margin-bottom: 16px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease-in-out;
}

body#layout .widget::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #3a7fff, #a259ff, #ff516b);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

body#layout .widget .widget-content {
  background-color: #ffffff;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  padding: 12px 16px !important;
}

body#layout .widget:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
}

body#layout .widget .layout-title {
  color: #171921 !important;
  font-weight: 700 !important;
}

body#layout #header,
body#layout #top-bar-pages,
body#layout #top-bar-social,
body#layout #main-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

body#layout #header .widget,
body#layout #top-bar-pages .widget,
body#layout #top-bar-social .widget,
body#layout #main-nav .widget {
  min-width: 250px;
  max-width: 400px;
  width: auto;
}


    * { box-sizing: border-box; margin: 0; padding: 0; }

:root[data-theme='dark'] {
    --bg-gradient: #0f172a;
    --bg-container: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-blue: #38bdf8;
    --border-color: #334155;
    --bg-hover: #334155;
    --input-bg: #020617;
    --bg-topbar: rgba(30, 41, 59, 0.95);
}

:root[data-theme='light'] {
    --bg-gradient: #f7f7f7;
    --bg-container: #ffffff;
    --text-primary: #171921;
    --text-secondary: #34495e;
    --accent-blue: #035dcd;
    --border-color: #eeeeee;
    --bg-hover: #f1f5f9;
    --input-bg: #f8fafc;
    --bg-topbar: #ffffff;
}

body, textarea, button, input {
    font-family: 'Tajawal', sans-serif !important;
}
        body { background: var(--bg-gradient); color: var(--text-primary); line-height: 1.7; font-size: 16px; direction: rtl; overflow-x: hidden; transition: background-color 0.3s, color 0.3s; }

    body.mobile-menu-open { overflow: hidden; }
    a { color: var(--accent-blue); text-decoration: none; transition: color 0.2s; }
    .site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}
    .site-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; gap: 15px; }
    .site-content { min-height: 60vh; }
    .site-footer { text-align: center; padding: 25px 0; margin-top: 40px; border-top: 1px solid var(--border-color); color: var(--text-secondary); font-size: 14px; }

    #theme-toggle { background: none; border: 1px solid var(--border-color); color: var(--text-secondary); cursor: pointer; padding: 8px; border-radius: 8px; display: flex; transition: all 0.2s; }
    #theme-toggle:hover { background-color: var(--bg-hover); color: var(--text-primary); }
    #theme-toggle svg { width: 20px; height: 20px; }

.theme-icon { display: none; }

html[data-theme='dark'] .sun-icon { display: block !important; }
html[data-theme='dark'] .moon-icon { display: none !important; }

html[data-theme='light'] .moon-icon { display: block !important; }
html[data-theme='light'] .sun-icon { display: none !important; }

.section-title-container { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 30px; direction: rtl; }
.latest-posts-title { font-size: 28px; font-weight: 700; color: var(--text-primary); margin: 0; padding-bottom: 12px; position: relative; text-align: right; }
.title-decorator-bar { height: 4px; width: 80px; border-radius: 2px; background: linear-gradient(to left, var(--accent-blue), #1e293b); }
html[data-theme='light'] .title-decorator-bar { background: linear-gradient(to left, var(--accent-blue), #a5b4fc); }

    .blog-posts-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
    .post-card { background-color: var(--bg-container); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
    .post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .post-thumbnail-link { display: block; position: relative; padding-top: 56.25%; background-color: var(--border-color); }
    .post-thumbnail { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
    .post-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
    .post-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
    .post-title a { color: var(--text-primary); text-decoration: none; }
    .post-title a:hover { color: var(--accent-blue); }
    .post-snippet { color: var(--text-secondary); flex-grow: 1; margin-bottom: 15px; line-height: 1.6; }
    .post-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-secondary); border-top: 1px solid var(--border-color); padding-top: 15px; }

    .single-post-container { background-color: var(--bg-container); border-radius: 12px; padding: 40px; border: 1px solid var(--border-color); }
    .single-post-title { font-size: 36px; color: var(--text-primary); margin-bottom: 15px; line-height: 1.4; }
    .single-post-meta { color: var(--text-secondary); margin-bottom: 30px; }
    .single-post-body { line-height: 1.8; color: var(--text-primary); word-wrap: break-word; }
    .single-post-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
    .single-post-body h2, .single-post-body h3 { color: var(--text-primary); margin-top: 30px; margin-bottom: 15px; }

    .post-footer { margin-top: 40px; }
    .post-labels { margin-bottom: 20px; }
    .post-labels h3 { font-size: 16px; margin-bottom: 10px; color: var(--text-secondary); }
    .post-labels a { display: inline-block; background-color: var(--bg-hover); border: 1px solid var(--border-color); color: var(--text-secondary); padding: 5px 12px; margin: 0 0 5px 5px; border-radius: 20px; font-size: 13px; transition: all 0.2s; }
    .post-labels a:hover { background-color: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
    html[data-theme='dark'] .post-labels a:hover { color: #0f172a; }
    .author-profile { display: flex; gap: 20px; align-items: center; padding: 25px 0; margin: 25px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
    .author-profile .author-avatar { width: 60px; height: 60px; border-radius: 50%; }
    .author-profile-info h4 { margin: 0 0 5px; font-size: 18px; color: var(--text-primary); }
    .author-profile-info p { margin: 0; font-size: 14px; color: var(--text-secondary); }
    .blog-pager.post-pager { display: flex; justify-content: space-between; margin-top: 30px; }
    .blog-pager.post-pager a { background-color: var(--bg-container); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 8px; transition: all .2s; }
    .blog-pager.post-pager a:hover { background-color: var(--bg-hover); border-color: var(--accent-blue); color: var(--text-primary); }
    #comments { margin-top: 40px; }
    .comments h4 { font-size: 24px; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
    .comment-thread .comment { margin-bottom: 20px; }
    .comment-block { background-color: var(--bg-hover); padding: 20px; border-radius: 8px; border-left: 3px solid var(--border-color); }
    html[dir="rtl"] .comment-block { border-left: none; border-right: 3px solid var(--border-color); }
    .comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
    .comment-header .avatar-image-container img { border-radius: 50%; }
    .comment-header .user { font-weight: bold; color: var(--text-primary); }
    .comment-header .datetime { font-size: 12px; color: var(--text-secondary); }
    .comment-body { color: var(--text-secondary); }
    .comment-actions a { font-size: 13px; margin-left: 10px; }
    .comment-form { margin-top: 30px; }
    #comment-editor { width: 100%; min-height: 120px; padding: 15px; font-size: 16px; border: 1px solid var(--border-color); border-radius: 8px; transition: all 0.2s; background-color: var(--input-bg); color: var(--text-primary); margin-bottom: 15px; }
    #comment-editor:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2); }
    .comment-form .button { background-color: var(--accent-blue); color: #fff; border: none; padding: 12px 30px; font-size: 16px; font-weight: 700; border-radius: 8px; cursor: pointer; transition: all 0.2s; }
    html[data-theme='dark'] .comment-form .button { color: #0f172a; }
    .comment-form .button:hover { transform: translateY(-2px); }
    #comment-holder, .loadmore.thread-loadmore-link { text-align: center; }

    .top-bar-wrapper { position: relative; background-color: var(--bg-topbar); padding-top: 8px; padding-bottom: 20px; margin-bottom: 15px; }
    .top-bar-wrapper::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 15px; background: var(--bg-gradient); border-top-left-radius: 100%; border-top-right-radius: 100%; }
    .top-bar-container { display: flex; justify-content: space-between; align-items: center; padding-top: 0; padding-bottom: 0; font-size: 14px; }
    .top-bar .widget { margin: 0; }
    .top-bar .widget-title { display: none !important; }
    .top-bar-pages .PageList ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
    .top-bar-pages a { color: #000000;  transition: color 0.2s; }
    .top-bar-pages a:hover { color: var(--text-primary); }
    .top-bar-social .LinkList ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 15px; }
    .top-bar-social a { color: var(--text-secondary); display: inline-block; transition: all 0.2s; }
    .top-bar-social a:hover { color: var(--accent-blue); transform: scale(1.1) translateY(-2px); }
    .top-bar-social svg { width: 20px; height: 20px; fill: currentColor; }

    .main-nav { flex-grow: 1; display: flex; justify-content: center; }
    .main-nav .widget { margin: 0; }
    .main-nav .widget-title { display: none !important; }
    .main-nav .LinkList ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .main-nav .LinkList a { display: block; padding: 8px 15px; border-radius: 8px; color: #000000;
 font-weight: 700; transition: all 0.2s; }
    .main-nav .LinkList a:hover { background-color: var(--bg-hover); color: var(--text-primary); }

    .main-nav .LinkList li { position: relative; }
    .main-nav .has-dropdown > a { padding-left: 25px; position: relative; }
    html[dir='rtl'] .main-nav .has-dropdown > a { padding-left: 25px; padding-right: 15px; }
    .main-nav .has-dropdown > a::after { content: '\25BC'; font-size: 12px; color: var(--text-secondary); position: absolute; top: 50%; transform: translateY(-45%); left: 10px; transition: all 0.25s ease; }
    .main-nav li:hover > a::after { transform: translateY(-45%) rotate(180deg); color: var(--text-primary); }
    .submenu { opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s ease; position: absolute; top: 100%; right: 0; background-color: var(--bg-container); border: 1px solid var(--border-color); border-radius: 8px; padding: 8px; min-width: 200px; z-index: 100; list-style: none; box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
    html[dir='rtl'] .submenu { right: 0; left: auto; }
    .main-nav li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
    .submenu li { width: 100%; }
    .submenu li a { white-space: nowrap; padding: 10px 15px; font-weight: normal; }

    #mobile-menu-toggle { background: none; border: 1px solid var(--border-color); color: var(--text-secondary); cursor: pointer; padding: 8px; border-radius: 8px; display: none; transition: all 0.2s; }
    #mobile-menu-toggle:hover { background-color: var(--bg-hover); color: var(--text-primary); }
    #mobile-menu-toggle svg { width: 20px; height: 20px; }
    #mobile-menu-toggle .close-icon { display: none; }
    #mobile-menu-toggle.is-open .open-icon { display: none; }
    #mobile-menu-toggle.is-open .close-icon { display: block; }
    .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
    body.mobile-menu-open .menu-overlay { opacity: 1; visibility: visible; }

    .blog-pager { text-align: center; margin: 40px 0; }
    .blog-pager a { background-color: var(--bg-container); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 8px; margin: 0 5px; transition: all .2s; }
    .blog-pager a:hover { background-color: var(--bg-hover); border-color: var(--accent-blue); color: var(--text-primary); }

    @media (max-width: 900px) {
  .top-bar-wrapper { display: none; }
  .site-header { margin-top: 0; flex-wrap: wrap; justify-content: space-between; }
  .site-header .header { flex-grow: 1; }
  #mobile-menu-toggle { display: flex; }

  .site-header .main-nav {
    position: fixed;
    top: 0;
    width: 280px;
    height: 100%;
    padding: 25px;
    background-color: var(--bg-container);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;

    right: 0;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
  }

  html[dir="ltr"] .site-header .main-nav {
    right: auto;
    left: 0;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(-100%);
  }

  body.mobile-menu-open .site-header .main-nav {
    transform: translateX(0);
  }

  .main-nav .LinkList ul { flex-direction: column; align-items: flex-start; gap: 5px; }
  .main-nav .LinkList li { width: 100%; }
  .main-nav .LinkList a { padding: 12px 10px; font-size: 16px; }
  .main-nav .has-dropdown > a::after { top: 20px; }
  .submenu { position: static; display: block; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 15px 0 0; min-width: auto; background: transparent; }
  .submenu li a { font-size: 15px; color: var(--text-secondary); }
  .response-wrapper { flex-direction: column; }
  .ai-tool-container h2 { font-size: 28px; }
}
    @media (max-width: 500px) {
      .ai-form-controls { flex-direction: column; }
      .post-title { font-size: 18px; }
      .single-post-title { font-size: 28px; }
      .single-post-container { padding: 20px; }
    }
.mobile-menu-separator { width: 100%; margin: 15px 0; border: none; border-top: 1px solid var(--border-color); }
.mobile-social-links { padding: 10px 10px 0; }
.mobile-social-links ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; align-items: center; }
.mobile-social-links a:hover { background: none !important; }
.mobile-social-links svg { width: 22px; height: 22px; fill: var(--text-secondary); transition: all 0.2s; }
.mobile-social-links ul {
    flex-direction: row !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
}
.mobile-social-links li {
    width: auto !important;
}
.mobile-social-links a:hover svg { fill: var(--accent-blue); transform: scale(1.1); }

@media (min-width: 901px) { .cloned-for-mobile { display: none !important; } }
#search-toggle-btn { background: none; border: 1px solid var(--border-color); color: var(--text-secondary); cursor: pointer; padding: 8px; border-radius: 8px; display: flex; transition: all 0.2s; }
#search-toggle-btn:hover { background-color: var(--bg-hover); color: var(--text-primary); }
#search-toggle-btn svg { width: 20px; height: 20px; }
#search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.8); backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding-top: 15vh; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
html[data-theme='light'] #search-overlay { background-color: rgba(255, 255, 255, 0.7); }
#search-overlay.is-open { opacity: 1; visibility: visible; }
.search-container { position: relative; width: 90%; max-width: 600px; }
#search-close-btn { position: absolute; top: -40px; right: -10px; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; display: flex; }
html[data-theme='light'] #search-close-btn { color: var(--text-primary); }
#search-close-btn svg { width: 30px; height: 30px; }
#search-overlay input[type="search"] { width: 100%; padding: 15px 20px; font-size: 20px; font-weight: 700; background-color: transparent; color: #fff; border: none; border-bottom: 2px solid rgba(255, 255, 255, 0.5); outline: none; text-align: center; transition: border-color 0.3s; }
html[data-theme='light'] #search-overlay input[type="search"] { color: var(--text-primary); border-bottom-color: var(--border-color); }
#search-overlay input[type="search"]:focus { border-bottom-color: var(--accent-blue); }
#search-overlay input[type="search"]::placeholder { color: rgba(255, 255, 255, 0.5); }
html[data-theme='light'] #search-overlay input[type="search"]::placeholder { color: var(--text-secondary); }
.post-share-container { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-color); }
.post-share-container h3 { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; text-align: center; }
.post-share-buttons { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }
.post-share-buttons a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 700; color: #fff; transition: transform 0.2s ease, opacity 0.2s ease; border: none; }
.post-share-buttons a:hover { transform: translateY(-3px); opacity: 0.9; }
.post-share-buttons svg { width: 20px; height: 20px; fill: currentColor; }
.share-facebook { background-color: #1877F2; }
.share-twitter { background-color: #1DA1F2; }
.share-whatsapp { background-color: #25D366; }
.share-linkedin { background-color: #0A66C2; }
.share-telegram { background-color: #24A1DE; }
.site-footer-pro{background-color:var(--bg-topbar);padding:60px 0 0;margin-top:50px;color:var(--text-secondary);border-top:none}
.footer-widgets-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:45px;margin-bottom:50px}
.footer-widget .widget-title{font-size:20px;font-weight:700;color:var(--text-primary);margin-bottom:25px;padding-bottom:12px;position:relative}
.footer-widget .widget-title::after{content:'';position:absolute;bottom:0;right:0;width:40px;height:3px;background-color:var(--accent-blue)}
.footer-widget .widget-content{font-size:15px;line-height:1.8}
.footer-widget .footer-logo{margin-bottom:20px;display:block}
.footer-widget .footer-logo img{max-width:180px;max-height:50px;opacity:.9}
.footer-widget .footer-description{margin:0;padding:0;font-size:15px;line-height:1.8}
.footer-widget ul{list-style:none;padding:0;margin:0}
.footer-widget ul li{margin-bottom:12px}
.footer-widget ul li a{color:var(--text-secondary);transition:all .2s ease}
.footer-widget ul li a:hover{color:var(--accent-blue);padding-right:8px}
.footer-social-icons ul{display:flex;flex-wrap:wrap;gap:15px;padding:0!important;list-style:none!important}
.footer-social-icons ul li{margin:0!important}
.footer-social-icons a{display:inline-flex;justify-content:center;align-items:center;width:42px;height:42px;border-radius:50%;background-color:rgba(255,255,255,.05);color:var(--text-secondary);transition:all .25s ease}
.footer-social-icons a:hover{transform:translateY(-4px) scale(1.1);background-color:var(--accent-blue);color:#fff!important}
html[data-theme=dark] .footer-social-icons a:hover{color:#0f172a!important}
.footer-social-icons svg{width:20px;height:20px;fill:currentColor}
.footer-widget .Stats .widget-content{font-size:36px;font-weight:700;color:var(--text-primary);line-height:1.2;padding:0!important;background:none!important;border:none!important}
.footer-widget .Stats .widget-content span{font-size:14px;font-weight:400;color:var(--text-secondary);display:block;margin-top:5px}
.footer-bottom-bar{text-align:center;padding:25px 0;background-color:var(--input-bg);color:var(--text-secondary);font-size:14px}
.main-content-grid {}
@media (max-width: 900px) { .main-content-grid { grid-template-columns: 1fr; } .sidebar-wrapper { margin-top: 40px; } }
.site-content { display: block; min-height: 60vh; }
html[dir="ltr"] .site-content { flex-direction: row-reverse; }
.main-content-grid { flex-grow: 1; min-width: 0; }
#the-one-sidebar { 
    flex-shrink: 0; 
    width: 320px; 
}#the-one-sidebar .widget { background-color: var(--bg-container); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
#the-one-sidebar .widget-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: -20px -20px 20px -20px; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
#the-one-sidebar ul { list-style: none; padding: 0; margin: 0; }
#the-one-sidebar ul li a { color: var(--text-secondary); display: block; padding: 0px 0px; border-radius: 6px; transition: all 0.2s ease; }
#the-one-sidebar ul li a:hover { color: var(--accent-blue); background-color: var(--bg-hover); }

#the-one-sidebar .PopularPosts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#the-one-sidebar .PopularPosts li {
    display: flex;
    align-items: center;
    gap: 15px;
}
#the-one-sidebar .PopularPosts .item-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    margin: 0;
}
#the-one-sidebar .PopularPosts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
#the-one-sidebar .PopularPosts .item-content {
    flex-grow: 1;
}
#the-one-sidebar .PopularPosts .item-title {
    margin: 0;
}
#the-one-sidebar .PopularPosts .item-title a {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--text-primary);
}
#the-one-sidebar .PopularPosts .item-title a:hover {
    color: var(--accent-blue);
}
#the-one-sidebar .PopularPosts .item-snippet {
    display: none;
}
#the-one-sidebar .PopularPosts .pp-post-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    display: block;
    direction: rtl;
}
#the-one-sidebar .PopularPosts .pp-post-date svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    vertical-align: middle;
    margin-left: 4px;
}

#the-one-sidebar .Label ul { display: flex; flex-wrap: wrap; gap: 8px; }
#the-one-sidebar .Label ul li a { display: inline-block; background-color: var(--bg-hover); border: 1px solid var(--border-color); color: var(--text-secondary); padding: 5px 12px; border-radius: 20px; font-size: 13px; transition: all 0.2s; }
#the-one-sidebar .Label ul li a:hover { background-color: var(--accent-blue); border-color: var(--accent-blue); color: #fff; padding-right: 12px; }
html[data-theme='dark'] #the-one-sidebar .Label ul li a:hover { color: #0f172a; }
@media (max-width: 900px) { .site-content { flex-direction: column; } #the-one-sidebar { width: 100%; position: static; margin-top: 40px; } }
.single-post-body .separator { float: none !important; display: block; margin: 25px auto !important; text-align: center; clear: both; }
.single-post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.single-post-body, .single-post-body p, .single-post-body div, .single-post-body li, .single-post-body td, .single-post-body th { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; }
.single-post-body pre, .single-post-body code { white-space: pre-wrap !important; word-break: break-all !important; }
.single-post-body * { max-width: 100% !important; box-sizing: border-box; }

.header-ad-container { width: 100%; margin: 0 0 40px 0; text-align: center; min-height: 50px; background-color: var(--bg-container); padding: 15px; border-radius: 12px; border: 1px solid var(--border-color); box-sizing: border-box; }
.header-ad-container .widget { margin: 0; padding: 0; }
.header-ad-container .widget-title { display: none; }
.header-ad-container img, .header-ad-container iframe, .header-ad-container ins { max-width: 100%; height: auto; }
.header-ad-container:has(:empty) { display: none; }
.hidden-gadgets-source { display: none !important; }
.hidden-feature-toggles { display: none !important; }
.post-ad { width: 100%; margin: 30px 0; text-align: center; min-height: 50px; }

.toc-container {
    background-color: var(--bg-container);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 25px 0 35px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;

    border: none !important;
}

.toc-list li a {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 0;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.toc-list li a::before {
    content: '\25C0';

    font-size: 18px;
    margin-left: 12px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-weight: bold;
    flex-shrink: 0;

    color: #333333;

    transition: color 0.2s ease;
}

html[data-theme='dark'] .toc-list li a::before {
    color: var(--accent-blue);
}

.toc-list li a:hover::before {
    color: var(--accent-blue);
}

html[dir='ltr'] .toc-list li a::before {
    content: '\25B6';
    margin-left: 0;
    margin-right: 12px;
}

.toc-list li a:hover {
    color: var(--accent-blue);
    transform: translateX(-3px);
}
.toc-list li a:hover::before {
    color: var(--text-primary);
}

.toc-list li.toc-level-1,
.toc-list li.toc-level-2 {
    padding-right: 0;
    font-weight: 700;
}

.toc-list li.toc-level-3 {
    padding-right: 20px;
    font-size: 14px;
}

.toc-list li.toc-level-4 {
    padding-right: 40px;
    font-size: 13.5px;
    opacity: 0.9;
}

html[dir='ltr'] .toc-list li.toc-level-3 { padding-right: 0; padding-left: 20px; }
html[dir='ltr'] .toc-list li.toc-level-4 { padding-right: 0; padding-left: 40px; }
html[dir='ltr'] .toc-list li a::before { content: '▶'; margin-left: 0; margin-right: 8px; }
.alert-box { position: relative; padding: 20px 25px 20px 65px; margin: 25px 0; border-radius: 12px; border: 1px solid var(--border-color); font-size: 15px; line-height: 1.7; overflow: hidden; }
html[dir='rtl'] .alert-box { padding: 20px 65px 20px 25px; }
.alert-box::before, .alert-box::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; }
html[dir='rtl'] .alert-box::before, html[dir='rtl'] .alert-box::after { left: auto; right: 0; }
.alert-box::before { width: 10px; }
.alert-box::after { left: 25px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0.9; }
html[dir='rtl'] .alert-box::after { left: auto; right: 25px; }
.alert-info { background-color: rgba(56, 189, 248, 0.08); } .alert-info::before { background-color: #38bdf8; }
.alert-info::after { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%2338bdf8"%3E%3Cpath fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" /%3E%3C/svg%3E'); }
.alert-success { background-color: rgba(74, 222, 128, 0.08); } .alert-success::before { background-color: #4ade80; }
.alert-success::after { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%234ade80"%3E%3Cpath fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /%3E%3C/svg%3E'); }
.alert-warning { background-color: rgba(251, 191, 36, 0.08); } .alert-warning::before { background-color: #fbbf24; }
.alert-warning::after { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23fbbf24"%3E%3Cpath fill-rule="evenodd" d="M8.257 3.099c.636-1.1 2.152-1.1 2.788 0l5.633 9.757c.636 1.1-.122 2.493-1.394 2.493H3.918c-1.272 0-2.03-1.393-1.394-2.493L8.257 3.099zM10 6a1 1 0 011 1v3a1 1 0 11-2 0V7a1 1 0 011-1zm-1 7a1 1 0 102 0 1 1 0 00-2 0z" clip-rule="evenodd" /%3E%3C/svg%3E'); }
.alert-error { background-color: rgba(248, 113, 113, 0.08); } .alert-error::before { background-color: #f87171; }
.alert-error::after { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23f87171"%3E%3Cpath fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clip-rule="evenodd" /%3E%3C/svg%3E'); }
.pro-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; border-radius: 8px; font-size: 16px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: all 0.25s ease; cursor: pointer; margin: 5px; }
.pro-btn svg { width: 20px !important; height: 20px !important; flex-shrink: 0; }
.btn-primary { background-color: var(--accent-blue); color: #fff; html[data-theme='dark'] & { color: #0f172a; } }
.btn-primary:hover { background-color: transparent; border-color: var(--accent-blue); color: var(--accent-blue); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; border-color: var(--border-color); color: var(--text-secondary); }
.btn-secondary:hover { background-color: var(--bg-hover); border-color: var(--accent-blue); color: var(--text-primary); transform: translateY(-2px); }
#reading-time-meta { display: inline-flex; align-items: center; gap: 6px; }
#reading-time-meta svg { width: 16px; height: 16px; opacity: 0.7; }
.copyright-container { display: flex; justify-content: center; align-items: center; gap: 10px; }
.copyright-container p { margin: 0; }
#template-credit img { height: 25px; width: auto; display: block; margin-top: 3px; }

.mid-post-related-wrapper {
  position: relative;
  margin: 20px 0;
  border: 2px dashed var(--border-color);
  border-radius: 15px;
  padding: 10px;
  transition: border-color 0.3s;

  background: var(--bg-gradient);
}

.mpr-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 5px;
}

.mpr-title-text {
  font-size: 16px; font-weight: 700;
  background: linear-gradient(to left, #025bc8, #103161) !important;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  position: relative; z-index: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mpr-toggle-text-btn {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px; font-weight: 700;
  background: linear-gradient(to left, #103161, #025bc8) !important;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  position: relative; z-index: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-right: 20px;
}
html[dir="ltr"] .mpr-toggle-text-btn { margin-right: 0; margin-left: 20px; }

.mpr-header::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 160px;
  height: 4px;
  background-color: var(--accent-blue);
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.5;
}
html[dir="ltr"] .mpr-header::before { right: auto; left: 10px; }

html[data-theme='dark'] .mid-post-related-wrapper { border-color: rgba(255, 255, 255, 0.3); }
html[data-theme='light'] .mid-post-related-wrapper {
    border-color: transparent !important;
}
.mpr-list {
  list-style: none; padding: 0; margin: 0; position: relative; padding-right: 25px;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  max-height: 1000px; opacity: 1; overflow: hidden;
}
.mpr-list::before {
  content: ''; position: absolute; top: 0; bottom: 0; right: 10px; width: 2px; background-color: var(--border-color); border-radius: 2px;
}
.mpr-wrapper-closed .mpr-list { max-height: 0; opacity: 0; margin: 0; }

.mpr-item { position: relative; margin-bottom: 15px; }
.mpr-item:last-child { margin-bottom: 0; }
.mpr-item::before { content: ''; position: absolute; top: 8px; right: -19px; width: 10px; height: 10px; background-color: var(--accent-blue); border-radius: 50%; border: 2px solid var(--bg-container); z-index: 2; }
.mpr-link { text-decoration: none; display: block; padding: 10px; border-radius: 8px; transition: background-color 0.2s; }
.mpr-link:hover { background-color: var(--bg-hover); }
.mpr-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); margin-bottom: 5px; }
.mpr-meta svg { width: 14px; height: 14px; fill: currentColor; opacity: 0.8; }
.mpr-post-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0; transition: color 0.2s; }
.mpr-link:hover .mpr-post-title { color: var(--accent-blue); }
.post-card-label { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 6px 14px; font-size: 12px; font-weight: 700; border-radius: 8px; background-color: rgba(30, 41, 59, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 4px 12px rgba(0,0,0,0.1); color: #fff; transition: all 0.25s ease; }
.post-card-label[style*="--label-bg-rgb:"] { background-color: rgba(var(--label-bg-rgb), 0.5); border-color: rgba(var(--label-bg-rgb), 0.3); }

.blog-posts-container.list-view {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin: 0;
}

.list-view-card {
  display: flex;
  direction: rtl;
  gap: 25px;
  align-items: center;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.list-view-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.list-view-thumbnail-link {
  flex-shrink: 0;
  width: 280px;
  height: 210px;
  border-radius: 8px;
  display: block;
  position: relative;
  overflow: hidden;
}

.list-view-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.list-view-thumbnail-link:hover .list-view-thumbnail {
  transform: scale(1.05);
}

.list-view-label {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  background-color: rgba(30, 41, 59, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: #fff;
  transition: all 0.25s ease;
}

.list-view-label[style*="--label-bg-rgb:"] {
  background-color: rgba(var(--label-bg-rgb), 0.5);
  border-color: rgba(var(--label-bg-rgb), 0.3);
}

.list-view-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.list-view-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.list-view-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.list-view-title a { color: var(--text-primary); }
.list-view-title a:hover { color: var(--accent-blue); }

.list-view-snippet {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.list-view-content .pro-btn {
  padding: 10px 28px;
  align-self: flex-start;
}

@media (max-width: 650px) {
  .list-view-card {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }

  .list-view-thumbnail-link {
    width: 100%;
    height: 200px;
  }

  .list-view-title {
    font-size: 20px;
  }
}

#the-one-sidebar .widget-title,
#the-one-sidebar .widget .title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin: -20px -20px 25px -20px;
    padding: 15px 20px;

}

#the-one-sidebar .widget-title::before,
#the-one-sidebar .widget .title::before {
    content: '';
    display: block;
    width: 5px;
    height: 22px;
    background-color: var(--accent-blue);
    border-radius: 2.5px;
    flex-shrink: 0;
}

#the-one-sidebar .widget-title::after,
#the-one-sidebar .widget .title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-color);
}

.FeaturedPost .widget-content {
  padding: 0 !important;
}
.fp-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.fp-thumbnail-link {
  display: block;
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--border-color);
}
.fp-thumbnail-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.fp-thumbnail-link:hover .fp-thumbnail-img {
  transform: scale(1.05);
}
.fp-content {
  display: flex;
  flex-direction: column;
}
.fp-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
.fp-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px 0;
}
.fp-title a {
  color: var(--text-primary);
}
.fp-title a:hover {
  color: var(--accent-blue);
}
.fp-snippet {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.single-post-body h2,
.single-post-body h3 {
    position: relative !important;
    padding-right: 20px !important;
    border: none !important;
    margin-top: 35px;
    margin-bottom: 20px;
    color: var(--text-primary);

    line-height: 2.0 !important;
}

.single-post-body h2::before,
.single-post-body h3::before {
    content: '' !important;
    position: absolute !important;

    top: 5px;
    bottom: 5px;
    right: 0;
    width: 5px;

    background: transparent !important;

    border-right: 4px solid var(--accent-blue) !important;

    border-radius: 0 10px 10px 0 !important;
}

html[dir="ltr"] .single-post-body h2,
html[dir="ltr"] .single-post-body h3 {
    padding-right: 0 !important;
    padding-left: 20px !important;
}
html[dir="ltr"] .single-post-body h2::before,
html[dir="ltr"] .single-post-body h3::before {
    right: auto;
    left: 0;
    border-right: none !important;
    border-left: 4px solid var(--accent-blue) !important;
    border-radius: 10px 0 0 10px !important;
}

.homepage-section {
  margin-bottom: 40px;
}

.magazine-grid {
  display: grid;
  gap: 20px;
}
.magazine-post {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--border-color);
}
.magazine-post a {
  display: block;
  width: 100%;
  height: 100%;
}
.magazine-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.magazine-post:hover img {
  transform: scale(1.05);
}
.magazine-post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  z-index: 2;
}
.magazine-post-label {
  display: inline-block;
  background-color: var(--accent-blue);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}
.magazine-post-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.magazine-post.large .magazine-post-title {
  font-size: 24px;
}
.magazine-post-meta {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 8px;
}

.magazine-layout-1 .magazine-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
}
.magazine-layout-1 .magazine-post:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.magazine-layout-2 .magazine-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.magazine-layout-2 .magazine-left-col {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.magazine-layout-2 .magazine-post { height: 250px; }
.magazine-layout-2 .magazine-right-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.magazine-layout-2 .list-post {
  display: flex;
  gap: 15px;
  align-items: center;
}
.magazine-layout-2 .list-post img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
}
.magazine-layout-2 .list-post-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color 0.2s;
}
.magazine-layout-2 .list-post-title:hover { color: var(--accent-blue); }

@media (max-width: 768px) {
  .magazine-layout-1 .magazine-grid,
  .magazine-layout-2 .magazine-grid {
    grid-template-columns: 1fr;
  }
  .magazine-layout-1 .magazine-post:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
    height: 250px;
  }
  .magazine-layout-1 .magazine-grid,
  .magazine-layout-2 .magazine-left-col {
    grid-template-rows: auto;
  }
  .magazine-layout-2 .magazine-left-col {
    grid-column: auto;
  }
}

.random-posts-grid-section .widget-content {
  display: none;
}
#random-posts-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 20px;
  margin-bottom: 40px;
}
#random-posts-container .magazine-post:nth-child(1) {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
}
#random-posts-container .magazine-post-title {
  font-size: 16px;
}
#random-posts-container .magazine-post:nth-child(1) .magazine-post-title {
  font-size: 24px;
}

@media (max-width: 768px) {
  #random-posts-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    grid-template-rows: unset;
    gap: 15px;
  }

  #random-posts-container .magazine-post:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  #random-posts-container .magazine-post {

  }

  #random-posts-container .magazine-post-title {
    font-size: 15px;
  }
  #random-posts-container .magazine-post:nth-child(1) .magazine-post-title {
    font-size: 20px;
  }
}

.hs-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 30px;
}

.hs-title-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  padding-bottom: 12px;
  position: relative;

  border: none !important;
  padding-right: 0 !important;
  white-space: normal;
  background: none !important;
}
.hs-title-text::before { content: none !important; }

.hs-title-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 4px;
  border-radius: 2px;

  background: linear-gradient(to left, var(--accent-blue), #1e293b);
}

html[dir="ltr"] .hs-title-text::after {
  left: 0;
  right: auto;
}

html[data-theme='light'] .hs-title-text::after {
  background: linear-gradient(to left, var(--accent-blue), #a5b4fc);
}

.hs-title-line,
.hs-title-more-btn {
  display: none !important;
}

.main-and-sidebar-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  margin-top: 40px;

  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

@media (min-width: 901px) {
    #the-one-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 25px;
    }
}
html[dir="ltr"] .main-and-sidebar-wrapper {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .main-and-sidebar-wrapper {
    flex-direction: column;
  }
}

.magazine-3-col-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.magazine-column .widget-title {
  padding-bottom: 0 !important;
}
.magazine-column .widget-content {
  padding: 0 !important;
}
.col-large-post {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--border-color);
  margin-bottom: 20px;
  display: block;
}
.col-large-post img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.col-large-post:hover img {
  transform: scale(1.05);
}
.col-large-post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  z-index: 2;
}
.col-large-post-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}
.col-post-meta {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.col-post-meta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.col-small-post-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.col-small-post {
  display: flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
}
.col-small-post img {
  width: 80px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.col-small-post-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color 0.2s;
}
.col-small-post:hover .col-small-post-title {
  color: var(--accent-blue);
}

@media (max-width: 900px) {
  .magazine-3-col-wrapper {
    grid-template-columns: 1fr;
  }
}

.new-site-footer {
  background-color: var(--bg-topbar);
  border-top: 1px solid var(--border-color);

  margin-top: 200;
  padding-top: 20px;

  padding-bottom: 20px;
  position: relative;
}
.new-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.new-footer-copyright .widget-content,
.new-footer-copyright p {
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.new-footer-copyright .widget-title {
  display: none;
}
.new-footer-social .widget-title {
  display: none;
}
.new-footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}
.new-footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: all .25s ease;
}
.new-footer-social a:hover {
  transform: translateY(-3px) scale(1.1);
  background-color: var(--accent-blue);
  color: #fff !important;
}
html[data-theme='dark'] .new-footer-social a:hover {
  color: #0f172a !important;
}
.new-footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-scroll-top {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}
.footer-scroll-top:hover {
  transform: translateX(-50%) translateY(-3px);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}
.footer-scroll-top svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 768px) {
  .new-footer-container {
    flex-direction: column-reverse;
    justify-content: center;
    padding-top: 25px;
  }
}

.fixed-action-buttons {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
html[dir="rtl"] .fixed-action-buttons {
  left: auto;
  right: 25px;
}

#progress-top {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#theme-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}
#theme-toggle:hover {
  transform: scale(1.1) translateY(-2px);
  color: var(--accent-blue);
}
#theme-toggle svg {
  width: 24px;
  height: 24px;
}

.magazine-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 35px;
}
.grid-post-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;

  flex-direction: row-reverse;
}
html[dir="ltr"] .grid-post-item {
  flex-direction: row;
}
.grid-post-image {
  width: 110px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  background-color: var(--border-color);
}
.grid-post-text {
  flex-grow: 1;
}
.grid-post-meta {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}
.grid-post-meta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.grid-post-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color 0.2s;
}
.grid-post-item:hover .grid-post-title {
  color: var(--accent-blue);
}
@media (max-width: 1024px) {
  .magazine-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .magazine-grid-layout {
    grid-template-columns: 1fr;
  }
}

#LinkList998 .widget-content {
  padding: 10px 0 0 0 !important;
}
#LinkList998 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
#LinkList998 li {
  margin: 0 !important;
}
#LinkList998 a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}
#LinkList998 a:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background-color: transparent;
}
#LinkList998 svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.error-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 60vh;
  padding: 40px 20px;
}
.error-page-container {
  max-width: 600px;
  width: 100%;
}
.error-page-svg {
  max-width: 300px;
  width: 80%;
  height: auto;
  margin: 0 auto 20px;
}
.error-page-code {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 10px;
}
.error-page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.3;
}
.error-page-message {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 30px;
}
.error-page-search-form {
  position: relative;
  max-width: 400px;
  margin: 0 auto 20px;
}
.error-page-search-form input {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-container);
  color: var(--text-primary);
  padding: 0 20px 0 55px;
  font-size: 16px;
  transition: all 0.2s;
}
.error-page-search-form input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}
.error-page-search-form button {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--accent-blue);
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}
html[data-theme='dark'] .error-page-search-form button {
  color: #0f172a;
}
.error-page-search-form button:hover {
  opacity: 0.8;
}
.error-page-search-form svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 500px) {
  .error-page-title { font-size: 28px; }
  .error-page-message { font-size: 16px; }
}

.dps-container { margin-bottom: 30px; }

.dps-img-wrapper { position: relative; overflow: hidden; }
.dps-img-snippet {

  visibility: visible !important;
  opacity: 1 !important;

  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  transform: translateY(0);
  transition: transform 0.3s ease;
}

.dps-img-wrapper:hover .dps-img-snippet {
  display: block !important;
}

.dps-grid-3-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.dps-item-style1 { background-color: var(--bg-container); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.dps-item-style1:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.dps-item-style1 a { text-decoration: none; }
.dps-item-style1 .dps-img-wrapper { display: block; padding-bottom: 60%; }
.dps-item-style1 img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; transition: transform .3s ease; }
.dps-item-style1:hover img { transform: scale(1.05); }
.dps-item-style1 .dps-content { padding: 15px; }
.dps-item-style1 .dps-label { font-size: 12px; font-weight: 700; color: var(--accent-blue); margin-bottom: 8px; }
.dps-item-style1 .dps-title { font-size: 17px; font-weight: 700; color: var(--text-primary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dps-list-thumb { display: flex; flex-direction: column; gap: 20px; }
.dps-item-style2 { display: flex; gap: 15px; align-items: center; }
.dps-item-style2 a { text-decoration: none; display:contents; }
.dps-item-style2 img { width: 110px; height: 90px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.dps-item-style2 .dps-title { font-size: 16px; font-weight: 700; color: var(--text-primary); transition: color 0.2s; }
.dps-item-style2:hover .dps-title { color: var(--accent-blue); }
.dps-item-style2 .dps-meta { font-size: 13px; color: var(--text-secondary); margin-top: 5px; }
.dps-no-img-list ul { list-style: none; padding: 0; margin: 0; border-right: 2px solid var(--accent-blue); }
html[dir='ltr'] .dps-no-img-list ul { border-right: none; border-left: 2px solid var(--accent-blue); }
.dps-item-style3 { margin-bottom: 12px; }
.dps-item-style3 a { text-decoration: none; font-size: 15px; font-weight: 700; color: var(--text-secondary); display: block; padding: 8px 15px; transition: all 0.2s ease; }
.dps-item-style3 a:hover { color: var(--accent-blue); background-color: var(--bg-hover); transform: translateX(-5px); }
html[dir='rtl'] .dps-item-style3 a:hover { transform: translateX(5px); }
.dps-item-magazine-card { position: relative; overflow: hidden; border-radius: 12px; background-color: var(--border-color); }
.dps-item-magazine-card a { display: block; width: 100%; height: 100%; text-decoration: none; }
.dps-item-magazine-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.dps-item-magazine-card:hover img { transform: scale(1.05); }
.dps-item-magazine-card .dps-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); color: #fff; z-index: 2; }
.dps-item-magazine-card .dps-label { display: inline-block; background-color: var(--accent-blue); color: #fff; padding: 4px 10px; font-size: 12px; font-weight: 700; border-radius: 6px; margin-bottom: 8px; }
.dps-item-magazine-card .dps-title { font-size: 18px; font-weight: 700; line-height: 1.4; color: #fff; }
.dps-magazine-1 { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); }
.dps-magazine-1 .dps-item-magazine-card:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.dps-magazine-1 .dps-item-magazine-card:first-child .dps-title { font-size: 24px; }
@media (max-width: 768px) { .dps-magazine-1 { grid-template-columns: 1fr; grid-template-rows: auto; } .dps-magazine-1 .dps-item-magazine-card:first-child { grid-column: auto; grid-row: auto; height: 250px; } }
.dps-grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dps-random-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 220px); gap: 20px; }
.dps-random-grid .dps-item-magazine-card:nth-child(1) { grid-column: 2 / 4; grid-row: 1 / 3; }
.dps-random-grid .dps-item-magazine-card .dps-title { font-size: 16px; }
.dps-random-grid .dps-item-magazine-card:nth-child(1) .dps-title { font-size: 24px; }
@media (max-width: 768px) { .dps-random-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; grid-template-rows: unset; gap: 15px; } .dps-random-grid .dps-item-magazine-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; } }
.dps-magazine-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.dps-magazine-3-col .dps-col { display: flex; flex-direction: column; }
.dps-magazine-3-col .dps-col-large-post { display: block; text-decoration:none; position: relative; overflow: hidden; border-radius: 12px; background-color: var(--border-color); margin-bottom: 20px; }
.dps-magazine-3-col .dps-col-large-post img { width: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform 0.3s ease; }
.dps-magazine-3-col .dps-col-large-post:hover img { transform: scale(1.05); }
.dps-magazine-3-col .dps-col-large-post .dps-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); color: #fff; }
.dps-magazine-3-col .dps-col-large-post .dps-title { font-size: 18px; font-weight: 700; line-height: 1.4; color: #fff; margin: 0; }
.dps-magazine-3-col .dps-col-post-meta { font-size: 12px; opacity: 0.8; margin-top: 5px; color: #fff; }
.dps-magazine-3-col .dps-col-small-post-list { display: flex; flex-direction: column; gap: 15px; }
.dps-magazine-3-col .dps-col-small-post { display: flex; gap: 15px; align-items: center; text-decoration: none; }
.dps-magazine-3-col .dps-col-small-post img { width: 80px; height: 70px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.dps-magazine-3-col .dps-col-small-post .dps-title { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--text-primary); transition: color 0.2s; }
.dps-magazine-3-col .dps-col-small-post:hover .dps-title { color: var(--accent-blue); }
@media (max-width: 900px) { .dps-magazine-3-col { grid-template-columns: 1fr; } }
.dps-magazine-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px 35px; }
.dps-magazine-grid-3 .grid-post-item { display: flex; align-items: center; gap: 15px; text-decoration: none; flex-direction: row-reverse; }
html[dir="ltr"] .dps-magazine-grid-3 .grid-post-item { flex-direction: row; }
.dps-magazine-grid-3 .grid-post-image { width: 110px; height: 90px; object-fit: cover; border-radius: 12px; flex-shrink: 0; background-color: var(--border-color); }
.dps-magazine-grid-3 .grid-post-text { flex-grow: 1; }
.dps-magazine-grid-3 .grid-post-meta { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.dps-magazine-grid-3 .grid-post-meta svg { width: 14px; height: 14px; fill: currentColor; }
.dps-magazine-grid-3 .grid-post-title { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--text-primary); transition: color 0.2s; }
.dps-magazine-grid-3 .grid-post-item:hover .grid-post-title { color: var(--accent-blue); }
@media (max-width: 1024px) { .dps-magazine-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dps-magazine-grid-3 { grid-template-columns: 1fr; } }
.dps-loading-msg { color: var(--text-secondary); font-style: italic; text-align: center; padding: 20px; }
.dps-news-slider-v2 { position: relative; width: 100%; padding-bottom: 25px; margin-bottom: 30px; }
.dps-ns2-grid { display: flex; justify-content: center; align-items: center; gap: 15px; height: 90px; list-style: none; padding: 0; margin: 0; direction: ltr; }
.dps-ns2-item { position: relative; flex-shrink: 0; width: 80px; height: 80px; border-radius: 16px; overflow: hidden; cursor: pointer; opacity: 0.6; transform: scale(0.9); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 3px solid transparent; }
.dps-ns2-item.active { width: 100px; height: 100px; opacity: 1; transform: scale(1.1) translateY(-10px); border-color: var(--accent-blue); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2); }
.dps-ns2-item img { width: 100%; height: 100%; object-fit: cover; }
.dps-ns2-item .num { position: absolute; top: 5px; left: 5px; background: rgba(0,0,0,.5); color: #fff; font-size: 11px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.dps-ns2-title-bar { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 90%; max-width: 600px; text-align: center; background: var(--bg-container); color: var(--text-primary); padding: 8px 15px; font-size: 15px; font-weight: 700; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--border-color); box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: opacity 0.3s; }
@media (max-width: 600px) { .dps-ns2-grid { justify-content: flex-start; overflow-x: auto; padding: 0 15px; scrollbar-width: none; -ms-overflow-style: none; } .dps-ns2-grid::-webkit-scrollbar { display: none; } .dps-ns2-item { width: 70px; height: 70px; border-radius: 12px; } .dps-ns2-item.active { width: 85px; height: 85px; } .dps-ns2-title-bar { font-size: 14px; } }
.dps-v-ticker { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; background-color: var(--bg-container); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; min-height: 400px; }
html[dir="ltr"] .dps-v-ticker { grid-template-columns: 1fr 2fr; }
.dps-vt-nav { display: flex; flex-direction: column; overflow: hidden; }
.dps-vt-nav-item { padding: 15px 12px; cursor: pointer; border-right: 4px solid transparent; transition: all 0.3s ease; position: relative; opacity: 0.7; }
html[dir="ltr"] .dps-vt-nav-item { border-right: none; border-left: 4px solid transparent; }
.dps-vt-nav-item:not(:last-child) { border-bottom: 1px solid var(--border-color); }
.dps-vt-nav-item .dps-title { font-size: 15px; font-weight: 700; color: var(--text-secondary); line-height: 1.6; }
.dps-vt-nav-item.active { border-right-color: var(--accent-blue); background-color: var(--bg-hover); opacity: 1; }
html[dir="ltr"] .dps-vt-nav-item.active { border-left-color: var(--accent-blue); }
.dps-vt-nav-item.active .dps-title { color: var(--text-primary); }
.dps-vt-display { position: relative; overflow: hidden; border-radius: 8px; }
.dps-vt-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(15px); transition: opacity 0.5s ease, transform 0.5s ease; display: flex; flex-direction: column; }
.dps-vt-slide.active { opacity: 1; transform: translateY(0); }
.dps-vt-slide a { text-decoration: none; display:contents; }
.dps-vt-slide .dps-vt-img-wrapper { width: 100%; padding-bottom: 60%; position: relative; flex-shrink: 0; background-color: var(--border-color); }
.dps-vt-slide img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; }
.dps-vt-slide .dps-vt-caption { padding: 15px 10px 10px 10px; background: var(--bg-hover); flex-grow: 1; }
.dps-vt-slide .dps-vt-caption .dps-title { font-size: 17px; font-weight: 700; color: var(--text-primary); line-height: 1.5; }
@media (max-width: 768px) { .dps-v-ticker { grid-template-columns: 1fr; min-height: auto; } .dps-vt-display { min-height: 350px; } .dps-vt-nav { flex-direction: row; overflow-x: auto; padding-bottom: 10px; margin-bottom: 15px; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .dps-vt-nav::-webkit-scrollbar { display: none; } .dps-vt-nav-item { flex-shrink: 0; border-right: none; border-bottom: 4px solid transparent; white-space: nowrap; } html[dir="ltr"] .dps-vt-nav-item { border-left: none; }
 .dps-vt-nav-item:not(:last-child) { border-bottom: 4px solid transparent; } .dps-vt-nav-item.active { border-bottom-color: var(--accent-blue); } }

#Header1 {

    min-height: 50px;
    display: flex;
    align-items: center;
    background: transparent !important;
}

#Header1 h1.initial-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.ai-assistant-fab {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 65px;
  height: 70px;
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;

  order: -1;
}
.ai-assistant-fab:hover {
  transform: scale(1.1) translateY(-3px);
}
.ai-assistant-svg-icon {
  width: 100%;
  height: 100%;
}

.ai-assistant-tooltip {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  right: calc(100% + 10px);
  background-color: var(--bg-container);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
}
html[dir="rtl"] .ai-assistant-tooltip {
    right: auto;
    left: calc(100% + 10px);
}
.ai-assistant-fab:hover .ai-assistant-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(50%) translateX(-5px);
  html[dir="rtl"] & {
    transform: translateY(50%) translateX(5px);
  }
}

.ai-chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
html[data-theme='light'] .ai-chat-overlay {
  background-color: rgba(241, 245, 249, 0.6);
}
.ai-chat-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ai-chat-container {
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  height: 80%;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.ai-chat-overlay.active .ai-chat-container {
    transform: scale(1);
}

.ai-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.ai-chat-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.ai-chat-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  padding: 0 5px;
}

.ai-chat-box {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ai-chat-message {
  display: flex;
  gap: 10px;
  max-width: 85%;
}
.ai-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-chat-avatar .ai-assistant-svg-icon { width: 80%; height: 80%; }
.ai-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ai-chat-bubble {
  background-color: var(--bg-hover);
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.ai-chat-bubble p { margin: 0; color: var(--text-secondary); }
.ai-chat-bubble p a { color: var(--accent-blue); text-decoration: underline; }

.ai-chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.ai-chat-message.user .ai-chat-bubble {
  background-color: var(--accent-blue);
}
.ai-chat-message.user .ai-chat-bubble p {
  color: #fff;
  html[data-theme='dark'] & {
    color: #0f172a;
  }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
}
.typing-indicator span {
  width: 8px;
  height: 8px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: -0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: -0.4s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.ai-chat-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}
.ai-chat-form {
  display: flex;
  gap: 10px;
}
.ai-chat-form input {
  flex-grow: 1;
  height: 44px;
  border-radius: 22px;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  padding: 0 20px;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s;
}
.ai-chat-form input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}
.ai-chat-form button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: var(--accent-blue);
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.ai-chat-form button:hover {
    transform: scale(1.1);
}
html[data-theme='dark'] .ai-chat-form button { color: #0f172a; }
.ai-chat-form svg { width: 22px; height: 22px; }

.ai-chat-branding {
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 8px;
    opacity: 0.7;
}

@media (max-width: 500px) {
    .ai-chat-container {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

#text-clarify-tooltip {
  position: absolute;
  z-index: 1001;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  display: none;
  transform: translate(-50%, 5px);
  transition: opacity 0.2s, transform 0.2s;
}
#text-clarify-tooltip button {
  background-color: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Tajawal', sans-serif;
}
#text-clarify-tooltip button:hover {
  color: var(--accent-blue);
}
#text-clarify-tooltip svg {
  width: 18px;
  height: 18px;
}

.ai-clarify-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2001;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
html[data-theme='light'] .ai-clarify-overlay {
  background-color: rgba(241, 245, 249, 0.6);
}
.ai-clarify-overlay.active {
  opacity: 1;
  visibility: visible;
}
.ai-clarify-container {
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.ai-clarify-overlay.active .ai-clarify-container {
  transform: scale(1);
}
.ai-clarify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.ai-clarify-header h3 {
  margin: 0; font-size: 18px; font-weight: 700;
}
.ai-clarify-close-btn {
  background: none; border: none; font-size: 28px;
  font-weight: 300; color: var(--text-secondary); cursor: pointer;
  line-height: 1; padding: 0 5px;
}
.ai-clarify-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 25px;
  line-height: 1.8;
  font-size: 16px;
  color: var(--text-secondary);
}

.ai-clarify-body.loading::after {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  margin: 50px auto;
  border-radius: 50%;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-blue);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ai-clarify-body,
.ai-clarify-body p {
  color: var(--text-secondary);
}

html[data-theme='light'] .ai-clarify-body,
html[data-theme='light'] .ai-clarify-body p {
  color: #171921 !important;
}

.ai-qa-box {
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin: 40px 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.ai-qa-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: var(--bg-hover);
}
.ai-qa-header-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.ai-qa-header-text h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: var(--text-primary);
}
.ai-qa-header-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.ai-qa-body {
  padding: 25px;
}
.ai-qa-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ai-qa-form input {
  flex-grow: 1;
  height: 48px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  padding: 0 20px;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s;
}
.ai-qa-form input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}
.ai-qa-form button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: var(--accent-blue);
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
html[data-theme='dark'] .ai-qa-form button { color: #0f172a; }
.ai-qa-form button:hover { transform: scale(1.1); }
.ai-qa-form svg { width: 22px; height: 22px; }

.ai-qa-response {
  min-height: 20px;
  padding: 20px;
  border-radius: 12px;
  background-color: var(--bg-hover);
  line-height: 1.8;
  color: var(--text-secondary);
  display: none;
}

.ai-qa-response.loading {
  display: block;
  text-align: center;
}
.ai-qa-response.loading::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-blue);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

html[data-theme='light'] .ai-qa-response {
  color: #171921;
}

.author-box-wrapper {
  margin-top: 40px;
  margin-bottom: 25px;
}
.author-box {
  display: flex;
  align-items: center;
  gap: 25px;
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 12px;
}
.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-container);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.author-info {
  flex-grow: 1;
}
.author-name {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.author-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.author-name a:hover {
  color: var(--accent-blue);
}
.author-bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
@media (max-width: 500px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

#comments {
  display: flex;
  flex-direction: column;
}

#comments > h3.title {
  order: 1;
}

.comments > .footer {
  order: 2;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

#Blog1_comments-block-wrapper {
  order: 3;
}

#comments, .comment-thread, #comments-block, .comment-form, .footer {
    overflow: hidden;
}

body > .avatar-image-container {
    display: none !important;
}

#comment-post-message {
  display: none !important;
}

#comments > h3.title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 30px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
  border: none !important;
}
#comments > h3.title::before {
  content: '' !important;
  display: inline-block !important;
  width: 5px !important;
  height: 24px !important;
  background-color: var(--accent-blue) !important;
  border-radius: 3px !important;
}

#comments-block .comment:not(:first-child) {
  margin-top: 15px !important;
  padding-top: 15px !important;
  border-top: 1px solid var(--border-color) !important;
}

#comments { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border-color); }
#comments-block .comment { position: relative; padding-right: 55px; }
html[dir='ltr'] #comments-block .comment { padding-right: 0; padding-left: 55px; }
.comment .avatar-image-container { position: absolute; right: 0; top: 23px; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border-color); }
html[dir='ltr'] .comment .avatar-image-container { right: auto; left: 0; }
.comment .avatar-image-container img { width: 100%; height: 100%; object-fit: cover; }
.comment .comment-block { background-color: var(--bg-hover); border-radius: 12px; padding: 15px 20px; border: none; }
.comment .comment-header { margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 15px; }
.comment .user, .comment .comment-author { font-size: 15px; font-weight: 700; color: var(--text-primary); display: inline-flex; align-items: center; gap: 6px; }
.comment .user::before, .comment .comment-author::before { content: ''; display: inline-block; width: 16px; height: 16px; background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"%3E%3Cpath fill-rule="evenodd" d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" clip-rule="evenodd" /%3E%3C/svg%3E'); background-size: contain; opacity: 0.6; }
.comment .datetime, .comment .comment-timestamp { font-size: 13px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px; }
.comment .datetime a, .comment .comment-timestamp a { color: inherit; }
.comment .datetime::before, .comment .comment-timestamp::before { content: ''; display: inline-block; width: 14px; height: 14px; background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"%3E%3Cpath fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.414-1.415L11 9.586V6z" clip-rule="evenodd" /%3E%3C/svg%3E'); background-size: contain; opacity: 0.6; }
.comment .comment-body { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.comment .comment-actions { margin-top: 12px; font-size: 13px; display: flex; gap: 15px; }
.comment .comment-actions a { color: var(--text-secondary); font-weight: 700; }
.comment .comment-actions a:hover { color: var(--accent-blue); }
.comment-by-author .comment-block { background-color: rgba(var(--accent-blue-rgb), 0.08); border: 1px solid rgba(var(--accent-blue-rgb), 0.3); }
.comment-by-author .user, .comment-by-author .comment-author { color: var(--accent-blue); }
.comment-by-author .user::after, .comment-by-author .comment-author::after { content: 'الكاتب'; font-size: 10px; font-weight: 700; background-color: var(--accent-blue); color: #fff; padding: 2px 6px; border-radius: 4px; margin-right: 8px; html[data-theme='dark'] & { color: #0f172a; } }
html[dir='rtl'] .comment-by-author .user::after, html[dir='rtl'] .comment-by-author .comment-author::after { margin-right: 0; margin-left: 8px; }
:root { --accent-blue-rgb: 58, 127, 255; }
html[data-theme='light'] { --accent-blue-rgb: 3, 93, 205; }
.comment .replies { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--border-color); }
#comment-editor { width: 100%; min-height: 150px; padding: 15px; font-size: 16px; border: 2px solid var(--border-color); border-radius: 12px; transition: all 0.25s ease; background-color: var(--input-bg); color: var(--text-primary); margin-bottom: 15px; }
#comment-editor:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(var(--accent-blue-rgb), 0.2); }
.comment-form .button { background-color: var(--accent-blue); color: #fff; border: none; padding: 12px 35px; font-size: 16px; font-weight: 700; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }
html[data-theme='dark'] .comment-form .button { color: #0f172a; }
.comment-form .button:hover { transform: translateY(-2px); opacity: 0.9; }

#translate-post-container {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 5px;
}

#translate-post-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-hover);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  top: 5px;
  margin-right: 2px;
}
#translate-post-toggle:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
}
#translate-post-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  transition: fill 0.2s;
}
#translate-post-toggle:hover svg {
  fill: #fff;
}

#translate-lang-list {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 6px;
  list-style: none;
  z-index: 10;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s;
}
#translate-post-container.active #translate-lang-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#translate-lang-list li button {
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  text-align: right;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}
html[dir='ltr'] #translate-lang-list li button {
  text-align: left;
}
#translate-lang-list li button:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

#translate-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--accent-blue);
  border-radius: 8px;
  background-color: rgba(var(--accent-blue-rgb), 0.1);
  color: var(--accent-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
}
#translate-back-btn:hover {
  background-color: var(--accent-blue);
  color: #fff;
   html[data-theme='dark'] & {
      color: #0f172a;
    }
}
#translate-back-btn svg {
  width: 16px;
  height: 16px;
}

.translator-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.single-post-body.is-translated {
  direction: ltr;
  text-align: left;
}
.single-post-body.is-translated ul,
.single-post-body.is-translated ol {
  text-align: left;
  padding-right: 0;
  padding-left: 40px;
}

@media (min-width: 901px) {
  .main-nav .LinkList ul {
    margin-left: 200px;
  }
}

.dps-magazine-pro-1 {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr 1fr;

  grid-template-areas:
    "top-left top-right"
    "bottom bottom";
}

.dps-mp1-card:nth-child(1) { grid-area: top-left; }
.dps-mp1-card:nth-child(2) { grid-area: top-right; }
.dps-mp1-card:nth-child(3) { grid-area: bottom; }

.dps-mp1-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  background-color: var(--border-color);
}

.dps-mp1-card:nth-child(1),
.dps-mp1-card:nth-child(2) {
  aspect-ratio: 3 / 4;
}
.dps-mp1-card:nth-child(3) {
  aspect-ratio: 16 / 9;
}

.dps-mp1-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.dps-mp1-card:hover .dps-mp1-img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.dps-mp1-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.dps-mp1-label {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
}

.dps-mp1-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 12px 0;
}

.dps-mp1-card:nth-child(1) .dps-mp1-title,
.dps-mp1-card:nth-child(2) .dps-mp1-title {
  font-size: 19px;
}

.dps-mp1-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.dps-mp1-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .dps-magazine-pro-1 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top-left"
      "top-right"
      "bottom";
  }
  .dps-mp1-card { aspect-ratio: 16 / 10; }
  .dps-mp1-title { font-size: 20px !important; }
}

.dps-story-reel-container {
  width: 100%;
  position: relative;
  padding: 0 15px;
  box-sizing: border-box;
}

.dps-story-reel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dps-story-reel::-webkit-scrollbar {
  display: none;
}

.dps-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  width: 90px;
}

.dps-story-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  position: relative;
  background: linear-gradient(45deg, var(--accent-blue), #a259ff, #ff516b);
  transition: transform 0.2s ease;
}
.dps-story-item:hover .dps-story-avatar {
  transform: scale(1.08);
}

.dps-story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg-container);
}

.dps-story-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.dps-story-item:hover .dps-story-title {
  color: var(--text-primary);
}

.dps-story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s ease;
}
.dps-story-nav:hover {
  background-color: var(--bg-hover);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.dps-story-nav.prev { left: -5px; }
.dps-story-nav.next { right: -5px; }
.dps-story-nav svg {
  width: 22px;
  height: 22px;
}

@media (hover: none) and (pointer: coarse) {
  .dps-story-nav {
    display: none;
  }
  .dps-story-reel-container { padding: 0; }
}

.dps-story-reel-container{width:100%;position:relative;padding:0 15px;box-sizing:border-box}.dps-story-reel{display:flex;gap:20px;overflow-x:auto;scroll-behavior:smooth;padding:20px 10px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.dps-story-reel::-webkit-scrollbar{display:none}.dps-story-item{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;flex-shrink:0;width:90px}.dps-story-avatar{width:80px;height:80px;border-radius:50%;padding:3px;position:relative;background:linear-gradient(45deg,var(--accent-blue),#a259ff,#ff516b);transition:transform .2s ease}.dps-story-item:hover .dps-story-avatar{transform:scale(1.08)}.dps-story-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:3px solid var(--bg-container)}.dps-story-title{font-size:13px;font-weight:600;color:var(--text-secondary);text-align:center;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s ease}.dps-story-item:hover .dps-story-title{color:var(--text-primary)}.dps-story-nav{position:absolute;top:50%;transform:translateY(-60%);width:40px;height:40px;border-radius:50%;background-color:var(--bg-container);border:1px solid var(--border-color);box-shadow:0 4px 10px rgba(0,0,0,.1);cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:5;transition:all .2s ease}.dps-story-nav:hover{background-color:var(--bg-hover);border-color:var(--accent-blue);color:var(--accent-blue)}.dps-story-nav.prev{left:-5px}.dps-story-nav.next{right:-5px}.dps-story-nav svg{width:22px;height:22px}@media (hover:none) and (pointer:coarse){.dps-story-nav{display:none}.dps-story-reel-container{padding:0}}

.dps-overlapping-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  min-height: 450px;
}
.dps-og-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.dps-og-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  z-index: 10;
}
.dps-og-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.dps-og-item .dps-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 15px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}
.dps-og-item .dps-title { font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; }

.dps-og-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 8; }
.dps-og-item:nth-child(2) { grid-column: 7 / 13; grid-row: 4 / 11; z-index: 2; }
.dps-og-item:nth-child(3) { grid-column: 2 / 7; grid-row: 9 / 13; z-index: 3; }

@media (max-width: 768px) {
  .dps-overlapping-grid {
    display: flex; flex-direction: column; min-height: auto;
  }
}

.dps-pinned-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: flex-start;
}
.dps-pinned-post {
  position: sticky; top: 20px; border-radius: 12px; overflow: hidden;
}
.dps-pinned-post img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.dps-pinned-post .dps-content { padding: 20px; background-color: var(--bg-container); border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 12px 12px;}
.dps-pinned-post .dps-title { font-size: 24px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.dps-pinned-post .dps-title a { color: var(--text-primary); }
.dps-pinned-post .dps-title a:hover { color: var(--accent-blue); }
.dps-pinned-post .dps-snippet { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.dps-pinned-list ul {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px;
}
.dps-pinned-list li { border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.dps-pinned-list li:last-child { border: none; }
.dps-pinned-list a { text-decoration: none; display: block; }
.dps-pinned-list .dps-meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 5px; }
.dps-pinned-list .dps-title { font-size: 16px; font-weight: 700; color: var(--text-primary); transition: color 0.2s; }
.dps-pinned-list a:hover .dps-title { color: var(--accent-blue); }

@media (max-width: 900px) {
  .dps-pinned-layout { grid-template-columns: 1fr; }
  .dps-pinned-post { position: static; }
}

.dps-numbered-grid {
  display: flex; flex-direction: column; gap: 25px;
}
.dps-num-item {
  display: flex; align-items: center; gap: 20px; text-decoration: none;
}
.dps-num-item-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--border-color);
  -webkit-text-stroke: 1px var(--text-secondary);
  line-height: 1;
  transition: all 0.3s ease;
}
.dps-num-item:hover .dps-num-item-number {
  color: var(--accent-blue);
  -webkit-text-stroke-color: var(--accent-blue);
}
.dps-num-item-img {
  width: 90px; height: 75px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
}
.dps-num-item-content .dps-title {
  font-size: 17px; font-weight: 700; color: var(--text-primary); line-height: 1.5; transition: color 0.2s;
}
.dps-num-item:hover .dps-title { color: var(--accent-blue); }
.dps-num-item-content .dps-meta { font-size: 13px; color: var(--text-secondary); margin-top: 5px; }

.dps-polaroid-stack {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 20px 0;
}
.dps-polaroid-card {
  background-color: var(--bg-container);
  padding: 15px 15px 20px 15px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.dps-polaroid-card:hover {
  transform: translateY(-10px) rotate(0deg) !important;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  z-index: 10;
}
.dps-polaroid-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 15px;
}
.dps-polaroid-card .dps-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary); text-align: center;
}

.dps-polaroid-card:nth-child(3n+1) { transform: rotate(3deg); }
.dps-polaroid-card:nth-child(3n+2) { transform: rotate(-2.5deg); }
.dps-polaroid-card:nth-child(3n+3) { transform: rotate(1.5deg); }

.dps-atlas-slider-wrapper {
  direction: rtl;
  position: relative;
}
.dps-as-main-view {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.dps-as-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}
.dps-as-card:hover {
  transform: translateY(-5px);
}
.dps-as-card-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.dps-as-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 15px; color: #fff; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.dps-as-card-label {
  display: inline-block;
  color: #fff;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 8px;

  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dps-as-card-title {
  font-size: 16px; font-weight: 700; line-height: 1.4;
  color: #fff; margin: 0;
}
.dps-as-nav-container {
  position: relative;
  padding: 0 45px;
}
.dps-as-nav-view {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dps-as-nav-item {
  display: flex; align-items: flex-start; gap: 15px;
  cursor: pointer; padding-bottom: 10px;
  border-bottom: 3px solid transparent;
  opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s;
}
.dps-as-nav-item.is-active {
  opacity: 1;
  border-bottom-color: var(--accent-blue);
}
.dps-as-nav-item-num {
  font-size: 24px; font-weight: 800;
  color: var(--text-secondary); line-height: 1;
}
.dps-as-nav-item-details {
  display: flex; flex-direction: column; min-width: 0;
}
.dps-as-nav-item-title {
  font-size: 16px; font-weight: 700;
  color: var(--text-primary); line-height: 1.4;
  white-space: normal; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.dps-as-nav-item-meta {
  font-size: 13px; color: var(--text-secondary); margin-top: 4px;
}
.dps-as-nav-btn {
  position: absolute; top: 50%;
  transform: translateY(-70%);
  width: 36px; height: 36px; border-radius: 50%;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.dps-as-nav-btn:hover {
  background-color: var(--bg-hover);
  border-color: var(--accent-blue); color: var(--accent-blue);
}
.dps-as-nav-btn.prev { right: 0; }
.dps-as-nav-btn.next { left: 0; }
.dps-as-nav-btn svg { width: 20px; height: 20px; }
.dps-as-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; margin-top: 30px;
}
.dps-as-page-num {
  width: 32px; height: 32px; border-radius: 50%;
  background-color: var(--bg-hover); border: 1px solid var(--border-color);
  color: var(--text-secondary); font-size: 14px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  transition: all 0.3s ease; cursor: pointer;
}
.dps-as-page-num.is-active {
  background-color: var(--accent-blue); border-color: var(--accent-blue);
  color: #fff;
  html[data-theme='dark'] & { color: #0f172a; }
  transform: scale(1.1);
}
@media (max-width: 900px) {
  .dps-as-main-view, .dps-as-nav-view {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .dps-as-main-view, .dps-as-nav-view {
    grid-template-columns: 1fr;
  }
  .dps-as-main-view { max-width: 300px; margin: 0 auto 20px auto; }
  .dps-as-nav-container { display: none; }
  .dps-as-page-num { display: flex; }
}

.dps-filter-grid-container {
  width: 100%;
}

.dps-fg-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.dps-fg-filter-btn {
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dps-fg-filter-btn:hover,
.dps-fg-filter-btn.is-active {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}
html[data-theme='dark'] .dps-fg-filter-btn.is-active { color: #0f172a; }

.dps-fg-grid {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.dps-fg-item {
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: dps-fg-fade-in 0.5s ease;
  display: flex;
  flex-direction: column;
}
@keyframes dps-fg-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dps-fg-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dps-fg-item-thumb-wrapper {
  padding: 6px;
  background-color: var(--bg-hover);
  aspect-ratio: 16 / 10;
}
.dps-fg-item-thumb {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 6px;
}

.dps-fg-item-content {
  padding: 12px;
  text-align: right;
  flex-grow: 1;
  display: flex; flex-direction: column;
}

.dps-fg-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dps-fg-item:hover .dps-fg-item-title { color: var(--accent-blue); }

.dps-fg-item-meta {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
}
.dps-fg-item-meta svg { width: 12px; height: 12px; opacity: 0.7; }

@media (max-width: 600px) {
  .dps-fg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dps-fg-item-title { font-size: 13px; }
  .dps-fg-item-content { padding: 10px; }

  .dps-fg-item-meta span:first-child { display: none; }
  .dps-fg-item-meta { justify-content: flex-end; }
}

.dps-grid-slider-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  direction: rtl;
}

.dps-gs-side-cards-container {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dps-gs-side-card {
  position: relative; border-radius: 12px;
  overflow: hidden; text-decoration: none;
  background-color: var(--border-color);
  display: block;
  aspect-ratio: 16 / 9;
}
.dps-gs-side-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.dps-gs-side-card:hover .dps-gs-side-card-img { transform: scale(1.05); }
.dps-gs-side-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 15px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}
.dps-gs-side-card-title { font-size: 16px; font-weight: 700; color: #fff !important; }

.dps-gs-main-slider {
  flex: 1;
  position: relative; border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  background-color: var(--border-color);
}

.dps-gs-slides-container{position:absolute;top:0;left:0;width:100%;height:100%}.dps-gs-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:opacity .6s ease-in-out}.dps-gs-slide.is-active{opacity:1;visibility:visible;z-index:2}.dps-gs-slide-img{width:100%;height:100%;object-fit:cover}.dps-gs-slide-content{position:absolute;bottom:0;left:0;right:0;padding:25px;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,0) 100%)}.dps-gs-slide .dps-gs-label{position:absolute;top:15px;left:15px;margin-bottom:0;z-index:5}.dps-gs-slide-title{font-size:22px;font-weight:700;line-height:1.4;color:#fff!important;margin:0 0 10px}.dps-gs-slide-snippet{font-size:15px;color:rgba(255,255,255,.8)}.dps-gs-nav-btn{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background-color:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.2);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;z-index:10}.dps-gs-nav-btn:hover{background-color:rgba(0,0,0,.6)}.dps-gs-nav-btn.prev{left:15px}.dps-gs-nav-btn.next{right:15px}.dps-gs-nav-btn svg{width:22px;height:22px}.dps-gs-label{display:inline-block;color:#fff;padding:5px 12px;font-size:11px;font-weight:700;border-radius:8px;margin-bottom:8px;background-color:rgba(255,255,255,.15);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2)}

@media (max-width: 768px) {
  .dps-gs-side-cards-container, .dps-gs-main-slider {
    width: 100%;
  }
  .dps-gs-main-slider { order: -1; aspect-ratio: 16/9; min-height: auto; }
  .dps-gs-side-cards-container { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .dps-gs-side-cards-container { grid-template-columns: 1fr; }
}

.dps-hero-grid-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  min-height: 500px;
}

.dps-hg1-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  background-color: var(--border-color);
}

.dps-hg1-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dps-hg1-card:hover img {
  transform: scale(1.05);
}

.dps-hg1-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 15px;
  color: #fff;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.dps-hg1-label {
  display: inline-block;
  background-color: var(--accent-blue);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}
html[data-theme='dark'] .dps-hg1-label { color: #0f172a; }

.dps-hg1-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 8px 0;
}

.dps-hg1-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}
.dps-hg1-meta svg { width: 14px; height: 14px; }

.dps-hg1-snippet {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-top: 10px;
}

.dps-hg1-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.dps-hg1-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
.dps-hg1-card:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }
.dps-hg1-card:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; }

.dps-hg1-card:nth-child(1) .dps-hg1-title {
    font-size: 24px;
}

html[dir="ltr"] .dps-hg1-card:nth-child(1) { grid-column: 3 / 5; }
html[dir="ltr"] .dps-hg1-card:nth-child(2) { grid-column: 1 / 3; }
html[dir="ltr"] .dps-hg1-card:nth-child(3) { grid-column: 1 / 2; }
html[dir="ltr"] .dps-hg1-card:nth-child(4) { grid-column: 2 / 3; }

@media (max-width: 768px) {
  .dps-hero-grid-1 {

    grid-template-columns: repeat(2, 1fr);

    grid-auto-rows: minmax(220px, auto);
    min-height: auto;
    gap: 15px;
  }
  .dps-hg1-card {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 1 / 1;
  }
  .dps-hg1-title {
      font-size: 16px !important;
      -webkit-line-clamp: 2;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }
  .dps-hg1-snippet {
      display: none;
  }
  .dps-hg1-meta {
      font-size: 12px;
  }
  .dps-hg1-content {
      padding: 12px;
  }
}

.dps-hero-slider-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  align-items: flex-start;
  min-height: 450px;
}

.dps-hs-main-view {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--border-color);
}
.dps-hs-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}
.dps-hs-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.dps-hs-slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.dps-hs-slide-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 25px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.dps-hs-label {
  display: inline-block;
  background-color: var(--accent-blue);
  color: #fff;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
}
html[data-theme='dark'] .dps-hs-label { color: #0f172a; }

.dps-hs-slide-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff !important;
  margin: 0 0 10px 0;
}
.dps-hs-slide-snippet {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dps-hs-nav-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.dps-hs-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  border-right: 4px solid transparent;
}
html[dir='ltr'] .dps-hs-nav-item {
    border-right: none;
    border-left: 4px solid transparent;
}
.dps-hs-nav-item:hover {
  background-color: var(--bg-hover);
}
.dps-hs-nav-item.is-active {
  background-color: var(--bg-hover);
  border-right-color: var(--accent-blue);
}
html[dir='ltr'] .dps-hs-nav-item.is-active {
  border-left-color: var(--accent-blue);
}
.dps-hs-nav-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.dps-hs-nav-details {
  min-width: 0;
}
.dps-hs-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0 0 4px 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dps-hs-nav-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .dps-hero-slider-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 15px;
  }

  .dps-hs-main-view {
    aspect-ratio: 16 / 8;
    border-radius: 8px;
  }

  .dps-hs-slide-content {
    padding: 10px;
  }
  .dps-hs-slide-title {
    font-size: 14px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
  .dps-hs-label, .dps-hs-slide-snippet {
    display: none;
  }

  .dps-hs-nav-list {
    gap: 8px;
  }
  .dps-hs-nav-item {
    padding: 7px;
    gap: 8px;
    border-radius: 6px;
  }
  .dps-hs-nav-thumb {
    width: 40px;
    height: 40px;
    border-radius: 5px;
  }
  .dps-hs-nav-title {
    font-size: 12px;
    margin: 0;
  }
  .dps-hs-nav-meta {
    font-size: 10px;
  }
}

.main-nav .has-dropdown:hover > .submenu,
.main-nav .has-megamenu:hover > .megamenu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .has-megamenu > a {
  position: relative;
  padding-left: 25px !important;
  padding-right: 15px !important;
}

.main-nav .has-megamenu > a::after {
  content: '\25BC';
  font-size: 12px;
  color: var(--text-secondary);
  position: absolute;
  top: 50%;
  transform: translateY(-45%);
  left: 10px;
  right: auto;
  transition: all 0.25s ease;
}

.main-nav li.has-megamenu:hover > a::after {
  transform: translateY(-45%) rotate(180deg);
  color: var(--text-primary);
}

.megamenu-wrapper {
  position: absolute;
  top: 100%;
  left: -250px;
  right: auto;
  width: 550px;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.main-nav li.has-megamenu {
  position: relative;
}

.megamenu-posts {
  width: 100%;
}

.megamenu-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.megamenu-posts-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.mm-post-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 8px;
}

.mm-post-card-img-wrapper {
  position: relative;
  padding-bottom: 70%;
  background-color: var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mm-post-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mm-post-card:hover img {
  transform: scale(1.05);
}

.mm-post-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-secondary);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mm-post-card:hover .mm-post-card-title {
  color: var(--accent-blue);
}

@media (max-width: 900px) {
  .megamenu-wrapper {
    display: none !important;
  }

  .main-nav .has-megamenu > a::after {
    display: none !important;
  }
}

.dps-pinned-list-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.dps-mpl-large-post {
  grid-column: 2 / 3;
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--border-color);
  aspect-ratio: 1 / 1;
  text-decoration: none;
}
html[dir="rtl"] .dps-pinned-list-layout {
  direction: ltr;
}
.dps-mpl-large-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.dps-mpl-large-post:hover .dps-mpl-large-img {
  transform: scale(1.05);
}
.dps-mpl-large-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px; color: #fff; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.dps-mpl-label {
  display: inline-block;
  color: #fff; padding: 5px 12px;
  font-size: 11px; font-weight: 700;
  border-radius: 6px; margin-bottom: 10px;
}
html[data-theme='dark'] .dps-mpl-label { color: #0f172a !important; }
.dps-mpl-large-title {
  font-size: 20px; font-weight: 700;
  line-height: 1.4; color: #fff; margin: 0;
}
.dps-mpl-large-meta {
  font-size: 13px; opacity: 0.8; margin-top: 8px;
}

.dps-mpl-list-wrapper {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dps-mpl-list-item {
  display: flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
  flex-direction: row-reverse !important;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.dps-mpl-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.dps-mpl-list-thumb {
  width: 110px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: var(--border-color);
}
.dps-mpl-list-text {
  flex-grow: 1;
  text-align: right !important;
}
.dps-mpl-list-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 5px;
  transition: color 0.2s;
}
.dps-mpl-list-item:hover .dps-mpl-list-title {
  color: var(--accent-blue);
}
.dps-mpl-list-date {
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .dps-pinned-list-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    direction: initial;
  }
  .dps-mpl-large-post {
    order: -1;
    aspect-ratio: 16 / 10;
  }
  .dps-mpl-list-wrapper {
    justify-content: flex-start;
    gap: 20px;
  }
  .dps-mpl-list-item {
    padding-bottom: 20px;
  }
}

.dps-dual-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.dps-dcl-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dps-dcl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.dps-dcl-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  position: relative;
  padding-bottom: 10px;
}
.dps-dcl-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-blue);
}
html[dir="ltr"] .dps-dcl-title::after {
  right: auto;
  left: 0;
}
.dps-dcl-more-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}
.dps-dcl-more-link:hover {
  color: var(--accent-blue);
}

.dps-dcl-large-post {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--border-color);
}
.dps-dcl-large-post img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.dps-dcl-large-post:hover img {
  transform: scale(1.05);
}
.dps-dcl-large-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 15px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}
.dps-dcl-label {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff; padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  border-radius: 6px; margin-bottom: 8px;
}
.dps-dcl-large-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff; margin: 0 0 5px 0;
}
.dps-dcl-large-meta {
  font-size: 12px;
  opacity: 0.8;
}

.dps-dcl-small-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.dps-dcl-small-post {
  display: flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
}
.dps-dcl-small-post img {
  width: 80px; height: 70px;
  object-fit: cover; border-radius: 8px;
  flex-shrink: 0; background-color: var(--border-color);
}
.dps-dcl-small-content .dps-dcl-small-title {
  font-size: 14px; font-weight: 700;
  line-height: 1.5; color: var(--text-primary);
  margin-bottom: 4px; transition: color 0.2s;
}
.dps-dcl-small-post:hover .dps-dcl-small-title {
  color: var(--accent-blue);
}
.dps-dcl-small-content .dps-dcl-small-date {
  font-size: 12px; color: var(--text-secondary);
}

@media (max-width: 768px) {
  .dps-dual-column-layout {
    grid-template-columns: 1fr;
  }
}

.main-content-grid .dps-container {
  position: relative;
  padding: 25px;
  border-radius: 12px;
  margin-top: 30px;
  margin-bottom: 30px;

  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.main-content-grid .dps-container .hs-title-wrapper {
  position: absolute;
  top: -30px;
  right: 25px;
  background-color: var(--bg-container);
  padding: 6px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  z-index: 2;
  margin-bottom: 0;
}

.main-content-grid .dps-container .hs-title-wrapper .hs-title-text {
  padding-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}
.main-content-grid .dps-container .hs-title-wrapper .hs-title-text::after {
  display: none;
}

.main-content-grid .dps-container .hs-title-wrapper .hs-title-more-btn {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    font-size: 13px;
}
html[dir="rtl"] .main-content-grid .dps-container .hs-title-wrapper .hs-title-more-btn {
    left: auto;
    right: -50px;
}

@media (max-width: 500px) {
  .main-content-grid .dps-container {
    padding: 20px 15px;
  }
  .main-content-grid .dps-container .hs-title-wrapper {
    right: 15px;
  }
  .main-content-grid .dps-container .hs-title-wrapper .hs-title-more-btn {
      display: none;
  }
}

.main-content-grid .dps-container:has(.dps-dual-column-layout) {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

.dps-dual-column-layout .dps-dcl-column {
  background-color: var(--bg-container);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dps-dual-column-layout .dps-dcl-header {
  margin: -20px -20px 20px -20px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}
.dps-dual-column-layout .dps-dcl-title {
  padding-bottom: 0;
}
 .dps-dual-column-layout .dps-dcl-title::after {
  bottom: -16px;
  width: 50px;
}

@media (max-width: 768px) {
   .dps-dual-column-layout {
     gap: 0;
   }
   .dps-dual-column-layout .dps-dcl-column {
     margin-bottom: 25px;
   }
   .dps-dual-column-layout .dps-dcl-column:last-child {
     margin-bottom: 0;
   }
}

.dps-grid-3-col {
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.dps-grid-3-col .dps-item-style1 {
  background-color: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.2s ease-in-out;
}
.dps-grid-3-col .dps-item-style1:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.dps-grid-3-col .dps-img-wrapper {
  padding-bottom: 65%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}
.dps-grid-3-col .dps-img-snippet {
  display: none !important;
}
.dps-grid-3-col .dps-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
}

.dps-grid-3-col .dps-content {
  padding: 0;
  text-align: right;
}
.dps-grid-3-col .dps-title {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
  -webkit-line-clamp: 2;
}

.dps-grid-3-col .dps-item-style1 .dps-content::after {
    content: attr(data-date);
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
  .dps-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dps-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dps-pro-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.dps-pro-large-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-container);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  text-decoration: none;
  height: 100%;
}
.dps-pro-large-card .dps-pro-img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.dps-pro-large-card:hover .dps-pro-img {
  transform: scale(1.05);
}
.dps-pro-large-card .dps-pro-content {
  padding: 18px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.dps-pro-large-card .dps-pro-label {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 10px;
  color: #fff !important;
}
.dps-pro-large-card .dps-pro-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: auto;
  transition: color 0.2s;
}
.dps-pro-large-card:hover .dps-pro-title {
  color: var(--accent-blue);
}
.dps-pro-large-card .dps-pro-meta {
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 10px;
}

.dps-pro-small-list {
  display: flex;
  flex-direction: column;
}
.dps-pro-small-item {
  display: flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}
.dps-pro-small-item:first-child {
  padding-top: 0;
}
.dps-pro-small-item:last-child {
  border-bottom: none;
}
.dps-pro-small-item .dps-pro-img {
  width: 90px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.dps-pro-small-item .dps-pro-img {
    transition: transform 0.35s ease;
}
.dps-pro-small-item:hover .dps-pro-img {
    transform: scale(1.08);
}
.dps-pro-small-item .dps-pro-content {
    flex-grow: 1;
}
.dps-pro-small-item .dps-pro-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 6px;
  transition: color 0.2s;
}
 .dps-pro-small-item:hover .dps-pro-title {
  color: var(--accent-blue);
}

.dps-pro-small-item .dps-pro-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
  .dps-pro-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dps-pro-large-card {
    margin-bottom: 20px;
  }
}

.dps-carousel-widget {
  position: relative;
}

.dps-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dps-carousel-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  padding-bottom: 12px;
  position: relative;
}
.dps-carousel-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 3px;
  border-radius: 1.5px;
  background: var(--accent-blue);
}
html[dir="ltr"] .dps-carousel-title::after {
    left: 0;
    right: auto;
}
.dps-carousel-nav {
  display: flex;
  gap: 10px;
}
.dps-carousel-nav button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-container);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.dps-carousel-nav button:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}
.dps-carousel-nav button svg {
  width: 20px;
  height: 20px;
}

.dps-carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 15px;
  scrollbar-width: none;
}
.dps-carousel-container::-webkit-scrollbar {
  display: none;
}

.dps-carousel-card {
  flex: 0 0 280px;
  text-decoration: none;
  position: relative;
}
.dps-carousel-card-img-wrapper {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: var(--border-color);
}
.dps-carousel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.dps-carousel-card:hover .dps-carousel-card-img {
  transform: scale(1.05);
}
.dps-carousel-rating {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #f59e0b;
  color: #000;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 2;
}

.dps-carousel-label {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
  color: #fff !important;
  text-transform: uppercase;
  background-color: var(--label-color, var(--accent-blue));
}
.dps-carousel-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0 0 8px 0;
  transition: color 0.2s;
}
.dps-carousel-card:hover .dps-carousel-card-title {
  color: var(--accent-blue);
}
.dps-carousel-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {

  .dps-carousel-container {
    overflow: hidden;
    position: relative;

    min-height: 400px;
  }

  .dps-carousel-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
    z-index: 1;
  }

  .dps-carousel-card.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }
}

.list-view-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  flex-direction: row-reverse;
}
.list-view-share-buttons {
  display: flex;
  gap: 8px;
}
.list-view-share-buttons .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--bg-hover);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.list-view-share-buttons .share-btn:hover {
  background-color: var(--accent-blue);
  color: #fff;
}
.list-view-share-buttons .share-btn svg {
  width: 16px;
  height: 18px;
  fill: currentColor;
}
.list-view-footer .pro-btn {
  padding: 6px 18px;
  font-size: 13px;
}

.custom-code-box {
  position: relative;
  background-color: #2d2d2d;
  border: 1px solid #444;
  border-radius: 12px;
  margin: 30px 0;
  padding-top: 45px;
}
.custom-code-box pre {
  margin: 0;
  padding: 20px;
  background-color: transparent !important;
  border: none !important;
  font-family: 'SF Mono', 'Fira Code', 'Roboto Mono', monospace !important;
  font-size: 14px;
  line-height: 1.7;
  color: #e0e0e0;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 400px;
  overflow: auto;
}
.custom-code-box-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #444;
}
.code-box-title {
  font-size: 13px;
  color: #9e9e9e;
  font-weight: bold;
  text-transform: uppercase;
}

.code-box-buttons {
  display: flex;
  gap: 8px;
}
.code-box-buttons button {
  background-color: transparent;
  border: 1px solid #666;
  color: #ccc;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.code-box-buttons button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #888;
  color: #fff;
}
.code-box-buttons button.copied {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
}
.code-box-buttons button svg {
    width: 14px;
    height: 14px;
}

.code-preview-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.7);backdrop-filter:blur(5px);z-index:9999;display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}.code-preview-overlay.visible{opacity:1;visibility:visible}.code-preview-modal{background-color:#fff;width:90%;height:85%;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,0.2);display:flex;flex-direction:column;transform:scale(0.9);transition:transform .3s}.code-preview-overlay.visible .code-preview-modal{transform:scale(1)}.code-preview-header{padding:10px 15px;text-align:left;border-bottom:1px solid #eee}.code-preview-close{background:#ff5f57;border:none;width:15px;height:15px;border-radius:50%;cursor:pointer}.code-preview-iframe{width:100%;height:100%;border:none;flex-grow:1;border-bottom-left-radius:12px;border-bottom-right-radius:12px}

.dps-video-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dps-vg-large-post {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: var(--bg-container);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dps-vg-large-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.dps-vg-large-img-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
}
.dps-vg-large-post .dps-vg-img {
  width: 100%; height: 100%; object-fit: cover;
}
.dps-vg-large-post .dps-vg-content { padding: 20px; }

.dps-vg-large-post .dps-vg-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dps-vg-share-buttons {
  display: flex;
  gap: 8px;
}
.dps-vg-share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.1);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
 .dps-vg-large-post:hover .dps-vg-share-buttons a {
     background-color: rgba(255,255,255,0.1);
     color: #fff;
 }
.dps-vg-share-buttons a:hover {
  background-color: var(--accent-blue) !important;
  color: #fff !important;
}
.dps-vg-share-buttons a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.dps-vg-large-post .dps-vg-label {
  margin-bottom: 0;
}
.dps-vg-large-post .dps-vg-label {
  display: inline-block; padding: 4px 12px;
  font-size: 11px; font-weight: 700; border-radius: 6px;
  margin-bottom: 12px; color: #fff !important;
}
.dps-vg-large-post .dps-vg-title {
  font-size: 19px; font-weight: 700; line-height: 1.5;
  color: var(--text-primary); margin: 0 0 15px 0; transition: color 0.2s;
}
.dps-vg-large-post:hover .dps-vg-title { color: var(--accent-blue); }
.dps-vg-large-post .dps-vg-meta {
  font-size: 12px; color: var(--text-secondary);
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.dps-vg-play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(239, 68, 68, 0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 3; transition: transform 0.2s ease, background-color 0.2s ease;
}
.dps-vg-play-icon::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.dps-vg-large-img-wrapper:hover .dps-vg-play-icon,
.dps-vg-small-post .dps-vg-card:hover .dps-vg-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: rgba(239, 68, 68, 1);
}

.dps-vg-large-img-wrapper .dps-vg-play-icon { width: 55px; height: 55px; }
.dps-vg-large-img-wrapper .dps-vg-play-icon::after { border-width: 11px 0 11px 18px; }

.dps-vg-small-post .dps-vg-play-icon { width: 40px; height: 40px; }
.dps-vg-small-post .dps-vg-play-icon::after { border-width: 8px 0 8px 13px; }

.dps-vg-small-grid {
  grid-column: 2 / 3;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 20px;
}
.dps-vg-small-post { text-align: center; }
.dps-vg-small-post .dps-vg-card {
  position: relative; display: block; text-decoration: none;
  border-radius: 12px; overflow: hidden;
  background-color: var(--border-color); margin-bottom: 10px;
}
.dps-vg-small-post .dps-vg-img {
  width: 100%; height: 100%; aspect-ratio: 16/10;
  object-fit: cover; transition: transform 0.3s ease;
}
.dps-vg-small-post .dps-vg-card:hover .dps-vg-img { transform: scale(1.05); }
.dps-vg-small-post .dps-vg-title { font-size: 14px; color: var(--text-primary); margin-bottom: 5px; }
.dps-vg-small-post .dps-vg-meta { font-size: 11px; color: var(--text-secondary); }

@media (max-width: 768px) {
  .dps-video-grid-layout { grid-template-columns: 1fr; }
  .dps-vg-large-post { grid-column: auto; grid-row: auto; order: -1; }
}

.dps-magazine-1-3-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dps-m13-large-post {
  grid-column: 1 / 4;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--border-color);
}
.dps-m13-large-post .dps-m13-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.dps-m13-large-post:hover .dps-m13-img {
  transform: scale(1.05);
}
.dps-m13-large-post .dps-m13-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 25px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}
.dps-m13-large-post .dps-m13-label {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 10px; font-size: 11px;
  font-weight: 700; border-radius: 6px;
  color: #fff !important;
}
.dps-m13-large-post .dps-m13-title {
  font-size: 24px; font-weight: 700;
  line-height: 1.4; color: #fff; margin: 0 0 8px 0;
}
.dps-m13-large-post .dps-m13-meta {
  font-size: 13px; opacity: 0.8;
}

.dps-m13-small-post .dps-m13-img-wrapper {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: var(--border-color);
}
.dps-m13-small-post .dps-m13-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.dps-m13-small-post:hover .dps-m13-img {
  transform: scale(1.05);
}

.dps-m13-small-post .dps-m13-label {
  display: inline-block;
  padding: 4px 10px; font-size: 10px;
  font-weight: 700; border-radius: 6px;
  margin-bottom: 10px;
  color: #fff !important;
}
.dps-m13-small-post .dps-m13-title {
  font-size: 16px; font-weight: 700;
  line-height: 1.5; color: var(--text-primary);
  margin-bottom: 8px; transition: color 0.2s;
}
.dps-m13-small-post:hover .dps-m13-title {
  color: var(--accent-blue);
}
.dps-m13-small-post .dps-m13-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .dps-magazine-1-3-layout {
    grid-template-columns: 1fr;
  }
  .dps-m13-large-post {
    grid-column: auto;
  }
}

body.hide-sidebar-mode #the-one-sidebar {
  display: none !important;
}

body.hide-sidebar-mode .main-and-sidebar-wrapper {
  display: block !important;
  width: 100% !important;
}

body.hide-sidebar-mode .main-content-grid {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

body.hide-sidebar-mode .blog-posts-container.list-view {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

body.hide-sidebar-mode .list-view-card {
  width: 100% !important;
  max-width: 100% !important;
}

.top-bar-pages a,
.main-nav .LinkList a {
    color: #ffffff !important;
}

html[data-theme='light'] .top-bar-pages a,
html[data-theme='light'] .main-nav .LinkList a {
    color: #000000 !important;
}

.top-bar-pages a:hover,
.main-nav .LinkList a:hover {
    color: var(--accent-blue) !important;
}

.dps-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dps-app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dps-app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-color: var(--accent-blue);
}

.dps-app-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.dps-app-content {
  flex-grow: 1;
  text-align: right;
}

.dps-app-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.dps-app-card:hover .dps-app-title {
  color: var(--accent-blue);
}

.dps-app-meta {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.dps-app-meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .dps-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dps-apps-grid {
    grid-template-columns: 1fr;
  }
  .dps-app-card {
    padding: 10px;
  }
}

.dps-apps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-hover);
}

.dps-apps-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dps-apps-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}
.dps-apps-icon svg {
  width: 20px;
  height: 20px;
}
.dps-apps-header-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.dps-apps-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #6366f1;
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s;
}
.dps-apps-more-btn:hover {
  background-color: #4f46e5;
  transform: translateY(-2px);
}
.dps-apps-more-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 500px) {
  .dps-apps-header-title { font-size: 18px; }
  .dps-apps-icon { width: 30px; height: 30px; }
}

body.hide-latest-posts-mode #Blog1,
body.hide-latest-posts-mode .section-title-container {
  display: none !important;
}

#side-settings-trigger {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: var(--bg-container);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-right: none;
    padding: 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    transition: all 0.3s ease;
}
#side-settings-trigger:hover {
    padding-right: 15px;
    color: var(--accent-blue);
}
#side-settings-trigger svg { width: 24px; height: 24px; animation: spin-gear 10s linear infinite; }
@keyframes spin-gear { 100% { transform: rotate(360deg); } }

#side-settings-dock {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) translateX(120%);
    background-color: rgba(20, 30, 48, 0.9);
    backdrop-filter: blur(10px);
padding: 0;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#side-settings-dock.active {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    visibility: visible;
}

body.dock-open #side-settings-trigger {
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
}

.dock-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: 'Tajawal', sans-serif;
    font-weight: bold;
    font-size: 14px;
}
.dock-btn:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    transform: scale(1.1);
}
.dock-btn svg { width: 22px; height: 22px; }

.close-dock:hover { background-color: rgba(255, 50, 50, 0.2); color: #ff5f57; }

.dock-divider {
    width: 20px; height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin: 0 auto;
}

#progress-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 45px; height: 45px;
  cursor: pointer; opacity: 0; visibility: hidden;
  transform: scale(0.8);
  transition: all 0.25s ease;
  z-index: 900;
}
#progress-top.show { opacity: 1; visibility: visible; transform: scale(1); }

html[dir="ltr"] #side-settings-trigger { right: auto; left: 0; border-right: 1px solid var(--border-color); border-left: none; border-radius: 0 8px 8px 0; }
html[dir="ltr"] #side-settings-dock { right: auto; left: 10px; transform: translateY(-50%) translateX(-120%); }
html[dir="ltr"] #side-settings-dock.active { transform: translateY(-50%) translateX(0); }
html[dir="ltr"] body.dock-open #side-settings-trigger { transform: translateY(-50%) translateX(-100%); }
html[dir="ltr"] #progress-top { right: auto; left: 30px; }

.mobile-internal-close {
    display: none;
}

@media (max-width: 900px) {

    .mobile-internal-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--bg-hover);
        color: var(--text-primary);
        border: 1px solid var(--border-color);
        cursor: pointer;
        z-index: 1001;
        transition: all 0.2s ease;
    }

    .mobile-internal-close:hover {
        background-color: #ff5f57;
        color: #fff;
        border-color: #ff5f57;
        transform: rotate(90deg);
    }

    .mobile-internal-close svg {
        width: 24px;
        height: 24px;
        stroke-width: 2.5;
    }

    .site-header .main-nav {
        padding-top: 70px !important;
    }
}

.translate-control-wrapper {
  position: relative;
}

.translate-popup-menu {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  right: 60px;
  background-color: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  width: 140px;
  max-height: 300px;
  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 1002;
}

.translate-control-wrapper.active .translate-popup-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.translate-lang-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 8px 12px;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.translate-lang-btn:hover {
  background-color: var(--bg-hover);
  color: var(--accent-blue);
  padding-right: 16px;
}

.translate-popup-menu::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--border-color);
}

html[dir="ltr"] .translate-popup-menu {
  right: auto;
  left: 60px;
  transform: translateY(-50%) translateX(-20px);
}
html[dir="ltr"] .translate-control-wrapper.active .translate-popup-menu {
  transform: translateY(-50%) translateX(0);
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}

.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

.mpr-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-right: 10px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}
html[dir="ltr"] .mpr-toggle-btn { margin-right: 0; margin-left: 10px; }

.mpr-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mpr-wrapper-closed .mpr-toggle-btn {
  transform: rotate(180deg);
}

.mpr-list {
  transition: max-height 0.4s ease, opacity 0.4s ease;
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
}
.mpr-wrapper-closed .mpr-list {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.mpr-title-badge {
    display: inline-flex;
    align-items: center;
    padding-left: 10px;
}

.share-more-trigger {
    background-color: var(--bg-hover) !important;
    color: var(--text-secondary) !important;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
}
.share-more-trigger:hover {
    background-color: var(--accent-blue) !important;
    color: #fff !important;
    border-color: var(--accent-blue);
}
.share-more-trigger svg { width: 20px; height: 20px; }

.share-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.share-modal-overlay.active { opacity: 1; visibility: visible; }

.share-modal-container {
    background-color: var(--bg-container);
    width: 90%; max-width: 450px;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.9); transition: transform 0.3s;
    direction: rtl;
}
.share-modal-overlay.active .share-modal-container { transform: scale(1); }

.share-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px;
}
.share-modal-header h3 {
    font-size: 18px; font-weight: 700; margin: 0;
    color: var(--text-primary);
}
.share-modal-header button {
    background: none; border: none; cursor: pointer;
    color: var(--text-secondary);
}
.share-modal-header button svg { width: 24px; height: 24px; }

.share-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.share-app-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; text-decoration: none; color: var(--text-secondary);
    font-size: 12px; font-weight: 600;
}
.share-app-item:hover { transform: translateY(-3px); }

.app-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.app-icon svg { width: 24px; height: 24px; fill: currentColor; }

.app-icon.telegram { background: #24A1DE; }
.app-icon.whatsapp { background: #25D366; }
.app-icon.twitter { background: #1DA1F2; }
.app-icon.facebook { background: #1877F2; }
.app-icon.tumblr { background: #36465D; }
.app-icon.reddit { background: #FF4500; }
.app-icon.linkedin { background: #0A66C2; }
.app-icon.pinterest { background: #E60023; }
.app-icon.email { background: #999; }

.share-divider {
    height: 1px; background-color: var(--border-color);
    margin: 0 -25px 20px -25px;
}

.copy-label {
    font-size: 14px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 10px; text-align: right;
}
.copy-box {
    display: flex;
    background-color: var(--bg-hover);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.copy-box input {
    flex-grow: 1;
    background: transparent; border: none;
    padding: 10px; font-size: 13px; color: var(--text-secondary);
    outline: none; direction: ltr;
}
.copy-box button {
    background-color: #007bff;
    color: #fff; border: none;
    padding: 0 20px; font-weight: 700; cursor: pointer;
    font-size: 14px; transition: background-color 0.2s;
}
.copy-box button:hover { background-color: #0056b3; }

.author-box-wrapper {
  margin-top: 40px; margin-bottom: 25px;
}
.author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background-color: var(--bg-hover);
  border: 1px solid var(--border-color);
  padding: 20px 30px;
  border-radius: 50px;
}

.author-avatar img {
  width: 70px; height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-container);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-info {
  flex-grow: 1;
  text-align: right;
}
.author-name {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.author-label {
  color: var(--accent-blue);
  font-weight: 900;
  margin-left: 5px;
}
.author-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.author-social {
  display: flex;
  gap: 10px;
}
.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.1);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.auth-social-btn:hover { color: #fff; transform: translateY(-3px); }
.auth-social-btn.facebook:hover { background-color: #1877F2; }
.auth-social-btn.twitter:hover { background-color: #000; }
.auth-social-btn.instagram:hover { background-color: #E1306C; }
.auth-social-btn.telegram:hover { background-color: #24A1DE; }
.auth-social-btn.whatsapp:hover { background-color: #25D366; }

.auth-social-btn svg {
  width: 18px; height: 18px;
}

@media (max-width: 650px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    border-radius: 16px;
    padding: 20px;
  }
  .author-info { text-align: center; }
}

html[data-theme='dark'] .mpr-title-text {

    background: linear-gradient(to left, #0960c5, #399fd5) !important;
}

html[data-theme='dark'] .mpr-toggle-text-btn {

    background: linear-gradient(to left, #399fd5, #0960c5) !important;
}

.store-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.store-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    background: var(--bg-container);
    padding: 15px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.store-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: var(--border-color);
}

.store-app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: var(--bg-hover);
}

.store-app-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.store-app-meta {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.store-install-btn {
    background-color: transparent;
    color: #01875f;
    border: 1px solid var(--border-color);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
    width: 100%;
    max-width: 120px;
}

.store-app-card:hover .store-install-btn {
    background-color: #01875f;
    color: #fff;
    border-color: #01875f;
}

html[data-theme='dark'] .store-install-btn {
    color: #3ddc84;
    border-color: #3ddc84;
}
html[data-theme='dark'] .store-app-card:hover .store-install-btn {
    background-color: #3ddc84;
    color: #000;
    border-color: #3ddc84;
}

.pro-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 18px;
}

.pro-game-card {
    background: var(--bg-container);
    border-radius: 16px;
    padding: 12px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pro-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.15);
    border-color: #a29bfe;
}

.pro-game-thumb-box {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.pro-game-thumb {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: var(--bg-hover);
}

.pro-game-card:hover .pro-game-thumb {
    transform: scale(1.05);
}

.pro-dl-circle {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--bg-container);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: var(--text-secondary);
    transition: 0.3s;
    border: 2px solid var(--bg-container);
}

.pro-game-card:hover .pro-dl-circle {
    background: #6c5ce7;
    color: #fff;
    transform: translateX(-50%) rotate(360deg);
}

.pro-game-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pro-game-date {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-hover);
    padding: 3px 8px;
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto;
}

html[data-theme='dark'] .pro-game-card:hover {
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.05);
}

.hero-3d-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    direction: rtl;
    background: var(--bg-container);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.hero-3d-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.hero-3d-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-3d-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.3);
    transform: scale(1.1);
    transition: opacity 0.5s;
}

html[data-theme='light'] .hero-3d-bg {
    filter: blur(20px) brightness(0.6);
}

.hero-3d-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    color: #fff;
}

.hero-3d-text {
    max-width: 50%;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.2s;
}

.hero-3d-slide.active .hero-3d-text {
    transform: translateY(0);
    opacity: 1;
}

.hero-3d-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
}

.hero-3d-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-3d-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-3d-btn {
    background: var(--accent-blue);
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-3d-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.hero-3d-btn svg { width: 18px; height: 18px; }

.hero-3d-image-area {
    width: 40%;
    display: flex;
    justify-content: center;
    transform: scale(0.8) translateX(-50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-3d-slide.active .hero-3d-image-area {
    transform: scale(1) translateX(0);
    opacity: 1;
}

.hero-3d-img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 4px solid rgba(255,255,255,0.1);
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-3d-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}
.hero-3d-nav:hover { background: #fff; color: #000; }
.hero-3d-nav.prev { right: 20px; }
.hero-3d-nav.next { left: 20px; }
.hero-3d-nav svg { width: 20px; height: 20px; }

.hero-3d-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-3d-dot {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.hero-3d-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-3d-slider { height: 500px; }
    .hero-3d-content {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }
    .hero-3d-text { max-width: 100%; margin-top: 20px; }
    .hero-3d-image-area {
        width: 100%;
        margin-top: 10px;
        transform: scale(0.8);
    }
    .hero-3d-slide.active .hero-3d-image-area { transform: scale(1); }
    .hero-3d-img { width: 180px; height: 180px; border-radius: 20px; }
    .hero-3d-title { font-size: 22px; margin-bottom: 10px; }
    .hero-3d-desc { font-size: 14px; margin-bottom: 15px; }
    .hero-3d-nav { display: none; }
}

.site-intro-section {
  background-color: transparent !important;

  border-top: 1px solid var(--border-color) !important;

  padding-top: 40px !important;
  padding-bottom: 60px !important;
  margin-bottom: 0 !important;
  margin-top: 50px !important;
}

.intro-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.intro-branding {
  flex: 2;
  display: flex;
  align-items: center;
  gap: 20px;
}
.intro-logo-box {
  display: flex;
  align-items: center;
  gap: 25px;
}
.intro-logo-box img {
  max-height: 60px;
  width: auto;
}
.intro-desc {
  border-right: 2px solid var(--border-color);
  padding-right: 20px;
}
html[dir="ltr"] .intro-desc { border-right: none; border-left: 2px solid var(--border-color); padding-right: 0; padding-left: 20px; }

.intro-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 5px 0;
}
.intro-desc p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
}

.intro-pages {
  flex: 1;
}
.intro-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}
html[dir="ltr"] .intro-pages ul { justify-content: flex-start; }

.intro-pages li a {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--bg-hover);
  color: var(--text-secondary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}
.intro-pages li a:hover {
  background-color: var(--accent-blue);
  color: #fff;
}

@media (max-width: 768px) {
  .intro-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .intro-branding {
    flex-direction: column;
    justify-content: center;
  }
  .intro-logo-box {
    flex-direction: column;
    text-align: center;
  }
  .intro-desc {
    border: none;
    padding: 0;
    margin-top: 10px;
  }
  .intro-pages ul {
    justify-content: center;
  }
}

.news-ticker-area { font-family: 'Tajawal', sans-serif; direction: rtl; margin: 20px 0; display: block; }
a { text-decoration: none; transition: color 0.2s; }

.t1-container { width: 100%; height: 44px; background: #111; overflow: hidden; display: flex; border-bottom: 2px solid #cc0000; border-radius: 4px; }
.t1-label { background: #cc0000; color: #fff; padding: 0 20px; display: flex; align-items: center; font-weight: 800; font-size: 14px; position: relative; z-index: 2; flex-shrink: 0; }
.t1-label::after { content: ''; position: absolute; left: -15px; top: 0; width: 30px; height: 100%; background: #cc0000; transform: skewX(-20deg); z-index: -1; }
.t1-content { flex-grow: 1; display: flex; align-items: center; overflow: hidden; position: relative; }
.t1-move { display: inline-block; white-space: nowrap; padding-right: 100%; animation: t-scroll 30s linear infinite; }
.t1-item { margin-left: 40px; font-size: 14px; color: #e0e0e0; display: inline-block; font-weight: 600; }
.t1-item::before { content: '🔴'; font-size: 10px; margin-left: 8px; vertical-align: middle; }

.t2-container { width: 100%; background: var(--bg-container, #ffffff); border: 1px solid var(--border-color, #e5e7eb); border-radius: 50px; height: 42px; display: flex; align-items: center; padding: 0 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); overflow: hidden; }
.t2-icon { background: #eef2ff; color: #4f46e5; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: 10px; flex-shrink: 0; }
html[data-theme='dark'] .t2-icon { background: rgba(79, 70, 229, 0.2); }
.t2-label { font-weight: 800; color: #4f46e5; font-size: 13px; margin-left: 15px; white-space: nowrap; }
.t2-content { flex-grow: 1; overflow: hidden; white-space: nowrap; position: relative; mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent); }
.t2-move { display: inline-block; padding-right: 100%; animation: t-scroll 35s linear infinite; }
.t2-item { color: var(--text-primary, #374151); font-size: 13px; margin-left: 30px; font-weight: 600; }

.t3-container { width: 100%; background: linear-gradient(90deg, #2563eb, #9333ea); color: white; height: 42px; display: flex; align-items: center; border-radius: 8px; overflow: hidden; }
.t3-label { background: rgba(0,0,0,0.2); height: 100%; padding: 0 20px; display: flex; align-items: center; font-weight: bold; font-size: 14px; white-space: nowrap; }
.t3-content { flex-grow: 1; overflow: hidden; white-space: nowrap; }
.t3-move { display: inline-block; padding-right: 100%; animation: t-scroll 25s linear infinite; }
.t3-item { margin-left: 35px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); }
.t3-item span { background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 4px; font-size: 11px; margin-left: 8px; }

.t4-container {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 5px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    overflow: hidden;
}
html[data-theme='dark'] .t4-container {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.t4-label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0 25px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
    margin-left: 10px;
    flex-shrink: 0;
    z-index: 2;
}

.t4-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to left, transparent, black 5%, black 95%, transparent);
}

.t4-move {
    display: inline-block;
    padding-right: 100%;
    animation: t-scroll 30s linear infinite;
    white-space: nowrap;
}

.t4-item {
    color: var(--text-primary, #333);
    font-weight: 600;
    font-size: 14px;
    margin-left: 40px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}
.t4-item:hover { color: #764ba2; }

.t4-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #764ba2;
    border-radius: 50%;
    margin-left: 10px;
    opacity: 0.5;
}

.t5-container { width: 100%; background: var(--bg-container, #f8f9fa); border: 1px solid var(--border-color, #ddd); border-right: 4px solid #2ecc71; border-radius: 8px; height: 46px; display: flex; align-items: center; padding: 0 15px; overflow: hidden; }
.t5-label { font-weight: 800; color: #2ecc71; margin-left: 15px; font-size: 14px; flex-shrink: 0; }
.t5-wrapper { height: 46px; overflow: hidden; flex-grow: 1; position: relative; }
.t5-list { display: flex; flex-direction: column; animation: t5-slide 15s infinite cubic-bezier(0.23, 1, 0.32, 1); }
.t5-item { height: 46px; display: flex; align-items: center; color: var(--text-secondary, #555); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@keyframes t-scroll { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(100%, 0, 0); } }
@keyframes t5-slide {
    0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-46px); }
    40%, 56% { transform: translateY(-92px); } 60%, 76% { transform: translateY(-138px); }
    80%, 96% { transform: translateY(-184px); } 100% { transform: translateY(0); }
}

#progress-top {
    display: flex !important;
    justify-content: center;
    align-items: center;

    background-color: var(--bg-container) !important;

    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--accent-blue);
    overflow: hidden;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring__track {
    stroke: var(--border-color) !important;
    stroke-width: 4;
    fill: transparent !important;
}

.progress-ring__circle {
    stroke: var(--accent-blue) !important;
    stroke-width: 4;
    fill: transparent !important;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.35s;
}

.progress-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    fill: currentColor !important;
    z-index: 10;
}

body.header-style-1 .top-bar-wrapper::after { display: none !important; }

body.header-style-1 .site-container {
    max-width: 100% !important; padding: 0 !important; margin: 0 !important; overflow-x: clip !important;
}

body.header-style-1 .main-and-sidebar-wrapper,
body.header-style-1 .site-intro-section,
body.header-style-1 .new-site-footer,
body.header-style-1 .homepage-flexible-sections {
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

body.header-style-1 .section-title-container {
    max-width: 1250px !important;

    margin: 40px auto 30px auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
body.header-style-1 .news-ticker-section { max-width: 1350px !important; width: 98% !important; margin: 5px auto !important; padding: 0 !important; box-sizing: border-box !important; }

body.header-style-1 .top-bar-wrapper {
    background-color: #f9f9f9 !important;
    border-top: none !important;
    width: 100% !important; margin: 0 !important; padding: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

html[data-theme='dark'] body.header-style-1 .top-bar-wrapper {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
}

body.header-style-1 .top-bar-container {
    display: flex !important; justify-content: space-between !important; align-items: center !important;
    width: 100% !important; padding: 5px 50px !important; box-sizing: border-box !important;
}

body.header-style-1 .top-bar-pages ul { gap: 25px !important; margin: 0 !important; padding: 0 !important; }
body.header-style-1 .top-bar-pages a { font-weight: 600 !important; color: #555 !important; font-size: 12px !important; }
html[data-theme='dark'] body.header-style-1 .top-bar-pages a { color: #94a3b8 !important; }

body.header-style-1 .top-bar-pages a:hover { color: #cc0000 !important; }
html[data-theme='dark'] body.header-style-1 .top-bar-pages a:hover { color: #38bdf8 !important; }

body.header-style-1 .top-bar-social ul { gap: 15px !important; margin: 0 !important; padding: 0 !important; }
body.header-style-1 .top-bar-social svg { width: 15px; height: 15px; fill: #666; }
html[data-theme='dark'] body.header-style-1 .top-bar-social svg { fill: #94a3b8 !important; }

body.header-style-1 .top-bar-social a:hover svg { fill: #cc0000 !important; }
html[data-theme='dark'] body.header-style-1 .top-bar-social a:hover svg { fill: #38bdf8 !important; }

body.header-style-1 .site-header {
    width: 100% !important;
    background-color: #ffffff !important;
    padding: 8px 50px !important;
    margin: 0 !important;
    display: flex !important; justify-content: space-between !important; align-items: center !important;
    box-sizing: border-box !important;

    border-bottom: 4px solid #cc0000 !important;
    border-radius: 0 0 30px 30px !important;
    overflow: visible !important;
    z-index: 100 !important;
    position: relative !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme='dark'] body.header-style-1 .site-header {
    background-color: #1e293b !important;
    border-bottom-color: #38bdf8 !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5) !important;
}

body.header-style-1 #Header1 h1 { font-size: 30px !important; font-weight: 900 !important; color: #cc0000 !important; margin: 0 !important; line-height: 1 !important; }
html[data-theme='dark'] body.header-style-1 #Header1 h1 { color: #f1f5f9 !important; }

body.header-style-1 .main-nav .LinkList ul { gap: 30px !important; }
body.header-style-1 .main-nav .LinkList a { font-size: 15px !important; font-weight: 700 !important; color: #222 !important; padding: 5px 0 !important; background: transparent !important; }
html[data-theme='dark'] body.header-style-1 .main-nav .LinkList a { color: #e2e8f0 !important; }

body.header-style-1 .main-nav .LinkList a::after {
    content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 2px;
    background-color: #cc0000; transition: all 0.3s ease; transform: translateX(-50%);
}
html[data-theme='dark'] body.header-style-1 .main-nav .LinkList a::after {
    background-color: #38bdf8 !important;
}

body.header-style-1 .main-nav .LinkList a:hover::after { width: 100%; }
body.header-style-1 .main-nav .LinkList a:hover { color: #cc0000 !important; }
html[data-theme='dark'] body.header-style-1 .main-nav .LinkList a:hover { color: #38bdf8 !important; }

body.header-style-1 #search-toggle-btn {
    width: 36px !important; height: 36px !important;
    background-color: #cc0000 !important; color: #fff !important;
    border-radius: 8px !important;
}
body.header-style-1 #search-toggle-btn:hover { background-color: #991b1b !important; }

html[data-theme='dark'] body.header-style-1 #search-toggle-btn {
    background-color: #38bdf8 !important;
    color: #0f172a !important;
}
html[data-theme='dark'] body.header-style-1 #search-toggle-btn:hover {
    background-color: #0ea5e9 !important;
}

body.header-style-1 #search-toggle-btn svg { width: 18px !important; height: 18px !important; fill: currentColor !important; }

@media (max-width: 900px) {
    body.header-style-1 .site-header { border-radius: 0 !important; padding: 12px 20px !important; justify-content: space-between !important; box-shadow: none !important; border-bottom: 1px solid var(--border-color) !important; position: relative !important; z-index: 1001 !important; }
    body.header-style-1 .top-bar-wrapper { display: none !important; }
    body.header-style-1 .news-ticker-section { width: 100% !important; margin: 10px 0 !important; max-width: 100% !important; }

    body.header-style-1 #search-toggle-btn { background: transparent !important; color: var(--text-primary) !important; width: auto !important; height: auto !important; border-radius: 0 !important; }
    html[data-theme='dark'] body.header-style-1 #search-toggle-btn { background: transparent !important; color: #fff !important; }
    body.header-style-1 #search-toggle-btn svg { fill: currentColor !important; }

    body.header-style-1 .site-header .main-nav {
        position: fixed !important; top: 0 !important; width: 280px !important; height: 100% !important; z-index: 9999 !important;
        background-color: var(--bg-container) !important;
        right: 0; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto !important; display: block !important;
    }
    body.mobile-menu-open.header-style-1 .site-header .main-nav { transform: translateX(0) !important; }
    body.header-style-1 .mobile-internal-close { display: flex !important; position: absolute !important; top: 15px !important; left: 15px !important; }
}

html[data-theme='dark'] .t1-label { background: #38bdf8 !important; color: #0f172a !important; }
html[data-theme='dark'] .t1-label::after { background: #38bdf8 !important; }
html[data-theme='dark'] .t1-container { border-bottom-color: #38bdf8 !important; background: #1e293b !important; }
html[data-theme='dark'] .t1-item { color: #e2e8f0 !important; }
html[data-theme='dark'] .t1-item:hover { color: #38bdf8 !important; }

html[data-theme='dark'] .t2-container { border-color: #334155 !important; background: #1e293b !important; }
html[data-theme='dark'] .t2-icon { background: rgba(56, 189, 248, 0.2) !important; color: #38bdf8 !important; }
html[data-theme='dark'] .t2-label { color: #38bdf8 !important; }
html[data-theme='dark'] .t2-item { color: #e2e8f0 !important; }

html[data-theme='dark'] .t3-item { color: #fff !important; }

html[data-theme='dark'] .t4-container { background: rgba(30, 41, 59, 0.8) !important; border-color: rgba(56, 189, 248, 0.2) !important; }
html[data-theme='dark'] .t4-label { background: #38bdf8 !important; color: #0f172a !important; }
html[data-theme='dark'] .t4-item { color: #e2e8f0 !important; }
html[data-theme='dark'] .t4-item::before { background: #38bdf8 !important; }

html[data-theme='dark'] .t5-container { background: #1e293b !important; border-color: #334155 !important; border-right-color: #38bdf8 !important; }
html[data-theme='dark'] .t5-label { color: #38bdf8 !important; }
html[data-theme='dark'] .t5-item { color: #e2e8f0 !important; }

.ticker-loading-text {
    font-size: 13px;
    font-weight: 700;
    padding: 0 10px;
    color: #444;
}

.t1-container .ticker-loading-text,
html[data-theme='dark'] .ticker-loading-text {
    color: #fff !important;
    opacity: 0.9;
}

.site-header {
  position: relative !important;
  overflow: visible !important;
}

#logo-container {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10;
}

html[dir="ltr"] #logo-container {
  right: auto;
  left: 20px;
}

#logo-container img {
  max-height: 100px !important;
  width: auto !important;
  height: auto !important;

  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}

@media (min-width: 901px) {
  .main-nav {

    margin-right: 200px !important;
  }
  html[dir="ltr"] .main-nav {
    margin-right: 0 !important;
    margin-left: 200px !important;
  }
}

body.header-style-1 .main-nav .LinkList > .widget-content > ul {
    display: flex !important;
    align-items: stretch !important;
    gap: 30px !important;
}

body.header-style-1 .main-nav .LinkList > .widget-content > ul > li > a {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    height: auto !important;
    padding: 10px 0 !important;
    text-decoration: none !important;
    border: none !important;
}

body.header-style-1 .main-nav .LinkList > .widget-content > ul > li > a::after {
    content: '' !important;
    position: absolute !important;
    top: auto !important;
    transform: none !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #cc0000 !important;
    transition: width 0.3s ease !important;
    width: 0 !important;
}

body.header-style-1 .main-nav .LinkList > .widget-content > ul > li > a:hover::after {
    width: 100% !important;
}

html[data-theme='dark'] body.header-style-1 .main-nav .LinkList > .widget-content > ul > li > a::after {
    background-color: #38bdf8 !important;
}

body.header-style-1 .main-nav .LinkList .megamenu-wrapper a,
body.header-style-1 .main-nav .LinkList .submenu a {
    display: block !important;
    padding: 0 !important;
    height: auto !important;
    border: none !important;
}

body.header-style-1 .main-nav .LinkList .megamenu-wrapper a::after,
body.header-style-1 .main-nav .LinkList .submenu a::after {
    display: none !important;
    content: none !important;
}

body.header-style-1 .main-nav .LinkList .submenu a {
    position: relative !important;
    overflow: hidden !important;

}

body.header-style-1 .main-nav .LinkList .submenu a::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #cc0000 !important;
    transition: width 0.3s ease !important;
}

body.header-style-1 .main-nav .LinkList .submenu a:hover::after {
    width: 100% !important;
}

body.header-style-1 .main-nav .LinkList .mm-post-card .mm-post-card-title {
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 3px !important;
}

body.header-style-1 .main-nav .LinkList .mm-post-card .mm-post-card-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #cc0000 !important;
    transition: width 0.3s ease !important;
}

body.header-style-1 .main-nav .LinkList .mm-post-card:hover .mm-post-card-title::after {
    width: 100% !important;
}

html[data-theme='dark'] body.header-style-1 .main-nav .LinkList .submenu a::after,
html[data-theme='dark'] body.header-style-1 .main-nav .LinkList .mm-post-card .mm-post-card-title::after {
    background-color: #38bdf8 !important;
}

.dps-news-hero-wrapper {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 20px;
    height: 460px;
    margin-bottom: 40px;
    direction: rtl;
    overflow: hidden;
}

.dps-nh-slider-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    background-color: var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.dps-nh-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

.dps-nh-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.dps-nh-slide-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.dps-nh-slider-container:hover .dps-nh-slide.active .dps-nh-slide-img {
    transform: scale(1.05);
}

.dps-nh-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.dps-nh-slider-container:hover .dps-nh-content {
    transform: translateY(0);
}

.dps-nh-label {
    background: #cc0000;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(204,0,0,0.4);
}

.dps-nh-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.dps-nh-title a { color: #fff; text-decoration: none; transition: color 0.2s; }
.dps-nh-title a:hover { color: #ffcccc; }

.dps-nh-meta {
    font-size: 13px; opacity: 0.9;
    display: flex; align-items: center; gap: 12px;
}
.dps-nh-meta svg {
    width: 16px !important; height: 16px !important;
    fill: currentColor; margin-left: 5px;
}

.dps-nh-dots {
    position: absolute; bottom: 25px; left: 25px;
    display: flex; gap: 6px; z-index: 5;
}
.dps-nh-dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dps-nh-dot.active {
    background: #cc0000;
    width: 25px; border-radius: 10px;
    box-shadow: 0 0 10px rgba(204,0,0,0.5);
}

.dps-nh-side-list {
    display: flex; flex-direction: column;
    gap: 15px; height: 100%;
    overflow-y: auto; padding-left: 5px;
}
.dps-nh-side-list::-webkit-scrollbar { width: 4px; }
.dps-nh-side-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.dps-nh-side-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px; padding: 10px;
    background: var(--bg-container);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 85px;
    position: relative;
    overflow: hidden;
}

.dps-nh-side-item:hover, .dps-nh-side-item.active {
    border-color: #cc0000;
    background-color: #fffcfc;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dps-nh-side-img {
    width: 100px !important; height: 75px !important;
    border-radius: 6px; object-fit: cover; flex-shrink: 0;
    transition: transform 0.3s ease;
}

.dps-nh-side-item:hover .dps-nh-side-img {
    transform: scale(1.05);
}

.dps-nh-side-info {
    flex-grow: 1; display: flex;
    flex-direction: column; gap: 5px;
    z-index: 1;
}

.dps-nh-side-title {
    font-size: 14px; font-weight: 700;
    color: var(--text-primary); line-height: 1.4;
    margin: 0; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.dps-nh-side-item:hover .dps-nh-side-title,
.dps-nh-side-item.active .dps-nh-side-title {
    color: #cc0000;
}

.dps-nh-side-date {
    font-size: 11px; color: var(--text-secondary);
    display: flex; align-items: center;
}
.dps-nh-side-date svg {
    width: 14px !important; height: 14px !important;
    fill: currentColor; margin-left: 4px;
}

html[data-theme='dark'] .dps-nh-label {
    background-color: #38bdf8 !important;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}
html[data-theme='dark'] .dps-nh-dot.active {
    background-color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

html[data-theme='dark'] .dps-nh-side-item:hover,
html[data-theme='dark'] .dps-nh-side-item.active {
    border-color: #38bdf8 !important;
    background-color: rgba(56, 189, 248, 0.08) !important;
}

html[data-theme='dark'] .dps-nh-side-item:hover .dps-nh-side-title,
html[data-theme='dark'] .dps-nh-side-item.active .dps-nh-side-title {
    color: #38bdf8 !important;
}

@media (max-width: 900px) {
    .dps-news-hero-wrapper {
        grid-template-columns: 1fr; height: auto;
    }
    .dps-nh-slider-container { height: 260px; }
    .dps-nh-side-list { height: auto; overflow: visible; }
    .dps-nh-title { font-size: 18px; }
}

body.header-style-2 .site-container {
    max-width: 100% !important; padding: 0 !important; margin: 0 !important; overflow-x: clip !important;
}

body.header-style-2 .main-and-sidebar-wrapper,
body.header-style-2 .site-intro-section,
body.header-style-2 .new-site-footer,
body.header-style-2 .homepage-flexible-sections {
    max-width: 1250px !important; margin: 0 auto !important;
    padding-left: 20px !important; padding-right: 20px !important;
}

body.header-style-2 .section-title-container {
    max-width: 1250px !important; margin: 40px auto 30px auto !important;
    padding-left: 20px !important; padding-right: 20px !important;
}

body.header-style-2 .top-bar-wrapper {
    background-color: #1e293b !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 8px 0 !important;
    margin-bottom: 0 !important;
}
body.header-style-2 .top-bar-wrapper::after { display: none !important; }

html[data-theme='dark'] body.header-style-2 .top-bar-wrapper {
    background-color: #0f172a !important;
    border-bottom-color: #1e293b !important;
}

body.header-style-2 .top-bar-container {
    max-width: 1250px !important; margin: 0 auto !important;
    display: flex !important; justify-content: space-between !important;
    color: #94a3b8 !important; font-size: 12px !important; font-weight: 500 !important;
}

body.header-style-2 .top-bar-pages ul { gap: 20px !important; }
body.header-style-2 .top-bar-pages a { color: #cbd5e1 !important; transition: 0.3s !important; }
body.header-style-2 .top-bar-pages a:hover { color: #fff !important; text-decoration: none !important; }

body.header-style-2 .top-bar-social ul { gap: 15px !important; }
body.header-style-2 .top-bar-social svg { fill: #94a3b8 !important; width: 14px !important; height: 14px !important; }
body.header-style-2 .top-bar-social a:hover svg { fill: #3b82f6 !important; }

body.header-style-2 .site-header {
    background-color: #ffffff !important;
    padding: 0 !important;
    margin-top: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: sticky !important; top: 0 !important; z-index: 1000 !important;
}

html[data-theme='dark'] body.header-style-2 .site-header {
    background-color: #1e293b !important;
    border-bottom-color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

body.header-style-2 #Header1 {
    margin-right: 40px !important;
    display: flex !important; align-items: center !important;
}
html[dir="ltr"] body.header-style-2 #Header1 { margin-right: 0 !important; margin-left: 40px !important; }

@media (min-width: 901px) {

    .main-nav .LinkList > .widget-content > ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        margin-left: 50px !important;
        padding: 0 !important;
    }

    .main-nav .LinkList ul li.cloned-for-mobile,
    .main-nav .LinkList ul li.mobile-social-links,
    .main-nav .LinkList ul li:has(hr) {
        display: none !important;
    }

    .main-nav .LinkList ul li a {
        display: block !important;
        white-space: nowrap !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        padding: 10px 0 !important;
    }

    .main-nav li.has-megamenu {
        position: static !important;
    }
}

html[data-theme='dark'] body.header-style-2 .main-nav .LinkList > .widget-content > ul > li > a {
    color: #e2e8f0 !important;
}

body.header-style-2 .main-nav .LinkList > .widget-content > ul > li > a::after {
    content: '' !important;
    position: absolute !important;

    top: auto !important;
    transform: none !important;

    bottom: 0 !important;
    right: 0 !important;

    width: 0 !important;
    height: 3px !important;
    background-color: #3b82f6 !important;

    transition: width 0.3s ease !important;
}
html[dir="ltr"] body.header-style-2 .main-nav .LinkList > .widget-content > ul > li > a::after {
    right: auto !important; left: 0 !important;
}

html[data-theme='dark'] body.header-style-2 .main-nav .LinkList > .widget-content > ul > li > a::after {
    background-color: #38bdf8 !important;
}

body.header-style-2 .main-nav .LinkList > .widget-content > ul > li > a:hover::after {
    width: 100% !important;
}
body.header-style-2 .main-nav .LinkList > .widget-content > ul > li > a:hover {
    color: #3b82f6 !important;
}
html[data-theme='dark'] body.header-style-2 .main-nav .LinkList > .widget-content > ul > li > a:hover {
    color: #38bdf8 !important;
}

body.header-style-2 .main-nav .LinkList .megamenu-wrapper a,
body.header-style-2 .main-nav .LinkList .submenu a {
    display: block !important;
    height: auto !important;
    padding: 10px !important;
    border: none !important;
}
body.header-style-2 .main-nav .LinkList .megamenu-wrapper a::after,
body.header-style-2 .main-nav .LinkList .submenu a::after {
    display: none !important;
    content: none !important;
}

body.header-style-2 .main-nav .LinkList .submenu a::after,
body.header-style-2 .main-nav .LinkList .mm-post-card .mm-post-card-title::after {
    content: '' !important; display: block !important;
    position: absolute !important; bottom: 0 !important; right: 0 !important;
    width: 0 !important; height: 2px !important;
    background-color: #3b82f6 !important;
    transition: width 0.3s ease !important;
}
html[dir="ltr"] body.header-style-2 .main-nav .LinkList .submenu a::after,
html[dir="ltr"] body.header-style-2 .main-nav .LinkList .mm-post-card .mm-post-card-title::after {
    right: auto !important; left: 0 !important;
}
body.header-style-2 .main-nav .LinkList .submenu a:hover::after,
body.header-style-2 .main-nav .LinkList .mm-post-card:hover .mm-post-card-title::after {
    width: 100% !important;
}

html[data-theme='dark'] body.header-style-2 .main-nav .LinkList .submenu a::after,
html[data-theme='dark'] body.header-style-2 .main-nav .LinkList .mm-post-card .mm-post-card-title::after {
    background-color: #38bdf8 !important;
}

body.header-style-2 #search-toggle-btn {
    width: 40px !important; height: 40px !important;
    border-radius: 50% !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    margin-left: 40px !important;
    transition: 0.3s !important;
}
html[dir="ltr"] body.header-style-2 #search-toggle-btn { margin-left: 0 !important; margin-right: 40px !important; }

html[data-theme='dark'] body.header-style-2 #search-toggle-btn {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #cbd5e1 !important;
}

body.header-style-2 #search-toggle-btn:hover {
    background-color: #3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
    transform: rotate(15deg) !important;
}
html[data-theme='dark'] body.header-style-2 #search-toggle-btn:hover {
    background-color: #38bdf8 !important; border-color: #38bdf8 !important; color: #0f172a !important;
}

@media (max-width: 900px) {
    body.header-style-2 .top-bar-wrapper { display: none !important; }

    body.header-style-2 .site-header {
        padding: 12px 20px !important;
        justify-content: space-between !important;
        height: auto !important;
    }

    body.header-style-2 #Header1 { margin: 0 !important; order: 1 !important; }

    body.header-style-2 #search-toggle-btn {
        margin: 0 !important; order: 2 !important;
        width: 35px !important; height: 35px !important;
        margin-left: 15px !important;
    }

    body.header-style-2 #mobile-menu-toggle { order: 3 !important; }

    body.header-style-2 .site-header .main-nav {
        background-color: #ffffff !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1) !important;
        height: 100vh !important;
    }
    html[data-theme='dark'] body.header-style-2 .site-header .main-nav {
        background-color: #1e293b !important;
    }
}

.site-header,
.top-bar-wrapper,
.main-nav .LinkList a,
#search-toggle-btn {
    transition: all 0.3s ease-in-out;
}

.notification-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.notify-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 2px solid var(--bg-container);
    display: none;
    z-index: 2;
}

@keyframes bell-ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(30deg); }
    20% { transform: rotate(0); }
    30% { transform: rotate(-30deg); }
    40% { transform: rotate(0); }
    50% { transform: rotate(15deg); }
    60% { transform: rotate(0); }
    70% { transform: rotate(-15deg); }
    100% { transform: rotate(0); }
}

.dock-btn.ringing svg {
    animation: bell-ring 1s ease;
}

.notification-popup {
    position: absolute;
    top: 0;
    right: 55px;
    width: 280px;
    background-color: var(--bg-container);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    overflow: hidden;
}

html[dir="ltr"] .notification-popup {
    right: auto;
    left: 55px;
    transform: translateX(-10px);
}

.notification-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notify-header {
    background-color: var(--bg-hover);
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.notify-content {
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.notify-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}
.notify-item:last-child { border-bottom: none; }
.notify-item:hover { background-color: var(--bg-hover); }

.notify-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.notify-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.notify-time {
    font-size: 11px;
    color: var(--accent-blue);
    font-weight: 600;
}

#side-settings-trigger.has-notification::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.live-weather-widget {
    background-color: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px 12px 4px 8px;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; margin-left: 15px;
    transition: all 0.3s ease; height: 36px;
}
.live-weather-widget:hover {
    background-color: var(--bg-container);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
#header-w-icon {
    width: 24px; height: 24px; object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
#header-temp {
    font-weight: 800; font-size: 14px;
    color: var(--text-primary); font-family: 'Tajawal', sans-serif;
    position: relative; top: 1px;
}

.weather-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 9999; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.weather-modal-overlay.active { opacity: 1; visibility: visible; }

.weather-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 90%; max-width: 380px; border-radius: 20px;
    color: #fff; padding: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative; overflow: hidden; text-align: center;
}
.weather-card::before {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 150px; height: 150px; background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.weather-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.weather-loc { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 16px; }
#close-weather { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

#w-locate-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
}

#w-locate-btn:hover {
    background: #fff;
    color: #764ba2;
    transform: translateY(-2px);
}
@keyframes pulse-locate { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

#w-icon { width: 90px; height: 90px; margin: 0 auto; display: block; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2)); }
.w-temp-box { font-size: 52px; font-weight: 800; line-height: 1; margin: 10px 0; }
.w-desc { font-size: 16px; opacity: 0.9; margin-bottom: 20px; }
.w-details { display: flex; justify-content: center; gap: 20px; font-size: 13px; background: rgba(255,255,255,0.15); padding: 8px 15px; border-radius: 12px; margin-bottom: 20px; }

.w-tabs { display: flex; background: rgba(0,0,0,0.2); border-radius: 10px; padding: 3px; margin-bottom: 15px; }
.w-tab { flex: 1; background: transparent; border: none; color: rgba(255,255,255,0.7); padding: 8px; font-size: 13px; cursor: pointer; border-radius: 8px; transition: 0.3s; font-family: inherit; }
.w-tab.active { background: #fff; color: #764ba2; font-weight: 700; }

.w-view { display: none; }
.w-view.active { display: block; animation: fadeIn 0.3s ease; }

.w-hourly-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.w-hourly-scroll::-webkit-scrollbar { display: none; }
.hourly-item { background: rgba(255,255,255,0.1); padding: 8px; border-radius: 10px; min-width: 55px; text-align: center; font-size: 12px; }
.hourly-item img { width: 30px; height: 30px; margin: 5px 0; }

.w-daily-list { display: flex; flex-direction: column; gap: 8px; max-height: 180px; overflow-y: auto; padding-right: 5px; }
.w-daily-list::-webkit-scrollbar { width: 4px; }
.w-daily-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.daily-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.1); padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.daily-item img { width: 28px; height: 28px; vertical-align: middle; }

.weather-footer { text-align: center; font-size: 10px; opacity: 0.6; margin-top: 15px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.redirect-container {
    display: flex; justify-content: center; align-items: center;
    padding: 40px 20px; text-align: center;
}
.redirect-box {
    background: var(--bg-container);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    width: 100%; max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.redirect-box h2 { margin: 0 0 20px; font-size: 24px; color: var(--text-primary); }

.timer-circle {
    position: relative; width: 100px; height: 100px; margin: 20px auto;
}
.circular-chart {
    display: block; margin: 0 auto; max-width: 100%; max-height: 100%;
}
.circle-bg {
    fill: none; stroke: var(--border-color); stroke-width: 2.5;
}
.circle {
    fill: none; stroke-width: 2.5; stroke-linecap: round;
    stroke: var(--accent-blue); transition: stroke-dasharray 1s linear;
}
#timer-count {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px; font-weight: 700; color: var(--text-primary);
}

.timer-msg { font-size: 15px; color: var(--text-secondary); margin-bottom: 25px; }

.redirect-btn {
    display: inline-block; padding: 12px 40px;
    background: var(--accent-blue); color: #fff;
    border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 16px;
    transition: all 0.3s;
}
.redirect-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); color: #fff; }
.redirect-btn.disabled {
    background: var(--bg-hover); color: var(--text-secondary);
    pointer-events: none; cursor: default;
}

.redirect-ad-slot { margin: 20px 0; }

.meta-comments-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.meta-comments-link:hover {
    color: var(--accent-blue);
}

.meta-comments-link span {
    position: relative;
    top: 1px;
}

.meta-comments-link svg {
    position: relative !important;
    top: 2px !important;
}

body.header-style-3 .site-container {
    max-width: 100% !important; padding: 0 !important; margin: 0 !important; overflow-x: clip !important;
}

body.header-style-3 .top-bar-wrapper {
    background-color: #0f172a !important;
    border-bottom: none !important;
    padding: 8px 0 !important;
    margin-bottom: 0 !important;
}
body.header-style-3 .top-bar-wrapper::after { display: none !important; }

body.header-style-3 .top-bar-container {
    max-width: 1250px !important; margin: 0 auto !important;
    padding: 0 20px !important;
    color: #cbd5e1 !important;
}
body.header-style-3 .top-bar-pages a { color: #e2e8f0 !important; font-size: 12px !important; font-weight: 500 !important; }
body.header-style-3 .top-bar-pages a:hover { color: #38bdf8 !important; }
body.header-style-3 .top-bar-social svg { fill: #94a3b8 !important; }
body.header-style-3 .top-bar-social a:hover svg { fill: #38bdf8 !important; }

body.header-style-3 .site-header {
    width: 95% !important;
    max-width: 1250px !important;
    margin: 15px auto 20px auto !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.03) !important;
    padding: 5px 30px !important;
    border: none !important;
    position: sticky !important; top: 10px !important; z-index: 1000 !important;
    display: flex !important; justify-content: space-between !important; align-items: center !important;
}

html[data-theme='dark'] body.header-style-3 .site-header {
    background-color: rgba(30, 41, 59, 0.9) !important;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05) !important;
}

body.header-style-3 #Header1 { margin: 0 !important; }
body.header-style-3 .main-nav .LinkList > .widget-content > ul { gap: 10px !important; }

body.header-style-3 .main-nav .LinkList > .widget-content > ul > li > a {
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-size: 14px !important; font-weight: 700 !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
}
body.header-style-3 .main-nav .LinkList > .widget-content > ul > li > a::after { display: none !important; }

body.header-style-3 .main-nav .LinkList > .widget-content > ul > li > a:hover {
    background-color: #eff6ff !important;
    color: #2563eb !important;
}
html[data-theme='dark'] body.header-style-3 .main-nav .LinkList > .widget-content > ul > li > a { color: #e2e8f0 !important; }
html[data-theme='dark'] body.header-style-3 .main-nav .LinkList > .widget-content > ul > li > a:hover {
    background-color: rgba(56, 189, 248, 0.1) !important; color: #38bdf8 !important;
}

body.header-style-3 #search-toggle-btn {
    width: 40px !important; height: 40px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3) !important;
    margin-left: 20px !important; border: none !important;
}
html[dir="ltr"] body.header-style-3 #search-toggle-btn { margin-left: 0 !important; margin-right: 20px !important; }
body.header-style-3 #search-toggle-btn:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4) !important; }

@media (max-width: 900px) {
    body.header-style-3 .top-bar-wrapper { display: none !important; }
    body.header-style-3 .site-header {
        width: 100% !important; max-width: 100% !important;
        margin: 0 !important; border-radius: 0 !important;
        top: 0 !important; padding: 12px 15px !important;
        background-color: #ffffff !important; backdrop-filter: none !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    html[data-theme='dark'] body.header-style-3 .site-header {
        background-color: #0f172a !important; border-bottom-color: #1e293b !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    }
    body.header-style-3 #Header1 { order: 2 !important; margin: 0 !important; }
    body.header-style-3 #mobile-menu-toggle { order: 3 !important; }
    body.header-style-3 #search-toggle-btn {
        order: 1 !important; margin: 0 !important; width: 36px !important; height: 36px !important;
        background: transparent !important; color: var(--text-primary) !important;
        box-shadow: none !important; border-radius: 50% !important; border: 1px solid var(--border-color) !important;
    }
}

body.header-style-4 .site-container {
    max-width: 100% !important; padding: 0 !important; margin: 0 !important; overflow-x: clip !important;
}

body.header-style-4 .top-bar-wrapper {
    background-color: var(--accent-blue) !important;
    border-bottom: 1px solid #000000 !important;
    padding: 8px 0 !important;
    margin-bottom: 0 !important;
}
body.header-style-4 .top-bar-wrapper::after { display: none !important; }

body.header-style-4 .top-bar-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 30px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

body.header-style-4 .top-bar-pages a { color: #ffffff !important; text-transform: uppercase !important; }
body.header-style-4 .top-bar-pages a:hover { text-decoration: underline !important; }
body.header-style-4 .top-bar-social svg { fill: #ffffff !important; }
body.header-style-4 .top-bar-social a:hover { transform: scale(1.1) !important; }

body.header-style-4 .site-header {
    background-color: #ffffff !important;

    border-bottom: 1px solid #000000 !important;

    box-shadow: 0 2px 0 #000000 !important;

    padding: 10px 30px !important;
    margin-bottom: 20px !important;
}

html[data-theme='dark'] body.header-style-4 .site-header {
    background-color: #1e293b !important;
    border-bottom-color: #ffffff !important;
    box-shadow: 0 2px 0 #ffffff !important;
}

body.header-style-4 #Header1 { margin: 0 !important; }
body.header-style-4 .main-nav .LinkList > .widget-content > ul { gap: 15px !important; }

body.header-style-4 .main-nav .LinkList > .widget-content > ul > li > a {
    padding: 8px 15px !important;
    border: 1px solid transparent !important;
    font-size: 15px !important; font-weight: 800 !important;
    color: #000000 !important;
    border-radius: 0 !important;
    transition: all 0.1s ease !important;
}
body.header-style-4 .main-nav .LinkList > .widget-content > ul > li > a::after { display: none !important; }

body.header-style-4 .main-nav .LinkList > .widget-content > ul > li > a:hover {
    border-color: #000000 !important;
    background-color: var(--accent-blue) !important;
    color: #ffffff !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 2px 2px 0 #000000 !important;
}

html[data-theme='dark'] body.header-style-4 .main-nav .LinkList > .widget-content > ul > li > a { color: #ffffff !important; }
html[data-theme='dark'] body.header-style-4 .main-nav .LinkList > .widget-content > ul > li > a:hover {
    border-color: #ffffff !important;
    background-color: var(--accent-blue) !important;
    color: #ffffff !important;
    box-shadow: 2px 2px 0 #ffffff !important;
}

body.header-style-4 #search-toggle-btn {
    width: 40px !important; height: 40px !important;
    border-radius: 0 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    margin-left: 20px !important; transition: 0.1s !important;
}
html[dir="ltr"] body.header-style-4 #search-toggle-btn { margin-left: 0 !important; margin-right: 20px !important; }

body.header-style-4 #search-toggle-btn:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 3px 3px 0 var(--accent-blue) !important;
}

html[data-theme='dark'] body.header-style-4 #search-toggle-btn {
    background-color: #ffffff !important; color: #000000 !important; border-color: #ffffff !important;
}
html[data-theme='dark'] body.header-style-4 #search-toggle-btn:hover {
    background-color: #000000 !important; color: #ffffff !important;
}

@media (max-width: 900px) {
    body.header-style-4 .top-bar-wrapper { display: none !important; }
    body.header-style-4 .site-header {
        padding: 10px 15px !important;
        box-shadow: 0 2px 0 #000000 !important;
        border-bottom: 1px solid #000000 !important;
    }
    html[data-theme='dark'] body.header-style-4 .site-header {
        box-shadow: 0 2px 0 #ffffff !important;
        border-bottom-color: #ffffff !important;
    }
    body.header-style-4 #search-toggle-btn {
        margin: 0 !important; width: 36px !important; height: 36px !important;
        background: transparent !important; color: var(--text-primary) !important;
        border: 1px solid var(--text-primary) !important; box-shadow: none !important;
    }
    body.header-style-4 #search-toggle-btn:hover { transform: none !important; box-shadow: none !important; }
}

.homepage-flexible-sections {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.news-ticker-section,
body.header-style-2 .news-ticker-section {
    max-width: 1200px !important;
    margin: 20px auto !important;
    padding: 0 15px !important;
    width: 100% !important;
}

body.header-style-2 .site-header {
    width: 100% !important;
    box-sizing: border-box !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    padding-left: max(20px, calc((100% - 1200px) / 2)) !important;
    padding-right: max(20px, calc((100% - 1200px) / 2)) !important;
}

body.header-style-2 #Header1 {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    height: 100%;
}

body.header-style-2 .main-nav .LinkList > .widget-content > ul {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.main-nav li.has-megamenu {
    position: relative !important;
}

.megamenu-wrapper {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;
    transition: all 0.25s ease !important;
}

.main-nav .has-megamenu:hover > .megamenu-wrapper {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}
#progress-top {
    bottom: 80px !important; 
}
.single-post-body img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important; 
}

.single-post-body .separator {
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

.single-post-body a img {
    display: block !important;
    margin: 0 auto !important;
}
#LinkList998 .widget-content {
    padding: 10px 0 !important;
    background: transparent !important;
}

#LinkList998 ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
}

#LinkList998 li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#LinkList998 a {
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
    width: 40px !important; 
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
    padding: 0 !important;
}

#LinkList998 a:hover {
    transform: translateY(-5px) scale(1.1) !important;
    filter: brightness(1.2) !important;
}

#LinkList998 a svg {
    width: 32px !important;
    height: 32px !important;
}



.t1-container, .t2-container, .t3-container, .t4-container, .t5-container {
    pointer-events: none;
}

.t1-item, .t2-item, .t3-item, .t4-item, .t5-item, 
.t1-label, .t2-label, .t3-label, .t4-label, .t5-label {
    pointer-events: auto;
}

.t1-container:hover .t1-move,
.t2-container:hover .t2-move,
.t3-container:hover .t3-move,
.t4-container:hover .t4-move,
.t5-container:hover .t5-list {
    animation-play-state: paused !important;
}

.t1-item:hover, .t2-item:hover, .t3-item:hover, .t4-item:hover, .t5-item:hover {
    color: var(--accent-blue) !important;
    text-decoration: underline;
    cursor: pointer;
}

html[dir="ltr"] #logo-container {
    right: 20px !important; 
    left: auto !important;
}

html[dir="ltr"] #moplus-secure-link {
    right: 20px !important; 
    left: auto !important;
}

html[dir="ltr"] #search-toggle-btn, 
html[dir="ltr"] #weather-btn, 
html[dir="ltr"] #mobile-menu-toggle {
    left: 20px !important; 
    right: auto !important;
    position: relative !important;
}

html[dir="ltr"] .site-header {
    direction: rtl !important; 
}

html[dir="ltr"] .main-nav {
    direction: ltr !important;
    text-align: left !important;
    margin-right: 150px !important; 
}

@media (max-width: 900px) {
    html[dir="ltr"] #logo-container {
        right: 10px !important;
        left: auto !important;
    }
    html[dir="ltr"] #search-toggle-btn {
        left: 55px !important; 
    }
}
body.is-full-width #sidebar, 
body.is-full-width .sidebar, 
body.is-full-width #sidebar-wrapper, 
body.is-full-width .sidebar-wrapper,
body.is-full-width #the-one-sidebar { display: none !important; }
body.is-full-width #main, 
body.is-full-width #main-wrapper, 
body.is-full-width .main-wrapper,
body.is-full-width .post-wrapper { 
    width: 100% !important; 
    max-width: 100% !important; 
    flex: 0 0 100% !important; 
    margin: 0 !important; 
    padding: 0 !important; 
}
body.is-full-width #reading-mode-btn { color: #3b82f6 !important; }
body.copy-protection-on {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
body.copy-protection-on pre, 
body.copy-protection-on code, 
body.copy-protection-on .custom-code-box,
body.copy-protection-on input,
body.copy-protection-on textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}
.single-post-title {
  display: block;
  width: fit-content; 
  max-width: 95%; 
  margin: 0 0 25px 0; 
  padding: 8px 18px; 
  border: 1px solid rgba(0, 0, 0, 0.08); 
  border-radius: 15px 5px 15px 5px; 
  background: rgba(0, 0, 0, 0.02); 
  font-weight: 700;
  line-height: 1.5;
  transition: all 0.3s ease;
}
[data-theme='dark'] .single-post-title {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.single-post-title:hover {
  border-color: var(--accent-blue, #3b82f6); 
  transform: translateY(-2px); 
}
.single-post-meta {
    display: inline-flex; 
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 7px 18px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(0, 0, 0, 0.015);
    border-radius: 50px; 
    font-size: 13px;
    color: #666;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.single-post-meta:hover {
    transform: translateY(-3px); 
    border-color: var(--accent-blue, #3b82f6); 
    background: rgba(0, 0, 0, 0.03); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
}
.single-post-meta span, 
.single-post-meta time, 
.single-post-meta a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.single-post-meta svg {
    width: 14px;
    height: 14px;
    color: var(--accent-blue, #3b82f6);
    opacity: 0.8;
}
[data-theme='dark'] .single-post-meta {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #bbb;
}
[data-theme='dark'] .single-post-meta:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.single-post-meta a:hover {
    color: var(--accent-blue, #3b82f6) !important;
}
@media screen and (max-width: 480px) {
    .single-post-meta {
        padding: 10px 15px;
        border-radius: 15px;
        width: fit-content;
    }
}
.post-share-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 6px 18px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(0, 0, 0, 0.015);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-share-bar:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.share-title {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    margin-left: 5px;
}
.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff !important; 
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.share-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.share-icon.fb { background-color: #1877F2; } 
.share-icon.x-twitter { background-color: #000000; } 
.share-icon.wa { background-color: #25D366; } 
.share-icon.pt { background-color: #BD081C; } 
.share-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}
[data-theme='dark'] .post-share-bar {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}
[data-theme='dark'] .share-icon {
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
@media screen and (max-width: 480px) {
    .post-share-bar {
        gap: 8px;
        padding: 6px 12px;
    }
    .share-title { display: none; }
}
#reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px; 
  background: transparent;
  z-index: 99999; 
  pointer-events: none; 
}
#reading-progress-bar {
  height: 100%;
  width: 0%; 
  background: linear-gradient(to right, #3b82f6, #60a5fa); 
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); 
  border-radius: 0 2px 2px 0;
  transition: width 0.1s ease-out; 
}
[data-theme='dark'] #reading-progress-bar {
  background: linear-gradient(to right, #2563eb, #3b82f6);
  box-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
}
.search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.4) !important; 
    backdrop-filter: blur(15px) !important; 
    -webkit-backdrop-filter: blur(15px) !important; 
    z-index: 999999999 !important;
    display: none;
    align-items: flex-start;
    justify-content: center;
}
[data-theme='dark'] .search-overlay { 
    background: rgba(15, 23, 42, 0.4) !important; 
}
.search-overlay.is-open { display: flex !important; }
.search-container {
    width: 90% !important;
    max-width: 700px !important;
    margin-top: 150px !important; 
    position: relative !important;
    direction: rtl !important;
}
.search-header {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    background: rgba(241, 245, 249, 0.8) !important; 
    padding: 12px 25px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important; 
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important;
}
[data-theme='dark'] .search-header { 
    background: rgba(30, 41, 59, 0.8) !important; 
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.search-input-wrapper { display: flex !important; align-items: center !important; gap: 12px !important; flex: 1 !important; }
#search-input-field {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    text-align: right !important;
}
#search-close-btn {
    background: none !important;
    border: none !important;
    font-size: 35px !important;
    cursor: pointer !important;
    color: #64748b !important;
    line-height: 1 !important;
    transition: 0.3s !important;
}
#search-close-btn:hover { color: #f43f5e !important; transform: rotate(90deg); }
.search-results-box {
    margin-top: 25px !important;
    max-height: 55vh !important;
    overflow-y: auto !important;
}
.search-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    background: rgba(255, 255, 255, 0.1) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    margin-bottom: 10px !important;
    transition: 0.3s !important;
}
[data-theme='dark'] .search-item { 
    background: rgba(255, 255, 255, 0.05) !important; 
}
.search-item:hover { 
    background: rgba(59, 130, 246, 0.2) !important; 
    transform: translateX(-5px) !important; 
}
.search-thumb { width: 55px !important; height: 55px !important; border-radius: 10px !important; object-fit: cover !important; }
.search-title { font-weight: 700 !important; font-size: 15px !important; display: block !important; }
html[dir='ltr'] .main-and-sidebar-wrapper {
    display: flex;
    gap: 20px;
}
@media screen and (min-width: 992px) {
    html[dir='ltr'] .main-content-grid {
        flex: 1;
    }
    html[dir='ltr'] #the-one-sidebar {
        width: 300px !important;
        min-width: 300px;
        margin-top: 97px !important;
    }
}
@media screen and (max-width: 991px) {
    html[dir='ltr'] .main-and-sidebar-wrapper {
        flex-direction: column;
    }
    html[dir='ltr'] #the-one-sidebar {
        width: 100% !important;
        margin-top: 20px !important;
    }
}
html[dir='ltr'] #the-one-sidebar .widget h3.title, 
html[dir='ltr'] #the-one-sidebar .section-title-container {
    text-align: left;
    border-left: none !important;  
    border-right: none !important; 
    padding-left: 0 !important;
}
html[dir='ltr'] #weather-btn {
    right: 20px !important;
    left: auto !important;
}
html[dir='ltr'] .toc-list-wrapper {
    direction: ltr !important;
    text-align: left !important;
}
html[dir='ltr'] .toc-list {
    padding-left: 20px !important; 
    padding-right: 0 !important;
    list-style-type: disc !important; 
}
html[dir='ltr'] .toc-list li {
    text-align: left !important;
    margin-bottom: 8px !important;
}
html[dir='ltr'] .toc-list li::after,
html[dir='ltr'] .toc-list li::before,
html[dir='ltr'] .toc-list a::after,
html[dir='ltr'] .toc-list a::before {
    display: none !important;
    content: none !important;
}
html[dir='ltr'] .toc-list a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}
html[dir='ltr'] .mid-post-related-wrapper {
    direction: ltr !important;
    text-align: left !important;
}
html[dir='ltr'] .mpr-title-text {
    font-size: 0 !important; 
}
html[dir='ltr'] .mpr-title-text::after {
    content: "You May Also Like"; 
    font-size: 16px !important; 
    font-weight: bold;
}
html[dir='ltr'] .mpr-toggle-text-btn {
    font-size: 0 !important;
}
html[dir='ltr'] .mpr-toggle-text-btn::after {
    content: "Hide";
    font-size: 14px !important;
}
html[dir='ltr'] .mpr-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
}
html[dir='ltr'] .mpr-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
html[dir='ltr'] .mpr-item {
    padding-left: 10px;
    border-left: 3px solid #1e40af; 
    border-right: none !important;
}
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    position: relative !important;
}

.main-and-sidebar-wrapper {
    display: flex !important;
    flex-wrap: wrap !important; 
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.main-content-grid {
    flex: 1 !important;
    min-width: 0 !important; 
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.single-post-body {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
}

.post-ad-slot, .post-ad-slot ins {
    max-width: 100% !important;
    overflow: hidden !important;
}


/* ===== Inline <style> blocks from template body ===== */

body, textarea, button, input {font-family: &#39;Tajawal&#39;, sans-serif !important;}


  <b:if cond='data:view.isError'>

    #the-one-sidebar {
      display: none !important;
    }

    .main-content-grid {
      width: 100% !important;
      max-width: 800px;
      margin: 0 auto;
    }
    .main-and-sidebar-wrapper {
      display: block;
    }
  <b:else/>

    #the-one-sidebar {
      <b:if cond='data:view.isMultipleItems'>

        margin-top: 97px !important;
      <b:else/>

        margin-top: 0px !important;
      </b:if>
    }
  </b:if>



@media (max-width: 900px) {
  .main-nav .LinkList ul {
    margin-left: 0 !important;
  }
}
  



@media (max-width: 900px) {
  .site-header .main-nav {
    visibility: hidden !important;
    transform: translateX(100%) !important;
  }
  html[dir=&quot;ltr&quot;] .site-header .main-nav {
    transform: translateX(-100%) !important;
  }

  body.mobile-menu-open .site-header .main-nav {
    visibility: visible !important;
    transform: translateX(0) !important;
  }
}



html, body {
  width: 100% !important;

}

body {
    overflow-x: clip;
}


 .st0{fill:url(#SVGID_1_);} .st1{fill:#FFFFFF;} 


            #LinkList205 { display: none !important; }
        


        .header-widget {
          background-position: <data:blog.locale.languageAlignment/>;
          background-repeat: no-repeat;
          background-size: cover;
        }
      


  .arp-related-posts-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
  }
  .arp-related-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
  }
  .arp-related-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
  .arp-related-item a {
    text-decoration: none;
    display: block;
  }
  .arp-related-thumb {
    width: 100%;
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: var(--border-color);
    transition: transform 0.2s ease-in-out;
  }
  .arp-related-item a:hover .arp-related-thumb {
    transform: scale(1.03);
  }
  .arp-related-post-title {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    transition: color 0.2s;
  }
  .arp-related-item a:hover .arp-related-post-title {
    color: var(--accent-blue);
  }
  


    .post-body a.b-tooltip-container {
      position: relative;
      display: inline-block;
    }

    .post-body a.b-tooltip-container .b-tooltip {
      display: block !important;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translate(-20%, 1px);
      visibility: hidden;
      opacity: 0;
      z-index: 1;
      transition: opacity 0.2s ease-in-out;
    }

    .post-body a.b-tooltip-container .b-tooltip iframe {
      width: 200px;
      height: 198px;
      max-width: none;
      border: none;
      border-radius: 20px;
      box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.2);
    }

    @media (hover: hover) {
      .post-body a.b-tooltip-container:hover .b-tooltip {
        visibility: visible;
        opacity: 1;
      }
    }
  

 .st0{fill:url(#SVGID_1_);} .st1{fill:#FFFFFF;} 

.cls-1{fill:#007fb5;}.cls-2{fill:#fff;}

 .st0{fill:url(#SVGID_1_);} .st1{fill:#FFFFFF;} .st2{fill:#D2E4F0;} .st3{fill:#B5CFE4;} 

 .st0{fill:url(#SVGID_1_);} .st1{fill:#FFFFFF;} 



.lazy-image-placeholder {
    background-color: #f0f0f0;
    min-height: 50px;
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.7s ease-in-out, filter 0.7s ease-in-out;
}
[data-theme=&quot;dark&quot;] .lazy-image-placeholder {
    background-color: #2d3748;
}
.lazy-image-placeholder.image-loaded {
    opacity: 1;
    filter: blur(0);
}
