/* ============================================
   BORTLE CERO — SINGLE POST
   ============================================ */

/* HERO */
.bc-post-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #080c14;
}

.bc-post-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
  transition: transform 6s ease;
}

.bc-post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,12,20,0.97) 0%,
    rgba(8,12,20,0.65) 45%,
    rgba(8,12,20,0.35) 100%
  );
}

.bc-post-hero__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bc-post-hero__content {
  position: relative;
  z-index: 2;
  padding: 60px;
  padding-bottom: 64px;
  max-width: 860px;
}

.bc-post-hero__meta-top {
  margin-bottom: 16px;
}

.bc-post-hero__cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--post-color);
  background: rgba(var(--post-rgb), 0.12);
  border: 0.5px solid rgba(var(--post-rgb), 0.3);
  text-decoration: none;
  transition: background 0.15s;
}
.bc-post-hero__cat:hover {
  background: rgba(var(--post-rgb), 0.2);
}

.bc-post-hero__title {
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 500;
  color: #f0f6ff;
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 0 0 20px;
}

.bc-post-hero__accent {
  width: 32px;
  height: 2px;
  background: var(--post-color);
  border-radius: 1px;
  margin-bottom: 20px;
}

.bc-post-hero__excerpt {
  font-size: 16px;
  font-weight: 300;
  color: #8aa4c0;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 24px;
}

.bc-post-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #4a6080;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.bc-post-hero__sep { color: #2a4060; }

/* SCROLL HINT */
.bc-post-hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.bc-post-hero__scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2a4060;
  writing-mode: vertical-rl;
}
.bc-post-hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #2a4060, transparent);
}

/* CUERPO DEL POST */
.bc-post-body {
  background: #080c14;
  padding: 80px 0;
}

.bc-post-body__inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Tipografía del cuerpo */
.bc-post-body__inner p {
  font-size: 17px;
  font-weight: 300;
  color: #9ab4cc;
  line-height: 1.85;
  margin-bottom: 1.6em;
}

.bc-post-body__inner h2 {
  font-size: 26px;
  font-weight: 500;
  color: #f0f6ff;
  letter-spacing: -0.3px;
  margin: 2.5em 0 0.8em;
  line-height: 1.2;
}

.bc-post-body__inner h3 {
  font-size: 19px;
  font-weight: 500;
  color: #c8d8ec;
  margin: 2em 0 0.6em;
}

.bc-post-body__inner a {
  color: var(--post-color, #7ba8d4);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.bc-post-body__inner a:hover {
  color: #f0f6ff;
}

/* Imágenes en el post */
.bc-post-body__inner img,
.bc-post-body__inner figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.bc-post-body__inner figure {
  margin: 2.5em 0;
}

.bc-post-body__inner figcaption {
  font-size: 12px;
  color: #4a6080;
  text-align: center;
  margin-top: 10px;
  letter-spacing: 1px;
  font-weight: 400;
}

/* Separador */
.bc-post-body__inner hr,
.bc-post-body__inner .wp-block-separator {
  border: none;
  border-top: 0.5px solid #1a2840;
  margin: 3em 0;
}

/* Blockquote */
.bc-post-body__inner blockquote,
.bc-post-body__inner .wp-block-quote {
  border-left: 2px solid var(--post-color, #7ba8d4);
  padding: 4px 0 4px 24px;
  margin: 2em 0;
}
.bc-post-body__inner blockquote p,
.bc-post-body__inner .wp-block-quote p {
  font-size: 18px;
  font-style: italic;
  color: #c8d8ec;
}

/* Código inline */
.bc-post-body__inner code {
  background: #0d1625;
  border: 0.5px solid #2a4060;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
  color: var(--post-color, #7ba8d4);
}

/* FOOTER DEL POST */
.bc-post-footer {
  background: #0d1625;
  border-top: 0.5px solid #1a2840;
  padding: 60px 0;
}

.bc-post-footer__inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Etiquetas */
.bc-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.bc-post-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  color: #4a6080;
  border: 0.5px solid #2a4060;
  text-decoration: none;
  transition: all 0.15s;
}
.bc-post-tag:hover {
  color: var(--post-color, #7ba8d4);
  border-color: var(--post-color, #7ba8d4);
}

/* Navegación prev/next */
.bc-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  padding-top: 40px;
  border-top: 0.5px solid #1a2840;
}

.bc-post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  padding: 16px;
  border-radius: 8px;
  border: 0.5px solid #1a2840;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.15s, background 0.15s;
}
.bc-post-nav__item:hover {
  border-color: var(--post-color, #7ba8d4);
  background: rgba(255,255,255,0.04);
}
.bc-post-nav__item--next {
  text-align: right;
}
.bc-post-nav__item--empty {
  pointer-events: none;
}

.bc-post-nav__dir {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a6080;
  font-weight: 400;
}

.bc-post-nav__title {
  font-size: 14px;
  font-weight: 400;
  color: #c8d8ec;
  line-height: 1.4;
}

/* Volver al pilar */
.bc-post-back {
  text-align: center;
  padding-top: 32px;
}

/* ── Relacionados: posts de la misma categoría ── */
.bc-related {
  /* el placeholder .bc-card-ph lee --card-color/--card-rgb */
  --card-color: var(--post-color, #7ba8d4);
  --card-rgb: var(--post-rgb, 123,168,212);
  border-top: 0.5px solid #1a2840;
  padding: 64px 0 88px;
}

.bc-related__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.bc-related__eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #4a6080;
  font-weight: 400;
  margin-bottom: 10px;
}

.bc-related__title {
  font-size: 24px;
  font-weight: 500;
  color: #f0f6ff;
  margin: 0 0 32px;
}

.bc-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bc-related__card {
  display: block;
  text-decoration: none;
  border: 0.5px solid #1a2840;
  border-radius: var(--bc-radius, 10px);
  overflow: hidden;
  background: #0d1625;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.bc-related__card:hover {
  border-color: rgba(var(--post-rgb, 123,168,212), 0.45);
  transform: translateY(-3px);
}

.bc-related__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.bc-related__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bc-related__card:hover .bc-related__img {
  transform: scale(1.04);
}

.bc-related__body {
  padding: 18px 20px 22px;
}

.bc-related__date {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a6080;
  margin-bottom: 8px;
}

.bc-related__post-title {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #c8d8ec;
  margin: 0;
  transition: color 0.15s ease;
}

.bc-related__card:hover .bc-related__post-title {
  color: var(--post-color, #7ba8d4);
}

/* Responsive */
@media (max-width: 768px) {
  .bc-post-hero__content { padding: 40px 24px 48px; }
  .bc-post-hero__scroll  { display: none; }
  .bc-post-body          { padding: 48px 0; }
  .bc-post-body__inner   { padding: 0 24px; }
  .bc-post-footer__inner { padding: 0 24px; }
  .bc-post-nav           { grid-template-columns: 1fr; }
  .bc-post-nav__item--next { text-align: left; }
  .bc-related            { padding: 48px 0 64px; }
  .bc-related__inner     { padding: 0 24px; }
  .bc-related__grid      { grid-template-columns: 1fr; }
}
