/*
Theme Name: RBFootball
Theme URI: https://tgcazino.com/
Author: RBFOOTBALL
Description: Дочерняя блочная тема для футбольного новостного портала RBFOOTBALL на базе Twenty Twenty-Five. Содержит кастомные паттерны, шаблоны для записей, рубрик и типа записей «События».
Template: twentytwentyfive
Version: 2.0.0
Requires at least: 6.6
Text Domain: rbfootball
License: GNU General Public License v2 or later
*/

/* ---------- Базовые мелочи ---------- */
:root { --rb-radius: 10px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { text-underline-offset: 0.18em; }
img { height: auto; }
.wp-site-blocks { padding-top: 0; }

/* ---------- Шапка ---------- */
.rb-header { position: sticky; top: 0; z-index: 50; }
.rb-header .wp-block-navigation a { text-decoration: none; }
.rb-header .wp-block-navigation__submenu-container { border: 1px solid rgba(255,255,255,.08) !important; border-radius: 8px; padding: 6px 0; min-width: 220px !important; }
.rb-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent); }
.rb-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.rb-logo svg { width: 36px; height: 36px; flex: none; }
.rb-logo__word { font-family: var(--wp--preset--font-family--oswald); font-weight: 700; font-size: 22px; letter-spacing: .04em; line-height: 1; }
.rb-logo__word span { color: var(--wp--preset--color--accent); }
.rb-ticker { font-size: 13px; }
.rb-ticker a { color: inherit; }

/* ---------- Хлебные крошки ---------- */
.rb-breadcrumbs { font-size: 14px; color: var(--wp--preset--color--muted); }
.rb-breadcrumbs a { color: var(--wp--preset--color--muted); text-decoration: none; }
.rb-breadcrumbs a:hover { color: var(--wp--preset--color--pitch); text-decoration: underline; }
.rb-breadcrumbs .breadcrumb_last { color: var(--wp--preset--color--contrast); }

/* ---------- Карточки записей ---------- */
.rb-card { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--rb-radius); overflow: hidden; height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.rb-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,27,20,.10); }
.rb-card .wp-block-post-featured-image { margin: 0; }
.rb-card .wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.rb-card .wp-block-post-title a { text-decoration: none; }
.rb-card .wp-block-post-title a:hover { color: var(--wp--preset--color--pitch); }
.rb-cat a, .taxonomy-category.rb-cat a { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--wp--preset--color--pitch); }
.rb-cat .wp-block-post-terms__separator { color: var(--wp--preset--color--muted); }
.rb-meta { font-size: 13px; color: var(--wp--preset--color--muted); }
.wp-block-post-template.is-layout-grid { align-items: stretch; }
.wp-block-post-template > li { height: 100%; }

/* Крупная карточка на главной */
.rb-lead .wp-block-post-featured-image img { aspect-ratio: 16/10; }

/* ---------- Секции ---------- */
.rb-section-title { display: flex; align-items: center; gap: 12px; }
.rb-section-title::before { content: ""; width: 6px; height: 1.1em; background: var(--wp--preset--color--accent); border-radius: 2px; }
.rb-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Таблицы ---------- */
.wp-block-table table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; background: var(--wp--preset--color--surface); }
.wp-block-table th { background: var(--wp--preset--color--night); color: #fff; font-weight: 600; text-align: left; }
.wp-block-table th, .wp-block-table td { padding: 10px 12px; border: 1px solid var(--wp--preset--color--border); }
.wp-block-table tbody tr:nth-child(even) td { background: #F7F8F5; }
.wp-block-table figcaption { font-size: 13px; color: var(--wp--preset--color--muted); }

/* ---------- Карточка услуги / факт ---------- */
.rb-service-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.rb-fact { text-align: center; }
.rb-fact .rb-fact__num { font-family: var(--wp--preset--font-family--oswald); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--wp--preset--color--pitch); }
.rb-team img { aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; }
.rb-quote { height: 100%; }

/* ---------- События ---------- */
.rb-event-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rb-event-meta li { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: 8px; padding: 12px 14px; }
.rb-event-meta b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--wp--preset--color--muted); font-weight: 600; margin-bottom: 4px; }

