/* Posts para ATI */

.pati-wrapper {
    --bs-c-line: rgba(255, 255, 255, 0.12);
    width: 100%;
}

.pati-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pati-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: linear-gradient(rgb(15, 26, 34), rgb(16, 25, 32));
    border: 1px solid var(--bs-c-line);
    border-radius: 14px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 14px 34px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.pati-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-4px);
}

.pati-card--hidden {
    display: none;
}

.pati-card-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
    text-decoration: none !important;
}

.pati-card-link:hover,
.pati-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.pati-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a141b;
}

.pati-featured-image,
.pati-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pati-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10212c, #1a303d);
}

.pati-card-body {
    flex: 1;
    padding: 20px;
}

.pati-card-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1.25;
}

.pati-card-summary {
    margin: 0;
    color: #cbd5dc;
    line-height: 1.55;
}

.pati-card-footer {
    margin-top: auto;
    padding: 0 20px 18px;
}

.pati-card-date {
    color: #93a4ae;
    font-size: 0.88rem;
}

.pati-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.pati-load-more {
    min-width: 150px;
    padding: 11px 20px;
    border: 1px solid var(--bs-c-line);
    border-radius: 999px;
    background: linear-gradient(rgb(23, 43, 55), rgb(15, 26, 34));
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.pati-load-more:hover,
.pati-load-more:focus {
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.pati-load-more[hidden] {
    display: none;
}

.pati-empty {
    color: #cbd5dc;
}

@media (max-width: 992px) {
    .pati-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pati-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
