/* Edición de Entradas v0.1.2 - Noticias tipo web-app + comentarios integrados */
body.tc-ee-posts .site-main,
body.tc-ee-posts main.site-main {
  display:grid;
  grid-template-columns:repeat(var(--tc-news-desktop-cols,4),minmax(0,1fr));
  gap:24px;
  align-items:start;
}
body.tc-ee-posts .page-header,
body.tc-ee-posts .paging-navigation,
body.tc-ee-posts .navigation.pagination {grid-column:1/-1;}

body.tc-ee-posts article.post {
  margin:0!important;
  padding:0!important;
  overflow:hidden;
  border:1px solid #d9ebe1;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 28px rgba(20,75,50,.07);
  min-width:0;
  height:100%;
}
body.tc-ee-posts article.post .inside-article {
  padding:0!important;
  background:#fff!important;
  height:100%;
  display:flex;
  flex-direction:column;
}
body.tc-ee-posts article.post .post-image,
body.tc-ee-posts article.post .post-image-above-header,
body.tc-ee-posts article.post .featured-image {margin:0!important;order:1;}
body.tc-ee-posts article.post .post-image img,
body.tc-ee-posts article.post .post-image-above-header img,
body.tc-ee-posts article.post .featured-image img {
  width:100%;height:190px;object-fit:cover;display:block;
}
body.tc-ee-posts article.post .entry-header {
  padding:16px 18px 6px!important;
  margin:0!important;
  order:2;
}
body.tc-ee-posts article.post .entry-title {
  font-size:21px!important;
  line-height:1.25!important;
  font-weight:600!important;
  margin:0!important;
  color:#10271e!important;
  letter-spacing:0!important;
}
body.tc-ee-posts article.post .entry-title a {color:inherit!important;text-decoration:none!important;}
body.tc-ee-posts article.post .entry-meta {display:none!important;}
body.tc-ee-posts article.post .entry-summary,
body.tc-ee-posts article.post .entry-content {
  padding:6px 18px 18px!important;
  margin:0!important;
  font-size:initial!important;
  line-height:normal!important;
  order:3;
  margin-top:auto!important;
}
body.tc-ee-posts article.post .entry-summary > *:not(.tc-ee-card-more),
body.tc-ee-posts article.post .entry-content > *:not(.tc-ee-card-more) {display:none!important;}
body.tc-ee-posts .tc-ee-card-more {margin:0!important;padding:0!important;}
body.tc-ee-posts .tc-ee-card-more a {
  display:inline-flex!important;
  align-items:center;
  gap:10px;
  padding:10px 16px!important;
  border-radius:999px!important;
  background:#e7f6ed!important;
  color:#087443!important;
  font-size:16px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-decoration:none!important;
  transition:transform .15s ease,background .15s ease;
}
body.tc-ee-posts .tc-ee-card-more a:hover {background:#d9f0e2!important;transform:translateY(-1px);}
body.tc-ee-posts .tc-ee-card-more a span {font-size:22px;line-height:1;margin-top:-1px;}
body.tc-ee-posts article.post footer.entry-meta {display:none!important;}

/* Entrada individual: limpia, pero los metadatos siguen almacenados en WordPress. */
body.tc-ee-single main.site-main > article.post .entry-meta,
body.tc-ee-single main.site-main > article.post footer.entry-meta,
body.tc-ee-single .site-main > article.post .entry-meta,
body.tc-ee-single .site-main > article.post footer.entry-meta {display:none!important;}
body.tc-ee-single .site-main article.post .inside-article {border-radius:22px;}
body.tc-ee-single .comments-area {margin-top:28px!important;border-top:1px solid #dcebe3;padding-top:24px;}
body.tc-ee-single .comment-list .avatar,
body.tc-ee-single .comment-author .avatar {
  width:64px!important;
  height:64px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  background:#eef5f1;
}
body.tc-ee-single .comment-form textarea {border-radius:14px;border:1px solid #cfe3d8;min-height:130px;}
body.tc-ee-single .form-submit .submit {border-radius:12px;padding:12px 20px;font-weight:700;}

@media (max-width:768px){
  body.tc-ee-posts .site-main,
  body.tc-ee-posts main.site-main {grid-template-columns:repeat(var(--tc-news-mobile-cols,2),minmax(0,1fr));gap:12px;}
  body.tc-ee-posts article.post {border-radius:16px;}
  body.tc-ee-posts article.post .post-image img,
  body.tc-ee-posts article.post .post-image-above-header img,
  body.tc-ee-posts article.post .featured-image img {height:125px;}
  body.tc-ee-posts article.post .entry-header {padding:11px 12px 4px!important;}
  body.tc-ee-posts article.post .entry-title {font-size:16px!important;line-height:1.25!important;font-weight:600!important;}
  body.tc-ee-posts article.post .entry-summary,
  body.tc-ee-posts article.post .entry-content {padding:6px 12px 12px!important;}
  body.tc-ee-posts .tc-ee-card-more a {font-size:14px!important;padding:8px 11px!important;gap:7px;}
  body.tc-ee-posts .tc-ee-card-more a span {font-size:19px;}
}
