@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    color: #333;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #073832 url('../imgs/bg-top.png') top center no-repeat;
}

body.wrapper-body {
    background-color: transparent;
}

body.wrapper-body.subpage {
    background: #e3d0a0 url('../imgs/bg_home1.png') top center no-repeat;
}

ol, ul, .h1, .h2, .h3, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    color: hsl(255, 8%, 15%);
    font-weight: 600;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

/*==================== HEADER ====================*/

header {
    background: url('../imgs/bg-header.png') top center no-repeat;
    background-size: 100%;
    height: 199px;
    flex-shrink: 0;
}

.header {
    margin: 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.nav {
    position: relative;
    display: block;
    width: 100%;
}

.nav .swapmenu {
    display: none;
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: url(../imgs/icon-menu.png) center center no-repeat;
}

img.nav__logo {
    position: absolute;
    left: 48%;
    transform: translateX(-50%);
    transition: height 300ms;
    height: 160px;
    width: auto;
    max-width: none;
    top: -10px;
}

.nav__menu-mobile {
    display: none;
}

.nav__list {
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin-top: 20px;
}

.nav__item {
    list-style: none;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    text-align: center;
    margin-right: 50px;
    transition: color 300ms;
    font-size: 16px;
}

.nav__item:nth-child(3) {
    margin-right: 280px;
}

.nav__item a {
    color: #ffffff;
}

.nav__item a:hover {
    color: #ffe822;
    text-decoration: unset;
}

.nav__item:nth-child(1):after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot.png) no-repeat;
    position: absolute;
    left: 97px;
    top: 6px;
}

.nav__item:nth-child(2):after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot.png) no-repeat;
    position: absolute;
    left: 73px;
    top: 6px;
}

.nav__item:nth-child(4):after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot.png) no-repeat;
    position: absolute;
    left: 103px;
    top: 6px;
}

.nav__item:nth-child(5):after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot.png) no-repeat;
    position: absolute;
    left: 84px;
    top: 6px;
}

/*==================== MAIN ====================*/

.main {
    margin-top: 115px;
    margin-bottom: 0;
    flex: 1 0 auto;
    min-height: 160vh;
    padding-top: 200px;
    padding-bottom: 150px;
}

.home__container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-left: 50px;
}

/*==================== LEFT CONTAINER ====================*/

.left__container {
    width: 479px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -95px;
    position: relative;
    z-index: 2;
}

.left__user-container {
    width: 231px;
    margin-bottom: 8px;
}

.left__post-container {
    width: 479px;
    margin-top: 8px;
}

.user__btn-list {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-top: 7px;
}

.user__btn-signup {
    background: url('../imgs/btn-signup.png') top center no-repeat;
    width: 109px;
    height: 72px;
    margin-left: 5px;
}

.user__btn-signup:hover {
    background: url('../imgs/btn-signup.png') bottom center no-repeat;
}

.user__btn-payment {
    background: url('../imgs/btn-payment.png') top center no-repeat;
    width: 109px;
    height: 72px;
    margin-left: 1px;
}

.user__btn-payment:hover {
    background: url('../imgs/btn-payment.png') bottom center no-repeat;
}

.user__btn-info {
    display: grid;
    background: url('../imgs/btn-manage-acc.png') top center no-repeat;
    width: 221px;
    height: 40px;
    margin-top: 1px;
    margin-left: 5px;
}

.user__btn-info:hover {
    background: url('../imgs/btn-manage-acc.png') bottom center no-repeat;
}

.user__btn-signup,
.user__btn-payment,
.user__btn-info {
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease, box-shadow 0.3s ease;
}

