/**
* Theme Name: wsc
* Theme URI: http://wildsalmoncenter.org
* Author: Automattic
* Author URI: http://findsubstance.com
* License: GNU General Public License v2.0
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Description: A theme of Substance.
* Version: 0.1.0
* Text Domain: wsc
* Tags:
*/

#timeline-embed {
	z-index:1;
}
.directors-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.directors-board .item {
  width: 32%;

}
@media screen and (max-width: 767px) {
.directors-board .item {
  width: 100%;

}
}
.directors-board .item .item-img {
  height: 246px;
  width: auto;
  position: relative;
}

.directors-board .item .item-img img {
  height: 246px;
  width: 100%;
  object-fit: cover;
}
.directors-board .item .item-img:after {
    content: '';
    position: absolute;
    top: .5em;
    right: .5em;
    bottom: .5em;
    left: .5em;
    z-index: 1;
    pointer-events: none;
    border: 1px solid #fff;
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
.directors-board .item:hover .item-img:after {
  top: .25em;
    right: .25em;
    bottom: .25em;
    left: .25em;
}
@media screen and (max-width: 767px) {
.directors-board .item .item-img {
  height: 530px;
}
.directors-board .item .item-img img {
height: 530px;
width: 100%;
    object-fit: cover;
}
}
figcaption {
	text-align: center;
	font-family: Verlag A,Verlag B,sans-serif;
    font-style: normal;
    font-weight: 400;
    font-weight: 300;
    font-size: .8888888889em;
    line-height: 1.125;
    text-align: left;
}
hr {
	border: 0 !important;
}
h2{
	font-size: 36px;
}
@media screen and (min-width: 48em) {
	blockquote:before {
		margin-right: 1.896104% !important;
        padding-right: 2.896104% !important;
	}
	blockquote {
		padding: 0 6.1081081081% !important;
	}
}
/**

 */

.general-modal {
    border: none;
    padding: 0;
    max-width: min( 1097px, calc(100% - 6px - 2em));
}


.general-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.general-modal__header {
    display: flex;
    justify-content: space-between;
    height: 58px;
}

.general-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    color: black;
    height: 100%;
    padding: 0;
}

.general-modal__close span {
    padding-inline: 25px;
    text-transform: none;
}

.general-modal__close svg {
    padding-inline: 16px;
    box-sizing: content-box;
}

.general-modal img {
    display: block;
    background-color: #F4F4F4;
}

.general-modal__content {
    margin: 48px 58px 30px 75px;
}

@media (width < 992px) {
    .general-modal__content {
        margin: 30px 20px 20px;
    }
}

.general-modal__content p {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    line-height: 1.75;
}

.general-modal__content a:not(.wp-block-button__link) {
    text-decoration: underline !important;
    color: #353d48 !important;
}

.general-modal__content :where(a:active, a:focus, a:hover):not(.wp-block-button__link) {
    color: #48837e !important;
}

.general-modal__hero {
    position: relative;
    min-height: 200px;
}

.general-modal__hero-title {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;

    text-align: center;
    font-family: "Literata", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 58px;

    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0, 70%) 100%);
    color: white;

    display: block;
    padding-inline: 20px;
    padding-block: 75px 60px;
    margin-block: unset;
}

@media (width < 992px) {
    .general-modal__hero-title {
        font-size: 38px;
    }
}

html:has( dialog[open] ) {
    overflow-y: hidden;
}


.section-title.donate-title {
    font-family: Erato, serif; /*"Literata"*/
    font-optical-sizing: auto;
    font-style: normal;
    text-transform: unset;
}

.section-wrapper.donate-wrapper > ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 26px;
}

@media (width < 1200px ){
    .section-wrapper.donate-wrapper > ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (width < 500px ){
    .section-wrapper.donate-wrapper > ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width < 375px ){
    .section-wrapper.donate-wrapper > ul {
        grid-template-columns: repeat(1, 1fr);
    }
}

.donate-grid .news-grid-article {
    display: grid;
    margin: 0;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr;
    max-height: unset;
    height: 100%;
    border: none;
    position: relative;
}

.donate-grid .entry-content-wrapper {
    grid-row-start: 2;
    /*   display: none; */
    max-height: unset;
    display: block;
    padding: 8px 12px 16px;
    text-align: center;
}

.donate-grid .entry-content-wrapper:after {
    position: absolute;
    z-index: 1;
    content: '';
    display: block;
    inset: 0;
}

.donate-grid .entry-photo > a {
    display: block;
}

.donate-grid .entry-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.donate-grid .entry-photo {
    min-width: 100%;
    max-height: unset;
    max-width: unset;
}

.donate-grid .entry-photo::after {
    aspect-ratio: 1/1;
    bottom: unset;
}

.donate-grid .entry-title {
    /*   font-weight: 700; */
    /*   color: #BF5C54; */
    font-size: 20px;
    margin: 0;
    letter-spacing: -0.01em;
    font-family: Erato, serif; /*"Literata"*/
    font-optical-sizing: auto;
    font-style: normal;
}


.donate-grid .news-grid-item {
    max-height: unset;
}


.section-wrapper.donate-information p {
    font-family: Verlag A, Verlag B, sans-serif; /*"Inter"*/
    font-optical-sizing: auto;
    font-style: normal;
}

.section-wrapper.donate-wrapper {
    background-color: #F4F4F4;
    position: relative;
    margin-bottom: 88px;
}

.section-wrapper.donate-wrapper:before {
    content: '';
    position: absolute;
    z-index: -1;
    display: block;
    inset: 0 calc( (100vw - min( 100%, 66.6666666667em)) / 2 * -1 ) -88px;
    background-color: #F4F4F4;
}

@media screen and (min-width: 48em) {
    .section-wrapper.donate-wrapper .section-header {
        padding-top: 30px;
    }

    .section-title.donate-title {
        font-size: 50px !important;
    }
}