a {
word-wrap: normal;
}

.faceted-browse-page .resource-list .resource-link img {
height: 200px;
width: auto;
margin-bottom: 3em;
max-width: 200px;
}

ul.resource-list {
  display: grid!important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
margin-left: 0px;
}


.faceted-browse-page ul.resource-list .resource {
  height: 300px; /* Set fixed height */
  width: 100%; /* Grid controls width */
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
 padding-right: 0px!important;
align-items: center!important;

}
.faceted-browse-page ul.resource-list .resource:hover{
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faceted-browse-page .resource-link {
 display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  height: 100%; /* 👈 Fill the full height */
 width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.faceted-browse-page .resource-link img {
  position: absolute;
  width: auto;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  object-fit: cover;     /* Makes the image fill the card nicely */
  object-position: center; /* Ensures it's centered */
  display: block;
flex-grow: 1;
align-self: flex-start;
}

.faceted-browse-page .resource-name {
  margin-top: auto;!important /* 👈 Push to bottom */
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1;
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  margin-top: auto;
  height: 3em; /* or 2.75rem, based on font-size */
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Show max 2 lines */
  -webkit-box-orient: vertical;
}


.pagination li:last-child, .pagination li:first-child {
display: initial;
}

.resource-list .resource img {
margin-left: 0px;
}

.blockquote {
    padding: 60px 80px 40px;
    position: relative;
}

p {
    font-size: large;
}

.blockquote p {
    font-family: "Utopia-italic";
    font-size: 28px;
    font-weight: 700px;
    text-align: center;
}

.blockquote::before {
  position: absolute;
top: 20px;   
font-family: "Font Awesome 5 Free";  
  font-weight: 900;
 content: "\f10d";
 font-size: 50px;

  color: rgba(0,0,0,0.1);
}
   

.blockquote::after {
    content: "";
    bottom: 20px;
    left: 50%;
    margin-left: -100px;
    position: absolute;
    border-bottom: 3px solid #000;
    height: 3px;
    width: 200px;
}

.blockquote p span{
  display:block;
  color:#333333;
 font-size: 18pt;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

.authors {
    margin: 10px 10% 10px 10%;
    border: 2px solid #eeeeee;
    padding: 10px;
}

.authors img{
float:left;
padding: 10px;
max-width: 200px;
}
