/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Modern Clean Layout Styles */
body {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Intro Section Container - Narrower width */
.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Papers Section Container - Wider width */
.papers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Header Section */
.intro-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 40px 0;
  margin-bottom: 40px;
}

.intro-text {
  padding-right: 18px;
}

.intro-text p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Intro text links styling */
.intro-text a {
  text-decoration: none;
  color: #333;
}

.intro-text a:hover {
  text-decoration: underline;
}

.profile-image {
  text-align: center;
}

.profile-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 50%;
  object-fit: cover;
}

.social-links {
  text-align: left;
  margin-top: 16px;
  font-size: 18px;
}

.social-links a {
  text-decoration: none;
  color: #333;
  margin-right: 12px;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Papers Section */
.papers-section {
  margin-top: 50px;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 6px;
}

/* ===== PAPER LAYOUT GRID ===== */
/* Adjust the first value if you change thumbnail width (should be thumbnail width + margins + padding) */
.paper-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-bottom: 30px;
  padding: 20px 0;
}

.paper-image {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ===== PROJECT THUMBNAIL WIDTH CONTROL ===== */
/* Change this value to adjust all project thumbnail widths at once */
.paper-image img {
  width: 331px;
  height: auto;
  border-radius: 8px;
  margin: 0 20px 0 0;
}

.paper-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.paper-links {
  margin: 10px 0;
  font-size: 18px;
}

.paper-links a {
  text-decoration: none;
  color: #333;
  margin-right: 8px;
}

.paper-links a:hover {
  text-decoration: underline;
}

/* Paper title, author, and venue links styling */
.papertitle a {
  text-decoration: none;
  color: #000;
}

.papertitle a:hover {
  text-decoration: underline;
}

.authors a {
  text-decoration: none;
  color: #333;
}

.authors a:hover {
  text-decoration: underline;
}

.venue a {
  text-decoration: none;
  color: #333;
}

.venue a:hover {
  text-decoration: underline;
}

.paper-description {
  margin-top: 10px;
  color: #555;
  line-height: 1.5;
  font-size: 16px;
}

.authors {
  font-size: 16px;
  color: #333;
  margin: 4px 0;
  line-height: 1.4;
}

.venue {
  font-size: 18px;
  color: #333;
  margin: 4px 0;
  line-height: 1.4;
  font-weight: bold;
}

/* Typography */
h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 24px;
}

heading {
  margin: 0;
  font-weight: bold;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 24px;
  display: block;
}

.papertitle {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 18px;
  font-weight: 900;
  color: #000;
  margin-bottom: 8px;
  display: block;
}

.author-name {
  text-decoration: underline;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 36px;
}

/* Utility Classes */
.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
  color: black;
  padding: 20px;
  display: inline-block;
  border-radius: 10px;
}

/* Collaboration Instructions Page */
.instructions-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}

.instructions-container h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.instructions-container p {
  font-size: 18px;
  margin-bottom: 16px;
}

.instructions-list {
  margin: 20px 0 30px;
  padding-left: 20px;
}

.instructions-list li {
  margin-bottom: 14px;
  font-size: 18px;
}

.instructions-list .list-title {
  font-weight: 700;
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  color: #333;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .papers-container {
    max-width: 95%;
  }
  
  .intro-container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .intro-container,
  .papers-container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .intro-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .intro-text {
    padding-right: 0;
    text-align: left;
  }
  
  .paper-item {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .paper-description {
    text-align: left;
  }
  
  .paper-image {
    justify-content: center;
  }
  
  .social-links {
    text-align: left;
  }
}
