.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;}


/* Ocultar encabezado del selector de idiomas */
.pkp_structure_sidebar .pkp_block.block_language .title {
    display: none !important;
}


.pkp_structure_footer_wrapper {background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20300%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%3E%3Cstop%20stop-color%3D%22%23a76a28%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ffe1a0%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23b77a38%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22d%22%20width%3D%2215%22%20height%3D%2215%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Ccircle%20cx%3D%225%22%20cy%3D%225%22%20r%3D%222.5%22%20fill%3D%22%23efbf76%22%20opacity%3D%22.32%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23d%29%22%20d%3D%22M0%200H85V180H0zM1515%200H1600V180H1515z%22%2F%3E%3Cpath%20fill%3D%22%239e1420%22%20d%3D%22M0%20210C250%20190%20420%20300%20800%20285S1350%20170%201600%20195V300H0Z%22%2F%3E%3Cpath%20fill%3D%22url%28%23g%29%22%20d%3D%22M0%20208C250%20188%20420%20298%20800%20283S1350%20168%201600%20193V205C1350%20180%201180%20295%20800%20290S250%20200%200%20220Z%22%2F%3E%3Cpath%20fill%3D%22%23500710%22%20d%3D%22M0%20260C280%20200%20430%20310%20800%20295S1350%20220%201600%20245V300H0Z%22%2F%3E%3C%2Fsvg%3E") center bottom / 100% 100% no-repeat, linear-gradient(120deg,#650913,#a8101b 48%,#650913) !important; border-top:2px solid #d6aa65;}
.pkp_structure_footer_wrapper {padding:0!important;}
.pkp_structure_footer_wrapper .pkp_structure_footer {display:block!important;box-sizing:border-box!important;width:100%!important;max-width:1200px!important;margin:0 auto!important;padding:0!important;background:transparent!important;}
.pkp_structure_footer_wrapper .pkp_structure_footer .pkp_footer_content {display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0 auto!important;padding:16px 28px 24px!important;background:transparent!important;color:white!important;text-align:center!important;overflow-wrap:anywhere;position:relative!important;z-index:2!important;}
.pkp_footer_content p {margin:0 0 10px!important;line-height:1.5!important;text-align:center!important;}
.pkp_footer_content a,.pkp_footer_content strong,.pkp_footer_content em,.pkp_footer_content span {color:white!important;}
.pkp_footer_content a {text-decoration:underline;}
.pkp_brand_footer {display:none!important;}
.pkp_structure_footer_wrapper::before,.pkp_structure_footer_wrapper::after,.pkp_structure_footer::before,.pkp_structure_footer::after {pointer-events:none!important;}
.pkp_structure_footer_wrapper .pkp_footer_content .rmiie-cc-logo,.pkp_structure_footer_wrapper .pkp_footer_content p:has(img) {display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:12px 0 0!important;padding:0!important;text-align:center!important;float:none!important;clear:both!important;position:static!important;transform:none!important;}
.pkp_structure_footer_wrapper .pkp_footer_content a.rmiie-cc-link,.pkp_structure_footer_wrapper .pkp_footer_content a:has(img) {display:inline-block!important;width:125px!important;max-width:100%!important;margin:0 auto!important;padding:0!important;float:none!important;position:static!important;line-height:0!important;transform:none!important;cursor:pointer!important;pointer-events:auto!important;vertical-align:middle!important;}
.pkp_structure_footer_wrapper .pkp_footer_content a img {display:block!important;width:125px!important;max-width:100%!important;height:auto!important;margin:0 auto!important;padding:0!important;float:none!important;position:static!important;border:0!important;box-shadow:none!important;transition:transform .35s ease!important;transform-origin:center!important;transform:none!important;}
.pkp_structure_footer_wrapper .pkp_footer_content a:hover img,.pkp_structure_footer_wrapper .pkp_footer_content a:focus-visible img {transform:translateY(-5px) scale(1.08)!important;}
@media(max-width:600px){.pkp_structure_footer_wrapper .pkp_structure_footer .pkp_footer_content{padding:14px 16px 24px!important;}}
@media(prefers-reduced-motion:reduce){.pkp_structure_footer_wrapper .pkp_footer_content a img{transition:none!important;transform:none!important;}}
