/********************************/
/* ------- Issue Cards -------- */
/********************************/

.issue-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    /* Remove padding from the parent .body to give cards more space */
    margin: 0 -4rem;
}

.issue-card-link {
    text-decoration: none;
    border-bottom: none;
    display: block;
    flex: 1 1 320px;
    max-width: 350px;
}

.issue-card-link:hover {
    border-bottom: none;
}

.issue-card {
    background-color: var(--color-background-paper);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden; /* Ensures the image corners are rounded */
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(147, 112, 219, 0.4);
}

.issue-card-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.issue-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.issue-card:hover .issue-card-media img {
    transform: scale(1.05);
}

.issue-card-content {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
}

.issue-card-title {
    font-family: var(--font-family-heading);
    color: var(--color-text-primary);
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    line-height: var(--line-height-dense);
}

.issue-card-excerpt {
    font-family: var(--font-family-body);
    color: var(--color-text-secondary);
    font-size: var(--font-size-xs);
    line-height: var(--line-height-normal);
    margin: 0;
}