/* =========================================
   Blog Single Property Page
   ========================================= */

.refistav-single {
    width: 100%;
}

.refistav-single__container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.refistav-blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.refistav-blog-header h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--refistav-text);
}

.refistav-blog-meta {
    color: #8892b0;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.refistav-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.refistav-blog-featured-image {
    margin: 0 auto 50px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    max-width: 1000px;
}

.refistav-blog-featured-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.refistav-blog-featured-image:hover img {
    transform: scale(1.02);
}

.refistav-blog-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

.refistav-blog-content h2, 
.refistav-blog-content h3 {
    color: var(--refistav-text);
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.refistav-blog-content p {
    margin-bottom: 1.5em;
}

.refistav-blog-content blockquote {
    border-left: 4px solid var(--refistav-primary);
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #333;
    background: #f8fafc;
    padding: 20px 30px;
    border-radius: 0 12px 12px 0;
}

.refistav-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.refistav-blog-footer {
    max-width: 800px;
    margin: 60px auto 30px;
    padding-top: 40px;
    border-top: 1px solid var(--refistav-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .refistav-single__container {
        padding: 0 16px;
    }

    .refistav-blog-header {
        margin-bottom: 24px;
    }

    .refistav-blog-header h1 {
        font-size: 2rem;
    }

    .refistav-blog-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 0.9rem;
    }

    .refistav-blog-featured-image {
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .refistav-blog-featured-image img {
        max-height: 350px;
    }

    .refistav-blog-content {
        font-size: 1.05rem;
        padding: 0 4px;
    }

    .refistav-blog-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        margin-top: 40px;
        padding-top: 24px;
    }
}

@media (max-width: 480px) {
    .refistav-single__container {
        padding: 0 12px;
    }

    .refistav-blog-header h1 {
        font-size: 1.6rem;
    }

    .refistav-blog-featured-image {
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .refistav-blog-featured-image img {
        max-height: 250px;
    }

    .refistav-blog-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .refistav-blog-content blockquote {
        padding: 14px 18px;
        margin: 1.5em 0;
    }
}
