
.quarto-container.page-columns { 
  grid-template-columns: [screen-start] 1.5em [screen-start-inset] 5fr [page-start page-start-inset] 35px [body-start-outset] 35px [body-start] 1.5em [body-content-start] minmax(500px, calc(1000px - 1em)) [body-content-end] 0.75em [body-end] 20px [body-end-outset] minmax(75px, 145px) [page-end-inset] 20px [page-end] 5fr [screen-end-inset] 1.5em [screen-end]; 
}

/* .navbar-brand-container {
    padding-right: 5px;
} */


.navbar-logo {
  max-height: 100px;
  width: auto;
}

/* .navbar-container {
  margin-left: 100px;
} */

/* .navbar-nav {
  margin-left: 200px;
} */

.education-item, .experience-item {
  padding: 20px;
  border-left: 4px solid #0d6efd;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.education-item:hover, .experience-item:hover {
  background-color: #e7f1ff;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.education-item strong, .experience-item strong {
  color: #0d6efd;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}

.education-item p, .experience-item p {
  margin: 5px 0;
  color: #666;
}

/* Project card styling */
.project-card {
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-top: 4px solid #2c3e50;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.2);
  border-color: #2c3e50;
}

.project-image {
  margin-bottom: 15px;
  border-radius: 6px;
  background-color: #f5f5f5;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.project-image p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
  height: 100%;
}

.project-image img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.project-card strong {
  font-size: 1.1rem;
  color: #2c3e50;
  display: block;
  margin-bottom: 10px;
}

.project-card > p:nth-child(3) {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
  font-size: 0.95rem;
}

.project-card p:has(.link) {
  margin-top: auto;
}

.project-card > *:last-child {
  margin-bottom: 0;
}

.link {
  display: inline-block;
  padding: 8px 14px;
  background-color: #2c3e50;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-right: 8px;
  margin-bottom: 5px;
}

.link:hover {
  background-color: #1a2a3f;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.3);
}

/* Grid layout - Desktop: 3 columns with uniform spacing */
.grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
}

.grid .g-col-4 {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  box-sizing: border-box;
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .grid {
    gap: 15px;
  }

  .grid .g-col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .project-card {
    padding: 18px;
  }

  .project-image {
    min-height: 120px;
    padding: 12px;
  }

  .project-image img {
    max-height: 120px;
  }

  .project-card strong {
    font-size: 1rem;
  }

  .project-card > p:nth-child(3) {
    font-size: 0.9rem;
  }
}

/* h1 {
  color: #0a1121;
  border-bottom: 3px solid #2c3e50;
  padding-bottom: 10px;
} */

.publication-item {
  padding: 16px 0;
  border-bottom: 1px solid #e8eaed;
  margin-bottom: 0;
  transition: background-color 0.2s ease;
}

.publication-item:last-child {
  border-bottom: none;
}

.publication-item:hover {
  background-color: #f9fafb;
}

.publication-item strong {
  color: #1a0dbb;
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  line-height: 1.5;
}

.publication-item strong a {
  color: #1a0dbb;
  text-decoration: none;
}

.publication-item strong a:hover {
  text-decoration: underline;
}

.publication-item em {
  color: #545454;
  font-style: italic;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 4px;
}

/* Author highlighting - for Kunnakkattu IR */
.publication-item strong:not(:first-child) {
  color: #1a0dbb;
  font-weight: 600;
  background-color: rgba(13, 110, 253, 0.1);
  padding: 2px 4px;
  border-radius: 3px;
}

.publication-item p {
  margin: 0;
  color: #545454;
  font-size: 0.85rem;
  line-height: 1.4;
}

.publication-item a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.publication-item a:hover {
  color: #0a5ce0;
  text-decoration: underline;
}

/* Publications section styling */
.quarto-title-meta-contents h2 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #202124;
}

h2 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #202124;
  border-bottom: none;
}
