:root {
  --page-bg: #041609;
  --section-bg: #071d0d;
  --card-bg: #102916;
  --text-main: #f7fff5;
  --text-muted: #a8b5a9;
  --accent-color: #d7b56d;
  --accent-hover: #ffe0a0;
  --aqua-color: #38b34a;
  --aqua-dark: #05220b;
  --card-border: rgba(215, 181, 109, 0.16);
  --button-bg: #314131;
  --button-bg-hover: #3cad4b;
  --button-muted: rgba(247, 255, 245, 0.07);
  --button-text: #f7fff5;
  --panel-bg: rgba(16, 41, 22, 0.82);
  --header-bg: rgba(5, 24, 10, 0.98);
  --header-bg-glass: rgba(5, 24, 10, 0.78);
  --promo-bg: #061c0a;
  --promo-overlay: rgba(4, 22, 9, 0.62);
  --line-color: rgba(215, 181, 109, 0.12);
  --surface-strong: rgba(7, 29, 13, 0.9);
  --surface-soft: rgba(16, 41, 22, 0.62);
  --gold-soft: rgba(215, 181, 109, 0.12);
  --gold-line: rgba(215, 181, 109, 0.22);
  --green-soft: rgba(56, 179, 74, 0.12);
  --green-line: rgba(56, 179, 74, 0.26);
  --light-soft: rgba(247, 255, 245, 0.06);
  --light-line: rgba(247, 255, 245, 0.14);
  --image-bg: #0b230f;
  --radius-media: 5px;
  --radius-button: 5px;
  --radius-card: 10px;
  --container-width: 1680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.35;
}

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

img {
  display: block;
  max-width: 100%;
}

.rio-header__section {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--line-color);
  background: var(--header-bg);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.rio-header__section.is-scrolled {
  border-color: var(--light-line);
  background: var(--header-bg-glass);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.rio-header__container {
  width: min(var(--container-width), calc(100% - 48px));
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-inline: auto;
}

.rio-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
.rio-header__logo  img {max-height:60px;}
.rio-header__logo-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--green-line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(215, 181, 109, 0.95), rgba(56, 179, 74, 0.88));
  color: var(--page-bg);
  font-size: 21px;
  font-weight: 600;
}

.rio-header__nav {
  justify-self: center;
}

.rio-header__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rio-header__menu a,
.rio-header__mobile-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius-button);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rio-header__menu .current-menu-item a,
.rio-header__menu a:hover,
.rio-header__mobile-nav a:hover {
  background: var(--button-muted);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.rio-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.rio-header__register {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-button);
  background: var(--accent-color);
  color: var(--page-bg);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rio-header__register::before {
  content: "";
  position: absolute;
  inset: auto -18% -90%;
  z-index: 0;
  height: 170%;
  border-radius: 48% 52% 0 0;
  background: var(--aqua-color);
  transform: translateY(52%) rotate(-2deg);
  transition: transform 0.42s ease;
}

.rio-header__register:hover::before {
  transform: translateY(-22%) rotate(1deg);
}

.rio-header__register:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-header__register span {
  position: relative;
  z-index: 1;
}

.rio-header__register-icon {
  font-size: 16px;
  line-height: 1;
}
.rio-header__register-icon svg {min-width:16px;}

.rio-header__burger {
  width: 44px;
  height: 44px;
  display: none;
  position: relative;
  padding: 0;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: var(--button-muted);
  cursor: pointer;
}

.rio-header__burger span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.24s ease, opacity 0.24s ease, top 0.24s ease;
}

.rio-header__burger span:nth-child(1) {
  top: 13px;
}

.rio-header__burger span:nth-child(2) {
  top: 20px;
}

.rio-header__burger span:nth-child(3) {
  top: 27px;
}

.rio-header__section.is-open .rio-header__burger span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.rio-header__section.is-open .rio-header__burger span:nth-child(2) {
  opacity: 0;
}

.rio-header__section.is-open .rio-header__burger span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.rio-header__mobile-panel {
  display: none;
}

.page__main {
  min-height: 100vh;
  padding: 24px 0;
}

.rio-main-promo {
  position: relative;
  width: min(var(--container-width), calc(100% - 48px));
  min-height: clamp(330px, 22vw, 520px);
  display: grid;
  align-items: center;
  overflow: hidden;
  margin: 20px auto;
  padding: clamp(16px, 4vw, 18px);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(4, 22, 9, 0.98) 0%, rgba(4, 22, 9, 0.9) 38%, rgba(4, 22, 9, 0.22) 70%),
    radial-gradient(circle at 12% 12%, var(--gold-line), transparent 32%),
    var(--promo-bg);
}

.rio-main-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(4, 22, 9, 0.1), var(--promo-overlay));
  pointer-events: none;
}

.rio-main-promo::after {
  content: "";
  position: absolute;
  inset: 0 0 0 34%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 22, 9, 0.84) 0%, rgba(4, 22, 9, 0.26) 32%, rgba(4, 22, 9, 0.08) 100%),
    url("../../images/mainbonus.png") right center / contain no-repeat;
  pointer-events: none;
}

.rio-main-promo__content {
  position: relative;
  z-index: 1;
  max-width: auto;
}

