/* Blog Styles for Sports Lounge Media */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header specific styles */
.header {
    background-color: #0B1E3C;
    padding: 15px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Very specific selector to override any other styles */
header.header .header-container .logo a img,
.header .header-container .logo img,
.logo img {
    height: 80px !important;
    width: auto !important;
    max-height: 80px !important;
    max-width: none !important;
    object-fit: contain !important;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    position: relative;
    text-decoration: none;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background: linear-gradient(135deg, #C52829, #F1C40F);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before {
    position: absolute;
    top: -8px;
}

.nav-toggle-label span::after {
    position: absolute;
    bottom: -8px;
}


/* Footer styles */
.footer {
    background-color: #0B1E3C;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    padding: 40px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 160px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.footer-links li {
    margin: 5px 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    margin-top: 30px;
    opacity: 0.85;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BLOG LISTING PAGE ===== */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero-content h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 80px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-card.featured {
    grid-column: 1 / -1;
    max-width: 100%;
}

/* Blog Image */
.blog-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.blog-card.featured .blog-image {
    height: 400px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-category.inspiration {
    background: #ffd23f;
    color: #333;
}

/* Blog Content */
.blog-content {
    padding: 30px;
}

.full-blog-content {
    margin: 20px 0;
    line-height: 1.6;
}

.full-blog-content h4 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: #2a5298;
}

.full-blog-content p {
    margin-bottom: 15px;
}

.full-blog-content ul {
    margin: 10px 0 15px 20px;
}

.full-blog-content li {
    margin-bottom: 5px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    line-height: 1.2;
    display: block;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-card.featured .blog-title a {
    font-size: 2.5rem;
}

.blog-title a:hover {
    color: #2a5298;
}

.blog-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Blog Footer */
.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.8rem;
    color: #666;
}

.read-more-btn {
    background: #2a5298;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #1e3c72;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.newsletter-section h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #e55a2b;
}

/* ===== INDIVIDUAL BLOG POST PAGE ===== */

.blog-post-main {
    margin-top: 80px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.breadcrumbs a {
    color: #2a5298;
    text-decoration: none;
}

.breadcrumbs span {
    margin: 0 10px;
    color: #666;
}

.breadcrumbs .current {
    color: #333;
    font-weight: 600;
}

/* Article Header */
.article-header {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.article-category {
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.article-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #333;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Article Content */
.article-content {
    background: white;
    padding: 60px 0;
}

.article-image {
    margin-bottom: 50px;
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body .lead {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #555;
    border-left: 4px solid #2a5298;
    padding-left: 25px;
}

.article-body h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin: 50px 0 25px;
    color: #333;
}

.article-body h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #2a5298;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body ul {
    margin: 25px 0 25px 30px;
}

.article-body li {
    margin-bottom: 10px;
}

/* Article Quote */
.article-quote {
    background: #f8f9fa;
    border-left: 5px solid #2a5298;
    padding: 30px;
    margin: 40px 0;
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
}

.article-quote.sunshine {
    border-left-color: #ffd23f;
    background: #fffdf0;
}

.article-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: #2a5298;
}

/* Social Sharing */
.social-sharing {
    margin: 60px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
}

.social-sharing h4 {
    margin-bottom: 20px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

/* Related Posts */
.related-posts {
    margin: 60px 0;
}

.related-posts h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.related-content h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    display: block;
}

.related-content h4 a:hover {
    color: #2a5298;
}

.related-date {
    font-size: 0.9rem;
    color: #666;
}

/* Back to Blog */
.back-to-blog {
    text-align: center;
    margin: 40px 0;
}

.back-btn {
    background: #2a5298;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #1e3c72;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    /* Header mobile styles */
    header.header .header-container .logo a img,
    .header .header-container .logo img,
    .logo img {
        height: 60px !important;
        max-height: 60px !important;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        background: #0B1E3C;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 1rem 2rem;
        display: none;
        z-index: 10;
    }

    .nav a {
        margin: 10px 0;
    }
    
    .nav-toggle-label {
        display: flex;
    }
    
    .nav-toggle:checked + .nav {
        display: flex;
    }

    /* Footer mobile styles */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact {
        margin-top: 20px;
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    /* Original blog mobile styles */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured .blog-image {
        height: 250px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .related-card {
        flex-direction: column;
        text-align: center;
    }
    
    .related-card img {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .blog-hero {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-body .lead {
        font-size: 1.1rem;
    }
    
    .newsletter-section {
        padding: 40px 20px;
    }
}