/*landing page css*/
.page-template-template-landing-page section {
  padding: 30px 0;
}

.page-template-template-landing-page section.additional-content-wrapper {
  padding-top: 0;
}

.page-template-template-landing-page section.intro-text-wrapper {
  padding-top: 30px;
}

@media (min-width: 767px) {
  .page-template-template-landing-page section.intro-text-wrapper {
    padding-top: 60px;
  }
}

.page-template-template-landing-page section.intro-text-wrapper p,
.page-template-template-landing-page section.additional-content-wrapper p {
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
}

.page-template-template-landing-page .text-center {
  text-align: center;
}

.page-template-template-landing-page .text-content a {
  color: #20361c;
  font-weight: bold;
}

.page-template-template-landing-page .landing-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 290px);
  justify-content: center;
  gap: 40px;
}

@media (min-width: 992px) {
  .page-template-template-landing-page .landing-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 360px));
    justify-content: center;
    gap: 40px;
  }
}

.page-template-template-landing-page .landing-page-grid:before {
  display: none;
}

.page-template-template-landing-page .landing-page-grid .card {
  background-color: #ffffff;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
}

.page-template-template-landing-page .landing-page-grid img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.page-template-template-landing-page .landing-page-grid .card-text {
  padding: 20px;
  text-align: center;
}

.page-template-template-landing-page .landing-page-grid .card-text h2 {
  margin-top: 0px;
  font-size: 2rem;
}
.page-template-template-landing-page .landing-page-grid .card-text a {
  color: #2f4858;
}

.page-template-template-landing-page .landing-page-grid .card-text a:hover {
  color: #141f26;
}

.page-template-template-landing-page .text-content p {
  text-wrap: pretty;
}

.page-template-template-landing-page .text-content .section-heading {
  font-size: clamp(3.5rem, 3.0385rem + 2.0513vw, 5.5rem);
  color: #f37463;
}
.page-template-template-landing-page .text-content .subsection-heading {
  font-size: 2.4rem;
  color: #20361c;
}

/* giving societies styles (uses default page template) */
.bg-green {
  background-color: rgb(58 133 50 / 0.7);
}
.bg-yellow {
  background-color: rgb(232 178 61 / 0.7);
}
.bg-pink {
  background-color: rgb(255 116 98 / 0.7);
}

.cols-2:first-of-type {
  padding-bottom: 6rem;
}
.cols-2 .text-block {
  padding-bottom: 2rem;
}
.cols-2 p {
  margin-bottom: 2rem;
}

.section-heading {
  margin-top: 0;
}
.logo {
  max-height: 50px;
}
.image-block {
  text-align: center;
}

.circles-wrapper {
  list-style-type: none;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}
.circles-wrapper li {
  margin: 0 auto;
}

.circles-wrapper img {
  border-radius: 50%;
  padding: 23px;
}
.members-container ul {
  list-style-type: none;
  padding-left: 0;
}

@media (min-width: 767px) {
  .cols-2:first-of-type {
    padding-bottom: 6rem;
  }
  .cols-2 p {
    margin-bottom: 2rem;
  }

  .section-heading {
    margin-top: 0;
  }
  .logo {
    max-height: 50px;
  }
  .circles-wrapper {
    list-style-type: none;
  }

  .circles-wrapper li {
    margin: 0 auto;
  }
  .circles-wrapper .image-block {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .circles-wrapper .text-block {
    padding-bottom: 0;
  }
  .circles-wrapper img {
    width: 80px;
    max-width: 100%;
    padding: 10px;
    border-radius: 50%;
    box-sizing: border-box;
    display: block;
  }

  .members-container ul {
    list-style-type: none;
    padding-left: 0;
  }
}

@media (min-width: 992px) {
  .cols-2 {
    display: flex;
    gap: 5rem;
    padding-bottom: 4rem;
    padding-top: 4rem;
  }
  .cols-2-img-left {
    flex-direction: row-reverse;
  }
  .cols-2 .text-block {
    width: 60%;
  }
  .cols-2 .image-block {
    width: 40%;
  }
  .logo {
    max-height: 80px;
  }
  .circles-wrapper {
    list-style-type: none;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .circles-wrapper li {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
  }
  .circles-wrapper h3 {
    margin-top: 0;
  }

  .circles-wrapper .image-block,
  .circles-wrapper .text-block {
    width: auto;
  }

  #members {
    display: flex;
    width: 100%;
    gap: 5rem;
  }
  .members-container {
    width: 50%;
  }
  #members h2 {
    text-wrap: balance;
  }
}

