.page-body {
  margin: 0;
  background: #f3f3f8;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Open Sans", sans-serif;
  color: #222;
}

.page-header {
  background: #000;
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  min-height: 72px;
}

.site-header-mount {
  min-height: 72px;
}

.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.page-logo {
  width: 200px;
  height: auto;
  display: block;
}

.page-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.page-nav a {
  color: #fff;
  text-decoration: none;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-nav a:hover {
  color: #c9f31d;
  border-bottom-color: #c9f31d;
}

.page-nav a.is-active,
.page-nav a[aria-current="page"] {
  color: #c9f31d;
  border-bottom-color: #c9f31d;
  font-weight: 500;
}

.page-main {
  padding: 124px 0 64px;
  flex: 1 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 24px;
  border: 1px solid #ececf1;
}

.meta-date {
  color: #4f2dbf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-title {
  margin: 10px 0 0;
  color: #111;
  font-family: Raleway, sans-serif;
  font-size: 36px;
  line-height: 1.2;
}

.hero-image {
  margin-top: 20px;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.copy {
  margin-top: 16px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.7;
}

.meta-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #5a5a5a;
  font-size: 13px;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-title {
  margin-top: 24px;
  color: #4f2dbf;
  font-family: Raleway, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.value-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #2f2f2f;
  line-height: 1.7;
}

.value-list li {
  margin-top: 8px;
}

.inline-image-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.inline-image-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.share-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.share-row .label {
  color: #222;
  font-weight: 600;
}

.share-chip {
  border: 1px solid #d9d9df;
  border-radius: 9999px;
  padding: 6px 12px;
  color: #444;
  text-decoration: none;
  font-size: 12px;
}

.share-chip:hover {
  color: #4f2dbf;
  border-color: #4f2dbf;
}

.author-box {
  margin-top: 18px;
  border: 1px solid #ececf1;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafafe;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  object-fit: cover;
}

.author-name {
  margin: 0;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.author-role {
  margin: 2px 0 0;
  font-size: 13px;
  color: #666;
}

.sidebar-card-title {
  margin: 0;
  color: #4f2dbf;
  font-family: Raleway, sans-serif;
  font-size: 22px;
}

.sidebar-stack + .sidebar-stack {
  margin-top: 20px;
}

.clean-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.clean-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  color: #444;
}

.clean-list li:last-child {
  border-bottom: 0;
}

.clean-list a {
  color: #444;
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.clean-list a:hover {
  color: #4f2dbf;
}

.tag-wrap {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  border: 1px solid #ddd;
  border-radius: 9999px;
  padding: 4px 10px;
  color: #444;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
}

.tag-pill:hover {
  border-color: #4f2dbf;
  color: #4f2dbf;
}

.page-footer {
  background: #06053d;
  padding: 0;
  flex-shrink: 0;
}

.site-footer-mount {
  min-height: 360px;
}

.page-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.page-footer-inner > div {
  flex: 1 1 auto;
  max-width: 820px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-copy {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.terms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  white-space: nowrap;
}

.terms-btn:hover {
  color: #c9f31d;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
}

.legal-title {
  margin-top: 0;
}

.legal-heading {
  margin-top: 28px;
}

.legal-list {
  list-style: disc;
  padding-left: 22px;
}

.legal-list li {
  display: list-item;
  border-bottom: 0;
  padding: 4px 0;
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 30px;
  }

  .hero-image {
    height: 260px;
  }

  .inline-image-grid {
    grid-template-columns: 1fr;
  }

  .inline-image-grid img {
    height: 220px;
  }

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

@media (max-width: 900px) {
  .page-header {
    min-height: 64px;
    padding: 12px 0;
  }

  .site-header-mount {
    min-height: 64px;
  }

  .page-logo {
    width: 170px;
    height: auto;
  }

  .page-nav {
    display: none;
  }

  .page-main {
    padding-top: 106px;
  }

  .site-footer-mount {
    min-height: 420px;
  }
}
