:root {
  --hmn-blue: #031b4e;
  --hmn-blue-2: #092b70;
  --hmn-red: #c9182b;
  --hmn-orange: #f07d22;
  --hmn-cyan: #18a7c8;
  --hmn-green: #19a66a;
  --hmn-ink: #080b14;
  --hmn-muted: #6b7280;
  --hmn-line: #e7e9ef;
  --hmn-bg: #f2f4f8;
  --hmn-card: #ffffff;
}

* { box-sizing: border-box; }

body.hasakah-site {
  margin: 0;
  background: var(--hmn-bg);
  color: var(--hmn-ink);
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  padding-bottom: 104px;
}

a { color: inherit; }

.hmn-container {
  width: min(1180px, calc(100% - 28px));
  margin: auto;
}

.hmn-sport-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hmn-blue);
  color: #fff;
  box-shadow: 0 16px 44px rgba(3, 27, 78, .25);
}

.hmn-sport-top {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 150px minmax(250px, .85fr) auto;
  gap: 18px;
  align-items: center;
}

.hmn-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
}

.hmn-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.hmn-date {
  border-inline-start: 1px solid rgba(255,255,255,.16);
  padding-inline-start: 16px;
  line-height: 1.8;
}

.hmn-date strong { display: block; }
.hmn-date span { color: rgba(255,255,255,.72); font-size: 13px; }

.hmn-search {
  position: relative;
  display: flex;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  min-height: 48px;
}

.hmn-search input {
  border: 0;
  outline: 0;
  flex: 1;
  padding: 0 18px;
  font-family: inherit;
  min-width: 0;
}

.hmn-search button {
  border: 0;
  background: var(--hmn-red);
  color: #fff;
  font-weight: 800;
  padding: 0 18px;
  cursor: pointer;
}

.hmn-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.hmn-header-actions a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,.7);
}

.hmn-live-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hmn-red);
  margin-inline-end: 7px;
  box-shadow: 0 0 0 5px rgba(201,24,43,.18);
}

.hmn-sport-nav {
  min-height: 54px;
  border-top: 1px solid rgba(255,255,255,.11);
  display: flex;
  align-items: center;
}

.hmn-sport-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hmn-sport-nav a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
}

.hmn-sport-nav a:hover,
.hmn-sport-nav .current-menu-item > a { color: #fff; }

.hmn-results-bar {
  background: #fff;
  border-bottom: 1px solid var(--hmn-line);
}

.hmn-results-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.hmn-sports-select {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  background: #f8f9fb;
  text-decoration: none;
  font-weight: 900;
  color: var(--hmn-blue);
}

.hmn-score-card {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px auto;
  align-items: center;
  gap: 10px;
  border-inline-start: 1px solid var(--hmn-line);
  padding-inline-start: 16px;
  color: #111827;
}

.hmn-score-card span {
  font-weight: 900;
  font-size: 20px;
}

.hmn-score-card em {
  color: var(--hmn-red);
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
}

.hmn-sport-banner { padding: 34px 0 18px; }

.hmn-sport-banner a {
  display: block;
  width: min(900px, 100%);
  margin: auto;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--hmn-line);
  overflow: hidden;
}

.hmn-sport-banner img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.hmn-trends { margin-bottom: 30px; }

.hmn-trends-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--hmn-line);
  padding: 16px 18px;
}

.hmn-trends strong {
  color: #000;
  margin-inline-end: 8px;
}

.hmn-trends strong::before {
  content: "↗";
  color: var(--hmn-red);
  margin-inline-end: 8px;
}

.hmn-trends a {
  color: var(--hmn-muted);
  text-decoration: none;
  font-weight: 800;
  padding-inline: 6px;
}

.hmn-featured-sport,
.hmn-section { padding: 0 0 30px; }

.hmn-block-title,
.hmn-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hmn-block-title h2,
.hmn-section__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.hmn-block-title a,
.hmn-section__head a {
  color: var(--hmn-muted);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
}

.hmn-feature-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 195px 195px;
  gap: 18px;
}

.hmn-overlay-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 100%;
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  background: #111;
}

.hmn-overlay-card--large { grid-row: span 2; }

