.bnr-widget,
.bnr-widget * { box-sizing: border-box; }

.bnr-widget {
    width: 100%;
    height: 1000px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
}

.bnr-main {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    overflow: hidden;
    padding: 70px;
    background: #fff;
}

.bnr-story {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    padding: inherit;
}

.bnr-story-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.bnr-image-link {
    height: 100%;
    max-height: 640px;
    display: block;
    flex: 0 0 auto;
    text-decoration: none;
}

.bnr-image {
    width: 600px;
    height: 100%;
    min-height: 260px;
    background-color: #e9e9e9;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    overflow: hidden;
}

.bnr-story-inner.bnr-no-image {
    gap: 0;
}

.bnr-story-inner.bnr-no-image .bnr-copy {
    width: 100%;
    max-width: 100%;
}


.bnr-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bnr-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.bnr-category {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #a70b0b;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.bnr-source {
    color: #777;
    font-size: .72em;
    font-weight: 650;
}

.bnr-title-link { text-decoration: none; }

.bnr-title {
    margin: 0;
    color: #111;
    font-size: 70px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.bnr-excerpt {
    margin: 26px 0 0;
    color: #5b5b5b;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 400;
    max-width: 95%;
}

.bnr-ticker {
    flex: 0 0 auto;
    height: 84px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #a70b0b;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.bnr-ticker-label {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 34px;
    background: #740606;
    font-weight: 850;
    letter-spacing: .04em;
    white-space: nowrap;
}

.bnr-ticker-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bnr-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: bnrTicker 55s linear infinite;
}

.bnr-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.bnr-ticker-item::after {
    content: "•";
    margin: 0 28px;
    opacity: .7;
}

.bnr-ticker-source {
    opacity: .72;
    font-weight: 600;
}

@keyframes bnrTicker {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(-50%,0,0); }
}

/* Transições do destaque */
.bnr-transition-fade .bnr-story { opacity: 1; transition: opacity .45s ease; }
.bnr-transition-fade .bnr-story.is-leaving { opacity: 0; }
.bnr-transition-fade .bnr-story.is-entering { opacity: 0; }

.bnr-transition-slide .bnr-story { transform: translateX(0); opacity: 1; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s ease; }
.bnr-transition-slide .bnr-story.is-leaving { transform: translateX(-7%); opacity: 0; }
.bnr-transition-slide .bnr-story.is-entering { transform: translateX(7%); opacity: 0; }

.bnr-empty {
    padding: 24px;
    background: #f4f4f4;
    color: #555;
    border-radius: 10px;
    font-family: sans-serif;
}

@media (max-width: 900px) {
    .bnr-widget { height: auto; min-height: 560px; }
    .bnr-main { padding: 28px; min-height: 480px; }
    .bnr-story-inner { flex-direction: column; align-items: stretch; gap: 24px; }
    .bnr-image-link { width: 100%; height: 220px; max-height: none; }
    .bnr-image { width: 100% !important; height: 220px; min-height: 220px; }
    .bnr-title { font-size: clamp(30px, 7vw, 52px); }
    .bnr-excerpt { font-size: clamp(17px, 3.8vw, 24px); margin-top: 16px; }
    .bnr-ticker { height: 62px; font-size: 17px; }
    .bnr-ticker-label { padding: 0 18px; }
}
