

.jblog {
    --jb-red: #d71920;
    --jb-red-dark: #ad1018;
    --jb-black: #202020;
    --jb-text: #333333;
    --jb-muted: #777777;
    --jb-gray: #f6f6f6;
    --jb-light: #eeeeee;
    --jb-border: #e5e5e5;
    --jb-white: #ffffff;

    color: var(--jb-text);
    background: var(--jb-white);
    font-family: inherit;
    width: 100%;
    overflow-x: clip;
}

.jblog *,
.jblog *::before,
.jblog *::after {
    box-sizing: border-box;
}

.jblog a {
    text-decoration: none;
    color: inherit;
}

.jblog img {
    max-width: 100%;
    display: block;
}

.jblog-shell {
    width: min(1500px, calc(100% - 60px));
    margin-left: auto;
    margin-right: auto;
        padding-top: 100px;
}

.past-blogs{
    padding-top : 0px !important;
}

.jblog-intro {
    padding: 75px 0 30px;
}

.jblog-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--jb-red);
    margin-bottom: 10px;
}

.jblog-intro h1 {
    font-family: var(--title-font, inherit);
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--dark-blue);
    margin: 8px 0 15px;
}

.jblog-intro h1 span {
    color: var(--jb-red);
    font-weight: 500;
}

.jblog-intro p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--jb-muted);
    max-width: 650px;
    margin: 0;
}


.jblog-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 35px;
}

.jblog-filter {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 9px 17px;
    min-height: 38px;

    background: var(--jb-white);
    border: 1px solid var(--jb-border);
    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #666666 !important;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.jblog-filter:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.jblog-filter.is-active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #ffffff !important;
}

.jblog-filter:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}


.jblog-featured {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(0, 0.75fr);

    align-items: center;
    gap: 42px;
    padding: 0 0 75px;
}


.jblog-featured-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1.6 / 1;

    overflow: hidden;
    position: relative;

    background: #ededed;
    border-radius: 12px;
}

.jblog-featured-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.jblog-featured-photo:hover img {
    transform: scale(1.06);
}


.jblog-featured-copy {
    width: 100%;
    max-width: 390px;
}

.jblog-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f0f0f0;
    color: #555555;

    padding: 6px 10px;
    border-radius: 3px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.jblog-featured-copy h2 {
     font-family: var(--title-font, inherit);
    font-size: clamp(27px, 3vw, 33px);
    line-height: 1.5;
    letter-spacing: -1.3px;
    color: var(--jb-black);
    margin: 16px 0 17px;
}

.jblog-featured-copy h2 a {
    color: var(--title-font);
    transition: color 0.25s ease;
    
}

.jblog-featured-copy h2 a:hover {
    color: var(--yellow);
}

.jblog-featured-copy p {
    color: var(--jb-muted);
    font-size: 14px;
    line-height: 1.85;
    font-weight: 400;

    margin: 0 0 27px;
}


.jblog-read-button {
       display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    /* min-height: 43px; */
    padding: 6px 20px;
    background: var(--yellow);
    color: #ffffff !important;
    border: 1px solid var(--yellow);
    border-radius: 5px;
    font-family: var(--title-font);
    font-size: 16px;
    /* font-weight: 600; */
    line-height: 1.2;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.jblog-read-button:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);

    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(215, 25, 32, 0.16);
}


.jblog-latest {
    padding: 0px 0 90px;
}

.jblog-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;

    color: var(--jb-black);
}

.jblog-dot {
    display: inline-block;
    width: 7px;
    height: 7px;

    background: var(--jb-red);
    border-radius: 50%;
    flex-shrink: 0;
}

.jblog-section-heading {
    margin-bottom: 30px;
}

.jblog-section-heading h2 {
    font-family: var(--title-font, inherit);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;

    color: var(--jb-black);
    margin: 12px 0 10px;
}

.jblog-section-heading h2 span {
    color: var(--jb-red);
    font-weight: 500;
}

.jblog-section-heading > p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--jb-muted);

    margin: 0;
}

.jblog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 24px;
    row-gap: 38px;

    align-items: start;
}

.jblog-card {
        min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: transform 0.3s ease;
    border: 1px solid #dddddd;
    padding: 13px;
    border-radius: 20px;
    background: #f7f7f7;
}

.jblog-card-photo {
    display: block;
    width: 100%;
    aspect-ratio: 2.16 / 1;

    position: relative;
    overflow: hidden;

    background: #e7e7e7;
    border-radius: 10px;
}

.jblog-card-photo img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.55s ease;
}

.jblog-card:hover .jblog-card-photo img {
    transform: scale(1.06);
}

.jblog-card-body {
    padding: 13px 2px 0;
}

.jblog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 8px;
}

.jblog-card-meta .jblog-tag {
    background: #eaeaea;
    color: #555555;

    padding: 5px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.jblog-card-meta time {
       font-size: 12px;
    font-weight: 700;
    color: var(--yellow);
}

.jblog-card h3 {
        font-family: var(--title-font, inherit);
    font-size: 26px;
    /* font-weight: 700; */
    line-height: 1.35;
    letter-spacing: -0.45px;
    color: var(--dark-blue);
    margin: 20px 0 8px;
}

.jblog-card h3 a {
    color: inherit;
    transition: color 0.25s ease;
}

.jblog-card h3 a:hover,
.jblog-card:hover h3 a {
    color: var(--yellow);
}

.jblog-card p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;

    color: var(--jb-muted);
    margin: 0 0 13px;
}

