
/* =========================================================
   Hasakah Media Network — Full upgrade layer
   Dropdown menus + visual effects + official navy identity
   ========================================================= */

:root {
  --hmn-navy-950: #020812;
  --hmn-navy-900: #071426;
  --hmn-navy-800: #0b1d35;
  --hmn-navy-700: #102a4a;
  --hmn-blue: #2aa7ff;
  --hmn-blue-soft: #7cd4ff;
  --hmn-gold: #d8b15f;
  --hmn-red: #d71920;
  --hmn-text: #f5fbff;
  --hmn-muted: rgba(245,251,255,.72);
  --hmn-line: rgba(255,255,255,.12);
  --hmn-glass: rgba(255,255,255,.07);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Kufi Arabic', Tahoma, Arial, sans-serif !important;
  color: var(--hmn-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(42,167,255,.18), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(216,177,95,.10), transparent 23%),
    linear-gradient(135deg, #020812 0%, #071426 46%, #020812 100%) !important;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(124,212,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,212,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 88%);
}
body::after {
  content: "";
  position: fixed;
  inset: -35%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(from 130deg, transparent, rgba(42,167,255,.06), transparent 24%, rgba(216,177,95,.035), transparent 58%);
  animation: hmnAura 42s linear infinite;
  opacity: .8;
}
@keyframes hmnAura { to { transform: rotate(360deg); } }

.navbar-container,
.navbar-container.bg-blue2 {
  position: relative;
  z-index: 30;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(7,20,38,.88) !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(24px);
}
.top-navbar.style-8,
.navbar.style-8 {
  position: relative;
  z-index: 5;
}
.navbar-container .logo-brand img,
.footer .logo img,
img[src*="hasakah_logo_transparent"] {
  object-fit: contain !important;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.36));
}
.navbar-container .logo-brand img {
  max-height: 86px !important;
  width: auto !important;
}
.mob-nav-toggles .logo-brand img {
  max-height: 72px !important;
}

/* Loading page identity */
.loading-page {
  background:
    radial-gradient(circle at 50% 35%, rgba(42,167,255,.18), transparent 35%),
    #020812 !important;
}
.hmn-loader-logo span {
  color: var(--hmn-blue-soft) !important;
  text-shadow: 0 0 24px rgba(124,212,255,.45);
}
.hmn-loader-text span {
  color: rgba(245,251,255,.78) !important;
}

/* Search and top controls */
.form-search .form-control {
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.form-search .form-control::placeholder { color: rgba(255,255,255,.58) !important; }
.form-search button {
  background: linear-gradient(135deg, var(--hmn-blue-soft), var(--hmn-blue)) !important;
  color: #02101d !important;
  border-radius: 999px !important;
}

/* Dropdown navigation */
.hmn-main-menu {
  gap: 4px;
}
.hmn-main-menu .nav-link {
  border-radius: 999px;
  color: rgba(245,251,255,.82) !important;
  font-weight: 800;
  padding: 12px 14px !important;
  transition: .22s ease;
}
.hmn-main-menu .nav-link:hover,
.hmn-main-menu .nav-link.active,
.hmn-main-menu .show > .nav-link {
  background: rgba(42,167,255,.14);
  color: var(--hmn-blue-soft) !important;
}
.hmn-live-link .icon-6 {
  background: var(--hmn-red) !important;
  box-shadow: 0 0 0 0 rgba(215,25,32,.68);
  animation: hmnLivePulse 1.8s infinite;
}
@keyframes hmnLivePulse { 70% { box-shadow: 0 0 0 12px rgba(215,25,32,0); } }

.hmn-dropdown {
  position: relative;
}
.hmn-menu,
.dropdownMenu.hmn-menu {
  min-width: 240px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045)),
    rgba(7,20,38,.96);
  box-shadow: 0 32px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(24px);
  animation: hmnDrop .22s ease both;
  transform-origin: top center;
}
@keyframes hmnDrop {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.hmn-menu .dropdown-item {
  color: rgba(245,251,255,.78) !important;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 750;
  transition: .18s ease;
}
.hmn-menu .dropdown-item:hover {
  background: rgba(42,167,255,.14);
  color: var(--hmn-blue-soft) !important;
  transform: translateX(-3px);
}
.hmn-menu .dropdown-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 8px;
  border-radius: 999px;
  background: var(--hmn-blue-soft);
  box-shadow: 0 0 14px rgba(124,212,255,.50);
}
.hmn-mega {
  width: min(760px, calc(100vw - 30px));
  padding: 18px;
}
.has-mega {
  position: static !important;
}
.has-mega .hmn-mega {
  right: 50%;
  transform: translateX(50%);
}
.mega-head {
  padding: 2px 4px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 14px;
}
.mega-head strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 5px;
}
.mega-head small {
  color: rgba(245,251,255,.52);
  font-weight: 700;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mega-grid a {
  display: block;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  transition: .22s ease;
}
.mega-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(124,212,255,.36);
  background: rgba(42,167,255,.12);
}
.mega-grid span {
  display: block;
  color: var(--hmn-blue-soft);
  font-weight: 900;
  margin-bottom: 6px;
}
.mega-grid small {
  color: rgba(245,251,255,.55);
  line-height: 1.55;
}

/* Desktop hover opens dropdown while Bootstrap click remains supported */
@media (min-width: 992px) {
  .hmn-dropdown:hover > .hmn-menu,
  .hmn-dropdown:hover > .dropdownMenu,
  .has-mega:hover > .hmn-mega {
    display: block !important;
  }
}

/* Quick effects */
.hmn-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
}
.hmn-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--hmn-blue), var(--hmn-blue-soft), var(--hmn-gold));
  box-shadow: 0 0 18px rgba(124,212,255,.48);
}
.hmn-cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(42,167,255,.12), transparent 64%);
  filter: blur(4px);
}
@media (max-width: 900px) {
  .hmn-cursor-glow { display: none; }
}

/* Section anchors */
.hmn-anchor {
  display: block;
  position: relative;
  top: -110px;
  height: 0;
  visibility: hidden;
}

/* Cards polish and reveal */
.container, .content, section, footer {
  position: relative;
  z-index: 2;
}
.hmn-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.hmn-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hmn-card-tilt {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hmn-card-tilt:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(0,0,0,.26) !important;
}

/* Modernize template blocks without breaking original */
.results-navbar,
.bg-white {
  background: rgba(255,255,255,.94) !important;
}
.tc-trending-news-style8,
.featured-news,
.breaking-news-style8,
.whats-new-style8,
.hot-videos-style8,
.categories-style8,
.footer {
  border-radius: 28px;
}
.main-content,
.tc-trending-news-style8 .content,
.featured-news .content,
.whats-new-style8 .content,
.hot-videos-style8 .content {
  border-color: rgba(255,255,255,.12) !important;
}
.card-title,
.main-card,
.post-card,
.news-card,
.trend-card,
.video-card,
.item-card {
  border-radius: 20px !important;
}
.color-blue1, .color-blue2, .text-blue1 {
  color: var(--hmn-blue-soft) !important;
}
.bg-blue1, .bg-blue2 {
  background: #071426 !important;
}
.bg-danger {
  background: var(--hmn-red) !important;
}

/* Hasakah Dock */
.hmn-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,20,38,.82);
  backdrop-filter: blur(24px);
  border-radius: 999px;
  box-shadow: 0 28px 85px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.08);
}
.hmn-dock a,
.hmn-dock button {
  border: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 13px;
  border-radius: 999px;
  color: rgba(245,251,255,.72);
  background: transparent;
  font-size: .8rem;
  font-weight: 950;
  white-space: nowrap;
  transition: .22s ease;
}
.hmn-dock a:hover,
.hmn-dock a.active,
.hmn-dock button:hover {
  background: rgba(42,167,255,.16);
  color: var(--hmn-blue-soft);
}
.hmn-dock i {
  font-size: 1.04rem;
}

/* Quick panel */
.hmn-quick-panel {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2,8,18,.58);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}
.hmn-quick-panel.open {
  opacity: 1;
  visibility: visible;
}
.hmn-quick-card {
  width: min(520px, 100%);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(42,167,255,.14), transparent 38%),
    rgba(7,20,38,.94);
  box-shadow: 0 34px 100px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
  text-align: center;
  position: relative;
}
.hmn-panel-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-size: 24px;
}
.hmn-quick-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.4));
}
.hmn-quick-card h3 {
  color: var(--hmn-blue-soft);
  margin: 14px 0 8px;
}
.hmn-quick-card p {
  color: var(--hmn-muted);
  line-height: 1.8;
}
.hmn-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.hmn-panel-grid a {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--hmn-blue-soft);
  font-weight: 850;
}

