﻿/* =======================
   General Learn Page Styles
======================= */

/* Container adjustments */
.learn-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.7;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #fff;
}

/* Breadcrumbs */
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

    .breadcrumb a {
        color: #007bff;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

/* Headings */
.learn-article h1 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    color: #222;
}

.learn-article h2 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #222;
}

.learn-article h3 {
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraphs */
.learn-article p {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Lists */
.learn-article ul,
.learn-article ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.learn-article li {
    margin-bottom: 8px;
}

/* Tables */
.learn-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    .learn-article table th,
    .learn-article table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    .learn-article table th {
        background-color: #f8f9fa;
    }

/* Buttons */
.learn-article .btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.learn-article .btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
}

    .learn-article .btn-primary:hover {
        background-color: #0056b3;
        color: #fff;
    }

/* Horizontal Rule */
.learn-article hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* Related Learning Section */
.learn-article section ul {
    list-style-type: disc;
    padding-left: 20px;
}

    .learn-article section ul li {
        margin-bottom: 8px;
    }

        .learn-article section ul li a {
            color: #007bff;
            text-decoration: none;
        }

            .learn-article section ul li a:hover {
                text-decoration: underline;
            }

/* Responsive */
@media (max-width: 768px) {
    .learn-article {
        padding: 15px;
    }

        .learn-article h1 {
            font-size: 1.75rem;
        }

        .learn-article h2 {
            font-size: 1.25rem;
        }
}
