/*
 * JP Financial — shared editorial listing base
 * Shared by the Elementor Blog/Noticias pages and the native Noticias archive.
 */

/* 142: Blog / jpb4c */
/* JP_PAGE_CSS_MIGRATION_START: assets/css/blog-elementor.css */
/* Blog archive page: layout details that are not exposed by Elementor controls. */
.jp-blog-page {
    background: #f5f4f0;
    color: #001c10;
    overflow-x: hidden;
}

.jp-blog-hero .elementor-heading-title {
    margin: 0;
}

/* Elementor controls the hero typography. This selector only covers the copy
 * width, which is not emitted consistently by the widget layout control. */
.jp-blog-hero .jp-blog-hero-copy {
    width: 850px;
    max-width: 850px;
    align-self: flex-start;
}

.jp-blog-hero .accent,
.jp-blog-newsletter .accent {
    color: #dafba2;
    font-style: italic;
}

.jp-blog-featured-card {
    min-height: 400px;
    height: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0 !important;
}

.jp-blog-featured-dynamic-widget,
.jp-blog-featured-dynamic-widget .elementor-widget-container,
.jp-blog-featured-dynamic-widget .elementor-shortcode {
    width: 100%;
    height: auto;
    padding: 0 !important;
}

.jp-blog-featured-dynamic {
    display: flex;
    width: 100%;
    min-height: 400px;
    height: auto;
    color: #001c10;
}

.jp-blog-featured-dynamic a {
    color: inherit;
    text-decoration: none;
}

.jp-blog-featured-dynamic__image {
    flex: 0 0 640px;
    width: 640px;
    height: 400px;
    margin-left: -60px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.jp-blog-featured-dynamic__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.jp-blog-featured-dynamic__image:hover img,
.jp-blog-featured-dynamic__image:focus-visible img {
    transform: scale(1.04);
}

.jp-blog-featured-dynamic__content {
    flex: 0 0 553px;
    width: 553px;
    margin-left: 103px;
    padding: 28px 0 26px;
}

.jp-blog-featured-dynamic__top {
    display: flex;
    align-items: center;
    gap: 34px;
    height: 24px;
    margin-bottom: 18px;
}

.jp-blog-featured-dynamic__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #dafba2;
    color: #001c10;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0.44px;
}

.jp-blog-featured-dynamic__meta {
    color: #8e8e8e;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.48px;
}

.jp-blog-featured-dynamic__title {
    width: 470px;
    margin: 0 0 18px;
    color: #001c10;
    font-family: "TWK Everett", "TWK_Everett", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 50.4px;
    letter-spacing: -1.44px;
}

.jp-blog-featured-dynamic__title a:hover,
.jp-blog-featured-dynamic__title a:focus-visible,
.jp-blog-featured-dynamic__author-link:hover strong,
.jp-blog-featured-dynamic__author-link:focus-visible strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.jp-blog-featured-dynamic__excerpt {
    width: 553px;
    margin: 0 0 18px;
    color: #6b6b6b;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28.8px;
}

.jp-blog-featured-dynamic__author {
    display: inline-flex;
    align-items: center;
    gap: 27px;
    min-height: 44px;
}

.jp-blog-featured-dynamic__author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.jp-blog-featured-dynamic__author span {
    display: flex;
    flex-direction: column;
}

.jp-blog-featured-dynamic__author strong {
    color: #001c10;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
}

.jp-blog-featured-dynamic__author em {
    color: #001c10;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
}

.jp-blog-card-image img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.jp-blog-card:hover .jp-blog-card-image img,
.jp-blog-card:focus-within .jp-blog-card-image img {
    transform: scale(1.04);
}

.jp-blog-featured-card a,
.jp-blog-card a {
    color: inherit;
    text-decoration: none;
}

