.is-style-has-sm-radius,
.is-style-has-sm-radius figure.wp-block-image {
  border-radius: 50px 0 50px 0;
  overflow: hidden;
}
.is-style-has-border-radius,
.is-style-is-carousel figure.wp-block-image {
  border-radius: var(--wp--custom--border-radius--default) 0
    var(--wp--custom--border-radius--default) 0;
  overflow: hidden;
}
.is-style-has-border-radius img {
  width: 100%;
}
.is-style-has-rectangle-background,
.is-style-has-rectangle-background-2 {
  position: relative;
}

.is-style-has-rectangle-background:after,
.is-style-has-rectangle-background-2:after {
  content: "";
  height: 100%;
  width: calc(100% + 10rem);
  width: 100%;
  position: absolute;
  background: rgba(255, 255, 255, 0.26);
  z-index: -1;
  border-radius: var(--wp--custom--border-radius--default) 0
    var(--wp--custom--border-radius--default) 0;
  left: 50%;
  top: 0;
  /* bottom: -5rem; */
  transform: translateX(-50%);
}
@media screen and (min-width: 781px) {
  .is-style-has-rectangle-background:after {
    top: 7rem;
    height: calc(100% - 5rem);
    right: -5rem;
    left: unset;
    transform: unset;
    width: calc(100% - 5rem);
  }
}
.is-style-has-rectangle-background-2:after {
  /* height: 120%; */
  bottom: unset;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.is-style-has-rectangle-background-2 figure {
  margin-top: -5rem;
}

.is-style-has-pattern-below,
.is-style-has-pattern-above,
.is-style-has-pattern-above-2 {
  position: relative;
}
.is-style-has-pattern-below > div {
  padding-bottom: clamp(14rem, 11.913rem + 10.4348vw, 20rem) !important;
}
.is-style-has-pattern-below:after {
  content: "";
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIyNTNweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0xMjgwIDMuNEMxMDUwLjU5IDE4IDEwMTkuNCA4NC44OSA3MzQuNDIgODQuODljLTMyMCAwLTMyMC04NC4zLTY0MC04NC4zQzU5LjQuNTkgMjguMiAxLjYgMCAzLjRWMTQwaDEyODB6IiBmaWxsLW9wYWNpdHk9Ii4zIi8+PHBhdGggZD0iTTAgMjQuMzFjNDMuNDYtNS42OSA5NC41Ni05LjI1IDE1OC40Mi05LjI1IDMyMCAwIDMyMCA4OS4yNCA2NDAgODkuMjQgMjU2LjEzIDAgMzA3LjI4LTU3LjE2IDQ4MS41OC04MFYxNDBIMHoiIGZpbGwtb3BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMTI4MCA1MS43NmMtMjAxIDEyLjQ5LTI0Mi40MyA1My40LTUxMy41OCA1My40LTMyMCAwLTMyMC01Ny02NDAtNTctNDguODUuMDEtOTAuMjEgMS4zNS0xMjYuNDIgMy42VjE0MGgxMjgweiIvPjwvZz48L3N2Zz4=);
  background-repeat: no-repeat;
  height: 12rem;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 98;
}
.is-style-has-pattern-above:before {
  content: "";
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNlODA0NGMiPjxwYXRoIGQ9Ik0wIDUxLjc2YzM2LjIxLTIuMjUgNzcuNTctMy41OCAxMjYuNDItMy41OCAzMjAgMCAzMjAgNTcgNjQwIDU3IDI3MS4xNSAwIDMxMi41OC00MC45MSA1MTMuNTgtNTMuNFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii4zIi8+PHBhdGggZD0iTTAgMjQuMzFjNDMuNDYtNS42OSA5NC41Ni05LjI1IDE1OC40Mi05LjI1IDMyMCAwIDMyMCA4OS4yNCA2NDAgODkuMjQgMjU2LjEzIDAgMzA3LjI4LTU3LjE2IDQ4MS41OC04MFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii41Ii8+PHBhdGggZD0iTTAgMHYzLjRDMjguMiAxLjYgNTkuNC41OSA5NC40Mi41OWMzMjAgMCAzMjAgODQuMyA2NDAgODQuMyAyODUgMCAzMTYuMTctNjYuODUgNTQ1LjU4LTgxLjQ5VjB6Ii8+PC9nPjwvc3ZnPg==);
  background-repeat: no-repeat;
  height: 5rem;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}
