:root {
  --mp-green: #2ebf41;
  --mp-green-dark: #1e8a2e;
  --mp-brown: #6b4b3a;
  --mp-brown-dark: #4e3529;
  --mp-bg: #0f0f0f;
  --mp-stone: #1a1a1a;
  --mp-text: #e6e6e6;
  --mp-muted: #bfbfbf;
}

* {
  box-sizing: border-box;
}

/* @font-face {
  font-family: "Minecraft";
  src: url("../font/minecraft.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
} */

body.mp-body {
  margin: 0;
  background: var(--mp-bg) url("../img/dirt-tile.jpeg") repeat;
  color: var(--mp-text);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--mp-green);
  text-decoration: none;
}
a:hover {
  filter: brightness(1.1);
}

.mp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.mp-h1,
.mp-h2,
.mp-card-title,
.mp-logo__text,
.mp-hero__title {
  font-family: "Minecraft", monospace;
  letter-spacing: 0;
}
.mp-h1 {
  font-size: 28px;
}
.mp-h2 {
  font-size: 22px;
}

.mp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #121212;
  border-bottom: 3px solid #222;
}
.mp-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.mp-logo__text {
  font-size: 18px;
  color: #fff;
}
.mp-nav {
  margin-left: auto;
}
.mp-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
}
.mp-menu a {
  padding: 10px 12px;
  display: block;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
}
.mp-menu a:hover {
  border-color: var(--mp-green);
}

.mp-nav-toggle {
  display: none;
  background: #222;
  color: #fff;
  border: 2px solid #333;
  padding: 8px 10px;
  font-size: 18px;
}
@media (max-width: 900px) {
  .mp-nav-toggle {
    display: block;
  }
  .mp-nav {
    display: none;
  }
  .mp-nav.is-open {
    display: block;
  }
  .mp-menu {
    flex-direction: column;
  }
}

.mp-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 420px;
  border-bottom: 4px solid #000;
}
.mp-hero--thin {
  min-height: 260px;
}
.mp-hero__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.mp-hero__content {
  padding: 80px 20px;
}
.mp-hero__title {
  font-size: 36px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 0 #000;
}
.mp-hero__desc {
  /* max-width: 720px; */
  margin-top: 12px;
  color: var(--mp-muted);
}
.mp-hero__cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mp-btn {
  display: inline-block;
  padding: 12px 18px;
  border: 4px solid #000;
  transform: translateY(0);
  transition: 0.08s ease;
  text-transform: uppercase;
  font-weight: 700;
}
.mp-btn--lg {
  padding: 14px 22px;
}
.mp-btn--green {
  background: var(--mp-green);
  color: #000;
}
.mp-btn--green:hover {
  background: var(--mp-green-dark);
}
.mp-btn--brown {
  background: var(--mp-brown);
  color: #fff;
}
.mp-btn--brown:hover {
  background: var(--mp-brown-dark);
}
.mp-link {
  font-weight: 700;
}
.mp-link--light {
  color: #fff;
}

.mp-section {
  padding: 56px 0;
  background: #111;
}
.mp-section--stone {
  background: var(--mp-stone);
}
.mp-section--biome {
  background-size: cover;
  background-position: center;
}
.mp-overlay {
  background: rgba(0, 0, 0, 0.45);
  padding: 56px 0;
}
.mp-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.mp-section__head--light .mp-h2 {
  color: #fff;
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .mp-grid {
    grid-template-columns: 1fr;
  }
}
.mp-grid--tax {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .mp-grid--tax {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mp-card {
  background: #161616;
  border: 4px solid #000;
  outline: 2px solid #2a2a2a;
}
.mp-card-media {
  display: block;
  background: #0b0b0b;
}
.mp-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.mp-card-thumb--ph {
  background: #0b0b0b;
}
.mp-card-body {
  padding: 14px;
}
.mp-card-title {
  font-size: 16px;
  margin: 0 0 10px 0;
  color: #fff;
  line-height: 1.4;
}
.mp-card-excerpt {
  color: var(--mp-muted);
  margin: 0 0 12px 0;
  font-size: 13px;
  line-height: 1.5;
}

.mp-btn {
  padding: 8px 14px;
}

.mp-tax-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 3px solid #000;
  padding: 24px;
  text-align: center;
  gap: 8px;
}
.mp-tax-name {
  font-family: "Minecraft";
  color: #fff;
}
.mp-tax-count {
  color: var(--mp-muted);
  font-size: 12px;
}

.mp-tax-filter ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mp-tax-filter a {
  display: inline-block;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  padding: 8px 10px;
}
.mp-tax-filter a:hover {
  border-color: var(--mp-green);
}

.mp-post {
  display: block;
}
.mp-post-thumb {
  width: 100%;
  border: 4px solid #000;
  margin-bottom: 16px;
}
.mp-entry {
  line-height: 1.7;
  color: #ddd;
}
.mp-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.mp-chip {
  display: inline-block;
  background: #1a1a1a;
  border: 2px solid #333;
  padding: 6px 10px;
}
.mp-chip:hover {
  border-color: var(--mp-green);
}

.mp-footer {
  background: #0b0b0b;
  border-top: 4px solid #000;
}
.mp-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  padding: 32px 0;
}
@media (max-width: 900px) {
  .mp-footer__grid {
    grid-template-columns: 1fr;
  }
}
.mp-foot-title {
  font-family: "Minecraft";
  margin: 0 0 8px 0;
}
.mp-foot-text {
  color: var(--mp-muted);
}
.mp-foot-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mp-foot-menu a {
  display: block;
  padding: 6px 0;
}
.mp-footer__bottom {
  background: #050505;
  color: #7a7a7a;
  padding: 12px 0;
  border-top: 3px solid #111;
}

