
/* LIST VIEW */

#content :is(.case-studies, .products) {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

#content :is(.case-studies, .products) li {
    margin: 0;
    padding: 0;
    width: calc(33% - 10px);
}

#content :is(.case-studies, .products) li:before {
    display: none;
}

#content :is(.case-studies, .products) a {
    background: var(--orange);
    border: 0;
    border-radius: 0.25em;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.35);
    display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

#content :is(.case-studies, .products) a > img {
	aspect-ratio: 1/1;
    display: block;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

#content :is(.case-studies, .products) a > span {
	align-items: center;
	background: var(--orange);
	border-radius: 0 0 .375em .375em;
	color: #FFF;
	display: flex;
	flex: 1;
	justify-content: center;
	margin: 0;
	padding: 0.625em;
	font-weight: 600;
	text-align: center;
}

#content :is(.case-studies, .products) a:is(:hover, :focus-visible) > span {
	background: var(--lt-green);
}


/* SINGLE CASE STUDY PAGE */

#content .case-study > .phototreatment {
	aspect-ratio: 16/9;
	max-width: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.case-study > section {
	margin:  2.5em 0;
}

.case-study > blockquote {
	border-bottom: 3px solid var(--orange);
	border-right: 0;
	border-top: 3px solid var(--orange);
	float: none;
	font-size: 1.125em;
	margin: 2.5em 0;
	max-width: 100%;
	padding: 1em;
	text-align: center;
	width: 100%;
}


@media screen and (max-width: 749px) {
    #content :is(.case-studies, .products) li {
        width: calc(50% - 0.5em);
    }
}

@media screen and (max-width: 480px) {
    #content :is(.case-studies, .products) li {
        width: 100%;
    }
}