.ontology-post {
  --ontology-shadow: 0 20px 42px rgb(31 31 35 / 12%);
  --ontology-border: rgb(31 31 35 / 8%);
  --ontology-card: linear-gradient(
    180deg,
    rgb(255 255 255 / 98%),
    rgb(248 252 249 / 98%)
  );
  padding: calc(var(--nav-header-height, 70px) + 96px) 16px 80px;
  background:
    radial-gradient(circle at top right, rgb(232 247 237 / 58%), transparent 24%),
    linear-gradient(180deg, var(--grey-50, #fafafa) 0%, #ffffff 36%, var(--mint-50, #f7fcf9) 100%);
}

.ontology-post__container {
  max-width: 1180px;
  margin: 0 auto;
}

.ontology-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  align-items: start;
}

.ontology-post__article {
  min-width: 0;
  padding-inline: 18px;
}

.ontology-post__header {
  padding: 0;
  margin-bottom: 56px;
}

.ontology-post__eyebrow,
.ontology-post__kicker,
.ontology-post__label {
  margin: 0 0 6px;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-800, #1f5c36);
}

.ontology-post__title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.25rem);
  line-height: 1.04;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__subtitle {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dark-secondary, #5c5c66);
  font-weight: 600;
}

.ontology-post__meta {
  margin-top: 18px;
  color: var(--text-dark-secondary, #5c5c66);
  font-size: 0.95rem;
}

.ontology-post__lead {
  margin: 0 0 16px;
  font-size: clamp(1.22rem, 1.9vw, 1.6rem);
  line-height: 1.52;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ontology-post__section {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 6px;
}

.ontology-post__section + .ontology-post__section {
  margin-top: 18px;
}

.ontology-post__section + .ontology-post__cta {
  margin-top: 22px;
}

.ontology-post__section p,
.ontology-post__section li,
.ontology-post__figure figcaption,
.ontology-post__footer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--grey-800, #3f3f45);
  font-weight: 400;
}

.ontology-post__section p + p {
  margin-top: 8px;
}

.ontology-post__heading {
  margin: 0;
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  line-height: 1.2;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__heading > span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M6 2 C30 1.2, 50 2.5, 100 1.8 S150 1.5, 175 2.2 C185 2.8, 192 4, 190 5.5 C187 7, 180 6.8, 170 6.8 C130 6, 70 7.2, 12 6.5 C6 6.2, 3 5, 4 3.5 C5 2.2, 4 2.1, 6 2Z' fill='%2394DBA9' opacity='0.72'/%3E%3C/svg%3E");
  background-position: left bottom;
  background-size: calc(100% + 10px) 5px;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: -5px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ontology-post__figure,
.ontology-post__table-wrap,
.ontology-post__cta {
  margin: 0;
  border: 1px solid var(--ontology-border);
  border-radius: 22px;
  background: var(--ontology-card);
  box-shadow: var(--ontology-shadow);
}

.ontology-post__figure {
  padding: 16px;
}

.ontology-post__figure--extra-bottom-space {
  margin-bottom: 12px;
}

.ontology-post__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgb(31 31 35 / 6%);
  background: #ffffff;
}

.ontology-post__figure-title {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__figure figcaption {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgb(31 31 35 / 8%);
  font-size: 0.94rem;
  line-height: 1.66;
}

.ontology-post__pullquote {
  margin: 6px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--mint-400, #94dba9);
}

.ontology-post__pullquote p {
  font-size: 1.26rem;
  line-height: 1.48;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__definition-list,
.ontology-post__process-list,
.ontology-post__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ontology-post__definition-list,
.ontology-post__process-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.ontology-post__definition-list li,
.ontology-post__process-list li {
  position: relative;
  padding-left: 18px;
}

.ontology-post__definition-list li::before,
.ontology-post__process-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-500, #75d191);
}

.ontology-post__table-wrap {
  overflow-x: auto;
  padding: 4px;
}

.ontology-post__table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.ontology-post__table th {
  padding: 16px 18px;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-secondary, #5c5c66);
  border-bottom: 1px solid rgb(31 31 35 / 8%);
}

.ontology-post__table td {
  padding: 18px;
  vertical-align: top;
  border-top: 1px solid rgb(31 31 35 / 8%);
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--grey-800, #3f3f45);
}

.ontology-post__table tbody tr:first-child td {
  border-top: none;
}

.ontology-post__table td strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.ontology-post__heading + .ontology-post__products {
  margin-top: 16px;
}

.ontology-post__product {
  padding-top: 16px;
  position: relative;
}

.ontology-post__product::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--mint-500, #75d191),
    rgb(148 219 169 / 15%)
  );
}

.ontology-post__product h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__product p {
  margin: 0;
}

.ontology-post__cta {
  padding: 20px;
}

.ontology-post__cta h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.32;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__button,
.ontology-post__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ontology-post__button::before,
.ontology-post__links a::before {
  display: none;
}

.ontology-post__button {
  margin-top: 18px;
  background: var(--text-dark-primary, #1f1f23);
  color: #ffffff;
  box-shadow: 0 18px 36px rgb(31 31 35 / 16%);
}

.ontology-post__button:hover,
.ontology-post__links a:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.ontology-post__footer {
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid rgb(31 31 35 / 10%);
}

.ontology-post__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 16px;
}

.ontology-post__links a {
  background: #ffffff;
  color: var(--text-dark-primary, #1f1f23);
  border: 1px solid rgb(31 31 35 / 10%);
}

.ontology-post__sidebar {
  position: sticky;
  top: calc(var(--nav-header-height, 70px) + 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ontology-post__sidebar-heading {
  margin: 0;
  padding-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark-primary, #1f1f23);
  border-bottom: 2px solid var(--mint-400, #94dba9);
}

.ontology-post__sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ontology-post__sidebar-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark-primary, #1f1f23);
  transition: opacity 0.2s ease;
}

.ontology-post__sidebar-item::before {
  display: none;
}

.ontology-post__sidebar-item:hover {
  opacity: 0.72;
}

.ontology-post__sidebar-item img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.ontology-post__sidebar-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ontology-post__sidebar-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-dark-primary, #1f1f23);
}

.ontology-post__sidebar-date {
  font-size: 0.6875rem;
  color: var(--text-dark-secondary, #5c5c66);
}

@media (max-width: 860px) {
  .ontology-post__products {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 992px) {
  .ontology-post__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ontology-post__sidebar {
    position: static;
    padding-top: 32px;
    border-top: 1px solid rgb(31 31 35 / 10%);
  }
}

@media (max-width: 768px) {
  .ontology-post {
    padding-top: calc(var(--nav-header-height, 70px) + 64px);
    padding-bottom: 64px;
  }

  .ontology-post__body {
    gap: 16px;
  }

  .ontology-post__section + .ontology-post__section {
    margin-top: 14px;
  }

  .ontology-post__section + .ontology-post__cta {
    margin-top: 18px;
  }

  .ontology-post__figure,
  .ontology-post__cta {
    padding: 16px;
    border-radius: 20px;
  }

  .ontology-post__table {
    min-width: 620px;
  }
}

@media (max-width: 576px) {
  .ontology-post {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ontology-post__eyebrow,
  .ontology-post__kicker,
  .ontology-post__label {
    font-size: 0.72rem;
  }

  .ontology-post__links {
    flex-direction: column;
  }

  .ontology-post__links a,
  .ontology-post__button {
    width: 100%;
  }
}
