:root {
  /* Updated palette (Jan 2026) — modern navy + teal + coral */
  --primary-color: #0B2545;     /* deep navy */
  --secondary-color: #13315C;   /* slate blue */
  --accent-color: #2A9D8F;      /* teal */
  --pink-accent: #E76F51;       /* coral (CTA/highlight) */
  --pink-soft: #FAD2C8;         /* soft coral */
  --background-color: #F7FAFC;  /* cool off‑white */
  --text-color: #1F2937;        /* near‑black */
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
}

header, footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 1rem;
}

header h1, header p {
  color: var(--white);
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

header h2 {
  color: var(--pink-soft)
}
nav {
  margin-top: 1rem;
}

nav a {
  color: var(--white);
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--pink-accent);
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(23, 30, 47, 0.15);
}

h1, h2 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  padding-bottom: 0; /* no underline */
}

p, li {
  color: var(--secondary-color);
}

ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

section {
  margin-bottom: 2.5rem;
}

.lms-logo {
  margin-top: 1rem;
  width: 150px;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  margin-top: 1rem;
}

.speaker {
  text-align: center;
}

.speaker img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top; /* aligns image to top, crops bottom */
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 3px solid var(--pink-accent);
  transition: transform 0.3s ease;
}



.speaker img:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.speaker-name {
  font-weight: bold;
  color: var(--primary-color);
}

.speaker-affiliation {
  font-size: 0.95rem;
  color: var(--secondary-color);
}

a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--pink-accent);
}

footer h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--pink-soft);
}

footer p {
  font-size: 0.9rem;
  color: var(--background-color);
}

footer .lms-logo {
  width: 120px;
  margin: 0.5rem auto;
  display: block;
}

.lms-logo {
  width: 300px;
  filter: invert(31%) sepia(81%) saturate(3000%) hue-rotate(316deg) brightness(160%) contrast(90%);
}



@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}


.highlight {
  color: var(--pink-accent);
  font-weight: 600;
}

/* === IJRG additions === */
.hero {
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(23, 30, 47, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(233,30,99,0.08), rgba(255,255,255,0));
  margin-bottom: 2rem;
}

.hero h2 {
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 30, 47, 0.14);
  background: rgba(220, 214, 204, 0.35);
  color: var(--primary-color);
  font-size: 0.9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.button {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--primary-color);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  background: var(--pink-accent);
  border-color: var(--pink-accent);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--primary-color);
}

.button.secondary:hover {
  background: rgba(233,30,99,0.10);
  color: var(--primary-color);
  border-color: var(--pink-accent);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.card-grid--abstracts {
  display: grid;              
  grid-template-columns: 1fr; 
  row-gap: 1.75rem; 
  margin-top: 1rem;          
}

.card-grid--abstracts h4 {
  margin-top: 0.8rem;
}

.card {
  border: 1px solid rgba(23, 30, 47, 0.12);
  border-radius: 12px;
  padding: 1rem;
  background: var(--white);
}

.card h3 {
  margin-bottom: 0.4rem;
  color: var(--primary-color);
}

.card p {
  margin-bottom: 0.2rem;
}




.kv {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.kv .k {
  font-weight: 700;
  color: var(--primary-color);
}

.notice {
  border-left: 4px solid var(--pink-accent);
  padding: 0.75rem 1rem;
  background: rgba(233,30,99,0.06);
  border-radius: 8px;
  margin-top: 1rem;
}

.small {
  font-size: 0.95rem;
}

@media (max-width: 850px) {
  .card-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 30, 47, 0.14);
  background: rgba(220, 214, 204, 0.35);
  color: var(--primary-color);
  font-size: 0.9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}