/*
 * RSWin editorial layout layer
 * This file intentionally leaves content, template markup and theme options intact.
 */

:root {
    --rs-bg: #f2efe8;
    --rs-paper: #fffdf8;
    --rs-paper-alt: #e8efec;
    --rs-ink: #17303a;
    --rs-muted: #68787b;
    --rs-navy: #102832;
    --rs-teal: #1d8b83;
    --rs-orange: #e57943;
    --rs-line: #cfdbd6;
    --rs-soft-line: #e2e8e4;
    --rs-shadow: 0 14px 34px rgba(16, 40, 50, .08);
}

html {
    scrollbar-color: var(--rs-teal) transparent;
}

body {
    background: var(--rs-bg);
    color: var(--rs-ink);
    font-size: 14px;
}

.wrapper-inside {
    background:
        linear-gradient(90deg, rgba(29, 139, 131, .035) 1px, transparent 1px) 0 0 / 40px 40px,
        var(--rs-bg);
}

.container {
    width: min(calc(100% - 48px), 1380px);
    max-width: 1380px;
}

/* Header: broad editorial navigation instead of the compact Appyn bar. */
#header {
    height: 60px;
    background: var(--rs-navy);
    border-bottom: 4px solid var(--rs-orange);
    box-shadow: 0 7px 22px rgba(11, 30, 38, .18);
}

#header .container {
    height: 60px;
    padding: 0;
}

#header .logo {
    margin-right: 34px;
}

#header .logo a img {
    width: auto;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

#header nav a {
    min-height: 56px;
    padding: 0 17px;
    color: #edf5f2;
    line-height: 56px;
    letter-spacing: .025em;
}

#header nav .menu > li > a::before {
    display: none;
}

#header nav ul li.current-menu-item > a,
#header nav ul li.current-menu-ancestor > a,
#header nav ul li:hover > a {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-radius: 0;
    box-shadow: inset 0 -4px 0 var(--rs-teal);
}

#header nav .menu > li > .sub-menu {
    background: var(--rs-navy);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 30px rgba(8, 23, 29, .2);
}

#header .searchBox .sb_search[type="text"] {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: none;
}

#header .searchBox .sb_search[type="text"]::placeholder {
    color: rgba(255, 255, 255, .72);
}

#header .searchBox .sb_submit[type="submit"] {
    color: #fff;
    background: var(--rs-teal);
}

/* Subheader and top utility area. */
#subheader {
    margin-bottom: 0;
    padding: 34px 0 32px;
    color: #fff;
    background: var(--rs-navy);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

#subheader .subcontainer {
    width: min(820px, 100%);
}

#subheader h1 {
    padding-bottom: 12px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.16;
    letter-spacing: -.025em;
}

#subheader h2 {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.65;
}

#subheader .imgbg img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center right;
}

#subheader.np {
    width: min(calc(100% - 48px), 1380px);
    margin: 24px auto 0;
    padding: 12px;
    background: var(--rs-paper);
    border: 1px solid var(--rs-line);
    border-radius: 0;
    box-shadow: none;
}

#main-site > .container {
    padding-top: 32px;
    padding-bottom: 48px;
}

.sidg #main-site .container {
    gap: 30px;
}

.sidg .app-p,
.sidg .app-s,
.sidg .sections {
    width: auto;
    flex: 1 1 auto;
}

#sidebar {
    width: 310px;
    margin-left: 0;
}

/* Section labels use a restrained magazine treatment. */
.section {
    margin-bottom: 38px;
}

.section .title-section {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 12px 18px;
    color: var(--rs-ink);
    border-bottom: 1px solid var(--rs-line);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.section .title-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 13px;
    width: 5px;
    background: var(--rs-orange);
}

/* Game lists: three-column horizontal records. */
.section .baps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
}

.section .baps .bav,
.section .baps[data-cols] .bav {
    width: auto;
}

.section .bav1,
.rlat .bav1 {
    padding: 0;
    text-align: left;
}