.jp-blog-filter-row .elementor-button {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jp-blog-filter-row .elementor-button:hover,
.jp-blog-filter-row .elementor-button:focus-visible {
    background-color: #dafba2;
    border-color: #dafba2;
    color: #00352d;
}

.jp-blog-category-filters-widget,
.jp-blog-category-filters-widget .elementor-widget-container,
.jp-blog-category-filters-widget .elementor-shortcode {
    width: 100%;
}

.jp-blog-category-filters-widget {
    padding: 0 !important;
}

.jp-blog-category-filters-widget .elementor-widget-container {
    padding: 0 !important;
}

.jp-blog-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.jp-blog-category-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid #d4d4d4;
    border-radius: 999px;
    background: transparent;
    color: #6b6b6b;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.56px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jp-blog-category-filter:hover,
.jp-blog-category-filter:focus-visible,
.jp-blog-category-filter.is-active {
    border-color: #dafba2;
    background: #dafba2;
    color: #00352d;
    text-decoration: none;
}

/* The separator follows the same 130px content rail as the posts grid.
 * It cannot be an Elementor border on the outer container because that
 * border would span the full viewport. */
.jp-blog-filters-section {
    position: relative;
    border-top: 0 !important;
}

.jp-blog-filters-section::before {
    position: absolute;
    top: 0;
    right: 130px;
    left: 130px;
    width: auto !important;
    height: 1px;
    background: #d4d4d4;
    content: "";
}

/* Reusable Loop Grid card. The content and typography remain Elementor
 * controls; these rules only handle the image ratio and inline metadata row. */
.jp-blog-grid .jp-post-card {
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.jp-blog-grid .jp-post-card-image,
.jp-blog-grid .jp-post-card-image .elementor-widget-container {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
}

.jp-blog-grid .jp-post-card-image img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.jp-blog-grid .jp-post-card:hover .jp-post-card-image img,
.jp-blog-grid .jp-post-card:focus-within .jp-post-card-image img {
    transform: scale(1.04);
}

.jp-blog-grid .jp-post-card-meta {
    position: static !important;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 16px;
    gap: 18px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.jp-blog-grid .jp-post-card-category .elementor-heading-title {
    color: #00352d;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.jp-blog-grid .jp-post-card-time {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #8e8e8e;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
}

.jp-blog-grid .jp-post-card-time::before {
    width: 20px;
    height: 1px;
    background: #b4b4b4;
    content: "";
}

.jp-blog-grid .jp-post-card .jp-post-card-body {
    gap: 10px;
    padding: 20px 0 0;
}

.jp-blog-grid .jp-post-card-title .elementor-heading-title {
    color: #001c10;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: -0.3px;
}

.jp-blog-grid .jp-post-card-excerpt {
    color: #6b6b6b;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

.jp-blog-grid .jp-post-card-author-meta {
    margin-top: 4px;
    color: #8e8e8e;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
}

.jp-blog-grid .elementor-loop-container {
    column-gap: 24px;
    row-gap: 48px;
}

.jp-blog-grid .e-loop-item {
    min-width: 0;
}

.jp-blog-grid .elementor-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.jp-blog-grid .elementor-pagination a,
.jp-blog-grid .elementor-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d4d4d4;
    border-radius: 999px;
    color: #00352d;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 18px;
}

.jp-blog-grid .elementor-pagination .current,
.jp-blog-grid .elementor-pagination a:hover,
.jp-blog-grid .elementor-pagination a:focus-visible {
    border-color: #dafba2;
    background: #dafba2;
    color: #00352d;
}

.jp-blog-newsletter {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    position: relative;
}

.jp-blog-newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 18, 8, 0.47);
    pointer-events: none;
}

.jp-blog-newsletter > * {
    position: relative;
    z-index: 1;
}

.jp-blog-newsletter .jp-blog-newsletter-info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 600px;
}

.jp-blog-newsletter .jp-blog-newsletter-form {
    flex: 0 0 520px;
    width: 520px;
    max-width: 520px;
    align-self: flex-end;
}

.jp-blog-newsletter .jp-blog-newsletter-eyebrow,
.jp-blog-newsletter .jp-blog-newsletter-title,
.jp-blog-newsletter .jp-blog-newsletter-copy {
    width: 100%;
}

.jp-blog-newsletter .jp-blog-newsletter-eyebrow {
    margin-bottom: 0;
}

.jp-blog-newsletter .jp-blog-newsletter-title {
    padding-top: 4px;
}

.jp-blog-newsletter .elementor-form-fields-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 520px;
    height: 51px;
    gap: 8px;
    margin: 0 !important;
}

.jp-blog-newsletter .elementor-field-group {
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
}

.jp-blog-newsletter-form .elementor-field-label {
    display: none;
}

.jp-blog-newsletter .elementor-field-group.elementor-field-type-email {
    flex: 0 0 354.33px;
    width: 354.33px;
}

.jp-blog-newsletter .elementor-field-group.elementor-field-type-submit {
    flex: 0 0 157.67px;
    width: 157.67px;
}

.jp-blog-newsletter .elementor-background-overlay {
    background-color: rgba(0, 18, 8, 0.47);
}

