/*
Theme Name: comesports
Theme URI: https://comesports.win/
Author: Codex
Description: A custom WordPress theme for an India-focused fantasy sports landing site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: comesports
*/

:root {
  --cs-bg: #07131f;
  --cs-surface: #0e2235;
  --cs-surface-soft: rgba(255, 255, 255, 0.06);
  --cs-card: #102841;
  --cs-text: #ecf4fb;
  --cs-muted: #a8bfd3;
  --cs-line: rgba(255, 255, 255, 0.12);
  --cs-accent: #ffb703;
  --cs-accent-strong: #fb8500;
  --cs-green: #2ec27e;
  --cs-red: #ff5d73;
  --cs-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --cs-radius-lg: 28px;
  --cs-radius-md: 18px;
  --cs-radius-sm: 12px;
  --cs-container: min(1180px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 183, 3, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(46, 194, 126, 0.16), transparent 22%),
    linear-gradient(180deg, #091521 0%, #07131f 45%, #0b1a2a 100%);
  color: var(--cs-text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.cs-site {
  min-height: 100vh;
}

.cs-container {
  width: var(--cs-container);
  margin: 0 auto;
}

.cs-section {
  padding: 88px 0;
}

.cs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 183, 3, 0.12);
  color: #ffd277;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-title {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.cs-lead,
.cs-section-copy,
.entry-content p,
.entry-summary {
  color: var(--cs-muted);
  line-height: 1.7;
  font-size: 17px;
}

.cs-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 19, 31, 0.82);
  border-bottom: 1px solid var(--cs-line);
}

.cs-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cs-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cs-accent), var(--cs-accent-strong));
  color: #091521;
  font-weight: 900;
}

.cs-brand__copy small {
  display: block;
  color: var(--cs-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.cs-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cs-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-nav a {
  color: var(--cs-muted);
  font-weight: 600;
}

.cs-nav a:hover,
.cs-nav .current-menu-item > a {
  color: var(--cs-text);
}

.cs-nav-toggle {
  display: none;
  border: 1px solid var(--cs-line);
  background: var(--cs-surface-soft);
  color: var(--cs-text);
  padding: 10px 14px;
  border-radius: 12px;
}

.cs-btn,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cs-btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
}

.cs-btn--primary {
  color: #091521;
  background: linear-gradient(135deg, var(--cs-accent), var(--cs-accent-strong));
  box-shadow: 0 18px 32px rgba(251, 133, 0, 0.25);
}

.cs-btn--ghost {
  color: var(--cs-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--cs-line);
}

.cs-hero {
  padding: 70px 0 42px;
}

.cs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.cs-hero__content,
.cs-hero__panel,
.cs-card,
.cs-post-card,
.cs-article {
  background: linear-gradient(180deg, rgba(16, 40, 65, 0.95), rgba(8, 20, 33, 0.96));
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius-lg);
  box-shadow: var(--cs-shadow);
}

.cs-hero__content {
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.cs-hero__content::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.22), transparent 65%);
}

.cs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.cs-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cs-metric {
  padding: 18px;
  border-radius: var(--cs-radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-metric strong {
  display: block;
  font-size: 24px;
}

.cs-metric span {
  color: var(--cs-muted);
  font-size: 13px;
}

.cs-hero__panel {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.cs-scoreboard {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-scoreboard__head,
.cs-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cs-scoreboard__league {
  color: #ffd277;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cs-versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}

.cs-team {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.cs-team strong {
  display: block;
  font-size: 26px;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(46, 194, 126, 0.13);
  color: #7ef2b4;
  font-size: 12px;
  font-weight: 700;
}

.cs-list,
.entry-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.cs-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cs-muted);
}

.cs-grid-3,
.cs-grid-4,
.cs-post-grid {
  display: grid;
  gap: 20px;
}

.cs-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cs-card {
  padding: 26px;
}

.cs-card h3,
.cs-post-card h2,
.cs-article h1,
.cs-article h2,
.cs-article h3,
.entry-title {
  margin: 0 0 12px;
  line-height: 1.15;
}

.cs-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.24), rgba(46, 194, 126, 0.22));
  font-size: 24px;
}

.cs-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cs-strip__item {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cs-line);
}

