/* -- Reset -- */
*{box-sizing: border-box;}
html,body{margin: 0;}
html {
    font-size: 112.5%; /*18px*/
    scroll-behavior: smooth;
} 
body {
    font-family: Verdana, Helvetica, Georgia;
    font-weight: 400;
    line-height: 1.75;
    color: #fefefe;
    background-color: #27272c;
}
/*@media (max-width: 600px){
    html {font-size: 88.8%;}
}*/
p {margin: 0 0 1rem;}
h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: bold;
    line-height: 1.3;
}
h1 {font-size: 3.052rem; margin-bottom: 0.5rem;}
h2 {font-size: 2.441rem; margin-bottom: 0.625rem; margin-top: 3rem;}
h3 {font-size: 1.953rem; margin-bottom: 0.781rem;}
h4 {font-size: 1.563rem; margin-bottom: 0.976rem;}
h5 {font-size: 1.25rem; margin-bottom: 1.220rem;}
h6 {font-size: 1rem; margin-bottom: 1.525rem;}
h4~pre{margin-top: -0.5rem;}
small, .text_small {font-size: 0.8rem;}
svg{fill: #fefefe}
a{
    color: #E040FB;
    transition: 0.5s all;
}
a:hover {color: #FF4081;}
a:active{transform: translate(2px,2px);}
img{max-width: 100%;}
blockquote {
	border-left: 8px solid #b6b6b6;
	margin-bottom: 1rem;
	padding: 1rem 1.55rem;
}
blockquote cite {
	color: #727272;
}
code{
    display: block;
    margin-bottom: 1rem;
}
pre{margin: 0 0 1rem;}
pre code{margin: 0;}
hr {
	margin: 3.33rem auto 3.33rem auto;
	background-color: #b388ff;
	height: 4px;
	border-radius: 2px;
}
ul, ol {
	margin: 1.2rem 0 1.2rem 1.66rem;
}
li {margin-bottom: 0.55rem;}
li::marker {color: #f50057;}
.table{
	background-color: #fff;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
	margin-bottom: 20px;
}
.table th, .table td {
    border-bottom: 1px solid #efefef;
    padding: 15px 10px;
    text-align: left;
}
.table th{border-color: #c9c9c9;}
.table-container{
	width: 100%;
	overflow-y: auto;
	_overflow: auto;
	margin: 0 0 1em;
}
.table-container::-webkit-scrollbar{
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
}
.table-container::-webkit-scrollbar-thumb{
	border-radius: 8px;
	border: 3px solid #fff;
	background-color: rgba(0, 0, 0, .3);
}
.table tbody tr:nth-of-type(2n+1){background-color: #fcfcfc;}
.table tbody tr:hover{background-color: #f4f4f4;}
.table tbody tr.selected{background-color: #f2f2f2}
/* -- Helpers -- */
.tx-center{text-align: center;}
.mg100{margin: 5.55rem 0;}
.pd20{padding: 1.11rem 0;}
.pd50{padding: 2.77rem 0;}
.pd80{padding: 4.44rem 0;}
.pd100{padding: 5.55rem 0;}
.pda20{padding:2.77rem;}
.pdb50{padding-bottom: 2.77rem;}
.container{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.container .container{
    padding: 1rem;
}
.cont-600{max-width: 600px;}
.cont-700{max-width: 700px;}
.cont-800{max-width: 800px;}
.cont-900{max-width: 900px;}
.block{display: block;}
.flexcont {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
@media (max-width: 600px) {
    .flexcont {flex-direction: column;}
}
/* -- 3 Columnas en contenedor de 900px -- */
.gridcont{
    display: grid;
    gap: 1rem;
    grid-auto-flow: dense;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
#blog-list {
    display: grid;
    gap: 1rem;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024px) {
    #blog-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    #blog-list {
        grid-template-columns: 1fr;
    }
}
.avatar{
    border-radius: 100%;
}
/* -- Main -- */
.maincta{
    display: inline-block;
    color: #fff;
    border: 5px solid #fff;
    border-radius: 5px;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.5s all;
}
.maincta:hover{
    color: #01e675;
    border-color: #01e675;
}
.socialicons a{
    display: inline-block;
    padding: 0.55rem;
}
.socialicons svg{
    width: 1.22rem;
    height: 1.22rem;
    transition: 0.5s all;
}
.socialicons svg:hover{
    fill: #9C27B0;
}
#copytext{
    font-size: 0.8rem;
    font-weight: bold;
}
#footer-nav {
    display: flex;
    justify-content: center;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-links li {
    margin: 0;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fdfcff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
    background: rgba(224,64,251,0.18);
    border-color: rgba(224,64,251,0.4);
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}
.footer-links a:focus-visible {
    box-shadow: 0 0 0 4px rgba(224,64,251,0.18);
}
@media (max-width: 640px) {
    .footer-links {
        gap: 0.5rem;
    }
    .footer-links a {
        width: 100%;
        padding: 0.95rem 1rem;
        justify-content: center;
    }
}
.tareas-card{
    margin-bottom: 1.2rem;
}
.tareas-ico{
    text-align: center;
}
.tareas-ico svg{
    height: 5rem;
    width: 5rem;
    margin-bottom: 1.1rem;
}
.rgbseparator {
	width: 60%;
	min-height: 0.66rem;
	margin: -6px auto -6px;
	position: absolute;
	left: 20%;
    border-radius: 5px;
}
#aboutme .avatar{
    min-width: 200px;
	padding: 0 1rem;
}
.postcontainer{
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
}
.card-blogpost a{
    display: block;
    text-decoration: none;
    text-align: center;
}
.card-blogpost img {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
}
.blogpost-title {
	font-weight: bold;
	font-size: 1.33rem;
	padding: 1rem;
}
.blogpost-descrip{
    font-size: 0.88rem;
    padding: 1rem;
}
.related-posts {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}
.related-posts h3 {
    text-align: center;
    margin: 0 0 1rem;
    font-size: 1.55rem;
}
.related-posts-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.related-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(24, 29, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}
.related-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.related-card-img {
    min-height: 180px;
    position: relative;
    overflow: hidden;
    background: #141926;
}
.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.related-card:hover .related-card-img img {
    transform: scale(1.05);
}
.related-card-info {
    padding: 1rem;
}
.related-card-title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #f8f9ff;
}
.related-card-meta {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #cfd3e7;
}
@media (max-width: 600px) {
    .related-posts {
        padding: 1rem;
    }
}/* -- Buttons -- */
.btn-link {
	display: inline-block;
	color: #03A9F4;
	border: 5px solid #03A9F4;
	border-radius: 5px;
	padding: 0.55rem 1rem;
	font-weight: bold;
	font-size: 1rem;
	transition: 0.5s all;
}
.btn-link:hover {
	color: #9C27B0;
	border-color: #9C27B0;
}
.btn-download {
	display: inline-block;
	color: #4CAF50;
	border: 5px solid #4CAF50;
	border-radius: 5px;
	padding: 0.55rem 1rem;
	font-weight: bold;
	font-size: 1rem;
	transition: 0.5s all;
}
.btn-download:hover {
	color: #9C27B0;
	border-color: #9C27B0;
}
.np-buttons{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}
.np-buttons a{
    display: inline-block;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    color: #2196F3;
    border: 3px solid #2196F3;
}
.np-buttons a:hover{
    color: #7B1FA2;
    border-color: #7B1FA2;
}
/* ---------- Formularios basicos ---------- */
.liform-field{margin-bottom: 1rem;}
.liform-field label{
	color: #727272;
	font-weight: bold;
}
.liform-field input[type='text'], .liform-field textarea {
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 0 3px -1px rgba(0, 0, 0, 0.5) inset;
	display: block;
	padding: 0.6rem;
	transition: all 0.5s ease 0s;
	width: 100%;
}
.liform-field input[type='text']:hover, .liform-field textarea:hover{border-color: #BBDEFB;}
.liform-field input[type='text']:focus, .liform-field textarea:focus{
	border-color: #2196F3;
	box-shadow: 0 0 6px 1px #bbdefb;
	background-color: #fbfbfb;
}
.liform-field input[type='text'].listate-error {
    border-color: #be0101;
}
.liform-field input[type='text'].listate-error:focus{
	box-shadow: 0 0 2px 1px #be0101;
}
.liform-field input[type='text'].listate-success{
    border-color: #01a939;
}
.liform-field input[type='text'].listate-success:focus{
	box-shadow: 0 0 2px 1px #01a939;
}
/* ---------- Migas de pan ---------- */
.breadcrumbs {
    margin-bottom: -4rem;
}
.article-body .breadcrumbs {
    margin-bottom: 1.25rem;
}
.li-breadcrumb{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem;
    list-style: none;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
}
.li-breadcrumb li{
    margin: 0;
    display: inline-flex;
}
.li-breadcrumb a,
.li-breadcrumb span{
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #f1f1f8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.li-breadcrumb a:hover{
    background: rgba(224,64,251,0.18);
    color: #ffffff;
    transform: translateY(-1px);
}
.li-breadcrumb span{
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}
.li-breadcrumb li + li::before{
    content: ">";
    display: inline-flex;
    align-items: center;
    margin: 0 0.4rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
body.single .li-breadcrumb {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
}
body.single .li-breadcrumb a,
body.single .li-breadcrumb span {
    background: rgba(255,255,255,0.9);
    color: #121212;
}
body.single .li-breadcrumb a:hover {
    background: rgba(224,64,251,0.16);
    color: #121212;
}
body.single .li-breadcrumb span {
    background: rgba(245,245,245,0.9);
}
body.single .li-breadcrumb li + li::before {
    color: rgba(0,0,0,0.4);
}
@media (max-width: 700px) {
    .li-breadcrumb {
        padding: 0.4rem;
        gap: 0.35rem;
    }
    .li-breadcrumb a,
    .li-breadcrumb span{
        padding: 0.55rem 0.8rem;
        font-size: 0.85rem;
    }
}
/* -- Colores -- */
.rgbfusion{
    background: linear-gradient(270deg, #e21b00, #00a2e2, #12e200);
    background-size: 800% 800%;
    animation: rgb1 4s ease infinite;
}
@keyframes rgb1 {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
.bg-purple1 {
    background-color: #7B1FA2;
    background: linear-gradient(90deg, rgba(207,91,255,1) 0%, rgba(84,4,117,1) 100%);
}
.bg-white{
    background-color: #fefefe;
    color: #333;
}
.bg-gray {
	background-color: #607D8B;
    background: linear-gradient(90deg, rgba(141,183,204,1) 0%, rgba(53,68,75,1) 100%);
}
h4~.code-sample{margin-top: -0.5rem;}
.code-sample {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
}
.code-sample-browser{
    display: flex;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}
.code-sample-url{
    background-color: #fff;
    padding: 4px;
    width: 100%;
    margin-bottom: 9px;
    font-size: 0.8rem;
    color: #999;
}
.code-sample-browactions {
    padding: 4px;
    text-align: right;
    min-width: 90px;
}
.code-sample-browactions span{
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.code-sample-bmin{
    background-color:orange;
}
.code-sample-bclose{
    background-color: red;
}
.code-sample-bmax{
    background-color:chartreuse;
}
.li-note {
	border-left: 8px solid #b6b6b6;
	margin-bottom: 1rem;
	padding: 1rem;
    background-color: #f0f0f0;
}
/* -- Otros -- */
.myshareic {
    margin: 0;
    font-family: verdana, arial;
    font-weight: bold;
    font-size: 1rem;
    color: #fff !important;
    display: inline-block;
    padding: 0.55rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12)
}
.myshareic.myshface {background-color: #3b5998}
.myshareic.myshface:hover {background-color: #4b69a8}
.myshareic.myshtwit {background-color: #00aced}
.myshareic.myshtwit:hover {background-color: #10bcdd}
.myshareic svg {height: 16px; fill: #fff}

/* -- liwindow -- */
.liwindow-container *, .liwindow-container *::after, .liwindow-container *::before{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.liwindow-container{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    z-index: 200;
}
/* -- liwindow Modal Dialog -- */
.liwindow-card{
    margin: 0 auto;
    margin-top: 2.2rem;
    width: 500px;
    max-width: 100%;
    box-shadow: 0px 0px 25px -5px #333;
}
.liwindow-header, .liwindow-footer, .liwindow-body{
    background-color: #fff;
}
.liwindow-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.liwindow-close{
    padding: 1.2rem;
    display: inline-block;
    font-size: 1.33rem;
    color: #333;
    font-weight: bold;
    background-color: transparent;
    border: none;
    transition: 0.3s all;
}
.liwindow-close:hover, .liwindow-close:focus{
    color: #7C4DFF;
    background-color: #f3f3f3;
}
.liwindow-close:active{
    color: #7C4DFF;
    transform: translate(-3px, -3px);
    transform: scale(0.9);
}
.liwindow-close:focus{
    outline: 1px solid #00BCD4;
}
.liwindow-body{
    padding: 1.2rem;
    color: #333;
    font-size: 1rem;
}
.liwindow-header h4{
    color: #333;
    padding: 20px;
    display: inline-block;
    font-size: 1.38rem;
    font-weight: bold;
}
.liwindow-footer{
    text-align: right;
}
.liwindow-btn{
    padding: 1.2rem;
    background-color: transparent;
    border: none;
    color: #9c27b0;
    text-transform: uppercase;
    font-size: 1rem;
    transition: 0.3s all;
}
.liwindow-btn:hover, .liwindow-btn:focus{
    color: #7C4DFF;
    background-color: #f3f3f3;
}
.liwindow-btn:active{
    color: #7C4DFF;
    transform: translate(-3px, -3px);
    transform: scale(0.9);
}
.liwindow-btn:focus{
    outline: 1px solid #00BCD4;
}
.liwindow-hide{
    display: none;
}
/* -- lilightbox -- */
.lilightbox img {
	max-width: 100%;
	margin: 1.2rem auto;
	display: block;
}
.lilightbox{
    width: 100%;
    height: 100%;
    overflow: auto;
}
.lilightbox .lilightbox-close{
    font-size: 1.55rem;
    position: absolute;
    left: 0;
    top: 0;
    color: #e0e0e0;
    text-shadow: 0px 1px 2px #333;
    padding: 1.2rem;
    display: inline-block;
    font-weight: bold;
    background-color: transparent;
    border: none;
    transition: 0.3s all;
}
.lilightbox .lilightbox-close:hover{
    color: #FFC107;
    background-color: transparent;
}
/* -- lislideshow -- */
.lislideshow{
    margin: 0;
    padding: 0;
    list-style: none;
}
.lislideshow {
    width: 100%;
    position: relative;
    transition: height 0.5s;
    overflow: hidden;
    display: block;
    z-index: 1;
}
.lislideshow li {
    position: absolute;
    transition: 0.5s all;
    opacity: 0;
    z-index: 1;
    display: block;
}
.lislideshow li.active  {
    opacity: 1;
    z-index: 10;
}
.lislideshow-cont {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.lislideshow-btn.btprev{left: 0;}
.lislideshow-btn.btnext{right: 0;}
.lislideshow-btn {
	font-size: 2.77rem;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15%;
	z-index: 15;
	background-color: transparent;
	border: none;
	padding: 0;
    color: #e0e0e0;
    text-shadow: 0px 1px 2px #333;
}
.lislideshow-btn:hover{
    color: #FFC107;
}
.author-block{
    margin-top: 2rem;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 5px 30px 5px #40408014;
    padding: 2rem;
}
.author-avatar{
    border-radius: 100%;
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
}
.author-description{
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.author-block h4 {
	text-align: center;
    margin-bottom: 0;
}
.author-title{
    text-align: center;
    font-weight: bold;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.author-link{
    /* text-align: center; */
}
@media (min-width: 769px) {
    .author-description {
        flex-direction: row;
    }
    .author-avatar {
        width: 180px;
        flex: 0 0 auto;
    }
    .author-bio {
        flex: 1 1 0;
        min-width: 0;
    }
}
@media (max-width: 768px) {
    .author-description {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .author-avatar {
        margin: 0 auto;
        max-width: 240px;
        width: 100%;
    }
    .author-bio {
        width: 100%;
    }
}

:not(pre) > code {
    background-color: #f4f4f4;
    color: #d63384;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    display: inline-block;
}

.wp-post-image.mylbselector {
    width: 100% !important;
    height: 400px !important; /* El alto fijo que tú quieras */
    object-fit: cover;        /* Evita que la imagen se vea estirada */
}

/* =========================================
   Site Header
   ========================================= */
.site-header {
    background-color: #1a1a1f;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 400;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0.65rem 1rem;
}
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.header-logo img {
    height: 30px;
    width: auto;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex-wrap: nowrap;
}
/* Formulario de búsqueda en el header */
.header-search {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s;
}
.header-search:focus-within {
    border-color: #E040FB;
    background: rgba(255,255,255,0.12);
}
.header-search-input {
    background: transparent;
    border: none;
    color: #fefefe;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    transition: background 0.3s;
    outline: none;
}
.header-search-input::placeholder {
    color: rgba(255,255,255,0.55);
}
.header-search-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.85);
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, background 0.3s;
    flex-shrink: 0;
}
.header-search-btn:hover {
    color: #ffffff;
    background: rgba(224, 64, 251, 0.2);
}
@media (min-width: 768px) {
    .header-search-input {
        font-size: 0.95rem;
    }
}
.header-search-btn:hover {
    color: #E040FB;
}
.header-search-btn svg {
    display: block;
    fill: none;
}
/* Botón hamburguesa */
.header-nav-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.header-nav-toggle:hover {
    background: rgba(255,255,255,0.08);
}
.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fefefe;
    border-radius: 2px;
    transition: 0.3s all;
}

#mainp h1 {
    word-break: break-all;
}

/* =========================================
   Backdrop con blur para el offcanvas
   ========================================= */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 200;
}
/* Clases de transición para el backdrop */
.bd-transition {
    transition: opacity 0.3s ease;
}
.bd-fade-from { opacity: 0; }
.bd-fade-to   { opacity: 1; }

/* =========================================
   Panel de navegación offcanvas
   ========================================= */
.nav-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82vw;
    background: rgba(18, 22, 35, 0.88);
    border-left: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 300;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 60px rgba(0,0,0,0.35);
}
@media (min-width: 768px) {
    .nav-offcanvas {
        width: 35vw;
    }
}
.nav-offcanvas-links {
    background: rgba(255,255,255,0.02);
    margin: 0.75rem 1rem 1rem;
    border-radius: 18px;
    padding: 0.25rem 0;
}
.nav-offcanvas-links a {
    border-radius: 12px;
    margin: 0 0.75rem 0.25rem;
}
.nav-offcanvas-links a:hover {
    background: rgba(224, 64, 251, 0.18);
}
/* Clases de transición para el panel */
.oc-transition {
    transition: transform 0.3s ease;
}
.oc-slide-from { transform: translateX(100%); }
.oc-slide-to   { transform: translateX(0); }

.nav-offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.nav-offcanvas-title {
    font-weight: bold;
    font-size: 1.05rem;
    color: #fefefe;
}
.nav-offcanvas-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fefefe;
    padding: 0.35rem;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    line-height: 0;
}
.nav-offcanvas-close:hover {
    background: rgba(255,255,255,0.08);
}
.nav-offcanvas-close svg {
    fill: none;
    stroke: currentColor;
}
.nav-offcanvas-links {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    flex: 1;
}
.nav-offcanvas-links li {
    margin: 0;
}
.nav-offcanvas-links li::marker {
    content: '';
}
.nav-offcanvas-links a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
}
.nav-offcanvas-links a:hover {
    background: rgba(224, 64, 251, 0.1);
    color: #E040FB;
    border-left-color: #E040FB;
}
.nav-section-label {
    display: block;
    padding: 1rem 1.5rem 0.3rem;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
}

/* =========================================
   Paginación
   ========================================= */
.np-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 0 4rem;
    grid-column: 1 / -1;
}
.np-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.7rem;
    background: rgba(255,255,255,0.1);
    color: #fefefe;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.2s, color 0.2s;
}
.np-pagination .page-numbers:hover {
    background: rgba(224, 64, 251, 0.25);
    color: #E040FB;
}
.np-pagination .page-numbers.current {
    background: #E040FB;
    color: #fff;
    font-weight: bold;
}
.np-pagination .page-numbers.dots {
    background: transparent;
    pointer-events: none;
}

/* =========================================
   Página de error 404
   ========================================= */
.error-404-section {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-404-code {
    font-size: clamp(5rem, 20vw, 10rem);
    font-weight: bold;
    line-height: 1;
    color: #E040FB; /* Fallback para navegadores sin soporte de gradient text */
    background: linear-gradient(135deg, #E040FB, #FF4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.error-404-title {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 1rem;
}
.error-404-desc {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    font-size: 1rem;
}