/* Common */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('../../css/banner.css');
:root {
    --main-color: #eb5659;
    --color-2: #56ccf2;
    --color-3: #ff2853;
    --bg-main: #ebebeb;
    --text-color: #333;
    --text-btn: #fff;
    /* Added to support reading page theming */
    --primary-color: var(--main-color);
    --primary-hover: #d84548;
    --bg-secondary: #ffffff;
    --text-primary: #1e201e;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
}

/* Dark mode variable overrides for reading page */
body.darkmode {
    --bg-secondary: #242526;
    --bg-main: #18191a;
    --text-color: #e4e6eb;
    --text-primary: #d2d2d2;
    --text-secondary: #aaaaaa;
    --border-color: #3b4b65;
    --primary-hover: #2c4e84;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 400;
    background-color: var(--bg-main);
}
body.darkmode {
    color: var(--text-color);
}
button.btn,
.btn {
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
    line-height: 34px;
    color: var(--text-btn) !important;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
    background-color: var(--main-color);
    padding: 0 15px;
    text-transform: capitalize;
}
a {
    text-decoration: none;
    color: var(--main-color);
    transition: 0.2s;
    user-select: none;
}
a:hover {
    color: var(--main-color);
}
/* Header */
header {
    background-color: var(--bg-secondary);
}

img {
    max-width: 100%;
}

/* Dropdown Menu Styles */
.has-sub {
    position: relative;
}

.has-sub .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--bg-main);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 400px;
    overflow-y: scroll;
}

.has-sub:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-sub .dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
}

.has-sub .dropdown-menu .dropdown-item:hover {
    background-color: #f5f5f5;
    color: var(--main-color);
    padding-left: 25px;
}

.has-sub .sub-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.has-sub .sub-toggle i {
    transition: transform 0.3s ease;
}

.has-sub:hover .sub-toggle i {
    transform: rotate(180deg);
}
.top-header {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dark-mode {
    color: var(--main-color);
    border: 1px solid;
    height: 44px;
    border-radius: 150px;
    width: 44px;
    text-align: center;
    font-size: 17px;
    background-color: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-dark {
    display: none;
}
.btn-switch {
    background: transparent;
    border: 0;
    padding: 0;
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-switch i {
    position: absolute;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.btn-switch .light-icon {
    opacity: 1;
    color: var(--main-color);
}

.btn-switch .dark-icon {
    color: #4a5568;
    opacity: 0;
}

/* Dark mode button states */
body.darkmode .btn-switch .light-icon {
    opacity: 0;
}

body.darkmode .btn-switch .dark-icon {
    opacity: 1;
}

.dark-mode.on {
    color: var(--dark-color);
    background-color: var(--dark-color);
}

/* Dark mode styles for TruyenQQ */

body.darkmode .dark-mode .btn-switch i {
    color: var(--text-color);
}
body.darkmode header {
    background: var(--bg-main);
}
body.darkmode .form-search input {
    background-color: #242526;
    color: #eef4ff;
}

body.darkmode .form-search input:focus {
    border-color: var(--main-color);
}

body.darkmode .btn-search {
    color: #eef4ff;
}
body.darkmode .main-header {
    background-color: #242526;
}
body.darkmode .main-menu a {
    color: var(--text-color);
}

body.darkmode .main-menu a:hover,
body.darkmode .main-menu a.active {
    color: var(--main-color);
}
body.darkmode .has-sub .dropdown-menu {
    background-color: #242526;
    border-color: #242526;
}
body.darkmode .manga-description {
    padding: 0;
    box-shadow: none;
}
body.darkmode .manga-description h3 {
    color: #fff;
}
body.darkmode .manga-description p {
    color: var(--text-color);
}
body.darkmode .box-wrapper > h3 {
    color: var(--text-color);
}
body.darkmode .manga-chapters {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}
body.darkmode .list-chapters {
    padding: 8px 20px;
}
body.darkmode .ll-chap,
body.darkmode .chapter-title,
body.darkmode .chapter-title .chapter-time {
    color: var(--text-color);
}
body.darkmode .l-chapter {
    padding: 12px 0;
}
body.darkmode .l-chapter:hover {
    background-color: transparent;
}
body.darkmode .ll-chap:hover {
    color: var(--main-color);
}

body.darkmode .logo-dark {
    display: block;
}

body.darkmode .logo-light {
    display: none;
}

.main-title {
    font-family: var(--font-black);
    font-size: 16px;
    line-height: 24px;
    color: var(--main-color);
    margin: 10px 0 0;
    text-align: center;
}

.form-search {
    width: 420px;
    position: relative;
}
.form-search input {
    background-color: #f9f9f9;
    width: 100%;
    height: 100%;
    border: solid 1px #e0e0e0;
    border-radius: 50px;
    padding: 0 45px 0 20px;
    color: #757575;
    height: 44px;
    z-index: 12;
}
.form-search input:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: none;
}
.form-search button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
    z-index: 20;
    font-size: 0;
    border: 0;
    background: transparent;
    padding: 0;
}
.form-search i {
    font-size: 24px;
    z-index: 15;
}
.form-search .s-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 0;
    padding: 0;
    display: none;
    z-index: 99;
}

#form-search .search-result-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 45px;
    right: 0;
    z-index: 99;
    padding: 12px;
    list-style: none;
    width: 100%;
    display: none;
}

