/* =========================================================
   REQUIRED WEBSITE NAME — Premium AI Research Lab Website
   Luxury theme with gradients + light/dark mode
   ========================================================= */

:root {
  --bg: #070c10;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.12);
  --text: rgba(240, 248, 255, 0.94);
  --muted: rgba(240, 248, 255, 0.64);
  --border: rgba(255, 255, 255, 0.12);

  /* Oceanic lab palette: teal + cobalt + amber */
  --accent: #34e6c2;
  --accent2: #5db0ff;
  --accent3: #f4b65f;
  --accent-strong: #19d3b1;

  --shadow: 0 24px 60px rgba(2, 10, 18, 0.45);
  --shadowSoft: 0 12px 32px rgba(1, 8, 14, 0.30);
  --radius: 18px;
  --radius2: 26px;

  --max: 1180px;
  --ease: cubic-bezier(.2, .9, .2, 1);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Sora", sans-serif;

  --logo-bg: linear-gradient(145deg, rgba(52, 230, 194, 1), rgba(93, 176, 255, 1));
  --logo-mark: rgba(7, 12, 16, 0.9);

  /* Animation Tokens */
  --glow-teal: rgba(52, 230, 194, 0.4);
  --glow-blue: rgba(93, 176, 255, 0.3);
}

[data-theme="light"] {
  --bg: #f5f6f8;
  --panel: rgba(10, 16, 22, 0.06);
  --panel2: rgba(10, 16, 22, 0.10);
  --text: rgba(10, 16, 24, 0.92);
  --muted: rgba(10, 16, 24, 0.60);
  --border: rgba(10, 16, 24, 0.14);

  --shadow: 0 20px 55px rgba(10, 16, 24, 0.12);
  --shadowSoft: 0 10px 26px rgba(10, 16, 24, 0.10);

  --logo-mark: rgba(7, 12, 16, 0.86);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(1100px 620px at 12% 8%, rgba(52, 230, 194, 0.18), transparent 60%),
    radial-gradient(900px 520px at 88% 12%, rgba(93, 176, 255, 0.18), transparent 62%),
    radial-gradient(900px 600px at 55% 82%, rgba(244, 182, 95, 0.14), transparent 62%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.02), transparent 40%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 10px);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent), transparent 80%);
  opacity: 0.03;
  filter: blur(100px);
  z-index: -2;
  animation: bgPulse 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bgPulse {

  0%,
  100% {
    opacity: 0.02;
    transform: scale(1);
  }

  50% {
    opacity: 0.06;
    transform: scale(1.1);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

::selection {
  background: rgba(52, 230, 194, 0.30);
}

main,
section,
header,
footer {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
}

h1,
h2,
h3,
h4,
h5,
p {
  overflow-wrap: break-word;
}

.text-center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--accent);
  color: #02040b;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

/* ---------------- Header ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  overflow-y: hidden;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.55));
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

[data-theme="light"] header {
  background: linear-gradient(180deg, rgba(245, 246, 248, 0.92), rgba(245, 246, 248, 0.72));
}

/* Header layout */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
}

/* ✅ BRAND NEVER SHRINK */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  /* ✅ critical */
  min-width: max-content;
  /* ✅ critical */
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--logo-bg);
  box-shadow: 0 14px 30px rgba(7, 12, 16, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-badge::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: var(--logo-mark);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='32' r='6'/><circle cx='32' cy='12' r='6'/><circle cx='52' cy='32' r='6'/><circle cx='32' cy='52' r='6'/><path d='M18 32 L26 24 M38 24 L46 32 M38 40 L46 32 M26 40 L18 32 M32 18 L32 26 M32 38 L32 46'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='32' r='6'/><circle cx='32' cy='12' r='6'/><circle cx='52' cy='32' r='6'/><circle cx='32' cy='52' r='6'/><path d='M18 32 L26 24 M38 24 L46 32 M38 40 L46 32 M26 40 L18 32 M32 18 L32 26 M32 38 L32 46'/></svg>") no-repeat center / contain;
  opacity: 0.9;
}

.brand-badge::after {
  content: "";
  position: absolute;
  inset: -100%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: rotate(45deg);
  animation: brandShimmer 6s infinite;
  pointer-events: none;
}

@keyframes brandShimmer {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }

  20%,
  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

.brand h1 {
  font-size: 11px;
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand p {
  margin: 1px 0 0;
  font-size: 10px;
  color: var(--muted);
}

/* Nav center column */
nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

/* Nav list */
nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  row-gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 999px;
  transition: 300ms var(--ease);
  position: relative;
  white-space: nowrap;
}