.section .bav1 > a,
.rlat .bav1 > a {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    grid-auto-rows: min-content;
    column-gap: 14px;
    align-content: center;
    min-height: 112px;
    padding: 12px;
    overflow: hidden;
    color: var(--rs-ink);
    background: var(--rs-paper);
    border: 1px solid var(--rs-soft-line);
    border-left: 4px solid var(--rs-teal);
    border-bottom: 1px solid var(--rs-soft-line);
    border-radius: 8px;
    box-shadow: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.section .bav1 > a:hover,
.rlat .bav1 > a:hover {
    transform: translateY(-2px);
    border-color: rgba(29, 139, 131, .48);
    box-shadow: var(--rs-shadow);
}

.section .bav1 > a::before,
.section .bav1 > a::after,
.rlat .bav1 > a::before,
.rlat .bav1 > a::after {
    display: none;
}

.section .bav1 .bloque-imagen,
.rlat .bav1 .bloque-imagen {
    grid-column: 1;
    grid-row: 1 / span 7;
    align-self: center;
    width: 86px;
    height: 86px;
    padding: 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f0f4f2;
    border: 1px solid var(--rs-soft-line);
    border-radius: 6px;
}

.section .bav1 .bloque-imagen img,
.rlat .bav1 .bloque-imagen img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

.section .bav1 > a > .title,
.section .bav1 > a > .version,
.section .bav1 > a > .developer,
.section .bav1 > a > .size,
.section .bav1 > a > .app-date,
.section .bav1 > a > .px-postmeta,
.rlat .bav1 > a > .title,
.rlat .bav1 > a > .version,
.rlat .bav1 > a > .developer,
.rlat .bav1 > a > .size,
.rlat .bav1 > a > .app-date,
.rlat .bav1 > a > .px-postmeta {
    grid-column: 2;
}

.section .bav1 .title,
.rlat .bav1 .title {
    height: auto;
    margin: 0 0 5px;
    color: var(--rs-ink);
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.section .bav1 .version,
.section .bav1 .developer,
.section .bav1 .size,
.section .bav1 .app-date,
.rlat .bav1 .version,
.rlat .bav1 .developer,
.rlat .bav1 .size,
.rlat .bav1 .app-date {
    color: var(--rs-muted);
    font-size: 11px;
    line-height: 1.45;
}

.section .bav1 .px-postmeta,
.rlat .bav1 .px-postmeta {
    margin: 5px 0 0;
    padding: 0;
}

/* The optional compact card mode keeps the same image-safe geometry. */
.section .bav2 {
    padding: 0;
}

.section .bav2 > a {
    min-height: 92px;
    padding: 12px;
    color: var(--rs-ink);
    background: var(--rs-paper);
    border: 1px solid var(--rs-soft-line);
    border-left: 4px solid var(--rs-teal);
    border-bottom: 1px solid var(--rs-soft-line);
    border-radius: 8px;
    box-shadow: none;
}

.section .bav2 > a::before {
    display: none;
}

.section .bav2 .bloque-imagen,
.searchBox ul li a .bloque-imagen {
    width: 66px;
    height: 66px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f2;
    border: 1px solid var(--rs-soft-line);
    border-radius: 5px;
}

.section .bav2 .bloque-imagen img,
.searchBox ul li a .bloque-imagen img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Home blog blocks and blog archive. */
.bloque-blogs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bloque-blogs .px-col {
    width: auto;
    padding: 0;
}

.bloque-blog {
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--rs-paper);
    border: 1px solid var(--rs-soft-line);
    border-bottom: 1px solid var(--rs-soft-line);
    border-radius: 8px;
    box-shadow: none;
}

.bloque-blog .bb-image {
    width: 38%;
    min-width: 150px;
    margin: 0;
    padding: 12px;
    display: flex;
    align-items: center;
    background: var(--rs-paper-alt);
}

.bloque-blog .bb-image a,
.bloque-blog .bb-image .bloque-imagen {
    width: 100%;
    display: block;
}

.bloque-blog img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 230px;
    margin: auto;
    object-fit: contain;
    object-position: center;
}

.bloque-blog .bb-c {
    padding: 18px;
}

.bloque-blog a.title {
    color: var(--rs-ink);
    font-size: 18px;
    line-height: 1.4;
}

