/* Layout fixes for the search landing pages (loaded after styles.css). */
.funnel-gallery img,
.funnel-two-col > img {
    width: 100%;
    height: auto;
}

.funnel-table {
    min-width: 0;
}

@media (max-width: 760px) {
    .funnel-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: none;
    }

    .funnel-table,
    .funnel-table tbody {
        display: block;
    }

    .funnel-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .funnel-table tr {
        display: block;
        padding: 1.1rem 1.2rem;
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        background: var(--white);
    }

    .funnel-table tr + tr {
        margin-top: 0.75rem;
    }

    .funnel-table tbody th {
        display: block;
        padding: 0 0 0.75rem;
        border-bottom: 0;
        background: none;
    }

    .funnel-table tbody th:empty {
        display: none;
    }

    .funnel-table td,
    .funnel-table tr:last-child td {
        display: grid;
        grid-template-columns: 6.5rem minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.6rem 0;
        border-bottom: 0;
        border-top: 1px solid var(--gray-200);
    }

    .funnel-table td::before {
        content: attr(data-label);
        color: var(--gray-600);
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        line-height: 1.6;
        text-transform: uppercase;
    }
}

@media (max-width: 640px) {
    .funnel-hero-copy h1 {
        font-size: clamp(2.1rem, 10.5vw, 2.75rem);
    }
}
