:root {
  --bg: url(../../../static/images/background-1.png) center center / cover no-repeat !important;
  --bg-1: #ffffff;
  --text: #111827; 
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
  --radius: 12px;
  --link: #7ea2bf;  
  --link-hover: #5c86a6;

  --btn-bg: #f3f4f6;  
  --btn-text: #1f2937;
  --btn-border: #e5e7eb;
  --btn-bg-hover: #e5e7eb;
}

body.dark {
  --bg: url(../../../static/images/background-1_dark.png) center center / cover no-repeat !important;
  --bg-1: #424e5b;
  --text: #e5e7eb;
  --muted: #a1a1aa;
  --border: rgba(255,255,255,.14);
  --shadow: 0 6px 20px rgba(0,0,0,.35);
  --link: #60a5fa;
  --link-hover: #93c5fd;

  --btn-bg: rgba(255,255,255,.06);
  --btn-text: #f3f4f6;
  --btn-border: rgba(255,255,255,.16);
  --btn-bg-hover: rgba(255,255,255,.12);
}

body.support-bg {
  background: url('/static/images/background-1.png') center center / cover no-repeat;
}
body.dark.support-bg {
  background: url('/static/images/background-1_dark.png') center center / cover no-repeat;
}

.support-shell,
.support-universal-container {
  background: var(--bg-1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 3rem auto;
  padding: 2.5rem;
  text-align: left;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.support-two-col-layout {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: center;
}
.support-two-col-layout .section-heading { text-align: center; }

/* ========= Typography ========= */
.section-heading {
  font-size: 2rem;
  margin: 0 0 .5rem;
  color: var(--text);
}
.meta {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.section { 
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
 }

 
.section h2 {
  font-size: 1.25rem;
  margin: 0 0 .75rem;
  color: var(--text);
}

/* ========= Lists ========= */
.policy-list,
.feature-list {
  list-style: disc;
  padding-left: 1.25rem;
}
.policy-list li,
.feature-list li { margin: .5rem 0; line-height: 1.55; }

.list-ol {
  counter-reset: ol;
  list-style: decimal;
  padding-left: 1.25rem;
}
.list-ol li { margin: .5rem 0; line-height: 1.55; }

/* ========= Links & Buttons ========= */
a { color: var(--link); }
a:hover { color: var(--link-hover); }

.btn {
  display: inline-block;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 10px;
  padding: .6rem .9rem;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s ease, transform .04s ease, border-color .2s ease;
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px); }

.btn-primary { /* feel free to override in pages if needed */ }
.btn-secondary { }
.btn-link {
  background: transparent;
  border: 1px solid transparent;
  padding: 0;
  color: var(--link);
}
.btn-link:hover { color: var(--link-hover); text-decoration: underline; }

/* ========= Grid: Two-box (Contact/Support) ========= */
.two-box-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.two-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  box-shadow: var(--shadow);
  text-align: left;
}
.two-box h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  color: var(--text);
}
.two-box ul { list-style: disc; padding-left: 1.2rem; }
.two-box li { margin: .75rem 0; line-height: 1.5; }

/* ========= Grid: Info Hub cards (About/Terms boxes) ========= */
.support-grid {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.section-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 300px;
  padding: 15px 20px;
  margin: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.section-box h2 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--text);
}
.section-links {
  list-style: none;
  padding: 0; margin: 0;
}
.section-links li { margin: 6px 0; }
.section-links a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}
.section-links a:hover { color: var(--link-hover); text-decoration: underline; }

/* ========= Team Grid (Meet the Developers) ========= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.team-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  width: 350px;
  justify-items: center;
}
.team-card .avatar {
  width: 72px; height: 72px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  border: 2px solid var(--border);
}
.team-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--text);
}
.team-card .role {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 600;
}
.team-card .bio {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.55;
}
.team-card .socials { display: flex; gap: 8px; flex-wrap: wrap; }

.hidden { display: none !important; }
.card { /* compatibility helper */ }
.button-outside { display: inline-block !important; }

/* Small screens */
@media (max-width: 640px) {
  .support-shell,
  .support-universal-container{
    padding: 1.25rem;
    margin: 2rem auto;
  }
  .section-heading { font-size: 1.65rem; }
}