.jp-blog-newsletter .jp-blog-newsletter-form .elementor-field-group {
    margin: 0;
}

.jp-blog-newsletter .jp-blog-newsletter-form input.elementor-field {
    height: 51px;
    min-height: 51px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    padding: 0 22px;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    box-shadow: none !important;
    outline: 0;
}

.jp-blog-newsletter .jp-blog-newsletter-form input.elementor-field::placeholder {
    color: #dfdfdf;
    opacity: 1;
}

.jp-blog-newsletter .jp-blog-newsletter-form .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 157.67px;
    min-height: 51px;
    padding: 0;
    border: 1px solid #dafba2;
    border-radius: 999px;
    background: #dafba2;
    color: #001c10;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0.64px;
    text-align: center;
}

.jp-blog-newsletter .jp-blog-newsletter-form .elementor-button:hover,
.jp-blog-newsletter .jp-blog-newsletter-form .elementor-button:focus-visible {
    background: #00352d;
    border-color: #dafba2;
    color: #dafba2;
}

.jp-blog-newsletter .jp-newsletter-form--typeform {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.jp-blog-newsletter .jp-newsletter-form--typeform .jp-newsletter-form__button {
    align-items: center;
    background: #dafba2;
    border: 1px solid #dafba2;
    border-radius: 999px;
    color: #001c10;
    display: inline-flex;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: 51px;
    justify-content: center;
    letter-spacing: 0.64px;
    min-height: 51px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.jp-blog-newsletter .jp-newsletter-form--typeform .jp-newsletter-form__button:hover,
.jp-blog-newsletter .jp-newsletter-form--typeform .jp-newsletter-form__button:focus-visible {
    background: #00352d;
    border-color: #dafba2;
    color: #dafba2;
    text-decoration: none;
}

@media (max-width: 767px) {
    .jp-blog-hero .elementor-heading-title {
        overflow-wrap: normal;
    }

    .jp-blog-featured-card {
        width: 100% !important;
        height: auto;
        min-height: 0;
    }

    .jp-blog-featured-dynamic-widget,
    .jp-blog-featured-dynamic-widget .elementor-widget-container,
    .jp-blog-featured-dynamic-widget .elementor-shortcode,
    .jp-blog-featured-dynamic {
        height: auto;
    }

    .jp-blog-featured-dynamic {
        width: 100% !important;
        flex-direction: column;
        gap: 28px;
    }

    .jp-blog-featured-dynamic__image {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: 260px;
        margin-left: 0 !important;
    }

    .jp-blog-featured-dynamic__content {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0;
    }

    .jp-blog-featured-dynamic__top {
        flex-wrap: wrap;
        height: auto;
        gap: 10px 14px;
    }

    .jp-blog-featured-dynamic__title,
    .jp-blog-featured-dynamic__excerpt {
        width: 100% !important;
    }

    .jp-blog-featured-dynamic__title {
        font-size: 30px;
        line-height: 33px;
        letter-spacing: 0;
    }

    .jp-blog-featured-dynamic__title a,
    .jp-blog-grid .jp-post-card-title .elementor-heading-title {
        overflow-wrap: anywhere;
    }

    .jp-blog-hero .jp-blog-hero-copy {
        width: 100% !important;
        max-width: none !important;
    }

    .jp-blog-grid .elementor-loop-container {
        row-gap: 28px;
    }

    .jp-blog-filters-section::before {
        right: 24px;
        left: 24px;
    }

    .jp-blog-newsletter-form .elementor-form-fields-wrapper {
        gap: 10px;
    }

    .jp-blog-newsletter {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .jp-blog-newsletter .jp-blog-newsletter-info,
    .jp-blog-newsletter .jp-blog-newsletter-form {
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
    }

    .jp-blog-newsletter .jp-blog-newsletter-form {
        align-self: stretch;
    }

    .jp-blog-newsletter .elementor-form-fields-wrapper {
        width: 100% !important;
        height: auto;
        flex-wrap: wrap;
    }

    .jp-blog-newsletter .elementor-field-group.elementor-field-type-email,
    .jp-blog-newsletter .elementor-field-group.elementor-field-type-submit {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .jp-blog-newsletter .jp-blog-newsletter-form .elementor-button {
        width: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .jp-blog-filters-section::before {
        right: 48px;
        left: 48px;
    }
}
/* JP_PAGE_CSS_MIGRATION_END */