.bloque-blog .date {
    margin: 10px 0;
    color: var(--rs-muted);
}

.section.blog {
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.section.blog .bloques {
    display: grid;
    gap: 16px;
    margin-top: 0;
}

.section.blog .bloques li {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 14px;
    overflow: visible;
    background: var(--rs-paper);
    border: 1px solid var(--rs-soft-line);
    border-left: 5px solid var(--rs-orange);
    border-radius: 8px;
}

.section.blog .bloques li .scim {
    width: 160px;
    margin: 0;
    float: none;
    display: block;
}

.section.blog .bloques li .scim .bloque-imagen {
    width: 160px;
    height: 160px;
    min-height: 160px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f2;
    border: 1px solid var(--rs-soft-line);
    border-radius: 8px;
}

.section.blog .bloques li .scim img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
    object-position: center;
}

.section.blog .bloques li .s2 {
    min-width: 0;
    overflow: visible;
}

.section.blog .bloques li a.title {
    color: var(--rs-ink);
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.25;
    letter-spacing: -.02em;
}

.section.blog .bloques li .excerpt {
    color: var(--rs-muted);
    font-size: 14px;
    line-height: 1.65;
}

.section.blog .bloques li .excerpt > p:first-child {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Single game, blog and information pages. */
.app-p .box,
.app-s .box {
    margin-bottom: 24px;
    padding: 30px 34px;
    background: var(--rs-paper);
    border: 1px solid var(--rs-soft-line);
    border-top: 4px solid var(--rs-teal);
    border-radius: 0;
    box-shadow: none;
}

.app-s > .box:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    column-gap: 30px;
    align-items: start;
}

.app-s > .box:first-child > .app-spe.s2 {
    grid-column: 1;
    width: auto;
    margin: 0;
    padding: 0;
}

.app-s > .box:first-child > .app-icb.s1 {
    grid-column: 2;
    grid-row: 1 / span 4;
    width: 180px;
    margin: 0;
    padding: 0;
}

.app-s .s1 .bloque-imagen {
    width: 100%;
    padding: 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f0f4f2;
    border: 1px solid var(--rs-soft-line);
    border-radius: 8px;
}

.app-s .image-single {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

h1.main-box-title,
.app-p .box h1.box-title {
    max-width: 900px;
    color: var(--rs-ink);
    font-size: clamp(29px, 2.6vw, 39px);
    line-height: 1.18;
    letter-spacing: -.03em;
    overflow-wrap: break-word;
}

h1.main-box-title {
    margin: 0 8px 8px 0;
}

.box .box-title {
    margin: -8px 0 20px;
    padding: 10px 0 15px;
    color: var(--rs-ink);
}

.box .box-title::before {
    width: 100%;
    left: 0;
    border-bottom-color: var(--rs-line);
}

.box .box-title::after {
    bottom: -2px;
    width: 54px;
    height: 4px;
    background: var(--rs-orange);
}

.app-s .app-spe .version {
    color: var(--rs-muted);
    font-size: 17px;
}

.app-s .s2 .descripcion {
    max-width: 780px;
    margin-top: 12px;
    color: var(--rs-muted);
    text-align: left;
    font-size: 15px;
    line-height: 1.65;
}

.app-s .box-data-app {
    margin-top: 16px;
    padding: 12px 14px;
    display: flow-root;
    background: var(--rs-paper-alt);
    border-left: 4px solid var(--rs-orange);
}

.app-s .data-app {
    max-width: none;
    margin: 0;
    float: none;
}

.app-s .da-s {
    width: 33.333%;
}

.buttond,
.app-s .readmore,
.section a.more,
.section.blog .bloques li .excerpt .readmore a,
.tags a {
    background: var(--rs-teal);
    border: 0;
    border-radius: 5px;
    box-shadow: none;
}

.buttond:hover,
.app-s .readmore:hover,
.section a.more:hover,
.section.blog .bloques li .excerpt .readmore a:hover,
.tags a:hover {
    background: var(--rs-navy);
}

.app-p .entry,
.app-s .entry,
.app-s .box-content,
.entry {
    color: #344e56;
    font-size: 16px;
    line-height: 1.75;
    overflow: visible;
}

/* Detail articles are always visible; the theme's 160px fold hid the copy. */
.single-post .app-s #descripcion .entry.desent,
.single-post .app-s #descripcion .entry.desent.limit {
    height: auto !important;
    min-height: 0;
    overflow: visible;
}