#form-search .search-result-wrapper[style='display: block;'] ~ .overlay {
    display: block;
}

#form-search .search-result-wrapper p {
    color: var(--main-color);
    margin-bottom: 10px;
}

#form-search .search-result-wrapper ul {
    max-height: 330px;
    overflow: hidden;
    overflow-y: scroll;
}

#form-search .search-result-wrapper .group-star {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 5px 0 0;
}
.search-result-wrapper .tab-content ul.list-unstyled > li {
    align-items: flex-start;
    padding-right: 0;
}
#form-search .search-result-wrapper .p-content .m-name a {
    font-family: var(--font-book);
    white-space: unset;
    text-overflow: unset;
    overflow: unset;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#form-search .search-result-wrapper .p-content .m-name a span {
    font-family: var(--font-bold);
    font-weight: 700;
}

.form-search .overlay {
    content: '';
    top: 0;
    left: 0;
    z-index: 11;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
    position: fixed;
    display: none;
}

.form-search.active-mobile .overlay {
    display: block;
}
.nav-account {
    margin-left: auto;
}

.main-header {
    background: var(--main-color);
}
.main-menu a {
    font-size: 15px;
    color: #fff;
    line-height: 24px;
    padding: 14px 0;
    margin-right: 20px;
    display: inline-block;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 5px solid var(--main-color);
    padding: 20px 0;
    margin-top: 20px;
}
.footer .logo {
    margin-bottom: 20px;
    display: inline-block;
}
.footer-tags ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-tags ul li {
    line-height: 30px;
    padding: 0 5px;
    background-color: #e2e2e2;
    border-radius: 3px;
    font-size: 12px;
    color: #000;
}
.footer-tags ul li a {
    color: inherit;
    transition: 0.2s;
}
.footer-tags ul li:hover {
    background-color: var(--main-color);
    color: #fff;
}
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: #fff;
    color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: 0.2s;
}
#back-to-top:hover {
    background-color: var(--main-color);
    color: #fff;
}

/* Body */
@keyframes pulse {
    100% {
        visibility: hidden;
    }
}
#vote_noti {
    display: none;
}
.title {
    margin: 10px 0 20px;
    color: var(--color-3);
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.title .sub {
    display: block;
    font-size: 12px;
    color: #666;
}
.book_avatar {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}
.book_avatar a {
    width: 100%;
}
.book_avatar img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-width: 100%;
    height: 100%;
}
.top-notice {
    position: absolute;
    top: 9px;
    left: 8px;
    font-size: 0;
}
.top-notice span {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    padding: 2px 6px 3px;
}
.top-notice .time-ago {
    border-radius: 5px;
    background-color: var(--color-2);
    margin-right: 5px;
}
.top-notice .type-label {
    border-radius: 5px;
    background-color: var(--color-3);
    -webkit-animation: pulse 1s steps(5, start) infinite;
    animation: pulse 1s steps(5, start) infinite;
}
.book_info .book_name {
    text-align: center;
    line-height: 35px;
    font-weight: 600;
    font-size: 16px;
    margin: 10px 0 0;
    max-width: 100%;
    overflow: hidden;
    text-transform: capitalize;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.book_info .book_name a {
    color: var(--text-color);
}
.book_info .book_name a:hover {
    color: var(--main-color);
}

.book_info .last_chapter {
    font-size: 12px;
    text-align: center;
}

.book_info .last_chapter a {
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-color);
}

.book_info .last_chapter a:hover {
    color: var(--main-color);
}
.splide__arrows {
    position: absolute;
    top: 30%;
    left: 10px;
    right: 10px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}
