.page-beginner-guide {
    font-family: 'Arial', sans-serif;
    color: var(--Text-Main); /* Default text color for the page */
    background-color: var(--Deep-Navy); /* Ensure content contrast with body background */
}

.page-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-beginner-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--Deep-Navy);
    position: relative;
    overflow: hidden;
}

.page-beginner-guide__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for desktop hero */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-beginner-guide__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    filter: brightness(0.7);
}

.page-beginner-guide__hero-content {
    position: relative;
    z-index: 2;
    margin-top: -150px; /* Adjust to slightly overlap the image for visual flow */
    padding: 0 20px;
    max-width: 900px;
}

.page-beginner-guide__hero-title {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--Text-Main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    color: var(--Text-Secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-beginner-guide__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-beginner-guide__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--Text-Main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__btn-secondary {
    background: transparent;
    color: var(--Text-Main);
    border: 2px solid var(--Glow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__btn-secondary:hover {
    background: var(--Glow);
    color: var(--Deep-Navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-beginner-guide__introduction-section,
.page-beginner-guide__steps-section,
.page-beginner-guide__tips-section,
.page-beginner-guide__contact-section,
.page-beginner-guide__faq-section {
    padding: 80px 0;
}

.page-beginner-guide__dark-section {
    background-color: var(--Deep-Navy);
    color: var(--Text-Main);
}

.page-beginner-guide__light-bg {
    background-color: var(--Card-B-G);
    color: var(--Text-Main);
}

.page-beginner-guide__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--Glow);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-beginner-guide__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-beginner-guide__text-block {
    flex: 1;
    line-height: 1.8;
    font-size: 1.05em;
}

.page-beginner-guide__text-block p {
    margin-bottom: 15px;
    color: var(--Text-Secondary);
}

.page-beginner-guide__text-block ul,
.page-beginner-guide__text-block ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--Text-Secondary);
}

.page-beginner-guide__text-block li {
    margin-bottom: 8px;
}

.page-beginner-guide__content-subtitle {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--Text-Main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-beginner-guide__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-beginner-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Steps Section */
.page-beginner-guide__step-card {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Divider);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__step-card:last-child {
    margin-bottom: 0;
}

.page-beginner-guide__step-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--Gold);
    text-align: center;
    margin-bottom: 30px;
}

.page-beginner-guide__step-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-beginner-guide__step-content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-beginner-guide__step-text {
    flex: 1;
    line-height: 1.8;
    font-size: 1.05em;
    color: var(--Text-Secondary);
}

.page-beginner-guide__step-text p {
    margin-bottom: 15px;
}

.page-beginner-guide__step-text ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-beginner-guide__step-text ol li {
    margin-bottom: 10px;
    color: var(--Text-Secondary);
}

.page-beginner-guide__step-text strong {
    color: var(--Text-Main);
}

.page-beginner-guide__step-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-beginner-guide__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Tips Section */
.page-beginner-guide__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-beginner-guide__tip-card {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Divider);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__tip-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--Gold);
    margin-bottom: 15px;
}

.page-beginner-guide__tip-card p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--Text-Secondary);
}

.page-beginner-guide__cta-center {
    text-align: center;
}

/* Contact Section */
.page-beginner-guide__app-download {
    background-color: var(--Deep-Navy);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__app-download .page-beginner-guide__content-subtitle {
    color: var(--Text-Main);
    margin-bottom: 20px;
}

.page-beginner-guide__app-download p {
    color: var(--Text-Secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* FAQ Section */
details.page-beginner-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--Card-B-G);
    border: 1px solid var(--Divider);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question::-webkit-details-marker {
    display: none;
}

details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question:hover {
    background: rgba(var(--Divider), 0.5);
}

.page-beginner-guide__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--Text-Main);
}

.page-beginner-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--Glow);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-beginner-guide__faq-item .page-beginner-guide__faq-answer {
    padding: 0 20px 20px;
    background: var(--Deep-Navy);
    border-radius: 0 0 5px 5px;
}

details.page-beginner-guide__faq-item .page-beginner-guide__faq-answer p {
    color: var(--Text-Secondary);
    line-height: 1.7;
    font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-beginner-guide__hero-title {
        font-size: 2.8em;
    }

    .page-beginner-guide__hero-description {
        font-size: 1.1em;
    }

    .page-beginner-guide__section-title {
        font-size: 2.2em;
    }

    .page-beginner-guide__content-grid,
    .page-beginner-guide__step-content-wrapper {
        flex-direction: column;
    }

    .page-beginner-guide__content-grid--reverse {
        flex-direction: column;
    }

    .page-beginner-guide__step-card {
        padding: 30px;
    }

    .page-beginner-guide__step-title {
        font-size: 1.8em;
    }

    .page-beginner-guide__tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__container {
        padding: 0 15px; /* Adjust container padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section Mobile */
    .page-beginner-guide__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }

    .page-beginner-guide__hero-image {
        max-height: 450px; /* Adjust max height for mobile hero */
        object-fit: contain; /* Ensure image is fully visible */
    }

    .page-beginner-guide__hero-content {
        margin-top: -80px; /* Less overlap for mobile */
        padding: 0 15px;
    }

    .page-beginner-guide__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-beginner-guide__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-beginner-guide__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-beginner-guide__btn-primary,
    .page-beginner-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1em;
        padding: 12px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section Mobile */
    .page-beginner-guide__introduction-section,
    .page-beginner-guide__steps-section,
    .page-beginner-guide__tips-section,
    .page-beginner-guide__contact-section,
    .page-beginner-guide__faq-section {
        padding: 40px 0;
    }

    .page-beginner-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .page-beginner-guide__content-grid,
    .page-beginner-guide__step-content-wrapper {
        gap: 30px;
    }

    .page-beginner-guide__text-block,
    .page-beginner-guide__image-block {
        padding: 0 15px;
    }

    .page-beginner-guide__content-subtitle {
        font-size: 1.4em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-beginner-guide__text-block p,
    .page-beginner-guide__text-block ul,
    .page-beginner-guide__text-block ol {
        font-size: 0.95em;
    }

    .page-beginner-guide__content-image,
    .page-beginner-guide__step-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* Steps Section Mobile */
    .page-beginner-guide__step-card {
        padding: 25px;
        margin-bottom: 30px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-beginner-guide__step-title {
        font-size: 1.6em;
        margin-bottom: 25px;
    }

    /* Tips Section Mobile */
    .page-beginner-guide__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .page-beginner-guide__tip-card {
        padding: 25px;
    }

    .page-beginner-guide__tip-title {
        font-size: 1.2em;
    }

    /* Contact Section Mobile */
    .page-beginner-guide__app-download {
        padding: 30px;
        margin-top: 40px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-beginner-guide__app-download p {
        font-size: 1em;
    }

    /* FAQ Section Mobile */
    details.page-beginner-guide__faq-item {
        margin-bottom: 10px;
        margin-left: 15px;
        margin-right: 15px;
    }

    details.page-beginner-guide__faq-item summary.page-beginner-guide__faq-question {
        padding: 15px;
    }

    .page-beginner-guide__faq-qtext {
        font-size: 1em;
    }

    .page-beginner-guide__faq-toggle {
        font-size: 1.2em;
        width: 24px;
        height: 24px;
    }

    details.page-beginner-guide__faq-item .page-beginner-guide__faq-answer {
        padding: 0 15px 15px;
    }

    .page-beginner-guide__faq-answer p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__hero-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__section-title {
        font-size: 1.6em;
    }
    .page-beginner-guide__step-title {
        font-size: 1.4em;
    }
}