
/* Import Bulma from CDN in HTML */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: #DCDCDC;
}

/* Hero section with gradient background */
.hero.is-primary, .bg-summary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section.bg-summary {
  padding-top: 7rem;
}


/* Reduce hero padding but account for fixed navbar */
.hero.is-large .hero-body {
  padding: 8rem 1.5rem 5rem 1.5rem !important;
}

/* Ensure text remains readable on gradient */
.hero.is-primary .hero-body {
  position: relative;
}

.hero.is-primary .title,
.hero.is-primary .subtitle {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero image styling with white rounded border */
.hero-image {
  border: 8px solid white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  background: white;
  padding: 4px;
}

.hero-image img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
}

/* Add margin to features section title */
#features .has-text-centered {
  margin-bottom: 3rem;
}

/* Reduce margin above Popular Research Topics */
.section.has-background-light {
  padding-top: 2rem !important; /* Reduced from default ~3rem */
}

/* Change background colors to lighter, more purple-friendly colors */
.section.has-background-light {
  background-color: #f8f9ff !important; /* Very light lavender */
}

/* Newsletter section - dark purple background */
.section.has-background-dark {
  background-color: #303952 !important; /* Dark purple that complements the gradient */
}

/* Ensure better text contrast on new backgrounds */
.section.has-background-light .title,
.section.has-background-light .subtitle {
  color: #2c3e50 !important;
}

/* Footer text color fixes */
.footer {padding-bottom: 2rem !important;}

.footer .title,
.footer p,
.footer a {
  color: #2c3e50 !important; /* Dark readable color instead of white */
}

.footer a:hover {
  color: #667eea !important; /* Purple hover color */
}

/* Social button hover effects */
.social-button {
  border-color: #2c3e50 !important;
  color: #2c3e50 !important;
  transition: all 0.3s ease;
}

.social-button:hover {
  background-color: #303952 !important;
  border-color: #303952 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thematic-summary {
    padding-bottom: 1rem;
}

/* Key Highlights Styling */
.highlight-list {
  margin-top: 1.5rem;
  border-left: 4px solid #5e75dd;
  background-color: #f8f9fa;
  border-radius: 4px;
  list-style-type: none;
  margin-left: 0;
  padding: 1.25rem 1.5rem 1.25rem 1.5rem;
}

.highlight-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.highlight-list li:last-child {
  margin-bottom: 0;
}

.highlight-list li::before {
  content: "•";
  color: #5e75dd;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -0.125rem;
}

/* Month navigation styling (if added below highlights) */
.highlight-list + .month-navigation {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.month-navigation button {
  transition: transform 0.2s ease;
}

.month-navigation button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.month-navigation button.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Ensure all cards have the same height */
.has-equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.has-equal-height .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.has-equal-height .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Ensure all cards have the same height */
.has-equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.has-equal-height .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.has-equal-height .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Month grid layout - updated to 6 columns */
.month-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.3rem;
    width: 100%;
}

.month-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem 0.1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-align: center;
}

.month-tag.available {
    background-color: #5e75dd;
    color: white;
    transition: background-color 0.2s;
}

.month-tag.available:hover {
    background-color: #364fc7;
}

.month-tag.unavailable {
    background-color: #f5f5f5;
    color: #7a7a7a;
}

.month-tag.disabled {
    color: #b5b5b5;
    cursor: not-allowed;
}

/* Topics overview page */

.topic-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f5f5f5;
}
.topic-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.alphabet-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
}
.alphabet-nav .buttons {
    justify-content: flex-start;
}
