* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    color: #111111;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    padding: 2rem 1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Magazine Header */
header {
    border-bottom: 3px solid #111111;
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.brand {
    font-size: 2.5rem;
    font-weight: 900;
    text-decoration: none;
    color: #111111;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.red-dot {
    color: #ff3333;
}

nav a {
    color: #111111;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover, nav a.active {
    color: #ff3333;
}

/* Magazine Grid Layout (Chronological Feed) */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.article-card {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.thumbnail-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
    margin-bottom: 1rem;
    overflow: hidden;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.article-card:hover .thumbnail-wrapper img {
    filter: grayscale(0%);
}

.meta {
    font-size: 0.75rem;
    color: #ff3333;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.article-card h2 {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.article-card h2 a {
    color: #111111;
    text-decoration: none;
}

.article-card h2 a:hover {
    color: #ff3333;
}

.article-card p {
    color: #555555;
    font-size: 0.95rem;
}

/* --- Comparison Table Styling --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.comparison-table th, 
.comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 700;
    color: #111;
    border-bottom: 2px solid #ccc;
}

.comparison-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* --- Article Content Typography & Spacing --- */
.post-content {
    line-height: 1.7;
    color: #222;
    max-width: 800px;
    margin: 0 auto;
}

/* Make links inside articles red to match brand style */
.post-content a {
    color: #ff3333;
    text-decoration: underline;
}

.post-content a:hover {
    color: #cc0000;
}

.post-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 900;
}

.post-meta {
    font-size: 0.85rem;
    color: #ff3333;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 2rem;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3rem;
}

.post-content h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.article-label {
    background: #f8f9fa;
    border-left: 3px solid #ff3333;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #444;
}

/* Footer */
footer {
    border-top: 2px solid #111111;
    margin-top: 4rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
}