﻿/* Estilos específicos para la página de entrada del blog */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-top: 32px;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.blog-entry {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-entry__header {
  position: relative;
  overflow: hidden;
}

.blog-entry__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-entry__image:hover {
  transform: scale(1.02);
}

.blog-entry__meta {
  padding: 32px 40px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.blog-entry__title {
  font-family: \"Libre Baskerville\", Georgia, serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--indigo);
  margin: 0 0 16px;
}

.blog-entry__details {
  display: flex;
  gap: 24px;
  color: #666;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.blog-entry__detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-entry__detail-item i {
  color: var(--orange);
}

.blog-entry__content {
  padding: 40px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
}

.blog-entry__content p {
  margin-bottom: 24px;
}

.blog-entry__content h2,
.blog-entry__content h3,
.blog-entry__content h4 {
  color: var(--indigo);
  margin-top: 32px;
  margin-bottom: 16px;
  font-family: \"Libre Baskerville\", Georgia, serif;
}

.blog-entry__content ul,
.blog-entry__content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-entry__content li {
  margin-bottom: 8px;
}

.blog-entry__content blockquote {
  border-left: 4px solid var(--orange);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: #555;
  background: rgba(243, 146, 0, 0.05);
  padding: 24px;
  border-radius: 0 8px 8px 0;
}

.blog-entry__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-section {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-section__title {
  font-family: \"Libre Baskerville\", Georgia, serif;
  font-size: 1.25rem;
  color: var(--indigo);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
}

/* Posts similares */
.related-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.related-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-post__image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.related-post__content {
  flex: 1;
}

.related-post__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.related-post__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-post__title a:hover {
  color: var(--orange);
}

.related-post__date {
  font-size: 0.8rem;
  color: #666;
}

/* Próximos eventos */
.upcoming-event {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.upcoming-event:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.upcoming-event__date {
  background: var(--indigo);
  color: white;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  min-width: 48px;
  flex-shrink: 0;
}

.upcoming-event__day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.upcoming-event__month {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.upcoming-event__content {
  flex: 1;
}

.upcoming-event__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.upcoming-event__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.upcoming-event__title a:hover {
  color: var(--orange);
}

.upcoming-event__category {
  font-size: 0.8rem;
  color: #666;
}

.btn--full-width {
  width: 100%;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb__separator {
  margin: 0 8px;
  color: #ccc;
}

/* Botones & chips */
.btn{
  display:inline-block; padding:14px 20px; border-radius:12px;
  font-weight:700; text-decoration:none;
}
.btn--primary{background:var(--orange); color:#222}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-entry__meta {
    padding: 24px 20px 20px;
  }
  
  .blog-entry__title {
    font-size: 1.75rem;
  }
  
  .blog-entry__content {
    padding: 24px 20px;
  }
  
  .blog-entry__details {
    gap: 16px;
  }
  
  .sidebar-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .blog-entry__image {
    height: 250px;
  }
  
  .blog-entry__title {
    font-size: 1.5rem;
  }
  
  .related-post {
    flex-direction: column;
  }
  
  .related-post__image {
    width: 100%;
    height: 120px;
  }
}

/* =========================================
   PÁGINA DE GRACIAS EMPRESARIOS
   ========================================= */

.page--gracias-empresarios {
  padding: 40px 0 60px;
}

.thanks-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  padding: 30px 24px 32px;
  margin-top: 12px;
}

.page-header--center {
  text-align: center;
}

.page-header--center .page-title {
  margin-bottom: 10px;
}

.page-header--center .page-intro {
  margin-inline: auto;
  max-width: 560px;
}

/* Texto principal de agradecimiento */
.thanks-body {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #444;
}

.thanks-body p {
  margin: 0 0 14px;
}

/* Acciones (botones) */
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* Botón secundario (ghost) siguiendo la línea del proyecto */
.btn.btn--ghost {
  border-radius: 999px;
  padding: 9px 22px;
  border: 1px solid #312783; /* indigo del logo */
  background: transparent;
  color: #312783;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn.btn--ghost:hover {
  background: rgba(49, 39, 131, 0.08);
  color: #231c5d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.btn.btn--ghost:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Responsive */
@media (max-width: 600px) {
  .thanks-card {
    padding: 22px 18px 26px;
  }

  .thanks-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thanks-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
