:root {
  --brand-navy: #0b1934;
  --brand-navy-dark: #081126;
  --brand-gradient: radial-gradient(1200px 400px at 10% -20%, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, #1a2d5f 0%, #274a8f 55%, #1a2d5f 100%);
  --card-bg: rgba(255, 255, 255, 0.96);
  --card-shadow: 0 12px 40px rgba(8, 17, 38, 0.09);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: #111827;
  background: #f5f6fb url("/static/home-bg.jpg") no-repeat center top fixed;
  background-size: cover;
  min-height: 100vh;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #f3f6ff;
  padding: 18px 0;
  background: var(--brand-gradient);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 38px rgba(2, 12, 32, 0.25);
  backdrop-filter: blur(10px);
}

.site-header .inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  letter-spacing: 0.6px;
}

.brand img {
  height: 54px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a {
  color: #e6eaf4;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

  .nav-links {
    position: absolute;
    right: 16px;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: min(320px, calc(100% - 32px));
    padding: 16px;
    border-radius: 18px;
    background: rgba(10, 16, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
  }

  .nav-links.nav-links--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
  }
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--card-shadow);
  border: none;
}

.city-wrap {
  margin-top: 110px;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.city-inner {
  width: min(var(--max-width), 100%);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  width: 100%;
}

.city-link {
  text-decoration: none;
  color: inherit;
}

.city-card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(11, 25, 52, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(11, 25, 52, 0.22);
}

.city-card__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.logo-frame {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 8px;
  border: none;
  box-shadow: none;
}

.logo-wrap img {
  max-width: 110px;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.city-item {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.city-name {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
}

.city-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .city-wrap {
    margin-top: 70px;
  }

  .city-item {
    max-width: 100%;
  }

  .logo-wrap img {
    max-width: 90px;
  }
}

.left-sidebar,
.right-sidebar,
.center-content,
.sidebar-box,
.article,
.video-item,
.featured-article,
.featured-video {
  border: none !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.sidebar-box h3,
.section-bar {
  border: none !important;
}

.center-content .pages img,
.featured-article img,
.video-item img,
.article img {
  border: none !important;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-top: 12px;
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.table-scroll th,
.table-scroll td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 14px;
}

.table-scroll a {
  color: var(--brand-navy);
  font-weight: 600;
}
