/**
 * LWS Options Lab - Estilos principales
 */

/* ========================================================================
   Variables CSS
   ======================================================================== */

:root {
    --lws-primary: #3920EC;
    --lws-primary-dark: #2915B8;
    --lws-primary-light: #E8E6FC;
    --lws-secondary: #1A1F36;
    --lws-text: #2D3748;
    --lws-text-light: #718096;
    --lws-background: #F7F8FC;
    --lws-white: #FFFFFF;
    --lws-border: #E2E8F0;
    --lws-success: #38A169;
    --lws-accent: #3920EC;
    --lws-danger: #E53E3E;
}

/* ========================================================================
   Estilos Base del Archivo
   ======================================================================== */

.lws-archivo-container {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--lws-background);
    color: var(--lws-text);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 48px;
}

.lws-archivo-container * {
    box-sizing: border-box;
}

/* ========================================================================
   Header del Archivo
   ======================================================================== */

.lws-archive-header {
    margin-bottom: 40px;
}

.lws-archive-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--lws-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lws-archive-header h1 .icon {
    width: 40px;
    height: 40px;
    background: var(--lws-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lws-archive-header h1 .icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.lws-archive-header p {
    color: var(--lws-text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* ========================================================================
   Sección de Búsqueda
   ======================================================================== */

.lws-search-section {
    background: var(--lws-white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lws-search-container {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.lws-search-input-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.lws-search-input-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--lws-text-light);
}

.lws-search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--lws-border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--lws-white);
}

.lws-search-input:focus {
    outline: none;
    border-color: var(--lws-primary);
    box-shadow: 0 0 0 3px rgba(61, 79, 224, 0.1);
}

.lws-search-input::placeholder {
    color: var(--lws-text-light);
}

/* ========================================================================
   Filtros
   ======================================================================== */

.lws-filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lws-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--lws-border);
    border-radius: 10px;
    background: var(--lws-white);
    color: var(--lws-text);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lws-filter-btn:hover {
    border-color: var(--lws-primary);
    color: var(--lws-primary);
}

.lws-filter-btn.active {
    background: var(--lws-primary);
    border-color: var(--lws-primary);
    color: white;
}

/* ========================================================================
   Estadísticas
   ======================================================================== */

.lws-stats-bar {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 0 8px;
}

.lws-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--lws-text-light);
}

.lws-stat-item strong {
    color: var(--lws-secondary);
    font-weight: 600;
}

/* ========================================================================
   Grid de Posts/Vídeos
   ======================================================================== */

#lwsPostsList,
#lwsVideosList {
    max-width: 1400px;
    margin: 0 auto;
}

.lws-posts-grid,
.lws-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================================
   Tarjetas de Posts
   ======================================================================== */

.lws-post-card {
    background: var(--lws-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.lws-post-card:hover {
    border-color: var(--lws-primary);
    box-shadow: 0 8px 24px rgba(61, 79, 224, 0.15);
    transform: translateY(-4px);
}

.lws-post-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.lws-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lws-post-card:hover .lws-post-thumbnail img {
    transform: scale(1.05);
}

/* Badge "Nuevo" */
.lws-badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #3920EC;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(27, 224, 217, 0.4);
    animation: lwsPulse 2s ease-in-out infinite;
}

@keyframes lwsPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(27, 224, 217, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(27, 224, 217, 0.6);
    }
}

