/* ─────────────────────────────────────────────────────────
   Health Resources — Landing Page, Category Archives, Single
   ───────────────────────────────────────────────────────── */

/* Hero Section */
.health-resources-landing .hr-hero {
    background-color: #E7EEF0;
    background-image: url('/wp-content/uploads/2020/08/inner-pages-hero-shap.svg');
    background-repeat: no-repeat;
    background-position: calc(50% + 0px) 0;
    background-size: auto;
}

.health-resources-landing .hr-hero-inner {
    max-width: 1460px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 340px;
    position: relative;
}

.health-resources-landing .hr-hero-text-wrapper {
    display: flex;
}   

.health-resources-landing .hr-hero-text {
    padding: 62px 32px 40px 15px;
    max-width: 510px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    align-content: center;
    align-items: center;
}

.health-resources-landing .hr-breadcrumb {
    font-family: "Public Sans", sans-serif;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 20px;
    color: #294b67;
}

.health-resources-landing .hr-breadcrumb a {
    color: #294b67;
    text-decoration: underline;
}

.health-resources-landing .hr-breadcrumb a:hover {
    text-decoration: none;
}

.health-resources-landing .hr-breadcrumb span {
    color: #294b67;
}

.health-resources-landing .hr-hero h1 {
    font-size: 64px;
    font-family: 'Vollkorn', serif;
    font-weight: 600;
    line-height: 70px;
    width: 100%;
}

.health-resources-landing .hr-hero-breadcrumb-mobile {
    display: none;
}

.health-resources-landing .hr-hero-image-wrapper {
    display: flex;
    align-items: center;
}

.health-resources-landing .hr-hero-image {
    position: relative;
    margin: 38px 0 -38px;
    padding: 0 26px 0 3px;
}

.health-resources-landing .hr-hero-image img {
    max-width: 588px;
    height: auto;
    display: block;
}

/* WPBakery Hero Row */
.hr-bakery-hero {
    min-height: 340px;
    display: flex !important;
    align-items: center;
}

.hr-bakery-hero > .vc_column_container {
    align-self: center;
}

/* `stretch_row` stretches the row content to viewport width on this WPBakery
   setup, so we manually push the text to align with the 1170px site container. */
.hr-bakery-hero .hr-bakery-hero-text {
    max-width: 510px;
    margin-left: calc((100vw - 1170px) / 2);
    padding-left: 15px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .hr-bakery-hero .hr-bakery-hero-text {
        margin-left: 0;
        padding-left: 30px;
    }
}

.hr-bakery-hero .hr-bakery-hero-text h1 {
    font-family: 'Vollkorn', serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 70px;
    color: #294B67;
    margin: 0;
}

.hr-bakery-hero .hr-bakery-hero-text .hr-breadcrumb {
    font-family: "Public Sans", sans-serif;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 20px;
    color: #294b67;
}

.hr-bakery-hero .hr-bakery-hero-text .hr-breadcrumb a {
    color: #294b67;
    text-decoration: underline;
}

.hr-bakery-hero .hr-bakery-hero-text .hr-breadcrumb a:hover {
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hr-bakery-hero {
        min-height: 240px;
    }
    .hr-bakery-hero .hr-bakery-hero-text h1 {
        font-size: 48px;
        line-height: 57px;
    }
}

@media (max-width: 767px) {
    .hr-bakery-hero {
        background-position: right center !important;
    }
    .hr-bakery-hero .hr-bakery-hero-text h1 {
        font-size: 32px;
        line-height: 38px;
    }
}

/* Content Section */
.health-resources-template .tb-container {
    padding: 0 !important;
}

.health-resources-template .tb-container-inner {
    max-width: none !important;
}

.health-resources-landing .hr-content-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 98px 0 70px;
}

/* Custom Styled Select (Filter Dropdown) */
.health-resources-landing .hr-filter {
    margin-bottom: 30px;
}

.health-resources-landing .resourses-category-list-wrapper {
    max-width: 370px;
}

