/*
Theme Name: OriginZero Premium
Author: Antigravity
Description: Premium Editorial Minimalist Theme
Version: 2.0
*/

:root {
    --primary: #FF4500; /* Vibrant Orange for accents */
    --surface: #F4F4F5; /* Very light cool grey */
    --surface-glass: rgba(255, 255, 255, 0.6);
    --text: #111111;    
    --text-muted: #666666;
    --border: rgba(0, 0, 0, 0.08);
}

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

body {
    background-color: var(--surface);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* -- Typography -- */
h1, h2, h3, .brand {
    font-family: 'Playfair Display', serif;
}

/* -- Navigation -- */
.premium-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 244, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 2px;
}
.brand { font-weight: 700; color: var(--primary); }
.nav-links a {
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }

/* -- Hero Header -- */
.hero-header {
    max-width: 1400px;
    margin: 80px auto 60px;
    padding: 0 40px;
}
.hero-title {
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
}

/* -- Grid Layout -- */
.news-grid {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.news-card {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.news-card.hero-card {
    grid-column: span 8;
    flex-direction: row;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    background: #ffffff;
}

.card-media {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #e2e2e5;
}
.hero-card .card-media {
    height: 100%;
    width: 50%;
}
.card-media img, .card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card:hover .card-media img { transform: scale(1.05); }

.placeholder-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: rgba(0,0,0,0.1);
    font-size: 2rem;
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.hero-card .card-content {
    width: 50%;
    justify-content: center;
    padding: 50px;
}

.card-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tag {
    color: var(--primary);
    margin-right: 15px;
}
.date { color: var(--text-muted); }

.card-content h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 600;
}
.hero-card .card-content h2 { font-size: 2.8rem; }

.excerpt {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    align-self: flex-start;
    transition: border-color 0.3s ease;
}
.read-more:hover { border-color: var(--primary); }

/* -- Single Post -- */
.single-header {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0 40px;
}
.back-btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.back-btn:hover { color: var(--primary); }

.full-article {
    max-width: 800px;
    margin: 40px auto 100px;
    padding: 0 40px;
}
.full-article .tag { margin-bottom: 20px; display: inline-block; }
.full-article .article-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.full-article .meta {
    font-family: 'Outfit', sans-serif;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 0.95rem;
}
.full-article .article-media {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.article-content {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #222;
}
.article-content p { margin-bottom: 30px; }
.article-content h2 { margin: 50px 0 20px; font-size: 2.2rem; }

/* -- Footer -- */
.premium-footer {
    background: #000;
    color: #fff;
    padding: 80px 40px;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
}
.footer-brand .brand { color: var(--primary); }
.footer-copyright { color: #888; font-size: 0.9rem; }
.footer-links a {
    margin-left: 30px;
    font-size: 0.9rem;
    color: #aaa;
    transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
    .news-card, .news-card.hero-card { grid-column: span 6; flex-direction: column; }
    .hero-card .card-media, .hero-card .card-content { width: 100%; }
    .hero-title { font-size: 4rem; }
}
@media (max-width: 768px) {
    .news-card, .news-card.hero-card { grid-column: span 12; }
    .nav-container { flex-direction: column; gap: 20px; }
    .footer-container { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links a { margin: 0 15px; }
    .full-article .article-title { font-size: 3rem; }
}