.cs-strip__item span {
  display: block;
  color: var(--cs-muted);
  font-size: 14px;
}

.cs-strip__item strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.cs-highlight {
  position: relative;
  overflow: hidden;
}

.cs-highlight::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 194, 126, 0.2), transparent 68%);
}

.cs-steps {
  counter-reset: steps;
}

.cs-step {
  position: relative;
  padding-left: 72px;
}

.cs-step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cs-accent), var(--cs-accent-strong));
  color: #07131f;
  font-weight: 900;
}

.cs-faq details {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cs-line);
}

.cs-faq details + details {
  margin-top: 14px;
}

.cs-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.cs-faq p {
  margin: 12px 0 0;
  color: var(--cs-muted);
}

.cs-cta {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 20px;
  align-items: center;
}

.cs-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--cs-line);
  color: var(--cs-muted);
}

.cs-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.cs-content {
  padding: 72px 0;
}

.cs-post-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cs-post-card,
.cs-article {
  padding: 28px;
}

.cs-post-meta {
  color: var(--cs-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .cs-hero__grid,
  .cs-grid-4,
  .cs-strip,
  .cs-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .cs-nav-toggle {
    display: inline-flex;
  }

  .cs-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--cs-line);
    background: rgba(8, 20, 33, 0.98);
    box-shadow: var(--cs-shadow);
  }

  .cs-nav.is-open {
    display: block;
  }

  .cs-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-hero__grid,
  .cs-grid-4,
  .cs-strip,
  .cs-cta,
  .cs-metrics {
    grid-template-columns: 1fr;
  }

  .cs-hero__content,
  .cs-hero__panel,
  .cs-card,
  .cs-post-card,
  .cs-article,
  .cs-cta {
    padding: 22px;
  }

  .cs-section {
    padding: 62px 0;
  }

  .cs-title {
    font-size: clamp(30px, 10vw, 46px);
  }
}

body.wp-theme-comesports {
  background: #f7fafc;
  color: #1f2937;
}

body.wp-theme-comesports .id6789-home {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.75;
}

body.wp-theme-comesports .site-container {
  width: min(1280px, calc(100% - 120px));
  margin-left: auto;
  margin-right: auto;
}

body.wp-theme-comesports .site-branding a.brand img.custom-logo,
body.wp-theme-comesports .mobile-site-branding a.brand img.custom-logo {
  width: 58px;
  max-width: 58px;
  height: 58px;
  object-fit: contain;
}

body.wp-theme-comesports .site-branding .brand,
body.wp-theme-comesports .mobile-site-branding .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

