@charset "UTF-8";
/* 🌍 Base */
body {
  font: normal 0.91em Arial, sans-serif;
  padding: 30;
  font: normal;
}

a {
  color: #2B6F9B;
  text-decoration: none;
  outline: none;
  font-weight: 500;
}
a:hover {
  text-decoration: none;
}
a.shiftedAnchor {
  display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}

p {
  line-height: 1.7em;
}

h1, h2, h3, h4, h5, h6,
conference-title {
  color: #253e40;
  padding: 10px 0;
}

h1 {
  color: #2B6F9B;
  font-size: clamp(1.8rem, 3.5vw, 2rem);
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

h3 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

blockquote {
  border: 1px solid #E5E5DB;
  background: #FFF;
  margin: 0;
  padding: 0;
}

dt {
  padding-bottom: 5px;
}

dd {
  padding-left: 10px;
}

footer {
  position: relative;
}
footer .last-update {
  position: absolute;
  padding-top: 10px;
  padding-bottom: 20px;
  right: 10px;
  font-size: 0.8rem;
  color: #555;
  font-style: italic;
}

.conference-title p {
  padding: 10px 0;
  color: #253e40;
  font-size: calc(0.95rem + .7vw);
}

.conference-name {
  font-size: calc(0.95rem + 1.5vw);
  color: #253e40;
}

.conference-location {
  font-size: calc(0.5rem + .9vw);
  color: #2B6F9B;
  padding: 10px 0;
}

.conference-venue {
  color: #253e40;
  font-size: 1rem;
  opacity: 0.9;
}

.news-panel {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8f9fb;
  border-radius: 12px;
}

.news-panel h2 {
  font-size: 1.8rem;
  color: #2B6F9B;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-item h3 a {
  display: inline-block;
  /* ← indispensable */
  text-decoration: none;
  color: #2B6F9B;
  transition: transform 0.5s ease;
}
.news-item h3 a:hover {
  transform: scale(1.05);
}

.news-title {
  display: block;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: #2B6F9B;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.news-title:hover {
  color: #2B6FDB;
  /* rouge plus vif au survol */
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.more-news {
  text-align: right;
  margin-top: 1rem;
}

.news-header {
  font-size: clamp(20px, 3vw, 32px);
  margin-bottom: 1.5rem;
  color: #2B6F9B;
}

.hidden {
  display: none;
}

.show-more-wrapper {
  text-align: center;
  margin-top: 0.5em;
}

#show-more-news {
  background: none;
  border: none;
  color: #2B6F9B;
  padding: 0.2em 0.4em;
  font-size: 0.85rem;
  cursor: pointer;
}

#show-more-news:hover {
  text-decoration: underline;
  color: #1B5F9B;
}

#visits-count24h, #visits-count7d {
  font-size: 1.1em;
  font-weight: 600;
  /* 👈 gras */
}

.visits-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  background: #f5f5f5;
  padding: 0.4em 0.8em;
  border-radius: 0.4em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9em;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
  width: fit-content;
  margin: 0.4em auto;
}
.visits-block:hover {
  transform: scale(1.05);
  background: #eee;
}
@media (max-width: 600px) {
  .visits-block {
    font-size: 0.8em;
    padding: 0.3em 0.6em;
  }
}

.faq-panel {
  padding: 0 1em;
  margin-left: 0;
  /* aligné à gauche comme les news */
}

.faq-item {
  margin-bottom: 1em;
}

.faq-question {
  display: inline-block;
  padding: 0.5em 1em;
  text-align: left;
  background-color: #fff3f3;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.faq-question:hover {
  background-color: #ffe0e0;
}

.faq-answer {
  margin-top: 0.25em;
  padding: 0 1em;
}

.hidden {
  display: none;
}

.custom-navbar {
  background-color: #5691AD;
  font-family: Arial, sans-serif;
}
.custom-navbar .navbar-brand {
  color: white !important;
  font-size: 1.3rem;
}
.custom-navbar .nav-link {
  color: white !important;
  margin: 0 5px;
  padding: 0.5rem 1rem;
}
.custom-navbar .nav-link:hover {
  color: #ccc !important;
}
.custom-navbar .dropdown-menu {
  background-color: white;
}
.custom-navbar .dropdown-menu .dropdown-item {
  color: #343a00 !important;
}
.custom-navbar .dropdown-menu .dropdown-item:hover {
  background-color: #EEEEEE;
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  font-family: Arial, sans-serif;
  /* même font pour tous */
  font-size: 1.1rem;
  /* même taille que les nav-link */
  line-height: 1.5;
  /* même hauteur de ligne */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-nav .nav-link {
    padding-left: .1rem;
    padding-right: .2rem;
    font-size: 1rem;
    /* optionnel mais aide beaucoup */
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  #navMenu .navbar-brand {
    font-size: 1rem;
    /* plus discret */
    padding-left: 0.1rem;
    padding-right: 0.2rem;
  }
}
/* 📄 Tables */
table {
  border-collapse: collapse;
  width: 60%;
  margin: auto;
  font-family: Arial, sans-serif;
}
table th {
  background-color: #5691AD;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 1.2em;
}
table td {
  padding: 10px;
  vertical-align: top;
}
table tr:nth-child(even) {
  background-color: #CCDDCC;
}
table .date {
  font-weight: bold;
  width: 30%;
}

