/* Big Blue Insider - UK Sports Blog Theme */

:root {
    --uk-blue: #0033A0;
    --uk-blue-dark: #002266;
    --uk-white: #FFFFFF;
    --uk-gray: #F5F5F5;
    --uk-gray-dark: #333333;
    --uk-gray-medium: #666666;
    --uk-accent: #1A4FC9;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--uk-gray-dark);
    background-color: var(--uk-gray);
}

a {
    color: var(--uk-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.container.narrow {
    max-width: 800px;
}

/* Navigation */
.navbar {
    background-color: var(--uk-blue);
    color: var(--uk-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid var(--uk-white);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--uk-white);
    font-weight: bold;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.nav-brand:hover {
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background-color: var(--uk-white);
    color: var(--uk-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

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

.nav-menu a {
    color: var(--uk-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-menu a:hover {
    text-decoration: none;
    border-bottom-color: var(--uk-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--uk-white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--uk-blue) 0%, var(--uk-blue-dark) 100%);
    color: var(--uk-white);
    padding: 4rem 1rem;
    margin-bottom: 3rem;
}

.hero-article {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 1rem 0;
}

.hero-content h1 a {
    color: var(--uk-white);
}

.hero-content h1 a:hover {
    text-decoration: none;
    opacity: 0.9;
}

.hero-summary {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.category-badge {
    display: inline-block;
    background-color: var(--uk-white);
    color: var(--uk-blue);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 2px;
}

.category-badge.small {
    font-size: 0.625rem;
    padding: 0.2rem 0.5rem;
}

.meta {
    font-size: 0.875rem;
    opacity: 0.8;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    background-color: var(--uk-white);
    color: var(--uk-blue);
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.read-more:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    color: var(--uk-gray-dark);
    border-left: 6px solid var(--uk-blue);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

/* Articles Grid */
.articles-grid {
    padding: 0 1rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: var(--uk-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid var(--uk-blue);
}

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

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    margin: 0.75rem 0;
    line-height: 1.3;
}

.card-content h3 a {
    color: var(--uk-gray-dark);
}

.card-content h3 a:hover {
    color: var(--uk-blue);
    text-decoration: none;
}

.card-content p {
    color: var(--uk-gray-medium);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.card-content .meta {
    color: var(--uk-gray-medium);
    font-size: 0.8125rem;
}

/* Article Full */
.article-full {
    background-color: var(--uk-white);
    padding: 3rem 0;
    min-height: 60vh;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 1rem 0;
    color: var(--uk-gray-dark);
}

.article-header .meta {
    color: var(--uk-gray-medium);
}

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

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

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

.article-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
}

.article-content blockquote {
    border-left: 4px solid var(--uk-blue);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--uk-gray-medium);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.tags a {
    display: inline-block;
    background-color: var(--uk-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

/* Page */
.page-full {
    background-color: var(--uk-white);
    padding: 3rem 0;
    min-height: 60vh;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--uk-gray-dark);
}

.page-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, var(--uk-blue) 0%, var(--uk-blue-dark) 100%);
    color: var(--uk-white);
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.category-header h1 {
    font-size: 2.5rem;
    text-transform: capitalize;
}

/* Archives */
.archives-list {
    margin-top: 2rem;
}

.archive-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.archive-item .date {
    color: var(--uk-gray-medium);
    font-size: 0.875rem;
}

.archive-item h3 {
    font-size: 1.125rem;
    margin: 0;
}

.archive-item .category {
    background-color: var(--uk-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination a {
    background-color: var(--uk-blue);
    color: var(--uk-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.pagination a:hover {
    text-decoration: none;
    background-color: var(--uk-blue-dark);
}

.page-info {
    color: var(--uk-gray-medium);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--uk-white);
    padding: 3rem 0 2rem;
    border-top: 6px solid var(--uk-blue);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #888;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--uk-white);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--uk-blue-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-summary {
        font-size: 1rem;
    }

    .article-header h1,
    .page-header h1,
    .category-header h1 {
        font-size: 1.75rem;
    }

    .archive-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .archive-item .category {
        justify-self: start;
    }
}
