/* Gaming Industry Insider
   A SpringOwl Publication
   Design: Professional trade publication
   Fonts: Playfair Display + Source Sans 3 */

:root {
    --navy: #0a1628;
    --navy-light: #1a2d4a;
    --slate: #3d4f5f;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --accent: #c9a227;
    --accent-dark: #a88a1f;
    --border: #e1e5e9;
    --bg: #ffffff;
    --bg-alt: #f7f9fa;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Masthead */
.masthead {
    background: var(--navy);
    padding: 20px 0;
}

.masthead-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.7);
}

.logo-accent {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-top: 4px;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent);
}

/* Hero Story */
.hero-story {
    background: var(--bg-alt);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.featured-article .category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.featured-article h1 {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
}

.featured-article h1 a {
    transition: color 0.2s;
}

.featured-article h1 a:hover {
    color: var(--navy-light);
}

.featured-article .excerpt {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 16px;
}

.featured-article .meta {
    font-size: 0.85rem;
    color: var(--slate);
}

.featured-article .author {
    font-weight: 600;
}

.featured-article .date::before {
    content: "•";
    margin: 0 8px;
}

/* Content Grid */
.content-grid {
    padding: 48px 0 80px;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
}

.section-label {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--navy);
    margin-bottom: 32px;
}

/* Article Cards */
.article-card {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.article-card:last-child {
    border-bottom: none;
}

.article-card .category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    margin-bottom: 8px;
}

.article-card h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-card h3 a:hover {
    color: var(--navy-light);
}

.article-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.article-card .meta {
    font-size: 0.8rem;
    color: var(--slate);
}

/* Sidebar */
.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-section h3 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 20px;
}

.trending-list {
    list-style: none;
    counter-reset: trending;
}

.trending-list li {
    counter-increment: trending;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trending-list li::before {
    content: counter(trending);
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    min-width: 24px;
}

.trending-list a {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.trending-list a:hover {
    color: var(--navy-light);
}

.profile-list {
    list-style: none;
}

.profile-list li {
    border-bottom: 1px solid var(--border);
}

.profile-list a {
    display: block;
    padding: 16px 0;
}

.profile-list a:hover strong {
    color: var(--navy-light);
}

.profile-list strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.profile-list span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Newsletter Box */
.newsletter-box {
    background: var(--bg-alt);
    padding: 24px;
    border: 1px solid var(--border);
}

.newsletter-box h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.newsletter-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    font-family: var(--sans);
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.newsletter-form button {
    padding: 10px 20px;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--navy);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: var(--navy-light);
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 150px 150px;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo-text,
.footer-brand .logo-accent {
    display: block;
}

.footer-brand .logo-accent {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-nav h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.footer-nav a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* Article Page */
.article-page .article-header {
    background: var(--bg-alt);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.article-page .article-header .category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.article-page .article-header h1 {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 800px;
}

.article-page .article-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 20px;
}

.article-page .article-header .meta {
    font-size: 0.85rem;
    color: var(--slate);
}

.article-page .article-header .author {
    font-weight: 600;
}

.article-page .article-header .date::before {
    content: "•";
    margin: 0 8px;
}

.article-body {
    padding: 48px 0 80px;
}

.article-body .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

.article-content {
    max-width: 680px;
}

.article-content .intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.article-content p {
    margin-bottom: 1.5em;
    line-height: 1.75;
}

.article-content h2 {
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2.5em;
    margin-bottom: 1em;
    color: var(--navy);
}

.article-content h2:first-of-type {
    margin-top: 0;
}

.article-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-footer .bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
}

.article-sidebar .sidebar-section {
    margin-bottom: 32px;
}

.article-sidebar h3 {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 16px;
}

.related-list {
    list-style: none;
}

.related-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.related-list a {
    font-size: 0.9rem;
    font-weight: 500;
}

.related-list a:hover {
    color: var(--navy-light);
}

.profile-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.profile-card .title {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.profile-details {
    font-size: 0.85rem;
}

.profile-details dt {
    font-weight: 600;
    color: var(--slate);
    margin-top: 8px;
}

.profile-details dd {
    color: var(--text-light);
}

/* Active Nav */
.main-nav a.active {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    html { font-size: 16px; }

    .main-nav { display: none; }

    .featured-article h1 { font-size: 1.8rem; }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-body .container {
        grid-template-columns: 1fr;
    }

    .article-page .article-header h1 {
        font-size: 1.8rem;
    }

    .article-sidebar {
        position: static;
    }
}
