/*
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.   ***************/
 .section-top .flickity-slider {
  counter-reset: item;
}
.section-top .gallery-col.col::marker {
  content: counter(item);
}
/* lớp bóng phía sau */
.section-top .gallery-col.col::after {
  content: counter(item);
  position: absolute;
  bottom: -29px;   /* lệch xuống */
  left: -9px;  /* lệch qua */
  z-index: 8;

  font-size: 100px;
  font-weight: bold;
  font-style: italic;
  letter-spacing: 7px;

  color: rgba(0,0,0,0.35); /* màu bóng */
  filter: blur(2px);
}

/* lớp chính */
.section-top .gallery-col.col::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    bottom: -25px;
    left: -5px;
    z-index: 9;
    font-size: 100px;
    font-weight: bold;
    font-style: italic;
    background: linear-gradient(98deg, rgb(210, 153, 86) 55%, #eac261 64%, #d29a60 70%, rgb(195, 135, 65) 75% 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 2px transparent;
    color: transparent;
}

.section-top .box-image, .section-game .box-image, .section-game .img-inner {
	    border-radius: 15px;
    border: 1px solid rgb(255 255 255);
    box-shadow: 0 2px 8px #58483733;
}

.bonus-text {
	font-size: 12px;
}
     .enhanced-review-wrapper {
        margin: 30px 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
    
    .enhanced-review-wrapper * {
        box-sizing: border-box;
    }
    
    /* ==================== GRID LAYOUT ==================== */
    .review-display-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .review-display-grid.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-display-grid.columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .review-display-grid.columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    
    /* ==================== CARD STYLES ==================== */
    .review-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .review-card:hover .review-thumbnail img {
        transform: scale(1.05);
    }
    
    .review-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .review-thumbnail:hover .review-overlay {
        opacity: 1;
    }
    
    .overlay-text {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .review-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .review-title {
        margin: 0 0 12px 0;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.4;
    }
    
    .review-title a {
        color: #2c3e50;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .review-title a:hover {
        color: #0ccb3b;
    }
    
    /* ==================== RATING STYLES ==================== */
    .review-rating-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .review-rating-stars {
        position: relative;
        display: inline-block;
        font-size: 18px;
        line-height: 1;
    }
    
    .stars-empty {
        color: #ddd;
    }
    
    .stars-filled {
        position: absolute;
        top: 0;
        left: 0;
        color: #ffc107;
        overflow: hidden;
        width: var(--rating, 0%);
    }
    
    .review-rating-number {
        font-size: 14px;
        font-weight: 600;
        color: #666;
    }
    
    .review-rating-number strong {
        color: #2c3e50;
        font-size: 16px;
    }
    
    /* ==================== BONUS STYLES ==================== */
    .review-bonus {
        background: linear-gradient(135deg, #fff5e6 0%, #ffe0b2 100%);
        padding: 10px 12px;
        border-radius: 8px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #e65100;
        border: 1px solid #ffcc80;
    }
    
    .bonus-icon {
        font-size: 16px;
    }
    
    .bonus-text {
        font-weight: 500;
        flex: 1;
    }
    
    /* ==================== BUTTON STYLES ==================== */
    .review-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: auto;
    }
    
    .btn {
        display: inline-block;
        padding: 12px 20px;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }
    
    .btn-primary {
    background: linear-gradient(to bottom, #a50022, #f10038);
    transform: translateY(-2px);
    color: white;
}
    
    .btn-primary:hover {
        box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
		color: white;
        transform: translateY(-2px);
    }
    
    .btn-secondary {
        transform: translateY(-2px);
    	background: linear-gradient(to bottom, #070606, #827878);
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 166, 255, 0.3);
    }
    
    .btn-secondary:hover {
        box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
		color: white;
        transform: translateY(-2px);
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* ==================== LIST LAYOUT ==================== */
    .review-display-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .review-list-item {
        display: flex;
        gap: 15px;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    
    .review-list-item:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        transform: translateX(4px);
    }
    
    .review-index {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #00a6ff;
        border-radius: 12px;
        color: #fff;
        font-weight: 700;
        font-size: 20px;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    .review-list-content {
        flex: 1;
        display: flex;
        gap: 20px;
    }
    
    .review-list-item .review-thumbnail {
        flex-shrink: 0;
        width: 150px;
        height: 150px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .review-list-item .review-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
		border-radius: 10px;
    }
    
    .review-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .review-pros-cons {
        display: flex;
        gap: 20px;
    }
    
    .review-pros,
    .review-cons {
        flex: 1;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .review-pros li {
        color: #2e7d32;
        font-size: 13px;
        line-height: 1.5;
		margin: 0;
    }
    
    .review-cons li {
        color: #c62828;
        font-size: 13px;
        padding: 4px 0;
        line-height: 1.5;
    }
    
    .review-list-item .review-actions {
        flex-shrink: 0;
        width: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }
    
    .review-list-item .review-bonus {
        margin-bottom: 0;
        font-size: 12px;
        padding: 8px 10px;
    }
    
    @media (max-width: 768px) {
        .review-list-content {
            flex-direction: column;
        }
        
        .review-list-item .review-thumbnail {
            width: 100%;
            height: 200px;
        }
        
        .review-list-item .review-actions {
            width: 100%;
        }
        
        .review-pros-cons {
            flex-direction: column;
        }
    }
    
    /* ==================== CAROUSEL LAYOUT ==================== */
    .review-display-carousel {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 10px 0;
        scrollbar-width: thin;
        scrollbar-color: #0ccb3b #f0f0f0;
    }
    
    .review-display-carousel::-webkit-scrollbar {
        height: 8px;
    }
    
    .review-display-carousel::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 4px;
    }
    
    .review-display-carousel::-webkit-scrollbar-thumb {
        background: #0ccb3b;
        border-radius: 4px;
    }
    
    .review-carousel-item {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }
    
    .review-carousel-item .review-card {
        height: 100%;
    }
    
    .review-carousel-item .review-thumbnail {
        padding-top: 65%;
    }
    
    .review-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 193, 7, 0.95);
        color: #fff;
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .badge-star {
        font-size: 16px;
    }
    
    .review-bonus-small {
        font-size: 12px;
        color: #e65100;
        padding: 6px 0;
        margin-bottom: 10px;
    }
    
    .review-carousel-item .review-pros {
        list-style: none;
        padding: 0;
        margin: 0 0 12px 0;
        font-size: 13px;
    }
    
    .review-carousel-item .review-pros li {
        color: #2e7d32;
        padding: 3px 0;
    }
    
    /* ==================== NO RESULTS ==================== */
    .no-reviews-found {
        text-align: center;
        padding: 40px 20px;
        color: #666;
        font-size: 16px;
        background: #f5f5f5;
        border-radius: 8px;
    }
    
    /* ==================== ANIMATIONS ==================== */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .review-grid-item,
    .review-list-item,
    .review-carousel-item {
        animation: fadeIn 0.5s ease forwards;
    }
    
    .review-grid-item:nth-child(1),
    .review-list-item:nth-child(1) { animation-delay: 0.1s; }
    .review-grid-item:nth-child(2),
    .review-list-item:nth-child(2) { animation-delay: 0.2s; }
    .review-grid-item:nth-child(3),
    .review-list-item:nth-child(3) { animation-delay: 0.3s; }
    .review-grid-item:nth-child(4),
    .review-list-item:nth-child(4) { animation-delay: 0.4s; }


    @media (max-width: 1024px) {
        .review-display-grid.columns-4 {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .review-display-grid.columns-3,
        .review-display-grid.columns-4 {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 480px) {
        .review-display-grid {
            grid-template-columns: 1fr;
			gap: 10px;
        }
		
		.review-content {
			padding: 10px;
		}
		
		.review-title {
		font-size: 16px;
			line-height: 22px;
		}
		
		.review-index {
			    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 9;
			width: 40px;
			height: 40px;
			font-size: 17px;
		}
    }
.taxonomy-description {
	text-align: left;
}

.menu-item svg {
	height: 19px;
	width: 19px;
	margin-top: -2px;
}

.header-bottom .menu-item svg path {
	fill: white;
}

.header-bottom .menu-item:hover svg path {
	fill: #00a6ff;
}

.nav>.menu-item {
	padding: 0 8px;
	margin: 0;
    border-radius: 100px;
}

.header-bottom .nav>.menu-item:hover {
    background: white;
}

.header-bottom .nav>.menu-item:hover a {
    color: #00a6ff !important;
}

header#header {
    border-radius: 0px 0px 50px 50px;
    border-width: 0px 5px 5px;
}

.header-bottom-nav > li > a {
    font-weight: bold;
}

.header-bottom {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.header-button-1 a {
	padding: 7px 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-style: italic;
	background: linear-gradient(to bottom, #070606, #827878);
}

.header-button-2 a {
	padding: 7px 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-style: italic;
	background: linear-gradient(to bottom, #a50022, #f10038);
}

.header-wrapper.stuck {
	box-shadow: none;
	border-radius: 0px 0px 50px 50px;
    border-width: 0px 5px 5px;
}

.header-bottom, .header-bg-color {
    border-radius: 0px 0px 50px 50px;
}

.textcontent-scrollbox {
    padding: 25px 20px;
    border-radius: 18px;
	background-color: white;
}

.textcontent-scrollbox .col-inner {
	max-height: 400px;
    overflow-y: auto;
}

.textcontent-scrollbox .col-inner::-webkit-scrollbar {
    width: 5px; /* độ rộng thanh */
}

.textcontent-scrollbox .col-inner::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.textcontent-scrollbox .col-inner::-webkit-scrollbar-track {
    background: transparent;
}

.banner.is-selected .banner-bg {
	transform: scale(1.15);
	    margin-top: 3% !important;
}

.banner.is-selected {
	z-index: 999;
}

.banner, .banner-bg {
	border-radius: 10px;
}

.flickity-page-dots {
	margin-bottom: 15px;
}

strong, b {
	font-weight: bold;
}

.section-title-normal span {
    padding-left: 0;
    font-weight: 700;
    position: relative;
    color: #222;
    border: none;
    text-transform: inherit;
    font-size: 22px;
    font-style: italic;
}

.section-title-normal {
	border: none;
	margin-bottom: 0;
}

.section-title-container {
	margin-bottom: 10px;
}

.section-banner .col {
	padding-bottom: 0;
}

.section-banner .banner {
	margin-top: 0 !important;
}

.section-banner .banner-inner {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    border: 1px solid #ffffff;
    border-radius: 10px;
}

.section-banner a.button {
	    padding: 7px 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-style: italic;
    background: linear-gradient(to bottom, #a50022, #f10038);
}


.section-footer-3 {
	padding: 40px 0 40px !important;
}

.section-footer-3 .col {
	padding-bottom: 0;
}

.section-footer-3 a span {
    color: #b4a9a9 !important;
    text-transform: initial;
    font-weight: normal;
    letter-spacing: normal;
    font-size: 14px;
}

.section-footer-3 p {
    color: #b4a9a9 !important;
}

.section-footer-3 a.button {
	padding: 0;
	margin: 0;
}

.section-footer-3 .section-title-normal span {
	font-size: 16px;
	font-style: normal;
}

.section-footer-3 .ux-menu-link__link {
	border: none;
}

.absolute-footer {
    padding: 15px 0 0 !important;
	font-size: 12.5px;
}

.absolute-footer p {
	margin-bottom: 5px;
	color: #635b5b;
}

#footer .text-title {
	font-size: 12.5px;
	font-weight: bold;
	color: #666;
}

.taxonomy-description {
    max-height: 400px;
    overflow-y: auto;
    background: white;
    padding: 20px;
    border-radius: 20px;
	margin: 20px 0;
}

.taxonomy-description::-webkit-scrollbar {
    width: 5px;
}

.taxonomy-description::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.taxonomy-description::-webkit-scrollbar-track {
    background: transparent;
}

.blog-archive .large-10 {
	flex-basis: 100%;
    max-width: 100%;
}

.post-item>.col-inner  {
    background: white;
    border-radius: 20px;
}

.post-item>.col-inner .box-text {
    padding: 20px 10px;
}

.post-item>.col-inner img {
	border-radius: 20px 20px 0 0;
}

.blog-single article {
	background-color: white;
	padding: 40px;
	border-radius: 20px;
}

.blog-single .post-sidebar {
	padding-left: 0;
}

.recent-blog-posts-li .badge-inner {
	border-radius: 5px;
}

.post_comments {
	display: none;
}

.recent-blog-posts-li {
    background-color: white;
    padding: 7px;
    border-radius: 5px;
	margin-bottom: 8px !important;
}

.recent-blog-posts a {
	font-size: 14px;
	margin-bottom: 0;
	margin-bottom: 6px;
	color: #333 !important;
}

.tp-cat-list li {
    list-style: none;
    background: #f1f1f1;
    padding: 5px 15px;
    border-radius: 100px;
    font-size: 12.5px;
}

.tp-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
#masthead {
    border-radius: 0 0 50px 50px;
}

	.flickity-enabled.is-draggable .flickity-viewport {
    height: 150px !important;
}

	.section-new-content {
		padding: 0 10px;
	}
	
	.textcontent-scrollbox .accordion-inner {
    padding: 20px 0;
}
	.section-footer-1 .col {
    padding-bottom: 20px;
}
	
	.section-footer-3 a span {
    font-size: 12.5px;
}
	
}