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

.menu-item svg {
	height: 18px;
	width: 18px;
}

.section-partner .box-image {
	padding: 5px;
}

.section-partner .box-image img {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    background: #fff;
    box-shadow: 0 .02rem .06rem #120b6f33;
    box-sizing: border-box;
    border-radius: 10px;
}

.section-ambassador .icon-box-left {
    align-items: center;
}

.section-ambassador p {
	font-weight: 600;
	font-size: 17px;
	margin-top: 5px;
}

.section-ambassador .icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 10px;
}

.section-banner .banner, .section-banner img {
	border-radius: 20px;
}

.section-game .text-1 {
    font-weight: bold;
    font-size: 30px;
}

.section-game .text-1 p {
    margin-bottom: 10px;
    line-height: 20px;
}

.section-game .large-3 .box-overlay .box-text {
	padding-left: 5px;
	padding-right: 5px;
}

.section-game .box-image,
.section-game img {
	border-radius: 20px;
}

 .section-game .large-3 {
        flex-basis: 20%;
        max-width: 20%;
    }


.section-game .icon-box-left {
    align-items: center;
}

.section-game p {
	font-weight: 600;
	font-size: 17px;
	margin-top: 5px;
}

.section-game .icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 10px;
}

.section-title b {
    background-color: transparent;
}

.header-button-1 a, .header-button-2 a {
	color: black;
	font-weight: 400;
}

.content {
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    word-wrap: break-word;
    border: 1px solid #d2d2d2;
    border-radius: 6px;
    scrollbar-width: thin;
    scrollbar-color: gray transparent;
    background: rgb(255 255 255);
}

#ez-toc-container {
    background: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    display: table;
    margin-bottom: 1em;
    padding: 10px 20px 10px 10px;
    position: relative;
    width: auto;
}

a.btn.btn-primary {
    display: none;
}
.content a {
    color: #f7a41b;
}
.taxonomy-description a {
    color: red;
}

    .row-divided>.col+.col:not(.large-12) {
        border-left: none;
    }


.section-ambassador p {
	font-size: 14px;
}

.section-ambassador strong {
	font-size: 38px;
}

.section-ambassador iframe {
	border-radius: 20px;
}


.section-register .row-item .col-inner {
	    align-items: center;
    background: linear-gradient(0deg, #133bba 0, #133bba00);
    border-radius: 16px;
    box-shadow: none;
    display: flex;
    height: 300px;
    justify-content: center;
    width: 212px;
	padding: 10px;
	margin: 0 auto;
}

.section-register .row-item p {
	font-size: 14px;
}

.section-register .row-image {
	margin-top: -150px;
}
.section-register .row-item {
	margin-top: -30px;
}

.section-register .row-item .col:nth-child(2n+1) {
	margin-top: -50px;
}

.section-footer-1 .ux-menu  a {
	border: none !important;
	font-size: 14px;
}
.image-footer img {
	max-height: 25px;
	width: auto;
}

.image-footer.large-columns-4>.col {
        flex-basis: content;
    }

 .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: #1e1c42;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .review-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        transform: translateY(-4px);
    }
    
.bonus-text {
	font-size: 12px;
}
    
    .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: #e8e8f0;
        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: #444466;
    }
    
    .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: #aab0c6;
    }

    .review-rating-number strong {
        color: #e8e8f0;
        font-size: 16px;
    }
    
    /* ==================== BONUS STYLES ==================== */
    .review-bonus {
        background: linear-gradient(135deg, rgba(230, 81, 0, 0.2) 0%, rgba(255, 152, 0, 0.15) 100%);
        padding: 10px 12px;
        border-radius: 8px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #ffb74d;
        border: 1px solid rgba(255, 152, 0, 0.3);
    }
    
    .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-image: -webkit-linear-gradient(260deg, #0ccb3b, #0ccb3b);
        background-image: linear-gradient(190deg, #0ccb3b, #08a02f);
        color: #fff;
        box-shadow: 0 4px 12px rgba(12, 203, 59, 0.3);
    }
    
    .btn-primary:hover {
        background-image: linear-gradient(190deg, #0bd639, #0ccb3b);
        box-shadow: 0 6px 16px rgba(12, 203, 59, 0.4);
        transform: translateY(-2px);
    }
    
    .btn-secondary {
        background-color: #f7a41b;
        color: black !important;
        box-shadow: 0 4px 12px rgba(0, 166, 255, 0.3);
    }
    
    .btn-secondary:hover {
        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: #1e1c42;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .review-list-item:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
        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: #66bb6a;
        font-size: 13px;
        line-height: 1.5;
		margin: 0;
    }

    .review-cons li {
        color: #ef5350;
        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 #2a2850;
    }

    .review-display-carousel::-webkit-scrollbar {
        height: 8px;
    }

    .review-display-carousel::-webkit-scrollbar-track {
        background: #2a2850;
        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: #ffb74d;
        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: #66bb6a;
        padding: 3px 0;
    }
    
    /* ==================== NO RESULTS ==================== */
    .no-reviews-found {
        text-align: center;
        padding: 40px 20px;
        color: #aab0c6;
        font-size: 16px;
        background: #1e1c42;
        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;
}


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

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

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

.textcontent-scrollbox .accordion-inner::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 3px;
}

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

.textcontent-scrollbox .accordion-title {
    border-bottom: 1px solid #f1f1f1;
    display: block;
    font-size: 100%;
    padding: 10px 20px 10px 0;
	border-top: none;
}

.textcontent-scrollbox .accordion-title.active {
    background-color: transparent;
    border-color: #f1f1f1 !important;
    color: black !important;
	font-weight: normal;
}

.textcontent-scrollbox .accordion .toggle {
	left: inherit;
    right: 0;
}

.textcontent-scrollbox .toggle i {
    font-size: 20px;
}

strong, b {
	font-weight: bold;
}

.section-title-normal span:before {
    content: "";
    background-color: #00a6ff;
    width: 4px;
    height: 1.3em;
    position: absolute;
    left: 0;
    top: .05em;
}

.section-title-normal span {
    padding-left: 15px;
    line-height: 1.4em;
    height: 1.4em;
    font-weight: 700;
    position: relative;
    color: #222;
    border: none;
    text-transform: inherit;
    font-size: 24px;
}

.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;
    border: 1px solid #cccccc;
}

.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;
	color: #333 !important;
}

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

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

span.widget-title {
    font-size: 1em;
    font-weight: 600;
    color: #f7a41b;
    display: block;
    margin-bottom: 15px;
}

.post-sidebar .is-divider {
    display: none;
}

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

	.section-game .text-1 {
		font-size: 22px;
	}
	
 .section-game .large-3 {
        flex-basis: 50%;
        max-width: 50%;
    }
	
.section-ambassador .row-bg::before {
    left: inherit;
    width: 100px;
}
	
	.section-ambassador .row-bg {
		height: auto;
	}
	    .section-register .row-title {
        background: none;
        padding: 20px;
    }
	
	.section-register .row-item .col-inner {
    height: 300px;
    justify-content: center;
    width: auto;
    padding: 6px;
}
	.section-new-content {
		padding: 0 10px;
	}
	
	.textcontent-scrollbox .accordion-inner {
    padding: 20px 0;
}
	
}