:root {
  --bg: #07090a;
  --surface: #101317;
  --surface-2: #15191e;
  --line: #252b32;
  --text: #f5f7f8;
  --muted: #8d96a2;
  --green: #32e58f;
  --green-2: #12a963;
  --green-soft: rgba(50, 229, 143, .12);
  --radius-lg: 24px;
  --radius: 18px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 50% -10%, rgba(50, 229, 143, .055), transparent 32%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  color: #04140c;
  background: var(--green);
  padding: 10px 14px;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0 0;
  background: linear-gradient(var(--bg) 72%, transparent);
}

.nav-shell {
  min-height: 64px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(16, 19, 23, .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 800 15px "Be Vietnam Pro", sans-serif;
  white-space: nowrap;
}

.brand__mark {
  width: 30px;
  height: 30px;
  fill: var(--text);
}

.brand__mark circle {
  fill: var(--surface);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-right: auto;
  margin-left: auto;
}

.primary-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: .2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button--primary {
  color: #03140c;
  background: var(--green);
}

.button--primary:hover {
  transform: translateY(-2px);
  background: #55efa7;
  box-shadow: 0 0 0 7px var(--green-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle>span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.page-heading {
  padding: clamp(70px, 8vw, 120px) 0 46px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.page-heading h1 {
  max-width: 1050px;
  margin: 0;
  font: 800 clamp(44px, 7vw, 88px)/1.05 "Be Vietnam Pro", sans-serif;
  letter-spacing: -0.055em;
  line-height: 1.3em;
}

.page-heading h1 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--green);
}

.page-heading__intro {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.featured-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  isolation: isolate;
}

.featured-card__media {
  position: absolute;
  inset: 0;
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(3, 8, 7, 0.98) 0%,
      rgba(3, 8, 7, 0.80) 50%,
      rgba(3, 8, 7, 0.20) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.35) 60%,
      transparent 100%
    );
}

.featured-card__overlay img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  content: "";
  transition: transform .2s ease;
}

.featured-card__overlay img:hover {
  transform: scale(1.05);
}

.featured-card__content {
  position: absolute;
  /* left: clamp(26px, 5vw, 58px); */
  left: 0;
  /* bottom: clamp(28px, 6vw, 64px); */
  bottom: 0;
  z-index: 2;
  padding: 24px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgb(0 0 0 / 50%);
  cursor: pointer;
}

