/*
Theme Name: The Satoshi Times
Theme URI: https://example.com
Author: Satoshi
Description: A satirical crypto-broadsheet theme.
Version: 1.1
*/

/* === RESET & BASICS === */
* { box-sizing: border-box; }
body {
    background-color: #f9f7f1; /* Newsprint */
    color: #111;
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
}
a { color: #111; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* === TICKER === */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    height: 30px;
    line-height: 30px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}
.ticker { display: inline-block; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker-item { display: inline-block; padding: 0 2rem; }
.red { color: #ff4444; } 
.green { color: #00ff00; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
header {
    text-align: center;
    border-bottom: 4px solid #000;
    padding: 40px 0;
    margin-bottom: 20px;
}
.site-title {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin: 0;
}
.site-meta {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 5px 0;
    margin-top: 10px;
    font-family: sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* === GRID === */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* === POSTS === */
.post { margin-bottom: 40px; border-bottom: 1px solid #ccc; padding-bottom: 20px; }
.post-title { font-size: 2.5rem; }
.post-meta { font-size: 0.8rem; color: #666; text-transform: uppercase; margin-bottom: 10px; }
.post-content { font-size: 1.1rem; line-height: 1.6; }

/* === SIDEBAR === */
aside { border-left: 1px solid #000; padding-left: 30px; }
.widget { margin-bottom: 30px; border-bottom: 2px solid #000; padding-bottom: 20px; }
.widget-title { font-size: 1.2rem; text-transform: uppercase; background: #000; color: #fff; padding: 5px; display: inline-block; }

/* === FOOTER === */
footer { background: #000; color: #fff; text-align: center; padding: 40px 0; margin-top: auto; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .main-grid { grid-template-columns: 1fr; }
    aside { border-left: none; padding-left: 0; border-top: 4px solid #000; padding-top: 20px; }
    .site-title { font-size: 2.5rem; }
}