/*
Theme Name: PulseGrid Pro
Theme URI: https://wptheme.site/
Description: Tema moderno de WordPress, slider interactivo y diseño responsivo. Ideal para sitios de descarga de juegos.
Version: 1.0
Author: Jach12k7
Author URI: https://wptheme.site/
Tags: blog, news, grid-layout, responsive, custom-menu, featured-images, threaded-comments, translation-ready, custom-colors
Text Domain: pulsegrid
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* CSS Variables for Light/Dark Mode */
:root {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --text-primary: #333;
    --text-secondary: #666;
    --header-bg: #2c3e50;
    --header-text: #ffffff;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --border-color: #e0e0e0;
    --hover-bg: rgba(255, 255, 255, 0.1);
    --link-color: #3498db;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --header-bg: #1a1a1a;
    --header-text: #e0e0e0;
    --card-bg: #2d2d2d;
    --card-shadow: rgba(0, 0, 0, 0.3);
    --border-color: #404040;
    --hover-bg: rgba(255, 255, 255, 0.05);
    --link-color: #e74c3c;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 10px 0;
    transition: background-color 0.3s ease;
    border-bottom: 3px solid var(--border-color);
    box-shadow: 0 2px 10px var(--card-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 0 0 auto;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: white;
}

.site-title a:hover {
    color: #3498db;
}

[data-theme="dark"] .site-title a:hover {
    color: #e74c3c;
}

/* Navigation */
.main-navigation {
    background-color: transparent;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
    font-size: 0.95rem;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #3498db;
}

[data-theme="dark"] .nav-menu li a:hover {
    color: #e74c3c;
}

.nav-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #34495e;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1000;
}

.nav-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu ul li {
    width: 100%;
    position: relative;
}

.nav-menu ul li a {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu ul li a:hover {
    background-color: #3498db;
    color: white;
}

[data-theme="dark"] .nav-menu ul li a:hover {
    background-color: #e74c3c;
}

.nav-menu ul ul {
    top: 0;
    left: 100%;
    margin-left: 0;
    transform: translateX(-10px);
}

.nav-menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-menu ul li.menu-item-has-children > a::after {
    content: '›';
    font-size: 1.2rem;
    margin-left: 10px;
    transition: transform 0.3s;
}

.nav-menu > li.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 8px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--header-text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Theme Toggle Button - Modern Design */
.theme-toggle {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.15);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* SVG Icons */
.theme-toggle svg {
    position: absolute;
    width: 24px;
    height: 24px;
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .header-left {
        flex: 1;
        text-align: center;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .header-right {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: #2c3e50;
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }
    
    .theme-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .theme-toggle:hover {
        transform: translateY(-50%) scale(1.15);
    }
    
    .theme-toggle:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .header-right.active {
        left: 0;
    }
    
    .main-navigation {
        padding: 70px 0 20px 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu > li:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu > li.menu-item-has-children {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-menu > li.menu-item-has-children.active {
        border-bottom: none !important;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: 0;
        border-bottom: none;
    }
    
    .nav-menu ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #34495e;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin: 0;
        padding: 0;
        border: none;
        display: block;
    }
    
    .nav-menu li.menu-item-has-children.active > ul {
        max-height: 500px;
    }
    
    .nav-menu ul ul {
        background-color: #2c3e50;
        padding-left: 20px;
        border: none;
    }
    
    .nav-menu ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu ul li:last-child {
        border-bottom: none;
    }
    
    .nav-menu > li.menu-item-has-children > ul > li:first-child {
        border-top: none;
    }
    
    .nav-menu li.menu-item-has-children > a::after {
        content: '›';
        font-size: 1.2rem;
        float: right;
        transition: transform 0.3s;
    }
    
    .nav-menu li.menu-item-has-children.active > a::after {
        transform: rotate(90deg);
    }
}

/* Slider Styles */
.home-slider {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    margin-top: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 10px;
}

.slider-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    padding: 0 5px;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    padding: 10px 15px;
    margin: 0 -15px;
}

.slider-item {
    flex: 0 0 auto;
    width: 160px;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.slider-item a {
    text-decoration: none;
    display: block;
}

.slider-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-image img {
    width: 100%;
    height: auto;
    min-height: 150px;
    object-fit: cover;
    display: block;
}

.no-image-placeholder {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
}

:root[data-theme="dark"] .no-image-placeholder {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.slider-title {
    padding: 12px;
    text-align: center;
    background-color: var(--card-bg);
}

.slider-title h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-item:hover .slider-title h4 {
    color: #3498db;
}

[data-theme="dark"] .slider-item:hover .slider-title h4 {
    color: #e74c3c;
}

.slider-btn {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    z-index: 10;
    flex-shrink: 0;
}

.slider-btn:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.5);
    transform: scale(1.1);
}

[data-theme="dark"] .slider-btn:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5);
}