.mp-pagination {
  margin-top: 18px;
}
.mp-pagination .page-numbers {
  display: inline-block;
  margin-right: 6px;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  padding: 6px 10px;
}
.mp-pagination .current {
  border-color: var(--mp-green);
}

/* === Comment form – Minecraft style === */
/* .comment-respond {
  margin-top: 24px;
} */
.comment-respond .comment-reply-title {
  font-family: "Minecraft", monospace;
  font-size: 22px;
  margin: 0 0 12px 0;
}
.comment-respond .logged-in-as,
.comment-respond .must-log-in {
  color: var(--mp-muted);
  margin-bottom: 12px;
}
.comment-respond .logged-in-as a {
  color: var(--mp-green);
}

.comment-respond label {
  display: block;
  margin: 10px 0 6px;
  color: #eaeaea;
  font-family: "Minecraft", monospace;
  font-size: 16px;
}

/* inputs + textarea */
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond input[type="search"],
.comment-respond select,
.comment-respond textarea {
  width: 100%;
  background: #242424;
  color: #fff;
  border: 3px solid #9f9f9f; /* viền xám nhạt kiểu Minecraft */
  outline: 2px solid #000; /* đường viền ngoài “pixel” */
  padding: 12px 14px;
  border-radius: 2px; /* giữ góc vuông */
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.35);
  transition: border-color 0.08s ease, box-shadow 0.08s ease,
    background 0.08s ease;
  font-family: Arial, system-ui, "Minecraft", sans-serif;
}

.comment-respond textarea {
  min-height: 160px;
  resize: vertical;
}
.comment-respond ::placeholder {
  color: #bdbdbd;
}

/* state: hover / focus */
.comment-respond input[type="text"]:hover,
.comment-respond input[type="email"]:hover,
.comment-respond input[type="url"]:hover,
.comment-respond select:hover,
.comment-respond textarea:hover {
  border-color: #cfcfcf;
}
.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond input[type="url"]:focus,
.comment-respond select:focus,
.comment-respond textarea:focus {
  border-color: var(--mp-green);
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(46, 191, 65, 0.25);
  background: #1e1e1e;
}

/* required asterisk */
.comment-respond .required {
  color: #ff6a6a;
}

/* submit button = mp-btn */
.comment-respond .form-submit input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: var(--mp-green);
  color: #000;
  border: 4px solid #000;
  outline: 2px solid #2a2a2a;
  padding: 12px 18px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Minecraft", monospace;
  transition: 0.08s ease;
}
.comment-respond .form-submit input[type="submit"]:hover {
  background: var(--mp-green-dark);
}

/* lỗi form WP */
.comment-respond .comment-notes {
  color: var(--mp-muted);
}
.comment-respond .wp-error,
.comment-respond .error,
.comment-respond .required-field-message {
  color: #ff6a6a;
}

