/* text colour */
.pink {
  color: #d91853;
}
.orange1 {
  color: #eb5120;
}

.orange2 {
  color: #eb7e20;
}

.orange3 {
  color: #f8a918;
}

.yellow {
  color: #f8c718;
}

/* button */
.readmore {
  color: #007ac3;
}

/* news and event post first line */
.news-events-list-ul {
  padding: 0px;
}
.news-events-list-li {
  display: inline-block;
  padding-right: 40px;
  padding-bottom: 18px;
  width: auto;
  list-style: outside none none;
}

/* page header */
.page-header-header-bg {
  background-size: cover;
  height: 60vh;
}

/* Gradient overlay on header image */
.page-header-header-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60vh;
  background-image: linear-gradient(
    to right,

    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.1)
  );
  z-index: 0;
}

.page-header-header-bg div {
  min-height: 60vh;
}

.page-header-content-alignment {
  padding-top: 77px;
  align-content: center;
}

.page-header-header {
  position: relative;
  margin-top: 20px;
  color: white;
  z-index: 5;
}

.page-header-subheader {
  position: relative;
  margin-top: 15px;
  color: white;
  z-index: 5;
}

.page-header-body {
  position: relative;
  color: white;
  z-index: 5;
}

/* header */

.btn-header {
  /* for post */
  position: relative;
  display: inline-block; /* Allows the button to shrink-wrap its content */
  padding: 10px 50px; /* Adjust padding to suit your design, more horizontal padding for a pill shape */
  background-color: #007ac3; /* Example button color, change as needed */
  color: white; /* Text color */
  border: none; /* Removes the default border */
  cursor: pointer; /* Changes the cursor to a pointer on hover */
  text-align: center; /* Centers the text inside the button */
  text-decoration: none; /* Removes underline from links if you're styling an <a> tag as a button */
  border-radius: 500px; /* High border-radius value to create the pill shape */
  z-index: 10;
}

.btn-header-news-events {
  /* for page */
  position: relative;
  display: inline-block; /* Allows the button to shrink-wrap its content */
  margin-top: 130px;
  margin-bottom: 15px;
  padding: 10px 50px; /* Adjust padding to suit your design, more horizontal padding for a pill shape */
  background-color: #007ac3; /* Example button color, change as needed */
  color: white; /* Text color */
  border: none; /* Removes the default border */
  cursor: pointer; /* Changes the cursor to a pointer on hover */
  text-align: center; /* Centers the text inside the button */
  text-decoration: none; /* Removes underline from links if you're styling an <a> tag as a button */
  border-radius: 500px; /* High border-radius value to create the pill shape */
  z-index: 10;
}

.header-events-title {
  position: relative;
  color: white;
  margin-top: 2rem;
  margin-bottom: 0.625rem;
  z-index: 5;
}

.header-news-title {
  position: relative;
  color: white;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  z-index: 5;
}

.header-intro {
  position: relative;
  color: white;
  margin-bottom: 0;
  z-index: 2;
}

.news-header-intro {
  position: relative;
  color: white;
  margin-top: 0.5rem;
  margin-bottom: 0;
  z-index: 2;
}

.header-location {
  position: relative;
  color: white;
  margin-bottom: 0.625rem;
  z-index: 2;
}

.header-events-date {
  position: relative;
  color: white;
  margin-bottom: 0;
  z-index: 2;
}

.header-news-date {
  position: relative;
  color: white;
  margin-top: 1.25rem;
  margin-bottom: 0px;
  z-index: 5;
}

.white-text-colour {
  position: relative;
  color: white;
  z-index: 5;
}

.header-news {
  display: flex;
  flex-direction: row;
  background-image: url("Images/header.webp");
  background-size: cover;
  height: 100vh;
  padding-top: 55vh;
}

.header-news::before {
  content: "";
  position: absolute;
  top: 50vh;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    to right,

    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.1)
  );
  z-index: 1;
}

.header-events {
  display: flex;
  flex-direction: row;
  background-image: url("Images/header.webp");
  background-size: cover;
  height: 100vh;
  padding-top: 55vh;
}

.header-events::before {
  content: "";
  position: absolute;
  top: 50vh;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    to right,

    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.1)
  );
  z-index: 1;
}

/* section 1 */
.news-events-image-size {
  width: 90% !important;
}

.date {
  margin-bottom: 0px;
}

.title {
  margin-bottom: 0.313rem;
}

.news-title {
  margin-bottom: 1.563rem;
}

.location {
  margin-bottom: 1.563rem;
}

.section1-intro {
  margin-bottom: 0;
}

/* section 2 news */

.article-date {
  margin-bottom: 0px;
}

.article-title {
  margin-bottom: 0.625rem;
}

.article-p {
  margin-bottom: 0px;
}

.article-padding {
  padding-bottom: 2.5rem;
}

/* section 2 events */

.post-image {
  margin-bottom: 1.5rem;
}

.post-title {
  margin-bottom: 0.313rem;
}

.post-location {
  margin-bottom: 0.313rem;
}

.post-date {
  margin-bottom: 0;
}

.post-padding {
  padding-bottom: 5rem;
}

/* other */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 4.375rem;
}

.section-title {
  margin-bottom: 3.125rem;
}

.section1-row {
  padding-bottom: 6.25rem;
}

.v-center {
  align-self: center;
}

.pastevents-image {
  width: 80%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  border: 0.6vh solid #E67614;
  position: relative;
  z-index: 2;
}

.pastevents-image3 {
  object-fit: cover;
  border-radius: 50%;
  width: 300px;
  aspect-ratio: 1/1;
  margin-left: auto;
  margin-right: auto;
}

.center {
  display: flex;
  align-self: center;
}

.center-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.N-E-flex {
  display: flex;
}

@media only screen and (max-width: 768px) {
  .page-header-header-bg {
    height: 70vh;
  }
  .page-header-header-bg::before {
    height: 70vh;
  }

  .page-header-header-bg div {
    min-height: 70vh;
  }

  .news-events-image-size {
    width: 100% !important;
  }
  .pastevents-image {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    padding-right: 30px;
    padding-left: 30px;
  }
  .pastevents-image {
    width: 100%;
  }
  .section1-padding {
    margin-top: 50px;
  }

  .page-header-header-bg {
    height: 75vh;
  }
  .page-header-header-bg::before {
    height: 75vh;
  }

  .page-header-header-bg div {
    min-height: 75vh;
  }

  .news-events-image-size {
    width: 90% !important;
    justify-self: center;
  }
  .pastevents-image {
    width: 80%;
  }

  .N-E-flex {
    display: grid;
  }
}
