body {
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.header-bg {
  background: url('assets/images/cikm_header_bg_2.jpg') center/cover no-repeat;
  padding-bottom: 1rem;
  position: relative;
}

.header-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.header-bg nav,
.header-bg header {
  position: relative;
  z-index: 2;
}

header {
  background: transparent;
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

header h1 {
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: 900;
}

header h2 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  margin-top: -4rem;
}

header p {
  font-size: 1.3rem;
  margin-top: 5rem;
}

nav {
  background: transparent;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 3rem;
  position: relative;
}

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

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #bdb8b8;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #bdb8b8;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
  }
  
  .nav-toggle {
    display: flex;
    align-self: flex-start;
    margin-bottom: 1rem;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  nav a {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  nav a:last-child {
    border-bottom: none;
  }
  
  header {
    padding: 2rem 1rem;
  }
  
  header h1 {
    font-size: 2.5rem;
  }

  header h2 {
    font-size: 1.66rem;
    margin-top: -2.75rem;
  }
  
  header p {
    font-size: 1rem;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.5rem;
  }
  
  nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }
  
  header {
    padding: 1.5rem 0.5rem;
  }
  
  header h1 {
    font-size: 2rem;
  }

  header h2 {
    font-size: 1.25rem;
    margin-top: -2rem;
  }
  
  header p {
    font-size: 0.9rem;
    margin-top: 1.5rem;
  }
}

main {
  max-width: 960px;
  margin: auto;
  padding: 1rem;
}

h1,
h2,
h3 {
  color: #004080;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.section {
  margin-bottom: 3rem;
}

/* .speakers,
.organizers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
} */

.organizers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.organizers .person {
  flex: 1 1 179px;
  max-width: 200px;
}


.person {
  text-align: center;
}

.person img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.person em {
  font-size: 0.9em;
  color: #888;
}

.person a {
  text-decoration: none;
  color: inherit;
}

.person a:hover {
  text-decoration: none;
  color: inherit;
}

footer {
  background: #f2f2f2;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 600px) {

  .speakers,
  .organizers {
    grid-template-columns: 1fr 1fr;
  }
}

.keynote-speaker {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.keynote-speaker .person {
  flex: 0 0 180px;
  text-align: center;
}

.keynote-speaker .bio {
  flex: 1;
  font-size: 1em;
  color: #222;
}

@media (max-width: 700px) {
  .keynote-speaker {
    flex-direction: column;
    gap: 1rem;
  }
  .keynote-speaker .person {
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

.program-table {
  overflow-x: auto;
  margin: 1rem 0;
}

.program-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.program-table th,
.program-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.program-table th {
  background-color: #004080;
  color: white;
  font-weight: bold;
}

.program-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.program-table tr:hover {
  background-color: #f0f0f0;
}

@media (max-width: 600px) {
  .program-table {
    font-size: 0.9em;
  }
  .program-table th,
  .program-table td {
    padding: 8px 6px;
  }
}

.dates-table {
  margin: 1rem 0;
}

.dates-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dates-table th,
.dates-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.dates-table td:first-child {
  font-weight: bold;
  color: #004080;
  width: 40%;
}

.dates-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.dates-table tr:hover {
  background-color: #f0f0f0;
}

@media (max-width: 600px) {
  .dates-table {
    font-size: 0.9em;
  }
  .dates-table th,
  .dates-table td {
    padding: 8px 6px;
  }
}

.committee-list {
  list-style: disc;
  padding-left: 2rem;
  margin: 1rem 0;
}

.committee-list li {
  padding: 0.3rem 0;
  font-size: 1rem;
}

.committee-list strong {
  color: #004080;
}

.committee-list em {
  color: #666;
  font-style: italic;
}

.non-text-section-header {
  padding-bottom: 1rem;
}

/* Special style for blockquote */
blockquote {
  border-left: 5px solid #004080;
  background: #e7f1fc;
  color: #222;
  margin: 2rem 0;
  padding: 1.2rem 2rem 1.2rem 1.5rem;
  font-size: 1.15rem;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0,64,128,0.05);
  border-radius: 0 8px 8px 0;
}

/* Enhanced link styles for all links except .person a */
main a:not(.person a),
footer a,
.section a:not(.person a),
#contact a {
  color: #0056b3;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s, background 0.2s;
  padding: 2px 2px 2px 0;
  border-radius: 4px;
  font-weight: 600;
}

main a:not(.person a):hover,
footer a:hover,
.section a:not(.person a):hover,
#contact a:hover {
  color: #003366;
  background: #e7f1fc;
  border-bottom: 2px solid #004080;
  text-decoration: none;
}

main a:not(.person a):focus,
footer a:focus,
.section a:not(.person a):focus,
#contact a:focus {
  outline: 2px solid #004080;
  outline-offset: 2px;
  background: #e7f1fc;
}

/* Navigation links: more modern pill style */
nav a {
  text-decoration: none;
  color: #bdb8b8;
  font-weight: bold;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
  padding: 0.4em;
  border-radius: 2em;
  position: relative;
  border: none;
  background: transparent;
  box-shadow: none;
}

/* Keep .person a (organizer/speaker cards) unstyled */
.person a {
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.person a:hover,
.person a:focus {
  color: inherit;
  background: none;
  border: none;
  box-shadow: none;
}