:root {
    --r98-red: #d71920;
    --r98-red-dark: #a80f15;
    --r98-ink: #171717;
    --r98-muted: #667085;
    --r98-line: #e4e7ec;
    --r98-soft: #f5f6f8;
    --r98-yellow: #f6c200;
    --r98-blue: #1f5aa6;
    --r98-white: #ffffff;
    --r98-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--r98-soft);
    color: var(--r98-ink);
    font-family: 'Montserrat', 'Segoe UI', Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.r98-home,
.r98-site-header,
.r98-footer,
.r98-topbar,
.r98-fixed-player {
    font-family: 'Montserrat', 'Segoe UI', Arial, Helvetica, sans-serif;
}

body.has-r98-fixed-player {
    padding-top: 64px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--r98-red);
}

img {
    max-width: 100%;
}

.r98-shell {
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
}

.r98-topbar {
    background: var(--r98-ink);
    color: var(--r98-white);
    font-size: 0.84rem;
}

.r98-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}

.r98-topbar i {
    color: var(--r98-yellow);
    margin-right: 6px;
}

.r98-site-header {
    background: var(--r98-white);
    border-bottom: 1px solid var(--r98-line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.has-r98-fixed-player .r98-site-header {
    top: 64px;
}

.r98-fixed-player {
    background: var(--r98-ink);
    border-bottom: 3px solid var(--r98-red);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    color: var(--r98-white);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 90;
}

.r98-fixed-player-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    height: 64px;
    justify-content: space-between;
}

.r98-fixed-player-main {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.r98-player-toggle {
    align-items: center;
    background: var(--r98-red);
    border: 0;
    border-radius: 50%;
    color: var(--r98-white);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.45rem;
    height: 46px;
    justify-content: center;
    line-height: 1;
    width: 46px;
}

.r98-player-toggle.is-playing {
    background: var(--r98-yellow);
    color: var(--r98-ink);
}

.r98-player-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.r98-player-text span {
    color: var(--r98-yellow);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.r98-player-text strong {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.r98-player-text small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.r98-player-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
}

.r98-player-actions a {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: var(--r98-white);
    font-size: 0.78rem;
    font-weight: 850;
    padding: 8px 12px;
    text-transform: uppercase;
}

.r98-player-actions a:hover {
    background: var(--r98-white);
    color: var(--r98-ink);
}

.r98-volume-control {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 0;
}

.r98-volume-control i {
    color: rgba(255, 255, 255, 0.72);
}

.r98-volume-control input {
    accent-color: var(--r98-red);
    width: 115px;
}

.r98-navbar {
    min-height: 82px;
    padding: 0;
    gap: 18px;
}

.r98-brand {
    display: flex;
    align-items: center;
    min-width: 140px;
}

.r98-brand img {
    max-height: 62px;
    width: auto;
}

.r98-brand-text {
    color: var(--r98-red);
    font-size: 1.55rem;
    font-weight: 800;
}

.r98-menu {
    justify-content: center;
}

.r98-menu .navbar-nav {
    align-items: center;
    gap: 4px;
}

.r98-menu .nav-link,
.r98-menu a {
    color: var(--r98-ink);
    font-size: 0.93rem;
    font-weight: 700;
    padding: 12px 10px;
    text-transform: uppercase;
}

.r98-menu .nav-link:hover,
.r98-menu a:hover {
    color: var(--r98-red);
}

.r98-menu-toggle {
    border: 1px solid var(--r98-line);
    border-radius: 8px;
}

.r98-live-button {
    align-items: center;
    background: var(--r98-red);
    border-radius: 999px;
    color: var(--r98-white);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    text-transform: uppercase;
}

.r98-live-button:hover {
    background: var(--r98-red-dark);
    color: var(--r98-white);
}

.r98-full-ad {
    background: var(--r98-white);
    border-bottom: 1px solid var(--r98-line);
    padding: 14px 0;
}

.r98-ad-frame {
    margin: 0 auto;
    text-align: center;
}

.r98-ad-frame img,
.r98-content-ad img,
.r98-ad-panel img,
.r98-footer-ad img {
    border-radius: 0;
    display: block;
    margin: 0 auto;
}

.r98-footer-ad {
    background: var(--r98-white);
    border: 1px solid var(--r98-line);
    border-radius: 8px;
    box-shadow: var(--r98-shadow);
    margin-top: 24px;
    padding: 12px;
    text-align: center;
}

.r98-footer-ad img {
    max-height: 200px;
    object-fit: contain;
    width: 100%;
}

.advertising-warning {
    color: var(--r98-muted);
    font-size: 0.68rem;
    margin: 5px 0 0;
    text-align: center;
    text-transform: uppercase;
}

.advertising-warning span {
    background: var(--r98-soft);
    border: 1px solid var(--r98-line);
    border-radius: 999px;
    padding: 2px 8px;
}

.r98-site-content {
    padding: 24px 0 44px;
    transition: opacity 0.18s ease;
}

.r98-site-content.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.r98-home {
    display: grid;
    gap: 26px;
}

.r98-banner-slider {
    background: var(--r98-white);
    border: 1px solid var(--r98-line);
    border-radius: 8px;
    box-shadow: var(--r98-shadow);
    overflow: hidden;
}

.r98-banner-slider img {
    aspect-ratio: 1180 / 260;
    object-fit: cover;
}

.r98-banner-slider .carousel-caption {
    background: rgba(0, 0, 0, 0.72);
    border-radius: 8px;
    bottom: 18px;
    display: inline-grid;
    gap: 2px;
    left: 18px;
    max-width: min(520px, calc(100% - 36px));
    padding: 10px 14px;
    right: auto;
    text-align: left;
}

.r98-banner-slider .carousel-caption strong {
    font-size: 1rem;
}

.r98-banner-slider .carousel-caption span {
    font-size: 0.86rem;
}

.r98-portal {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 320px;
}

.r98-portal-main {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.r98-portal-rail {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 92px;
}

.r98-lead-grid {
    align-items: stretch;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.r98-lead-middle {
    display: grid;
    gap: 16px;
    align-content: start;
}

.r98-lead-aside {
    display: grid;
    gap: 18px;
    align-content: start;
}

.r98-hero-card,
.r98-highlight-card,
.r98-news-card,
.r98-side-panel,
.r98-category-section,
.r98-podcast-card,
.r98-empty-state,
.r98-content-ad,
.r98-realtime {
    background: var(--r98-white);
    border: 1px solid var(--r98-line);
    border-radius: 8px;
    box-shadow: var(--r98-shadow);
}

.r98-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
}

.r98-hero-media {
    aspect-ratio: 16 / 9;
    background-color: #d0d5dd;
    background-position: center;
    background-size: cover;
    display: block;
}

.r98-hero-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.r98-hero-body h1 {
    font-size: clamp(1.75rem, 2.4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
    overflow-wrap: break-word;
}

.r98-hero-body p {
    color: var(--r98-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: break-word;
}

.r98-hero-body time,
.r98-highlight-card time,
.r98-realtime time,
.r98-category-list time {
    color: var(--r98-muted);
    font-size: 0.78rem;
}

.r98-category-pill {
    align-self: start;
    background: var(--r98-red);
    border-radius: 999px;
    color: var(--r98-white);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 6px 9px;
    text-transform: uppercase;
}

.r98-category-pill:hover {
    background: var(--r98-red-dark);
    color: var(--r98-white);
}

.r98-headline-stack {
    display: grid;
    gap: 12px;
    grid-auto-rows: 1fr;
}

.r98-highlight-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    overflow: hidden;
}

.r98-highlight-media {
    background-color: #d0d5dd;
    background-position: center;
    background-size: cover;
    display: block;
    min-height: 84px;
}

.r98-highlight-card > div {
    display: grid;
    gap: 5px;
    padding: 8px 12px;
    align-content: center;
}

.r98-highlight-card h2 {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    overflow-wrap: break-word;
}

.r98-highlight-card .r98-category-pill {
    font-size: 0.62rem;
    padding: 4px 7px;
}

.r98-highlight-card time {
    font-size: 0.72rem;
}

.r98-realtime {
    display: grid;
    grid-template-rows: auto auto;
    padding: 18px;
}

.r98-section-head {
    align-items: center;
    border-bottom: 2px solid var(--r98-line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.r98-section-head span {
    color: var(--r98-ink);
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
}

.r98-section-head a {
    color: var(--r98-red);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.r98-realtime ol,
.r98-ranked-list,
.r98-top10-mini {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.r98-realtime ol {
    column-gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.r98-realtime li {
    border-bottom: 1px solid var(--r98-line);
    display: grid;
    gap: 5px;
    padding: 12px 0;
}

.r98-realtime li:last-child {
    border-bottom: 0;
}

.r98-realtime a {
    color: var(--r98-ink);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.3;
}

.r98-content-ad {
    padding: 10px;
    text-align: center;
}

.r98-content-ad img {
    max-height: 170px;
    object-fit: contain;
    width: 100%;
}

.r98-feed-block {
    display: block;
}

.r98-section-head-large {
    margin-bottom: 16px;
}

.r98-section-head-large span {
    font-size: 1.12rem;
}

.r98-news-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.r98-news-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    min-height: 142px;
    overflow: hidden;
}

.r98-news-media {
    background-color: #d0d5dd;
    background-position: center;
    background-size: cover;
    display: block;
}

.r98-news-body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.r98-news-body h2 {
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.25;
    margin: 0;
}

.r98-news-body p {
    color: var(--r98-muted);
    font-size: 0.88rem;
    line-height: 1.38;
    margin: 0;
}

.r98-sidebar-portal {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 104px;
}

.r98-side-panel {
    padding: 16px;
}

.r98-ad-panel {
    padding: 10px;
}

.r98-ad-panel img {
    width: 100%;
}

.r98-ranked-list li {
    align-items: start;
    border-bottom: 1px solid var(--r98-line);
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px 0;
}

.r98-ranked-list li:first-child {
    padding-top: 0;
}

.r98-ranked-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.r98-ranked-list span,
.r98-top10-mini > li > span {
    color: var(--r98-red);
    font-size: 1.08rem;
    font-weight: 900;
}

.r98-ranked-list a {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.28;
}

.r98-top10-mini li {
    align-items: center;
    border-bottom: 1px solid var(--r98-line);
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 11px 0;
}

.r98-top10-mini li:first-child {
    padding-top: 0;
}

.r98-top10-mini li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.r98-top10-mini strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.25;
}

.r98-top10-mini small {
    color: var(--r98-muted);
    display: block;
    font-size: 0.78rem;
    margin-top: 2px;
}

/* Top 10 completo (formato com capa/play) */
.r98-top10-list {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.r98-top10-list li {
    align-items: center;
    border-bottom: 1px solid var(--r98-line);
    display: grid;
    gap: 10px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    padding: 10px 0;
}

.r98-top10-list li:first-child {
    padding-top: 0;
}

.r98-top10-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.r98-top10-num {
    color: var(--r98-red);
    font-size: 1.05rem;
    font-weight: 900;
}

.r98-top10-info {
    min-width: 0;
}

.r98-top10-info strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.r98-top10-info small {
    color: var(--r98-muted);
    display: block;
    font-size: 0.78rem;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.r98-top10-cover {
    background-color: #d6d6d6;
    background-position: center;
    background-size: cover;
    border-radius: 4px;
    display: block;
    height: 40px;
    width: 40px;
}

.r98-top10-play {
    align-items: center;
    background: var(--r98-red);
    border-radius: 50%;
    color: var(--r98-white);
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.r98-top10-play:hover {
    background: var(--r98-red-dark);
    color: var(--r98-white);
}

.r98-category-section {
    padding: 18px;
}

.r98-category-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.r98-category-media {
    aspect-ratio: 16 / 9;
    background-color: #d0d5dd;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 12px;
}

.r98-category-lead h2 {
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 8px;
}

.r98-category-lead p {
    color: var(--r98-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

.r98-category-list {
    display: grid;
}

.r98-category-list a {
    border-bottom: 1px solid var(--r98-line);
    display: grid;
    gap: 5px;
    padding: 12px 0;
}

.r98-category-list a:first-child {
    padding-top: 0;
}

.r98-category-list a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.r98-category-list span {
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.28;
}

.r98-podcasts {
    display: grid;
    gap: 0;
}

.r98-podcast-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.r98-podcast-card {
    display: grid;
    gap: 14px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 14px;
}

.r98-podcast-card img,
.r98-podcast-placeholder {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    width: 92px;
}

.r98-podcast-placeholder {
    align-items: center;
    background: var(--r98-ink);
    color: var(--r98-white);
    display: flex;
    font-size: 2rem;
    justify-content: center;
}

.r98-podcast-card h3 {
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.25;
    margin: 0 0 6px;
}

.r98-podcast-card p {
    color: var(--r98-muted);
    font-size: 0.84rem;
    line-height: 1.35;
    margin: 0 0 8px;
}

.r98-podcast-card audio {
    height: 34px;
    max-width: 100%;
    width: 100%;
}

.r98-empty-state {
    padding: 34px;
    text-align: center;
}

.r98-live-page {
    display: grid;
    min-height: 360px;
    place-items: center;
}

.r98-live-page-card {
    background: var(--r98-white);
    border: 1px solid var(--r98-line);
    border-radius: 8px;
    box-shadow: var(--r98-shadow);
    display: grid;
    gap: 14px;
    max-width: 720px;
    padding: 38px;
    text-align: center;
    width: 100%;
}

.r98-live-page-card .r98-category-pill {
    justify-self: center;
}

.r98-live-page-card h1 {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.r98-live-page-card p {
    color: var(--r98-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 560px;
}

.r98-live-page-button {
    align-items: center;
    background: var(--r98-red);
    border: 0;
    border-radius: 999px;
    color: var(--r98-white);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    justify-content: center;
    justify-self: center;
    min-height: 46px;
    padding: 0 20px;
    text-transform: uppercase;
}

.r98-live-page-button:hover {
    background: var(--r98-red-dark);
}

.r98-empty-state h1,
.r98-empty-state p {
    margin: 0;
}

.r98-footer {
    background: var(--r98-ink);
    color: var(--r98-white);
    padding: 26px 0;
}

.r98-footer-inner {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.r98-footer-brand img {
    max-height: 34px;
    width: auto;
}

.r98-footer-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    text-align: right;
}

.r98-footer a {
    color: var(--r98-white);
    text-decoration: underline;
}

.r98-cookie-preferences {
    background: transparent;
    border: 0;
    color: var(--r98-white);
    display: inline;
    font-size: 0.86rem;
    margin-left: 10px;
    padding: 0;
    text-decoration: underline;
}

.lgpd-consent {
    bottom: 18px;
    left: 0;
    padding: 0 16px;
    position: fixed;
    right: 0;
    z-index: 2000;
}

.lgpd-consent-card {
    align-items: center;
    background: var(--r98-white);
    border: 1px solid var(--r98-line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.18);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 auto;
    max-width: 980px;
    padding: 16px;
}

.lgpd-consent-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.lgpd-consent-card p {
    color: var(--r98-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}

.lgpd-actions,
.lgpd-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.lgpd-actions .btn,
.lgpd-modal-actions .btn {
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    min-height: 38px;
}

.lgpd-actions .btn-primary,
.lgpd-modal-actions .btn-primary {
    background: var(--r98-red);
    border-color: var(--r98-red);
}

.lgpd-link {
    color: var(--r98-red);
    text-decoration: none;
}

.lgpd-modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.48);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 18px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2010;
}

.lgpd-modal[hidden],
.lgpd-consent[hidden] {
    display: none;
}

.lgpd-modal-card {
    background: var(--r98-white);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    display: grid;
    gap: 14px;
    max-width: 560px;
    padding: 18px;
    width: 100%;
}

.lgpd-modal-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.lgpd-modal-header h2 {
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0;
}

.lgpd-close {
    align-items: center;
    background: var(--r98-soft);
    border: 1px solid var(--r98-line);
    border-radius: 8px;
    color: var(--r98-ink);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.lgpd-option {
    align-items: flex-start;
    border: 1px solid var(--r98-line);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0;
    padding: 12px;
}

.lgpd-option input {
    margin-top: 4px;
}

.lgpd-option strong {
    display: block;
    font-size: 0.95rem;
}

.lgpd-option small {
    color: var(--r98-muted);
    display: block;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-top: 2px;
}

@media (max-width: 1080px) {
    /* Conteudo em cima, barra lateral (propaganda/mais lidas/top10) embaixo em 3 colunas */
    .r98-portal {
        grid-template-columns: 1fr;
    }

    .r98-portal-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        position: static;
    }

    .r98-headline-stack,
    .r98-news-grid,
    .r98-podcast-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .r98-lead-grid {
        grid-template-columns: 1fr;
    }

    .r98-portal-rail {
        grid-template-columns: 1fr;
    }

    .r98-headline-stack,
    .r98-news-grid,
    .r98-podcast-grid {
        grid-template-columns: 1fr;
    }

    .r98-realtime ol {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 840px) {
    .r98-navbar {
        min-height: 70px;
    }

    .r98-fixed-player-inner {
        gap: 12px;
    }

    .r98-player-actions a {
        display: none;
    }

    .r98-volume-control input {
        width: 92px;
    }

    .r98-menu {
        background: var(--r98-white);
        border-top: 1px solid var(--r98-line);
        flex-basis: 100%;
        margin-top: 12px;
        padding: 8px 0;
    }

    .r98-menu .navbar-nav {
        align-items: stretch;
    }

    .r98-menu .nav-link,
    .r98-menu a {
        display: block;
        padding: 10px 4px;
    }

    .r98-live-button {
        margin-left: auto;
        min-height: 38px;
        padding: 0 12px;
    }

    .r98-category-grid,
    .lgpd-consent-card {
        grid-template-columns: 1fr;
    }

    .lgpd-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .r98-shell {
        width: min(100% - 24px, 1180px);
    }

    .r98-player-toggle {
        font-size: 1.25rem;
        height: 42px;
        width: 42px;
    }

    .r98-player-actions {
        display: none;
    }

    .r98-player-text strong {
        font-size: 0.92rem;
    }

    .r98-site-content {
        padding: 16px 0 32px;
    }

    .r98-banner-slider img {
        aspect-ratio: 16 / 9;
    }

    .r98-banner-slider .carousel-caption {
        display: none;
    }

    .r98-headline-stack,
    .r98-news-grid,
    .r98-podcast-grid {
        grid-template-columns: 1fr;
    }

    .r98-news-card {
        grid-template-columns: 1fr;
    }

    .r98-news-media {
        aspect-ratio: 16 / 9;
    }

    .r98-hero-body h1 {
        font-size: 1.75rem;
    }

    .r98-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .r98-footer-copy {
        text-align: left;
    }

    .lgpd-consent {
        bottom: 10px;
        padding: 0 10px;
    }

    .lgpd-actions .btn,
    .lgpd-modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .r98-topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 8px 0;
    }

    .r98-brand img {
        max-height: 52px;
        max-width: 170px;
    }

    .r98-live-button {
        font-size: 0.78rem;
    }

    .r98-podcast-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .r98-podcast-card img,
    .r98-podcast-placeholder {
        width: 72px;
    }
}

/* Post/news detail layout: prevents legacy imported content (tables,
   long links, oversized media) from bursting the row and shoving the
   sidebar out of place. Bootstrap flex columns default to
   min-width: auto, so they refuse to shrink below their content's
   intrinsic size unless min-width: 0 is set explicitly. */
[class*="content-sidebar-"] {
    min-width: 0;
}

.post-content {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.post-content iframe,
.post-content video,
.post-content embed {
    max-width: 100%;
}

.sidebar {
    min-width: 0;
}
}
