/* ==========================================================================
   CSS BIẾN MÀU (DARK MODE & RESPONSIVE HEADER)
   ========================================================================== */
:root {
    /* --- Màu nền chung (Dark Mode) --- */
    --bg-main: #121212;         
    --bg-surface: #1e1e1e;      
    --text-main: #e0e0e0;       
    --text-muted: #9e9e9e;      
    --border-color: #333333;    
    
    /* --- Màu nhấn chung --- */
    --color-blue: #3d84a8;
    --color-green: #37b24d;
    --color-pink: #d63384;

    /* --- PC Header (Midnight Style) --- */
    --bg-header-pc: #1e1e1e; 
    --color-orange-pc: #f48b29; 
    --hover-bg-pc: #2a2a2a; 
    
    /* --- Mobile Header (FreeWebNovel Style) --- */
    --bg-header-mobile: #0a3d62; 
    --bg-menu-links-mobile: #08314e; 
    --color-orange-mobile: #f9b233; 
    --color-yellow-search-mobile: #f9b233; 
    
    /* --- Bottom Info Bar --- */
    --bg-header-bottom: #181818; 
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: "Poppins", sans-serif;
}
.novel-1-title{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}
.novel-2-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}
body { 
    background-color: #F5F5F5; 
    color: black; 
    line-height: 1.5; 
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 15px; 
    width: 100%; 
}

/* ==========================================================================
   PHẦN 1: HEADER STYLES (PC & MOBILE)
   ========================================================================== */
.site-header-container { position: relative; }

/* --- [1A] PC HEADER (Midnight Style) --- */
.midnight-header { 
    background-color: #1e1e1e; 
    color: white; 
    height: 60px; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.header-container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%; 
}
.header-left, .header-right { 
    display: flex; 
    align-items: center; 
    height: 100%; 
}
.midnight-header .logo { 
    margin-right: 40px; 
}
.midnight-header .logo img { 
    height: 25px;
 }

.midnight-header .main-nav { 
    display: flex; 
    gap: 30px; 
    height: 100%; 
}
.midnight-header .main-nav a { 
    color: #d1d1d1; 
    font-size: 16px; 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    height: 100%; 
    position: relative; 
    text-transform: uppercase;
}
.midnight-header .main-nav a:hover, .midnight-header .main-nav a.active { 
    color: #f48b29; 
}
.midnight-header .main-nav a.active::after {
    color: #f48b29;
}

