/* Soto Related Posts - Case Study Pages */
.cs-related-posts-grid {
    max-width: 100%;
    margin: 0;
}
.cs-related-posts-header {
    margin-bottom: 24px;
    text-align: center;
}
.cs-related-posts-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 6px;
}
.cs-related-posts-header p {
    color: #5a6b7d;
    font-size: 1rem;
}
.cs-related-posts-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cs-related-posts-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.cs-related-posts-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.cs-related-posts-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.cs-related-posts-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.cs-related-posts-card:hover .cs-related-posts-img img {
    transform: scale(1.05);
}
.cs-related-posts-content {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cs-related-posts-cat {
    display: inline-block;
    background: #E8F0FE;
    color: #0969DA;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.cs-related-posts-content h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}
.cs-related-posts-content h3 a {
    color: #1A1A1A;
    text-decoration: none;
}
.cs-related-posts-content h3 a:hover {
    color: #0d7377;
}
.cs-related-posts-date {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: auto;
}
@media (max-width: 768px) {
    .cs-related-posts-list {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .cs-related-posts-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
