.sectioned-cards-main {
    padding: 0;
    background-color: #fff;
    min-height: 100vh;
}

/* Mobile Top Nav - Hidden on desktop */
.sectioned-mobile-nav {
    display: none;
}

.sectioned-mobile-menu-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}

.sectioned-mobile-menu-btn:focus {
    outline: none;
    border: none;
}

.sectioned-mobile-menu-btn .hamburger-icon {
    display: block;
}

.sectioned-mobile-menu-btn .close-icon {
    display: none;
}

.sectioned-mobile-menu-btn.active .hamburger-icon {
    display: none;
}

.sectioned-mobile-menu-btn.active .close-icon {
    display: block;
}


.sectioned-cards-main .m-container {
    max-width: 1432px;
    margin: 0 auto;
    padding: 0 0 0 200px;
}

/* Section Dividers */
.cards-section {
    margin-bottom: 60px;
}

.section-divider {
    margin-bottom: 40px;
    margin-top: 60px;
    text-align: left;
    max-width: 100%;
    min-height: 133px;
    display: flex;
    padding-left: 24px;
    border-bottom: 1px solid var(--m-amber);
    border-top: 1px solid var(--m-amber);
    align-items: end;
    padding-bottom: 16px;
}

.section-title {
    flex: 1;
}

h2.section-title {
    margin-bottom: 0;
}

.section-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--m-forest);
    margin-bottom: 0;
    flex: 1;
    text-align: left;
}

/* Cards Grid */
.sectioned-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.no-sections {
    text-align: center;
    font-size: 1.1rem;
    color: #455A5B;
    padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 900px) {

    /* Hide default header menu toggle on sectioned cards page */
    body.page-template-template-sectioned-cards .mobile-menu-toggle:not(.sectioned-mobile-menu-btn) {
        display: none;
    }

    body.page-template-template-sectioned-cards .site-wrapper {
        padding: 0 !important;
    }

    /* Mobile Top Nav */
    .sectioned-mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 24px 48px;
        justify-content: space-between;
        align-items: center;
        z-index: 1000000;
        background: transparent;
        pointer-events: none;
    }

    .sectioned-mobile-nav>* {
        pointer-events: auto;
    }

    .sectioned-mobile-logo {
        display: flex;
        align-items: center;
    }

    .sectioned-mobile-logo a {
        display: block;
        line-height: 0;
    }

    .sectioned-mobile-logo img,
    .sectioned-mobile-logo svg {
        height: 32px;
        width: auto;
    }

    .sectioned-mobile-menu-btn .hamburger-icon {
        display: block;
        width: 40px;
        height: 40px;
    }

    .sectioned-mobile-menu-btn .close-icon {
        display: none;
        width: 40px;
        height: 40px;
    }

    .sectioned-mobile-menu-btn.active .hamburger-icon {
        display: none !important;
    }

    .sectioned-mobile-menu-btn.active .close-icon {
        display: block !important;
    }

    .sectioned-cards-main .m-container {
        padding: 0 16px;
    }

    .sectioned-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .cards-section {
        margin-bottom: 40px;
    }

    .section-divider {
        flex-direction: column;
        align-items: start;
        gap: 40px;
        padding: 40px 0;
        margin: 48px 0 16px 0;
    }

    body.page-template-template-sectioned-cards .main-content {
        padding: 0 16px;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .sectioned-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

@media (min-width: 901px) {
    .sectioned-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 901px) {
    body.page-template-template-sectioned-cards .sidebar-nav {
        top: 16px;
        position: sticky;
        padding: 0;
        left: 0;
    }

    body.page-template-template-sectioned-cards .site-wrapper {
        display: grid;
        gap: 16px;
        grid-template-columns: max-content 1fr;
    }
}

.card-excerpt.sectioned-card-excerpt a {
    text-decoration: none;
    color: var(--m-forest);
    border-bottom: 1px solid var(--m-forest);
    transition: color 0.3s ease;
}

.card-excerpt {
    color: var(--m-forest);
}