/* ═══════════════════════════════════════════════
   CompleNet 2027 — Shared Stylesheet
   University of Rochester color palette
   ═══════════════════════════════════════════════ */

/* ─── Reset & Variables ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #001E5F;   /* UR navy (matches logo) */
  --blue-dark:  #001442;
  --blue-mid:   #00408F;
  --blue-light: #1A5FB8;
  --gold:       #FFD100;   /* UR Gold */
  --gold-dark:  #E8BC00;
  --gold-pale:  rgba(255, 209, 0, 0.12);
  --white:      #ffffff;
  --off-white:  #F3F7FC;
  --gray-light: #EAF0F8;
  --gray:       #8899BB;
  --text:       #1A2035;
  --text-mid:   #4A587A;
  --border:     #CDDAEC;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px  rgba(0, 59, 113, 0.10);
  --shadow-md:  0 6px 24px rgba(0, 59, 113, 0.15);
  --shadow-lg:  0 12px 48px rgba(0, 59, 113, 0.20);
  --trans:      0.2s ease;
  --nav-h:      64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { color: var(--blue-mid); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold-dark); }
img { display: block; max-width: 100%; }

/* ─── Layout ─── */
.container  { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 88px 0; }
.section-alt { background: var(--off-white); }

/* ─── Section Header ─── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--blue);
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 10px auto 0;
}
.section-header p {
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: var(--blue);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.30);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img {
  height: 34px;
  filter: brightness(0) invert(1);
}
.nav-brand-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.nav-brand-year { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--trans);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.active { background: rgba(255, 209, 0, 0.10); }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--blue-dark) !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  margin-left: 6px;
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  background: var(--gold-dark);
  color: var(--blue-dark) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════
   PAGE HEADER  (inner pages — replaces full hero)
   ═══════════════════════════════════════════════ */
.page-header {
  background: var(--blue);
  padding: calc(var(--nav-h) + 52px) 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('Images/RochesterNetwork.png');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
}
.page-header .container { position: relative; z-index: 1; }
.page-header-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.page-header h1 span { color: var(--gold); }
.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   HERO  (index.html only)
   ═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--blue);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('Images/RochesterNetwork.png');
  background-size: cover;
  background-position: center 60%;
  opacity: 0.16;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 60%,
    transparent 40%, var(--blue) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 96px;
  max-width: 720px;
}
.hero-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-logos img {
  height: 42px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.hero-logos .sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.98rem;
  font-weight: 500;
}
.hero-meta-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 209, 0, 0.14);
  border: 1px solid rgba(255, 209, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.hero-meta-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: inherit;
  text-decoration: none;
  transition: all var(--trans);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: var(--blue-dark); }
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.40);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   ABOUT  (index.html)
   ═══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue);
  margin-bottom: 18px;
}
.about-text p { color: var(--text-mid); margin-bottom: 16px; font-size: 1.02rem; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number sup { font-size: 0.45em; vertical-align: super; }
.stat-label {
  font-size: 0.80rem;
  color: rgba(255, 255, 255, 0.70);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   SPEAKERS
   ═══════════════════════════════════════════════ */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.speaker-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  transition: all var(--trans);
  box-shadow: var(--shadow-sm);
}
.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.speaker-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--gray-light);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
}
.speaker-avatar svg { width: 44px; height: 44px; color: var(--gray); }
.tba-badge {
  display: inline-block;
  background: var(--gold-pale);
  border: 1px solid rgba(255, 209, 0, 0.45);
  color: #7A6500;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.speaker-affiliation { font-size: 0.83rem; color: var(--text-mid); margin-bottom: 14px; }
.speaker-topic {
  display: inline-block;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════
   PLACEHOLDER  (program, registration)
   ═══════════════════════════════════════════════ */
.placeholder-box {
  background: var(--off-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
}
.placeholder-icon { font-size: 2.8rem; margin-bottom: 18px; opacity: 0.45; display: flex; justify-content: center; align-items: center; }
.placeholder-icon img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0); opacity: 0.35; }
.placeholder-box h3 { color: var(--blue); font-size: 1.35rem; margin-bottom: 12px; }
.placeholder-box p  { color: var(--text-mid); max-width: 500px; margin: 0 auto; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════
   CALL FOR CONTRIBUTIONS
   ═══════════════════════════════════════════════ */
.topics-list { list-style: none; }
.topics-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--text-mid);
}
.topics-list li:last-child { border-bottom: none; }
.topics-list li::before {
  content: '';
  display: block;
  min-width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.dates-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 0.90rem; }
