/* Additional CSS styles */

/* Ensure proper icon display */
.ai {
  font-family: 'Academicons';
}
/* Make filter buttons smaller */
.filter-btn {
  padding: 0.4rem 0.8rem;  /* Smaller padding */
  border: 2px solid #1e3a5f;
  background: white;
  color: #1e3a5f;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
  font-size: 0. 9rem;  /* Smaller text */
}

.filter-btn:hover,
.filter-btn. active {
  background: #1e3a5f;
  color: white;
}

/* Make general button links smaller */
.btn-links . btn {
  padding: 0.4rem 0.8rem;  /* Smaller padding */
  font-size: 0.9rem;  /* Smaller text */
}

/* Make heading text smaller if needed */
h1 {
  font-size: 2rem;  /* Adjust as needed */
}

h2 {
  font-size: 1.5rem;  /* Adjust as needed */
}

h3 {
  font-size: 1.2rem;  /* Adjust as needed */
}

/* Make body text smaller on data pages */
.dataset-card p {
  font-size: 1rem;  /* Adjust description text size */
}

/* Make dataset cards more compact */
.dataset-card {
  margin-bottom: 1.5rem;  /* Less space between cards */
  padding: 1rem;  /* Less internal padding */
}

.dataset-card h3 {
  font-size: 1.3rem;  /* Smaller heading */
  margin-top: 0;
  margin-bottom: 0.5rem;  /* Less space after title */
}

.dataset-card p {
  font-size: 0.95rem;  /* Smaller description text */
  margin-bottom: 0.8rem;  /* Less space before buttons */
  line-height: 1.4;  /* Tighter line spacing */
}

.dataset-card .two-column {
  gap: 1rem;  /* Less gap between image and text */
  align-items: center;  /* Vertically center content */
}

. dataset-card .featured-image {
  max-width: 250px;  /* Smaller images */
  width: 100%;
}

.dataset-card .btn-links {
  margin: 0.5rem 0 0 0;  /* Less margin around buttons */
}

.dataset-card .btn-links .btn {
  padding: 0.3rem 0.6rem;  /* Smaller buttons */
  font-size: 0.85rem;  /* Smaller button text */
  margin-right: 0.3rem;  /* Less space between buttons */
  margin-bottom: 0.3rem;  /* Less space if buttons wrap */
}
/* Make social media icons bigger */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1. 5rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.social-icons li {
  display: inline-block;
}

.social-icons a {
  font-size: 2rem ! important;  /* Makes icons 2x bigger - adjust as needed */
  color: #1e3a5f;  /* Navy color */
  transition: color 0.3s ease;
}

. social-icons a:hover {
  color: #0d47a1;  /* Darker navy on hover */
}

/* Specifically for AI icons (SSRN, Google Scholar, CV) */
.ai {
  font-size: 2rem !important;
}

/* Specifically for Bootstrap icons (Twitter, GitHub, LinkedIn, WordPress) */
.bi {
  font-size: 2rem ! important;
}

/* Make the "big-icon" class even bigger if you have it */
. big-icon {
  font-size: 2.5rem ! important;
}

.stream-item-image img {
  width: 350%;
  max-width: 800px;  /* Adjust this - try 400px, 500px, or 600px */
  height: auto;
  object-fit: contain;
}

.stream-item {
  display: grid;
  grid-template-columns: 3fr 2fr;  /* Text takes 3/5, image takes 2/5 */
  gap: 2rem;
  align-items: start;
}

/* Transparent navbar */
.navbar {
  background-color: transparent !important;
}

/* Navbar text in navy */
.navbar a {
  color: #1e3a5f !important;
}

. navbar a:hover {
  color: #0d47a1 !important;  /* Darker navy on hover */
}

.navbar-brand {
  color: #1e3a5f !important;
  font-weight: bold;
}

.navbar . bi {
  color: #1e3a5f !important;
}

/* Section containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Filter buttons for data section */
.filter-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #1e3a5f;  /* Navy border */
  background: white;
  color: #1e3a5f;  /* Navy text */
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1e3a5f;  /* Navy background on hover/active */
  color: white;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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


/* Make navbar icons smaller */
.navbar .bi,
.navbar i {
  font-size: 1.0rem !important;  /* Smaller icons - adjust as needed */
}