/* CSS for DSWW Essay Posts */

.dsww-essay-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    /* Large gap between columns */
    margin-bottom: 60px;
}

.dsww-essay-post {
    display: flex;
    flex-direction: column;
    color: #F4EFEA;
    /* Light text color */
}

/* Meta Data: Date --- Category */
.dsww-essay-meta {
    font-family: "Oswald", sans-serif;
    /* Or theme sans-serif */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    /* Darker grey for meta */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.dsww-essay-meta-separator {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: #333;
    /* Dark line */
    margin: 0 10px;
}

/* Title */
.dsww-essay-title {
    font-family: "Houstiq", serif;
    /* Or theme serif */
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.dsww-essay-title a {
    color: #F4EFEA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dsww-essay-title a:hover {
    color: #c5a47e;
    /* Gold hover */
}

/* Excerpt */
.dsww-essay-excerpt {
    font-family: "Arial", sans-serif;
    /* Fallback sans */
    font-size: 1rem;
    line-height: 1.6;
    color: #999;
    /* Grey text */
    margin-bottom: 30px;
}

/* Read More Link */
.dsww-essay-read-more {
    font-family: "Oswald", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c5a47e;
    /* Gold color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.dsww-essay-read-more:hover {
    color: #fff;
}

/* Bottom Button Container */
.dsww-essay-button-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); Optional divider */
}

/* Main Button */
.dsww-essay-button {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #333;
    /* Subtle border */
    background-color: rgba(255, 255, 255, 0.05);
    /* Very slight background */
    color: #F4EFEA;
    font-family: "Oswald", sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dsww-essay-button:hover {
    background-color: #c5a47e;
    border-color: #c5a47e;
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dsww-essay-posts-container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 40px;
    }
}