.error-container {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-container h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.error-container p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

/* General Styles */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f0f2f5 0%, #e6e9ec 100%);
    color: #1a1a1a;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease;
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #dd0200;
    --text-color: #1a1a1a;
    --bg-light: #f0f2f5;
    --secondary-color: #17b794;
    --card-shadow: 0 8px 20px rgba(0,0,0,0.1);
    --transition-speed: 0.3s;
}

* {
    transition: all var(--transition-speed) ease;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
}

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), rgba(30, 61, 89, 0.95));
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 0.75rem 1rem;
    background: rgba(44, 62, 80, 0.95);
}

.nav-link {
    position: relative;
    margin: 0 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 2px; /* Reduced border radius */
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 2px; /* Reduced border radius */
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar .btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 2px; /* Reduced border radius */
    transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
    background: white;
    color: #2193b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Scoreboard */
.scoreboard {
    background: linear-gradient(135deg, var(--primary-color), rgba(30, 61, 89, 0.98));
    color: white;
    padding: 1.5rem;
    margin: 0 auto 3rem;
    max-width: 100%;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    position: relative;
    border-left: 6px solid var(--accent-color);
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255,255,255,0.1);
    -webkit-overflow-scrolling: touch;
}

.scoreboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
}

.score-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    min-width: 200px;
    max-width: 220px;
    transition: transform 0.2s ease, background 0.2s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.score-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.score-header {
    background: #dd0200;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-item .teams {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.score-status {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-item .team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.score-item .team-name {
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.score-item .score-value {
    font-weight: bold;
    font-size: 1.1rem;
    color: #dd0200;
}

/* Featured Article */
.featured-article {
    position: relative;
    margin: 2rem 0 3rem;
    border-radius: 4px; /* Reduced border radius */
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
}

/* Rich Text Content Styles */
.rich-text-content {
    line-height: 1.6;
    font-size: 1.1rem;
}

.rich-text-content h1 { font-size: 2.5rem; margin: 1.5rem 0; }
.rich-text-content h2 { font-size: 2rem; margin: 1.3rem 0; }
.rich-text-content h3 { font-size: 1.75rem; margin: 1.1rem 0; }
.rich-text-content h4 { font-size: 1.5rem; margin: 1rem 0; }
.rich-text-content p { margin-bottom: 1.2rem; }
.rich-text-content ul, .rich-text-content ol { margin: 1rem 0; padding-left: 2rem; }
.rich-text-content blockquote {
    border-left: 4px solid #ccc;
    margin: 1.5rem 0;
    padding: 0.5rem 1rem;
    background: #f9f9f9;
}
.rich-text-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.featured-article img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-article:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 3rem 2rem 2rem;
    color: white;
}

/* Homepage Layout */
.homepage-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.featured-main {
    margin-bottom: 4rem;
}

