/* Evansville Goodwill story archive and article pages */
.gws {
    --gws-blue: #00539f;
    --gws-ink: #241f21;
    --gws-muted: #52585a;
    --gws-lime: #b2d235;
    --gws-mist: #f1f7fb;
    --gws-rule: #cfdee7;
    box-sizing: border-box;
    width: 100%;
    color: var(--gws-ink);
    background: #fff;
    font: 400 1rem/1.55 "Lato", Arial, sans-serif;
    text-align: left;
}

.gws *,
.gws *::before,
.gws *::after {
    box-sizing: border-box;
}

.gws .gws-container {
    width: calc(100% - 40px);
    max-width: 1265px;
    margin-inline: auto;
}

.gws h1,
.gws h2,
.gws h3,
.gws p,
.gws figure {
    margin: 0;
}

.gws h1,
.gws h2,
.gws h3 {
    color: var(--gws-ink);
    font-family: inherit;
    font-weight: 900;
    text-transform: none;
    text-wrap: pretty;
}

.gws .gws-mast {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(2.2rem, 4.3vw, 4.1rem);
    background: var(--gws-mist);
    border-bottom: 1px solid var(--gws-rule);
}

.gws-mast::after {
    position: absolute;
    z-index: -1;
    top: -9rem;
    right: max(-10rem, calc((100vw - 1270px) / 2 - 13rem));
    width: 32rem;
    height: 32rem;
    border: 3.4rem solid #d8ebf5;
    border-radius: 50%;
    box-shadow: 0 0 0 1.35rem #eaf4fa, 0 0 0 3.8rem #e2eff6;
    content: "";
}

.gws .gws-mast h1 {
    color: var(--gws-blue);
    font-size: clamp(2.65rem, 5.5vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.gws .gws-mast h1 span {
    color: #789413;
}

.gws .gws-mast p {
    max-width: 39rem;
    margin-top: 1rem;
    font-size: clamp(1.05rem, 1.7vw, 1.27rem);
    line-height: 1.55;
}

.gws .gws-archive-inner {
    padding-block: clamp(1.4rem, 3vw, 2.6rem) clamp(3rem, 6vw, 6rem);
}

.gws .gws-filters,
.gws .gws-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.gws .gws-filters a,
.gws .gws-pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.48rem 1.05rem;
    border: 1px solid #a7becf;
    border-radius: 2rem;
    color: #174567;
    background: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.gws .gws-filters a:hover,
.gws .gws-pager a:hover {
    border-color: var(--gws-blue);
    background: #e9f3fa;
}

.gws .gws-filters [aria-current],
.gws .gws-pager [aria-current] {
    border-color: var(--gws-blue);
    color: #fff;
    background: var(--gws-blue);
}

.gws .gws-list-head,
.gws .gws-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.7rem 1.5rem;
}

.gws .gws-list-head {
    margin-block: 2rem 1rem;
}

.gws .gws-list-head h2,
.gws .gws-section-head h2 {
    color: var(--gws-blue);
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.gws .gws-list-head span,
.gws .gws-card-meta {
    color: var(--gws-muted);
    font-size: 0.94rem;
}

.gws .gws-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.15rem, 2.7vw, 2.25rem);
}

.gws .gws-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gws-rule);
    border-radius: 1rem;
    background: #fff;
}

.gws .gws-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gws .gws-card-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #dfedf6;
}

.gws .gws-card-photo img,
.gws .gws-article-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 33%;
}