.jblog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    color: var(--jb-red) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.jblog-card-link:hover {
    color: var(--jb-red-dark) !important;
    gap: 13px;
}


.jblog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;
    margin-top: 55px;
}

.jblog-pagination a,
.jblog-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;

    background: #ffffff;
    border: 1px solid var(--jb-border);
    border-radius: 5px;

    color: var(--jb-text);
    font-size: 13px;
    font-weight: 600;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.jblog-pagination a:hover,
.jblog-pagination a.is-active,
.jblog-pagination span.is-active {
    background: var(--jb-red);
    border-color: var(--jb-red);
    color: #ffffff;
}


.jblog-empty {
    width: 100%;
    padding: 55px 20px;

    text-align: center;
    color: var(--jb-muted);

    font-size: 15px;
    line-height: 1.8;
}

.jblog-empty a {
    color: var(--jb-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jblog-empty a:hover {
    color: var(--jb-red-dark);
}


@media (max-width: 1100px) {

    .jblog-shell {
        width: min(100% - 48px, 1100px);
    }

    .jblog-featured {
        grid-template-columns: 1.4fr 1fr;
        gap: 30px;
    }

    .jblog-featured-copy h2 {
        font-size: 33px;
    }

    .jblog-grid {
        column-gap: 20px;
        row-gap: 35px;
    }

    .jblog-card h3 {
        font-size: 18px;
    }

}


@media (max-width: 900px) {

    .jblog-intro {
        padding: 60px 0 25px;
    }

    .jblog-intro h1 {
        font-size: 50px;
    }

    .jblog-featured {
        grid-template-columns: 1.2fr 1fr;
        gap: 24px;
        padding-bottom: 55px;
    }

    .jblog-featured-photo {
        aspect-ratio: 1.6 / 1;
    }

    .jblog-featured-copy h2 {
        font-size: 28px;
        letter-spacing: -0.8px;
    }

    .jblog-featured-copy p {
        font-size: 13px;
        line-height: 1.7;
    }

    .jblog-latest {
        padding: 0px 0 70px;
    }

    .jblog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .jblog-card-photo {
        aspect-ratio: 1.25 / 1;
    }

    .jblog-card h3 {
        font-size: 19px;
    }

}


@media (max-width: 650px) {

    .jblog-shell {
        width: calc(100% - 32px);
    }

    /* Intro */

    .jblog-intro {
        padding: 42px 0 23px;
    }

    .jblog-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .jblog-intro h1 {
        font-size: clamp(35px, 9vw, 44px);
        line-height: 1.12;
        letter-spacing: -1.5px;
        margin: 8px 0 12px;
    }

    .jblog-intro p {
        font-size: 13px;
        line-height: 1.75;
    }

    .jblog-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;

        gap: 8px;
        margin: 10px 0 25px;

        padding-bottom: 6px;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .jblog-filters::-webkit-scrollbar {
        display: none;
    }

    .jblog-filter {
        flex: 0 0 auto;
        white-space: nowrap;

        min-height: 36px;
        padding: 8px 12px;

        font-size: 12px;
    }

    .jblog-featured {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 45px;
    }

    .jblog-featured-photo {
        aspect-ratio: 1.6 / 1;
        border-radius: 9px;
    }

    .jblog-featured-copy {
        max-width: 100%;
    }

    .jblog-featured-copy h2 {
        font-size: 29px;
        line-height: 1.2;
        letter-spacing: -0.8px;
        margin: 12px 0;
    }

    .jblog-featured-copy p {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 20px;
    }

    .jblog-read-button {
        min-height: 42px;
        padding: 11px 17px;
        font-size: 12px;
    }

    .jblog-latest {
        padding: 0px 0 65px;
    }

    .jblog-section-heading {
        margin-bottom: 25px;
    }

    .jblog-section-heading h2 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .jblog-section-heading > p {
        font-size: 13px;
    }

    .jblog-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .jblog-card-photo {
        aspect-ratio: 1.4 / 1;
        border-radius: 9px;
    }

    .jblog-card-body {
        padding: 12px 1px 0;
    }

    .jblog-card h3 {
        font-size: 20px;
        line-height: 1.35;
        margin: 9px 0 7px;
    }

    .jblog-card p {
        font-size: 13px;
        line-height: 1.7;
    }

    .jblog-pagination {
        margin-top: 38px;
        gap: 7px;
    }

    .jblog-pagination a,
    .jblog-pagination span {
        min-width: 36px;
        min-height: 36px;
        padding: 7px 10px;
        font-size: 12px;
    }

}

@media (max-width: 400px) {

    .jblog-shell {
        width: calc(100% - 28px);
    }

    .jblog-intro {
        padding-top: 35px;
    }

    .jblog-intro h1 {
        font-size: 35px;
    }

    .jblog-featured-photo {
        aspect-ratio: 1.6 / 1;
    }

    .jblog-featured-copy h2 {
               font-size: 17px;
        line-height: 1.5;
    }

    .jblog-card-photo {
        aspect-ratio: 1.25 / 1;
    }

    .jblog-card h3 {
        font-size: 19px;
    }

    .jblog-latest {
        padding: 0px 0 55px;
    }

}

.jblog a:focus-visible {
    outline: 2px solid var(--jb-red);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .jblog *,
    .jblog *::before,
    .jblog *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

}