.hmn-overlay-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.hmn-overlay-card:hover img { transform: scale(1.04); }

.hmn-overlay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.78));
}

.hmn-overlay-card span,
.hmn-overlay-card h3,
.hmn-overlay-card small {
  position: relative;
  z-index: 1;
  margin-inline: 24px;
}

.hmn-overlay-card span {
  display: inline-block;
  margin-top: 210px;
  background: var(--hmn-orange);
  color: #fff;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.hmn-overlay-card:not(.hmn-overlay-card--large) span { margin-top: 86px; }

.hmn-overlay-card h3 {
  margin-top: 14px;
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.55;
}

.hmn-overlay-card:not(.hmn-overlay-card--large) h3 { font-size: 18px; }

.hmn-overlay-card small { color: rgba(255,255,255,.84); }

.hmn-breaking-sport {
  margin-bottom: 30px;
}

.hmn-breaking-sport .hmn-container {
  background: var(--hmn-red);
  padding: 24px;
}

.hmn-block-title--light h2,
.hmn-block-title--light a { color: #fff; }

.hmn-breaking-grid,
.hmn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hmn-breaking-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hmn-card {
  background: var(--hmn-card);
  border: 1px solid var(--hmn-line);
  overflow: hidden;
}

.hmn-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hmn-card img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  display: block;
}

.hmn-card div { padding: 14px 0 0; }

.hmn-card span {
  display: inline-block;
  background: var(--hmn-cyan);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 10px;
  padding: 4px 9px;
}

.hmn-card h3 {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.hmn-card p {
  color: var(--hmn-muted);
  line-height: 1.9;
  margin: 10px 0 0;
}

.hmn-card--dark {
  background: transparent;
  border: 0;
  color: #fff;
}

.hmn-card--dark div { padding-top: 14px; }
.hmn-card--dark img { aspect-ratio: 1.15; }
.hmn-card--dark h3 { color: #fff; font-size: 15px; }
.hmn-card--dark span { background: var(--hmn-blue-2); }

.hmn-card--compact a {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: stretch;
  gap: 12px;
}

.hmn-card--compact img {
  height: 100%;
  aspect-ratio: auto;
}

.hmn-card--compact div { padding: 0; }
.hmn-card--compact h3 { font-size: 15px; }

.hmn-page,
.hmn-single { padding: 34px 0; }

.hmn-page__content,
.hmn-single {
  background: #fff;
  border: 1px solid var(--hmn-line);
  padding: 28px;
}

.hmn-single__image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.hmn-single__body {
  line-height: 2;
  font-size: 18px;
}

.hmn-sections-tree {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hmn-sections-tree a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--hmn-ink);
  background: #fff;
  border: 1px solid var(--hmn-line);
  padding: 14px;
  font-weight: 900;
}

.hmn-sections-tree small {
  background: var(--hmn-red);
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
}

.hmn-sections-page {
  background: #f4f6fb;
  color: #07111f;
  line-height: 1.8;
}

.hmn-sections-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: #061f5c;
  color: #fff;
  border-radius: 28px;
  padding: 34px;
  margin: 0 auto 22px;
  box-shadow: 0 24px 60px rgba(6,31,92,.2);
}

.hmn-sections-hero p {
  margin: 0 0 8px;
  color: #f5c451;
  font-weight: 900;
}

.hmn-sections-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.25;
}

.hmn-sections-hero span {
  display: block;
  color: #dbe6ff;
  margin-top: 8px;
}

.hmn-sections-count {
  min-width: 132px;
  min-height: 132px;
  border-radius: 28px;
  background: #fff;
  color: #061f5c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hmn-sections-count b { font-size: 42px; }
.hmn-sections-count small { font-weight: 900; }

.hmn-sections-search {
  display: block;
  margin: 0 auto 22px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 14px 18px;
}

.hmn-sections-search span {
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

.hmn-sections-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: #f7f9fc;
  border-radius: 14px;
  padding: 14px;
  font-family: inherit;
  font-size: 16px;
}

.hmn-root-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hmn-root-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.hmn-root-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #061f5c;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.hmn-root-head strong { font-size: 24px; }

.hmn-root-head em {
  font-style: normal;
  background: var(--hmn-red);
  color: #fff;
  border-radius: 999px;
  padding: 4px 11px;
  font-weight: 900;
}

.hmn-sec-children {
  display: grid;
  gap: 8px;
}

.hmn-sec-node a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #111827;
  background: #f8fafc;
  border-right: 4px solid #d7deea;
  border-radius: 14px;
  padding: 9px 12px;
}

