/* css styles */

/* Custom styles, copied from Bin Yu Quarto site */

/* Import Lora font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

/*
body, .navbar, .nav, .dropdown-menu, .dropdown-item, .card, .card-body, .card-title, .card-text {
  font-family: 'Lora', serif !important;
}

.navbar {
  background-color: #fff !important;
}

.navbar .navbar-nav > li > a {
  color: #222 !important;
}

body {
  background: #f8f9fa;
}
*/

/* Hide the page title on the homepage */
body.page-index .quarto-title-banner,
body.page-index .title,
body.page-index h1.title {
  display: none !important;
}

/* Fallback: hide any h1.title -- 
keeps it from doing title on any of the pages */
/*h1.title {
  display: none !important;
}
*/

h1, .h1, h2, .h2 {
  font-weight: 400;
}

/* Make columns container use flexbox for equal height */
.columns {
  display: flex;
  align-items: stretch;
}

/* Image column styling */
/*.column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}*/

/* Responsive layout for mobile devices */
@media (max-width: 768px) {
  /* Stack columns vertically on mobile */
  .columns {
    flex-direction: column;
    align-items: stretch;
  }
  
  /* Make both columns full width on mobile */
  .column {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ensure image is full width and has good proportions on mobile */
  .column:first-child {
    margin-bottom: 1.5rem;
  }
  
  .column img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
  }
}

/* Two-column responsive layout for publications and news */
.two-column-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .two-column-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.column {
  /* background: #fff; */
  padding: 1.5rem;
}

.column h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

/* Spacing for year entries in news/publications lists */
/*.year-entry {
  margin-right: 1rem;
  font-style: normal;
  font-weight: normal;
}*/