/* ==========================================================================
   Notícia / reportagem longa: cabeçalho, imagem, créditos, autor e relacionadas.
   ========================================================================== */

.le-single { padding-bottom: 8px; }
.le-layout--single { margin-top: 18px; gap: 40px; }
.le-article { min-width: 0; max-width: var(--article-width); }
.le-layout--full .le-article { margin-inline: auto; }

.le-article__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.le-article__top .le-tag { font-size: 13px; padding: 5px 12px; font-weight: 600; }
.le-article__title {
	font-family: var(--font-heading);
	font-weight: var(--single-h1-weight, 800);
	font-size: var(--single-h1-size, var(--h1-size));
	line-height: var(--single-h1-lh, 1.12);
	color: var(--single-h1-color, var(--text));
	letter-spacing: -.012em;
	text-align: left;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.le-article__lead { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--muted); text-align: left; }
.le-article__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 22px 0 22px; font-size: 14px; color: var(--muted); }
.le-article__author { font-weight: 700; color: var(--muted); }
.le-article__author a:hover { text-decoration: underline; }
.le-article__dates { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }

/* Compartilhamento */
.le-share { position: relative; }
.le-share__list { display: flex; align-items: center; gap: 4px; }
.le-share__link {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; padding: 0;
	background: transparent; border: 0; border-radius: 4px;
	color: var(--muted); cursor: pointer;
}
.le-share__link svg { width: 24px; height: 24px; }
.le-share__link:hover { background: var(--surface-soft); }
.le-share__link--whatsapp { color: var(--brand-whatsapp); }
.le-share__link--facebook { color: var(--brand-facebook); }
.le-share__link--x { color: var(--brand-x); }
.le-share__link--linkedin { color: var(--brand-linkedin); }
.le-share__link--telegram { color: #229ed9; }
.le-share__link--email, .le-share__link--copy { color: var(--text); }
.le-share__link.is-tip::after {
	content: attr(data-tip);
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 5;
	padding: 5px 10px; background: var(--text); color: var(--background);
	border-radius: 4px; font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* Imagem destacada */
.le-featured { margin: 0 0 26px; }
.le-featured__img { display: block; width: 100%; height: auto; border-radius: var(--card-radius); }
.le-featured__caption { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--muted); text-align: left; }
.le-featured__credit { display: inline-block; margin-left: 4px; }

/* Créditos */
.le-credits { margin: 34px 0 10px; padding: 16px 0 0; border-top: 1px solid var(--border); font-size: 14px; line-height: 1.7; color: var(--text); text-align: left; }
.le-credits__title { margin-bottom: 4px; font-weight: 800; font-style: italic; }
.le-credits ul { display: grid; gap: 2px; }

.le-tags { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.le-tags a { padding: 4px 12px; background: var(--surface-soft); border-radius: 999px; font-size: 13px; color: var(--text); }
.le-tags a:hover { background: var(--primary); color: #fff; }

/* Box do autor */
.le-authorbox { display: flex; gap: 18px; margin-top: 32px; padding: 20px; background: var(--surface-soft); border-radius: var(--card-radius); text-align: left; }
.le-authorbox__avatar { flex: none; width: 80px; height: 80px; overflow: hidden; border-radius: 50%; }
.le-authorbox__info { display: grid; gap: 4px; min-width: 0; }
.le-authorbox__name { font-family: var(--font-heading); font-weight: 800; font-size: 18px; }
.le-authorbox__role { font-size: 13px; font-weight: 600; color: var(--primary); }
.le-authorbox__bio { font-size: 14px; color: var(--muted); line-height: 1.55; }
.le-authorbox__more { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--link); }
.le-pagelinks { margin: 20px 0; font-weight: 600; }

/* Sidebar da notícia */

/* Relacionadas */
.le-related { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); }
.le-related__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.le-related__title { font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.le-related__nav { display: flex; gap: 4px; }
.le-related__nav .le-iconbtn[disabled] { opacity: .35; cursor: default; }
.le-related__track { gap: 14px; padding-bottom: 4px; }
.le-related__slide { flex: 0 0 calc((100% - 56px) / 5); min-width: 150px; scroll-snap-align: start; }
.le-portrait { position: relative; overflow: hidden; background: #111; border-radius: var(--card-radius); }
.le-portrait__shade { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 10px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .55) 70%, transparent); color: #fff; }
.le-portrait__cat { display: inline-block; margin-bottom: 6px; padding-bottom: 2px; border-bottom: 2px solid var(--cat, var(--primary)); font-size: 10.5px; line-height: 1.2; }
.le-portrait__title { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; line-height: 1.3; }

/* Autor responsável (cartão gerado a partir do bloco <pre>) */
.le-resp {
	display: grid; gap: 12px;
	margin: 30px 0; padding: 18px 20px;
	background: var(--surface-soft); border: 1px solid var(--border);
	border-left: 4px solid var(--primary); border-radius: var(--card-radius);
	text-align: left; hyphens: manual;
}
.le-resp__label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.le-resp__id { display: flex; align-items: center; gap: 14px; }
.le-resp__avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 17px; }
.le-resp__who { display: grid; gap: 2px; min-width: 0; }
.le-resp__name { font-family: var(--font-heading); font-weight: 800; font-size: 18px; line-height: 1.2; }
.le-resp__role { font-size: 13px; color: var(--muted); }
.le-resp__list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.le-resp__link { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.le-resp__link:hover { border-color: var(--primary); color: var(--primary); }
.le-resp__link svg { flex: none; color: var(--primary); }

/* Lightbox */
.le-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .88); }
.le-lb__fig { display: grid; gap: 8px; max-width: min(1100px, 100%); max-height: 100%; margin: 0; color: #fff; text-align: center; }
.le-lb__img { max-width: 100%; max-height: calc(100vh - 140px); margin-inline: auto; object-fit: contain; }
.le-lb__cap { font-size: 14px; }
.le-lb__count { font-size: 12px; opacity: .7; }
.le-lb__close, .le-lb__nav { position: absolute; width: 48px; height: 48px; padding: 0; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.le-lb__close { top: 16px; right: 16px; }
.le-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.le-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.le-lb__nav[hidden] { display: none; }
.le-lb__close:hover, .le-lb__nav:hover { background: rgba(255, 255, 255, .25); }

/* O cartão está dentro do texto: neutraliza listas e links do conteúdo */
.le-entry .le-resp { margin-block: 30px; }
.le-entry .le-resp__list { list-style: none; padding: 0; margin: 0; }
.le-entry .le-resp__list li { margin: 0; }
.le-entry a.le-resp__link { color: var(--text); text-decoration: none; }
.le-entry a.le-resp__link:hover { color: var(--primary); }
.le-entry .le-resp__text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