.featuer-card__content:hover,
.featured-card:hover .featured-card__overlay img {
  transform: scale(1.05);
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(50, 229, 143, .3);
  border-radius: 999px;
  color: var(--green);
  background: rgba(50, 229, 143, .1);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.featured-card h2 {
  max-width: 690px;
  margin: 0 0 16px;
  font: 800 clamp(28px, 4vw, 48px)/1.15 "Be Vietnam Pro", sans-serif;
  letter-spacing: -.025em;
}

.featured-card h2 a {
  transition: color .2s ease;
}

.featured-card h2 a:hover {
  color: var(--green);
}

.featured-card__content>p {
  margin: 0 0 24px;
  max-width: 590px;
  color: #adb5bf;
  line-height: 1.7;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author__avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  background: #10231b;
  font-size: 11px;
  font-weight: 800;
}

.author__avatar img {
  display: block;
  width: 98%;
  height: 98%;
  border-radius: inherit;
  object-fit: contain;
  content: "";
}

.author strong,
.author small {
  display: block;
}

.author strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.author small {
  color: var(--muted);
  font-size: 12px;
}

.media {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #07110e;
  z-index: 2;
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .72;
  transition: transform .5s ease, opacity .5s ease;
}

.featured-card:hover .media::before,
.article-card:hover .media::before {
  transform: scale(1.045);
  opacity: 1;
}

.media--featured::before {
  background: radial-gradient(circle at 65% 30%, rgba(34, 255, 137, .65), transparent 17%), linear-gradient(115deg, transparent 0 42%, rgba(35, 255, 142, .25) 43% 45%, transparent 46%), repeating-linear-gradient(90deg, rgba(50, 229, 143, .10) 0 1px, transparent 1px 80px), repeating-linear-gradient(0deg, rgba(50, 229, 143, .08) 0 1px, transparent 1px 70px), radial-gradient(circle at 70% 45%, #123e2b, #020806 67%);
}

.media__mesh {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(50, 229, 143, .15);
  transform: perspective(500px) rotateX(58deg);
  box-shadow: 0 0 80px rgba(50, 229, 143, .2);
}

.articles {
  padding: 120px 0 130px;
}

.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-bar h2,
.newsletter h2 {
  margin: 0;
  font: 800 clamp(28px, 4vw, 44px)/1.15 "Be Vietnam Pro", sans-serif;
  letter-spacing: -.035em;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.filter:hover,
.filter.is-active {
  color: #03140c;
  border-color: var(--green);
  background: var(--green);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(50, 229, 143, .42);
}

.article-card[hidden] {
  display: none;
}

.article-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease-in-out;
}

.article-card__media:hover img {
  transform: scale(1.05)
}

.article-card__body {
  padding: 28px 28px 30px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-card__meta span:first-child {
  color: var(--green);
}

.article-card__meta span+span::before {
  content: "•";
  margin-right: 12px;
  color: #394047;
}

.article-card h3 {
  min-height: 58px;
  margin: 0 0 12px;
  font: 700 19px/1.45 "Be Vietnam Pro", sans-serif;
}

.article-card h3 a:hover {
  color: var(--green);
}

.article-card p {
  min-height: 70px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.read-more span {
  color: var(--green);
  font-size: 19px;
  transition: transform .2s;
}

.read-more:hover span {
  transform: translateX(5px);
}


.lock {
  position: absolute;
  left: 50%;
  top: 53%;
  width: 90px;
  height: 72px;
  border: 3px solid var(--green);
  border-radius: 14px;
  transform: translate(-50%, -35%);
  box-shadow: 0 0 30px rgba(50, 229, 143, .45);
}

.lock::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 46px;
  left: 18px;
  top: -42px;
  border: 3px solid var(--green);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.lock::after {
  content: "";
  position: absolute;
  left: 40px;
  top: 27px;
  width: 8px;
  height: 20px;
  border-radius: 8px;
  background: var(--green);
}

.media--api::before {
  background: radial-gradient(circle, #1a7550 0 1px, transparent 2px), radial-gradient(circle at center, #123e2b, #040807 70%);
  background-size: 26px 26px, auto;
}

.api-orbit {
  position: absolute;
  inset: 22%;
  border: 1px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(50, 229, 143, .06), 0 0 0 50px rgba(50, 229, 143, .03);
}

.api-orbit::before,
.api-orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px var(--green)
}

.api-orbit::before {
  left: 5%;
  top: 15%
}

.api-orbit::after {
  right: 4%;
  bottom: 16%
}

.media--dashboard::before {
  background: linear-gradient(0deg, rgba(50, 229, 143, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 229, 143, .11) 1px, transparent 1px), linear-gradient(145deg, #10231c, #050806);
  background-size: 32px 32px, 32px 32px, auto;
}

.chart-bars {
  position: absolute;
  left: 17%;
  right: 17%;
  bottom: 20%;
  height: 55%;
  background: linear-gradient(90deg, var(--green) 0 12%, transparent 12% 18%, #168954 18% 34%, transparent 34% 40%, #46f2a0 40% 54%, transparent 54% 60%, #137448 60% 75%, transparent 75% 81%, var(--green) 81% 100%);
  clip-path: polygon(0 80%, 12% 80%, 12% 45%, 34% 45%, 34% 65%, 54% 65%, 54% 20%, 75% 20%, 75% 50%, 100% 50%, 100% 100%, 0 100%);
}

.media--shield::before {
  background: radial-gradient(circle at 50% 50%, rgba(50, 229, 143, .26), transparent 30%), repeating-radial-gradient(circle at 50% 50%, transparent 0 26px, rgba(50, 229, 143, .08) 27px 28px), #050908;
}

.shield {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90px;
  height: 105px;
  transform: translate(-50%, -50%);
  background: var(--green);
  clip-path: polygon(50% 0, 92% 15%, 85% 72%, 50% 100%, 15% 72%, 8% 15%);
}

.shield::after {
  content: "";
  position: absolute;
  inset: 9px;
  background: #082017;
  clip-path: inherit
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 66px;
}

.pagination button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.pagination button:hover:not(:disabled),
.pagination button.is-current {
  color: #03140c;
  border-color: var(--green);
  background: var(--green);
}

.pagination button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(380px, .7fr);
  align-items: center;
  gap: 56px;
  margin-bottom: 120px;
  padding: 56px;
  overflow: hidden;
  border: 1px solid rgba(50, 229, 143, .2);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #101814, #0c1012);
}

.newsletter::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  top: -190px;
  border-radius: 50%;
  background: rgba(50, 229, 143, .12);
  filter: blur(35px);
}

.newsletter>* {
  position: relative;
  z-index: 1;
}

.newsletter p:not(.eyebrow):not(.form-message) {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #080b0c;
}

.newsletter__form input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--green);
  background: transparent;
}

.form-message {
  position: absolute;
  right: 65px;
  bottom: 24px;
  margin: 0;
  color: var(--green);
  font-size: 12px;
}

.site-footer {
  padding: 76px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 56px;
  padding-bottom: 62px;
}

.footer-brand p {
  max-width: 310px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-col h2 {
  margin: 0 0 8px;
  font: 700 14px "Be Vietnam Pro", sans-serif;
}

.footer-col a {
  color: var(--muted);
  font-size: 13px;
  transition: color .3s ease;
}

.footer-col a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: #737c87;
  font-size: 11px;
}

.footer-bottom span:last-child {
  display: flex;
  gap: 28px;
}

.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 40px auto;
  padding: 16px;
  width: min(100%, var(--max));
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ad-slot__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-slot--infeed {
  grid-column: 1 / -1; /* spans full width inside .card-grid */
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 82px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-col:last-child {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding-top: 10px;
  }

  .nav-shell {
    min-height: 58px;
    padding: 7px 12px 7px 16px;
  }

  .page-heading {
    padding-top: 62px;
  }

  .page-heading h1 {
    font-size: 5vh;
    text-wrap-style:pretty;
    letter-spacing: -0.05em;
  }

  .page-heading h1 br {
    display: none;
  }

  .featured-card {
    min-height: 560px;
  }

  .featured-card__overlay {
    background: linear-gradient(0deg, rgba(3, 8, 7, .97) 0%, rgba(3, 8, 7, .62) 70%, rgba(3, 8, 7, .22));
  }

  .featured-card__content {
    bottom: 0;
  }

  .featured-card h2 {
    font-size: 27px;
  }

  .featured-card__content>p {
    font-size: 14px;
  }

  .articles {
    padding: 90px 0;
  }

  .section-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .article-card h3,
  .article-card p {
    min-height: 0;
  }

  .newsletter {
    width: min(100% - 28px, var(--max));
    margin-bottom: 90px;
    padding: 32px 22px;
  }

  .newsletter__form {
    align-items: stretch;
    flex-direction: column;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .newsletter__form input {
    min-height: 50px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #080b0c;
  }

  .form-message {
    position: static;
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom span:last-child {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 768px) {
  /* Navigation adjustments */
  .nav-shell {
    gap: 15px;
    padding: 10px 16px;
  }
  
  .primary-nav {
    display: none; /* Hide nav links on mobile - requires JS toggle logic */
  }

  .nav-toggle {
    display: block; /* Show the hamburger button */
  }

  /* Adjust Page Headings */
  .page-heading {
    padding: 60px 0 30px;
  }

  /* Make grid 1 column for phones */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Featured card adjustments */
  .featured-card {
    min-height: 450px;
  }

  .featured-card h2 {
    font-size: 28px;
  }

  .section-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .filters {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto; /* Allow filters to scroll horizontally if too many */
    white-space: nowrap;
    padding-bottom: 8px;
  }
}

/* Optimization: Performance & Cleanup */
.featured-card__overlay img {
  will-change: transform; /* Hint for smoother scaling animations */
}

/* Utility for hidden content */
[hidden] {
  display: none !important;
}
/* =========================================================================
   Blog detail page (blog_post.html)
   ========================================================================= */

.post-topbar {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.post-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease;
}

.post-back:hover {
  color: var(--text);
}

.post-hero {
  padding: 56px 0 0;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.post-hero__meta .tag {
  margin-bottom: 0;
}

.post-hero__meta span+span::before {
  content: "•";
  margin-right: 12px;
  color: #394047;
}

.post-hero h1 {
  max-width: 900px;
  margin: 0 0 30px;
  font: 800 clamp(32px, 5.2vw, 56px)/1.18 "Be Vietnam Pro", sans-serif;
  letter-spacing: -.035em;
}

.post-hero .author {
  margin-bottom: 40px;
}

.post-hero__image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.post-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.post-body {
  max-width: 780px;
  margin: 48px auto 0;
  color: #c7cdd3;
  font-size: 16px;
  line-height: 1.9;
}

.post-body h2 {
  margin: 48px 0 18px;
  font: 800 clamp(22px, 3vw, 30px)/1.3 "Be Vietnam Pro", sans-serif;
  letter-spacing: -.02em;
  color: var(--text);
}

.post-body h3 {
  margin: 36px 0 14px;
  font: 700 20px/1.4 "Be Vietnam Pro", sans-serif;
  color: var(--text);
}

.post-body p {
  margin: 0 0 22px;
}

.post-body ul,
.post-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--green);
  color: var(--text);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
}

.post-body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-body figure {
  margin: 34px 0;
}

.post-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}

.post-body code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--green);
  font-size: 14px;
}

.post-body pre {
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 780px;
  margin: 56px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-tag {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-share__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.post-share__icons {
  display: flex;
  gap: 8px;
}

.post-share__icons a,
.post-share__icons button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  transition: .2s ease;
}

.post-share__icons a:hover,
.post-share__icons button:hover {
  color: #03140c;
  border-color: var(--green);
  background: var(--green);
}

.post-share__icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 780px;
  margin: 36px auto 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.author-card__avatar {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border: 2px solid var(--green);
  border-radius: 50%;
  overflow: hidden;
  background: #10231b;
}

.author-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-card h3 {
  margin: 0 0 6px;
  font: 700 15px "Be Vietnam Pro", sans-serif;
}

.author-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.author-card a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.related {
  padding: 90px 0 110px;
  text-align: center;
}

.related h2 {
  margin: 0 0 40px;
  font: 800 clamp(26px, 3.6vw, 38px)/1.2 "Be Vietnam Pro", sans-serif;
  letter-spacing: -.03em;
}

.related .card-grid {
  text-align: left;
}

@media (max-width: 680px) {
  .post-hero__image img {
    max-height: 320px;
  }

  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
