﻿/* noticia.css — Noticia.aspx — MakeSolutions News G1-Style
   Author: Eng. Cesário Monteiro | JNSOFT Engenharia */

/* ── BREADCRUMB ── */
.ms-nw-breadcrumb {
    background: #f0f2f5;
    border-bottom: 1px solid #e0e4ea;
    padding: 10px 0;
    font-size: 12px;
    color: #999;
}
.ms-nw-breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.ms-nw-breadcrumb a:hover { color: #E07B00; }
.ms-nw-breadcrumb .fa { margin-right: 4px; }
.ms-nw-breadcrumb .fa-angle-right { margin: 0 6px; color: #ccc; }

/* ── NOT FOUND ── */
.ms-nw-notfound {
    padding: 100px 0;
    text-align: center;
    background: #f8f9fa;
}
.ms-nw-notfound .fa {
    font-size: 64px;
    color: #ddd;
    display: block;
    margin-bottom: 20px;
}
.ms-nw-notfound h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}
.ms-nw-notfound p { color: #999; margin-bottom: 28px; }

/* ── HERO DA NOTÍCIA ── */
.ms-nw-hero {
    position: relative;
    height: 340px;
    background: #0f1923 center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}
.ms-nw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,12,18,0.90) 0%, rgba(8,12,18,0.45) 55%, rgba(8,12,18,0.20) 100%);
    z-index: 1;
}
.ms-nw-hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
    width: 100%;
}
.ms-nw-hero-content { max-width: 780px; }
.ms-nw-cat-badge {
    display: inline-block;
    background: #E07B00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.ms-nw-titulo {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.ms-nw-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
}
.ms-nw-meta .fa { margin-right: 5px; color: #E07B00; }

/* ── CORPO PRINCIPAL ── */
.ms-nw-body {
    background: #f5f7fa;
    padding: 40px 0 60px;
}

/* ── RESUMO DESTACADO ── */
.ms-nw-resumo-box {
    background: #fff;
    border-left: 4px solid #E07B00;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-bottom: 28px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.7;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* ── ADS INLINE ── */
.ms-nw-ads-inline {
    background: #f0f1f3;
    border: 1px solid #e5e9ee;
    border-radius: 4px;
    padding: 10px 12px;
    margin: 28px 0;
    text-align: center;
}
.ms-ad-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 6px;
    font-family: 'Barlow', sans-serif;
}

/* ── IMAGEM DE CAPA NO CORPO ── */
.ms-nw-imagem-capa {
    margin: 0 0 28px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.ms-nw-img-destaque {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.4s ease;
}
.ms-nw-imagem-capa:hover .ms-nw-img-destaque { transform: scale(1.02); }

/* ── VIDEO EMBED RESPONSIVO ── */
.ms-nw-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 28px 0;
    background: #000;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.ms-nw-video-wrap iframe,
.ms-nw-video-wrap video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 8px;
}
.ms-nw-corpo .ms-nw-video-wrap,
.ms-nw-corpo iframe[src*="youtube"],
.ms-nw-corpo iframe[src*="youtu.be"],
.ms-nw-corpo iframe[src*="globo.com"],
.ms-nw-corpo iframe[src*="g1.globo"] {
    max-width: 100%;
    width: 100%;
}

/* ── CORPO DO ARTIGO (HTML puro via asp:Literal) ── */
.ms-nw-corpo {
    background: #fff;
    border-radius: 8px;
    padding: 36px 40px;
    margin-bottom: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    font-family: 'Georgia', serif;
    font-size: 17px;
    line-height: 1.85;
    color: #222;
}
.ms-nw-corpo p {
    margin: 0 0 22px;
}
.ms-nw-corpo h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0f1923;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}
.ms-nw-corpo h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: #1a252f;
    margin: 28px 0 12px;
}
.ms-nw-corpo h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 22px 0 10px;
}
.ms-nw-corpo img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 24px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.ms-nw-corpo blockquote {
    border-left: 4px solid #E07B00;
    background: #fffaf5;
    margin: 28px 0;
    padding: 18px 24px;
    font-style: italic;
    color: #555;
    border-radius: 0 6px 6px 0;
    font-size: 16px;
}
.ms-nw-corpo ul,
.ms-nw-corpo ol {
    padding-left: 26px;
    margin: 0 0 22px;
}
.ms-nw-corpo li { margin-bottom: 8px; }
.ms-nw-corpo a {
    color: #E07B00;
    text-decoration: underline;
    transition: color 0.2s;
}
.ms-nw-corpo a:hover { color: #c96d00; }
.ms-nw-corpo strong { font-weight: 700; }
.ms-nw-corpo em { font-style: italic; }
.ms-nw-corpo hr {
    border: none;
    border-top: 2px solid #f0f2f5;
    margin: 32px 0;
}
.ms-nw-corpo iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    margin: 24px 0;
    border: none;
    border-radius: 6px;
}
.ms-nw-corpo figure {
    margin: 28px 0;
    text-align: center;
}
.ms-nw-corpo figcaption {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
    font-style: italic;
}