/* Body mặc định: KHÔNG dùng Minecraft */
body.mp-body {
  font-family: Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Khu vực nội dung bài: KHÔNG dùng Minecraft */
.mp-entry,
.mp-post-meta,
.mp-term-list,
.mp-post__content,
.wp-block-paragraph,
.comment-content {
  font-family: inherit;
}

.mp-post__content {
  background: #2d2b2b;
  border: 4px solid #000;
  outline: 2px solid #4a4343;
  box-shadow: 0 6px 0 #000;
  padding: 12px;
  margin: 28px 0 0;
}

/* Giữ Minecraft cho các thành phần giao diện/điểm nhấn */
.mp-h1,
.mp-h2,
.mp-card-title,
.mp-logo__text,
.mp-hero__title,
.mp-btn,
.mp-menu a,
.mp-tax-name {
  font-family: "Minecraft", monospace;
}

/* Tiêu đề & nhãn form comment: dùng font hệ thống */
.comment-respond .comment-reply-title,
.comment-respond label,
.comment-respond .logged-in-as,
.comment-respond .must-log-in,
.comment-respond .comment-notes {
  font-family: inherit;
  font-size: 16px; /* tùy chỉnh cỡ cho dễ đọc */
  letter-spacing: 0;
}

/* Trường nhập & textarea: giữ style khung Minecraft, nhưng font hệ thống */
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond input[type="search"],
.comment-respond select,
.comment-respond textarea {
  font-family: inherit;
}

/* Nút submit trong khu vực comment: bỏ Minecraft */
.comment-respond .form-submit input[type="submit"] {
  font-family: inherit;
  text-transform: none; /* nếu muốn chữ thường; xóa dòng này để giữ UPPERCASE */
}

/* === Panel comment giống block trên minecraft.net === */
.mp-comment-box {
  background: #2d2b2b; /* nền tối hơn để nổi bật */
  border: 4px solid #000; /* viền ngoài đen */
  outline: 2px solid #4a4343; /* viền “khung trong” nhạt */
  box-shadow: 0 6px 0 #000; /* bóng khối */
  padding: 12px;
  margin: 28px 0 0;
}

/* Lưới 2 cột cho Tên + Email */
.mp-comment-box .comment-respond form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
}

/* Textarea, ghi chú, submit chiếm full hàng */
.mp-comment-box .comment-respond .comment-notes,
.mp-comment-box .comment-respond .comment-form-comment,
.mp-comment-box .comment-respond .form-submit,
.mp-comment-box .comment-respond .comment-form-cookies-consent {
  grid-column: 1 / -1;
}

/* Đặt 2 field Tên & Email mỗi cái 1 cột */
.mp-comment-box .comment-respond .comment-form-author {
  grid-column: 1 / 2;
}
.mp-comment-box .comment-respond .comment-form-email {
  grid-column: 2 / 3;
}

/* Gom style input cho gọn (nhỏ hơn, contrast cao) */
.mp-comment-box .comment-respond label {
  display: block;
  margin: 4px 0;
  color: #f0f0f0;
  font-family: inherit;
  font-size: 16px;
}
.mp-comment-box .comment-respond input[type="text"],
.mp-comment-box .comment-respond input[type="email"],
.mp-comment-box .comment-respond input[type="url"],
.mp-comment-box .comment-respond input[type="search"],
.mp-comment-box .comment-respond select,
.mp-comment-box .comment-respond textarea {
  width: 100%;
  background: #2b2b2b;
  color: #fff;
  border: 2px solid #9f9a9a; /* viền xám như block mẫu */
  outline: 2px solid #000; /* đường viền ngoài “pixel” */
  padding: 10px 12px;
  border-radius: 2px;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.35);
  transition: border-color 0.08s ease, background 0.08s ease,
    box-shadow 0.08s ease;
  font-family: inherit; /* KHÔNG dùng font Minecraft trong comment */
}
.mp-comment-box .comment-respond textarea {
  min-height: 100px;
}

.mp-comment-box .comment-respond input:focus,
.mp-comment-box .comment-respond select:focus,
.mp-comment-box .comment-respond textarea:focus {
  border-color: var(--mp-green);
  background: #232323;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(46, 191, 65, 0.25);
}

.mp-comment-box .comment-respond .required {
  color: #ff6a6a;
}

/* Nút gửi gọn lại */
.mp-comment-box .comment-respond .form-submit input[type="submit"] {
  font-family: inherit; /* không dùng Minecraft */
  text-transform: none;
  padding: 10px 16px;
}

/* Responsive: về 1 cột khi hẹp */
@media (max-width: 768px) {
  .mp-comment-box .comment-respond form {
    grid-template-columns: 1fr;
  }
  .mp-comment-box .comment-respond .comment-form-author,
  .mp-comment-box .comment-respond .comment-form-email {
    grid-column: 1 / -1;
  }
}

/* ===== Primary Nav – Minecraft.net vibe ===== */
.mp-header {
  background: #171717;
  border-bottom: 1px solid #262626;
}

.mp-menu {
  gap: 20px;
}
.mp-menu li {
  position: relative;
}

/* base: chữ trắng, nền trong suốt, khung xám mờ  */
.mp-menu a {
  color: #eaeaea;
  background: transparent;
  padding: 10px 14px;
  border: 2px solid #3a3a3a; /* viền xám mờ */
  outline: 0;
  line-height: 1;
  font-family: "Minecraft", monospace; /* chỉ cho menu, có thể đổi sang inherit nếu muốn */
  font-size: 16px;
  transition: border-color 0.08s ease, box-shadow 0.08s ease, color 0.08s ease,
    background 0.08s ease;
}