.health-resources-landing .select.resourses-category-list {
    position: relative;
}

.health-resources-landing .select.resourses-category-list .styledSelect {
    color: #294b67;
    padding: 12px 14px;
    font-family: 'Public Sans';
    font-size: 18px;
    line-height: 21px;
    color: rgba(41, 75, 103, .6);
    border-radius: 5px;
    border: solid 1px rgba(41, 75, 103, .3);
    background-color: #fff;
    position: relative;
    cursor: pointer;
    display: block;
}

.health-resources-landing .select.resourses-category-list .styledSelect::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #294b67;
    border-bottom: 2px solid #294b67;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s;
}

.health-resources-landing .select.resourses-category-list .styledSelect.active::after {
    transform: translateY(-30%) rotate(-135deg);
}

.health-resources-landing .select.resourses-category-list .styledSelect.active {
    border-radius: 5px 5px 0 0;
    border-bottom-color: transparent;
    border: 1px solid #294b67;
}

.health-resources-landing .text-ellipses {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 24px;
    font-weight: 500;
    color: #294b67;
}

.health-resources-landing .is-active .styledSelect .text-ellipses {
    color: #294b67 !important;
    font-weight: 700;
}

.health-resources-landing .resourses-category-list-wrapper .is-active .text-ellipses,
.health-resources-landing .resourses-category-list-wrapper .options li {
    padding-left: 30px !important;
    position: relative;
}

.health-resources-landing .resourses-category-list-wrapper .text-ellipses img,
.health-resources-landing .resourses-category-list-wrapper .options li img {
    width: 24px;
    height: 22px;
    object-fit: contain;
    object-position: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.health-resources-landing .select .options {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    z-index: 990;
    margin: 0;
    padding: 0 10px;
    list-style: none;
    background: #fff;
    border-radius: 0 0 5px 5px;
    max-height: 380px;
    overflow-y: auto;
    border-top: 0;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .08);
    border: 1px solid #d4d3d2;
    border-top: 0;
}

.health-resources-landing .select .options li {
    margin: 0;
    padding: 15px 10px 13px 34px !important;
    font-family: "Public Sans", sans-serif;
    font-size: 18px;
    color: #294b67;
    line-height: 20px;
    font-weight: 400;
    cursor: pointer;
    border-top: 1px solid #e9edef;
    letter-spacing: 0;
    text-transform: none;
    position: relative;
    list-style-type: none;
}

.health-resources-landing .select .options li:first-child {
    border-top: none;
    margin-top: 3px;
}

.health-resources-landing .select .options li:hover {
    text-decoration: none;
}

.health-resources-landing .styledSelect.active+ul {
    border: 1px solid #294b67;
    border-top: 0;
}

/* Grid Wrapper + Loading Overlay */
.health-resources-landing .hr-grid-wrapper {
    position: relative;
    min-height: 200px;
}

.health-resources-landing .hr-grid-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(41, 75, 103, .4);
    z-index: 10;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
}

.health-resources-landing .hr-grid-overlay.active {
    display: flex;
}

.health-resources-landing .hr-grid-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hr-spin .8s linear infinite;
}

@keyframes hr-spin {
    to { transform: rotate(360deg); }
}

/* Article Card Grid — 4 columns */
.health-resources-landing .hr-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.health-resources-landing .hr-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow .2s;
    margin: 0 !important;
}

.health-resources-landing .hr-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.health-resources-landing .hr-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 152px;
    border-radius: 5px 5px 0 0;
}

.health-resources-landing .hr-card-icon img {
    max-height: 57px;
    transition: transform .15s;
}

.health-resources-landing .hr-card:hover .hr-card-icon img {
    transform: scale(1.1);
}

.health-resources-landing .hr-card-content {
    padding: 20px;
}

.health-resources-landing .hr-card-category {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    color: #294b67;
    font-weight: 400;
    line-height: normal;
    letter-spacing: .5px;
    line-height: 16px;
    text-transform: uppercase;
}