.user__btn-signup:hover,
.user__btn-payment:hover,
.user__btn-info:hover {
    transform: translateY(-6px);
    filter: brightness(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.user__btn-signup:active,
.user__btn-payment:active,
.user__btn-info:active {
    transform: translateY(-2px) scale(0.97);
}

/*==================== POST ====================*/

.post__container {
    background: url('../imgs/bg-post.png') top center no-repeat;
    width: 479px;
    height: 340px;
}

.post__tabs {
    display: flex;
    margin-bottom: 15px;
    color: #ffffff;
}

.post__button {
    font-size: 14px;
    font-weight: .938rem;
    cursor: pointer;
    width: auto;
    position: relative;
    padding-top: 8px;
    height: 38px;
    margin-right: 24px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.su-kien, .giai-dau {
    display: none !important;
}

.post__tabs .post__button-more {
    margin-top: 13px;
    margin-right: 12px;
    font-size: 16px;
    flex-grow: 1;
    order: 1;
}

.post__tabs .post__button-more .more {
    color: #443300;
    float: right;
    background: url('../imgs/btn-more.png') no-repeat;
    background-size: 100%;
    width: 74px;
    height: 16px;
}

.post__tabs .post__button-more .more:hover {
    background: url('../imgs/btn-more-hover.png') no-repeat;
    background-size: 100%;
}

.post__button:hover {
    color: #e8e009;
    transform: translateY(-2px);
}

.post__icon {
    font-size: 1.8rem;
    margin-right: 0.25rem;
}

.post__data {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    column-gap: 1.5rem;
}

.post__title {
    font-size: .938rem;
    font-weight: 500;
}

.post__container [data-content] {
    display: none;
}

.post__active[data-content] {
    display: block;
}

.post__button.post__active {
    color: #e8e009;
}

.post__button.post__active:before {
    content: "";
    position: absolute;
    left: 7px;
    bottom: -3px;
    width: 75%;
    border-bottom: 3px solid #e8e009;
}

.post__button:nth-child(1)::after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot.png) no-repeat;
    position: absolute;
    left: 57px;
    top: 17px;
}

.post__button:nth-child(2)::after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot.png) no-repeat;
    position: absolute;
    left: 61px;
    top: 17px;
}

.post__button:nth-child(3)::after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot.png) no-repeat;
    position: absolute;
    left: 80px;
    top: 17px;
}

.view {
    overflow: hidden;
}

.list-news {
    display: block;
    margin-left: 10px;
}

ul.list {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 6px 0;
    height: 280px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #8d5600;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #bd790e;
}

ul.list li:first-child {
    padding: 0 13px 5px 3px;
}

ul.list li {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #84807e;
    padding: 0 13px 2px 3px;
    width: 459px;
}

ul.list li:last-child {
    border: none;
}

ul.list li:first-child a {
    margin-bottom: 5px;
    color: #8d5600;
    text-decoration: none;
}

ul.list li:first-child a:hover {
    color: #4172ae;
    text-decoration: none;
}

ul.list li .post__title {
    display: block;
    overflow: hidden;
    font-weight: bold;
    color: #8d5600;
    height: 29px;
    line-height: 29px;
    position: relative;
    padding-right: 30px;
    padding-left: 20px;
    background: url(../images/arrow-1.png) left center no-repeat;
    font-size: 14px;
}

ul.list li .post__title:hover {
    color: #321f01;
    text-decoration: none;
}

ul.list li .post__title::after {
    content: '';
    display: inline-block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(../imgs/dot-blue.png) no-repeat;
    position: absolute;
    left: 0;
    top: 10px;
}

ul.list li .post__title .time {
    display: inline;
    overflow: hidden;
    font-weight: 300;
    position: absolute;
    top: 0;
    right: 0;
}

ul.list li .cover {
    display: block;
    overflow: hidden;
    float: left;
    margin-right: 5px;
}

ul.list li .cover a {
    height: 80px;
    margin-bottom: 0px;
    padding-right: 0;
    background: none;
}

ul.list li p {
    color: #333;
}

/*==================== FLOAT BAR NGANG ====================*/