/* Mobile */
@media (max-width: 991px) {
  .hmn-main-menu {
    align-items: stretch !important;
    gap: 6px;
    padding: 12px 0;
  }
  .hmn-menu,
  .dropdownMenu.hmn-menu,
  .hmn-mega {
    width: 100%;
    min-width: 100%;
    position: static !important;
    transform: none !important;
    margin-top: 6px;
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hmn-dock {
    max-width: calc(100% - 18px);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hmn-dock::-webkit-scrollbar { display: none; }
  .hmn-dock span { display: none; }
  .hmn-dock a, .hmn-dock button { padding: 11px 13px; }
}

.navbar-container.hmn-scrolled {
  box-shadow: 0 18px 70px rgba(0,0,0,.38);
}
.hmn-shake {
  animation: hmnShake .42s ease;
  border-color: rgba(215,25,32,.5) !important;
}
@keyframes hmnShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}



/* === Hasakah imported sections/category system from reference theme === */
.hmn-primary-menu { gap: 2px; }
.hmn-source-mega.dropdown-menu,
.dropdownMenu.hmn-source-mega {
  width: min(980px, calc(100vw - 28px));
  max-height: min(76vh, 720px);
  overflow: auto;
  padding: 18px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,212,255,.45) rgba(255,255,255,.05);
}
.hmn-source-mega--wide.dropdown-menu,
.dropdownMenu.hmn-source-mega--wide {
  width: min(1240px, calc(100vw - 28px));
}
.hmn-source-mega .mega-head {
  position: sticky;
  top: -18px;
  z-index: 2;
  padding: 12px 6px 16px;
  margin: -18px -6px 14px;
  background: linear-gradient(180deg, rgba(7,20,38,.98), rgba(7,20,38,.84));
  backdrop-filter: blur(18px);
}
.hmn-mega-grid,
.hmn-mega-grid--wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hmn-mega-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hmn-mega-box {
  display: block;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background: rgba(0,0,0,.18);
  min-height: 100%;
}
.hmn-mega-box h4 {
  color: var(--hmn-blue-soft, #7cd4ff);
  font-size: .95rem;
  margin: 0 0 10px;
  font-weight: 950;
}
.hmn-mega-box ul,
.hmn-subgroup ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hmn-mega-box li a,
.hmn-subgroup li a {
  display: block;
  padding: 7px 0;
  color: rgba(245,251,255,.74);
  font-size: .82rem;
  font-weight: 750;
  border-bottom: 1px solid rgba(255,255,255,.055);
  transition: .18s ease;
}
.hmn-mega-box li:last-child a,
.hmn-subgroup li:last-child a { border-bottom: 0; }
.hmn-mega-box li a:hover,
.hmn-subgroup li a:hover {
  color: var(--hmn-blue-soft, #7cd4ff);
  transform: translateX(-3px);
}
.hmn-subgroup {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hmn-subgroup:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.hmn-subgroup > span {
  display: block;
  color: rgba(216,177,95,.95);
  font-size: .76rem;
  font-weight: 950;
  margin-bottom: 6px;
}
.hmn-taxonomy-map {
  padding: 70px 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(42,167,255,.10), transparent 28%),
    linear-gradient(135deg, rgba(7,20,38,.90), rgba(2,8,18,.94));
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hmn-taxonomy-head {
  max-width: 820px;
  margin-bottom: 26px;
}
.hmn-taxonomy-head span {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(124,212,255,.24);
  background: rgba(42,167,255,.10);
  color: var(--hmn-blue-soft, #7cd4ff);
  font-weight: 950;
  font-size: .8rem;
  margin-bottom: 12px;
}
.hmn-taxonomy-head h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 0 0 10px;
}
.hmn-taxonomy-head p {
  color: rgba(245,251,255,.68);
  line-height: 1.9;
  margin: 0;
}
.hmn-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.hmn-tax-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.032)),
    rgba(0,0,0,.18);
  box-shadow: 0 20px 70px rgba(0,0,0,.18);
}
.hmn-tax-card--about {
  border-color: rgba(216,177,95,.24);
}
.hmn-tax-card h3 {
  color: #fff;
  font-weight: 950;
  font-size: 1.1rem;
  margin: 0 0 14px;
}
.hmn-tax-group {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hmn-tax-group:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.hmn-tax-group h4 {
  color: var(--hmn-blue-soft, #7cd4ff);
  font-size: .85rem;
  font-weight: 950;
  margin: 0 0 8px;
}
.hmn-tax-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
}
.hmn-tax-group li a {
  display: block;
  color: rgba(245,251,255,.72);
  font-size: .84rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.hmn-tax-group li a:hover {
  color: var(--hmn-blue-soft, #7cd4ff);
}
@media (max-width: 1199px) {
  .hmn-mega-grid,
  .hmn-mega-grid--wide,
  .hmn-taxonomy-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .hmn-source-mega.dropdown-menu,
  .dropdownMenu.hmn-source-mega,
  .hmn-source-mega--wide.dropdown-menu,
  .dropdownMenu.hmn-source-mega--wide {
    width: min(96vw, 560px);
  }
  .hmn-mega-grid,
  .hmn-mega-grid--wide,
  .hmn-taxonomy-grid { grid-template-columns: 1fr; }
}



/* =========================================================
   Hasakah HARD FIX — Dropdowns / Mega Menus (click + hover)
   This overrides the original template rules that kept menus
   opacity:hidden even when Bootstrap added .show.
   ========================================================= */
.navbar .hmn-primary-menu,
.navbar .hmn-primary-menu .hmn-dropdown {
  position: relative;
  z-index: 1005;
}

.navbar .hmn-dropdown > .hmn-menu,
.navbar .hmn-dropdown > .dropdownMenu.hmn-menu,
.navbar .hmn-dropdown > .dropdown-menu.hmn-menu {
  display: block !important;
  position: absolute !important;
  top: calc(100% + 14px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 260px;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) scale(.985) !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  z-index: 2000 !important;
}

.navbar .hmn-dropdown:hover > .hmn-menu,
.navbar .hmn-dropdown.hmn-open > .hmn-menu,
.navbar .hmn-dropdown > .hmn-menu.show,
.navbar .hmn-dropdown:hover > .dropdownMenu.hmn-menu,
.navbar .hmn-dropdown.hmn-open > .dropdownMenu.hmn-menu,
.navbar .hmn-dropdown > .dropdownMenu.hmn-menu.show,
.navbar .hmn-dropdown:hover > .dropdown-menu.hmn-menu,
.navbar .hmn-dropdown.hmn-open > .dropdown-menu.hmn-menu,
.navbar .hmn-dropdown > .dropdown-menu.hmn-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.navbar .hmn-dropdown.has-mega {
  position: static !important;
}

.navbar .hmn-dropdown.has-mega > .hmn-mega,
.navbar .hmn-dropdown.has-mega > .hmn-source-mega {
  right: auto !important;
  left: 50% !important;
  top: calc(100% + 14px) !important;
  transform: translateX(-50%) translateY(12px) scale(.985) !important;
}

.navbar .hmn-dropdown.has-mega:hover > .hmn-mega,
.navbar .hmn-dropdown.has-mega.hmn-open > .hmn-mega,
.navbar .hmn-dropdown.has-mega > .hmn-mega.show,
.navbar .hmn-dropdown.has-mega:hover > .hmn-source-mega,
.navbar .hmn-dropdown.has-mega.hmn-open > .hmn-source-mega,
.navbar .hmn-dropdown.has-mega > .hmn-source-mega.show {
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

.navbar .hmn-source-mega,
.navbar .hmn-source-mega.dropdown-menu,
.navbar .dropdownMenu.hmn-source-mega {
  background:
    linear-gradient(145deg, rgba(255,255,255,.115), rgba(255,255,255,.045)),
    rgba(7,20,38,.985) !important;
  border: 1px solid rgba(124,212,255,.18) !important;
  border-radius: 24px !important;
  box-shadow: 0 34px 110px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.09) !important;
}

.navbar .hmn-menu li,
.navbar .hmn-menu ul,
.navbar .hmn-menu .hmn-mega-box,
.navbar .hmn-menu .hmn-subgroup {
  direction: rtl;
  text-align: right;
}

/* make simple non-mega dropdowns readable too */
.navbar .hmn-menu .dropdown-item,
.navbar .hmn-menu a {
  white-space: normal;
}

/* mobile: show dropdowns inside collapsed nav, not as huge off-screen panels */
@media (max-width: 991.98px) {
  .navbar .hmn-dropdown,
  .navbar .hmn-dropdown.has-mega {
    position: relative !important;
    width: 100%;
  }

  .navbar .hmn-dropdown > .hmn-menu,
  .navbar .hmn-dropdown > .dropdownMenu.hmn-menu,
  .navbar .hmn-dropdown > .dropdown-menu.hmn-menu,
  .navbar .hmn-dropdown.has-mega > .hmn-mega,
  .navbar .hmn-dropdown.has-mega > .hmn-source-mega {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    display: none !important;
    margin: 8px 0 14px !important;
  }

  .navbar .hmn-dropdown.hmn-open > .hmn-menu,
  .navbar .hmn-dropdown.hmn-open > .dropdownMenu.hmn-menu,
  .navbar .hmn-dropdown.hmn-open > .dropdown-menu.hmn-menu,
  .navbar .hmn-dropdown.hmn-open.has-mega > .hmn-mega,
  .navbar .hmn-dropdown.hmn-open.has-mega > .hmn-source-mega {
    display: block !important;
  }

  .hmn-mega-grid,
  .hmn-mega-grid--wide {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   WordPress dynamic templates — preserves original theme colors
   ========================================================= */
.hmn-wp-page{width:min(1540px,calc(100% - 28px));margin:auto;padding:16px 0 96px;position:relative;z-index:1}
.hmn-wp-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:var(--hmn-muted);font-size:.78rem;font-weight:850;margin-bottom:12px}
.hmn-wp-topline>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hmn-wp-live{display:inline-flex;align-items:center;gap:8px;color:var(--hmn-muted)}
.hmn-wp-live i{width:8px;height:8px;border-radius:50%;background:var(--hmn-blue-soft);box-shadow:0 0 0 0 rgba(124,212,255,.72);animation:hmnPulse 1.8s infinite}
@keyframes hmnPulse{70%{box-shadow:0 0 0 12px rgba(124,212,255,0)}}
.hmn-wp-shell{border:1px solid var(--hmn-line);background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.024)),rgba(3,8,20,.55);border-radius:34px;overflow:hidden;box-shadow:0 42px 140px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(22px);position:relative}
.hmn-wp-header{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;padding:18px clamp(18px,3vw,34px);background:rgba(7,20,38,.72);backdrop-filter:blur(24px);border-bottom:1px solid rgba(255,255,255,.09);position:relative;z-index:40}
.hmn-wp-brand{display:flex;align-items:center;gap:13px;min-width:280px}
.hmn-wp-logo{width:64px;height:64px;border-radius:23px;display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid rgba(124,212,255,.28);background:radial-gradient(circle at 50% 34%,rgba(124,212,255,.18),transparent 42%),rgba(0,0,0,.32);box-shadow:0 18px 55px rgba(0,0,0,.35),0 0 35px rgba(42,167,255,.13),inset 0 1px 0 rgba(255,255,255,.08)}
.hmn-wp-logo:before{content:"";position:absolute;inset:8px;border-radius:17px;border:1px solid rgba(216,177,95,.24)}
.hmn-wp-logo img{position:relative;z-index:2;width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.35))}
.hmn-wp-brand strong{display:block;margin:0;font-size:1.18rem;line-height:1.25;font-weight:950;letter-spacing:-.5px}
.hmn-wp-brand small{display:block;color:var(--hmn-muted);font-size:.72rem;font-weight:850;margin-top:4px;letter-spacing:.8px}
.hmn-wp-nav{justify-self:center;position:relative;z-index:50}
.hmn-wp-menu,.hmn-wp-menu ul{list-style:none;margin:0;padding:0}
.hmn-wp-menu{display:flex;align-items:center;gap:7px;padding:6px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);border-radius:999px}
.hmn-wp-menu>li{position:relative}
.hmn-wp-menu a{display:flex;align-items:center;gap:6px;padding:11px 13px;border-radius:999px;color:var(--hmn-muted);font-size:.82rem;font-weight:900;white-space:nowrap;transition:.22s}
.hmn-wp-menu a:hover,.hmn-wp-menu li:hover>a,.hmn-wp-menu .current-menu-item>a{background:rgba(42,167,255,.16);color:var(--hmn-blue-soft)}
.hmn-wp-menu li ul{position:absolute;right:0;top:calc(100% + 10px);min-width:260px;max-width:min(92vw,880px);padding:12px;border:1px solid rgba(255,255,255,.13);border-radius:22px;background:rgba(7,20,38,.96);box-shadow:0 24px 85px rgba(0,0,0,.42);backdrop-filter:blur(24px);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s;z-index:100}
.hmn-wp-menu li:hover>ul,.hmn-wp-menu li.hmn-open>ul{opacity:1;visibility:visible;transform:none}
.hmn-wp-menu li ul li{position:relative}
.hmn-wp-menu li ul a{border-radius:14px;justify-content:space-between;padding:10px 11px}
.hmn-wp-menu li ul ul{right:100%;top:0;margin-right:10px}
.hmn-wp-menu>li:nth-child(3)>ul{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:6px;min-width:min(92vw,920px)}
.hmn-wp-actions{justify-self:end;display:flex;align-items:center;gap:8px}
.hmn-wp-btn,.hmn-wp-toggle{display:inline-flex;align-items:center;justify-content:center;height:44px;border-radius:999px;border:1px solid var(--hmn-line);background:rgba(255,255,255,.055);color:var(--hmn-text);font-weight:950;transition:.22s;padding:0 16px}
.hmn-wp-toggle{display:none;width:44px;padding:0}
.hmn-wp-btn-main{background:linear-gradient(135deg,var(--hmn-blue-soft),var(--hmn-blue));color:#02101d;border-color:rgba(124,212,255,.45)}
.hmn-wp-btn:hover,.hmn-wp-toggle:hover{transform:translateY(-2px);color:var(--hmn-blue-soft)}
.hmn-wp-breaking{display:flex;align-items:center;gap:12px;margin:18px clamp(18px,3vw,34px) 0;padding:10px;border:1px solid rgba(124,212,255,.18);border-radius:20px;background:rgba(0,0,0,.22);overflow:hidden}
.hmn-wp-breaking strong{flex:0 0 auto;padding:9px 14px;border-radius:15px;background:linear-gradient(135deg,#0b3b64,var(--hmn-blue));font-size:.82rem;color:#fff}
.hmn-wp-breaking div{overflow:hidden;white-space:nowrap;color:var(--hmn-muted);font-weight:850;font-size:.9rem}
.hmn-wp-breaking span{display:inline-block;animation:hmnTicker 27s linear infinite}
@keyframes hmnTicker{from{transform:translateX(-12%)}to{transform:translateX(56%)}}
.hmn-wp-content-wrap{padding:24px clamp(18px,3vw,34px) 34px}
.hmn-wp-content-card,.hmn-wp-post-card{border:1px solid var(--hmn-line);background:var(--hmn-glass);border-radius:28px;padding:24px;box-shadow:0 28px 85px rgba(0,0,0,.25);backdrop-filter:blur(18px)}
.hmn-wp-content-card h1{font-size:clamp(30px,4vw,54px);line-height:1.18;margin:10px 0 18px}
.hmn-wp-content{color:var(--hmn-muted);line-height:2;font-size:1rem}
.hmn-wp-content a{color:var(--hmn-blue-soft);text-decoration:underline}
.hmn-wp-tag{display:inline-flex;padding:7px 11px;border-radius:999px;border:1px solid rgba(124,212,255,.22);background:rgba(42,167,255,.12);color:var(--hmn-blue-soft);font-size:.76rem;font-weight:950;margin-bottom:13px}
.hmn-wp-meta{color:var(--hmn-muted);font-size:.82rem;font-weight:850;margin:8px 0 18px}
.hmn-wp-featured img{width:100%;height:auto;border-radius:24px;margin:10px 0 20px}
.hmn-wp-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.hmn-wp-section-head h1{margin:0;font-size:clamp(26px,3.4vw,46px)}
.hmn-wp-section-head p{margin:8px 0 0;color:var(--hmn-muted);line-height:1.75}
.hmn-wp-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hmn-wp-post-card{padding:0;overflow:hidden}
.hmn-wp-post-card>div{padding:16px}
.hmn-wp-thumb{display:block;height:180px;background:linear-gradient(135deg,rgba(42,167,255,.46),rgba(2,6,23,.96));overflow:hidden}
.hmn-wp-thumb img{width:100%;height:100%;object-fit:cover}
.hmn-wp-post-card h2{font-size:1.1rem;line-height:1.65;margin:0 0 8px}
.hmn-wp-post-card p{color:var(--hmn-muted);line-height:1.75}
.hmn-wp-pagination{margin-top:22px}
.hmn-wp-footer{padding:28px clamp(18px,3vw,34px);border-top:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.18)}
.hmn-wp-footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}
.hmn-wp-footer img{width:70px;height:70px;object-fit:contain;margin-bottom:10px}
.hmn-wp-footer b{display:block;color:var(--hmn-blue-soft);margin-bottom:8px}
.hmn-wp-footer p{color:var(--hmn-muted);line-height:1.8;margin:6px 0}
.hmn-wp-footer a{color:var(--hmn-blue-soft)}
.hmn-wp-dock{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:9999;display:flex;gap:8px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.14);background:rgba(7,20,38,.78);backdrop-filter:blur(24px);border-radius:999px;box-shadow:0 24px 80px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.08)}
.hmn-wp-dock a{display:flex;align-items:center;gap:7px;padding:11px 13px;border-radius:999px;color:var(--hmn-muted);font-size:.8rem;font-weight:950;white-space:nowrap;transition:.22s}
.hmn-wp-dock a:hover,.hmn-wp-dock a.active{background:rgba(42,167,255,.16);color:var(--hmn-blue-soft)}
.hmn-wp-dock i{font-style:normal;font-size:1rem}
@media(max-width:1180px){
  .hmn-wp-header{grid-template-columns:1fr auto}
  .hmn-wp-toggle{display:inline-flex}
  .hmn-wp-nav{display:none;grid-column:1/-1;justify-self:stretch}
  .hmn-wp-nav.hmn-show{display:block}
  .hmn-wp-menu{display:block;border-radius:24px}
  .hmn-wp-menu li ul{position:static;display:none;opacity:1;visibility:visible;transform:none;box-shadow:none;margin:6px 0;background:rgba(0,0,0,.18);min-width:0}
  .hmn-wp-menu li.hmn-open>ul{display:block}
  .hmn-wp-menu>li:nth-child(3)>ul{display:none;grid-template-columns:1fr;min-width:0}
  .hmn-wp-menu>li:nth-child(3).hmn-open>ul{display:grid}
  .hmn-wp-actions{display:none}
  .hmn-wp-post-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .hmn-wp-page{width:min(100% - 18px,1540px);padding-bottom:96px}
  .hmn-wp-header{align-items:flex-start}
  .hmn-wp-brand{min-width:0}
  .hmn-wp-logo{width:54px;height:54px;border-radius:19px}
  .hmn-wp-logo img{width:46px;height:46px}
  .hmn-wp-brand strong{font-size:1.05rem}
  .hmn-wp-post-grid,.hmn-wp-footer-grid{grid-template-columns:1fr}
  .hmn-wp-dock{max-width:calc(100% - 20px);overflow:auto;scrollbar-width:none}
  .hmn-wp-dock::-webkit-scrollbar{display:none}
  .hmn-wp-dock a span{display:none}
}