.health-resources-landing h4.hr-card-title {
    font-family: 'Public Sans', sans-serif;
    text-decoration: none;
    color: #294b67;
    display: block;
    margin-top: 12px;
    font-size: 20px;
    font-weight: 700;
}

/* Category color backgrounds */
.health-resources-landing .hr-card.urgent-care .hr-card-icon { background-color: #cce8e9; }
.health-resources-landing .hr-card.injuries .hr-card-icon { background-color: #e2f0f4; }
.health-resources-landing .hr-card.illnesses .hr-card-icon { background-color: #f7d4d1; }
.health-resources-landing .hr-card.conditions .hr-card-icon { background-color: #faeedf; }
.health-resources-landing .hr-card.wellness .hr-card-icon { background-color: #e4e4ef; }
.health-resources-landing .hr-card.allergies .hr-card-icon { background-color: #d9eed8; }

/* Pagination */
.health-resources-landing .resources-pagination-container {
    text-align: center;
    margin-top: 40px;
}

.health-resources-landing .resources-pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 3px;
    font-family: "Public Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 48px;
    color: #294b67;
    text-decoration: none;
    border-radius: 50%;
}

.health-resources-landing .resources-pagination-container .page-numbers.current {
    background-color: #e5665d;
    color: #fff;
}

.health-resources-landing .resources-pagination-container .page-numbers:not(.current):not(.dots):not(.next):not(.prev) {
    background: #fff;
}

.health-resources-landing .resources-pagination-container .page-numbers:hover:not(.current):not(.dots):not(.next):not(.prev) {
    background: #e5665d;
    color: #fff;
    cursor: pointer;
}

.health-resources-landing .resources-pagination-container .page-numbers.dots {
    width: auto;
    background: none;
}

.health-resources-landing .resources-pagination-container .page-numbers.prev,
.health-resources-landing .resources-pagination-container .page-numbers.next {
    font-size: 28px;
    color: #e5665d;
}

/* No results */
.health-resources-landing .hr-no-results {
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    color: #294b67;
    text-align: center;
    padding: 40px 0;
}

/* Reviewed By blocks (used on single articles — not scoped to landing) */
.single-nextcare-resources .reviewed-by-block {
    display: block;
    padding: 20px 0 24px;
    margin: 20px 0;
    border-bottom: 1px solid rgba(41, 75, 103, .2);
    overflow: hidden;
    font-style: normal;
}

.single-nextcare-resources .reviewed-by-block em {
    font-style: normal;
}

.single-nextcare-resources .reviewed-by-photo {
    float: left;
    margin: 0 10px 2px 0;
    width: 230px;
    height: auto;
    object-fit: cover;
}

.single-nextcare-resources .reviewed-by-text {
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #294b67;
}

.single-nextcare-resources .reviewed-by-text a {
    color: #007780;
}

/* ─── Responsive ─── */

@media (min-width: 1025px) {
    .health-resources-landing .hr-hero-text-wrapper {
        justify-content: flex-end;
        min-height: 381px;
    }  
}

@media (max-width: 1024px) {
    .health-resources-landing .hr-hero-text-wrapper {
        min-height: 320px;
    }

    .health-resources-landing .hr-hero-text {
        padding: 50px 20px 20px 15px;
        text-align: left;
    }

    .health-resources-landing .hr-hero-image {
        margin: 38px 0 -38px;
        padding: 0;
    }
}

@media (max-width: 1023px) {
    .health-resources-landing .hr-hero-inner {
        min-height: auto;
    }

    .health-resources-landing .hr-hero-image-wrapper {
        width: 100%;
    }

    .health-resources-landing .hr-hero {
        background-position: bottom center;
        background-size: auto;
    }

    .health-resources-landing .hr-hero-image img {
        max-width: 100%;
    }

    .health-resources-landing .hr-hero h1 {
        font-size: 48px;
        font-family: 'Vollkorn', serif;
        font-weight: 600;
        line-height: 57px;
    }

    .health-resources-landing .hr-content-section {
        padding: 98px 15px 70px;
    }

    .health-resources-landing .hr-filter {
        margin-bottom: 40px;
    }

    .health-resources-landing .hr-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 768px) {
    .health-resources-landing .hr-hero-text-wrapper {
        width: 47%;
    }
    .health-resources-landing .hr-hero-image-wrapper {
        width: 53%;
        justify-content: center;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
     .health-resources-landing .hr-hero-text-wrapper {
        width: 40%;
    }
    .health-resources-landing .hr-hero-image-wrapper {
        width: 60%;
    }
}

@media (max-width: 767px) {
     .health-resources-landing .hr-hero-inner {
        flex-direction: column;
    }

    .health-resources-landing .hr-breadcrumb {
        padding: 0 15px;
    }

    .health-resources-landing .hr-hero-breadcrumb-mobile {
        display: block;
        order: 1;
        padding: 20px 20px 0;
        width: 100%;
        background: #e7eef0;
    }

    .health-resources-landing .hr-hero-image {
        margin: 38px auto 20px;
    }

    .health-resources-landing .hr-hero-image-wrapper {
        order: 2;
        width: 100%;
        min-height: 0;
        aspect-ratio: 375 / 241.4;
        background: url('/wp-content/uploads/2020/08/inner-hero-mobile-shape.svg') no-repeat top center;
        background-size: 100% 100%;
    }

    .health-resources-landing .hr-hero-text-wrapper {
        order: 3;
        min-height: auto;
        width: 100%;
    }

    .health-resources-landing .hr-breadcrumb-desktop {
        display: none;
    }

    .health-resources-landing .hr-content-section {
        padding: 40px 15px 60px;
    }

    .health-resources-landing .hr-hero-text {
        padding: 25px 15px 0;
    }

    .health-resources-landing .hr-hero h1 {
        font-size: 38px;
        font-family: 'Vollkorn', serif;
        font-weight: 600;
        line-height: 44px;
    }

    .health-resources-landing .hr-hero {
        background-image: none;
    }

    .health-resources-landing .hr-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .health-resources-landing .hr-card-icon img {
        max-height: 60px;
        max-width: 60px;
    }

    .health-resources-landing .hr-card-content {
        padding: 15px;
    }

    .health-resources-landing .hr-card-title {
        font-size: 14px;
        line-height: 20px;
    }

    .health-resources-landing .hr-filter select {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .health-resources-landing .resourses-category-list-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 479px) {
    .health-resources-landing .hr-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Health Resources — Single Post Template
   ═══════════════════════════════════════════════════════════════ */

/* Reset Genesis / Toolset wrappers so our template goes full-width */
.single-nextcare-resources .site-inner,
.single-nextcare-resources .content-sidebar-wrap,
.single-nextcare-resources .content,
.single-nextcare-resources .entry,
.single-nextcare-resources .entry-content,
.single-nextcare-resources .wpb-content-wrapper {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.single-nextcare-resources .entry {
    border: none !important;
    box-shadow: none !important;
}

/* Hide any Genesis breadcrumb that slips through */
.single-nextcare-resources .breadcrumb {
    display: none !important;
}

/* Hide Genesis entry header if still rendered */
.single-nextcare-resources .entry-header {
    display: none !important;
}

.health-resources-template .single-nextcare-resources .tb-container {
    padding: 0 !important;
}

.health-resources-template .single-nextcare-resources .tb-container-inner {
    max-width: none !important;
}

/* ── Banner / Hero ── */
.single-nextcare-resources .resources-banner {
    background-color: rgba(217, 238, 216, .5);
    padding: 40px 0 0;
}

/* Banner category colors */
.single-nextcare-resources .resources-banner.allergies { background-color: rgba(231, 241, 230, .5); }
.single-nextcare-resources .resources-banner.conditions { background-color: rgba(250, 238, 223, .5); }
.single-nextcare-resources .resources-banner.illnesses { background-color: rgba(247, 212, 209, .5); }
.single-nextcare-resources .resources-banner.injuries { background-color: rgba(226, 240, 244, .5); }
.single-nextcare-resources .resources-banner.urgent-care { background-color: rgba(204, 232, 233, .5); }
.single-nextcare-resources .resources-banner.wellness { background-color: rgba(228, 228, 239, .5); }

.single-nextcare-resources .resources-banner-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb */
.single-nextcare-resources .hero-breadcrumb {
    font-family: "Public Sans", sans-serif;
    margin-bottom: 60px;
    color: #294b67;
}

.single-nextcare-resources .hero-breadcrumb p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.single-nextcare-resources .hero-breadcrumb a,
.single-nextcare-resources .hero-breadcrumb span {
    font-size: 12px;
}

.single-nextcare-resources .hero-breadcrumb a {
    color: #294b67;
    text-decoration: underline;
}

.single-nextcare-resources .hero-breadcrumb a:hover {
    text-decoration: none;
}

.single-nextcare-resources .hero-breadcrumb .separator {
    margin: 0 4px;
    color: #294b67;
    font-size: 16px;
}

.single-nextcare-resources .hero-breadcrumb .last {
    flex-shrink: 1;
    min-width: 0;
}

/* Category Badge */
.single-nextcare-resources .category-img-and-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Public Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #294b67;
    margin: 25px 0;
    padding-bottom: 7px;
}

.single-nextcare-resources .category-img-and-title img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Title */
.single-nextcare-resources .resource-post-title {
    font-family: 'Vollkorn', serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 70px;
    color: #294b67;
    margin: 0 0 30px;
}

/* Title — extra spacing when no featured image */
.single-nextcare-resources .resources-banner-inner:not(:has(.resource-featured-image)) .resource-post-title {
    padding-bottom: 50px;
}

/* Featured Image */
.single-nextcare-resources .resource-featured-image {
    margin-top: 10px;
}

.single-nextcare-resources .resource-featured-image img {
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── Two-Column Layout ── WPBakery row/columns handle display; keep max-width/padding */
.single-nextcare-resources .resource-main-content {
    max-width: 1170px;
    margin: 0 auto !important;
    padding: 50px 15px 40px;
}

.single-nextcare-resources .resource-left-content {
    font-family: "Public Sans", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #294b67;
}

.single-nextcare-resources .resource-left-content p {
    font-size: 18px;
    line-height: 28px;
}

.single-nextcare-resources .resource-left-content h2 {
    font-family: 'Vollkorn', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #294b67;
    margin: 30px 0 15px;
}

.single-nextcare-resources .resource-left-content h3 {
    font-family: 'Vollkorn', serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #294b67;
    margin: 25px 0 12px;
}

.single-nextcare-resources .resource-left-content p {
    margin: 0 0 16px;
}

.single-nextcare-resources .resource-left-content a {
    color: #007780;
    overflow-wrap: break-word;
    word-break: break-word;
}

.single-nextcare-resources .resource-left-content ul,
.single-nextcare-resources .resource-left-content ol {
    padding-left: 20px;
    margin: 0 0 16px;
}

.resource-left-content ul.nc-symbol-list,
.entry-content ul.nc-symbol-list {
    list-style-type: none;
    padding-left: 0;
}

.single-nextcare-resources .resource-left-content li {
    margin-bottom: 8px;
    margin: 0 8px 0 auto;
    padding: 0;
    list-style-type: inherit;
}

.single-nextcare-resources .resource-left-content img {
    max-width: 100%;
    height: auto;
}

.single-nextcare-resources .resource-left-content iframe {
    max-width: 100%;
}

/* ── Tables (matches Hello Elementor theme defaults from live site) ── */
.entry-content table,
.resource-left-content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.9em;
    margin-bottom: 15px;
    background-color: transparent;
}

.entry-content table td,
.entry-content table th,
.resource-left-content table td,
.resource-left-content table th {
    border: 1px solid hsla(0, 0%, 50%, .502);
    line-height: 1.5;
    padding: 15px;
    vertical-align: top;
}

.entry-content table th,
.resource-left-content table th {
    font-weight: 700;
}

.entry-content table tbody > tr:nth-child(odd) > td,
.entry-content table tbody > tr:nth-child(odd) > th,
.resource-left-content table tbody > tr:nth-child(odd) > td,
.resource-left-content table tbody > tr:nth-child(odd) > th {
    background-color: hsla(0, 0%, 50%, .071);
}

.entry-content table tbody tr:hover > td,
.entry-content table tbody tr:hover > th,
.resource-left-content table tbody tr:hover > td,
.resource-left-content table tbody tr:hover > th {
    background-color: hsla(0, 0%, 50%, .102);
}

/* Mobile scroll wrapper for wide tables */
.nc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 15px;
}

.nc-table-wrap table {
    margin-bottom: 0;
}

/* ── Sidebar ── WPBakery column (1/3) handles width */
/* Sidebar components (search, articles, categories) styling lives in nc-sidebar.css */
/* Callout styling is self-contained in templatera 28551 (WPBakery custom CSS) */

/* WPBakery wraps each sidebar shortcode in .wpb_text_column — its block formatting
   context prevents inner margins from collapsing out. Apply spacing at the wrapper level. */
.hr-single-sidebar-col .wpb_text_column {
    margin-bottom: 40px;
}

.hr-single-sidebar-col .wpb_text_column:last-child {
    margin-bottom: 0;
}

/* ── Divider ── Now a [vc_separator] inside .hr-single-divider-row */
.single-nextcare-resources .hr-single-divider-row {
    max-width: 1170px;
    margin: 0 auto 40px !important;
    padding: 0 15px;
}

.single-nextcare-resources .hr-single-divider-row .vc_sep_line {
    border-top-color: rgba(41, 75, 103, .15) !important;
}

/* ── Discover More ── */
.single-nextcare-resources .discover-more-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.single-nextcare-resources .discover-more-section h2 {
    font-family: 'Vollkorn', serif;
    font-size: 36px;
    font-weight: 600;
    color: #294b67;
    text-align: center;
    margin: 0 0 30px;
}

.single-nextcare-resources ul.related-resources {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.single-nextcare-resources .related-resources li {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: box-shadow .15s;
    margin: 0 auto;
    width: 100%;
}

.single-nextcare-resources .related-resources li:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.single-nextcare-resources .related-resources .resources-container {
    display: flex;
    flex-direction: column;
}

.single-nextcare-resources .related-resources .image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 152px;
}

.single-nextcare-resources .related-resources .image-box a {
    min-height: 152px;
    height: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-nextcare-resources .related-resources .image-box img.category-img {
    width: auto;
    height: 57px;
    object-fit: contain;
    transform: scale(1) translate(0, 0);
    transition: all .1s;
}

.single-nextcare-resources .related-resources a:hover img.category-img {
    transform: scale(1.1);
}


/* Discover More — category color backgrounds */
.single-nextcare-resources .related-resources li.urgent-care .image-box { background-color: #cce8e9; }
.single-nextcare-resources .related-resources li.wellness .image-box { background-color: #e4e4ef; }
.single-nextcare-resources .related-resources li.conditions .image-box { background-color: #faeedf; }
.single-nextcare-resources .related-resources li.illnesses .image-box { background-color: #f7d4d1; }
.single-nextcare-resources .related-resources li.allergies .image-box { background-color: #d9eed8; }
.single-nextcare-resources .related-resources li.injuries .image-box { background-color: #e2f0f4; }

.single-nextcare-resources .related-resources .content {
    padding: 24px 20px 30px !important;
}

.single-nextcare-resources .related-resources .content span {
    font-family: "Public Sans", sans-serif;
    font-size: 13px;
    color: rgba(41, 75, 103, .6);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.single-nextcare-resources .related-resources .content h4 {
    font-family: "Public Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #294b67;
    margin: 8px 0 0;
}

.single-nextcare-resources .related-resources .content a {
    text-decoration: none;
}

.single-nextcare-resources .related-resources .content a:hover h4 {
    color: #007780;
}

.single-nextcare-resources .discover-more-cta {
    text-align: center;
    margin-top: 30px;
}

.single-nextcare-resources .discover-more-cta .cta-button {
    display: inline-block;
    background: #e5665d;
    color: #fff;
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 5px;
    text-decoration: none;
    transition: background .15s;
}

.single-nextcare-resources .discover-more-cta .cta-button:hover {
    background: #d04f46;
}

/* ── Responsive — Single Post ── */

@media screen and (max-width: 1120px) {
    .single-nextcare-resources .resource-post-title {
        font-size: 48px;
        line-height: 57px;
    }
}

@media (max-width: 1023px) {
    .single-nextcare-resources .resource-post-title {
        font-size: 38px;
        line-height: 46px;
    }

    /* Tablet column gap/width now handled by WPBakery row gap="35" + column widths */
}

@media (max-width: 767px) {
    .single-nextcare-resources .resources-banner {
        padding: 20px 0 0;
    }

    .single-nextcare-resources .hero-breadcrumb {
        font-size: 12px;
        line-height: 18px;
        margin-bottom: 12px;
    }

    .single-nextcare-resources .hero-breadcrumb .separator {
        font-size: 21px;
        margin: 0 5px;
    }

    .single-nextcare-resources .resource-post-title {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 20px;
    }

    .single-nextcare-resources .resource-main-content {
        padding: 30px 15px 30px;
    }

    /* Mobile column stacking handled by WPBakery vc_col-sm-* breakpoints */

    .single-nextcare-resources ul.related-resources {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .single-nextcare-resources .discover-more-section h2 {
        font-size: 28px;
    }

    .single-nextcare-resources .discover-more-section {
        padding-bottom: 40px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FAQ Accordion
   ═══════════════════════════════════════════════════════════════ */

.single-nextcare-resources .nc-faq-accordion {
    margin: 40px 0 20px;
}

.single-nextcare-resources .nc-faq-accordion h2 {
    font-family: 'Vollkorn', serif;
    font-size: 32px;
    font-weight: 600;
    color: #294b67;
    margin: 0 0 20px;
}

.single-nextcare-resources .nc-faq-accordion > .nc-faq-item:first-of-type {
    border-top: 1px solid rgba(41, 75, 103, .2);
}

.single-nextcare-resources .nc-faq-item {
    border-bottom: 1px solid rgba(41, 75, 103, .2);
    border-left: 1px solid rgba(41, 75, 103, .2);
    border-right: 1px solid rgba(41, 75, 103, .2);
}

.single-nextcare-resources .nc-faq-heading {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit;
    line-height: inherit;
    border: none !important;
}

.single-nextcare-resources .nc-faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #294b67;
    text-decoration: underline;
    transition: background-color .15s, color .15s;
}

.single-nextcare-resources .nc-faq-question:hover {
    background-color: #e7eef0;
    color: #007780;
    text-decoration: none;
}

/* Plus / Minus icon */
.single-nextcare-resources .nc-faq-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    position: relative;
}

.single-nextcare-resources .nc-faq-icon::before,
.single-nextcare-resources .nc-faq-icon::after {
    content: '';
    position: absolute;
    background: #294b67;
    border-radius: 1px;
    transition: transform .25s ease;
}

.single-nextcare-resources .nc-faq-question:hover .nc-faq-icon::before,
.single-nextcare-resources .nc-faq-question:hover .nc-faq-icon::after {
    background: #007780;
}

/* Horizontal bar (always visible) */
.single-nextcare-resources .nc-faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* Vertical bar (hidden when open) */
.single-nextcare-resources .nc-faq-icon::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.single-nextcare-resources .nc-faq-item.open .nc-faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.single-nextcare-resources .nc-faq-label {
    flex: 1;
}

.single-nextcare-resources .nc-faq-answer {
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #294b67;
    padding: 18px 18px 18px 42px;
}

.single-nextcare-resources .nc-faq-answer[hidden] {
    display: none;
}

.single-nextcare-resources .nc-faq-answer p {
    margin: 0 0 14px;
}

.single-nextcare-resources .nc-faq-answer p:last-child {
    margin-bottom: 0;
}

.single-nextcare-resources .nc-faq-answer ul,
.single-nextcare-resources .nc-faq-answer ol {
    padding-left: 20px;
    margin: 0 0 14px;
}

.single-nextcare-resources .nc-faq-answer li {
    margin-bottom: 6px;
}

.single-nextcare-resources .nc-faq-answer a {
    color: #007780;
}

@media (max-width: 767px) {
    .single-nextcare-resources .nc-faq-question {
        font-size: 15px;
        padding: 12px 14px;
    }

    .single-nextcare-resources .nc-faq-answer {
        font-size: 15px;
        line-height: 24px;
        padding: 0 14px 16px 38px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Key Takeaway — green callout box 
   ═══════════════════════════════════════════════════════════════ */

.nc-key-takeaway {
    background: #cef8d8;
    margin: 50px auto;
    display: table;
    padding: 30px;
    border-radius: 4px;
    max-width: 720px;
    width: 100%;
}

.nc-key-takeaway-body {
    display: flex;
    font-size: 18px;
    line-height: 28px;
}

.nc-key-takeaway-content {
    color: #000;
}

.nc-key-takeaway-content strong,
.nc-key-takeaway-content b {
    color: #000;
}

@media (max-width: 767px) {
    .nc-key-takeaway {
        padding: 20px;
        margin: 30px auto;
    }

    .nc-key-takeaway-body {
        font-size: 16px;
        line-height: 25px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Click to Tweet — blue-bordered box
   ═══════════════════════════════════════════════════════════════ */

.nc-click-to-tweet {
    /* border: 1px solid #03a9f4; */
    margin: 50px auto;
    display: table;
    font-size: 20px;
    padding: 0;
    border-radius: 6px;
    max-width: 720px;
    background: #fff;
    position: relative;
}

.nc-click-to-tweet a:first-child {
    text-decoration: none;
    padding: 20px;
    display: block;
    cursor: pointer;
    color: #03a9f4;
}

.nc-click-to-tweet a:last-child {
    font-size: 12px;
    float: right;
    margin-top: -20px;
    margin-right: 5px;
    text-decoration: none;
    color: #c5c5c5;
    cursor: pointer;
}

@media (max-width: 767px) {
    .nc-click-to-tweet {
        margin: 30px auto;
        font-size: 17px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Author Box (per-post, matches Elementor author-box from live site)
   ═══════════════════════════════════════════════════════════════ */

.nc-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
}

.nc-author-box-avatar {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.nc-author-box-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.nc-author-box-name {
    font-family: 'Vollkorn', serif;
    font-size: 20px;
    font-weight: 600;
    color: #294b67;
    margin: 0 0 8px;
}

.nc-author-box-bio {
    font-family: "Public Sans", sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #555;
    margin: 0;
}

@media (max-width: 767px) {
    .nc-author-box {
        gap: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CTA Button (replaces Elementor button markup)
   ═══════════════════════════════════════════════════════════════ */

.nc-cta-button-wrapper {
    text-align: center;
    margin: 20px 0;
}

.resource-left-content .nc-cta-button,
.entry-content .nc-cta-button,
.nc-cta-button {
    display: inline-block;
    background-color: #e5665d;
    color: #fff !important;
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 30px;
    border-radius: 4px;
    border: 2px solid #e5665d;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.resource-left-content .nc-cta-button:hover,
.entry-content .nc-cta-button:hover,
.nc-cta-button:hover {
    background-color: #fff;
    color: #e5665d !important;
    text-decoration: none;
    border: 2px solid #e5665d;
}
