/* Page background */
#content {
  background: #eaf4fb;
  padding: 60px 40px;
}

/* Grid layout */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: auto;
}

/* Card */
.publication-card {
  background: #ffffff;
  border-radius: 14px;              /* smaller radius */
  padding: 22px;                    /* reduced padding */
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
}


/* Featured card */
.publication-card.featured {
  background: #1f3a5f;
  color: #ffffff;
}

/* Badge */
.badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ff4d4d;
  color: white;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 0 18px 0 18px;
}

/* Headings */
.publication-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.publication-card p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
  color: #5a6775;
}

.featured p {
  color: #e6eef7;
}


/* Buttons */
.actions {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}


/* Button styles */
.btn.outline {
  border: 2px solid #1f3a5f;
  color: #1f3a5f;
  background: transparent;
}

.featured .btn.outline {
  border-color: #ffffff;
  color: #ffffff;
}

.btn.solid {
  background: #1f3a5f;
  color: #ffffff;
}

.btn:hover {
  transform: none;
  opacity: 0.9;
}


.badge {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 0 14px 0 14px;
}



.publication-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(31, 58, 95, 0.12);
}


.publication-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #1f3a5f;
  transition: width 0.35s ease;
  border-radius: 0 0 14px 14px;
}

.publication-card:hover::after {
  width: 100%;
}