.rio-main-promo__label {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--aqua-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.rio-main-promo__title {
  max-width: 560px;
  margin: 0;
  color: var(--text-main);
      font-size: clamp(36px, 2.2vw, 76px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.rio-main-promo__text {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.55;
}

.rio-main-promo__button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 0 24px;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-button);
  background: var(--accent-color);
  color: var(--page-bg);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rio-main-promo__button::before {
  content: "";
  position: absolute;
  inset: auto -18% -90%;
  z-index: 0;
  height: 170%;
  border-radius: 48% 52% 0 0;
  background: var(--aqua-color);
  transform: translateY(52%) rotate(-2deg);
  transition: transform 0.42s ease;
}

.rio-main-promo__button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(247, 255, 245, 0.48) 42%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.62s ease;
}

.rio-main-promo__button:hover::before {
  transform: translateY(-22%) rotate(1deg);
}

.rio-main-promo__button:hover::after {
  transform: translateX(130%);
}

.rio-main-promo__button:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-main-promo__button > span {
  position: relative;
  z-index: 1;
}

.rio-news__section {
  width: min(var(--container-width), calc(100% - 48px));
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--section-bg);
  margin-top:20px;
}
.rio-site__inner h1:first-child,
.container__insert_space h1:first-child {margin-top:0;}
.container__insert_space p:has(> a:only-child) {text-align: center;}
.container__insert_space p:has(> a:only-child) a {position: relative; isolation: isolate; overflow: hidden; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--accent-color); border-radius: var(--radius-button); background: var(--accent-color); color: var(--page-bg); font-size: 15px; font-weight: 500; transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease; text-decoration:none;}
.container__insert_space p:has(> a:only-child) a:hover {border-color: var(--aqua-color); background: var(--aqua-color); color: var(--aqua-dark); transform: translateY(-1px);}
.rio-news__container {
  min-width: 0;
}

.rio-news__container .rio-section-title {
  margin-bottom: 26px;
}

.rio-section-title {
  margin: 0 0 22px;
  color: var(--text-main);
  font-size: clamp(28px, 2.2vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.rio-news__portal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rio-news__portal-item {
  min-width: 0;
}

.rio-news__card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--card-bg);
}

.rio-news__media-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--image-bg);
}

.rio-news__media-img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.rio-news__card:hover .rio-news__media-img {
  filter: brightness(1.06);
  transform: scale(1.055);
}

