/* The About page (about.php): the photo beside the story, and the
   features and Patreon perks as a grid of link cards */
.about-intro {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
.about-photo {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
}
.about-photo img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(29,53,87,0.18);
}
.about-photo figcaption {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #1d3557;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0.5rem;
  text-align: left;
}
.about-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-top: 4px solid #022EB8;
  border-radius: 12px;
  color: #333;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.about-card:hover,
.about-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29,53,87,0.14);
}
.about-card strong {
  color: #1d3557;
  font-size: 1.05rem;
}
.about-card span:last-child {
  font-size: 0.95rem;
  line-height: 1.45;
}
.about-card-icon {
  font-size: 1.8rem;
  line-height: 1;
}
/* The site's button colours in turn: blue, red, gold, navy */
.about-card:nth-child(4n+2) { border-top-color: #C8102E; }
.about-card:nth-child(4n+3) { border-top-color: #FFD700; }
.about-card:nth-child(4n+4) { border-top-color: #1A2B4C; }
.about-cards-patreon .about-card { border-top-color: #c8432f; }

.about-cta {
  text-align: center !important;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .about-cards { grid-template-columns: 1fr; }
  .about-intro {
    flex-direction: column;
    align-items: center;
  }
  .about-photo img {
    width: 140px;
    height: 140px;
  }
}

/* The travel agent section: the PACK Vacations logo on the right */
.about-intro-right {
  flex-direction: row-reverse;
}
.about-intro-right .about-photo img {
  background: #fff;
  object-fit: contain;
}
@media (max-width: 600px) {
  .about-intro-right {
    flex-direction: column;
  }
}
