body {
    background-color: #f2f2f2;
    font-family: "Epilogue", sans-serif;
}

a {
    text-decoration: none;
    color: #000;
}

/* Skeleton/Placeholder para lazy loading */
.img-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.img-container img {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.img-container img.loaded {
    opacity: 1;
}

/* END : Skeleton/Placeholder para lazy loading */

/* Menú */
#logo {
    max-height: 100px;
    margin-top: 10px;
}

.progress2 {
    position: fixed;
    top: 45px;
    z-index: 1;
    width: 100%;
    transition: all 0.5s;
}

.progress2-container {
    width: 100%;
    height: 5px;
    background: #ccc;
}

.progress2-bar {
    height: 5px;
    background: #0084ca;
    width: 0%;
}

.animateMe {
    animation: progreso;
}

@keyframes progreso {
    0% {
        top: -100;
        opacity: 0;
    }

    100% {
        top: 100;
        opacity: 1;
    }
}

/* END : Menú */

/* Botón TOP */
#button_top {
    display: inline-block;
    background-color: #0084ca;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    top: 90%;
    right: 4%;
    transition: background-color .3s,
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button_top::after {
    content: "\f286";
    font-family: 'bootstrap-icons';
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#button_top:hover {
    cursor: pointer;
    background-color: #333;
}

#button_top:active {
    background-color: #555;
}

#button_top.show {
    opacity: 1;
    visibility: visible;
}

/* END : Botón TOP */

/* Cards */
.card-title {
    font-weight: 600;
}

.noticias .card-title {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(40, 115, 181, 0.25);
    transition: box-shadow 0.2s ease-in-out;
}

.card-body {
    padding: 0.75rem 1rem;
}

/* END : Cards */

/* Destacadas */
.destacada {
    font-size: 1rem;
    /* fs-6 */
}

@media (min-width: 768px) {
    .destacada {
        font-size: 1.25rem;
        /* fs-5 */
    }
}

/* END : Destacadas */

.hover-zoom img {
    transition: transform 0.3s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

/* END : Música */

/* Artículo */
.article-content {
    font-family: "Inter", sans-serif;
}

/* Estilos para las etiquetas/tags */
.hover-primary {
    transition: all 0.2s ease;
}

.hover-primary:hover {
    background-color: var(--bs-primary) !important;
    color: white !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}

/* Alternativa con colores más suaves */
.tag-soft {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.tag-soft:hover {
    background-color: #e9ecef;
    color: #212529;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

/* Variante con colores aleatorios suaves */
.tag-color-1 {
    background-color: #e3f2fd;
    color: #1565c0;
    border-color: #bbdefb;
}

.tag-color-1:hover {
    background-color: #1565c0;
    color: white;
}

.tag-color-2 {
    background-color: #f3e5f5;
    color: #7b1fa2;
    border-color: #ce93d8;
}

.tag-color-2:hover {
    background-color: #7b1fa2;
    color: white;
}

.tag-color-3 {
    background-color: #e8f5e8;
    color: #2e7d32;
    border-color: #a5d6a7;
}

.tag-color-3:hover {
    background-color: #2e7d32;
    color: white;
}

.tag-color-4 {
    background-color: #fff3e0;
    color: #ef6c00;
    border-color: #ffcc02;
}

.tag-color-4:hover {
    background-color: #ef6c00;
    color: white;
}

.tag-color-5 {
    background-color: #fce4ec;
    color: #c2185b;
    border-color: #f8bbd9;
}

.tag-color-5:hover {
    background-color: #c2185b;
    color: white;
}

/* END : Artículo */