body.wp-theme-comesports .cs-brand-copy {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

body.wp-theme-comesports .cs-brand-copy strong {
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.wp-theme-comesports .cs-brand-copy small {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

body.wp-theme-comesports .site-main-header-inner-wrap {
  min-height: 88px;
}

body.wp-theme-comesports .site-header-wrap {
  background: #ffffff;
  border-bottom: 1px solid #e9eef5;
}

body.wp-theme-comesports.home .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

body.wp-theme-comesports.home .content-wrap {
  padding-top: 0;
}

body.wp-theme-comesports.home .entry.content-bg.single-entry {
  box-shadow: none;
}

body.wp-theme-comesports.home .entry-content-wrap {
  padding-top: 26px;
}

body.wp-theme-comesports.page:not(.home) .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

body.wp-theme-comesports.page:not(.home) .entry.content-bg.single-entry {
  box-shadow: none;
}

body.wp-theme-comesports.page:not(.home) .entry-content-wrap {
  padding: 32px;
}

body.wp-theme-comesports .cs-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

body.wp-theme-comesports .cs-page-card {
  padding: 22px;
  border: 1px solid #e6edf5;
  border-radius: 20px;
  background: #fff;
}

body.wp-theme-comesports .cs-page-card h3 {
  margin: 0 0 10px;
}

body.wp-theme-comesports .cs-page-card p,
body.wp-theme-comesports .cs-page-card li {
  color: #475569;
}

body.wp-theme-comesports .cs-page-band {
  padding: 24px 28px;
  margin: 26px 0;
  border-radius: 22px;
  background: #f4f8fc;
  border: 1px solid #e3ebf5;
}

body.wp-theme-comesports .cs-page-band h2,
body.wp-theme-comesports .cs-page-band h3 {
  margin-top: 0;
}

body.wp-theme-comesports .cs-winners-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

body.wp-theme-comesports .cs-winners-table th,
body.wp-theme-comesports .cs-winners-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e7edf5;
  text-align: left;
}

body.wp-theme-comesports .cs-winners-table th {
  background: #0b1f3b;
  color: #fff;
}

body.wp-theme-comesports .primary-menu-container.header-menu-container > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.wp-theme-comesports .primary-menu-container.header-menu-container > ul > li.menu-item {
  margin: 0;
}

body.wp-theme-comesports .main-navigation .primary-menu-container > ul > li.menu-item > a {
  padding: 12px 16px;
  border-radius: 999px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.wp-theme-comesports .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body.wp-theme-comesports .main-navigation .primary-menu-container > ul > li.current-menu-item > a {
  background: #eef5ff;
  color: #0b63ce;
}

body.wp-theme-comesports .site-header-main-section-center {
  min-width: 0;
}

body.wp-theme-comesports .cs-social-bar {
  background: #08192d;
  color: #e5edf7;
  font-size: 13px;
}

body.wp-theme-comesports .cs-social-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}

body.wp-theme-comesports .cs-social-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.wp-theme-comesports .cs-social-bar__label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

body.wp-theme-comesports .cs-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.wp-theme-comesports .cs-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff !important;
  text-decoration: none !important;
}

body.wp-theme-comesports .cs-social-link::before {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

body.wp-theme-comesports .cs-social-link--facebook::before {
  content: "f";
  background: #1877f2;
}

body.wp-theme-comesports .cs-social-link--instagram::before {
  content: "IG";
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

body.wp-theme-comesports .cs-social-link--youtube::before {
  content: "▶";
  background: #ff0000;
}

body.wp-theme-comesports .cs-social-link--telegram::before {
  content: "T";
  background: #229ed9;
}

body.wp-theme-comesports .cs-social-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

body.wp-theme-comesports .cs-topbar-button {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.wp-theme-comesports .cs-topbar-button--light {
  background: #ffffff !important;
  color: #0f172a !important;
}

body.wp-theme-comesports .cs-topbar-button--green {
  background: #16a34a !important;
  color: #ffffff !important;
}

body.wp-theme-comesports .cs-mobile-nav-wrap {
  display: none;
}

body.wp-theme-comesports .id6789-home .wp-block-heading {
  margin: 24px 0 12px;
}

body.wp-theme-comesports .id6789-hero-image img {
  max-width: 250px;
  height: auto;
}

body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 18px;
}

body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  flex: 0 0 auto;
  background: transparent;
  box-shadow: none;
}

body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid img {
  display: block;
  width: auto;
  max-width: none;
  height: 420px;
  object-fit: contain;
}

body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:first-child {
  order: 2;
}

body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:nth-child(2) {
  order: 1;
}

body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:nth-child(3) {
  order: 3;
}

body.wp-theme-comesports .id6789-buttons {
  margin: 12px 0 24px;
}

body.wp-theme-comesports .id6789-buttons .wp-block-button {
  width: 100%;
  margin: 10px 0;
}

body.wp-theme-comesports .id6789-buttons .wp-block-button__link {
  display: block;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

body.wp-theme-comesports .id6789-home .wp-block-columns {
  align-items: flex-start;
}

body.wp-theme-comesports .id6789-home .wp-block-columns > .wp-block-column {
  min-width: 0;
}

body.wp-theme-comesports .id6789-home .wp-block-columns > .wp-block-column .wp-block-image,
body.wp-theme-comesports .id6789-home .wp-block-columns > .wp-block-column figure {
  margin: 0;
}

body.wp-theme-comesports .id6789-home .wp-block-columns > .wp-block-column img {
  width: 100%;
  height: auto;
}

@media (min-width: 782px) {
  body.wp-theme-comesports .id6789-home .wp-block-columns.is-layout-flex {
    flex-wrap: nowrap !important;
    gap: 24px;
  }

  body.wp-theme-comesports .id6789-home .wp-block-columns.is-layout-flex > .wp-block-column {
    flex: 1 1 0;
    max-width: calc((100% - 48px) / 3);
  }
}

@media (max-width: 781px) {
  body.wp-theme-comesports .site-container {
    width: calc(100% - 32px);
  }

  body.wp-theme-comesports .site-mobile-header-wrap .site-main-header-inner-wrap {
    min-height: 78px;
  }

  body.wp-theme-comesports .site-mobile-header-wrap .site-header-row-container-inner,
  body.wp-theme-comesports .site-mobile-header-wrap .site-main-header-wrap {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.wp-theme-comesports .site-mobile-header-wrap .site-header-main-section-right,
  body.wp-theme-comesports .site-mobile-header-wrap .site-header-main-section-right-center {
    display: none;
  }

  body.wp-theme-comesports .site-mobile-header-wrap .site-header-row.site-header-row-has-sides {
    justify-content: flex-start;
  }

  body.wp-theme-comesports .cs-mobile-nav-wrap {
    display: block;
    position: relative;
    padding: 0;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
  }

  body.wp-theme-comesports .cs-mobile-nav-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 54px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 72%);
    pointer-events: none;
  }

  body.wp-theme-comesports .cs-mobile-nav {
    position: relative;
  }

  body.wp-theme-comesports .cs-mobile-nav ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 8px 56px 8px 0;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  body.wp-theme-comesports .cs-mobile-nav ul::-webkit-scrollbar {
    display: none;
  }

  body.wp-theme-comesports .cs-mobile-nav::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 72%);
    pointer-events: none;
  }

  body.wp-theme-comesports .cs-mobile-nav li {
    flex: 0 0 auto;
  }

  body.wp-theme-comesports .cs-mobile-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eef5ff;
    color: #0b63ce !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
  }

  body.wp-theme-comesports .cs-social-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 10px;
  }

  body.wp-theme-comesports .cs-brand-copy strong {
    font-size: 19px;
  }

  body.wp-theme-comesports .cs-brand-copy small {
    font-size: 10px;
  }

  body.wp-theme-comesports .cs-social-left {
    gap: 8px;
  }

  body.wp-theme-comesports .cs-social-links {
    gap: 8px 12px;
  }

  body.wp-theme-comesports .cs-social-actions {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body.wp-theme-comesports .cs-topbar-button {
    width: 100%;
    text-align: center;
  }

  body.wp-theme-comesports .id6789-home {
    line-height: 1.68;
  }

  body.wp-theme-comesports .id6789-home .wp-block-heading {
    margin: 18px 0 10px;
  }

  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
  }

  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:first-child {
    grid-column: 1 / -1;
    order: initial;
  }

  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:nth-child(2),
  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:nth-child(3) {
    width: 100%;
  }

  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  body.wp-theme-comesports .id6789-buttons {
    margin: 10px 0 18px;
  }

  body.wp-theme-comesports .id6789-buttons .wp-block-button {
    margin: 8px 0;
  }

  body.wp-theme-comesports .id6789-buttons .wp-block-button__link {
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.35;
  }

  body.wp-theme-comesports .id6789-home > .wp-block-group__inner-container > *:first-child,
  body.wp-theme-comesports .entry-content.single-content > *:first-child {
    margin-top: 0 !important;
  }

  body.wp-theme-comesports.home .entry-content-wrap {
    padding-top: 0;
    padding-right: 16px;
    padding-bottom: 18px;
    padding-left: 16px;
  }

  body.wp-theme-comesports .id6789-home .wp-block-heading:first-child {
    margin-top: 0 !important;
    margin-bottom: 8px;
  }

  body.wp-theme-comesports .wp-block-latest-posts.is-grid li {
    width: 100%;
    margin-right: 0;
  }

  body.wp-theme-comesports .site-top-footer-inner-wrap,
  body.wp-theme-comesports .site-bottom-footer-inner-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 520px) {
  body.wp-theme-comesports .site-branding a.brand img.custom-logo,
  body.wp-theme-comesports .mobile-site-branding a.brand img.custom-logo {
    width: 48px;
    max-width: 48px;
    height: 48px;
  }

  body.wp-theme-comesports .cs-brand-copy strong {
    font-size: 16px;
  }

  body.wp-theme-comesports .cs-social-bar__label {
    font-size: 12px;
  }

  body.wp-theme-comesports .cs-social-link {
    font-size: 12px;
  }

  body.wp-theme-comesports .id6789-home {
    font-size: 15px;
  }

  body.wp-theme-comesports .site-mobile-header-wrap .site-main-header-inner-wrap {
    min-height: 72px;
  }

  body.wp-theme-comesports .main-navigation .primary-menu-container > ul > li.menu-item > a {
    font-size: 14px;
    padding: 10px 12px;
  }

  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid {
    grid-template-columns: 1fr;
  }

  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:first-child,
  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:nth-child(2),
  body.wp-theme-comesports .id6789-hero-image .id6789-hero-grid figure:nth-child(3) {
    grid-column: auto;
  }

  body.wp-theme-comesports .id6789-buttons .wp-block-button__link {
    font-size: 14px;
    padding: 11px 12px;
  }
}

