/* FitExpress — Single Blog */
body.single-post {
  background: #f5f5f7;
}

body.single-post .site-main,
body.single-post #primary,
body.single-post main.site-main,
body.single-post .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.fx-post,
.fx-post * {
  box-sizing: border-box;
}

.fx-post {
  --fx-yellow: #FFD600;
  --fx-black: #050505;
  --fx-text: #111;
  --fx-muted: #8a8c93;
  --fx-line: rgba(0,0,0,.08);
  --fx-card: #fff;
  font-family: 'Poppins', sans-serif;
  color: var(--fx-text);
  background: #f5f5f7;
  overflow-x: clip;
}

.fx-post-hero {
  position: relative;
  margin-top: -108px;
  padding: calc(108px + 4.75rem) 6vw 4.25rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,214,0,.15), transparent 42%),
    linear-gradient(135deg, #060606 0%, #111 54%, #030303 100%);
  color: #fff;
  overflow: hidden;
}

.fx-post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.fx-post-hero__inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
}

.fx-post-hero__back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,.58);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.fx-post-hero__back:hover {
  color: var(--fx-yellow);
  transform: translateX(-2px);
}

.fx-post-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fx-post-hero__meta > span,
.fx-post-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.fx-post-hero__meta > span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,214,0,.85);
}

.fx-post-hero__cat {
  color: #111;
  background: var(--fx-yellow);
  border-radius: 999px;
  padding: .38rem .7rem;
  text-decoration: none;
}

.fx-post-hero__title {
  width: min(980px, 100%);
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 4.2vw, 3.7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.fx-post-hero__excerpt {
  max-width: 68ch;
  margin: 1.05rem 0 0;
  color: rgba(255,255,255,.64);
  font-size: clamp(.88rem, 1.05vw, 1rem);
  line-height: 1.65;
  font-weight: 400;
}

.fx-post-cover {
  width: min(1180px, calc(100% - 12vw));
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 2;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
}

.fx-post-cover__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
}

.fx-post-body {
  width: min(1120px, calc(100% - 12vw));
  margin: 0 auto;
  padding: 4.2rem 0 2.5rem;
  display: grid;
  grid-template-columns: 76px minmax(0, 820px);
  gap: 2.5rem;
  justify-content: center;
  align-items: start;
}

.fx-post-share {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
}

.fx-post-share__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #a1a3aa;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.fx-post-share a,
.fx-post-share button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.fx-post-share a:hover,
.fx-post-share button:hover,
.fx-post-share button.is-copied {
  background: var(--fx-yellow);
  border-color: var(--fx-yellow);
  transform: translateY(-2px);
}

.fx-post-article {
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  box-shadow: 0 22px 70px rgba(0,0,0,.06);
}

.fx-post-content {
  color: #24262b;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.9;
  font-weight: 400;
}

.fx-post-content > *:first-child {
  margin-top: 0;
}

.fx-post-content > *:last-child {
  margin-bottom: 0;
}

.fx-post-content p,
.fx-post-content ul,
.fx-post-content ol,
.fx-post-content blockquote,
.fx-post-content figure,
.fx-post-content table,
.fx-post-content pre {
  margin: 0 0 1.45rem;
}

.fx-post-content h2,
.fx-post-content h3,
.fx-post-content h4 {
  color: #111;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 2.2rem 0 1rem;
}

.fx-post-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 900;
}

.fx-post-content h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 850;
}

.fx-post-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
}

.fx-post-content a {
  color: #111;
  font-weight: 700;
  text-decoration-color: var(--fx-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.fx-post-content a:hover {
  color: #8a6f00;
}

.fx-post-content strong {
  color: #111;
  font-weight: 800;
}

.fx-post-content ul,
.fx-post-content ol {
  padding-left: 1.25rem;
}

.fx-post-content li + li {
  margin-top: .35rem;
}

.fx-post-content blockquote {
  border-left: 4px solid var(--fx-yellow);
  padding: .6rem 0 .6rem 1.2rem;
  color: #111;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.55;
}

.fx-post-content img,
.fx-post-content video,
.fx-post-content iframe {
  max-width: 100%;
}

.fx-post-content img {
  height: auto;
  border-radius: 12px;
}

.fx-post-content figure {
  max-width: 100%;
}

.fx-post-content figcaption {
  margin-top: .55rem;
  color: #8a8c93;
  font-size: .78rem;
  text-align: center;
}

.fx-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.fx-post-content th,
.fx-post-content td {
  border: 1px solid rgba(0,0,0,.08);
  padding: .75rem;
  text-align: left;
}

.fx-post-pages,
.fx-post-tags {
  margin-top: 2rem;
}

.fx-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.fx-post-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #f5f5f7;
  color: #111;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 800;
}

.fx-post-nav {
  width: min(1120px, calc(100% - 12vw));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fx-post-nav__item {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  padding: 1.4rem;
  border-radius: 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease;
}

.fx-post-nav__item:hover {
  transform: translateY(-3px);
  background: #000;
}

.fx-post-nav__item span {
  color: var(--fx-yellow);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fx-post-nav__item strong {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.18;
  letter-spacing: -.03em;
}

.fx-post-nav__item--next {
  text-align: right;
  align-items: flex-end;
}

.fx-post-related {
  width: min(1120px, calc(100% - 12vw));
  margin: 4rem auto 5rem;
}

.fx-post-related__head {
  margin-bottom: 1.35rem;
}

.fx-post-related__head span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #9a9ca2;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fx-post-related__head span::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--fx-yellow);
}

.fx-post-related__head h2 {
  margin: .55rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.fx-post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fx-post-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.fx-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,.1);
}

.fx-post-card__media {
  flex: 1 1 auto;
  min-height: 150px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,214,0,.32), transparent 38%),
    #111;
  background-size: cover;
  background-position: center;
}

.fx-post-card__body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1rem;
}

.fx-post-card__date {
  color: #989aa0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fx-post-card strong {
  font-size: .98rem;
  line-height: 1.25;
  letter-spacing: -.025em;
}

@media (max-width: 900px) {
  .fx-post-hero {
    margin-top: -72px;
    padding: calc(72px + 3.2rem) 1.25rem 3rem;
  }

  .fx-post-hero__title {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
    line-height: 1.08;
  }

  .fx-post-cover,
  .fx-post-body,
  .fx-post-nav,
  .fx-post-related {
    width: min(100% - 2rem, 760px);
  }

  .fx-post-cover {
    margin-top: -1.4rem;
    border-radius: 14px;
  }

  .fx-post-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 2rem;
  }

  .fx-post-share {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    order: 2;
  }

  .fx-post-share__label {
    writing-mode: initial;
    transform: none;
    margin: 0 .35rem 0 0;
  }

  .fx-post-article {
    padding: 1.35rem;
    border-radius: 14px;
  }

  .fx-post-nav {
    grid-template-columns: 1fr;
  }

  .fx-post-nav__item--next {
    text-align: left;
    align-items: flex-start;
  }

  .fx-post-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fx-post-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .fx-post-hero__back {
    margin-bottom: 1.35rem;
  }

  .fx-post-hero__meta {
    gap: .45rem;
    font-size: .62rem;
  }

  .fx-post-cover,
  .fx-post-body,
  .fx-post-nav,
  .fx-post-related {
    width: calc(100% - 1.5rem);
  }

  .fx-post-content {
    font-size: .96rem;
    line-height: 1.82;
  }

  .fx-post-share a,
  .fx-post-share button {
    width: 40px;
    height: 40px;
  }
}
