.university-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.university-min {
    position: relative;
    z-index: 0;
    max-width: calc(100%);
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .5rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    background: var(--primary);
}

.university-min:before {
    z-index: -1;
    content: "";
    width: 150%;
    height: 150%;
    left: -25%;
    top: -25%;
    position: absolute;
    background: url('../img/logo-blanco.png') 1rem 1rem repeat;
    background-size: 120px;
    transform: rotate(-5deg);
    opacity: .05;
}

.university-min .header {
    margin: 1rem 1.5rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.university-min .header .parent {
    width: fit-content;
    padding: .13rem .5rem .15rem .5rem;
    font-size: .7rem;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 1rem;
    color: var(--background);
    background: var(--primary);
    border: 1px solid var(--background);
}

.university-min .header .h3 {
    width: 100%;
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 600;
    height: 3rem;
    overflow: hidden;
    color: var(--background);

}

.university-min .header .author {
    font-weight: 500;
    font-size: .7rem;
    text-transform: uppercase;
    color: var(--background);
}

.university-min picture {
    aspect-ratio: 1 / 1;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--background);
    border: 1px solid #eee;
}

.university-min picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.university-min .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .25rem;
    padding: 1rem 1.5rem;
    font-size: .85rem;
    line-height: 1;
    background: var(--background);
}

.university-min p {
    margin: 0;
    color: var(--primary);
    max-height: 6rem;
    overflow: hidden;
}

.university-min .button {
    display: block;
    text-align: left;
    text-transform: none;
    border-radius: .5rem;
    padding: .5rem 0 .35rem .75rem !important;
    font-size: .9rem !important;
    line-height: 1.3;
    letter-spacing: 0;
}

.university-min .button:after {
    content: '→';
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.3rem;
    float: right;
    font-weight: 500;
}

/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 300px) {}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) {
    .university-min {
        max-width: calc(50% - .5rem);
    }
}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) {
    .university-min {
        max-width: calc(33.33% - .75rem);
    }
}

/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1024px) {
    .university-min {
        max-width: calc(25% - .75rem);
    }
}