header .container {
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
}

.nav-actions a.primary-btn,
.nav-actions a.secondary-btn {
  height: 34px !important;
  font-size: 13px !important;
  padding: 0 10px !important;
}

.nav-link:hover {
  color: var(--text);
  background: var(--panel);
}

.nav-link.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(52, 230, 194, 0.18), rgba(93, 176, 255, 0.18));
  border: 1px solid var(--border);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-profile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-profile-trigger {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.nav-profile-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: none;
  gap: 4px;
}

.nav-profile-menu:hover>.nav-profile-list,
.nav-profile-menu:focus-within>.nav-profile-list {
  display: grid;
}

.nav-profile-list .nav-link {
  display: block;
}

.icon-btn {
  height: 40px;
  width: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 300ms var(--ease);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(52, 230, 194, 0.25);
}

.primary-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #071018;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 16px 40px rgba(52, 230, 194, 0.18);
  transition: 300ms var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondary-btn {
  animation: breathingGlow 4s ease-in-out infinite;
}

@keyframes breathingGlow {

  0%,
  100% {
    box-shadow: 0 0 0px rgba(93, 176, 255, 0);
  }

  50% {
    box-shadow: 0 0 15px rgba(93, 176, 255, 0.2);
  }
}

.primary-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: 0 18px 46px rgba(93, 176, 255, 0.20);
}

.primary-btn {
  position: relative;
  overflow: hidden;
}

.primary-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transform: rotate(45deg);
  animation: shimmer 4s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }

  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

/* Mobile Nav */
.hamburger {
  display: none;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.mobile-drawer.open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  animation: fadeIn 260ms var(--ease) both;
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 86%);
  padding: 18px;
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.95), rgba(10, 12, 20, 0.75));
  border-left: 1px solid var(--border);
  backdrop-filter: blur(16px);
  animation: slideIn 320ms var(--ease) both;
}

[data-theme="light"] .drawer-panel {
  background: rgba(255, 255, 255, 0.92);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.drawer-links {
  padding: 14px 0;
  display: grid;
  gap: 10px;
}

.drawer-links a {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.drawer-links a:hover {
  border-color: rgba(52, 230, 194, 0.25);
}

.drawer-actions {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------------- Hero / Sections ---------------- */
.hero {
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}

.neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  /* Ultra-high visibility for premium lines */
}

/* Enhanced contrast overlay to make animation and text both stand out */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at center, transparent 20%, var(--bg) 90%);
  opacity: 0.75;
  /* Stronger contrast against edges */
}

[data-theme="light"] .hero-overlay {
  opacity: 0.55;
}

.hero .container {
  position: relative;
  z-index: 2;
  /* Content must be above all background layers */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero--center .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero--center .hero-actions,
.hero--center .actions-row {
  justify-content: center;
}

.hero--center .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero--center .hero-card {
  max-width: 880px;
  margin: 18px auto 0;
}

.hero--split .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.hero--split .hero-content {
  text-align: left;
}

.hero--split .hero-content .lead {
  margin-left: 0;
  margin-right: 0;
}

.hero--split .hero-actions {
  justify-content: flex-start;
}

/* Home 1 Refinements */
.home-1-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: radial-gradient(circle at 80% 20%, rgba(52, 230, 194, 0.08) 0%, transparent 50%);
}

/* Home 2 Refinements */
.home-2-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: radial-gradient(circle at 20% 20%, rgba(93, 176, 255, 0.08) 0%, transparent 50%);
}

.home-1-hero::after,
.home-2-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 16, 0.3));
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero--split .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 32px;
  }

  .hero-visual {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero--split .hero-content {
    text-align: center !important;
  }

  .hero--split .hero-actions {
    justify-content: center !important;
  }

  .hero--split .kicker {
    justify-content: center !important;
  }

  .hero--split h2.title {
    text-align: center !important;
  }

  .hero--split .lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}



.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 13px;
}

.kicker strong {
  color: var(--text);
  font-weight: 700;
}