.splide__arrow {
    height: 50px;
    width: 50px;
    text-align: center;
    background-color: #d0d0d0;
    color: #333;
    line-height: 50px;
    border-radius: 5px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.2s;
    pointer-events: auto;
    border: 0;
    font-size: 20px;
}
.splide__arrow:hover {
    opacity: 0.8;
}
.m-post {
    min-width: 0;
}
.view-more {
    border-radius: 5px;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 25%);
    background-color: var(--main-color);
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    padding: 12px 20px;
    display: inline-block;
}

ul.pagination {
    justify-content: center;
    margin: 40px 0;
}
ul.pagination li a {
    margin: 0 4px;
    line-height: 40px;
    width: 40px;
    text-align: center;
    display: inline-block;
    border-radius: 150px;
    cursor: pointer;
    font-size: 16px;
    border: 1px solid #e0e0e0;
}
ul.pagination li a:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
ul.pagination li.active a {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    pointer-events: none;
}
ul.pagination li.disabled a {
    opacity: 0.5;
    pointer-events: none;
}
ul.pagination li.disabled a:hover {
    background-color: #e2e2e2;
    color: var(--text-color);
    cursor: not-allowed;
}
.box-wrapper {
    background-color: var(--bg-secondary);
    padding: 15px;
    border-radius: 5px;
}
.breadcrumb {
    padding: 10px 0;
    display: flex;
    align-items: center;
}
.breadcrumb a + a::before,
.breadcrumb a + span::before {
    content: '/';
    display: inline-block;
    margin: 0 5px;
    color: var(--text-color);
}
.manga-detail {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    margin-bottom: 20px;
}
.manga-detail-left {
    height: 250px;
    overflow: hidden;
    width: 190px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 0 8px 0 #757575;
}
.manga-detail-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.manga-detail-right {
    flex: 1;
}
.manga-detail-right-content-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 20px;
}
.info-group > div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 10px;
}
.info-group p {
    margin: 0;
}
.info-group span {
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.manga-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.manga-detail-tags a {
    padding: 4px 6px;
    border-radius: 3px;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}
.manga-detail-tags a:hover {
    background-color: var(--main-color);
    color: #fff;
}
.read-action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.read-action .btn-read {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.read-action .btn-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.read-action .manga-save {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.read-action .manga-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

/* Tag styles */
.tag-green {
    background-color: #4caf50 !important;
    color: #fff !important;
    border-color: #4caf50 !important;
}
.tag-yellow {
    background-color: #ff9800 !important;
    color: #fff !important;
    border-color: #ff9800 !important;
}
.tag-red {
    background-color: #f44336 !important;
    color: #fff !important;
    border-color: #f44336 !important;
}

/* Manga Description */
.manga-description {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}
.manga-description h3 {
    color: var(--main-color);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
}
.manga-description p {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
}

/* Manga Chapters */
.manga-chapters {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}
.box-wrapper > h3 {
    color: var(--main-color);
    font-size: 18px;
    margin: 20px 0 15px;
}
.list-chapters {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}
.list-chapters::-webkit-scrollbar {
    width: 8px;
}
.list-chapters::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.list-chapters::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
}
.list-chapters::-webkit-scrollbar-thumb:hover {
    background: #d84548;
}
.l-chapter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.l-chapter:hover {
    background-color: #f8f8f8;
    padding-left: 20px;
}
.l-chapter:last-child {
    border-bottom: none;
}
.ll-chap {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}
.ll-chap:hover {
    color: var(--main-color);
}
.ll-update {
    color: #888;
    font-size: 12px;
    white-space: nowrap;
}

/* Chapter Reading */
.chapter_control {
    position: fixed;
    bottom: -1px;
    z-index: 1;
    width: 100%;
    left: 0;
    height: 45px;
    background-color: #242526;
    box-shadow: 5px 5px 16px -4px #8e8e8e;
    padding: 4px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.chapter-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 35px;
    padding-bottom: 10px;
    color: #333;
}
.chapter-title a {
    color: inherit;
}
.chapter-title .chapter-time {
    font-size: 14px;
    color: #4a4a4a;
    font-weight: 400;
}
.chapter-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}
.chapter-navigation .btn {
    font-size: 14px;
}
.reading-content {
    text-align: center;
}
.chapter_control .home {
    font-size: 30px;
}
.page-chapter img {
    max-width: 100%;
}
/* Mobile menu (visible <=1200px) */
.mobile-menu-btn {
    display: none;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    background: transparent;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
.mobile-menu-btn i {
    font-size: 18px;
}

@media (max-width: 1200px) {
    .mobile-menu-btn {
        display: inline-flex;
    }
    .main-header {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 78%;
    max-width: 360px;
    background: var(--bg-secondary);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: right 0.3s ease;
    max-height: 100vh;
    overflow-y: auto;
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu .mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}
.mobile-menu .mm-close {
    background: transparent;
    border: 0;
    color: var(--text-color);
    font-size: 18px;
}
.mobile-menu .mm-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
.mobile-menu .mm-list li a {
    display: block;
    padding: 12px 18px;
    color: var(--text-color);
}
.mobile-menu .mm-list li a:hover {
    background: #f5f5f5;
    color: var(--main-color);
}

/* Mobile menu dropdown */
.mobile-menu .mm-has-sub .mm-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu .mm-has-sub .mm-sub-toggle i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.mobile-menu .mm-has-sub.open .mm-sub-toggle i {
    transform: rotate(180deg);
}

.mobile-menu .mm-submenu {
    display: none;
    background: rgba(0, 0, 0, 0.05);
    margin-top: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu .mm-submenu li {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu .mm-submenu li a {
    display: block;
    padding: 10px 18px 10px 36px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-menu .mm-submenu li a:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--main-color);
}

.mm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 99;
}
body.mm-open .mm-overlay {
    display: block;
}

body.mm-open {
    overflow: hidden;
}
.toggle-formsearch {
    border: 1px solid var(--main-color);
    color: var(--main-color);
    background: transparent;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    display: none;
}
@media (max-width: 991px) {
    .splide__arrow {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    .manga-detail {
        flex-direction: column;
    }
    .manga-detail-left {
        margin: auto;
    }
}
@media (max-width: 767px) {
    .top-header {
        flex-wrap: wrap;
        transition: all 0.3s ease;
    }

    .toggle-formsearch {
        display: flex;
        transition: all 0.3s ease;
    }

    .toggle-formsearch:hover {
        background-color: var(--main-color);
        color: white;
    }

    .toggle-formsearch.active {
        background-color: var(--main-color);
        color: white;
        transform: scale(1.05);
    }

    .form-search-normal {
        max-height: 0;
        opacity: 0;
        transition: all 0.3s ease;
        order: 1;
        flex: 1;
        width: 100%;
    }

    .form-search-normal.show {
        max-height: 60px;
        opacity: 1;
        order: 1;
        flex: 1;
        width: 100%;
        display: block !important;
    }
}
/* CSS Grid for 5 items per row */
.grid-5-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
}
@media (min-width: 500px) {
    .grid-5-items {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .grid-5-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}
@media (min-width: 992px) {
    .grid-5-items {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 1200px) {
    .grid-5-items {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Tab Navigation Styles */
.tabs-wrapper {
    margin-bottom: 25px;
}

.nav-tabs {
    border-bottom: 2px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-tabs .nav-link {
    padding: 12px 24px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.nav-tabs .nav-link:hover {
    color: var(--main-color);
    background-color: rgba(235, 86, 89, 0.08);
    border-bottom-color: var(--main-color);
}

.nav-tabs .nav-link.active {
    color: var(--main-color);
    background-color: transparent;
    border-bottom-color: var(--main-color);
    font-weight: 600;
}

.content-seo {
    position: relative;
}
.content-seo .page-content.short-content {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    height: 280px;
}
.content-seo .bg-article {
    background: linear-gradient(
        180deg,
        rgba(247, 247, 247, 0) 46.22%,
        var(--bg-main) 89.74%
    );
    bottom: 0px;
    height: 210px;
    left: 0;
    position: absolute;
    pointer-events: none;
    width: 100%;
}
.content-seo .show-full-content {
    text-align: center;
    z-index: 10;
    position: relative;
}
body.darkmode .content-seo .bg-article {
    background: linear-gradient(
        180deg,
        rgba(19, 28, 39, 0) 46.22%,
        var(--bg-main) 89.74%
    );
}
body.darkmode .nav-tabs {
    border-bottom-color: var(--border-color);
}

body.darkmode .nav-tabs .nav-link {
    color: var(--text-secondary);
}

body.darkmode .nav-tabs .nav-link:hover {
    color: var(--main-color);
    background-color: rgba(235, 86, 89, 0.1);
}

body.darkmode .nav-tabs .nav-link.active {
    color: var(--main-color);
}

body.darkmode ul.pagination li a {
    color: #fff;
}

@media (max-width: 576px) {
    .nav-tabs .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }
}
