:root {
  --sr-red: #ab183d;
  --sr-red-dark: #8e1232;
  --sr-yellow: #ffd200;
  --sr-black: #111111;
  --sr-link: #0b3ea1;
  --sr-border: #cfcfcf;
  --sr-result: #c41e3a;
  --sr-admit: #0a7c4a;
  --sr-jobs: #0b3ea1;
  --sr-answer: #7a1fa2;
  --sr-syllabus: #b35c00;
  --wrap: 1010px;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: #111;
  background: #f3f3f3;
}
a { color: var(--sr-link); }
img { max-width: 100%; height: auto; }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  background: #fff;
  border-left: 1px solid var(--sr-border);
  border-right: 1px solid var(--sr-border);
}

.topbar {
  background: var(--sr-black);
  color: #fff;
  text-align: center;
  padding: 8px 10px 4px;
}
.logo-lockup { text-decoration: none; display: inline-block; }
.logo-lockup img { width: 280px; max-width: 92%; height: auto; }
.brand-text {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--sr-yellow);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}
.brand-sub {
  color: #fff;
  font-size: 13px;
  letter-spacing: 3px;
  margin: 2px 0 6px;
  text-transform: uppercase;
}
.today-date { color: #ffd200; font-size: 13px; margin: 0 0 6px; }

.main-nav {
  background: var(--sr-red);
  position: relative;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { background: var(--sr-red-dark); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  padding: 8px 14px;
  cursor: pointer;
}

.search-bar {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #fff8d6;
  border-bottom: 1px solid #ead98a;
}
.search-bar input {
  flex: 1;
  min-height: 44px;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 16px;
}
.search-bar button {
  min-height: 44px;
  min-width: 88px;
  background: var(--sr-red);
  color: #fff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.welcome {
  text-align: center;
  padding: 12px 10px 4px;
}
.welcome h1 { font-size: 22px; margin: 0 0 6px; color: var(--sr-red); }
.welcome p { margin: 0 0 8px; font-weight: 700; }

.marquee-row {
  background: #fff;
  border: 1px solid #eee;
  margin: 6px 10px;
  padding: 6px 8px;
  font-weight: 700;
}
.marquee-row a { margin-right: 12px; }

.social-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px 10px;
}
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
}
.soc-wa { background: #128c7e; }
.soc-tg { background: #229ed9; }
.soc-g { background: #4285f4; }
.soc-x { background: #111; }

.box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 8px 10px 14px;
}
.box-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 58px;
  padding: 8px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
}
.c0 { background: #e20a0a; }
.c1 { background: #ff7a00; }
.c2 { background: #ff42d0; }
.c3 { background: #0039a6; }
.c4 { background: #7a7d13; }
.c5 { background: #1e90ff; }
.c6 { background: #4b0000; }
.c7 { background: #1c8b3f; }

.home-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 10px 16px;
}
.home-box {
  border: 2px solid #222;
  min-height: 420px;
  position: relative;
  padding-bottom: 42px;
}
.home-box h2 {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 20px;
  padding: 8px;
}
.home-box h2 a { color: #fff; text-decoration: none; }
.home-box ul { margin: 8px 8px 0; padding-left: 18px; }
.home-box li { margin: 0 0 7px; font-size: 14px; }
.home-box .view-more {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  text-align: center;
  background: #eee;
  padding: 8px;
  font-weight: 800;
  border-top: 1px solid #ccc;
}
.cat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 10px 16px;
}

.page-hero, .inner {
  padding: 12px 14px 20px;
}
.breadcrumb { font-size: 13px; color: #555; margin: 0 0 8px; }
.breadcrumb a { color: var(--sr-red); }
h1.page-title {
  background: var(--sr-red);
  color: #fff;
  font-size: 22px;
  padding: 8px 10px;
  margin: 0 0 12px;
  text-align: center;
}
.post-list { list-style: disc; padding-left: 22px; }
.post-list li { margin: 0 0 8px; }
.post-list .ld { color: #c00; font-weight: 700; }

.post-article h1 {
  color: var(--sr-red);
  font-size: 24px;
  margin: 0 0 10px;
  text-align: center;
}
.short-card {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 0 0 14px;
  background: #fffdf5;
}
.post-article h2 {
  background: #c41e3a;
  color: #ffd200;
  font-size: 18px;
  padding: 7px 10px;
  margin: 18px 0 8px;
  text-align: center;
}
.post-article h3 {
  background: #0b3ea1;
  color: #fff;
  font-size: 16px;
  padding: 6px 10px;
}
.post-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
}
.post-article th, .post-article td {
  border: 1px solid #333;
  padding: 8px;
  vertical-align: top;
}
.post-article th { background: #ffd200; }
.links-table th { background: var(--sr-red); color: #fff; }
.disclaimer-note {
  background: #fff3cd;
  border: 1px solid #ffe08a;
  padding: 10px;
  margin-top: 18px;
  font-size: 14px;
}

.seo-block {
  padding: 8px 16px 24px;
  font-size: 15px;
}
.seo-block h2 { font-size: 18px; color: var(--sr-red); }
.faq details {
  border: 1px solid #ddd;
  margin: 0 0 8px;
  padding: 8px 10px;
}
.faq summary { font-weight: 800; cursor: pointer; }

.site-footer {
  background: #1a1a1a;
  color: #ddd;
  padding: 18px 14px;
  text-align: center;
  font-size: 14px;
}
.site-footer a { color: #ffd200; margin: 0 8px; }
.footer-legal { margin-top: 10px; color: #aaa; font-size: 12px; }

.alert { padding: 10px; margin: 8px 0; }
.alert-ok { background: #e8f5e9; }
.alert-err { background: #ffebee; }

.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pager a, .pager span {
  border: 1px solid #ccc;
  padding: 8px 12px;
  min-height: 40px;
  text-decoration: none;
}
.pager .on { background: var(--sr-red); color: #fff; border-color: var(--sr-red); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: block; font-weight: 700; margin: 0 0 10px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #bbb;
  font-size: 16px;
  margin-top: 4px;
}
.btn {
  background: var(--sr-red);
  color: #fff;
  border: 0;
  padding: 10px 16px;
  min-height: 44px;
  font-weight: 800;
  cursor: pointer;
}
