/*
Theme Name: Blocksy Child
Theme URI: http://example.com
Description: Child theme for Blocksy
Author: Landon
Author URI: http://landon-cartwright.com
Template: blocksy
Version: 1.0
Text Domain: blocksy-child
*/

/* Add custom styles below this line */


/* Desktop: Equal height cards, image-left layout */
.flexy-item .entry-card {
    display: flex;
    flex-direction: row;       /* image left, text right */
    align-items: stretch;      /* equal height cards */
    min-height: 360px;         /* adjust based on your tallest card */
    border-radius: 8px;        /* optional rounded corners */
    overflow: hidden;
}

/* Image container */
.flexy-item .entry-card .ct-media-container {
    flex: 0 0 40%;             /* image takes 40% width */
    max-width: 40%;
    height: 100%;
    object-fit: cover;
}

/* Text content */
.flexy-item .entry-card .card-content {
    flex: 1 1 50%;             /* text takes remaining 60% */
    padding-left: 40px;        /* space between image and text */
    display: flex;
    flex-direction: column;
    justify-content: center;    /* vertically center text */
}

/* Carousel arrows vertically centered */
.stk-block-carousel__buttons {
    top: 50%;
}

/* Mobile: stack image above text */
@media (max-width: 768px) {
    .flexy-item .entry-card {
        flex-direction: column;
        min-height: auto;
    }

    .flexy-item .entry-card .ct-media-container,
    .flexy-item .entry-card .card-content {
        flex: 1 1 100%;
        max-width: 100%;
        padding-left: 0;
    }

    .flexy-item .entry-card .card-content {
        margin-top: 15px;
    }

    .flexy-item .entry-card .ct-media-container {
        height: auto;
        object-fit: cover;
    }
}

/* Optional: subtle shadow */
.flexy-item .entry-card {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}