/* The funding opportunities page, /funding/ (the `funding` shortcode). */

.funding-opportunity {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
    padding: clamp(1.25rem, 4vw, 2.5rem);
}
.funding-opportunity .kicker {
    font-size: 85%;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin: 0;
}
.funding-opportunity .kicker a {
    color: inherit;
    text-decoration: none;
}
.funding-opportunity .kicker a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.funding-opportunity h2 {
    color: var(--primary-color);
    margin: 0.3rem 0 0.75rem 0;
}
.funding-opportunity h2 span.new {
    font-size: 50%;
    vertical-align: middle;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 6px;
    padding: 0.3ex 1ex;
    margin-left: 1ex;
}
.funding-opportunity .objective {
    font-size: 115%;
    line-height: 150%;
    margin: 0 0 1.5rem 0;
}
.funding-opportunity dl.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 2rem;
    margin: 0 0 1.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.funding-opportunity dl.facts dt {
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin: 0 0 0.3rem 0;
}
.funding-opportunity dl.facts dd {
    font-weight: 600;
    margin: 0;
}
.funding-opportunity .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin: 0;
}
.funding-opportunity .actions a.apply {
    color: var(--white);
    background: var(--primary-color);
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-weight: 700;
    text-decoration: none;
}
.funding-opportunity .actions a.apply:hover {
    background: var(--primary-hover);
}
.funding-opportunity .actions a.info {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.funding-opportunity .actions a.info:hover {
    text-decoration: underline;
}
.funding-opportunity figure.from-website {
    margin: 2rem 0 0 0;
}
.funding-opportunity figure.from-website figcaption {
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.funding-opportunity figure.from-website blockquote {
    font-style: normal;
    color: var(--text-dark);
    background: var(--bg-bright);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 0.25rem 1.5rem;
}
.funding-opportunity figure.from-website blockquote::before {
    content: none;
}
