.nb_ep_revamp_body {
    background-color: #ffffff;
    box-shadow: 0px 0px 8.4px 0px #00000040;
    margin: 4rem  auto;
    max-width: 1250px;
    border-radius: 8px;
    padding-inline: 30px;
    line-height: 1.6;
    color: #000;
}

.nb_ep_hero_v2 {
    padding: 25px 0 15px;
    text-align: left;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.nb_ep_hero_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nb_ep_breadcrumb_container .crumbs {
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
    color: #444;
}

.nb_ep_breadcrumb_container a {
    color: #444;
    text-decoration: none;
}

.nb_ep_breadcrumb_container a:hover {
    text-decoration: underline;
}

.nb_ep_breadcrumb_container .crumbs-span {
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
}

.nb_ep_hero_v2 h1 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 8px;
    font-weight: 700;
}

.nb_ep_hero_subtitle {
    font-size: 1.1rem;
    color: #000; /* Darker text */
    max-width: 100%;
}

/* Content Area Formatting - Compact */
.nb_ep_content_dynamic {
    padding: 10px 0;
}

.nb_ep_content_dynamic p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.nb_ep_content_dynamic h2.wp-block-heading {
    font-size: 1.4rem;
    color: #000;
    margin: 1.5rem 0 0.8rem;
    font-weight: 700;
}

.nb_ep_content_dynamic h3.wp-block-heading {
    font-size: 1.2rem;
    color: #000;
    margin: 1.2rem 0 0.6rem;
    font-weight: 600;
}

/* List Formatting - Compact */
.nb_ep_content_dynamic ul.wp-block-list {
    margin: 0.8rem 0 1.2rem 2.5rem; /* Increased left margin */
    list-style-type: disc;
}

.nb_ep_content_dynamic ul.wp-block-list li {
    margin-bottom: 6px;
    padding-left: 2px;
}

/* Emphasis */
.nb_ep_content_dynamic strong {
    color: #000;
}

/* Mobile Adjustments */
@media (max-width: 940px) {
    .nb_ep_revamp_body {
        padding: 0 15px;
        margin: 1rem auto;
    }
}

@media (max-width: 768px) {
    .nb_ep_hero_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nb_ep_hero_v2 h1 {
        font-size: 1.6rem;
    }
    
    .nb_ep_content_dynamic h2.wp-block-heading {
        font-size: 1.25rem;
    }
}

/* Utility Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nb_ep_revamp_body {
    animation: fadeIn 0.6s ease-out forwards;
}

/* scroll up button for mobile */
.mob_arrow_up_scroll {
    display: none;
    background-color: #FFFFFF !important;
    border-radius: 50%;
    position: fixed;
    bottom: 10rem;
    right: 4%;
    z-index: 998;
}

@media screen and (max-width: 660px) {
    .mob_arrow_up_scroll {
        display: flex;
    }
}