/* =========================================
   Photo Gallery Page
   ========================================= */

.pg-page {
  background: #fff;
  color: #333;
  overflow: hidden;
}

.pg-gallery-section {
  padding: 70px 0 55px;
}

.pg-title {
  margin: 0 0 35px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: #333;
}

.pg-gallery-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #eee;
  height: 100%;
}

.pg-gallery-card img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pg-gallery-card:hover img {
  transform: scale(1.04);
}

.pg-gallery-card::after {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  background: rgba(179, 31, 36, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pg-gallery-card:hover::after {
  opacity: 1;
}

.pg-flickr {
  margin-top: 40px;
}

.pg-flickr hr,
.pg-featured-links hr {
  border: 0;
  border-top: 1px solid #ddd;
  opacity: 1;
}

.pg-flickr h3 {
  margin: 25px 0 0;
}

.pg-red-link {
  color: #b31f24;
  text-decoration: none;
  transition: color 0.25s ease;
}

.pg-red-link:hover {
  color: #8f181d;
  text-decoration: underline;
}

/* Featured On */

.pg-featured-section {
  padding: 45px 0 70px;
}

.pg-featured-section .pg-title {
  margin-bottom: 30px;
}

.pg-featured-links h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.pg-featured-links hr {
  margin: 20px 0;
}

/* Banner */

.pg-banner {
  width: 100%;
  line-height: 0;
}

.pg-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Donate CTA */

.pg-donate-section {
  padding: 55px 0;
  background:
    linear-gradient(rgba(20, 20, 20, 0.88), rgba(20, 20, 20, 0.88)),
    url("https://www.mybrothers-keepers.org/wp-content/uploads/2021/01/food-bank_56.png") center/cover no-repeat;
}

.pg-donate-section h1 {
  margin: 0 0 25px;
  color: #fff;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

.pg-donate-section h1 span {
  color: #b31f24;
}

.pg-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pg-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.25s ease;
}

.pg-social a:hover {
  background: #b31f24;
  border-color: #b31f24;
}

.pg-donate-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.25s ease;
}

.pg-donate-btn:hover {
  background: #b31f24;
  border-color: #b31f24;
  color: #fff;
}

/* Responsive */

@media (max-width: 991.98px) {
  .pg-gallery-section {
    padding: 55px 0 45px;
  }

  .pg-title {
    font-size: 32px;
  }

  .pg-gallery-card img {
    height: 230px;
  }

  .pg-featured-section {
    padding: 40px 0 55px;
  }

  .pg-donate-section {
    padding: 45px 0;
  }

  .pg-donate-section h1 {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) {
  .pg-gallery-section {
    padding: 45px 0 35px;
  }

  .pg-title {
    font-size: 29px;
    margin-bottom: 25px;
  }

  .pg-gallery-card img {
    height: 220px;
  }

  .pg-featured-section {
    padding: 35px 0 45px;
  }

  .pg-featured-links h3 {
    font-size: 21px;
  }

  .pg-donate-section {
    padding: 40px 0;
  }

  .pg-donate-section h1 {
    font-size: 30px;
  }

  .pg-donate-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .pg-gallery-card img {
    height: auto;
    aspect-ratio: 400 / 284;
  }

  .pg-donate-section h1 {
    font-size: 27px;
  }
}