.dates-table th {
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dates-table th:first-child { border-radius: var(--radius) 0 0 0; }
.dates-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.dates-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.dates-table tr:last-child td { border-bottom: none; }
.dates-table tr:nth-child(even) td { background: var(--off-white); }
.date-val { color: var(--blue); font-weight: 600; }

.cfp-note {
  background: rgba(0, 59, 113, 0.06);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 13px 16px;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   REGISTRATION
   ═══════════════════════════════════════════════ */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.reg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.reg-card.featured { border: 2px solid var(--gold); }
.reg-card.featured::before {
  content: 'Standard';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.reg-type  { font-size: 0.78rem; color: var(--text-mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 12px; }
.reg-price { font-size: 2rem; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.reg-note  { font-size: 0.78rem; color: var(--gray); }

/* ═══════════════════════════════════════════════
   VENUE
   ═══════════════════════════════════════════════ */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.venue-info h3 { font-size: 1.4rem; color: var(--blue); margin-bottom: 14px; }
.venue-info p  { color: var(--text-mid); margin-bottom: 18px; font-size: 0.97rem; }
.venue-address {
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.7;
}
.venue-logo-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.venue-logo-row img { height: 48px; object-fit: contain; }
.venue-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.venue-img-wrap img { width: 100%; height: 360px; object-fit: cover; }

/* ═══════════════════════════════════════════════
   PAST EDITIONS
   ═══════════════════════════════════════════════ */
.editions-intro {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.editions-intro-stat { text-align: center; flex: 1; min-width: 90px; }
.editions-intro-stat .n { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.editions-intro-stat .l { font-size: 0.72rem; color: rgba(255, 255, 255, 0.62); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.editions-intro-divider { width: 1px; height: 48px; background: rgba(255, 255, 255, 0.15); }

.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.edition-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  transition: all var(--trans);
}
a.edition-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
.edition-year { font-size: 1.15rem; font-weight: 800; color: var(--blue); min-width: 48px; }
.edition-bar  { width: 2px; height: 36px; background: var(--gold); border-radius: 1px; flex-shrink: 0; }
.edition-info { flex: 1; }
.edition-place { font-weight: 600; color: var(--text); font-size: 0.92rem; }
.edition-inst    { font-size: 0.78rem; color: var(--text-mid); margin-top: 1px; }
.edition-country { font-size: 0.74rem; color: var(--blue); font-weight: 600; margin-top: 2px; letter-spacing: 0.01em; }
.edition-num     { font-size: 0.72rem; color: var(--gray); font-weight: 500; margin-top: 2px; }
.edition-arrow { color: var(--gray); font-size: 0.9rem; flex-shrink: 0; }
a.edition-card:hover .edition-arrow { color: var(--gold-dark); }

/* Cancelled edition variant */
.edition-cancelled .edition-year  { color: var(--gray); }
.edition-cancelled .edition-bar   { background: var(--border); }
.edition-cancelled .edition-place { color: var(--gray); }
.edition-cancelled .edition-tag {
  display: inline-block;
  background: #FFF3F3;
  border: 1px solid #FFCCCC;
  color: #CC4444;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.68);
  padding: 52px 0 28px;
}

/* Centered, minimal layout */
.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-main-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity var(--trans);
}
.footer-main-logo:hover { opacity: 1; }

/* Social icon row */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: all var(--trans);
  cursor: pointer;
}
.social-link:hover {
  color: var(--gold);
  border-color: rgba(255, 209, 0, 0.55);
  background: rgba(255, 209, 0, 0.10);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 209, 0, 0.15);
}
.social-link svg { width: 20px; height: 20px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
  flex-wrap: wrap;
}
.footer-bottom .sep { opacity: 0.4; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .about-grid,
  .venue-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

  /* ── Navbar ── */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--blue-dark);
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 11px 14px; border-radius: var(--radius); }
  .nav-links .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }

  /* ── Page header ── */
  .page-header { padding: calc(var(--nav-h) + 32px) 0 36px; }
  .page-header h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  /* ── Hero ── */
  .hero-content { padding: 48px 0 64px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 12px; }

  /* ── About stats ── */
  .about-stats { grid-template-columns: 1fr 1fr; }

  /* ── Venue ── */
  .venue-img-wrap iframe { min-height: 280px !important; }

  /* ── Past editions ── */
  .editions-grid { grid-template-columns: 1fr; }
  .editions-intro-divider { display: none; }

  /* ── Program glance table ── */
  .glance-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .glance-table  { min-width: 520px; }

  /* ── Placeholders ── */
  .placeholder-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }

  /* ── Hero ── */
  .hero-content { padding: 36px 0 52px; }
  .hero-actions { align-items: stretch; }

  /* ── About stats ── */
  .stat-number { font-size: 1.8rem; }

  /* ── Registration ── */
  .reg-grid { grid-template-columns: 1fr; }

  /* ── Editions intro ── */
  .editions-intro { padding: 16px 18px; }
  .editions-intro-stat .n { font-size: 1.6rem; }

  /* ── Placeholders ── */
  .placeholder-box { padding: 36px 18px; }

  /* ── Past editions cards ── */
  .editions-grid { gap: 8px; }
}

