/* Style 10 - Magazine/Blog */
.eag-style-magazine {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 36px;
    padding: 20px 0;
}

.eag-magazine-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.eag-magazine-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.eag-magazine-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    flex-shrink: 0;
}

.eag-magazine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.eag-magazine-item:hover .eag-magazine-image img {
    transform: scale(1.07);
}

.eag-magazine-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.eag-magazine-body {
    padding: 28px 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eag-magazine-date {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.eag-magazine-body h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #111;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.eag-magazine-item:hover .eag-magazine-body h3 {
    color: #667eea;
}

.eag-magazine-body p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 22px;
    flex-grow: 1;
}

.eag-magazine-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.eag-magazine-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.4);
}

.eag-magazine-btn svg {
    transition: transform 0.3s ease;
}

.eag-magazine-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .eag-style-magazine {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .eag-magazine-image {
        height: 230px;
    }
}

@media (max-width: 480px) {
    .eag-magazine-body {
        padding: 22px 20px 20px;
    }

    .eag-magazine-body h3 {
        font-size: 19px;
    }
}