.is-style-has-pattern-above-2:before {
  content: "";
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0wIDUxLjc2YzM2LjIxLTIuMjUgNzcuNTctMy41OCAxMjYuNDItMy41OCAzMjAgMCAzMjAgNTcgNjQwIDU3IDI3MS4xNSAwIDMxMi41OC00MC45MSA1MTMuNTgtNTMuNFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii4zIi8+PHBhdGggZD0iTTAgMjQuMzFjNDMuNDYtNS42OSA5NC41Ni05LjI1IDE1OC40Mi05LjI1IDMyMCAwIDMyMCA4OS4yNCA2NDAgODkuMjQgMjU2LjEzIDAgMzA3LjI4LTU3LjE2IDQ4MS41OC04MFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii41Ii8+PHBhdGggZD0iTTAgMHYzLjRDMjguMiAxLjYgNTkuNC41OSA5NC40Mi41OWMzMjAgMCAzMjAgODQuMyA2NDAgODQuMyAyODUgMCAzMTYuMTctNjYuODUgNTQ1LjU4LTgxLjQ5VjB6Ii8+PC9nPjwvc3ZnPg==);
  background-repeat: no-repeat;
  height: clamp(5rem, 3.2609rem + 8.6957vw, 10rem);
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
}
@media screen and (min-width: 781px) {
  .aspect-1 .wp-block-columns .wp-block-column {
    aspect-ratio: 1;
  }
}
@media screen and (max-width: 780px) {
  .is-style-has-border-radius {
    max-width: 100%;
  }
  .is-style-has-rectangle-background:after {
    width: 100%;
    bottom: 0;
  }
}

.wp-block-gallery.is-style-is-carousel .glide__slide {
  opacity: 0.2;
  transition: opacity 500ms ease-in-out;
}
.wp-block-gallery.is-style-is-carousel .glide__slide img {
  aspect-ratio: 4/3;
  /* filter: grayscale(1); */
}
.wp-block-gallery.is-style-is-carousel .glide__slide figure.wp-block-image {
  width: 100% !important;
}

.wp-block-gallery.is-style-is-carousel .glide__slide.glide__slide--active {
  opacity: 1;
  transition: opacity 500ms ease-in-out;
}
.has-background {
  background-blend-mode: luminosity;
}
.is-vertically-aligned-stretch {
  place-content: center;
}
.is-style-has-pattern-edges,
.is-style-has-pattern-edges-2 {
  position: relative;
}
.is-style-has-pattern-edges:before,
.is-style-has-pattern-edges:after,
.is-style-has-pattern-edges-2:before,
.is-style-has-pattern-edges-2:after {
  content: "";
  position: absolute;
  left: 0;
  background-repeat: no-repeat;
  height: 5rem;
  width: 100%;
  z-index: 9;
}
.is-style-has-pattern-edges:before {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI0OHB4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0ZGRkZGRiI+PHBhdGggZD0iTTMyMCAyOEMxNjAgMjggODAgNDkgMCA3MFYwaDEyODB2NzBjLTgwIDIxLTE2MCA0Mi0zMjAgNDItMzIwIDAtMzIwLTg0LTY0MC04NHoiLz48L2c+PC9zdmc+);
  background-repeat: no-repeat;
  top: 0;
}
.is-style-has-pattern-edges:after {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNGRkZGRkYiPjxwYXRoIGQ9Ik0zMjAgMjhjMzIwIDAgMzIwIDg0IDY0MCA4NCAxNjAgMCAyNDAtMjEgMzIwLTQydjcwSDBWNzBjODAtMjEgMTYwLTQyIDMyMC00MnoiLz48L2c+PC9zdmc+);
  background-repeat: no-repeat;
  bottom: 0;
}
.is-style-has-pattern-edges-2:before {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI0OHB4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0ZGRkZGRiI+PHBhdGggZD0iTTMyMCAyOEMxNjAgMjggODAgNDkgMCA3MFYwaDEyODB2NzBjLTgwIDIxLTE2MCA0Mi0zMjAgNDItMzIwIDAtMzIwLTg0LTY0MC04NHoiLz48L2c+PC9zdmc+);
  background-repeat: no-repeat;
  top: 0;
}
.is-style-has-pattern-edges-2:after {
  background-image: url(../png/slanted.png);
  background-repeat: no-repeat;
  bottom: 0;
  background-size: cover;
}
.is-style-has-pattern-below-2 {
  position: relative;
}
.is-style-has-pattern-below-2:after {
  content: "";
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNGRkZGRkYiPjxwYXRoIGQ9Ik0zMjAgMjhjMzIwIDAgMzIwIDg0IDY0MCA4NCAxNjAgMCAyNDAtMjEgMzIwLTQydjcwSDBWNzBjODAtMjEgMTYwLTQyIDMyMC00MnoiLz48L2c+PC9zdmc+);
  background-repeat: no-repeat;
  bottom: 0;
  height: 3rem;
  width: 100%;
  position: absolute;
  left: 0;
  z-index: 9;
}
@media screen and (max-width: 767px) {
  .sm-w-full {
    width: 100%;
  }
}

