/* Breadcrumbs */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Cabecera del artículo */
.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.5rem;
}

.post-meta a {
    color: inherit;
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--accent-color);
}

/* Imagen destacada */
.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenido del artículo */
.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.post-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    color: var(--dark-bg);
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.post-body figure {
    margin: 2rem 0;
}

.post-body figure figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.post-body iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.post-body blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f8f9fa;
    font-style: italic;
}

.post-body a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-color);
}

.post-body a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Compartir en redes sociales */
.post-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.share-buttons .btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-twitter {
    background-color: #1da1f2;
    color: white;
}

.btn-facebook {
    background-color: #3b5998;
    color: white;
}

.btn-telegram {
    background-color: #0088cc;
    color: white;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-bluesky {
    background-color: #0285FF;
    color: white;
}

.btn-bluesky:hover,
.btn-twitter:hover,
.btn-facebook:hover,
.btn-telegram:hover,
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    color: white;
}

.btn-bluesky svg {
    vertical-align: -0.125em;
}

/* Post Navigation */
.post-navigation {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-link {
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    text-decoration: none;
}

.nav-direction {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--dark-bg);
}

/* Artículos relacionados */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.related-post-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .card-img-top {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-title a {
    color: var(--dark-bg);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--accent-color);
}

/* Estilos para cuando no hay imagen disponible */
.no-image-placeholder {
    width: 100%;
    height: 180px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.no-image-link:hover .no-image-placeholder {
    background-color: #e9ecef;
    color: var(--accent-color);
}

/* Comentarios */
.post-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.comments-list {
    margin-bottom: 2rem;
}

.comment {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #6c757d;
}

.author-name {
    font-weight: 600;
    margin-right: 1rem;
}

.comment-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.comment-content {
    font-size: 1rem;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem 0;
}

.comment-form-wrapper {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.comment-form-wrapper h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Botón Volver Arriba */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
    color: white;
}

/* Responsivo */
@media (max-width: 767.98px) {
    .post-title {
        font-size: 1.8rem;
    }

    .post-body {
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.5rem;
    }

    .post-body h3 {
        font-size: 1.25rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .share-buttons .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-body iframe {
        height: 250px;
    }

    .nav-link {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .nav-title {
        font-size: 0.9rem;
    }

    .comment-author {
        flex-wrap: wrap;
    }

    .comment-date {
        width: 100%;
        margin-left: 2rem;
        margin-top: 0.25rem;
    }
}
/* Ajuste en post-styles.css */
.post-navigation {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.related-posts {
    margin-top: 2rem;
    /* Reducir de 3rem a 2rem */
    padding-top: 1rem;
    /* Reducir de 2rem a 1rem */
    border-top: none;
    /* Eliminar el borde superior ya que la navegación ya tiene borde inferior */
}
.pdf-download-container {
    margin: 20px 0;
}

.pdf-download-container .btn {
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pdf-download-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pdf-download-container .bi {
    margin-right: 5px;
}
/* Estilos para el recuadro de podcast */
.podcast-links-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0d6efd;
}

.podcast-links-container h4 {
    color: #212529;
    font-size: 1.25rem;
}

.podcast-links-container .bi-headphones {
    color: #0d6efd;
    margin-right: 5px;
}

.btn-podcast {
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-podcast:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.btn-ivoox {
    background-color: #FF6600;
    color: white;
}

.btn-ivoox:hover {
    background-color: #e65c00;
    color: white;
}

.btn-spotify {
    background-color: #1DB954;
    color: white;
}

.btn-spotify:hover {
    background-color: #1aa34a;
    color: white;
}

.btn-apple {
    background-color: #9933CC;
    color: white;
}

.btn-apple:hover {
    background-color: #8829b8;
    color: white;
}

/* Para pantallas pequeñas */
@media (max-width: 576px) {
    .podcast-links {
        flex-direction: column;
        align-items: center;
    }

    .btn-podcast {
        margin: 5px 0;
        width: 80%;
        justify-content: center;
    }
}
/* Estilos para el recuadro de podcast */
.podcast-links-container {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    background-color: #ffffff;
}

.podcast-header {
    font-size: 1.25rem;
    color: #212529;
    margin-bottom: 15px;
    text-align: center;
}

.podcast-header .bi-headphones {
    color: #0d6efd;
    margin-right: 5px;
}

.podcast-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-podcast {
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-podcast i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.btn-podcast:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-ivoox {
    color: #FF6600;
    background-color: transparent;
    border-color: #FF6600;
}

.btn-ivoox:hover {
    background-color: #FF6600;
    color: white;
}

.btn-spotify {
    color: #1DB954;
    background-color: transparent;
    border-color: #1DB954;
}

.btn-spotify:hover {
    background-color: #1DB954;
    color: white;
}

.btn-apple {
    color: #9933CC;
    background-color: transparent;
    border-color: #9933CC;
}

.btn-apple:hover {
    background-color: #9933CC;
    color: white;
}

/* Para pantallas pequeñas */
@media (max-width: 576px) {
    .podcast-links {
        flex-direction: column;
        align-items: center;
    }

    .btn-podcast {
        margin: 5px 0;
        width: 80%;
        justify-content: center;
    }
}
/* Estilos para el widget de SuperJuegos Aleatoria */
.random-magazine-widget {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #ffffff;
}

.random-magazine {
    text-align: center;
}

.magazine-cover {
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.magazine-cover img {
    transition: transform 0.3s ease;
}

.magazine-cover:hover img {
    transform: scale(1.05);
}

.magazine-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.magazine-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.random-magazine-widget .btn {
    border-radius: 50px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.random-magazine-widget .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.random-magazine-widget .bi-book {
    margin-right: 5px;
}