.slider-btn:active {
    transform: scale(0.95);
}

.prev-btn {
    margin-left: 5px;
}

.next-btn {
    margin-right: 5px;
}

/* Search Section */
.search-section {
    text-align: center;
    margin: 40px 0;
}

.search-form {
    display: inline-block;
    position: relative;
}

.search-input {
    width: 400px;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    outline: none;
    background-color: var(--card-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    border-color: var(--link-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

[data-theme="dark"] .search-input:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--link-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background-color: #2980b9;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

[data-theme="dark"] .search-submit {
    background-color: #e74c3c;
}

[data-theme="dark"] .search-submit:hover {
    background-color: #c0392b;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

/* Post Grid - 7 columns */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.post-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: transform 0.3s;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.post-item:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: contain;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    text-align: center;
}

.post-title {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.post-title a {
    color: white;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.post-title a:hover {
    color: #3498db;
}

[data-theme="dark"] .post-title a:hover {
    color: #e74c3c;
}

/* No image placeholder for posts grid */
.post-item .post-thumbnail .no-image-placeholder {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

:root[data-theme="dark"] .post-item .post-thumbnail .no-image-placeholder {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Category Sections */
.category-section {
    margin: 50px 0;
}

.category-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

[data-theme="dark"] .category-section .section-header {
    border-bottom-color: #e74c3c;
}

.category-section .section-title {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.category-section .view-more-link {
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid #3498db;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-section .view-more-link:hover {
    background-color: #3498db;
    color: white;
    transform: translateX(5px);
}

[data-theme="dark"] .category-section .view-more-link {
    color: #e74c3c;
    border-color: #e74c3c;
}

[data-theme="dark"] .category-section .view-more-link:hover {
    background-color: #e74c3c;
    color: white;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

[data-theme="dark"] .pagination a:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.pagination .current {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
    font-weight: bold;
}

[data-theme="dark"] .pagination .current {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--link-color);
}

/* Sidebar Lists */
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-widget ul li a:hover {
    color: #3498db;
}

/* Sidebar Search */
.sidebar-widget .search-form {
    display: flex;
    gap: 5px;
}

.sidebar-widget .search-form input[type="search"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.sidebar-widget .search-form button {
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar-widget .search-form button:hover {
    background-color: #2980b9;
}

/* Search Widget */
.search-widget {
    padding: 20px !important;
    margin-bottom: 20px;
}

.sidebar-search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--card-bg);
    transition: border-color 0.3s;
}

.search-input-wrapper:focus-within {
    border-color: #3498db;
}

.sidebar-search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-family: 'Oswald', sans-serif;
    color: var(--text-primary);
    outline: none;
}

.sidebar-search-input::placeholder {
    color: #999;
}

.sidebar-search-button {
    padding: 12px 15px;
    background-color: #3498db;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.sidebar-search-button:hover {
    background-color: #2980b9;
}

[data-theme="dark"] .sidebar-search-button {
    background-color: #e74c3c;
}

[data-theme="dark"] .sidebar-search-button:hover {
    background-color: #c0392b;
}

.sidebar-search-button svg {
    color: white;
}

/* Popular Posts Widget */
.popular-posts-widget {
    padding: 20px !important;
}

.popular-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.popular-post-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.popular-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.popular-post-card a {
    text-decoration: none;
    display: block;
}

.popular-post-image {
    width: 100%;
    overflow: hidden;
}

.popular-post-image img {
    width: 100%;
    height: auto;
    min-height: 150px;
    object-fit: cover;
    display: block;
}

.popular-post-title {
    padding: 12px;
    text-align: center;
    background-color: var(--card-bg);
}

.popular-post-title h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-card:hover .popular-post-title h4 {
    color: #3498db;
}

[data-theme="dark"] .popular-post-card:hover .popular-post-title h4 {
    color: #e74c3c;
}

/* Responsive for popular posts */
@media (max-width: 1200px) {
    .popular-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .popular-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Layout with Sidebar */
.content-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 20px 0;
}

/* Single Post Layout - Centered Design */
.single-post-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    margin-bottom: 30px;
    text-align: center;
}

.post-header-centered {
    margin-bottom: 30px;
}

.post-title-centered {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    font-weight: bold;
}

.post-featured-image-centered {
    margin-bottom: 30px;
    display: inline-block;
}

.post-featured-image-centered img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.post-separator {
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
    height: 1px;
    background: #3498db;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 0;
}

[data-theme="dark"] .post-separator {
    background: #e74c3c;
}

.post-content-centered {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content-centered p {
    margin-bottom: 20px;
}

.post-content-centered h1,
.post-content-centered h2,
.post-content-centered h3,
.post-content-centered h4,
.post-content-centered h5,
.post-content-centered h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

/* Override grid post styles for single posts */
.single-post-content .post-content {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    background: none !important;
    color: var(--text-primary) !important;
    padding: 0 !important;
}

.single-post-content .post-title {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    background: none !important;
    color: #2c3e50 !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
}

.single-post-content .post-title a {
    color: #2c3e50 !important;
    text-shadow: none !important;
}

/* Ensure main content area doesn't have overlay styles */
.main-content-area .post-content {
    position: static;
    background: none;
    color: var(--text-primary);
    padding: 0;
}

.main-content-area .post-title {
    position: static;
    background: none;
    color: #2c3e50;
    padding: 0;
}

.main-content-area .post-title a {
    color: #2c3e50;
    text-shadow: none;
}

.post-tags {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.post-tags h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background-color: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    transition: background-color 0.3s;
}

.tag-item:hover {
    background-color: #2980b9;
}

[data-theme="dark"] .tag-item {
    background-color: #e74c3c;
}

[data-theme="dark"] .tag-item:hover {
    background-color: #c0392b;
}

/* Related Posts */
.related-posts {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.related-posts h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.related-posts-grid .post-item .post-title a {
    color: white;
}

[data-theme="dark"] .related-posts-grid .post-item .post-title a:hover {
    color: #e74c3c;
}

/* Comments */
.comments-section {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    margin: 30px 0;
}

/* Search Results */
.search-results-header {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
}

.search-filters {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #ecf0f1;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3498db;
    color: white;
}

/* Search Results Grid - 7 columns */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin: 30px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .posts-grid,
    .search-results-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .slider-item {
        width: 140px;
    }
    
    .slider-image {
        min-height: 180px;
    }
    
    .slider-image img {
        max-height: 250px;
    }
    
    .post-item {
        min-height: 180px;
    }
    
    .post-thumbnail {
        min-height: 180px;
    }
}

@media (max-width: 900px) {
    .posts-grid,
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content-sidebar-layout {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .slider-item {
        width: 120px;
    }
    
    .slider-image {
        min-height: 160px;
    }
    
    .slider-image img {
        max-height: 200px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .post-item {
        min-height: 160px;
    }
    
    .post-thumbnail {
        min-height: 160px;
    }
    
    .post-title {
        font-size: 0.8rem;
    }
    
    .post-title-centered {
        font-size: 1.8rem;
    }
    
    .post-featured-image-centered img {
        max-width: 300px;
    }
    
    .single-post-content {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .posts-grid,
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .search-input {
        width: 100%;
        max-width: 300px;
    }
    
    /* Slider móvil - 2 tarjetas visibles (estilo warezdl-theme) */
    .home-slider {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .slider-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    
    .slider-container {
        flex: 1;
        overflow: hidden;
        padding: 0;
        margin: 0 1rem;
    }
    
    .slider-track {
        display: flex;
        gap: 0.75rem;
        transition: transform 0.4s ease-in-out;
        padding: 0;
        margin: 0;
    }
    
    .slider-item {
        flex: 0 0 calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
        width: calc(50% - 0.375rem);
        background-color: var(--card-bg);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px var(--card-shadow);
        transition: all 0.3s ease;
    }
    
    .slider-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    
    .slider-image {
        width: 100%;
        overflow: hidden;
        position: relative;
        padding-top: 140%;
        background-color: #f8f9fa;
    }
    
    .slider-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .slider-title {
        padding: 12px;
        text-align: center;
        background-color: var(--card-bg);
        position: relative;
    }
    
    .slider-title h4 {
        font-size: 0.9rem;
        line-height: 1.4;
        color: var(--text-primary);
        margin: 0;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 0, 0, 0.1);
        color: #2c3e50;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
        z-index: 10;
        flex-shrink: 0;
    }
    
    .slider-btn:hover {
        background-color: #3498db;
        border-color: #3498db;
        color: white;
        transform: translateY(-50%) scale(1.15);
    }
    
    .slider-btn:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .prev-btn {
        left: 0.5rem;
    }
    
    .next-btn {
        right: 0.5rem;
    }
}

/* Comments Styling */
.comments-area {
    margin-top: 40px;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #e8e8e8;
    border-radius: 8px;
}

[data-theme="dark"] .comment-list li {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

/* Nested replies styling */
.comment-list li.depth-2,
.comment-list li.depth-3,
.comment-list li.depth-4 {
    background-color: white;
    margin-left: 30px;
    margin-top: 15px;
}

[data-theme="dark"] .comment-list li.depth-2,
[data-theme="dark"] .comment-list li.depth-3,
[data-theme="dark"] .comment-list li.depth-4 {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.comment-body {
    display: block;
    background-color: transparent;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.comment-author .fn {
    font-weight: bold;
    color: #2c3e50;
    font-size: 0.9rem;
    text-decoration: none;
}

[data-theme="dark"] .comment-author .fn {
    color: var(--text-primary);
}

.comment-author .fn:hover {
    color: #3498db;
}

.comment-author .says {
    font-weight: normal;
    color: var(--text-secondary);
    margin-left: 5px;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-date {
    color: #e74c3c;
    font-size: 0.8rem;
    font-weight: normal;
}

.comment-content {
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.comment-reply {
    text-align: right;
}

.comment-reply a {
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 3px;
    display: inline-block;
    font-weight: 500;
    text-transform: uppercase;
}

.comment-reply a:hover {
    background-color: #c0392b;
    text-decoration: none;
}

/* Hide comment numbers */
.comment-list li::before,
.comment-list li .comment-number,
.comment-list li .comment-count {
    display: none !important;
}

.comment-list {
    counter-reset: none;
}

.comment-list li {
    counter-increment: none;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

[data-theme="dark"] .comment-form {
    background-color: var(--bg-secondary);
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

[data-theme="dark"] .comment-form label {
    color: var(--text-primary);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

[data-theme="dark"] .comment-form input:focus,
[data-theme="dark"] .comment-form textarea:focus {
    border-color: #e74c3c;
}

.comment-form .form-submit {
    margin-top: 15px;
}

.comment-form #submit {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.comment-form #submit:hover {
    background-color: #2980b9;
}

[data-theme="dark"] .comment-form #submit {
    background-color: #e74c3c;
}

[data-theme="dark"] .comment-form #submit:hover {
    background-color: #c0392b;
}

/* Page Content */
.page-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    margin-bottom: 30px;
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.page-title {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0;
}

.page-content-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.page-content-body h1,
.page-content-body h2,
.page-content-body h3,
.page-content-body h4,
.page-content-body h5,
.page-content-body h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content-body p {
    margin-bottom: 15px;
}

.page-content-body ul,
.page-content-body ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.page-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Lista con viñetas (Bulleted List) */
.post-content-centered ul,
.page-content-body ul,
.single-post-content ul {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 40px;
    line-height: 1.8;
}

.post-content-centered ul li,
.page-content-body ul li,
.single-post-content ul li {
    margin-bottom: 10px;
    color: var(--text-primary);
    padding-left: 5px;
}

.post-content-centered ul li::marker,
.page-content-body ul li::marker,
.single-post-content ul li::marker {
    color: #3498db;
    font-size: 1.2em;
}

/* Lista numerada (Numbered List) */
.post-content-centered ol,
.page-content-body ol,
.single-post-content ol {
    list-style-type: decimal;
    margin: 20px 0;
    padding-left: 40px;
    line-height: 1.8;
    counter-reset: item;
}

.post-content-centered ol li,
.page-content-body ol li,
.single-post-content ol li {
    margin-bottom: 10px;
    color: var(--text-primary);
    padding-left: 5px;
}

.post-content-centered ol li::marker,
.page-content-body ol li::marker,
.single-post-content ol li::marker {
    color: #3498db;
    font-weight: bold;
}

/* Listas anidadas */
.post-content-centered ul ul,
.page-content-body ul ul,
.single-post-content ul ul {
    list-style-type: circle;
    margin: 10px 0;
    padding-left: 30px;
}

.post-content-centered ul ul ul,
.page-content-body ul ul ul,
.single-post-content ul ul ul {
    list-style-type: square;
}

.post-content-centered ol ol,
.page-content-body ol ol,
.single-post-content ol ol {
    list-style-type: lower-alpha;
    margin: 10px 0;
    padding-left: 30px;
}

.post-content-centered ol ol ol,
.page-content-body ol ol ol,
.single-post-content ol ol ol {
    list-style-type: lower-roman;
}

/* Post Meta */
.post-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.post-meta span {
    margin-right: 15px;
}

.post-featured-image {
    margin-bottom: 30px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Related Posts Items */
.related-post-item {
    text-align: center;
    grid-column: span 5;
}

.related-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 10px;
}

.related-post-thumb.no-image {
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 0.8rem;
}

.related-post-title {
    font-size: 0.9rem;
    line-height: 1.3;
    color: #2c3e50;
    margin: 0;
}

[data-theme="dark"] .related-post-title {
    color: white;
}

.related-post-item a {
    text-decoration: none;
    color: inherit;
}

.related-post-item a:hover .related-post-title {
    color: #3498db;
}

[data-theme="dark"] .related-post-item a:hover .related-post-title {
    color: #e74c3c;
}

/* No Image Placeholder */
.post-thumbnail.no-image {
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Search and Archive Specific */
.post-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    margin: 30px 0;
}

.no-results h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.search-again {
    margin: 30px 0;
}

.suggested-posts {
    margin-top: 40px;
}

.suggested-posts h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Ad Containers */
.header-ad-container,
.footer-ad-container,
.home-ad-container,
.post-content-ad-container,
.post-comments-ad-container {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-ad-container > *,
.footer-ad-container > *,
.home-ad-container > *,
.post-content-ad-container > *,
.post-comments-ad-container > * {
    margin: 0 auto;
}

.home-ad-container {
    margin: 40px 0;
}

.post-content-ad-container {
    margin: 30px auto;
    max-width: 800px;
}

.post-comments-ad-container {
    margin: 40px 0;
}

.sidebar-ad-widget {
    padding: 20px !important;
    text-align: center;
}

.sidebar-ad-widget .widget-title {
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    transition: background-color 0.3s ease;
    border-top: 3px solid var(--border-color);
    box-shadow: 0 -2px 10px var(--card-shadow);
}

[data-theme="dark"] .site-footer {
    background-color: var(--header-bg);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border: 2px solid #3498db;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.6);
}

[data-theme="dark"] .back-to-top {
    background-color: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

[data-theme="dark"] .back-to-top:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.6);
}

.back-to-top.show {
    display: flex;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Tags Page Styles */
.tags-page-container {
    padding: 40px 20px;
    min-height: 60vh;
}

.tags-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 0;
    background-color: var(--header-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: background-color 0.3s ease;
}

.tags-page-title {
    font-size: 3rem;
    color: var(--header-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.tags-page-description {
    font-size: 1.2rem;
    color: var(--header-text);
    opacity: 0.9;
    font-weight: 300;
}

.tags-cloud-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: background-color 0.3s ease;
}

.tags-cloud-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.tags-cloud-grid .tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .tags-cloud-grid .tag-item {
    background-color: #e74c3c;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.tags-cloud-grid .tag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tags-cloud-grid .tag-item:hover::before {
    left: 100%;
}

.tags-cloud-grid .tag-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
    background-color: #2980b9;
}

[data-theme="dark"] .tags-cloud-grid .tag-item:hover {
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
    background-color: #c0392b;
}

.tag-item:active {
    transform: translateY(-1px) scale(1.02);
}

.tag-name {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.tag-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-xl {
    font-size: 1.3rem;
    padding: 16px 28px;
    background-color: #2c3e50;
}

.tag-xl:hover {
    background-color: #34495e;
    box-shadow: 0 6px 16px rgba(44, 62, 80, 0.4);
}

.tag-xl .tag-name {
    font-size: 1.3rem;
}

.tag-xl .tag-count {
    font-size: 1rem;
    padding: 6px 12px;
}

.tag-lg {
    font-size: 1.15rem;
    padding: 14px 24px;
    background-color: #3498db;
}

.tag-lg:hover {
    background-color: #2980b9;
    box-shadow: 0 5px 14px rgba(52, 152, 219, 0.4);
}

.tag-lg .tag-name {
    font-size: 1.15rem;
}

.tag-md {
    background-color: #3498db;
}

.tag-md:hover {
    background-color: #2980b9;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.tag-sm {
    padding: 10px 16px;
    background-color: #34495e;
}

.tag-sm:hover {
    background-color: #2c3e50;
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.4);
}

.tag-sm .tag-name {
    font-size: 0.9rem;
}

.tag-sm .tag-count {
    font-size: 0.75rem;
    padding: 3px 8px;
}

.no-tags {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    padding: 40px;
}

@media (max-width: 768px) {
    .tags-page-title {
        font-size: 2rem;
    }
    
    .tags-page-description {
        font-size: 1rem;
    }
    
    .tags-cloud-wrapper {
        padding: 20px;
    }
    
    .tags-cloud-grid {
        gap: 10px;
    }
    
    .tag-item {
        padding: 10px 16px;
    }
    
    .tag-xl {
        font-size: 1.1rem;
        padding: 14px 22px;
    }
    
    .tag-lg {
        font-size: 1rem;
        padding: 12px 20px;
    }
}
