/**
 * Theme Name: GWSky
 * Template:   astra
 * Text Domain: gwsky
 */

.gwsky-hide,
.d-none {
  display: none;
}

.gwsky-flex-row-reverse {
  flex-direction: row-reverse;
}

.home #modal-1 {
  width: 12em;
  left: auto;
  padding: 3rem;
  .wp-block-navigation-item__content {
    text-decoration: none;
  }
  ul.wp-block-navigation {
    margin-top: 1.3rem;
  }
}

.home .wp-block-navigation__responsive-container-open,
.home #modal-1 .wp-block-navigation__responsive-container-close {
  border: 1px solid #FBEFBE;
  padding: 0.5rem 1rem;
  border-radius: 18px;
}

.home .wp-block-navigation__responsive-container-open:hover,
.home .wp-block-navigation__responsive-container-open:focus,
.home #modal-1 .wp-block-navigation__responsive-container-close:hover,
.home #modal-1 .wp-block-navigation__responsive-container-close:focus {
    color: #FBEFBE;
}
/*
.frontpage-post-grid article > div:last-child a {
  background-color: transparent;
  width: auto;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.frontpage-post-grid article > div:last-child a::before {
  content: "\e900";
  font-family: "Astra";
  font-style: normal;
  margin-right: 0.5em;
  color: inherit; 
  text-decoration: none !important;
}
*/
/*
.home .wp-block-essential-blocks-post-grid article .ebpg-grid-post-holder,
.home. .wp-block-essential-blocks-post-grid article .ebpg-entry-wrapper {
  height: 100%;
}
.home .wp-block-essential-blocks-post-grid article .ebpg-entry-content {
  flex-grow: 2;
  justify-content: space-between;
}
*/
.gwsky-post-grid article > .ebpg-grid-post-holder {
  gap: 0px !important;
}

.gwsky-post-grid article > .ebpg-grid-post-holder,
.gwsky-post-grid article .ebpg-entry-wrapper {
  height: 100%;
}
.gwsky-post-grid article .ebpg-entry-content {
  flex-grow: 2;
  justify-content: space-between;
}
.gwsky-frontpage-post-grid article .ebpg-entry-header,
.gwsky-frontpage-post-grid article .ebpg-entry-content {
  padding: 0.5rem 1rem;
}
.wp-block-essential-blocks-post-grid.gwsky-post-grid article .ebpg-readmore-btn {
  margin-bottom: 1rem;
}
.wp-block-essential-blocks-post-grid.gwsky-post-grid article .ebpg-readmore-btn a {
  text-decoration-color: #000000 !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px !important;
}
.wp-block-essential-blocks-post-grid.gwsky-post-grid article .ebpg-readmore-btn a i:before {
  display: inline-block;
}

.gwsky-menu-button:hover,
.gwsky-menu-button:focus {
  background-color: #203E5B;
  color: #FBEFBE;
}

body:not(.home) #masthead .ast-container {
  max-width: 1440px;
}

body:not(.home) #masthead {
  position: sticky;
  top: 0;
}

.gwsky-header-widget-1-container button {
  background-color: transparent;
  border: 1px solid #000000;
  padding: 0.5rem 1rem;
  border-radius: 18px;
}

/*
body:not(.home) #ast-desktop-header {
  display: none;
}
body:not(.home) #ast-mobile-header {
  display: block;

}
*/

body:not(.home) .gwsky-header-widget-1-container .wp-block-navigation__responsive-container-close {
  border: 1px solid #FBEFBE;
  padding: 0.5rem 1rem;
  border-radius: 18px;
  color: #FBEFBE;
  font-size: 1.2rem;
  font-weight: 700;
}

body:not(.home) .gwsky-header-widget-1-container .gwsky-navigation-wrapper {
  height: 100vh;
  width: 16em !important;
  z-index: 999;
  position: fixed !important;
  top: 0;
  right: 0;
  left: auto;
  background-color: #203E5B;
  padding: 4em 3em;
}

body:not(.home) .gwsky-header-widget-1-container .widget_nav_menu ul {
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
  gap: 1.5rem;
  margin-top: 1.3rem;
}
body:not(.home) .gwsky-header-widget-1-container .widget_nav_menu ul a {
  color: #FBEFBE;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer section.widget {
  margin: 0;
}

.ast-single-post .entry-content a {
  text-underline-offset: 3px !important;
}

