/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.logo_div a{
	width: 100% !important;
}

.tab_section .e-n-tabs-heading {
    border-bottom: 2px solid #D6D6D6;
}

.tab_section .e-n-tabs-heading button{
    margin-bottom: -2px;
}

.tab_section .e-n-tabs-content img {
    width: 100%;
}


/* ---------- History: horizontal scroll section ---------- */

.horizontal_main_section {
    flex-wrap: nowrap !important;
    overflow: hidden;
}

/*
 * Elementor animates container transforms (~0.4s). GSAP drives transforms every
 * frame for pinning, the panel slide and data-speed/data-lag parallax, so that
 * transition makes elements lag behind and bounce. Turn it off only there.
 */
.horizontal_main_section,
.horizontal_main_section > .horizontal_main_div,
[data-speed],
[data-lag] {
    --e-con-transform-transition-duration: 0s;
}

/* Each panel takes the full width of the section instead of shrinking */
.horizontal_main_section > .horizontal_main_div {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
    will-change: transform;
}

/* Desktop: full-screen panel; GSAP pins it and slides the panels (see js/smooth-scroll.js) */
@media (min-width: 768px) {
    .horizontal_main_section {
        height: 100vh;
        align-items: center;
    }
}

/* Mobile: plain swipeable carousel */
@media (max-width: 767px) {
    .horizontal_main_section {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .horizontal_main_section > .horizontal_main_div {
        scroll-snap-align: start;
    }
}


/* ---------- Memberships: "Included in every plan" benefit cards ---------- */

/* Elementor's inline layout is a flex row with negative margins; swap it for a 3-column grid */
.membership_icon_list .elementor-icon-list-items.elementor-inline-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.membership_icon_list .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    margin: 0 !important;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.membership_icon_list .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:hover {
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.10);
    transform: translateY(-2px);
}

/* Remove Elementor's inline divider */
.membership_icon_list .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item::after {
    display: none !important;
}

.membership_icon_list .elementor-icon-list-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    margin: 0 !important;
}

.membership_icon_list .elementor-icon-list-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.membership_icon_list .elementor-icon-list-text {
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.45;
    color: #374151;
    text-align: left;
}

