/*Grid*/
.container {
 width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  margin-right: auto;
  margin-left: auto;
}
* {
  box-sizing: border-box;
}
:root {
  --container-width: 100%; /* fallback nhỏ nhất */
}
@media (min-width: 576px) {
  :root {
    --container-width: 540px;
  }
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  :root {
    --container-width: 720px;
  }
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  :root {
    --container-width: 960px;
  }
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  :root {
    --container-width: 1140px;
  }
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  :root {
    --container-width: 1320px;
  }
  .container {
    max-width: 1320px;
  }
}
@media (min-width: 1600px) {
  :root {
    --container-width: 1440px;
  }
  .container {
    max-width: 1440px;
  }
}
@media (min-width: 1800px) {
  :root {
    --container-width: 1560px;
  }
  .container {
    max-width: 1560px;
  }
}
@media (min-width: 1920px) {
  :root {
    --container-width: 1680px;
  }
  .container {
    max-width: 1680px;
  }
}
@media (min-width: 2160px) {
  :root {
    --container-width: 1800px;
  }
  .container {
    max-width: 1800px;
  }
}
@media (min-width: 2560px) {
  :root {
    --container-width: 1920px;
  }
  .container {
    max-width: 1920px;
  }
}
/* === Row === */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

/* === Column Base === */
[class*="col-"] {
  padding-right: 10px;
  padding-left: 10px;
  box-sizing: border-box;
}

/* === Col-12 === */
.col-12 { flex: 0 0 100%; max-width: 100%; }
/* === Col-6 === */
.col-6 { flex: 0 0 50%; max-width: 50%; }
/* === Col-4 === */
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
/* === Col-3 === */
.col-3 { flex: 0 0 25%; max-width: 25%; }
/* === Col-2 === */
.col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }

/* === Responsive Columns === */
/* Small (≥576px) */
@media (min-width: 576px) {
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
}

/* Medium (≥768px) */
@media (min-width: 768px) {
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
}

/* Large (≥992px) */
@media (min-width: 992px) {
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
}

/* Extra large (≥1200px) */
@media (min-width: 1200px) {
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
}
/*End Grid*/
/*Global*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html, body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
html, body.text-ui-dark {
    background: #262626;
    color: #fff;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e9e9e9;
}
::-webkit-scrollbar-thumb {
  background: var(--adt-primary-color);
  border-radius: 8px;
}
img {
  max-width: 100%;
  object-fit: contain;
  height: auto;
}
a {
  text-decoration: none;
  color: #1a2954;
}
h1, h2, h3, h4, h5, h6 {
  color: #222;
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 10px;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 0.95rem; }
}
ul, ol {
  margin: 1em 0;
  padding-left: 1.5em;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
li {
  margin-bottom: 0.5em;
}
ol {
  list-style-type: decimal;
}
ul {
  list-style-type: disc;
}
ul ul,
ol ol,
ul ol,
ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 1.5em;
  font-size: 0.95em;
}
/*End Global*/
/*Header*/
@media screen { body.admin-bar { margin-top: 32px !important; } }
@media screen and ( max-width: 782px )
{ body.admin-bar { margin-top: 46px !important; } }
.logo img {
  width: 200px;
}
.wrap_branding {
  display: flex;
  align-items: center;
}
.site-header {
  background: linear-gradient(to right, #fab20d 40%,#fab20d);
  padding: 10px 0;
}
/* ===== Menu cấp 1 ===== */
.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}
.main-menu li {
  position: relative;
  margin-bottom: 0;
}
.main-menu > li > a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}
.main-menu > li:hover > a {
  color: #fff;
}
/* ===== Menu cấp 2 ===== */
.main-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 8px 0;
  list-style: none;
  margin: 0;
}
.main-menu li:hover > ul {
  display: block;
}
.main-menu li ul li a {
  display: block;
  padding: 10px 16px;
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s;
}
.main-menu li ul li a:hover {
  background-color: #f0f0f0;
  color: #111;
}
.main-menu li.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 0.7em;
  margin-left: 5px;
  color: #aaa;
}
/* ===== Mobile: thu gọn menu ===== */
@media (max-width: 768px) {
  .main-menu {
    flex-direction: column;
    background: #fff;
    gap: 0;
  }
  .main-menu > li {
    border-top: 1px solid #eee;
  }
  .main-menu li ul {
    position: relative;
    top: 0;
    box-shadow: none;
  }
  .main-menu li:hover > ul {
    display: block;
  }
  .mobile-icon {
    display: inline-block;
    font-size: 22px;
    cursor: pointer;
    margin-left: auto;
  }
}
/*End Header*/
/*Home*/
.page-item-detail .item-thumb {
    display: block;
    height: calc(((var(--container-width) - 20px) / 6) * 4/3);
    position: relative;
    overflow: hidden;
}
.page-item-detail .item-thumb picture {
  overflow: hidden;
}
.page-item-detail {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 11px;
  overflow: hidden;
  transition: all ease .3s;
}
.page-item-detail:hover {
  box-shadow: 0 0 10px #1a2954;
}
.page-item-detail .item-summary {
  position: absolute;
  z-index: 1;
  bottom: 0;
  padding: 10px;
  width: 100%;
  left: 0;
}
.page-item-detail .item-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all ease .3s;
}
.post-title.font-title ._title {
  margin: 0;
}
.latest .post-title.font-title ._title {
    margin-bottom: 6px;
    min-height: 45px;
}

