.e-detail-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 64px;
    width: 100%;
}

.e-detail-info,
.e-image {
    width: 50%;
}

.e-detail-info {
    margin-bottom: 64px;
}

.e-detail-info h1 {
    margin-bottom: 32px;
}

.e-detail-button {
    font-size: 1.1rem;
    padding: 0.3em 1.1em;
    border-radius: 50px;
    font-weight: 700;
    width: fit-content;
    background: #dedad2;
    color: black;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 32px;
    cursor: pointer;
}

a.e-detail-button:hover {
    background: black;
    color: white;
}

@media (max-width: 1024px) {
    .e-detail-grid {
        flex-direction: column-reverse;
    }

    .e-detail-info,
    .e-image {
        width: 100%;
    }
}

.e-recent-post {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .e-recent-post {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .e-recent-post {
        grid-template-columns: repeat(1, 1fr);
    }
}

.e-recent-post img {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 4px;
}

.e-recent-post p {
    font-size: 1.2em;
    font-weight: 500;
    color: black;
}
