﻿/* Centered Section */
.centered-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 40px 20px;
}

.update-date p {
    color: var(--black);
    font-size: 14px;
    margin: 20px 20px 10px 0px;
}

.centered-section h1 {
    font-family: var(--font-h);
    font-size: 3.6rem;
    font-weight: 400;
    color: #101010;
    max-width: 800px;
    padding: 0 !important;
    margin: 0 225px;
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
}

.image-buttons {
    position: absolute;
    bottom: 100px;
    left: 25%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.guide-content h3 {
    font-family: var(--font-h);
    font-size: 42px;
    font-weight: 400;
    padding: 20px 0px 10px;
}

.guide-content h4 {
    border-left: 4px solid #f3855d;
    padding-left: 20px;
    margin: 21px 0 20px 25px;
    font-family: var(--font-h);
    font-weight: 400;
}

.guide-content p, .highlight-paragraph p {
    font-family: var(--font-h);
    font-size: 15px;
    line-height: 1.4;
}

.guide-content a, .highlight-paragraph a {
    color: #01a601;
    text-decoration: underline;
}

/* Pill Box */
.pill-box {
    width: 250px;
}

/* Next Move */
.next-move {
    margin: 50px 0 0;
}

.next-move h4 {
    font-weight:600;
}

/* Support Wrapper */
.support-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Sidebar */
.support-sidebar {
    flex: 0 0 25%;
    width: 25%;
    position: sticky;
    top: 120px;
}

.support-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-menu li a {
    display: block;
    color: var(--black);
    padding: 20px 0px 0px;
    text-decoration: none;
    font-family: var(--font-h);
    font-size: 16px;
}

.support-menu li a:hover {
    text-decoration: underline;
}

.support-menu li a.active {
    color: var(--grey);
}

.btn-pad {
    padding: 5px 15px;
}

/* Highlight Paragraph */
.highlight-paragraph {
    position: relative;
    padding-left: 20px;
    margin: 0px 0px 20px;
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 400;
}

.highlight-paragraph::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #f3855d;
    border-radius: 2px;
}

aside .pill-box {
    background-color: var(--black);
}

aside .pill-box .pill:not(.active) {
    color: var(--white);
}

/* ===== MEDIA QUERIES ===== */

/* Large Desktop */
@media (max-width: 1199.98px) {
    .centered-section h1 {
        font-size: 60px;
    }

    .image-buttons {
        bottom:40px;
        flex-direction:column;
        row-gap:10px;
    }
}
@media (min-width: 576px) and (max-width: 1099.98px) {
    .image-buttons {
        bottom: 30px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .centered-section {
        padding-bottom:0px!important;
    }

    .guide-content h3 {
        font-size: 28px;
    }

    .highlight-header {
        font-size: 25px;
        margin: 21px 0 20px 15px;
    }

    /* Sidebar */
    .support-sidebar {
        display: none;
    }

    .support-content {
        flex: 0 0 100%;
        width: 100%;
    }

    /* Wrapper */
    .support-wrapper {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        overflow-x: hidden;
        padding: 0;
    }

    /* Content */
    .support-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 10px;
    }

    .support-content img,
    .image-container,
    .section-image {
        max-width: 100%;
        height: auto;
    }

    /* Centered Section */
    .centered-section {
        padding: 40px 15px;
        margin-top: 60px;
    }

    .centered-section h1 {
        margin: 0 20px !important;
        font-size: 2.8rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    /* Centered Section */
    .centered-section h1 {
        font-size: 2.2rem;
        margin: 0 10px !important;
    }

    .pill-box {
        width: auto;
        max-width: 250px;
    }

    /* Image */
    .image-container {
        max-width: 100%;
        margin: 20px 0;
    }

    /* Content */
    .support-content h1,
    .support-content h2,
    .support-content h3,
    .support-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .image-buttons {
        position:unset;
        transform:unset;
        flex-direction:row;
        justify-content: center;
        margin-top: 20px;
    }
}