.post-title.font-title ._title a {
    font-size: 1rem;
    display: inherit;
    color: #fff;
    font-weight: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.post-title.font-title h3 {
  margin-bottom: 5px;
  margin-top: 0;
}
.page-item-detail .item-thumb::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.9));
  pointer-events: none;
  z-index: 1;
}
.latest .page-item-detail .item-thumb::before, .trending .page-item-detail .item-thumb::before {
display: none;
}
.page-item-detail:hover img {
  transform: scale(1.08);
}
.page-item-detail:hover .post-title.font-title a {
  text-shadow: 0 0 9px #a27000;
}
.c-blog__heading h2{
	font-size: 1.115rem;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	color: #fff;
	display: inline-block;
}
.c-blog__heading h2 a {
	color: #fff;
}
.site-content {
  margin-top: 2rem;
}

.c-blog__heading.s2 {
  position: relative;
  display: block;
}
.c-blog__heading.s2::after {
	content: "View more »";
	font-size: 14px;
	color: #fff;
	position: static;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	margin-left: 1rem;
}
.top-manga-genres {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.top-manga-genres li {
  background: linear-gradient(135deg, #f9f9f9, #e1e1e1);
  border-radius: 999px;
  padding: 5px 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: background 0.3s ease;
  position: relative;
  border: 1px solid #1a2954;
}
.top-manga-genres li:hover {
  background: linear-gradient(135deg, #fab00d, #f6940c);
}
.top-manga-genres li a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
  line-height: 1;
}
.top-manga-genres li:hover a {
  color: #fff;
}
.top-manga-genres li a::first-letter {
  font-size: 1.25rem;
  font-weight: 700;
  color: #007bff;
  text-transform: uppercase;
}
.top-manga-genres li:hover a::first-letter {
  color: #ffeb3b;
}
.latest .page-item-detail .item-summary, .trending .page-item-detail .item-summary {
    position: relative;
}

.c-blog__inner.latest {
    padding: 2rem 10px;
    background-color: #161515;
    border-radius: 11px;
}

.latest .page-item-detail {
    border: 1px solid #a99273;
}

.latest .page-item-detail .item-thumb {
    height: calc(((var(--container-width) - 40px) / 6) * 4/3);
    overflow: hidden;
}
.list-chapter .chapter-item {
  display: flex;
  padding: 2px 5px;
  border: 1px solid #f5930c;
  margin-bottom: 5px;
  border-radius: 8px;
  color: #fff;
  background-color: #2b2828d1;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s ease all;
}
.list-chapter .chapter-item:hover {
  background-color: #fab20d;
}
.list-chapter .chapter-item .chapter a {
  color: #fff;
  font-size: 15px;
  display: block;
}
.list-chapter .chapter-item:last-child {
  margin-bottom: 0;
}
.list-chapter .chapter-item .post-on {
  font-size: 11px;
  color: #aaa;
}
.c-new-tag {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
}
.list-chapter .chapter-item .chapter {
  display: block;
  width: 100%;
}
.c-new-tag::before {
  position: absolute;
  content: '🔥';
  top: 0;
  left: 0;
  z-index: 1;
  font-size: 14px;
}
.main-col {
  margin-bottom: 1.5rem;
} 
.trending .page-item-detail .item-summary::after {
    content: '';
    position: absolute;
    text-align: center;
    z-index: 7;
    top: 0;
    left: 9px;
    font-size: 2.5rem;
    border-radius: 11px 0 11px 0;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, #999999, #eeeeee, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.trending .col-6.col-md-2:nth-child(1) .item-summary::after {
  content: "1";
}
.trending .col-6.col-md-2:nth-child(2) .item-summary::after {
  content: "2";
}
.trending .col-6.col-md-2:nth-child(3) .item-summary::after {
  content: "3";
}
.trending .col-6.col-md-2:nth-child(4) .item-summary::after {
  content: "4";}
.trending .col-6.col-md-2:nth-child(5) .item-summary::after {
  content: "5";
}
.trending .col-6.col-md-2:nth-child(6) .item-summary::after {
  content: "6";
}
.c-blog_item .c-blog__thumbnail img {
  border-radius: 11px;
}
.trending .page-item-detail:hover {
    box-shadow: none;
}

.trending .page-item-detail .item-summary {
    padding: 0;
    margin-top: 12px;
    padding-left: 3rem;
    height: 39px;
    display: flex;
    align-items: center;
}
.entry-content_wrap {
  margin: 20px auto;
  padding: 20px;
  background: #f1f1f1;
  border-left: 5px solid #f6960c;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
  transition: all 0.3s ease;
}
.entry-content_wrap p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}
footer.site-footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #3b3b3b;
}
.copyright {
  font-size: 14px;
  padding: 10px 0;
  border-top: 1px solid #5f5f5f;
}
.menu_butt{
  display: none;
}
/*End Home*/
/*Responsive*/  
@media screen and (max-width: 768px){
  .menu_butt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.header_nav {
  position: fixed;
  width: 50vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 100;
  overflow: hidden;
  transition: 0.4s ease all;
  transform: translateX(-100%);
}
.header_nav.show {
  transform: translateX(0);
}
.admin-bar .header_nav {
  top: 46px;
}
.menu_butt {
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}
.menu_butt span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}
.menu_butt span:nth-child(1) {
  top: 0px;
}
.menu_butt span:nth-child(2) {
  top: 10px;
}
.menu_butt span:nth-child(3) {
  top: 20px;
}
.wrap_branding {
  justify-content: space-between;
}
.menu_butt.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.menu_butt.active span:nth-child(2) {
  opacity: 0;
}
.menu_butt.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}
.top-manga-genres li {
  padding: 3px 10px;
}
.top-manga-genres {
  gap: 5px;
}
.top-manga-genres li a {
  line-height: 1.2;
}
.c-blog__heading h2 {
  margin-bottom: 1.125rem;
}
.page-item-detail .item-thumb {
  height: calc(((100vw - 20px) / 2 ) * 4/3);
}

.latest .page-item-detail .item-thumb {
  height: calc(((100vw - 40px) / 2 ) * 4/3);
}
.c-blog__inner.latest {
  background: none;
  padding: 0;
}
.c-blog__inner.trending {
	flex-wrap: nowrap;
	overflow-x: scroll;
}
.c-blog_item {
  display: flex;
  margin-bottom: 10px;
}
.c-blog__thumbnail {
  flex: 0 0 40%;
}
.c-blog__summary {
  flex: 0 0 60%;
  padding-left: 10px;
}
.post-title.font-title h2 {
  margin-top: 0;
}
footer.site-footer {
  padding-bottom: 0;
}
.list-chapter .chapter-item .chapter a {
  font-size: 13px;
}
.item-summary .post-title.font-title a {
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
}
/*End Responsive*/