.midnight-header .search-box { 
    width: 350px; 
}
.midnight-header .search-box button{
    width: 50px;
    height: 38px;
    border: none;
    background: #f48b29;
    border-radius: 0 5px 5px 0;
}
.midnight-header .search-box i { 
    color: white; 
    font-size: 20px; 
}
.midnight-header .search-box input { 
    background: #888; 
    border: none; 
    color: #fff; 
    outline: none; 
    width: calc(100% - 50px);
    height: 38px;
    float: left;
    padding: 0 10px;
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.midnight-header .user-profile-container { position: relative; height: 100%; display: flex; align-items: center; }
.midnight-header .user-profile { 
    cursor: pointer;
    border: 2px solid #888;
    padding: 3px 9px;
    border-radius: 8px;
}
.midnight-header .user-profile img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; }
.midnight-header .user-profile:hover img { border-color: #f48b29 }

.midnight-header .user-dropdown { 
    display: none; 
    position: absolute; 
    top: 60px; 
    right: 0; 
    background-color: var(--bg-surface); 
    min-width: 180px; 
    border: 1px solid var(--border-color); 
    border-radius: 4px; 
    z-index: 1001; 
    box-shadow: 0 8px 16px rgba(0,0,0,0.5); 
    padding-left: 0;
    margin-bottom: 0;
}
.midnight-header .user-dropdown.active { 
    display: block; 
}
.midnight-header .user-dropdown li a { 
    color: var(--text-main); 
    padding: 12px 15px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.midnight-header .user-dropdown li a:hover { 
    background-color: var(--hover-bg-pc); 
    color: #f48b29; 
}
.midnight-header .user-dropdown .divider { 
    height: 1px; 
    background-color: var(--border-color); 
    margin: 4px 0; 
}

/* --- [1B] MOBILE HEADER (FreeWebNovel Style) --- */
.mobile-header { 
    background-color: #1e1e1e; 
    color: white; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.header-top-bar { display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 0 10px; }

.mobile-header .logo { 
    display: flex; 
    align-items: center; 
}
.mobile-header .logo img{
    height: 25px;
}
.free-box { background-color: var(--color-orange-mobile); color: white; padding: 2px 5px; border-radius: 4px; margin-right: 5px; font-size: 0.9rem; }

.mobile-header .icons-section { display: flex; align-items: center; gap: 15px; }
.header-icon { color: white; font-size: 1.5rem; }
.menu-toggle-btn { background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }

.mobile-menu-overlay {
    display: none; 
    position: absolute; 
    top: 60px; 
    left: 0; 
    width: 100%; 
    z-index: 999; 
    background: #c0c0c0;
}
.mobile-menu-overlay .menu-row { 
    padding: 15px 10px; 
}
.mobile-menu-overlay .menu-search-row{
    padding-top: 0;
}
.menu-links-row { 
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    color: black;
    font-size: 17px;
    font-weight: 500;
    padding-top: 0;
}
.menu-links-row a{
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}
.menu-user-row {
    text-align: center; 
    padding-top: 0 !important;
}
.login-signup-btn { 
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc; 
    color: #333; 
    padding: 10px 25px; 
    border-radius: 6px; 
    font-size: 17px; 
    font-weight: 500; 
    cursor: pointer; 
    align-items: center; 
    gap: 10px; 
}
.mobile-search-bar { 
    display: flex; 
    background: #fff; 
    border-radius: 6px; 
    overflow: hidden; 
}
.mobile-search-bar form{
    width: 100%;
}
.mobile-search-bar input[type='text']{
    width: calc(100% - 50px);
    float: left;
    height: 45px;
    border: none;
    padding: 0 10px;
    outline: none;
}
.mobile-search-bar button{
    width: 50px;
    height: 45px;
    border: none;
    background: #f48b29;
    border-radius: 0 5px 5px 0;
    color: wheat;
    font-weight: 500;
}

.search-btn { 
    background-color: #1e1e1e; 
    border: none; 
    color: white; 
    padding: 0 15px; 
    cursor: pointer; 
    font-size: 1.3rem; 
}

/* RESPONSIVE SWITCH CHO HEADER */
.pc-header { display: block; }
.mobile-header { display: none; }
@media (max-width: 768px) {
    .pc-header { display: none; }
    .mobile-header { display: block; }
}

/* ==========================================================================
   PHẦN 2: MAIN CONTENT (NỘI DUNG LƯỚI TRUYỆN)
   ========================================================================== */
.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 2px solid #dcdcdc; 
    margin-bottom: 15px; 
    padding-bottom: 10px; 
}
.section-header h1 { 
    font-size: 18px;
    color: #f48b29; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 600;
}
.section-header h2 { 
    font-size: 18px;
    color: #f48b29; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 600;
    text-transform: uppercase;
}
.see-more { 
    font-size: 16px; 
    font-weight: 600;
}
.see-more:hover{
    color: #f48b29; 
}
.badge { 
    padding: 6px 10px; 
    font-size: 13px; 
    font-weight: 500; 
    border-radius: 0;
}
.new-badge { 
    background-color: var(--color-green); 
    color: white; 
    margin-left: 5px; 
}
.chapter-badge { 
    background-color: #1e1e1e; 
    color: white; 
    display: inline-block; 
    margin-top: 5px; 
}
.rating { 
    color: #f48b29; 
    font-size: 0.85rem; 
    margin: 5px 0; 
    width: 100%;
    float: left;
}
.rating .irate{
    float: left;
}
.rating .irate .jq-star{
    display: inline-block;
}
.rating .irate .jq-star-svg{
    width: 100%;
    height: 100%;
}
.rating span{
    font-weight: 600;
    font-size: 15px;
    margin-top: 1px;
    margin-left: 10px;
    float: left;
}

/* FEATURED SECTION */
.featured-section { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
    margin-bottom: 30px; 
}

.overlay-info { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: linear-gradient(transparent, rgba(0,0,0,0.9)); 
    color: white; 
    padding: 10px; 
    background-color: rgba(0, 0, 0, .4);
}
.featured-sub-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}
.listfeatured-sub-grid{
    grid-template-columns: repeat(2, 1fr); 
}
.novel-card-horizontal { 
    display: table; 
    background: white; 
    overflow: hidden;
}
.novel-card-horizontal img { 
    width: 120px; 
    height: 160px;
    object-fit: cover; 
}
.novel-card-horizontal .card-info { 
    width: 100%;
    padding: 0 15px; 
    display: table-cell;
    vertical-align: middle; 
}
.card-info h3 { 
    font-size: 17px; 
    margin-bottom: 5px; 
    line-height: 1.2; 
    font-weight: 600;
}
.card-info h3:hover{
    color: #f48b29;
}
.card-info p { 
    font-size: 13px;
    color: black;
    margin-bottom: 3px;
    font-weight: 500;
}

/* LATEST & SIDEBAR */
.main-layout { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 30px; 
}
.content-left { 
    flex: 2.5; 
    background: white; 
    padding: 20px; 
    float: left;
    width: 100%;
}
.listcontent-left{
    flex: 2.5; 
}
.latest-list{
    padding: 0;
    margin: 0;
}
.latest-list li { 
    width: 100%;
    float: left;
    padding: 7px 0;
    border-bottom: 1px solid #dcdcdc;
}
.latest-list li:last-child { 
    border-bottom: none; 
}
.latest-list li .card-latest-thumbnail{
    display: table-cell;
}
.latest-list li .card-latest-thumbnail img{
    border-radius: 4px; 
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.latest-list li .card-latest-info{
    width: 100%;
    display: table-cell;
    vertical-align: middle;
}
.latest-list li .cc-info{
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    align-items: center;
    font-size: 15px;
}
.list-title h3{
    font-size: 17px;
    margin-bottom: 5px;
    line-height: 1.2;
    font-weight: 500;
}
.list-title h3:hover{
    color: #f48b29;
}
.list-title .ls-title{
    padding: 0 10px;
}
.list-genre, .list-time { 
    color: black; 
    font-weight: 500;
}
.list-time { text-align: right; }
.list-chapter a { 
    color: var(--color-blue); 
    font-weight: 500;
}

.sidebar { 
    flex: 1; 
    background: white; 
    padding: 20px; 
}
.genre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.genre-item { 
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: black;
    font-weight: 600;
    padding: 5px 0px;
}
.genre-item:hover { 
    color: #f48b29; 
}
.text-green { color: var(--color-green); }
.text-pink { color: var(--color-pink); font-weight: bold; }
.text-orange { color: #f48b29; font-weight: bold; }
.text-gray { color: var(--text-muted); }

/* BOTTOM GRID */
.latest-novels-section { 
    background: white;
    padding: 20px;     
}
.novel-grid { 
    display: inline-block;
    width: calc(100% + 20px);
    margin-left: -10px;
}
.novel-card-vertical { 
    position: relative;
    overflow: hidden;
    width: calc(16.6667% - 20px);
    float: left;
    margin: 10px;
}
.novel-card-vertical img { 
    width: 100%; 
    height: 270px; 
    object-fit: cover; 
}


/* Detail Novel - Detail Chapter */
.novel-info{
    display: table;
}
.novel-thumbnail{
    width: 275px;
    display: table-cell;
    vertical-align: top;
}
.novel-thumbnail img{
    width: 100%;
}
.novel-block{
    display: table-cell;
    vertical-align: middle;
    padding-left: 20px;
}
.novel-block .novel-genres{
    display: flex;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.novel-block .novel-genres a{
    background: #dcdcdc;
    padding: 3px 15px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
}
.novel-block .novel-genres a:hover{
    background: #f48b29;
    color: white;
}
h1.novel-title{
    font-size: 22px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #f48b29;
}
.novel-block .rating-icon{
    display: inline-flex;
}
.novel-block .rating-icon .jq-star{
    width: 20px;
    height: 20px;
    display: inline-block;
}
.novel-block .rating-icon .jq-star:hover{
    cursor: pointer;
}
.novel-block .rating-icon svg{
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.novel-block .rating-icon span.avgrate{
    font-weight: 600;
    font-size: 15px;
    margin-top: 3px;
    margin-left: 10px;
}
.novel-block .is_rate{
    font-size: 13px;
    font-style: italic;
    padding-top: 10px;
    color: #ed143d;
}
.novel-block .rating-content{
    width: 100%;
    float: left;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
}
.novel-extra{
    width: 100%;
    float: left;
}
.novel-extra .ex-item{
    width: 100%;
    display: inline-flex;
    margin: 10px 0;
    font-size: 15px;
}
.novel-extra .ex-item strong{
    color: #1e1e1e;
    font-weight: 500;
    padding-right: 10px;
}
.novel-extra .ex-item span.status{
    color: #f48b29;
    font-weight: 500;
    text-transform: uppercase;
}
.novel-extra .ex-item a{
    font-weight: 500;
}
.novel-extra .ex-item a:hover{
    color: #f48b29;
}
.chapter-grids{
    padding: 0;
    margin: 0;
    max-height: 620px;
    overflow: hidden;
}
.chapter-grids li{
    padding: 10px 0;
    border-bottom: 1px solid #dcdcdc;
}
.chapter-grids li a:hover{
    color: #f48b29;
}
.more-chapters{
    width: 100%;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
    background: #dcdcdc;
    padding: 10px 0;
}
.more-chapters span:hover{
    cursor: pointer;
}

.article-head{
    width: 100%;
    float: left;
    text-align: center;
    margin: 20px 0;
}
.article-head h1{
    font-size: 22px;
    font-weight: 500;
    color: #f48b29;
}
.article-head h2{
    font-size: 18px;
    font-weight: 500;
}
.reading-navi{
    width: 100%;
    float: left;
    text-align: center;
    margin-bottom: 50px;
}
.reading-navi .change-chapter{
    display: inline-block;
    width: 300px;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    background: #1e1e1e;
    color: #f5f5f5;
    position: relative;
    font-size: 15px;
    margin-right: 20px;
}
.reading-navi .change-page{
    text-align: left;
    padding: 0 10px;
    line-height: 40px;
}
.reading-navi .change-page i{
    float: right;
    line-height: 40px;
}
.reading-navi .change-page:hover{
    cursor: pointer;
}
.reading-navi .change-chapter ul{
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 210px;
    position: absolute;
    z-index: 999;
    width: 100%;
    background: #1e1e1e;
    border-radius: 5px;
    overflow-y: scroll;
    display: none;
}
.reading-navi .change-chapter ul li{
    padding: 0 10px;
    text-align: left;
}
.reading-navi .change-chapter ul li a{
    color: #f5f5f5;
}
.reading-navi .change-chapter ul li a:hover{
    color: #f48b29;
}
.reading-navi .change-chapter ul.top{
    margin-top: 5px;
}
.reading-navi .change-chapter ul.bottom{
    bottom: 43px;
}
.reading-navi .change-chapter ul::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
    /*background-color: #F5F5F5;*/
    display: none;
}
.reading-navi .change-chapter ul::-webkit-scrollbar {
    /*width: 10px;*/
    /*background-color: #F5F5F5;*/
    display: none;
}
.reading-navi .change-chapter ul::-webkit-scrollbar-thumb {
    /*background-color: #000000;*/
    /*border: 2px solid #555555;*/
    display: none;
}
.reading-navi .navi-change-chapter-btn{
    display: inline-block;
    line-height: 40px;
}
.reading-navi .navi-change-chapter-btn a{
    background: #1e1e1e;
    color: #eee;
    padding: 0 10px;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    border-radius: 5px;
    height: 40px;
}
.reading-navi .navi-change-chapter-btn a:first-child{
    margin-right: 10px;
}
.reading-navi .navi-change-chapter-btn a:hover{
    background: #f48b29;
}
.reading-content{
    width: 100%;
    float: left;
    font-size: 18px;
    word-wrap: break-word;
}
/* End Detail Novel - Detail Chapter */
.novel-pager{
    padding: 20px 0;
    width: 100%;
    float: left;
}
.novel-pager ul{
    float: right;
}
.novel-pager ul li.disabled{
    display: none;
}
.novel-pager a{
    background: white;
    padding: 4px 15px;
    border: 1px solid #ddd;
    font-weight: 500;
}
.novel-pager a:hover{
    background: #f48b29;
    color: white;
    border: 1px solid #f48b29;
}
.novel-pager li.active a{
    background: #f48b29;
    color: white;
    border: 1px solid #f48b29;
}
.novel-pager span{
    background: white;
    padding: 3px 12px;
    border: 1px solid #ddd;
    font-weight: 500;
}
.novel-pager span:hover{
    background: #f48b29;
    color: white;
    border: 1px solid #f48b29;
}

.listpage-title{
    text-align: center;
    margin: 20px 0 50px 0;
}
.listpage-title h1{
    font-size: 22px;
    font-weight: 500;
}
.listpage-title i{
    color: #f48b29;
}

.single-page h1{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}
.single-page h3{
    font-size: 18px;
    font-weight: 500;
}
.breadcrumb li{
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}
.breadcrumb li span {
    padding: 0 5px;
    color: #6c757d !important;
}
.breadcrumb li:hover{
    color: #f48b29;
}
.breadcrumb li.active{
    color: #f48b29;
}

/* RESPONSIVE MAIN CONTENT */
@media (max-width: 1024px) {
    .featured-section { grid-template-columns: 1fr; }
    .main-layout { flex-direction: column; }
}
@media (max-width: 768px) {
    .featured-sub-grid { 
        grid-template-columns: 1fr; 
    }
    .list-time { text-align: left; }
    .latest-list li{
        padding: 10px 0;
    }
    .latest-list li .cc-info{
        width: 100%;
        float: left;
        display: unset;
    }
    .latest-list .cc-info .list-title{
        width: 100%;
        float: left;
    }
    .latest-list .cc-info .list-genre{
        width: 150px;
        float: left;
        padding-left: 10px;
    }
    .latest-list .cc-info .list-chapter{
        width: calc(100% - 150px);
        float: left;
    }
    .novel-info{
        display: unset;
    }
    .novel-thumbnail{
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        float: left;
    }
    .novel-thumbnail img{
        width: 250px;
    }
    .novel-block{
        padding-left: 0;
        text-align: center;
    }
    .novel-block .novel-genres{
        display: inline-block;
    }
    .novel-block .novel-genres a{
        margin: 5px;
        display: inline-block;
    }
    .novel-extra{
        display: inline-grid;
        float: unset;
    }
    .novel-extra .ex-item{
        display: unset;
        margin: 5px 0;
    }
}

/* ==========================================================================
   CSS CHO FOOTER
   ========================================================================== */
.site-footer { 
    width: 100%;
    float: left;
    background-color: #1e1e1e; 
    padding: 50px 0 20px 0; 
    margin-top: 50px; 
    color: white; 
    text-align: center;
}
.site-footer .links-col{
    margin-bottom: 20px;
}
.site-footer ul{
    padding: 0;
    margin: 0;
}
.site-footer ul li{
    display: inline-block;
    padding: 0 10px;
}
.site-footer ul li a:hover{
    color: #f48b29; 
}

.error-404{
    text-align: center;
    margin: 50px 0;
}
.error-404 a{
    font-size: 20px;
    font-weight: 500;
    background: #f48b29;
    color: white;
    padding: 10px 30px;
    display: inline-block;
    margin-top: 50px;
    border-radius: 10px;
}

/* Comments */
.commentForm textarea{
    width: 100%;
    padding: 10px;
    border: none;
    background: #dcdcdc;
    outline: none;
    border-radius: 5px;
}
.commentForm .comment-form-input{
    width: 50%;
    float: left;
}
.commentForm .comment-form-input input{
    width: calc(100% - 20px);
    float: left;
    padding: 10px;
    background: #dcdcdc;
    border: none;
    outline: none;
    border-radius: 5px;
}
.commentForm .comment-form-email input{
    margin-left: 20px;
}
.commentForm input[type='submit']{
    background: #f48b29;
    border: none;
    color: white;
    font-weight: 500;
    padding: 7px 20px;
    border-radius: 5px;
}
.chapter-comments{
    width: 100%;
    float: left;
}
.novel-comments h4{
    font-size: 18px;
    font-weight: 500;
}
.comment-body{
    margin-top: 20px;
    color: #333;
    width: 100%;
    float: left;
}
.comment-body .block-left{
    width: 60px;
    float: left;
}
.comment-body .comment-avatar{
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #dcdcdc;
    border-radius: 5px;
    color: black;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
}
.comment-body .block-right{
    width: calc(100% - 60px);
    padding-left: 5px;
    float: left;
}
.comment-body .comment-author h5{
    color: black;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    display: inline-block;
}
.comment-body .comment-author .reply{
    display: inline-block;
}
.comment-body .comment-author .reply a{
    margin-left: 20px;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
}
.comment-body .comment-content{
    font-size: 15px;
    padding-top: 5px;
}
.comment-body .comment-content p{
    margin-bottom: 0;
}
.comment-body .comment-metadata{
    font-size: 12px;
    color: #888;
    padding-top: 10px;
}
.replyBlock{
    width: 100%;
    float: left;
    margin-top: 15px;
}
.replyBlock h6{
    display: inline-block;
    font-size: 14px;
}
.replyBlock .cancel-reply{
    color: #888;
    font-size: 13px;
    margin-left: 50px;
}
/* End Comments */

@media(max-width: 1100px){
    .featured-sub-grid{
        gap: 10px;
    }
    .main-layout{
        gap: 10px;
    }
    .novel-grid{
        gap: 10px;
    }
}

@media(max-width: 1000px){
    .featured-sub-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .novel-card-vertical{
        width: calc(25% - 20px);
    }
    .midnight-header .search-box{
        width: 250px;
    }
}

@media(max-width: 850px){
    .midnight-header .search-box{
        width: 200px;
    }
    .midnight-header .main-nav{
        gap: 20px;
    }
}

@media(max-width: 768px){
    .novel-card-vertical{
        width: calc(33.333% - 20px);
    }
}

@media(max-width: 650px){
    .featured-sub-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .novel-grid{
        width: calc(100% + 10px);
        margin-left: -5px;
    }
    .novel-card-vertical{
        margin: 5px;
        width: calc(33.333% - 10px);
    }
}

@media(max-width: 600px){
    .mobile-header .logo img{
        height: 22px;
    }
    .reading-navi .change-chapter{
        width: 100%;
        margin-right: 0;
    }
    .reading-navi .navi-change-chapter-btn{
        width: 100%;
        margin-top: 20px;
        text-align: right;
    }
    .latest-list .cc-info .list-genre{
        display: none;
    }
    .latest-list .cc-info .list-chapter{
        width: 100%;
        float: left;
        padding-left: 10px;
    }
    .card-info h3{
        font-size: 16px;
    }
    .section-header h1{
        font-size: 16px;
    }
    .see-more{
        font-size: 14px;
    }
    .list-title h3{
        font-size: 15px;
    }
    .genre-item{
        font-size: 15px;
    }
}

@media(max-width: 550px){
    .commentForm .comment-form-input{
        width: 100%;
    }
    .commentForm .comment-form-input input{
        width: 100%;
        margin-left: 0 !important;
    }
}

@media(max-width: 500px){
    .novel-card-vertical{
        width: calc(50% - 10px);
    }
}