body.wp-theme-comesports .id6789-btn-unduh .wp-block-button__link {
  background: #ff6a00;
  color: #fff;
}

body.wp-theme-comesports .id6789-btn-masuk .wp-block-button__link {
  background: #e53935;
  color: #fff;
}

body.wp-theme-comesports .id6789-btn-daftar .wp-block-button__link {
  background: #c62828;
  color: #fff;
}

body.wp-theme-comesports .footer-html-inner p {
  margin: 0;
}

body.wp-theme-comesports,
body.wp-theme-comesports p,
body.wp-theme-comesports li,
body.wp-theme-comesports h1,
body.wp-theme-comesports h2,
body.wp-theme-comesports h3,
body.wp-theme-comesports h4,
body.wp-theme-comesports h5,
body.wp-theme-comesports h6 {
  color: inherit;
}

body.wp-theme-comesports {
  font-family: inherit;
  background: #f7fafc;
}

body.wp-theme-comesports a:not(.wp-block-button__link):not(.button) {
  color: inherit;
  text-decoration: inherit;
}

body.wp-theme-comesports .wp-element-button,
body.wp-theme-comesports .wp-block-button__link {
  display: inline-block;
  border: 0;
  box-shadow: none;
  transform: none;
}

body.wp-theme-comesports .wp-element-button:hover,
body.wp-theme-comesports .wp-block-button__link:hover {
  transform: none;
}

body.wp-theme-comesports .entry-content p,
body.wp-theme-comesports .entry-summary {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

body.wp-theme-comesports #wrapper,
body.wp-theme-comesports .site,
body.wp-theme-comesports .wp-site-blocks {
  min-height: auto;
}
