.ieh-resource-library {
    --ieh-resource-ink: #0b2e25;
    --ieh-resource-green: #11482f;
    --ieh-resource-muted: #365849;
    --ieh-resource-paper: #fcfbf8;
    --ieh-resource-line: #d7ded7;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding: 24px 0 64px;
    color: var(--ieh-resource-ink);
    background: var(--ieh-resource-paper);
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.ieh-resource-library.e-con {
    --container-widget-width: 100%;
    --widgets-spacing: 0;
}

.ieh-resource-library .elementor-widget {
    min-width: 0;
    margin-block-end: 0;
}

.ieh-resource-library h1,
.ieh-resource-library h2,
.ieh-resource-library h3 {
    color: var(--ieh-resource-ink);
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.ieh-resource-library h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
}

.ieh-resource-library h2 {
    margin: 0 0 20px;
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    line-height: 1.15;
}

.ieh-resource-library h3 {
    margin: 0 0 12px;
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    line-height: 1.2;
}

.ieh-resource-library p {
    max-width: 72ch;
    margin-block: 0 16px;
}

.ieh-resource-library .ieh-resource-library__intro {
    max-width: 840px;
    margin-bottom: 28px;
}

.ieh-resource-library .ieh-resource-library__lead p {
    font-size: 1.25rem;
    line-height: 1.5;
}

.ieh-resource-library .ieh-resource-library__languages p {
    color: var(--ieh-resource-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.ieh-resource-library .ieh-resource-library__navigation {
    border-block: 1px solid var(--ieh-resource-line);
    padding-block: 16px;
    margin-bottom: 4px;
    scroll-margin-top: 100px;
}

.ieh-resource-library .ieh-resource-library__navigation-label p {
    margin: 0 0 4px;
    font-size: 0.9375rem;
    color: var(--ieh-resource-muted);
}

.ieh-resource-library .ieh-resource-library__navigation-links,
.ieh-resource-library.e-con .ieh-resource-library__navigation-links.e-con {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 28px;
}

.ieh-resource-library .ieh-resource-library__topic-link {
    width: auto;
    max-width: 100%;
}

.ieh-resource-library .ieh-resource-library__topic,
.ieh-resource-library.e-con .ieh-resource-library__topic.e-con {
    display: grid;
    grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    padding-block: 48px;
    border-bottom: 1px solid var(--ieh-resource-line);
    scroll-margin-top: 112px;
}

.ieh-resource-library .ieh-resource-library__media,
.ieh-resource-library .ieh-resource-library__body {
    min-width: 0;
}

.ieh-resource-library .ieh-resource-library__description p {
    margin-bottom: 20px;
}

.ieh-resource-library .ieh-resource-library__cover,
.ieh-resource-library .ieh-resource-library__sample,
.ieh-resource-library .ieh-resource-library__logo,
.ieh-resource-library .ieh-resource-library__seal-image {
    margin: 0;
}

.ieh-resource-library .ieh-resource-library__cover img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: left top;
    border-radius: 0;
}

.ieh-resource-library .ieh-resource-library__sample {
    margin-top: 24px;
}

.ieh-resource-library .ieh-resource-library__sample img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

.ieh-resource-library .ieh-resource-library__funding {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ieh-resource-line);
}

.ieh-resource-library .ieh-resource-library__funding p {
    color: var(--ieh-resource-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.ieh-resource-library .ieh-resource-library__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
}

.ieh-resource-library .ieh-resource-library__download .elementor-button,
.ieh-resource-library .ieh-resource-library__topic-link .elementor-button,
.ieh-resource-library .ieh-resource-library__related .elementor-button,
.ieh-resource-library .ieh-resource-library__back .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ieh-resource-green);
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    box-shadow: none;
}

.ieh-resource-library .ieh-resource-library__download .elementor-button {
    width: 100%;
    padding-block: 12px;
    border-bottom: 1px solid var(--ieh-resource-line);
}

.ieh-resource-library .ieh-resource-library__related {
    margin-top: 12px;
}

.ieh-resource-library .ieh-resource-library__back {
    margin-top: 16px;
}

.ieh-resource-library .ieh-resource-library__back .elementor-button {
    font-size: 0.9375rem;
    font-weight: 400;
}

