/* ======================================================
   RESET LOCAL (ANTI HELLO / ELEMENTOR)
====================================================== */

.single-post .site-main,
.single-post .content-area,
.single-post article {
  background: transparent !important;
}

/* Ocultar título del theme */
.single-post .entry-title {
  display: none !important;
}

/* ======================================================
   CONTENEDOR POST
====================================================== */

.single-post .cpl-post {
  max-width: 860px !important;
  margin: 80px auto !important;
  background: #ffffff !important;
  color: #2b2b2b !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  font-family: 'Ubuntu', sans-serif !important;
  overflow: hidden !important;
}

/* ======================================================
   HERO
====================================================== */

.single-post .cpl-post > .cpl-hero {
  margin: 0 !important;
  padding: 0 !important;
}

.single-post .cpl-hero img {
  width: 100% !important;
  display: block !important;
}

/* ======================================================
   TÍTULO
====================================================== */

.single-post .cpl-hero .cpl-title {
  font-size: 42px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 28px 60px 4px 60px !important;
  color: #111 !important;
}

/* ======================================================
   BODY
====================================================== */

.single-post .cpl-body {
  padding: 16px 60px 60px 60px !important;
}

/* ======================================================
   META + SHARE (MISMA LÍNEA)
====================================================== */

.single-post .cpl-meta-share {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-top: 8px;
  margin-bottom: 24px;
}

.single-post .cpl-meta {
  font-size: 14px;
  color: #666;
}

.single-post .cpl-separator {
  margin: 0 6px;
}

/* ======================================================
   SHARE ICONS (SOLO FONT AWESOME)
====================================================== */

.single-post .cpl-share {
  display: flex;
  gap: 10px;
}

.single-post .cpl-share a {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  border-radius: 50% !important;

  background: transparent !important; /* ← CLAVE */
  background-clip: padding-box;

  color: #fff !important;
  font-size: 15px !important;
  text-decoration: none !important;
}

/* Colores */
.single-post .cpl-share a.cpl-share-fb { background: #1877f2 !important; }
.single-post .cpl-share a.cpl-share-x  { background: #000 !important; }
.single-post .cpl-share a.cpl-share-ln { background: #0a66c2 !important; }
.single-post .cpl-share a.cpl-share-wa { background: #25d366 !important; }

.single-post .cpl-share a i {
  color: #fff !important;
  line-height: 1;
}

/* ======================================================
   CONTENIDO
====================================================== */

.single-post .cpl-content p {
  font-size: 18px !important;
  line-height: 1.75 !important;
  margin-bottom: 1.6em !important;
}

.single-post .cpl-content h2 {
  font-size: 30px !important;
  margin-top: 3em !important;
}

.single-post .cpl-content h3 {
  font-size: 24px !important;
  margin-top: 2em !important;
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 768px) {

  .single-post .cpl-post {
    margin: 40px 16px !important;
    border-radius: 18px !important;
  }

  .single-post .cpl-hero .cpl-title {
    font-size: 30px !important;
    padding: 24px 20px 8px 20px !important;
  }

  .single-post .cpl-body {
    padding: 24px 20px 40px 20px !important;
  }

  .single-post .cpl-meta-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 2px;  /* acerca todo al título */
  }

  .single-post .cpl-share a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .single-post .cpl-content p {
    font-size: 16px !important;
  }
}

/* ======================================================
   LISTADO DE POSTS (ARCHIVE / BLOG / HOME)
====================================================== */

.archive .page-content,
.blog .page-content,
.home .page-content {
  max-width: 860px;
  margin: 0 auto 80px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.archive article.post,
.blog article.post,
.home article.post {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.archive article.post:hover,
.blog article.post:hover,
.home article.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.archive article.post h2.entry-title,
.blog article.post h2.entry-title,
.home article.post h2.entry-title {
  font-size: 26px;
  margin: 24px;
}

/* Texto del excerpt */
.blog article.post > p {
  padding: 24px 28px 28px 28px !important;
  margin: 20  !important;
  font-size: 16px  !important;
  line-height: 1.6  !important;
}

/* ======================================================
   BREADCRUMB
====================================================== */

.single-post .cpl-breadcrumb {
  max-width: 860px;
  margin: 32px auto 16px auto;
  padding: 0 8px;
}

.single-post .cpl-breadcrumb-link {
  font-size: 14px;
  font-weight: 500;

  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.single-post .cpl-breadcrumb-link:hover {
  color: rgba(0, 0, 0, 0.85);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .single-post .cpl-breadcrumb {
    margin: 20px 20px 12px 20px;
  }
}