/* ── COMPARTILHAR ── */
.ms-nw-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-top: 1px solid #e8edf3;
    margin-bottom: 28px;
}
.ms-nw-share-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}
.ms-nw-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.ms-nw-share-btn:hover { opacity: 0.85; transform: translateY(-2px); text-decoration: none; color: #fff; }
.ms-nw-share-wpp { background: #25D366; }
.ms-nw-share-fb { background: #3b5998; }
.ms-nw-share-tw { background: #1da1f2; }

/* ── NAVEGAÇÃO ENTRE ARTIGOS ── */
.ms-nw-nav-artigos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.ms-nw-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #e0e4ea;
    color: #555;
    background: #fff;
}
.ms-nw-nav-btn:hover { border-color: #E07B00; color: #E07B00; text-decoration: none; }
.ms-nw-nav-home { background: #0f1923; border-color: #0f1923; color: #fff; }
.ms-nw-nav-home:hover { background: #E07B00; border-color: #E07B00; color: #fff; }

/* ── SIDEBAR ── */
.ms-nw-sidebar { padding-top: 0; }

.ms-nw-widget {
    background: #fff;
    border-radius: 8px;
    padding: 22px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #edf0f5;
}
.ms-nw-widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f1923;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ms-nw-widget-bar {
    display: inline-block;
    width: 3px;
    height: 16px;
    background: #E07B00;
    border-radius: 2px;
    flex-shrink: 0;
}
.ms-nw-widget-title .fa { color: #E07B00; }

.ms-nw-toplida {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f7;
    text-decoration: none;
    transition: background 0.2s;
}
.ms-nw-toplida:last-child { border-bottom: none; }
.ms-nw-toplida:hover { text-decoration: none; }
.ms-nw-toplida-num {
    width: 26px;
    height: 26px;
    background: #E07B00;
    color: #fff;
    border-radius: 50%;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ms-nw-toplida-info { flex: 1; }
.ms-nw-toplida-titulo {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f1923;
    line-height: 1.4;
    margin-bottom: 3px;
    transition: color 0.2s;
}
.ms-nw-toplida:hover .ms-nw-toplida-titulo { color: #E07B00; }
.ms-nw-toplida-meta { font-size: 11px; color: #aaa; }
.ms-nw-toplida-meta .fa { margin-right: 3px; }

/* ── ADS SIDEBAR ── */
.ms-nw-ads-side {
    background: #f0f1f3;
    border: 1px solid #e5e9ee;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 24px;
    text-align: center;
}

/* ── RELACIONADAS ── */
.ms-nw-relacionada {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f7;
    text-decoration: none;
    transition: background 0.2s;
}
.ms-nw-relacionada:last-child { border-bottom: none; }
.ms-nw-relacionada:hover { text-decoration: none; }
.ms-nw-rel-img {
    width: 72px;
    height: 52px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e0e4ea;
}
.ms-nw-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.ms-nw-relacionada:hover .ms-nw-rel-img img { transform: scale(1.08); }
.ms-nw-rel-info { flex: 1; }
.ms-nw-rel-titulo {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f1923;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s;
}
.ms-nw-relacionada:hover .ms-nw-rel-titulo { color: #E07B00; }
.ms-nw-rel-data { font-size: 11px; color: #aaa; }
.ms-nw-rel-data .fa { margin-right: 3px; }

/* ── CTA BOX ── */
.ms-nw-cta-box {
    background: linear-gradient(135deg, #0f1923 0%, #1a2940 100%);
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
}
.ms-nw-cta-icon {
    font-size: 36px;
    color: #E07B00;
    display: block;
    margin-bottom: 12px;
}
.ms-nw-cta-box h5 {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.ms-nw-cta-box p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 18px;
    line-height: 1.6;
}
.ms-nw-cta-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #E07B00;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}
.ms-nw-cta-btn:hover { background: #c96d00; color: #fff; text-decoration: none; }

/* ── AD PLACEHOLDER (dev visual aid) ── */
.ms-ad-placeholder {
    background: #f8f8f8;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 12px;
    font-family: monospace;
}
.ms-ad-728 { min-height: 90px; }
.ms-ad-300 { min-height: 250px; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .ms-nw-titulo { font-size: 26px; }
    .ms-nw-hero { height: 260px; }
}
@media (max-width: 767px) {
    .ms-nw-hero { height: 200px; }
    .ms-nw-titulo { font-size: 20px; }
    .ms-nw-corpo { padding: 22px 18px; font-size: 16px; }
    .ms-nw-nav-artigos { flex-direction: column; }
    .ms-nw-nav-btn { width: 100%; justify-content: center; }
    .ms-nw-sidebar { margin-top: 32px; }
}
@media (max-width: 480px) {
    .ms-nw-hero { height: 180px; }
    .ms-nw-titulo { font-size: 18px; }
    .ms-nw-corpo { padding: 16px 14px; font-size: 15px; }
}
