/*
Theme Name: Cholula Ciudadana
Theme URI: https://www.ideologika.com/
Author: IdeoLógika
Author URI: https://www.ideologika.com/
Description: Tema editorial de noticias para Cholula Ciudadana. Incluye portada dinámica, carruseles automáticos, banners y controles completos en el Personalizador.
Version: 1.0.6
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: cholula-ciudadana
*/

:root {
  --rr-red: #0a4da8;
  --rr-red-dark: #063b83;
  --rr-black: #051b3f;
  --rr-ink: #11243a;
  --rr-muted: #5c6f86;
  --rr-bg: #edf5ff;
  --rr-accent: #0cafea;
  --rr-gold: #f4c34e;
  --rr-card: #ffffff;
  --rr-line: #dedede;
  --rr-width: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--rr-ink); background: var(--rr-bg); font-family: "Arial", "Helvetica Neue", Helvetica, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.rr-container { width: min(calc(100% - 30px), var(--rr-width)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.rr-topbar { color: #eee; background: var(--rr-black); font-size: 12px; }
.rr-topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.rr-topbar__links { display: flex; gap: 18px; margin-left: auto; }
.rr-topbar a:hover { color: #fff; text-decoration: underline; }
.rr-ticker { display: grid; grid-template-columns: auto 1fr; align-items: center; min-width: 0; margin-left: 15px; }
.rr-ticker__label { align-self: stretch; display: grid; place-items: center; padding: 0 20px; color: #fff; background: var(--rr-red); font-weight: 800; text-transform: uppercase; }
.rr-ticker__story { overflow: hidden; padding-left: 16px; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }

.rr-nav { position: sticky; z-index: 50; top: 0; color: #fff; background: var(--rr-red); box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.admin-bar .rr-nav { top: 32px; }
.rr-nav__inner { display: flex; align-items: center; min-height: 60px; }
.rr-nav ul { display: flex; align-items: center; gap: 0; padding: 0; margin: 0; list-style: none; }
.rr-nav a { display: block; padding: 21px 15px; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.rr-nav a:hover, .rr-nav .current-menu-item > a { background: var(--rr-red-dark); }
.rr-menu-toggle { display: none; padding: 10px 12px; color: #fff; border: 1px solid rgba(255,255,255,.5); background: transparent; font-weight: 800; }
.rr-search-link { margin-left: auto; padding: 10px 0 10px 18px; font-size: 22px; }

.rr-brand { color: #fff; background: #051b3f; }
.rr-brand__inner { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: center; gap: 45px; min-height: 185px; padding-block: 24px; }
.rr-logo img, .rr-logo .custom-logo { width: auto; max-width: 300px; max-height: 110px; object-fit: contain; }
.rr-logo__text { font-size: 25px; font-weight: 900; text-transform: uppercase; }
.rr-ad { display: grid; place-items: center; min-height: 92px; overflow: hidden; }
.rr-ad img { width: 100%; max-height: 120px; object-fit: contain; }
.rr-ad .widget { width: 100%; }

.rr-breaking { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 18px; padding: 17px 0; }
.rr-breaking__label { padding: 8px 16px; color: #fff; background: #0cafea; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.rr-breaking__story { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 800; }

.rr-hero-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 230px); gap: 4px; margin-bottom: 20px; }
.rr-story-tile { position: relative; min-width: 0; overflow: hidden; color: #fff; background: #222; }
.rr-story-tile:first-child { grid-row: 1 / 3; }
.rr-story-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rr-story-tile:hover img { transform: scale(1.025); }
.rr-story-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(0,0,0,.88) 100%); }
.rr-story-tile__copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 18px; }
.rr-story-tile:first-child .rr-story-tile__copy { padding: 28px; }
.rr-kicker { display: inline-block; padding: 4px 7px; color: #fff; background: rgba(0,0,0,.82); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.rr-story-tile h2, .rr-story-tile h3 { margin: 9px 0 7px; line-height: 1.16; }
.rr-story-tile h2 { font-size: clamp(27px, 3vw, 42px); }
.rr-story-tile h3 { font-size: 17px; }
.rr-meta { color: #888; font-size: 11px; text-transform: uppercase; }
.rr-story-tile .rr-meta { color: #e3e3e3; }

.rr-home-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr) 300px; gap: 20px; align-items: start; padding-bottom: 55px; }
.rr-panel { padding: 20px; background: var(--rr-card); }
.rr-section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 18px; color: var(--rr-red); font-size: 22px; line-height: 1.1; }
.rr-section-title::after { content: ""; flex: 1; height: 2px; background: var(--rr-red); opacity: .18; }
.rr-list-card { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--rr-line); }
.rr-list-card:first-of-type { padding-top: 0; }
.rr-list-card img { width: 95px; aspect-ratio: 16/10; object-fit: cover; }
.rr-list-card h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.35; }
.rr-list-card:hover h3 { color: var(--rr-red); }

.rr-lead-list article { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(220px,.8fr); gap: 24px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rr-line); }
.rr-lead-list article:first-child { grid-template-columns: 1fr; }
.rr-lead-list article:first-child .rr-card-image { aspect-ratio: 16/8.5; }
.rr-card-image { overflow: hidden; background: #e4e4e4; aspect-ratio: 16/10; }
.rr-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rr-lead-list article:hover img, .rr-mini-grid article:hover img { transform: scale(1.025); }
.rr-card-copy h2, .rr-card-copy h3 { margin: 8px 0 9px; line-height: 1.22; }
.rr-card-copy h2 { font-size: 27px; }
.rr-card-copy h3 { font-size: 19px; }
.rr-card-copy p { margin: 12px 0 0; color: #666; font-size: 14px; }
.rr-read-more { display: inline-block; margin-top: 14px; color: var(--rr-red); font-size: 11px; font-weight: 900; text-transform: uppercase; }

.rr-social-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin-bottom: 28px; }
.rr-social-grid a { display: grid; place-items: center; aspect-ratio: 1; color: #fff; background: #2156a5; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.rr-social-grid a:nth-child(2) { background: #28a6dd; }
.rr-social-grid a:nth-child(3) { background: linear-gradient(135deg,#7c2ab6,#f2683a); }
.rr-social-grid a:nth-child(4) { background: #e62117; }
.rr-mini-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
.rr-mini-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rr-mini-grid h3 { margin: 8px 0 0; font-size: 12px; line-height: 1.3; }
.rr-sidebar-ad { margin: 25px 0; }
.rr-sidebar-ad img { width: 100%; height: auto; }

.rr-page-head { padding: 38px 0 20px; }
.rr-page-head h1 { margin: 0; font-size: clamp(34px,5vw,58px); line-height: 1.05; }
.rr-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; padding-bottom: 70px; }
.rr-archive-card { padding: 0 0 20px; background: #fff; }
.rr-archive-card .rr-card-image { aspect-ratio: 16/9; }
.rr-archive-card__copy { padding: 17px; }
.rr-archive-card h2 { margin: 7px 0 10px; font-size: 20px; line-height: 1.25; }
.rr-pagination { margin: 10px 0 60px; }
.rr-pagination .page-numbers { display: inline-block; padding: 8px 12px; margin-right: 5px; background: #fff; }
.rr-pagination .current { color: #fff; background: var(--rr-red); }

.rr-article-layout { display: grid; grid-template-columns: minmax(0,900px) 300px; gap: 30px; align-items: start; padding: 42px 0 75px; }
.rr-article, .rr-sidebar { padding: 28px; background: #fff; }
.rr-breadcrumb { color: var(--rr-red); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.rr-entry-title { margin: 12px 0 15px; font-size: clamp(34px,5vw,58px); line-height: 1.08; }
.rr-entry-image { width: 100%; margin: 25px 0; }
.rr-entry-content { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.85; }
.rr-entry-content img { height: auto; }
.rr-entry-content a { color: var(--rr-red); text-decoration: underline; }
.rr-share { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
.rr-share a { padding: 7px 11px; color: #fff; background: var(--rr-black); font-size: 11px; font-weight: 800; }
.rr-search-form { display: flex; }
.rr-search-form input { min-width: 0; width: 100%; padding: 12px; border: 1px solid #ccc; }
.rr-search-form button { padding: 12px 16px; color: #fff; border: 0; background: var(--rr-red); font-weight: 800; }

.rr-footer { color: #ccd5ff; background: #051b3f; }
.rr-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding: 52px 0; }
.rr-footer h2, .rr-footer h3 { color: #fff; }
.rr-footer ul { padding: 0; margin: 0; list-style: none; }
.rr-footer li { padding: 5px 0; }
.rr-footer a:hover { color: #fff; }
.rr-footer__bottom { padding: 17px 0; border-top: 1px solid #292929; font-size: 12px; }

/* Portada tipo revista, basada en la estructura solicitada */
.rr-magazine { padding-bottom: 55px; background: var(--rr-bg); }
.rr-magazine-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.rr-mag-left, .rr-mag-center, .rr-mag-right { min-width: 0; }
.rr-side-box, .rr-feature-panel { margin-bottom: 20px; padding: 22px; background: #fff; }
.rr-side-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 20px; color: #191919; font-size: 22px; line-height: 1.1; }
.rr-side-title h2 { margin: 0; font: inherit; }
.rr-side-title span { color: #aaa; font-size: 28px; font-weight: 400; letter-spacing: 7px; }
.rr-carousel-controls { display: flex; gap: 4px; flex: 0 0 auto; }
.rr-carousel-controls button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; color: #fff; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--rr-red), var(--rr-red-dark)); cursor: pointer; font-size: 24px; line-height: 1; transition: transform .2s ease, opacity .2s ease; }
.rr-carousel-controls button:hover, .rr-carousel-controls button:focus-visible { opacity: .82; transform: scale(1.06); outline: 2px solid #f4c34e; outline-offset: 2px; }
.rr-carousel [data-carousel-item] { animation: rr-carousel-in .42s ease both; }
@keyframes rr-carousel-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.rr-feature-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 26px; }
.rr-main-story img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rr-main-story h1 { margin: 13px 0 8px; font-size: clamp(25px, 2.25vw, 35px); line-height: 1.12; }
.rr-main-story p { margin: 15px 0 0; color: #777; font-size: 16px; }
.rr-secondary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; }
.rr-secondary-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rr-secondary-grid h2 { margin: 9px 0 0; font-size: 16px; line-height: 1.28; }
.rr-main-story a:hover, .rr-secondary-grid a:hover, .rr-science-grid a:hover, .rr-sports-card a:hover { color: var(--rr-red); }

.rr-science-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.rr-science-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rr-science-grid h3 { margin: 8px 0 0; font-size: 13px; line-height: 1.27; }
.rr-region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.rr-region-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rr-region-grid h3 { margin: 9px 0 5px; font-size: 17px; line-height: 1.28; }

.rr-sports-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; padding: 0 0 19px; margin-bottom: 19px; border-bottom: 1px solid var(--rr-line); }
.rr-sports-card:last-child { margin-bottom: 0; }
.rr-sports-card img { width: 128px; aspect-ratio: 16 / 10; object-fit: cover; }
.rr-sports-card h3 { margin: 0 0 9px; font-size: 14px; line-height: 1.3; }
.rr-horizontal-story { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rr-line); }
.rr-horizontal-story img { width: 210px; aspect-ratio: 16 / 10; object-fit: cover; }
.rr-horizontal-story h3 { margin: 0 0 7px; font-size: 19px; line-height: 1.25; }
.rr-horizontal-story p { margin: 9px 0 0; color: #777; font-size: 13px; }

.rr-side-news-grid { display: grid; gap: 20px; }
.rr-side-news-grid article { padding-bottom: 19px; border-bottom: 1px solid var(--rr-line); }
.rr-side-news-grid article:last-child { padding-bottom: 0; border-bottom: 0; }
.rr-side-news-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rr-side-news-grid h3 { margin: 10px 0 7px; font-size: 16px; line-height: 1.28; }
.rr-side-news-grid a:hover h3 { color: var(--rr-red); }

.rr-ad-widget { width: 100%; margin-bottom: 20px; overflow: hidden; background: #fff; }
.rr-ad-widget img { width: 100%; height: auto; }
.rr-ad-placeholder { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; width: 100%; min-height: 190px; padding: 24px; margin-bottom: 20px; overflow: hidden; color: #fff; text-align: center; background: linear-gradient(135deg, #063b83, #0cafea); }
.rr-ad-placeholder::before { content: ""; position: absolute; inset: -40% 55% -40% -15%; border-radius: 50%; background: rgba(255,255,255,.1); transform: rotate(-12deg); }
.rr-ad-placeholder > * { position: relative; z-index: 1; }
.rr-ad-placeholder span { font-size: 10px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.rr-ad-placeholder strong { max-width: 92%; font-size: 24px; line-height: 1.05; }
.rr-ad-placeholder small { opacity: .82; font-size: 11px; }
.rr-ad-placeholder--tourism { min-height: 165px; background: linear-gradient(135deg, #4c1d95, #0a5fc4 52%, #0ea5e9); }
.rr-ad-placeholder--wide { min-height: 230px; margin-bottom: 0; background: linear-gradient(125deg, #051b3f, #063b83 55%, #0cafea); }
.rr-ad-placeholder--wide strong { font-size: clamp(28px, 4vw, 55px); }
.rr-ad-placeholder--box { min-height: 250px; margin-top: 20px; background: linear-gradient(145deg, #0a5fc4, #082f68); }
.rr-ad-placeholder--side-note { min-height: 250px; background: linear-gradient(145deg, #0cafea, #0a4da8); }
.rr-center-ad { margin-bottom: 20px; }

@media (max-width: 1050px) {
  .rr-ticker, .rr-topbar__links { display: none; }
  .rr-nav__inner { min-height: 54px; }
  .rr-menu-toggle { display: block; }
  .rr-menu { position: absolute; top: 54px; right: 0; left: 0; display: none; padding: 10px 15px 20px; background: var(--rr-red); }
  .rr-menu.is-open { display: block; }
  .rr-nav ul { display: block; }
  .rr-nav a { padding: 10px 0; }
  .rr-brand__inner { grid-template-columns: 220px 1fr; gap: 25px; }
  .rr-home-layout { grid-template-columns: 230px minmax(0,1fr); }
  .rr-home-layout > :last-child { grid-column: 1 / -1; }
  .rr-sidebar .rr-mini-grid { grid-template-columns: repeat(4,1fr); }
  .rr-magazine-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .rr-mag-right { grid-column: 1 / -1; }
  .rr-sports-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  .rr-sports-box .rr-side-title { grid-column: 1 / -1; }
  .rr-mag-right .rr-side-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .admin-bar .rr-nav { top: 46px; }
  .rr-topbar__inner { min-height: 34px; }
  .rr-brand__inner { grid-template-columns: 1fr; gap: 18px; min-height: auto; text-align: center; }
  .rr-logo img, .rr-logo .custom-logo { margin-inline: auto; max-width: 190px; }
  .rr-ad img { max-height: none; }
  .rr-breaking { grid-template-columns: 1fr; gap: 8px; }
  .rr-breaking__label { justify-self: start; }
  .rr-breaking__story { white-space: normal; }
  .rr-hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 8px; }
  .rr-story-tile, .rr-story-tile:first-child { grid-row: auto; min-height: 245px; }
  .rr-story-tile:first-child { min-height: 380px; }
  .rr-home-layout, .rr-article-layout { grid-template-columns: 1fr; }
  .rr-home-layout > :last-child { grid-column: auto; }
  .rr-lead-list article { grid-template-columns: 1fr; }
  .rr-sidebar .rr-mini-grid { grid-template-columns: repeat(2,1fr); }
  .rr-archive-grid, .rr-footer__grid { grid-template-columns: 1fr; }
  .rr-article, .rr-sidebar { padding: 20px; }
  .rr-entry-title { font-size: 34px; }
  .rr-magazine-grid, .rr-feature-panel { grid-template-columns: 1fr; }
  .rr-mag-right { grid-column: auto; }
  .rr-sports-box { display: block; }
  .rr-mag-right .rr-side-news-grid { grid-template-columns: 1fr; }
  .rr-secondary-grid, .rr-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-horizontal-story { grid-template-columns: 125px minmax(0, 1fr); gap: 14px; }
  .rr-horizontal-story img { width: 125px; }
}

@media (max-width: 460px) {
  .rr-secondary-grid, .rr-region-grid { grid-template-columns: 1fr; }
}

/* Portada editorial por bloques 1.2.0 */
[hidden] { display: none !important; }
.rr-ticker { grid-template-columns: auto minmax(0, 1fr) auto; flex: 1; max-width: 660px; }
.rr-ticker__track { min-width: 0; }
.rr-ticker__story { display: block; }
.rr-ticker__controls { display: flex; gap: 2px; margin-left: 8px; }
.rr-ticker__controls button { width: 24px; height: 24px; padding: 0; color: #fff; border: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; line-height: 1; }

.rr-block-home { padding: 28px 0 65px; }
.rr-newest, .rr-news-band, .rr-feed-block, .rr-sidebar-block { background: #fff; }
.rr-newest { padding: 24px; margin-bottom: 24px; }
.rr-block-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 3px solid var(--rr-red); }
.rr-block-heading h1, .rr-block-heading h2 { margin: 0; color: var(--rr-black); font-size: 25px; line-height: 1.1; text-transform: uppercase; }
.rr-block-heading h1::before, .rr-block-heading h2::before { content: ""; display: inline-block; width: 8px; height: .88em; margin-right: 10px; background: linear-gradient(var(--rr-red), var(--rr-red-dark)); }
.rr-heading-actions { display: flex; align-items: center; gap: 14px; color: var(--rr-red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.rr-view-all { color: var(--rr-red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.rr-media { display: block; overflow: hidden; background: #f1f3f9; }
.rr-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .28s ease; }
article:hover > .rr-media img, article:hover .rr-media img { transform: scale(1.018); }

.rr-newest-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) repeat(2, minmax(0, .81fr)); grid-template-rows: repeat(2, 235px); gap: 8px; }
.rr-newest-card { position: relative; min-width: 0; overflow: hidden; color: #fff; background: #051b3f; }
.rr-newest-card--lead { grid-row: 1 / 3; }
.rr-newest-card .rr-media { position: absolute; inset: 0; background: #051b3f; }
.rr-newest-card .rr-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(5,8,24,.94) 100%); }
.rr-newest-card .rr-media img { object-fit: contain; }
.rr-newest-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 16px; }
.rr-newest-card--lead .rr-newest-copy { padding: 26px; }
.rr-newest-copy h2 { margin: 8px 0 6px; font-size: 17px; line-height: 1.18; }
.rr-newest-card--lead h2 { max-width: 850px; font-size: clamp(28px, 3vw, 46px); }
.rr-newest-copy .rr-meta { color: #e5f2ff; }
.rr-newest-card .rr-kicker { background: var(--rr-red); }

.rr-home-banner { margin-bottom: 24px; }
.rr-home-banner .rr-ad-widget, .rr-inline-banner .rr-ad-widget { margin: 0; }
.rr-home-banner img, .rr-inline-banner img { width: 100%; max-height: 250px; object-fit: contain; background: #fff; }
.rr-home-banner .rr-ad-placeholder { margin-bottom: 0; }

.rr-editorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.rr-editorial-main { min-width: 0; }
.rr-news-band, .rr-feed-block { padding: 24px; margin-bottom: 24px; }
.rr-band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rr-band-grid .rr-media { aspect-ratio: 16 / 10; }
.rr-band-grid h3 { margin: 10px 0 7px; font-size: 16px; line-height: 1.26; }
.rr-band-grid article:hover h3, .rr-feed-card:hover h3, .rr-sidebar-story:hover h3, .rr-science-mini article:hover h3 { color: var(--rr-red); }
.rr-inline-banner { margin-bottom: 24px; }
.rr-inline-banner .rr-ad-placeholder { min-height: 190px; margin: 0; }

.rr-feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.rr-feed-card { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 16px; min-width: 0; padding: 18px 0; border-bottom: 1px solid var(--rr-line); }
.rr-feed-card:nth-child(-n+2) { padding-top: 0; }
.rr-feed-card .rr-media { aspect-ratio: 16 / 10; align-self: start; }
.rr-feed-card h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.24; }
.rr-feed-card p { margin: 8px 0 0; color: #6b6b6b; font-size: 13px; line-height: 1.45; }

.rr-editorial-sidebar { position: sticky; top: 82px; min-width: 0; }
.admin-bar .rr-editorial-sidebar { top: 114px; }
.rr-editorial-sidebar > .rr-ad-placeholder { margin-top: 0; }
.rr-sidebar-block { padding: 22px; margin-bottom: 24px; }
.rr-sidebar-block > h2, .rr-sidebar-heading h2 { margin: 0 0 17px; color: var(--rr-black); font-size: 22px; line-height: 1.1; }
.rr-sidebar-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rr-sidebar-story { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--rr-line); }
.rr-sidebar-story:first-of-type { padding-top: 0; }
.rr-sidebar-story .rr-media { aspect-ratio: 16 / 10; }
.rr-sidebar-story h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.28; }
.rr-ranked-list { padding: 0; margin: 0; list-style: none; counter-reset: rr-rank; }
.rr-ranked-list li { position: relative; min-height: 58px; padding: 13px 0 13px 43px; border-bottom: 1px solid var(--rr-line); counter-increment: rr-rank; }
.rr-ranked-list li::before { content: counter(rr-rank); position: absolute; top: 13px; left: 0; color: var(--rr-red); font-size: 26px; font-weight: 900; line-height: 1; }
.rr-ranked-list a { display: block; font-size: 13px; font-weight: 800; line-height: 1.28; }
.rr-ranked-list span { color: #929292; font-size: 10px; text-transform: uppercase; }
.rr-science-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.rr-science-mini .rr-media { aspect-ratio: 16 / 10; }
.rr-science-mini h3 { margin: 7px 0 0; font-size: 12px; line-height: 1.28; }

@media (max-width: 1180px) {
  .rr-newest-grid { grid-template-rows: repeat(2, 205px); }
  .rr-editorial-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .rr-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-feed-grid { grid-template-columns: 1fr; }
  .rr-feed-card:nth-child(2) { padding-top: 18px; }
}

@media (max-width: 900px) {
  .rr-editorial-layout { grid-template-columns: 1fr; }
  .rr-editorial-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .rr-editorial-sidebar > * { margin-bottom: 0; }
  .rr-newest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 360px repeat(2, 210px); }
  .rr-newest-card--lead { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 720px) {
  .rr-block-home { padding-top: 16px; }
  .rr-newest, .rr-news-band, .rr-feed-block, .rr-sidebar-block { padding: 16px; }
  .rr-block-heading h1, .rr-block-heading h2 { font-size: 20px; }
  .rr-newest-grid { grid-template-columns: 1fr; grid-template-rows: 330px repeat(4, 230px); }
  .rr-newest-card--lead { grid-column: auto; }
  .rr-newest-card--lead h2 { font-size: 28px; }
  .rr-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .rr-feed-card { grid-template-columns: 135px minmax(0, 1fr); gap: 13px; }
  .rr-feed-card p { display: none; }
  .rr-editorial-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
  .rr-heading-actions > a { display: none; }
  .rr-band-grid { grid-template-columns: 1fr; }
  .rr-feed-card { grid-template-columns: 112px minmax(0, 1fr); }
  .rr-feed-card h3 { font-size: 14px; }
}

/* Ajuste visual 1.3.0: jerarquía y composición tipo Enkontraste */
.rr-topbar { background: #292929; }
.rr-topbar__inner { min-height: 32px; gap: 14px; }
.rr-topbar__social { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rr-topbar__social a { color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.rr-ticker { max-width: none; margin-left: 0; }
.rr-ticker__label { padding-inline: 18px; background: var(--rr-red); }

.rr-brand { color: var(--rr-black); background: #edf5ff; }
.rr-brand__inner { grid-template-columns: 280px minmax(0, 1fr); gap: 55px; min-height: 150px; padding-block: 18px; }
.rr-logo { display: grid; place-items: center; align-self: stretch; min-height: 114px; padding: 14px; background: #000; }
.rr-logo > a { display: grid; width: 100%; place-items: center; }
.rr-logo img, .rr-logo .custom-logo { max-width: 250px; max-height: 105px; }
.rr-ad { min-height: 95px; }
.rr-ad img { max-height: 105px; }
.rr-nav { background: linear-gradient(90deg, #073777, #0a4da8 55%, #0cafea); }
.rr-nav__inner { min-height: 48px; }
.rr-nav a { padding: 15px 14px; font-size: 12px; }
.rr-search-link { font-size: 20px; }

.rr-block-home { padding-top: 12px; }
.rr-newest { padding: 0; background: transparent; }
.rr-newest-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rr-newest-heading h1 { min-width: 145px; padding: 10px 30px 10px 22px; margin: 0; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); color: #fff; background: linear-gradient(90deg, var(--rr-red), var(--rr-red-dark)); font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.rr-newest-heading .rr-carousel-controls { padding-right: 4px; }
.rr-newest .rr-home-banner { padding: 12px; margin-bottom: 6px; background: #fff; }
.rr-newest .rr-home-banner img { max-height: 145px; }
.rr-newest .rr-ad-placeholder--wide { min-height: 135px; }
.rr-newest .rr-ad-placeholder--wide strong { font-size: clamp(25px, 3vw, 42px); }

.rr-newest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 330px 190px; gap: 4px; }
.rr-newest-card--lead, .rr-newest-card--second { grid-column: span 2; grid-row: auto; }
.rr-newest-card .rr-media img { object-fit: contain; }
.rr-newest-card--lead .rr-newest-copy, .rr-newest-card--second .rr-newest-copy { padding: 25px; text-align: center; }
.rr-newest-card--lead h2, .rr-newest-card--second h2 { max-width: none; margin-inline: auto; font-size: clamp(25px, 2.4vw, 36px); }
.rr-newest-card:not(.rr-newest-card--lead):not(.rr-newest-card--second) .rr-newest-copy { text-align: center; }
.rr-newest-card:not(.rr-newest-card--lead):not(.rr-newest-card--second) .rr-newest-copy h2 { font-size: 16px; }

.rr-follow-block { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; margin-bottom: 24px; overflow: hidden; background: #fff; }
.rr-follow-intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; color: #fff; background: linear-gradient(145deg, #061b46, #0a4da8 62%, #0cafea); }
.rr-follow-intro span { font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.rr-follow-intro h2 { margin: 8px 0; font-size: 25px; line-height: 1.06; text-transform: uppercase; }
.rr-follow-intro p { margin: 0 0 14px; color: #e5f2ff; font-size: 13px; }
.rr-follow-intro a { padding: 8px 13px; border: 1px solid rgba(255,255,255,.7); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.rr-follow-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rr-line); }
.rr-follow-stories article { display: grid; grid-template-rows: 150px 1fr; min-width: 0; background: #fff; }
.rr-follow-stories .rr-media { aspect-ratio: auto; }
.rr-follow-stories article > div { padding: 15px; }
.rr-follow-stories span { color: var(--rr-red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.rr-follow-stories h3 { margin: 5px 0 0; font-size: 14px; line-height: 1.25; }
.rr-follow-stories .rr-read-more { margin-top: 9px; }

.rr-news-band, .rr-feed-block, .rr-sidebar-block { box-shadow: 0 1px 0 rgba(16,22,50,.04); }
.rr-block-heading { border-bottom-width: 2px; }
.rr-block-heading h1::before, .rr-block-heading h2::before { display: none; }
.rr-sidebar-block > h2, .rr-sidebar-heading { padding-bottom: 12px; border-bottom: 2px solid var(--rr-red); }
.rr-sidebar-heading h2 { margin-bottom: 0; }

@media (max-width: 1180px) {
  .rr-newest-grid { grid-template-rows: 290px 175px; }
  .rr-follow-block { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 1050px) {
  .rr-topbar__social { margin-left: auto; }
  .rr-brand__inner { grid-template-columns: 220px minmax(0, 1fr); }
  .rr-follow-block { grid-template-columns: 1fr; }
  .rr-follow-intro { align-items: center; text-align: center; }
}

@media (max-width: 900px) {
  .rr-newest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 255px); }
  .rr-newest-card--lead, .rr-newest-card--second { grid-column: span 1; }
  .rr-follow-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .rr-topbar__social { display: none; }
  .rr-brand__inner { grid-template-columns: 1fr; }
  .rr-newest-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, 255px); }
  .rr-newest-card--lead, .rr-newest-card--second { grid-column: auto; }
  .rr-newest-card--lead h2, .rr-newest-card--second h2 { font-size: 25px; }
  .rr-follow-stories { grid-template-columns: 1fr; }
  .rr-follow-stories article { grid-template-columns: 135px minmax(0, 1fr); grid-template-rows: auto; }
}

/* Portada 1.4.0: estructura editorial inspirada en el portal de referencia */
.rr-brand { color: #fff; background: #000; }
.rr-brand__inner { grid-template-columns: 380px minmax(0, 1fr); gap: 48px; min-height: 180px; padding-block: 20px; }
.rr-logo { display: grid; place-items: center; align-self: center; min-height: 0; padding: 0; background: transparent; }
.rr-logo > a { display: grid; width: 100%; place-items: center; }
.rr-logo img, .rr-logo .custom-logo { width: 100%; max-width: 370px; max-height: 145px; object-fit: contain; }
.rr-ad { background: transparent; }
.rr-ad img { max-height: 135px; }

.rr-reference-home { padding-top: 22px; background: #fff; }
.rr-reference-layout { display: grid; grid-template-columns: 275px minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.rr-reference-left, .rr-reference-center, .rr-reference-right { min-width: 0; }
.rr-reference-left, .rr-reference-right { display: grid; gap: 20px; }
.rr-reference-ad .widget, .rr-reference-banner .widget, .rr-category-ad .widget { margin: 0; }
.rr-reference-ad img, .rr-reference-banner img, .rr-category-ad img { width: 100%; height: auto; object-fit: contain; }
.rr-reference-ad--tower .rr-ad-placeholder { min-height: 560px; }
.rr-ad-placeholder--tower { min-height: 560px; background: linear-gradient(155deg, #061b46, #0a4da8 58%, #0cafea); }
.rr-ad-placeholder--strip, .rr-ad-placeholder--category { min-height: 135px; margin: 0; }
.rr-ad-placeholder--strip strong, .rr-ad-placeholder--category strong { font-size: clamp(22px, 2.6vw, 38px); }
.rr-community-card { padding: 22px; color: #fff; background: linear-gradient(145deg, #061b46, #0a4da8 63%, #0cafea); }
.rr-community-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.08; text-transform: uppercase; }
.rr-community-card p { margin: 0 0 14px; color: #e5f2ff; font-size: 13px; }
.rr-community-card a { display: inline-block; padding: 8px 12px; border: 1px solid rgba(255,255,255,.75); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.rr-reference-left .rr-sidebar-block, .rr-reference-right .rr-sidebar-block { margin: 0; }

.rr-reference-banner { padding: 10px; margin-bottom: 20px; background: #fff; box-shadow: 0 1px 6px rgba(16,22,50,.1); }
.rr-reference-banner--top { padding: 0; }
.rr-reference-banner--top .rr-ad-placeholder { min-height: 145px; }
.rr-reference-banner .rr-ad-widget { margin: 0; }
.rr-reference-feature, .rr-reference-band { padding: 18px; margin-bottom: 20px; background: #fff; box-shadow: 0 1px 6px rgba(16,22,50,.1); }
.rr-reference-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.rr-reference-heading h1, .rr-reference-heading h2 { display: inline-block; padding: 11px 24px 11px 18px; margin: 0; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); color: #fff; background: linear-gradient(90deg, #0a4da8, #0cafea); font-size: 17px; line-height: 1; text-transform: uppercase; }
.rr-reference-slide { display: grid; gap: 18px; }
.rr-reference-lead { position: relative; min-height: 420px; overflow: hidden; color: #fff; background: #051b3f; }
.rr-reference-lead .rr-media { position: absolute; inset: 0; background: #051b3f; }
.rr-reference-lead .rr-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(5,8,24,.94) 100%); }
.rr-reference-lead .rr-media img { width: 100%; height: 100%; object-fit: contain; }
.rr-reference-lead-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 26px; text-align: center; }
.rr-reference-lead-copy span { display: inline-block; padding: 4px 9px; background: #0a4da8; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.rr-reference-lead-copy h2 { margin: 10px auto 7px; max-width: 760px; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.12; }
.rr-reference-lead-copy small { color: #e2e6ff; font-size: 11px; text-transform: uppercase; }
.rr-reference-mini-grid, .rr-reference-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rr-reference-mini-grid .rr-media, .rr-reference-band-grid .rr-media { aspect-ratio: 16 / 10; }
.rr-reference-mini-grid .rr-media img, .rr-reference-band-grid .rr-media img { object-fit: contain; }
.rr-reference-mini-grid h3, .rr-reference-band-grid h3 { margin: 9px 0 7px; font-size: 14px; line-height: 1.28; }
.rr-reference-mini-grid article:hover h3, .rr-reference-band-grid article:hover h3 { color: #0a4da8; }

.rr-reference-ad--right .rr-ad-placeholder { margin: 0; }
.rr-reference-sports > h2 { padding-bottom: 12px; border-bottom: 3px solid #0a4da8; }
.rr-reference-sports-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.rr-reference-sports-grid .rr-media { aspect-ratio: 16 / 10; }
.rr-reference-sports-grid .rr-media img { object-fit: contain; }
.rr-reference-sports-grid h3 { margin: 8px 0 6px; font-size: 13px; line-height: 1.28; }
.rr-reference-sports-grid article:hover h3 { color: #0a4da8; }

.rr-category-shelf { padding: 26px 0 34px; border-top: 1px solid #e6e6e6; background: #fff; }
.rr-category-ad { width: min(970px, 100%); margin: 0 auto 22px; }
.rr-category-ad .rr-ad-widget { margin: 0; }
.rr-category-shelf > .rr-reference-heading { margin-inline: 0; }
.rr-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 16px; }
.rr-category-grid .rr-media { aspect-ratio: 16 / 10; box-shadow: 0 1px 5px rgba(0,0,0,.14); }
.rr-category-grid .rr-media img { object-fit: contain; }
.rr-category-grid article > span { display: block; margin-top: 8px; color: #0cafea; font-size: 11px; text-transform: uppercase; }
.rr-category-grid h3 { margin: 4px 0 8px; font-size: 14px; line-height: 1.28; }
.rr-category-grid article:hover h3 { color: #0a4da8; }

.rr-bottom-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; padding: 42px 0 20px; border-top: 1px solid #ddd; }
.rr-bottom-columns > section { min-width: 0; }
.rr-bottom-columns > section > h2 { padding-bottom: 12px; margin: 0; border-bottom: 3px solid #0a4da8; font-size: 14px; text-align: center; text-transform: uppercase; }
.rr-bottom-columns .rr-sidebar-story { grid-template-columns: 105px minmax(0, 1fr); }
.rr-bottom-columns .rr-sidebar-story .rr-media img { object-fit: contain; }

@media (max-width: 1180px) {
  .rr-brand__inner { grid-template-columns: 310px minmax(0, 1fr); gap: 34px; }
  .rr-logo img, .rr-logo .custom-logo { max-width: 305px; }
  .rr-reference-layout { grid-template-columns: 230px minmax(0, 1fr) 275px; gap: 16px; }
  .rr-reference-lead { min-height: 360px; }
  .rr-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .rr-reference-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .rr-reference-left { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .rr-reference-left .rr-sidebar-block { grid-column: 1 / -1; }
  .rr-reference-ad--tower .rr-ad-placeholder, .rr-ad-placeholder--tower { min-height: 260px; }
  .rr-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rr-bottom-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .rr-brand__inner { grid-template-columns: 1fr; gap: 16px; min-height: auto; }
  .rr-logo img, .rr-logo .custom-logo { max-width: 310px; max-height: 125px; }
  .rr-reference-layout { grid-template-columns: 1fr; }
  .rr-reference-left { grid-column: auto; grid-template-columns: 1fr; }
  .rr-reference-left .rr-sidebar-block { grid-column: auto; }
  .rr-reference-right { grid-column: auto; }
  .rr-reference-mini-grid, .rr-reference-band-grid { grid-template-columns: 1fr; }
  .rr-reference-lead { min-height: 335px; }
  .rr-reference-feature, .rr-reference-band { padding: 14px; }
  .rr-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .rr-bottom-columns { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .rr-category-grid { grid-template-columns: 1fr; }
  .rr-reference-lead-copy h2 { font-size: 24px; }
}

/* Portada 1.5.0: mosaico superior, bloque de tres columnas y footer de referencia */
.rr-reference-home > .rr-container > .rr-reference-banner--top { width: min(1140px, 100%); margin: 0 auto 18px; }
.rr-reference-home > .rr-container > .rr-newest { margin-bottom: 22px; }
.rr-reference-home > .rr-container > .rr-newest .rr-newest-heading { margin-bottom: 10px; }
.rr-reference-home > .rr-container > .rr-newest .rr-newest-grid { grid-template-rows: 430px 245px; }
.rr-reference-home > .rr-container > .rr-newest .rr-newest-card--lead,
.rr-reference-home > .rr-container > .rr-newest .rr-newest-card--second { grid-column: span 2; }
.rr-reference-home > .rr-container > .rr-newest .rr-newest-card--lead h2,
.rr-reference-home > .rr-container > .rr-newest .rr-newest-card--second h2 { font-size: clamp(25px, 2.3vw, 38px); }

.rr-reference-feature { position: relative; padding: 0; overflow: hidden; background: transparent; box-shadow: none; }
.rr-reference-feature-controls { position: absolute; z-index: 7; top: 195px; right: 10px; left: 10px; pointer-events: none; }
.rr-reference-feature-controls .rr-carousel-controls { justify-content: space-between; width: 100%; }
.rr-reference-feature-controls button { pointer-events: auto; color: #222; background: rgba(255,255,255,.88); }
.rr-reference-slide { gap: 0; }
.rr-reference-lead { min-height: 430px; }
.rr-reference-section-tab { width: fit-content; min-width: 185px; padding: 12px 28px 12px 18px; margin: 0 0 16px; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); color: #fff; background: linear-gradient(90deg, #0a4da8, #0cafea); font-size: 15px; text-transform: uppercase; }
.rr-reference-mini-grid { padding: 0 0 20px; }
.rr-reference-band { padding: 0; background: transparent; box-shadow: none; }
.rr-reference-band .rr-reference-heading { margin-bottom: 12px; }
.rr-reference-ad--right .rr-ad-placeholder--right-strip { min-height: 90px; padding: 10px; margin: 0; }
.rr-reference-ad--right .rr-ad-placeholder--right-strip strong { font-size: 18px; }
.rr-reference-ad--right .rr-ad-placeholder--right-strip small { display: none; }

.rr-reference-footer { padding: 0; color: #989898; background: #101010; }
.rr-footer-socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; min-height: 135px; padding: 28px 0; border-bottom: 1px solid #292929; }
.rr-footer-social { display: inline-flex; align-items: center; gap: 13px; color: #9d9d9d; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.rr-footer-social i { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; border-radius: 50%; background: #1877f2; font-style: normal; font-size: 18px; }
.rr-footer-social--x i { background: #22b7e8; }
.rr-footer-social--instagram i { background: linear-gradient(135deg, #7149c6, #e64179 55%, #ffb82e); }
.rr-footer-social--youtube i { background: #f10b16; }
.rr-footer-social--tiktok i { background: #ff285a; }
.rr-footer-social:hover { color: #fff; }
.rr-footer-brand { display: grid; place-items: center; min-height: 315px; padding: 48px 0 38px; text-align: center; }
.rr-footer-brand > a { display: block; width: min(350px, 82vw); }
.rr-footer-brand img { width: 100%; max-height: 135px; object-fit: contain; }
.rr-footer-brand p { margin: 24px 0 0; color: #8a8a8a; font-size: 12px; }
.rr-footer-brand .rr-footer-credit { margin-top: 7px; }
.rr-footer-brand .rr-footer-credit a { color: #c1c1c1; }

@media (max-width: 1180px) {
  .rr-reference-home > .rr-container > .rr-newest .rr-newest-grid { grid-template-rows: 370px 220px; }
}

@media (max-width: 900px) {
  .rr-reference-home > .rr-container > .rr-newest .rr-newest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 285px); }
  .rr-reference-home > .rr-container > .rr-newest .rr-newest-card--lead,
  .rr-reference-home > .rr-container > .rr-newest .rr-newest-card--second { grid-column: span 1; }
}

@media (max-width: 720px) {
  .rr-reference-home > .rr-container > .rr-newest .rr-newest-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, 285px); }
  .rr-reference-home > .rr-container > .rr-newest .rr-newest-card--lead,
  .rr-reference-home > .rr-container > .rr-newest .rr-newest-card--second { grid-column: auto; }
  .rr-reference-feature-controls { top: 145px; }
  .rr-reference-lead { min-height: 335px; }
  .rr-footer-socials { gap: 22px; }
  .rr-footer-social { width: 132px; }
  .rr-footer-brand { min-height: 260px; }
}

/* Ajuste 1.5.1: cierre compacto y módulo visual En foco */
.widget_recent_entries, .widget_recent_comments,
.wp-block-latest-posts, .wp-block-latest-comments { display: none !important; }
.rr-focus-module { padding: 24px; margin: 6px 0 28px; background: #fff; border-top: 1px solid #dedede; box-shadow: 0 1px 7px rgba(16,22,50,.08); }
.rr-focus-module > .rr-reference-heading { margin-bottom: 18px; }
.rr-focus-module > .rr-reference-heading > span { color: #777; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.rr-focus-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: 18px; }
.rr-focus-lead { position: relative; min-height: 440px; overflow: hidden; color: #fff; background: #051b3f; }
.rr-focus-lead > .rr-media { position: absolute; inset: 0; background: #051b3f; }
.rr-focus-lead > .rr-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(5,8,24,.95) 100%); }
.rr-focus-lead > .rr-media img { width: 100%; height: 100%; object-fit: contain; }
.rr-focus-lead > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 28px; }
.rr-focus-lead > div > span, .rr-focus-cards article div > span { color: #f4c34e; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.rr-focus-lead h2 { margin: 8px 0; font-size: clamp(25px, 2.5vw, 39px); line-height: 1.12; }
.rr-focus-lead small { color: #dfe4ff; font-size: 10px; text-transform: uppercase; }
.rr-focus-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rr-focus-cards article { display: grid; grid-template-rows: 135px 1fr; min-width: 0; overflow: hidden; background: #f4f6ff; border-bottom: 3px solid #0a4da8; }
.rr-focus-cards .rr-media { aspect-ratio: auto; background: #051b3f; }
.rr-focus-cards .rr-media img { object-fit: contain; }
.rr-focus-cards article > div { padding: 12px; }
.rr-focus-cards h3 { margin: 5px 0 8px; font-size: 13px; line-height: 1.28; }
.rr-focus-cards small { color: #858585; font-size: 9px; text-transform: uppercase; }
.rr-focus-cards article:hover h3 { color: #0a4da8; }
.rr-reference-home { padding-bottom: 0; }
.rr-reference-home + .rr-reference-footer { margin-top: 0; }
.rr-managed-banner { display: block; width: 100%; height: 100%; }
.rr-managed-banner img { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  .rr-focus-grid { grid-template-columns: 1fr; }
  .rr-focus-cards article { grid-template-rows: 170px 1fr; }
}

@media (max-width: 560px) {
  .rr-focus-module { padding: 15px; }
  .rr-focus-module > .rr-reference-heading > span { display: none; }
  .rr-focus-lead { min-height: 340px; }
  .rr-focus-cards { grid-template-columns: 1fr; }
  .rr-focus-cards article { grid-template-columns: 125px minmax(0, 1fr); grid-template-rows: auto; }
}

/* Ajuste 1.5.2: módulo lateral dinámico en lugar de widgets recientes */
.rr-reference-right .widget_recent_entries,
.rr-reference-right .widget_recent_comments,
.rr-reference-right .widget_search,
.rr-reference-right .wp-block-latest-posts,
.rr-reference-right .wp-block-latest-comments,
.rr-reference-right .wp-block-search { display: none !important; }
.rr-sidebar-motion { position: relative; overflow: hidden; margin-top: 22px; color: #fff; background: linear-gradient(145deg, #051b3f 0%, #0756aa 56%, #0a4da8 100%); box-shadow: 0 14px 34px rgba(23,20,65,.22); }
.rr-sidebar-motion__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.16); }
.rr-sidebar-motion__head span { display: block; margin-bottom: 4px; color: #80c8ff; font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.rr-sidebar-motion__head h2 { margin: 0; color: #fff; font-size: 19px; line-height: 1.05; }
.rr-sidebar-motion .rr-carousel-controls { flex: 0 0 auto; }
.rr-sidebar-motion .rr-carousel-controls button { width: 32px; height: 32px; color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.3); }
.rr-sidebar-motion .rr-carousel-controls button:hover { background: #0a4da8; }
.rr-sidebar-motion__track article { animation: rrSidebarStoryIn .48s ease both; }
.rr-sidebar-motion__track .rr-media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #090d22; }
.rr-sidebar-motion__track .rr-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(8,10,30,.48)); }
.rr-sidebar-motion__track .rr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 4.2s ease; }
.rr-sidebar-motion__track article:not([hidden]) .rr-media img { transform: scale(1.055); }
.rr-sidebar-motion__copy { min-height: 168px; padding: 17px 18px 22px; }
.rr-sidebar-motion__copy > span { color: #78c7ff; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rr-sidebar-motion__copy h3 { margin: 8px 0 13px; color: #fff; font-size: 18px; line-height: 1.18; }
.rr-sidebar-motion__copy h3 a { color: inherit; }
.rr-sidebar-motion__copy small { color: #cbd4ff; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.rr-sidebar-motion__pulse { height: 4px; background: rgba(255,255,255,.14); }
.rr-sidebar-motion__pulse span { display: block; width: 100%; height: 100%; transform-origin: left; background: linear-gradient(90deg, #0a4da8, #0cafea); animation: rrSidebarProgress 4.2s linear infinite; }
.rr-sidebar-motion:hover .rr-sidebar-motion__pulse span,
.rr-sidebar-motion:focus-within .rr-sidebar-motion__pulse span { animation-play-state: paused; }
@keyframes rrSidebarStoryIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes rrSidebarProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .rr-sidebar-motion__track .rr-media { aspect-ratio: 16 / 7; }
  .rr-sidebar-motion__copy { min-height: 130px; }
}

/* Identidad editorial Cholula Ciudadana */
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 6% 10%, rgba(244,195,78,.13), transparent 24%), radial-gradient(circle at 94% 24%, rgba(12,175,234,.12), transparent 26%); }
.rr-topbar { background: #041630; }
.rr-topbar__inner { min-height: 44px; }
.rr-topbar__date { flex: 0 0 auto; color: #c8dcf5; font-weight: 700; white-space: nowrap; }
.rr-ticker__label { background: var(--rr-gold); color: #051b3f; }
.rr-brand { position: relative; overflow: hidden; background: #051b3f; }
.rr-brand::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(30deg, transparent 0 46%, #fff 47% 48%, transparent 49% 100%); background-size: 36px 36px; }
.rr-brand__inner { position: relative; z-index: 1; grid-template-columns: minmax(300px, 410px) minmax(0, 1fr); min-height: 210px; }
.rr-logo img, .rr-logo .custom-logo { width: 100%; max-width: 390px; max-height: 145px; }
.rr-nav { background: linear-gradient(90deg, var(--rr-red-dark), var(--rr-red)); }
.rr-nav a:hover, .rr-nav .current-menu-item > a { color: #051b3f; background: var(--rr-gold); }
.rr-search-link { color: #fff; }
.rr-reference-home { position: relative; }
.rr-reference-banner--top { margin-top: 24px; border-radius: 0 0 18px 18px; overflow: hidden; box-shadow: 0 16px 34px rgba(5,27,63,.12); }
.rr-newest { margin-top: 28px; }
.rr-newest-heading h1, .rr-reference-heading h2, .rr-reference-section-tab, .rr-category-shelf > .rr-reference-heading h2 { color: var(--rr-red); }
.rr-reference-section-tab::after, .rr-reference-heading h2::after { background: var(--rr-gold); }
.rr-newest-card, .rr-reference-feature, .rr-sidebar-block, .rr-category-shelf, .rr-focus-module, .rr-community-card { border-radius: 14px; box-shadow: 0 10px 28px rgba(5,27,63,.08); }
.rr-newest-card { overflow: hidden; }
.rr-newest-card .rr-media img, .rr-reference-lead .rr-media img, .rr-reference-mini-grid .rr-media img, .rr-reference-band-grid .rr-media img, .rr-category-grid .rr-media img { transition: transform .45s ease, filter .45s ease; }
.rr-newest-card:hover .rr-media img, .rr-reference-lead:hover .rr-media img, .rr-reference-mini-grid article:hover img, .rr-reference-band-grid article:hover img, .rr-category-grid article:hover img { transform: scale(1.035); filter: saturate(1.08); }
.rr-kicker, .rr-reference-lead-copy > span, .rr-category-grid article > span { background: var(--rr-accent); color: #fff; }
.rr-reference-layout { grid-template-columns: 280px minmax(0, 1fr) 310px; gap: 24px; }
.rr-community-card { color: #fff; background: linear-gradient(145deg, #051b3f, #0868c7); }
.rr-community-card a { color: #051b3f; background: var(--rr-gold); }
.rr-carousel-controls button { color: #051b3f; background: linear-gradient(135deg, var(--rr-gold), #f3d37a); }
.rr-carousel-controls button:hover, .rr-carousel-controls button:focus-visible { background: var(--rr-accent); color: #fff; outline-color: var(--rr-gold); }
.rr-sidebar-motion { background: linear-gradient(145deg, #051b3f 0%, #0756aa 58%, #0a4da8 115%); box-shadow: 0 16px 36px rgba(5,27,63,.22); }
.rr-sidebar-motion__head span, .rr-sidebar-motion__copy > span { color: var(--rr-gold); }
.rr-sidebar-motion__pulse span { background: linear-gradient(90deg, var(--rr-gold), var(--rr-accent)); }
.rr-ad-placeholder { background: linear-gradient(135deg, #051b3f, #0868c7 58%, #0a4da8); }
.rr-ad-placeholder--wide { background: linear-gradient(120deg, #051b3f, #0868c7 55%, #0a4da8); }
.rr-focus-lead, .rr-focus-lead > .rr-media { background: #051b3f; }
.rr-focus-lead > div > span, .rr-focus-cards article div > span { color: var(--rr-gold); }
.rr-focus-cards article { background: #f3f8ff; border-bottom-color: var(--rr-accent); }
.rr-focus-cards article:hover h3 { color: var(--rr-red); }
.rr-reference-footer, .rr-footer { background: #041630; color: #c8dcf5; }
.rr-footer-social { border-color: rgba(244,195,78,.28); }
.rr-footer-credit a { color: var(--rr-gold); }
.rr-managed-banner img, .rr-ad img { object-fit: contain; }
.rr-archive-card, .rr-article, .rr-sidebar { border-radius: 14px; box-shadow: 0 8px 24px rgba(5,27,63,.08); }

@media (max-width: 1100px) {
  .rr-reference-layout { grid-template-columns: 235px minmax(0, 1fr); }
  .rr-reference-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 720px) {
  .rr-topbar__date { display: none; }
  .rr-brand__inner { grid-template-columns: 1fr; }
  .rr-logo img, .rr-logo .custom-logo { max-width: 330px; }
  .rr-reference-layout, .rr-reference-right { grid-template-columns: 1fr; }
  .rr-reference-right { grid-column: auto; }
}

/* Portada 1.0.1: columnas continuas sin grandes espacios vacíos */
.rr-sidebar-news-list,
.rr-center-stream { padding: 20px; background: #fff; border-radius: 14px; box-shadow: 0 10px 28px rgba(5,27,63,.08); }
.rr-sidebar-news-list h2 { margin: 0 0 16px; color: var(--rr-red); font-size: 21px; line-height: 1.1; }
.rr-sidebar-news-list article { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--rr-line); }
.rr-sidebar-news-list article:first-of-type { padding-top: 0; border-top: 0; }
.rr-sidebar-news-list .rr-media { display: block; width: 86px; aspect-ratio: 16/10; overflow: hidden; background: #051b3f; }
.rr-sidebar-news-list .rr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rr-sidebar-news-list article:hover img { transform: scale(1.045); }
.rr-sidebar-news-list article span { color: var(--rr-accent); font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.rr-sidebar-news-list h3 { margin: 4px 0 7px; font-size: 12px; line-height: 1.28; }
.rr-sidebar-news-list small { color: var(--rr-muted); font-size: 8px; text-transform: uppercase; }
.rr-sidebar-news-list--recent { border-top: 4px solid var(--rr-gold); }
.rr-center-stream { margin-top: 22px; }
.rr-center-stream > .rr-reference-heading { margin-bottom: 18px; }
.rr-center-stream-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.rr-center-stream-grid article { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 14px; min-width: 0; padding-bottom: 18px; border-bottom: 1px solid var(--rr-line); }
.rr-center-stream-grid .rr-media { display: block; width: 150px; aspect-ratio: 16/10; overflow: hidden; background: #051b3f; }
.rr-center-stream-grid .rr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rr-center-stream-grid article:hover img { transform: scale(1.04); }
.rr-center-stream-grid article span { color: var(--rr-accent); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.rr-center-stream-grid h3 { margin: 5px 0 8px; font-size: 14px; line-height: 1.25; }
.rr-center-stream-grid small { color: var(--rr-muted); font-size: 8px; text-transform: uppercase; }

@media (max-width: 1260px) {
  .rr-center-stream-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rr-sidebar-news-list { padding: 16px; }
  .rr-center-stream-grid { grid-template-columns: 1fr; }
  .rr-center-stream-grid article { grid-template-columns: 120px minmax(0,1fr); }
  .rr-center-stream-grid .rr-media { width: 120px; }
}
@media (max-width: 460px) {
  .rr-center-stream-grid article { grid-template-columns: 1fr; }
  .rr-center-stream-grid .rr-media { width: 100%; }
}

/* Portada 1.0.2: columnas completas y directorios visuales */
.rr-explore-card {
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(5,27,63,.08);
}
.rr-explore-card__head {
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, #051b3f, #0868c7 66%, #0cafea);
}
.rr-explore-card__head span {
  display: block;
  margin-bottom: 5px;
  color: var(--rr-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.rr-explore-card__head h2 { margin: 0; font-size: 23px; line-height: 1.05; }
.rr-explore-card__group { padding: 18px 20px; border-top: 1px solid var(--rr-line); }
.rr-explore-card__group h3 {
  margin: 0 0 11px;
  color: var(--rr-red);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rr-explore-card__group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.rr-explore-card__group li { margin: 0; }
.rr-explore-card__group a {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 10px;
  color: #183039;
  background: #f3f7f6;
  border: 1px solid #dbe8e5;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}
.rr-explore-card__group a:hover,
.rr-explore-card__group a:focus-visible { color: #fff; background: var(--rr-accent); border-color: var(--rr-accent); }

/* Los widgets de archivo y categorías forman un solo módulo editorial. */
.rr-reference-ad--right {
  display: grid;
  gap: 14px;
}
.rr-reference-ad--right .rr-ad-widget,
.rr-reference-ad--right .widget,
.rr-reference-ad--right .widget_block {
  min-width: 0;
  padding: 19px;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2ece9;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(5,27,63,.08);
}
.rr-reference-ad--right .rr-ad-widget:has(.rr-managed-banner),
.rr-reference-ad--right .rr-ad-widget:has(img) { padding: 0; border: 0; }
.rr-reference-ad--right h2,
.rr-reference-ad--right h3,
.rr-reference-ad--right .widget-title,
.rr-reference-ad--right .wp-block-heading {
  position: relative;
  padding: 0 0 12px 15px;
  margin: 0 0 14px;
  color: #051b3f;
  border-bottom: 1px solid #e2ece9;
  font-size: 19px;
  line-height: 1.1;
}
.rr-reference-ad--right h2::before,
.rr-reference-ad--right h3::before,
.rr-reference-ad--right .widget-title::before,
.rr-reference-ad--right .wp-block-heading::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 12px;
  left: 0;
  width: 5px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--rr-gold), var(--rr-accent));
}
.rr-reference-ad--right ul,
.rr-reference-ad--right .wp-block-archives,
.rr-reference-ad--right .wp-block-categories-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.rr-reference-ad--right .widget_categories ul,
.rr-reference-ad--right .wp-block-categories-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rr-reference-ad--right li { min-width: 0; margin: 0; }
.rr-reference-ad--right li::marker { content: ""; }
.rr-reference-ad--right li a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  color: #183039;
  background: #f3f7f6;
  border-left: 3px solid var(--rr-gold);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.18;
}
.rr-reference-ad--right .widget_archive li a,
.rr-reference-ad--right .wp-block-archives li a {
  justify-content: space-between;
  border-left-color: var(--rr-accent);
}
.rr-reference-ad--right li a:hover,
.rr-reference-ad--right li a:focus-visible { color: #fff; background: #051b3f; border-left-color: var(--rr-accent); }

/* Evita que un bloque corto deje una pared blanca antes del siguiente módulo. */
.rr-reference-center,
.rr-reference-left,
.rr-reference-right { align-content: start; }
.rr-center-stream:last-child { margin-bottom: 0; }

@media (max-width: 1180px) {
  .rr-reference-ad--right .widget_categories ul,
  .rr-reference-ad--right .wp-block-categories-list { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .rr-reference-ad--right { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .rr-reference-ad--right { grid-template-columns: 1fr; }
  .rr-reference-ad--right .widget_categories ul,
  .rr-reference-ad--right .wp-block-categories-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .rr-reference-ad--right .widget_categories ul,
  .rr-reference-ad--right .wp-block-categories-list { grid-template-columns: 1fr; }
}

/* Portada 1.0.3: menos notas centrales y laterales visualmente continuos. */
@media (min-width: 1101px) {
  .rr-reference-left { align-self: stretch; }
  .rr-reference-left > .rr-explore-card {
    position: sticky;
    top: 88px;
  }
}

/* Portada 1.0.4: banner de cierre para ocupar el espacio entre columnas. */
.rr-reference-fill-ad {
  display: grid;
  min-height: 360px;
  margin-top: 24px;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(5,27,63,.08);
}
.rr-reference-fill-ad .rr-ad-widget,
.rr-reference-fill-ad .rr-managed-banner,
.rr-reference-fill-ad > img { display: block; width: 100%; height: 100%; margin: 0; }
.rr-reference-fill-ad img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rr-ad-placeholder--closing {
  min-height: 360px;
  margin: 0;
  background: linear-gradient(125deg, #051b3f 0%, #0868c7 52%, #0a4da8 100%);
}
.rr-ad-placeholder--closing strong { max-width: 760px; font-size: clamp(30px, 4vw, 58px); line-height: 1; }
.rr-ad-placeholder--closing small { color: rgba(255,255,255,.78); }
@media (max-width: 1180px) {
  .rr-reference-fill-ad,
  .rr-ad-placeholder--closing { min-height: 290px; }
}
@media (max-width: 720px) {
  .rr-reference-fill-ad,
  .rr-ad-placeholder--closing { min-height: 210px; }
}

/* Identidad 1.0.5: logotipo circular, fotografías y paleta azul. */
.rr-brand {
  background: radial-gradient(circle at 18% 20%, #0b57b5 0, #051b3f 34%, #020b1b 100%);
}
.rr-brand::after {
  opacity: .1;
  background-image: radial-gradient(circle at 20% 25%, rgba(12,175,234,.5), transparent 28%), linear-gradient(30deg, transparent 0 46%, rgba(255,255,255,.18) 47% 48%, transparent 49% 100%);
}
.rr-brand__inner { grid-template-columns: 250px minmax(0, 1fr); min-height: 225px; }
.rr-logo img,
.rr-logo .custom-logo { width: 185px; height: 185px; max-width: 185px; max-height: 185px; object-fit: contain; }
.rr-nav { background: linear-gradient(90deg, #051b3f, #0a4da8 58%, #0cafea); }
.rr-reference-home { background: #f8fbff; }
.rr-footer-brand > a { width: min(190px, 62vw); }
.rr-footer-brand img { width: 100%; max-height: 185px; object-fit: contain; }
.rr-reference-ad--right li a { color: #11243a; background: #f1f7ff; }
@media (max-width: 720px) {
  .rr-brand__inner { grid-template-columns: 1fr; min-height: auto; }
  .rr-logo img,
  .rr-logo .custom-logo { width: 155px; height: 155px; max-width: 155px; max-height: 155px; }
}
