/* Crown Sports static site CSS */
:root {
    --primary: #0a6e3f;
    --primary-dark: #084c2c;
    --secondary: #e6b422;
    --neutral-900: #111827;
    --neutral-800: #1f2937;
    --neutral-600: #4b5563;
    --neutral-300: #d1d5db;
    --neutral-50: #f9fafb;
    --white: #fff;
    --black: #000;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--neutral-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--neutral-300);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.75rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--neutral-800);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary);
    color: var(--white);
}

/* HERO */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

/* MAIN LAYOUT */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

.home-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.section-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card-header {
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
}

/* ARTICLE GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-item {
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}

.article-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.25rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.article-title a {
    color: var(--primary-dark);
    text-decoration: none;
}

.article-title a:hover {
    text-decoration: underline;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin-bottom: 1rem;
}

.article-excerpt {
    color: var(--neutral-800);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    background: var(--primary-dark);
}

/* SIDEBAR */
.sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

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

.sidebar-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--neutral-300);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--neutral-800);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-list a:hover {
    color: var(--primary);
}

/* ARTICLE SINGLE */
.article-single-page {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.article-main {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.article-header {
    margin-bottom: 2rem;
}

.article-hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.article-title-single {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.article-meta-single {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-body h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.75rem;
}

.article-body h3 {
    color: var(--primary-dark);
    margin: 1.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--neutral-600);
    font-style: italic;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1rem 0;
}

/* RELATED SIDEBAR */
.article-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.related-posts {
    list-style: none;
    margin-top: 1rem;
}

.related-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-300);
}

.related-posts li:last-child {
    border-bottom: none;
}

.related-posts a {
    text-decoration: none;
    color: var(--neutral-800);
    font-weight: 500;
    line-height: 1.4;
    transition: var(--transition);
}

.related-posts a:hover {
    color: var(--primary);
}

.related-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* CATEGORY PAGE */
.category-section {
    margin-bottom: 3rem;
}

.category-header {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.category-desc {
    color: var(--neutral-600);
}

/* FOOTER */
.site-footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--neutral-300);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-800);
    font-size: 0.9rem;
    color: var(--neutral-600);
}

/* UTILITY */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.p-2 { padding: 2rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    html { font-size: 14px; }
    .header-inner { flex-direction: column; gap: 1rem; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .home-sections { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .article-single-page { grid-template-columns: 1fr; }
    .article-main { padding: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .articles-grid { grid-template-columns: 1fr; }
}