/*
Theme Name: Charles Gazette
Author: Gemini & Charles
Description: A lean, 3-column newsprint theme for satire and commentary.
Version: 1.1
*/

body {
    /* The Red Oak Desk */
    background-image: url('/wp-content/uploads/2026/04/wood-background.jpg');
    background-repeat: repeat;
    background-attachment: fixed; /* Keeps the desk still while the paper scrolls */
    background-size: 300px; /* Adjust this number to make the wood grain larger or smaller */
    margin: 0;
    padding: 40px 20px;
    font-family: 'Georgia', serif;
}

/* The Newspaper Page */
.paper-sheet {
    background-color: #f4f4f2; /* Newsprint color */
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px;
    position: relative;
    /* This creates the "lifted off the desk" look */
    box-shadow: 5px 15px 30px rgba(0,0,0,0.5);
    /* Subtle rough edges */
    border-radius: 2px 3px 2px 4px;
    border: 1px solid #dcdcdc;
}

/* Rough top edge effect */
.paper-sheet::before {
    content: "";
    position: absolute;
    top: -5px; left: 0; width: 100%; height: 10px;
    background: #f4f4f2;
    clip-path: polygon(0% 100%, 5% 80%, 10% 100%, 15% 75%, 20% 100%, 25% 85%, 30% 100%, 35% 80%, 40% 100%, 45% 75%, 50% 100%, 55% 85%, 60% 100%, 65% 80%, 70% 100%, 75% 75%, 80% 100%, 85% 85%, 90% 100%, 95% 80%, 100% 100%);
}

header {
    text-align: center;
    border-bottom: 5px double #333;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

header h1 {
    font-size: 4.5rem;
    margin: 0;
    letter-spacing: -2px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-item {
    border-right: 1px solid #ccc;
    padding-right: 15px;
}

.article-item:last-child {
    border-right: none;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #b00000;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 800px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-item { border-right: none; border-bottom: 1px solid #ccc; padding-bottom: 20px; }
}