/* ai-receptionist/ landing page: guides carousel */
.ai_rec_guides_wrap
{
    position: relative;
    padding: 0 48px;
}

.ai_rec_guides_swiper
{
    padding-bottom: 44px; /* Room for the pagination dots */
}

.ai_rec_guides_swiper .swiper-slide
{
    min-width: 0; /* Overrides the global 350px min-width so 1-up fits small phones */
    height: auto; /* Equal-height cards */
}

.ai_rec_guide_card
{
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai_rec_guide_card:hover
{
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
    text-decoration: none;
}

.ai_rec_guide_card img
{
    width: 100%;
    height: auto; /* The height attribute would otherwise override aspect-ratio */
    aspect-ratio: 768 / 429; /* WordPress medium_large featured image ratio */
    object-fit: cover;
}

.ai_rec_guide_card .card-body
{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ai_rec_guide_title
{
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 8px;
}

.ai_rec_guide_desc
{
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.ai_rec_guide_more
{
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
}

.ai_rec_guides_prev,
.ai_rec_guides_next
{
    top: 38%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.ai_rec_guides_prev
{
    left: 0;
}

.ai_rec_guides_next
{
    right: 0;
}

.ai_rec_guides_prev::after,
.ai_rec_guides_next::after
{
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 575.98px)
{
    .ai_rec_guides_wrap
    {
        padding: 0;
    }

    .ai_rec_guides_prev,
    .ai_rec_guides_next
    {
        display: none; /* Swipe and dots on phones */
    }
}