.contact_us_form .elementor-field-type-submit button {
    background: linear-gradient(90deg, #2D5F1E 0%, #35661F 7.14%, #3D6D20 14.29%, #457422 21.43%, #4D7C23 28.57%, #558324 35.71%, #5D8A24 42.86%, #659225 50%, #6D9926 57.14%, #75A126 64.29%, #7DA927 71.43%, #85B027 78.57%, #8DB828 85.71%, #96C028 92.86%, #9EC828 100%);
}

.contact_us_form .elementor-field-type-acceptance .elementor-field-label {
    display: none;
}

.contact_us_form .elementor-field-subgroup .elementor-field-option {
    display: flex;
    gap: 8px;
}

.contact_us_icon {
    position: relative;
}

.contact_us_icon::before {
    content: "";
    position: absolute;
    top: 35%;
    right: 20px;
    width: 22px;
    height: 22px;
    background-image: url("http://localhost/mbf/wp-content/uploads/2026/09/arrow-right-1.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
}

.page-header {
    display: none;
}

@media (max-width: 1024px) {
    .membership_icon_list .elementor-icon-list-items.elementor-inline-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .membership_icon_list .elementor-icon-list-items.elementor-inline-items {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 430px) {
    .team_icon_box .elementor-image-box-wrapper {
        display: flex;
        flex-direction: row-reverse;
    }
}


/* ---------- Past Presidents: [past_presidents] shortcode (templates/past-presidents.php) ---------- */

.past-presidents {
    background: #10271A;
    border: 2px solid #8A5A2B;
    border-radius: 10px;
    overflow: hidden;
    color: #E8F0E4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.past-presidents .pp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    background: #0C2014;
    border-bottom: 1px solid #8A5A2B;
}

.past-presidents .pp-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9EC828;
    box-shadow: 0 0 8px rgba(158, 200, 40, 0.7);
}

.past-presidents .pp-header .pp-dot:last-child {
    margin-left: auto;
}

.past-presidents .pp-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.past-presidents .pp-body {
    padding: 18px 22px 8px;
}

.past-presidents .pp-decade {
    margin-bottom: 26px;
}

.past-presidents .pp-decade-title {
    margin: 0 0 4px;
    padding: 9px 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(90deg, #045F2E 0%, #0B7A3B 45%, #9EC828 100%);
    border-left: 3px solid #9EC828;
    border-radius: 2px;
}

.past-presidents .pp-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.past-presidents .pp-row:nth-child(odd):not(.pp-row-head) {
    background: rgba(255, 255, 255, 0.025);
}

.past-presidents .pp-row:not(.pp-row-head):hover {
    background: rgba(158, 200, 40, 0.07);
}

.past-presidents .pp-row-head {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9EC828;
    border-bottom: 1px solid rgba(158, 200, 40, 0.35);
}

.past-presidents .pp-year {
    font-size: 15px;
    font-weight: 700;
    color: #E3F1C4;
    white-space: nowrap;
}

.past-presidents .pp-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    color: #F1F5EE;
}

.past-presidents .pp-note {
    font-size: 12.5px;
    line-height: 1.5;
    color: #8FB08A;
}

.past-presidents .pp-footer {
    padding: 14px 22px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
    color: #5E8A3A;
    background: #0C2014;
    border-top: 1px solid rgba(158, 200, 40, 0.2);
}

@media (max-width: 767px) {
    .past-presidents .pp-header,
    .past-presidents .pp-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .past-presidents .pp-title {
        font-size: 16px;
    }

    /* Year + name on one line, note wraps underneath */
    .past-presidents .pp-row {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 4px 12px;
        padding: 10px 12px;
    }

    .past-presidents .pp-row-head div:last-child {
        display: none;
    }

    .past-presidents .pp-year {
        font-size: 13px;
    }

    .past-presidents .pp-name {
        font-size: 15px;
    }

    .past-presidents .pp-note {
        grid-column: 2;
    }

    .past-presidents .pp-note:empty {
        display: none;
    }
}


/* ---------- Blog detail: Gutenberg content inside the Elementor "Post Content" widget ---------- */
/* Scoped to single posts so Elementor pages and other templates are not affected. */

.single-post .elementor-widget-theme-post-content {
    --post-heading-font: "Times New Roman", Times, Georgia, serif;
    --post-body-font: "Inter", sans-serif;
    --post-ink: #101828;
    --post-muted: #717680;
    --post-green: #2D5F1E;
    --post-green-bright: #7DA927;
    --post-line: #E9EAEB;
    --post-surface: #F9FAFB;
    --post-radius: 8px;
    --post-measure: 900px;
}

/* WordPress "constrained" groups cap children at 800px and centre them; keep everything left-aligned and full width */
.single-post .elementor-widget-theme-post-content .is-layout-constrained > * {
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.single-post .elementor-widget-theme-post-content .alignfull,
.single-post .elementor-widget-theme-post-content .alignwide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Vertical rhythm */
.single-post .elementor-widget-theme-post-content > *,
.single-post .elementor-widget-theme-post-content :is(.wp-block-group, .wp-block-column, .wp-block-quote) > * {
    margin-top: 0;
    margin-bottom: 0;
}

.single-post .elementor-widget-theme-post-content > * + *,
.single-post .elementor-widget-theme-post-content :is(.wp-block-group, .wp-block-column) > * + * {
    margin-top: 20px;
}

.single-post .elementor-widget-theme-post-content > p:empty,
.single-post .elementor-widget-theme-post-content .wp-block-buttons:empty {
    display: none;
}

/* Readable line length for running text */
.single-post .elementor-widget-theme-post-content > :is(p, ul, ol, h2, h3, h4) {
    max-width: var(--post-measure);
}

/* Headings */
.single-post .elementor-widget-theme-post-content :is(h2, h3, h4) {
    font-family: var(--post-heading-font);
    font-weight: 400;
    line-height: 1.25;
    color: var(--post-ink);
}

.single-post .elementor-widget-theme-post-content h2 {
    font-size: 32px;
}

.single-post .elementor-widget-theme-post-content h3 {
    font-size: 26px;
}

.single-post .elementor-widget-theme-post-content > h2 {
    margin-top: 72px;
}

.single-post .elementor-widget-theme-post-content a:not(.wp-block-button__link) {
    color: var(--post-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Images & captions */
.single-post .elementor-widget-theme-post-content .wp-block-image img {
    display: block;
    border-radius: var(--post-radius);
}

.single-post .elementor-widget-theme-post-content .wp-block-image.alignfull img {
    width: 100%;
    height: auto;
}

.single-post .elementor-widget-theme-post-content .wp-element-caption {
    margin: 12px 0 0;
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    color: var(--post-muted);
}

.single-post .elementor-widget-theme-post-content > .wp-block-image {
    margin-top: 40px;
}

/* Section spacing after images, groups and columns */
.single-post .elementor-widget-theme-post-content > :is(.wp-block-image, .wp-block-group, .wp-block-columns) + * {
    margin-top: 72px;
}

/* Optional divider line between sections (Separator block) */
.single-post .elementor-widget-theme-post-content > .wp-block-separator {
    width: 100%;
    max-width: none;
    height: 0;
    margin-top: 72px;
    margin-bottom: 0;
    border: 0;
    border-top: 1px solid var(--post-line);
    background: none;
    opacity: 1;
}

/* Text + quote section: a group containing a Quote puts the quote in a right-hand column */
.single-post .elementor-widget-theme-post-content .wp-block-group:has(> .wp-block-quote) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 432px);
    column-gap: 80px;
    row-gap: 0;
    align-items: start;
}

.single-post .elementor-widget-theme-post-content .wp-block-group:has(> .wp-block-quote) > * {
    grid-column: 1;
}

.single-post .elementor-widget-theme-post-content .wp-block-group:has(> .wp-block-quote) > .wp-block-quote {
    grid-column: 2;
    grid-row: 1 / span 20;
    align-self: center;
    margin: 0;
}

/* Quote / callout box */
.single-post .elementor-widget-theme-post-content .wp-block-quote {
    padding: 28px 32px;
    background: var(--post-surface);
    border: 1px solid var(--post-line);
    border-left: 3px solid var(--post-green-bright);
    border-radius: var(--post-radius);
}

.single-post .elementor-widget-theme-post-content .wp-block-quote > p {
    font-family: var(--post-heading-font);
    font-size: 22px;
    font-style: italic;
    line-height: 1.45;
    color: var(--post-green);
}

/* Last paragraph (or cite) of a quote is the attribution */
.single-post .elementor-widget-theme-post-content .wp-block-quote > p:last-child:not(:first-child),
.single-post .elementor-widget-theme-post-content .wp-block-quote cite {
    display: block;
    margin-top: 16px;
    font-family: var(--post-body-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    color: var(--post-ink);
}

/* Sponsor / info boxes: the first box in a run gets the green highlight */
.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) {
    padding: 20px 24px;
    background: var(--post-surface);
    border: 1px solid var(--post-line);
    border-radius: var(--post-radius);
}

.single-post .elementor-widget-theme-post-content > :not(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) + :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) {
    margin-top: 32px;
    background: #FFFFFF;
    border-color: #7E9F72;
}

.single-post .elementor-widget-theme-post-content > :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) + :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) {
    margin-top: 16px;
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) p {
    font-family: var(--post-heading-font);
    font-size: 20px;
    line-height: 1.35;
    color: var(--post-ink);
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) * + p:not(.is-style-mbf-eyebrow) {
    margin-top: 2px;
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) .is-style-mbf-eyebrow + p {
    margin-top: 10px;
}

