/*
    - Primary: #293240;
    - Secondary: #E0E0E0;
    - Accent: #FF4500;
    - Letters: #F5F5F5;

*/

.ep-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.ep-card {
    background: #f9f9f9;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    padding:5px;
}

.ep-card-image{
    padding:5px;
}
.ep-card:hover {
    transform: translateY(-5px);
}
.ep-card img {
    width: 100%;
    height: 300px;
    display: block;
}
.ep-card-content {
    padding: 15px;
}
.ep-card-title {
    font-size: 30px;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #293240;
    text-align: center;    
}
.ep-card-title > a {
    color: #293240;
    text-decoration: none;
    text-align: center;
}
.ep-card-excerpt {
    font-size: 15px;
    margin-bottom: 15px;
    color: #000000;
}
.ep-card-button {
    background-color: #FF4500;
    color: #f9f9f9;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    transition: background-color 0.2s;
    display: block; /* Makes the button a block element */
    margin: 0 auto; /* Centers it within the parent container */
    text-align: center; /* Ensures text inside is centered */
    width: fit-content; /* Adjusts width dynamically */
}
.ep-card-button:hover {
    background-color: #f9f9f9;
    color: #FF4500;
    border: 1px solid #FF4500;
}