.ai-related-posts {
    margin: 2.5em 0 1.5em;
    padding: 1.5em 0 0;
    border-top: 1px solid #ddd;
}
.ai-related-posts__title {
    font-size: 1.1em;
    margin-bottom: 1em;
    margin-left: 0 !important;
    margin-right: auto;
    text-align: left !important;
    color: #205B87;
}
.ai-related-posts__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.2em;
}
.ai-related-posts__item {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    padding: 0.5em;
    transition: border-color 0.2s ease;
}
.ai-related-posts__item:hover {
    border-color: #ccc;
}
.ai-related-posts__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-bottom: 0.6em;
    border-radius: 6px;
}
.ai-related-posts__no-image {
    width: 100%;
    padding-bottom: 60%;
    background: #f0f0f0;
    margin-bottom: 0.6em;
    border-radius: 6px;
}
.ai-related-posts__item-title {
    display: block;
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    color: #205B87;
}
.ai-related-posts__item:hover .ai-related-posts__item-title {
    color: #163f5e;
}
@media (max-width: 768px) {
    .ai-related-posts__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .ai-related-posts__grid {
        grid-template-columns: 1fr !important;
    }
}
