/* ===== News / blog & generic pages ===== */
.phero {
  background: var(--paper-2);
  color: var(--ink);
  padding-block: clamp(56px, 8vw, 90px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.phero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 340px;
  height: 340px;
  border: 60px solid var(--red);
  border-radius: 50%;
  opacity: 0.12;
  border-right-color: transparent;
  border-bottom-color: transparent;
}
.phero .crumb {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.phero .crumb a {
  color: var(--muted);
}
.phero .crumb a:hover {
  color: var(--red);
}
.phero h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.04em;
}
.phero p {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  max-width: 60ch;
  margin-top: 20px;
}

.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px);
}
.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.page-hero p {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 14px;
  font-size: 17px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  transition:
    transform 0.2s,
    box-shadow 0.25s,
    border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.post-card .ph {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-2);
}
.post-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.post-card:hover .ph img {
  transform: scale(1.04);
}
.post-card .bd {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card .date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
}
.post-card h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.post-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.post-card .more {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
}

.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 46px;
  justify-content: center;
}
.pagination .page-numbers {
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink-2);
  background: var(--card);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* single / page article */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article .cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 26px 0 32px;
}
.article .cover img {
  width: 100%;
  display: block;
}
.article .prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.article .prose h2 {
  font-size: 28px;
  margin: 32px 0 14px;
  letter-spacing: -0.02em;
}
.article .prose h3 {
  font-size: 22px;
  margin: 26px 0 12px;
}
.article .prose p {
  margin-bottom: 18px;
}
.article .prose ul,
.article .prose ol {
  margin: 0 0 18px 22px;
}
.article .prose li {
  margin-bottom: 8px;
}
.article .prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.article .prose blockquote {
  border-left: 4px solid var(--red);
  padding-left: 18px;
  margin: 22px 0;
  color: var(--muted);
  font-style: italic;
}
.article .meta-line {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  margin-top: 16px;
}

@media (max-width: 1080px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Bài viết đơn (single) ===== */
.art-hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 5vw, 66px);
}
.art-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 320px;
  height: 320px;
  border: 58px solid var(--red);
  border-radius: 50%;
  opacity: 0.15;
  border-right-color: transparent;
  border-bottom-color: transparent;
  pointer-events: none;
}
.art-hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.art-hero .crumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.art-hero .crumb a {
  color: rgba(255, 255, 255, 0.6);
}
.art-hero .crumb a:hover {
  color: #fff;
}
.art-hero h1 {
  color: #fff;
  font-size: clamp(27px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
}
.art-hero .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}
.art-hero .meta .chip {
  font-family: var(--ff);
}

