.page-template-partners .site-main {
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}

.page-template-partners .site-main section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
}

section.blog .h2 {
    width: 100%;
    text-align: center;
    font-weight: 700;
}

section.blog .entry {
    width: 100%;
    position: relative;
    z-index: 1;
    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);

    &::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;
    }
}

section.blog .entry a {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: var(--background);
}

section.blog .entry picture {
    display: block;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    left: 1.5rem;
    top: 1rem;
    position: relative;
    background: var(--background);
    border: 1px solid var(--background);
}

section.blog .entry picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

section.blog .entry .category {
    width: fit-content;
    padding: .13rem .5rem .15rem .5rem;
    margin-top: 1rem;
    margin-left: 1.5rem;
    font-size: .75rem;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 1rem;
    color: var(--background);
    background: var(--primary);
    border: 1px solid var(--background);
}

section.blog .entry .title {
    width: 100%;
    padding: 0 1.5rem;
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 600;
    height: 4rem;
    overflow: hidden;
    color: var(--background);
}

section.blog .entry .author {
    width: 100%;
    padding: 0 1.5rem;
    font-weight: 500;
    font-size: .75rem;
    text-transform: uppercase;
    color: var(--background);
}

section.blog .entry .content {
    position: relative;
    z-index: 1;
    background: var(--background);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    color: var(--primary);
    padding: 1.1rem;
}

section.blog .entry .resume {
    font-size: .85rem;
    letter-spacing: 0;
}

section.blog .entry .button {
    width: fit-content;
    display: block;
    text-align: left;
    text-transform: none;
    border-radius: .25rem;
    padding: .5rem 0 .35rem .75rem !important;
    font-size: .9rem !important;
    line-height: 1.3rem;
    letter-spacing: 0;
    margin-top: .5rem;
}

section.blog .entry .button:after {
    content: '→';
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.3rem;
    float: right;
    font-weight: 500;
    margin-left: .75rem;
}

.button-secondary {
    width: fit-content;
    padding: .5rem 1rem;
    margin: auto;
    font-size: .9rem;
    line-height: 1;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    transition: all .3s ease;

    &:hover {
        color: var(--background);
        background: var(--secondary);
    }
}

/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 300px) {}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) {}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) {}


/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1024px) {
    .page-template-partners .site-main section {
        padding: 1.5rem 0;
    }

    section.blog .entry {
        width: calc(25% - 1.15rem);
        aspect-ratio: 3/4;
    }
}