.lws-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lws-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.lws-post-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lws-primary-light);
    color: var(--lws-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lws-post-date {
    font-size: 0.85rem;
    color: var(--lws-text-light);
}

.lws-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.lws-post-title a {
    color: var(--lws-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lws-post-title a:hover {
    color: var(--lws-primary);
}

.lws-post-excerpt {
    color: var(--lws-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.lws-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--lws-border);
}

.lws-post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lws-post-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.lws-post-author span {
    font-size: 0.9rem;
    color: var(--lws-text);
    font-weight: 500;
}

.lws-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--lws-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.lws-read-more:hover {
    gap: 8px;
}

.lws-read-more svg {
    fill: currentColor;
}

/* ========================================================================
   Tarjetas de Vídeos
   ======================================================================== */

.lws-video-card {
    background: var(--lws-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lws-video-card:hover {
    border-color: var(--lws-primary);
    box-shadow: 0 8px 24px rgba(61, 79, 224, 0.15);
    transform: translateY(-4px);
}

.lws-video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.lws-video-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.lws-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lws-video-card:hover .lws-video-thumbnail img {
    transform: scale(1.05);
}

.lws-no-thumbnail {
    background: linear-gradient(135deg, var(--lws-primary) 0%, var(--lws-accent) 100%);
}

.lws-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lws-video-card:hover .lws-play-overlay {
    background: var(--lws-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.lws-video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lws-video-content {
    padding: 20px;
}

.lws-video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.lws-video-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lws-accent);
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lws-video-date {
    font-size: 0.85rem;
    color: var(--lws-text-light);
}

.lws-video-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.lws-video-title a {
    color: var(--lws-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lws-video-title a:hover {
    color: var(--lws-primary);
}

.lws-video-excerpt {
    color: var(--lws-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.lws-video-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--lws-border);
}

.lws-video-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lws-video-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.lws-video-author span {
    font-size: 0.9rem;
    color: var(--lws-text);
    font-weight: 500;
}

.lws-video-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lws-video-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--lws-text-light);
}

.lws-video-views svg {
    fill: var(--lws-text-light);
}

/* ========================================================================
   Sin Resultados
   ======================================================================== */

.lws-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--lws-text-light);
}

.lws-no-results svg {
    width: 64px;
    height: 64px;
    fill: var(--lws-border);
    margin-bottom: 16px;
}

.lws-no-results h3 {
    font-size: 1.25rem;
    color: var(--lws-secondary);
    margin-bottom: 8px;
}

/* ========================================================================
   Paginación
   ======================================================================== */

.lws-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.lws-pagination .page-numbers {
    padding: 10px 16px;
    border: 2px solid var(--lws-border);
    border-radius: 8px;
    background: var(--lws-white);
    color: var(--lws-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lws-pagination .page-numbers:hover {
    border-color: var(--lws-primary);
    color: var(--lws-primary);
}

.lws-pagination .page-numbers.current {
    background: var(--lws-primary);
    border-color: var(--lws-primary);
    color: white;
}

/* ========================================================================
   Single Post/Video - Container
   ======================================================================== */

.lws-single-post,
.lws-single-video {
    background-color: var(--lws-background);
    padding: 40px 0;
}

.lws-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* ========================================================================
   Breadcrumb
   ======================================================================== */

.lws-breadcrumb {
    font-size: 0.9rem;
    color: var(--lws-text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lws-breadcrumb a {
    color: var(--lws-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lws-breadcrumb a:hover {
    color: var(--lws-primary);
}

.lws-breadcrumb .separator {
    color: var(--lws-border);
}

.lws-breadcrumb .current {
    color: var(--lws-text);
}

/* ========================================================================
   Single Header
   ======================================================================== */

.lws-single-header {
    grid-column: 1 / -1;
    background: var(--lws-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lws-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lws-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--lws-primary-light);
    color: var(--lws-primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lws-video-badge {
    background: var(--lws-accent);
    color: white;
}

.lws-single-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lws-secondary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.lws-single-excerpt {
    font-size: 1.2rem;
    color: var(--lws-text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ========================================================================
   Author Bar
   ======================================================================== */

.lws-single-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--lws-border);
}

.lws-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lws-author-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.lws-author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lws-author-name {
    font-weight: 600;
    color: var(--lws-secondary);
}

.lws-reading-time,
.lws-video-meta-info {
    font-size: 0.9rem;
    color: var(--lws-text-light);
}

.lws-video-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lws-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lws-meta-item svg {
    fill: var(--lws-text-light);
}

/* ========================================================================
   Social Share
   ======================================================================== */

.lws-social-share {
    display: flex;
    gap: 8px;
}

.lws-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--lws-border);
    background: var(--lws-white);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lws-share-btn svg {
    fill: var(--lws-text-light);
    transition: fill 0.2s ease;
}

.lws-share-btn:hover {
    border-color: var(--lws-primary);
    background: var(--lws-primary-light);
}

.lws-share-btn:hover svg {
    fill: var(--lws-primary);
}

/* ========================================================================
   Featured Image & Video Player
   ======================================================================== */

.lws-single-featured-image {
    grid-column: 1 / -1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

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

.lws-video-player {
    grid-column: 1 / -1;
    margin-bottom: 32px;
}

.lws-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--lws-secondary);
}

.lws-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lws-video-placeholder img {
    width: 100%;
    border-radius: 16px;
}

.lws-video-description {
    background: var(--lws-white);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 4px solid var(--lws-primary);
}

.lws-video-description h3 {
    font-size: 1.1rem;
    color: var(--lws-secondary);
    margin-bottom: 12px;
}

/* ========================================================================
   Single Content
   ======================================================================== */

.lws-single-content {
    background: var(--lws-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--lws-text);
}

.lws-single-content h2,
.lws-single-content h3,
.lws-single-content h4 {
    color: var(--lws-secondary);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.lws-single-content h2 {
    font-size: 1.8rem;
}

.lws-single-content h3 {
    font-size: 1.5rem;
}

.lws-single-content h4 {
    font-size: 1.2rem;
}

.lws-single-content p {
    margin-bottom: 20px;
}

.lws-single-content a {
    color: var(--lws-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--lws-primary-light);
    transition: border-color 0.2s ease;
}

.lws-single-content a:hover {
    border-bottom-color: var(--lws-primary);
}

.lws-single-content ul,
.lws-single-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.lws-single-content li {
    margin-bottom: 8px;
}

.lws-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.lws-single-content blockquote {
    border-left: 4px solid var(--lws-primary);
    padding-left: 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--lws-text-light);
}

.lws-single-content code {
    background: var(--lws-background);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.lws-single-content pre {
    background: var(--lws-secondary);
    color: var(--lws-white);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.lws-single-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ========================================================================
   Tags
   ======================================================================== */

.lws-single-tags {
    background: var(--lws-white);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lws-tags-label {
    font-weight: 600;
    color: var(--lws-secondary);
}

.lws-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--lws-background);
    color: var(--lws-text);
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lws-tag:hover {
    background: var(--lws-primary-light);
    color: var(--lws-primary);
}

/* ========================================================================
   Post Navigation
   ======================================================================== */

.lws-single-footer {
    grid-column: 1 / -1;
    margin-top: 32px;
}

.lws-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.lws-nav-prev,
.lws-nav-next {
    background: var(--lws-white);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--lws-border);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lws-nav-prev:hover,
.lws-nav-next:hover {
    border-color: var(--lws-primary);
    box-shadow: 0 4px 12px rgba(61, 79, 224, 0.15);
}

.lws-nav-prev {
    text-align: left;
}

.lws-nav-next {
    text-align: right;
}

.lws-nav-label {
    font-size: 0.85rem;
    color: var(--lws-text-light);
    font-weight: 500;
}

.lws-nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lws-secondary);
    transition: color 0.2s ease;
}

.lws-nav-prev:hover .lws-nav-title,
.lws-nav-next:hover .lws-nav-title {
    color: var(--lws-primary);
}

/* ========================================================================
   Sidebar
   ======================================================================== */

.lws-single-sidebar {
    grid-column: 2;
    grid-row: 2 / span 10;
}

.lws-sidebar-widget {
    background: var(--lws-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.lws-widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lws-secondary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lws-border);
}

.lws-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lws-related-item {
    margin-bottom: 20px;
}

.lws-related-item:last-child {
    margin-bottom: 0;
}

.lws-related-item a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lws-related-item a:hover {
    opacity: 0.8;
}

.lws-related-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.lws-related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lws-video-thumb .lws-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lws-related-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lws-related-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lws-secondary);
    line-height: 1.3;
    margin: 0;
}

.lws-related-date,
.lws-related-duration {
    font-size: 0.8rem;
    color: var(--lws-text-light);
}

/* ========================================================================
   Dashboard
   ======================================================================== */

.lws-dashboard-container {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--lws-background);
    padding: 40px;
    border-radius: 16px;
}

.lws-dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.lws-dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lws-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lws-dashboard-header h1 .icon {
    width: 48px;
    height: 48px;
    background: var(--lws-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lws-dashboard-header h1 .icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.lws-dashboard-header p {
    color: var(--lws-text-light);
    font-size: 1.1rem;
}

.lws-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.lws-stat-box {
    background: var(--lws-white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.lws-stat-box:hover {
    border-color: var(--lws-primary);
    transform: translateY(-2px);
}

.lws-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--lws-primary);
    margin-bottom: 8px;
}

.lws-stat-label {
    font-size: 1rem;
    color: var(--lws-text-light);
    font-weight: 500;
}

.lws-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.lws-action-card {
    background: var(--lws-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.2s ease;
}

.lws-action-card:hover {
    box-shadow: 0 8px 24px rgba(61, 79, 224, 0.15);
    transform: translateY(-4px);
}

.lws-action-icon {
    width: 64px;
    height: 64px;
    background: var(--lws-primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.lws-action-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--lws-primary);
}

.lws-action-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lws-secondary);
    margin-bottom: 8px;
}

.lws-action-card p {
    color: var(--lws-text-light);
    margin-bottom: 20px;
}

.lws-action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.lws-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.lws-btn-primary {
    background: var(--lws-primary);
    color: white;
    border: 2px solid var(--lws-primary);
}

.lws-btn-primary:hover {
    background: var(--lws-primary-dark);
    border-color: var(--lws-primary-dark);
}

.lws-btn-secondary {
    background: transparent;
    color: var(--lws-primary);
    border: 2px solid var(--lws-primary);
}

.lws-btn-secondary:hover {
    background: var(--lws-primary-light);
}

.lws-dashboard-recent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.lws-recent-section {
    background: var(--lws-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lws-recent-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lws-secondary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--lws-border);
}

.lws-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lws-recent-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lws-border);
}

.lws-recent-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.lws-recent-item a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lws-recent-item a:hover {
    opacity: 0.8;
}

.lws-no-content {
    color: var(--lws-text-light);
    font-style: italic;
}

.lws-google-sheets-container {
    margin: 20px 0;
}

.lws-google-sheets-container iframe {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lws-error {
    background: #FEE;
    border: 2px solid var(--lws-danger);
    color: var(--lws-danger);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

/* ========================================================================
   Responsive
   ======================================================================== */

@media (max-width: 1200px) {
    .lws-archivo-container {
        padding: 40px 32px;
    }

    .lws-single-container {
        grid-template-columns: 1fr;
    }

    .lws-single-sidebar {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .lws-archivo-container {
        padding: 20px 16px;
    }

    .lws-archive-header h1 {
        font-size: 1.5rem;
    }

    .lws-search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .lws-search-input-wrapper {
        min-width: 100%;
    }

    .lws-filter-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .lws-posts-grid,
    .lws-videos-grid {
        grid-template-columns: 1fr;
    }

    .lws-single-title {
        font-size: 1.8rem;
    }

    .lws-single-excerpt {
        font-size: 1rem;
    }

    .lws-single-header {
        padding: 24px;
    }

    .lws-single-content {
        padding: 24px;
        font-size: 1rem;
    }

    .lws-post-navigation {
        grid-template-columns: 1fr;
    }

    .lws-dashboard-header h1 {
        font-size: 1.8rem;
    }

    .lws-dashboard-recent {
        grid-template-columns: 1fr;
    }

    .lws-single-author-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .lws-social-share {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .lws-archivo-container {
        padding: 16px 12px;
    }

    .lws-dashboard-container {
        padding: 20px;
    }

    .lws-stat-number {
        font-size: 2rem;
    }

    .lws-action-card {
        padding: 24px;
    }
}

/* ========================================
   STUDENT DASHBOARD STYLES
   ======================================== */

.lws-student-dashboard {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F7F8FC;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Section Headers */
.lws-section-header {
    margin-bottom: 40px;
    text-align: center;
}

.lws-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lws-secondary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.lws-section-header h2 svg {
    width: 32px;
    height: 32px;
    color: #3920EC;
}

.lws-section-header p {
    font-size: 1.125rem;
    color: #718096;
    margin: 0;
}

/* ========================================
   HERO SECTION (Latest Article + Video)
   ======================================== */

.lws-dashboard-hero {
    margin-bottom: 80px;
}

.lws-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.lws-hero-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.lws-hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.lws-hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #3920EC;
    color: white;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(27, 224, 217, 0.4);
}

.lws-hero-badge-video {
    background: #8B5CF6;
}

.lws-hero-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.lws-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lws-hero-card:hover .lws-hero-image img {
    transform: scale(1.08);
}

.lws-video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(27, 224, 217, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lws-hero-card:hover .lws-video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(27, 224, 217, 1);
}

.lws-video-play-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.lws-video-duration {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 5;
}

.lws-hero-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lws-hero-category {
    margin-bottom: 16px;
}

.lws-category-badge {
    display: inline-block;
    background: #E8EBFC;
    color: #3920EC;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lws-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lws-secondary);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.lws-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lws-hero-title a:hover {
    color: #3920EC;
}

.lws-hero-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #718096;
    margin: 0 0 24px 0;
    flex: 1;
}

.lws-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
}

.lws-hero-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #A0AEC0;
}

.lws-hero-date svg {
    width: 16px;
    height: 16px;
}

.lws-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3920EC;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(27, 224, 217, 0.3);
}

.lws-hero-btn:hover {
    background: #17C9C0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 224, 217, 0.4);
    color: white;
}

.lws-hero-btn svg {
    width: 18px;
    height: 18px;
}

.lws-hero-btn-video {
    background: #8B5CF6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.lws-hero-btn-video:hover {
    background: #7C3AED;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.lws-hero-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #A0AEC0;
    font-size: 1.125rem;
}

/* ========================================
   DESTACADOS SECTION
   ======================================== */

.lws-dashboard-destacados {
    margin-bottom: 80px;
}

.lws-destacados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.lws-destacado-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.lws-destacado-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.lws-destacado-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.lws-destacado-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lws-destacado-card:hover .lws-destacado-image img {
    transform: scale(1.1);
}

.lws-destacado-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #3920EC;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lws-destacado-badge svg {
    width: 14px;
    height: 14px;
}

.lws-destacado-content {
    padding: 24px;
}

.lws-destacado-type {
    display: inline-block;
    background: #F7FAFC;
    color: #718096;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.lws-destacado-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lws-secondary);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.lws-destacado-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lws-destacado-title a:hover {
    color: #3920EC;
}

.lws-destacado-meta {
    display: flex;
    align-items: center;
}

.lws-destacado-date {
    font-size: 0.875rem;
    color: #A0AEC0;
}

.lws-no-destacados {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.lws-no-destacados svg {
    width: 80px;
    height: 80px;
    color: #E2E8F0;
    margin-bottom: 24px;
}

.lws-no-destacados p {
    font-size: 1.125rem;
    color: #A0AEC0;
    margin: 0;
}

/* ========================================
   LATEST ARTICLES GRID
   ======================================== */

.lws-dashboard-latest {
    margin-bottom: 80px;
}

.lws-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.lws-latest-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lws-latest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.lws-latest-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.lws-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lws-latest-card:hover .lws-latest-image img {
    transform: scale(1.08);
}

.lws-latest-content {
    padding: 24px;
}

.lws-latest-category {
    margin-bottom: 12px;
}

.lws-latest-category span {
    display: inline-block;
    background: #F0FDF4;
    color: #16A34A;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lws-latest-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lws-secondary);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.lws-latest-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lws-latest-title a:hover {
    color: #3920EC;
}

.lws-latest-meta {
    display: flex;
    align-items: center;
}

.lws-latest-date {
    font-size: 0.875rem;
    color: #A0AEC0;
}

.lws-view-all-wrapper {
    text-align: center;
}

.lws-btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #3920EC;
    padding: 14px 32px;
    border-radius: 12px;
    border: 2px solid #3920EC;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lws-btn-view-all:hover {
    background: #3920EC;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 224, 217, 0.3);
}

.lws-btn-view-all svg {
    width: 18px;
    height: 18px;
}

.lws-no-content {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.lws-no-content p {
    font-size: 1.125rem;
    color: #A0AEC0;
    margin: 0;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.lws-dashboard-portfolio {
    margin-bottom: 60px;
}

.lws-portfolio-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.lws-portfolio-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.lws-portfolio-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lws-portfolio-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.lws-portfolio-content {
    flex: 1;
    z-index: 1;
}

.lws-portfolio-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
}

.lws-portfolio-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.lws-portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #667eea;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.lws-portfolio-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #667eea;
}

.lws-portfolio-btn svg {
    width: 20px;
    height: 20px;
}

.lws-portfolio-notice {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.lws-portfolio-notice p {
    color: white;
    margin: 0;
    font-size: 1rem;
}

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

@media (max-width: 1200px) {
    .lws-latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .lws-hero-grid {
        grid-template-columns: 1fr;
    }

    .lws-section-header h2 {
        font-size: 2rem;
    }

    .lws-portfolio-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .lws-student-dashboard {
        width: 95%;
        padding: 40px 0;
    }

    .lws-latest-grid {
        grid-template-columns: 1fr;
    }

    .lws-destacados-grid {
        grid-template-columns: 1fr;
    }

    .lws-section-header h2 {
        font-size: 1.75rem;
        flex-direction: column;
    }

    .lws-hero-title {
        font-size: 1.5rem;
    }

    .lws-hero-content {
        padding: 24px;
    }

    .lws-portfolio-card {
        padding: 32px 24px;
    }

    .lws-portfolio-content h2 {
        font-size: 1.5rem;
    }

    .lws-portfolio-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .lws-student-dashboard {
        width: 100%;
        padding: 20px 0;
    }

    .lws-section-header {
        margin-bottom: 24px;
    }

    .lws-dashboard-hero,
    .lws-dashboard-destacados,
    .lws-dashboard-latest {
        margin-bottom: 40px;
    }

    .lws-hero-badge {
        top: 12px;
        left: 12px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .lws-portfolio-icon {
        width: 80px;
        height: 80px;
    }

    .lws-portfolio-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   ENHANCED SIDEBAR STYLES
   ======================================== */

.lws-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Sidebar Widgets */
.lws-sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.lws-sidebar-widget:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lws-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lws-secondary);
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lws-widget-title svg {
    color: #3920EC;
    flex-shrink: 0;
}

/* Sidebar Lists */
.lws-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lws-sidebar-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F7FAFC;
}

.lws-sidebar-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.lws-sidebar-item a {
    display: flex;
    gap: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lws-sidebar-item a:hover {
    opacity: 0.8;
}

/* Sidebar Thumbnails */
.lws-sidebar-thumbnail {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #E2E8F0;
}

.lws-sidebar-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lws-sidebar-item:hover .lws-sidebar-thumbnail img {
    transform: scale(1.1);
}

/* Video Play Icon in Sidebar */
.lws-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(27, 224, 217, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lws-sidebar-item:hover .lws-video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(27, 224, 217, 1);
}

.lws-video-play-icon svg {
    margin-left: 2px;
}

/* Video Duration Badge in Sidebar */
.lws-video-duration-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.688rem;
    font-weight: 600;
    z-index: 5;
}

/* Destacado Badge in Sidebar */
.lws-thumbnail-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: #3920EC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(27, 224, 217, 0.4);
    z-index: 5;
}

.lws-thumbnail-badge svg {
    color: white;
}

/* Sidebar Content */
.lws-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; /* Allow text truncation */
}

.lws-sidebar-content h4 {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--lws-secondary);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.lws-sidebar-item a:hover h4 {
    color: #3920EC;
}

.lws-sidebar-date {
    font-size: 0.813rem;
    color: #A0AEC0;
}

/* Empty State */
.lws-widget-empty {
    color: #A0AEC0;
    font-size: 0.938rem;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

/* CTA Widget */
.lws-widget-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 32px 28px;
}

.lws-sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    color: #667eea;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lws-sidebar-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #667eea;
}

.lws-sidebar-cta-btn svg:last-child {
    margin-left: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .lws-single-sidebar {
        grid-column: 1;
        gap: 24px;
    }

    .lws-sidebar-widget {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .lws-sidebar-thumbnail {
        width: 80px;
        height: 60px;
    }

    .lws-sidebar-content h4 {
        font-size: 0.875rem;
    }

    .lws-widget-title {
        font-size: 1.125rem;
    }

    .lws-video-play-icon {
        width: 28px;
        height: 28px;
    }

    .lws-video-play-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .lws-single-sidebar {
        gap: 20px;
    }

    .lws-sidebar-widget {
        padding: 20px;
    }

    .lws-sidebar-item {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .lws-sidebar-item a {
        gap: 12px;
    }

    .lws-sidebar-cta-btn {
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px;
    }

    .lws-sidebar-cta-btn svg:last-child {
        margin-left: 0;
    }
}