/* =========================================================
   Hasakah v9.1 — Full dock, sections and categories panel
   Preserves the v9 navy/glass identity.
   ========================================================= */
.hmn-dock--network {
  max-width: min(96vw, 980px);
  justify-content: center;
  direction: rtl;
}
.hmn-dock--network a {
  text-decoration: none !important;
}
.hmn-dock--network .hmn-dock-sections-toggle {
  color: var(--hmn-blue-soft, #7cd4ff);
  background: rgba(42,167,255,.10);
  border: 1px solid rgba(124,212,255,.20);
}
.hmn-dock--network .hmn-dock-sections-toggle[aria-expanded="true"] {
  background: rgba(216,177,95,.16);
  color: #ffe4a0;
  border-color: rgba(216,177,95,.28);
}
.hmn-dock-mega {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  z-index: 1300;
  width: min(1240px, calc(100vw - 28px));
  max-height: min(76vh, 820px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(42,167,255,.16), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(216,177,95,.11), transparent 25%),
    rgba(7,20,38,.96);
  box-shadow: 0 34px 100px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  color: var(--hmn-text, #f5fbff);
}
.hmn-dock-mega[hidden] {
  display: none !important;
}
.hmn-dock-mega__inner {
  padding: 22px;
}
.hmn-dock-mega__head {
  position: sticky;
  top: -22px;
  z-index: 2;
  padding: 18px 18px 16px;
  margin: -22px -22px 18px;
  background: linear-gradient(180deg, rgba(7,20,38,.98), rgba(7,20,38,.90));
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
}
.hmn-dock-mega__head span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(42,167,255,.10);
  border: 1px solid rgba(124,212,255,.22);
  color: var(--hmn-blue-soft, #7cd4ff);
  font-weight: 950;
  font-size: .82rem;
}
.hmn-dock-mega__head h3 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 950;
}
.hmn-dock-mega__head p {
  margin: 0;
  max-width: 78ch;
  color: rgba(245,251,255,.72);
  line-height: 1.8;
}
.hmn-dock-mega__close {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.hmn-dock-mega__all {
  display: inline-flex;
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(216,177,95,.12);
  border: 1px solid rgba(216,177,95,.22);
  color: #ffe4a0 !important;
  font-weight: 900;
  text-decoration: none !important;
}
.hmn-dock-mega__section {
  margin: 0 0 18px;
}
.hmn-dock-mega__section > h4 {
  margin: 0 0 12px;
  padding-right: 10px;
  border-right: 4px solid var(--hmn-blue-soft, #7cd4ff);
  font-size: 1.08rem;
  font-weight: 950;
}
.hmn-dock-mega__section > h4 a,
.hmn-dock-mega__box strong a,
.hmn-sections-map a {
  color: inherit;
  text-decoration: none !important;
}
.hmn-dock-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.hmn-dock-mega__box {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  padding: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.032)), rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.hmn-dock-mega__box:hover {
  transform: translateY(-2px);
  border-color: rgba(124,212,255,.20);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.hmn-dock-mega__box strong {
  display: block;
  color: var(--hmn-blue-soft, #7cd4ff);
  font-size: .95rem;
  margin: 0 0 10px;
  font-weight: 950;
}
.hmn-dock-mega__box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.hmn-dock-mega__box li a {
  display: block;
  padding: 7px 0;
  color: rgba(245,251,255,.74);
  font-size: .84rem;
  font-weight: 750;
  border-bottom: 1px solid rgba(255,255,255,.055);
  transition: .18s ease;
  text-decoration: none !important;
}
.hmn-dock-mega__box li:last-child a {
  border-bottom: 0;
}
.hmn-dock-mega__box li a:hover {
  color: var(--hmn-blue-soft, #7cd4ff);
  transform: translateX(-3px);
}
.hmn-sections-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.hmn-sections-map--compact {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.hmn-sections-map__card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.032)), rgba(0,0,0,.18);
}
.hmn-sections-map__card h3 {
  margin: 0 0 12px;
  color: var(--hmn-blue-soft, #7cd4ff);
}
.hmn-sections-map__card h4 {
  margin: 14px 0 8px;
  color: rgba(216,177,95,.95);
  font-size: .9rem;
}
.hmn-sections-map__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hmn-sections-map__card li a {
  display: block;
  padding: 6px 0;
  color: rgba(245,251,255,.74);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
@media (max-width: 991px) {
  .hmn-dock--network {
    max-width: calc(100% - 18px);
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .hmn-dock--network::-webkit-scrollbar { display: none; }
  .hmn-dock-mega {
    bottom: 82px;
    max-height: 70vh;
  }
  .hmn-sections-map,
  .hmn-sections-map--compact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hmn-dock--network span {
    display: none;
  }
  .hmn-dock-mega__inner {
    padding: 16px;
  }
  .hmn-dock-mega__head {
    margin: -16px -16px 16px;
    top: -16px;
    padding: 16px;
  }
  .hmn-dock-mega__grid {
    grid-template-columns: 1fr;
  }
}



/* Hasakah v9.2 — controlled preloader logo + admin-controlled ad slots */
.hmn-loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.hmn-loader-logo-img {
  max-width: min(42vw, 220px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.42)) drop-shadow(0 0 24px rgba(124,212,255,.22));
  animation: hmnLoaderLogoPulse 2.4s ease-in-out infinite;
}
@keyframes hmnLoaderLogoPulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: .94; }
  50% { transform: translateY(-4px) scale(1.035); opacity: 1; }
}
.hmn-controlled-ad {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto;
  position: relative;
  z-index: 20;
  text-align: center;
}
.hmn-controlled-ad img,
.hmn-controlled-ad iframe {
  max-width: 100%;
}
.hmn-controlled-ad--floating {
  position: fixed;
  width: auto;
  max-width: min(360px, calc(100vw - 28px));
  left: 18px;
  bottom: 104px;
  margin: 0;
  z-index: 10020;
}
@media (max-width: 768px) {
  .hmn-loader-logo-img { max-width: min(54vw, 170px); }
  .hmn-controlled-ad--floating {
    left: 12px;
    right: 12px;
    bottom: 92px;
    max-width: none;
  }
}


/* Hasakah v9.3 — live news grids and featured-image fallback */
.hmn-news-grid-shortcode {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.hmn-news-grid-shortcode__card {
  background: #fff;
  border: 1px solid rgba(7,20,38,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(7,20,38,.08);
}
.hmn-news-grid-shortcode__img {
  display: block;
  height: 210px;
  background: #071426;
}
.hmn-news-grid-shortcode__img img,
.hmn-wp-thumb img,
.hmn-wp-featured img,
.tc-featured-news-style8 .img img,
.tc-breaking-news-style8 .img img,
.tc-whatsnew-news-style8 .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hmn-news-grid-shortcode__body {
  padding: 16px;
}
.hmn-news-grid-shortcode__body span {
  display: block;
  color: #f58220;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.hmn-news-grid-shortcode__body h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.6;
}
.hmn-news-grid-shortcode__body h3 a {
  color: #071426;
}
.hmn-news-grid-shortcode__body p {
  color: #4b5563;
  margin: 0;
  line-height: 1.8;
}
@media (max-width: 991px) {
  .hmn-news-grid-shortcode {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .hmn-news-grid-shortcode {
    grid-template-columns: 1fr;
  }
  .hmn-news-grid-shortcode__img {
    height: 190px;
  }
}


/* Hasakah v9.4 — أدوات تحكم المدير على أخبار الصفحة الرئيسية */
.hmn-live-post-card {
  position: relative;
}
.hmn-front-admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  position: relative;
  z-index: 12;
}
.hmn-front-admin-controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #071426;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 5px 14px rgba(0,0,0,.18);
}
.hmn-front-admin-controls a:hover {
  background: #f58220;
  color: #fff !important;
}
.hmn-front-admin-controls a.hmn-danger {
  background: #b42318;
}
.hmn-live-news-section .swiper-slide .hmn-front-admin-controls {
  opacity: .98;
}


/* =========================================================
   Hasakah v9.6 - Readability + Team profiles
   ========================================================= */
.hmn-wp-content-wrap,
.hmn-wp-content-card,
.archive .hmn-wp-card,
.search .hmn-wp-card,
.single .hmn-wp-content-card,
.page .hmn-wp-content-card {
  color: #111827 !important;
}
.hmn-wp-content-card h1,
.hmn-wp-content-card h2,
.hmn-wp-content-card h3,
.hmn-wp-content-card p,
.hmn-wp-content-card li,
.hmn-wp-content-card a,
.hmn-wp-card h3,
.hmn-wp-card h3 a,
.hmn-wp-card p {
  color: #111827 !important;
}
.hmn-wp-card,
.hmn-wp-content-card,
.hmn-team-card {
  background: #ffffff !important;
  color: #111827 !important;
}
.tc-featured-news-style8 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]),
.tc-breaking-news-style8 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]),
.tc-whats-news-style8 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]),
.tc-columnist-style1 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]) {
  background: #ffffff;
  color: #111827 !important;
}
.tc-featured-news-style8 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]) a,
.tc-breaking-news-style8 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]) a,
.tc-whats-news-style8 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]) a,
.tc-columnist-style1 .item:not(.bg-blue2):not(.bg-dark):not([class*="dark"]) a {
  color: #111827 !important;
}
.bg-blue2 a,
.bg-blue2 .title,
.bg-blue2 .title a,
.tc-hot-videos-style8,
.tc-hot-videos-style8 a {
  color: #ffffff !important;
}

