/* =========================================================
   LYMESEARCH BLOG
========================================================= */

.lyme-blog {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #374151;
    font-family: "Inter", sans-serif;
}

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

.lyme-blog-container {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}


/* =========================================================
   HERO
========================================================= */

.lyme-blog-hero {
    padding: 72px 0;
    background: #f8faf9;
    text-align: center;
}

.lyme-blog-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.lyme-blog-hero h1 {
    max-width: 760px;
    margin: 0 auto;
    color: #134e4a;
    font-family: "Sora", "Inter", Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.lyme-blog-hero p {
    max-width: 680px;
    margin: 20px auto 0;
    color: #5f6b76;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.lyme-blog-section-heading {
    margin-bottom: 32px;
}

.lyme-blog-section-heading h2 {
    margin: 0;
    color: #134e4a;
    font-family: "Sora", "Inter", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.lyme-blog-section-heading p {
    max-width: 650px;
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TOPIC FILTERS
========================================================= */

.lyme-blog-filters {
    padding: 56px 0 48px;
    background: #ffffff;
    border-bottom: 1px solid #eef0f1;
}

.lyme-blog-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lyme-blog-filter-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 17px;
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.lyme-blog-filter-list a:hover {
    background: #f0fdfa;
    border-color: #99d5ce;
    color: #0f766e;
}

.lyme-blog-filter-list a.is-active {
    background: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
}


/* =========================================================
   FEATURED ARTICLE
========================================================= */

.lyme-blog-featured {
    padding: 64px 0;
    background: #ffffff;
}

.lyme-blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    overflow: hidden;
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.lyme-blog-featured-image-link {
    display: block;
    min-height: 360px;
    background: #edf2f1;
}

.lyme-blog-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.lyme-blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.lyme-blog-card-label {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lyme-blog-featured-content h2 {
    margin: 0;
    font-family: "Sora", "Inter", Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.lyme-blog-featured-content h2 a {
    color: #134e4a;
    text-decoration: none;
}

.lyme-blog-featured-content h2 a:hover {
    color: #0f766e;
}

.lyme-blog-featured-content > p {
    margin: 18px 0 0;
    color: #5f6b76;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   META
========================================================= */

.lyme-blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #7a828c;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   READ MORE
========================================================= */

.lyme-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: 22px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.lyme-blog-read-more span {
    transition: transform 0.18s ease;
}

.lyme-blog-read-more:hover {
    color: #115e59;
}

.lyme-blog-read-more:hover span {
    transform: translateX(3px);
}


/* =========================================================
   ARTICLE LIBRARY
========================================================= */

.lyme-blog-library {
    padding: 64px 0 72px;
    background: #ffffff;
}

.lyme-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.lyme-blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.lyme-blog-card:hover {
    transform: translateY(-2px);
    border-color: #d6dddc;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lyme-blog-card-image-link {
    display: block;
    height: 192px;
    overflow: hidden;
    background: #f3f4f6;
}

.lyme-blog-card-image {
    display: block;
    width: 100%;
    height: 192px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.lyme-blog-card:hover .lyme-blog-card-image {
    transform: scale(1.015);
}

.lyme-blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.lyme-blog-card-content h3 {
    margin: 0;
    color: #134e4a;
    font-family: "Sora", "Inter", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.lyme-blog-card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.lyme-blog-card-content h3 a:hover {
    color: #0f766e;
}

.lyme-blog-card-content > p {
    margin: 12px 0 0;
    color: #626c76;
    font-size: 14px;
    line-height: 1.7;
}

.lyme-blog-card-content .lyme-blog-read-more {
    margin-top: auto;
    padding-top: 20px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.lyme-blog-empty {
    padding: 56px 32px;
    background: #f8faf9;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.lyme-blog-empty h3 {
    margin: 0;
    color: #134e4a;
    font-family: "Sora", "Inter", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.lyme-blog-empty p {
    max-width: 580px;
    margin: 12px auto 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   PAGINATION
========================================================= */

.lyme-blog-pagination {
    margin-top: 48px;
}

.lyme-blog-pagination .page-numbers {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lyme-blog-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.lyme-blog-pagination li {
    margin: 0;
}

.lyme-blog-pagination a,
.lyme-blog-pagination span.current {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.lyme-blog-pagination a {
    background: #ffffff;
    color: #4b5563;
}

.lyme-blog-pagination a:hover {
    background: #f0fdfa;
    border-color: #99d5ce;
    color: #0f766e;
}

.lyme-blog-pagination span.current {
    background: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.lyme-blog-bottom {
    padding: 64px 0;
    background: #f8faf9;
}

.lyme-blog-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 42px 48px;
    background: #134e4a;
    border-radius: 10px;
}

.lyme-blog-bottom-label {
    display: block;
    margin-bottom: 9px;
    color: #99f6e4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lyme-blog-bottom h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Sora", "Inter", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.lyme-blog-bottom p {
    max-width: 650px;
    margin: 12px 0 0;
    color: #d1e7e4;
    font-size: 15px;
    line-height: 1.7;
}

.lyme-blog-bottom-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 6px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.lyme-blog-bottom-button:hover {
    background: #f0fdfa;
    color: #115e59;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 959px) {

    .lyme-blog-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .lyme-blog-featured-card {
        grid-template-columns: 1fr;
    }

    .lyme-blog-featured-image-link,
    .lyme-blog-featured-image {
        min-height: 300px;
        height: 300px;
    }

    .lyme-blog-featured-content {
        padding: 36px;
    }

    .lyme-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .lyme-blog-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 639px) {

    .lyme-blog-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lyme-blog-hero {
        padding: 52px 0;
    }

    .lyme-blog-hero h1 {
        font-size: 34px;
    }

    .lyme-blog-hero p {
        font-size: 16px;
    }

    .lyme-blog-filters {
        padding: 42px 0;
    }

    .lyme-blog-section-heading {
        margin-bottom: 24px;
    }

    .lyme-blog-section-heading h2 {
        font-size: 25px;
    }

    .lyme-blog-filter-list {
        gap: 8px;
    }

    .lyme-blog-filter-list a {
        padding: 9px 14px;
        font-size: 13px;
    }

    .lyme-blog-featured {
        padding: 48px 0;
    }

    .lyme-blog-featured-image-link,
    .lyme-blog-featured-image {
        min-height: 220px;
        height: 220px;
    }

    .lyme-blog-featured-content {
        padding: 26px 22px;
    }

    .lyme-blog-featured-content h2 {
        font-size: 25px;
    }

    .lyme-blog-library {
        padding: 48px 0 56px;
    }

    .lyme-blog-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .lyme-blog-card-image-link,
    .lyme-blog-card-image {
        height: 210px;
    }

    .lyme-blog-bottom {
        padding: 48px 0;
    }

    .lyme-blog-bottom-inner {
        padding: 30px 24px;
    }

    .lyme-blog-bottom h2 {
        font-size: 25px;
    }

    .lyme-blog-bottom-button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .lyme-blog-hero h1 {
        font-size: 30px;
    }

    .lyme-blog-filter-list a {
        width: 100%;
    }

}