/* ========== GLOBAL ==========
================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #606c71;
}

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

/* Accessibility skip link */
#skip-to-content {
  position: absolute;
  top: -10px;
  height: 1px; width: 1px; overflow: hidden;
}
#skip-to-content:focus {
  position: fixed; top: 10px; left: 10px;
  height: auto; width: auto;
  background: #1e6bb8; outline: thick solid #1e6bb8;
}

/* Buttons in header */
.btn {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.85);
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 0.3rem;
  transition: 0.2s;
}
.btn + .btn { margin-left: 1rem; }
.btn:hover {
  color: #fff;
  background-color: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.35);
}

/* ========== HEADER (HERO) ==========
===================================== */
.page-header {
  color: #fff;
  text-align: center;
  background: url("site_images\istockphoto-597654968-612x612.jpg") center/cover no-repeat;
  padding: 5rem 6rem;
}
.project-name { margin: 0 0 0.1rem; font-size: 2.5rem; }
.project-tagline { margin: 0; opacity: 0.9; font-size: 1.5rem; }

/* Header tagline + single logo */
.project-tagline-section {
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.header-logos { display: flex; justify-content: center; align-items: center; }
.icarc-logo {
  height: 80px; width: auto;
  opacity: 0.95; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: 0.3s;
}
.icarc-logo:hover { opacity: 1; transform: scale(1.05); }

/* ========== MAIN CONTENT WRAPPER ========== */
.main-content { max-width: 64rem; margin: 0 auto; padding: 2rem 6rem; word-wrap: break-word; }
.main-content img { max-width: 100%; }

/* Headings */
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
  margin: 2rem 0 1rem; font-weight: 600; color: #1e6bb8;
}
.main-content h2 { border-bottom: 3px solid #FFA500; padding-bottom: 0.5rem; }
.main-content p { margin-bottom: 1em; }

/* Code blocks (if any) */
.main-content code, .main-content pre > code {
  font-family: Consolas, Menlo, monospace; font-size: 0.9rem; color: #567482;
  background: #f3f6fa; border-radius: 0.3rem; padding: 2px 4px;
}

.agenda-container {
  overflow-x: auto;
  margin-top: 1rem;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.agenda-table th,
.agenda-table td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  text-align: left;
}

.agenda-table th {
  background-color: #e8f0f8;
  font-weight: 600;
  color: #1e6bb8;
}

.agenda-table tr:nth-child(even) td {
  background-color: #f9fafb;
}

@media (max-width: 600px) {
  .agenda-table, .agenda-table thead, .agenda-table tbody, .agenda-table th, .agenda-table td, .agenda-table tr {
    display: block;
  }
  .agenda-table thead {
    display: none;
  }
  .agenda-table tr {
    margin-bottom: 1rem;
    border: 1px solid #c9e4f5;
    border-radius: 12px;
    padding: 0.5rem;
    background: #e8f0f8;
  }
  .agenda-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .agenda-table td:last-child {
    border-bottom: none;
  }
  .agenda-table td::before {
    content: attr(data-label);
    font-weight: 600;
    flex-basis: 50%;
  }
}

/* ========== FACILITATORS GRID ========== */
.photo-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.row:nth-child(1) {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   justify-content: center;
   max-width: 950px;
   margin: 0 auto;
}

.row:nth-child(2) {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 25px;
   justify-content: center;
   max-width: 650px;
   margin: 0 auto;
}

.facilitator-card {
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.facilitator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.facilitator-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 8px;
}

.row:nth-child(1) .facilitator-card:nth-child(1) img { width: 160px; height: 175px; }
.row:nth-child(1) .facilitator-card:nth-child(2) img { width: 140px; height: 190px; }
.row:nth-child(1) .facilitator-card:nth-child(3) img { width: 145px; height: 175px; }
.row:nth-child(2) .facilitator-card:nth-child(1) img { width: 150px; height: 155px; }
.row:nth-child(2) .facilitator-card:nth-child(2) img { width: 135px; height: 150px; }
.row:nth-child(2) .facilitator-card:nth-child(3) img { width: 135px; height: 145px; }

.facilitator-card .name {
  font-weight: 700;
  color: #1e6bb8;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.facilitator-card .affiliation {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 4px;
}

.facilitator-card .email a {
  color: #666;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .row:nth-child(1),
  .row:nth-child(2) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
  }
}

