/* Additional public template overrides.
   Base utility styles are loaded from style.css. */

html,
body {
  min-height: 100%;
}

a {
  color: inherit;
}


:root {
  --bg: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --card: #ffffff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.12);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nav a {
  color: #1e293b;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: .2s ease;
}
.nav a:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}
.inst-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inst-link {
  font-size: 13px;
  text-decoration: none;
  color: #1e293b;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  transition: .2s ease;
}

.inst-link:hover {
  border-color: #c7d2fe;
  color: #3730a3;
  background: #eef2ff;
}

.inst-link.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.topbar-phone {
  font-size: 13px;
  color: #334155;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 7px 10px;
  white-space: nowrap;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.hero {
  padding: 24px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}
.hero p { margin: 0; opacity: .95; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #312e81;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 14px;
}
.lead {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 10px;
}
.links-grid {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.links-grid a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: #1e1b4b;
  text-decoration: none;
  background: #fff;
  transition: .2s ease;
}
.links-grid a:hover {
  border-color: #c7d2fe;
  background: #eef2ff;
  transform: translateY(-1px);
}
footer.container {
  color: #64748b;
  font-size: 13px;
  padding: 0 0 26px;
}
@media (max-width: 960px) {
  .topbar__row {
      align-items: flex-start;
      flex-direction: column;
  }
  .topbar__right {
      width: 100%;
      justify-content: flex-start;
  }
  .inst-links {
      width: 100%;
  }
  .inst-link {
      display: block;
      width: 100%;
  }
}