/* Style 9 - Metro/Tile */
.eag-style-metro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3px;
    padding: 20px 0;
    background: #e8e8e8;
}

.eag-metro-item {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.eag-metro-item:hover {
    transform: scale(1.02);
    z-index: 5;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.eag-metro-image {
    height: 260px;
    overflow: hidden;
}

.eag-metro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eag-metro-item:hover .eag-metro-image img {
    transform: scale(1.08);
}

.eag-metro-body {
    padding: 22px 22px 20px;
}

.eag-metro-tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.eag-metro-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #111;
    line-height: 1.3;
}

.eag-metro-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 2px solid #f2f2f2;
}

.eag-metro-count {
    font-size: 13px;
    color: #777;
    font-weight: 600;
}

.eag-metro-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.eag-metro-btn:hover {
    transform: scale(1.18);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.eag-metro-btn svg {
    color: #fff;
}

@media (max-width: 768px) {
    .eag-style-metro {
        grid-template-columns: repeat(2, 1fr);
    }

    .eag-metro-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .eag-style-metro {
        grid-template-columns: 1fr;
    }
}