@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --an-bg:#ffffff;
  --an-card:#ffffff;
  --an-ink:#2a3e69;
  --an-muted:#64748b;
  --an-line:#e6eaf2;

  --an-orange:#ff6a00;
  --an-blue:#071a2e;

  --an-radius:12px;
  --an-radius-img:12px;
  --an-shadow:0 10px 30px rgba(2,8,23,.06);
}

body{ background: var(--an-bg);
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    
}

.an-article-page{
  padding: 18px 0 22px;
}

.an-breadcrumb{
  font-size: 12px;
  color: var(--an-muted);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin: 4px 0 14px;
}
.an-breadcrumb a{
  color: inherit;
  text-decoration:none;
  font-weight: 700;
}
.an-breadcrumb a:hover{ color: var(--an-blue); }
.an-breadcrumb .sep{ color:#94a3b8; }
.an-breadcrumb strong{
  color: var(--an-ink);
  font-weight: 800;
}

.an-article-wrap{
  display:block;
}

/* Banner topo (horizontal) */
.an-article-topad{
  background: var(--an-card);
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  box-shadow: var(--an-shadow);
  padding: 14px;
  margin-bottom: 14px;
}
.an-article-topad .label{
  font-size: 12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--an-muted);
  margin-bottom: 10px;
}
.an-article-topad .box{
  border:2px dashed #cbd5e1;
  border-radius: 12px;
  height: 110px;
  display:grid;
  place-items:center;
  color:#94a3b8;
  font-weight: 800;
  font-size: 12px;
}

/* Card principal da notícia */
.an-article-card{
  background: var(--an-card);
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  box-shadow: var(--an-shadow);
  overflow:hidden;
}

/* header editorial */
.an-article-head{
  padding: 18px 18px 0;
}

.an-cat-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,106,0,.95);
  color:#fff;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 11px;
  text-transform: uppercase;
}

.an-title{
  margin: 12px 0 10px;
  color: var(--an-ink);
   font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: 26px;
}

.an-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  color: var(--an-muted);
  font-size: 12px;
  padding-bottom: 12px;
}
.an-meta strong{
  color: var(--an-ink);
  font-weight: 800;
}
.an-meta .dot{
  color:#cbd5e1;
}

/* imagem destaque */
.an-featured-img{
  width:100%;
  height: 600px;
  object-fit: cover;
  display:block;
}

/* corpo */
.an-article-body{
  padding: 16px 18px 18px;
}

.an-lead{
  font-size: 18px;
  line-height: 1.75;
  color: var(--an-ink);
  font-weight: 600;
  padding: 14px 14px;
  background: #fff7f0;
  border:1px solid rgba(255,106,0,.18);
  border-left: 4px solid var(--an-orange);
  border-radius: 12px;
  margin: 14px 0 16px;
}

.an-content{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--an-ink);
}
.an-content p{ margin: 0 0 14px; color: var(--an-ink); }
.an-content h2{
  margin: 22px 0 10px;
  font-family: "Merriweather", serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--an-ink);
  font-size: 20px;
  line-height: 1.2;
}
.an-content h3{
  margin: 18px 0 8px;
  font-weight: 900;
  color: var(--an-ink);
  font-size: 16px;
}
.an-content ul{
  margin: 8px 0 16px 18px;
  padding:0;
}
.an-content li{
  margin: 6px 0;
  color: var(--an-ink);
}

/* divisores */
.an-divider{
  height:1px;
  background: var(--an-line);
  margin: 16px 0;
}