h2.title {
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.05;
  margin: 14px 0 12px;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .page-home-1 .home-1-hero .gradient-text {
  background-image: linear-gradient(135deg, #0f8a7c, #2b6fd8, #9f5f08);
  -webkit-text-fill-color: transparent;
}

.lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.secondary-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: 300ms var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(93, 176, 255, 0.30);
}

.link-btn {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 300ms var(--ease);
}

.link-btn:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.arrow {
  display: inline-block;
  transition: 300ms var(--ease);
}

.link-btn:hover .arrow {
  transform: translateX(4px);
}

.hero-card {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-card img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transform: scale(1.01);
  transition: transform 0.1s linear, filter 700ms var(--ease);
  will-change: transform;
}

.parallax-wrap {
  overflow: hidden;
  border-radius: inherit;
}

.hero-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.hero-card .overlay h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.hero-card .overlay p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

/* Section blocks */
.section {
  padding: 48px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-head>* {
  min-width: 0;
}

.section-head h3 {
  margin: 0;
  font-size: clamp(18px, 4.5vw, 22px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.7;
  font-size: 13px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head.center .badge,
.section-head.center .link-btn {
  margin-top: 10px;
}

.section-visual {
  margin: 18px auto 26px;
  max-width: 980px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadowSoft);
}

.section-visual img {
  width: 100%;
  height: clamp(180px, 24vw, 260px);
  object-fit: cover;
  display: block;
  filter: saturate(1.08);
}



.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.center-grid>* {
  text-align: center;
}

.center-grid .actions-row {
  justify-content: center;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.04),
      transparent);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}

.card:hover::after {
  transform: translateX(200%);
}

.hero-card,
.post,
.profile,
.team-card,
.team-panel,
.auth-card,
.contact-panel,
.form,
.drawer-panel {
  max-width: 100%;
}

.card.center {
  text-align: center;
}

.card.center .badge {
  margin: 0 auto;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(52, 230, 194, 0.12), transparent 55%);
  transform: rotate(18deg);
  opacity: 0;
  transition: 400ms var(--ease);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(52, 230, 194, 0.22);
}

.card h4 {
  margin: 10px 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
}

.card .badge,
.post .badge,
.contact-panel .badge {
  display: table;
  margin: 0 auto;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin: 0 auto 10px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

/* Tables / lists */
.list {
  display: grid;
  gap: 12px;
}

.list.center .list-item {
  flex-direction: row;
  align-items: center;
  text-align: center;
}

.list.center .list-item .pill {
  margin-bottom: 0;
}

.list.center .actions-row {
  justify-content: center;
}

.list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: 320ms var(--ease);
}

.list-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(93, 176, 255, 0.22);
}

.featured-publications .list-item {
  align-items: flex-start;
}

.featured-publications .list-item>div:last-child {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.featured-publications .actions-row {
  justify-content: flex-start;
}

.pill {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(52, 230, 194, 0.20), rgba(93, 176, 255, 0.18));
  border: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}

.list-item h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
  align-items: center;
}

.actions-row.center {
  justify-content: center;
}

.small-btn {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: 300ms var(--ease);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.small-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(244, 182, 95, 0.35);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.profile {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: 320ms var(--ease);
}

.profile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(52, 230, 194, 0.22);
}

.profile img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  filter: saturate(1.06);
  transition: 700ms var(--ease);
}

.profile:hover img {
  transform: scale(1.06);
  filter: saturate(1.2);
}

.profile .p-body {
  padding: 12px 12px 14px;
}

.profile h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.profile p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: 300ms var(--ease);
}

.social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social a:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 230, 194, 0.25);
}

.team-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  text-align: center;
  transition: 320ms var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(52, 230, 194, 0.25);
}

.team-card .avatar {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .role {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.team-card .social {
  justify-content: center;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-panel {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: 320ms var(--ease);
}

.team-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(93, 176, 255, 0.30);
}

.team-panel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}

.team-panel.focus-right img {
  object-position: 65% 50%;
}

.team-panel .panel-body {
  padding: 16px;
  text-align: center;
}

.team-panel .panel-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.team-panel .panel-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.post {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: 320ms var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowSoft);
}

.post img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  transition: 700ms var(--ease);
}

.post:hover img {
  transform: scale(1.06);
}

.post .post-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post .post-body h4 {
  margin: 6px 0 8px;
  font-size: 16px;
}

.post .post-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.post .post-body .actions-row {
  margin-top: auto;
}

.blog-grid.center .post-body {
  text-align: center;
}

.blog-grid.center .actions-row {
  justify-content: center;
}

/* Contact */
.form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.form .primary-btn {
  justify-self: center;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.contact-panel {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.contact-item .icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
  color: var(--text);
  outline: none;
  transition: 250ms var(--ease);
}

[data-theme="light"] input,
[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.75);
}

