/* Blog — article typography (layout shells come from case-study.css) */

.post-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  margin-top: 2em;
}

.post-meta span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4em 1.5em 5em;
}

.post-body h2 {
  font-family: "Druk Wide Bold";
  font-size: clamp(20px, 2vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--color-text);
  margin: 2.2em 0 0.8em;
}

.post-body h3 {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  color: var(--color-text);
  margin: 1.8em 0 0.6em;
}

.post-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 1.4em;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.5em 0;
  padding-left: 1.4em;
}

.post-body ul li,
.post-body ol li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 0.6em;
}

.post-body ul li::marker,
.post-body ol li::marker {
  color: #ff6b00;
}

.post-body strong {
  color: var(--color-text);
}

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--color-text);
}

.post-body blockquote {
  margin: 2em 0;
  padding: 0.25em 0 0.25em 1.5em;
  border-left: 2px solid #ff6b00;
}

.post-body blockquote p {
  color: var(--color-text);
  margin-bottom: 0;
}

/* architecture diagram placeholder */
.diagram-placeholder {
  margin: 2.5em 0;
  padding: 3.5em 2em;
  border: 2px dashed rgba(255, 107, 0, 0.5);
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.04);
  text-align: center;
}

.diagram-placeholder figcaption {
  margin-top: 1em;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

/* inline arch flow inside posts (nodes come from case-study.css) */
.post-body .arch-flow {
  margin: 2em 0;
}

.post-body .arch-node {
  background: var(--color-bg-secondary);
}

/* author bio box (end of every post) */
.post-author {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5em;
}

.post-author-inner {
  display: flex;
  gap: 1.25em;
  align-items: flex-start;
  padding: 1.75em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.post-author-badge {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Druk Wide Bold";
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, #fc002d, #ff6b00);
}

.post-author-body {
  min-width: 0;
}

.post-author-name {
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.15em;
  font-size: 16px;
}

.post-author-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff6b00;
  margin: 0 0 0.75em;
}

.post-author-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 0.75em;
}

.post-author-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid #ff6b00;
  padding-bottom: 1px;
}

/* callout box for BOFU posts (cost tiers, decision framework) */
.post-callout {
  margin: 2em 0;
  padding: 1.5em 1.75em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid #ff6b00;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.post-callout h3 {
  margin-top: 0 !important;
}

.post-callout :last-child {
  margin-bottom: 0;
}

/* simple responsive table for cost/comparison posts */
.post-table-wrap {
  margin: 2em 0;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
}

.post-table th,
.post-table td {
  text-align: left;
  padding: 0.85em 1.1em;
  font-size: 14px;
  line-height: 1.55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  vertical-align: top;
}

.post-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}

.post-table tr:last-child td {
  border-bottom: none;
}

.post-table td strong {
  color: var(--color-text);
}

/* post date on hub cards */
.post-card-date {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1em;
}

@media (max-width: 900px) {
  .post-body {
    padding: 3em 1.5em 4em;
  }

  .post-author-inner {
    flex-direction: column;
    gap: 1em;
    padding: 1.4em;
  }
}