/* hover: khung xanh + panel tối bên trong (giống ảnh 2) */
.mp-menu a:hover,
.mp-menu a:focus {
  border-color: #6ce06a; /* xanh lá nhạt */
  background: linear-gradient(#252525, #202020);
  box-shadow: inset 0 0 0 2px #151515; /* “viền trong” tối */
  color: #dff7df;
}

/* active/current: khung xanh đậm + panel tối, nổi bật hơn */
.mp-menu .current-menu-item > a,
.mp-menu .current_page_parent > a,
.mp-menu .current-menu-ancestor > a {
  border-color: #7fff70;
  background: linear-gradient(#2b2b2b, #1f1f1f);
  box-shadow: inset 0 0 0 2px #111, 0 0 0 1px #1a1a1a; /* khung kép nhẹ */
  color: #a7f0a6;
}

/* “Buy Now” button nổi bật (thêm class mp-buy cho item trong Menu) */
.mp-menu .mp-buy > a {
  background: #2ebf41;
  color: #000;
  border: 2px solid #0f0f0f;
  box-shadow: 0 2px 0 #000, inset 0 0 0 2px #1e1e1e;
  text-transform: uppercase;
  font-weight: 700;
}
.mp-menu .mp-buy > a:hover {
  background: #1e8a2e;
}

/* header spacing nhỏ gọn như trang gốc */
.mp-header__inner {
  padding: 15px 0;
}
.mp-logo__text {
  font-size: 18px;
}

/* Mobile: menu dạng cột, giữ style khung */
@media (max-width: 900px) {
  .mp-menu {
    gap: 10px;
  }
  .mp-menu a {
    display: block;
    width: 100%;
  }
}

.mp-header {
  background: linear-gradient(#2a2626, #1a1919);
}

.mp-header {
  box-shadow: inset 0 -1px 0 #2c2c2c;
}

/* ====== Top Nav: text-only like minecraft.net ====== */

/* header nền gradient mờ + đường kẻ dưới mảnh (tuỳ) */
.mp-header {
  background: linear-gradient(#2a2626, #1d1c1c);
  border-bottom: 1px solid #2b2b2b;
  box-shadow: inset 0 -1px 0 #1a1a1a;
}

/* layout */
.mp-menu {
  gap: 40px;
}
@media (max-width: 900px) {
  .mp-menu {
    gap: 14px;
  }
}

/* link: KHÔNG viền, KHÔNG nền, chữ in hoa nhẹ */
.mp-menu a {
  background: none !important;
  border: none !important;
  outline: none !important;
  padding: 8px 0; /* chỉ theo chiều dọc */
  color: #e9e9e9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-family: inherit; /* dùng font hệ thống cho dễ đọc */
  position: relative;
  transition: color 0.12s ease;
}

/* underline bar (ẩn mặc định) */
.mp-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: #6ce06a;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

/* hover/focus: chỉ đổi màu chữ + hiện gạch chân xanh */
.mp-menu a:hover,
.mp-menu a:focus {
  color: #dff7df;
}
.mp-menu a:hover::before,
.mp-menu a:focus::before {
  opacity: 1;
  transform: scaleX(1);
}

/* trạng thái current/ancestor: gạch chân xanh luôn hiển thị */
.mp-menu .current-menu-item > a,
.mp-menu .current_page_parent > a,
.mp-menu .current-menu-ancestor > a {
  color: #c7f3c6;
}
.mp-menu .current-menu-item > a::before,
.mp-menu .current_page_parent > a::before,
.mp-menu .current-menu-ancestor > a::before {
  opacity: 1;
  transform: scaleX(1);
}

/* caret cho item có submenu (nhỏ, “pixel-ish”) */
.mp-menu .menu-item-has-children > a {
  padding-right: 18px; /* chừa chỗ cho caret */
}
.mp-menu .menu-item-has-children > a::after {
  content: "▾"; /* caret đơn giản */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-52%);
  font-size: 12px;
  color: #dcdcdc;
  opacity: 0.9;
}
.mp-menu .menu-item-has-children > a:hover::after {
  color: #b9ffb7;
}

/* mobile: vẫn text-only; gạch chân sát hơn */
@media (max-width: 900px) {
  .mp-menu a::before {
    bottom: -6px;
  }
}

/* === GLOBAL MONOSPACE OVERRIDE === */
:root {
  --mp-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
}

/* Áp monospace cho toàn site */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--mp-font) !important;
  letter-spacing: 0;
}

/* Buộc tất cả thành phần theme kế thừa monospace */
.mp-h1,
.mp-h2,
.mp-card-title,
.mp-logo__text,
.mp-hero__title,
.mp-btn,
.mp-menu a,
.mp-tax-name,
.mp-chip,
.mp-foot-title,
.mp-entry,
.mp-post-meta,
.mp-post__content,
.comment-content,
.comment-respond .comment-reply-title,
.comment-respond label,
.comment-respond .form-submit input[type="submit"] {
  font-family: inherit !important;
}

/* ===== Comments List – clean panel ===== */
.mp-comments {
  margin-top: 24px;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list > .mp-comment-li {
  margin-bottom: 14px;
}

.mp-comment {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px 14px;
  background: #202020;
  border: 2px solid #3a3a3a;
  outline: 1px solid #000;
  border-left: 4px solid var(--mp-green);
  padding: 12px 14px;
}

.mp-comment__avatar img {
  border-radius: 2px;
  display: block;
}

.mp-comment__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
  margin-bottom: 6px;
}
.mp-comment__author {
  font-weight: 800;
  color: #eee;
}
.mp-badge {
  font-size: 12px;
  padding: 2px 6px;
  background: #2b2b2b;
  border: 1px solid #4a4a4a;
  color: #a8ff9d;
}
.mp-comment__time {
  color: #8ad78a;
  font-size: 13px;
}

.mp-comment__content {
  color: #e5e5e5;
  line-height: 1.6;
}
.mp-comment__content a {
  color: #9fe79d;
  text-decoration: underline;
}
.mp-comment__pending {
  color: #ffb66b;
  margin: 6px 0;
}

.mp-comment__actions {
  margin-top: 8px;
  font-size: 14px;
}
.mp-comment__actions .mp-reply a {
  color: #b0f0ae;
  text-decoration: none;
  border-bottom: 1px dashed #7fdc7c;
}
.mp-comment__actions .mp-reply a:hover {
  color: #d4ffd3;
  border-bottom-style: solid;
}
.mp-comment__actions .mp-edit a {
  color: #bbb;
}

/* Nested replies */
.comment-list .children {
  list-style: none;
  margin: 10px 0 0 56px;
  padding-left: 0;
  position: relative;
}
/* .comment-list .children::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 12px; 
  width: 2px;
  background: #2f2f2f;
} */

/* Tiny tweaks */
.comment-list p {
  margin: 0 0 10px;
}

.comment-respond h3 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.comment-form-comment {
  margin-top: 0px;
}

.comment-form-author {
  margin-top: 0px;
}

.comment-form-email {
  margin-top: 0px;
}

.mp-comment-box .comment-respond form {
  gap: 0px 16px;
}

.comment-form-cookies-consent {
  margin-top: 0;
}

.form-submit {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* ===== Mobile Header / Drawer Nav ===== */
.mp-header {
  --mp-header-h: 64px;
}
@media (max-width: 900px) {
  .mp-header {
    --mp-header-h: 56px;
  }
  .mp-header__inner {
    padding: 8px 0;
  }

  /* Hamburger */
  .mp-nav-toggle {
    display: block;
    margin-left: auto;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.25);
    border: 2px solid #3a3a3a;
    box-shadow: inset 0 0 0 2px #1a1a1a;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
  }
  .mp-nav-toggle__bars {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #eee;
    transform: translate(-50%, -50%);
    box-shadow: 0 -6px 0 #eee, 0 6px 0 #eee;
  }

  /* Drawer */
  .mp-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--mp-header-h);
    max-height: calc(100vh - var(--mp-header-h));
    background: linear-gradient(#2a2929, #1a1a1a);
    border-top: 1px solid #333;
    box-shadow: 0 10px 0 #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    z-index: 60;
  }
  .mp-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  /* Danh sách menu dọc */
  .mp-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 16px;
  }
  .mp-menu li + li {
    border-top: 1px solid #2b2b2b;
  }
  .mp-menu a {
    background: none !important;
    border: none !important;
    outline: 0 !important;
    padding: 12px 2px;
    color: #eee;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
  }
  .mp-menu a::before {
    display: none;
  } /* bỏ gạch chân xanh của desktop */

  /* Overlay */
  .mp-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    z-index: 50;
  }
  .mp-nav.is-open + .mp-nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Khóa scroll khi mở menu */
  body.mp-lock {
    overflow: hidden;
  }
}