.gws .gws-cover-fallback {
    display: block;
    height: 100%;
    min-height: 9rem;
    background: radial-gradient(circle at 65% 70%, transparent 28%, #b2d235 28.5% 35%, transparent 35.5%), #00539f;
}

.gws .gws-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.gws .gws-kicker {
    color: var(--gws-blue);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
}

.gws .gws-card h3 {
    font-size: clamp(1.4rem, 2.05vw, 1.9rem);
    line-height: 1.13;
    letter-spacing: -0.025em;
}

.gws .gws-card-copy p {
    display: -webkit-box;
    overflow: hidden;
    color: #3f484e;
    font-size: 1rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.gws .gws-read {
    display: inline-block;
    margin-top: auto;
    padding-top: 0.6rem;
    border-bottom: 2px solid var(--gws-lime);
    color: var(--gws-blue);
    font-weight: 900;
}

.gws .gws-card-link:hover h3 {
    color: var(--gws-blue);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.13em;
}

.gws .gws-card-lead {
    grid-column: 1 / -1;
    border-color: #bdd5e6;
    background: #f1f7fb;
}

.gws .gws-card-lead .gws-card-link {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.gws .gws-card-lead .gws-card-photo {
    min-height: 20rem;
    height: 100%;
    max-height: 32rem;
    aspect-ratio: auto;
}

.gws .gws-card-lead .gws-card-photo img {
    position: absolute;
    inset: 0;
}

.gws .gws-card-lead .gws-card-copy {
    align-self: center;
    gap: 0.82rem;
    padding: clamp(1.6rem, 3.8vw, 3.5rem);
}

.gws .gws-card-lead h3 {
    color: var(--gws-blue);
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.03;
}

.gws .gws-card-lead .gws-read,
.gws .gws-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    border: 2px solid var(--gws-blue);
    border-radius: 0.55rem;
    color: #fff;
    background: var(--gws-blue);
    font-family: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.gws .gws-card-lead .gws-read {
    margin-top: 0.4rem;
}

.gws .gws-button-secondary {
    color: var(--gws-blue);
    background: #fff;
}

.gws .gws-button:hover,
.gws .gws-card-lead a:hover .gws-read {
    border-color: #003e76;
    color: #fff;
    background: #003e76;
}

.gws .gws-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2em 1em;
}

.gws #gws-results {
    overflow-anchor: none;
}

.gws .gws-announcement:not(.gws-filter-error) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.gws .gws-filter-error {
    display: block;
    margin-block: 0.75rem;
}

.gws .gws-pager {
    justify-content: center;
    margin-top: 2.5rem;
}

.gws .gws-pager a {
    min-width: 2.75rem;
}

.gws-featured {
    padding-block: clamp(2rem, 5vw, 4.5rem);
}

.gws .gws-section-head {
    align-items: center;
    margin-bottom: 1.35rem;
}

.gws .gws-article-head {
    padding-block: 1.3rem clamp(2rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--gws-rule);
    background: var(--gws-mist);
}

.gws .gws-back {
    color: var(--gws-blue);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 0.18em;
}

.gws .gws-article-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: 1.4rem;
}

.gws .gws-no-cover {
    display: block;
    max-width: 56rem;
}

.gws .gws-article-title h1 {
    margin-top: 0.55rem;
    color: var(--gws-blue);
    font-size: clamp(2.2rem, 4.2vw, 4.35rem);
    line-height: 1.045;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.gws .gws-article-title > p {
    margin-top: 1.15rem;
    font-size: clamp(1.06rem, 1.6vw, 1.25rem);
    line-height: 1.55;
}

.gws .gws-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    margin-top: 1.15rem;
    color: var(--gws-muted);
    font-size: 0.95rem;
}

.gws .gws-byline span {
    font-weight: 700;
}

.gws .gws-article-cover {
    overflow: hidden;
    height: clamp(18rem, 32vw, 27rem);
    border-radius: 1rem;
    background: #dfedf6;
}