.floatright__content {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(15, 10, 5, 0.85);
    border: 1px solid rgba(255, 200, 50, 0.25);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 200, 50, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floatright__content:hover {
    border-color: rgba(255, 200, 50, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 200, 50, 0.15);
}

.floatright__content.is-collapsed {
    transform: translateX(-50%) translateY(80px);
    opacity: 0;
    pointer-events: none;
}

.floatright__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 200, 50, 0.08);
    border: 1px solid rgba(255, 200, 50, 0.15);
    color: #ffd700;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.floatright__item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 200, 50, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.floatright__item:hover::before {
    width: 80px;
    height: 80px;
}

.floatright__item:hover {
    background: rgba(255, 200, 50, 0.15);
    border-color: rgba(255, 200, 50, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(255, 200, 50, 0.2);
    color: #fff;
}

.floatright__item:active {
    transform: translateY(-2px) scale(0.95);
}

.floatright__item i {
    font-size: 19px;
    margin-bottom: 1px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.floatright__item:hover i {
    transform: scale(1.15);
}

.floatright__item span {
    display: block;
    font-size: 8px;
    color: #e8c860;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.floatright__item:hover span {
    color: #fff;
}

.floatright__item--download {
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.2), rgba(255, 180, 50, 0.2));
    border-color: rgba(255, 140, 50, 0.4);
    animation: pulse-download 2.5s ease-in-out infinite;
}

.floatright__item--download:hover {
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.35), rgba(255, 180, 50, 0.35));
    border-color: rgba(255, 140, 50, 0.8);
    box-shadow: 0 8px 25px rgba(255, 140, 50, 0.3);
    animation: none;
}

@keyframes pulse-download {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 50, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(255, 140, 50, 0); }
}

.floatright__separator {
    width: 1px;
    height: 32px;
    background: rgba(255, 200, 50, 0.2);
    margin: 0 4px;
    flex-shrink: 0;
}

.floatright__item--social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    height: 52px;
    width: auto;
    background: rgba(255, 200, 50, 0.05);
    border: 1px solid rgba(255, 200, 50, 0.15);
    border-radius: 14px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floatright__item--social:hover {
    background: rgba(255, 200, 50, 0.1);
    border-color: rgba(255, 200, 50, 0.4);
}