.rio-news__category {
  width: fit-content;
  margin-top: 18px;
  color: var(--accent-color);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.rio-news__category:hover {
  color: var(--accent-hover);
}

.rio-news__headline {
  margin: 14px 0 0;
  color: var(--text-main);
  font-size: clamp(20px, 1.45vw, 25px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.rio-news__headline a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.rio-news__headline a:hover {
  color: var(--accent-hover);
}

.rio-news__button {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rio-news__button:hover {
  border-color: var(--accent-color);
  background: var(--button-bg-hover);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.rio-games__section {
  width: min(var(--container-width), calc(100% - 48px));
  margin: 15px auto 0;
  background: var(--section-bg);
  border-radius:10px;
}

.rio-games__container {
  min-width: 0;
  padding:15px;
}

.rio-games__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.rio-games__header .rio-section-title {
  margin-bottom: 0;
}

.rio-games__all-link,
.rio-games__button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.rio-games__all-link::before,
.rio-games__button::before {
  content: "";
  position: absolute;
  inset: auto -18% -90%;
  z-index: 0;
  height: 170%;
  border-radius: 48% 52% 0 0;
  background: var(--aqua-color);
  transform: translateY(52%) rotate(-2deg);
  transition: transform 0.42s ease;
}

.rio-games__all-link > span,
.rio-games__button > span {
  position: relative;
  z-index: 1;
}

.rio-games__all-link:hover::before,
.rio-games__button:hover::before {
  transform: translateY(-22%) rotate(1deg);
}

.rio-games__all-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rio-games__all-link:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-games__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.rio-games__tag {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: var(--button-muted);
  color: var(--text-muted);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    display: inline-flex; align-items: center; justify-content: center;
}

.rio-games__tag:hover,
.rio-games__tag--active {
  border-color: var(--accent-color);
  background: var(--gold-soft);
  color: var(--accent-hover);
}

.rio-games__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rio-games__item {
  min-width: 0;
}

.rio-games__card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--light-soft);
}

.rio-games__media-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--image-bg);
}

.rio-games__media-img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.rio-games__card:hover .rio-games__media-img {
  filter: brightness(1.08);
  transform: scale(1.045);
}

.rio-games__rating {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  background: rgba(4, 22, 9, 0.74);
  color: var(--accent-hover);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.rio-games__name {
  margin: 14px 0 0;
  color: var(--text-main);
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.rio-games__name a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.rio-games__name a:hover {
  color: var(--accent-hover);
}

.rio-games__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 16px;
}

.rio-games__button {
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  color: var(--button-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rio-games__button:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-games__button--demo {
  background: var(--button-muted);
  color: var(--text-muted);
}

.rio-games__button--play {
  background: var(--accent-color);
  color: var(--page-bg);
}

.rio-games__button--play::before {
  background: var(--aqua-color);
}

.rio-games__button-icon {
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
}

.rio-site__layout {
  width: min(var(--container-width), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 28px;
  margin: 58px auto 0;
  align-items: start;
}
.rio-site__layout.fullsize {  grid-template-columns: minmax(0, 1fr);}
.rio-site__layout.fullsize .rio-news__portal-grid {margin-top:25px;}
.article-single__thumb {text-align: center; display: flex; justify-content: center; margin-bottom:14px;}
.article-single__thumb img {vertical-align:bottom; border-radius:8px; max-width:100%;}

.rio-site__content,
.rio-site__sidebar {
  min-width: 0;
}

.rio-site__inner {
  min-width: 0;
}

.rio-site__layout--inner {
  margin-top: 34px;
}
.rio-page__section,
.rio-content__section,
.rio-sidebar__widget,
.rio-sidebar__cta {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--panel-bg);
}
.rio-sidebar__widget {margin-top:20px;}
.widget_search .rio-sidebar__widget  {margin-top:0;}
.rio-page__section,
.rio-content__section {
  min-height: 520px;
  padding: clamp(22px, 3vw, 36px);
}

.rio-content__lead,
.rio-content__text {
  max-width: 780px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.rio-content__text {
  margin-top: 16px;
}

.rio-inner-nav {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rio-inner-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: var(--surface-soft);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rio-inner-nav a:hover {
  border-color: var(--accent-color);
  color: var(--accent-hover);
  transform: translateY(-1px);
}
.pagination {
  margin: 28px 0 0;
}

.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pagination .navigation.pagination {
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: rgba(4, 22, 9, 0.58);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pagination a.page-numbers:hover {
  border-color: var(--accent-color);
  background: var(--gold-soft);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.pagination .page-numbers.current {
  border-color: var(--aqua-color);
  background: var(--aqua-color);
  color: var(--page-bg);
}

.pagination .next.page-numbers,
.pagination .prev.page-numbers {
  min-width: 46px;
  color: var(--text-main);
}

.pagination .next.page-numbers:hover,
.pagination .prev.page-numbers:hover {
  border-color: var(--aqua-color);
  background: var(--aqua-color);
  color: var(--page-bg);
}

@media (max-width: 560px) {
  .pagination {
    margin-top: 22px;
  }

  .pagination .nav-links {
    width: 100%;
    gap: 6px;
    padding: 7px;
  }

  .pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }
}

.vc-comments {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-color);
}

.vc-comment-respond,
.comment-respond {
  min-width: 0;
}

.rio-page__section .vc-comments__title,
.rio-content__section .vc-comments__title {
  margin: 0 0 18px;
  color: var(--text-main);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.15;
}


.rio-page__section .vc-comments__title small,
.rio-content__section .vc-comments__title small {
  display: inline-flex;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
}

.rio-page__section .vc-comments a,
.rio-content__section .vc-comments a {
  color: var(--accent-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.rio-page__section.vc-comments a:hover,
.rio-content__section .vc-comments a:hover {
  color: var(--aqua-color);
}

.rio-page__section .vc-comment-form,
.rio-content__section .vc-comment-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.vc-comment-form p {
  margin: 0;
}

.vc-comments .logged-in-as {
  padding: 12px 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-media);
  background: var(--gold-soft);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.vc-comments .required,
.vc-comments .required-field-message {
  color: var(--accent-hover);
}

.vc-comments textarea,
.vc-comments input[type="text"],
.vc-comments input[type="email"],
.vc-comments input[type="url"] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: rgba(4, 22, 9, 0.72);
  color: var(--text-main);
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vc-comments textarea {
  min-height: 150px;
  resize: vertical;
}

.vc-comments textarea::placeholder,
.vc-comments input::placeholder {
  color: var(--text-muted);
}

.vc-comments textarea:focus,
.vc-comments input[type="text"]:focus,
.vc-comments input[type="email"]:focus,
.vc-comments input[type="url"]:focus {
  border-color: var(--aqua-color);
  box-shadow: 0 0 0 3px rgba(56, 179, 74, 0.16);
}

.vc-comments .form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.vc-comments .vc-btn,
.vc-comments input[type="submit"] {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--aqua-color);
  border-radius: var(--radius-button);
  background: var(--aqua-color);
  color: var(--text-main);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.vc-comments .vc-btn:hover,
.vc-comments input[type="submit"]:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--page-bg);
  transform: translateY(-1px);
}

.rio-content__section > :first-child {
  margin-top: 0;
}

.rio-content__section > :last-child {
  margin-bottom: 0;
}

.rio-promo-bonus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 22px 0 28px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 10% 10%, var(--gold-line), transparent 34%),
    radial-gradient(circle at 88% 16%, var(--green-soft), transparent 32%),
    rgba(4, 22, 9, 0.74);
}

.rio-promo-bonus__content {
  min-width: 0;
}

.rio-promo-bonus__label {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--aqua-color);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.rio-promo-bonus .rio-promo-bonus__title {
  margin: 0;
  padding: 0;
  color: var(--text-main);
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 500;
  line-height: 1.12;
}

.rio-promo-bonus__button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-button);
  background: var(--accent-color);
  color: var(--page-bg);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rio-promo-bonus__button::before {
  content: "";
  position: absolute;
  inset: auto -18% -90%;
  z-index: 0;
  height: 170%;
  border-radius: 48% 52% 0 0;
  background: var(--aqua-color);
  transform: translateY(52%) rotate(-2deg);
  transition: transform 0.42s ease;
}

.rio-promo-bonus__button:hover::before {
  transform: translateY(-22%) rotate(1deg);
}

.rio-promo-bonus__button:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-promo-bonus__button > span {
  position: relative;
  z-index: 1;
}

.rio-content__section h1,
.rio-content__section h2,
.rio-content__section h3,
.rio-content__section h4,
.rio-content__section h5,
.rio-content__section h6 {
  max-width: 920px;
  margin: 34px 0 16px;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
}

.rio-content__section h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 1.04;
}

.rio-content__section h2 {
  padding-top: 8px;
  font-size: clamp(26px, 2.2vw, 38px);
}

.rio-content__section h3 {
  font-size: clamp(21px, 1.6vw, 28px);
  color: var(--accent-hover);
}

.rio-content__section h4 {
  font-size: clamp(18px, 1.2vw, 22px);
}

.rio-content__section p,
.rio-content__section li,
.rio-content__section td,
.rio-content__section th,
.rio-content__section figcaption {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.68;
}

.rio-content__section p {
  margin: 0 0 16px;
}

.rio-content__section p:has(> strong:only-child) {
  margin: 20px 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-media);
  background: rgba(215, 181, 109, 0.08);
  color: var(--text-main);
}

.rio-content__section p:has(> strong:only-child) strong {
  color: var(--accent-hover);
  font-weight: 500;
}

.rio-content__section a {
  color: var(--accent-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.rio-content__section a:hover {
  color: var(--aqua-color);
}

.rio-content__section .rio-promo-bonus__button {
  color: var(--page-bg);
  text-decoration: none;
}

.rio-content__section .rio-promo-bonus__button:hover {
  color: var(--aqua-dark);
}

.rio-content__section strong,
.rio-content__section b {
  color: var(--text-main);
  font-weight: 500;
}

.rio-content__section em,
.rio-content__section i {
  color: var(--accent-hover);
}

.rio-content__section ul,
.rio-content__section ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.rio-content__section li {
  position: relative;
  padding-left: 28px;
}

.rio-content__section ul li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 5px var(--gold-soft);
}

.rio-content__section ol {
  counter-reset: content-list;
}

.rio-content__section ol li {
  counter-increment: content-list;
}

.rio-content__section ol li::before {
  content: counter(content-list);
  position: absolute;
top: 3px; left: 0px;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--page-bg);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.rio-content__section blockquote {
  position: relative;
  margin: 24px 0;
  padding: 20px 22px 20px 56px;
  border: 1px solid rgba(56, 179, 74, 0.22);
  border-left: 4px solid var(--aqua-color);
  border-radius: var(--radius-card);
  background: rgba(56, 179, 74, 0.08);
}

.rio-content__section blockquote::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 18px;
  color: var(--aqua-color);
  font-size: 46px;
  line-height: 1;
}

.rio-content__section blockquote p {
  margin: 0;
  color: var(--text-main);
}

.rio-content__section figure {
  max-width: min(100%, 720px);
  margin: 26px auto;
  padding: 10px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.rio-content__section figure img,
.rio-content__section > img,
.rio-content__section p img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-media);
  object-fit: cover;
}

