.pkp_navigation_primary_row{
    margin-top: 230px;
}
.pkp_site_name{
display:none;
}

/* Animacion de logotipos de la barra lateral */
.pkp_structure_sidebar .pkp_block a img {
    transition: transform 0.35s ease, filter 0.35s ease !important;
    cursor: pointer;
}
.pkp_structure_sidebar .pkp_block a:hover img,
.pkp_structure_sidebar .pkp_block a:focus-visible img {
    transform: translateY(-5px) scale(1.08);
    filter: drop-shadow(0 4px 5px rgba(0,0,0,0.15));
}
@media (prefers-reduced-motion: reduce) {
    .pkp_structure_sidebar .pkp_block a img { transition: none !important; }
    .pkp_structure_sidebar .pkp_block a:hover img,
    .pkp_structure_sidebar .pkp_block a:focus-visible img { transform: none; }
}

/* Nube de palabras clave */
.pkp_structure_sidebar .pkp_block.block_Keywordcloud {
    box-sizing: border-box;
    width: 100%;
    max-width: 225px;
    margin-left: auto;
    margin-right: auto;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .title {
    display: block;
    background: #b91c1c;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px 5px;
    border-radius: 10px;
    margin: 0 0 12px;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .content {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .content :is(canvas, svg, img) {
    max-width: 100%;
    transition: transform 0.35s ease;
    transform-origin: center;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .content:hover :is(canvas, svg, img) {
    transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
    .pkp_structure_sidebar .pkp_block.block_Keywordcloud .content :is(canvas, svg, img) {
        transition: none;
        transform: none;
    }
}

/* Igualar el ancho de la nube al resto de bloques */
.pkp_structure_sidebar .pkp_block.block_Keywordcloud {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .title,
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .content {
    width: 100% !important;
    max-width: 225px !important;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .title {
    font-size: 20px;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .content {
    padding: 4px !important;
}
.pkp_structure_sidebar .pkp_block.block_Keywordcloud .content :is(canvas, svg, img) {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
}

/* Selector de idiomas */
.pkp_structure_sidebar .pkp_block.block_language {box-sizing:border-box;width:100%;padding-left:0;padding-right:0;}
.pkp_structure_sidebar .block_language .title,
.pkp_structure_sidebar .block_language .content {box-sizing:border-box;width:100%;max-width:225px;margin-left:auto;margin-right:auto;}
.pkp_structure_sidebar .block_language .title {background:#b91c1c;color:#fff;font-size:18px;font-weight:700;text-align:center;padding:10px 5px;border-radius:10px;margin-bottom:12px;}
.pkp_structure_sidebar .block_language .content {background:#fff;border:1px solid #ddd;border-radius:10px;padding:10px;}
.pkp_structure_sidebar .block_language ul {list-style:none;margin:0;padding:0;}
.pkp_structure_sidebar .block_language li {margin:0 0 8px;padding:0;}
.pkp_structure_sidebar .block_language li:last-child {margin-bottom:0;}
.pkp_structure_sidebar .block_language a {display:flex;align-items:center;gap:9px;background:#f7f7f7;border:1px solid #e5e5e5;border-radius:8px;padding:9px 8px;color:#333;font-weight:600;text-decoration:none;transition:transform .25s ease,background .25s ease,color .25s ease;}
.pkp_structure_sidebar .block_language a:hover,.pkp_structure_sidebar .block_language a:focus-visible {background:#fff0f0;color:#b91c1c;transform:translateX(3px);}
.pkp_structure_sidebar .block_language a::after {content:'\203A';margin-left:auto;color:#b91c1c;font-size:20px;}
.pkp_structure_sidebar .block_language a[href$="/es"]::before,.pkp_structure_sidebar .block_language a[href*="/es?"]::before,.pkp_structure_sidebar .block_language a[href*="es_ES"]::before,.pkp_structure_sidebar .block_language a[lang^="es"]::before,.pkp_structure_sidebar .block_language .locale_es_ES a::before {content:'';display:inline-block;flex:0 0 30px;height:20px;background:linear-gradient(to bottom,#aa151b 25%,#f1bf00 25%,#f1bf00 75%,#aa151b 75%);border-radius:2px;}
.pkp_structure_sidebar .block_language a[href$="/en"]::before,.pkp_structure_sidebar .block_language a[href*="/en?"]::before,.pkp_structure_sidebar .block_language a[href*="en_US"]::before,.pkp_structure_sidebar .block_language a[href*="en_GB"]::before,.pkp_structure_sidebar .block_language a[lang^="en"]::before,.pkp_structure_sidebar .block_language .locale_en_US a::before {content:'';display:inline-block;flex:0 0 30px;height:20px;border-radius:2px;background:center/cover no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='white' stroke-width='9' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='%23c8102e' stroke-width='3' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='white' stroke-width='13' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='7' d='M30 0v40M0 20h60'/%3E%3C/svg%3E");}
@media(prefers-reduced-motion:reduce){.pkp_structure_sidebar .block_language a{transition:none;}.pkp_structure_sidebar .block_language a:hover,.pkp_structure_sidebar .block_language a:focus-visible{transform:none;}}

.pkp_structure_sidebar .block_language a[href*="/es?"], .pkp_structure_sidebar .block_language a[href$="/es"], .pkp_structure_sidebar .block_language a[href*="es_ES"], .pkp_structure_sidebar .block_language a[lang^="es"], .pkp_structure_sidebar .block_language .locale_es_ES a {font-size:0 !important; gap:9px;}
.pkp_structure_sidebar .block_language a[href*="/es?"]::after,
.pkp_structure_sidebar .block_language a[href$="/es"]::after,
.pkp_structure_sidebar .block_language a[href*="es_ES"]::after,
.pkp_structure_sidebar .block_language a[lang^="es"]::after,
.pkp_structure_sidebar .block_language .locale_es_ES a::after {content:"Español  \203A";font-size:14px; margin-left:0; flex:1; color:inherit;}

.pkp_structure_sidebar .block_language a[href*="/en?"], .pkp_structure_sidebar .block_language a[href$="/en"], .pkp_structure_sidebar .block_language a[href*="en_US"], .pkp_structure_sidebar .block_language a[lang^="en"], .pkp_structure_sidebar .block_language .locale_en_US a, .pkp_structure_sidebar .block_language a[href*="en_GB"] {font-size:0 !important; gap:9px;}
.pkp_structure_sidebar .block_language a[href*="/en?"]::after,
.pkp_structure_sidebar .block_language a[href$="/en"]::after,
.pkp_structure_sidebar .block_language a[href*="en_US"]::after,
.pkp_structure_sidebar .block_language a[lang^="en"]::after,
.pkp_structure_sidebar .block_language .locale_en_US a::after,
.pkp_structure_sidebar .block_language a[href*="en_GB"]::after {content:"English  \203A";font-size:14px; margin-left:0; flex:1; color:inherit;}
