/* FVS Ultra — Template News */
:root {
    --news-accent: #c0392b;
    --news-accent2: #e74c3c;
    --news-dark: #111;
    --news-border: #e0e0e0;
    --news-radius: 8px;
    --news-shadow: 0 2px 10px rgba(0,0,0,.10);
}
.fvsnews-ticker {
    background: var(--news-dark);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 36px;
    font-size: 13px;
}
.fvsnews-ticker-label {
    background: var(--news-accent);
    color: #fff;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12px;
}
.fvsnews-ticker-wrap { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.fvsnews-ticker-inner {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: fvsnews-ticker-scroll 40s linear infinite;
}
.fvsnews-ticker-inner a { color: #eee; text-decoration: none; padding: 0 18px; font-weight: 500; }
.fvsnews-ticker-inner a:hover { color: #fff; text-decoration: underline; }
.fvsnews-ticker-dot { color: var(--news-accent); padding: 0 4px; font-size: 10px; }
@keyframes fvsnews-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.fvsnews-ticker:hover .fvsnews-ticker-inner { animation-play-state: paused; }

/* Carrossel Hero */
.fvsnews-hero { margin: 0 0 32px; border-radius: var(--news-radius); overflow: hidden; box-shadow: var(--news-shadow); }
.fvsnews-carousel { position: relative; background: var(--news-dark); aspect-ratio: 16/7; overflow: hidden; }
@media (max-width: 600px) { .fvsnews-carousel { aspect-ratio: 4/3; } }
.fvsnews-carousel-track { position: relative; width: 100%; height: 100%; }
.fvsnews-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.fvsnews-slide.active { opacity: 1; pointer-events: auto; }
.fvsnews-slide-img { position: absolute; inset: 0; }
.fvsnews-slide-img a, .fvsnews-slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fvsnews-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.28) 55%, transparent 100%); }
.fvsnews-slide-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 28px; z-index: 2; }
.fvsnews-slide-title { font-size: clamp(1.2rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.25; margin: 8px 0 10px; }
.fvsnews-slide-title a { color: #fff !important; text-decoration: none; }
.fvsnews-slide-title a:hover { text-decoration: underline; }
.fvsnews-slide-excerpt { color: rgba(255,255,255,.95); font-size: .95rem; margin: 0 0 8px; line-height: 1.5; }
.fvsnews-slide-meta { color: rgba(255,255,255,.9); font-size: .8rem; }
.fvsnews-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.5); color: #fff; border: none;
    width: 42px; height: 42px; border-radius: 50%; font-size: 18px;
    cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.fvsnews-carousel-btn:hover { background: rgba(192,57,43,.85); }
.fvsnews-prev { left: 14px; }
.fvsnews-next { right: 14px; }
.fvsnews-dots { position: absolute; bottom: 14px; right: 18px; display: flex; gap: 7px; z-index: 10; }
.fvsnews-dot { width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.fvsnews-dot::after { content: ''; display: block; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background .25s, transform .25s; }
.fvsnews-dot.active::after { background: #fff; transform: scale(1.3); }

/* Badge */
.fvsnews-badge {
    display: inline-block; background: var(--news-accent); color: #fff !important;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 3px; text-decoration: none !important; margin-bottom: 6px;
}
.fvsnews-badge:hover { background: var(--news-accent2); }

/* Seções */
.fvsnews-main { max-width: 1200px; margin: 0 auto; padding: 0 16px 40px; }
.fvsnews-section { margin: 0 0 40px; }
.fvsnews-section-inner { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .fvsnews-section-inner { grid-template-columns: 1fr; } }
.fvsnews-cat-header { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; border-bottom: 3px solid var(--news-accent); padding-bottom: 8px; }
.fvsnews-cat-title { font-size: 1.15rem; font-weight: 800; margin: 0; border: none; padding: 0; }
.fvsnews-cat-title span { color: var(--news-dark); }
.fvsnews-cat-more { font-size: .82rem; font-weight: 700; color: var(--news-accent) !important; text-decoration: none; border: 1px solid var(--news-accent); padding: 3px 10px; border-radius: 3px; white-space: nowrap; flex-shrink: 0; }
.fvsnews-cat-more:hover { background: var(--news-accent); color: #fff !important; }

/* Destaque principal */
.fvsnews-featured-main { display: flex; flex-direction: column; }
.fvsnews-featured-img { border-radius: var(--news-radius) var(--news-radius) 0 0; overflow: hidden; }
.fvsnews-featured-img a, .fvsnews-featured-img img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .35s; }
.fvsnews-featured-img a:hover img { transform: scale(1.03); }
.fvsnews-featured-body { background: #fff; border: 1px solid var(--news-border); border-top: none; border-radius: 0 0 var(--news-radius) var(--news-radius); padding: 18px 20px; box-shadow: var(--news-shadow); }
.fvsnews-featured-body h2 { font-size: 1.45rem; font-weight: 800; line-height: 1.3; margin: 6px 0 10px; }
.fvsnews-featured-body h2 a { color: var(--news-dark) !important; text-decoration: none; }
.fvsnews-featured-body h2 a:hover { color: var(--news-accent) !important; }
.fvsnews-featured-body p { font-size: .95rem; color: #555; margin: 0 0 10px; line-height: 1.6; }

/* Lista lateral */
.fvsnews-latest-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--news-border); border-radius: var(--news-radius); padding: 16px; box-shadow: var(--news-shadow); align-self: start; }
.fvsnews-block-title { display: flex; align-items: center; margin: 0 0 12px; border-bottom: 3px solid var(--news-accent); padding-bottom: 8px; }
.fvsnews-block-title span { font-size: 1rem; font-weight: 800; color: var(--news-dark); }
.fvsnews-list-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.fvsnews-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.fvsnews-list-thumb { flex-shrink: 0; width: 70px; height: 60px; border-radius: 5px; overflow: hidden; }
.fvsnews-list-thumb a, .fvsnews-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fvsnews-list-body h4 { font-size: .88rem; font-weight: 700; line-height: 1.35; margin: 4px 0; }
.fvsnews-list-body h4 a { color: var(--news-dark) !important; text-decoration: none; }
.fvsnews-list-body h4 a:hover { color: var(--news-accent) !important; }

/* Grade categorias */
.fvsnews-cat-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .fvsnews-cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .fvsnews-cat-grid { grid-template-columns: 1fr; } }
.fvsnews-card { background: #fff; border: 1px solid var(--news-border); border-radius: var(--news-radius); overflow: hidden; box-shadow: var(--news-shadow); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.fvsnews-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.15); transform: translateY(-2px); }
.fvsnews-card-img { overflow: hidden; }
.fvsnews-card-img a, .fvsnews-card-img img { width: 100%; height: 160px; object-fit: cover; display: block; transition: transform .35s; }
.fvsnews-card-big .fvsnews-card-img a, .fvsnews-card-big .fvsnews-card-img img { height: 220px; }
.fvsnews-card:hover .fvsnews-card-img img { transform: scale(1.04); }
.fvsnews-card-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.fvsnews-card-title { font-size: .95rem; font-weight: 700; line-height: 1.35; margin: 5px 0 6px; flex: 1; }
.fvsnews-card-big .fvsnews-card-title { font-size: 1.1rem; }
.fvsnews-card-title a { color: var(--news-dark) !important; text-decoration: none; }
.fvsnews-card-title a:hover { color: var(--news-accent) !important; }
.fvsnews-card-excerpt { font-size: .85rem; color: #555; margin: 0 0 6px; line-height: 1.5; }
.fvsnews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .fvsnews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .fvsnews-grid { grid-template-columns: 1fr; } }
.fvsnews-meta-line, .fvsnews-meta-sm { font-size: .78rem; color: #6b6b6b; display: block; margin-top: auto; padding-top: 4px; }

/* Dark mode */
body.dark-mode .fvsnews-ticker { background: #0a0a0a; }
body.dark-mode .fvsnews-featured-body,
body.dark-mode .fvsnews-latest-list,
body.dark-mode .fvsnews-card { background: #1e1e1e; border-color: #333; }
body.dark-mode .fvsnews-card-title a,
body.dark-mode .fvsnews-featured-body h2 a,
body.dark-mode .fvsnews-list-body h4 a { color: #f0f0f0 !important; }
body.dark-mode .fvsnews-cat-title span,
body.dark-mode .fvsnews-block-title span { color: #f0f0f0; }
body.dark-mode .fvsnews-card-excerpt,
body.dark-mode .fvsnews-featured-body p { color: #767676; }
body.dark-mode .fvsnews-list-item { border-color: #333; }

@media (max-width: 768px) {
    .fvsnews-slide-content { padding: 16px; }
    .fvsnews-slide-excerpt { display: none; }
    .fvsnews-carousel-btn { width: 34px; height: 34px; font-size: 14px; }
}
