/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/* Related posts GP24H */
.gp24h-related-posts {
	margin: 36px 0 0;
	padding: 0 18px 28px;
	border: 0 !important;
	background: transparent;
	box-shadow: none !important;
}

.gp24h-related-title {
	margin: 0 0 20px;
	padding: 0;
	border: 0 !important;
	font-size: 22px;
	font-weight: 700;
	color: #111;
}

.gp24h-related-list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 26px 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.gp24h-related-item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	float: none !important;
	width: auto !important;
}

.gp24h-related-link {
	display: block;
	text-decoration: none;
}

.gp24h-related-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: #f3f4f6;
}

.gp24h-related-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.gp24h-related-post-title {
	display: -webkit-box;
	margin: 11px 0 0;
	padding: 0 2px;
	overflow: hidden;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	color: #111;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.gp24h-related-link:hover .gp24h-related-post-title {
	color: #0b8ed9;
}

/* Mobile */
@media (max-width: 549px) {
	.gp24h-related-posts {
		padding: 0 10px 24px;
	}

	.gp24h-related-list {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 20px 12px !important;
	}

	.gp24h-related-title {
		margin-bottom: 16px;
		font-size: 19px;
	}

	.gp24h-related-post-title {
		margin-top: 8px;
		font-size: 14px;
		line-height: 1.4;
	}
}
/* =========================================================
   FORCE FIX - ROTARY BLOG ARCHIVE NEW HTML
   Ép layout 2 cột cho code archive-list.php mới
========================================================= */

/* Container chính */
body .rotary-blog-archive {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 32px 16px 56px !important;
    box-sizing: border-box !important;
}

/* Ép khu vực top thành 2 cột */
body .rotary-blog-archive > .rotary-blog-top {
    display: grid !important;
    grid-template-columns: minmax(0, 56%) minmax(0, 44%) !important;
    gap: 34px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 44px 0 !important;
}

/* 2 cột con */
body .rotary-blog-archive > .rotary-blog-top > .rotary-blog-featured,
body .rotary-blog-archive > .rotary-blog-top > .rotary-blog-side {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
}

/* Cột phải chứa bài nhỏ */
body .rotary-blog-archive > .rotary-blog-top > .rotary-blog-side {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

/* Reset article */
body .rotary-blog-archive .rotary-post-item {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Ảnh base */
body .rotary-blog-archive .rotary-post-thumb {
    display: block !important;
    overflow: hidden !important;
    background: #f4f5f8 !important;
    line-height: 0 !important;
}

body .rotary-blog-archive .rotary-post-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Bài featured bên trái */
body .rotary-blog-archive .rotary-post-item.is-featured {
    display: block !important;
}

body .rotary-blog-archive .rotary-post-item.is-featured .rotary-post-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
}

body .rotary-blog-archive .rotary-post-item.is-featured .rotary-post-thumb img {
    border-radius: 14px !important;
}

body .rotary-blog-archive .rotary-post-item.is-featured .rotary-post-title {
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

body .rotary-blog-archive .rotary-post-item.is-featured .rotary-post-excerpt {
    margin: 0 !important;
    color: #6B6F82 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* Bài nhỏ bên phải */
body .rotary-blog-archive .rotary-post-item.is-small {
    display: grid !important;
    grid-template-columns: 130px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    width: 100% !important;
}

body .rotary-blog-archive .rotary-post-item.is-small .rotary-post-thumb {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 86px !important;
    border-radius: 10px !important;
    margin: 0 !important;
}

body .rotary-blog-archive .rotary-post-item.is-small .rotary-post-thumb img {
    border-radius: 10px !important;
}

body .rotary-blog-archive .rotary-post-item.is-small .rotary-post-content {
    min-width: 0 !important;
    width: auto !important;
}

body .rotary-blog-archive .rotary-post-item.is-small .rotary-post-title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body .rotary-blog-archive .rotary-post-item.is-small .rotary-post-excerpt {
    margin: 0 !important;
    color: #6B6F82 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Danh sách dưới */
body .rotary-blog-archive .rotary-blog-list {
    width: 100% !important;
    margin: 0 !important;
}

body .rotary-blog-archive .rotary-post-item.is-list {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 18px 0 !important;
    border-top: 1px solid #EEF0F4 !important;
}

body .rotary-blog-archive .rotary-post-item.is-list .rotary-post-thumb {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 100px !important;
    border-radius: 10px !important;
}

body .rotary-blog-archive .rotary-post-item.is-list .rotary-post-title {
    margin: 0 0 6px !important;
    color: #111 !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

body .rotary-blog-archive .rotary-post-item.is-list .rotary-post-excerpt {
    margin: 0 !important;
    color: #6B6F82 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

/* Link */
body .rotary-blog-archive .rotary-post-title a {
    color: inherit !important;
    text-decoration: none !important;
}

body .rotary-blog-archive .rotary-post-item:hover .rotary-post-title a {
    color: #30318F !important;
}

/* Mobile */
@media (max-width: 849px) {
    body .rotary-blog-archive > .rotary-blog-top {
        display: block !important;
    }

    body .rotary-blog-archive > .rotary-blog-top > .rotary-blog-featured {
        margin-bottom: 24px !important;
    }

    body .rotary-blog-archive .rotary-post-item.is-list {
        grid-template-columns: 115px minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    body .rotary-blog-archive .rotary-post-item.is-list .rotary-post-thumb {
        width: 115px !important;
        min-width: 115px !important;
        max-width: 115px !important;
        height: 78px !important;
    }
}

@media (max-width: 549px) {
    body .rotary-blog-archive .rotary-post-item.is-small,
    body .rotary-blog-archive .rotary-post-item.is-list {
        grid-template-columns: 105px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body .rotary-blog-archive .rotary-post-item.is-small .rotary-post-thumb,
    body .rotary-blog-archive .rotary-post-item.is-list .rotary-post-thumb {
        width: 105px !important;
        min-width: 105px !important;
        max-width: 105px !important;
        height: 74px !important;
    }

    body .rotary-blog-archive .rotary-post-item.is-small .rotary-post-excerpt,
    body .rotary-blog-archive .rotary-post-item.is-list .rotary-post-excerpt {
        display: none !important;
    }
}
.rc-blog-hero {
    position: relative;
    min-height: 320px;
    margin-bottom: 46px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(24, 26, 94, 0.72), rgba(48, 49, 143, 0.42), rgba(255,255,255,0.05)),
        url('/wp-content/uploads/2026/06/banner-blog-rotary-ceramic-kien-thuc-gach-op-lat.webp');
    background-size: cover;
    background-position: center;
}

.rc-blog-hero-inner {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    color: #fff;
}

.rc-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rc-blog-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: #ED1824;
    border-radius: 99px;
}

.rc-blog-hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.rc-blog-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 849px) {
    .rc-blog-hero {
        min-height: 260px;
        margin-bottom: 32px;
    }

    .rc-blog-hero p {
        font-size: 15px;
    }
}

/* Mobile nh? */
@media (max-width: 360px) {
	.gp24h-related-list {
		grid-template-columns: 1fr !important;
	}
}
/*************** ADD CUSTOM CSS HERE.   ***************/


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


}