/* A Tele Original — editorial premium */
:root {
  --ink: #07111f;
  --ink-soft: #33333a;
  --muted: #74717a;
  --paper: #ffffff;
  --paper-soft: #f8f5f2;
  --line: #e8e0db;
  --burgundy: #8b1538;
  --burgundy-dark: #6f102d;
  --gold: #d4a017;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 4px;
  --shadow: 0 12px 35px rgba(7,17,31,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--burgundy); }
button, input { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--burgundy); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-family: var(--serif); font-weight: 800; letter-spacing: -.06em; font-size: 34px; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: white; background: var(--burgundy); font-size: 23px; }
.brand-name span, .footer-brand span { color: var(--gold); }
.brand img { width: auto; max-width: 190px; max-height: 48px; }
.site-navigation { display: flex; align-items: center; gap: clamp(14px, 2vw, 27px); margin-left: auto; }
.site-navigation a { font-size: 13px; font-weight: 700; letter-spacing: .015em; white-space: nowrap; }
.site-navigation a:hover { color: var(--burgundy); }
.search-form { display: flex; align-items: center; border-bottom: 1px solid #cfc7c2; }
.search-form input { width: 105px; padding: 8px 2px; border: 0; outline: 0; background: transparent; font-size: 12px; }
.search-form button { display: grid; place-items: center; border: 0; background: transparent; padding: 6px; }
.search-form svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); gap: 28px; padding-top: 34px; padding-bottom: 44px; }
.hero-main { min-width: 0; }
.hero-image-link { display: block; overflow: hidden; background: var(--paper-soft); }
.hero-image-link img { width: 100%; aspect-ratio: 1.62; object-fit: cover; transition: transform .45s ease; }
.hero-image-link:hover img, .card-image-link:hover img { transform: scale(1.025); }
.hero-copy { padding: 23px 0 0; }
.eyebrow { margin: 0 0 8px; color: var(--burgundy); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .13em; line-height: 1.5; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--gold); }
.hero-copy h1 { max-width: 760px; margin: 0; font: 800 clamp(32px, 4vw, 54px)/1.08 var(--serif); letter-spacing: -.035em; }
.hero-excerpt { max-width: 700px; margin: 16px 0 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--burgundy); font-size: 12px; font-weight: 700; }
.text-link span { color: var(--gold); font-size: 18px; }
.hero-side { display: flex; flex-direction: column; gap: 17px; }
.hero-side-card { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.hero-side-card:last-child { border-bottom: 0; }
.side-image { display: block; overflow: hidden; background: var(--paper-soft); }
.side-image img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.hero-side-card h2 { margin: 0; font: 700 17px/1.25 var(--serif); }
.hero-side-card .eyebrow { font-size: 9px; margin-bottom: 6px; }
.hero-empty { grid-column: 1 / -1; padding: 75px 5vw; background: var(--paper-soft); border-top: 3px solid var(--gold); }
.hero-empty h1 { max-width: 750px; margin: 0; font: 800 clamp(34px, 5vw, 62px)/1.05 var(--serif); }
.hero-empty p:last-child { color: var(--muted); }
.image-placeholder { display: grid; place-items: center; min-height: 140px; height: 100%; color: #b6a8a1; background: linear-gradient(135deg, #f5efea, #eee5df); font: 700 22px var(--serif); }
.hero-placeholder { min-height: 360px; }
.intro-band { background: var(--paper-soft); border-block: 1px solid var(--line); }
.intro-inner { padding-block: 32px; text-align: center; }
.intro-inner h2 { max-width: 820px; margin: 0 auto 8px; font: 700 clamp(25px, 3vw, 37px)/1.18 var(--serif); letter-spacing: -.025em; }
.intro-inner h2 span { color: var(--burgundy); }
.intro-inner > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.editorial-section, .latest-section { padding-block: 58px; }
.editorial-tint { background: #faf8f6; border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.section-heading .eyebrow { margin-bottom: 3px; }
.section-heading h2 { margin: 0; font: 700 clamp(25px, 3vw, 34px)/1.15 var(--serif); letter-spacing: -.025em; }
.section-more { flex-shrink: 0; color: var(--burgundy); font-size: 12px; font-weight: 700; }
.section-more span { color: var(--gold); margin-left: 5px; }
.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.post-card { min-width: 0; }
.card-image-link { display: block; overflow: hidden; background: var(--paper-soft); }
.card-image { width: 100%; aspect-ratio: 1.48; object-fit: cover; transition: transform .4s ease; }
.card-content { padding-top: 12px; }
.card-tag { display: inline-block; margin-bottom: 4px; font-size: 9px; }
.post-card h3 { margin: 0; font: 700 19px/1.25 var(--serif); letter-spacing: -.01em; }
.post-card p { margin: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; color: #8b8583; font-size: 10px; }
.empty-note { color: var(--muted); font-size: 13px; padding: 18px; background: white; border-left: 3px solid var(--gold); }
.latest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.latest-item { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 17px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.latest-image { display: block; overflow: hidden; background: var(--paper-soft); }
.latest-image img { width: 100%; height: 120px; object-fit: cover; }
.latest-copy .eyebrow { font-size: 9px; margin-bottom: 4px; }
.latest-copy h3 { margin: 0; font: 700 18px/1.25 var(--serif); }
.latest-copy p { margin: 7px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.latest-copy time { color: #8b8583; font-size: 10px; }
.site-footer { padding: 42px 0 28px; color: #f8f5f2; background: var(--ink); }
.footer-inner { display: grid; justify-items: center; text-align: center; gap: 10px; }
.footer-brand { font: 800 32px var(--serif); }
.footer-inner p { margin: 0; color: #c8c4c2; font-size: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 10px 0; }
.footer-inner nav a { color: #e9e3df; font-size: 12px; }
.footer-inner small { color: #a9a6a5; font-size: 10px; }
.archive-shell { padding-block: 45px 70px; }
.archive-header { margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.archive-header h1, .page-header h1 { margin: 0; font: 800 clamp(36px, 5vw, 58px)/1.08 var(--serif); letter-spacing: -.035em; }
.archive-description { max-width: 720px; color: var(--muted); }
.archive-cover { width: 100%; max-height: 260px; object-fit: cover; margin-bottom: 22px; }
.author-header { text-align: center; }
.author-avatar { width: 86px; height: 86px; object-fit: cover; border-radius: 50%; margin: 0 auto 14px; }
.pagination { display: flex; justify-content: center; gap: 16px; margin-top: 42px; font-size: 13px; }
.article-header { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: center; gap: clamp(30px, 5vw, 70px); padding-block: 42px 34px; }
.article-heading { min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.article-category { display: inline-block; margin-bottom: 8px; }
.article-header h1 { margin: 0; font: 800 clamp(35px, 4.2vw, 58px)/1.06 var(--serif); letter-spacing: -.035em; }
.article-excerpt { margin: 15px 0 0; color: #68636a; font-size: 16px; line-height: 1.65; }
.article-feature-image { margin: 0; }
.article-feature-image img { width: 100%; max-height: 440px; aspect-ratio: 1.2; object-fit: cover; }
.article-feature-image figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(200px, 260px); justify-content: center; gap: clamp(40px, 6vw, 90px); padding-block: 28px 65px; }
.article-body, .page-content { min-width: 0; font-size: 18px; line-height: 1.8; color: #302d32; }
.gh-content > * { margin-block: 0 1.25em; }
.gh-content > p { margin-block: 0 1.25em; }
.gh-content h2, .gh-content h3, .gh-content h4 { color: var(--ink); font-family: var(--serif); line-height: 1.25; margin-block: 1.5em .55em; }
.gh-content h2 { font-size: clamp(25px, 3vw, 32px); }
.gh-content h3 { font-size: 23px; }
.gh-content h4 { font-size: 19px; }
.gh-content img, .gh-content video, .gh-content iframe { max-width: 100%; }
.gh-content img { height: auto; }
.gh-content figure { margin: 1.5em 0; }
.gh-content figcaption { color: var(--muted); text-align: center; font-size: 12px; line-height: 1.5; }
.gh-content blockquote { margin: 1.5em 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--gold); color: var(--burgundy); font: 600 22px/1.5 var(--serif); }
.gh-content ul, .gh-content ol { padding-left: 1.4em; }
.gh-content a { color: var(--burgundy); text-decoration: underline; text-decoration-color: #d9aab8; text-underline-offset: 3px; }
.gh-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.gh-content .kg-card { margin-block: 1.4em; }
.gh-content .kg-width-wide { width: min(100% + 100px, calc(100vw - 40px)); max-width: calc(100vw - 40px); margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { width: min(100vw - 32px, 1200px); max-width: min(100vw - 32px, 1200px); margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-image-card img, .gh-content .kg-gallery-image img { border-radius: 2px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 22px; margin-top: 30px; border-top: 1px solid var(--line); font-size: 11px; }
.article-tags span { color: var(--muted); }
.article-tags a { padding: 4px 9px; color: var(--burgundy); background: #f8eef1; border-radius: 2px; text-decoration: none; }
.article-author { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 20px; background: var(--paper-soft); }
.article-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.article-author h3 { margin: 0; font: 700 17px var(--serif); }
.article-author p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.article-sidebar { padding-top: 10px; }
.sidebar-box { position: sticky; top: 24px; padding: 22px; background: var(--paper-soft); border-top: 3px solid var(--gold); }
.sidebar-box h2 { margin: 0 0 17px; font: 700 24px/1.2 var(--serif); }
.button-link { display: inline-flex; justify-content: center; padding: 11px 16px; color: white; background: var(--burgundy); border-radius: 3px; font-size: 12px; font-weight: 700; }
.button-link:hover { color: white; background: var(--burgundy-dark); }
.related-section { padding-block: 52px 65px; }
.page-shell { padding-block: 45px 70px; }
.page-header { max-width: 850px; margin: 0 auto 28px; }
.page-feature-image { width: 100%; max-height: 430px; object-fit: cover; margin-top: 24px; }
.page-content { max-width: 760px; margin: 0 auto; }
.error-page { padding-block: 100px; text-align: center; }
.error-page h1 { margin: 0; font: 800 clamp(70px, 15vw, 150px)/1 var(--serif); }
.error-page p:not(.eyebrow) { color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 980px) {
  .header-inner { gap: 18px; }
  .site-navigation { gap: 13px; }
  .site-navigation a { font-size: 12px; }
  .search-form input { width: 75px; }
  .home-hero { grid-template-columns: minmax(0, 1.45fr) minmax(230px, .8fr); gap: 20px; }
  .hero-side-card { grid-template-columns: 38% 1fr; gap: 10px; }
  .hero-side-card h2 { font-size: 15px; }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-header { grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); gap: 30px; }
  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-sidebar { display: none; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 13px; }
  .menu-toggle { display: flex; width: 32px; height: 34px; flex-direction: column; justify-content: center; gap: 5px; padding: 4px; border: 0; background: transparent; }
  .menu-toggle span { display: block; height: 2px; width: 23px; background: var(--ink); }
  .brand { font-size: 29px; }
  .brand-mark { width: 30px; height: 30px; font-size: 20px; }
  .brand img { max-width: 145px; max-height: 38px; }
  .site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 20px 20px; flex-direction: column; align-items: stretch; gap: 0; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-navigation.is-open { display: flex; }
  .site-navigation a { padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .search-form { margin-left: auto; }
  .search-form input { width: min(22vw, 105px); font-size: 12px; }
  .home-hero { display: block; padding-top: 18px; padding-bottom: 28px; }
  .hero-image-link img { aspect-ratio: 1.35; }
  .hero-copy { padding-top: 15px; }
  .hero-copy h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-excerpt { margin: 10px 0; font-size: 13px; }
  .hero-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .hero-side-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 0; border: 0; }
  .side-image img { aspect-ratio: 1.1; }
  .hero-side-card h2 { font-size: 13px; line-height: 1.25; }
  .hero-side-card .eyebrow { font-size: 8px; margin-bottom: 3px; }
  .intro-inner { padding-block: 24px; }
  .intro-inner h2 { font-size: 27px; }
  .intro-inner > p:last-child { font-size: 12px; }
  .editorial-section, .latest-section { padding-block: 34px; }
  .section-heading { margin-bottom: 17px; padding-bottom: 11px; }
  .section-heading h2 { font-size: 25px; }
  .section-more { font-size: 10px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 13px; }
  .card-image { aspect-ratio: 1.22; }
  .card-content { padding-top: 8px; }
  .post-card h3 { font-size: 16px; line-height: 1.24; }
  .post-card p { font-size: 11px; margin: 6px 0; }
  .card-meta { font-size: 9px; gap: 7px; margin-top: 7px; }
  .latest-list { grid-template-columns: 1fr; gap: 18px; }
  .latest-item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
  .latest-image img { height: 90px; }
  .latest-copy h3 { font-size: 16px; }
  .latest-copy p { font-size: 11px; }
  .article-header { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding-block: 26px 16px; }
  .article-meta { gap: 5px 10px; margin-bottom: 12px; font-size: 10px; }
  .article-header h1 { font-size: clamp(31px, 8.4vw, 40px); line-height: 1.08; }
  .article-excerpt { font-size: 14px; line-height: 1.55; margin-top: 10px; }
  .article-feature-image img { aspect-ratio: 1.25; max-height: none; }
  .article-layout { padding-block: 14px 40px; }
  .article-body, .page-content { font-size: 17px; line-height: 1.75; }
  .gh-content > *, .gh-content > p { margin-block-end: 1.05em; }
  .gh-content h2, .gh-content h3, .gh-content h4 { margin-block: 1.25em .5em; }
  .gh-content h2 { font-size: 26px; }
  .gh-content h3 { font-size: 21px; }
  .gh-content blockquote { font-size: 20px; padding-left: 16px; }
  .gh-content .kg-width-wide, .gh-content .kg-width-full { width: 100%; max-width: 100%; margin-left: 0; transform: none; }
  .article-author { align-items: flex-start; padding: 15px; }
  .related-section { padding-block: 35px 45px; }
  .archive-shell, .page-shell { padding-block: 30px 45px; }
  .archive-header h1, .page-header h1 { font-size: 36px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  .search-form input { width: 65px; }
  .hero-side-card h2 { font-size: 12px; }
  .post-card h3 { font-size: 15px; }
  .latest-item { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Correções v3.1: conteúdo de artigos sem overflow nem sobreposição */
.article-shell,
.article-header,
.article-layout,
.article-body,
.page-shell,
.page-content { min-width: 0; max-width: 100%; }
.article-layout {
  grid-template-columns: minmax(0, 760px) minmax(0, 260px);
  align-items: start;
}
.article-body { overflow-wrap: anywhere; }
.gh-content .kg-width-wide,
.gh-content .kg-width-full {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  transform: none;
}
.gh-content .kg-width-wide img,
.gh-content .kg-width-full img,
.gh-content .kg-card img,
.gh-content iframe,
.gh-content video {
  max-width: 100%;
}
.gh-content p { margin-block: 0 1em; }
.gh-content > *:last-child { margin-bottom: 0; }
.gh-content .kg-embed-card iframe { width: 100%; }
.page-feature-image { display:block; max-width:100%; height:auto; margin:24px 0; }
@media (max-width: 900px) {
  .article-header { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .article-feature-image img { max-height: none; aspect-ratio: 16 / 9; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-sidebar { padding-top: 0; }
  .sidebar-box { position: static; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .article-header { padding-block: 26px 22px; }
  .article-header h1 { font-size: clamp(32px, 9vw, 44px); overflow-wrap: anywhere; }
  .article-body, .page-content { font-size: 17px; line-height: 1.75; }
  .gh-content .kg-width-wide,
  .gh-content .kg-width-full { width: 100%; max-width: 100%; }
}