/* ===== Desktop dropdown: hidden by default, show on hover ===== */
@media (min-width: 901px) {
  .mp-header {
    z-index: 1000;
  }
  .mp-nav {
    position: relative;
    z-index: 1000;
  }

  /* mỗi item làm mốc */
  .mp-menu > li {
    position: relative;
  }

  /* submenu: ẩn mặc định + panel tối */
  .mp-menu .sub-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    min-width: 240px;
    background: linear-gradient(#2a2a2a, #1c1c1c);
    border: 1px solid #3a3a3a;
    /* box-shadow: 0 8px 0 #000; */
    padding: 8px 0;
    list-style: none;
    margin: 0;
    display: block; /* để transition mượt */
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.12s ease, visibility 0.12s ease, transform 0.12s ease;
  }

  /* hiện khi hover hoặc focus-within (hỗ trợ bàn phím) */
  .mp-menu li:hover > .sub-menu,
  .mp-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* item trong submenu */
  .mp-menu .sub-menu li {
    list-style: none;
  }
  .mp-menu .sub-menu li + li {
    border-top: 1px solid #2b2b2b;
  }
  .mp-menu .sub-menu a {
    display: block;
    padding: 10px 14px;
    color: #e9e9e9;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    background: none !important;
    border: none !important;
    outline: 0 !important;
  }
  .mp-menu .sub-menu a:hover {
    background: #252525;
    color: #dff7df;
  }

  /* bỏ dấu chấm tròn (•/○) ở submenu nếu còn */
  .mp-menu .sub-menu,
  .mp-menu .sub-menu li {
    list-style-type: none;
  }

  /* caret của item có submenu + xoay khi mở */
  .mp-menu .menu-item-has-children > a {
    padding-right: 18px;
  }
  .mp-menu .menu-item-has-children > a::after {
    content: "▾";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 12px;
    color: #dcdcdc;
    opacity: 0.9;
    transition: transform 0.12s ease, color 0.12s ease;
  }
  .mp-menu li:hover > a::after,
  .mp-menu li:focus-within > a::after {
    transform: translateY(-52%) rotate(180deg);
    color: #b9ffb7;
  }

  /* submenu cấp 2: bay ngang sang phải */
  .mp-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    box-shadow: 8px 8px 0 #000;
  }
}

