:root {
  --post-max-width: 1060px;
  --post-content-width: 820px;
  --post-media-ratio: 2.48 / 1;
  --post-placeholder: #8b684d;
  --post-placeholder-dark: #684832;
}

.post-template-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.72) 0 18%, transparent 38%),
    var(--fdv-cream);
}

.post-main {
  padding: 54px 0 78px;
}

.post-article {
  width: min(var(--post-max-width), calc(100% - 96px));
  margin: 0 auto;
}

.post-hero {
  text-align: center;
}

.post-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--fdv-muted);
  font-size: 14px;
  font-weight: 700;
}

.post-breadcrumb a {
  color: var(--fdv-navy-text);
  transition: color 160ms ease;
}

.post-breadcrumb a:hover {
  color: var(--fdv-orange);
}

.post-breadcrumb span[aria-current="page"] {
  color: var(--fdv-orange);
}

.post-kicker {
  margin: 0 0 14px;
  color: var(--fdv-orange);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.post-title {
  max-width: 780px;
  margin: 0 auto;
  color: var(--fdv-navy-text);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.98;
}

.post-summary {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--fdv-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.62;
}

.post-meta {
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--fdv-muted);
  font-size: 15px;
  font-weight: 600;
}

.post-meta span {
  min-height: 24px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid rgba(58, 62, 87, 0.22);
}

.post-meta span:first-child {
  border-left: 0;
}

.post-meta i {
  color: var(--fdv-navy-text);
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.post-hero-media,
.post-inline-media {
  overflow: hidden;
  border-radius: 18px;
  background: var(--post-placeholder);
  box-shadow: 0 26px 58px rgba(4, 20, 46, 0.16);
}

.post-hero-media {
  width: min(100%, 920px);
  aspect-ratio: var(--post-media-ratio);
  margin: 42px auto 0;
}

.post-hero-media img,
.post-inline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-media-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    var(--post-placeholder);
  color: rgba(255, 255, 255, 0.9);
}

.post-media-placeholder::before {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.48);
  border-radius: 12px;
  content: "";
}

.post-media-placeholder span {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(4, 20, 46, 0.2);
  font-size: 15px;
  font-weight: 800;
}

.post-content {
  width: min(var(--post-content-width), 100%);
  margin: 48px auto 0;
}

.post-section {
  margin: 0 0 38px;
}

.post-section p,
.post-callout p,
.post-quote p,
.post-list {
  margin: 0;
  color: var(--fdv-navy-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.84;
}

.post-section p + p {
  margin-top: 24px;
}

.post-heading {
  margin: 0 0 12px;
  color: var(--fdv-navy-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.22;
}

.post-list {
  margin-top: 16px;
  padding-left: 26px;
}

.post-list li + li {
  margin-top: 10px;
}

.post-callout,
.post-quote {
  margin: 42px 0;
  border-radius: 16px;
}

.post-callout {
  padding: 28px 32px;
  border: 1px solid rgba(253, 99, 0, 0.22);
  background: rgba(253, 99, 0, 0.08);
}

.post-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--fdv-orange);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-quote {
  padding: 34px 40px;
  border-left: 6px solid var(--fdv-orange);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(4, 20, 46, 0.08);
}

.post-quote p {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.48;
}

.post-quote cite {
  display: block;
  margin-top: 18px;
  color: var(--fdv-muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
}

.post-inline-media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--post-media-ratio);
  margin: 42px 0;
  box-shadow: 0 18px 42px rgba(4, 20, 46, 0.11);
}

.post-inline-media figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* Reusable editorial components: add the markup reference to posts/000/template.html. */
.post-impact-grid {
  margin: 42px 0;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-radius: 18px;
  background: var(--fdv-navy-text);
  box-shadow: 0 18px 42px rgba(4, 20, 46, 0.12);
}

