/*
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.   ***************/

.yt-video-all {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.yt-wrap-out {
	width: 49%;
	margin-bottom: 20px;
}
.yt-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* ITEM */
.news-item {
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow .3s ease;
}

.news-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

/* IMAGE */
.news-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.news-item h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 15px;
}

.news-item h3 a {
    color: #333;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: #c00; /* Flatsome red */
}

.news-item .excerpt {
    font-size: 14px;
    color: #777;
    margin: 0 15px 15px;
    line-height: 1.6;
}

/* PAGINATION */
.page-numbers {
    display: inline-flex;
    margin: 0 4px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
}

.page-numbers.current {
    background: #000;
    color: #fff;
    border-color: #000;
}

.page-numbers:hover {
    background: #f5f5f5;
}
.news-shortcode {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item-ft {
    display: flex;
    align-items: center;
    gap: 15px;
}
.news-item-ft a {
    display: flex;
    gap: 10px;
    align-items: center;
}

.news-item-ft .news-thumb {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.news-item-ft .news-thumb img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.news-item-ft .news-title {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    font-weight: normal;
}


/* RESPONSIVE */
@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
	.yt-video-all {
		padding: 0 10px;
	}
	.yt-wrap-out {
		width: 100%;
	}
}

@media (max-width: 549px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item img {
        height: 200px;
    }
}

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


}