.single-post .app-s #descripcion .entry.desent.limit::before,
.single-post .app-s #descripcion .readmore.readdescripcion {
    display: none;
}

/* Game-detail lead artwork is authored as a 400 x 700 portrait banner. */
.app-s #descripcion p.content-image {
    width: 100%;
    margin: 0 auto 26px;
    text-align: center;
    line-height: 0;
}

.app-s #descripcion p.content-image img {
    display: block;
    width: 400px;
    height: 700px;
    max-width: 100%;
    max-height: 700px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Related apps need their own vertical cards, not the home-page record grid. */
.single-post .app-s .box.rlat .baps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    white-space: normal;
    overflow: visible;
}

.single-post .app-s .box.rlat .bav1,
.single-post .app-s .box.rlat .bav1:nth-of-type(5) {
    display: block;
    width: auto;
    padding: 0;
}

.single-post .app-s .box.rlat .bav1 > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    padding: 14px 10px;
    text-align: center;
    color: #243940;
    background: #fff;
    border: 1px solid #cbd8d4;
    border-top: 4px solid var(--rs-teal);
    border-left-width: 1px;
    border-radius: 7px;
    box-shadow: none;
}

.single-post .app-s .box.rlat .bav1 .bloque-imagen {
    display: flex;
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
    padding: 0;
    flex: none;
    align-items: center;
    justify-content: center;
    background: #f1f4f2;
    border: 1px solid #dde5e1;
}

.single-post .app-s .box.rlat .bav1 .bloque-imagen img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.single-post .app-s .box.rlat .bav1 .title {
    width: 100%;
    height: auto;
    margin: 0 0 7px;
    color: #243940;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.single-post .app-s .box.rlat .bav1 .version,
.single-post .app-s .box.rlat .bav1 .developer,
.single-post .app-s .box.rlat .bav1 .size,
.single-post .app-s .box.rlat .bav1 .app-date {
    width: 100%;
    color: #718084;
}

.single-post .app-s .box.rlat .bav1 .px-postmeta {
    width: 100%;
    margin: auto 0 0;
    padding-top: 9px;
}

.entry h2,
.entry h3,
.entry h4 {
    color: var(--rs-ink);
    line-height: 1.3;
    letter-spacing: -.015em;
}

.entry h2 {
    margin: 32px 0 15px;
    padding-left: 14px;
    border-left: 5px solid var(--rs-orange);
    font-size: clamp(23px, 2.2vw, 30px);
}

.entry h3 {
    margin: 25px 0 12px;
    font-size: clamp(19px, 1.8vw, 24px);
}

.entry h4 {
    font-size: 18px;
}

.entry p {
    margin-bottom: 17px;
}

.entry blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    color: var(--rs-ink);
    background: var(--rs-paper-alt);
    border-left: 5px solid var(--rs-teal);
    font-style: normal;
}

.entry table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--rs-line);
}

.entry table th {
    color: var(--rs-ink);
    background: var(--rs-paper-alt);
}

/* Every content image keeps its full intrinsic composition. */
.entry img,
.entry figure img,
.entry .wp-caption img,
.app-p img,
.app-s .entry img,
.box.imagenes img,
#slideimages img,
.px-carousel-item img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
}

.entry figure,
.entry .wp-caption {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.box.imagenes .px-carousel-item,
#slideimages .px-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ef;
}

#featured_posts .fp_box > a {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--rs-navy);
}

/* Widgets and footer. */
.widget {
    margin-bottom: 20px;
    background: var(--rs-paper);
    border: 1px solid var(--rs-soft-line);
    border-radius: 0;
    box-shadow: none;
}

.widget .widget-title,
.widget_block h2 {
    margin: 0;
    padding: 14px 16px;
    color: var(--rs-ink);
    border-bottom: 1px solid var(--rs-line);
    border-left: 4px solid var(--rs-orange);
    font-size: 15px;
    letter-spacing: .04em;
}

