/* Styles for the main container */
.split-layout-container {
    display: flex;
    align-items: stretch;
    margin-top: 20px;
}

/* Styles for the image container */
.split-layout-image {
    flex: 0 0 46.4%; /* Take up 50% of the width */
    overflow: hidden; /* Ensure the image doesn't overflow */
}

/* Styles for the image itself */
.split-layout-image img {
    width: 100%; /* Make the image fill its container */
    height: 100%; /* Make the image fill its container */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
}

/* Styles for the content container */
.split-layout-content {
    flex: 0 0 53.6%; /* Take up 50% of the width */
    padding: 0px; /* Add some padding for better readability */
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

/* Styles for the post title */
.split-layout-content h2 {
    font-size: 3.3rem !important; /* Adjust the font size as needed */
    font-weight: 400 !important;
    text-transform: capitalize;
    color: var(--e-global-color-primary) !important;
}

/* Styles for the post content */
.split-layout-content p {
    font-size: 1.8rem !important;
    font-weight: 300 !important;
    text-align: left;
}

/* Styles for the post meta (date and categories) */
.split-layout-content .post-meta .date {
    color: #9BA2A8;
}

.split-layout-content .post-meta .terms {
    color: #1ED5E2;
    font-weight: bold;
}

.split-layout-content .post-meta .terms a {
    color: #1ED5E2;
    font-weight: bold;
}

.split-layout-content .post-meta {
    margin-top: auto;
}

/* Media query for tablets (768px) and smaller */
@media only screen and (max-width: 768px) {
    .split-layout-container {
        display: flex;
        flex-wrap: wrap;
    }

    .split-layout-image,
    .split-layout-content {
        flex: 0 0 100% !important; /* Take up 100% of the width on smaller screens */
    }

    .split-layout-content {
        margin-left: 0; /* No left margin on smaller screens */
        margin-top: 20px; /* No left margin on smaller screens */
        width: 100%;
    }

    .split-layout-content h2 {
        font-size: 2.69rem !important;
    }

    .split-layout-content p {
        font-size: 1.5rem !important;
    }
}