/* ═══════════════════════════════════════════════
   PAGE COMPONENTS
   (consolidated from former per-page <style> blocks)
   ═══════════════════════════════════════════════ */

/* ── Home: hero logo-as-title ── */
.hero-title-area { margin-bottom: 22px; }
.hero-complenet-logo {
  filter: brightness(0) invert(1);   /* white */
  height: clamp(90px, 15vw, 150px);
  display: block;
  margin-bottom: 12px;
}
.hero-year {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--gold);                /* UR gold */
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ── Home: institution sections ── */
.inst-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.inst-card { display: flex; align-items: center; justify-content: center; }
.inst-card img { max-height: 72px; max-width: 280px; object-fit: contain; }
#host-institution .inst-card img { max-height: 94px; max-width: 360px; }

/* ── Committee: organizing committee hierarchy ── */
.committee-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.committee-row:last-child { margin-bottom: 0; }
.committee-row .speaker-card { width: 244px; flex: 0 0 auto; }

/* Photo avatars (black & white, cropped to face) */
.speaker-avatar img.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  filter: grayscale(100%);
}

/* Navy role badge for organizing committee cards */
.role-badge {
  display: inline-block;
  background: rgba(0, 30, 95, 0.07);
  border: 1px solid rgba(0, 30, 95, 0.18);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Committee: name/affiliation/country list (no photos) */
.pc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0 40px;
  margin-top: 8px;
}
.pc-member {
  display: flex;
  flex-direction: column;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.pc-name { font-size: 0.95rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 8px; }
.pc-affil { font-size: 0.83rem; color: var(--text-mid); margin-top: 2px; }
.pc-country { font-size: 0.78rem; color: var(--gray); font-weight: 500; margin-top: 1px; }
.pc-year {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--gold-pale);
  border: 1px solid rgba(255, 209, 0, 0.45);
  border-radius: 9px;
  padding: 1px 7px;
  letter-spacing: 0.03em;
}

/* ── Program: session-type cards ── */
.program-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.program-type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.program-type-icon { font-size: 2rem; margin-bottom: 12px; display: flex; justify-content: center; align-items: center; }
.program-type-icon img { width: 36px; height: 36px; object-fit: contain; filter: brightness(0) invert(10%) sepia(95%) saturate(3000%) hue-rotate(208deg) brightness(70%); }
.program-type-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 6px; }
.program-type-card p  { font-size: 0.82rem; color: var(--text-mid); }

