.award-container {
  width: 100%;
  margin: 20px auto;
  columns: 4;
  column-gap: 10px;
}

@media screen and (max-width: 1200px) {
  .award-container {
    columns: 3;
  }
}

@media screen and (max-width: 768px) {
  .award-container {
    columns: 2;
  }
}

@media screen and (max-width: 480px) {
  .award-container {
    max-width: 400px;
    columns: 1;
  }
}

.award-image {
  width: 100%;
  max-width: 400px;
  margin-block-end: 10px;
  position: relative;
}

.award-name {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
}

.award-winner {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.blog-card-title {
  color: #111;
  text-transform: uppercase;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  font-weight: 400;
  font-size: 20px;
}

.blog-card-content {
  font-size: 12px;
  height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-card {
  width: 100%;
  max-width: 600px;
  height: 400px;
}

@media screen and (min-width: 2001px) {
  .custom-card {
    max-width: 100%;
  }
}

.custom-card-image {
  opacity: 0;
  transition: 0.4s;
}

.custom-card img {
  max-height: 400px;
  object-fit: cover;
}

.custom-card-description {
  font-size: 18px;
  font-weight: 300;
}

.custom-card-title {
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

@media screen and (max-width: 351px) {
  .custom-card {
    font-size: 10px;
  }

  .custom-card-description {
    font-size: 7px;
    line-height: 10px;
  }

  .custom-card-title {
    font-size: 12px;
  }
}

.custom-card-head {
  transition: 0.4s;
  transition-property: transform;
}

.custom-card-body {
  color: white;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  transition: 0.4s;
  transition-property: transform;
}

.card-container:hover .custom-card-head {
  transform: translateY(-70px);
}

@media screen and (min-width: 451px) {
  .card-container:hover .custom-card-head {
    transform: translateY(-70px);
  }
}

@media screen and (max-width: 450px) and (min-width: 351px) {
  .card-container:hover .custom-card-head {
    transform: translateY(-70px);
  }
}

@media screen and (max-width: 350px) {
  .card-container:hover .custom-card-head {
    transform: translateY(-70px);
  }
}

.card-container:hover .custom-card-body {
  overflow: visible;
  transform: translateY(-150px);
  opacity: 1;
}

@media screen and (min-width: 451px) {
  .card-container:hover .custom-card-body {
    overflow: visible;
    transform: translateY(-150px);
    opacity: 1;
  }
}

@media screen and (max-width: 450px) and (min-width: 351px) {
  .card-container:hover .custom-card-body {
    overflow: visible;
    transform: translateY(-120px);
    opacity: 1;
  }
}

@media screen and (max-width: 350px) {
  .card-container:hover .custom-card-body {
    overflow: visible;
    transform: translateY(-10px);
    opacity: 1;
  }
}

.card-container:hover .custom-card-image {
  opacity: 0.1;
}

.employee-grid {
  background-color: black;
  color: white;
  width: 75%;
  text-align: center;
  transform: translateY(-5rem);
}

figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

figure a {
  color: black;
  text-decoration: none;
}

/* GALLERY */

/* .gallery {
  gap: 0.5rem;
} */

.gallery {
  /* width: 70%; */
  padding: 20px;
  margin: auto;
  columns: var(--gallery-columns);
  column-gap: 10px;
  border-radius: 10px;
}

.gallery-border {
  border: 1px solid var(--primary-color);
}

.gallery-img {
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
}

.gallery-img img {
  max-width: 100%;
  /* border-radius: 10px; */
}

@media screen and (max-width: 1200px) {
  .gallery {
    columns: 2;
  }
}

@media screen and (max-width: 576px) {
  .gallery {
    columns: 1;
  }
}

/* END */

img {
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
}

img:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
}

.message-col {
  z-index: 1;
}

.message-content-block {
  position: relative;
  overflow: hidden;
}

.message-color-line {
  background-image: linear-gradient(#60237c 50%, #4d1668);
  position: absolute;
  height: 50%;
  width: 100%;
  top: 23%;
}

.message-btn {
  background-color: #60237c !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
}

.sports-text {
  text-transform: uppercase;
  letter-spacing: 0.5em;
  visibility: visible;
  /* animation-name: fadeInUp; */

  font-style: normal;
  font-weight: 600;
  font-size: 5vw;
  line-height: 2em;
  text-align: center !important;
  /* identical to box height */

  color: #eeeeee;
}

.sports-subtitle {
  font-size: 22px;
  color: rgb(0, 0, 0);
  line-height: 1;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  visibility: visible;
  animation-name: fadeInUp;
}

@media screen and (min-width: 601px) {
  .sports-subtitle {
    font-size: 22px;
  }
}

@media screen and (max-width: 600px) {
  .sports-subtitle {
    font-size: 13px;
  }
}

.sports-description {
  margin: auto;
  text-align: center;
  width: 95%;
  font-weight: 300;
  font-size: 24px;
  line-height: 44px;
}

.transition-text {
  color: #209ce2;
  text-align: center;
  display: none;
  font-size: 24px;
}

.project-showcase-grid {
  width: 100%;
  margin: 20px auto;
  columns: var(--proj-col);
  column-gap: 10px;
}

.img-overlay-parent {
  width: 100%;
  margin-block-end: 10px;
  break-inside: avoid;
  position: relative;
}

.img-overlay-parent img {
  max-width: 100%;
  /* border-radius: 10px; */
}

@media screen and (max-width: 1200px) {
  .container .project-showcase-grid {
    columns: 2;
  }
}

@media screen and (max-width: 780px) {
  .container .project-showcase-grid {
    columns: 1;
  }
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, transparent 0%, black 100%);
  color: #ffffff;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.project_genre {
  position: relative;
  display: inline-block;
  border-radius: 15px;
  background: #636160;
  padding: 5px 15px;
  font-size: 15px;
  transition: clip-path 500ms;
}

.image-overlay > * {
  transform: translateY(20px);
  transition: transform 0.25s;
}

.img-overlay-parent:hover .image-overlay {
  opacity: 1;
}

.img-overlay-parent:hover > .image-overlay > * {
  transform: translateY(0);
}

/*-------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
}

.modal-content {
  margin: auto;
  display: block;
  max-height: 550px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.employee-profile-title {
  padding: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #cbcbcb;
}

@media screen and (min-width: 601px) {
  .employee-profile-title {
    font-size: 60px;
  }
}

@media screen and (max-width: 600px) {
  .employee-profile-title {
    font-size: 30px;
  }
}

.employee-name {
  font-size: 22px;
  color: rgb(0, 0, 0);
  line-height: 1;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  visibility: visible;
  animation-name: fadeInUp;
}

@media screen and (min-width: 601px) {
  .employee-name {
    font-size: 22px;
  }
}

@media screen and (max-width: 600px) {
  .employee-name {
    font-size: 16px;
  }
}

.employee-profile-position {
  font-size: 20px;
  color: rgb(0, 0, 0);
  line-height: 1;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  visibility: visible;
  animation-name: fadeInUp;
}

@media screen and (min-width: 601px) {
  .employee-profile-position {
    font-size: 12px;
  }
}

@media screen and (max-width: 600px) {
  .employee-profile-position {
    font-size: 10px;
  }
}

.project-timeline-col {
  background-color: var(--primary-color);
  border-radius: 50px;
  display: flex;
  justify-content: end;
}

@media screen and (min-width: 992px) {
  .project-timeline-col {
    -webkit-box-reflect: below 1px
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 83%, rgba(0, 0, 0, 0.4) 90%);
  }
}

.project-timeline-content {
  padding-inline: 2rem;
  padding-bottom: 1.5rem;
  min-width: 100%;
}

.project-timeline-img {
  border-radius: 10px;
  width: 100%;
}

.project-timeline-title {
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  padding-block: 0.5rem;
}

.image-no-grayscale {
  filter: none;
  -webkit-filter: none;
}

.contact-details-table {
  padding: 0;
  margin: 0;
}

.contact-details-table tr,
td {
  border: 1px solid #000;
  padding: 10px;
  margin: 0;
}

.regional-section {
  margin-block-end: 10px;
  break-inside: avoid;
  position: relative;
}

@media only screen and (max-width: 768px) {
  .regional-block {
    margin-inline: 10px;
  }
}

@media only screen and (max-width: 992px) {
  .regional-section > img {
    width: 100%;
    height: auto;
    margin-top: 10px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .regional-section > img {
    height: 300px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
  .regional-section > img {
    height: 365px;
  }
}

.regional-section:hover .image-overlay {
  opacity: 1;
}

.regional-section:hover > .image-overlay > * {
  transform: translateY(0);
}

.rich-text-block {
  margin: auto;
  width: var(--rich-text-box-width);
}

@media screen and (max-width: 980px) {
  .rich-text-block {
    margin: auto;
    width: 80%;
  }
}

.pdf-row {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  padding: 20px;
}

.pdf-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #f2f2f2;
  padding: 10px;
  color: black;
  border: #000 solid 1px;
  border-radius: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 200px;
}

.pdf-link:hover {
  background-color: #e0e0e0;
}

.employee-grid-card {
  background: black;
  color: #fff;
  text-align: left;
  border-radius: 13px 13px 12px 12px;
  margin: 10px;
}

.employee-grid-card:hover {
  cursor: pointer;
}

.employee-grid-card-image {
  border-radius: 12px 12px 0px 0px;
}

.employee-grid-card-image:hover {
  transform: scale(1.01);
}

.employee-grid-container {
  max-width: 1200px;
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
  .employee-grid-container {
    max-width: 500px;
  }
}

@media only screen and (max-width: 600px) {
  .employee-grid-container {
    max-width: 300px;
  }
}

.employee-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
}

.employee-modal-content {
  margin: auto;
  display: block;
  max-height: 550px;
}

.employee-modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.employee-modal-close:hover,
.employee-modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.committee-member-table tr,
td {
  border: 1px solid #000;
  padding: 10px;
  margin: 0;
}