.featured-article-hero {
    position: relative;
    height: 700px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.featured-article-hero:hover {
    transform: translateY(-10px);
}

.featured-article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

.featured-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.featured-image-section {
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.featured-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-article-small {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.article-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.article-preview {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-title-link {
    color: inherit;
    text-decoration: none;
}

.article-title-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .featured-secondary,
    .article-row {
        grid-template-columns: 1fr;
    }
    
    .featured-article-hero {
        height: 400px;
    }
    
    .featured-image-section {
        height: 300px;
    }
}

.homepage-layout .scoreboard {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.main-column .article-preview {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
}

.main-column .article-preview:hover {
    transform: translateY(-5px);
}

.category-highlights {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

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

.category-title {
    color: #2c3e50;
    border-bottom: 2px solid #dd0200;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.category-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.category-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.category-item h6 {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

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

.story-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.story-card:hover::after {
    opacity: 1;
}

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

.story-content {
    padding: 1.5rem;
}

.story-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

.main-story {
    margin-bottom: 3rem;
}

.featured-article-large {
    position: relative;
    height: 70vh;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    margin: 2rem 0;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.featured-article-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.3;
    z-index: 1;
    transition: opacity var(--transition-speed) ease;
}

.featured-article-large:hover::before {
    opacity: 0.4;
}

.featured-article-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article-large:hover img {
    transform: scale(1.02);
}

.featured-article-large .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

.featured-article-large h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-article-large .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.news-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-preview {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.preview-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.preview-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.trending-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
}

.trending-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.trending-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.trending-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.subtle-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.subtle-link:hover {
    color: #2c3e50;
}

@media (max-width: 768px) {
    .news-columns {
        grid-template-columns: 1fr;
    }

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

    .featured-article-large {
        height: 400px;
    }

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

/* Article Cards */
.article-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1500px;
    min-width: 300px;
    margin-right: -15px;
    margin-left: -15px;
}

.article-card:hover {
    transform: translateY(-12px) rotateX(4deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
}

.article-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 60%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.article-card:hover::after {
    transform: translateX(100%);
}

@keyframes float {
    0% { transform: translateY(0px) rotate3d(0,0,0,0deg); }
    50% { transform: translateY(-10px) rotate3d(1,1,0,2deg); }
    100% { transform: translateY(0px) rotate3d(0,0,0,0deg); }
}

.article-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1;
}

.article-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-card .p-3 {
    padding: 1.5rem !important;
}

.article-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.article-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.article-meta .btn-primary, .story-content .btn-primary, .category-item .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    color: white;
    box-shadow: none;
}

.article-meta .btn-primary:hover, .story-content .btn-primary:hover, .category-item .btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2c5282, var(--primary-color));
}
/* Keep original btn-primary for non-article buttons */
.btn-primary:not(.article-meta .btn-primary):not(.story-content .btn-primary):not(.category-item .btn-primary) {
    background: linear-gradient(135deg, var(--accent-color), #2c3e50);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:not(.article-meta .btn-primary):not(.story-content .btn-primary):not(.category-item .btn-primary):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 131, 176, 0.3);
    background: linear-gradient(135deg, #0083b0, #00b4db);
}

/*Adding class for larger images*/
.article-card.nfl, .article-card.nba {
    margin-bottom: 2rem;
}

.article-card.nfl img, .article-card.nba img {
    height: 500px;
}

/* Search */
.search-form {
    margin: 2rem 0;
}

/* Animations */

/*Typewriter Effect*/
.article-content {
    opacity: 0;
    transition: opacity 0.5s;
}

.article-content.visible {
    opacity: 1;
}

.typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: pre-wrap;
    border-right: 2px solid transparent;
}

.typewriter-text.typing {
    border-right: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-article img {
        height: 240px;
    }

    .article-card img {
        height: 220px;
    }
}

/* Comments Styles */
.comments-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(200px);
}

.comments-title {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.comment-form .custom-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.comment-form .custom-textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(221, 2, 0, 0.2);
}

.comment-submit {
    background: var(--accent-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 2, 0, 0.3);
}

.login-prompt {
    color: white;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.login-prompt a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.comments-container {
    margin-top: 2rem;
}

.comment-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.comment-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.15);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
}

.comment-info {
    flex: 1;
}

.comment-author {
    color: white;
    margin: 0;
    font-weight: 600;
}

.comment-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.comment-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.comment-content p {
    margin: 0;
}

/* Content Blocks Styles */
.content-block {
    margin-bottom: 2rem;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-block .video-container {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quote-block {
    padding: 2rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.quote-block blockquote {
    margin: 0;
}

.quote-block .blockquote p {
    font-size: 1.25rem;
    font-style: italic;
    color: #495057;
}

.quote-block .blockquote-footer {
    margin-top: 1rem;
    color: #6c757d;
}

.caption {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.5rem;
}

.article-meta {
    margin-top: 0.5rem;
}

.article-meta .btn-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-meta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/*New Button Styles*/
.continue-reading-button {
    background-color: #007bff; /* Example blue color */
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.continue-reading-button:hover {
    background-color: #0069d9; /* Darker blue on hover */
}

.featured-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.featured-article-small {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.featured-article-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-sections {
    margin-top: 40px;
}

.category-section {
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.category-featured {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.category-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.section-title {
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.articles-full {
    padding: 0;
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
    position: relative;
}

.articles-full img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.article-content-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 100vh auto 0;
    padding: 3rem;
    max-width: 800px;
    min-height: 100vh;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.2);
    border-radius: 20px 20px 0 0;
}

.article-meta {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    padding: 1rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.rich-text-content {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.article-meta .btn {
    width: 100%;
    margin: 0.5rem 0;
}

@media (max-width: 992px) {
    .articles-full {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .articles-full {
        margin: 0.5rem;
        padding: 1rem;
    }

    .articles-full img {
        width: 100%;
        height: auto;
    }

    .nav-link {
        padding: 0.5rem !important;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .scoreboard {
        padding: 1rem 0.5rem;
        margin: 1rem 0;
        justify-content: flex-start;
    }

    .score-item {
        min-width: 170px;
        max-width: 190px;
    }
    
    .score-item .team-name {
        font-size: 0.85rem;
    }

    .featured-article-large {
        height: 300px;
    }

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

    .article-card img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.5rem;
    }

    .articles-full {
        margin: 0;
        border-radius: 0;
    }

    .navbar {
        padding: 0.5rem;
    }

    .article-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .article-meta .btn {
        flex: 1;
        min-width: 120px;
    }
}

.featured-overlay .btn-primary.featured-btn {
    background: linear-gradient(135deg, var(--accent-color), #2c3e50);
    border: none;
    padding: 0.75rem 1.5rem;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin: 1rem 0;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.featured-overlay .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #2c3e50, var(--accent-color));
}