/* member resources */
.page-id-6728 .entry-content {
  background-image: linear-gradient(
    90deg,
    rgba(221, 221, 221, 0.5) -50%,
    rgba(255, 255, 255, 1) 100%
  );
}
.resource-wrapper {
  display: grid;
  grid-template-columns: 30ch 1fr;
  max-width: var(--wp--style--global--wide-size) !important;
  width: 100%;
  margin: 0 auto;
}
.resource-filters {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--wp--preset--font-family--poppins);
}
.resource-filters .filter-group h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.resource-filters .filter-group label {
  color: var(--wp--preset--color--gray-400);
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
}
.resource-filters .filter-group label input {
  visibility: hidden;
  margin: 0;
}
.resource-filters .filter-group label input,
.resource-filters .filter-group label::after {
  border: 1px solid var(--wp--preset--color--primary);
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.resource-filters .filter-group label.checked::after {
  background-image: url("data:image/svg+xml,%3Csvg stroke='%23e0004d' fill='%23e0004d' stroke-width='0' version='1.2' baseProfile='tiny' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.972 6.251c-.967-.538-2.185-.188-2.72.777l-3.713 6.682-2.125-2.125c-.781-.781-2.047-.781-2.828 0-.781.781-.781 2.047 0 2.828l4 4c.378.379.888.587 1.414.587l.277-.02c.621-.087 1.166-.46 1.471-1.009l5-9c.537-.966.189-2.183-.776-2.72z'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.member-resources {
  display: grid;
  gap: 2rem;
  padding: 1.5rem;
  background-color: #fff;
}
@media screen and (min-width: 767px) {
  .member-resources {
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    column-gap: 2rem;
  }
}
.resource-card *:not(.resource-card .wp-block-button) {
  margin-top: 0;
  margin-bottom: 0;
}
.resource-card {
  padding: 15px;
  display: grid;
  gap: 1rem;
  position: relative;
  background-color: #fff;
  border-radius: 0.25rem;
  grid-template-columns: 8rem 1fr;
}
.resource-card .wp-element-button::before,
a.pdf-file::before,
button.video-embed::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 10;
}
.resource-card .thumbnail {
  overflow: hidden;
  position: relative;
}
.resource-card .thumbnail .play-icon {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-color: #fff;
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.resource-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.resource-card .thumbnail.has-video img {
  width: auto;
  height: 100%;
  /* aspect-ratio: 3 / 4; */
  object-fit: cover;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.resource-card .resource-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.resource-card .resource-info .resource-category,
.resource-card .resource-info .resource-type {
  color: var(--wp--preset--color--gray-300);
}
.resource-card .wp-block-button {
  margin-top: auto;
}
.resource-wrapper .wp-element-button {
  border: 2px solid var(--wp--preset--color--primary);
  max-width: max-content;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
}
/* .resource-card iframe {} */
.resource-card:hover {
  background-color: #fff;
  box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}
.resource-card .media-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.resource-card .media-modal-content {
  background: #fff;
  padding: 1em;
  max-width: 80vh;
  max-height: 80vh;
  position: relative;
  width: 100%;
}
.resource-card .media-modal .close-modal {
  position: absolute;
  top: -24px;
  right: -16px;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}
.embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}
.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
a.pdf-file,
button.video-embed {
  /* position: relative; */
  display: flex;
  gap: 0.25rem;
  background-color: transparent;
  border: none;
  color: var(--wp--preset--color--primary);
  font-weight: 600;
  align-items: center;
  text-decoration: none;
  margin-top: auto !important;
  cursor: pointer;
  padding: 0;
}
a.pdf-file:after,
button.video-embed:after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg stroke='%23e0004d' fill='%23e0004d' stroke-width='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'%3E%3C/path%3E%3Cpath d='M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z'%3E%3C/path%3E%3C/svg%3E");
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center center;
  height: 1rem;
  width: 1rem;
  min-width: 1rem;
  background-size: contain;
  transform: translateX(0);
  transition: all 300ms;
}
a.pdf-file:hover::after,
button.video-embed:hover::after {
  transform: translateX(0.25rem);
  transition: all 300ms;
}
.mobile-toggle-filters,
.mobile-close-filters,
.mobile-show-results {
  display: none;
}
.mobile-toggle-filters button {
  background-color: transparent;
  display: flex;
  align-items: center;
  padding: 0.25rem 1rem;
  cursor: pointer;
  border: none;
}
.mobile-close-filters button,
.filter-actions button {
  background-color: transparent;
  border: 2px solid;
  display: flex;
  align-items: center;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  cursor: pointer;
  border-radius: 50px;
}
@media screen and (max-width: 767px) {
  .mobile-toggle-filters {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--wp--preset--color--gray-300);
    padding-bottom: var(--wp--preset--spacing--20);
    margin-bottom: var(--wp--preset--spacing--30);
  }
  .resource-wrapper {
    grid-template-columns: unset;
  }
  .resource-filters {
    position: fixed;
    overflow: auto;
    padding: 6rem 2rem;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  }
  .mobile-close-filters,
  .mobile-show-results {
    display: block;
  }
  .resource-filters.toggle-display {
    left: 0;
  }
}
#magic-login-shortcode .message {
  border: none !important;
}

.portal-login-registration {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2rem;
}
@media screen and (max-width: 767px) {
  .portal-login-registration {
    grid-template-columns: 1fr;
  }
}
.portal-login-registration .login-form {
  height: 100%;
  padding: 4rem 0;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(223, 223, 223, 0.28);
}
.portal-login-registration .registration-form {
  background: rgba(223, 223, 223, 0.28);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
}
.portal-login-registration .login-form #user_login {
  border-radius: 10px;
  background-color: transparent;
  border: 2px solid var(--wp--preset--color--primary);
}
.portal-login-registration .nf-form-cont {
  border: none;
  padding: 0;
}
