/* committees.css */
/* Unique styling for CanCham committees landing page */

:root {
  --comm-bg: #020617;
  --comm-bg-soft: #020617;
  --comm-surface: #020617;
  --comm-surface-soft: #0b1120;

  --comm-blue: #3b82f6;
  --comm-blue-soft: #60a5fa;
  --comm-red: #ef4444;
  --comm-green: #22c55e;
  --comm-gold: #facc15;
  --comm-rose: #fb7185;
  --comm-purple: #a855f7;

  --comm-text-main: #e5e7eb;
  --comm-text-soft: #9ca3af;
  --comm-border: #1f2937;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #0b1120 0, #020617 55%, #000 100%);
  color: var(--comm-text-main);
}

.comm_page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */

.comm_header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.9));
}

.comm_header_inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.comm_brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.comm_logo_circle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 15% 0%, #38bdf8, #1d4ed8 40%, #22c55e 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.4),
    0 12px 28px rgba(15, 23, 42, 0.9);
}

.comm_brand_text {
  display: flex;
  flex-direction: column;
}

.comm_org_name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--comm-text-soft);
}

.comm_org_sub {
  font-size: 0.85rem;
  color: var(--comm-blue-soft);
}

/* Top navigation */

.comm_top_nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--comm-text-soft);
}

.comm_top_link,
.comm_top_link_active {
  text-decoration: none;
  color: var(--comm-text-soft);
}

.comm_top_link {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.comm_top_link:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--comm-text-main);
  transform: translateY(-1px);
}

.comm_top_link_active {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 0% 0%, #22c55e, #3b82f6);
  color: #020617;
  font-weight: 600;
}

.comm_top_divider {
  opacity: 0.5;
}

/* Main layout */

.comm_main {
  flex: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.35rem 1.5rem 3.3rem;
}

/* Hero */

.comm_hero {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.2fr);
  gap: 1.75rem;
  align-items: stretch;
  margin-bottom: 2.4rem;
}

.comm_hero_content {
  padding: 1.8rem 1.7rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.2), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.22), transparent 60%),
    linear-gradient(to bottom right, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.9),
    inset 0 0 0 1px rgba(15, 23, 42, 1);
}

.comm_pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--comm-text-soft);
  margin-bottom: 1rem;
}

.comm_hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 2.5vw, 2.4rem);
  line-height: 1.15;
  background: linear-gradient(to right, #f9fafb, #e5e7eb, #a5b4fc);
  color: transparent;
  -webkit-background-clip: text;
}

.comm_hero_text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--comm-text-soft);
  max-width: 39rem;
}

.comm_hero_text + .comm_hero_text {
  margin-top: 0.35rem;
}

/* Hero side panel */

.comm_hero_panel {
  padding: 1.55rem 1.4rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.18), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: stretch;
}

.comm_status_card {
  width: 100%;
  padding: 1.1rem 1.05rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.comm_status_row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.comm_status_label {
  font-size: 0.8rem;
  color: var(--comm-text-soft);
}

.comm_status_value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--comm-green);
}

.comm_status_note {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--comm-text-soft);
}

/* Sections */

.comm_section {
  margin-top: 2.1rem;
}

.comm_section_alt {
  margin-top: 2.2rem;
}

.comm_section_header {
  max-width: 42rem;
  margin-bottom: 1.4rem;
}

.comm_section_header h2 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.comm_section_header p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--comm-text-soft);
}

/* Grid and cards */

.comm_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.comm_card {
  padding: 1.1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comm_card_forming {
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.08), transparent 60%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.97));
  border-color: rgba(55, 65, 81, 0.95);
}

.comm_card_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.1rem;
}

.comm_tag_active,
.comm_tag_forming,
.comm_tag_sector {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  white-space: nowrap;
}

.comm_tag_active {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.comm_tag_forming {
  background: rgba(245, 158, 11, 0.09);
  border: 1px solid rgba(250, 204, 21, 0.7);
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.comm_tag_sector {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--comm-text-soft);
}

.comm_card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.comm_card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--comm-text-soft);
}

/* Bullet list */

.comm_bullet_list {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--comm-text-soft);
}

.comm_bullet_list li::marker {
  color: var(--comm-blue-soft);
}

.comm_chair_line {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--comm-text-main);
}

/* More link */

.comm_link_more {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--comm-blue-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.04rem;
}

.comm_link_more:hover {
  border-bottom-color: rgba(96, 165, 250, 0.8);
}

/* Join block */

.comm_join_block {
  margin-top: 0.8rem;
  padding: 1.4rem 1.4rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background:
    radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.18), transparent 55%),
    linear-gradient(to right, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.97));
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(0, 1.5fr);
  gap: 1.2rem;
  align-items: center;
}

.comm_join_text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.comm_join_text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--comm-text-soft);
}

.comm_join_text p + p {
  margin-top: 0.3rem;
}

/* Button */

.comm_btn_primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.9);
  background:
    radial-gradient(circle at 0% 0%, #bfdbfe, #3b82f6);
  font-size: 0.86rem;
  font-weight: 600;
  color: #020617;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(30, 64, 175, 0.72),
    0 16px 38px rgba(30, 64, 175, 0.7);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.comm_btn_primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(30, 64, 175, 0.9),
    0 22px 52px rgba(30, 64, 175, 0.85);
}

/* Footer */

.comm_footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  background: rgba(3, 7, 18, 0.98);
  padding: 0.9rem 1.5rem 1.3rem;
}

.comm_footer_inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--comm-text-soft);
}

/* Responsive */

@media (max-width: 900px) {
  .comm_header_inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .comm_hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .comm_hero_panel {
    order: -1;
  }

  .comm_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .comm_join_block {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .comm_main {
    padding-inline: 1.1rem;
  }

  .comm_header_inner {
    padding-inline: 1.1rem;
  }

  .comm_hero_content,
  .comm_hero_panel,
  .comm_card,
  .comm_join_block {
    border-radius: 1.1rem;
  }
}
