/* Blog-specific CSS (save as blog-styles.css) */
.blog-main {
    margin-top: var(--header-height);
    padding: 60px 0;
    background-color: #fff;
    min-height: calc(100vh - var(--header-height))
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--light-gray)
}

.blog-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800
}

.blog-subtitle {
    font-size: 1.3em;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: .8;
    line-height: 1.5
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1em;
    color: var(--primary-color);
    font-weight: 600
}

.blog-date,
.blog-category {
    padding: 8px 16px;
    background-color: var(--background-light);
    border-radius: 20px;
    border: 1px solid var(--border-color)
}

.blog-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8
}

.blog-section {
    margin-bottom: 50px
}

.blog-section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    position: relative
}

.blog-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color)
}

.blog-section h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin: 35px 0 20px;
    text-align: left
}

.blog-section h4 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin: 25px 0 15px;
    text-align: left
}

.blog-intro {
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 25px;
    background: linear-gradient(135deg, var(--background-light), #f9fbfa);
    border-radius: 12px;
    border-left: 5px solid var(--primary-color)
}

.disclaimer-box {
    background-color: #fff8e1;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    position: relative
}

.disclaimer-box p {
    margin-bottom: 0;
    color: #8a6914;
    font-weight: 500;
    padding-left: 10px
}

.blog-quote {
    background: linear-gradient(135deg, var(--background-light), #f0f8f2);
    border-left: 5px solid var(--primary-color);
    padding: 30px 35px;
    margin: 40px 0;
    font-style: italic;
    border-radius: 0 12px 12px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(38, 169, 87, .1)
}

.blog-quote::before {
    content: '\"';
    font-size: 4em;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: Georgia, serif;
    opacity: .3
}

.blog-quote p {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 500;
    padding-left: 20px
}

.blog-quote cite {
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
    font-size: 1em;
    padding-left: 20px
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    background: linear-gradient(135deg, var(--background-light), #f9fbfa);
    padding: 35px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05)
}

.data-column h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px
}

.data-list {
    list-style: none;
    padding: 0
}

.data-list li {
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 500;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    padding-left: 25px
}

.data-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 10px;
    font-size: 1.2em
}

.data-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(38, 169, 87, .1)
}

.data-note {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 25px;
    text-align: center;
    font-size: 1.1em
}

.prediction-example {
    background: linear-gradient(135deg, var(--background-light), #f0f8f2);
    padding: 35px;
    border-radius: 16px;
    margin: 40px 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(38, 169, 87, .1)
}

.prediction-example h3 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
    color: var(--secondary-color);
    font-size: 1.6em;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color)
}

.prediction-results {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.prediction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #fff;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    transition: transform .2s ease, border-color .2s ease
}

.prediction-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color)
}

.prediction-item.actual {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8fff9, #f0f8f2);
    box-shadow: 0 4px 15px rgba(38, 169, 87, .1)
}

.model-name {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1em
}

.prediction-value {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color)
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0
}

.feature-list li {
    padding: 15px 0 15px 35px;
    position: relative;
    color: var(--text-color);
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.6
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2em;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color)
}

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

.feature-list li:hover {
    background-color: var(--background-light);
    padding-left: 40px;
    transition: all .2s ease
}

.results-highlight {
    background: linear-gradient(135deg, var(--primary-color), #2bb759);
    color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(38, 169, 87, .3);
    position: relative;
    overflow: hidden
}

.results-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg)
    }

    50% {
        transform: translateX(0) translateY(0) rotate(180deg)
    }
}

.results-highlight h3 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .1);
    text-align: center
}

.results-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1
}

.stat-number {
    font-size: 5em;
    font-weight: 800;
    line-height: 1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, .2)
}

.stat-description {
    font-size: 1.3em;
    opacity: .95;
    max-width: 400px;
    line-height: 1.4
}

.blog-closing {
    font-size: 1.4em;
    text-align: center;
    font-weight: 600;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, var(--background-light), #f0f8f2);
    border-radius: 16px;
    border: 2px solid var(--primary-color)
}

.blog-cta {
    background: linear-gradient(135deg, var(--background-light), #f0f8f2);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    margin-top: 60px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(38, 169, 87, .1);
    position: relative;
    overflow: hidden
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    animation: gradientFlow 3s ease-in-out infinite
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.cta-content h3 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center
}

.cta-content p {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 35px;
    opacity: .8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto
}

.blog-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all .3s ease;
    position: relative
}

.blog-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--primary-color)
}

.blog-content a[target=\"_blank\"]::after {
    content: '↗';
    font-size: .8em;
    margin-left: 3px;
    opacity: .7
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.05em;
    line-height: 1.7
}

.blog-content p:last-child {
    margin-bottom: 0
}

@media (max-width:1024px) {
    .blog-title {
        font-size: 3em
    }

    .data-grid {
        gap: 30px;
        padding: 30px
    }

    .stat-number {
        font-size: 4em
    }
}

@media (max-width:768px) {
    .blog-main {
        padding: 40px 0
    }

    .blog-header {
        margin-bottom: 40px;
        padding-bottom: 30px
    }

    .blog-title {
        font-size: 2.5em;
        line-height: 1.1
    }

    .blog-subtitle {
        font-size: 1.1em;
        margin-bottom: 25px
    }

    .blog-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center
    }

    .data-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px
    }

    .prediction-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px
    }

    .prediction-value {
        font-size: 1.8em
    }

    .stat-number {
        font-size: 3.5em
    }

    .results-highlight {
        padding: 40px 25px
    }

    .blog-cta {
        padding: 40px 25px;
        margin-top: 40px
    }

    .cta-content h3 {
        font-size: 2em
    }

    .cta-content p {
        font-size: 1.1em
    }

    .blog-section h2 {
        font-size: 2em
    }

    .blog-section h3 {
        font-size: 1.5em
    }

    .blog-content {
        padding: 0 10px
    }
}

@media (max-width:480px) {
    .blog-main {
        padding: 30px 0
    }

    .blog-title {
        font-size: 2em;
        margin-bottom: 15px
    }

    .blog-subtitle {
        font-size: 1em
    }

    .blog-intro {
        padding: 20px;
        font-size: 1.1em
    }

    .disclaimer-box,
    .blog-quote,
    .prediction-example {
        padding: 20px;
        margin: 25px 0
    }

    .results-highlight {
        padding: 30px 20px
    }

    .stat-number {
        font-size: 2.8em
    }

    .stat-description {
        font-size: 1.1em
    }

    .blog-section {
        margin-bottom: 35px
    }

    .blog-section h2 {
        font-size: 1.8em;
        margin-bottom: 20px
    }

    .blog-section h3 {
        font-size: 1.3em;
        margin-bottom: 15px
    }

    .feature-list li {
        padding: 12px 0 12px 30px;
        font-size: .95em
    }

    .data-list li {
        padding: 10px 12px 10px 22px;
        font-size: .9em
    }

    .blog-content {
        padding: 0 5px
    }

    .blog-content p {
        font-size: 1em
    }
}

@media print {
    .blog-main {
        margin-top: 0;
        background-color: #fff
    }

    .blog-cta,
    .cookies-infobar {
        display: none
    }

    .blog-content a::after {
        content: \" (\" attr(href) \")\";
        font-size: .8em;
        font-style: italic
    }

    .results-highlight {
        background: #fff;
        color: #000;
        border: 2px solid #000
    }

    .results-highlight h3,
    .stat-number,
    .stat-description {
        color: #000
    }
}