/* compartilhar */
.an-share{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.an-share .label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--an-blue);
  margin-right: 6px;
}
.an-share a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--an-line);
  background: #fff;
  color: var(--an-blue);
  text-decoration:none;
}
.an-share a:hover{ background:#f2f5fb; }
.an-share svg{ width:18px; height:18px; display:block; }

/* tags */
.an-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.an-tag{
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
  color: var(--an-blue);
  background:#eff6ff;
  border:1px solid #dbeafe;
  padding: 8px 10px;
  border-radius: 999px;
}
.an-tag:hover{ background:#dbeafe; }

/* box autor */
.an-author{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#f8fafc;
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  padding: 14px;
}
.an-author img{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(7,26,46,.10);
}
.an-author .name{
  font-weight: 900;
  color: var(--an-ink);
}
.an-author .bio{
  margin-top: 4px;
  font-size: 13px;
  color: var(--an-muted);
  line-height: 1.5;
}

/* navegação prev/next */
.an-prevnext{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.an-navcard{
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  background:#fff;
  padding: 12px;
  text-decoration:none;
  color:inherit;
}
.an-navcard:hover{ background:#f2f5fb; }
.an-navcard .small{
  font-size: 11px;
  color: var(--an-muted);
  font-weight: 900;
  letter-spacing:.08em;
  text-transform: uppercase;
}
.an-navcard .t{
  margin-top: 6px;
  font-weight: 900;
  color: var(--an-ink);
  line-height: 1.2;
  font-size: 13px;
}

/* comentários */
.an-comments{
  background:#fff;
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  padding: 14px;
}
.an-comments h2{
  font-family: "Merriweather", serif;
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 8px;
}
.an-comments .empty{
  color: var(--an-muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.an-form{
  display:grid;
  gap:10px;
}
.an-form .row2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.an-input, .an-textarea{
  width:100%;
  border:1px solid var(--an-line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  outline:none;
}
.an-textarea{ min-height: 120px; resize: vertical; }
.an-input:focus, .an-textarea:focus{
  border-color: rgba(255,106,0,.55);
  box-shadow: 0 0 0 4px rgba(255,106,0,.12);
}
.an-btn{
  border:none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 900;
  font-size: 13px;
  background: var(--an-blue);
  color:#fff;
  width: fit-content;
}
.an-btn:hover{ filter:brightness(1.08); }

/* relacionadas */
.an-related{
  background:#fff;
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  padding: 14px;
}
.an-related h2{
  font-family:"Merriweather", serif;
  font-weight: 900;
  font-size: 20px;
  margin:0 0 10px;
}
.an-rel-list{
  display:grid;
  gap:10px;
}
.an-rel-item{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:12px;
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  background:#fff;
}
.an-rel-item:hover{ background:#f2f5fb; }
.an-rel-item img{
  width:100%;
  height: 88px;
  object-fit: cover;
  display:block;
}
.an-rel-item .body{
  padding: 10px 10px 10px 0;
}
.an-rel-item .cat{
  font-size: 11px;
  font-weight: 900;
  letter-spacing:.08em;
  text-transform: uppercase;
  color: var(--an-orange);
}
.an-rel-item .t{
  margin-top: 4px;
  font-weight: 900;
  color: var(--an-ink);
  font-size: 13px;
  line-height:1.2;
}
.an-rel-item .d{
  margin-top: 6px;
  font-size: 12px;
  color: var(--an-muted);
}

/* banner abaixo relacionadas */
.an-related-ad{
  margin-top: 12px;
  border-top: 1px solid var(--an-line);
  padding-top: 12px;
}
.an-related-ad .label{
  font-size: 12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--an-muted);
  margin-bottom: 10px;
}
.an-related-ad .box{
  border:2px dashed #cbd5e1;
  border-radius: 12px;
  height: 110px;
  display:grid;
  place-items:center;
  color:#94a3b8;
  font-weight: 800;
  font-size: 12px;
}

/* SIDEBAR */
.an-sidebar{
  position: sticky;
  top: 14px;
  display:grid;
  gap:12px;
}
.an-widget{
  background:#fff;
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  box-shadow: var(--an-shadow);
  padding: 14px;
}
.an-widget .wtitle{
  font-size: 12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--an-blue);
  margin-bottom: 10px;
}

/* newsletter */
.an-newsletter p{
  margin:0 0 12px;
  color: var(--an-muted);
  font-size: 13px;
  line-height: 1.35;
}
.an-newsletter form{ display:grid; gap:10px; }
.an-newsletter input{
  width:100%;
  border:1px solid var(--an-line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  outline:none;
}
.an-newsletter input:focus{
  border-color: rgba(255,106,0,.55);
  box-shadow: 0 0 0 4px rgba(255,106,0,.12);
}
.an-newsletter button{
  border:none;
  border-radius: 10px;
  padding: 11px 12px;
  font-weight: 900;
  font-size: 13px;
  background: var(--an-orange);
  color:#fff;
}
.an-newsletter button:hover{ filter:brightness(1.05); }

/* principais temas (numerado) */
.an-topics{
  display:grid;
  gap:8px;
}
.an-topic{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap:10px;
  padding:10px;
  border-radius: 12px;
  text-decoration:none;
  color:inherit;
}
.an-topic:hover{ background:#f2f5fb; }
.an-topic .n{
  width:44px; height:44px;
  border-radius: 12px;
  display:grid; place-items:center;
  background:#eef2ff;
  color: var(--an-blue);
  font-weight: 900;
  font-size: 12px;
}
.an-topic .t{
  font-weight: 900;
  color: var(--an-ink);
  font-size: 13px;
  line-height: 1.2;
}
.an-topic .d{
  margin-top: 6px;
  font-size: 12px;
  color: var(--an-muted);
}

/* redes sociais */
.an-socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.an-socialbtn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--an-line);
  background:#fff;
  color: var(--an-blue);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.an-socialbtn:hover{ background:#f2f5fb; }
.an-socialbtn svg{ width:18px; height:18px; display:block; }

/* publicidade 300x250 */
.an-sidead .box{
  height:250px;
  border:2px dashed #cbd5e1;
  border-radius: 12px;
  display:grid;
  place-items:center;
  color:#94a3b8;
  font-weight: 800;
  font-size: 12px;
}

/* recentes */
.an-recent{
  display:grid;
  gap:10px;
}
.an-recent a{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap:10px;
  text-decoration:none;
  color:inherit;
  padding:10px;
  border-radius: 12px;
}
.an-recent a:hover{ background:#f2f5fb; }
.an-recent img{
  width:64px;
  height:48px;
  border-radius: 10px;
  object-fit: cover;
}
.an-recent .t{
  font-weight: 900;
  font-size: 13px;
  color: var(--an-ink);
  line-height: 1.2;
}
.an-recent .d{
  margin-top: 6px;
  font-size: 12px;
  color: var(--an-muted);
}

/* publicidade base (corpo) antes do rodapé */
.an-ad-bottom{ margin-top: 18px; margin-bottom: 22px; }
.an-ad-bottom-box{
  background:#fff;
  border:1px solid var(--an-line);
  border-radius: var(--an-radius);
  box-shadow: var(--an-shadow);
  padding: 14px;
}
.an-ad-bottom-box .label{
  font-size: 12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--an-muted);
  margin-bottom: 10px;
}
.an-ad-bottom-box .box{
  border:2px dashed #cbd5e1;
  border-radius: 12px;
  height: 110px;
  display:grid;
  place-items:center;
  color:#94a3b8;
  font-weight: 800;
  font-size: 12px;
}

/* responsivo */
@media (max-width: 991.98px){
  .an-title{ font-size: 30px; }
  .an-featured-img{ height: 320px; }
  .an-sidebar{ position: static; }
  .an-prevnext{ grid-template-columns: 1fr; }
}
@media (max-width: 575.98px){
  .an-title{ font-size: 26px; }
  .an-featured-img{ height: 260px; }
  .an-form .row2{ grid-template-columns: 1fr; }
  .an-rel-item{ grid-template-columns: 1fr; }
  .an-rel-item img{ height: 160px; }
  .an-rel-item .body{ padding: 10px 10px 12px; }
}