input:focus,
textarea:focus {
  border-color: rgba(52, 230, 194, 0.40);
  box-shadow: 0 0 0 4px rgba(52, 230, 194, 0.10);
}

/* Toast */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 4000;
  display: none;
  max-width: 360px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(52, 230, 194, 0.16), rgba(93, 176, 255, 0.14));
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
  animation: pop 260ms var(--ease) both;
}

.toast strong {
  display: block;
  margin-bottom: 4px;
}

.toast span {
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
footer {
  padding: 46px 0 26px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] footer {
  background: rgba(255, 255, 255, 0.60);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.footer-col a,
.footer-col p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-social {
  margin-top: 12px;
  justify-content: flex-start;
}

.bottom-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.back-to-top {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: 300ms var(--ease);
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowSoft);
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 800ms var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Page header */
.page-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 40px;
  position: relative;
}

.page-hero h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 58ch;
}

.page-hero.center {
  text-align: center;
}

.page-hero.center .actions-row {
  justify-content: center;
}

/* Global Section Border Glow */
.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  opacity: 0.5;
}

/* Hero Background Bases */
.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 0.8s ease;
}

.page-home-1 .page-hero {
  background-image: linear-gradient(rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.88)),
    url('https://images.unsplash.com/photo-1620712943543-bcc4628c9bb5?auto=format&fit=crop&w=1600&q=80');
}

.page-home-2 .page-hero {
  background-image: linear-gradient(rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.88)),
    url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1600&q=80');
}

.page-services .page-hero {
  background-image: linear-gradient(rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.88)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80');
}

.page-publications .page-hero {
  background-image: linear-gradient(rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.88)),
    url('https://images.unsplash.com/photo-1509228468518-180dd4864904?auto=format&fit=crop&w=1600&q=80');
}

.page-team .page-hero {
  background-image: linear-gradient(rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.88)),
    url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1600&q=80');
}

.page-blog .page-hero {
  background-image: linear-gradient(rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.88)),
    url('https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?auto=format&fit=crop&w=1600&q=80');
}

.page-contact .page-hero {
  background-image: linear-gradient(rgba(7, 12, 16, 0.82), rgba(7, 12, 16, 0.88)),
    url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?auto=format&fit=crop&w=1600&q=80');
}

/* Light Mode Hero Reset (Match Home 1) */
[data-theme="light"] .page-hero {
  background-image: radial-gradient(circle at 80% 20%, rgba(52, 230, 194, 0.08) 0%, transparent 50%) !important;
}

/* Light Mode Hero Fixes */
/* Light Mode Text Reset */
[data-theme="light"] .page-hero,
[data-theme="light"] .page-hero h2 {
  color: var(--text) !important;
}

[data-theme="light"] .page-hero p,
[data-theme="light"] .page-hero .muted,
[data-theme="light"] .page-hero .kicker span {
  color: var(--muted) !important;
}

