.ecoworld-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    box-sizing: border-box;
}

.ecoworld-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.ecoworld-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: ecoworld-spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes ecoworld-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ecoworld-content {
    transition: opacity 0.3s ease;
}

.ecoworld-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: -10px;
}

.ecoworld-post {
    width: calc(20% - 20px);
    margin: 10px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ecoworld-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.ecoworld-post-image {
    width: 100%;
    overflow: hidden;
    height: 200px;
}

.ecoworld-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ecoworld-post:hover .ecoworld-post-image img {
    transform: scale(1.05);
}

.ecoworld-post-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ecoworld-post-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    line-height: 1.4;
    flex-grow: 1;
}

.ecoworld-post-title a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px;
    border-radius: 3px;
}

.ecoworld-post-title a:hover {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.ecoworld-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 10px;
}

.ecoworld-read-more,
.ecoworld-category {
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

.ecoworld-read-more {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    border: none;
    cursor: pointer;
}

.ecoworld-read-more:hover {
    background: linear-gradient(145deg, #45a049, #4CAF50);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.ecoworld-category {
    background: #f1f1f1;
    color: #333;
}

.ecoworld-category:hover {
    background: #e1e1e1;
    transform: translateY(-2px);
}

.ecoworld-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.ecoworld-pagination-prev,
.ecoworld-pagination-next {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.ecoworld-pagination-prev:hover,
.ecoworld-pagination-next:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.ecoworld-pagination-info {
    font-weight: bold;
    color: #555;
}

.ecoworld-no-posts {
    text-align: center;
    padding: 30px;
    width: 100%;
    color: #666;
}

@media (max-width: 1200px) {
    .ecoworld-post {
        width: calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    .ecoworld-post {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .ecoworld-post {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .ecoworld-post {
        width: 100%;
        margin: 10px 0;
    }
    
    .ecoworld-posts {
        margin: 0;
    }
    
    .ecoworld-pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .ecoworld-post-meta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ecoworld-read-more,
    .ecoworld-category {
        width: 100%;
        margin-bottom: 5px;
    }
}