/* Styles specific to articles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.05rem; /* Slightly larger base font size */
    line-height: 1.7; /* Increased line height for better readability */
    color: #343a40; /* Softer dark gray for body text */
    background-color: var(--neutral-light); /* Ensure consistent background */
}
.article-container {
    max-width: 800px; /* Optimal reading width */
    margin: 0 auto; /* Center the container */
    padding: 2rem 1.5rem; /* Generous vertical padding, balanced horizontal padding */
    background-color: var(--white); /* Clean white background for content */
    box-shadow: 0 2px 10px var(--shadow-light); /* Subtle shadow for depth */
    border-radius: 8px; /* Rounded corners */
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.breadcrumb {
    margin-bottom: 2rem;
    background-color: var(--neutral-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-medium);
}
.breadcrumb-item a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: var(--dark-color);
    font-weight: 600;
}
.article-title-area {
    padding: 2.5rem 2rem;
    background-color: var(--neutral-light);
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color); /* Accent border */
    box-shadow: 0 2px 8px var(--shadow-light);
}
.article-title-area h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.article-title-area p.text-muted {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}
article h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--neutral-medium);
}
article h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
}
article p {
    margin-bottom: 1.5rem; /* Increased margin for better readability */
    line-height: 1.8;
}
article p.lead {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #495057;
    background-color: var(--neutral-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}
article ul, article ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
article li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
article a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}
article a:hover {
    text-decoration: none;
    border-bottom-color: var(--primary-color);
    background-color: rgba(33, 64, 99, 0.05);
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}
hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-top: 2px solid var(--neutral-medium);
    opacity: 0.6;
}
.cta-box {
    background: linear-gradient(135deg, var(--neutral-light) 0%, #f8f9fa 100%);
    border: 2px solid var(--neutral-medium);
    border-left: 6px solid var(--primary-color);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
}
.cta-box h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}
.step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Article action buttons */
.text-center .btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.text-center .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(33, 64, 99, 0.2);
}

.text-center .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 64, 99, 0.3);
}

.text-center .btn-outline-secondary {
    border: 2px solid var(--neutral-medium);
    color: var(--dark-color);
}

.text-center .btn-outline-secondary:hover {
    background-color: var(--neutral-medium);
    border-color: var(--neutral-medium);
    transform: translateY(-1px);
}

/* Responsive design for articles */
@media (max-width: 768px) {
    .article-container {
        padding: 1.5rem 1rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        border-radius: 0;
        box-shadow: none;
    }

    .article-title-area {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
        border-radius: 8px;
    }

    .article-title-area h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    article h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
        margin-bottom: 1.2rem;
    }

    article h3 {
        font-size: 1.3rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    article p.lead {
        font-size: 1.1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-box {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    article ul, article ol {
        padding-left: 1.5rem;
    }

    .breadcrumb {
        margin-bottom: 1.5rem;
    }
}