.post-impact-card {
  min-height: 154px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

/* Let an unpaired final card complete the grid instead of leaving an empty cell. */
.post-impact-grid > :last-child:nth-child(odd),
.post-kitchen-map > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.post-impact-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--fdv-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.post-impact-card h3 {
  margin: 0 0 7px;
  color: var(--fdv-white);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.post-impact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.post-sources {
  margin: 48px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(58, 62, 87, 0.16);
}

.post-sources h2 {
  margin: 0;
  color: var(--fdv-navy-text);
  font-size: 20px;
  font-weight: 800;
}

.post-sources > p {
  margin: 8px 0 16px;
  color: var(--fdv-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.post-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-sources li + li {
  margin-top: 10px;
}

.post-sources a {
  color: var(--fdv-navy-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(253, 99, 0, 0.56);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-sources a:hover {
  color: var(--fdv-orange);
}

.post-check-path {
  margin: 42px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.post-check-path li {
  min-height: 196px;
  padding: 22px;
  border: 1px solid rgba(4, 20, 46, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 28px rgba(4, 20, 46, 0.06);
}

.post-check-path b {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--fdv-orange);
  color: var(--fdv-white);
  font-size: 13px;
  font-weight: 800;
}

.post-check-path h3 {
  margin: 0 0 8px;
  color: var(--fdv-navy-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.post-check-path p {
  margin: 0;
  color: var(--fdv-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.post-compare {
  margin: 42px 0;
  overflow: hidden;
  border: 1px solid rgba(4, 20, 46, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 15px 34px rgba(4, 20, 46, 0.08);
}

.post-compare table {
  width: 100%;
  border-collapse: collapse;
  color: var(--fdv-navy-text);
  text-align: left;
}

.post-compare caption {
  padding: 19px 22px;
  border-bottom: 1px solid rgba(4, 20, 46, 0.14);
  background: rgba(4, 20, 46, 0.96);
  color: var(--fdv-white);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

.post-compare th,
.post-compare td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(4, 20, 46, 0.1);
  vertical-align: top;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.48;
}

.post-compare thead th {
  background: rgba(253, 99, 0, 0.08);
  color: var(--fdv-navy-text);
  font-weight: 800;
}

.post-compare tbody th {
  width: 19%;
  color: var(--fdv-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-compare tr:last-child th,
.post-compare tr:last-child td {
  border-bottom: 0;
}

.post-routine-rail {
  margin: 42px 0;
  padding: 8px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid rgba(253, 99, 0, 0.45);
}

.post-routine-stop {
  position: relative;
  padding: 28px 16px 8px 0;
}

.post-routine-stop::before {
  position: absolute;
  top: -9px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 3px solid var(--fdv-cream);
  border-radius: 50%;
  background: var(--fdv-orange);
  content: "";
}

.post-routine-stop + .post-routine-stop {
  padding-left: 16px;
  border-left: 1px solid rgba(4, 20, 46, 0.12);
}

.post-routine-stop time {
  display: block;
  margin-bottom: 8px;
  color: var(--fdv-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.post-routine-stop h3 {
  margin: 0 0 7px;
  color: var(--fdv-navy-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.post-routine-stop p {
  margin: 0;
  color: var(--fdv-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

/* Use these only when the article benefits from a context scan or kitchen workflow. */
.post-context-cards {
  margin: 42px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.post-context-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(4, 20, 46, 0.13);
  border-top: 4px solid var(--fdv-orange);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(4, 20, 46, 0.06);
}

.post-context-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--fdv-navy-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.post-context-card p {
  margin: 0;
  color: var(--fdv-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.post-kitchen-map {
  margin: 42px 0;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(4, 20, 46, 0.13);
  box-shadow: 0 15px 34px rgba(4, 20, 46, 0.08);
}

.post-kitchen-step {
  min-height: 152px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.post-kitchen-step b {
  display: block;
  margin-bottom: 14px;
  color: var(--fdv-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.post-kitchen-step h3 {
  margin: 0 0 7px;
  color: var(--fdv-navy-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.post-kitchen-step p {
  margin: 0;
  color: var(--fdv-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

/* Use these only for a care plan with clear ownership or a compact myth/fact correction. */
.post-care-plan {
  margin: 42px 0;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-radius: 18px;
  background: rgba(4, 20, 46, 0.96);
  box-shadow: 0 18px 42px rgba(4, 20, 46, 0.12);
}

.post-care-plan article {
  padding: 18px;
  border-left: 2px solid var(--fdv-orange);
}

.post-care-plan span {
  display: block;
  margin-bottom: 10px;
  color: var(--fdv-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.post-care-plan h3 {
  margin: 0 0 8px;
  color: var(--fdv-white);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.post-care-plan p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.post-myth-list {
  margin: 42px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(4, 20, 46, 0.15);
}

.post-myth-list li {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 26px;
  border-bottom: 1px solid rgba(4, 20, 46, 0.15);
}

.post-myth-list b {
  align-self: start;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(253, 99, 0, 0.12);
  color: #b94700;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
}

.post-myth-list h3 {
  margin: 0 0 7px;
  color: var(--fdv-navy-text);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.post-myth-list p {
  margin: 0;
  color: var(--fdv-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.62;
}

.post-actions {
  width: min(1000px, 100%);
  margin: 66px auto 0;
  padding-top: 30px;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
  border-top: 1px solid rgba(58, 62, 87, 0.16);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fdv-navy-text);
  font-size: 15px;
  font-weight: 800;
}

.post-share-button {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(58, 62, 87, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--fdv-navy-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.post-share-button svg,
.post-share-button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.post-share-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-share-button[data-share-facebook] svg {
  fill: currentColor;
  stroke: none;
}

.post-share-button img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(49%) saturate(1562%) hue-rotate(191deg) brightness(91%) contrast(104%);
  transition: filter 160ms ease;
}

.post-share-button:hover {
  background: var(--fdv-orange);
  border-color: rgba(253, 99, 0, 0.46);
  color: var(--fdv-white);
  transform: translateY(-1px);
}

.post-share-button:hover img {
  filter: brightness(0) invert(1);
}

.post-neighbors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid rgba(58, 62, 87, 0.14);
}

.post-neighbor {
  min-height: 76px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(58, 62, 87, 0.14);
}

.post-neighbor-next {
  text-align: right;
}

.post-neighbor small {
  color: var(--fdv-muted);
  font-size: 12px;
  font-weight: 800;
}

.post-neighbor span {
  margin-top: 6px;
  color: var(--fdv-navy-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.32;
  transition: color 160ms ease;
}

.post-neighbor:hover span {
  color: var(--fdv-orange);
}

.post-site-footer {
  min-height: 92px;
  padding: 0 max(42px, calc((100vw - 1640px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--fdv-navy-nav);
  color: var(--fdv-white);
}

.post-site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.post-footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.post-footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.post-footer-links a:hover {
  color: var(--fdv-orange);
}

@media (min-width: 1000px) {
  :root {
    --post-max-width: 940px;
    --post-content-width: 760px;
  }

  .post-main {
    padding: 46px 0 70px;
  }

  .post-article {
    width: min(var(--post-max-width), calc(100% - 64px));
  }

  .post-title {
    font-size: clamp(48px, 4vw, 56px);
  }

  .post-summary {
    font-size: 16.5px;
  }

  .post-hero-media {
    width: min(100%, 840px);
    margin-top: 36px;
  }

  .post-content {
    margin-top: 42px;
  }

  .post-section p,
  .post-callout p,
  .post-quote p,
  .post-list {
    font-size: 16.5px;
    line-height: 1.76;
  }

  .post-heading {
    font-size: 27px;
  }

  .post-quote p {
    font-size: 22px;
  }

  .post-actions {
    margin-top: 54px;
  }

  .post-site-footer {
    padding: 0 34px;
  }
}
