/* Página de detalhe de notícia — CURTA! Festival */
#footerNovidades { display: none !important; }

.noticia-detalhe {
    --nd-surface: #111827;
    --nd-line: rgba(255, 255, 255, .09);
    --nd-ink: #fff;
    --nd-body: #c7cedb;
    --nd-muted: #8e99ac;
    --nd-accent: var(--botao, #ffd233);
    --nd-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --nd-copy: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--nd-body);
    font-family: var(--nd-copy);
    padding: 112px 0 96px;
}

.noticia-detalhe *, .noticia-detalhe *::before, .noticia-detalhe *::after { box-sizing: border-box; }
.noticia-detalhe [hidden] { display: none !important; }
.noticia-detalhe .nd-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 420px; color: var(--nd-muted); font-family: var(--nd-head); font-size: 15px; }
.noticia-detalhe .nd-loading-spinner { width: 38px; height: 38px; border: 3px solid color-mix(in srgb, var(--nd-accent) 25%, transparent); border-top-color: var(--nd-accent); border-radius: 50%; animation: nd-loading-spin .8s linear infinite; }
.noticia-detalhe .nd-loading.is-error { color: #dd6868; }
@keyframes nd-loading-spin { to { transform: rotate(360deg); } }
.noticia-detalhe .nd-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.noticia-detalhe .nd-article { width: 100%; max-width: 920px; margin: 0 auto; min-width: 0; }
.noticia-detalhe .nd-header { max-width: 1000px; margin: 0 auto 42px; text-align: center; }
.noticia-detalhe .nd-tag { display: inline-flex; align-items: center; gap: 7px; border: 1px solid color-mix(in srgb, var(--nd-accent) 30%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--nd-accent) 13%, transparent); color: var(--nd-accent); font-family: var(--nd-head); font-size: 12.5px; font-weight: 600; letter-spacing: .03em; padding: 6px 14px; }
.noticia-detalhe .nd-tag::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.noticia-detalhe .nd-kicker { display: block; margin-top: 26px; color: var(--nd-accent); font-family: var(--nd-head); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.noticia-detalhe h1 { max-width: 940px; margin: 20px auto 0; color: var(--nd-ink) !important; font-family: var(--nd-head); font-size: clamp(38px, 4.5vw, 62px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.noticia-detalhe .nd-kicker + h1 { margin: 10px auto 0; }
.noticia-detalhe .nd-dek { max-width: 62ch; margin: 24px auto 0; color: #9aa5b8; font-family: var(--nd-head); font-size: 21px; line-height: 1.5; }
.noticia-detalhe .nd-byline { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 30px; padding: 18px 0 30px; border-bottom: 1px solid var(--nd-line); }
.noticia-detalhe .nd-avatar { width: 42px; height: 42px; flex: none; overflow: hidden; border-radius: 50%; }
.noticia-detalhe .nd-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.noticia-detalhe .nd-authorline { margin: 0; color: #e8ecf3; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-style: italic; line-height: 1.4; }
.noticia-detalhe .nd-byline time { display: block; margin: 0; color: var(--nd-accent); font-size: 14px; font-weight: 600; }
.noticia-detalhe .nd-share { position: relative; display: flex; gap: 8px; margin: 18px 0 0; }
.noticia-detalhe .nd-share-button { display: grid; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: transparent; color: #9aa5b8; cursor: pointer; place-items: center; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.noticia-detalhe .nd-share-button:hover, .noticia-detalhe .nd-share-button:focus { border-color: var(--nd-accent); color: var(--nd-accent); outline: none; }
.noticia-detalhe .nd-share-button .fa, .noticia-detalhe .nd-share-button .fa-brands, .noticia-detalhe .nd-share-button .fa-solid { font-size: 16px; }
.noticia-detalhe .nd-copy-feedback { position: absolute; right: 0; bottom: calc(100% + 14px); z-index: 2; padding: 13px 20px; border-radius: 14px; background: var(--nd-accent); color: #10141d; font-family: var(--nd-head); font-size: 16px; font-weight: 700; line-height: 1; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; visibility: hidden; white-space: nowrap; }
.noticia-detalhe .nd-copy-feedback::after { position: absolute; right: 14px; top: 100%; width: 0; height: 0; border-top: 11px solid var(--nd-accent); border-right: 10px solid transparent; border-left: 10px solid transparent; content: ""; }
.noticia-detalhe .nd-copy-feedback.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.noticia-detalhe .nd-featured-image { margin: 0 0 34px; }
.noticia-detalhe .nd-featured-image img { display: block; width: 100%; border-radius: 14px; }
.noticia-detalhe .nd-featured-image figcaption { margin: 10px 2px 0; color: var(--nd-muted); font-size: 14px; font-weight: 400; line-height: 1.5; text-align: justify; }
.noticia-detalhe .nd-featured-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 34px; overflow: hidden; border-radius: 14px; background: #000; }
.noticia-detalhe .nd-featured-video iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }

.noticia-detalhe .nd-body { width: 100%; max-width: none; color: var(--nd-body); font-size: 20px; line-height: 1.75; text-align: justify; }
.noticia-detalhe .nd-body p { margin: 26px 0 0; }
.noticia-detalhe .nd-body > p:first-child { margin-top: 0; color: #dce2ec; font-size: 21px; line-height: 1.7; }
.noticia-detalhe .nd-body strong { color: var(--nd-ink); font-weight: 600; }
.noticia-detalhe .nd-body em { color: #dce2ec; }
.noticia-detalhe .nd-body a { color: var(--nd-accent); border-bottom: 1px solid color-mix(in srgb, var(--nd-accent) 35%, transparent); text-decoration: none; }
.noticia-detalhe .nd-body h2 { position: relative; margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--nd-line); color: var(--nd-ink) !important; font-family: var(--nd-head); font-size: 31px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.noticia-detalhe .nd-body h2::before { position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--nd-accent); content: ""; }
.noticia-detalhe .nd-body h2 + p { margin-top: 22px; }
.noticia-detalhe .nd-body h3 { margin: 42px 0 0; color: var(--nd-ink) !important; font-family: var(--nd-head); font-size: 23px; font-weight: 600; line-height: 1.3; }
.noticia-detalhe .nd-body h3 + p { margin-top: 16px; }
.noticia-detalhe .nd-body h4 { margin: 22px 0 0; color: var(--nd-muted); font-family: var(--nd-head); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.noticia-detalhe .nd-body h4 + p { margin-top: 12px; }
.noticia-detalhe .nd-body ul { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.noticia-detalhe .nd-body ul li { position: relative; padding-left: 26px; }
.noticia-detalhe .nd-body ul li::before { position: absolute; top: .82em; left: 0; width: 8px; height: 8px; border-radius: 2px; background: var(--nd-accent); content: ""; }
.noticia-detalhe .nd-body ol { display: flex; flex-direction: column; gap: 22px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: nd-step; }
.noticia-detalhe .nd-body ol li { position: relative; min-height: 36px; padding-left: 52px; counter-increment: nd-step; }
.noticia-detalhe .nd-body ol li::before { position: absolute; top: 2px; left: 0; display: grid; width: 36px; height: 36px; border: 1px solid color-mix(in srgb, var(--nd-accent) 30%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--nd-accent) 13%, transparent); color: var(--nd-accent); content: counter(nd-step); place-items: center; font-family: var(--nd-head); font-size: 16px; font-weight: 600; }
.noticia-detalhe .nd-body blockquote { margin: 34px 0 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--nd-accent); }
.noticia-detalhe .nd-body blockquote p { margin: 0; color: var(--nd-ink); font-size: 22px; font-style: italic; font-weight: 400; line-height: 1.55; }
.noticia-detalhe .nd-body blockquote footer { margin-top: 12px; color: var(--nd-muted); font-family: var(--nd-head); font-size: 14px; }
.noticia-detalhe .nd-body figure { margin: 34px 0 0; }
.noticia-detalhe .nd-body figure img { display: block; width: 100%; border-radius: 14px; }
.noticia-detalhe .nd-body figcaption { display: flex; gap: 10px; margin: 12px 2px 0; color: var(--nd-muted); font-size: 14.5px; line-height: 1.5; }
.noticia-detalhe .nd-body figcaption::before { width: 3px; border-radius: 2px; background: color-mix(in srgb, var(--nd-accent) 50%, transparent); content: ""; flex: none; }
.noticia-detalhe .nd-body .noticia-filme-embed { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; margin: 34px 0; padding: 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: var(--nd-surface); }
.noticia-detalhe .nd-body .noticia-filme-embed__image { width: 112px; height: 168px; overflow: hidden; border-radius: 10px; background: #18202f; }
.noticia-detalhe .nd-body .noticia-filme-embed__image img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.noticia-detalhe .nd-body .noticia-filme-embed__placeholder { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #182234 0 12px, #202b40 12px 24px); }
.noticia-detalhe .nd-body .noticia-filme-embed figcaption { display: block; margin: 0; }
.noticia-detalhe .nd-body .noticia-filme-embed figcaption::before { display: none; }
.noticia-detalhe .nd-body .noticia-filme-embed__eyebrow { display: block; margin-bottom: 12px; color: var(--nd-accent); font-family: var(--nd-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.noticia-detalhe .nd-body .noticia-filme-embed strong { display: block; font-family: var(--nd-head); font-size: 25px; line-height: 1.15; }
.noticia-detalhe .nd-body .noticia-filme-embed__details { margin: 10px 0 0; color: var(--nd-muted); font-size: 15px; line-height: 1.55; }
.noticia-detalhe .nd-body .noticia-filme-embed a { display: inline-block; margin-top: 16px; border: 0; color: var(--nd-accent); font-family: var(--nd-head); font-size: 15px; font-weight: 600; }
.noticia-detalhe .nd-body .noticia-info-destaque { margin: 34px 0; padding: 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: var(--nd-surface); }
.noticia-detalhe .nd-body .noticia-info-destaque__title { display: block; margin-bottom: 12px; color: var(--nd-accent); font-family: var(--nd-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.noticia-detalhe .nd-body .noticia-info-destaque__content { color: var(--nd-body); font-size: 18px; line-height: 1.6; }
.noticia-detalhe .nd-body .noticia-info-destaque__content p { margin: 12px 0 0; }
.noticia-detalhe .nd-body .noticia-info-destaque__content ul, .noticia-detalhe .nd-body .noticia-info-destaque__content ol { gap: 8px; margin: 12px 0 0; }
.noticia-detalhe .nd-body .noticia-info-destaque__content ol li { min-height: 0; }
.noticia-detalhe .nd-body .noticia-info-destaque__content > :first-child { margin-top: 0; }
.noticia-detalhe .nd-body .noticia-info-destaque__content > :last-child { margin-bottom: 0; }

@media (max-width: 540px) { .noticia-detalhe .nd-body .noticia-filme-embed { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 14px; } .noticia-detalhe .nd-body .noticia-filme-embed__image { width: 80px; height: 120px; } .noticia-detalhe .nd-body .noticia-filme-embed strong { font-size: 21px; } }

.noticia-detalhe .nd-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 960px; margin: 56px auto 0; }
.noticia-detalhe .nd-sidebar, .noticia-detalhe .nd-newsletter { padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: var(--nd-surface); }
.noticia-detalhe .nd-sidebar h2 { margin: 0 0 18px; color: var(--nd-ink) !important; font-family: var(--nd-head); font-size: 20px; font-weight: 600; }
.noticia-detalhe .nd-related { border-top: 1px solid var(--nd-line); }
.noticia-detalhe .nd-related a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; color: var(--nd-ink); text-decoration: none; }
.noticia-detalhe .nd-related img { width: 64px; height: 56px; border-radius: 10px; object-fit: cover; }
.noticia-detalhe .nd-related-copy { display: block; }
.noticia-detalhe .nd-related strong { display: block; font-family: var(--nd-head); font-size: 14px; font-weight: 500; line-height: 1.4; }
.noticia-detalhe .nd-related time { display: block; margin-top: 7px; color: var(--nd-muted); font-size: 12px; }
.noticia-detalhe .nd-related a:hover strong { color: var(--nd-accent); }
.noticia-detalhe .nd-view-all { display: inline-block; margin-top: 18px; color: var(--nd-accent); font-family: var(--nd-head); font-size: 14px; font-weight: 600; text-decoration: none; }
.noticia-detalhe .nd-view-all:hover { color: var(--nd-ink); }
.noticia-detalhe .nd-newsletter { margin: 0; }
.noticia-detalhe .nd-newsletter h2 { margin: 0; color: var(--nd-ink) !important; font-family: var(--nd-head); font-size: 20px; font-weight: 600; line-height: 1.35; }
.noticia-detalhe .nd-newsletter p { margin: 12px 0 0; color: #aeb8c9; font-size: 15px; line-height: 1.55; }
.noticia-detalhe .nd-newsletter-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.noticia-detalhe .nd-newsletter input { width: 100%; height: 46px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--nd-accent) 30%, transparent); border-radius: 999px; outline: none; background: color-mix(in srgb, var(--nd-accent) 4%, rgba(0, 0, 0, .2)); color: var(--nd-ink); font: inherit; }
.noticia-detalhe .nd-newsletter input:focus { border-color: var(--nd-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--nd-accent) 25%, transparent); }
.noticia-detalhe .nd-newsletter input::placeholder { color: #8e99ac; }
.noticia-detalhe .nd-newsletter button { height: 46px; border: 0; border-radius: 999px; background: var(--nd-accent); color: #10141d; cursor: pointer; font-family: var(--nd-head); font-size: 14px; font-weight: 600; }
.noticia-detalhe .nd-newsletter button:hover { filter: brightness(1.08); }
.noticia-detalhe .nd-newsletter small { display: block; margin-top: 14px; color: #8e99ac; font-size: 12px; line-height: 1.5; }
.sweet-alert h2, .sweet-alert p { color: #10141d !important; }

/* Porta Curtas possui base clara; este tema não afeta os demais destinos. */
.noticia--porta-curtas { background: #fff; }
.noticia-detalhe--porta-curtas { --nd-surface: #f7f8fa; --nd-line: rgba(49, 53, 65, .16); --nd-ink: #313541; --nd-body: #4c5360; --nd-muted: #697181; --nd-accent: var(--botao, #c90000); background: #fff; }
.noticia-detalhe--porta-curtas .nd-dek, .noticia-detalhe--porta-curtas .nd-body > p:first-child, .noticia-detalhe--porta-curtas .nd-body em { color: #4c5360; }
.noticia-detalhe--porta-curtas .nd-author, .noticia-detalhe--porta-curtas .nd-authorline { color: #313541; }
.noticia-detalhe--porta-curtas .nd-share-button { border-color: rgba(49, 53, 65, .22); color: #697181; }
.noticia-detalhe--porta-curtas .nd-copy-feedback { color: #fff; }
.noticia-detalhe--porta-curtas .nd-body .noticia-filme-embed, .noticia-detalhe--porta-curtas .nd-body .noticia-info-destaque, .noticia-detalhe--porta-curtas .nd-sidebar, .noticia-detalhe--porta-curtas .nd-newsletter { border-color: rgba(49, 53, 65, .18); background: #f7f8fa; }
.noticia-detalhe--porta-curtas .nd-body .noticia-filme-embed__image { background: #e5e8ed; }
.noticia-detalhe--porta-curtas .nd-body .noticia-filme-embed__placeholder { background: repeating-linear-gradient(135deg, #e5e8ed 0 12px, #d9dee6 12px 24px); }
.noticia-detalhe--porta-curtas .nd-newsletter p { color: #596171; }
.noticia-detalhe--porta-curtas .nd-newsletter input { border-color: rgba(49, 53, 65, .2); background: #fff; color: #313541; }
.noticia-detalhe--porta-curtas .nd-newsletter input::placeholder, .noticia-detalhe--porta-curtas .nd-newsletter small { color: #697181; }
.noticia-detalhe--porta-curtas .nd-newsletter button { color: #fff; }

/* EducaFlix: usa a versão clara apenas quando o alternador de tema estiver nesse modo. */
.noticia--tema-claro { background: #fff; }
.noticia-detalhe--tema-claro { --nd-surface: #f7f8fa; --nd-line: rgba(32, 38, 51, .16); --nd-ink: #202633; --nd-body: #48515f; --nd-muted: #687282; --nd-accent: var(--botao, #f5a000); background: #fff; }
.noticia-detalhe--tema-claro .nd-dek, .noticia-detalhe--tema-claro .nd-body > p:first-child, .noticia-detalhe--tema-claro .nd-body em { color: #48515f; }
.noticia-detalhe--tema-claro .nd-author, .noticia-detalhe--tema-claro .nd-authorline { color: #202633; }
.noticia-detalhe--tema-claro .nd-share-button { border-color: rgba(32, 38, 51, .22); color: #687282; }
.noticia-detalhe--tema-claro .nd-copy-feedback { color: #fff; }
.noticia-detalhe--tema-claro .nd-body .noticia-filme-embed, .noticia-detalhe--tema-claro .nd-body .noticia-info-destaque, .noticia-detalhe--tema-claro .nd-sidebar, .noticia-detalhe--tema-claro .nd-newsletter { border-color: rgba(32, 38, 51, .18); background: #f7f8fa; }
.noticia-detalhe--tema-claro .nd-body .noticia-filme-embed__image { background: #e5e8ed; }
.noticia-detalhe--tema-claro .nd-body .noticia-filme-embed__placeholder { background: repeating-linear-gradient(135deg, #e5e8ed 0 12px, #d9dee6 12px 24px); }
.noticia-detalhe--tema-claro .nd-newsletter p { color: #596171; }
.noticia-detalhe--tema-claro .nd-newsletter input { border-color: rgba(32, 38, 51, .2); background: #fff; color: #202633; }
.noticia-detalhe--tema-claro .nd-newsletter input::placeholder, .noticia-detalhe--tema-claro .nd-newsletter small { color: #687282; }
.noticia-detalhe--tema-claro .nd-newsletter button { color: #fff; }

@media (max-width: 760px) { .noticia-detalhe .nd-aside { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 640px) {
    .noticia-detalhe { padding: 72px 0 64px; }
    .noticia-detalhe .nd-wrap { padding: 0 20px; gap: 42px; }
    .noticia-detalhe .nd-body { font-size: 19px; }
    .noticia-detalhe .nd-body > p:first-child { font-size: 20px; }
    .noticia-detalhe .nd-body h2 { font-size: 27px; }
    .noticia-detalhe .nd-body h3 { font-size: 21px; }
}