.ast-single-post .entry-content a:hover {
  text-decoration-thickness: 2px !important;
}

.gwsky-post-grid .ebpg-grid-post-link:hover {
  text-decoration: underline !important;
}

.gwsky-people-buttons {
    display: flex;
    gap: 1rem;
}
.gwsky-people-buttons button {
    padding: 8px 16px;
    font-weight: bold;
    border: none;
    border-radius:  10px;
    background-color: white;
    cursor: pointer;
    /*opacity: 0.75;*/
    color: #111111;
}
.gwsky-people-buttons button:first-child {
  border: 1px solid #6a6a6a;
}

.gwsky-people-buttons button:hover {
    color: #000000;
    border: 1px solid #6a6a6a !important;
    /*opacity: 1;*/
}

.gwsky-people-buttons button:focus {
    color: #000000;
}

.gwsky-people-buttons button.research-topic-selected {
  border: 1px solid #6a6a6a !important;
  /*opacity: 1;*/
  color: #000000;
}

.gwsky-people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 50px;
}
.gwsky-person-card {
    color: #000000;
    padding: 10px;
    border-radius: 0 10px 10px 0;
}
.gwsky-person-card .gwsky-person-name {
  margin-bottom: 0.4rem;
  font-weight: bold;
}

/* Single Post */
.ast-separate-container .post.ast-article-single:not(.ast-related-post) {
  background-color: var(--ast-global-color-6);
}
.ast-separate-container .ast-article-single {
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media (min-width: 922px) {
  .page-template-default.page .entry-header {
    padding-left: 20px;
  }
}

.wp-singular nav.post-navigation {
    display: none;
}

.wp-singular #primary > h2:first-child {
    margin-bottom: 1em;
}

.wp-singular .wp-post-image {
  box-shadow: none;
  --webkit-box-shadow: none;
  --moz-box-shadow: none;
}

.uagb-image-caption {
  font-size: 90%;
  text-align: left !important;
}


@media (max-width: 921px) {
  body:not(.page-id-3):not(.page-id-73) .page-template-default.page .entry-header {
    padding-left: 20px;
  }
  .gwsky-people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
    body:not(.page-id-3):not(.page-id-73) .page-template-default.page .entry-header {
        padding-left: 0;
    }
    .page-id-3 .entry-header,
    .page-id-73 .entry-header {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding-left: 2em;
        padding-right: 2em;
    }

    .page-id-3 .entry-title,
    .page-id-73 .entry-title {
        max-width: min(100%, 860px);
        width: 100%;
        display: flex;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .uagb-post-grid.gwsky-post-grid .uagb-post__image {
        width: 50%;
    }
}

@media (max-width: 544px) {
    .gwsky-people-buttons {
        flex-wrap: wrap;
    }
    .gwsky-people-buttons button {
        flex-basis: 100%;
    }
  .gwsky-people-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  footer .site-footer-primary-section-3 .widget_nav_menu {
    text-align: center;
  }
}

svg.feather {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    line-height: 0;
    margin-right: 3px;
}

.uagb-post-grid.gwsky-post-grid.gwsky-frontpage-post-grid .uagb-post__text.uagb-post__excerpt {
    padding: 0 1em;
}
.uagb-post-grid.gwsky-post-grid.gwsky-frontpage-post-grid .uagb-post__title.uagb-post__text {
    padding-left: 0.7em;
    padding-right: 0.7em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.uagb-post-grid.gwsky-post-grid.gwsky-frontpage-post-grid .uagb-post__image {
    width: 100% !important;
}
.uagb-post-grid.gwsky-post-grid .uagb-post__image > a {
    height: 100% !important;
}
.uagb-post-grid.gwsky-post-grid .uag-post-grid-wrapper .uagb-post__text.uagb-post__excerpt a {
    text-decoration: underline !important;
}
.gwsky-frontpage-post-grid .uagb-post__text.uagb-post__excerpt a {
    text-decoration: underline !important;
}
.contact-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.contact-wrapper:hover svg path {
}

.contact-wrapper:hover a {
}

.page-id-3 .entry-header,
.page-id-73 .entry-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-left: 2em;
    padding-right: 2em;
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.page-id-3 .entry-title,
.page-id-73 .entry-title {
    max-width: min(100%, 860px);
    width: 100%;
    display: flex;
    padding: 0;
}

.main-header-bar {
    border-bottom-style: none;
}
