/* Blog Specific Styles */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--dark-bg), var(--medium-bg));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.blog-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Content Layout */
.blog-content {
    padding: 80px 0;
    background: var(--light-bg);
}

.blog-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.blog-grid {
    display: grid;
    gap: 3rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-card.featured {
    border: 2px solid var(--secondary-color);
}

.blog-card.featured .blog-category {
    background: var(--secondary-color);
}

.blog-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-content-area {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-date,
.blog-author {
    position: relative;
}

.blog-author::before {
    content: "•";
    margin-right: 0.5rem;
}

.blog-card h2 {
    margin-bottom: 1rem;
}

.blog-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--light-bg);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.sidebar-widget h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-post {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.popular-post h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post h4 a:hover {
    color: var(--primary-color);
}

.popular-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.newsletter-widget h3 {
    color: white;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-newsletter input {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.sidebar-newsletter input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Article Page Styles */
.article-page {
    padding: 40px 0 80px;
    background: var(--light-bg);
}

.article-header {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
    text-align: center;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-category {
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.article-page h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.article-date,
.article-author,
.article-read-time {
    position: relative;
}

.article-author::before,
.article-read-time::before {
    content: "•";
    margin-right: 0.5rem;
}

.article-image {
    max-width: 400px;
    margin: 0 auto;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.article-body {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.article-body .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.article-body h2 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 0.5rem;
}

.article-body h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-body h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-body blockquote {
    background: var(--light-bg);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.article-body blockquote::before {
    content: """;
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    line-height: 1;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.article-body th,
.article-body td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.article-body th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.article-body tr:last-child td {
    border-bottom: none;
}

.article-body tr:nth-child(even) {
    background: var(--light-bg);
}

.tip-box,
.warning-box {
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid;
}

.tip-box {
    background: #e8f5e8;
    border-color: var(--accent-color);
}

.tip-box h4 {
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
}

.warning-box {
    background: #fff3e0;
    border-color: var(--secondary-color);
}

.warning-box h4 {
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
}

.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.author-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.author-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.related-articles {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.related-articles h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.related-article {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.related-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-article h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-article h5 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.related-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.newsletter-signup {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.newsletter-signup h4 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-signup p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-signup form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-signup input {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-signup input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Timeline Styles (for articles) */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-date {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Special Sidebar Widgets */
.game-stats,
.help-resources,
.legal-updates,
.self-assessment {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.stat-item,
.help-item,
.update-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child,
.help-item:last-child,
.update-item:last-child {
    border-bottom: none;
}

.stat-label,
.help-phone,
.update-date {
    font-weight: 600;
    color: var(--primary-color);
}

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

.help-time {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
}

.related-games .related-game {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.related-games .related-game:last-child {
    border-bottom: none;
}

.game-rtp {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-content .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .blog-image {
        height: 200px;
    }

    .blog-image img {
        width: 60px;
        height: 60px;
    }

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

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

    .article-header {
        padding: 2rem;
    }

    .article-body {
        padding: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline {
        margin-left: -20px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-item::before {
        left: 1px;
        width: 16px;
        height: 16px;
    }

    .article-body table {
        font-size: 0.875rem;
    }

    .article-body th,
    .article-body td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .blog-content-area {
        padding: 1.5rem;
    }

    .article-header {
        padding: 1.5rem;
    }

    .article-body {
        padding: 1.5rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .article-body h3 {
        font-size: 1.25rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .blog-tags {
        gap: 0.25rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .article-body blockquote {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .article-body blockquote::before {
        font-size: 3rem;
        top: -0.25rem;
    }

    .tip-box,
    .warning-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }
}