.floatright__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.floatright__social-link:hover {
    transform: scale(1.2) translateY(-3px);
    filter: brightness(1.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floatright__social--fanpage { background-color: #1877f2; }
.floatright__social--group { background-color: #42b72a; }
.floatright__social--lucky { background-color: #ff6b35; }

.floatright__toggle {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(15, 10, 5, 0.7);
    border: 1px solid rgba(255, 200, 50, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffd700;
    font-size: 11px;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
}

.floatright__content.is-collapsed ~ .floatright__toggle,
.floatright__toggle.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.floatright__toggle:hover {
    background: rgba(60, 40, 10, 0.95);
    transform: translateX(-50%) scale(1.1);
}

/*==================== CATEGORY CONTAINER ====================*/

.category__container {
    width: 700px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
}

.category-margin {
    margin-top: 55px;
}

.category__content {
    background: #cdcdcd url('../imgs/bg-category.png') top center no-repeat;
    display: block;
    width: 100%;
    height: 100%;
}

.detail-content {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: solid 1px;
}

.detail-content .head {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.detail-content .head:before {
    content: '';
    display: block;
    overflow: hidden;
    width: 47px;
    height: 42px;
    position: absolute;
    top: 44%;
    left: 15px;
    transform: translateY(-50%);
    background: url('../imgs/emblem.png') no-repeat;
}

.detail__content .detail-content .head h3 {
    margin-top: 7px;
}

.detail-content .head h3 {
    color: #fff600;
    font-size: 24px;
    font-weight: bold;
    margin-top: 8px;
    padding-left: 73px;
}

.detail-content .head .time {
    color: #ffffff;
    font-size: 14px;
    padding-left: 73px;
}

.detail-content .head .breadcrums {
    color: #ffffff;
    font-size: 14px;
    padding-left: 73px;
}

.detail-content .head .breadcrums a {
    text-decoration: none;
    color: #ffffff;
}

.detail-content .body {
    padding: 10px 32px 20px;
}

.detail-content .body .content {
    color: #000000;
    min-height: 300px;
    line-height: 1.8em;
    letter-spacing: 0.01rem;
}

.detail-content .body h1 {
    background: url(../imgs/icon_h1.png) no-repeat scroll 2px 4px transparent;
    clear: both;
    font: bold 24px/30px Tahoma;
    color: #b04100;
    text-indent: 34px;
    margin-top: 7px;
}

.detail-content .body h2 {
    background: url(../imgs/icon_h2.png) no-repeat;
    background-position: 2px 3px;
    clear: both;
    font: 15px/29px Roboto Slab, serif;
    margin: 8px 8px 7px 29px;
    text-indent: 26px;
    color: #000000;
}

.detail-content .body h3 {
    background: url(../imgs/icon_h3.png) no-repeat;
    background-position: 1px 10px;
    clear: both;
    font: 15px/29px Roboto Slab, serif;
    margin: 6px 0px 6px 46px;
    text-indent: 15px;
    color: #000000;
}

.detail-content .body h4 {
    background: url(../imgs/icon_h4.png) no-repeat;
    background-position: 2px 12px;
    clear: both;
    font: 15px/29px Roboto Slab, serif;
    margin: 4px 0px 4px 56px;
    text-indent: 13px;
    color: #000000;
}

.detail-content .body table {
    margin: 0 auto;
    border-collapse: collapse !important;
}

.detail-content .body table tr,
.detail-content .body table td {
    border: solid 1px;
    padding: 5px;
    background-color: #fff;
}

.detail-content .body table td h4 {
    background: url(../imgs/icon_h3.png) no-repeat;
    background-position: 0px 11px;
    clear: both;
    font: 15px/29px Roboto Slab, serif;
    margin: 0px 0px 0px 15px;
    text-indent: 13px;
    color: #000000;
}

.detail-content .body table td h5 {
    background: url(../imgs/icon_h4.png) no-repeat;
    background-position: 13px 11px;
    clear: both;
    font: 13px/29px Roboto Slab, serif;
    margin: 0px 0px 0px 15px;
    text-indent: 24px;
    color: #000000;
}

.detail-content table th {
    background: #2a2a2a;
    border: 1px solid #000000;
    color: #fff;
    text-align: center;
    font-weight: bolder;
}

.detail-content .body ol {
    margin: 0 0 15px 0;
    padding: 0 0 0 25px;
}

.detail-content .body ul,
.detail-content .body ol {
    list-style: initial;
    padding-left: 25px;
}

.detail-content .body ul li {
    list-style-type: disc;
    padding: 2px 0;
}

.detail-content .body ol li ul li,
.detail-content .body ul li ul li {
    list-style-type: circle;
}

.detail-content .body ul li ul li ul li {
    list-style-type: square;
}

.detail-content .body a {
    color: #8d5600;
    text-decoration: underline;
}

.detail-content .body a:hover {
    color: #bd790e;
}

.detail-content .body .items {
    display: block;
    overflow: hidden;
    margin-bottom: 40px;
}

.detail-content .body .item {
    display: flex;
    border-bottom: 1px solid #4a4949;
    padding: 8px 0;
    justify-content: space-between;
}

.detail-content .body .item .cover {
    margin-right: 10px;
    flex: 0 0 114px;
    max-width: 114px;
}

.detail-content .body .item .cover img {
    width: 100%;
}

.detail-content .body .item .detail {
    flex: 1;
    overflow: hidden;
}

.detail-content .body .item .detail h3 {
    margin-bottom: 5px;
}

.detail-content .body .item .detail h3 a {
    text-decoration: none;
    color: #8d5600;
    font-size: 14px;
}

.detail-content .body .item .detail h3 a:hover {
    color: #bd790e;
}

.detail-content .body .item .detail p {
    color: #191616;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-content .body .nav {
    display: flex;
    position: relative;
    margin-bottom: 10px;
    margin-left: -26px;
    margin-top: 20px;
}

.detail-content .body .nav ul {
    display: flex;
    flex-wrap: wrap;
}

.detail-content .body .nav ul li:nth-child(1) { order: 1; }
.detail-content .body .nav ul li:nth-child(2) { order: 0; }
.detail-content .body .nav ul li:nth-child(3) { order: 0; }
.detail-content .body .nav ul li:nth-child(4) { order: 0; }

.detail-content .body .nav ul li {
    display: inline-block;
    position: relative;
    background: rgba(65, 66, 65, 0.3);
    margin-right: 5px;
    border: solid 1px #ded9d9;
    list-style-type: none;
    padding: 0;
    margin-top: 5px;
}

.detail-content .body .nav ul li:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 45px;
}

.detail-content .body .nav ul li:last-child:after {
    display: none;
}

.detail-content .body .nav ul li a {
    display: block;
    overflow: hidden;
    text-align: center;
    height: 37px;
    text-decoration: none;
    color: #365d8b;
    font-size: 18px;
    font-weight: 500;
    padding: 7px 10px 0 10px;
}

.detail-content .body .nav ul li a.active {
    background-color: #ffffff;
}

.detail-content .body .nav ul li a:hover {
    color: #ffffff;
}

.detail-content .body .nav ul li a.active:hover {
    color: #365d8b;
}

/*==================== POST RELATED ====================*/

.detail__post-related {
    background: url('../imgs/bg-post-relate.png') no-repeat;
    background-size: cover;
    height: auto;
}

.post__related-list {
    padding: 50px 16px 10px 16px;
}

.post__related-list .title {
    color: #664127;
    font-size: 15px;
    position: relative;
    padding-left: 20px;
    padding-bottom: 6px;
    font-weight: 500;
}

.post__related-list .title a {
    color: #664127;
    text-decoration: none;
}

.post__related-list .title a:hover {
    color: #327dad;
}

.post__related-list .title:before {
    content: '';
    display: block;
    overflow: hidden;
    width: 13px;
    height: 13px;
    position: absolute;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    background: url('../imgs/dot-blue.png') no-repeat;
}

.post__related-list .title.title-0 {
    padding-left: 0px;
}

.post__related-list .title.title-0:before {
    display: none;
}

.post__related-list .title .time {
    display: inline;
    overflow: hidden;
    font-weight: 300;
    position: absolute;
    top: 0;
    right: 0;
}

/*==================== PAGING ====================*/

.paging {
    display: block;
    overflow: hidden;
    width: 100%;
}

.paging .paging-inner {
    text-align: center;
}

.paging ul {
    display: inline-block;
}

.paging ul li {
    display: inline-block;
    vertical-align: middle;
}

.paging ul li a {
    display: block;
    overflow: hidden;
    width: 28px;
    height: 28px;
    text-decoration: none !important;
    color: #8d5600;
    margin: 0 4px;
    border: solid 2px #8d5600;
    font-weight: 500;
    font-size: 14px;
    padding-top: 2px;
}

.paging ul li a:hover,
.paging ul li.active a {
    color: #009688 !important;
    border: solid 2px #009688;
}

/*==================== FOOTER ====================*/

footer {
    margin-top: auto;
    clear: both;
    padding: 0;
    position: relative;
    font-size: 13px;
    width: 100%;
    z-index: 3;
    flex-shrink: 0;
    overflow: hidden;
}

footer p.Intro,
footer p {
    background-color: rgba(0, 0, 0, 0.85);
    text-align: center;
    color: #ffffff;
    padding: 20px 15px 25px;
    margin: 0 !important;
    line-height: 1.8;
}

footer p.Intro a {
    display: inline-block;
    margin-bottom: 8px;
}

footer p.Intro img {
    max-height: 50px;
    width: auto;
}

/*==================== POST DETAIL ====================*/

.detail__container {
    width: 940px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
    background-color: #cdcdcd;
    border: solid 1px;
}

.detail__content {
    display: block;
    background: url('../imgs/bg-post-detail.png') top center no-repeat;
    width: 100%;
    height: 100%;
    background-position-y: -7px;
}

/*==================== SEARCH ====================*/

.search__container {
    display: inline-block;
    margin: 0 auto;
    position: relative;
    left: auto;
    background-color: #ffffff;
    border-radius: 100px;
}

.search__content {
    display: flex;
    border: 2px solid #ccc;
    border-radius: 100px;
    padding: 7px 15px;
    transition: background-color 0.5 ease-in-out;
}

.search__content input {
    border: 0;
    background-color: transparent;
    width: 447px;
}

.search__content input:focus {
    outline: none;
}

.search__content .btn-search {
    border: none;
    width: 37px;
    height: 35px;
    cursor: pointer;
    background-color: #767676;
    position: absolute;
    border-bottom-right-radius: 100px;
    border-top-right-radius: 100px;
    top: 2px;
    left: 442px;
}

.search__content .btn-search::before {
    content: '';
    display: inline-block;
    overflow: hidden;
    background: url(../imgs/icon-search.png);
    width: 18px;
    height: 18px;
    margin-top: 7px;
}

/*==================== DOWNLOAD ON POST ====================*/

.downloadonpostfull {
    background: url(/static/files/uploads/images/banner/btn_bandaydu1.png) no-repeat;
}

.downloadonpostfull:hover {
    background: url(/static/files/uploads/images/banner/bandaydu2.png) no-repeat;
}

.downloadonpostpath {
    background: url(/static/files/uploads/images/banner/banpatch1.png) no-repeat;
}

.downloadonpostpath:hover {
    background: url(/static/files/uploads/images/banner/banpatch2.png) no-repeat;
}

/*==================== ANIMATION EFFECTS ====================*/

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.floating-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-decorations img {
    position: absolute;
    opacity: 0.8;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floating-reverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

@keyframes swing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes falling-petals {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0.3; }
}

.floating-cloud-1 {
    top: 5%;
    left: -5%;
    width: 200px;
    animation: floating 4s ease-in-out infinite;
}

.floating-cloud-2 {
    top: 15%;
    right: -5%;
    width: 180px;
    animation: floating-reverse 5s ease-in-out infinite 1s;
}

.floating-lantern-1 {
    top: 8%;
    left: 8%;
    width: 80px;
    animation: swing 3s ease-in-out infinite;
    transform-origin: top center;
}

.floating-lantern-2 {
    top: 8%;
    right: 8%;
    width: 80px;
    animation: swing 3.5s ease-in-out infinite 0.5s;
    transform-origin: top center;
}

.floating-petals {
    top: -10%;
    left: 30%;
    width: 100px;
    animation: falling-petals 15s linear infinite;
}

/*==================== SCROLL STYLE ====================*/

.mCSB_inside > .mCSB_container {
    margin-right: 0;
}

.mCSB_scrollTools a + .mCSB_draggerContainer {
    margin: 0;
}

/*==================== MEDIA QUERIES ====================*/

@media screen and (max-width: 768px) {
    .home__container {
        flex-wrap: wrap;
        padding: 0;
    }

    body {
        background: url('../imgs/bg-tablet.jpg') top center no-repeat;
        background-size: cover;
    }

    .category-margin {
        margin-top: 0;
    }

    .nav__menu {
        display: none;
    }

    .nav__logo {
        display: none;
    }

    .nav__menu-mobile {
        display: block;
    }

    .header {
        height: 91px;
        width: 100%;
        max-width: 100%;
        background: url('../imgs/bg-menu-mobile.png');
        position: fixed;
        top: 0;
        left: 0;
        z-index: 6;
    }

    .menu__mobile-content {
        display: flex;
        margin-right: 0;
    }

    .nav__logo-mobile {
        width: 170px;
        margin-top: 5px;
        margin-left: 10px;
    }

    .menu__mobile-item.icon-hambuger {
        width: 90px;
    }

    .menu__mobile-item.btn-list {
        flex-grow: 1;
        display: flex;
        justify-content: flex-end;
        margin-right: 20px;
    }

    .menu__mobile-item.btn-list .btn {
        float: right;
        width: 125px;
        height: 63px;
        margin-top: 13px;
        margin-right: 4px;
    }

    .menu-dropdown-list {
        display: none;
        background-color: #383837;
        position: absolute;
        text-align: unset;
        overflow: hidden;
        max-width: 210px;
        height: auto;
        margin: -115px 0 0 0;
        right: 312px;
        z-index: 1;
        top: 191px;
    }

    .menu-dropdown-list ul {
        width: 100%;
        height: 100%;
        text-align: left;
        font-size: 18px;
    }

    .menu-dropdown-list li {
        width: 210px;
        height: 31px;
        position: relative;
        display: inline-block;
        border-bottom: solid 1px;
        padding-bottom: 32px;
        padding-top: 10px;
        cursor: pointer;
    }

    .menu-dropdown-list li a {
        color: #dec56f;
        font-weight: 500;
        padding: 20px;
    }

    .showList .menu-dropdown-list {
        display: block;
        transition: all 1s ease-in-out;
    }

    .btn-account {
        background: url('../imgs/btn-acc.png') top left no-repeat;
        background-size: 100%;
    }

    .btn-account:hover {
        background: url('../imgs/btn-acc-hover.png') no-repeat;
        background-size: 100%;
    }

    .btn-payments {
        background: url('../imgs/btn-pay.png') top right no-repeat;
        background-size: 100%;
    }

    .btn-payments:hover {
        background: url('../imgs/btn-pay-hover.png') no-repeat;
        background-size: 100%;
    }

    .btn-download {
        background: url('../imgs/btn-download-tl.png') top right no-repeat;
        background-size: 100%;
    }

    .btn-download:hover {
        background: url('../imgs/btn-download-tl.png') no-repeat;
        background-size: 100%;
    }

    .btn-download span {
        color: #fcd701;
        font-size: 22px;
        padding-top: 8px;
        display: block;
        width: 100%;
        height: 100%;
        text-shadow: 2px 0 0 #13283e, -2px 0 0 #13283e, 0 2px 0 #13283e, 0 -2px 0 #13283e, 1px 1px #13283e, -1px -1px 0 #13283e, 1px -1px 0 #13283e, -1px 1px 0 #13283e;
    }

    .header .nav__menu-mobile {
        text-align: center;
        margin-right: 20px;
    }

    .header .nav__menu-mobile > a {
        display: inline-block;
    }

    .header .nav__menu-mobile .logo {
        position: static;
        left: unset;
        transform: unset;
        height: 52px;
        display: block;
        margin: 0 auto;
    }

    .show {
        background: url(../imgs/icon-menu-x.png) center center no-repeat !important;
        background-size: 100% !important;
    }

    .header .menu__mobile-item .swapmenu {
        display: flex;
        color: #fff;
        font-size: 24px;
        text-decoration: none;
        width: 80px;
        height: 62px;
        background: url(../imgs/icon-menu.png) center center no-repeat;
        background-size: 100%;
        margin-top: 14px;
    }

    .showMenu .menu-mobile {
        right: 0;
    }

    .menu-mobile {
        display: block;
        background-color: #383837;
        position: absolute;
        text-align: unset;
        overflow: hidden;
        width: 320px;
        height: auto;
        margin: -100px 0 0 0;
        right: -415px;
        z-index: 1;
        top: 191px;
    }

    .menu-mobile ul {
        width: 100%;
        height: 100%;
        text-align: left;
        font-size: 18px;
    }

    .menu-mobile li {
        width: 320px;
        height: 31px;
        padding: 20px;
        position: relative;
        display: inline-block;
        border-bottom: solid 1px;
        padding-bottom: 32px;
        padding-top: 10px;
    }

    .menu-mobile li:last-child {
        border: none;
    }

    .menu-mobile li a {
        color: #dec56f;
        font-weight: 500;
        padding: 20px;
    }

    .main {
        justify-content: unset;
        flex-direction: column;
        margin-top: 184px;
        min-height: auto;
        padding-top: 20px;
    }

    .left__container {
        width: 100%;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .left__post-container {
        width: 100%;
    }

    .left__user-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .user__btn-list {
        display: flex;
        gap: 5px;
    }

    .post__container {
        background: url(../imgs/bg-post-tablet.png) top center no-repeat;
        width: 538px;
        height: 340px;
    }

    ul.list li {
        width: 100%;
    }

    .detail__container,
    .detail__post-related {
        width: auto;
    }

    .category__content {
        margin-left: 10px;
        margin-right: 10px;
    }

    .floating-decorations {
        display: none;
    }

    .video-background {
        display: none;
    }

    .detail-content .body .content img {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .floatright__content {
        bottom: 12px;
        padding: 6px 10px;
        gap: 4px;
        border-radius: 40px;
    }

    .floatright__item {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .floatright__item i {
        font-size: 16px;
    }

    .floatright__item span {
        font-size: 7px;
    }

    .floatright__item--social {
        height: 42px;
        padding: 0 4px;
        gap: 3px;
    }

    .floatright__social-link {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .floatright__separator {
        height: 24px;
    }
}

@media screen and (max-width: 568px) {
    body {
        background: url('../imgs/bg-mobile.png') top center no-repeat;
        background-size: cover;
        background-position-y: 30px;
    }

    .post__container {
        background: url(../imgs/bg-post-mobile.png) top center no-repeat;
        width: 473px;
        height: 340px;
    }

    ul.list li .post__title .time {
        position: relative;
        font-weight: bold;
    }

    ul.list {
        height: 270px;
    }

    .search__container {
        width: 300px;
    }

    .search__content input {
        width: 447px;
    }

    .search__content .btn-search {
        left: 261px;
    }

    .detail__content .detail-content .head h3 {
        font-size: 18px;
        margin-top: 5px;
    }

    .post__related-list .title .time {
        position: relative;
    }

    .detail-content .head .time {
        padding-left: 58px;
    }

    .detail-content .head h3 {
        padding-left: 58px;
    }

    .detail-content .head:before {
        top: 40%;
        left: 5px;
    }

    .post__tabs .post__button-more .more {
        font-size: 14px;
    }

    .post__tabs .post__button {
        font-size: 12px;
        margin-right: 8px;
    }

    .post__button::after {
        display: none !important;
    }

    .menu__mobile-item.btn-list .btn {
        width: 70px;
    }

    .header .menu__mobile-item .swapmenu {
        width: 52px;
        height: 34px;
    }

    .nav__logo-mobile {
        width: 115px;
    }

    .header {
        height: 65px;
    }

    .menu-mobile {
        top: 176px;
        width: 210px;
    }

    .menu-mobile ul {
        font-size: 15px;
    }

    .main {
        margin-top: 60px;
    }

    .container {
        padding-right: 0;
    }

    .post__related-list {
        position: relative;
        display: inline-block;
        margin-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    .floatright__content {
        width: calc(100% - 24px);
        justify-content: center;
        bottom: 8px;
        padding: 5px 8px;
    }

    .floatright__item {
        width: 38px;
        height: 38px;
    }

    .floatright__item i {
        font-size: 14px;
    }

    .floatright__item span {
        display: none;
    }
}

@media screen and (max-width: 410px) {
    .nav__logo-mobile {
        width: 70px;
        margin-top: 15px;
    }

    .post__tabs .post__button-more .more {
        width: 15px;
        height: 16px;
        background: url('../imgs/btn-more-mobile.png') no-repeat;
        background-size: 100%;
    }
}

@media screen and (max-width: 350px) {
    .menu__mobile-item.btn-list .btn {
        display: none;
    }
}