/* style/beginner-guide-common-mistakes.css */

/* General Styling for the page */
.page-beginner-guide-common-mistakes {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for readability */
}

.page-beginner-guide-common-mistakes__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-beginner-guide-common-mistakes__hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue gradient for depth */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide-common-mistakes__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* White text on dark blue background for contrast */
    line-height: 1.2;
}

.page-beginner-guide-common-mistakes__hero-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e9ecef; /* Slightly off-white for subtitle */
}

.page-beginner-guide-common-mistakes__hero-image-wrapper {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide-common-mistakes__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Section */
.page-beginner-guide-common-mistakes__content-section {
    padding: 60px 0;
}

.page-beginner-guide-common-mistakes__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-beginner-guide-common-mistakes__article {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide-common-mistakes__section-title {
    font-size: 2em;
    color: #007bff; /* Primary color for main titles */
    margin-bottom: 25px;
    border-bottom: 3px solid #ffc107; /* Auxiliary color for accent */
    padding-bottom: 10px;
}

.page-beginner-guide-common-mistakes__sub-title {
    font-size: 1.4em;
    color: #0056b3; /* Darker primary shade */
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-beginner-guide-common-mistakes__article p {
    margin-bottom: 15px;
    color: #495057;
}

.page-beginner-guide-common-mistakes__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #495057;
}

.page-beginner-guide-common-mistakes__list li {
    margin-bottom: 8px;
}

.page-beginner-guide-common-mistakes__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-beginner-guide-common-mistakes__illustration-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide-common-mistakes__call-to-action-text {
    font-size: 1.1em;
    font-weight: bold;
    color: #007bff;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.page-beginner-guide-common-mistakes__button {
    display: block;
    width: fit-content;
    margin: 0 auto 20px auto;
    padding: 12px 25px;
    background-color: #ffc107; /* Auxiliary color for buttons */
    color: #000000; /* Black text on yellow for high contrast */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-beginner-guide-common-mistakes__button:hover {
    background-color: #e0a800; /* Darker yellow on hover */
    transform: translateY(-2px);
}

.page-beginner-guide-common-mistakes__button--large {
    padding: 15px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}

/* Final CTA Section */
.page-beginner-guide-common-mistakes__final-cta-section {
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-beginner-guide-common-mistakes__final-cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-beginner-guide-common-mistakes__final-cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e9ecef;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-beginner-guide-common-mistakes__content-grid {
        grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    }
    .page-beginner-guide-common-mistakes__hero-title {
        font-size: 3.5em;
    }
    .page-beginner-guide-common-mistakes__section-title {
        font-size: 2.2em;
    }
    .page-beginner-guide-common-mistakes__final-cta-title {
        font-size: 3em;
    }
    .page-beginner-guide-common-mistakes__button {
        display: inline-block;
        margin: 0 10px 20px 10px; /* Adjust margin for inline buttons */
    }
}

@media (max-width: 767px) {
    .page-beginner-guide-common-mistakes__hero-title {
        font-size: 2.2em;
    }
    .page-beginner-guide-common-mistakes__hero-subtitle {
        font-size: 1em;
    }
    .page-beginner-guide-common-mistakes__section-title {
        font-size: 1.8em;
    }
    .page-beginner-guide-common-mistakes__sub-title {
        font-size: 1.2em;
    }
    .page-beginner-guide-common-mistakes__final-cta-title {
        font-size: 2em;
    }
    .page-beginner-guide-common-mistakes__final-cta-description {
        font-size: 1em;
    }
    .page-beginner-guide-common-mistakes__button {
        width: 100%;
        max-width: 300px;
    }
}