/* Estilos para páginas de post individuales */

.post-hero {
  position: relative;
  padding: 88px 0 36px;
  background: var(--background);
  color: var(--white);
}

.post-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 22px -18px rgba(0, 0, 0, 0.55);
}

.post-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.post-hero .post-category {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--brand-accent, #C29A76);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.post-hero .post-title {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.post-hero .post-subtitle {
  font-size: 18px;
  color: rgba(249, 254, 248, 0.85);
  margin: 0 0 16px;
}

.post-hero .post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(249, 254, 248, 0.75);
}

.post-hero .post-meta .dot { opacity: 0.6; }

.post-hero .hero-media picture, .post-hero .hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.post-content {
  padding: 40px 0 80px;
}

.post-content .container {
  max-width: 1200px; /* Igual que .container global y el post-hero */
}

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}

.post-main { min-width: 0; }

.post-sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.sidebar-list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
}
.sidebar-item:hover { background: rgba(255,255,255,0.04); }
.sidebar-item i { color: var(--primary); margin-top: 2px; }
.sidebar-item .info .label { font-weight: 600; }
.sidebar-item .info .meta { font-size: 14px; color: rgba(255,255,255,0.7); }

.sidebar-social { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.sidebar-social .label { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.sidebar-social .social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.sidebar-social .social {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); color: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
}
.sidebar-social .social:hover { background: rgba(255,255,255,0.08); color: var(--white); transform: translateY(-1px); }

.post-content h2 {
  margin: 32px 0 12px;
  font-size: 28px;
}

.post-content p {
  margin: 0 0 16px;
  color: var(--text-secondary, #D8E6EA);
}

.post-figure { margin: 28px 0; }
.post-figure picture, .post-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.post-figure figcaption {
  font-size: 14px;
  color: var(--text-tertiary, rgba(255,255,255,0.7));
  margin-top: 8px;
}

.post-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .post-hero .hero-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

@media (max-width: 640px) {
  .post-hero { padding: 96px 0 28px; }
  .post-hero .post-title { font-size: 32px; }
}

/* Aumentar legibilidad en pantallas grandes */
@media (min-width: 1200px) {
  .post-content .container { max-width: 1200px; }
  .post-content p { font-size: 18px; line-height: 1.9; }
  .post-content h2 { font-size: 32px; }
}


