/*
Theme Name: LymeSearch Child
Template: generatepress
Description: Custom LymeSearch child theme
Version: 1.0.0
*/

/* =========================================================
   1. GLOBAL
========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@600;700&display=swap");

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

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 64px 0 0;
    background: #ffffff;
    color: #111827;
    font-family: "Inter", Arial, sans-serif;
}

body.home .site,
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home #primary,
body.home #main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home .site-header,
body.home .main-navigation,
body.home .site-footer {
    display: none;
}

.lymesearch-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* =========================================================
   2. HEADER
========================================================= */

.lymesearch-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.lymesearch-header-inner {
    width: 100%;
}

.lymesearch-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    max-width: 1152px;
    height: 64px;

    margin: 0 auto;
    padding: 0 32px;
}

/* =========================================================
   3. LOGO
========================================================= */

.lymesearch-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;

    margin: 0;
    padding: 0;

    color: #0f766e !important;

    font-family: "Inter", Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.025em;

    text-decoration: none !important;
    white-space: nowrap;
}

.lymesearch-logo:hover {
    color: #115e59 !important;
}

/* =========================================================
   4. DESKTOP NAVIGATION
========================================================= */

.lymesearch-desktop-navigation {
    display: none;
    align-items: center;
    justify-content: flex-end;
    align-self: center;

    margin-left: auto;
    padding: 0;
}

.lymesearch-desktop-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}

.lymesearch-desktop-menu li {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0 !important;
}

.lymesearch-desktop-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0 !important;

    color: #374151 !important;

    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;

    text-decoration: none !important;
    white-space: nowrap;
}

.lymesearch-desktop-menu a:hover,
.lymesearch-desktop-menu a:focus {
    color: #0f766e !important;
}

/* =========================================================
   5. HAMBURGER BUTTON
========================================================= */

.lymesearch-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;

    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    margin: 0;
    padding: 8px;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    color: #374151 !important;

    box-shadow: none !important;
    cursor: pointer;
}

.lymesearch-menu-toggle:hover,
.lymesearch-menu-toggle:focus,
.lymesearch-menu-toggle:active {
    background: transparent !important;
    color: #0f766e !important;
    box-shadow: none !important;
}

.lymesearch-menu-icon,
.lymesearch-close-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.lymesearch-menu-icon {
    display: block;
}

.lymesearch-close-icon {
    display: none;
}

.lymesearch-menu-toggle.is-open .lymesearch-menu-icon {
    display: none;
}

.lymesearch-menu-toggle.is-open .lymesearch-close-icon {
    display: block;
}

/* =========================================================
   6. MOBILE NAVIGATION
========================================================= */

.lymesearch-mobile-navigation {
    display: grid;
    grid-template-rows: 0fr;

    position: relative;

    width: 100%;
    max-height: calc(100dvh - 64px);

    background: #ffffff;
    visibility: hidden;

    border-top: 0 solid #e5e7eb;

    transition:
        grid-template-rows 0.35s ease,
        visibility 0.35s ease,
        border-width 0.35s ease;
}

.lymesearch-mobile-navigation.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    border-top-width: 1px;
}

.lymesearch-mobile-menu {
    width: 100%;
    max-width: 1152px;
    min-height: 0;

    margin: 0 auto !important;
    padding: 0 24px !important;

    overflow: hidden;
    list-style: none;
}

.lymesearch-mobile-navigation.is-open .lymesearch-mobile-menu {
    overflow-y: auto;
}

.lymesearch-mobile-menu li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.lymesearch-mobile-menu a {
    display: block;
    width: 100%;

    padding: 12px 0 !important;

    background: transparent !important;
    border: 0 !important;

    color: #374151 !important;

    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;

    text-decoration: none !important;
}

.lymesearch-mobile-menu a:hover,
.lymesearch-mobile-menu a:focus {
    color: #0f766e !important;
    background: transparent !important;
}

/* =========================================================
   7. HEADER RESPONSIVENESS
========================================================= */