[data-theme="light"] .page-hero .kicker {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

[data-theme="light"] .page-hero .kicker strong {
  color: var(--text);
}

/* Auth Page Imagery */
.page-login .auth-card,
.page-signup .auth-card {
  background-image: linear-gradient(rgba(7, 12, 16, 0.9), rgba(7, 12, 16, 0.9)),
    url('https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
}

/* Light Mode Auth Card Visibility Fix */
[data-theme="light"] .page-login .auth-card,
[data-theme="light"] .page-signup .auth-card {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

/* Ensure inputs are visible on the dark card in light mode */
[data-theme="light"] .page-login .auth-card input,
[data-theme="light"] .page-signup .auth-card input {
  background: rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
  border-color: var(--border) !important;
}

[data-theme="light"] .page-login .auth-card input::placeholder,
[data-theme="light"] .page-signup .auth-card input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Fix specific elements that might not inherit correctly */
[data-theme="light"] .page-login .auth-card .social-btn,
[data-theme="light"] .page-signup .auth-card .social-btn {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.94);
}

[data-theme="dark"] .page-login .auth-card .social-btn,
[data-theme="dark"] .page-signup .auth-card .social-btn {
  color: rgba(255, 255, 255, 0.94);
}

/* Ensure labels are white */
[data-theme="light"] .page-login .auth-card label,
[data-theme="light"] .page-signup .auth-card label,
[data-theme="light"] .page-login .auth-card .form-label,
[data-theme="light"] .page-signup .auth-card .form-label {
  color: #fff !important;
}

/* Hero Button Visibility Fix for Light Mode */
/* Hero Button Reset for Light Mode */
[data-theme="light"] .page-hero .secondary-btn {
  color: var(--text) !important;
  border-color: var(--border) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

[data-theme="light"] .page-hero .link-btn {
  color: var(--muted) !important;
}

[data-theme="light"] .page-hero .secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(93, 176, 255, 0.30) !important;
}

[data-theme="light"] .page-hero .link-btn:hover {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  nav ul {
    display: none;
  }

  .hamburger {
    display: grid;
  }

  /* Mobile Header: Hide text buttons, show Toggle + Hamburger */
  .nav-actions {
    gap: 8px;
  }

  /* Hide Login/Signup/Dashboard links */
  .nav-actions a {
    display: none !important;
  }

  /* Ensure the toggle button is visible */
  .nav-actions button[data-theme-toggle] {
    display: grid !important;
  }

  /* Ensure brand text is visible on mobile as requested */
  .brand h1,
  .brand p {
    display: block !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-roster {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-profile-menu {
    display: none;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .checkbox {
    align-items: flex-start;
    font-size: 11.5px;
    white-space: normal;
    gap: 10px;
    text-align: left;
    line-height: 1.4;
  }

  .checkbox input {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .auth-form--single {
    padding: 26px 15px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-card img {
    height: 300px;
  }

  .nav-actions {
    gap: 6px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .brand {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand h1 {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .brand p {
    font-size: 11px;
  }

  .team-preview {
    grid-template-columns: 1fr;
  }

  .team-roster {
    grid-template-columns: 1fr;
  }
}

/* Keyframes */
@keyframes slideIn {
  from {
    transform: translateX(10%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pop {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===========================
   AUTH PAGES (Login / Signup)
   Only layout format (no new palette)
   =========================== */
.auth-wrap {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: 26px 0 56px;
}

.auth-card {
  width: min(980px, 100%);
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.auth-visual {
  position: relative;
  min-height: 560px;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(93, 176, 255, 0.18), transparent 60%),
    radial-gradient(600px 340px at 70% 25%, rgba(52, 230, 194, 0.15), transparent 60%),
    rgba(0, 0, 0, 0.25);
}

.auth-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(1.15);
  transform: scale(1.01);
}

.auth-visual .auth-visual-overlay {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
}

.auth-visual .brand-mini {
  display: flex;
  gap: 12px;
  align-items: center;
}

.auth-visual .brand-mini strong {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.auth-visual .brand-mini span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

.auth-visual .auth-quote {
  max-width: 55ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-size: 14px;
}

.auth-form {
  padding: 22px;
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.auth-top a {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: 300ms var(--ease);
  font-size: 13px;
  color: var(--muted);
}

.auth-top a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowSoft);
  color: var(--text);
  border-color: rgba(52, 230, 194, 0.22);
}

.auth-form h2 {
  margin: 12px 0 6px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.auth-form p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form .form {
  margin-top: 14px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.checkbox input {
  width: auto;
}

.auth-form .ghost-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-form .ghost-link:hover {
  color: var(--text);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.social-btn {
  width: 100%;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: 300ms var(--ease);
  font-weight: 700;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadowSoft);
  border-color: rgba(93, 176, 255, 0.30);
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  color: var(--text);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.auth-footer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-footer a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.auth-footer a:hover {
  opacity: 0.9;
}

@media (max-width: 1023px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}


/* ===========================
   AUTH SINGLE CARD MODE
   (login without left image)
   =========================== */

.auth-card--single {
  width: min(600px, 100%);
  margin: 0 auto;
}

.auth-form--single {
  padding: 26px;
  text-align: center;
}

.auth-form--single .form {
  text-align: left;
}

.brand--inline h1 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand--inline p {
  font-size: 12px;
  color: var(--muted);
}

.auth-top--brand {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.page-auth .auth-wrap {
  min-height: 100vh;
  padding: 48px 0 70px;
}

.page-auth .auth-wrap .container {
  display: flex;
  justify-content: center;
}



/* ✅ Center the single auth card */

/* ✅ Center the single auth card */

.auth-card--single {
  margin: 0 auto;
}

/* ===========================
     DASHBOARD SIDEBAR LAYOUT
     =========================== */


/* Contact Refinements */
.map-wrapper {
  margin-top: 40px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
  background: var(--panel);
  position: relative;
}

.contact-panel-social {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-panel-social h4 {
  margin: 0 0 12px;
  font-size: 14px;
}
