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

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

a { color: #1C75BC; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 28px;
  max-width: 100%;
}

.site-logo { text-decoration: none; }

.logo-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.3px;
}

.header-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav { display: flex; align-items: center; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

/* dot separator between items */
.nav-links li + li::before {
  content: '·';
  color: #bbb;
  margin: 0 2px;
  font-size: 1rem;
  line-height: 1;
}

.nav-links li a {
  display: block;
  padding: 6px 10px;
  color: #444;
  font-family: 'Lato', sans-serif;
  font-size: 15pt;
  font-weight: 400;
  transition: color 0.15s;
  text-decoration: none;
}

.nav-links li a:hover { color: #1C75BC; text-decoration: none; }

.nav-links li a.active {
  font-weight: 700;
  color: #222;
}

/* search icon placeholder */
.nav-search {
  margin-left: 10px;
  color: #444;
  font-size: 1rem;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #444;
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero-date {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  margin-top: -32px;
  letter-spacing: 0.5px;
}

.hero {
  background: #555 center/cover no-repeat;
  color: #fff;
  padding: 72px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 40pt;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #fff;
}

.hero-title-bar {
  width: 80px;
  height: 4px;
  background: #1C75BC;
  margin: 0 auto 24px;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

/* ===== About section (centered, Google-Sites style) ===== */
.about-section {
  padding: 56px 24px 48px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.about-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1C75BC;
  margin-bottom: 20px;
}

.about-intro {
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-link {
  font-size: 1rem;
  font-weight: 700;
  color: #1C75BC;
  display: block;
  margin-bottom: 20px;
}

.about-link:hover { text-decoration: underline; }

.about-body {
  font-size: 0.97rem;
  color: #333;
  line-height: 1.75;
  margin-bottom: 32px;
}

.about-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-box {
  display: inline-block;
  padding: 10px 36px;
  border: 1px solid #1C75BC;
  color: #1C75BC;
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.btn-box:hover {
  background: #1C75BC;
  color: #fff;
  text-decoration: none;
}

/* Wide outline buttons (like original BeyondSound) */
.btn-box-wide {
  display: inline-block;
  padding: 14px 0;
  width: 320px;
  text-align: center;
  border: 1.5px solid #1C75BC;
  color: #1C75BC;
  font-size: 0.95rem;
  font-weight: 400;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.btn-box-wide:hover {
  background: #1C75BC;
  color: #fff;
  text-decoration: none;
}

/* ===== Divider ===== */
.section-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0 24px;
}

/* ===== Generic section ===== */
.section {
  padding: 56px 0;
}

.section-alt { background: #f5f7fa; }

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

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1C75BC;
  margin-bottom: 24px;
}

.section-title-left {
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.section-title-underline {
  width: 48px;
  height: 4px;
  background: #1C75BC;
  border-radius: 2px;
  margin-bottom: 28px;
}

.section-lead {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

/* ===== Topics list ===== */
.topics-list {
  list-style: none;
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}

.topics-list li {
  padding: 9px 0 9px 26px;
  position: relative;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: #444;
}

.topics-list li:last-child { border-bottom: none; }

.topics-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 9px;
  height: 9px;
  background: #1C75BC;
  border-radius: 50%;
}

/* ===== Key dates table ===== */
.deadline-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.deadline-table th {
  background: #1C75BC;
  color: #fff;
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
}

.deadline-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.deadline-table tr:nth-child(even) td { background: #f5f7fa; }
.deadline-table tr:last-child td { border-bottom: none; }

/* ===== Submission format cards ===== */
.submission-formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.format-card {
  border: 1px solid #dde4ee;
  border-radius: 6px;
  padding: 20px;
  background: #fff;
}

.format-card h4 {
  color: #1C75BC;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.format-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}

/* ===== Info box ===== */
.info-box {
  background: #e8f2fc;
  border-left: 4px solid #1C75BC;
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin: 20px 0;
}

.info-box p { margin: 0; font-size: 0.93rem; color: #333; }
.info-box p + p { margin-top: 7px; }

/* ===== Organizers grid ===== */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

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

.organizer-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  background: #d0d8e8;
  border: 3px solid #e8eef5;
}

.organizer-photo-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1C75BC, #0d4f8a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
  border: 3px solid #e8eef5;
}

.organizer-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a1a2e;
  margin-bottom: 3px;
}

.organizer-affiliation {
  font-size: 0.8rem;
  color: #777;
}

/* ===== Illustration ===== */
.hero-illustration {
  margin: 32px auto 0;
  text-align: center;
  max-width: 700px;
}

.illustration-caption {
  font-size: 0.82rem;
  color: #888;
  margin-top: 8px;
  font-style: italic;
}

/* ===== Organizers (home page, square photos) ===== */
.organizers-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  max-width: 760px;
  margin: 0 auto;
}

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

.organizer-photo-sq {
  width: 160px;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  background: #d8dfe8;
  flex-shrink: 0;
}

.organizer-photo-sq-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  background: #b0bec5;
}

.organizer-name-link {
  display: block;
  color: #1C75BC;
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: underline;
  margin-bottom: 3px;
}

.organizer-name-link:hover { color: #0d4f8a; }

/* ===== Organizer bio list (organizers page) ===== */
.organizer-bio-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.organizer-bio-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

.organizer-bio-card:last-child { border-bottom: none; }

.organizer-bio-name {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.organizer-bio-name a {
  color: #1C75BC;
  text-decoration: none;
}

.organizer-bio-name a:hover {
  text-decoration: underline;
}

.organizer-bio-affil {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 4px;
}

.organizer-bio-email {
  font-size: 0.83rem;
  margin-bottom: 8px;
}

.organizer-bio-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* ===== Keynote speakers ===== */
.speakers-list { display: flex; flex-direction: column; gap: 44px; }

.speaker-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: start;
}

.speaker-photo-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1C75BC, #0d4f8a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
}

.speaker-tag {
  display: inline-block;
  background: #1C75BC;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 7px;
}

.speaker-name {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 3px;
}

.speaker-affiliation {
  color: #777;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.speaker-talk-title {
  font-style: italic;
  color: #1C75BC;
  font-size: 0.97rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.speaker-bio {
  font-size: 0.91rem;
  color: #555;
  line-height: 1.7;
}

/* ===== Schedule ===== */
.schedule-block { margin-bottom: 36px; }

.schedule-block-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1C75BC;
  padding: 9px 14px;
  background: #e8f2fc;
  border-radius: 5px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
}

.schedule-table tr { border-bottom: 1px solid #eee; }
.schedule-table tr:last-child { border-bottom: none; }
.schedule-table td { padding: 11px 14px; vertical-align: top; }

.schedule-table .time-col {
  width: 130px;
  font-weight: 700;
  color: #1C75BC;
  white-space: nowrap;
}

.schedule-table .session-title { font-weight: 600; color: #1a1a2e; }
.schedule-table .session-speaker { color: #777; font-size: 0.85rem; margin-top: 2px; }

.schedule-table tr.break-row td {
  background: #f9f9f9;
  color: #999;
  font-style: italic;
  font-size: 0.86rem;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #1C75BC 0%, #0d4f8a 100%);
  color: #fff;
  padding: 44px 24px 36px;
}

.page-hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 7px;
  max-width: 900px;
}

.page-hero p { opacity: 0.85; font-size: 0.95rem; }

/* ===== Footer ===== */
.site-footer {
  background: #1a1a2e;
  color: #aaa;
  text-align: center;
  padding: 32px 0;
  font-size: 0.85rem;
  line-height: 1.9;
}

.site-footer a { color: #7ab8e8; }
.site-footer a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .hero h1 { font-size: 29pt; }
  .organizers-grid-home { grid-template-columns: repeat(2, 1fr); }
  .organizer-photo-sq { width: 120px; height: 120px; }
  .header-date { display: none; }
  .speaker-card { grid-template-columns: 1fr; }
  .speaker-photo-placeholder { width: 100px; height: 100px; font-size: 1.8rem; }
  .submission-formats { grid-template-columns: 1fr; }
  .organizers-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li::before { display: none; }
  .nav-links li a { padding: 9px 6px; border-bottom: 1px solid #f0f0f0; }
  .site-header { position: relative; }
}

@media (max-width: 479px) {
  .hero h1 { font-size: 1.4rem; }
  .section { padding: 40px 0; }
  .about-section { padding: 40px 20px; }
}
