/* Related Posts v2 Block — Mappr */
.mappr-related-posts {
    margin: 2.5rem 0;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #0d7377;
    overflow: hidden;
    padding: 1.5rem;
}

.mappr-related-posts__header {
    margin-bottom: 1.25rem;
}

.mappr-related-posts__heading {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1B2A3D;
    line-height: 1.3;
}

.mappr-related-posts__intro {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.mappr-related-posts__grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

a.mappr-related-posts__card,
a.mappr-related-posts__card:link,
a.mappr-related-posts__card:visited,
a.mappr-related-posts__card:hover,
a.mappr-related-posts__card:focus,
a.mappr-related-posts__card:active {
    display: flex !important;
    align-items: stretch;
    gap: 1rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none !important;
    color: inherit !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.mappr-related-posts__card:hover {
    border-color: #0d7377 !important;
    box-shadow: 0 2px 8px rgba(13, 115, 119, 0.1);
}

.mappr-related-posts__thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #f3f4f6;
}

.mappr-related-posts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mappr-related-posts__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
}

.mappr-related-posts__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1B2A3D !important;
    line-height: 1.35;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.mappr-related-posts__card:hover .mappr-related-posts__title {
    color: #0d7377 !important;
}

.mappr-related-posts__desc {
    font-size: 0.8125rem;
    color: #6b7280 !important;
    line-height: 1.45;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 480px) {
    .mappr-related-posts {
        padding: 1rem;
    }

    .mappr-related-posts__thumb {
        width: 90px;
        height: 60px;
    }

    .mappr-related-posts__title {
        font-size: 0.875rem;
    }

    .mappr-related-posts__desc {
        font-size: 0.75rem;
    }
}
