.seor-item-asociaciones {
    border: 1px solid var(--wp--preset--color--primary, #3a5477);
    padding: 0;
    background: #fff;
    margin: 0;
    max-width: 100%;
    position: relative;
    top: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.seor-item-asociaciones .seor-pp-image-wrap {
    overflow: hidden;
    width: 100%;
}

.seor-item-asociaciones .seor-pp-image-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.seor-item-asociaciones .seor-pp-content {
    border-top: 1px solid var(--wp--preset--color--primary, #3a5477);
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Centrado Horizontal y Vertical */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.seor-item-asociaciones .seor-pp-meta {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.seor-item-asociaciones .seor-pp-site-label {
    background-color: var(--wp--preset--color--primary, #3a5477);
    border-radius: 0;
    padding: 4px 12px;
    font-size: 0.75rem;
}

.seor-item-asociaciones .seor-pp-excerpt {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.2;
    color: #444;
    margin-bottom: 20px;
    width: 100%;
    /* Permitir que se corte la línea en palabras largas o links */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.seor-item-asociaciones .seor-pp-excerpt a {
    color: var(--wp--preset--color--primary, #3a5477);
    text-decoration: underline !important;
    position: relative;
    z-index: 103; /* Above the full-card link */
}

/* Saber más centrado */
.seor-pp-more {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--wp--preset--color--secondary, #f79420);
    text-decoration: none;
    margin-top: 10px; /* Small gap instead of auto since we are centered */
    display: inline-flex;
    align-items: center;
    align-self: center; /* Centered instead of flex-start */
    transition: color 0.2s ease;
}

.seor-pp-more::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'%3E%3C/line%3E%3Cpolyline points='7 7 17 7 17 17'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'%3E%3C/line%3E%3Cpolyline points='7 7 17 7 17 17'%3E%3C/polyline%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: contain;
    transition: transform 0.5s ease-in-out;
}

/* Hover effects */
.seor-item-asociaciones:hover .seor-pp-more::before {
    transform: translate(2px, 1px) scale(1.1) rotate(25deg);
}

.seor-item-asociaciones:hover .seor-pp-more {
    text-decoration: underline;
    color: var(--wp--preset--color--primary, #3a5477);
}

/* Animations (Notches) */
.seor-item-asociaciones.seor-pp-card-animated {
    overflow: hidden;
    transition: all 0.3s ease;
}

.seor-item-asociaciones.seor-pp-card-animated:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.seor-item-asociaciones.seor-pp-card-animated .seor-pp-image-wrap img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.seor-item-asociaciones.seor-pp-card-animated:hover .seor-pp-image-wrap img {
    transform: scale(1.1);
}

.seor-item-asociaciones.seor-pp-card-animated::before,
.seor-item-asociaciones.seor-pp-card-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 101;
}

.seor-item-asociaciones.seor-pp-card-animated::after {
    width: 60px;
    height: 60px;
    background: var(--wp--preset--color--primary, #3a5477);
    transition-delay: 0.1s;
}

.seor-item-asociaciones.seor-pp-card-animated::before {
    width: 120px;
    height: 120px;
    background: color-mix(in srgb, var(--wp--preset--color--primary, #3a5477) 30%, transparent);
    transition-delay: 0s;
}

.seor-item-asociaciones.seor-pp-card-animated:hover::before,
.seor-item-asociaciones.seor-pp-card-animated:hover::after {
    transform: scale(1);
    opacity: 1;
}

.seor-pp-full-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 102;
}

/* Disable clicks in editor */
.is-visual-editor .seor-pp-full-link {
    pointer-events: none;
}
