:root {
  --citt-ink: #12233f;
  --citt-muted: #5d6b82;
  --citt-brand: #155eef;
  --citt-brand-dark: #0b3b9e;
  --citt-accent: #11b8a3;
  --citt-surface: #ffffff;
  --citt-bg: #f5f8fc;
  --citt-line: #e4eaf2;
  --citt-radius: 18px;
  --citt-shadow: 0 14px 40px rgba(18, 35, 63, .09);
}

html { scroll-behavior: smooth; }
body {
  background: var(--citt-bg) !important;
  color: var(--citt-ink) !important;
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif !important;
  line-height: 1.75 !important;
}
body::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--citt-brand), var(--citt-accent));
}
.navbar {
  height: 76px !important;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2)) !important;
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid rgba(228,234,242,.8) !important;
  box-shadow: 0 5px 24px rgba(18,35,63,.06) !important;
}
.logo-container img { max-height: 48px !important; }
.logo-text { color: var(--citt-ink) !important; letter-spacing: -.02em; }
.nav-links a { font-weight: 600 !important; color: var(--citt-ink) !important; border-radius: 10px; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--citt-brand) !important; background: #eef4ff; }
.dropdown { border: 1px solid var(--citt-line) !important; border-top: 3px solid var(--citt-brand) !important; border-radius: 0 0 14px 14px !important; box-shadow: var(--citt-shadow) !important; }
.hero, .page-header {
  background: linear-gradient(135deg, #102a56 0%, #155eef 58%, #11b8a3 130%) !important;
  color: #fff !important;
}
.hero h1, .hero h2, .page-header h1, .page-header h2 { color: #fff !important; letter-spacing: -.035em; }
.section, .content-section, .content-wrapper, .main-content { max-width: 1180px !important; margin-inline: auto !important; }
.content-card, .card, .post-card, .news-card, .contact-card, .objective-item {
  background: var(--citt-surface) !important;
  border: 1px solid var(--citt-line) !important;
  border-radius: var(--citt-radius) !important;
  box-shadow: var(--citt-shadow) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.content-card:hover, .card:hover, .post-card:hover, .news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(18,35,63,.14) !important; border-color: #bfd2f5 !important; }
a { color: var(--citt-brand); }
a:hover { color: var(--citt-brand-dark); }
button, .button, .btn, input[type="submit"] {
  border-radius: 10px !important;
  font-weight: 700 !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
button:hover, .button:hover, .btn:hover, input[type="submit"]:hover { transform: translateY(-2px); }
img { max-width: 100%; height: auto; }
img[loading="lazy"] { content-visibility: auto; }
:focus-visible { outline: 3px solid #f5b942 !important; outline-offset: 3px; }
.footer { background: #10233f !important; color: #dce7f6 !important; }
.view-counter { margin-top: 2rem; }
@media (max-width: 800px) {
  .navbar { height: 68px !important; }
  .nav-links { background: #fff !important; box-shadow: var(--citt-shadow) !important; }
  .hero, .page-header { padding-top: 5rem !important; padding-bottom: 3rem !important; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