.hmn-sec-node span { font-weight: 800; }

.hmn-sec-node b {
  background: #eef2f7;
  color: #061f5c;
  border-radius: 999px;
  min-width: 28px;
  text-align: center;
  padding: 1px 8px;
}

.hmn-sec-depth-1,
.hmn-sec-depth-2,
.hmn-sec-depth-3 {
  margin: 8px 18px 0 0;
}

.hmn-sec-depth-1 .hmn-sec-node a { background: #fff; }
.hmn-sec-depth-2 .hmn-sec-node a { background: #fbfbfd; }
.hmn-hidden { display: none !important; }

.hmn-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: calc(100% - 22px);
  padding: 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 44px rgba(16,18,22,.20);
  backdrop-filter: blur(18px);
}

.hmn-dock a {
  width: 88px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #15171c;
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 900;
}

.hmn-dock a:hover { background: #fff; }
.hmn-dock b { font-size: 18px; }
.hmn-dock--breaking-red { background: rgba(181,22,34,.86); }
.hmn-dock--breaking-red a { color: #fff; }

.hmn-footer {
  margin-top: 34px;
  background: #070b16;
  color: #fff;
  padding: 42px 0;
}

.hmn-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.hmn-footer__logo { width: 88px; }

.hmn-live-studio-home {
  position: relative;
  overflow: hidden;
}

.hmn-live-studio-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(201,24,43,.16), transparent 34%, rgba(24,167,200,.12)),
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.10), transparent 28%);
}

.hmn-live-studio-home .container {
  position: relative;
  z-index: 1;
}

.hmn-live-player {
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  background: #050914;
}

.hmn-live-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  background: rgba(201,24,43,.92);
  border: 3px solid rgba(255,255,255,.78);
  box-shadow: 0 20px 55px rgba(0,0,0,.36);
  font-size: 34px;
}

.hmn-live-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(3,27,78,.88);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.hmn-live-ribbon span {
  background: #c9182b;
  padding: 3px 8px;
}

.hmn-live-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hmn-live-meta a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hmn-live-side .img {
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
}

.hmn-live-side .img span {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #c9182b;
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
}

.hmn-live-side p {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.8;
  margin: 8px 0 0;
}

@media (max-width: 1020px) {
  .hmn-sport-top { grid-template-columns: 1fr; padding: 18px 0; }
  .hmn-date { border: 0; padding: 0; }
  .hmn-results-inner { grid-template-columns: 1fr; padding-bottom: 14px; }
  .hmn-sports-select { min-height: 52px; }
  .hmn-feature-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .hmn-overlay-card { min-height: 280px; }
  .hmn-overlay-card span,
  .hmn-overlay-card:not(.hmn-overlay-card--large) span { margin-top: 130px; }
  .hmn-breaking-grid,
  .hmn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hmn-root-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hmn-sport-nav ul { gap: 14px; padding-bottom: 12px; }
  .hmn-brand span { font-size: 15px; }
  .hmn-header-actions { flex-wrap: wrap; }
  .hmn-score-card { grid-template-columns: 1fr 28px 1fr 28px; }
  .hmn-score-card em { grid-column: 1 / -1; }
  .hmn-breaking-grid,
  .hmn-grid,
  .hmn-footer__grid { grid-template-columns: 1fr; }
  .hmn-overlay-card h3 { font-size: 22px; }
  .hmn-sections-hero {
    display: block;
    border-radius: 20px;
    padding: 24px;
  }
  .hmn-sections-hero h1 { font-size: 32px; }
  .hmn-sections-count { margin-top: 18px; }
  .hmn-dock {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .hmn-dock a {
    min-width: 76px;
    width: 76px;
  }
}
