/* Vitrine e listagem do Ludo Conecta: estrutura equivalente ao blog Isabele,
   sem herdar suas cores, tipografia ou conteudo. */
:root {
  --lc-ed-ink: #17162b;
  --lc-ed-muted: #595875;
  --lc-ed-accent: #7030c6;
  --lc-ed-border: #e6def4;
  --lc-ed-paper: #fff;
  --lc-ed-tint: #f2eaff;
}
.lc-ed-grid[hidden], .lc-ed-controls[hidden], .lc-all-list[hidden] { display:none!important; }
.lc-ed-grid {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,.94fr);
  grid-template-areas:"recent-label highlights-label" "recent-card highlights-cards";
  grid-template-rows:auto minmax(0,1fr);
  gap:20px 22px;
  align-items:stretch;
  padding-top:10px;
}
.lc-ed-recent-heading { grid-area:recent-label; min-width:0; }
.lc-ed-recent-heading h2 {
  margin:7px 0 0;
  color:var(--lc-ed-ink);
  font-size:clamp(1.7rem,2.7vw,2.3rem);
  font-weight:900;
  line-height:1.18;
}
.lc-ed-primary-slot { grid-area:recent-card; min-width:0; }
.lc-ed-highlights-heading {
  grid-area:highlights-label; display:flex; align-items:end;
  justify-content:space-between; gap:12px; min-width:0;
}
.lc-ed-highlights-heading h2 {
  margin:0; color:var(--lc-ed-ink);
  font-size:clamp(1.45rem,2.4vw,1.9rem);
  font-weight:900; line-height:1.18;
}
.lc-ed-view-all {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:42px; padding:8px 14px; flex-shrink:0;
  border:1px solid #d8c5ed; border-radius:999px;
  color:var(--lc-ed-accent); background:#fff;
  text-decoration:none; font-weight:800; font-size:.8rem; white-space:nowrap;
}
.lc-ed-view-all:hover { background:var(--lc-ed-tint); }
.lc-ed-lead, .lc-ed-compact, .lc-ed-all-card {
  min-width:0; overflow:hidden; background:var(--lc-ed-paper);
  border:1px solid var(--lc-ed-border); border-radius:20px;
  box-shadow:0 12px 32px rgba(46,25,88,.065);
}
.lc-ed-lead { height:100%; display:flex; flex-direction:column; }
.lc-ed-media {
  display:block; overflow:hidden; min-width:0; min-height:0;
  background:var(--lc-ed-tint); text-decoration:none;
}
.lc-ed-lead .lc-ed-media { width:100%; aspect-ratio:4/3; }
.lc-ed-media img {
  display:block; width:100%; height:100%; object-fit:cover;
  object-position:center; transition:transform .35s ease;
}
.lc-ed-media:hover img { transform:scale(1.035); }
.lc-ed-body {
  min-width:0; display:flex; align-items:flex-start;
  flex-direction:column; flex:1; padding:22px 25px 26px;
}
.lc-ed-category {
  display:block; margin-bottom:9px;
  color:var(--lc-ed-accent); font-size:.68rem;
  letter-spacing:.095em; text-transform:uppercase;
  font-weight:900; line-height:1.4;
}
.lc-ed-lead h3 {
  margin:0 0 12px; font-size:clamp(1.55rem,2.4vw,2.15rem);
  font-weight:900; line-height:1.23; overflow-wrap:anywhere;
}
.lc-ed-lead h3 a, .lc-ed-compact h3 a, .lc-ed-all-card h3 a {
  color:var(--lc-ed-ink); text-decoration:none;
}
.lc-ed-lead h3 a:hover, .lc-ed-compact h3 a:hover, .lc-ed-all-card h3 a:hover {
  text-decoration:underline; text-underline-offset:3px;
}
.lc-ed-body p {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3;
  overflow:hidden; margin:0 0 14px;
  color:var(--lc-ed-muted); font-size:.93rem; line-height:1.6;
}
.lc-ed-read {
  display:inline-flex; align-items:center; gap:8px; margin-top:auto;
  color:var(--lc-ed-accent); text-decoration:none;
  font-size:.86rem; line-height:1.4; font-weight:850;
}
.lc-ed-highlight-carousel { grid-area:highlights-cards; min-width:0; min-height:0; }
.lc-ed-stack {
  display:grid; grid-template-rows:repeat(3,minmax(0,1fr));
  gap:14px; height:100%; min-width:0; min-height:0;
}
.lc-ed-compact {
  display:grid; grid-template-columns:minmax(0,36%) minmax(0,64%);
  min-height:148px; height:100%; border-radius:17px;
}
.lc-ed-compact .lc-ed-media { height:100%; width:100%; }
.lc-ed-compact .lc-ed-body { min-width:0; min-height:0; overflow:hidden; padding:clamp(12px,1.5vw,18px); }
.lc-ed-compact .lc-ed-category { font-size:.61rem; letter-spacing:.06em; margin-bottom:6px; }
.lc-ed-compact h3 {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3;
  overflow:hidden; margin:0 0 8px; font-weight:850; line-height:1.24;
  font-size:clamp(1.02rem,1.5vw,1.38rem); overflow-wrap:anywhere;
}
.lc-ed-compact .lc-ed-body p { -webkit-line-clamp:2; font-size:.77rem; margin-bottom:8px; line-height:1.45; }
.lc-ed-compact .lc-ed-read { font-size:.76rem; min-height:22px; }
.lc-ed-controls { display:none; }
.lc-ed-empty { align-self:center; margin:0; color:var(--lc-ed-muted); font-size:.9rem; }