/* Mobile giữ nguyên drawer (không áp rule hover desktop) */

.mp-post__content figure {
  margin: 0 auto;
  max-width: 100%;
}

.mp-post__content figure img {
  max-width: 100%;
}

.mp-post__content figure figcaption {
  text-align: center;
  font-style: italic;
  margin-top: 5px;
  font-size: 14px;
  color: #8ad78a;
}

.mp-post__content img {
  margin: 0 auto;
  max-width: 100%;
}

/* ===== Breadcrumb ===== */
.mp-breadcrumb {
  background: #141414;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
.mp-breadcrumb .mp-container {
  padding: 10px 20px;
}
.mp-bc-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-bc-item {
  position: relative;
  /* padding-right: 16px; */
}
.mp-bc-item + .mp-bc-item::before {
  content: "›";
  position: absolute;
  left: -6px;
  color: #7a7a7a;
}
.mp-bc-link {
  color: #cfd4cf;
  text-decoration: none;
  border-bottom: 1px dotted #777;
}
.mp-bc-link:hover {
  color: #a8ff9d;
  border-bottom-color: #a8ff9d;
}
.mp-bc-current {
  color: #e9e9e9;
  font-weight: 700;
}

/* ===== Breadcrumb – clean panel, better spacing ===== */
.mp-breadcrumb {
  background: transparent;
  border: 0;
}
.mp-breadcrumb .mp-container {
  padding: 10px 0;
}

/* Thanh breadcrumb: panel mỏng, viền + inner highlight */
.mp-bc-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 8px 12px;
  list-style: none;
  background: linear-gradient(#232323, #1a1a1a);
  border: 1px solid #343434;
  box-shadow: inset 0 1px 0 #2a2a2a, 0 4px 0 #000;
  border-radius: 2px; /* vẫn góc vuông nhẹ nhàng */
}

/* Mỗi crumb */
.mp-bc-item {
  display: flex;
  align-items: center;
  max-width: 100%;
  line-height: 1.25;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Dấu phân cách › với khoảng trắng hợp lý */
.mp-bc-item + .mp-bc-item::before {
  content: "›";
  color: #7e7e7e;
  margin: 0 12px 0 10px;
  font-weight: 700;
}

/* Link: bỏ gạch chân chấm chấm, thêm underline xanh khi hover */
.mp-bc-link {
  color: #cfd4cf;
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.12s ease;
  position: relative;
}
.mp-bc-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: #6ce06a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s ease;
}
.mp-bc-link:hover {
  color: #dff7df;
}
.mp-bc-link:hover::after {
  transform: scaleX(1);
}

/* Crumb hiện tại: đậm, co dòng dài bằng ellipsis */
.mp-bc-current {
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw; /* tránh tràn quá dài */
}

/* Responsive: nới chỗ cho tiêu đề hiện tại */
@media (max-width: 900px) {
  .mp-bc-list {
    padding: 8px 10px;
  }
  .mp-bc-item {
    font-size: 13px;
  }
  .mp-bc-current {
    max-width: 70vw;
  }
}

/* Fix: tắt rule cũ nếu còn */
.mp-bc-item + .mp-bc-item::before {
  content: none !important;
}

/* Dấu phân cách đặt SAU mỗi crumb (trừ crumb cuối) để không bị chữ kế tiếp đè */
.mp-bc-item:not(:last-child)::after {
  content: "›";
  display: inline-block;
  margin: 0 12px;
  color: #7e7e7e;
  font-weight: 700;
  flex: 0 0 auto; /* không co, tránh đè */
  line-height: 1;
  transform: translateY(1px); /* cân baseline */
}

/* Bỏ hẳn gạch chân chấm chấm nếu còn do rule cũ */
.mp-bc-link {
  border-bottom: none !important;
  text-decoration: none;
  letter-spacing: 0; /* monospace đỡ nới rộng */
}

.mp-foot-title {
  font-size: 20px;
}

/* === Biome section: overlay phủ KÍN === */
.mp-section--biome {
  position: relative; /* làm mốc cho overlay */
  overflow: hidden; /* tránh tràn khi scale */
}

/* lớp overlay thật, phủ toàn bộ section (kể cả padding) */
.mp-section--biome::before {
  content: "";
  position: absolute;
  inset: 0; /* top/right/bottom/left: 0 */
  background: rgba(0, 0, 0, 0.45); /* chỉnh đậm/nhạt tùy thích */
  z-index: 0;
  pointer-events: none; /* không chặn click */
}

/* khối nội dung nằm TRÊN overlay */
.mp-section--biome .mp-overlay {
  background: transparent !important; /* bỏ nền cũ để không đè đôi */
  position: relative;
  z-index: 1;
}

/* ===== MC_VN spec – summary / CTA / table ===== */
.mp-spec-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: #1e1e1e;
  border: 1px solid #333;
  box-shadow: inset 0 1px 0 #2a2a2a;
  padding: 18px;
  margin: 8px 0 16px 0;
}
.mp-spec-summary > div {
  text-align: center;
  position: relative;
  padding: 6px 8px;
}
.mp-spec-summary > div + div::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #5e3c33; /* vạch chia kiểu ảnh mẫu */
}
.mp-spec-k {
  display: block;
  opacity: 0.85;
  font-weight: 700;
  margin-bottom: 6px;
}
.mp-spec-v {
  font-size: 18px;
}

