*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--color-3);
}

.container {
  width: min(1300px, 92%);
  margin: 0 auto;
}

.post-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 44px;
  background: #fff;
  color: var(--color-5);
  text-align: start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 520px at 18% 18%,
      rgba(0, 183, 214, 0.22),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 78% 26%,
      rgba(27, 159, 79, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 540px at 62% 88%,
      rgba(42, 98, 172, 0.22),
      transparent 62%
    );
  filter: saturate(120%);
  pointer-events: none;
}

.post-hero {
  height: 20vw;
}
.post-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 18px;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.45));
  opacity: 0.95;
}

.post-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--color-5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.post-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-5);
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--color-5);
  margin-bottom: 14px;
}

.meta-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
}

.meta-sep {
  opacity: 0.6;
}

.lead {
  margin: 0;
  max-width: 78ch;
  line-height: 1.75;
  color: var(--color-5);
  text-align: initial;
}

.post-main {
  padding: 44px 0 78px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}

.post-card {
  background: #fff;
  border: 1px solid #e7edf2;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.content {
  padding: 28px;
}

.content h2 {
  margin: 22px 0 10px;
  color: var(--color-3);
  letter-spacing: -0.01em;
}

.content p {
  margin: 0 0 14px;
  line-height: 1.8;
  color: rgba(63, 97, 110, 0.92);
}

.content ul {
  margin: 10px 0 16px 18px;
  padding: 0;
  color: rgba(63, 97, 110, 0.92);
}

.content li {
  margin: 8px 0;
  line-height: 1.7;
}

.content .callout {
  margin: 18px 0;
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid #e7edf2;
  background: linear-gradient(135deg, #f5fbff, #e3f3f7);
}

.post-footer {
  padding: 18px 22px;
  border-top: 1px solid #e7edf2;
  display: flex;
  justify-content: flex-end;
}

.post-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.post-side {
  display: grid;
  gap: 16px;
}

.side-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7edf2;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
  padding: 18px;
}

.side-card.glow {
  background: linear-gradient(135deg, #f5fbff, #e3f3f7);
  border: 1px solid #dce6ed;
}

.side-card h4 {
  margin: 0 0 10px;
  color: var(--color-3);
}

.muted {
  margin: 0 0 12px;
  color: rgba(63, 97, 110, 0.82);
  line-height: 1.65;
}

.side-cta {
  display: inline-flex;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--color-2), var(--color-4));
  padding: 10px 14px;
  border-radius: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease,
    background 160ms ease, box-shadow 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--color-1), var(--color-4));
  border-color: transparent;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  color: #071014;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: rgba(2, 6, 23, 0.04);
  border-color: #e7edf2;
  color: var(--color-3);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(2, 6, 23, 0.06);
}

.footer {
  padding: 26px 0;
  border-top: 1px solid #e7edf2;
  background: #fff;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(63, 97, 110, 0.75);
}

.foot-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.foot-links a {
  text-decoration: none;
  color: rgba(63, 97, 110, 0.78);
}
.foot-links a:hover {
  color: var(--color-2);
}

.back-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.back-btn:focus-visible {
  outline: 2px solid var(--color-4, #00b7d6);
  outline-offset: 3px;
}

.back-ic {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 980px) {
  .post-main {
    grid-template-columns: 1fr;
  }
  .post-hero {
    padding: 64px 0 38px;
  }
  .post-hero {
    height: 80vw;
  }
}

@media (max-width: 520px) {
  .back-txt {
    display: none;
  }
  .back-btn {
    top: 12px;
    left: 12px;
    padding: 12px 14px;
  }
  .content {
    padding: 22px;
  }
}
