/* Custom styles for patron cards with Bootstrap */
:root {
  --navy: #34516e;
  --border: #e9edf3;
  --bg-light: #f7f9fc;
}

body {
  font-family: Arial, system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #2d435e;
  font-size: 18px;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
}

.page-header {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* Patron card */
.patron-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-light);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.patron-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.patron-card-header {
  background: #eff2f6;
  border-bottom: 1px solid #d4d9e0;
  padding: 0.7rem 1rem;
  text-align: center;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.patron-card-header h3 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}

.patron-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #ffffff;
  min-height: 160px;
}

.patron-card-body img {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: block;
}

.patron-card-body img[src="img/piotr_calbecki-min-683x1024.jpg"] {
  margin-left: 20px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .page-header h1 {
    font-size: 1.6rem;
  }
  
  .patron-card {
    min-height: 200px;
  }
  
  .patron-card-body {
    min-height: 140px;
  }
  
  .patron-card-body img {
    height: 85px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
  .patron-card {
    min-height: 220px;
  }
}
