body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
}

header {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    margin-bottom: 1rem;
}

.modal-dialog {
    max-width: 75%;
}

.tile {
    min-height: 500px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    box-sizing: border-box;
    /* Adjust height through JavaScript */
}

.tile-title {
    margin-top: 0;
    font-size: 1.25rem;
}

.tile-image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.tile-author {
    margin-bottom: 0;
    color: #666;
    font-size: 0.7  rem;
}


.tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tile img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tile h3 {
    margin: 1rem 0;
    font-size: 1.25rem;
}

.tile p {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
    color: #666;
}

.tile a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.tile a:hover {
    color: #0056b3;
}

#articles ul {
    list-style-type: none;
    padding: 0;
}

#articles li {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px 0;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#articles li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}