.rio-content__section figcaption {
  margin-top: 10px;
  color: var(--accent-color);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.rio-content__section table {
  width: 100%;
  margin: 24px 0;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  background: var(--surface-soft);
}

.rio-content__section tbody,
.rio-content__section thead,
.rio-content__section tfoot {
  width: 100%;
}

.rio-content__section tr:first-child td,
.rio-content__section th {
  background: linear-gradient(135deg, rgba(215, 181, 109, 0.2), rgba(56, 179, 74, 0.08));
  color: var(--accent-hover);
}

.rio-content__section td,
.rio-content__section th {
  padding: 15px 16px;
  border-right: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  text-align: left;
  vertical-align: top;
}

.rio-content__section tr:last-child td,
.rio-content__section tr:last-child th {
  border-bottom: 0;
}

.rio-content__section td:last-child,
.rio-content__section th:last-child {
  border-right: 0;
}

.rio-content__section tr:nth-child(even):not(:first-child) td {
  background: rgba(247, 255, 245, 0.04);
}

.rio-content__section tr:not(:first-child):hover td {
  background: rgba(56, 179, 74, 0.08);
}

.rio-content__section .mirror-table {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.rio-content__section .mr,
.rio-content__section .bonuslink {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-button);
  background: var(--accent-color);
  color: var(--page-bg);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rio-content__section .mr:hover,
.rio-content__section .bonuslink:hover {
  border-color: var(--aqua-color);
  background: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-content__section .bonusbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, var(--gold-soft), rgba(56, 179, 74, 0.06)),
    var(--surface-soft);
}

.rio-content__section .box2 {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-media);
  background: var(--light-soft);
}

.rio-content__section .box2 b {
  display: block;
  margin-bottom: 9px;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.rio-content__section .badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--aqua-color);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.rio-content__section .box3 {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-card);
  background: rgba(215, 181, 109, 0.08);
  text-align: center;
}

.rio-content__section .bonusbox .box3 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.rio-content__section .bonusbox .bonuslink {
  min-height: 52px;
  white-space: nowrap;
}

.rio-content__section hr {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background: var(--line-color);
}

.rio-content__section code,
.rio-content__section kbd {
  padding: 2px 6px;
  border: 1px solid var(--line-color);
  border-radius: 4px;
  background: rgba(4, 22, 9, 0.7);
  color: var(--accent-hover);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.rio-content__section pre {
  overflow-x: auto;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: rgba(4, 22, 9, 0.82);
}

.rio-content__section pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.rio-content__section details {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--light-soft);
}

.rio-content__section summary {
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
}

.rio-content__section iframe,
.rio-content__section video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--image-bg);
}

.rio-content__section .review-item {
  display: flow-root;
  margin: 28px 0 0;
  padding: 18px;
  border: 1px solid rgba(56, 179, 74, 0.22);
  border-radius: var(--radius-card);
  background: rgba(56, 179, 74, 0.08);
}

.rio-content__section .review-avatar {
  width: 60px !important;
  height: 60px !important;
  margin: 0 16px 8px 0 !important;
  border: 2px solid rgba(56, 179, 74, 0.4);
  border-radius: 50% !important;
  object-fit: cover;
}

.rio-content__section .review-item h4 {
  margin: 0 0 4px;
  color: var(--text-main);
}

.rio-content__section .review-date {
  margin: 0 0 8px;
  color: var(--accent-color);
  font-size: 14px;
  line-height: 1.2;
}

.rio-content__section .review-text {
  margin: 0;
  color: var(--text-muted);
}

.rio-site__sidebar {
  display: grid;
  gap: 18px;
}

.rio-sidebar__widget {
  padding: 18px;
}

.rio-sidebar__title {
  margin: 0 0 14px;
  color: var(--text-main);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

.rio-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rio-sidebar__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
}

.rio-sidebar__search-input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: rgba(4, 22, 9, 0.72);
  color: var(--text-main);
  padding: 0 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rio-sidebar__search-input:focus {
  border-color: var(--aqua-color);
  box-shadow: 0 0 0 3px rgba(56, 179, 74, 0.16);
}

.rio-sidebar__search-button,
.rio-sidebar__cta-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.rio-sidebar__search-button::before,
.rio-sidebar__cta-button::before {
  content: "";
  position: absolute;
  inset: auto -18% -90%;
  z-index: 0;
  height: 170%;
  border-radius: 48% 52% 0 0;
  background: var(--aqua-color);
  transform: translateY(52%) rotate(-2deg);
  transition: transform 0.42s ease;
}