.art-cover {
  max-width: 860px;
  margin: clamp(-48px, -3.5vw, -28px) auto 0;
  position: relative;
  z-index: 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 7;
}
.art-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.art-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  max-width: 1120px;
  margin: clamp(30px, 4vw, 50px) auto 0;
}
.art-prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  min-width: 0;
}
.art-prose > *:first-child {
  margin-top: 0;
}
.art-prose p {
  margin-bottom: 20px;
}
.art-prose h2 {
  font-size: 27px;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
}
.art-prose h3 {
  font-size: 21px;
  margin: 28px 0 12px;
}
.art-prose ul,
.art-prose ol {
  margin: 0 0 20px 22px;
}
.art-prose li {
  margin-bottom: 9px;
}
.art-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 8px 0;
}
.art-prose blockquote {
  border-left: 4px solid var(--red);
  background: var(--paper-2);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: var(--ink-2);
  font-style: italic;
}
.art-prose a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.art-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.art-share .lb {
  font-weight: 700;
  font-size: 14px;
  margin-right: 4px;
}
.art-share a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--ink-2);
  font-size: 15px;
  transition: 0.2s;
}
.art-share a:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* sidebar bài viết */
.art-side {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.art-cta {
  background: var(--red);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.art-cta h4 {
  color: #fff;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.art-cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.55;
  margin: 8px 0 16px;
}
.art-recent {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: 22px;
}
.art-recent h4 {
  font-size: 15px;
  margin-bottom: 14px;
}
.art-recent a {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.art-recent a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.art-recent .th {
  flex: 0 0 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
}
.art-recent .th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-recent .tt {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink-2);
}
.art-recent a:hover .tt {
  color: var(--red);
}

/* bài liên quan */
.art-related {
  margin-top: clamp(40px, 5vw, 64px);
}

@media (max-width: 980px) {
  .art-body {
    grid-template-columns: 1fr;
  }
  .art-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .art-side > * {
    flex: 1;
    min-width: 260px;
  }
}

/* ===== Tin tức (index design) ===== */
.feat-art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 440px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  margin-bottom: 46px;
}
.feat-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feat-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 17, 15, 0.94), rgba(22, 17, 15, 0.05) 70%);
}
.feat-art .bd {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 48px);
  max-width: 60ch;
}
.feat-art h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 14px 0 12px;
}
.feat-art .m {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.filters button {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
  color: var(--ink-2);
}
.filters button.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.art {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  transition: 0.22s;
  display: flex;
  flex-direction: column;
}
.art:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.art .ph {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper-2);
}
.art .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.art:hover .ph img {
  transform: scale(1.05);
}
.art .bd {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.art .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.art .date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
}
.art h3 {
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.art p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.art.hide {
  display: none;
}

.side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: 24px;
}
.side-card.red {
  background: var(--red);
  color: #fff;
  border-color: transparent;
}
.side-card h4 {
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.sched {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sched li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sched li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sched .d {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
}
.sched .d b {
  font-size: 20px;
}
.sched .d span {
  font-size: 10px;
  font-weight: 600;
}
.sched .t b {
  display: block;
  font-size: 14.5px;
}
.sched .t span {
  font-size: 12.5px;
  color: var(--muted);
}
.side-card.red h4 {
  color: #fff;
}
.side-card.red p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  line-height: 1.55;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* video slider */
.vsec {
  background: var(--paper-2);
}
.vstage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.vframe {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16/9;
}
.vslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}
.vslide.active {
  opacity: 1;
  visibility: visible;
}
.vslide iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ytfacade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
}
.ytfacade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ytfacade:hover img {
  transform: scale(1.04);
}
.ytfacade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 17, 15, 0.82), rgba(22, 17, 15, 0.05) 55%);
}
.ytplay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 14px 40px -6px rgba(220, 0, 0, 0.7);
  transition: transform 0.2s;
}
.ytfacade:hover .ytplay {
  transform: translate(-50%, -50%) scale(1.08);
}
.ytplay::before {
  content: "";
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.ytcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 28px;
  z-index: 3;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.ytcap b {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 30ch;
}
.ytcap .ch {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  white-space: nowrap;
}
.varrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 6;
  font-size: 20px;
  color: var(--ink);
  transition: 0.2s;
}
.varrow:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.varrow.prev {
  left: -24px;
}
.varrow.next {
  right: -24px;
}
.vdots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.vdots button {
  width: 32px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: 0.2s;
  padding: 0;
}
.vdots button.active {
  background: var(--red);
  width: 46px;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .side-card {
    flex: 1;
    min-width: 260px;
  }
}
@media (max-width: 760px) {
  .varrow.prev {
    left: 8px;
  }
  .varrow.next {
    right: 8px;
  }
  .varrow {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
  .ytplay {
    width: 66px;
    height: 66px;
  }
}
@media (max-width: 620px) {
  .art-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Comments ===== */
.art-comments {
  margin-top: 8px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.comments-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.comment-list,
.comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list > li {
  margin-bottom: 18px;
}
.comment-list .children {
  margin: 18px 0 0;
  padding-left: clamp(16px, 4vw, 30px);
  border-left: 2px solid var(--line);
}
.comment-body {
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.bypostauthor > .comment-body {
  border-color: rgba(220, 0, 0, 0.35);
  background: var(--red-tint);
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comment-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.comment-author .fn {
  font-weight: 700;
  font-style: normal;
  font-size: 15px;
}
.comment-author .says {
  display: none;
}
.comment-metadata {
  margin: 8px 0 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.comment-metadata a {
  color: var(--muted);
}
.comment-metadata a:hover {
  color: var(--red);
}
.comment-content {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}
.comment-content p {
  margin: 0 0 10px;
}
.comment-content p:last-child {
  margin-bottom: 0;
}
.reply {
  margin-top: 12px;
}
.comment-reply-link {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--red);
}
.comment-reply-link:hover {
  text-decoration: underline;
}
.comment-awaiting-moderation {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.comments-closed {
  margin-top: 24px;
  color: var(--muted);
}

/* respond / form */
.comment-respond {
  margin-top: 36px;
  padding: clamp(22px, 4vw, 30px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.comment-reply-title {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.comment-reply-title small {
  margin-left: 12px;
  font-weight: 600;
  font-size: 14px;
}
.comment-reply-title small a {
  color: var(--red);
}
.comment-respond .logged-in-as {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}
.comment-respond .logged-in-as a {
  color: var(--red);
}
.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-top: 18px;
}
.comment-form .cf-full,
.comment-form .form-submit,
.comment-form .comment-notes,
.comment-form .comment-form-cookies-consent {
  grid-column: 1 / -1;
}
.comment-form .cf-row {
  margin: 0;
}
.comment-form label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 7px;
}
.comment-form .req {
  color: var(--red);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
}
.comment-form textarea {
  resize: vertical;
  min-height: 130px;
}
.comment-form .form-submit {
  margin: 0;
}
@media (max-width: 620px) {
  .comment-form {
    grid-template-columns: 1fr;
  }
}
