/* ============================================================
   OXALIS — BLOG SINGLE PAGE CSS
   Built from Figma: Blog Page
   ============================================================ */

/* ─── PAGE WRAPPER ─────────────────────────────────────────── */
.ox-blog-single {
  background: #13252A;
}

/* ─── HERO (light frame) ────────────────────────────────────── */
.ox-post-hero {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-post-hero__inner {
  padding: 80px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.ox-post-hero__h1 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 68px;
  line-height: 105%;
  letter-spacing: -0.02em;
  color: #13252A;
  margin: 0;
  max-width: 900px;
}

/* ─── ARTICLE BODY (light frame) ────────────────────────────── */
.ox-post-body {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-post-body__layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 80px;
}

/* Left column: content */
.ox-post-body__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  flex: 0 0 761px;
  min-width: 0;
}

/* Breadcrumb / category tags */
.ox-post-body__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.ox-post-body__tag {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  height: 34px;
  background: #FAF4E5;
  border: 1px solid #717C7F;
  margin-right: -1px;
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: #13252A;
  text-decoration: none;
  white-space: nowrap;
}
.ox-post-body__tag-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #717C7F;
  margin-right: -1px;
  box-sizing: border-box;
}

/* Article intro text block */
.ox-post-body__intro-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.ox-post-body__section-title {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  color: #13252A;
  margin: 0;
}
.ox-post-body__text {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-post-body__text p { margin: 0 0 1em; }
.ox-post-body__text p:last-child { margin: 0; }
.ox-post-body__text a { color: #FF6600; }
.ox-post-body__text ul,
.ox-post-body__text ol {
  padding-left: 24px;
  margin: 0 0 1em;
}
.ox-post-body__text li { margin-bottom: 4px; }

/* Pull-out boxout (#FAEDDA) */
.ox-post-body__boxout {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 24px;
  width: 100%;
  background: #FAEDDA;
}
.ox-post-body__boxout-title {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  color: #13252A;
  margin: 0;
}
.ox-post-body__boxout-text {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-post-body__boxout-text p { margin: 0 0 1em; }
.ox-post-body__boxout-text p:last-child { margin: 0; }
.ox-post-body__boxout-text ul,
.ox-post-body__boxout-text ol {
  padding-left: 24px;
  margin: 0 0 1em;
}

/* Right column: author */
.ox-post-body__sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 0 0 369px;
  background: #FAF4E5;
  padding-top: 82px; /* align with content after tags */
}
.ox-post-body__author-photo {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border: 1px solid #717C7F;
  display: block;
}
.ox-post-body__author-divider {
  width: 100%;
  height: 1px;
  background: #717C7F;
  border: none;
  margin: 0;
}
.ox-post-body__author-name {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #13252A;
  margin: 0;
}
.ox-post-body__author-date {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}

/* ─── FURTHER READING (dark) ────────────────────────────────── */
.ox-post-further {
  background: #13252A;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-post-further__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.ox-post-further__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  color: #F3F4F4;
  margin: 0;
}
.ox-post-further__row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  flex-wrap: nowrap;
  overflow: hidden;
}

/* Reuse article card style from blog-root but inline */
.ox-post-further__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  text-decoration: none;
  color: inherit;
}
/* Hard CSS cap — hide any card beyond the 3rd */
.ox-post-further__card:nth-child(n+4) {
  display: none;
}
.ox-post-further__card-image {
  width: 100%;
  aspect-ratio: 369 / 270;
  object-fit: cover;
  background: #1F3035;
  border: 1px solid #1F3035;
  display: block;
}
.ox-post-further__card-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  gap: 24px;
  width: 100%;
  flex: 1;
  background: #1F3035;
  border-bottom: 4px solid #03D8D8;
}
.ox-post-further__card-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
}
.ox-post-further__card-tag {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  height: 34px;
  background: #13252A;
  border: 1px solid #717C7F;
  margin-right: -1px;
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #F3F4F4;
  text-decoration: none;
  white-space: nowrap;
}
.ox-post-further__card-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #F3F4F4;
  margin-top: 8px;
}
.ox-post-further__card-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  width: 100%;
}
.ox-post-further__card-title {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 105%;
  text-transform: capitalize;
  color: #F3F4F4;
  margin: 0;
  flex: 1;
}
.ox-post-further__card-excerpt {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #F3F4F4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ox-post-further__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F3F4F4;
  text-decoration: none;
}
.ox-post-further__card-cta:hover { opacity: 0.75; }

/* ─── CONTACT FORM (dark) ───────────────────────────────────── */
.ox-post-form {
  background: #13252A;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-post-form__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 0 80px;
}
.ox-post-form__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ox-post-form__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  text-transform: capitalize;
  color: #F3F4F4;
  margin: 0;
}
.ox-post-form__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #F3F4F4;
  margin: 0;
}
.ox-post-form__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ox-post-form__row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
}
.ox-post-form__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.ox-post-form__label {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 105%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F3F4F4;
}
.ox-post-form__input {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  background: #1F3035;
  border: 1px solid #717C7F;
  color: #F3F4F4;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  padding: 0 12px;
  outline: none;
}
.ox-post-form__input:focus { border-color: #FF6600; }
.ox-post-form__textarea {
  box-sizing: border-box;
  width: 100%;
  height: 129px;
  background: #1F3035;
  border: 1px solid #717C7F;
  color: #F3F4F4;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  padding: 12px;
  outline: none;
  resize: vertical;
}
.ox-post-form__textarea:focus { border-color: #FF6600; }
.ox-post-form__submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  background: #1F3035;
  border: 1px solid #FF6600;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
}
.ox-post-form__submit-label {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F3F4F4;
}
.ox-post-form__submit:hover { background: #263e44; }