/*
Theme Name: Stellavitae child 
Theme URI: https://github.com/gigabite-hub
Description: Child theme for Hello Elementor
Author: amirence
Author URI: amirence.com
Template: hello-elementor
Version: 1.0
*/


.single-post-wrapper {
    width: 1200px;
    max-width: 100%;
    padding: 10px 50px;
    margin: 30px auto;
}

.post-featured-img img {
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 30px;
    object-fit: cover;
}

.content-block {
    padding: 10px;
    margin: 50px 0px;
}

.post-title {
    text-align: center;;
}

.post-content {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.8;
    color: var(--color-white);
    font-family: 'Sofia Pro', sans-serif;
    justify-content: center;
}


.stellavitae-form .nf-before-form-content {
    display: none;
}

.stellavitae-form .nf-field-element textarea {
    height: 100px;
}

.stellavitae-form .field-wrap input[type=submit] {
    color: var(--e-global-color-secondary);
}

.stellavitae-form .field-wrap input[type=submit]:hover {
    color: var(--e-global-color-accent);
}

.blog-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: flex-start;
}

.page-content a.blog-card {
    text-decoration: none;
}

.blog-card {
    display: inline-block;
    background: var(--e-global-color-76e316e);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    box-sizing: border-box;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 15px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin: 0 0 10px;
    font-weight: bold;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--e-global-color-76af225);
    margin: 0;
}

@media (max-width: 768px) {
    .blog-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .single-post-wrapper {
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    .single-post-wrapper {
        padding: 10px 10px;
    }
}