
		:root {
			--primary-color: #d90000;
			/*--secondary-color: #333;*/
			--secondary-color: #000000ff;
			--accent-color: #0056b3;
			--light-gray: #f8f9fa;
			--dark-gray: #6c757d;
			--text-color: #333;
			--white: #ffffff;
		}

		* {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
		}

		body {
			font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
			line-height: 1.6;
			color: var(--text-color);
			background: var(--white);
		}

		/* Header Styles */
		.top-bar {
			background: var(--secondary-color);
			color: var(--white);
			padding: 8px 0;
			font-size: 0.9rem;
		}

		.top-bar-container {
			max-width: 1200px;
			margin: 0 auto;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 20px;
		}

		.date-info {
			display: flex;
			align-items: center;
			gap: 20px;
		}

		.social-links {
			display: flex;
			gap: 15px;
		}

		.social-links a {
			color: var(--white);
			text-decoration: none;
			transition: color 0.3s;
		}

		.social-links a:hover {
			color: var(--primary-color);
		}

		/* Main Header */
		.main-header {
			background: var(--white);
			box-shadow: 0 2px 10px rgba(0,0,0,0.1);
			position: sticky;
			top: 0;
			z-index: 1000;
		}

		.header-container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 20px;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}

		.logo {
			display: flex;
			align-items: center;
			gap: 15px;
			text-decoration: none;
			color: var(--text-color);
		}

		.logo img {
			height: 100px;
			width: auto;
		}

		.logo-text {
			display: flex;
			flex-direction: column;
		}

		.logo h1 {
			font-size: 2.5rem;
			color: var(--primary-color);
			font-weight: bold;
			margin: 0;
		}

		.logo .tagline {
			font-size: 0.9rem;
			color: var(--dark-gray);
			font-style: italic;
		}

		/* Navigation */
		.main-nav {
			background: var(--primary-color);
		}

		.nav-container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px;
		}

		.main-menu {
			display: flex;
			list-style: none;
			margin: 0;
			padding: 0;
		}
		
		.main-menu li {
			position: relative;
		}
		
		.main-menu a {
			color: var(--white);
			text-decoration: none;
			padding: 15px 20px;
			display: block;
			font-weight: 500;
			transition: background 0.3s;
		}
		
		.main-menu a:hover {
			background: rgba(255,255,255,0.1);
		}
		
		.user-actions {
			display: flex;
			align-items: center;
			gap: 15px;
		}
		
		.auth-buttons {
			display: flex;
			gap: 10px;
		}
		
		.btn {
			padding: 8px 16px;
			border: none;
			border-radius: 4px;
			text-decoration: none;
			font-weight: 500;
			transition: all 0.3s;
			cursor: pointer;
		}
		
		.btn-login {
			background: transparent;
			color: var(primary-color);
			border: 1px solid var(--white);
		}
		
		.btn-register {
			background: var(--white);
			color: var(--primary-color);
		}
		
		.btn-login:hover {
			background: var(--white);
			color: var(--primary-color);
		}
		
		.btn-register:hover {
			background: var(--light-gray);
		}
		
		/* Hero Banner */
		.hero-banner {
			background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1495020689067-958852a7765e?ixlib=rb-4.0.3');
			background-size: cover;
			background-position: center;
			color: var(--white);
			padding: 100px 0;
			text-align: center;
		}
		
		.hero-content {
			max-width: 800px;
			margin: 0 auto;
			padding: 0 20px;
		}
		
		.hero-content h2 {
			font-size: 3rem;
			margin-bottom: 20px;
			text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
		}
		
		.hero-content p {
			font-size: 1.2rem;
			margin-bottom: 30px;
			opacity: 0.9;
		}
		
		.search-box {
			max-width: 500px;
			margin: 0 auto;
			position: relative;
		}
		
		.search-box input {
			width: 100%;
			padding: 15px 20px;
			border: none;
			border-radius: 30px;
			font-size: 1rem;
			outline: none;
		}
		
		.search-box button {
			position: absolute;
			right: 5px;
			top: 5px;
			background: var(--primary-color);
			color: var(--white);
			border: none;
			border-radius: 30px;
			padding: 10px 20px;
			cursor: pointer;
			transition: background 0.3s;
		}
		
		.search-box button:hover {
			background: #b30000;
		}
		
		/* Main Content */
		.main-container {
			max-width: 1200px;
			margin: 40px auto;
			padding: 0 20px;
			display: grid;
			grid-template-columns: 2fr 1fr;
			gap: 40px;
		}
		
		/* Featured Posts */
		.featured-posts {
			margin-bottom: 40px;
		}
		
		.section-title {
			font-size: 1.8rem;
			color: var(--secondary-color);
			margin-bottom: 20px;
			padding-bottom: 10px;
			border-bottom: 3px solid var(--primary-color);
			display: inline-block;
		}
		
		.posts-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
			gap: 30px;
			margin-bottom: 40px;
		}
		
		.post-card {
			background: var(--white);
			border-radius: 8px;
			overflow: hidden;
			box-shadow: 0 5px 15px rgba(0,0,0,0.1);
			transition: transform 0.3s, box-shadow 0.3s;
		}
		
		.post-card:hover {
			transform: translateY(-5px);
			box-shadow: 0 10px 25px rgba(0,0,0,0.15);
		}
		
		.post-image {
			width: 100%;
			height: 200px;
			object-fit: cover;
		}
		
		.post-content {
			padding: 20px;
		}
		
		.post-category {
			background: var(--primary-color);
			color: var(--white);
			padding: 4px 12px;
			border-radius: 20px;
			font-size: 0.8rem;
			font-weight: 500;
			display: inline-block;
			margin-bottom: 10px;
		}
		
		.post-title {
			font-size: 1.3rem;
			margin-bottom: 10px;
			line-height: 1.4;
		}
		
		.post-title a {
			color: var(--text-color);
			text-decoration: none;
			transition: color 0.3s;
		}
		
		.post-title a:hover {
			color: var(--primary-color);
		}
		
		.post-excerpt {
			color: var(--dark-gray);
			margin-bottom: 15px;
			line-height: 1.6;
		}
		
		.post-meta {
			display: flex;
			justify-content: space-between;
			align-items: center;
			font-size: 0.9rem;
			color: var(--dark-gray);
		}
		
		.vip-badge {
			background: #ffd700;
			color: #000;
			padding: 2px 8px;
			border-radius: 4px;
			font-size: 0.8rem;
			font-weight: bold;
		}
		
		/* Sidebar */
		.sidebar-widget {
			background: var(--white);
			padding: 25px;
			border-radius: 8px;
			box-shadow: 0 5px 15px rgba(0,0,0,0.1);
			margin-bottom: 30px;
		}
		
		.widget-title {
			font-size: 1.3rem;
			color: var(--secondary-color);
			margin-bottom: 20px;
			padding-bottom: 10px;
			border-bottom: 2px solid var(--primary-color);
		}
		
		.tag-cloud {
			display: flex;
			flex-wrap: wrap;
			gap: 10px;
		}
		
		.tag-cloud a {
			background: var(--light-gray);
			color: var(--text-color);
			padding: 8px 15px;
			border-radius: 20px;
			text-decoration: none;
			font-size: 0.9rem;
			transition: all 0.3s;
		}
		
		.tag-cloud a:hover {
			background: var(--primary-color);
			color: var(--white);
			transform: translateY(-2px);
		}
		
		.categories-list {
			list-style: none;
		}
		
		.categories-list li {
			margin-bottom: 10px;
			padding-bottom: 10px;
			border-bottom: 1px solid #eee;
		}
		
		.categories-list a {
			color: var(--text-color);
			text-decoration: none;
			transition: color 0.3s;
			display: flex;
			justify-content: space-between;
		}
		
		.categories-list a:hover {
			color: var(--primary-color);
		}
		
		.categories-list span {
			background: var(--light-gray);
			padding: 2px 8px;
			border-radius: 10px;
			font-size: 0.8rem;
		}
		
		/* Footer */
		.main-footer {
			background: var(--secondary-color);
			color: var(--white);
			padding: 50px 0 20px;
			margin-top: 50px;
		}
		
		.footer-container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px;
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
			gap: 40px;
		}
		
		.footer-widget h3 {
			color: var(--white);
			margin-bottom: 20px;
			font-size: 1.3rem;
		}
		.footer-widget p {
			color: var(--white);
			opacity: 0.8;
			line-height: 1.6;
		}
		.footer-widget img {
			float: left;
			margin-right: 10px;
			height: 40px;
		}		

		.footer-links {
			list-style: none;
		}

		.footer-links li {
			margin-bottom: 10px;
		}

		.footer-links a {
			color: var(--white);
			text-decoration: none;
			opacity: 0.8;
			transition: opacity 0.3s;
		}

		.footer-links a:hover {
			opacity: 1;
		}

		.footer-bottom {
			color: var(--white);
			text-align: center;
			padding-top: 30px;
			margin-top: 30px;
			border-top: 1px solid rgba(255,255,255,0.1);
			opacity: 0.7;
		}

		/* Responsive */
		@media (max-width: 768px) {
			.main-container {
				grid-template-columns: 1fr;
			}

			.header-container {
				flex-direction: column;
				gap: 20px;
			}

			.hero-content h2 {
				font-size: 2rem;
			}

			.top-bar-container {
				flex-direction: column;
				gap: 10px;
				text-align: center;
			}
		}






		/* Tag Cloud Styles */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag-cloud a {
    background: var(--light-gray);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: inline-block;
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* Tags por tamaño según popularidad */
.tag-cloud a.tag-size-1 { font-size: 0.8rem; padding: 4px 10px; }
.tag-cloud a.tag-size-2 { font-size: 0.9rem; padding: 5px 11px; }
.tag-cloud a.tag-size-3 { font-size: 1.0rem; padding: 6px 12px; }
.tag-cloud a.tag-size-4 { font-size: 1.1rem; padding: 7px 14px; }
.tag-cloud a.tag-size-5 { font-size: 1.2rem; padding: 8px 16px; }

/* Loading state */
.loading-tags {
    text-align: center;
    padding: 20px;
    color: var(--dark-gray);
    font-style: italic;
}

/* Badge para contar posts en tags */
.tag-count {
    background: rgba(0,0,0,0.1);
    color: var(--text-color);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
    vertical-align: middle;
}

.tag-cloud a:hover .tag-count {
    background: rgba(255,255,255,0.3);
    color: var(--white);
}


        .post-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        .post-header {
            text-align: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 20px;
        }
        .post-title {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: #333;
        }
        .post-meta {
            color: #666;
            font-size: 0.9rem;
        }
        .post-image {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 12px;
            margin: 20px 0;
        }
        .post-content {
            line-height: 1.8;
            font-size: 1.1rem;
            color: #333;
        }
        .vip-badge {
            background: #ff4444;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-left: 10px;
        }
        .back-button {
            display: inline-block;
            margin-bottom: 20px;
            color: #0066ff;
            text-decoration: none;
            font-weight: bold;
        }
        .back-button:hover {
            text-decoration: underline;
        }

.active-filters {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.filter-content {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-info {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

