.protexin-resource-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .protexin-resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .protexin-resource-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.protexin-resource-card {
  background: #ffffff;
  border: 2px solid #D1D1EA;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  transition: border-color 0.3s ease;
  text-align: left;
}

.protexin-resource-card:hover {
  border-color: var(--wp--preset--color--turquoise); /* Brand Blue */
}

.protexin-resource-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.protexin-resource-title h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wp--preset--color--brand-blue);
  margin-bottom: 1rem;
  text-align:left;
  font-size:24px;
}

.protexin-resource-download {
  margin-top: auto;
  font-size:16px;
  font-weight: 700;
  border-bottom:1px solid #000;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  color: #000;
  transition: all 0.2s ease;
}

.download-button:hover {
  color: var(--wp--preset--color--brand-blue);
  border-bottom-color: var(--wp--preset--color--brand-blue);
}

.icon-download {
  font-size: 1.1rem;
}