.gws .gws-prose {
    width: min(100% - 2.5rem, 48rem);
    margin: 0 auto;
    padding-block: clamp(2rem, 4vw, 4rem);
    font-size: 1.125rem;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.gws .gws-prose > * + * {
    margin-top: 1.6rem;
}

.gws .gws-text > * + * {
    margin-top: 1rem;
}

.gws .gws-text p,
.gws .gws-text ul,
.gws .gws-text ol {
    font: inherit;
    line-height: inherit;
}

.gws .gws-text a,
.gws .gws-video figcaption a {
    color: var(--gws-blue);
    text-decoration: underline !important;
    text-underline-offset: 0.15em;
}

.gws .gws-text-lead {
    color: #203d50;
    font-size: 1.35rem;
    line-height: 1.55;
}

.gws .gws-text-callout,
.gws .gws-text-quote {
    margin-inline: 0;
    padding: 1.15em 1.5em;
    border-left: 0.35rem solid var(--gws-lime);
    border-radius: 0 0.55rem 0.55rem 0;
    background: #f1f7fb;
}

.gws .gws-text-quote {
    border-left-color: var(--gws-blue);
    color: var(--gws-blue);
    font-size: 1.32rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.55;
}

.gws .gws-heading,
.gws .gws-text h2 {
    width: fit-content;
    margin-top: 2.1rem;
    padding-bottom: 0.22em;
    border-bottom: 0.18rem solid var(--gws-lime);
    color: var(--gws-blue);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.17;
}

.gws .gws-text h3,
.gws .gws-text h4 {
    margin-block: 1.2em 0.45em;
    color: var(--gws-blue);
    line-height: 1.25;
}

.gws .gws-divider {
    height: 2px;
    margin-block: 2rem;
    border: 0;
    opacity: 1;
    background: var(--gws-rule);
}

.gws .gws-divider-cycle {
    height: 4px;
    background: linear-gradient(90deg, #00539f 0 36%, #7dc1e9 36% 60%, #b2d235 60% 82%, #e9992f 82% 100%);
}

.gws .gws-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.6rem;
}

.gws .gws-width-wide {
    width: 100%;
}

.gws .gws-width-medium {
    width: 75%;
}

.gws .gws-width-small {
    width: 50%;
}

.gws .gws-align-center {
    margin-inline: auto;
}

.gws .gws-align-right {
    margin-left: auto;
}

.gws figcaption {
    margin-top: 0.5rem;
    color: var(--gws-muted);
    font-size: 0.95rem;
}

.gws .gws-video iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0.55rem;
}

.gws .gws-article-end {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gws-rule);
    background: transparent;
}

.gws a:focus-visible {
    outline: 3px solid #9a4900;
    outline-offset: 3px;
}

.gws .gws-card-link:focus-visible {
    outline-offset: -4px;
}

@media (max-width: 880px) {
    .gws .gws-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gws .gws-article-intro {
        gap: 1.7rem;
    }

    .gws .gws-mast::after {
        opacity: 0.55;
    }
}

@media (max-width: 620px) {
    .gws .gws-grid,
    .gws .gws-card-lead .gws-card-link,
    .gws .gws-article-intro {
        grid-template-columns: 1fr;
    }

    .gws .gws-mast::after {
        right: -26rem;
    }

    .gws .gws-card-lead .gws-card-photo {
        min-height: auto;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .gws-archive .gws-card-lead .gws-card-link {
        grid-template-columns: clamp(5.2rem, 22vw, 8rem) minmax(0, 1fr);
        align-items: start;
        gap: 0.45rem 0.9rem;
        padding: 1.1rem;
    }

    .gws-archive .gws-card-lead .gws-card-copy {
        display: contents;
    }

    .gws-archive .gws-card-lead .gws-card-photo {
        grid-row: 1 / 4;
        grid-column: 1;
        align-self: stretch;
        min-height: 7.4rem;
        border-radius: 0.5rem;
        aspect-ratio: auto;
    }

    .gws-archive .gws-card-lead .gws-kicker,
    .gws-archive .gws-card-lead h3,
    .gws-archive .gws-card-lead .gws-card-meta {
        grid-column: 2;
    }

    .gws-archive .gws-card-lead h3 {
        font-size: clamp(1.42rem, 6vw, 2rem);
        line-height: 1.1;
    }

    .gws-archive .gws-card-lead p,
    .gws-archive .gws-card-lead .gws-read {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .gws-archive .gws-card-lead p {
        margin-top: 0.45rem;
    }

    .gws .gws-article-cover {
        height: clamp(13rem, 62vw, 23rem);
    }

    .gws .gws-filters {
        gap: 0.4rem;
    }

    .gws .gws-filters a {
        padding: 0.48rem 0.75rem;
    }

    .gws .gws-width-small {
        width: 68%;
    }

    .gws .gws-width-medium {
        width: 88%;
    }
}