.rio-sidebar__search-button:hover::before,
.rio-sidebar__cta-button:hover::before {
  transform: translateY(-22%) rotate(1deg);
}

.rio-sidebar__search-button > span,
.rio-sidebar__cta-button > span {
  position: relative;
  z-index: 1;
}
.rio-sidebar__search-button > span {display: flex; align-items: center; justify-content: center; align-items: center; line-height: 1; margin-top: -9px;}

.rio-sidebar__search-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-button);
  background: var(--accent-color);
  color: var(--page-bg);
  font: inherit;
  font-size: 25px;
  cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rio-sidebar__search-button:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-sidebar__news-list,
.rio-reviews__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rio-sidebar__news-link {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.rio-sidebar__news-link:hover {
  color: var(--accent-hover);
}

.rio-sidebar__news-img {
  width: 62px;
  aspect-ratio: 1.32;
  border-radius: var(--radius-media);
  object-fit: cover;
  max-height:62px; object-fit:contain;
}

.rio-sidebar__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  margin:20px 0;
}

.rio-sidebar__cta-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.rio-sidebar__cta-button:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}

.rio-sidebar__cta-button--download {
  background: var(--button-muted);
  color: var(--text-muted);
}

.rio-sidebar__cta-button--register {
  background: var(--accent-color);
  color: var(--page-bg);
}

.rio-sidebar__widget--stats {
  padding: 14px;
}

.rio-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.rio-stats__item {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-media);
  background: var(--surface-soft);
}

.rio-stats__item--wide {
  grid-column: 1 / -1;
}

.rio-stats__item dt {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.25;
}

.rio-stats__item dd {
  margin: 0;
  color: var(--accent-hover);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.05;
}

.rio-reviews__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-color);
}

.rio-reviews__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.rio-reviews__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--image-bg);
}

.rio-reviews__name {
  margin: 0;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
}

.rio-reviews__date {
  display: block;
  margin-top: 4px;
  color: var(--accent-color);
  font-size: 13px;
  line-height: 1;
}

.rio-reviews__body p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rio-footer__section {
  width: min(var(--container-width), calc(100% - 48px));
  margin: 64px auto 0;
  padding-bottom: 28px;
}

.rio-footer__container {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 18% 0%, var(--gold-soft), transparent 32%),
    radial-gradient(circle at 82% 24%, var(--green-soft), transparent 34%),
    var(--panel-bg);
}

.rio-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.rio-middle-links {display:flex; gap:14px; justify-content: center;}
.rio-middle-links a,
.rio-footer__nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: rgba(16, 41, 22, 0.55);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.rio-middle-links a:hover,
.rio-footer__nav a:hover {
  border-color: var(--accent-color);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.rio-footer__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.btn.btn--solid.btn--lg  a,
.rio-footer__button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 178px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  color: var(--button-text);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.btn.btn--solid.btn--lg  a:before,
.rio-footer__button::before {
  content: "";
  position: absolute;
  inset: auto -18% -90%;
  z-index: 0;
  height: 170%;
  border-radius: 48% 52% 0 0;
  background: var(--aqua-color);
  transform: translateY(52%) rotate(-2deg);
  transition: transform 0.42s ease;
}
.btn.btn--solid.btn--lg  a:hover:before,
.rio-footer__button:hover::before {
  transform: translateY(-22%) rotate(1deg);
}
.btn.btn--solid.btn--lg  a span,
.rio-footer__button > span {
  position: relative;
  z-index: 1;
}
.btn.btn--solid.btn--lg  a:hover,
.rio-footer__button:hover {
  border-color: var(--aqua-color);
  color: var(--aqua-dark);
  transform: translateY(-1px);
}
.btn.btn--solid.btn--lg  a span {color: var(--aqua-dark);}
 
.rio-footer__button--download {
  background: var(--button-muted);
  color: var(--text-muted);
}
.btn.btn--solid.btn--lg  a,
.rio-footer__button--register {
  background: var(--accent-color);
  color: var(--page-bg);
}
.rio-middle-links,
.rio-main-links,
.rio-footer__partners,
.rio-footer__payments {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-color);
}
.rio-header__mobile-menu {list-style:none; padding:0; margin:0; gap:14px; display:flex; flex-flow:column;}
.rio-footer__partners .rio-footer__logo-list:first-child {    justify-content: space-around;}
.rio-footer__partners .rio-footer__logo-list:first-child li img {vertical-align:bottom; max-height:25px;     filter: invert(1);}
.rio-footer__partners .rio-footer__logo-list:last-child {margin-top:25px;}
.rio-footer__partners .rio-footer__logo-list:last-child img {max-height:50px; filter: grayscale(1); vertical-align:bottom;}

.rio-footer__title {
  margin: 0 0 14px;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.rio-footer__logo-list,
.rio-footer__payment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rio-footer__logo-list span,
.rio-footer__payment-list span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  background: linear-gradient(135deg, rgba(16, 41, 22, 0.92), rgba(7, 29, 13, 0.92));
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(247, 255, 245, 0.04);
}
.rio-footer__payment-list span img {max-height:20px;}

.rio-footer__logo-list span {
  min-width: 138px;
  border-color: var(--green-line);
  color: var(--aqua-color);
}

.rio-footer__payment-list span {
  min-width: 94px;
  border-color: var(--gold-line);
  color: var(--accent-hover);
}

.rio-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-color);
}

.rio-footer__bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rio-scroll-up {
  --scroll-progress: 0;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(4, 22, 9, 0.84);
  color: var(--text-main);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, color 0.22s ease;
  backdrop-filter: blur(10px);
}

.rio-scroll-up.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rio-scroll-up:hover {
  color: var(--accent-hover);
}

.rio-scroll-up__progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rio-scroll-up__track,
.rio-scroll-up__bar {
  fill: none;
  stroke-width: 3;
}

