/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', 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; }
.site-logo { text-decoration: none; }
.logo-text { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: #222; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 0; }
.nav-links li { display: flex; align-items: center; }
.nav-links li + li::before { content: '·'; color: #bbb; margin: 0 2px; }
.nav-links li a { display: block; padding: 6px 10px; color: #444; font-family: 'Poppins', sans-serif; font-size: 0.95rem; 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: 600; color: #222; }
.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; }

/* ===== HOME HERO (full viewport, side-by-side) ===== */
.home-hero {
  height: calc(100vh - 56px);
  background: #FFE8E0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 5vw;
  overflow: hidden;
}
.home-hero-content {
  max-width: 1300px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
}
.home-hero-text { text-align: center; max-width: 640px; justify-self: start; grid-column: 1; }
.home-hero-img { display: flex; justify-content: flex-end; align-items: center; grid-column: 3; }
.home-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.home-hero-venue {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 6px;
}
.home-hero-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 28px;
  margin-top: 20px;
}
.home-hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #E8604C;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 30px;
  border: 2px solid #E8604C;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.home-hero-btn:hover { background: #E8604C; color: #fff; text-decoration: none; }
.home-hero-img { display: flex; justify-content: flex-end; align-items: center; }
.home-hero-img img { max-width: 110%; max-height: 85vh; height: auto; display: block; }

/* ===== SUBPAGE HERO (image banner + title below) ===== */
.subpage-hero-banner {
  width: 100%;
  overflow: hidden;
}
.subpage-hero-banner img {
  width: 100%;
  display: block;
}
.subpage-hero-title {
  text-align: center;
  padding: 36px 24px 8px;
}
.subpage-hero-title h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
}

/* ===== About / Content section ===== */
.about-section { padding: 48px 24px; text-align: center; max-width: 820px; margin: 0 auto; }
.about-section-title { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; color: #333; margin-bottom: 20px; }
.about-intro { font-size: 1rem; color: #333; margin-bottom: 16px; line-height: 1.7; }
.about-body { font-size: 0.97rem; color: #333; line-height: 1.75; margin-bottom: 24px; }
.about-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; margin-bottom: 24px; }
.btn-box-wide {
  display: inline-block; padding: 14px 0; width: 320px; text-align: center;
  border: 1.5px solid #20B573; color: #20B573; 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: #20B573; color: #fff; text-decoration: none; }
.btn-pink { border-color: #E25B91 !important; color: #E25B91 !important; }
.btn-pink:hover { background: #E25B91 !important; color: #fff !important; }

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

/* ===== Theme cards ===== */
.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; text-align: left; }
.theme-card { border: 1px solid #dde4ee; border-radius: 6px; padding: 24px 20px; background: #fff; }
.theme-card h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: #333; margin-bottom: 10px; }
.theme-card p { font-size: 0.88rem; color: #555; line-height: 1.65; }
.theme-questions { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; list-style: none; }
.theme-questions li { font-size: 0.82rem; color: #666; margin-bottom: 6px; padding-left: 14px; position: relative; line-height: 1.5; }
.theme-questions li::before { content: '→'; position: absolute; left: 0; color: #1C75BC; font-size: 0.78rem; }

/* ===== Schedule ===== */
.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: #333; white-space: nowrap; }
.schedule-table .session-title { font-weight: 600; color: #1a1a2e; }
.schedule-table .session-desc { color: #666; font-size: 0.85rem; margin-top: 2px; }
.schedule-table tr.break-row td { background: #f9f9f9; color: #999; font-style: italic; font-size: 0.86rem; }

/* ===== CFP ===== */
.cfp-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px auto; max-width: 820px; text-align: left; }
.cfp-track { border: 1px solid #dde4ee; border-radius: 6px; padding: 20px; background: #fff; }
.cfp-track h4 { color: #333; font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.cfp-track p { font-size: 0.95rem; color: #666; line-height: 1.6; }
.cfp-details {
  text-align: left; max-width: 820px; margin: 24px auto 0;
  background: #D3DFFF; border-left: 4px solid #91B0FF; border-radius: 0 6px 6px 0; padding: 22px 26px;
}
.cfp-details h4 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.cfp-details ul { list-style: none; }
.cfp-details li { font-size: 0.97rem; color: #333; margin-bottom: 8px; padding-left: 14px; position: relative; line-height: 1.65; }
.cfp-details li::before { content: '•'; position: absolute; left: 0; color: #333; }

/* ===== Organizers (circle 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: 140px; height: 140px; object-fit: cover; display: block; margin: 0 auto 10px;
  border-radius: 50%; background: #d8dfe8;
}
.organizer-photo-sq-placeholder {
  width: 140px; height: 140px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 1.8rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #1C75BC, #0d4f8a); border-radius: 50%;
}
.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-affiliation { font-size: 0.8rem; color: #777; }
.organizer-note { font-size: 0.75rem; font-style: italic; color: #999; margin-top: 2px; }

/* ===== Organizer bio (detail page) ===== */
.organizer-bio-list { display: flex; flex-direction: column; gap: 32px; max-width: 820px; margin: 0 auto; }
.organizer-bio-card { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid #eee; }
.organizer-bio-card:last-child { border-bottom: none; }
.organizer-bio-card .organizer-photo-sq { width: 140px; height: 140px; border-radius: 50%; }
.organizer-bio-name { font-family: 'Poppins', 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; }

/* ===== Footer ===== */
.site-footer { background: #DCECE9; color: #333; text-align: center; padding: 32px 0; font-size: 0.85rem; line-height: 1.9; }
.site-footer a { color: #1C75BC; }
.site-footer a:hover { color: #0d4f8a; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .home-hero { padding: 30px 20px; height: auto; min-height: calc(100vh - 56px); }
  .home-hero-content { grid-template-columns: 1fr; gap: 24px; }
  .home-hero-text { text-align: center; max-width: 100%; justify-self: center; grid-column: 1; }
  .home-hero-title { font-size: 1.5rem; }
  .home-hero-img { order: -1; justify-content: center; grid-column: 1; }
  .home-hero-img img { max-width: 280px; }
  .organizers-grid-home { grid-template-columns: repeat(2, 1fr); }
  .organizer-photo-sq, .organizer-photo-sq-placeholder { width: 110px; height: 110px; }
  .themes-grid, .cfp-tracks { grid-template-columns: 1fr; }
  .organizer-bio-card { grid-template-columns: 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; }
  .subpage-hero-title h1 { font-size: 1.6rem; }
}
@media (max-width: 479px) { .home-hero-title { font-size: 1.3rem; } .about-section { padding: 36px 16px; } }
