: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;
}

.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) and (max-width: 1500px) {
  :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;
  }
}

@media (min-width: 1000px) and (max-width: 1179px) {
  .post-actions {
    width: min(760px, 100%);
    grid-template-columns: minmax(0, 1fr);
  }

  .post-neighbors {
    border-left: 0;
  }
}
