/* Existing MGP child theme CSS */
.mgp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.mgp-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mgp-card:hover {
  transform: translateY(-5px);
}

.mgp-photo {
  width: 100%;
  height: auto;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.mgp-summary {
  padding: 1rem;
}

.mgp-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
}

.mgp-modal.show {
  display: flex;
}

.mgp-modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.modal-photo {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}


/* 
/* Typography Enhancements */
/* @import url('https://fonts.googleapis.com/css2?family=DIN+Condensed:wght@400;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap'); */
*/ body,
p,
li {
  font-family: 'Libre Baskerville', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'DIN Condensed', sans-serif !important;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2,
h3 {
  margin-top: 1rem;
}

.mgp-summary p strong {
  font-family: 'DIN Condensed', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.modal-text h2 {
  font-family: 'DIN Condensed', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.mgp-summary h3,
.modal-text h2,
.mgp-awardee h2 {
  font-family: 'DIN Condensed', sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-text p,
.modal-text div {
  font-family: 'Libre Baskerville', serif;
  line-height: 1.6;
}

/* Modal adjustments for better spacing and readability */
.modal-text {
  padding: 1rem 0;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .mgp-modal-content {
    padding: 1rem;
  }
}