/* Central de Conteúdo (blog), complementa style.css com a mesma paleta. */

/* Destaque (publicação mais recente) */
.kc-featured {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .kc-featured { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
}
.kc-featured-media { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.kc-featured h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 10px 0 14px; }
.kc-featured h2 a { color: var(--navy-900); }
.kc-featured h2 a:hover { text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 5px; }
.kc-excerpt { color: var(--ink-500); font-size: 17px; margin-bottom: 18px; }

.kc-section-title { font-size: clamp(20px, 2.2vw, 24px); margin: 0 0 24px; padding-top: 32px; border-top: 1px solid rgba(6,15,30,0.10); }

/* Capas */
.kc-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.kc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.kc-cover--text {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 22px 24px;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-700));
}
.kc-cover-mark { font-family: var(--font-serif); font-size: 46px; line-height: 1; color: var(--gold-400); }
.kc-cover-title {
  font-family: var(--font-serif); font-weight: 600; color: var(--cream-100);
  font-size: 19px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.kc-cover--lg .kc-cover-title { font-size: clamp(22px, 2.6vw, 30px); -webkit-line-clamp: 4; }
.kc-cover--lg .kc-cover-mark { font-size: 64px; }
.kc-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,15,30,0.78); color: var(--gold-400);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: background var(--transition), transform var(--transition);
}
.kc-play svg { width: 24px; height: 24px; margin-left: 3px; }
.kc-play--lg { width: 76px; height: 76px; }
.kc-play--lg svg { width: 32px; height: 32px; }

/* Metadados */
.kc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ink-500); margin: 0 0 6px; }
.kc-kind { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--gold-ink); }

/* Grade de cartões */
.kc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.kc-card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(6,15,30,0.08); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.kc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kc-card:hover .kc-cover img, .kc-featured-media:hover .kc-cover img { transform: scale(1.04); }
.kc-card:hover .kc-play, .kc-featured-media:hover .kc-play { background: var(--navy-900); transform: translate(-50%, -50%) scale(1.06); }
.kc-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.kc-card h3 { font-size: 18px; line-height: 1.3; margin: 2px 0 8px; }
.kc-card-link { color: var(--navy-900); }
.kc-card-link::after { content: ""; position: absolute; inset: 0; } /* cartão inteiro clicável */
.kc-card-link:focus-visible { outline: none; }
.kc-card:focus-within { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.kc-card p:last-child { color: var(--ink-500); font-size: 14.5px; margin: 0; }

.kc-empty { text-align: center; padding: 56px 20px; background: var(--cream-50); border: 1px dashed rgba(6,15,30,0.15); border-radius: 14px; }
.kc-empty p { color: var(--ink-500); margin: 0; }

.kc-pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.kc-pager-info { font-size: 14px; color: var(--ink-500); }

/* Página da publicação */
.kc-preview-bar { background: var(--gold-300); color: var(--navy-950); font-size: 14px; font-weight: 600; padding: 10px 0; }
.kc-preview-bar a { color: var(--navy-950); text-decoration: underline; margin-left: 8px; }
.kc-article-hero h1 { max-width: 900px; }
.kc-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 14.5px; color: rgba(245,241,232,0.8); }
.kc-byline > * + *::before { content: "·"; margin-right: 18px; color: var(--gold-400); }
@media (max-width: 640px) {
  .kc-byline { gap: 4px 14px; }
  .kc-byline > * + *::before { display: none; }
}
.kc-article-main { min-width: 0; }

.kc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-md); }
.kc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kc-video-poster { position: absolute; inset: 0; display: block; }
.kc-video-poster img { width: 100%; height: 100%; object-fit: cover; }
.kc-video-poster:hover .kc-play { background: var(--navy-900); transform: translate(-50%, -50%) scale(1.06); }
.kc-video-poster:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; }
.kc-video-note { font-size: 12.5px; color: var(--ink-500); margin: 10px 0 36px; }

.kc-prose { max-width: 720px; }
.kc-prose p { margin: 0 0 1.15em; line-height: 1.75; }
.kc-prose h2 { margin-bottom: .5em; }
.kc-prose blockquote {
  margin: 1.8em 0; padding: 20px 24px;
  background: var(--cream-100); border-left: 4px solid var(--gold-500); border-radius: 0 10px 10px 0;
  font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: var(--navy-900);
}
.kc-prose blockquote p:last-child { margin-bottom: 0; }

.kc-disclaimer { max-width: 720px; }
.kc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: var(--ink-500); }
.kc-share a, .kc-share button {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid rgba(6,15,30,0.15); border-radius: 999px; background: var(--white);
  font: inherit; font-weight: 600; color: var(--navy-800); cursor: pointer;
}
.kc-share a:hover, .kc-share button:hover { border-color: var(--gold-500); }

.kc-side-text { font-size: 14.5px; color: var(--ink-500); }
.kc-side-title { margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  .kc-card, .kc-cover img, .kc-play { transition: none; }
  .kc-card:hover { transform: none; }
}
.sidebar-box .kc-side-h { font-size: 17px; margin-bottom: 14px; }
