/* =========================================
   1. Card Container & Grid
   ========================================= */
.lc-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* grid-template-columns: 1fr 2fr 1fr; */
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fefefe;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* =========================================
   2. Grid Columns
   ========================================= */
.lc-col1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 15px;
}

.lc-col2 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lc-col2 img {
    width: 800px;
    /* height: 600px; */
    object-fit: cover;
}

/* .lc-col3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
} */

/* =========================================
   3. Card Typography & Elements
   ========================================= */
.lc-title {
    margin: 15px 15px 10px;
    color: #111111;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.lc-title:hover {
    color: #E58D48;
}

.lc-excerpt {
    margin: 0 20px 20px;
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lc-button {
    margin-left: auto;
    color: #E58D48;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lc-button:hover {
    color: #000000;
}

/* =========================================
   4. Swiper Base Overrides
   ========================================= */
.lc-swiper {
    position: relative;
    padding: 10px 40px 40px;
}

.swiper-slide {
    width: 100% !important;
}

/* =========================================
   5. Custom Swiper Navigation Positioning
   ========================================= */
/* Base arrow styles */
.lc-swiper .swiper-button-prev,
.lc-swiper .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    margin-top: 0;
    width: 45px;
    height: 45px;
    background-color: #E58D48;
    color: #F4F1EA;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}



/* Hover effects */
.lc-swiper .swiper-button-prev:hover,
.lc-swiper .swiper-button-next:hover {
    background-color: #E58D48;
    color: #F4F1EA;
}

/* Pin NEXT to the right */
.lc-swiper .swiper-button-next {
    right: 5px;
}

/* Pin PREV to the left */
.lc-swiper .swiper-button-prev {
    left: 5px;
    right: auto;
}

/* Replace default chevrons with clean standard arrows */
.lc-swiper .swiper-button-prev::after,
.lc-swiper .swiper-button-next::after {
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
}

.lc-swiper .swiper-button-prev::after {
    content: '\2190' !important;
    /* Left-pointing arrow */
}

.lc-swiper .swiper-button-next::after {
    content: '\2192' !important;
    /* Right-pointing arrow */
}

/* Hide Swiper's default SVG chevrons if your version injects them */
.lc-swiper .swiper-button-prev svg,
.lc-swiper .swiper-button-next svg {
    display: none !important;
}

/* =========================================
   6. Custom Swiper Pagination Dots
   ========================================= */

/* Inactive dots */
.lc-swiper .swiper-pagination-bullet {
    background-color: #555555;
    opacity: 0.4;
    /* Slightly dims the inactive dots */
    transition: all 0.2s ease;
}

/* Hover effect for inactive dots (optional but nice) */
.lc-swiper .swiper-pagination-bullet:hover {
    opacity: 0.8;
}

/* Active dot */
.lc-swiper .swiper-pagination-bullet-active {
    background-color: #E58D48;
    opacity: 1;
}

/* =========================================
   7. Responsive Design (Media Queries)
   ========================================= */

/* Tablet & Mobile Devices (Screens 992px and below) */
@media (max-width: 992px) {
    .lc-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .lc-col2 img {
        width: 75%;
        height: 400px;
    }

    /* Hide navigation arrows on touch screens — users will swipe */
    .lc-swiper .swiper-button-prev,
    .lc-swiper .swiper-button-next {
        display: none !important;
    }
}

/* Small Mobile Devices (Screens 576px and below) */
@media (max-width: 576px) {

    .lc-col1,
    .lc-col3 {
        padding: 10px;
    }

    .lc-col2 img {
        width: 100%;
        height: auto;
    }

    .lc-title {
        font-size: 1.25rem;
        margin: 10px 10px 5px;
    }

    .lc-excerpt {
        font-size: 0.9rem;
        margin: 0 10px 15px;
    }
}