/* ==========================================================================
   Psyciencia Linkblog - Estilos Frontend
   Tema: Authentic (wp-theme-authentic)
   ========================================================================== */

.linkblog-arrow {
    display: inline-block;
    margin-left: 0.15em;
    font-style: normal;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

a:hover .linkblog-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* ==========================================================================
   LINK POST EN EL FEED
   ========================================================================== */

article.is-linkblog-post {
    position: relative !important;
}

/* Layout ancho completo (para post-list con imagen 50/50) */
article.is-linkblog-post .post-outer.post-list-half {
    display: block !important;
}

article.is-linkblog-post .post-inner.post-list-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Ocultar "VER PUBLICACIÓN" */
article.is-linkblog-post .post-more {
    display: none !important;
}

/* Título */
article.is-linkblog-post .entry-title {
    font-size: 1.3em !important;
    line-height: 1.35 !important;
    margin-bottom: 0.3em !important;
}

/* Categoría */
article.is-linkblog-post .meta-category a {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Meta (autor, fecha) */
article.is-linkblog-post .post-meta {
    font-size: 0.8em !important;
    opacity: 0.5 !important;
}

/* Etiqueta "🔗 ENLACE" */
article.is-linkblog-post::after {
    content: '🔗 ENLACE' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    font-size: 0.6em !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #aaa !important;
}

/* Contenido en el feed */
article.is-linkblog-post .post-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
}

article.is-linkblog-post .post-excerpt p {
    margin-bottom: 0.8em;
}

article.is-linkblog-post .post-excerpt p:last-child {
    margin-bottom: 0;
}

article.is-linkblog-post .post-excerpt blockquote,
article.is-linkblog-post .post-excerpt .wp-block-quote {
    border-left: 2px solid #ccc !important;
    margin: 0 0 1em 0 !important;
    padding: 0.4em 1em !important;
    font-style: italic !important;
    background: transparent !important;
    color: #777 !important;
}

article.is-linkblog-post .post-excerpt img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0.8em 0;
}

/* Enlace a la fuente */
article.is-linkblog-post .linkblog-source,
article.is-linkblog-post .post-excerpt .linkblog-source,
p.linkblog-source {
    margin-top: 1em !important;
    padding-top: 0 !important;
    border-top: none !important;
}

article.is-linkblog-post .linkblog-source a,
p.linkblog-source a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.2em !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    color: #888 !important;
    font-size: 0.85em !important;
}

article.is-linkblog-post .linkblog-source a:hover,
p.linkblog-source a:hover {
    color: #555 !important;
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

.linkblog-quote {
    border-left: 2px solid #ccc;
    margin: 0 0 1.5em 0;
    padding: 0.5em 1.2em;
    font-style: italic;
    background: transparent;
}

.linkblog-image img {
    border-radius: 6px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    article.is-linkblog-post .entry-title {
        font-size: 1.1em !important;
    }

    article.is-linkblog-post::after {
        position: static !important;
        display: block !important;
        margin-bottom: 0.5em !important;
    }
}
