/* ============================================
   POST PAGE — Ferrat Design System
   ============================================ */

/* === HERO POST === */
.pt-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 500px;
  max-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pt-hero-bg { position: absolute; inset: 0; }
.pt-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.pt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 56, 78, 0.95) 0%, rgba(0, 56, 78, 0.5) 50%, rgba(0,0,0,0.1) 100%);
}

.pt-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 900px;
  text-align: center;
}

/* Breadcrumb */
.pt-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.pt-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.pt-breadcrumb a:hover { color: var(--green-light); }
.pt-breadcrumb span:last-child { color: rgba(255,255,255,0.8); }

.pt-hero-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  background: var(--green-light);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.pt-hero-content h1 {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  color: white;
  margin-bottom: 24px;
}

.pt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.pt-hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* === ARTÍCULO === */
.pt-article {
  padding: 80px 105px 120px;
  background: var(--bg-light);
}

.pt-article-wrapper {
  display: flex;
  gap: 56px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Contenido principal */
.pt-content {
  flex: 1;
  min-width: 0;
}

.pt-intro {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e8e8;
}

.pt-lead {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 400;
}

.pt-content h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 48px 0 20px;
}

.pt-content h2:first-of-type {
  margin-top: 0;
}

.pt-content > p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-slate);
  margin-bottom: 20px;
}

/* Highlight box */
.pt-highlight-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--green-light);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 36px 0;
}

.pt-highlight-icon {
  font-size: 28px;
  color: var(--dark-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.pt-highlight-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-blue);
}

/* Benefits grid */
.pt-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.pt-benefit {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px -4px rgba(0, 0, 0, 0.06);
}

.pt-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.pt-benefit h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pt-benefit p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: 0;
}

/* List */
.pt-list {
  padding-left: 0;
  list-style: none;
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pt-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-slate);
}

.pt-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-primary);
  flex-shrink: 0;
  margin-top: 8px;
}

/* Image block */
.pt-image-block {
  margin: 40px 0;
  border-radius: 16px;
  overflow: hidden;
}

.pt-image-block img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.pt-image-caption {
  display: block;
  padding: 14px 20px;
  background: white;
  font-size: 14px;
  font-style: italic;
  color: var(--text-gray);
}

/* CTA box */
.pt-cta-box {
  background: var(--dark-blue);
  border-radius: 20px;
  padding: 44px 40px;
  margin: 48px 0;
  text-align: center;
}

.pt-cta-box h3 {
  font-weight: 700;
  font-size: 24px;
  color: white;
  margin-bottom: 12px;
}

.pt-cta-box p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.pt-cta-box .gc-btn-primary {
  background: var(--green-light);
  color: var(--dark-blue);
}

.pt-cta-box .gc-btn-primary:hover {
  background: var(--green-primary);
}

/* Share */
.pt-share {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid #e8e8e8;
}

.pt-share-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
}

.pt-share-icons {
  display: flex;
  gap: 10px;
}

.pt-share-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-slate);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
}

.pt-share-icons a:hover {
  background: var(--dark-blue);
  color: white;
}

/* === SIDEBAR === */
.pt-sidebar {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pt-sidebar-block {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.08);
}

.pt-sidebar-block h4 {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-light);
}

/* Sidebar cards */
.pt-sidebar-card {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
}

.pt-sidebar-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pt-sidebar-card:first-of-type {
  padding-top: 0;
}

.pt-sidebar-card:hover {
  opacity: 0.8;
}

.pt-sidebar-card img {
  width: 80px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.pt-sidebar-card-body {
  flex: 1;
  min-width: 0;
}

.pt-sidebar-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green-primary);
  margin-bottom: 4px;
}

.pt-sidebar-card-body h5 {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar contact */
.pt-sidebar-contact {
  background: var(--dark-blue);
  border: none;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.pt-sidebar-contact h4 {
  color: white;
  border-bottom-color: rgba(255,255,255,0.15);
}

.pt-sidebar-contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.pt-sidebar-contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pt-sidebar-contact p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.pt-sidebar-contact .gc-btn-primary {
  width: 100%;
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .pt-article-wrapper {
    flex-direction: column;
  }

  .pt-sidebar {
    flex: none;
    flex-direction: row;
    gap: 24px;
  }

  .pt-sidebar-block {
    flex: 1;
  }
}

@media (max-width: 991px) {
  .pt-hero-content {
    padding: 0 40px 60px;
  }

  .pt-hero-content h1 {
    font-size: 36px;
  }

  .pt-article {
    padding: 60px 40px 80px;
  }

  .pt-benefits-grid {
    grid-template-columns: 1fr;
  }

  .pt-sidebar {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .pt-hero {
    min-height: 420px;
  }

  .pt-hero-content {
    padding: 0 20px 40px;
  }

  .pt-hero-content h1 {
    font-size: 28px;
  }

  .pt-hero-meta {
    gap: 12px;
  }

  .pt-article {
    padding: 40px 20px 60px;
  }

  .pt-lead {
    font-size: 17px;
  }

  .pt-content h2 {
    font-size: 24px;
  }

  .pt-highlight-box {
    flex-direction: column;
    gap: 12px;
  }

  .pt-cta-box {
    padding: 32px 24px;
  }

  .pt-cta-box h3 {
    font-size: 20px;
  }

  .pt-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pt-image-block img {
    height: 240px;
  }
}
