/*
Theme Name: Base SEO Theme
Description: Un tema moderno y optimizado para SEO con arquitectura hexagonal
Version: 1.0.0
Author: Angel Garcia <angelgarciaweb@gmail.com>
Author URI: https://holasoy.dev
Text Domain: base-seo-theme
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Variables CSS */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--text-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: var(--bg-light);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Trending Topics */
.trending-topics {
    padding: 3rem 0;
    text-align: center;
}

.trending-topics h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.topic-tag {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    position: relative;
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Widget */
.about-widget {
    text-align: center;
}

.profile-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    margin: 0 auto 1rem;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-role {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.author-bio {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.author-location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Newsletter */
.newsletter-section {
    background: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--secondary-color);
}

.newsletter-disclaimer {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Single Post Styles */
.single-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.single-post {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* Post Header */
.post-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.post-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-category {
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-category:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.featured-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.post-author,
.post-date,
.post-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.author-avatar,
.date-icon,
.reading-icon {
    font-size: 1.125rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

/* Featured Image */
.featured-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    overflow: hidden;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    position: relative;
}

.post-featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-featured-image:hover::before {
    opacity: 1;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.post-featured-image:hover img {
    transform: scale(1.02);
}

.post-featured-image .featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post Content */
.post-content {
    padding: 2rem;
    line-height: 1.8;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 2rem 0 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.post-content h2 {
    font-size: 1.75rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.25rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Post Tags */
.post-tags {
    padding: 0 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.post-tags h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tags-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag-link {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Post Navigation */
.post-navigation {
    padding: 2rem;
    background: var(--bg-light);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.nav-content {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.nav-title {
    font-weight: 600;
    line-height: 1.4;
}

/* Author Info */
.author-info {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 2rem;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.author-bio {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.author-links {
    margin-top: 1rem;
}

.author-posts-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.author-posts-link:hover {
    color: var(--secondary-color);
}

/* Related Posts */
.related-posts {
    padding: 2rem;
}

.related-posts-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail {
    width: 100%;
    height: 150px;
    background: var(--bg-light);
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1rem;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

.related-post-meta {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Comments */
.comments-area {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 2rem;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.comment-list,
.children {
    list-style: none;
    margin-bottom: 2rem;
}

.comment-body {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author img {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-content {
    line-height: 1.6;
    color: var(--text-dark);
}

.reply {
    margin-top: 1rem;
}

.reply a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.reply a:hover {
    color: var(--secondary-color);
}

/* Comment Form */
.comment-form {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form input[type="submit"] {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: var(--secondary-color);
}

.comment-notes {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.required {
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Single Post Responsive */
    .single-post-container {
        padding: 1rem;
    }

    .post-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .post-featured-image {
        height: 250px;
        margin: 1.5rem 0;
        border-radius: 8px;
    }

    .post-content {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.25rem;
    }

    .post-content h4 {
        font-size: 1.125rem;
    }

    .post-tags {
        padding: 0 1.5rem 1rem;
    }

    .post-navigation {
        padding: 1.5rem;
    }

    .nav-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
        margin: 1.5rem;
        padding: 1.5rem;
    }

    .related-posts {
        padding: 1.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .comments-area {
        padding: 1.5rem;
        margin: 1.5rem;
    }

    .comment-form {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .single-post-container {
        padding: 0.5rem;
    }

    .post-featured-image {
        height: 200px;
        margin: 1rem 0;
        border-radius: 6px;
    }

    .post-header {
        padding: 1rem 1rem 0.75rem;
    }

    .post-title {
        font-size: 1.75rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-tags {
        padding: 0 1rem 0.75rem;
    }

    .post-navigation {
        padding: 1rem;
    }

    .author-info {
        margin: 1rem;
        padding: 1rem;
    }

    .related-posts {
        padding: 1rem;
    }

    .comments-area {
        padding: 1rem;
        margin: 1rem;
    }
}

/* Work Experience Widget Styles */
.work-experience-widget .widget-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.widget-icon {
    font-size: 1.25rem;
    opacity: 0.8;
}

.work-experience {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.work-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 2px 2px 0;
}

.work-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.work-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.work-content {
    flex: 1;
    min-width: 0;
}

.work-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.work-company {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-period {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--border-color);
}

/* Responsive adjustments for work experience */
@media (max-width: 768px) {
    .work-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .work-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .work-title {
        font-size: 0.9rem;
    }

    .work-company {
        font-size: 0.8rem;
    }

    .work-period {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .work-item {
        padding: 0.875rem;
        gap: 0.625rem;
    }

    .work-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    .work-title {
        font-size: 0.875rem;
    }

    .work-company {
        font-size: 0.75rem;
    }

    .work-period {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
}

/* Posts Destacados - Estilos Modernos */
.featured-posts-widget {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.featured-posts-widget:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.featured-posts-widget .widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.featured-posts-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.featured-post {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.featured-post:last-child {
    margin-bottom: 0;
}

.featured-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 2px 2px 0;
}

.featured-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    background: white;
}

.featured-post-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.featured-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-post-thumbnail img {
    transform: scale(1.05);
}

.placeholder-thumbnail {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    border-radius: 8px;
}

.featured-post-category {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.featured-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-post-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-post-meta::before {
    content: '👤';
    font-size: 0.9rem;
}

/* Indicador de carga para posts destacados */
.featured-posts-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Efectos de transición mejorados */
.featured-post {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-post-thumbnail img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto de brillo en hover */
.featured-post::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.featured-post:hover::after {
    left: 100%;
}

.featured-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.featured-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-posts-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.featured-posts-pagination .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-posts-pagination .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.featured-posts-pagination .dot:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive para posts destacados */
@media (max-width: 768px) {
    .featured-posts-widget {
        padding: 1.5rem;
        margin: 1rem;
    }

    .featured-post {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .featured-post-thumbnail {
        width: 100%;
        height: 160px;
    }

    .featured-post-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .featured-posts-widget {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 12px;
    }

    .featured-post {
        padding: 1rem;
        gap: 0.75rem;
    }

    .featured-post-thumbnail {
        height: 140px;
    }

    .featured-post-title {
        font-size: 0.95rem;
    }

    .featured-post-meta {
        font-size: 0.75rem;
    }
}