tr {
  line-height: 25px;
  height: 25px;
}

/* 🖼️ Sections */
.jumbotron {
  max-height: 250px;
  margin: -30px 0 10px;
}

.tab-pane {
  background-color: #FFF;
  min-height: 300px;
}
.tab-pane.proj {
  background-color: #EEE;
  min-height: 400px;
}

/* 📄 Content wrappers */
#site_content {
  overflow: hidden;
  margin: 10px 0;
  background: #FFF8;
}

.container {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

@media (min-width: 576px) {
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
@media (min-width: 768px) {
  .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
/* 🎓 Bandeau ICPR */
.background-image {
  background-image: image-set(url("../img/headerBackground.webp") type("image/webp"), url("../img/headerBackground.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  height: 150px;
  min-height: 150px;
}
.background-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 0;
}
.background-image > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .background-image {
    height: 175px;
  }
}
@media (min-width: 992px) {
  .background-image {
    height: 200px;
  }
}

/* Mobile reduced font since */
@media (max-width: 992px) {
  .conference-location {
    font-size: 1rem;
  }
}
/* Titres dans le bandeau */
.background-image h1,
.background-image h2,
.background-image h3 {
  margin: 0;
}

.background-image .subtitle {
  font-size: 1.2em;
}

/*-------------------*/
/*  Committee     */
.member-confirmed {
  color: #2d6cd1;
  font-weight: bold;
}

.role {
  color: #2d6cd1;
}

.member-tobeconfirmed {
  color: #999999;
}

/*  Committee     */
/*-------------------*/
/*-------------------*/
/*  Program component*/
.schedule-wrapper {
  max-width: 500px;
  /* ⇦ adapte comme tu veux */
  margin: 0 auto;
  /* centré */
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 6fr;
  /* Time + Friday */
  grid-auto-rows: 40px;
  gap: 1px;
  background: #ccc;
}

.cell {
  background: white;
  padding: 4px;
  display: flex;
  align-items: center;
}

.cell.time {
  background: #eee;
  font-weight: bold;
}

.cellSmall1 {
  grid-column: span 1;
  background: white;
  padding: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cellSmall2 {
  grid-column: span 2;
  background: white;
  padding: 4px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.cell,
.cellSmall1,
.cellSmall2 {
  background: white;
  padding: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  /* <-- ajoute des bordures visibles */
}

.time {
  background: #f0f0f0;
  font-weight: bold;
  font-size: 0.65rem;
  align-items: flex-start;
}

.empty {
  background-color: #f0f0f0;
}

.registration {
  background-color: #c0c0c0;
}

.oral {
  background-color: #F5A77C;
}

.workshop {
  background-color: #A1B1C2;
}

.findings {
  background-color: #8896AE;
}

.keynote {
  background-color: #FBE7A3;
}

.poster {
  background-color: #93A8D7;
}

.coffee {
  background-color: #B8912F;
}

.prizeLecture {
  background-color: #F8E5D8;
}

.special {
  background-color: #f8d7da;
}

.break {
  background-color: #dddddd;
}

.lunch {
  background-color: #C2D6EC;
}

.women {
  background-color: #E4EFDC;
}

.lunch {
  background-color: #C2D6EC;
}

.ceremony {
  background-color: #d1e7dd;
}

.iapr {
  background-color: #FFFF54;
  font-size: 0.8rem;
}

.doctorial {
  background-color: #A3C1E3;
}

.indus {
  background-color: #A3C1E3;
}

.welcome {
  background-color: #a4c2f4;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .long-text {
    display: none;
  }

  .short-text {
    display: none;
  }

  .med-text {
    display: inline;
  }
}
@media (min-width: 1025px) {
  .long-text {
    display: inline;
  }

  .short-text {
    display: none;
  }

  .med-text {
    display: none;
  }
}
@media (max-width: 768px) {
  .long-text {
    display: none;
  }

  .short-text {
    display: inline;
  }

  .med-text {
    display: none;
  }
}
@media (max-width: 20484px) {
  .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}
/*  Program component*/
/*-------------------*/
/*-------------------*/
/*  Map component    */
#map-container {
  height: 80vh;
  /* La carte occupe 80% de la hauteur de l'écran */
}

#map {
  height: 100%;
  /* La carte prend toute la hauteur du conteneur */
}

/*  Map component    */
/*-------------------*/