.widget .widget-content {
    margin: 0;
}

.widget .widget-content ul li a {
    padding: 12px 14px;
    border-bottom-color: var(--rs-soft-line);
}

.widget .widget-content ul li a:hover::before {
    background: var(--rs-paper-alt);
}

.simple-author-box {
    color: var(--rs-ink);
    background: var(--rs-paper-alt);
    border-color: var(--rs-line);
    border-left: 5px solid var(--rs-teal);
    box-shadow: none;
}

.simple-author-box h2 {
    padding-left: 0;
    border-left: 0;
}

.simple-author-name {
    color: var(--rs-ink);
}

.simple-author-email a {
    overflow-wrap: anywhere;
}

#footer {
    background: var(--rs-navy);
    border-top: 6px solid var(--rs-orange);
}

#footer .container > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 28px 0;
}

#footer .widget {
    float: none;
    width: auto;
    margin: 0;
    border: 0;
    background: transparent;
}

#footer .widget .widget-title {
    color: #fff;
    border-left-color: var(--rs-teal);
    border-bottom-color: rgba(255, 255, 255, .14);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Dark mode remains compatible with the site's existing Additional CSS. */
body.theme-dark {
    --rs-bg: #0f1b20;
    --rs-paper: #17282e;
    --rs-paper-alt: #20343a;
    --rs-ink: #edf5f2;
    --rs-muted: #aec0bd;
    --rs-line: #385057;
    --rs-soft-line: #2d4248;
}

body.theme-dark .wrapper-inside {
    background: var(--rs-bg);
}

body.theme-dark .app-p .entry,
body.theme-dark .app-s .entry,
body.theme-dark .app-s .box-content,
body.theme-dark .entry,
body.theme-dark .section.blog .bloques li .excerpt {
    color: #cad8d5;
}

body.theme-dark .section .bav1 > a,
body.theme-dark .rlat .bav1 > a {
    color: #223b43;
    border-color: #dce5e1;
}

body.theme-dark .section .bav1 .title,
body.theme-dark .rlat .bav1 .title {
    color: #22343b;
}

body.theme-dark .section .bav1 .version,
body.theme-dark .section .bav1 .developer,
body.theme-dark .section .bav1 .size,
body.theme-dark .section .bav1 .app-date,
body.theme-dark .rlat .bav1 .version,
body.theme-dark .rlat .bav1 .developer,
body.theme-dark .rlat .bav1 .size,
body.theme-dark .rlat .bav1 .app-date {
    color: #718084;
}

body.theme-dark .section .bav1 .bloque-imagen,
body.theme-dark .rlat .bav1 .bloque-imagen,
body.theme-dark .box.imagenes .px-carousel-item,
body.theme-dark #slideimages .px-carousel-item {
    background: #f0f4f2;
}

/* Tablet. */
@media (max-width: 1100px) {
    .container,
    #subheader.np {
        width: min(calc(100% - 32px), 1380px);
    }

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

    .sidg #main-site .container {
        gap: 24px;
    }

    #sidebar {
        width: 280px;
    }

    .bloque-blog .bb-image {
        min-width: 130px;
    }
}

@media (max-width: 950px) {
    .sidg #main-site .container {
        display: block;
        width: min(calc(100% - 32px), 1380px);
        margin-left: auto;
        margin-right: auto;
    }

    #sidebar {
        width: 100%;
        margin-top: 28px;
    }

    .app-p .box,
    .app-s .box {
        padding: 26px;
    }

    #footer .container > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-post .app-s .box.rlat .baps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile. */
