/* Consortia */
.consortia-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
        gap: 1em;
        align-items: center;
        padding: 0 4rem;
		margin-bottom: 1rem;
}

.c-logo img,
.c-logo svg {
	display: block;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	max-width: 10em;
	object-fit: contain;
}

[data-theme="dark"] .c-logo svg *,
[data-theme="dark"] .c-logo svg {
	fill: var(--text-color) !important;
}

.wp-block-image.alignfull img {
	display: block;
	width: 100%;
	height: 40rem;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

p {
	font-size: 1rem;
}

.area-wrapper > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.area-wrapper > li {
    display: flex;
}

.area-wrapper {
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	grid-auto-rows: 1fr;
    gap: 1em;
}

.area-card {
    display: flex;
    flex-direction: column;
	flex: 1;
    width: 100%;
    padding: 0;
    overflow: hidden;
    transition:
        background-color 0.25s ease,
        transform 0.2s ease;
}

.area-card > .wp-block-post-title {
    padding: 0.7rem;
}

.res-area-logo {
  	display: flex;
  	justify-content: center;
  	align-items: center;
}

.res-area-logo img,
.res-area-logo svg {
  	display: block;
  	width: 8rem;
  	height: 8rem;
  	object-fit: contain;
	border-radius: 100%;
	border: 5px solid var(--soft-color);
}

.res-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 2rem;
    padding: 0 2rem;
    margin-top: auto;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--bup-color);
}

.res_title {
    margin: 0;
    line-height: 1;
}

.res_title a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2rem;
    padding: 0 1rem;
    color: #fff;
    font-size: 0 !important;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    text-transform: uppercase;
	transition: transform 0.25s ease, background-color 0.25s ease;
}

.res_title a::before {
    content: "Read more";
	text-transform: uppercase;
    font-size: 1rem;
}

.res_title a::after {
  	content: " ➜";
	font-size: 1rem;
	transition: transform 0.25s ease;
}

.res_title a:hover,
.res_title a:focus-visible {
	transform: translateX(0.25rem);
}

.res_title a:hover::after,
.res_title a:focus-visible::after {
	transform: translateX(0.3rem);
}

.ca-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--soft-color);
    border-radius: 5px;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.15);
}

.ca-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6rem;
    flex: 0 0 6rem;
    margin: 0;
	padding: 1rem 0;
}

.ca-logo img,
.ca-logo svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 14rem;
    object-fit: contain;
}

.ca-card .ca-desc,
.ca-card .res-desc-w {
    margin-block: 1rem 0;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.ca-card .std-bar {
    margin-top: auto;
}