.rio-scroll-up__track {
  stroke: var(--line-color);
}

.rio-scroll-up__bar {
  stroke: var(--aqua-color);
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: calc(132 - (132 * var(--scroll-progress)) / 100);
  transition: stroke-dashoffset 0.12s linear;
}

.rio-scroll-up__icon {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1;
}
.games__head h1 {margin: 0 0 14px; color: var(--text-main); font-size: 22px; font-weight: 500; line-height: 1.15;}
.slot-cover-case {position:relative; overflow:hidden; padding-top:56.6%;}
.slot-cover-case iframe,
.slot-cover-case .modal-iframe {position:absolute; left:0; top:0; width:100%; height:100%; object-fit:contain;}
.btn.btn--solid.btn--lg  {display:flex;     justify-content: center; margin-top:15px;}
 
#comments.vc-comments {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-color);
}

#comments .vc-comments__title {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 500;
  line-height: 1.2;
}
#comments .vc-comments__title{margin-bottom:25px;}
#comments .vc-comment-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#comments .comment {
  margin: 0;
  padding: 0;
}

#comments .comment-body {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

#comments .comment-meta {
  display: grid;
  gap: 8px;
}

#comments .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#comments .avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold-soft);
}

#comments .fn,
#comments .fn a {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

#comments .says {
  color: var(--text-muted);
}

#comments .comment-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-left: 58px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

#comments .comment-metadata a,
#comments .edit-link a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

#comments .comment-metadata a:hover,
#comments .edit-link a:hover {
  color: var(--accent-color);
}

#comments .comment-content {
  padding: 12px 14px;
  border: 1px solid var(--green-line);
  border-radius: var(--radius-media);
  background: var(--green-soft);
}

#comments .comment-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

#comments .reply {
  display: flex;
  justify-content: flex-start;
}

#comments .comment-reply-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-button);
  background: var(--gold-soft);
  color: var(--accent-hover);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#comments .comment-reply-link:hover {
  border-color: var(--aqua-color);
  background: var(--aqua-color);
  color: var(--page-bg);
  transform: translateY(-1px);
}

#comments .vc-comment-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

#comments .vc-comment-form p {
  margin: 0;
}

#comments .comment-form-author,
#comments .comment-form-email,
#comments .comment-form-url {
  display: grid;
  gap: 7px;
}

#comments label {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
}

#comments textarea,
#comments input[type="text"],
#comments input[type="email"],
#comments input[type="url"] {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-media);
  background: rgba(4, 22, 9, 0.72);
  color: var(--text-main);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#comments textarea {
  min-height: 138px;
  resize: vertical;
}

#comments textarea::placeholder,
#comments input::placeholder {
  color: var(--text-muted);
}

#comments textarea:focus,
#comments input[type="text"]:focus,
#comments input[type="email"]:focus,
#comments input[type="url"]:focus {
  border-color: var(--aqua-color);
  background: rgba(4, 22, 9, 0.88);
  box-shadow: 0 0 0 3px rgba(56, 179, 74, 0.16);
}

#comments .comment-form-cookies-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-media);
  background: var(--gold-soft);
}

#comments input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--aqua-color);
}

#comments .form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

#comments .vc-btn,
#comments input[type="submit"] {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--aqua-color);
  border-radius: var(--radius-button);
  background: var(--aqua-color);
  color: var(--page-bg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#comments .vc-btn:hover,
#comments input[type="submit"]:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--page-bg);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  #comments .comment-body,
  #comments .vc-comment-form {
    padding: 14px;
  }

  #comments .comment-metadata {
    padding-left: 0;
  }

  #comments .vc-btn,
  #comments input[type="submit"] {
    width: 100%;
  }
}
.rio-page__section .games__breadcrumbs {
  margin: 0 0 22px;
}

.rio-page__section .breadcrumbs {
  min-width: 0;
}

.rio-page__section .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 9px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-media);
  background: var(--surface-soft);
  list-style: none;
}

.rio-page__section .breadcrumbs__item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.35;
}

.rio-page__section .breadcrumbs__link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rio-page__section .breadcrumbs__link:hover {
  color: var(--accent-color);
}

.rio-page__section .breadcrumbs__sep {
  color: var(--accent-color);
  font-size: 13px;
  opacity: 0.75;
  list-style: none;
}

.rio-page__section .breadcrumbs__item--current {
  max-width: 100%;
}