.single-post .elementor-widget-theme-post-content p.is-style-mbf-eyebrow {
    font-family: var(--post-body-font);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--post-green);
}

/* Box with nested groups (e.g. services sponsors) becomes a 3-column row */
.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight):has(> .wp-block-group) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight):has(> .wp-block-group) > * {
    margin-top: 0;
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight):has(> .wp-block-group) > .is-style-mbf-eyebrow {
    grid-column: 1 / -1;
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) .wp-block-group p.is-style-mbf-eyebrow {
    font-size: 10px;
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) .wp-block-group p:not(.is-style-mbf-eyebrow) {
    font-size: 16px;
}

.single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) .wp-block-group .is-style-mbf-eyebrow + p {
    margin-top: 4px;
}

/* Image + text columns */
.single-post .elementor-widget-theme-post-content .wp-block-columns {
    column-gap: 64px;
    row-gap: 24px;
}

.single-post .elementor-widget-theme-post-content .wp-block-columns:has(> .wp-block-column > :is(h2, h3, p)) > .wp-block-column:has(> .wp-block-image:only-child) {
    flex: 0 0 42%;
}

.single-post .elementor-widget-theme-post-content .wp-block-column > .wp-block-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3 !important;
    object-fit: cover;
}

/* Full-width pattern wrappers (e.g. "Content Right with Image Left") add their own padding and spacers */
.single-post .elementor-widget-theme-post-content > .wp-block-group.alignfull {
    padding: 0 !important;
}

.single-post .elementor-widget-theme-post-content > .wp-block-group.alignfull > .wp-block-spacer {
    display: none;
}

@media (max-width: 1024px) {
    .single-post .elementor-widget-theme-post-content .wp-block-group:has(> .wp-block-quote) {
        column-gap: 48px;
    }

    .single-post .elementor-widget-theme-post-content .wp-block-columns {
        column-gap: 40px;
    }
}

