/* =====================================================
GLOBAL
===================================================== */
body {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  color: #333;
  padding-top: 100px;
}

body *::selection {
  background: #ff7a00;
  color: #fff;
}

.container {
  max-width: 980px;
}

img {
  max-width: 100%;
  display: block;
}


/* =====================================================
TYPOGRAPHY
===================================================== */
h1, h2, h3 {
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 12px;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }

p {
  text-align: justify;
  margin-bottom: 10px;
  hyphens: auto;
}

/* =====================================================
LINKS
===================================================== */
a {
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  color: inherit;
}

a:hover {
  border-color: #ff7a00;
}

.navbar a {
  border-bottom: none;
}


/* =====================================================
NAVBAR
===================================================== */
.navbar {
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);

  height: 90px;
  display: flex;
  align-items: center;
  padding: 0;
}

.custom-nav {
  min-height: 90px;
}

.custom-nav .navbar-collapse {
  display: flex !important;
  align-items: center;
}

.custom-nav .nav-left {
  display: flex !important;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  margin-right: 20px;
}

.custom-nav .nav-left > li > a {
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 500;
  padding: 0;
  line-height: 90px;
  white-space: nowrap;
}

.custom-nav .nav-right {
  display: flex !important;
  align-items: center;
}

.custom-nav .nav-right img {
  height: 50px;
  object-fit: contain;
}

.navbar-nav > li > a {
  color: #1f2937;
  font-weight: 500;
  font-size: 15px;
}


/* =====================================================
SECTION CARDS
===================================================== */
.section-card {
  width: 100%;
  margin: 15px 0;
  padding: 30px 30px;

  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* accents */
.accent-orange { border-left: 4px solid #ff7a00; }
.accent-blue   { border-left: 4px solid #2563eb; }

/* text inside cards */
.section-title {
  text-align: center;
}

.section-text {
  font-size: 17px;
  line-height: 1.7;
}

/* remove extra top gap from headings inside cards */
.section-card h1,
.section-card h2,
.section-card h3 {
  margin-top: 0;
}

section, [id] {
  scroll-margin-top: 110px;
}

/* =====================================================
BANNER
===================================================== */
#banner {
  margin: 15px 0;
}


/* =====================================================
LISTS
===================================================== */
.intro-list,
.registration-list {
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
}

.intro-list li,
.registration-list li {
  position: relative;
  padding-left: 18px;
}

.intro-list li::before,
.registration-list li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.intro-list li::before { color: #ff7a00; }
.registration-list li::before { color: #2563eb; }


/* =====================================================
SPEAKER
===================================================== */
.speaker {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-top: 20px;
}

.speaker-img img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.speaker-bio {
  flex: 1;
}

.speaker-bio h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.speaker-bio h3 a {
  border-bottom: none;
}

.speaker-bio h3 a:hover {
  color: #1e40af;
}

.speaker-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 25px 0;
}


/* =====================================================
SPONSOR
===================================================== */
.sponsor-subtext {
  text-align: left;
  color: #666;
  margin-top: 10px;
}

.sponsor-logo {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.sponsor-logo img {
  max-height: 80px;
}


/* =====================================================
SCHEDULE TABLE
===================================================== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.schedule-table td {
  padding: 10px 12px;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

#schedule .schedule-table td:first-child {
  text-align: left;
}

#schedule .schedule-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
  color: #555;
}

#schedule .schedule-table tr:nth-child(even) td {
  background: #fafafa;
}

#schedule .schedule-table tr:hover td {
  background: #f5f5f5;
}

.schedule-table td[colspan] {
  text-align: center !important;
  color: #777;
  padding: 18px;
  font-style: italic;
}


/* =====================================================
UTIL
===================================================== */
.text-center {
  text-align: center;
}

/* =====================================================
LOCAL SPEAKERS GRID
===================================================== */
.speaker-grid {
  margin-bottom: 30px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

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

.speaker-card img {
  display: block;
  margin: 0 auto 12px auto;   /* ensures perfect centering */
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
}

.speaker-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
  line-height: 1.3;
  text-align: center;
}

.speaker-card h4 a {
  text-decoration: none;
}

.speaker-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align: center;
}

.more-speakers-row {
  clear: both;
  margin-top: 10px;
  text-align: center;
}

.more-speakers-text {
  color: #888;
  font-weight: 500;
}


/* =====================================================
MOBILE
===================================================== */
@media (max-width: 768px) {

  .hide-mobile {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
    font-size: 15px;
    line-height: 1.6;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  p,
  .section-text,
  .section-subtext,
  li {
    text-align: left;
    hyphens: none;
  }

  #banner {
    margin-top: 10px;
  }

  .speaker {
    flex-direction: column;
    align-items: center;
  }

  .speaker-img img {
    width: 110px;
    height: 110px;
    object-fit: cover;
  }

  .speaker-bio {
    width: 100%;
  }

  /* ===== LOCAL SPEAKERS MOBILE IMPROVEMENT ===== */
  .speaker-grid {
    margin-bottom: 20px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
  }

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

  .speaker-card img {
    width: 110px;
    height: 110px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .speaker-card h4 {
    font-size: 15px;
    text-align: center;
  }

  .speaker-card p {
    font-size: 13px;
    text-align: center;
  }

  /* optional: enforce clean 2-column layout */
  .col-sm-6 {
    width: 50%;
    float: left;
  }

  .schedule-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  iframe {
    width: 100% !important;
    height: 250px !important;
  }
}