.mp-spec-cta {
  margin: 6px 0 22px;
  text-align: center;
}
.mp-download-btn {
  display: inline-block;
  padding: 14px 22px;
  background: #2ebf41;
  color: #000;
  border: 4px solid #000;
  outline: 2px solid #2a2a2a;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.08s ease;
  position: relative;
}
.mp-download-btn:hover {
  background: #1e8a2e;
}
.mp-download-caret {
  margin-left: 8px;
  opacity: 0.8;
}

.mp-spec-card {
  background: #d8c8b8;
  border: 1px solid #b99f87;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
  margin: 6px 0 18px;
}
.mp-spec-head {
  background: #8b6648;
  color: #fff;
  text-align: center;
  font-weight: 900;
  padding: 14px 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.mp-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.mp-spec-table th,
.mp-spec-table td {
  padding: 12px 14px;
  border-top: 1px solid #ccb59f;
}
.mp-spec-table tr:nth-child(even) td,
.mp-spec-table tr:nth-child(even) th {
  background: #eadfce;
}
.mp-spec-table tr:nth-child(odd) td,
.mp-spec-table tr:nth-child(odd) th {
  background: #efe6d8;
}
.mp-spec-table th {
  width: 38%;
  font-weight: 700;
  text-align: left;
  color: #613e2a;
}
.mp-spec-table td {
  color: #2b2b2b;
}
.mp-price-free {
  color: #0a8f28;
  font-weight: 900;
}

/* mobile */
@media (max-width: 900px) {
  .mp-spec-summary {
    grid-template-columns: 1fr;
  }
  .mp-spec-summary > div + div::before {
    display: none;
  }
}

/* ===== Download modal ===== */
.mp-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.mp-modal[aria-hidden="false"] {
  display: block;
}
.mp-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.mp-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 92vw);
  margin: 8vh auto 0;
  background: #222;
  color: #eee;
  border: 2px solid #444;
  /* box-shadow: 0 10px 0 #000, inset 0 1px 0 #333; */
  border-radius: 6px;
  padding: 18px;
}
.mp-modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  background: #2b2b2b;
  color: #eee;
  border: 2px solid #444;
  border-radius: 4px;
  cursor: pointer;
}
.mp-modal__desc {
  color: #cfcfcf;
  margin: 2px 0 12px;
}
.mp-modal__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mp-btn--disabled {
  filter: grayscale(1);
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 600px) {
  .mp-modal__dialog {
    margin-top: 12vh;
  }
}

header {
  padding: 0 20px;
}

footer .mp-footer__cols {
  padding: 45px 0;
}

/* ===== Mod Topic Filter (archive mc_mod) ===== */
.mp-topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
  align-items: center;
}

.mp-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #1a1a1a;
  border: 1px solid #343434;
  box-shadow: inset 0 0 0 2px #121212;
  color: #eaeaea;
  text-decoration: none;
  border-radius: 999px; /* pill */
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease,
    box-shadow 0.12s ease;
  white-space: nowrap;
}
.mp-topic-pill:hover {
  border-color: #6ce06a;
  color: #dff7df;
  background: #202020;
}
.mp-topic-pill.is-active {
  border-color: #7fff70;
  color: #c7f3c6;
  background: #212121;
  box-shadow: inset 0 0 0 2px #171717, 0 0 0 1px #1d1d1d;
}

