/*!
Theme Name: Quiet Blog
Theme URI: https://www.kantipurthemes.com/downloads/quiet-blog
Author: Kantipur Themes
Author URI: https://www.kantipurthemes.com/
Description: Quiet Blog is a simple, clean and responsive WordPress blog theme built by Kantipur Themes. This theme is perfect for youtube bloggers, travel blog, food blog, fashion blog and writers who need to create personal blog site with simple creative features and effects to make readers feel the pleasure of reading blog posts and articles.
Version: 1.0
Requires at least: 5.1
Requires PHP: 5.6
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: cube-blog
Text Domain: quiet-blog
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, custom-header, blog, entertainment, portfolio

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Quiet Blog  is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
body {
	font-weight: 400;
	font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none !important;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
}
.site-title {
    font-weight: 1000;
	font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
    color: #b80101;
    font-size: 30pt;
    text-align: center;
    text-transform: uppercase;
}
.site-description {
    font-weight: 400;
	font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 300;
    font-size: 18pt;
    margin: 10px 0;
    text-align: center;
}
.navigation-menu a {
	font-weight: 400;
	font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif;
}
.custom-row {
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}
[class*="custom-col-"] {
	padding: 0 10px;
	position: relative;
	width: 100%;
}
.section-feature-posts-one-area {
    margin-bottom: 25px;
}
.blog-archive .post .blog-post-item {
	padding: 0;
}
.blog-archive .post .entry-container {
	padding: 20px;
}
/*.blog-archive .post .featured-image {
	margin-bottom: 0; 

    margin-bottom: 0;
	width: 100%;
	aspect-ratio: 16 / 9; 
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}*/

.blog-archive .post .featured-image {
	margin-bottom: 0;
	width: 100%;
	aspect-ratio: 1 / 2; /* hoặc bỏ đi nếu không cần giữ tỷ lệ */
	background-size: cover;
	background-position: center top; /* quan trọng: góc trên bên trái */
	background-repeat: no-repeat;
}

/*CSS trong selector .blog-archive .post .featured-image chỉ áp dụng cho homepage và category*/
body.home .blog-archive .post .featured-image,
body.category .blog-archive .post .featured-image,
body.tag .blog-archive .post .featured-image {
    max-height: 300px;
}



