/* --- Blog Page Styling --- */
.blog-container {
    width: 900px;
    max-width: 99%;
    margin-top: 50px;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    padding: 40px;
    overflow: hidden;
}

.blog-container header {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.blog-posts {
    display: grid;
    gap: 40px;
}

.blog-post {
    background-color: #fff;
    border: none;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid #333;
}

.blog-post h2 {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.blog-post p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

.full-post {
    display: none;
}

.read-more {
    display: inline-block;
    text-decoration: none;
    color: #e74c3c;
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    transition: color 0.3s;
    cursor: pointer;
    background: none;
    border: none;
}

#preview-fun{
    font-size: 1.8em;
    font-weight: 900;
    background: #fff;
    color: #000;
    padding: 5px 15px;
    border-radius: 10px;
    display: inline-block;
    transform: rotate(-2deg); 
    box-shadow: 5px 5px 0px #ff00c1;
    margin-top: 10px;
    text-align: center;
    border-top: 2px solid rgba(255,255,255,0.2);
}

/* Hover only on assumed non-mobile*/
@media (min-width: 600px) {
    .read-more:hover {
        color: #333;
        text-decoration: underline;
    }
}