/* TEMPLO-230-A32 — Selecao Editorial profissional PT/EN.
   Isolado exclusivamente em section.a32-editorial, preservando conteudo do Django.
   Complemento visual responsivo, nativo aos temas claro/escuro. */
section.a32-editorial {
  --a32-bg:#fffefa;
  --a32-panel:#fff;
  --a32-ink:#241c19;
  --a32-text:#453b32;
  --a32-soft:#76685a;
  --a32-gold:#a86a17;
  --a32-gold-hi:#c28a30;
  --a32-line:rgba(191,140,70,.57);
  --a32-outline:rgba(181,125,45,.45);
  --a32-shadow:0 11px 22px rgba(63,41,19,.10),0 2px 4px rgba(50,30,10,.055);
  --a32-button1:#e1ac4a;
  --a32-button2:#94560b;
  --a32-button-ink:#fff;
  position:relative!important;
  isolation:isolate;
  background:linear-gradient(180deg,#fff 0%,var(--a32-bg) 58%,#fcf8f2 100%)!important;
  color:var(--a32-ink)!important;
  padding-block:clamp(54px,6vw,92px)!important;
  border:0!important;
}
section.a32-editorial.a32-dark {
  --a32-bg:#151116;
  --a32-panel:#211a1e;
  --a32-ink:#f7f0e8;
  --a32-text:#e5d8cc;
  --a32-soft:#c9b6a1;
  --a32-gold:#efbd74;
  --a32-gold-hi:#e2ae60;
  --a32-line:rgba(222,171,102,.50);
  --a32-outline:rgba(215,163,92,.39);
  --a32-shadow:0 14px 28px rgba(0,0,0,.30),0 3px 8px rgba(0,0,0,.20);
  --a32-button1:#f0c475;
  --a32-button2:#b17a23;
  --a32-button-ink:#211609;
  background:linear-gradient(180deg,#151116 0%,#1a151a 60%,#131115 100%)!important;
  color-scheme:dark;
}
section.a32-editorial::before {
  content:"";
  display:block;
  position:absolute;
  top:0;
  right:max(3%,calc((100vw - 1240px)/2));
  width:clamp(230px,30vw,420px);
  height:clamp(180px,24vw,340px);
  opacity:.25;
  pointer-events:none;
  background:url('/static/img/home-editorial-watermark-230a32.svg') center center / contain no-repeat;
  z-index:0;
}
section.a32-editorial.a32-dark::before {opacity:.13}
section.a32-editorial::after {
  content:"";
  position:absolute;
  right:0;top:0;
  width:55%;height:230px;
  background:radial-gradient(ellipse at 72% 34%,rgba(208,157,83,.10),transparent 64%);
  pointer-events:none;
  z-index:0;
}
section.a32-editorial > * {position:relative;z-index:1}
section.a32-editorial .a32-eyebrow {
  display:inline-flex!important;
  align-items:center!important;
  gap:15px!important;
  margin:0 0 clamp(14px,2vw,24px)!important;
  color:var(--a32-gold)!important;
  font:750 clamp(.72rem,.85vw,.9rem)/1.3 system-ui,-apple-system,sans-serif!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
section.a32-editorial .a32-eyebrow::after {
  content:"";
  width:clamp(56px,11vw,150px);
  height:1px;
  display:block;
  background:linear-gradient(90deg,var(--a32-gold),transparent);
}
section.a32-editorial h2.a32-title {
  margin:0 0 clamp(13px,1.5vw,21px)!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-weight:500!important;
  letter-spacing:-.035em!important;
  line-height:1.1!important;
  font-size:clamp(2.5rem,4.2vw,4.15rem)!important;
  color:var(--a32-ink)!important;
  max-width:850px!important;
  text-wrap:balance;
}
section.a32-editorial h2.a32-title em {font-weight:500!important;font-style:italic!important;color:var(--a32-gold)!important}
section.a32-editorial p.a32-intro {
  color:var(--a32-text)!important;
  font:400 clamp(.97rem,1.13vw,1.13rem)/1.65 Georgia,'Times New Roman',serif!important;
  max-width:64ch!important;
  margin:0 0 clamp(34px,4vw,56px)!important;
  position:relative;
  z-index:1;
  text-wrap:pretty;
}
section.a32-editorial .a32-grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:clamp(20px,2.25vw,30px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
}
section.a32-editorial article.a32-card {
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  border:1px solid var(--a32-outline)!important;
  border-radius:15px!important;
  background:var(--a32-panel)!important;
  box-shadow:var(--a32-shadow)!important;
  color:var(--a32-ink)!important;
  overflow:hidden!important;
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
section.a32-editorial article.a32-card:hover {
  transform:translateY(-4px);
  box-shadow:0 18px 32px rgba(64,37,16,.17)!important;
  border-color:var(--a32-gold-hi)!important;
}
section.a32-editorial.a32-dark article.a32-card:hover {box-shadow:0 19px 36px rgba(0,0,0,.42)!important}
section.a32-editorial .a32-media {
  display:block!important;
  flex:none!important;
  margin:0!important;
  padding:0!important;
  width:100%!important;
  overflow:hidden!important;
  background:var(--a32-panel)!important;
  border:0!important;
  border-radius:0!important;
}
section.a32-editorial .a32-image-link {display:block!important;width:100%!important;overflow:hidden!important}
section.a32-editorial .a32-cover {
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1.86!important;
  object-fit:cover!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  transition:transform .35s ease;
}
section.a32-editorial article.a32-card:hover .a32-cover {transform:scale(1.025)}
section.a32-editorial .a32-body {
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-width:0!important;
  padding:clamp(18px,2vw,25px)!important;
  gap:0!important;
  background:var(--a32-panel)!important;
}
section.a32-editorial .a32-tag {
  display:inline-flex!important;
  gap:8px!important;
  align-items:center!important;
  color:var(--a32-gold)!important;
  font:750 .76rem/1.3 system-ui,-apple-system,sans-serif!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  margin:0 0 10px!important;
}
section.a32-editorial .a32-tag svg,
section.a32-editorial .a32-meta svg {
  width:19px;height:19px;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;flex:none;
}
section.a32-editorial .a32-card-title {
  font:600 clamp(1.25rem,1.65vw,1.65rem)/1.18 Georgia,'Times New Roman',serif!important;
  letter-spacing:-.02em!important;
  color:var(--a32-ink)!important;
  margin:0 0 14px!important;
  text-wrap:pretty;
}
section.a32-editorial .a32-card-title a {color:inherit!important;text-decoration:none!important}
section.a32-editorial .a32-card-title a:hover {color:var(--a32-gold)!important}
section.a32-editorial .a32-excerpt {
  color:var(--a32-text)!important;
  font:400 clamp(.92rem,1vw,1.05rem)/1.58 Georgia,'Times New Roman',serif!important;
  text-align:left!important;
  margin:0 0 20px!important;
  flex:1!important;
  text-wrap:pretty;
  overflow-wrap:break-word;
}
section.a32-editorial .a32-meta,
section.a32-editorial .a32-body .card-meta,
section.a32-editorial .a32-body .article-meta {
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;
  margin-top:auto!important;padding-top:14px!important;
  border-top:1px solid var(--a32-line)!important;
  color:var(--a32-soft)!important;
  font:500 .78rem/1.4 system-ui,-apple-system,sans-serif!important;
}
section.a32-editorial .a32-author,section.a32-editorial .a32-date {display:inline-flex;align-items:center;gap:6px;color:var(--a32-soft)}
section.a32-editorial .a32-meta svg {width:15px;height:15px;color:var(--a32-gold)}
section.a32-editorial .a32-actions {
  max-width:1240px!important;
  margin:clamp(34px,4.2vw,58px) auto 0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:clamp(14px,2.1vw,30px)!important;
}
section.a32-editorial .a32-decoration {
  flex:1 1 0;min-width:12px;max-width:420px;
  display:flex;gap:8px;align-items:center;
  color:var(--a32-gold);
  font-size:24px;
}
section.a32-editorial .a32-decoration::before {
  content:"";height:1px;flex:1;
  background:linear-gradient(90deg,transparent,var(--a32-gold-hi));
}
section.a32-editorial .a32-decoration:last-child {flex-direction:row-reverse}
section.a32-editorial .a32-decoration:last-child::before {background:linear-gradient(90deg,var(--a32-gold-hi),transparent)}
section.a32-editorial a.a32-more {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto;gap:12px!important;
  min-height:52px!important;
  max-width:100%!important;
  margin:0!important;
  padding:12px clamp(18px,2.15vw,31px)!important;
  background:linear-gradient(180deg,var(--a32-button1),var(--a32-button2))!important;
  color:var(--a32-button-ink)!important;
  border:1px solid var(--a32-gold-hi)!important;
  border-radius:9px!important;
  box-shadow:inset 0 1px rgba(255,240,204,.45),0 9px 20px rgba(114,64,12,.16)!important;
  font:750 .87rem/1.3 system-ui,-apple-system,sans-serif!important;
  letter-spacing:.045em!important;text-transform:uppercase!important;text-decoration:none!important;
  transition:transform .2s ease,filter .2s ease;
}
section.a32-editorial a.a32-more:hover {filter:brightness(1.08);transform:translateY(-2px)}
section.a32-editorial a.a32-more svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
section.a32-editorial a:focus-visible {outline:3px solid var(--a32-gold)!important;outline-offset:3px!important}
@media(max-width:1000px){
 section.a32-editorial .a32-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 section.a32-editorial .a32-card-title{font-size:1.5rem!important}
}
@media(max-width:680px){
 section.a32-editorial {padding-block:42px!important}
 section.a32-editorial::before{width:230px;height:180px;top:12px;right:-38px;opacity:.12}
 section.a32-editorial .a32-grid {grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 section.a32-editorial h2.a32-title{font-size:clamp(2.2rem,8vw,3.1rem)!important}
 section.a32-editorial p.a32-intro{margin-bottom:30px!important}
 section.a32-editorial .a32-body{padding:20px!important}
 section.a32-editorial .a32-excerpt{font-size:1rem!important}
 section.a32-editorial .a32-actions{gap:9px!important}
 section.a32-editorial .a32-decoration{font-size:16px}
 section.a32-editorial a.a32-more{font-size:.76rem!important;padding:12px 14px!important}
}
@media(prefers-reduced-motion:reduce){
 section.a32-editorial article.a32-card,section.a32-editorial .a32-cover,section.a32-editorial a.a32-more{transition:none!important}
}
/* O selo decorativo sai parcialmente da area visual em telas estreitas.
   Recortar apenas o excesso externo evita rolagem horizontal no mobile. */
@media(max-width:680px){section.a32-editorial{overflow:clip!important}}
