/* ------------------------
   BASE / RESET + MANROPE
------------------------ */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Manrope",sans-serif;
  background:#f4f6f9;
  color:#111827;
  line-height:1.45;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
table{width:100%;border-collapse:collapse}

/* ------------------------
   LAYOUT
------------------------ */
main,.j-wrap{max-width:1100px;margin:24px auto;padding:0 16px}
.j-wrap>h1{margin:0 0 16px;font-size:24px;font-weight:800;letter-spacing:-.02em}

/* ------------------------
   CARD / ALERTA
------------------------ */
.j-card{
  background:#fff;border:1px solid #e5e7eb;border-radius:16px;
  padding:18px;margin:16px 0;box-shadow:0 6px 18px rgba(17,24,39,.06)
}
.j-card h2{margin:0 0 14px;font-size:16px;font-weight:700;letter-spacing:-.01em}

.j-success,.j-error{
  padding:10px 12px;border-radius:12px;margin:0 0 12px;
  font-size:13px;font-weight:700
}
.j-success{background:#ecfdf5;border:1px solid #34d399;color:#065f46}
.j-error{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}
/* ------------------------
   LISTAGEM (FRONT / TAXONOMIA / INDEX)
   - home-page, home-below, news-row
------------------------ */
.home-page {
  background: transparent;
  width: 100%;
  max-width: 1200px;
}

/* ======================================
   HOME — BLOCO ABAIXO DO HERO
====================================== */
.home-below {
  padding: 35px 0 24px;
}

.home-below-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) 355px;
  gap: 69px;
  align-items: start;
  padding: 0 12px;
  box-sizing: border-box;
}

.home-left-col {
  min-width: 0;
}

.home-right-col {
  min-width: 0;
  border-left: 1.5px solid #8F8F8F;
  padding-left: 26px;
}

.home-section-head {
  border-top: 1.5px solid #1E293B;
  padding-top: 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: #111;
  font-weight: 500;
}

.home-section-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.home-section-link:hover {
  color: #111;
}

.home-list {
  display: flex;
  flex-direction: column;
}

.news-row {
  border-bottom: 1px solid #dcdcdc;
  padding: 16px 0;
}

.news-row:first-child {
  padding-top: 10px;
}

.news-row:last-child {
  border-bottom: 0;
}

.news-row-link {
  display: grid;
  grid-template-columns: 305px minmax(0, 1fr);
  gap: 14px;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.news-row-thumb {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #ddd;
  border-radius: 0;
}

.news-row-thumb img,
.thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-placeholder {
  background: linear-gradient(135deg, #ececec, #d8d8d8);
}

.news-row-content {
  min-width: 0;
  padding-top: 2px;
}

.news-row-tag {
  color: var(--tag-color, #0f766e);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.news-row-content h3 {
  margin: 0 0 8px 0;
  color: #111;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.2px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-row-content p {
  margin: 0 0 8px 0;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-row-time {
  display: inline-block;
  color: #7d7d7d;
  font-size: 11px;
  line-height: 1;
}

/* ======================================

/* RESPONSIVO — LISTAGEM */
@media (max-width: 1100px) {
  .news-row-link{
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .news-row-thumb{
    height: 145px;
  }
  .news-row-content h3{
    font-size: 18px;
  }
}

/* === HOVER ZOOM NAS IMAGENS === */
.news-row-thumb,
.hero-image,
.side-card-image,
.single-ranking-item .img,
.single-mais-card .img {
  overflow: hidden;
}

.news-row-thumb img,
.hero-image img,
.side-card-image img,
.single-ranking-item .img img,
.single-mais-card .img img {
  transform: scale(1);
  transition: transform .35s ease;
}

.news-row-link:hover .news-row-thumb img,
.hero-link:hover .hero-image img,
.side-card-link:hover .side-card-image img,
.single-ranking-item:hover .img img,
.single-mais-card:hover .img img {
  transform: scale(1.08);
}