@media (max-width: 768px) {
    .container,
    #subheader.np,
    .sidg #main-site .container {
        width: calc(100% - 24px);
    }

    #header .container {
        width: 100%;
        padding: 0 12px;
    }

    #header .logo {
        margin-right: 12px;
        padding-left: 0;
    }

    #header .logo a img {
        max-width: 150px;
        max-height: 38px;
    }

    #header nav .menu-open {
        color: #fff;
    }

    #menu-mobile {
        background: var(--rs-navy);
    }

    #menu-mobile a {
        color: #eef5f2;
        border-bottom-color: rgba(255, 255, 255, .1);
    }

    #main-site > .container {
        padding-top: 22px;
        padding-bottom: 34px;
    }

    #subheader {
        padding: 26px 0;
    }

    #subheader .subcontainer {
        padding: 0 16px;
    }

    .section {
        margin-bottom: 30px;
    }

    .bloque-blogs {
        grid-template-columns: 1fr;
    }

    .section.blog .bloques li {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 16px;
    }

    .app-s > .box:first-child {
        grid-template-columns: minmax(0, 1fr) 150px;
        column-gap: 20px;
    }

    .app-s > .box:first-child > .app-icb.s1 {
        width: 150px;
    }

    .app-p .box,
    .app-s .box {
        padding: 22px;
    }

    #footer .container > ul {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 650px) {
    .section .baps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .single-post .app-s .box.rlat .baps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .single-post .app-s .box.rlat .bav1 .bloque-imagen {
        width: 88px;
        height: 88px;
    }

    .section .baps .bav,
    .section .baps[data-cols] .bav {
        width: auto;
    }

    .section .bav1 > a,
    .rlat .bav1 > a {
        display: block;
        min-height: 0;
        padding: 10px;
        text-align: center;
        border-left-width: 1px;
        border-top: 4px solid var(--rs-teal);
    }

    .section .bav1 .bloque-imagen,
    .rlat .bav1 .bloque-imagen {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .section .bav1 .title,
    .rlat .bav1 .title {
        font-size: 14px;
    }

    .rlat .baps {
        display: grid;
        white-space: normal;
        overflow: visible;
        padding: 0;
    }

    .rlat .bav1,
    .rlat .bav1:nth-of-type(5) {
        display: block;
        width: auto;
        padding: 0;
    }

    .app-s > .box:first-child {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .app-s > .box:first-child > .app-spe.s2,
    .app-s .box:not(.box-versions) .s2:first-of-type {
        order: 1;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .app-s > .box:first-child > .app-icb.s1 {
        order: 2;
        width: min(180px, 62%);
        margin: 0 auto;
        padding: 0;
    }

    .app-s > .box:first-child > .app-spe.s2 ~ .app-spe.s2 {
        order: 3;
    }

    .app-s > .box:first-child > .botones_sociales {
        order: 4;
    }

    .app-s .da-s,
    .full-width .app-s .da-s {
        width: 100%;
    }

    .section.blog .bloques li {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 12px;
    }

    .section.blog .bloques li .scim {
        position: static;
        width: 110px;
        margin-bottom: 0;
    }

    .section.blog .bloques li .scim .bloque-imagen {
        width: 110px;
        height: 110px;
        min-height: 110px;
    }

    .section.blog .bloques li .scim img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .section.blog .bloques .bca {
        min-height: 0;
        padding-left: 0;
    }

    .section.blog .bloques li a.title {
        font-size: 20px;
    }

    .bloque-blog {
        display: block;
    }

    .bloque-blog .bb-image {
        width: 100%;
        min-width: 0;
    }

    .bloque-blog img {
        max-height: none;
    }

    .app-p .box,
    .app-s .box {
        padding: 18px;
    }

    h1.main-box-title,
    .app-p .box h1.box-title {
        font-size: clamp(27px, 8vw, 34px);
        line-height: 1.18;
    }

    .app-p .entry,
    .app-s .entry,
    .app-s .box-content,
    .entry {
        font-size: 15px;
        line-height: 1.7;
    }

    .app-s #descripcion p.content-image img {
        width: min(400px, 100%);
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 7;
    }

    .simple-author-box {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 380px) {
    .container,
    #subheader.np,
    .sidg #main-site .container {
        width: calc(100% - 16px);
    }

    .section .baps {
        gap: 8px;
    }

    .section .bav1 > a,
    .rlat .bav1 > a {
        padding: 8px;
    }

    .app-p .box,
    .app-s .box {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section .bav1 > a,
    .rlat .bav1 > a {
        transition: none;
    }
}
