/* ---- Article Layout ---- */
.vida-article {
  max-width: 100%;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.vida-article__header {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 20px 10px;
}

.vida-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.vida-article__category {
  background: #153b73;
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vida-article__date {
  color: #555;
  font-size: 0.9rem;
}

.vida-article__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.25;
  margin: 0 0 12px;
}

.vida-article__source {
  color: #555;
  font-size: 0.85rem;
  margin: 0;
}

/* ---- Body ---- */
.vida-article__body {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

/* ---- Hook (first paragraph, larger) ---- */
.vida-article__hook {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2c3e50;
  margin-bottom: 28px;
  font-weight: 400;
}

.vida-article__hook p {
  margin: 0;
}

/* ---- Image ---- */
.vida-article__image {
  margin: 0 -20px 30px;
}

.vida-article__image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media (min-width: 800px) {
  .vida-article__image {
    margin: 0 -40px 35px;
  }
}

/* ---- Content (main text) ---- */
.vida-article__content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.vida-article__content p {
  margin-bottom: 20px;
}

.vida-article__content h2,
.vida-article__content h3 {
  color: #153b73;
  margin-top: 32px;
  margin-bottom: 16px;
  text-align: left;
}

.vida-article__content blockquote,
.vida-article__content .pullquote {
  border-left: 4px solid #d4a017;
  margin: 32px 0;
  padding: 20px 24px;
  background: #faf8f0;
  border-radius: 0 8px 8px 0;
  font-size: 1.15rem;
  font-style: italic;
  color: #4a3f2f;
  line-height: 1.7;
}

.vida-article__content ul,
.vida-article__content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.vida-article__content li {
  margin-bottom: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .vida-article__content {
    font-size: 1.05rem;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  
  .vida-article__title {
    font-size: 1.7rem;
  }
  
  .vida-article__hook {
    font-size: 1.1rem;
  }
}

/* ---- Star Rating ---- */
.vida-rating {
  text-align: center;
  margin: 40px 0 30px;
  padding: 30px 20px;
  background: #fafaf8;
  border-radius: 12px;
  border: 1px solid #e8e5de;
}

.vida-rating__title {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 16px;
  font-weight: 600;
}

.vida-rating__stars {
  display: inline-flex;
  gap: 8px;
}

.vida-rating__star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  padding: 4px;
  transition: transform 0.15s;
}

.vida-rating__star:hover {
  transform: scale(1.2);
}

.vida-rating__star i {
  color: #888;
  transition: color 0.15s;
}

.vida-rating__info {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #555;
}

/* ---- Excerpt note ---- */
.vida-article__excerpt-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-left: 3px solid #d4a017;
  border-radius: 0 8px 8px 0;
  color: #444;
  font-size: 0.9rem;
}

/* ---- Divider ---- */
.vida-article__divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 40px 0;
}

/* ---- Footer Meta ---- */
.vida-article__footer-meta {
  color: #444;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* ---- Share ---- */
.vida-article__share {
  text-align: center;
  margin-bottom: 40px;
}

.vida-article__share h3 {
  font-size: 1rem;
  color: #555;
  margin-bottom: 12px;
}

.social-share {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: 0.2s;
  text-decoration: none;
}

.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ---- Ad Slots ---- */
.vida-ad-slot {
  margin: 30px 0;
  text-align: center;
}

.vida-ad-placeholder {
  background: #f5f5f5;
  border: 1px dashed #d0d0d0;
  border-radius: 8px;
  padding: 28px 20px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vida-ad-placeholder span {
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ---- Comments ---- */
.vida-article__comments {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.vida-article__comments h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.vida-comment-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.vida-comment-form textarea {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
  resize: none;
  font-family: inherit;
  line-height: 1.5;
  background: #fff;
  color: #333;
}

.vida-comment-form button {
  align-self: flex-end;
  background: linear-gradient(135deg, #6c63ff, #5a52d5);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s;
}

.vida-comment-form button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.vida-comment {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.vida-comment__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.vida-comment__avatar {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #6c63ff, #5a52d5);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.vida-comment__name {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.95rem;
}

.vida-comment__date {
  color: #555;
  font-size: 0.8rem;
}

.vida-comment__text {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

.vida-comment__reply {
  background: none;
  border: none;
  color: #6c63ff;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 6px;
}

.vida-comment__reply:hover,
.vida-comment__edit:hover {
  text-decoration: underline;
}

.vida-comment__actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.vida-comment__edit {
  background: none;
  border: none;
  color: #555;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 0;
}

.vida-comment__edit:hover {
  color: #6c63ff;
}

.vida-comment__delete {
  background: none;
  border: none;
  color: #888;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 0;
}

.vida-comment__delete:hover {
  color: #ef4444;
  text-decoration: underline;
}

/* ---- Navigation ---- */
.vida-article__nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Share Buttons ---- */
.vida-article__share {
  max-width: 960px;
  margin: 40px auto 20px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f6 100%);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
}

.vida-article__share-title {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a2e;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.vida-share-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .vida-share-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vida-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: linear-gradient(135deg, #6c63ff, #5a52d5);
}

.vida-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
}

.vida-share-btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #1ebe5f);
}

.vida-share-btn--whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.vida-share-btn--facebook {
  background: linear-gradient(135deg, #1877f2, #166fe5);
}

.vida-share-btn--facebook:hover {
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.vida-share-btn--twitter {
  background: #000;
}

.vida-share-btn--twitter:hover {
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.3);
}

.vida-share-btn--copy {
  background: linear-gradient(135deg, #6c757d, #5a6169);
}

.vida-share-btn--copy:hover {
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.vida-share-btn--copy.copied {
  background: linear-gradient(135deg, #28a745, #20963d);
}

.vida-share-btn i {
  font-size: 1.1rem;
}

.vida-share-feedback {
  text-align: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #28a745, #20963d);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Artículos Relacionados ---- */
.vida-related-articles {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f6 100%);
  padding: 60px 20px;
  margin: 40px 0 0 0;
  border-top: 3px solid #153b73;
}

.vida-related-articles__container {
  max-width: 1200px;
  margin: 0 auto;
}

.vida-related-articles__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #153b73;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.vida-related-articles__title i {
  color: #d4a017;
  font-size: 1.8rem;
}

.vida-related-articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .vida-related-articles__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .vida-related-articles__title {
    font-size: 1.5rem;
  }
  
  .vida-related-articles {
    padding: 40px 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .vida-related-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .vida-related-articles__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vida-related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.vida-related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.vida-related-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vida-related-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #153b73, #1e4a8c);
}

.vida-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vida-related-card:hover .vida-related-card__image img {
  transform: scale(1.05);
}

.vida-related-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  opacity: 0.7;
}

.vida-related-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vida-related-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vida-related-card__excerpt {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vida-related-card__date {
  font-size: 0.8rem;
  color: #555;
  font-weight: 500;
  margin-top: auto;
  display: block;
}

.vida-related-card:hover .vida-related-card__title {
  color: #153b73;
}

.vida-related-card:hover .vida-related-card__date {
  color: #d4a017;
}
