/*
  style-pontificalmissions.css
  Custom style to mimic https://pontificalmissions.org/resources
*/
body {
  background: #f7f7fa;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a2956;
}
.resources-section {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(26,41,86,0.13);
  padding: 40px 32px 32px 32px;
}
.resources-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b80000;
  margin-bottom: 32px;
  text-align: center;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.resource-card {
  background: #f7f7fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26,41,86,0.07);
  padding: 18px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow .2s;
}
.resource-card:hover {
  box-shadow: 0 8px 24px rgba(184,0,0,0.13);
}
.resource-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.resource-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a2956;
  margin-bottom: 8px;
  text-align: center;
}
.resource-card a {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 18px;
  background: #b80000;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s;
}
.resource-card a:hover {
  background: #1a2956;
}
@media (max-width: 700px) {
  .resources-section { padding: 18px 4px; }
  .resources-title { font-size: 1.5rem; }
  .resources-grid { gap: 16px; }
}
