.single {
  margin-top: var(--header-height);
  padding: 28px 0 0;
}

.single-hero {
  max-width: 920px;
  margin: 0 auto;
}

.single-hero-media {
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, .08);
}

.single-hero-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.single-title {
  margin-top: 18px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--main-color);
}

.single-desc {
  margin-top: 10px;
  color: #333;
  font-weight: 650;
  line-height: 1.95;
  font-size: 1.05rem;
}

.single-toc {
  max-width: 920px;
  margin: 14px auto 0;
}

.toc-details {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: var(--shadow);
  background: #fff;
}

.toc-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
}

.toc-summary::-webkit-details-marker {
  display: none
}

.toc-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.toc-title i {
  color: var(--sec-color)
}

.toc-hint {
  color: #64748b;
  font-weight: 800;
}

.toc-body {
  padding: 0 16px 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.toc-body a {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .03);
  border: 1px solid rgba(0, 0, 0, .06);
  font-weight: 800;
  transition: transform var(--main-transition), border-color var(--main-transition);
}

.toc-body a:hover {
  transform: translateY(-2px);
  border-color: rgba(204, 31, 40, .35);
}

.single-content {
  max-width: 920px;
  margin: 16px auto 0;
}

.single-block {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  margin-top: 12px;
}

.single-block h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--main-color);
}

.single-block p {
  margin-top: 10px;
  color: #334155;
  font-weight: 650;
  line-height: 1.95;
}

.single-faq {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.single-faq details {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(0, 0, 0, .02);
  padding: 10px 12px;
}

.single-faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--main-color);
}

.single-faq .ans {
  margin-top: 10px;
  color: #334155;
  font-weight: 650;
  line-height: 1.9;
}

.single-related {
  max-width: 920px;
  margin: 18px auto 0;
  padding-bottom: 18px;
}

.single-related h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--main-color);
}

.related-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-card {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(0, 0, 0, .02);
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform var(--main-transition), box-shadow var(--main-transition), border-color var(--main-transition);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 31, 40, .25);
}

.related-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(204, 31, 40, .10);
  border: 1px solid rgba(204, 31, 40, .18);
  color: var(--sec-color);
}

.related-card .t {
  margin-top: 10px;
  font-weight: 900;
  color: var(--main-color);
}

.related-card .d {
  margin-top: 6px;
  color: #475569;
  font-weight: 650;
  line-height: 1.8;
}

.blog-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--main-transition), box-shadow var(--main-transition), border-color var(--main-transition);
  min-height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 31, 40, .22);
}

.blog-card__media {
  position: relative;
  background: #111;
  display: block;
}

.blog-card__media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.blog-card__badge {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 0, 0, .06);
  font-weight: 900;
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card__title {
  margin: 0;
  font-weight: 950;
  color: #111827;
  line-height: 1.35;
  font-size: 1.12rem;
}

.blog-card__title a {
  color: inherit
}

.blog-card__desc {
  color: #334155;
  font-weight: 650;
  line-height: 1.9;
  margin: 0;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  color: #64748b;
  font-weight: 800;
  font-size: .95rem;
}

.blog-card__meta .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .02);
  border: 1px solid rgba(0, 0, 0, .06);
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(204, 31, 40, .10);
  border: 1px solid rgba(204, 31, 40, .18);
  color: var(--sec-color);
  font-weight: 900;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card__media img {
    height: 210px;
  }
}

.single-block a {
  color: var(--sec-color);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-block a:hover {
  color: var(--main-color);
}

.single-block a.btn,
.single-block a.btn:hover {
  text-decoration: none;
  color: inherit;
}

.single-block .wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 24px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, .28);
  transition: transform .2s, box-shadow .2s;
}

.single-block .wa-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, .38);
  color: #fff !important;
}

.single-block .wa-link::before {
  content: "📱";
  font-size: 1.1em;
}

.single-block table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
}