/* Program at a Glance */
.glance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 0.88rem;
}
.glance-table th {
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.glance-table th:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.glance-table th:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.glance-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
}
.glance-table tr:last-child td { border-bottom: none; }
.glance-table tr:hover td { background: var(--off-white); }
.glance-time { font-weight: 600; color: var(--blue); white-space: nowrap; min-width: 110px; }
.glance-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.tag-talk   { background: rgba(0,59,113,0.10); color: var(--blue); }
.tag-light  { background: rgba(255,209,0,0.22); color: #7a5c00; }
.tag-poster { background: rgba(0,150,100,0.12); color: #006644; }
.tag-social { background: rgba(180,0,180,0.10); color: #6b006b; }
.tag-break  { background: var(--off-white); color: var(--gray); }

/* ── Registration: info cards ── */
.reg-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.reg-info-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.reg-info-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 10px; }
.reg-info-card p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ── Venue: highlights & about ── */
.venue-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.highlight-icon { font-size: 2rem; margin-bottom: 12px; display: flex; justify-content: center; align-items: center; }
.highlight-icon img { width: 36px; height: 36px; object-fit: contain; filter: brightness(0) invert(10%) sepia(95%) saturate(3000%) hue-rotate(208deg) brightness(70%); }
.highlight-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 6px; }
.highlight-card p  { font-size: 0.82rem; color: var(--text-mid); }

.about-ur { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-ur-text h3 { font-size: 1.3rem; color: var(--blue); margin-bottom: 14px; }
.about-ur-text p  { font-size: 0.97rem; color: var(--text-mid); margin-bottom: 14px; }
.about-ur-facts { list-style: none; }
.about-ur-facts li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.90rem; color: var(--text-mid);
}
.about-ur-facts li:last-child { border-bottom: none; }
.about-ur-facts li::before {
  content: ''; display: block; min-width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%; margin-top: 6px; flex-shrink: 0;
}

/* ── Call for Contributions: lead, topics, contribution cards, steps ── */
.cfp-lead { max-width: 820px; margin: 0 auto; text-align: center; }
.cfp-lead p { font-size: 0.98rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
.cfp-lead p:last-child { margin-bottom: 0; }

.topics-cols { column-count: 3; column-gap: 36px; }
.topics-cols li { break-inside: avoid; }

.contrib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contrib-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.contrib-card h3 { color: var(--blue); font-size: 1.15rem; margin-bottom: 10px; }
.contrib-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 10px; margin-bottom: 14px;
}
.tag-published,
.tag-unpublished { background: rgba(0,30,95,0.08); color: var(--blue); border: 1px solid rgba(0,30,95,0.18); }
.contrib-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 12px; }
.contrib-card ul { list-style: none; }
.contrib-card li { font-size: 0.88rem; color: var(--text-mid); padding: 6px 0 6px 17px; position: relative; line-height: 1.55; }
.contrib-card li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.submit-steps { counter-reset: step; list-style: none; max-width: 720px; margin: 0 auto; }
.submit-steps li {
  position: relative; padding: 11px 0 11px 46px;
  font-size: 0.92rem; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.submit-steps li:last-child { border-bottom: none; }
.submit-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 9px;
  width: 28px; height: 28px; background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

.dates-table.dates-centered { max-width: 560px; margin: 0 auto; }
.cfp-contact { text-align: center; margin-top: 32px; font-size: 0.92rem; color: var(--text-mid); }
.cfp-contact a { font-weight: 600; }

/* ── Page-component responsive overrides ── */
@media (max-width: 768px) {
  .contrib-grid { grid-template-columns: 1fr; }
  .about-ur { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .topics-cols { column-count: 2; } }
@media (max-width: 480px) { .topics-cols { column-count: 1; } }