/* Lista completa, como /blog/todos/ da Isabele: cards compactos em coluna. */
.lc-all-hero {
  padding:49px 0 40px;
  background:linear-gradient(115deg,#f8f3ff 0%,#eaf9ff 100%);
}
.lc-all-hero .lc-all-back {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  margin-top:22px;
  padding:10px 17px;
  border:1px solid #cbb5f0;
  border-radius:999px;
  background:#fff;
  color:var(--lc-ed-accent);
  font-size:.91rem;
  font-weight:800;
  line-height:1.3;
  text-decoration:none;
  box-shadow:0 4px 13px rgba(72,35,133,.06);
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.lc-all-hero .lc-all-back:hover {
  background:var(--lc-ed-tint);
  border-color:var(--lc-ed-accent);
  transform:translateY(-1px);
}
.lc-all-hero .lc-all-back:active { transform:none; }
.lc-all-hero h1 { margin:7px 0 10px; font-size:clamp(2.15rem,4vw,3.4rem); line-height:1.17; color:var(--lc-ed-ink); }
.lc-all-hero p { max-width:670px; margin:0; color:var(--lc-ed-muted); line-height:1.7; }
.lc-all-content { padding:34px 0 75px; }
.lc-all-count { margin:0 0 17px; color:var(--lc-ed-muted); font-size:.87rem; font-weight:750; }
.lc-all-list { max-width:960px; display:grid; gap:18px; }
.lc-ed-all-card {
  display:grid; grid-template-columns:minmax(200px,30%) minmax(0,1fr);
  min-height:184px;
}
.lc-ed-all-card .lc-ed-media { width:100%; height:100%; }
.lc-ed-all-card .lc-ed-body { padding:22px 24px; }
.lc-ed-all-card h3 { margin:0 0 11px; font-size:clamp(1.3rem,2vw,1.72rem); line-height:1.24; overflow-wrap:anywhere; }
.lc-all-empty { padding:24px; border:1px solid var(--lc-ed-border); border-radius:17px; background:#fff; color:var(--lc-ed-muted); }
.lc-ed-more-link { margin-bottom:24px; }
.lc-ed-media:focus-visible, .lc-ed-read:focus-visible,
.lc-ed-view-all:focus-visible, .lc-ed-arrow:focus-visible,
.lc-ed-dot:focus-visible, .lc-all-back:focus-visible {
  outline:3px solid var(--ludo-purple,#7c3aed); outline-offset:3px;
}
@media (max-width:960px) and (min-width:801px) {
  .lc-ed-grid { grid-template-columns:minmax(0,1.17fr) minmax(0,1fr); column-gap:15px; }
  .lc-ed-stack { gap:11px; }
  .lc-ed-compact { grid-template-columns:minmax(0,34%) minmax(0,66%); }
  .lc-ed-compact .lc-ed-body { padding:11px; }
  .lc-ed-compact h3 { font-size:1.03rem; -webkit-line-clamp:2; }
  .lc-ed-compact .lc-ed-body p { -webkit-line-clamp:1; }
}
@media (max-width:800px) {
  .lc-ed-grid {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"recent-label" "recent-card" "highlights-label" "highlights-cards";
    row-gap:14px; column-gap:0;
  }
  .lc-ed-recent-heading h2 { font-size:clamp(1.6rem,5.3vw,1.95rem); }
  .lc-ed-highlights-heading { margin-top:11px; }
  .lc-ed-lead .lc-ed-media { aspect-ratio:4/3; }
  .lc-ed-lead .lc-ed-body { padding:19px 20px 23px; }
  .lc-ed-lead h3 { font-size:clamp(1.4rem,5.8vw,1.85rem); }
  .lc-ed-stack {
    display:flex; gap:0; width:100%; height:auto;
    overflow-x:auto; overflow-y:hidden;
    scroll-snap-type:x mandatory; overscroll-behavior-x:contain;
    scroll-behavior:smooth; scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .lc-ed-stack::-webkit-scrollbar { display:none; }
  .lc-ed-stack .lc-ed-compact {
    flex:0 0 100%; width:100%; min-height:150px; height:auto;
    grid-template-columns:minmax(0,35%) minmax(0,65%);
    scroll-snap-align:start; scroll-snap-stop:always;
  }
  .lc-ed-compact .lc-ed-body { padding:13px 12px; }
  .lc-ed-compact h3 { font-size:clamp(1.05rem,4.35vw,1.35rem); }
  .lc-ed-compact .lc-ed-body p { display:none; }
  .lc-ed-controls { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:12px; }
  .lc-ed-controls[hidden] { display:none!important; }
  .lc-ed-arrow {
    display:inline-flex; align-items:center; justify-content:center;
    width:42px; height:42px; padding:0; border:1px solid var(--lc-ed-border);
    border-radius:50%; background:#fff; color:var(--lc-ed-accent);
    font-size:1.6rem; font-weight:800; cursor:pointer;
  }
  .lc-ed-arrow:disabled { opacity:.35; cursor:default; }
  .lc-ed-dots { display:flex; align-items:center; justify-content:center; gap:2px; }
  .lc-ed-dot {
    display:inline-flex; align-items:center; justify-content:center;
    width:28px; height:36px; padding:0; border:0;
    background:transparent; cursor:pointer;
  }
  .lc-ed-dot::before {
    content:""; display:block; width:8px; height:8px;
    border-radius:50%; background:#cfb9ed;
    transition:background .2s ease,transform .2s ease;
  }
  .lc-ed-dot.is-active::before { background:var(--lc-ed-accent); transform:scale(1.3); }
  .lc-all-hero { padding:32px 0 35px; }
  .lc-all-content { padding:24px 0 54px; }
  .lc-all-list { gap:14px; }
  .lc-ed-all-card { min-height:155px; grid-template-columns:minmax(0,36%) minmax(0,64%); }
  .lc-ed-all-card .lc-ed-body { padding:13px; }
  .lc-ed-all-card h3 { font-size:clamp(1.05rem,4.4vw,1.4rem); }
  .lc-ed-all-card .lc-ed-body p { display:none; }
  .lc-ed-all-card .lc-ed-read { font-size:.76rem; }
}
@media(max-width:360px) {
  .lc-ed-compact { grid-template-columns:minmax(0,32%) minmax(0,68%)!important; }
  .lc-ed-compact .lc-ed-body { padding:11px; }
  .lc-ed-compact h3 { font-size:1.02rem; }
  .lc-ed-view-all { padding-inline:11px; font-size:.76rem; }
}
@media(prefers-reduced-motion:reduce) {
  .lc-ed-media img,.lc-ed-dot::before { transition:none; }
  .lc-ed-stack { scroll-behavior:auto; }
}

/* Os artigos restantes mantem o mesmo padrao editorial do /blog/ da Isabele. */
.conecta-posts__grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.conecta-post-card__image {
  aspect-ratio:4/3;
  background:#f1eafd;
}
.conecta-post-card__image img {
  display:block; width:100%; height:100%;
  object-fit:cover; object-position:center;
}
.conecta-post-card__content { padding:21px 23px 25px; }
.conecta-post-card h3 {
  font-size:clamp(1.3rem,2.2vw,1.75rem);
  line-height:1.3;
}
.conecta-post-card:hover .conecta-post-card__image img { transform:scale(1.025); }
.conecta-post-card__image img { transition:transform .3s ease; }
@media(max-width:800px) {
  .conecta-posts__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
}
@media(max-width:620px) {
  .conecta-posts__grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .conecta-post-card__content { padding:19px 20px 23px; }
}
@media(prefers-reduced-motion:reduce) {
  .conecta-post-card__image img { transition:none; }
}