.single-block thead th {
  background: rgba(204, 31, 40, .08);
  color: var(--main-color);
  font-weight: 900;
}

.single-block th,
.single-block td {
  padding: 12px 12px;
  border: 1px solid rgba(0, 0, 0, .06);
  text-align: right;
  vertical-align: top;
  color: #334155;
  font-weight: 700;
}

.single-block tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, .015);
}

.single-block table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-block thead,
.single-block tbody,
.single-block tr {
  width: 100%;
}

@media (max-width: 980px) {
  .single-hero-media img {
    height: 320px
  }

  .related-grid {
    grid-template-columns: 1fr
  }

  .toc-body {
    grid-template-columns: 1fr
  }
}

@media (max-width: 560px) {
  .single-hero-media img {
    height: 240px
  }
}

.blog-index {
  margin-top: var(--header-height);
  padding: 26px 0 40px;
}

.blog-hero {
  border-radius: 28px;
  padding: 26px 18px;
  background: radial-gradient(1200px 320px at 20% 0%, rgba(204, 31, 40, .10), transparent 60%),
    radial-gradient(900px 320px at 80% 0%, rgba(31, 104, 204, .10), transparent 60%),
    #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow);
}

.blog-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 900;
  color: var(--main-color);
  line-height: 1.2;
}

.blog-hero p {
  margin: 10px 0 0;
  color: #334155;
  font-weight: 650;
  line-height: 1.9;
  max-width: 880px;
}

.blog-tools {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .02);
  border: 1px solid rgba(0, 0, 0, .06);
}

.blog-search i {
  color: var(--sec-color)
}

.blog-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-weight: 750;
  color: #111827;
}

.blog-search input::placeholder {
  color: #64748b;
  font-weight: 700
}

.blog-btn {
  border: 0;
  cursor: pointer;
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 900;
  background: var(--main-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--main-transition), box-shadow var(--main-transition);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.blog-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg)
}

.blog-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--main-transition), box-shadow var(--main-transition), border-color var(--main-transition);
  min-height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 31, 40, .22)
}

.blog-card__media {
  position: relative;
  background: #111;
  display: block;
}

.blog-card__media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.blog-card__badge {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 0, 0, .06);
  font-weight: 900;
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card__title {
  margin: 0;
  font-weight: 950;
  color: #111827;
  line-height: 1.35;
  font-size: 1.12rem;
}

.blog-card__title a {
  color: inherit
}

.blog-card__desc {
  color: #334155;
  font-weight: 650;
  line-height: 1.9;
  margin: 0;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  color: #64748b;
  font-weight: 800;
  font-size: .95rem;
}

.blog-card__meta .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .02);
  border: 1px solid rgba(0, 0, 0, .06);
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(204, 31, 40, .10);
  border: 1px solid rgba(204, 31, 40, .18);
  color: var(--sec-color);
  font-weight: 900;
}

.blog-empty {
  margin-top: 18px;
  border-radius: 24px;
  border: 1px dashed rgba(0, 0, 0, .12);
  background: rgba(0, 0, 0, .02);
  padding: 18px;
  text-align: center;
  color: #334155;
  font-weight: 800;
}

.blog-pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.pgn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.pgn__summary {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
}

.pgn__controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.pgn__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
  font-weight: 800;
  transition: background var(--main-transition), transform var(--main-transition), border-color var(--main-transition);
}

.pgn__btn:hover {
  background: rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.pgn__btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pgn__pages {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pgn__page {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
  font-weight: 900;
  transition: background var(--main-transition), transform var(--main-transition), border-color var(--main-transition);
}

.pgn__page:hover {
  background: rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.pgn__page.is-active {
  background: rgba(204, 31, 40, 0.14);
  border-color: rgba(204, 31, 40, 0.32);
  color: var(--sec-color);
}

.pgn__dots {
  padding: 0 8px;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 800;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-tools {
    grid-template-columns: 1fr;
  }

  .blog-btn {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card__media img {
    height: 210px;
  }
}