.latest-blog-posts {
    padding: 80px 0;
    background: #fff;
}

.latest-blog-posts__header {
    margin-bottom: 3em;
}

.latest-blog-posts__section-title {
    color: #000034;
    margin-bottom: 0.5em;
}

.latest-blog-posts__section-intro {
    max-width: 780px;
    margin-bottom: 0;
}

.latest-blog-posts__section-intro p:last-child {
    margin-bottom: 0;
}

/* Indent the track so the arrows sit outside the cards */
.splide_latest_blog_posts {
    padding: 0 3.5em;
}

@media (max-width: 992px) {
    .splide_latest_blog_posts {
        padding: 0 2.5em;
    }
}

.splide_latest_blog_posts .splide__track {
    padding-bottom: 10px !important;
}

/* Cards */
.splide_latest_blog_posts .splide__slide {
    height: auto;
    padding: 0 10px;
}

.latest-blog-posts__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 52, 0.1);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.latest-blog-posts__card:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 52, 0.18);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}

.latest-blog-posts__card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e8e8f0;
    flex-shrink: 0;
}

.latest-blog-posts__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.latest-blog-posts__card:hover .latest-blog-posts__card-image img {
    transform: scale(1.04);
}

.latest-blog-posts__card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8f0 0%, #d0d0e0 100%);
}

.latest-blog-posts__card-body {
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.latest-blog-posts__card-title {
    font-size: 1.1em;
    color: #000034;
    margin-bottom: 0.5em;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.latest-blog-posts__card:hover .latest-blog-posts__card-title {
    color: #7169ff;
}

.latest-blog-posts__card-excerpt {
    color: #555566;
    font-size: 0.9em;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Arrow overrides */
.splide_latest_blog_posts .splide__arrow {
    background: #000034;
    opacity: 1;
    width: 2.5em;
    height: 2.5em;
}

.splide_latest_blog_posts .splide__arrow svg {
    fill: #fff;
    width: 1.1em;
    height: 1.1em;
}

.splide_latest_blog_posts .splide__arrow:hover {
    background: #7169ff;
    opacity: 1;
}

.splide_latest_blog_posts .splide__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

