.pg-sidebar-layout {
    display: flex;
    gap: 134px;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 100px;
}

.pg-sidebar {
    flex: 0 0 379px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pg-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #2D2926;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

    .pg-sidebar-item:hover {
        color: #597A96;
    }

    .pg-sidebar-item.active {
        color: #597A96;
    }

    .pg-sidebar-item .caret-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        transition: transform 0.2s;
    }

button.pg-sidebar-item {
    background: none;
    border: none;
    padding: 0;
    padding-right: 12px;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

    button.pg-sidebar-item[aria-expanded="true"] .caret-icon {
        transform: rotate(180deg);
    }

.pg-sidebar-submenu {
    padding: 12px 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .pg-sidebar-submenu a {
        font-size: 16px;
        font-weight: 400;
        color: #2D2926;
        text-decoration: none;
        transition: color 0.2s;
    }

        .pg-sidebar-submenu a:hover {
            color: #597A96;
        }

        .pg-sidebar-submenu a.active {
            color: #597A96;
        }

.pg-tab-panel {
    display: none;
}

    .pg-tab-panel.active {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

.pg-article {
    flex: 1;
    min-width: 0;
}

.pg-article-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.52px;
    color: #2D2926;
    margin: 0;
}

.pg-article-subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.52px;
    text-transform: capitalize;
    color: #2D2926;
    margin: 0;
}

.pg-article-group > h3 {
    margin-bottom: 16px;
}

.pg-article-group > p:not(:last-of-type) {
    margin-bottom: 24px;
}

.pg-article-body {
    display: flex;
    flex-direction: column;
}

.pg-article-body-img {
    max-width: 100%;
    height: auto;
}

.pg-article-body p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #2D2926;
}

    .pg-article-body p:not(:last-child) {
        margin-bottom: 24px;
    }

.pg-article-body h4 {
    font-size: 20px;
    letter-spacing: 0.02px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 0;
}

.pg-article-body ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

    .pg-article-body ul > li:not(:last-child) {
        margin-bottom: 12px;
    }

.pg-article-body-img {
    min-width: 227px;
}

.pg-mobile-dropdown {
    display: none;
    position: relative;
    width: 100%;
}

.pg-mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    height: 64px;
    padding: 4px 16px;
    background: #ffffff;
    border: 0.5px solid #2D2926;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.28px;
    color: #2D2926;
    text-align: left;
    cursor: pointer;
}

.pg-mobile-dropdown-text {
    flex: 1;
    min-width: 0;
    text-transform: capitalize;
    line-height: normal;
    line-height: 20px;
}

.pg-mobile-dropdown-caret {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.pg-mobile-dropdown.open .pg-mobile-dropdown-caret {
    transform: rotate(180deg);
}

.pg-mobile-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 0.5px solid #2D2926;
    border-top: none;
    z-index: 10;
    max-height: 320px;
    overflow-y: auto;
}

.pg-mobile-dropdown.open .pg-mobile-dropdown-menu {
    display: block;
}

.pg-mobile-dropdown-menu [role="option"] {
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.28px;
    color: #2D2926;
    cursor: pointer;
    text-transform: capitalize;
    transition: background 0.15s;
}

    .pg-mobile-dropdown-menu [role="option"]:hover {
        background: #f5f5f5;
    }

    .pg-mobile-dropdown-menu [role="option"][aria-selected="true"] {
        color: #597A96;
        font-weight: 400;
    }

.pg-mobile-navigation-wrapper {
    display: none;
}

.pg-sidebar-layout .pg-article {
    display: block;
}

@media (max-width: 767.98px) {

    .pg-sidebar-layout {
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 48px;
    }

    .pg-sidebar {
        display: none;
    }

    .pg-mobile-dropdown {
        display: block;
    }

    .pg-sidebar-item {
        font-size: 16px;
    }

    .pg-article-body {
        margin: 0 auto;
    }

        .pg-article-body p {
            font-size: 14px;
            line-height: 28px;
            letter-spacing: 0.28px;
        }
}

@media (max-width: 991.98px) {

    .pg-article {
        width: 100%;
    }

    .pg-mobile-navigation-wrapper {
        width: 100%;
        display: block;
    }

    .pg-sidebar-layout .pg-article {
        display: none !important;
    }

    .pg-mobile-dynamic-subcontent .board-accordion {
        margin-top: 30px;
    }

    .pg-mobile-dynamic-subcontent .pg-mobile-sub-group {
        margin-top: 64px;
    }

    .pg-sidebar-layout {
        flex-direction: column;
        gap: 40px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .pg-sidebar {
        flex: unset;
        width: 100%;
    }

    .pg-sidebar-item {
        font-size: 18px;
    }

    .pg-article-title {
        font-size: 20px;
        letter-spacing: 0.4px;
        width: 100%;
        margin-bottom: 24px;
    }

    .pg-article-subtitle {
        font-size: 16px;
        font-weight: 500;
    }

    .pg-article-body {
        width: 100%;
    }
}
