/* General Resets and Base Styles */
hr {
  margin: 0;
  color: transparent;
  border: none;
  border-top: none;
  opacity: 0;
}
img, svg {
  vertical-align: unset;
}
*, ::after, ::before {
  box-sizing: border-box;
}

/* Typography for Headings */
h3{
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 400;
}

/* Mural Section Specifics */
#mural{
  width: 100%;
  padding-bottom: 80px;
}

#mural .wide-ipi.title-ipi {
  margin-bottom: 50px;
}

/* Card Container for Flexibility */
.card-container-ipi {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content:center;
  align-items: flex-start;
  width: 100%;
  padding: 0 15px;
}

/* Individual Card Box Styling */
.cardBox-ipi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: white;
  color: black;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
  border-radius: 8px;
  padding: 15px 10px;
  width: 280px;
  min-height: 390px;
  max-width: 100%;
  flex-shrink: 0;
}

/* Profile Section within Card */
.card-profile-ipi {
  display: flex;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8);
  margin-top: 15px;
  text-align: center;
  font-family: arial;
  background-color: #fff;
  color: black;
  border-radius: 8px;
  padding: 15px 20px;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.card-profile-ipi a {
  text-decoration: none;
  font-size: 12px;
  color: black;
}

.card-profile-ipi p.wide-ipi {
  white-space: normal;
  font-size: 10px;
  margin: 0px;
  letter-spacing: 2px;
  padding-top: 10px;
  margin-bottom: 10px;
}

.card-profile-ipi button:hover {
  opacity: 0.7;
  background-color: rgb(205, 219, 236);
  color: inherit;
}

/* Card Button Styling */
.btn-card-ipi {
  background-color: inherit;
  color: #131212;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.btn-card-ipi:hover {
  background-color: lightsteelblue;
  color: inherit;
}

/* Photo Section within Card */
.photo-card-ipi {
  display: flex;
  width: 100%;
  max-height: 250px;
  background-color: transparent;
  box-shadow: rgba(0, 0, 0, 0.8) 0px 4px 8px 0px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.photo-card-ipi img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.photo-card-ipi p {
  font-size: 14px;
  white-space: normal;
  padding: 5px 0px;
}

/* Social Icons Group */
.fa-group-content-ipi {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.fa-group-content-ipi a{
  padding: 0 10px;
  font-size: 1.5em;
}

.fa-group-content-ipi i{
  color: black;
}

/* Horizontal Rule in Card */
.cardBox-ipi hr {
	border-width: 1px;
	border-radius: 5px;
	border-style: solid;
	border-color: #eee;
    margin: 15px 0;
    width: 80%;
    opacity: 1;
}

/* Card Heading */
.cardBox-ipi h2{
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* Media Queries for Card Responsiveness */
@media (max-width: 768px) {
    .cardBox-ipi {
        width: 45%;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .cardBox-ipi {
        width: 90%;
        margin: 0 auto;
    }

    .photo-card-ipi img {
        width: 120px;
        height: 120px;
    }
}