/*ways to give page css*/
.page-template-template-content-with-grid {
  --fs-body-text-lg: 1.8rem;
  --fs-body-text-md: 1.6rem;
}
.page-template-template-content-with-grid section {
  padding: 0px 0 60px;
}

.page-template-template-content-with-grid section.intro-text-wrapper {
  padding-top: 60px;
}

.page-template-template-content-with-grid section.intro-text-wrapper h2 {
  color: #123312;
}

.page-template-template-content-with-grid .text-content li {
  font-size: var(--fs-body-text-lg);
}
.page-template-template-content-with-grid section.intro-text-wrapper p,
.page-template-template-content-with-grid section.additional-content-wrapper p {
  font-size: var(--fs-body-text-lg);
  margin-bottom: 1.6rem;
}

.page-template-template-content-with-grid .text-center {
  text-align: center;
}

.page-template-template-content-with-grid .text-content a {
  color: #20361c;
  font-weight: bold;
}

.page-template-template-content-with-grid .wtg-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-template-template-content-with-grid .wtg-grid > * {
  flex: 0 0 auto;
  width: 340px;
  max-width: 100%;
}

.page-template-template-content-with-grid .wtg-grid > *:last-child {
  margin-left: 40px;
}

/* Layout for membership grid */
.page-template-template-content-with-grid .wtg-grid.card-layout-membership {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card {
  flex: 0 0 auto;
  width: 30%;
  max-width: 100%;
  align-items: flex-start;
  position: relative;
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > *:last-child {
  margin-left: 0px;
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card
  .card-description {
  text-align: left;
  margin-bottom: 0;

  span {
    display: block;
    font-weight: bold;
    color: #123312;
    font-style: italic;
  }
  span.plus {
    display: block;
    font-weight: bold;
    color: #123312;
    font-size: 1.3em;
    font-style: normal;

    &.center {
      text-align: center;
    }
  }
}
.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card
  .card-text {
  text-align: left;
}
.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card
  .card-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card
  .card-title {
  margin-bottom: 0px;
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card
  .card-description {
  margin-left: 10px;
}
.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card
  .card-text
  ul {
  text-align: left;
  list-style-type: disc;
  margin-left: 30px;
}

/*card image*/
.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  .card-icon {
  max-width: 50px;
  border-radius: 100vw;
  padding: 8px;
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card:nth-child(1)
  .card-icon {
  background-color: rgb(58 133 50 / 0.7);
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card:nth-child(2)
  .card-icon {
  background-color: rgb(232 178 61 / 0.7);
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card:nth-child(3)
  .card-icon {
  background-color: rgb(255 116 98 / 0.7);
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card:nth-child(4)
  .card-icon {
  background-color: rgb(64 137 223 / 0.5);
}

.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > .card:nth-child(5)
  .card-icon {
  background-color: rgb(58 133 50 / 0.7);
}

@media (max-width: 1280px) {
  .page-template-template-content-with-grid
    .wtg-grid.card-layout-membership
    > .card {
    flex: 0 0 auto;
    width: 280px;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .page-template-template-content-with-grid .wtg-grid > * {
    width: 100%;
  }
	.page-template-template-content-with-grid
  .wtg-grid.card-layout-membership
  > *:last-child {
  margin-right: 0px;
}
}

.page-template-template-content-with-grid .wtg-grid:before {
  display: none;
}

.page-template-template-content-with-grid .wtg-grid .card {
  background-color: #ffffff;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.page-template-template-content-with-grid .wtg-grid .card ul {
  list-style-type: none;
  padding-left: 0;
}

.page-template-template-content-with-grid .wtg-grid .card-text {
  padding: 20px;
  text-align: center;
  inline-size: 100%;
}

.page-template-template-content-with-grid .wtg-grid .card-title {
  margin-top: 0px;
  font-size: 2rem;
  color: #123312;
  font-family: "Roboto", sans-serif;
  text-wrap: balance;
}
.page-template-template-content-with-grid .wtg-grid .card-description {
  text-wrap: pretty;
}
.page-template-template-content-with-grid .wtg-grid .card-description a {
  color: #20361c;
  font-weight: bold;
}