.blog-archive .post .featured-post-item-inner {
    position: relative;
}
.blog-archive .post .featured-image a {
	display: inline-block;
}
.blog-archive .post .cat-links {
    font-size: 0;
	margin-bottom: 0;
}
body.search .blog-archive .post:not(.has-no-thumbnail) .cat-links {
    position: relative;
    bottom: 10px;
    left: 10px;
    z-index: 1;
}
.blog-archive .post:not(.has-no-thumbnail) .cat-links {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
}
.blog-archive .post .cat-links a {
    display: inline-block;
    background: linear-gradient(135deg, #ffaf4d, #ff7e5f);
    color: #1a1a1a;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.7px;
    padding: 6px 12px;
    margin: 3px 6px 3px 0;
    border-radius: 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.blog-archive .post .cat-links a:hover,
.blog-archive .post .cat-links a:focus {
    background: linear-gradient(135deg, #ffd580, #ff9c2a);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.blog-archive .post .blog-post-item .entry-content {
	margin-bottom: 0;
}
.blog-archive .post.has-no-thumbnail .blog-post-item {
    padding: 20px;
}
.blog-archive .post.has-no-thumbnail .entry-container {
    padding: 20px 0 0;
}
.feature-posts-content-wrap {
	margin-bottom: 20px;
}
.section-feature-posts-one-area .feature-posts-image {
    background-color: #cccccc;
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
    z-index: 1;
}
.section-feature-posts-one-area .feature-posts-image {
	background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.section-feature-posts-one-area .feature-posts-image {
	-webkit-align-items: flex-end;
    -moz-align-items: flex-end;
    -ms-align-items: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
}
.section-feature-posts-one-area .feature-posts-image {
	height: 260px;
}
.section-feature-posts-one-area .feature-big-posts .feature-posts-image {
	height: 540px;
}
.section-feature-posts-one-area .feature-posts-image:before {
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    position: absolute;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 1;
}
.section-feature-posts-one-area .feature-posts-content {
	padding: 0 20px 20px;
    position: relative;
    width: 100%;
    z-index: 2;
}
.section-feature-posts-one-area .feature-posts-content .cat-links {
	display: inline-block;
	margin-bottom: 15px;
}
.section-feature-posts-one-area .feature-posts-content .cat-links a {
	background-color: #2962ff;
	color: #FFFFFF;
    letter-spacing: 0.8px;
    line-height: 1;
	padding: 5px;
	margin: 2px;
    transition: all 0.4s ease-out 0s;
}
.section-feature-posts-one-area .feature-posts-content .cat-links a:hover,
.section-feature-posts-one-area .feature-posts-content .cat-links a:focus {
    background-color: #000;
    color: #FFF;
}
.section-feature-posts-one-area .feature-posts-content .feature-posts-title {
	font-size: 20px;
    line-height: 1.2;
    margin-bottom: 12px;
}
.section-feature-posts-one-area .feature-posts-content .feature-posts-title a{
	text-decoration: none;
	color: #FFFFFF;
    transition: all 0.4s ease-out 0s;
}
.section-feature-posts-one-area .feature-posts-content .feature-posts-title a:hover,
.section-feature-posts-one-area .feature-posts-content .feature-posts-title a:focus {
    color: #2962ff;
}
.section-feature-posts-one-area .feature-posts-content .entry-meta a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.4s ease-out 0s;
}
.section-feature-posts-one-area .feature-posts-content .entry-meta a:hover,
.section-feature-posts-one-area .feature-posts-content .entry-meta a:focus {
    color: #2962ff;
}
.section-feature-posts-one-area .feature-posts-content .entry-meta a {
    margin-left: -80px;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.btn:hover,
.btn:focus,
.reply a:hover,
.reply a:focus,
button:active, 
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus,
.wp-block-search__button:focus,
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus,
.widget_search input[type="submit"],
.wp-block-tag-cloud a:hover,
.wp-block-tag-cloud a:focus,
#wp-custom-header-video-button.wp-custom-header-video-pause:after,
.wp-block-search__button,
#footer-widgets .widget-title:after,
.to-top {
    background-color: #2962ff;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn,
.reply a,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus,
.wp-block-tag-cloud a:hover,
.wp-block-tag-cloud a:focus,
#wp-custom-header-video-button:before,
#wp-custom-header-video-button.wp-custom-header-video-pause:after,
.navigation-menu .nav-menu > li:hover,
.navigation-menu .nav-menu > li.current-menu-item,
#masthead .nav-menu ul.sub-menu {
    border-color: #2962ff;
}

.navigation-menu .nav-menu > li > a:hover svg,
.navigation-menu .nav-menu > li > a:focus svg,
.navigation-menu .nav-menu > li:hover > a svg,
.post-navigation .nav-previous a:hover svg,
.post-navigation .nav-previous a:focus svg,
.post-navigation .nav-next a:hover svg,
.post-navigation .nav-next a:focus svg {
    fill: #2962ff;
}

a,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn,
.reply a,
.site-title a:hover,
.site-title a:focus,
.navigation-menu li.current-menu-item > a,
.navigation-menu .nav-menu > li:hover > a,
.navigation-menu .nav-menu > li.focus > a,
.navigation-menu .nav-menu > li > a:hover,
.navigation-menu .nav-menu > li > a:focus,
.navigation-menu a:hover,
.navigation-menu a:focus,
.navigation-menu li:hover > a,
.site-main .comment-navigation a:hover, 
.site-main .posts-navigation a:hover, 
.site-main .post-navigation a:hover,
.site-main .comment-navigation a:focus, 
.site-main .posts-navigation a:focus, 
.site-main .post-navigation a:focus,
#secondary a:hover,
#secondary a:focus,
.error-404.not-found .title,
.cat-links a,
.entry-title a:hover,
.entry-title a:focus,
.posted-on a:hover,
.posted-on a:focus,
.comments-link a:hover,
.comments-link a:focus,
.blog-archive .cat-links a,
.blog-archive .posted-on a:hover,
.blog-archive .byline a:hover,
.blog-archive .posted-on a:focus,
.blog-archive .byline a:focus,
.blog-post-item .entry-meta a:hover,
.blog-post-item .entry-meta a:focus,
.single-post-wrap .entry-footer .tags-links a:hover,
.single-post-wrap .entry-footer .tags-links a:focus,
.logged-in-as a:hover,
.logged-in-as a:focus,
#colophon a:hover,
#colophon a:focus,
.navigation-menu li.current-menu-item > a,
.navigation-menu li.current-menu-item > a,
.navigation-menu .nav-menu > li:hover > a,
.navigation-menu .nav-menu > li.focus > a,
.navigation-menu .nav-menu > li > a:hover,
.navigation-menu .nav-menu > li > a:focus {
    color: #2962ff;
}
@media screen and (min-width: 768px) {
	.custom-col-md-12 {
    	width: 100%;
  	}
  	.custom-col-md-6 {
  		width: 50%;
  	}
}
@media screen and (min-width: 992px) {
	.custom-col-lg-7 {
		width: 58.333333%;
	}
	.custom-col-lg-5 {
	   width: 41.666667%;
	}
}

/*--------------------------------------------------------------
# Trending Posts
--------------------------------------------------------------*/
.section-header {
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
    padding-bottom: 5px;
    position: relative;
}
.section-header .section-title {
    margin-bottom: 0;
    font-size: 20px;
    text-transform: uppercase;
    padding-bottom: 10px;
}
.section-header:after {
    content: "";
    background-color: #2962ff;
    width: 50px;
    height: 4px;
    position: absolute;
    left: 0;
    bottom: -2px;
}
.section-trending-posts {
    margin-bottom: 30px;
}
.section-trending-posts .featured-image {
    /*margin-bottom: 20px;
    background-size: cover;
    background-position: center center;
    padding: 100px 0;

    /*position: relative;
    width: 100%;
    padding-top: 56.25%; 
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    margin-bottom: 20px;*/

    margin-bottom: 20px;
    width: 100%;
    aspect-ratio: 16 / 9; /* hoặc tuỳ chỉnh theo thiết kế: 4/3, 3/2 */
    background-size: cover; /* phủ kín khung, giữ tỷ lệ, crop nếu cần */
    background-position: center center; /* ưu tiên phần giữa ảnh */
    background-repeat: no-repeat;
}
.section-trending-posts .cat-links {
    margin-bottom: 10px;
    display: inline-block;
}
.section-trending-posts .cat-links a {
    background-color: #2962ff;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1;
    padding: 5px 7px;
    margin: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.section-trending-posts .cat-links a:hover,
.section-trending-posts .cat-links a:focus {
    background-color: #000;
}
.section-trending-posts .posted-on a {
    text-decoration: none;
    margin-left: -76px;
    font-size: 14px;
}

/*--------------------------------------------------------------
# Popular Posts
--------------------------------------------------------------*/
.section-popular-posts {
    margin-bottom: 50px;
    background: silver;
    padding: 10px 20px;
}
.section-popular-posts article {
    position: relative;
    display: table;
}
.section-popular-posts .featured-image {
    padding: 0;
    background-size: cover;
    background-position: center center;
    border-radius: 5px;
    margin-bottom: 15px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100px;
    height: 100%;
    display: table-cell;
    background-color: #eee;
}
.section-popular-posts .entry-container {
    width: 100%;
    float: right;
    display: table-cell;
    text-align: left;
    padding-left: 115px;
}
.section-popular-posts .cat-links {
    margin-bottom: 10px;
    display: inline-block;
}
.section-popular-posts .cat-links a {
    background-color: #2962ff;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1;
    padding: 5px 7px;
    margin: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.section-popular-posts .cat-links a:hover,
.section-popular-posts .cat-links a:focus {
    background-color: #000;
}
.section-popular-posts .entry-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}
.section-popular-posts .entry-title a {
    color: #0d1e50;
}
.section-popular-posts .entry-title a:hover,
.section-popular-posts .entry-title a:focus,
.section-popular-posts .posted-on a:hover,
.section-popular-posts .posted-on a:focus {
    color: #2962ff;
}
.section-popular-posts .posted-on a {
    text-decoration: none;
    margin-left: -76px;
    font-size: 14px;
}
.section-popular-posts article:nth-child(1),
.section-popular-posts article:nth-child(2),
.section-popular-posts article:nth-child(3) {
    display: block;
}
.section-popular-posts article:nth-child(1) .featured-image,
.section-popular-posts article:nth-child(2) .featured-image,
.section-popular-posts article:nth-child(3) .featured-image {
    padding: 120px 0;
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}
.section-popular-posts article:nth-child(1) .entry-container,
.section-popular-posts article:nth-child(2) .entry-container,
.section-popular-posts article:nth-child(3) .entry-container {
    float: none;
    display: block;
    padding-left: 0;
}
.section-popular-posts article:nth-child(1) .entry-title,
.section-popular-posts article:nth-child(2) .entry-title,
.section-popular-posts article:nth-child(3) .entry-title {
    font-size: 22px;
}
.post-thumbnail-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 767px) {
    .section-popular-posts .entry-container {
        padding-left: 100px;
    }
}

/*--------------------------------------------------------------
# Top Stories
--------------------------------------------------------------*/
.section-top-stories {
    margin-bottom: 50px;
    background: thistle;
    padding: 10px 20px;
}
.section-top-stories .featured-image {
    margin-bottom: 20px;
    padding: 100px 0;
    background-size: cover;
    background-position: center center;
}
.section-top-stories .cat-links {
    margin-bottom: 10px;
    display: inline-block;
}
.section-top-stories .cat-links a {
    background-color: #2962ff;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1;
    padding: 5px 7px;
    margin: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.section-top-stories .cat-links a:hover,
.section-top-stories .cat-links a:focus {
    background-color: #000;
}
.section-top-stories .posted-on a {
    text-decoration: none;
    margin-left: -76px;
    font-size: 14px;
}

/*--------------------------------------------------------------
# Recent Posts
--------------------------------------------------------------*/
.section-recent-posts {
    margin-bottom: 20px;
}
.section-recent-posts .recent-post-wrap {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    height: 100%;
    background: wheat;
}
.section-recent-posts .featured-image {
    padding: 100px 0;
    background-size: cover;
    background-position: center center;
    border-radius: 5px;
    margin-bottom: 15px;
}
.section-recent-posts article:not(.has-post-thumbnail) .entry-container {
    width: 100%;
    padding: 0;
    display: block;
    float: none;
}
.section-recent-posts .cat-links {
    margin-bottom: 10px;
    display: inline-block;
}
.section-recent-posts .cat-links a {
    background-color: #2962ff;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1;
    padding: 5px 7px;
    margin: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.section-recent-posts .cat-links a:hover,
.section-recent-posts .cat-links a:focus {
    background-color: #000;
}
.section-recent-posts .entry-title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 5px;
}
.section-recent-posts .entry-title a {
    color: #0d1e50;
}
.section-recent-posts .entry-title a:hover,
.section-recent-posts .entry-title a:focus,
.section-recent-posts .posted-on a:hover,
.section-recent-posts .posted-on a:focus {
    color: #2962ff;
}
.section-recent-posts .posted-on a {
    text-decoration: none;
    margin-left: -76px;
    font-size: 14px;
}

@media screen and (min-width: 767px) {
    .section-recent-posts .recent-post-item {
        position: relative;
        display: table;
        width: 100%;
        height: 100%;
    }

    .section-recent-posts .featured-image {
        margin: 0;
        padding: 0;
        width: 50%;
        display: table-cell;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }

    .section-recent-posts .entry-container {
        float: right;
        display: table-cell;
        width: 50%;
        text-align: left;
        padding: 35px 0 35px 25px;
    }
}

/*--------------------------------------------------------------
# Editors Choice
--------------------------------------------------------------*/
.section-header .section-title {
    font-size: 16px;
    margin-bottom: 0;
    color: #fff;
    font-weight: 400;
    display: inline-block;
    text-transform: uppercase;
    background-color: #2962ff;
    line-height: 1;
    padding: 10px 15px;
    border-bottom: 2px solid #fff;
}

.section-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #2962ff;
    padding-bottom: 0;
}

.section-header:after {
    display: none;
}

.section-editors-choice {
    margin-bottom: 30px;
}
.section-editors-choice .editors-choice-item {
    position: relative;
}
.section-editors-choice .featured-image {
    padding: 150px 0;
    background-size: cover;
    background-position: center center;
    background-color: #333;
}
.section-editors-choice .featured-image:before {
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    position: absolute;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 1;
}
.section-editors-choice .entry-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    padding: 20px;
    z-index: 2;
}
.section-editors-choice .cat-links {
    margin-bottom: 10px;
    display: inline-block;
}
.section-editors-choice .cat-links a {
    background-color: #2962ff;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1;
    padding: 5px 7px;
    margin: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.section-editors-choice .cat-links a:hover,
.section-editors-choice .cat-links a:focus {
    background-color: #000;
}
.section-editors-choice .entry-title a {
    color: #fff;
}
.section-editors-choice .posted-on a {
    text-decoration: none;
    margin-left: -76px;
    font-size: 14px;
    color: #fff;
}
.section-editors-choice .entry-title a:hover,
.section-editors-choice .entry-title a:focus,
.section-editors-choice .posted-on a:hover,
.section-editors-choice .posted-on a:focus {
    color: #2962ff;
}

/*--------------------------------------------------------------
# Section Header Layout
--------------------------------------------------------------*/
.section-header {
    border: none;
    margin-bottom: 30px;
}


.section-header .section-title {
    background-color: transparent;
    color: #000;
    display: flex;
    align-items: center;
    position: relative;
    line-height: 1.4;
    font-size: 24px;
    font-weight: bold;
    text-transform: none;
    padding: 0;
    border: none;
}

.section-header .section-title:before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #2962ff;
    margin-right: 7px;
    margin-left: 0;
    display: inline-block;
}

.section-header .section-title:after {
    content: "";
    border: 1px solid #ddd;
    border-width: 1px 0;
    flex-grow: 1;
    height: 4px;
    margin-left: 15px;
}

/*--------------------------------------------------------------
# Headlines Posts
--------------------------------------------------------------*/
.section-headlines-posts {
    margin-bottom: 30px;
}

.section-headlines-posts .headlines-item-wrapper {
    position: relative;
}

.section-headlines-posts .featured-image {
    background-size: cover;
    background-position: center center;
    padding: 250px 0;
    border-radius: 3px;
    background-color: #eee;
}

.section-headlines-posts .entry-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(180deg,rgba(25,27,38,0),rgba(25,27,38,.96));
}

.section-headlines-posts .entry-meta {
    margin-bottom: 10px;
    display: block;
}

.section-headlines-posts .cat-links a {
    background-color: #2962ff;
    color: #fff;
    padding: 5px 10px;
}

.section-headlines-posts .cat-links a:hover,
.section-headlines-posts .cat-links a:focus {
    background-color: #000;
    color: #fff;
}

.section-headlines-posts .entry-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-headlines-posts .posted-on a {
    margin-left: -76px;
}

.section-headlines-posts .entry-title a,
.section-headlines-posts .posted-on a {
    color: #fff;
    text-decoration: none;
}

.section-headlines-posts .entry-title a:hover,
.section-headlines-posts .entry-title a:focus,
.section-headlines-posts .posted-on a:hover,
.section-headlines-posts .posted-on a:focus {
    color: #fff;
    text-decoration: underline;
}

/* Giá ở góc trên bên phải */
.price-tag {
  position: absolute;
  top: 10px;
  right: -40px;
  background: #ff4d4f;
  color: white;
  padding: 6px 50px;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Trạng thái ở góc trên bên trái */
.status-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #4cd137; /* Màu xanh tươi */
  color: #fff;
  padding: 6px 14px;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  z-index: 10;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ====== ribbon ====== */
.uix_green {
  font-size: 12px;
  color: #fff;
  background: #8BC34A;
  border-radius: 4px;
  padding-top: 1px;
  padding-right: 4px;
  padding-bottom: 1px;
  padding-left: 4px;
}
.uix_red {
  font-size: 12px;
  color: #fff;
  background: #FF0000;
  border-radius: 4px;
  padding-top: 1px;
  padding-right: 4px;
  padding-bottom: 1px;
  padding-left: 4px;
}

/* ====== wp_rss_retriever ====== */
/* Cấu trúc danh sách */
.wp_rss_retriever--columns .wp_rss_retriever_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Item */
.wp_rss_retriever--columns .wp_rss_retriever_item {
  width: 220px !important;
  height: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-sizing: border-box;
}

.wp_rss_retriever--columns .wp_rss_retriever_item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Nội dung wrapper */
.wp_rss_retriever--columns .wp_rss_retriever_item_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 16px 12px 16px;
  box-sizing: border-box;
}

/* Ảnh thumbnail */
.wp_rss_retriever--columns .wp_rss_retriever_image {
  display: block;
  width: 100%;
  height: 250px !important;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  margin-bottom: 12px;
  box-sizing: border-box;
  background-color: #eee;
}

/* Ảnh bên trong thumbnail */
.wp_rss_retriever--columns .wp_rss_retriever_image img[class*="portrait"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

/* Tiêu đề */
.wp_rss_retriever--columns .wp_rss_retriever_title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 10px;
  min-height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

/* Metadata: ẩn hoàn toàn */
.wp_rss_retriever--columns .wp_rss_retriever_metadata {
  display: none !important;
}

/* Metadata icon */
.wp_rss_retriever--columns [class*="icon"] {
  width: 14px;
  height: 14px;
  fill: #888;
}

/* Responsive: 5 cột khi ≥769px */
@media (min-width: 769px) {
  .wp_rss_retriever--columns .wp_rss_retriever_item {
    width: calc((100% - 4 * 20px) / 5) !important;
  }
}

/* Responsive: Mobile ≤768px = 2 cột */
@media (max-width: 768px) {
  .wp_rss_retriever--columns .wp_rss_retriever_list {
    gap: 14px;
    justify-content: center;
  }

  .wp_rss_retriever--columns .wp_rss_retriever_item {
    width: calc((100% - 14px) / 2) !important;
    height: 300px;
  }

  .wp_rss_retriever--columns .wp_rss_retriever_image {
    height: 200px !important;
  }

  .wp_rss_retriever--columns .wp_rss_retriever_title {
    font-size: 1rem;
    min-height: 44px;
  }
}
/* ====== wp_rss_retriever ====== */

/* detail post image : chiều ngang 100px, chiều cao tự động, bo tròn góc 3px và cách nhau rõ ràng dễ nhìn*/
/* .wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px; 
}

.wp-block-gallery a img {
	width: 100px;
	height: auto;
	border-radius: 3px;
	display: block;
}
.wp-block-gallery a img:hover {
	transform: scale(1.05);
	transition: transform 0.2s ease;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}*/

/* Container hiển thị ảnh dạng gallery */
.wp-block-gallery {
    margin-top: 6px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 0;
}

/* Ảnh trong gallery */
.wp-block-gallery a {
    flex: 1 1 calc(25% - 12px); /* 4 cột trên desktop */
    max-width: calc(25% - 12px);
}

.wp-block-gallery a img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

/* Hover effect */
.wp-block-gallery a img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Mobile: 2 cột */
@media (max-width: 767px) {
    .wp-block-gallery a {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}


/* Keyframe hiệu ứng xuất hiện */
@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 600px) {
	.wp-block-gallery a img {
		width: 100%;
	}
}

