﻿.blogX-section {
    padding: 50px 0;
    background: #f4f7fb;
    font-family: Arial, sans-serif;
}

.blogX-container {
    width: 90%;
    margin: auto;
}

.blogX-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blogX-col {
    width: 23%;
}

/* Card */
.blogX-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* box-shadow: 0 6px 18px rgba(0,0,0,0.08); */
}

    .blogX-card:hover {
        /* transform: translateY(-8px); */
        /* box-shadow: 0 12px 30px rgba(0,0,0,0.15); */
    }

/* Image */
.blogX-imgBox {
    position: relative;
}

    .blogX-imgBox img {
        width: 100%;
        display: block;
    }

/* Date Badge */
.blogX-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ff5a5f;
    color: #fff;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Content */
.blogX-content {
    padding: 15px;
}

.blogX-title {
    font-size: 17px;
    margin-bottom: 10px;
}

    .blogX-title a {
        text-decoration: none;
        color: #222;
        transition: 0.3s;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        overflow: hidden;
    }

        .blogX-title a:hover {
            color: green;
        }

.blogX-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Read More */
.blogX-readMore {
    font-size: 14px;
    color: green;
    text-decoration: none;
    font-weight: bold;
}

    .blogX-readMore:hover {
    }

/* Responsive */
@media (max-width: 992px) {
    .blogX-col {
        width: 48%;
    }
}

@media (max-width: 600px) {
    .blogX-col {
        width: 100%;
    }
}

.blogX-detail-section ul {
    padding-left: 1rem;
    list-style: circle;
}

    .blogX-detail-section ul li {
        list-style: circle;
        text-align: left;
    }

.blogX-detail-section {
    padding: 50px 0;
    background: #f4f7fb;
}

.blogX-detail-container {
    width: 90%;
    margin: auto;
}

.blogX-detail-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    text-align: justify;
}


.blogX-detail-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}



.blogX-detail-content {
    padding: 20px;
}

.blogX-detail-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.blogX-detail-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
    text-align: left;
    font-weight: 400;
}

.blogX-detail-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.blogX-quote {
    background: #fff3f3;
    border-left: 4px solid #ff5a5f;
    padding: 15px;
    font-style: italic;
    margin: 20px 0;
}


.blogX-widget {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .blogX-widget h4 {
        margin-bottom: 10px;
    }

.blogX-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.blogX-list {
    list-style: none;
    padding: 0;
}

    .blogX-list li {
        margin-bottom: 8px;
    }

    .blogX-list a {
        text-decoration: none;
        color: #333;
    }

        .blogX-list a:hover {
            color: #ff5a5f;
        }

/* Comments */
.blogX-comments {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.blogX-comment {
    margin-bottom: 15px;
}

    .blogX-comment strong {
        display: block;
        margin-bottom: 5px;
    }

.blogX-detail-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    float: left;
    margin: 1.5rem;
    border-radius: 20px;
}
/* Responsive */
@media (max-width: 992px) {
    .blogX-detail-main {
        width: 100%;
    }

    .blogX-detail-sidebar {
        width: 100%;
    }

    .blogX-detail-image {
        width: 100%;
        height: auto;
        max-width: 600px;
        float: none;
        margin: 0 0 0 0;
        border-radius: 0;
    }
}

.blogX-faq {
    margin-top: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.blogX-faq-title {
    margin-bottom: 15px;
    font-size: 22px;
}

.blogX-faq-item {
    border-bottom: 1px solid #eee;
}

.blogX-faq-question {
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .blogX-faq-question span {
        font-size: 20px;
        color: #ff5a5f;
    }

.blogX-faq-answer {
    display: none;
    padding: 0 15px 15px;
    color: #555;
    font-size: 14px;
}

/* Active State */
.blogX-faq-item.active .blogX-faq-answer {
    display: block;
}

.blogX-faq-item.active .blogX-faq-question span {
    content: "-";
}
