/* Futuristic publisher polish layered over the admin-managed theme. */
:root {
  --future-ink: #07111f;
  --future-panel: #0e1b2e;
  --future-blue: #2f6bff;
  --future-cyan: #20d3ee;
  --future-mint: #3ee6b5;
  --future-line: rgba(116, 146, 192, .22);
  --future-text: #172033;
  --future-muted: #64748b;
}

body {
  color: var(--future-text);
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 18%, #f4f8ff 100%);
}

.topbar {
  background: #030912;
  border-bottom: 1px solid rgba(135, 170, 255, .14);
}

.navbar {
  background: rgba(255, 255, 255, .88);
  border-bottom-color: rgba(38, 83, 151, .14);
}

.logo-text {
  border-left: 0;
  padding-left: 16px;
  position: relative;
}

.logo-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--future-cyan), var(--future-blue));
  box-shadow: 0 0 18px rgba(32, 211, 238, .42);
}

.hero,
.page-hero,
.hiw-section,
.cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(32, 211, 238, .2), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(47, 107, 255, .3), transparent 32%),
    linear-gradient(135deg, #040b16 0%, #09172a 48%, #07111f 100%);
}

.hero::after,
.page-hero::after,
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent);
  pointer-events: none;
}

.hero-inner,
.page-hero .container,
.cta .container {
  position: relative;
  z-index: 2;
}

.hero h1,
.page-hero h1,
.heading {
  letter-spacing: 0;
}

.hero h1 em {
  color: #6ee7ff;
  text-shadow: 0 0 28px rgba(32, 211, 238, .35);
}

.hero-eyebrow,
.tag {
  color: #1470de;
}

.hero-eyebrow {
  color: #b8eeff;
  background: rgba(22, 63, 117, .58);
  border-color: rgba(93, 218, 255, .32);
  box-shadow: inset 0 0 24px rgba(32, 211, 238, .08);
}

.btn-solid,
.btn-primary,
.btn-submit {
  background: linear-gradient(135deg, var(--future-blue), #179ed8);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(47, 107, 255, .28);
}

.btn-solid:hover,
.btn-primary:hover,
.btn-submit:hover {
  background: linear-gradient(135deg, #2458df, #0c89c5);
}

.btn-ghost,
.btn-outline,
.btn-visit {
  border-color: rgba(47, 107, 255, .36);
}

.stats-strip {
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(14px);
}

.section-alt {
  background:
    linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
}

.about-panel,
.contact-card,
.modal-head {
  background:
    radial-gradient(circle at 80% 12%, rgba(32, 211, 238, .28), transparent 34%),
    linear-gradient(145deg, #07111f, #10213a);
  border: 1px solid rgba(134, 176, 255, .16);
  box-shadow: 0 24px 70px rgba(7, 17, 31, .26);
}

.journal-grid {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.journal-card,
.feature-card,
.hiw-card,
.form-wrap,
.tm-card,
.tm-toc {
  border-color: rgba(105, 132, 180, .22);
  box-shadow: 0 16px 46px rgba(20, 42, 78, .08);
}

.journal-card {
  border-radius: 8px;
}

.journal-card:hover,
.feature-card:hover,
.tm-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 70px rgba(20, 42, 78, .16);
}

.j-cover {
  background:
    linear-gradient(135deg, rgba(32, 211, 238, .18), transparent 36%),
    linear-gradient(145deg, #081324, #122642);
}

.j-oa {
  background: rgba(4, 12, 24, .74);
  border: 1px solid rgba(62, 230, 181, .5);
  color: #b8ffe9;
}

.j-foot {
  background: linear-gradient(180deg, rgba(245, 249, 255, .5), rgba(255,255,255,.92));
}

.page-hero {
  padding: 64px 0 58px;
}

.footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(32, 211, 238, .12), transparent 30%),
    #030912;
  border-top: 1px solid rgba(72, 135, 255, .28);
}

/* Team profile experience */
.tm-layout {
  grid-template-columns: minmax(190px, 230px) 1fr;
}

.tm-toc {
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

#tocList a.toc-active,
#tocList a:hover {
  background: rgba(47, 107, 255, .09);
  color: #2458df;
  border-left-color: var(--future-cyan);
}

.group-heading h3 {
  border-left: 0;
  padding-left: 0;
  position: relative;
}

.group-heading h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--future-blue), var(--future-cyan), var(--future-mint));
}

.tm-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}

.tm-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,250,255,.96));
  border-radius: 8px;
  padding: 24px 16px 18px;
  min-height: 230px;
}

.tm-card::before {
  top: 0;
  bottom: auto;
  height: 4px;
  background: linear-gradient(90deg, var(--future-blue), var(--future-cyan), var(--future-mint));
}

.tm-photo-wrap {
  width: 104px;
  height: 104px;
  margin-bottom: 16px;
  border-radius: 50%;
  padding: 4px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--future-blue), var(--future-cyan), var(--future-mint)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 34px rgba(47, 107, 255, .16);
}

.tm-photo,
.tm-initials {
  width: 94px;
  height: 94px;
  border: 0;
  box-shadow: none;
}

.tm-initials {
  background: linear-gradient(135deg, #07111f, #17355e);
}

.tm-name {
  font-size: .98rem;
}

.tm-desig {
  color: #2563eb;
}

.tm-social-dots {
  margin-top: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, .08);
}

.tm-view-hint {
  color: #2563eb;
  font-weight: 700;
}

#profileModal {
  padding: 22px;
}

.modal-bg {
  background:
    radial-gradient(circle at 50% 15%, rgba(32, 211, 238, .2), transparent 36%),
    rgba(3, 9, 18, .82);
}

.modal-box {
  border-radius: 10px;
  border: 1px solid rgba(157, 188, 255, .2);
}

.modal-head {
  border-radius: 10px 10px 0 0;
}

.modal-photo-img,
.modal-photo-ph {
  width: 92px;
  height: 92px;
  border-color: rgba(110, 231, 255, .45);
  box-shadow: 0 0 34px rgba(32, 211, 238, .22);
}

.modal-name {
  letter-spacing: 0;
}

.modal-socials {
  gap: 10px;
}

.ms-btn {
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

@media (max-width: 720px) {
  .tm-layout,
  .tm-grid {
    grid-template-columns: 1fr;
  }

  .tm-card {
    min-height: 0;
  }
}