/* ---------- Формы CF7 ---------- */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea, .wpcf7 select { width: 100%; padding: 12px 14px; border: 1px solid var(--wp--preset--color--border); border-radius: 8px; font: inherit; background: #fff; box-sizing: border-box; }
.wpcf7 input[type=submit] { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--night); border: 0; border-radius: 8px; padding: 12px 22px; font-weight: 700; cursor: pointer; }
.wpcf7 input[type=submit]:hover { filter: brightness(.95); }
.wpcf7 p { margin: 0 0 14px; }

/* ---------- Подвал ---------- */
.rb-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.rb-footer a:hover { color: var(--wp--preset--color--accent); }
.rb-footer .wp-block-navigation { --navigation-layout-direction: column; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 781px) {
  .rb-hide-mobile { display: none !important; }
  .rb-logo__word { font-size: 19px; }
}

/* =================== V2: новостной дизайн =================== */
:root { --rb-radius: 4px; --rb-red: #E4202F; }
body { background: var(--wp--preset--color--base); }
.rb-header { position: relative; box-shadow: 0 1px 0 var(--wp--preset--color--border); }
.rb-logo { color: var(--wp--preset--color--contrast); }
.rb-logo svg { width: 40px; height: 40px; }
.rb-logo__word { font-size: 26px; letter-spacing: .02em; }
.rb-logo__word span { color: var(--rb-red); }
.rb-footer .rb-logo { color: #fff; }
.rb-today { margin: 0; font-size: 13px; color: var(--wp--preset--color--muted); text-transform: capitalize; }
.rb-toplinks { margin: 0; font-size: 13px; font-weight: 600; display: flex; gap: 16px; }
.rb-toplinks a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.rb-toplinks a:hover { color: var(--rb-red); }
.rb-search .wp-block-search__inside-wrapper { border: 1px solid var(--wp--preset--color--border) !important; border-radius: 4px; padding: 0 !important; background: #F6F7F9; }
.rb-search input { border: 0 !important; background: transparent; font-size: 14px; padding: 8px 12px !important; width: 190px; }
.rb-search .wp-block-search__button { background: var(--rb-red) !important; color: #fff !important; border-radius: 0 3px 3px 0 !important; margin: 0 !important; padding: 8px 12px !important; }

/* Полоса меню */
.rb-navbar { border-bottom: 3px solid var(--rb-red); }
.rb-nav { font-family: var(--wp--preset--font-family--oswald); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.rb-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 13px 16px; display: block; color: #fff; }
.rb-nav .wp-block-navigation__container > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content { padding-left: 0; }
.rb-nav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.rb-nav .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content { color: #fff; background: var(--rb-red); }
.rb-nav .wp-block-navigation__container > .wp-block-navigation-item:first-child:hover > .wp-block-navigation-item__content { background: transparent; color: #ff8c94; }
.rb-nav .wp-block-navigation__submenu-icon { margin-left: -10px; margin-right: 10px; color: #fff; }
/* Выпадающее меню (десктоп) */
@media (min-width: 600px) {
  .rb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
    background: #fff !important; color: var(--wp--preset--color--contrast) !important;
    border: 0 !important; border-top: 3px solid var(--rb-red) !important; border-radius: 0 0 4px 4px !important;
    box-shadow: 0 14px 32px rgba(16,19,24,.18); padding: 6px 0 !important; min-width: 230px !important;
    top: 100% !important; left: 0 !important; margin-top: 0 !important;
    font-family: var(--wp--preset--font-family--inter); text-transform: none; letter-spacing: 0; font-size: 15px;
  }
  .rb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 9px 18px !important; color: var(--wp--preset--color--contrast) !important; font-weight: 500; border-left: 3px solid transparent; display: block; width: 100%;
  }
  .rb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: #F3F4F6; color: var(--rb-red) !important; border-left-color: var(--rb-red);
  }
}
.rb-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.rb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 8px 0 !important; }

/* Строка «Главное» */
.rb-breaking { padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--wp--preset--color--border); overflow: hidden; }
.rb-breaking__label { margin: 0; flex: none; background: var(--rb-red); color: #fff; font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; padding: 3px 10px; border-radius: 2px; }
.rb-breaking__list { min-width: 0; }
.rb-breaking__list .wp-block-post-template { flex-wrap: nowrap !important; gap: 0 !important; overflow: hidden; white-space: nowrap; }
.rb-breaking__item { margin: 0; font-family: var(--wp--preset--font-family--inter) !important; font-size: 14px !important; font-weight: 600; text-transform: none; letter-spacing: 0; }
.rb-breaking__list li + li .rb-breaking__item::before { content: "•"; color: var(--rb-red); margin: 0 12px; }
.rb-breaking__item a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.rb-breaking__item a:hover { color: var(--rb-red); }

/* Карточки и заголовки секций */
.rb-card { border-radius: var(--rb-radius); border: 0; box-shadow: 0 1px 2px rgba(16,19,24,.06); }
.rb-card:hover { transform: none; box-shadow: 0 6px 20px rgba(16,19,24,.12); }
.rb-card .wp-block-post-title a:hover, .rb-list .wp-block-post-title a:hover { color: var(--rb-red); }
.rb-card .wp-block-post-featured-image { overflow: hidden; }
.rb-card .wp-block-post-featured-image img { transition: transform .35s ease; }
.rb-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.rb-cat a { color: var(--rb-red) !important; font-size: 11px; }
.rb-section-title { font-size: clamp(1.35rem, 2vw, 1.7rem) !important; text-transform: uppercase; letter-spacing: .03em; border-bottom: 2px solid var(--wp--preset--color--contrast); padding-bottom: 8px; margin-bottom: 18px !important; }
.rb-section-title::before { width: 10px; height: 10px; border-radius: 0; background: var(--rb-red); }

/* Главный материал */
.rb-lead .wp-block-post-template > li { position: relative; }
.rb-lead .rb-lead__item { position: relative; border-radius: var(--rb-radius); overflow: hidden; background: #000; }
.rb-lead .wp-block-post-featured-image { margin: 0; }
.rb-lead .wp-block-post-featured-image img { aspect-ratio: 16/10; object-fit: cover; width: 100%; opacity: .92; }
.rb-lead .rb-lead__body { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(transparent, rgba(0,0,0,.88) 45%); color: #fff; pointer-events: none; }
.rb-lead .rb-lead__body a { pointer-events: auto; color: #fff; text-decoration: none; }
.rb-lead .rb-cat a { background: var(--rb-red); color: #fff !important; padding: 3px 8px; border-radius: 2px; }
.rb-lead .wp-block-post-excerpt { color: rgba(255,255,255,.85); }
/* Лента новостей (колонка) */
.rb-feed { background: #fff; border-radius: var(--rb-radius); padding: 18px 20px; height: 100%; box-sizing: border-box; }
.rb-feed__title { margin: 0 0 6px; font-family: var(--wp--preset--font-family--oswald); text-transform: uppercase; font-size: 18px; border-bottom: 2px solid var(--rb-red); padding-bottom: 8px; }
.rb-feed .wp-block-post-template > li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--wp--preset--color--border); margin: 0; }
.rb-feed .wp-block-post-template > li:last-child { border-bottom: 0; }
.rb-feed .wp-block-post-date { font-size: 13px; font-weight: 700; color: var(--rb-red); }
.rb-feed .wp-block-post-title { margin: 0; font-family: var(--wp--preset--font-family--inter) !important; font-size: 15px !important; font-weight: 600; line-height: 1.35; text-transform: none; }
.rb-feed .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.rb-feed .wp-block-post-title a:hover { color: var(--rb-red); }
/* Список с миниатюрой */
.rb-list .wp-block-post-template > li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; padding: 12px; background: #fff; border-radius: var(--rb-radius); margin-bottom: 10px; }
.rb-list .wp-block-post-featured-image { margin: 0; }
.rb-list .wp-block-post-featured-image img { aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.rb-list .wp-block-post-title { margin: 2px 0 4px; font-family: var(--wp--preset--font-family--inter) !important; font-size: 16px !important; font-weight: 700; line-height: 1.3; text-transform: none; }
.rb-list .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }

/* CTA и кнопки на красном */
.has-accent-background-color, .has-accent-background-color.has-night-color, .has-accent-background-color .has-night-color { color: #fff !important; }
.has-accent-background-color .wp-element-button { background: #101318 !important; color: #fff !important; }
.wpcf7 input[type=submit] { color: #fff; border-radius: 4px; }
.rb-fact .rb-fact__num { color: var(--rb-red); }
.wp-block-table th { background: #14171C; }
.rb-photo-credit { font-size: 12px !important; color: var(--wp--preset--color--muted); }
.rb-photo-credit a { color: inherit; }
/* Статья */
.single .wp-block-post-title { text-transform: none; }
.single .wp-block-post-content > p:first-of-type { font-size: 1.12em; }
@media (max-width: 781px) {
  .rb-logo__word { font-size: 21px; }
  .rb-search input { width: 120px; }
  .rb-lead .rb-lead__body { position: static; background: #14171C; padding: 18px; }
  .rb-list .wp-block-post-template > li { grid-template-columns: 96px 1fr; }
  .rb-breaking__item { font-size: 13px !important; }
}

/* =================== V2.1: правки =================== */
.wp-block-post-title a, .rb-card .wp-block-post-title a { color: var(--wp--preset--color--contrast); }
.rb-lead .wp-block-post-title a { color: #fff; }
.rb-breaking__list li + li .rb-breaking__item::before { content: none; }
.rb-breaking__list .wp-block-post-template > li { flex: 1 1 0; min-width: 0; padding: 0 14px; border-left: 2px solid var(--rb-red); }
.rb-breaking__list .wp-block-post-template > li:first-child { border-left: 0; padding-left: 0; }
.rb-breaking__item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-breaking .wp-block-group { align-items: center; }
.rb-card > .wp-block-group { flex: 1; }
.rb-card .wp-block-post-date { margin-top: auto; }
.wp-block-buttons .is-style-outline .wp-element-button { border: 2px solid var(--wp--preset--color--contrast); color: var(--wp--preset--color--contrast); background: transparent; border-radius: 4px; }
.wp-block-buttons .is-style-outline .wp-element-button:hover { background: var(--wp--preset--color--contrast); color: #fff; }
.rb-footer .rb-logo__word span { color: var(--rb-red); }
@media (max-width: 781px) {
  .rb-breaking__list .wp-block-post-template > li:nth-child(n+2) { display: none; }
  .rb-toplinks, .rb-today { display: none; }
}

/* =================== V3: тёмная тема =================== */
:root { --rb-bg: #0E1116; --rb-card: #161A21; --rb-card-2: #1C212A; --rb-line: #272D37; --rb-text: #E8EBF0; --rb-muted: #9AA3B2; }
body { background: var(--rb-bg); color: var(--rb-text); }
.has-surface-background-color, .rb-topbar, .rb-breaking { background-color: var(--rb-card) !important; }
.rb-header { box-shadow: 0 1px 0 var(--rb-line); }
.rb-topbar { border-bottom: 1px solid var(--rb-line); }
.rb-breaking { border-bottom-color: var(--rb-line); }
.rb-logo, .rb-toplinks a, .rb-breaking__item a, .rb-feed .wp-block-post-title a, .rb-list .wp-block-post-title a,
.wp-block-post-title a, .rb-card .wp-block-post-title a { color: var(--rb-text); }
.rb-today, .rb-meta, .rb-photo-credit { color: var(--rb-muted); }
.rb-search .wp-block-search__inside-wrapper { background: var(--rb-card-2); border-color: var(--rb-line) !important; }
.rb-search input { color: var(--rb-text); }
.rb-search input::placeholder { color: var(--rb-muted); }
.rb-navbar { background: #090B0F !important; }
.rb-card, .rb-feed, .rb-list .wp-block-post-template > li, .rb-event-meta li { background: var(--rb-card) !important; border-color: var(--rb-line) !important; box-shadow: none; }
.rb-card { border: 1px solid var(--rb-line); }
.rb-card:hover { border-color: #3a414d; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.rb-feed .wp-block-post-template > li { border-bottom-color: var(--rb-line); }
.rb-section-title { border-bottom-color: var(--rb-line) !important; color: var(--rb-text); }
@media (min-width: 600px) {
  .rb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container { background: var(--rb-card) !important; border: 1px solid var(--rb-line) !important; border-top: 3px solid var(--rb-red) !important; box-shadow: 0 16px 36px rgba(0,0,0,.55); }
  .rb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--rb-text) !important; }
  .rb-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--rb-card-2); }
}
.wp-block-table table { background: var(--rb-card); }
.wp-block-table th { background: #090B0F; }
.wp-block-table td, .wp-block-table th { border-color: var(--rb-line); }
.wp-block-table tbody tr:nth-child(even) td { background: var(--rb-card-2); }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea, .wpcf7 select { background: var(--rb-card-2); color: var(--rb-text); border-color: var(--rb-line); }
.wp-block-buttons .is-style-outline .wp-element-button { border-color: var(--rb-text); color: var(--rb-text); }
.wp-block-buttons .is-style-outline .wp-element-button:hover { background: var(--rb-text); color: #0E1116; }
a { color: #FF4D5B; }
blockquote, .wp-block-quote { border-left-color: var(--rb-red) !important; }

/* Главный материал на всю высоту колонки — без пустого места */
.rb-lead-row > .wp-block-column { display: flex; flex-direction: column; }
.rb-lead-row .rb-lead, .rb-lead-row .rb-lead .wp-block-post-template, .rb-lead-row .rb-lead .wp-block-post-template > li,
.rb-lead-row .rb-lead__item, .rb-lead-row .rb-lead .wp-block-post-featured-image, .rb-lead-row .rb-lead .wp-block-post-featured-image a { flex: 1; height: 100%; display: flex; flex-direction: column; margin: 0; }
.rb-lead-row .rb-lead .wp-block-post-featured-image img { height: 100% !important; min-height: 420px; aspect-ratio: auto !important; flex: 1; }
.rb-lead .rb-lead__body { background: linear-gradient(transparent, rgba(0,0,0,.92) 40%); }

/* CTA */
.rb-cta { background: var(--rb-card); border: 1px solid var(--rb-line); border-left: 6px solid var(--rb-red); border-radius: 6px; padding: 36px 40px !important; margin-top: 56px !important; margin-bottom: 56px !important; }
.rb-cta__kicker { margin: 0; color: var(--rb-red); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.rb-cta__title { margin: 6px 0 8px !important; font-size: clamp(1.7rem, 3vw, 2.4rem) !important; color: var(--rb-text); }
.rb-cta__text { margin: 0; color: var(--rb-muted); }
.rb-cta__buttons { gap: 12px !important; }
.rb-cta__buttons .wp-element-button { display: block; text-align: center; padding: 14px 20px !important; border-radius: 4px !important; font-weight: 700; border: 2px solid var(--rb-red) !important; }
.rb-btn-primary .wp-element-button { background: var(--rb-red) !important; color: #fff !important; }
.rb-btn-primary .wp-element-button:hover { background: #c4101e !important; }
.rb-btn-ghost .wp-element-button { background: transparent !important; color: var(--rb-text) !important; border-color: #3a414d !important; }
.rb-btn-ghost .wp-element-button:hover { border-color: var(--rb-text) !important; }
/* События на главной */
.rb-events .rb-card .wp-block-post-excerpt { color: var(--rb-muted); font-size: 14px; }
.rb-event-date { color: var(--rb-red); font-weight: 700; font-size: 13px; text-transform: uppercase; }
@media (max-width: 781px) { .rb-cta { padding: 26px 22px !important; } .rb-lead-row .rb-lead .wp-block-post-featured-image img { min-height: 240px; } }

/* =================== V3.1: бегущая строка «Главное» =================== */
.rb-breaking__list { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.rb-breaking__list .wp-block-post-template { display: inline-flex !important; width: max-content !important; overflow: visible !important; padding-left: 100% !important; animation: rb-marquee 45s linear infinite; }
.rb-breaking__list:hover .wp-block-post-template { animation-play-state: paused; }
.rb-breaking__list .wp-block-post-template > li { flex: none !important; padding: 0 22px !important; }
.rb-breaking__list .wp-block-post-template > li:first-child { padding-left: 0 !important; }
.rb-breaking__item { overflow: visible !important; text-overflow: clip !important; }
@keyframes rb-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 781px) { .rb-breaking__list .wp-block-post-template > li:nth-child(n+2) { display: list-item !important; } .rb-breaking__list .wp-block-post-template { animation-duration: 35s; } }

/* V3.2: бесшовная лента */
.rb-breaking__list .wp-block-post-template { padding-left: 0 !important; animation: none; }
.rb-breaking__list.is-ready .wp-block-post-template { animation: rb-marquee2 var(--rb-dur, 60s) linear infinite; }
.rb-breaking__list.is-ready:hover .wp-block-post-template { animation-play-state: paused; }
.rb-breaking__list .wp-block-post-template > li:first-child { padding-left: 22px !important; }
@keyframes rb-marquee2 { from { transform: translateX(0); } to { transform: translateX(-50%); } }