.rio-page__section .breadcrumbs__current {
  max-width: 520px;
  display: inline-block;
  overflow: hidden;
  color: var(--text-main);
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1120px) {
  .rio-news__portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rio-games__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rio-site__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .page__main {
    padding: 18px 0;
  }

  .rio-header__container {
    width: min(100% - 24px, var(--container-width));
    min-height: 66px;
    grid-template-columns: auto auto;
  }

  .rio-header__nav,
  .rio-header__actions .rio-header__register {
    display: none;
  }

  .rio-header__actions {
    justify-self: end;
  }

  .rio-header__burger {
    display: inline-flex;
  }

  .rio-header__mobile-panel {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    border-top: 1px solid transparent;
    background: var(--header-bg-glass);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: grid-template-rows 0.28s ease, border-color 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
    backdrop-filter: blur(16px);
  }

  .rio-header__section.is-open .rio-header__mobile-panel {
    grid-template-rows: 1fr;
    border-color: var(--line-color);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .rio-header__mobile-nav {
    width: min(100% - 24px, var(--container-width));
    min-height: 0;
    display: grid;
    gap: 8px;
    margin-inline: auto;
    overflow: hidden;
    padding: 0;
    transition: padding 0.28s ease;
  }

  .rio-header__section.is-open .rio-header__mobile-nav {
    padding: 14px 0 16px;
  }

  .rio-header__mobile-nav a {
    justify-content:center;
    min-height: 44px;
    border: 1px solid var(--line-color);
    background: var(--light-soft);
	width: 100%; display: flex;
  }

  .rio-news__section,
  .rio-main-promo,
  .rio-games__section,
  .rio-site__layout,
  .rio-footer__section {
    width: min(100% - 24px, var(--container-width));
  }

  .rio-main-promo {
    min-height: auto;
    margin-bottom: 12px;
  }

  .rio-main-promo::after {
    inset: 0;
    opacity: 0.46;
    background:
      linear-gradient(90deg, rgba(4, 22, 9, 0.95) 0%, rgba(4, 22, 9, 0.7) 48%, rgba(4, 22, 9, 0.24) 100%),
      url("../../images/mainbonus.png") right bottom / min(82%, 520px) auto no-repeat;
  }

  .rio-news__portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .rio-games__section {
    margin-top: 12px;
  }

  .rio-games__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rio-site__layout {
    margin-top: 42px;
  }

  .rio-content__section table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rio-content__section tbody,
  .rio-content__section thead,
  .rio-content__section tfoot {
    display: table;
    width: 100%;
    min-width: 620px;
  }
}

@media (max-width: 560px) {
	  .rio-page__section .games__breadcrumbs {
    margin-bottom: 16px;
  }

  .rio-page__section .breadcrumbs__list {
    gap: 6px;
    padding: 9px 10px;
  }

  .rio-page__section .breadcrumbs__item,
  .rio-page__section .breadcrumbs__link {
    font-size: 13px;
  }

  .rio-page__section .breadcrumbs__current {
    max-width: 100%;
    white-space: normal;
  }
  .rio-header__container,
  .rio-header__mobile-nav {
    width: min(100% - 20px, var(--container-width));
  }

  .rio-header__logo {
    font-size: 22px;
  }

  .rio-header__logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 19px;
  }

  .rio-news__section,
  .rio-main-promo,
  .rio-games__section,
  .rio-site__layout,
  .rio-footer__section {
    width: min(100% - 20px, var(--container-width));
  }

  .rio-main-promo {
    min-height: auto;
    align-items: start;
    padding: 22px;
  }

  .rio-main-promo::after {
    opacity: 0.34;
    background:
      linear-gradient(180deg, rgba(4, 22, 9, 0.95) 0%, rgba(4, 22, 9, 0.68) 52%, rgba(4, 22, 9, 0.18) 100%),
      url("../../images/mainbonus.png") center bottom / 110% auto no-repeat;
  }

  .rio-main-promo__button {
    width: 100%;
  }

  .rio-news__portal-grid {grid-template-columns: 1fr;}
  .rio-games__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rio-games__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .rio-news__headline {
    font-size: 25px;
  }

  .rio-content__section {
    padding: 18px;
  }

  .rio-content__section h1 {
    font-size: 34px;
  }

  .rio-content__section p,
  .rio-content__section li,
  .rio-content__section td,
  .rio-content__section th {
    font-size: 16px;
  }

  .rio-content__section blockquote {
    padding: 18px 18px 18px 44px;
  }

  .rio-content__section blockquote::before {
    left: 14px;
    font-size: 38px;
  }

  .rio-content__section .bonusbox {
    grid-template-columns: 1fr;
  }

  .rio-content__section .bonusbox .bonuslink {
    width: 100%;
    white-space: normal;
  }

  .rio-promo-bonus {
    grid-template-columns: 1fr;
  }

  .rio-promo-bonus__button {
    width: 100%;
    white-space: normal;
  }

  .vc-comment-form {
    padding: 14px;
  }

  .vc-comments .vc-btn,
  .vc-comments input[type="submit"] {
    width: 100%;
  }

  .rio-sidebar__cta,
  .rio-stats__grid {
    grid-template-columns: 1fr;
  }

  .rio-sidebar__news-link {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .rio-sidebar__news-img {
    width: 74px;
  }

  .rio-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .rio-footer__button {
    width: 100%;
  }

  .rio-scroll-up {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }
}
.slot-single__content {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.slot-single__content p {
  margin: 0 0 14px;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.45;
}

.slot-single__content strong {
  color: var(--accent-hover);
  font-weight: 500;
}

.slot-single__content ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-media);
  overflow: hidden;
  list-style: none;
}

.slot-single__content li {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.45;
  background: rgba(4, 22, 9, 0.38);
}

.slot-single__content li:nth-child(even) {
  background: rgba(56, 179, 74, 0.07);
}

.slot-single__content li + li {
  border-top: 1px solid var(--line-color);
}

.slot-single__content li strong {
  color: var(--text-main);
}

.slot-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
}

