@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

html {
  font-style: normal;
  font-weight: normal;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 2em;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #333;
}

.posterdropdown {
  max-width: 70%;
  height: auto;
}

h1 {
  font-size: 2.5em;
  color: #1a1a1a;
  margin-bottom: 1em;
  font-weight: 700;
  text-align: center;
}

h2 {
  font-size: 1.8em;
  color: #1a1a1a;
  margin: 1.5em 0 0.8em 0;
  font-weight: 600;
}

.hyperlinkstop {
  color: #0066cc;
  font-size: 1.3em;
  font-weight: 500;
  text-decoration: none;
  margin: 0 0.05em;
}

.hyperlinkstop:hover {
  text-decoration: underline;
}

.me {
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  margin: 2em auto;
  display: block;
}

.imgcaption {
  font-size: 1.1em;
  color: #666;
  text-align: center;
  margin: 1em 0;
  font-weight: 500;
}

.topictitle {
  background-color: #f5f5f5;
  font-size: 1.2em;
  text-align: center;
  padding: 0.5em 1em;
  display: inline-block;
  font-weight: 600;
  border-radius: 4px;
  margin: 1em 0;
}

.hyperlinks {
  color: #0066cc;
  text-decoration: none;
}

.hyperlinks:hover {
  text-decoration: underline;
}

p {
  font-size: 1.1em;
  color: #333;
  margin: 0 0 1.5em 0;
  text-align: left;
  line-height: 1.6;
}

b {
  color: #1a1a1a;
  font-weight: 600;
}

hr {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 2em 0;
}

.bibtex {
  background-color: #f5f5f5;
  color: #333;
  font-family: 'Menlo', 'Monaco', monospace;
  font-size: 0.9em;
  padding: 1em;
  border-radius: 4px;
  width: 100%;
  margin: 1em 0;
  white-space: pre-wrap;
  text-align: left;
}

.researchpaper {
  margin-bottom: 2em;
  padding: 1em;
  border: 1px solid #eaeaea;
  border-radius: 4px;
}

.hidden {
  display: none;
}

.unhidden {
  display: block;
  position: relative;
}

/* Table styles for research results */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.9em;
}

th, td {
  padding: 0.75em;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
}

th {
  background-color: #f5f5f5;
  font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 1em;
    max-width: 100%;
  }
  
  h1 {
    font-size: 2em;
  }
  
  h2 {
    font-size: 1.5em;
  }
  
  .me {
    max-width: 150px;
  }
}

.academia-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  margin-bottom: 2em;
}
.academia-slideshow {
  position: relative;
  width: 500px;
  min-width: 500px;
  height: 300px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 2.5em;
}
.slide-img {
  width: 500px;
  height: 300px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0.2em 0.5em;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.slide-btn.prev { left: 5px; }
.slide-btn.next { right: 5px; }
.academia-slideshow:hover .slide-btn {
  opacity: 1;
}
.academia-content {
  width: 100%;
  max-width: 700px;
}
@media (max-width: 900px) {
  .academia-slideshow, .slide-img {
    width: 100%;
    min-width: 0;
    height: auto;
    max-width: 100vw;
  }
}
@media (max-width: 700px) {
  .academia-flex {
    flex-direction: column;
    gap: 1em;
    align-items: stretch;
  }
  .academia-slideshow {
    margin: 0 auto;
    width: 100%;
    min-width: 0;
    height: auto;
  }
  .slide-img {
    width: 100%;
    height: auto;
    max-width: 100vw;
  }
}

.slide-caption {
  text-align: center;
  font-size: 1.05em;
  color: #555;
  margin-top: 0.5em;
  font-style: italic;
}

.event-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.1em;
  gap: 1em;
}
.event-links {
  white-space: nowrap;
}

.owl-slide-caption {
    text-align: left;
}

.owl-slideshow {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 2em auto 2.5em auto;
}

.owl-slide-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.owl-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0.2em 0.5em;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    opacity: 0;
    transition: opacity 0.2s;
}
.owl-slide-btn.prev { left: 5px; }
.owl-slide-btn.next { right: 5px; }
.owl-slideshow:hover .owl-slide-btn {
    opacity: 1;
}
.owl-slide-caption {
    text-align: left;
    font-size: 1.05em;
    color: #000;
    margin-top: 0.5em;
    font-style: normal;
}
@media (max-width: 600px) {
    .owl-slideshow, .owl-slide-img {
        width: 100%;
        min-width: 0;
        height: auto;
        max-width: 100vw;
    }
}

.custom-button {
    display: flex !important;
    align-items: center !important;
    gap: 0.7em !important;
    background: #111 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    border-radius: 2em !important;
    padding: 0.5em 1.3em !important;
    transition: background 0.2s, transform 0.2s !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
    width: 120px !important;
    justify-content: center !important;
}

.custom-button:hover {
    background: #222 !important;
    transform: translateY(-2px) scale(1.03) !important;
}

.button-icon {
    width: 1.2em !important;
    height: 1.2em !important;
    object-fit: contain !important;
    margin-right: 0.3em !important;
}

.see-more-btn {
  background-color: #f5f5f5;
  border: 1px solid #eaeaea;
  color: #333;
  padding: 0.5em 1em;
  font-size: 0.9em;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.see-more-btn:hover {
  background-color: #eaeaea;
  border-color: #ccc;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}