.hmn-team-wrap{max-width:1180px;margin:40px auto;padding:0 16px;direction:rtl}
.hmn-team-hero{position:relative;overflow:hidden;border-radius:30px;padding:34px;background:linear-gradient(135deg,#071426,#102a4a 70%,#f58220 160%);color:#fff;box-shadow:0 24px 65px rgba(7,20,38,.25);margin-bottom:18px}
.hmn-team-hero h1{margin:0 0 10px;color:#fff;font-size:34px;font-weight:950}
.hmn-team-hero p{margin:0;color:rgba(255,255,255,.82);line-height:1.9;max-width:780px}
.hmn-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hmn-team-card{position:relative;border:1px solid rgba(7,20,38,.10);border-radius:24px;padding:16px;box-shadow:0 14px 35px rgba(7,20,38,.10);transition:.18s ease;overflow:hidden}
.hmn-team-card:hover{transform:translateY(-3px);box-shadow:0 20px 45px rgba(7,20,38,.16)}
.hmn-team-card a{text-decoration:none}
.hmn-team-photo{display:block;aspect-ratio:1/1;border-radius:20px;overflow:hidden;background:#f1f5f9;margin-bottom:14px}
.hmn-team-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hmn-team-card h3{margin:0 0 7px;color:#071426!important;font-weight:950;font-size:20px}
.hmn-team-position{color:#f58220!important;font-weight:900;margin-bottom:8px}
.hmn-team-bio{color:#475569!important;line-height:1.8;font-size:14px;margin:0 0 12px}
.hmn-team-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 10px}
.hmn-verified-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#1877f2;color:#fff;font-size:15px;font-weight:950;box-shadow:0 6px 18px rgba(24,119,242,.25);cursor:help}
.hmn-verified-badge:before{content:"✓"}
.hmn-syria-flag-badge{position:relative;display:inline-flex;width:38px;height:24px;border:1px solid rgba(0,0,0,.15);border-radius:6px;overflow:hidden;background:linear-gradient(to bottom,#00843d 0 33.333%,#fff 33.333% 66.666%,#000 66.666% 100%);box-shadow:0 6px 16px rgba(0,0,0,.12);cursor:help}
.hmn-syria-flag-badge:after{content:"★ ★ ★";position:absolute;left:0;right:0;top:7px;text-align:center;color:#ce1126;font-size:7px;letter-spacing:1px;line-height:1}
.hmn-team-links{display:flex;gap:8px;flex-wrap:wrap}
.hmn-team-links a{background:#071426;color:#fff!important;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}
.hmn-team-profile{max-width:1080px;margin:38px auto;padding:0 16px;direction:rtl}
.hmn-team-profile-card{display:grid;grid-template-columns:330px 1fr;gap:22px;background:#fff;color:#111827;border-radius:30px;padding:22px;box-shadow:0 18px 55px rgba(7,20,38,.14);border:1px solid rgba(7,20,38,.10)}
.hmn-team-profile-photo{border-radius:24px;overflow:hidden;background:#f1f5f9;aspect-ratio:1/1}
.hmn-team-profile-photo img{width:100%;height:100%;object-fit:cover}
.hmn-team-profile h1{margin:0 0 8px;color:#071426!important;font-size:34px;font-weight:950}
.hmn-team-profile .hmn-team-position{font-size:18px}
.hmn-team-profile-content{color:#111827!important;line-height:2}
.hmn-team-profile-content *{color:#111827}
.hmn-team-profile-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.hmn-team-profile-meta a,.hmn-team-profile-meta span{display:block;background:#f8fafc;border:1px solid #e2e8f0;color:#111827!important;border-radius:14px;padding:10px 12px}
@media(max-width:900px){.hmn-team-grid{grid-template-columns:1fr 1fr}.hmn-team-profile-card{grid-template-columns:1fr}}
@media(max-width:560px){.hmn-team-grid{grid-template-columns:1fr}.hmn-team-hero h1{font-size:26px}}


/* Hasakah v9.7 — Team merge and control polish */
.hmn-dock--network{
  max-width:calc(100vw - 18px);
  overflow-x:auto;
  scrollbar-width:none;
}
.hmn-dock--network::-webkit-scrollbar{display:none}
.hmn-dock--network a{flex:0 0 auto}

.hmn-home-team-section{position:relative;z-index:2}
.hmn-team-home-card{
  border:1px solid rgba(7,20,38,.08);
  box-shadow:0 20px 55px rgba(7,20,38,.12);
}
.hmn-team-home-subtitle{
  margin:10px 0 0;
  color:#475569!important;
  line-height:1.9;
  max-width:780px;
}
.hmn-home-team-member{
  text-decoration:none!important;
  color:#071426!important;
  border:1px solid rgba(7,20,38,.08);
  border-radius:22px;
  padding:16px;
  background:#fff;
  min-height:136px;
  transition:.18s ease;
}
.hmn-home-team-member:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(7,20,38,.13);
}
.hmn-home-team-member .img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hmn-home-team-member .info,
.hmn-home-team-member .name,
.hmn-home-team-member .text{
  display:block;
}
.hmn-home-team-member .name{
  color:#071426!important;
}
.hmn-home-team-member .text{
  color:#475569!important;
  line-height:1.8;
}
.hmn-team-empty-admin{
  border:1px dashed rgba(7,20,38,.18);
  border-radius:20px;
  padding:18px;
  color:#111827;
  background:#f8fafc;
}
.hmn-team-empty-admin a{
  display:inline-flex;
  margin-top:8px;
  background:#f58220;
  color:#fff!important;
  padding:8px 14px;
  border-radius:999px;
  text-decoration:none!important;
  font-weight:900;
}

.hmn-team-inline-add{
  margin:16px 0 22px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(135deg,#071426,#102a4a);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
}
.hmn-team-inline-add h3{
  margin:0 0 8px;
  color:#fff;
  font-weight:950;
}
.hmn-team-inline-add p{
  color:rgba(255,255,255,.82);
}
.hmn-team-inline-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.hmn-team-inline-grid label{
  display:block;
  color:#fff;
  font-weight:800;
}
.hmn-team-inline-grid label.wide{
  grid-column:1/-1;
}
.hmn-team-inline-grid input[type=text],
.hmn-team-inline-grid input[type=url],
.hmn-team-inline-grid textarea,
.hmn-convert-team-form input[type=text]{
  width:100%;
  margin-top:7px;
  border:1px solid rgba(255,255,255,.22);
  background:#fff;
  color:#111827;
  border-radius:12px;
  min-height:38px;
  padding:8px 10px;
}
.hmn-team-inline-grid textarea{min-height:78px}
.hmn-team-inline-grid input[type=checkbox]{
  width:auto;
  margin-inline-end:8px;
}
.hmn-convert-team-form{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.14);
}
.hmn-convert-team-form h3{
  color:#fff;
}
.hmn-convert-team-form .button{
  margin-top:8px;
}
@media(max-width:782px){
  .hmn-team-inline-grid{grid-template-columns:1fr}
  .hmn-dock a span{display:none}
  .hmn-dock a{padding:11px 12px}
}


/* =========================================================
   Hasakah v9.8 visibility, contrast, complete news, media, team profiles
   ========================================================= */

/* أزرار المدير لا تظهر للزائر نهائياً */
.hmn-front-admin-controls,
.hmn-admin-only-link { display:none !important; }
body.logged-in .hmn-front-admin-controls,
body.logged-in .hmn-admin-only-link { display:flex !important; }
.hmn-front-admin-controls{gap:6px;flex-wrap:wrap;margin-top:10px}
.hmn-front-admin-controls a{background:#071426!important;color:#fff!important;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:5px 9px;font-size:11px;font-weight:800}
.hmn-front-admin-controls a.hmn-danger{background:#991b1b!important}

/* تحسين التباين: الأبيض فوق الفاتح صار داكناً، والداكن يبقى أبيض */
.bg-white,
.bg-white .item,
.hmn-complete-news-card,
.hmn-wp-content-card,
.cat-box.bg-white,
.tc-whatsnew-news-style8.bg-white { color:#111827 !important; }
.bg-white a:not(.tag):not([class*="video_icon"]),
.bg-white .title,
.bg-white .title a,
.hmn-complete-news-card .title,
.hmn-complete-news-card .title a,
.cat-box.bg-white .title,
.cat-box.bg-white .title a { color:#071426 !important; }
.bg-white .text,
.bg-white .meta-bot a,
.hmn-complete-news-card .text,
.hmn-complete-news-card .meta-bot a { color:#4b5563 !important; }
.bg-blue2,
.bg-blue2 .title,
.bg-blue2 .title a,
.bg-blue2 .text,
.bg-blue2 .meta-bot a,
.tc-hot-videos-style8,
.tc-hot-videos-style8 a { color:#fff !important; }

.hmn-section-hint{font-size:12px;color:#64748b;font-weight:800;margin-top:5px;display:inline-block}
.hmn-complete-news-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;height:100%;padding:0;box-shadow:0 10px 24px rgba(7,20,38,.08)}
.hmn-complete-news-card .img{border-radius:18px 18px 0 0;overflow:hidden;background:#e5e7eb}
.hmn-complete-news-card .info{padding:16px}
.hmn-complete-news-card .title{min-height:52px;line-height:1.6}
.hmn-complete-news-card img{width:100%;height:100%;object-fit:cover}
.hmn-complete-news-section .tags a{color:#fff!important}

/* الوسائط */
.hmn-media-managed-section .hmn-wp-content-card{border-radius:22px;padding:24px;color:#111827}
.hmn-media-poster{display:block;width:100%;height:500px;border-radius:18px;overflow:hidden;background:#06172c}
.hmn-media-poster img{width:100%;height:100%;object-fit:cover}
.hmn-media-mini-card .img{position:relative;display:block;border-radius:16px;overflow:hidden}
.hmn-media-mini-card .img img{width:100%;height:100%;object-fit:cover}
.hmn-media-mini-card .video_icon{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);background:rgba(7,20,38,.72);color:#fff;border-color:#fff!important}
.hmn-media-mini-card .time{position:absolute;left:10px;bottom:10px;background:#f58220;color:#111;border-radius:9px;padding:3px 8px;font-size:11px;font-weight:900}
.hmn-media-single{padding:80px 0;background:#f3f4f6;color:#111827}
.hmn-media-single-card{max-width:1040px;margin:auto}
.hmn-media-single-head span{display:inline-block;color:#f58220;font-weight:900;margin-bottom:8px}
.hmn-media-single-head h1{color:#071426;font-weight:950}
.hmn-media-single-player video,.hmn-media-single-player img{width:100%;max-height:620px;object-fit:cover;border-radius:22px;background:#071426}
.hmn-admin-edit-link{display:inline-flex;background:#071426;color:#fff!important;border-radius:12px;padding:8px 14px;margin:10px 0;font-weight:900}

/* فريق العمل والبروفايل */
.hmn-team-card{position:relative;background:#fff;color:#111827;border:1px solid #e5e7eb;border-radius:24px;padding:18px;box-shadow:0 12px 30px rgba(7,20,38,.08);height:100%}
.hmn-team-card a,.hmn-team-card h3 a{color:#071426!important}
.hmn-team-position{color:#f58220;font-weight:950}
.hmn-team-badges{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:8px 0}
.hmn-verified-badge{display:inline-flex;width:22px;height:22px;border-radius:50%;background:#1d9bf0;position:relative;box-shadow:0 0 0 2px rgba(255,255,255,.8)}
.hmn-verified-badge:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:950;font-size:14px}
.hmn-syria-flag-badge{display:inline-flex;width:34px;height:22px;border-radius:5px;position:relative;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.15);background:linear-gradient(#009246 0 33%,#fff 33% 66%,#000 66% 100%)}
.hmn-syria-flag-badge:before,.hmn-syria-flag-badge:after{content:"★";position:absolute;top:5px;color:#ce1126;font-size:10px;line-height:1}
.hmn-syria-flag-badge:before{left:9px}.hmn-syria-flag-badge:after{right:9px}
.hmn-team-profile{padding:80px 15px;background:linear-gradient(135deg,#f8fafc,#e5e7eb);color:#111827}
.hmn-team-profile-card{max-width:1120px;margin:auto;display:grid;grid-template-columns:330px 1fr;gap:28px;background:#fff;border-radius:32px;padding:28px;border:1px solid #e5e7eb;box-shadow:0 24px 70px rgba(7,20,38,.15)}
.hmn-team-profile-photo{border-radius:28px;overflow:hidden;background:#071426;aspect-ratio:1/1}
.hmn-team-profile-photo img{width:100%;height:100%;object-fit:cover}
.hmn-team-profile-kicker{color:#f58220;font-weight:950;margin-bottom:8px}
.hmn-team-profile-card h1{color:#071426;font-size:36px;font-weight:950;margin:0 0 8px}
.hmn-team-profile-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.hmn-team-profile-meta span,.hmn-team-profile-meta a{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:10px;color:#071426!important;font-weight:800}
.hmn-team-profile-content{color:#1f2937;line-height:2;font-size:16px}
.hmn-team-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.hmn-team-profile-actions a,.hmn-team-links a{display:inline-flex;background:#071426;color:#fff!important;border-radius:12px;padding:8px 12px;font-weight:900;margin:4px}
@media(max-width:900px){.hmn-team-profile-card{grid-template-columns:1fr}.hmn-team-profile-meta{grid-template-columns:1fr}.hmn-media-poster{height:300px}}


/* Hasakah v9.9 — Luxury CV builder front-end */
.hmn-luxury-cv{--cv-navy:#001F3F;--cv-white:#fff;--cv-orange:#FF8C00;--cv-ink:#101827;--cv-muted:#64748b;max-width:1180px;margin:36px auto;padding:0 18px;color:var(--cv-ink);direction:rtl}
.hmn-cv-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-start;background:#fff;border:1px solid #dbe5f0;border-radius:18px;padding:12px;margin-bottom:14px;box-shadow:0 10px 28px rgba(0,31,63,.08)}
.hmn-cv-toolbar a,.hmn-cv-toolbar button{border:0;border-radius:12px;background:var(--cv-navy);color:#fff;padding:10px 14px;font-weight:900;text-decoration:none;cursor:pointer;line-height:1}
.hmn-cv-toolbar a:nth-child(2),.hmn-cv-toolbar button[data-hmn-cv-copy]{background:var(--cv-orange);color:#111}
.hmn-cv-cover{display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:center;background:linear-gradient(135deg,var(--cv-navy),#073763);background-size:cover;background-position:center;border-radius:30px;padding:34px;color:#fff;box-shadow:0 25px 70px rgba(0,31,63,.25);overflow:hidden;position:relative}
.hmn-cv-cover:after{content:"";position:absolute;inset:auto -100px -130px auto;width:300px;height:300px;background:var(--cv-orange);border-radius:50%;filter:blur(70px);opacity:.34}
.hmn-cv-cover-photo{position:relative;z-index:1;width:190px;height:190px;border-radius:28px;overflow:hidden;border:5px solid rgba(255,255,255,.85);background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.25)}
.hmn-cv-cover-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hmn-cv-cover-info{position:relative;z-index:1}
.hmn-cv-cover-info span{display:inline-block;color:var(--cv-orange);font-weight:950;margin-bottom:8px}
.hmn-cv-cover-info h1{margin:0;color:#fff;font-size:44px;line-height:1.2;font-weight:950}
.hmn-cv-cover-info h3{margin:10px 0;color:#fff;font-size:22px;font-weight:800}
.hmn-cv-cover-info p{margin:0;color:rgba(255,255,255,.82);line-height:1.8}
.hmn-cv-body{display:grid;grid-template-columns:300px 1fr;gap:18px;margin-top:18px}
.hmn-cv-side,.hmn-cv-section{background:#fff;border:1px solid #dbe5f0;border-radius:24px;padding:22px;box-shadow:0 14px 38px rgba(0,31,63,.08)}
.hmn-cv-side{align-self:start;position:sticky;top:20px}
.hmn-cv-side h2,.hmn-cv-section h2{margin:0 0 14px;color:var(--cv-orange);font-size:22px;font-weight:950;border-bottom:3px solid var(--cv-navy);padding-bottom:10px}
.hmn-cv-contact div{display:block;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px;margin:9px 0}
.hmn-cv-contact strong{display:block;color:var(--cv-navy);font-weight:950;margin-bottom:4px}
.hmn-cv-contact span{color:#111;word-break:break-word}
.hmn-cv-socials{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.hmn-cv-socials a{background:var(--cv-navy);color:#fff;border-radius:999px;padding:8px 11px;text-decoration:none;font-weight:800;font-size:12px}
.hmn-cv-org{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.hmn-cv-org span{background:#fff7ed;color:#111;border:1px solid #fed7aa;border-radius:12px;padding:9px;font-weight:800}
.hmn-cv-main{display:grid;gap:16px}
.hmn-cv-section p,.hmn-cv-section li{font-size:15.5px;line-height:2;color:#111}
.hmn-cv-section ul{margin:0;padding:0 20px 0 0}
.hmn-cv-gallery>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hmn-cv-gallery img{width:100%;height:150px;object-fit:cover;border-radius:16px;display:block;border:1px solid #e2e8f0}
.hmn-cv-video-embed{background:#001f3f;border-radius:18px;padding:10px;margin:10px 0;overflow:hidden}
.hmn-cv-video-embed iframe,.hmn-cv-video-embed video{width:100%;min-height:360px;border:0;border-radius:14px;display:block;background:#000}
.hmn-cv-video-embed audio{width:100%;display:block}
.hmn-cv-media-link{display:block;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;color:#001f3f}
@media(max-width:900px){.hmn-cv-cover,.hmn-cv-body{grid-template-columns:1fr}.hmn-cv-cover-photo{width:160px;height:160px}.hmn-cv-cover-info h1{font-size:32px}.hmn-cv-side{position:static}.hmn-cv-gallery>div{grid-template-columns:repeat(2,minmax(0,1fr))}.hmn-cv-video-embed iframe,.hmn-cv-video-embed video{min-height:220px}}
@media print{body{background:#fff!important}.no-print,.hmn-top-navbar,.hmn-site-header,.hmn-network-dock,.hmn-footer{display:none!important}.hmn-luxury-cv{max-width:none;margin:0;padding:0}.hmn-cv-cover,.hmn-cv-side,.hmn-cv-section{box-shadow:none;break-inside:avoid}.hmn-cv-body{grid-template-columns:260px 1fr}.hmn-cv-cover{background:#001F3F!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}


/* Hasakah v10.0 — Presidential / global media profile CV skin */
.hmn-luxury-cv{
  --cv-navy:#001F3F;
  --cv-navy-2:#061a33;
  --cv-navy-3:#08284f;
  --cv-white:#ffffff;
  --cv-orange:#FF8C00;
  --cv-gold:#d6a64f;
  --cv-ink:#101827;
  --cv-muted:#536176;
  max-width:1240px;
  margin:42px auto;
  padding:0 18px 34px;
  color:var(--cv-ink);
  direction:rtl;
  position:relative;
}
.hmn-luxury-cv:before{
  content:"";
  position:absolute;
  inset:55px 0 auto 0;
  height:360px;
  border-radius:42px;
  background:
    radial-gradient(circle at 15% 20%,rgba(255,140,0,.18),transparent 32%),
    radial-gradient(circle at 86% 8%,rgba(214,166,79,.16),transparent 26%),
    linear-gradient(135deg,rgba(0,31,63,.08),rgba(255,255,255,0));
  z-index:-1;
}
.hmn-cv-toolbar{
  border:1px solid rgba(0,31,63,.14)!important;
  background:linear-gradient(135deg,#ffffff,#f7fbff)!important;
  border-radius:22px!important;
  padding:14px!important;
  box-shadow:0 18px 50px rgba(0,31,63,.12)!important;
}
.hmn-cv-toolbar a,.hmn-cv-toolbar button{
  min-height:42px;
  border-radius:14px!important;
  background:linear-gradient(135deg,var(--cv-navy),var(--cv-navy-3))!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(0,31,63,.18);
  transition:.22s ease;
}
.hmn-cv-toolbar a:hover,.hmn-cv-toolbar button:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(0,31,63,.24);
}
.hmn-cv-toolbar a:nth-child(2),.hmn-cv-toolbar button[data-hmn-cv-copy]{
  background:linear-gradient(135deg,var(--cv-orange),#ffc069)!important;
  color:#071426!important;
}
.hmn-cv-cover{
  grid-template-columns:240px 1fr!important;
  min-height:330px;
  border-radius:38px!important;
  padding:42px!important;
  background:
    radial-gradient(circle at 10% 12%,rgba(255,140,0,.22),transparent 30%),
    radial-gradient(circle at 92% 82%,rgba(214,166,79,.22),transparent 33%),
    linear-gradient(135deg,var(--cv-navy),#031326 48%,#09284d)!important;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:
    0 38px 95px rgba(0,31,63,.34),
    inset 0 0 0 1px rgba(255,255,255,.08)!important;
  isolation:isolate;
}
.hmn-cv-cover-frame{
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:30px;
  pointer-events:none;
}
.hmn-cv-cover-frame:before,
.hmn-cv-cover-frame:after{
  content:"";
  position:absolute;
  width:90px;
  height:90px;
  border-color:var(--cv-orange);
  opacity:.75;
}
.hmn-cv-cover-frame:before{right:18px;top:18px;border-top:3px solid;border-right:3px solid;border-radius:0 18px 0 0}
.hmn-cv-cover-frame:after{left:18px;bottom:18px;border-left:3px solid;border-bottom:3px solid;border-radius:0 0 0 18px}
.hmn-cv-cover:before{
  content:"";
  position:absolute;
  inset:-80px auto auto -80px;
  width:280px;
  height:280px;
  background:radial-gradient(circle,rgba(255,140,0,.35),transparent 62%);
  filter:blur(8px);
  z-index:-1;
}
.hmn-cv-cover:after{
  width:360px!important;
  height:360px!important;
  background:radial-gradient(circle,rgba(255,140,0,.38),transparent 62%)!important;
  opacity:.55!important;
  filter:blur(75px)!important;
}
.hmn-cv-cover-photo{
  width:220px!important;
  height:220px!important;
  border-radius:34px!important;
  border:6px solid rgba(255,255,255,.92)!important;
  box-shadow:
    0 24px 60px rgba(0,0,0,.36),
    0 0 0 1px rgba(255,140,0,.38),
    inset 0 0 0 8px rgba(255,255,255,.08)!important;
}
.hmn-cv-cover-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,0) 45%,rgba(0,0,0,.1));
  pointer-events:none;
}
.hmn-cv-network-kicker{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border:1px solid rgba(255,140,0,.45);
  border-radius:999px;
  background:rgba(255,140,0,.1);
  color:#ffb15c!important;
  letter-spacing:.2px;
}
.hmn-cv-network-kicker:before{content:"◆";font-size:11px;color:var(--cv-orange)}
.hmn-cv-executive-label{
  display:block;
  margin:14px 0 4px;
  color:rgba(255,255,255,.66);
  font-style:normal;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
}
.hmn-cv-cover-info h1{
  font-size:54px!important;
  color:#fff!important;
  text-shadow:0 8px 26px rgba(0,0,0,.28);
}
.hmn-cv-cover-info h3{
  display:inline-block;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;
  padding:10px 16px;
  color:#fff!important;
}
.hmn-cv-cover-info p{
  max-width:760px;
  color:rgba(255,255,255,.86)!important;
  font-size:15px;
}
.hmn-cv-cover-seal{
  position:absolute;
  left:34px;
  top:34px;
  width:86px;
  height:86px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.74);
  font-weight:950;
  letter-spacing:1px;
  border:1px solid rgba(255,255,255,.20);
  background:radial-gradient(circle,rgba(255,255,255,.16),rgba(255,255,255,.04));
  box-shadow:inset 0 0 0 8px rgba(255,255,255,.03);
}
.hmn-cv-badges{margin-top:16px;justify-content:flex-start}
.hmn-cv-body{
  grid-template-columns:330px minmax(0,1fr)!important;
  gap:22px!important;
  margin-top:24px!important;
}
.hmn-cv-side,.hmn-cv-section{
  border:1px solid rgba(0,31,63,.12)!important;
  border-radius:28px!important;
  background:
    linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:0 20px 55px rgba(0,31,63,.10)!important;
}
.hmn-cv-side{
  padding:24px!important;
  overflow:hidden;
}
.hmn-cv-side:before{
  content:"";
  display:block;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--cv-orange),var(--cv-navy));
  margin:-3px 0 18px;
}
.hmn-cv-side h2,.hmn-cv-section h2{
  color:var(--cv-navy)!important;
  border-bottom:0!important;
  padding-bottom:0!important;
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
}
.hmn-cv-side h2:before,.hmn-cv-section h2:before{
  content:"";
  width:10px;
  height:28px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--cv-orange),var(--cv-gold));
  display:inline-block;
}
.hmn-cv-contact div{
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
  border:1px solid rgba(0,31,63,.12)!important;
  border-radius:18px!important;
  padding:14px!important;
  box-shadow:0 9px 24px rgba(0,31,63,.05);
}
.hmn-cv-contact strong{
  color:var(--cv-navy)!important;
  font-size:14px;
}
.hmn-cv-contact span{
  color:#161b22!important;
  font-weight:700;
}
.hmn-cv-socials a{
  background:linear-gradient(135deg,var(--cv-navy),#0a3564)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 8px 20px rgba(0,31,63,.12);
}
.hmn-cv-org span{background:linear-gradient(135deg,#fff7ed,#fff)!important;color:#111!important;border-color:#fed7aa!important;box-shadow:0 8px 20px rgba(255,140,0,.08)}
.hmn-cv-main{
  gap:18px!important;
  counter-reset:cvSection;
}
.hmn-cv-section{
  position:relative;
  overflow:hidden;
  padding:26px 28px!important;
}
.hmn-cv-section:before{
  counter-increment:cvSection;
  content:counter(cvSection, decimal-leading-zero);
  position:absolute;
  left:22px;
  top:14px;
  color:rgba(0,31,63,.055);
  font-size:68px;
  line-height:1;
  font-weight:950;
}
.hmn-cv-section:after{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,var(--cv-orange),rgba(255,140,0,0));
}
.hmn-cv-section h2{
  font-size:24px!important;
  margin-bottom:16px!important;
}
.hmn-cv-section p,.hmn-cv-section li{
  color:#141a24!important;
  font-size:16px!important;
  line-height:2.05!important;
}
.hmn-cv-section li{
  margin-bottom:8px;
  padding-right:4px;
}
.hmn-cv-gallery>div{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.hmn-cv-gallery img{
  height:165px!important;
  border-radius:20px!important;
  box-shadow:0 12px 28px rgba(0,31,63,.12);
}
.hmn-cv-video-embed{
  background:linear-gradient(135deg,var(--cv-navy),#06182e)!important;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 18px 42px rgba(0,31,63,.20);
}
@media(max-width:980px){
  .hmn-cv-cover{grid-template-columns:1fr!important;text-align:center;padding:28px!important}
  .hmn-cv-cover-photo{margin:auto;width:170px!important;height:170px!important}
  .hmn-cv-cover-info h1{font-size:34px!important}
  .hmn-cv-cover-seal{display:none}
  .hmn-cv-body{grid-template-columns:1fr!important}
  .hmn-cv-side{position:static!important}
  .hmn-cv-gallery>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media print{
  .hmn-luxury-cv:before,.hmn-cv-cover-frame,.hmn-cv-cover-seal{display:none!important}
  .hmn-cv-cover{border-radius:0!important}
  .hmn-cv-section:before{display:none!important}
}


/* Hasakah v10.1 — إخفاء البروفايل المهني المكرر والتصنيف/المستوى من الواجهة العامة */
.hmn-team-profile-kicker,
.hmn-cv-executive-label,
.hmn-cv-org{
  display:none!important;
}


/* v10.2 — Team/CV fixes */
.hmn-cv-cover-seal{display:none!important}
.hmn-team-page-official{padding:40px 0 90px}
.hmn-team-page-official .hmn-team-page-card{max-width:1220px;margin:0 auto}
.hmn-team-page-official .hmn-team-wrap{margin:0!important}
.hmn-team-page-official .hmn-team-hero{text-align:center;margin-bottom:28px}
.hmn-team-page-official .hmn-team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(245px,1fr));
  gap:22px;
}
.hmn-team-page-official .hmn-team-card{
  background:#fff;
  border:1px solid rgba(0,31,63,.10);
  border-radius:24px;
  padding:18px;
  box-shadow:0 14px 35px rgba(0,31,63,.08);
  text-align:center;
}
.hmn-team-page-official .hmn-team-photo{
  display:block;
  aspect-ratio:1/1;
  border-radius:22px;
  overflow:hidden;
  margin-bottom:14px;
}
.hmn-team-page-official .hmn-team-photo img{width:100%;height:100%;object-fit:cover}
.hmn-team-page-official .hmn-team-card h3 a{color:#071426!important}
.hmn-team-page-official .hmn-team-position{color:#f58220!important;font-weight:900}


/* =========================================================
   Hasakah v1.0.2 — إصلاح وضوح الخطوط في التصنيفات والصفحات
   ========================================================= */
body.category,
body.archive,
body.search,
body.single,
body.page {
  background: linear-gradient(135deg,#071426 0%,#0b1d35 50%,#020812 100%) !important;
}
body.category .hmn-wp-content-wrap,
body.archive .hmn-wp-content-wrap,
body.search .hmn-wp-content-wrap,
body.single .hmn-wp-content-wrap,
body.page .hmn-wp-content-wrap {
  color: #071426 !important;
}
.hmn-wp-section-head,
.hmn-wp-content-card,
.hmn-wp-post-card {
  background: #ffffff !important;
  color: #071426 !important;
  border: 1px solid #dbe5f0 !important;
  box-shadow: 0 18px 55px rgba(2,8,18,.18) !important;
}
.hmn-wp-section-head h1,
.hmn-wp-section-head p,
.hmn-wp-content-card h1,
.hmn-wp-content-card h2,
.hmn-wp-content-card h3,
.hmn-wp-post-card h1,
.hmn-wp-post-card h2,
.hmn-wp-post-card h3,
.hmn-wp-post-card h2 a,
.hmn-wp-content-card a:not(.hmn-wp-tag) {
  color: #071426 !important;
}
.hmn-wp-post-card p,
.hmn-wp-content,
.hmn-wp-meta,
.hmn-wp-post-card .hmn-wp-meta {
  color: #334155 !important;
}
.hmn-wp-tag {
  color: #ffffff !important;
  background: linear-gradient(135deg,#001f3f,#0d3b66) !important;
  border-color: rgba(255,140,0,.42) !important;
}
.hmn-wp-pagination,
.hmn-wp-pagination a,
.hmn-wp-pagination span {
  color: #071426 !important;
}
.hmn-wp-thumb img,
.hmn-wp-featured img,
.hmn-v102-category-section img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* صندوق أبيض يعني خط داكن واضح */
.bg-white,
.bg-white *,
.cat-box.bg-white,
.cat-box.bg-white *,
.tc-widget-social-style8,
.tc-widget-social-style8 *,
.tc-widget-popular-style8,
.tc-widget-popular-style8 *,
.tc-widget-standings-style8,
.tc-widget-standings-style8 * {
  color: #071426 !important;
}
.bg-white a,
.cat-box.bg-white a,
.tc-widget-social-style8 a,
.tc-widget-popular-style8 a {
  color: #071426 !important;
}
.bg-white .text,
.bg-white .text *,
.bg-white .color-666,
.bg-white .meta-bot,
.bg-white .meta-bot *,
.bg-white .fsz-12px,
.cat-box.bg-white .meta-bot,
.cat-box.bg-white .meta-bot * {
  color: #334155 !important;
}
.bg-white .section-title h3,
.bg-white .section-title h3 a,
.bg-white .section-title-style8 h3,
.bg-white .section-title-style8 h3 a,
.cat-box.bg-white .title,
.cat-box.bg-white .title a {
  color: #071426 !important;
  text-shadow: none !important;
}
.tc-post-overlay-default .content,
.tc-post-overlay-default .content *,
.tc-post-overlay-style8 .content,
.tc-post-overlay-style8 .content * {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.72) !important;
}
.tc-post-overlay-default .content::before,
.tc-post-overlay-style8 .content::before {
  background: linear-gradient(to top,rgba(2,8,18,.78),rgba(2,8,18,.18),transparent) !important;
}
.hmn-v102-section-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.hmn-v102-section-title h3 {
  font-weight: 950 !important;
  letter-spacing: -.03em;
}
.hmn-v102-category-section {
  border-top: 5px solid #ff8c00 !important;
}
.hmn-v102-category-section .hmn-empty-note {
  padding: 18px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #334155 !important;
  font-weight: 800;
}
.hmn-v102-compact-card ul {
  margin: 0;
  padding-right: 0;
  list-style: none;
}
.hmn-v102-compact-card li a {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}
.hmn-v102-compact-card .img,
.hmn-v102-grid-section .img,
.hmn-v102-wide-section .img {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #e5e7eb;
}
.hmn-v102-overlay-list .tc-post-list-style2 .item {
  border-bottom: 1px solid #e5e7eb !important;
}

/* ألوان شارات الأقسام الجديدة */
.section-title h3.orange,
.section-title-style8 h3.orange,
.section-title h3.orange a { color: #f97316 !important; }
.section-title h3.yellow,
.section-title-style8 h3.yellow,
.section-title h3.yellow a { color: #d97706 !important; }
.section-title h3.green,
.section-title-style8 h3.green,
.section-title h3.green a { color: #059669 !important; }
.section-title h3.purple,
.section-title-style8 h3.purple,
.section-title h3.purple a { color: #7c3aed !important; }
.section-title h3.cyan,
.section-title-style8 h3.cyan,
.section-title h3.cyan a { color: #0891b2 !important; }

/* خلفية داكنة تعني خط أبيض واضح */
.bg-blue2,
.bg-blue2 *,
.tc-hot-videos-style8,
.tc-hot-videos-style8 *,
.footer,
.footer * {
  color: #ffffff !important;
}

/* تحسين الجوال */
@media (max-width: 768px) {
  .hmn-v102-section-title { align-items:flex-start; flex-direction:column; }
  .hmn-wp-post-card { padding: 18px !important; }
  .hmn-wp-post-grid { grid-template-columns: 1fr !important; }
}


/* v1.0.4 — مركز البث والإنتاج الإعلامي */
.hmn-broadcast-center{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,140,0,.18), transparent 30%),
    linear-gradient(180deg,#071426,#020b15)!important;
}
.hmn-broadcast-center .section-title-style2 h4,
.hmn-broadcast-center h4.me-30{
  color:#fff!important;
  font-weight:950!important;
}
.hmn-media-center-subtitle{
  max-width:920px;
  margin:-10px 0 24px;
  color:rgba(255,255,255,.76)!important;
  font-weight:700;
  line-height:1.9;
}
.hmn-media-center-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.hmn-media-center-link,
.hmn-media-center-actions a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,140,0,.38);
  border-radius:999px;
  padding:9px 14px;
  color:#ffb15c!important;
  background:rgba(255,140,0,.09);
  font-weight:900;
}
.hmn-media-component-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 26px;
}
.hmn-media-component-nav span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
}
.hmn-media-component-nav span i{color:#ff8c00;font-size:18px}
.hmn-media-component-nav span b{
  display:grid;
  place-items:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#ff8c00;
  color:#071426;
  font-size:12px;
}
.hmn-media-featured{
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  padding:18px;
  background:rgba(255,255,255,.045);
  box-shadow:0 28px 80px rgba(0,0,0,.26);
}
.hmn-media-embed{
  position:relative;
  width:100%;
  min-height:360px;
  border-radius:24px;
  overflow:hidden;
  background:#000;
}
.hmn-media-embed iframe,
.hmn-media-embed video{
  width:100%!important;
  height:500px!important;
  display:block;
  border:0;
}
.hmn-media-meta-box{
  display:grid;
  gap:10px;
  margin:18px 0;
}
.hmn-media-meta-box span{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  color:rgba(255,255,255,.85)!important;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
}
.hmn-media-status{
  display:inline-flex!important;
  margin-inline-start:8px;
  padding:6px 10px;
  border-radius:999px;
  color:#071426!important;
  background:#ff8c00;
  font-weight:900;
}
.hmn-media-mini-card{
  height:100%;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:12px;
  background:rgba(255,255,255,.045);
}
.hmn-media-mini-card .title a{color:#fff!important}
.hmn-media-mini-card .tags a{color:#ffb15c!important}
.hmn-media-managed-section .hmn-wp-content-card h3,
.hmn-media-managed-section .hmn-wp-content-card p{color:#111827!important}
.hmn-cv-cover-seal,
.hmn-cv-seal,
.hmn-profile-seal{
  display:none!important;
  visibility:hidden!important;
}
@media(max-width:900px){
  .hmn-media-embed{min-height:240px}
  .hmn-media-embed iframe,.hmn-media-embed video{height:300px!important}
  .hmn-media-featured{padding:12px}
}

.hmn-broadcast-single{padding:54px 0;background:#071426}
.hmn-media-single-card{max-width:1120px;margin:0 auto;border-radius:30px!important;overflow:hidden}
.hmn-media-single-head{padding:28px;border-bottom:1px solid #e5eaf2;background:linear-gradient(135deg,#fff,#f8fafc)}
.hmn-media-single-head span{display:inline-flex;border-radius:999px;background:#001f3f;color:#fff;padding:8px 14px;font-weight:900}
.hmn-media-single-head h1{margin:16px 0 6px;color:#071426!important;font-weight:950}
.hmn-media-single-type{color:#ff8c00!important;font-weight:900}
.hmn-media-single-player{padding:22px;background:#020b15}
.hmn-media-single-player video,.hmn-media-single-player iframe{width:100%;min-height:420px;border-radius:24px;background:#000}
.hmn-media-single-info{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:18px;background:#f8fafc;border-bottom:1px solid #e5eaf2}
.hmn-media-single-info div{background:#fff;border:1px solid #e5eaf2;border-radius:16px;padding:12px}
.hmn-media-single-info strong{display:block;color:#071426;font-weight:950;margin-bottom:4px}
.hmn-media-single-info span{color:#111827;font-weight:800}
.hmn-media-single-content{padding:28px;color:#111827!important;line-height:2}
.hmn-media-single-content h2{color:#071426!important;border-right:4px solid #ff8c00;padding-right:10px;font-weight:950}
@media(max-width:900px){.hmn-media-single-info{grid-template-columns:1fr}.hmn-media-single-player video,.hmn-media-single-player iframe{min-height:260px}}


/* =========================================================
   Hasakah v1.0.6 — visible latest news strip + about dock
   ========================================================= */
.hmn-top-news-strip.results-navbar {
  background: var(--hmn-strip-bg, #071426) !important;
  color: var(--hmn-strip-text, #fff) !important;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  margin: 0;
}
.hmn-top-news-strip .container { padding-top: 10px; padding-bottom: 10px; }
.hmn-top-news-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
}
.hmn-top-news-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--hmn-strip-accent, #d8b15f);
  font-weight: 950;
  white-space: nowrap;
}
.hmn-top-news-label i { font-size: 1.08rem; }
.hmn-top-news-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 3px 0;
}
.hmn-top-news-track::-webkit-scrollbar { height: 5px; }
.hmn-top-news-item {
  flex: 0 0 auto;
  max-width: 360px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.065);
  color: var(--hmn-strip-text, #fff) !important;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.hmn-top-news-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.11);
  border-color: color-mix(in srgb, var(--hmn-strip-accent, #d8b15f) 60%, white 10%);
}
.hmn-top-news-item strong {
  color: var(--hmn-strip-accent, #d8b15f);
  font-weight: 950;
  font-size: .76rem;
  white-space: nowrap;
}
.hmn-top-news-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hmn-strip-text, #fff);
  font-weight: 900;
  font-size: .88rem;
}
.hmn-top-news-item small {
  color: rgba(255,255,255,.72);
  font-weight: 800;
  font-size: .72rem;
  white-space: nowrap;
}
.hmn-top-news-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--hmn-strip-accent, #d8b15f);
  color: #061323 !important;
  font-weight: 950;
  text-decoration: none !important;
  white-space: nowrap;
}
.hmn-top-news-empty { color:#fff; font-weight:900; }

/* Inner page breaking ticker visibility */
.hmn-wp-breaking {
  background: linear-gradient(135deg, rgba(7,20,38,.96), rgba(11,29,53,.94)) !important;
  border-color: rgba(216,177,95,.24) !important;
}
.hmn-wp-breaking div {
  color: #fff !important;
  display: flex;
  gap: 12px;
  overflow-x: auto;
}
.hmn-wp-breaking .hmn-ticker-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 8px 10px;
}
.hmn-wp-breaking .hmn-ticker-link b { color: #ffd27d; }
.hmn-wp-breaking .hmn-ticker-link span { animation: none !important; transform: none !important; color:#fff !important; }
.hmn-wp-breaking .hmn-ticker-link em { color: rgba(255,255,255,.7); font-style: normal; font-size: .76rem; }

/* About dock panel and page */
.hmn-dock--network .hmn-dock-about-toggle {
  color: #ffe4a0;
  background: rgba(216,177,95,.10);
  border: 1px solid rgba(216,177,95,.20);
}
.hmn-dock--network .hmn-dock-about-toggle[aria-expanded="true"] {
  background: rgba(216,177,95,.18);
  color: #fff0bc;
  border-color: rgba(216,177,95,.36);
}
.hmn-dock-mega--about { width: min(980px, calc(100vw - 28px)); }
.hmn-about-panel-grid,
.hmn-about-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hmn-about-panel-card,
.hmn-about-page-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035)), rgba(0,0,0,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.hmn-about-panel-card i {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(216,177,95,.15);
  color: #ffe4a0;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.hmn-about-panel-card h4,
.hmn-about-page-card b {
  display: block;
  margin: 0 0 8px;
  color: #ffe4a0;
  font-size: 1.05rem;
  font-weight: 950;
}
.hmn-about-panel-card p,
.hmn-about-page-card p {
  margin: 0;
  color: rgba(245,251,255,.78);
  line-height: 1.9;
  font-weight: 750;
}
.hmn-about-panel-links,
.hmn-about-page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.hmn-about-panel-links a,
.hmn-about-page-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.065);
  color: #f5fbff !important;
  font-weight: 950;
  text-decoration: none !important;
  transition: .2s ease;
}
.hmn-about-panel-links a:hover,
.hmn-about-page-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(216,177,95,.35);
  background: rgba(216,177,95,.12);
  color: #ffe4a0 !important;
}
.hmn-about-page {
  color: #f5fbff;
}
.hmn-about-hero {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 46px);
  background:
    radial-gradient(circle at 10% 10%, rgba(216,177,95,.18), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(42,167,255,.16), transparent 26%),
    linear-gradient(135deg, rgba(7,20,38,.96), rgba(11,29,53,.92));
  box-shadow: 0 30px 90px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08);
  margin-bottom: 16px;
}
.hmn-about-hero span {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffe4a0;
  border: 1px solid rgba(216,177,95,.26);
  background: rgba(216,177,95,.10);
  font-weight: 950;
}
.hmn-about-hero h1 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 950;
}
.hmn-about-hero p {
  max-width: 78ch;
  margin: 0;
  color: rgba(245,251,255,.82);
  line-height: 2;
  font-weight: 800;
}
.hmn-about-page-card {
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.032)), rgba(7,20,38,.72);
}
.hmn-about-team-wrap { margin-top: 20px; }
@media (max-width: 900px) {
  .hmn-top-news-inner { grid-template-columns: 1fr; }
  .hmn-top-news-item { max-width: 84vw; }
  .hmn-about-panel-grid,
  .hmn-about-page-grid,
  .hmn-about-panel-links,
  .hmn-about-page-links { grid-template-columns: 1fr; }
}


/* HMN v1.0.7 — الوسوم والشريط والوسائط */
.hmn-wp-breaking,
.navbar-container .tc-breaking-news-style8,
.tc-trends-news-style1,
.hot-trends-tabs-style1{color:#fff!important}
.hmn-wp-breaking{background:#071426!important;border:1px solid rgba(216,177,95,.18)!important;border-radius:18px!important;overflow:hidden!important}
.hmn-wp-breaking strong{background:#1d8fe3!important;color:#fff!important;font-weight:950!important}
.hmn-wp-breaking div,.hmn-wp-breaking div span,.hmn-wp-breaking div a{color:#fff!important;font-weight:900!important;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.hmn-wp-header .hmn-wp-menu{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin;max-width:100%}
.hmn-wp-header .hmn-wp-menu>li{flex:0 0 auto!important}
.hmn-wp-header .hmn-wp-menu a{white-space:nowrap!important;color:#f8fafc!important}
.hmn-wp-section-head{overflow:hidden!important;padding-inline:18px!important}
.hmn-wp-section-head h1{max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;font-size:clamp(30px,5vw,68px)!important;line-height:1.25!important;color:#0b1b2f!important;text-shadow:none!important}
.hmn-wp-section-head p{color:#334155!important;font-weight:700!important}
.hot-trends-tabs-style1{background:rgba(255,255,255,.06)!important;border-radius:18px!important;padding:10px 14px!important}
.hot-trends-tabs-style1 p{color:#fff!important}
.hot-trends-tabs-style1 .links{display:flex!important;flex-wrap:wrap!important;gap:10px!important;min-width:0!important}
.hot-trends-tabs-style1 .links .link,.hmn-top-fixed-tags .link{display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:7px 14px!important;border-radius:10px!important;background:var(--hmn-top-tag-bg,#fff)!important;color:var(--hmn-top-tag-text,#111827)!important;border:1px solid rgba(255,140,0,.32)!important;font-weight:900!important;line-height:1.3!important;text-decoration:none!important;box-shadow:0 7px 18px rgba(0,31,63,.12)!important}
.hot-trends-tabs-style1 .links .link:hover,.hmn-top-fixed-tags .link:hover{background:var(--hmn-top-tag-accent,#ff4b22)!important;color:#fff!important;transform:translateY(-1px)}
.hmn-auto-tags{margin-top:34px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#071426,#10243d);border:1px solid rgba(255,140,0,.22);box-shadow:0 18px 45px rgba(0,31,63,.18)}
.hmn-auto-tags h3{margin:0 0 16px!important;color:#ffb55e!important;font-size:20px!important;font-weight:950!important}
.hmn-auto-tags-list{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.hmn-auto-tags-list a{display:inline-flex;align-items:center;min-height:34px;padding:7px 13px;border-radius:999px;background:#fff;color:#0b1b2f!important;border:1px solid rgba(255,140,0,.28);font-weight:900;text-decoration:none!important}
.hmn-auto-tags-list a:before{content:"#";color:#ff8c00;margin-inline-end:4px}
.hmn-hot-media-files{position:relative;overflow:hidden;padding:34px 24px;margin:34px auto;border-radius:30px;background:linear-gradient(145deg,#071426,#111b22);border:1px solid rgba(216,177,95,.28);box-shadow:0 28px 65px rgba(0,31,63,.35)}
.hmn-hot-media-files:before{content:"";position:absolute;inset:-100px auto auto -70px;width:250px;height:250px;background:#d8b15f;border-radius:50%;filter:blur(75px);opacity:.22}
.hmn-hot-media-head{position:relative;text-align:center;margin-bottom:28px}
.hmn-hot-media-head h2{margin:0;color:#d8b15f!important;font-size:clamp(26px,3.8vw,48px);line-height:1.25;font-weight:950}
.hmn-hot-media-head p{margin:12px auto 0;max-width:980px;color:#dce6f2!important;font-size:17px;line-height:1.9;font-weight:800}
.hmn-hot-media-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hmn-hot-media-card{min-height:150px;display:flex;flex-direction:column;justify-content:center;padding:24px;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(216,177,95,.18);color:#fff!important;text-decoration:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 15px 32px rgba(0,0,0,.22);transition:transform .2s ease,border-color .2s ease,background .2s ease}
.hmn-hot-media-card:hover{transform:translateY(-4px);border-color:#d8b15f;background:linear-gradient(180deg,rgba(216,177,95,.16),rgba(255,255,255,.04))}
.hmn-hot-media-card .hmn-card-icon{font-size:27px;margin-bottom:12px}
.hmn-hot-media-card h3{margin:0;color:#fff!important;font-size:22px;line-height:1.65;font-weight:950}
.hmn-hot-media-card p{margin:8px 0 0;color:#dbe5f0!important;font-size:14px;line-height:1.9;font-weight:800}
.hmn-hot-media-grid .hmn-hot-media-card:nth-child(n+4){min-height:105px}
.hmn-hot-media-latest{margin-top:22px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1)}
.hmn-hot-media-latest h3{color:#d8b15f!important;font-weight:950;margin:0 0 16px}
.hmn-hot-media-latest-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.hmn-hot-media-post{display:block;overflow:hidden;border-radius:18px;background:#fff;color:#0b1b2f!important;text-decoration:none!important}
.hmn-hot-media-post img{width:100%;height:150px;object-fit:cover;display:block}
.hmn-hot-media-post strong{display:block;padding:13px;color:#0b1b2f!important;line-height:1.7;font-weight:950}
@media(max-width:991px){.hmn-hot-media-grid{grid-template-columns:1fr}.hmn-hot-media-files{padding:26px 16px}.hmn-wp-section-head h1{font-size:clamp(28px,8vw,42px)!important}}