.mp-topic-count {
  font-size: 12px;
  line-height: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: #262626;
  color: #a8ff9d;
  border: 1px solid #3a3a3a;
}

/* Ẩn dấu chấm của danh sách cũ nếu theme còn render chỗ nào đó */
.mp-tax-filter ul,
.mp-tax-filter li {
  list-style: none !important;
}

/* Mobile: cuộn ngang mượt */
@media (max-width: 900px) {
  .mp-topic-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .mp-topic-pill {
    flex: 0 0 auto;
  }
}

/* ===== Footer layout ===== */
.mp-footer {
  background: #121212;
  border-top: 1px solid #242424;
  color: #cfcfcf;
}
.mp-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 24px 0;
}
.mp-foot-title {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
  color: #eaeaea;
}
.mp-foot-content p {
  margin: 0 0 8px;
}
.mp-footer__bottom {
  border-top: 1px solid #242424;
  padding: 12px 0;
  text-align: center;
  color: #9a9a9a;
  font-size: 14px;
}

/* Socials */
.mp-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.mp-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #191919;
  color: #eaeaea;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 6px;
  transition: all 0.12s ease;
}
.mp-social:hover {
  border-color: #6ce06a;
  color: #dff7df;
  background: #202020;
}
.mp-social svg {
  fill: currentColor;
  display: block;
}

@media (max-width: 900px) {
  .mp-footer__cols {
    grid-template-columns: 1fr;
  }
}

.mp-foot-content {
  font-size: 14px;
  line-height: 1.8;
}

.mp-foot-content ul {
  list-style: inside;
  padding-left: 0;
}

.mp-foot-content {
  text-align: justify;
}

/* Social icons — icon only */
.mp-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.mp-social.mp-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eaeaea;
  background: #191919;
  border: 1px solid #333;
  border-radius: 10px;
  transition: background 0.12s ease, border-color 0.12s ease,
    transform 0.08s ease;
}
.mp-social.mp-icon:hover {
  background: #202020;
  border-color: #6ce06a;
  color: #dff7df;
  transform: translateY(-1px);
}
.mp-social.mp-icon svg {
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== FAQs / Accordion ===== */
.mp-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-acc-item {
  border: 1px solid #343434;
  background: #161616;
  border-radius: 8px;
  overflow: hidden;
}
.mp-acc-q {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  cursor: pointer;
  background: #1b1b1b;
  color: #eaeaea;
  border: none;
}
.mp-acc-q:hover {
  background: #202020;
}
.mp-acc-caret {
  margin-left: 10px;
  transition: transform 0.15s ease;
}
.mp-acc-q[aria-expanded="true"] .mp-acc-caret {
  transform: rotate(45deg);
} /* + -> x */
.mp-acc-a {
  padding: 14px 16px;
  color: #d0d0d0;
  border-top: 1px solid #2a2a2a;
}
.mp-acc-a p {
  margin: 0 0 10px;
}

/* Builder – Hero */
.mp-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.mp-hero__ov {
  position: absolute;
  inset: 0;
  background: #000;
}
.mp-hero__inner {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}
.mp-hero-title {
  font-size: 42px;
  margin: 0 0 8px;
}
.mp-hero-sub {
  max-width: 800px;
  color: #cfcfcf;
}
.mp-hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

/* Builder – Mod topics grid */
.mp-modtopics {
  position: relative;
  background-size: cover;
  background-position: center;
}
.mp-modtopics__ov {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.mp-modtopics .mp-container {
  position: relative;
  z-index: 1;
}
.mp-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.mp-topic-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #333;
  border-radius: 8px;
  text-decoration: none;
  color: #eaeaea;
}
.mp-topic-tile:hover {
  border-color: #6ce06a;
  background: rgba(0, 0, 0, 0.55);
}
.mp-topic-count {
  color: #8df38b;
  font-size: 12px;
}

/* Generic */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.mp-section {
  padding: 28px 0;
}
.mp-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mp-spacer {
  width: 100%;
}
@media (max-width: 768px) {
  .mp-hero {
    min-height: 360px;
  }
  .mp-hero-title {
    font-size: 32px;
  }
}

.mp-content {
  background: #2d2b2b;
  border: 4px solid #000;
  outline: 2px solid #4a4343;
  box-shadow: 0 6px 0 #000;
  padding: 12px;
  line-height: 1.8;
}

.mp-content p {
  font-size: 15px;
}

.mp-faqs {
  background: #2d2b2b;
  border: 4px solid #000;
  outline: 2px solid #4a4343;
  box-shadow: 0 6px 0 #000;
  padding: 12px;
  margin-top: 30px;
}

.mp-hero--thin {
  min-height: 260px;
}
