/* A TELE — camada visual editorial para Eihei 1.2.0
   Paleta: bordô, dourado, azul-noite e fundos claros. */
:root {
  --ghost-accent-color: #8B1538;
  --color-one: #07111F;
  --color-two: #F7F4F1;
  --color-three: #E8E0DC;
  --color-body: #FFFFFF;
  --color-border: #E7DDE0;
  --height-logo-header: 82px;
  --height-logo-mobile-header: 58px;
  --grid-gap: clamp(18px, 2.1vw, 34px);
  --site-gap: clamp(18px, 3.2vw, 54px);
  --radius: 3px;
}
body {
  background: #fff;
  color: #17151A;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #8B1538; }
::selection { background: #8B1538; color: #fff; }

/* Cabeçalho compacto, editorial e com navegação bem definida */
.header-section {
  border-bottom: 1px solid #E9E0E2;
  background: rgba(255,255,255,.97);
  padding-top: 8px;
  padding-bottom: 8px;
}
.header-wrap { min-height: 66px; margin-top: 0; gap: clamp(18px, 2vw, 36px); }
.header-logo img, .header-logo svg { max-height: 72px; width: auto; }
.header-nav { font-size: 12px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.header-nav li:not(:first-of-type):not(.header-dropdown li) { margin-left: clamp(10px, 1.1vw, 20px); }
.header-nav a { padding: 9px 0; }
.header-nav a:hover { color: #8B1538; }
.header-content .header-search, .header-search { color: #8B1538; }

/* Abertura: hierarquia forte, sem excesso de espaço vazio */
.hero-section { margin: clamp(28px, 4vw, 58px) auto clamp(34px, 4vw, 60px); }
.hero-section > div.is-home { max-width: 1000px; }
.hero-section h1, .hero-section .hero-title {
  color: #07111F;
  letter-spacing: -.035em;
  line-height: 1.02;
  font-weight: 800;
}
.hero-section p { color: #5E5960; }
.hero-section .is-home h1:after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 22px auto 0;
  background: #D4A017;
}

/* Separadores e blocos */
.special-section, .featured-section, .loop-section { margin-bottom: clamp(34px, 5vw, 72px); }
.loop-heading, .special-heading, .featured-heading {
  border-top: 2px solid #8B1538;
  padding-top: 14px;
}
.loop-heading h2, .special-heading h2, .featured-heading h2 {
  color: #07111F;
  font-weight: 800;
  letter-spacing: -.025em;
}
.loop-wrap { row-gap: clamp(24px, 3vw, 42px); }
.loop-wrap article, .special-section article, .featured-section article { min-width: 0; }
.loop-wrap article img, .special-section article img, .featured-section article img {
  transition: transform .35s ease, filter .35s ease;
}
.loop-wrap article a:hover img, .special-section article a:hover img, .featured-section article a:hover img {
  transform: scale(1.025);
  filter: saturate(1.06);
}
.loop-wrap article h2, .loop-wrap article h3,
.special-section article h2, .special-section article h3,
.featured-section article h2, .featured-section article h3 {
  color: #17151A;
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 750;
}
.loop-wrap article a:hover h2, .loop-wrap article a:hover h3 { color: #8B1538; }
.loop-wrap article .post-card-meta, .loop-wrap article time { color: #82777C; }

/* Etiquetas e botões */
a[class*="button"], button, input[type="submit"] {
  border-radius: 2px;
}
button:hover, input[type="submit"]:hover { filter: brightness(.93); }
.tag, .post-tag, .post-card-tag {
  color: #8B1538;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Páginas de artigo */
.post-header { margin-bottom: 28px; }
.post-title, .post-header h1 {
  color: #07111F;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.post-content a { color: #8B1538; text-decoration: underline; text-decoration-color: #D4A017; }
.post-content blockquote { border-left: 3px solid #D4A017; }
.post-content h2, .post-content h3 { color: #07111F; }
.post-content hr { border-color: #E7DDE0; }

/* Rodapé escuro para fechar a identidade visual */
.footer-section {
  background: #07111F;
  color: #F7F4F1;
  margin-top: 72px;
  margin-bottom: 0;
  padding: clamp(32px, 4vw, 58px) var(--site-gap) 20px;
}
.footer-section a, .footer-section h2, .footer-section h3 { color: #fff; }
.footer-section a:hover { color: #E6C15A; }
.footer-section p, .footer-section small { color: #D4CDD2; }
.footer-section .footer-wrap { margin-bottom: 0; }
.footer-section .footer-content { gap: 24px; }

/* Mobile: manter navegação legível e reduzir espaços */
@media (max-width: 1024px) {
  .header-section { padding-top: 4px; padding-bottom: 4px; }
  .header-wrap { min-height: 56px; }
  .header-logo img, .header-logo svg { max-height: 54px; }
  .hero-section { margin-top: 28px; margin-bottom: 36px; }
  .hero-section > div.is-home { max-width: 100%; }
  .loop-wrap { gap: 22px 14px; }
}
@media (max-width: 640px) {
  :root { --site-gap: 18px; --grid-gap: 18px; }
  .hero-section h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .loop-heading, .special-heading, .featured-heading { padding-top: 10px; }
  .loop-wrap { margin-bottom: 28px; }
  .footer-section { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Homepage editorial do A Tele */
.atele-featured-heading,
.atele-section-heading {
  position: relative;
  display: flex;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding-top: 13px;
  border-top: 2px solid #8B1538;
}
.atele-featured-heading h2,
.atele-section-heading h2 {
  margin: 0;
  color: #07111F;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 800;
}
.atele-kicker {
  display: block;
  flex-basis: 100%;
  margin-bottom: -11px;
  color: #8B1538;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.atele-section-link {
  margin-left: auto;
  color: #8B1538;
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
}
.atele-section-link:hover { color: #07111F; }
.atele-home-section {
  margin: 0 auto clamp(42px, 5vw, 76px);
}
.atele-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
}
.atele-home-grid > article { min-width: 0; }
.atele-home-grid .item-img { display: block; overflow: hidden; }
.atele-home-grid .item-img img { width: 100%; }
.atele-home-grid .item h2,
.atele-home-grid article h2 {
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  line-height: 1.2;
  font-weight: 750;
}
.loop-heading small.g-font-xl {
  color: #07111F;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.special-section { margin-top: 0; }
@media (max-width: 900px) {
  .atele-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .atele-home-grid { gap: 20px 12px; }
  .atele-section-heading { gap: 10px; }
  .atele-section-link { font-size: .72rem; }
}

/* Notícia principal + secundárias: composição de portal editorial */
.atele-main-feature {
  margin: 0 auto clamp(42px, 5vw, 76px);
}
.atele-main-feature .atele-featured-heading { margin-bottom: 22px; }
.atele-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  grid-template-rows: repeat(3, minmax(0, auto));
  gap: clamp(14px, 1.6vw, 24px);
  align-items: stretch;
}
.atele-lead-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #F7F4F1;
  overflow: hidden;
}
.atele-lead-card.is-lead {
  grid-column: 1;
  grid-row: 1 / span 3;
  min-height: 440px;
}
.atele-lead-card.is-secondary {
  display: grid;
  grid-template-columns: minmax(105px, 38%) minmax(0, 1fr);
  grid-column: 2;
  grid-row: auto;
  min-height: 132px;
  background: #fff;
  border-bottom: 1px solid #E7DDE0;
}
.atele-lead-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: #E8E0DC;
}
.atele-lead-card.is-lead .atele-lead-image { flex: 1 1 auto; min-height: 290px; }
.atele-lead-card.is-secondary .atele-lead-image { min-height: 132px; }
.atele-lead-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.atele-lead-card:hover .atele-lead-image img { transform: scale(1.025); }
.atele-lead-copy { padding: clamp(16px, 2vw, 28px); }
.atele-lead-card.is-lead .atele-lead-copy {
  padding: clamp(20px, 2.4vw, 36px);
  background: #07111F;
  color: #fff;
}
.atele-lead-card.is-lead h3 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 850;
}
.atele-lead-card.is-lead h3 a { color: #fff; }
.atele-lead-card.is-lead p { color: #E4DDE1; font-size: 1rem; line-height: 1.55; }
.atele-lead-card.is-secondary .atele-lead-copy { align-self: center; padding: 12px 16px; }
.atele-lead-card.is-secondary h3 {
  margin: 5px 0 0;
  color: #07111F;
  font-size: clamp(.98rem, 1.2vw, 1.28rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
}
.atele-lead-card h3 a { color: inherit; text-decoration: none; }
.atele-lead-card h3 a:hover { color: #D4A017; }
.atele-lead-tag {
  color: #D4A017;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.atele-lead-card.is-secondary .atele-lead-tag { color: #8B1538; }
.atele-lead-card .post-meta, .atele-lead-card .item-meta { color: #C9C0C7; }
.atele-lead-card.is-secondary .post-meta, .atele-lead-card.is-secondary .item-meta { color: #82777C; }
.atele-lead-card.no-image { min-height: 150px; }
.atele-lead-card.is-secondary.no-image { display: block; }
@media (max-width: 760px) {
  .atele-lead-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .atele-lead-card.is-lead { grid-column: 1; grid-row: auto; min-height: 0; }
  .atele-lead-card.is-lead .atele-lead-image { min-height: 230px; aspect-ratio: 16 / 9; }
  .atele-lead-card.is-secondary { grid-column: 1; grid-template-columns: 34% minmax(0,1fr); min-height: 108px; }
  .atele-lead-card.is-secondary .atele-lead-image { min-height: 108px; }
  .atele-lead-card.is-secondary .atele-lead-copy { padding: 10px 12px; }
}

/* A Tele — acabamento premium da área principal (v3) */
.atele-main-feature {
  max-width: 1440px;
  padding-inline: clamp(18px, 3vw, 42px);
  margin-top: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(54px, 6vw, 88px);
}
.atele-main-feature .atele-featured-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(139, 21, 56, .28);
}
.atele-main-feature .atele-featured-heading h2 {
  margin: 5px 0 0;
  color: #07111F;
  font-size: clamp(1.8rem, 2.6vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.atele-main-feature .atele-kicker {
  color: #8B1538;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.atele-lead-grid {
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr);
  grid-template-rows: repeat(3, minmax(0, auto));
  gap: 12px 24px;
  align-items: start;
}
.atele-lead-card.is-lead {
  min-height: 0;
  height: 100%;
  background: #07111F;
  box-shadow: 0 18px 45px rgba(7, 17, 31, .12);
}
.atele-lead-card.is-lead .atele-lead-image {
  flex: 0 0 auto;
  min-height: 0;
  height: clamp(300px, 32vw, 500px);
}
.atele-lead-card.is-lead .atele-lead-copy {
  padding: clamp(22px, 2.5vw, 38px);
}
.atele-lead-card.is-lead h3 {
  max-width: 18ch;
  margin: 10px 0 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
}
.atele-lead-card.is-lead p {
  max-width: 68ch;
  margin-bottom: 14px;
  color: rgba(255,255,255,.78);
  font-size: clamp(.94rem, 1vw, 1.05rem);
  line-height: 1.55;
}
.atele-lead-card.is-lead .post-meta,
.atele-lead-card.is-lead .item-meta { color: rgba(255,255,255,.68); }
.atele-lead-card.is-secondary {
  align-self: start;
  grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
  min-height: 0;
  height: auto;
  border-bottom: 1px solid #E9E0E2;
  background: #fff;
  transition: background .2s ease, transform .2s ease;
}
.atele-lead-card.is-secondary:hover { background: #FBF8F7; }
.atele-lead-card.is-secondary .atele-lead-image {
  height: 132px;
  min-height: 132px;
}
.atele-lead-card.is-secondary .atele-lead-copy { padding: 13px 16px; }
.atele-lead-card.is-secondary h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1rem, 1.12vw, 1.22rem);
  line-height: 1.2;
  font-weight: 700;
}
.atele-lead-card.is-secondary .atele-lead-tag { font-size: .6rem; letter-spacing: .12em; }
.atele-lead-card h3 a { transition: color .2s ease; }
.atele-lead-card.is-lead h3 a:hover { color: #E4B94F; }
.atele-lead-card.is-secondary h3 a:hover { color: #8B1538; }
.atele-lead-card .atele-lead-image img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
@media (min-width: 761px) {
  .atele-lead-card.is-lead { grid-column: 1; grid-row: 1 / span 3; }
  .atele-lead-card.is-secondary { grid-column: 2; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .atele-lead-grid { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 12px 16px; }
  .atele-lead-card.is-secondary { grid-template-columns: 30% minmax(0, 1fr); }
  .atele-lead-card.is-secondary .atele-lead-image { height: 116px; min-height: 116px; }
  .atele-lead-card.is-secondary .atele-lead-copy { padding: 10px 12px; }
}
@media (max-width: 760px) {
  .atele-main-feature { padding-inline: 16px; margin-top: 28px; }
  .atele-main-feature .atele-featured-heading { margin-bottom: 16px; }
  .atele-lead-grid { gap: 18px; }
  .atele-lead-card.is-lead .atele-lead-image { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .atele-lead-card.is-lead .atele-lead-copy { padding: 22px 20px 24px; }
  .atele-lead-card.is-lead h3 { font-size: clamp(1.8rem, 7vw, 2.45rem); }
  .atele-lead-card.is-secondary { grid-template-columns: 34% minmax(0, 1fr); }
  .atele-lead-card.is-secondary .atele-lead-image { height: 112px; min-height: 112px; }
  .atele-lead-card.is-secondary h3 { font-size: 1.02rem; -webkit-line-clamp: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .atele-lead-card .atele-lead-image img, .atele-lead-card h3 a { transition: none; }
}