@media (max-width: 767px) {
    .single-post .elementor-widget-theme-post-content h2 {
        font-size: 26px;
    }

    .single-post .elementor-widget-theme-post-content > h2,
    .single-post .elementor-widget-theme-post-content > .wp-block-separator,
    .single-post .elementor-widget-theme-post-content > :is(.wp-block-image, .wp-block-group, .wp-block-columns) + * {
        margin-top: 48px;
    }

    .single-post .elementor-widget-theme-post-content > .wp-block-image {
        margin-top: 32px;
    }

    .single-post .elementor-widget-theme-post-content .wp-block-group:has(> .wp-block-quote) {
        display: block;
    }

    .single-post .elementor-widget-theme-post-content .wp-block-group:has(> .wp-block-quote) > .wp-block-quote {
        margin-top: 32px;
    }

    .single-post .elementor-widget-theme-post-content .wp-block-quote {
        padding: 22px 20px;
    }

    .single-post .elementor-widget-theme-post-content .wp-block-quote > p {
        font-size: 19px;
    }

    .single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight) {
        padding: 18px 20px;
    }

    .single-post .elementor-widget-theme-post-content :is(.is-style-mbf-info-box, .is-style-mbf-info-box-highlight):has(> .wp-block-group) {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }
}


/* ---------- Blog listing: [blog_listing] shortcode (templates/blog-listing.php + templates/blog-card.php) ---------- */

.blog-listing {
    font-family: "Inter", sans-serif;
    color: #4A5565;
}

.blog-listing a {
    text-decoration: none;
}

.blog-listing .bl-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.blog-listing .bl-img-placeholder {
    background: linear-gradient(135deg, #E4EDDC 0%, #C9DBB5 100%);
}

.blog-listing .bl-eyebrow {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2D5F1E;
}

.blog-listing .bl-read-time {
    font-style: italic;
    color: #717680;
}

/* Meta row: date · location · read time */
.blog-listing .bl-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.5;
    color: #535862;
}

.blog-listing .bl-meta li + li::before {
    content: "\00B7";
    margin: 0 10px;
    color: #A4A7AE;
    font-style: normal;
}

.blog-listing .bl-date {
    font-weight: 600;
    color: #181D27;
}

.blog-listing .bl-excerpt {
    margin: 0;
    line-height: 1.6;
    color: #4A5565;
}

.blog-listing .bl-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #2D5F1E;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-listing .bl-read-more:hover {
    gap: 8px;
    color: #007749;
}

/* Featured (latest) post */
.blog-listing .bl-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    padding: 24px;
    background: #F9FAFB;
    border: 1px solid #E9EAEB;
    border-radius: 12px;
}

.blog-listing .bl-featured-media {
    display: block;
    aspect-ratio: 3 / 2;
}

.blog-listing .bl-featured-body {
    padding-right: 16px;
}

.blog-listing .bl-featured-title {
    margin: 12px 0 16px;
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    color: #101828;
}

.blog-listing .bl-featured .bl-excerpt {
    margin-top: 20px;
    font-size: 15px;
}

.blog-listing .bl-featured .bl-read-more {
    margin-top: 20px;
}

/* "All Articles & Insights" heading row */
.blog-listing .bl-all-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 80px;
}

.blog-listing .bl-all-title {
    margin: 0;
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    color: #101828;
}

.blog-listing .bl-count {
    font-size: 13px;
    font-weight: 500;
    color: #414651;
}

/* Grid cards */
.blog-listing .bl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
    margin-top: 40px;
}

.blog-listing .bl-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E9EAEB;
    border-radius: 12px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-listing .bl-card:hover {
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.blog-listing .bl-card-media {
    display: block;
    aspect-ratio: 390 / 202;
}

.blog-listing .bl-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: 20px;
}

.blog-listing .bl-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}

.blog-listing .bl-card-title {
    margin: 12px 0 14px;
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: #101828;
}

.blog-listing :is(.bl-featured-title, .bl-card-title) a {
    color: inherit;
    transition: color 0.2s ease;
}

.blog-listing :is(.bl-featured-title, .bl-card-title) a:hover {
    color: #2D5F1E;
}

.blog-listing .bl-card .bl-excerpt {
    margin-top: 16px;
    font-size: 14px;
}

/* Keeps "Read Article" aligned at the bottom of cards with shorter text */
.blog-listing .bl-card .bl-read-more {
    margin-top: auto;
    padding-top: 18px;
}

@media (max-width: 1024px) {
    .blog-listing .bl-featured {
        gap: 32px;
    }

    .blog-listing .bl-featured-body {
        padding-right: 0;
    }

    .blog-listing .bl-featured-title,
    .blog-listing .bl-all-title {
        font-size: 28px;
    }

    .blog-listing .bl-grid {
        gap: 24px;
    }

    .blog-listing .bl-card-title {
        font-size: 21px;
    }
}

@media (max-width: 767px) {
    .blog-listing .bl-featured {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 16px;
    }

    .blog-listing .bl-featured-title,
    .blog-listing .bl-all-title {
        font-size: 26px;
    }

    .blog-listing .bl-all-head {
        margin-top: 56px;
    }

    .blog-listing .bl-grid {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }
}
