/* ==========================================================================
   TCG — colunistas-page.css (2025 FINAL)
   Layout full-width (1140px) — 1 colunista por linha
   Superinteressante-style + Dark Mode completo
   ========================================================================== */

/* -----------------------
   Variáveis
----------------------- */
:root{
  --tcg-green: #006633;
  --tcg-green-strong: #00843a;

  --tcg-text: #0f1720;
  --tcg-text-soft: #6b7280;

  --tcg-surface: #ffffff;
  --tcg-bg: #f5f7f8;
  --tcg-border: #e5e8eb;

  --radius: 18px;
  --max-width: 1140px;

  --avatar: 120px;

  --thumb-w: 260px;
  --thumb-h: 170px;

  --shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* Página */
#tcg-colunistas-page{
  padding: 48px 20px 80px;
}

.tcg-colunistas-inner{
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header */
.tcg-colunistas-hero{
  margin-bottom: 42px;
}

.tcg-colunistas-title{
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 8px;
}

.tcg-colunistas-subtitle{
  margin: 0;
  color: var(--tcg-text-soft);
  font-size: 17px;
}

/* ==============================
   GRID: 1 card por linha
================================= */
.tcg-columnists-grid{
  display: grid;
  gap: 32px;
}

/* CARD COMPLETO — 2 colunas */
.tcg-columnist-card{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;

  background: var(--tcg-surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--tcg-border);
  box-shadow: var(--shadow);

  align-items: center;
}

/* ==============================
   COLUNA 1 — PERFIL DO COLUNISTA
================================= */
.tcg-columnist-profile{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Avatar */
.tcg-columnist-avatar-img{
  width: var(--avatar);
  height: var(--avatar);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--tcg-green);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  margin-bottom: 18px;
}

/* Nome da coluna */
.tcg-column-name{
  font-size: 13px;
  font-weight: 700;
  color: var(--tcg-green-strong);
  text-transform: uppercase;
  text-decoration: none;

  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,132,58,0.10);

  margin-bottom: 10px;
}
.tcg-column-name:hover{
  background: rgba(0,132,58,0.18);
}

/* Nome */
.tcg-columnist-name{
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}
.tcg-columnist-name a{
  text-decoration: none;
  color: var(--tcg-text);
}
.tcg-columnist-name a:hover{
  color: var(--tcg-green-strong);
}

/* Papel */
.tcg-columnist-role{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tcg-green);
}

/* Bio */
.tcg-columnist-bio{
  margin-top: 14px;
  color: var(--tcg-text-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ==============================
   COLUNA 2 — ÚLTIMO ARTIGO
================================= */
.tcg-columnist-latest-post{
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: flex-start;
}

/* Thumbnail */
.tcg-last-post-thumb-link{
  display: block;
  width: var(--thumb-w);
  min-width: var(--thumb-w);
  height: var(--thumb-h);

  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.14);
  transition: transform .25s ease;
}
.tcg-last-post-thumb-link:hover{
  transform: translateY(-3px);
}

.tcg-last-post-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Conteúdo */
.tcg-last-post-info{
  display: flex;
  flex-direction: column;
}

/* Label */
.tcg-last-post-label{
  font-size: 12px;
  font-weight: 700;
  color: var(--tcg-green);
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* Título */
.tcg-last-post-title{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tcg-text);
  text-decoration: none;
  margin-bottom: 6px;
}
.tcg-last-post-title:hover{
  text-decoration: underline;
  color: var(--tcg-green-strong);
}

/* Excerpt */
.tcg-last-post-excerpt{
  font-size: 14px;
  color: var(--tcg-text-soft);
  line-height: 1.55;
  margin-bottom: 12px;
}

/* Data */
.tcg-last-post-meta time{
  background: rgba(0,0,0,0.06);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--tcg-text-soft);
  font-weight: 600;
}

/* ==============================
   RESPONSIVO
================================= */
@media (max-width: 1024px){
  .tcg-columnist-card{
    grid-template-columns: 260px 1fr;
    padding: 26px;
  }
  :root{
    --avatar: 100px;
  }
}

@media (max-width: 768px){
  .tcg-columnist-card{
    grid-template-columns: 1fr;
  }
  .tcg-columnist-profile{
    margin-bottom: 22px;
  }
  .tcg-columnist-latest-post{
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px){
  .tcg-colunistas-title{
    font-size: 36px;
  }
  :root{
    --thumb-w: 100%;
    --thumb-h: 150px;
  }
}

/* ==============================
   DARK MODE (Foxiz)
================================= */
body.dark-mode,
body[data-theme="dark"]{
  --tcg-bg: #0b0d0f;
  --tcg-surface: #111418;
  --tcg-text: #e7eef5;
  --tcg-text-soft: #9aa4ad;
  --tcg-border: rgba(255,255,255,0.08);

  --tcg-green: #1fb14b;
  --tcg-green-strong: #14a03b;

  --shadow: 0 12px 40px rgba(0,0,0,0.6);
}

/* Card */
body.dark-mode .tcg-columnist-card,
body[data-theme="dark"] .tcg-columnist-card{
  background: var(--tcg-surface);
  border-color: var(--tcg-border);
}

/* Nome / Títulos */
body.dark-mode .tcg-columnist-name a,
body[data-theme="dark"] .tcg-columnist-name a{
  color: var(--tcg-text);
}

body.dark-mode .tcg-last-post-title,
body[data-theme="dark"] .tcg-last-post-title{
  color: var(--tcg-text);
}

/* Badge */
body.dark-mode .tcg-column-name{
  background: rgba(31,177,75,0.20);
}

/* Data */
body.dark-mode .tcg-last-post-meta time{
  background: rgba(255,255,255,0.10);
  color: var(--tcg-text-soft);
}