@media (max-width: 480px) {
  .row:nth-child(1),
  .row:nth-child(2) {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* ========== ORGANIZERS GRID ========== */
.organizer-row {
  display: grid;
  gap: 20px;
  margin: 0 auto 25px;
}

.organizer-row-1 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 950px;
}

.organizer-row-2 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 700px;
  gap: 5px;
}

.organizer-row-2 .organizer-card {
  padding: 3px;
}

.organizer-row-2 .organizer-card img {
  height: 80px;
  margin-bottom: 2px;
}

.organizer-row-2 .organizer-card .name {
  font-size: 0.7rem;
  margin-bottom: 1px;
  line-height: 1.1;
}

.organizer-row-2 .organizer-card .affiliation {
  font-size: 0.65rem;
  line-height: 1;
}

.organizer-row-2 .organizer-card .email a {
  font-size: 0.6rem;
}

.organizer-card {
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.organizer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.organizer-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  margin-bottom: 6px;
}

.organizer-card:nth-child(1) img { width: 100px; height: 120px; }
.organizer-card:nth-child(2) img { width: 100px; height: 120px; }
.organizer-card:nth-child(3) img { width: 100px; height: 120px; }
.organizer-card:nth-child(4) img { width: 100px; height: 120px; }
.organizer-card:nth-child(5) img { width: 100px; height: 120px; }
.organizer-card:nth-child(6) img { width: 100px; height: 120px; }
.organizer-card:nth-child(7) img { width: 100px; height: 120px; }
.organizer-card:nth-child(8) img { width: 90px; height: 115px; }

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

.organizer-card .affiliation {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 4px;
}

.organizer-card .email a {
  color: #666;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .organizer-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .organizer-row {
    grid-template-columns: 1fr;
  }
}

/* ========== PARTNER LOGOS ========== */
.logos-container {
  display: flex; flex-direction: column; align-items: center;
  gap: 30px; margin-top: 1.5rem;
}
.logos {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: nowrap;
}
.logos-row-1 { gap: 30px; }
.logos-row-2 { gap: 60px; }

.logo-link { display: inline-block; transition: transform 0.3s ease; }
.logo-link:hover { transform: scale(1.05); }
.logo-link img { display: block; width: 100%; height: auto; }

.logo-size-1 { max-width: 110px; }
.logo-size-2 { max-width: 120px; }
.logo-size-3 { max-width: 210px; }
.logo-size-4 { max-width: 145px; }
.logo-size-5 { max-width: 120px; }
.logo-size-6 { max-width: 135px; }
.logo-size-7 { max-width: 270px; }

@media (max-width: 480px) {
  .project-name { font-size: 1.6rem; }
  .project-tagline { font-size: 1.05rem; }
  .btn { font-size: 0.85rem; padding: 0.6rem 0.8rem; margin: 0.3rem; }
  .main-content h2 { font-size: 1.25rem; }
  .main-content h3 { font-size: 1.05rem; }

  .main-content table { font-size: 0.7rem; margin: 1rem 0; }
  .main-content table th, .main-content table td { padding: 0.3rem 0.5rem; white-space: normal; }

  .center-image { max-width: 95%; }
  .icarc-logo { height: 60px; }
}

.site-info a {
  color: #0969da;
  text-decoration: underline;
  font-weight: normal;
}

.site-info a:hover {
  color: #0550ae;
}

.site-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: solid 3px #eff0f1;
  color: #5c676b;
  line-height: 1.4;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

p {
  margin: 0 0 1rem;
}

.meta {
  font-size: 0.95rem;
  color: #374151;
}

ul {
  margin: .25rem 0 1rem 1.25rem;
}

.highlight-card {
  border-radius: 14px;
  padding: 1rem;
  background: #e8f0f8;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.mini-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem;
  background: #ffffff;
  font-size: 0.95rem;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

figure {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

figcaption {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: .5rem;
}

/* ========== QR CODES ========== */
.qr-section {
  text-align: center;
  margin: 3rem 0;
}

.qr-section h2 {
  color: #1e6bb8;
  margin-bottom: 1rem;
}

.qr-section p {
  margin-bottom: 2rem;
  font-weight: 500;
}

.qr-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.qr-card {
  background: #e8f0f8;
  border-radius: 12px;
  padding: 1rem;
  width: 180px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.qr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.qr-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.qr-card p {
  font-weight: 600;
  color: #1e6bb8;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .qr-cards {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
