/* see also /assets/css/style-tw.css tout-2 (Resources) */
.tout-2-container-pad {
    margin: 60px 0;
    padding: 50px;
}
.tout-2-container {
    /* border: solid 10px red; */
}
.tout-2-multi-cat,/* see /impact/ */
.tout-2-container .tout-2-group ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px 20px;
    /* border: solid 10px red; */
}
.tout-2-container .tout-2-group {
    padding-bottom: 70px;
}
.tout-2-container .tout-2-group:last-child {
    padding-bottom: 0;
}

.tout-2-container .resource-group-header,
.tout-2-container .resource-group-no-content {
    margin-bottom: 30px;
    width: 100%;
}
.tout-2-container .resource-group-header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    background-color: var(--lemelson-casper);
}
.tout-2-container .resource-group-header h2 {
    position: relative;
    padding: 0 15px;
    width: fit-content;
    background-color: var(--lemelson-gallery);
}

.tout-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
	/* border: solid 10px red; */
}

.tout-2-cat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 100%;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    color: white;
    background-color: var(--lemelson-bismark);
}

.tout-2-cat-bgcolor-resources-climate-action .tout-2-cat-header,
.tout-2-cat-bgcolor-resources-climate-action .tout-2-button-container .wp-block-button a:not(:hover) {
    background-color: var(--lemelson-hemlock);
}
.tout-2-cat-bgcolor-resources-engineering-for-one-planet .tout-2-cat-header,
.tout-2-cat-bgcolor-resources-engineering-for-one-planet .tout-2-button-container .wp-block-button a:not(:hover) {
    background-color: var(--lemelson-elf-green);
}
.tout-2-cat-bgcolor-resources-invention-entrepreneurship .tout-2-cat-header,
.tout-2-cat-bgcolor-resources-invention-entrepreneurship .tout-2-button-container .wp-block-button a:not(:hover) {
    background-color: var(--lemelson-copper);
}
.tout-2-cat-bgcolor-resources-invention-education .tout-2-cat-header,
.tout-2-cat-bgcolor-resources-invention-education .tout-2-button-container .wp-block-button a:not(:hover) {
    background-color: var(--lemelson-purple);
}

.tout-2-image-container {
    position: relative;
    height: 150px;
    padding: 0 20px;
    overflow: clip;
}
.tout-2-image-container::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: url(/wp-content/uploads/sustain-overlay-300x104.png);
    background-size: cover;
}

.tout-2-content-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 334px;
    border: 2px solid var(--lemelson-casper);
    border-top: none;
    background-color: white;
    padding: 20px;
}

.tout-2-content-container h4 {
    color: var(--lemelson-blue);
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 8px;
    /* border: solid 1px red; */
}
@media screen and (max-width: 420px) {
    .tout-2-content-container h4 {
        font-size: 20px;
    }
}

.tout-2-content-container .tout-2-content {
    flex: 2;
    padding-bottom: 1rem;
    /* border: solid 1px green; */
}
.tout-2-content-container .tout-2-content,
.tout-2-content-container .tout-2-content p {
    font-size: 18px;
}

.tout-2-content-container .tout-2-content p:last-of-type {
    margin-bottom: 0;
}

.tout-2-content-container .tout-2-button-container {
    align-self: center;
    /* border: solid 1px blue; */
}
.tout-2-content-container .tout-2-button-container .wp-block-button a {
    color: white !important;
}


@media screen and (max-width: 1265px) {
    .tout-2-container .tout-2-group ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 980px) {
    .tout-2-container .tout-2-group ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 700px) {
    .tout-2-container .tout-2-group ul {
        grid-template-columns: repeat(1, 1fr);
    }
}


@media screen and (max-width: 1040px) {
    .tout-2-multi-cat {
        grid-template-columns: 1fr 1fr !important;
    }
}  /*  @media screen and (max-width: 1040px) {  */
@media screen and (max-width: 800px) {
    .tout-2-button-container .wp-block-button a {
        min-width: 0px;
    }
}
@media screen and (max-width: 650px) {
    .carousel-nav-container .carousel-nav p {
        margin-left: 0 !important;
    }
    .carousel-nav-container .carousel-nav-all p {
        text-align: right;
    }
    .tout-2-multi-cat {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 400px) {
    .tout-2-button-container .wp-block-button a {
        min-width: 0px;
    }
}