.ieh-resource-library .elementor-button-content-wrapper,
.ieh-resource-library .elementor-button-text {
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

.ieh-resource-library .ieh-resource-library__extras {
    padding-top: 48px;
}

.ieh-resource-library .ieh-resource-library__extra-group {
    padding-block: 24px 28px;
    border-bottom: 1px solid var(--ieh-resource-line);
    scroll-margin-top: 112px;
}

.ieh-resource-library .ieh-resource-library__extra-group .ieh-resource-library__download {
    max-width: 860px;
}

.ieh-resource-library .ieh-resource-library__extra-group .ieh-resource-library__download .elementor-button {
    border-bottom: 0;
}

.ieh-resource-library .ieh-resource-library__notice p {
    color: var(--ieh-resource-muted);
    font-size: 0.9375rem;
    max-width: 75ch;
}

.ieh-resource-library .ieh-resource-library__seal,
.ieh-resource-library.e-con .ieh-resource-library__seal.e-con {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--ieh-resource-line);
}

.ieh-resource-library .ieh-resource-library__seal-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 164px;
    object-fit: contain;
    border-radius: 0;
}

.ieh-resource-library .ieh-resource-library__seal h2 {
    font-size: 1.625rem;
    margin-bottom: 12px;
}

.ieh-resource-library .ieh-resource-library__seal p {
    font-size: 0.9375rem;
    color: var(--ieh-resource-muted);
    margin-bottom: 0;
}

.ieh-resource-library .elementor-button:hover {
    background: transparent;
    color: var(--ieh-resource-ink);
    text-decoration-thickness: 2px;
}

.ieh-resource-library a:focus-visible {
    outline: 3px solid var(--ieh-resource-green);
    outline-offset: 4px;
}

.ieh-resource-library ::selection {
    background: var(--ieh-resource-green);
    color: var(--ieh-resource-paper);
}

@media (max-width: 767px) {
    .ieh-resource-library {
        padding-top: 12px;
        padding-bottom: 40px;
        font-size: 1rem;
    }

    .ieh-resource-library .ieh-resource-library__navigation-links,
    .ieh-resource-library.e-con .ieh-resource-library__navigation-links.e-con {
        column-gap: 20px;
    }

    .ieh-resource-library .ieh-resource-library__topic,
    .ieh-resource-library.e-con .ieh-resource-library__topic.e-con {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-block: 36px;
        scroll-margin-top: 92px;
    }

    .ieh-resource-library .ieh-resource-library__cover img {
        max-width: min(100%, 380px);
        max-height: 420px;
    }

    .ieh-resource-library .ieh-resource-library__sample img {
        max-width: 380px;
    }

    .ieh-resource-library .ieh-resource-library__extras {
        padding-top: 36px;
    }

    .ieh-resource-library .ieh-resource-library__seal,
    .ieh-resource-library.e-con .ieh-resource-library__seal.e-con {
        grid-template-columns: minmax(0, 112px) minmax(0, 1fr);
        gap: 20px;
        align-items: start;
        margin-top: 36px;
    }
}

@media (max-width: 420px) {
    .ieh-resource-library .ieh-resource-library__seal,
    .ieh-resource-library.e-con .ieh-resource-library__seal.e-con {
        grid-template-columns: minmax(0, 1fr);
    }

    .ieh-resource-library .ieh-resource-library__seal-image img {
        max-width: 112px;
    }
}

/* Elementor's per-page container declarations and the child theme's important
 * heading inheritance must not override this resource library's scoped layout. */
.elementor .elementor-element.ieh-resource-library.e-con {
    box-sizing: border-box;
    width: min(calc(100% - 40px), 1120px) !important;
    max-width: 1120px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding: 24px 0 64px !important;
}

.elementor .ieh-resource-library .elementor-widget-heading .elementor-heading-title {
    color: var(--ieh-resource-ink) !important;
    font-family: "DM Serif Display", Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal;
    letter-spacing: -0.02em;
    text-transform: none;
}

.elementor .ieh-resource-library .elementor-widget-heading h1.elementor-heading-title {
    margin: 0 0 20px !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    line-height: 1.05 !important;
}

.elementor .ieh-resource-library .elementor-widget-heading h2.elementor-heading-title {
    margin: 0 0 20px !important;
    font-size: clamp(1.75rem, 3vw, 2.375rem) !important;
    line-height: 1.15 !important;
}

.elementor .ieh-resource-library .elementor-widget-heading h3.elementor-heading-title {
    margin: 0 0 12px !important;
    font-size: clamp(1.375rem, 2vw, 1.75rem) !important;
    line-height: 1.2 !important;
}

.elementor .ieh-resource-library .ieh-resource-library__seal .elementor-widget-heading h2.elementor-heading-title {
    margin-bottom: 12px !important;
    font-size: 1.625rem !important;
}

@media (max-width: 767px) {
    .elementor .elementor-element.ieh-resource-library.e-con {
        padding-top: 12px !important;
        padding-bottom: 40px !important;
    }
}
