/* Container */
#blogindex .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Pagination */
#blogindex .pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px; 
}

#blogindex .pagination a {
    color: inherit; 
    text-decoration: none;
    font-weight: 500;
}

#blogindex .pagination a:hover {
    text-decoration: underline; 
}

/* Postlist grid */
#blogindex .postlist {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px; 
    margin-top: 20px; 
}

@media (min-width: 768px) {
    #blogindex .postlist {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
    }
}

/* Postcard styling */
#blogindex .postcard {
    background-color: #ffffff; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    transform: translateY(0); 
    border-radius: 8px;
    overflow: hidden;
}

#blogindex .postcard:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); 
    transform: translateY(-4px); 
}

/* Postcard image */
#blogindex .postimage img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}

#blogindex .postimage img:hover {
    transform: scale(1.05); 
}

/* Postcard details */
#blogindex .postdetails {
    padding: 16px; 
}

#blogindex .postdetails span {
    font-size: 12px;
    font-weight: 600; 
    color: #4f5663; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    display: block;
    margin-bottom: 8px;
}

#blogindex .postdetails h2 {
    font-size: 20px; 
    font-weight: 700; 
    margin: 8px 0 16px; 
    color: #1f2937; 
}

#blogindex .postdetails h2 a {
    display: block;
	line-height: 1.5;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease; 
}

#blogindex .postdetails a {
    text-decoration: none;
    color: inherit;
}

#blogindex .postdetails a:hover {
    color: #2f61ac; 
}

#blogindex .postdetails p {
    font-size: 14px; 
    color: #374151; 
    line-height: 1.75;
}

#blogindex .postdate {
	font-size: 13px; 
	margin-top: 8px; 
    letter-spacing: -0.05em; 
}