/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.hpp-related-posts-container {
    margin: 40px 0;
    clear: both;
}

.hpp-related-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 12px;
    text-align: center;
}


/* Bao bọc Slider */
.gtv-related-swiper {
    padding: 20px 40px 50px 40px !important; /* Tạo không gian cho mũi tên 2 bên và dấu chấm ở dưới */
    position: relative;
}

/* Thẻ bài viết (Card) */
.gtv-post-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    height: 100%; /* Cân bằng chiều cao các slide */
}

/* Ảnh đại diện */
.gtv-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Nội dung bên dưới */
.gtv-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gtv-post-category {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gtv-post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.gtv-post-title a {
    color: #222;
    text-decoration: none;
}

.gtv-post-meta {
    margin-top: auto;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

.gtv-author {
    color: #4a72d3;
    font-weight: 500;
}

.gtv-date {
    color: #888;
}

/* --- Tùy chỉnh Nút bấm & Mũi tên --- */
.gtv-nav-next, .gtv-nav-prev {
    color: #ff4d4f !important; /* Đổi màu mũi tên (màu đỏ nhạt giống mẫu) */
    transform: scale(0.6); /* Thu nhỏ mũi tên */
}

.gtv-nav-next { right: 0 !important; }
.gtv-nav-prev { left: 0 !important; }

/* Tùy chỉnh dấu chấm */
.swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
    background: #333 !important; /* Dấu chấm đang active màu đậm */
    opacity: 1 !important;
}