/* Desktop */

@media (min-width: 960px) {

    .lymesearch-desktop-navigation {
        display: flex;
    }

    .lymesearch-menu-toggle,
    .lymesearch-mobile-navigation {
        display: none !important;
    }

}

/* Tablet and mobile */

@media (max-width: 959px) {

    body {
        padding-top: 64px;
    }

    .lymesearch-header-row {
        padding-left: 24px;
        padding-right: 24px;
    }

    .lymesearch-desktop-navigation {
        display: none !important;
    }

    .lymesearch-menu-toggle {
        display: flex !important;
    }

    .lymesearch-mobile-menu {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

}

/* Small phones */

@media (max-width: 480px) {

    .lymesearch-header-row {
        padding-left: 16px;
        padding-right: 16px;
        gap: 16px;
    }

    .lymesearch-logo {
        font-size: 22px;
    }

    .lymesearch-mobile-menu {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

}

/* WordPress admin bar */

body.admin-bar .lymesearch-header {
    top: 32px;
}

@media (max-width: 782px) {

    body.admin-bar .lymesearch-header {
        top: 46px;
    }

    body.admin-bar .lymesearch-mobile-navigation {
        max-height: calc(100dvh - 110px);
    }

}

/* Reduced motion */

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

    .lymesearch-mobile-navigation {
        transition: none;
    }

}

/* =========================================================
   8. HERO
========================================================= */

.lyme-hero {
    width: 100%;
    max-width: 1152px;

    margin: 0 auto;
    padding: 48px 16px;

    display: flex;
    flex-direction: column;
    gap: 32px;
}

.lyme-hero-content {
    width: 100%;
}

.lyme-hero h1 {
    margin: 0 0 16px;

    color: #134e4a;
    font-family: "Sora", "Inter", Arial, sans-serif;

    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.lyme-hero p {
    max-width: 520px;
    margin: 0 0 24px;

    color: #4b5563;

    font-size: 18px;
    line-height: 28px;
}

.lyme-button {
    display: inline-block;

    padding: 12px 20px;

    background: #0f766e;
    border-radius: 6px;

    color: #ffffff !important;

    font-size: 14px;
    line-height: 20px;
    font-weight: 600;

    text-decoration: none !important;
}

.lyme-button:hover {
    background: #0d9488;
}

.lyme-hero-visual {
    width: 100%;

    display: flex;
    justify-content: center;
}

.lyme-hero-image {
    display: block;

    width: 100%;
    max-width: 448px;
    height: auto;

    border-radius: 8px;
}

/* =========================================================
   9. SHARED SECTIONS
========================================================= */

.lyme-section {
    width: 100%;
    max-width: 1152px;

    margin: 0 auto;
    padding: 48px 16px;
}

.lyme-section-title {
    margin: 0 0 40px;

    color: #115e59;
    font-family: "Sora", "Inter", Arial, sans-serif;
    text-align: center;

    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.lyme-grid,
.lyme-article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* =========================================================
   10. CATEGORY CARDS
========================================================= */

.lyme-card {
    padding: 32px;

    background: #f9fafb;
    border-radius: 8px;

    text-align: center;
    transition: box-shadow 0.15s ease;
}

.lyme-card:hover {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.08),
        0 2px 4px -2px rgba(0, 0, 0, 0.08);
}

.lyme-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f4f6;
    border-radius: 50%;

    color: #0f766e;
}

.lyme-icon svg {
    width: 32px;
    height: 32px;
}

.lyme-card h3 {
    margin: 0 0 12px;

    color: #115e59;
    font-family: "Sora", "Inter", Arial, sans-serif;

    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.lyme-card p {
    margin: 0 0 20px;

    color: #4b5563;

    font-size: 14px;
    line-height: 22px;
}

.lyme-card a {
    display: inline-flex;
    align-items: center;

    color: #0f766e !important;

    font-size: 14px;
    line-height: 20px;
    font-weight: 600;

    text-decoration: none !important;
}

.lyme-card a:hover {
    color: #115e59 !important;
}

.lyme-arrow {
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

/* =========================================================
   11. FEATURED ARTICLES
========================================================= */

.lyme-article-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.lyme-article-image-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.lyme-article-image {
    display: block;

    width: 100%;
    height: 192px;

    object-fit: cover;
}

.lyme-article-placeholder {
    background: #f3f4f6;
}

.lyme-article-content {
    padding: 20px;
}

.lyme-article-content h3 {
    margin: 0 0 8px;

    color: #111827;
    font-family: "Sora", "Inter", Arial, sans-serif;

    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
}

.lyme-article-content h3 a {
    color: #111827 !important;
    text-decoration: none !important;
}

.lyme-article-content h3 a:hover {
    color: #0f766e !important;
}

.lyme-article-content p {
    margin: 0 0 16px;

    color: #4b5563;

    font-size: 14px;
    line-height: 22px;
}

.lyme-article-read-more,
.lyme-article-content > a {
    display: inline-flex;
    align-items: center;

    color: #0f766e !important;

    font-size: 14px;
    line-height: 20px;
    font-weight: 600;

    text-decoration: none !important;
}

.lyme-no-featured {
    margin: 0;

    color: #6b7280;
    font-size: 14px;
}

/* =========================================================
   12. START HERE
========================================================= */

.lyme-start-section {
    width: 100%;
    max-width: 1152px;

    margin: 0 auto;
    padding: 48px 16px;
}

.lyme-start-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.lyme-start-card {
    padding: 24px;

    background: #f9fafb;
    border-radius: 8px;
}

.lyme-start-card > h3,
.lyme-newsletter-copy h3 {
    margin: 0;

    color: #115e59;

    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.lyme-start-intro {
    margin: 4px 0 20px;

    color: #4b5563;

    font-size: 14px;
    line-height: 20px;
}

/* =========================================================
   13. START HERE GUIDE ROWS
========================================================= */

.lyme-guide-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lyme-guide {
    width: 100%;
    min-height: 72px;

    padding: 12px 16px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 6px;

    color: inherit;
    text-decoration: none !important;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.lyme-guide:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lyme-guide-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: #0d9488;
}

.lyme-guide-icon svg {
    width: 20px;
    height: 20px;
}

.lyme-guide-text {
    min-width: 0;
}

.lyme-guide-text h4 {
    margin: 0 0 2px;

    color: #0f766e;

    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.lyme-guide-text p {
    margin: 0;

    color: #6b7280;

    font-size: 12px;
    line-height: 18px;
}

.lyme-chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;

    margin-left: auto;

    color: #9ca3af;
}

/* =========================================================
   14. NEWSLETTER
========================================================= */

.lyme-newsletter-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.lyme-mail-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f4f6;
    border-radius: 50%;

    color: #0f766e;
}

.lyme-mail-icon svg {
    width: 20px;
    height: 20px;
}

.lyme-newsletter-copy {
    min-width: 0;
}

.lyme-newsletter-copy p {
    margin: 4px 0 0;

    color: #4b5563;

    font-size: 14px;
    line-height: 20px;
}

.lyme-newsletter-form {
    margin-top: 20px;
}

.lyme-newsletter-form input {
    display: block;
    width: 100%;

    margin: 0 0 12px;
    padding: 10px 12px;

    background: #ffffff;

    border: 1px solid #d1d5db;
    border-radius: 6px;

    color: #111827;

    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
}

.lyme-newsletter-form input:focus {
    border-color: #0d9488;
    outline: 2px solid rgba(13, 148, 136, 0.15);
    outline-offset: 1px;
}

.lyme-newsletter-form button {
    width: 100%;

    margin: 0;
    padding: 10px 20px;

    background: #0f766e;

    border: 0;
    border-radius: 6px;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;

    cursor: pointer;
}

.lyme-newsletter-form button:hover {
    background: #0d9488;
}

/* =========================================================
   15. RECOMMENDED
========================================================= */

.recommended-section {
    width: 100%;
    padding: 32px 0;
    background: #ffffff;
}

.recommended-container {
    width: 100%;
    max-width: 1152px;

    margin: 0 auto;
    padding: 0 16px;
}

.recommended-banner {
    padding: 20px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    background: #115e59;
    border-radius: 8px;
}

.recommended-message {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommended-flame {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;

    color: #fb923c;
}

.recommended-text h3 {
    margin: 0;

    color: #ffffff;

    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.recommended-text p {
    margin: 2px 0 0;

    color: #ccfbf1;

    font-size: 14px;
    line-height: 20px;
}

.recommended-amazon-button {
    display: inline-block;

    padding: 10px 20px;

    background: #0f766e;
    border-radius: 6px;

    color: #ffffff !important;

    font-size: 14px;
    line-height: 20px;
    font-weight: 500;

    text-decoration: none !important;
    white-space: nowrap;
}

.recommended-amazon-button:hover {
    background: #0d9488;
}

/* =========================================================
   16. LATEST ARTICLES
========================================================= */

.latest-articles-section {
    width: 100%;
    padding: 48px 0;
    background: #ffffff;
}

.latest-articles-container {
    width: 100%;
    max-width: 1152px;

    margin: 0 auto;
    padding: 0 16px;
}

.latest-articles-title {
    margin: 0 0 32px;

    color: #115e59;
    font-family: "Sora", "Inter", Arial, sans-serif;
    text-align: center;

    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.latest-articles-list {
    width: 100%;
}

.latest-article-row {
    width: 100%;
    padding: 16px 0;

    display: flex;
    flex-direction: column;
    gap: 4px;

    border-bottom: 1px solid #e5e7eb;
    text-decoration: none !important;
}

.latest-article-row:first-child {
    border-top: 1px solid #e5e7eb;
}

.latest-article-name {
    color: #111827;

    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

.latest-article-date {
    color: #6b7280;

    font-size: 13px;
    line-height: 20px;
}

.latest-article-row:hover .latest-article-name {
    color: #0f766e;
}

.latest-view-all {
    margin-top: 24px;

    display: inline-flex;
    align-items: center;

    color: #0f766e !important;

    font-size: 14px;
    line-height: 20px;
    font-weight: 600;

    text-decoration: none !important;
}

.latest-view-all svg {
    width: 16px;
    height: 16px;
    margin-left: 4px;
}

/* =========================================================
   17. FOOTER
========================================================= */

.lymesearch-footer {
    width: 100%;
    padding: 32px 0;

    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.lymesearch-footer-inner {
    width: 100%;
    max-width: 1152px;

    margin: 0 auto;
    padding: 0 16px;

    text-align: center;
}

.lymesearch-footer p {
    margin: 0;

    color: #6b7280;

    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.lymesearch-footer span {
    margin: 0 4px;
}

.lymesearch-footer a {
    color: #6b7280 !important;

    font-size: 14px;
    font-weight: 400;

    text-decoration: none !important;
}

.lymesearch-footer a:hover {
    color: #0f766e !important;
}

/* =========================================================
   18. RESPONSIVE CONTENT — 640PX
========================================================= */

@media (min-width: 640px) {

    .lyme-hero,
    .lyme-section,
    .lyme-start-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .recommended-container,
    .latest-articles-container,
    .lymesearch-footer-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

}

/* =========================================================
   19. RESPONSIVE CONTENT — 768PX
========================================================= */

@media (min-width: 768px) {

    .lyme-hero {
        padding-top: 64px;
        padding-bottom: 64px;

        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .lyme-hero-content,
    .lyme-hero-visual {
        width: 50%;
    }

    .lyme-hero-visual {
        justify-content: flex-end;
    }

    .lyme-hero h1 {
        font-size: 48px;
        line-height: 1.05;
    }

    .lyme-section-title,
    .latest-articles-title {
        font-size: 30px;
        line-height: 36px;
    }

    .lyme-grid,
    .lyme-article-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lyme-start-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recommended-banner {
        flex-direction: row;
    }

    .recommended-text h3 {
        font-size: 18px;
        line-height: 28px;
    }

    .latest-article-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .latest-article-date {
        flex-shrink: 0;
    }

}

/* =========================================================
   20. RESPONSIVE CONTENT — 1024PX
========================================================= */

@media (min-width: 1024px) {

    .lyme-hero,
    .lyme-section,
    .lyme-start-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .recommended-container,
    .latest-articles-container,
    .lymesearch-footer-inner {
        padding-left: 32px;
        padding-right: 32px;
    }

}

/* =========================================================
   21. SMALL PHONE CONTENT
========================================================= */

@media (max-width: 480px) {

    .lyme-hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

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

    .lyme-start-card {
        padding: 20px;
    }

    .lyme-guide {
        padding: 12px;
    }

    .recommended-banner {
        align-items: stretch;
    }

    .recommended-amazon-button {
        width: 100%;
        text-align: center;
    }

    .lymesearch-footer p {
        line-height: 28px;
    }

}

/* =========================================================
   22. NEWSLETTER PRIVACY
========================================================= */

.lyme-newsletter-privacy {
    margin: 12px 0 0;

    color: #6b7280;

    font-size: 11px;
    line-height: 1.5;
}

.lyme-newsletter-privacy a {
    color: #0f766e;

    font-weight: 500;

    text-decoration: none;
}

.lyme-newsletter-privacy a:hover {
    color: #115e59;
}

/* =========================================================
   23. NEWSLETTER STATUS
========================================================= */

.lyme-newsletter-message {
    margin-top: 16px;
    padding: 16px 18px;

    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 6px;

    color: #134e4a;

    font-size: 14px;
    line-height: 1.5;
}

.lyme-newsletter-message[hidden] {
    display: none !important;
}

.lyme-newsletter-message strong {
    display: block;
    margin-bottom: 4px;

    color: #115e59;

    font-size: 15px;
    font-weight: 700;
}

.lyme-newsletter-message span {
    display: block;
}

/* Newsletter error */

.lyme-newsletter-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* Newsletter submitting */

.lyme-newsletter-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

/* =========================================================
   24. HERO TINT
========================================================= */

body.home .lyme-hero {
    max-width: none !important;

    padding-left:
        max(16px, calc((100% - 1088px) / 2)) !important;

    padding-right:
        max(16px, calc((100% - 1088px) / 2)) !important;

    background: linear-gradient(
        110deg,
        #e8f6f1 0%,
        #f3faf7 60%,
        #ffffff 100%
    ) !important;
}

/* =========================================================
   LYMESEARCH — MOBILE READABILITY
========================================================= */

@media (max-width: 480px) {

    .lyme-card p,
    .lyme-article-content p,
    .lyme-newsletter-copy p {
        font-size: 15px;
        line-height: 24px;
    }

    .lyme-guide-text p,
    .latest-article-date {
        font-size: 13px;
        line-height: 20px;
    }

    .latest-article-name {
        font-size: 15px;
        line-height: 23px;
    }

}

/* =========================================================
   LYMESEARCH — SEAMLESS HOMEPAGE INFORMATION BANNER
========================================================= */
.ls-trust-banner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 54px;
    background: #ffffff;
    border: 0;
    overflow: hidden;
}
.ls-trust-banner-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.ls-trust-banner-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 0;
    animation: ls-banner-scroll 55s linear infinite;
    will-change: transform;
}
.ls-trust-banner-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0;
}
.ls-trust-banner-item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    padding: 10px 32px;
    white-space: nowrap;
    border: 0;
}
.ls-trust-banner-item span {
    color: #183f36;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.ls-trust-banner .ls-trust-banner-item svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: #0f766e;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
    transition: transform 0.25s ease;
}
.ls-trust-banner .ls-trust-banner-item:nth-child(1) svg { stroke: #0f766e; }
.ls-trust-banner .ls-trust-banner-item:nth-child(2) svg { stroke: #4e9274; }
.ls-trust-banner .ls-trust-banner-item:nth-child(3) svg { stroke: #c97167; }
.ls-trust-banner .ls-trust-banner-item:nth-child(4) svg { stroke: #397b58; }
@media (hover: hover) and (pointer: fine) {
    .ls-trust-banner-item:hover svg {
        transform: translateY(-1px) scale(1.08);
    }
}
/* JS sets the exact width of one group in pixels. */
@keyframes ls-banner-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-1 * var(--ls-banner-distance, 0px)), 0, 0); }
}
.ls-trust-banner:not(.is-paused) .ls-trust-banner-track { animation-play-state: running; }
.ls-trust-banner.is-paused .ls-trust-banner-track { animation-play-state: paused; }
.ls-trust-banner-control {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    color: #0f766e;
    box-shadow: none;
    cursor: pointer;
}
.ls-trust-banner-control:hover { background: #f3f7f5; }
.ls-trust-banner-control:focus-visible { outline: 2px solid #0f766e; outline-offset: -4px; }
.ls-trust-banner .ls-trust-banner-control svg {
    display: block;
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke: none;
}
.ls-trust-banner .ls-trust-banner-control .ls-banner-play-icon { display: none; }
.ls-trust-banner.is-paused .ls-trust-banner-control .ls-banner-pause-icon { display: none; }
.ls-trust-banner.is-paused .ls-trust-banner-control .ls-banner-play-icon { display: block; }
@media (max-width: 768px) {
    .ls-trust-banner { height: 48px; }
    .ls-trust-banner-item { gap: 8px; padding: 10px 24px; }
    .ls-trust-banner-item span { font-size: 12px; }
    .ls-trust-banner .ls-trust-banner-item svg { width: 18px; height: 18px; flex-basis: 18px; }
    .ls-trust-banner-control { flex-basis: 48px; width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .ls-trust-banner-track { animation: none; }
    .ls-trust-banner-viewport { overflow-x: auto; }
    .ls-trust-banner .ls-trust-banner-item svg { transition: none; }
}

/* =========================================================
   LYMESEARCH — EXTENDED INFORMATION BANNER
   Eight messages and eight icons
========================================================= */

/* Icon 5 — Symptoms */

.ls-trust-banner .ls-trust-banner-item:nth-child(5) svg {
    stroke: #6478a5;
}

/* Icon 6 — Symptom Management */

.ls-trust-banner .ls-trust-banner-item:nth-child(6) svg {
    stroke: #4e9274;
}

/* Icon 7 — Treatment Information */

.ls-trust-banner .ls-trust-banner-item:nth-child(7) svg {
    stroke: #c97167;
}

/* Icon 8 — Informed Decisions */

.ls-trust-banner .ls-trust-banner-item:nth-child(8) svg {
    stroke: #0f766e;
}

/* =========================================
   LYMESEARCH CATEGORY ICON RESPONSIVENESS
   ========================================= */

.lyme-categories .lyme-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;
}

.lyme-categories .lyme-icon svg {
    display: block;

    width: 24px;
    height: 24px;

    max-width: 100%;
    max-height: 100%;
}

/* Tablet */
@media (max-width: 768px) {
    .lyme-categories .lyme-icon {
        width: 44px;
        height: 44px;
    }

    .lyme-categories .lyme-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .lyme-categories .lyme-icon {
        width: 42px;
        height: 42px;
    }

    .lyme-categories .lyme-icon svg {
        width: 21px;
        height: 21px;
    }
}

/* =========================================================
   25. RESPONSIVE REFINEMENTS — 2026-10-22
   Scoped to homepage to preserve the approved desktop design.
   Keep these rules at the end of style.css.
========================================================= */

/* Avoid intrinsic-width overflow in flexible homepage content. */
body.home .lyme-hero-content,
body.home .lyme-hero-visual,
body.home .lyme-card,
body.home .lyme-article-card,
body.home .lyme-start-card,
body.home .lyme-newsletter-copy,
body.home .recommended-message,
body.home .recommended-text,
body.home .latest-article-name {
    min-width: 0;
}

body.home .lyme-hero h1,
body.home .lyme-card h3,
body.home .lyme-article-content h3,
body.home .lyme-guide-text,
body.home .latest-article-name {
    overflow-wrap: break-word;
}

body.home .lyme-hero-image,
body.home .lyme-article-image {
    max-width: 100%;
}

/* Between phone and desktop: allow the cards room to breathe. */
@media (min-width: 640px) and (max-width: 959px) {
    body.home .lyme-grid,
    body.home .lyme-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    body.home .lyme-hero h1 {
        font-size: clamp(34px, 4.4vw, 42px);
    }
}

/* Compact tablet: stack the hero before its two columns become cramped. */
@media (min-width: 640px) and (max-width: 767px) {
    body.home .lyme-hero {
        gap: 24px;
    }

    body.home .lyme-hero-visual {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    body.home .lyme-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    body.home .lyme-hero-content,
    body.home .lyme-hero-visual {
        width: 100%;
    }

    body.home .lyme-hero-visual {
        justify-content: flex-start;
    }
}

/* Phones: comfortable typography and no horizontal clipping. */
@media (max-width: 639px) {
    body.home .lyme-hero,
    body.home .lyme-section,
    body.home .lyme-start-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.home .recommended-container,
    body.home .latest-articles-container,
    body.home .lymesearch-footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.home .lyme-hero {
        gap: 24px;
    }

    body.home .lyme-hero h1 {
        font-size: clamp(30px, 8vw, 36px);
        line-height: 1.12;
    }

    body.home .lyme-hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    body.home .lyme-hero-visual {
        justify-content: flex-start;
    }

    body.home .lyme-hero-image {
        width: 100%;
        height: auto;
    }

    body.home .lyme-grid,
    body.home .lyme-article-grid,
    body.home .lyme-start-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    body.home .lyme-section,
    body.home .lyme-start-section,
    body.home .latest-articles-section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    body.home .lyme-section-title,
    body.home .latest-articles-title {
        margin-bottom: 24px;
    }

    body.home .lyme-card {
        padding: 24px;
    }

    body.home .lyme-article-image {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    body.home .lyme-newsletter-heading,
    body.home .recommended-message {
        min-width: 0;
    }

    body.home .recommended-banner {
        align-items: stretch;
    }

    body.home .recommended-amazon-button {
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    body.home .latest-article-row {
        align-items: flex-start;
    }

    body.home .lymesearch-footer-inner {
        overflow-wrap: break-word;
    }
}

@media (max-width: 359px) {
    body.home .lyme-hero,
    body.home .lyme-section,
    body.home .lyme-start-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.home .recommended-container,
    body.home .latest-articles-container,
    body.home .lymesearch-footer-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    body.home .lyme-start-card {
        padding: 16px;
    }
}

/* =========================================================
   26. MOBILE LANDSCAPE NAVIGATION FIX
   Keep the hamburger available on touch devices.
   Preserve desktop navigation on computers.
========================================================= */

@media (hover: none) and (pointer: coarse) and (orientation: landscape) {

    /* Use mobile navigation on landscape touchscreens */

    .lymesearch-desktop-navigation {
        display: none !important;
    }

    .lymesearch-menu-toggle {
        display: flex !important;
    }

    .lymesearch-mobile-navigation {
        display: grid !important;
        max-height: calc(100dvh - 64px);
    }

    /* Allow navigation links to scroll on short screens */

    .lymesearch-mobile-navigation.is-open .lymesearch-mobile-menu {
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Account for the WordPress admin bar */

    body.admin-bar .lymesearch-mobile-navigation {
        max-height: calc(100dvh - 96px);
    }
}

@media (hover: none) and (pointer: coarse)
       and (orientation: landscape)
       and (max-width: 782px) {

    body.admin-bar .lymesearch-mobile-navigation {
        max-height: calc(100dvh - 110px);
    }
}

/* =========================================================
   LYMESEARCH — MINIMAL BACK TO TOP BUTTON
   CSSPicker-inspired design
========================================================= */

.lyme-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    padding: 0;

    background: #ffffff;
    color: #134e4a;

    border: 1px solid #d7e7e3;
    border-radius: 50%;

    box-shadow: 0 2px 10px rgba(19, 78, 74, 0.06);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Visible while reading */

.lyme-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Arrow */

.lyme-back-to-top svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Hover */

.lyme-back-to-top:hover {
    background: #f0f7f5;
    color: #0f766e;
    border-color: #b8d8d1;

    box-shadow: 0 4px 14px rgba(19, 78, 74, 0.09);

    transform: translateY(-2px);
}

/* Keyboard accessibility */

.lyme-back-to-top:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 3px;
}

/* Mobile */

@media (max-width: 767px) {

    .lyme-back-to-top {
        right: 16px;
        bottom: 100px;

        width: 40px;
        height: 40px;
    }

}

/* Reduced motion */

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

    .lyme-back-to-top {
        transition: none;
    }

}


/* =========================================================
   CSSPICKER HOMEPAGE ALIGNMENT — OCT 2026
   Visual-only changes; preserves PHP, URLs, and newsletter.
========================================================= */

body.home .lyme-hero h1 {
    color: #134e4a;
    line-height: 1.25;
    letter-spacing: normal;
}

body.home .lyme-button {
    padding-left: 24px;
    padding-right: 24px;
    font-weight: 500;
}

body.home .lyme-button:hover {
    background: #115e59;
}

body.home .lyme-article-card {
    transition: box-shadow 0.15s ease;
}

body.home .lyme-article-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08),
                0 2px 4px -2px rgba(0, 0, 0, 0.08);
}

/* Latest Articles is left-aligned charcoal in the source design. */
body.home .latest-articles-title {
    color: #111827;
    text-align: left;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 24px;
}

body.home .latest-article-row {
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

body.home .latest-article-row:hover {
    background: #f9fafb;
}

body.home .latest-article-name {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

body.home .latest-article-date {
    color: #9ca3af;
    font-size: 14px;
}

@media (min-width: 960px) {
    body.home .lyme-hero {
        gap: 32px;
    }
}

/* =========================================================
   LYMESEARCH — NO LINK UNDERLINES SITEWIDE
========================================================= */

body a,
body a:link,
body a:visited,
body a:hover,
body a:focus,
body a:focus-visible,
body a:active {
    text-decoration: none !important;
}

/* =========================================================
   LYMESEARCH — GLOBAL MINIMALIST LINK INTERACTIONS
   Smooth, clean, accessible
========================================================= */

/* 1. All links — smooth transitions */
body a {
    text-decoration: none !important;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

/* 3. Editorial links — subtle teal color shift */
.lyme-pillar a:not(.lyme-related-card):hover,
.ls-pillar a:not(.lyme-related-card):hover,
.ls-topic-overview a:hover {
    color: #115e59;
}

/* 4. Navigation — color change without movement */
.lymesearch-desktop-navigation a:hover,
.lymesearch-mobile-navigation a:hover {
    color: #0f766e;
}

/* 5. Article cards — subtle elevation */
.lyme-related-card:hover,
.lyme-hub-article-card:hover,
.lyme-topic-card:hover {
    border-color: #99d5ce;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.07);
}

/* 6. Accessible keyboard focus */
body a:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 3px;
    border-radius: 3px;
}

/* 7. Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    body a {
        transition: none;
    }
}

/* Consistent homepage heading and title fonts */
.lyme-start-card > h3,
.lyme-newsletter-copy h3,
.lyme-guide-text h4,
.recommended-text h3,
.latest-article-name {
    font-family: "Sora", "Inter", Arial, sans-serif;
}