.slot-related__grid .slot-card {
  min-width: 0;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.slot-related__grid .slot-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.slot-related__grid .slot-card__link {
  display: grid;
  gap: 12px;
  height: 100%;
  color: var(--text-main);
  text-decoration: none;
}

.slot-related__grid .slot-card__thumb-wrap {
  position: relative;
  aspect-ratio: 300 / 208;
  overflow: hidden;
  background: rgba(4, 22, 9, 0.72);
}

.slot-related__grid .slot-card__thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.slot-related__grid .slot-card:hover .slot-card__thumb {
  transform: scale(1.06);
}

.slot-related__grid .slot-card__title {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  padding: 0 12px 14px;
  overflow: hidden;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.slot-related__grid .slot-card:hover .slot-card__title {
  color: var(--accent-hover);
}

@media (max-width: 1120px) {
  .slot-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .slot-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .slot-single__content {
    padding: 14px;
  }

  .slot-single__content li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px 12px;
  }

  .slot-related__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.site-main.page-404 {
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding: 56px 0;
  background: var(--page-bg);
}

.site-main.page-404 .container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.site-main.page-404 .error-404 {
  width: 100%;
}

.site-main.page-404 .error-404__inner {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 80% 10%, rgba(215, 181, 109, 0.16), transparent 34%),
    radial-gradient(circle at 12% 90%, rgba(56, 179, 74, 0.14), transparent 38%),
    var(--surface-soft);
  text-align: center;
}

.site-main.page-404 .error-404__code {
  color: var(--accent-hover);
  font-size: clamp(82px, 13vw, 170px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0;
}

.site-main.page-404 .error-404__title {
  margin: 18px 0 12px;
  color: var(--text-main);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
}

.site-main.page-404 .error-404__text {
  max-width: 520px;
  margin: 0 auto 26px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.site-main.page-404 .error-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-main.page-404 .btn,
.site-main.page-404 .error-404__btn {
  min-height: 48px;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-button);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-main.page-404 .btn--solid {
  border-color: var(--aqua-color);
  background: var(--aqua-color);
  color: var(--page-bg);
}

.site-main.page-404 .btn--ghost {
  border-color: var(--gold-line);
  background: var(--gold-soft);
  color: var(--accent-hover);
}

.site-main.page-404 .btn:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--page-bg);
  transform: translateY(-1px);
}

.rio-searches {
  display: grid;
  gap: 16px;
}

.rio-searches article {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rio-searches article:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.rio-searches .entry-header {
  min-width: 0;
  display: grid;
  gap: 8px;
  grid-column: 2;
}

.rio-searches .entry-title {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.2;
}

.rio-searches .entry-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rio-searches .entry-title a:hover {
  color: var(--accent-hover);
}

.rio-searches .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.rio-searches .entry-meta a {
  color: var(--accent-color);
  text-decoration: none;
}

.rio-searches .entry-meta a:hover {
  color: var(--aqua-color);
}

.rio-searches .post-thumbnail {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: block;
  aspect-ratio: 360 / 250;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: rgba(4, 22, 9, 0.72);
}

.rio-searches .post-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.rio-searches article:hover .post-thumbnail img {
  transform: scale(1.06);
}

.rio-searches .entry-summary {
  grid-column: 2;
  min-width: 0;
}

.rio-searches .entry-summary p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.rio-searches .entry-footer {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.rio-searches .entry-footer span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.rio-searches .entry-footer a {
  color: var(--accent-color);
  text-decoration: none;
}

.rio-searches .entry-footer a:hover {
  color: var(--aqua-color);
}

.rio-searches .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .rio-searches article {
    grid-template-columns: 1fr;
  }

  .rio-searches .entry-header,
  .rio-searches .entry-summary,
  .rio-searches .entry-footer,
  .rio-searches .post-thumbnail {
    grid-column: 1;
  }

  .rio-searches .post-thumbnail {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .site-main.page-404 {
    min-height: auto;
    padding: 34px 0;
  }

  .site-main.page-404 .container {
    width: min(100% - 20px, var(--container-width));
  }

  .site-main.page-404 .error-404__inner {
    padding: 24px 18px;
  }

  .site-main.page-404 .error-404__actions {
    flex-direction: column;
  }

  .site-main.page-404 .btn,
  .site-main.page-404 .error-404__btn {
    width: 100%;
  }

  .rio-searches article {
    padding: 14px;
  }
}
.page-sitemap {
    padding: 48px 0;
    color: var(--text-main);
    background:
        radial-gradient(circle at 15% 0%, var(--green-soft), transparent 32%),
        radial-gradient(circle at 85% 12%, var(--gold-soft), transparent 34%),
        var(--page-bg);
    font-family: inherit;
    line-height: 1.6;
}

.page-sitemap .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.page-sitemap__title {
    position: relative;
    margin: 0 0 28px;
    padding: 0 0 18px;
    color: var(--text-main);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    border-bottom: 1px solid var(--line-color);
}

.page-sitemap__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 999px;
}

.page-sitemap__block {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 22px;
    background:
        radial-gradient(circle at 100% 0%, var(--gold-soft), transparent 34%),
        linear-gradient(135deg, var(--panel-bg), var(--surface-strong));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 var(--light-soft);
}

.page-sitemap__block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(247, 255, 245, 0.035), transparent);
}

.page-sitemap__block h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    padding: 0 0 12px;
    color: var(--accent-hover);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    border-bottom: 1px solid var(--line-color);
}

.page-template-page-sitemap  .page-sitemap {margin-bottom:0; padding-bottom:0;}
.page-sitemap__block .page-sitemap__cat {
    position: relative;
    z-index: 1;
    margin: 14px 0 20px 0;
    font-size: 17px;
    font-weight: 700;
}

.page-sitemap__cat a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.page-sitemap__cat a::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--aqua-color);
    box-shadow: 0 0 14px var(--green-line);
}

.page-sitemap__cat a:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

.page-sitemap__count {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-left: 6px;
}

.page-sitemap__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-sitemap__list li {
    position: relative;
    margin: 0;
    padding: 0;
}

.page-sitemap__list li::before {
    display: none;
}

.page-sitemap__list--posts li a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    color: var(--text-muted);
    background: var(--button-muted);
    border: 1px solid var(--light-line);
    border-radius: var(--radius-button);
    text-decoration: none;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.page-sitemap__list--posts li a::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.75;
    box-shadow: 0 0 10px var(--gold-line);
}

.page-sitemap__list--posts li a:hover {
    color: var(--text-main);
    background:
        linear-gradient(135deg, var(--button-bg), var(--aqua-dark));
    border-color: var(--green-line);
    transform: translateX(4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.page-sitemap__list--posts li a:hover::before {
    background: var(--aqua-color);
    box-shadow: 0 0 14px var(--green-line);
}

@media (max-width: 768px) {
    .page-sitemap {
        padding: 32px 0;
    }

    .page-sitemap .container {
        padding: 0 14px;
    }

    .page-sitemap__title {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .page-sitemap__block {
        padding: 16px;
    }

    .page-sitemap__block h2 {
        font-size: 21px;
    }

    .page-sitemap__list--posts li a {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 15px;
    }
}