/* ==========================================================================\n   LP FRONTEND — canonical component stylesheet\n   --------------------------------------------------------------------------\n   Migration rule:\n   - one clearly named block per component\n   - base rules first, variants second, responsive rules last\n   - no historical step/patch overrides\n   - shared components live here once, regardless of page\n   ========================================================================== */

/* Global link interaction
   LP uses color/state changes on hover, never browser-style underlines. */
body a:hover,
body a:focus,
body a:active {
    text-decoration: none !important;
}

/* ==========================================================================\n   HOME SHELL\n   Used: Home only\n   ========================================================================== */

.lp-home-template {
    width: 1070px;
    max-width: 1070px;
    margin: 0 auto;
    padding: 0 15px;
    background: #fff;
    color: rgb(48, 71, 80);
    box-sizing: border-box;
}

.lp-home-template a {
    text-decoration: none;
}

.lp-home-template a:hover {
    text-decoration: none;
}

.lp-home-title {
    margin: 0 0 22px;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
    color: rgb(48, 71, 80);
}

.lp-home-content {
    margin-bottom: 40px;
}

.lp-home-stats,
.lp-home-current-auctions,
.lp-home-references {
    margin-bottom: 54px;
}

.lp-section-header {
    margin-bottom: 24px;
}

.lp-section-header h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    color: rgb(48, 71, 80);
}

/* ==========================================================================\n   HOME FACTS\n   Used: Home only\n   ========================================================================== */

.lp-home-facts {
    margin: 32px 0 62px;
}

.lp-home-facts-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.lp-home-fact {
    min-height: 72px;
    padding: 18px 14px 17px;
    background: #f8f8f8;
    text-align: center;
    box-sizing: border-box;
}

.lp-home-fact-label {
    margin-bottom: 8px;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7c8b92;
}

.lp-home-fact-number {
    font-size: 21px;
    line-height: 1.15;
    font-weight: 400;
    color: #304750;
    white-space: nowrap;
}

/* ==========================================================================\n   CURRENT AUCTIONS / PROJECT ROWS — shared base\n   Used: Home, Auctions, Gutachten, Industry Portals\n   Variants: auction / gutachten / portal project\n   ========================================================================== */

.lp-current-auctions-mini .a_row,
.lp-current-gutachten-mini .a_row {
    color: rgb(48, 71, 80);
}

.lp-current-auctions-mini .a_row a,
.lp-current-gutachten-mini .a_row a {
    color: rgb(48, 71, 80);
    text-decoration: none;
}

.lp-current-auctions-mini .a_row a:hover,
.lp-current-gutachten-mini .a_row a:hover {
    color: #f19300;
}

.lp-current-auctions-mini .auction_header,
.lp-current-gutachten-mini .auction_header {
    font-weight: 700;
}

.lp-current-auctions-mini .lp-auction-tile {
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
}

.lp-current-auctions-mini .lp-auction-tile--placeholder {
    background: #f8f8f8;
}

.lp-current-auctions-mini .lp-auction-tile--countdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: #f8f8f8;
    color: rgb(48, 71, 80);
    text-align: center;
    text-decoration: none;
    line-height: 1.1;
}

.lp-current-auctions-mini .lp-auction-tile--countdown i.fa {
    margin: 0 0 8px;
    color: rgb(48, 71, 80);
    font-size: 26px;
    line-height: 1;
}

.lp-current-auctions-mini .lp-auction-tile--countdown span {
    display: block;
    font-size: 12px;
    font-weight: 400;
}

.lp-current-auctions-mini .lp-auction-tile--countdown strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side),
.lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side {
    width: 326px;
    min-width: 326px;
    flex: 0 0 326px;
    gap: 6px;
}

.lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image,
.lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--placeholder {
    width: 190px;
    min-width: 190px;
    height: 120px;
    flex: 0 0 190px;
}

.lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image img {
    display: block;
    width: 190px !important;
    height: 120px !important;
    object-fit: cover !important;
    transition: transform .22s ease, filter .22s ease;
}

.lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image:hover img {
    transform: scale(1.025);
    filter: brightness(1.08);
}

.lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--countdown {
    width: 130px;
    min-width: 130px;
    height: 120px;
    flex: 0 0 130px;
    box-sizing: border-box;
}

.lp-current-auctions-mini .lp-auction-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

.lp-current-auctions-mini .lp-auction-project-btn,
.lp-current-auctions-mini .lp-auction-project-btn:visited,
.lp-current-gutachten-mini .lp-gutachten-project-btn,
.lp-current-gutachten-mini .lp-gutachten-project-btn:visited {
    display: inline-block;
    text-decoration: none;
}

.lp-current-auctions-mini .lp-auction-project-btn > span,
.lp-current-gutachten-mini .lp-gutachten-project-btn > span {
    display: inline-block;
    padding: 10px 20px;
    background: #203943;
    border: 1px solid #203943;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.lp-current-auctions-mini .lp-auction-project-btn:hover > span,
.lp-current-gutachten-mini .lp-gutachten-project-btn:hover > span {
    opacity: .9;
}

/* Gutachten variant ------------------------------------------------------- */

.lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo {
    position: relative;
    width: 190px;
    min-width: 190px;
    height: 120px;
    flex: 0 0 190px;
    padding: 12px;
    border: 1px solid #f8f8f8;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transform: scale(1.5) !important;
    transform-origin: center center !important;
}

.lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--branche {
    width: 130px;
    min-width: 130px;
    height: 120px;
    flex: 0 0 130px;
    box-sizing: border-box;
}

.lp-current-gutachten-mini .lp-gutachten-tile--branche strong {
    display: -webkit-box;
    width: 100%;
    max-height: 2.2em;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Urgent auction variant ------------------------------------------------- */

.lp-current-auctions-mini .lp-auction-tile--urgent {
    background: #f19300;
    border: 1px solid #f19300;
    color: #fff;
    animation: none;
    box-shadow: none;
}

.lp-current-auctions-mini .lp-auction-tile--urgent .lp-badge--overlay {
    display: none;
}

.lp-current-auctions-mini .lp-auction-tile--urgent i.fa,
.lp-current-auctions-mini .lp-auction-tile--urgent span,
.lp-current-auctions-mini .lp-auction-tile--urgent strong {
    color: #fff;
    animation: none;
}

/* ==========================================================================\n   INDUSTRY TILES\n   Used: Home, Industries, Industry Portals\n   Variants: home / branchen / portal\n   ========================================================================== */

.lp-branchen-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 42px 0 44px;
}

.lp-branchen-tile,
.lp-branchen-tile:visited {
    display: flex;
    min-height: 315px;
    flex-direction: column;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    color: #203943;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.lp-branchen-tile:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: #e2e2e2;
    box-shadow: 0 12px 28px rgba(32, 57, 67, .08);
}

.lp-branchen-tile-image {
    display: block;
    position: relative;
    width: 100%;
    height: 132px;
    overflow: hidden;
    background: #dde3e5;
}

.lp-branchen-tile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.lp-branchen-tile:hover .lp-branchen-tile-image img {
    transform: scale(1.025);
}

.lp-branchen-tile-body {
    display: flex;
    min-height: 223px;
    padding: 22px 24px 20px;
    flex: 1 1 auto;
    flex-direction: column;
    box-sizing: border-box;
}

.lp-branchen-tile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.lp-branchen-tile-icon {
    display: flex;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a3e49;
    border-radius: 50%;
    background: #f8f8f8;
    color: #1a3e49;
    box-sizing: border-box;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.lp-branchen-tile-icon i.fa {
    font-size: 19px;
    line-height: 1;
}

.lp-branchen-tile:hover .lp-branchen-tile-icon,
.lp-branchen-tile:hover .lp-branchen-tile-icon i.fa {
    border-color: #f19300;
    color: #f19300;
}

.lp-branchen-tile-title-wrap {
    display: block;
    min-width: 0;
}

.lp-branchen-tile-title {
    display: block;
    color: #1a3e49;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 400;
    transition: color .18s ease;
}

.lp-branchen-tile:hover .lp-branchen-tile-title {
    color: #f19300;
}

.lp-branchen-tile-counts {
    display: block;
    margin-top: 5px;
    color: #7c8b92;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-branchen-tile-topics {
    display: block;
    margin: 0 0 20px;
}

.lp-branchen-tile-topic {
    display: block;
    position: relative;
    padding: 4px 0 4px 16px;
    color: #203943;
    font-size: 13px;
    line-height: 1.28;
    font-weight: 400;
}

.lp-branchen-tile-topic::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8c989e;
}

.lp-branchen-tiles--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0 34px;
}

.lp-branchen-tiles--home .lp-branchen-tile,
.lp-branchen-tiles--home .lp-branchen-tile:visited {
    min-height: 0;
}

.lp-branchen-tiles--home .lp-branchen-tile-body {
    min-height: 0;
    padding: 22px 24px;
}

.lp-branchen-tiles--home .lp-branchen-tile-head {
    margin-bottom: 0;
}

.lp-branchen-tiles--home .lp-branchen-tile-topics {
    display: none;
}

/* ==========================================================================\n   GLOBAL SEARCH ENTRY\n   Used: every page that embeds [lp_global_search]\n   Note: result-page/AJAX styles remain a separate search component.\n   ========================================================================== */

.lp-global-search-box {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 0;
    padding: 10px max(24px, calc((100vw - 1070px) / 2)) 24px;
    background: #f6f6f6;
    box-sizing: border-box;
}

.lp-global-search-box .lp-search-asset-count {
    width: 100%;
    max-width: 1070px;
    margin: 0 auto 14px;
    color: #203943;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .055em;
    text-align: center !important;
    text-transform: uppercase;
}

.lp-global-search-box .lp-search-form {
    display: flex;
    width: 100%;
    max-width: 910px;
    margin: 0 auto;
    gap: 14px;
    align-items: stretch;
}

.lp-global-search-box .lp-search-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 54px;
    height: 48px;
    padding: 0 46px 0 17px;
    border: 1px solid #d8dee2;
    border-radius: 2px;
    background: #fff;
    color: #203943;
    font-size: 14px;
    line-height: 48px;
    box-shadow: none;
}

.lp-global-search-box .lp-search-button {
    flex: 0 0 132px;
    min-width: 132px !important;
    min-height: 48px;
    height: 48px;
    padding: 0 22px;
    border: 1px solid #f19300;
    border-radius: 3px;
    background: #f19300;
    color: #fff;
    font-size: 15px;
    line-height: 46px;
    font-weight: 700;
    cursor: pointer;
}

/* Shared search/data chips ------------------------------------------------- */

.lp-top-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-top-tag,
.lp-top-tag:visited,
.lp-top-tag--static {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    background: #1a3e49;
    border: 1px solid #1a3e49;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.lp-top-tag:hover,
.lp-top-tag--static:hover {
    background: #12313a;
    border-color: #12313a;
    color: #fff;
}

.lp-top-tag-count {
    display: inline-block;
    min-width: 18px;
    padding: 2px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    text-align: center;
}

.lp-global-search-tags {
    justify-content: center;
    width: 100%;
    max-width: 980px;
    margin: 16px auto 0;
}

/* ==========================================================================\n   RESPONSIVE — migrated components\n   ========================================================================== */

@media (max-width: 1100px) {
    .lp-home-template {
        width: auto;
        max-width: none;
        margin-left: 20px;
        margin-right: 20px;
    }

    .lp-home-facts-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-branchen-tiles,
    .lp-branchen-tiles--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lp-current-auctions-mini .lp-mini-auction,
    .lp-current-gutachten-mini .lp-mini-auction {
        display: block;
    }

    .lp-current-auctions-mini .lp-mini-auction-side,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side {
        width: auto;
        min-width: 0;
        margin-top: 14px;
        flex: 0 0 auto;
    }
}

@media (min-width: 901px) {
    .lp-current-auctions-mini .lp-mini-auction,
    .lp-current-gutachten-mini .lp-mini-auction {
        align-items: stretch;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .lp-current-auctions-mini .lp-mini-auction-main > .auction_header,
    .lp-current-gutachten-mini .lp-mini-auction-main > .auction_header {
        margin-top: 0;
        margin-bottom: 4px;
    }

    .lp-current-auctions-mini .lp-mini-auction-main > .a_row.r1,
    .lp-current-gutachten-mini .lp-mini-auction-main > .a_row.r1 {
        margin-bottom: 4px;
    }

    .lp-current-auctions-mini .lp-auction-cta-row,
    .lp-current-gutachten-mini .lp-gutachten-cta-row {
        margin-top: 0;
        margin-bottom: 0;
        line-height: 0;
    }

    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side),
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side {
        align-self: stretch !important;
        height: auto;
        min-height: 0;
        margin-top: 9px;
        margin-bottom: 5px;
    }

    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-auction-tile {
        height: 100%;
        min-height: 0;
        align-self: stretch !important;
    }

    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo {
        position: relative;
        overflow: hidden;
    }

    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image img {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo img {
        position: absolute;
        inset: 12px;
        width: calc(100% - 24px) !important;
        height: calc(100% - 24px) !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        transform: scale(1.5) !important;
        transform-origin: center center !important;
    }
}

@media (max-width: 700px) {
    .lp-home-title {
        font-size: 30px;
    }

    .lp-section-header h2 {
        font-size: 24px;
    }

    .lp-home-facts {
        margin: 28px 0 44px;
    }

    .lp-home-facts-inner {
        grid-template-columns: 1fr;
    }

    .lp-branchen-tiles,
    .lp-branchen-tiles--home {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lp-branchen-tiles {
        margin-top: 32px;
    }

    .lp-branchen-tile {
        min-height: 0;
    }

    .lp-branchen-tile-image {
        height: 84px;
    }

    .lp-branchen-tile-body {
        min-height: 0;
        padding: 20px 20px 18px;
    }

    .lp-branchen-tile-title {
        font-size: 18px;
    }

    .lp-branchen-tiles--home .lp-branchen-tile-image {
        height: 112px;
    }

    .lp-top-tag-list {
        gap: 6px;
    }

    .lp-top-tag,
    .lp-top-tag:visited,
    .lp-top-tag--static {
        padding: 7px 9px;
        font-size: 11px;
    }

    .lp-global-search-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 719px) {
    .lp-global-search-box {
        padding-left: 18px;
        padding-right: 18px;
    }

    .lp-global-search-box .lp-search-form {
        display: block;
    }

    .lp-global-search-box .lp-search-button {
        width: 100%;
        min-width: 0 !important;
        margin-top: 8px;
    }
}

@media (max-width: 460px) {
    .lp-current-auctions-mini .lp-mini-auction-side,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side {
        flex-wrap: wrap;
    }

    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--branche,
    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image,
    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--placeholder,
    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--countdown {
        width: calc(50% - 3px);
        min-width: 0;
        height: auto;
        flex: 0 0 calc(50% - 3px);
        aspect-ratio: 5 / 4;
    }

    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image img,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo img {
        width: 100%;
        height: 100%;
    }
}

/* ==========================================================================
   COMPLETED AUCTIONS — archive years, search, load more
   Used: Auctions
   ========================================================================== */

.lp-completed-auctions-year-group {
    margin-top: 30px;
}

.lp-completed-auctions-year-title {
    margin: 0 0 18px;
    color: rgb(48, 71, 80);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-completed-auctions-more-wrap {
    margin-top: 18px;
    text-align: right;
}

.lp-completed-auctions-more {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #f19300;
    background: #f19300;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
}

.lp-completed-auctions-more:hover,
.lp-completed-auctions-more:focus {
    border-color: #f7a933;
    background: #f7a933;
    color: #ffffff;
}

.lp-completed-auctions-more:disabled {
    cursor: default;
    opacity: .55;
}

.lp-completed-auctions-mini .lp-mini-auction--completed .auction_header {
    font-weight: 700;
}

/* Shared compact archive/project search ---------------------------------- */

.lp-completed-auctions-search,
.lp-gutachten-archive-search,
.lp-portal-projects-search {
    margin: 0 0 24px;
}

.lp-completed-auctions-search-input,
.lp-gutachten-archive-search-input,
.lp-portal-projects-search-input {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border: 1px solid #d9dfe2;
    background: #ffffff;
    color: #203943;
    font-size: 14px;
    line-height: 46px;
    box-sizing: border-box;
    outline: none;
}

.lp-completed-auctions-search-input::placeholder,
.lp-gutachten-archive-search-input::placeholder,
.lp-portal-projects-search-input::placeholder {
    color: #aab4b9;
    opacity: 1;
}

.lp-completed-auctions-search-input:focus,
.lp-gutachten-archive-search-input:focus,
.lp-portal-projects-search-input:focus {
    border-color: #8c989e;
}

.lp-completed-auctions-search-results[hidden],
.lp-completed-auctions-groups[hidden],
.lp-completed-auctions-more-wrap[hidden] {
    display: none;
}

.lp-completed-auctions-no-results {
    margin: 8px 0 22px;
    color: #7c8b92;
    font-size: 14px;
    line-height: 1.5;
}

.lp-completed-auctions-mini .lp-completed-auction-tile--branche strong {
    width: 100%;
    max-height: 2.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

/* =========================================================
   DISTRIBUTION — AUCTIONS
========================================================= */

.lp-distribution-chart {
    margin-top: 22px;
}

/* ==========================================================================\n   OVERVIEW PAGE SHELL — shared content width\n   Used: overview pages (Auctions, Gutachten, etc.)\n   ========================================================================== */
.lp-overview-content {
    max-width: 1070px;
    margin: 0 auto;
    padding: 0 0 60px;
    box-sizing: border-box;
}

/* ==========================================================================
   GUTACHTEN ARCHIVE — years, search, load more
   Used: Gutachten
   ========================================================================== */

.lp-gutachten-archive-year-group {
    margin-top: 30px;
}

.lp-gutachten-archive-year-title {
    margin: 0 0 18px;
    color: rgb(48, 71, 80);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-gutachten-archive-search-results[hidden],
.lp-gutachten-archive-groups[hidden],
.lp-gutachten-archive-more-wrap[hidden] {
    display: none;
}

.lp-gutachten-archive-no-results {
    margin: 8px 0 22px;
    color: #7c8b92;
    font-size: 14px;
    line-height: 1.5;
}

.lp-gutachten-archive-more-wrap {
    margin-top: 18px;
    text-align: right;
}

.lp-gutachten-archive-more {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #f19300;
    background: #f19300;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
}

.lp-gutachten-archive-more:hover,
.lp-gutachten-archive-more:focus {
    border-color: #f7a933;
    background: #f7a933;
    color: #ffffff;
}

.lp-gutachten-archive-more:disabled {
    cursor: default;
    opacity: .55;
}

.lp-gutachten-archive-mini .lp-current-gutachten-mini .auction_header {
    font-weight: 700;
}

/* ==========================================================================
   AJAX LOADING OVERLAY — shared archive/search spinner
   Used: Auctions, Gutachten, Search
   ========================================================================== */

[data-lp-ajax-archive="1"],
.lp-search-results,
[data-lp-project-positions="1"] {
    position: relative;
}

[data-lp-ajax-archive="1"].is-loading,
.lp-search-results.is-loading,
[data-lp-project-positions="1"].is-loading {
    cursor: progress;
}

/* Match Search loading feedback on every existing AJAX list root.
   The JS already toggles .is-loading on these roots; keep the visual state in CSS. */
[data-lp-ajax-archive="1"].is-loading,
[data-lp-completed-auctions="1"].is-loading,
[data-lp-gutachten-archive="1"].is-loading,
[data-lp-portal-projects="1"].is-loading,
[data-lp-project-positions="1"].is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

@keyframes lp-ajax-spinner {
    to {
        transform: rotate(360deg);
    }
}

.lp-ajax-loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease;
    z-index: 99999;
}

.lp-ajax-loading-overlay.is-visible {
    opacity: 1;
}

.lp-ajax-loading-spinner {
    width: 52px;
    height: 52px;
    border: 5px solid rgba(111, 133, 141, 0.28);
    border-top-color: #f19300;
    border-radius: 50%;
    animation: lp-ajax-spinner 0.75s linear infinite;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(32, 57, 67, 0.16);
}

/* =========================================================
   BRANCHENÜBERSICHT — DISTRIBUTION / CUSTOM LEGEND
========================================================= */
.lp-branchen-distribution .lp-distribution-chart .vc_chart-legend {
    display: none;
}

.lp-distribution-chart--branchen {
    margin-top: 22px;
}

.lp-branchen-distribution .lp-distribution-chart--branchen .vc_chart,
.lp-branchen-distribution .lp-distribution-chart--branchen .vc_chart .wpb_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-branchen-distribution .lp-distribution-chart--branchen .vc_chart-with-legend {
    float: none !important;
    width: 100%;
    display: flex;
    justify-content: center;
}

.lp-branchen-distribution .lp-distribution-legend {
    width: 100%;
    max-width: 470px;
    margin: 42px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    text-align: left;
}

.lp-branchen-distribution .lp-distribution-legend-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    color: #203943;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
}

.lp-branchen-distribution .lp-distribution-legend-dot {
    width: 10px;
    height: 10px;
    margin-top: 3px;
    border-radius: 50%;
    flex: 0 0 10px;
}

.lp-branchen-distribution .lp-distribution-legend-dot--orange { background: #f7be68; }
.lp-branchen-distribution .lp-distribution-legend-dot--blue { background: #5472d2; }
.lp-branchen-distribution .lp-distribution-legend-dot--turquoise { background: #00c1cf; }
.lp-branchen-distribution .lp-distribution-legend-dot--pink { background: #fe6c61; }
.lp-branchen-distribution .lp-distribution-legend-dot--violet { background: #8d6dc4; }
.lp-branchen-distribution .lp-distribution-legend-dot--chino { background: #cec2ab; }
.lp-branchen-distribution .lp-distribution-legend-dot--mulled-wine { background: #50485b; }
.lp-branchen-distribution .lp-distribution-legend-dot--vista-blue { background: #75d69c; }
.lp-branchen-distribution .lp-distribution-legend-dot--black { background: #2a2a2a; }
.lp-branchen-distribution .lp-distribution-legend-dot--sandy-brown { background: #f79468; }

@media (max-width: 767px) {
    .lp-branchen-distribution .lp-distribution-legend {
        max-width: 340px;
        grid-template-columns: 1fr;
    }
}

.lp-branchen-distribution {
    margin-top: 22px;
}

/* =========================================================
   BRANCHENÜBERSICHT — REGIONENKARTE
========================================================= */
.lp-regionenkarte--map-only {
    margin: 18px 0 36px;
}

.lp-regionenkarte-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-germany-map {
    width: 100%;
    max-width: 650px;
    height: auto;
    display: block;
    overflow: visible;
}

.lp-germany-map-bg {
    fill: transparent;
}

.lp-germany-state {
    fill: #f4f7f8;
    stroke: #9bb0ba;
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-germany-border {
    fill: none;
    stroke: #6f8a99;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-germany-focus {
    fill: rgba(26, 62, 73, .10);
    stroke: rgba(26, 62, 73, .30);
    stroke-width: 1.25;
}

.lp-germany-case-point {
    fill: #f19300;
    fill-opacity: .78;
    stroke: #ffffff;
    stroke-width: .55;
}

.lp-germany-case-point--2 {
    fill-opacity: .84;
}

.lp-germany-case-point--3,
.lp-germany-case-point--4 {
    fill-opacity: .90;
}

.lp-germany-city-dot {
    fill: #1a3e49;
    opacity: .92;
}

.lp-germany-city-label {
    fill: #203943;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
}

@media (max-width: 767px) {
    .lp-germany-city-label {
        display: none;
    }

    .lp-germany-map {
        max-width: 420px;
    }
}

/* ==========================================================================
   INDUSTRY PORTALS — subnavigation, project controls, chips, stats
   Used: Industry Portals
   ========================================================================== */

/* Portal subnavigation ---------------------------------------------------- */

.lp_branchen_subnav {
    margin-top: 28px;
}

.lp-branchen-subnav-grid {
    display: grid;
    gap: 18px 42px;
}

.lp-branchen-subnav-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-branchen-subnav-grid--1col,
.lp-branchen-subnav-grid--portal {
    grid-template-columns: 1fr;
}

.lp-branchen-subnav-item,
.lp-branchen-subnav-item:visited {
    display: block;
    padding: 0 0 14px;
    border-bottom: 1px solid #eceff1;
    color: #203943;
    text-decoration: none;
}

.lp-branchen-subnav-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #203943;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    transition: color .2s ease;
}

.lp-branchen-subnav-title i.fa {
    width: 18px;
    color: #f19300;
    text-align: center;
    font-size: 15px;
    line-height: 1;
    transition: color .2s ease;
}

.lp-branchen-subnav-clusters {
    display: block;
    margin: 5px 0 0 28px;
    color: #7d8f97;
    font-size: 13px;
    line-height: 1.5;
}

.lp-branchen-subnav-item:hover .lp-branchen-subnav-title {
    color: #f19300;
}

.lp-branchen-subnav-item:hover .lp-branchen-subnav-title i.fa {
    color: #203943;
}

.lp-branchen-subnav-grid--portal {
    gap: 0;
}

.lp-branchen-subnav-grid--portal .lp-branchen-subnav-item,
.lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:visited {
    padding: 9px 0;
}

.lp-branchen-subnav-grid--portal .lp-branchen-subnav-title {
    gap: 9px;
    font-size: 15px;
    line-height: 1.25;
}

.lp-branchen-subnav-grid--portal .lp-branchen-subnav-title i.fa {
    width: 17px;
    font-size: 13px;
}

.lp-branchen-subnav-grid--portal .lp-branchen-subnav-item.is-active {
    border-bottom-color: #f19300;
}

.lp-branchen-subnav-grid--portal .lp-branchen-subnav-item.is-active .lp-branchen-subnav-title {
    color: #f19300;
    font-weight: 500;
}

/* Portal project controls ------------------------------------------------- */

.lp-portal-projects-more-wrap {
    margin-top: 18px;
    text-align: right;
}

.lp-portal-projects-more {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #f19300;
    background: #f19300;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
}

.lp-portal-projects-more:hover,
.lp-portal-projects-more:focus {
    border-color: #f7a933;
    background: #f7a933;
    color: #fff;
}

.lp-portal-projects-more:disabled {
    cursor: default;
    opacity: .55;
}

/* Portal chip groups use the shared .lp-top-tag definition --------------- */

.lp-top-tags--portal {
    margin: 10px 0 34px;
}

.lp-top-tags--portal h2 {
    margin: 0 0 14px;
    color: #203943;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-top-tags--portal .lp-top-tag-group + .lp-top-tag-group {
    margin-top: 22px;
}

/* Portal statistics ------------------------------------------------------- */

.lp-price-ranges--portal {
    margin: 24px 0 34px;
}

.lp-price-ranges--portal h2 {
    margin: 0 0 14px;
    color: #203943;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-price-range-list {
    display: grid;
    gap: 11px;
}

.lp-price-range-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 5px;
    color: #203943;
    font-size: 12px;
    line-height: 1.25;
}

.lp-price-range-label {
    font-weight: 700;
}

.lp-price-range-value {
    color: #6f858d;
    white-space: nowrap;
}

.lp-price-range-value span {
    color: #9aa8ad;
}

.lp-price-range-track {
    position: relative;
    height: 8px;
    overflow: hidden;
    background: #eef2f3;
    border-radius: 999px;
}

.lp-price-range-bar {
    display: block;
    height: 8px;
    min-width: 3px;
    background: #1a3e49;
    border-radius: 999px;
}

.lp-stats-block {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
    margin: 28px 0 38px;
}

.lp-stats-block > .lp-price-ranges {
    min-width: 0;
}

.lp-stats-block .lp-price-ranges--portal {
    margin: 0;
}

.lp-stats-region-note {
    margin-top: 14px;
    color: #6f858d;
    font-size: 13px;
    line-height: 1.45;
    font-style: italic;
    text-align: right;
}

@media (max-width: 767px) {
    .lp-branchen-subnav-grid,
    .lp-branchen-subnav-grid--2col {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lp-stats-block {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   INDUSTRY PORTAL — intro
   Used: Industry portals
   ========================================================================== */

.lp-portal-intro {
    margin: 0 0 30px;
    color: #203943;
}

.lp-portal-intro::after {
    content: "";
    display: table;
    clear: both;
}

.lp-portal-intro-icon {
    float: left;
    width: 170px;
    height: 170px;
    margin: 46px 32px 18px 0;
    border: 5px solid #1f4852;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f4852;
    background: #fff;
    box-sizing: border-box;
}

.lp-portal-intro-icon i.fa {
    font-size: 66px;
    line-height: 1;
}

.lp-portal-intro-content {
    padding-top: 12px;
}

.lp-portal-intro-kicker {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f19300;
}

.lp-portal-intro-title {
    margin: 0 0 15px;
    font-size: 38px;
    line-height: 1.13;
    font-weight: 400;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #203943;
}

.lp-portal-intro-text {
    max-width: 620px;
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: #203943;
}

@media (max-width: 767px) {
    .lp-portal-intro {
        margin-bottom: 26px;
        text-align: center;
    }

    .lp-portal-intro-icon {
        float: none;
        width: 132px;
        height: 132px;
        margin: 0 auto 20px;
        border-width: 4px;
    }

    .lp-portal-intro-icon i.fa {
        font-size: 50px;
    }

    .lp-portal-intro-content {
        padding-top: 0;
    }

    .lp-portal-intro-title {
        font-size: 28px;
    }

    .lp-portal-intro-text {
        max-width: none;
        font-size: 16px;
    }
}

/* Search results — consolidated effective rules. */

.lp-search-form {
    display: flex;
    gap: 0;
    align-items: stretch;
    max-width: 980px;
    margin: 0 auto;
}

.lp-search-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 68px;
    padding: 18px 22px;
    border: 1px solid #d7dde1;
    border-right: 0;
    border-radius: 2px;
    background: #fff;
    color: #203943;
    font-size: 24px;
    line-height: 1.2;
}

.lp-search-button {
    flex: 0 0 auto;
    min-width: 170px;
    padding: 11px 18px;
    border: 1px solid #f19300;
    border-radius: 2px;
    background: #f19300;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    cursor: pointer;
}

.lp-search-chip {
    display: inline-block;
    margin: 0 8px 6px 0;
    padding: 6px 10px;
    border: 1px solid #d8dee2;
    border-radius: 999px;
    background: #fff;
    color: #f19300;
    text-decoration: none;
}

.lp-search-chip:hover,
.lp-search-chip:focus {
    text-decoration: none;
}

@media (max-width: 719px) {
    .lp-search-form {
        flex-direction: column;
    }

    .lp-search-button {
        width: 100%;
    }
}

.lp-search-section h2 {
margin-bottom: 12px;
}

.lp-search-section-intro,
.lp-search-note {
color: #6f858d;
}

.lp-search-position-actions {
display: flex;
    gap: 12px;
}

.lp-search-discovery {
margin-top: 26px;
}

.lp-search-template .lp-search-discovery-group:first-child {
margin-top: 79px;
}

.lp-search-chip,
.lp-search-chip:visited {
    box-sizing: border-box;
}

.lp-search-chip:hover,
.lp-search-chip:focus {
background: #12313a;
    border-color: #12313a;
    color: #ffffff;
}

@media (max-width: 719px) {
.lp-search-input {
min-height: 58px;
        font-size: 18px;
}

.lp-search-button {
min-width: 100%;
}
}

.lp-search-asset-count {
margin: 0 0 16px;
    text-align: center;
    color: #203943;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: 0.01em;
}

@media (max-width: 767px) {
.lp-search-asset-count {
font-size: 20px;
        margin-bottom: 12px;
}
}

.lp-search-input::placeholder {
color: #8c989e;
    opacity: 1;
}

.lp-search-input.lp-search-input--prefilled:not(.lp-search-input--dirty) {
color: #8c989e;
}

.lp-search-input:focus,
.lp-search-input.lp-search-input--dirty {
color: #203943;
}

.lp-search-chip-row .lp-search-chip,
.lp-search-chip-row .lp-search-chip:visited {
flex: 0 0 auto;
    min-height: 31px;
    padding: 7px 11px;
    border-radius: 4px;
    line-height: 1.2;
}

.lp-search-chip-row .lp-search-chip-count {
padding: 2px 5px;
    line-height: 1.1;
}

.lp-search-discovery {
display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 44px;
    row-gap: 22px;
    align-items: start;
}

.lp-search-discovery-group {
margin-top: 0;
}

@media (max-width: 767px) {
.lp-search-discovery {
grid-template-columns: 1fr;
        column-gap: 0;
}

}

.lp-search-box .lp-search-input {
    border-color: #d7dde1;
}

.lp-search-box .lp-search-button {
    border-color: #f19300;
    transition: background .18s ease, border-color .18s ease;
}

.lp-search-box .lp-search-button:hover,
.lp-search-box .lp-search-button:focus {
background: #f7a933;
    border-color: #f7a933;
    color: #fff;
}

.lp-search-template .lp-search-top-tags {
margin-top: 60px;
}

.lp-search-top-tags .lp-search-chip-row {
display: flex;
    flex-wrap: wrap;
}

.lp-search-section + .lp-search-section {
margin-top: 38px;
}

.lp-search-section h2 {
margin: 0 0 16px;
    color: #203943;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 719px) {

.lp-search-box .lp-search-input {
        border-right: 1px solid #d7dde1;
}

}

.lp-search-box .lp-search-asset-count,
.lp-search-box .lp-search-form,
.lp-search-query-summary {
width: 100%;
    max-width: 1070px;
    box-sizing: border-box;
}

.lp-search-box .lp-search-input {
    padding-left: 22px;
}

.lp-search-top-tags .lp-search-discovery-group + .lp-search-discovery-group {
margin-top: 24px;
}

.lp-search-top-tags .lp-search-discovery-group h3 {
margin-bottom: 12px;
}

.lp-search-top-tags .lp-search-chip-row {
gap: 8px 9px;
}

@media (max-width: 980px) {

}

@media (max-width: 719px) {
.lp-search-box {
margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
}

}

.lp-search-results-section {
margin-top: 0;
}

.lp-search-card-button,
.lp-search-card-button:visited {
    border: 1px solid transparent;
}

.lp-search-card-button--primary,
.lp-search-card-button--primary:visited {
    border-color: #f19300;
}

.lp-search-results-count {
font-size:24px;
    color:#203943;
    margin:0;
}

.lp-search-box {
margin-bottom: 0;
}

.lp-search-results-section {
margin: 0 0 36px;
}

.lp-search-position-card {
    min-width: 0;
}

.lp-search-position-card h3 {
margin: 0 0 13px;
    color: #203943;
    font-size: 18px !important;
    line-height: 1.28 !important;
    font-weight: 700;
    text-transform: uppercase;
}

.lp-search-position-card h3 a:hover,
.lp-search-position-card h3 a:focus {
color: #f19300;
}

.lp-search-position-facts span {
display: inline-block;
}

.lp-search-card-button--archive,
.lp-search-card-button--archive:visited {
    border-color: #e2e3e5;
}

.lp-search-card-button--archive:hover,
.lp-search-card-button--archive:focus {
background: #d3d5d8;
    border-color: #d3d5d8;
    color: #203943;
}

@media (max-width: 767px) {
.lp-search-results-header {
display: block;
}

}

.lp-search-results {
    box-sizing:border-box;
}

.lp-search-card-button,
.lp-search-card-button:visited {
    color:#ffffff;
}

.lp-search-top-tags {
padding-top:0;
    padding-left:34px;
}

.lp-search-chip:hover {
    color:#ffffff !important;
}

@media (max-width: 900px) {
.lp-search-results-header {
        margin-bottom:30px;
}

.lp-search-top-tags {
        padding-left:0;
}
}

@media (max-width: 560px) {
.lp-search-results-header-main h1 {
font-size:27px;
}

.lp-search-position-body h3 {
font-size:18px;
}

.lp-search-position-facts div {
grid-template-columns:78px minmax(0,1fr);
}
}

.lp-search-results {
margin-top: 0;
}

.lp-search-section,
.lp-search-results-section {
margin: 0;
}

.lp-search-position-card {
    min-height: 0;
}

.lp-search-position-image img {
    transition: transform .22s ease;
}

.lp-search-position-card:hover .lp-search-position-image img {
transform: scale(1.025);
}

.lp-search-position-body h3 a:hover {
color: #f19300;
    text-decoration: none;
}

.lp-search-card-button--archive:hover {
background: #d7d7d7;
    border-color: #d7d7d7;
    color: #203943;
}

.lp-search-chip:hover {
background: #12313a;
    border-color: #12313a;
    color: #fff;
    text-decoration: none;
}

.lp-search-chip-count {
    text-align: center;
}

@media (max-width: 900px) {

.lp-search-results-header {
grid-template-columns: 1fr;
        gap: 18px;
}

}

body.page-template-templatestemplate-lp-search-php #page-content-title,
body.page-template-template-lp-search-php #page-content-title {
display: none;
}

body.page-template-templatestemplate-lp-search-php .no-breadcrumbs-padding {
padding: 0;
}

.no-breadcrumbs-padding,
body.page-template-template-lp-search-php .no-breadcrumbs-padding {
display: none;
}

.lp-search-template {
width: 100%;
    color: #203943;
}

.lp-search-template .wpb-content-wrapper {
margin-top: 0;
}

.lp-search-template #lp_search_intro_row {
display: none !important;
}

.lp-search-template .vc_row[data-vc-full-width="true"]:has(.lp-search-box) {
    top: -9px;
    margin-top: 0;
    margin-bottom: 0;
}

.lp-search-template .vc_row:not([data-vc-full-width="true"]) {
width: 100%;
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.lp-search-template .vc_row:not([data-vc-full-width="true"]) > .vc_col-sm-8 {
width: 72%;
}

.lp-search-template .vc_row:not([data-vc-full-width="true"]) > .vc_col-sm-4 {
width: 28%;
}

.lp-search-template .vc_col-sm-8 > .vc_column-inner {
padding-right: 22px;
}

.lp-search-template:not(.lp-case-template) .vc_col-sm-4 > .vc_column-inner {
padding-left: 22px;
    border-left: 1px solid #dfe5e8;
}

.lp-search-template .vc_custom_1779788265193 {
margin-top: 20px;
    margin-bottom: 10px;
}

.lp-search-template .vc_custom_1779788265193 p {
margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.lp-search-box {
width: 100vw;
    margin: 0 calc(50% - 50vw) 0;
    padding: 10px max(24px, calc((100vw - 1070px) / 2)) 18px;
    background: #f6f6f6;
    box-sizing: border-box;
}

.lp-search-box .lp-search-asset-count {
width: 100%;
    max-width: 1070px;
    margin: 0 auto 14px;
    color: #203943;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .055em;
    text-align: center !important;
    text-transform: uppercase;
}

.lp-search-box .lp-search-form {
display: flex;
    width: 100%;
    max-width: 910px;
    margin: 0 auto;
    gap: 14px;
    align-items: stretch;
}

.lp-search-box .lp-search-input {
flex: 1 1 auto;
    min-height: 54px;
    height: 48px;
    padding: 0 46px 0 17px;
    border: 1px solid #d8dee2;
    border-radius: 2px;
    background: #ffffff;
    color: #203943;
    font-size: 14px;
    line-height: 48px;
    box-shadow: none;
}

.lp-search-box .lp-search-button {
flex: 0 0 132px;
    min-width: 132px !important;
    min-height: 48px;
    height: 48px;
    padding: 0 22px;
    border-radius: 3px;
    background: #f19300;
    border: 1px solid #f19300;
    color: #ffffff;
    font-size: 15px;
    line-height: 46px;
    font-weight: 700;
}

.lp-search-box .lp-search-query-summary {
display: none;
}

.lp-search-results {
max-width: none;
    margin: 0;
}

.lp-search-results-header {
display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 20px;
    margin: 0 0 22px;
    padding: 0;
}

.lp-search-results-header-main h1,
.lp-search-results-header h1 {
margin: 0 0 7px;
    color: #203943;
    font-size: 29px;
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.lp-search-results-countline {
margin: 0;
    color: #203943;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.lp-search-position-list {
display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 24px !important;
    align-items: start;
}

.lp-search-position-card {
position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe5e8;
    box-shadow: 0 2px 8px rgba(32,57,67,.10);
    color: #203943;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lp-search-position-card:hover {
transform: translateY(-1px);
    border-color: #d4dcdf;
    box-shadow: 0 9px 22px rgba(32,57,67,.14);
}

.lp-search-position-media {
position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #eef2f3;
}

.lp-search-position-image,
.lp-search-position-image:visited {
display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1.82 / 1 !important;
    overflow: hidden;
    background: #eef2f3;
    text-decoration: none;
}

.lp-search-position-image img {
display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.lp-search-position-badge {
position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 2px;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.lp-search-position-badge--current {
    background: #35a853;
}

.lp-search-position-badge--historical {
    background: #f28b20;
}

.lp-search-position-body {
display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 170px !important;
    padding: 14px 14px 14px !important;
    box-sizing: border-box;
}

.lp-search-position-body h3,
.lp-search-position-card h3 {
margin: 0 0 18px !important;
    color: #203943;
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    text-transform: none;
}

.lp-search-position-body h3 a,
.lp-search-position-body h3 a:visited,
.lp-search-position-card h3 a,
.lp-search-position-card h3 a:visited {
color: #203943 !important;
    text-decoration: none !important;
}

.lp-search-position-facts {
display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 0 0 14px;
    color: #203943;
    font-size: 12px;
    line-height: 1.25 !important;
}

.lp-search-position-facts div {
display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 9px;
    align-items: baseline;
    margin: 0;
}

.lp-search-position-facts span {
color: #6f858d;
    font-weight: 400;
}

.lp-search-position-actions {
margin-top: auto;
    padding-top: 10px !important;
}

.lp-search-card-button,
.lp-search-card-button:visited {
display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 9px 12px !important;
    box-sizing: border-box;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .01em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.lp-search-card-button--primary,
.lp-search-card-button--primary:visited {
background: #f19300;
    border: 1px solid #f19300;
    color: #ffffff;
}

.lp-search-card-button--primary:hover,
.lp-search-card-button--primary:focus {
background: #f7a933;
    border-color: #f7a933;
    color: #ffffff;
}

.lp-search-card-button--archive,
.lp-search-card-button--archive:visited {
background: #e2e3e5;
    border: 1px solid #e2e3e5;
    color: #203943;
}

.lp-search-top-tags {
margin-top: 6px !important;
    padding: 0;
    border-left: 0;
    background: transparent;
}

.lp-search-discovery-group {
margin: 0 0 34px;
}

.lp-search-discovery-group h3 {
margin: 0 0 13px;
    color: #6f858d;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.lp-search-chip-row {
display: flex;
    flex-wrap: wrap;
    gap: 9px 10px;
}

.lp-search-chip,
.lp-search-chip:visited {
display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 3px;
    background: #1a3e49;
    border: 1px solid #1a3e49;
    color: #ffffff;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(32,57,67,.18);
}

.lp-search-chip-count {
display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
    color: #ffffff;
    font-size: 9px;
    line-height: 1;
}

@media (max-width: 980px) {
.lp-search-template .vc_row:not([data-vc-full-width="true"]) > .vc_col-sm-8,
.lp-search-template .vc_row:not([data-vc-full-width="true"]) > .vc_col-sm-4 {
width: 100%;
}

.lp-search-template .vc_col-sm-8 > .vc_column-inner,
.lp-search-template .vc_col-sm-4 > .vc_column-inner {
padding-left: 0;
        padding-right: 0;
        border-left: 0;
}

.lp-search-position-list {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.lp-search-top-tags {
margin-top: 36px !important;
}
}

@media (max-width: 719px) {
.lp-search-box {
padding-left: 18px;
        padding-right: 18px;
}

.lp-search-box .lp-search-form {
display: block;
}

.lp-search-box .lp-search-button {
width: 100%;
        min-width: 0 !important;
        margin-top: 8px;
}

.lp-search-results-header {
grid-template-columns: 1fr;
        gap: 14px;
}

.lp-search-position-list {
grid-template-columns: 1fr !important;
}
}

.lp-search-position-list {
gap: 22px 22px;
}

.lp-search-position-image,
.lp-search-position-image:visited {
height: 128px;
}

.lp-search-position-body {
min-height: 184px;
    padding: 13px 14px 14px;
}

.lp-search-position-card h3 {
margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.3;
}

.lp-search-position-facts {
font-size: 12px;
    line-height: 1.38;
}

.lp-search-position-facts div {
margin-bottom: 2px;
}

.lp-search-position-facts span {
min-width: 68px;
    margin-right: 7px;
}

.lp-search-position-actions {
padding-top: 9px;
}

.lp-search-card-button,
.lp-search-card-button:visited {
min-height: 34px;
    padding: 8px 12px;
    font-size: 12px;
}

@media (max-width: 900px) {

}

.lp-search-template .lp-search-position-list {
gap: 24px 22px;
}

.lp-search-template .lp-search-position-image,
.lp-search-template .lp-search-position-image:visited {
height: auto;
    aspect-ratio: 2.08 / 1 !important;
}

.lp-search-template .lp-search-position-body {
min-height: 154px !important;
    padding: 12px 13px 12px !important;
}

.lp-search-template .lp-search-position-body h3,
.lp-search-template .lp-search-position-card h3 {
margin-bottom: 9px !important;
    font-size: 14px !important;
    line-height: 1.24 !important;
}

.lp-search-template .lp-search-position-facts {
gap: 4px;
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.22;
}

.lp-search-template .lp-search-position-facts div {
grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
}

.lp-search-template .lp-search-position-actions {
padding-top: 6px;
}

.lp-search-template .lp-search-card-button,
.lp-search-template .lp-search-card-button:visited {
min-height: 31px;
    padding: 7px 10px;
    font-size: 11px;
}

.lp-search-template .lp-search-results-section {
margin-bottom: 30px;
}

.lp-search-template .lp-search-market-stats {
    position: relative;
    z-index: 1;
}

.lp-search-template .lp-search-market-stats-header {
margin: 0 0 20px;
}

.lp-search-template .lp-search-market-stats-header h2 {
margin: 0 0 8px;
    color: #203943;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.lp-search-template .lp-search-market-stats-header p {
margin: 0;
    color: #6f858d;
    font-size: 14px;
    line-height: 1.45;
}

.lp-search-template .lp-search-market-card {
min-height: 0;
}

.lp-search-template .lp-search-market-bars {
    flex-direction: column;
}

.lp-search-template .lp-search-market-activity-axis {
position: relative;
    top: 7px;
}

.lp-search-template .lp-search-market-stats {
display: block;
    margin: 34px 0 42px;
    clear: both !important;
}

.lp-search-template .lp-search-market-stats-grid {
display: grid;
    align-items: start;
    box-sizing: border-box;
}

.lp-search-template .lp-search-market-card,
.lp-search-template .lp-search-market-card--price,
.lp-search-template .lp-search-market-card--years,
.lp-search-template .lp-search-market-card--regions,
.lp-search-template .lp-search-market-card--makers {
min-width: 0;
    width: auto;
    max-width: none;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.lp-search-template .lp-search-market-card--activity {
grid-column: span 2 !important;
    min-width: 0;
}

.lp-search-template .lp-search-market-card h3 {
margin: 0 0 8px;
    color: #203943;
    font-size: 22px;
    line-height: 1.24;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.lp-search-template .lp-search-market-card > p {
min-height: 15px;
    margin: 0 0 14px;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis !important;
}

.lp-search-template .lp-search-market-bars {
display: grid;
    gap: 10px;
}

.lp-search-template .lp-search-market-bar-row {
display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 8px;
    gap: 6px 14px;
    align-items: center;
}

.lp-search-template .lp-search-market-bar-label {
grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    color: #203943;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-overflow: ellipsis !important;
    white-space: nowrap;
}

.lp-search-template .lp-search-market-bar-count {
grid-column: 2;
    grid-row: 1;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.2;
    text-align: right !important;
    white-space: nowrap;
}

.lp-search-template .lp-search-market-bar-track {
grid-column: 1 / -1;
    grid-row: 2;
    height: 8px;
    overflow: hidden;
    background: #eef2f3;
    border-radius: 999px;
}

.lp-search-template .lp-search-market-bar-track span {
display: block;
    height: 8px;
    min-width: 0;
    max-width: 100%;
    background: #1a3e49;
    border-radius: 999px;
}

.lp-search-template .lp-search-market-card--regions::after,
.lp-search-template .lp-search-market-region-note,
.lp-search-template .lp-stats-region-note {
display: block;
    margin-top: 14px;
    color: #6f858d;
    font-size: 12px;
    font-style: italic !important;
    line-height: 1.45;
    text-align: right !important;
}

.lp-search-template .lp-search-market-activity-chart {
height: 176px;
    margin: 2px 0 8px;
    background: linear-gradient(to bottom, #f2f5f5 0, #f2f5f5 1px, transparent 1px, transparent 33.333%, #f2f5f5 33.333%, #f2f5f5 calc(33.333% + 1px), transparent calc(33.333% + 1px), transparent 66.666%, #f2f5f5 66.666%, #f2f5f5 calc(66.666% + 1px), transparent calc(66.666% + 1px));
}

.lp-search-template .lp-search-market-activity-chart svg {
display: block;
    width: 100%;
    height: 100%;
}

.lp-search-template .lp-search-market-activity-chart polyline {
fill: none !important;
    stroke: #1a3e49 !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    vector-effect: non-scaling-stroke !important;
}

.lp-search-template .lp-search-market-activity-axis {
    justify-content: space-between;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.2;
}

@media (max-width: 1120px) {
.lp-search-template .lp-search-market-stats,
.lp-search-template .lp-search-market-stats-grid {
width: 100%;
        max-width: 100%;
}
}

@media (max-width: 960px) {
.lp-search-template .lp-search-market-stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.lp-search-template .lp-search-market-card--activity {
grid-column: span 2 !important;
}
}

@media (max-width: 767px) {
.lp-search-template .lp-search-market-card,
.lp-search-template .lp-search-market-card--activity {
grid-column: auto;
}

.lp-search-template .lp-search-market-card > p {
white-space: normal !important;
}

.lp-search-template .lp-search-market-card--regions::after,
.lp-search-template .lp-search-market-region-note,
.lp-search-template .lp-stats-region-note {
text-align: left !important;
}
}

.lp-search-template .lp-search-market-card--regions::after,
.lp-search-template .lp-search-market-region-note {
display: none;
    content: none !important;
}

.lp-search-template .lp-search-market-card--regions .lp-search-market-bar-label {
color: #203943;
    font-weight: 700;
    white-space: normal;
}

.lp-search-template .lp-search-market-activity-axis {
display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0;
    align-items: start;
}

.lp-search-template .lp-search-market-activity-axis span {
display: block;
    min-width: 0;
    text-align: center !important;
    white-space: nowrap;
}

.lp-search-template .lp-search-market-activity-axis span:first-child {
text-align: left !important;
}

.lp-search-template .lp-search-market-activity-axis span:last-child {
text-align: right !important;
}

.lp-search-template .lp-search-market-card--regions .lp-search-market-bar-label strong {
color: #203943;
    font-weight: 700;
}

.lp-search-template .lp-search-market-card--regions .lp-search-market-bar-label span {
color: #6f858d;
    font-weight: 400;
}

.lp-search-template .lp-search-market-card--activity .lp-search-market-activity-chart {
margin-top: 8px;
}

.lp-search-template .lp-search-results-header {
grid-template-columns: 1fr;
}

.lp-search-template .lp-search-results-sort {
display: none;
}

.lp-search-more-anchor,
.lp-search-more-anchor:visited {
display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 34px;
    padding: 8px 13px;
    border: 1px solid #d8dee2;
    border-radius: 3px;
    background: #ffffff;
    color: #203943;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.lp-search-more-anchor span {
color: #6f858d;
    font-weight: 400;
}

.lp-search-more-anchor:hover,
.lp-search-more-anchor:focus {
border-color: #f19300;
    color: #f19300;
    text-decoration: none;
}

.lp-search-more-results {
margin-top: 46px;
    padding-top: 4px;
    scroll-margin-top: 24px;
}

.lp-search-more-results-header {
margin: 0 0 18px;
}

.lp-search-more-results-header h2 {
margin: 0 0 6px;
    color: #203943;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-search-more-results-header p {
margin: 0;
    color: #6f858d;
    font-size: 13px;
    line-height: 1.45;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-image,
.lp-search-template .lp-search-position-list--more .lp-search-position-image:visited {
aspect-ratio: 2.18 / 1 !important;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-facts {
gap: 3px;
    margin-bottom: 7px;
    font-size: 10px;
    line-height: 1.22;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-facts div {
grid-template-columns: 56px minmax(0, 1fr);
    gap: 6px;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-badge {
top: 7px;
    left: 7px;
    min-height: 20px;
    padding: 0 7px;
    font-size: 9px;
}

.lp-search-template .lp-search-position-list--more .lp-search-card-button,
.lp-search-template .lp-search-position-list--more .lp-search-card-button:visited {
min-height: 28px;
    padding: 6px 8px;
    font-size: 10px;
}

.lp-search-pagination {
display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 28px 0 0;
}

.lp-search-pagination a,
.lp-search-pagination a:visited,
.lp-search-pagination span {
display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #d8dee2;
    border-radius: 3px;
    background: #ffffff;
    color: #203943;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.lp-search-pagination span:not(.is-active) {
border-color: transparent;
    background: transparent;
    color: #6f858d;
}

.lp-search-pagination .is-active,
.lp-search-pagination a:hover,
.lp-search-pagination a:focus {
border-color: #f19300;
    background: #f19300;
    color: #ffffff;
}

@media (max-width: 719px) {
.lp-search-more-anchor,
.lp-search-more-anchor:visited {
width: 100%;
}
}

.lp-search-template .lp-search-more-results {
width: 1070px;
    max-width: calc(100vw - 40px);
    margin-left: 0;
    margin-right: 0;
}

.lp-search-template .lp-search-position-list--more {
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px 18px;
    width: 100%;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-body {
    padding: 10px 11px 11px !important;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-body h3,
.lp-search-template .lp-search-position-list--more .lp-search-position-card h3 {
margin-bottom: 7px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-facts--compact {
display: block;
    margin: 0 0 8px;
    color: #6f858d;
    font-size: 10px;
}

.lp-search-template .lp-search-pagination--top {
justify-content: flex-start !important;
    margin: 0 0 20px;
}

@media (max-width: 1100px) {
.lp-search-template .lp-search-position-list--more {
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}

@media (max-width: 820px) {
.lp-search-template .lp-search-position-list--more {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}

@media (max-width: 540px) {
.lp-search-template .lp-search-position-list--more {
grid-template-columns: 1fr !important;
}

.lp-search-template .lp-search-pagination--top {
justify-content: center !important;
}
}

.lp-search-template .lp-search-more-results-header {
margin-bottom: 18px;
}

.lp-search-template .lp-search-more-results-headrow {
display: grid !important;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 22px;
}

.lp-search-template .lp-search-more-results-headrow p {
grid-column: 1;
    margin: 0;
}

.lp-search-template .lp-search-more-results-headrow .lp-search-pagination--top {
grid-column: 2;
    justify-content: center !important;
    margin: 0;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-actions {
display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.lp-search-template .lp-search-position-list--more .lp-search-card-button,
.lp-search-template .lp-search-position-list--more .lp-search-card-button:visited {
flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
}

.lp-search-template .lp-search-position-list--more .lp-search-card-button--primary,
.lp-search-template .lp-search-position-list--more .lp-search-card-button--primary:visited {
background: #f19300;
    border-color: #f19300;
    color: #ffffff;
}

.lp-search-template .lp-search-position-list--more .lp-search-card-button--archive,
.lp-search-template .lp-search-position-list--more .lp-search-card-button--archive:visited {
background: #8c989e;
    border-color: #8c989e;
    color: #ffffff;
}

.lp-search-template .lp-search-position-list--more .lp-search-card-button--archive:hover,
.lp-search-template .lp-search-position-list--more .lp-search-card-button--archive:focus {
background: #6f858d;
    border-color: #6f858d;
    color: #ffffff;
}

@media (max-width: 820px) {
.lp-search-template .lp-search-more-results-headrow {
display: block !important;
}

.lp-search-template .lp-search-more-results-headrow .lp-search-pagination--top {
margin-top: 14px;
        justify-content: center !important;
}
}

.lp-search-position-actions {
flex-wrap: nowrap;
    align-items: center;
}

.lp-search-position-actions .lp-search-card-button,
.lp-search-position-actions .lp-search-card-button:visited {
width: auto;
    flex: 1 1 auto;
}

.lp-search-pagination--top {
justify-content: center;
    margin: 0;
}

.lp-search-template .lp-search-results-empty .lp-search-more-results {
margin-top: 0;
    padding-top: 0;
}

.lp-search-template .lp-search-results-empty .lp-search-more-results-header {
margin-bottom: 18px;
}

.lp-search-template .lp-search-results-empty .lp-search-more-results-header h2 {
margin-bottom: 6px;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-body {
min-height: 108px !important;
    padding-bottom: 9px !important;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-facts--compact {
margin-bottom: 0;
    line-height: 1.25;
}

.lp-search-template .lp-search-position-list--more .lp-search-position-actions {
padding-top: 0;
}

.lp-search-template .lp-search-market-stats {
width: 100%;
    max-width: 100%;
    margin-right: 0;
    box-sizing: border-box;
    overflow: visible;
}

.lp-search-template .lp-search-market-stats-grid {
width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 34px;
}

.lp-search-template .lp-search-market-card--regions,
.lp-search-template .lp-search-market-card--makers,
.lp-search-template .lp-search-market-card--activity {
grid-column: auto;
}

@media (min-width: 1180px) {
.lp-search-template .wpb_column:not(:only-child) .lp-search-market-stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 767px) {
.lp-search-template .lp-search-market-stats-grid {
grid-template-columns: 1fr !important;
}
}

.lp-search-template .lp-search-results--structured {
display: block;
    width: 1070px !important;
    max-width: calc(100vw - 40px) !important;
    margin: 0;
    clear: both !important;
    box-sizing: border-box;
    overflow: visible;
}

.lp-search-template .lp-search-layout-row {
display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    width: 100%;
    margin: 0 0 34px;
    box-sizing: border-box;
}

.lp-search-template .lp-search-layout-main,
.lp-search-template .lp-search-layout-side {
min-width: 0;
    width: auto;
    max-width: none;
    box-sizing: border-box;
}

.lp-search-template .lp-search-layout-side .lp-search-top-tags,
.lp-search-template .lp-search-layout-side .lp-search-top-tags--embedded {
display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: static;
    float: none !important;
    clear: none !important;
}

.lp-search-template .lp-search-layout-side .lp-search-chip-row {
display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.lp-search-template .lp-search-layout-stats,
.lp-search-template .lp-search-layout-more {
display: block;
    width: 100%;
    max-width: 100%;
    clear: both !important;
    float: none !important;
    position: relative;
    box-sizing: border-box;
}

.lp-search-template .lp-search-layout-stats .lp-search-market-stats {
display: block;
    width: 100%;
    max-width: 100%;
    margin: 36px 0 42px;
    clear: both !important;
    float: none !important;
    box-sizing: border-box;
}

.lp-search-template .lp-search-layout-stats .lp-search-market-stats-grid {
display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px 34px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lp-search-template .lp-search-layout-stats .lp-search-market-card,
.lp-search-template .lp-search-layout-stats .lp-search-market-card--price,
.lp-search-template .lp-search-layout-stats .lp-search-market-card--years,
.lp-search-template .lp-search-layout-stats .lp-search-market-card--regions,
.lp-search-template .lp-search-layout-stats .lp-search-market-card--makers {
grid-column: auto;
    min-width: 0;
    width: auto;
    max-width: none;
}

.lp-search-template .lp-search-layout-stats .lp-search-market-card--activity {
grid-column: auto !important;
    min-width: 0;
    width: auto;
    max-width: none;
}

.lp-search-template .lp-search-layout-more .lp-search-more-results {
display: block;
    width: 100%;
    max-width: 100%;
    margin: 44px 0 0;
    clear: both !important;
    float: none !important;
    box-sizing: border-box;
}

.lp-search-template .lp-search-layout-more .lp-search-position-list--more {
display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
.lp-search-template .lp-search-results--structured {
width: 100% !important;
        max-width: 100% !important;
}

.lp-search-template .lp-search-layout-more .lp-search-position-list--more {
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}

@media (max-width: 900px) {
.lp-search-template .lp-search-layout-row,
.lp-search-template .lp-search-layout-stats .lp-search-market-stats-grid {
grid-template-columns: 1fr;
}

.lp-search-template .lp-search-layout-stats .lp-search-market-card--activity {
grid-column: auto !important;
}

.lp-search-template .lp-search-layout-more .lp-search-position-list--more {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}

@media (max-width: 540px) {
.lp-search-template .lp-search-layout-more .lp-search-position-list--more {
grid-template-columns: 1fr !important;
}
}

.lp-search-results.is-loading {
opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.lp-search-results {
position: relative;
}

.lp-search-results.is-loading {
cursor: progress;
}

@keyframes lpSearchCurrentPulse {
0%   { box-shadow: 0 0 0 0 rgba(46,184,92,.28); transform: scale(1); }
    55%  { box-shadow: 0 0 0 8px rgba(46,184,92,0); transform: scale(1.018); }
    100% { box-shadow: 0 0 0 0 rgba(46,184,92,0); transform: scale(1); }
}

.lp-search-position-facts--compact {
display: block;
    margin: 0 0 10px;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.35;
}

.lp-search-position-start-price {
margin: 0 0 10px;
    color: #203943;
    font-size: 12px;
    line-height: 1.35;
}

.lp-search-position-start-price strong {
font-size: 13px;
    font-weight: 700;
}

.lp-search-card-button--project,
.lp-search-card-button--project:visited {
background: #8c989e;
    border: 1px solid #8c989e;
    color: #ffffff;
}

.lp-search-card-button--project:hover,
.lp-search-card-button--project:focus {
background: #6f858d;
    border-color: #6f858d;
    color: #ffffff;
}

.lp-search-result-group + .lp-search-result-group {
margin-top: 34px;
    padding-top: 28px;
    border-top: 5px solid #eef1f2;
}

.lp-search-result-group-header {
margin: 0 0 16px;
}

.lp-search-result-group-header h2 {
margin: 0;
    color: #203943;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
}

.lp-search-result-group-header p {
margin: 6px 0 0;
    color: #6f858d;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 700px) {

}

.lp-search-context-notice {
margin: 0 0 24px;
    padding: 18px 20px;
    background: #f8fafb;
    border-left: 4px solid #8c989e;
}

.lp-search-context-notice--current {
background: #f7fff9;
    border-left-color: #52b96a;
}

.lp-search-context-notice--sold {
background: #fffaf2;
    border-left-color: #f19300;
}

.lp-search-context-notice h2 {
margin: 0 0 7px;
    color: #203943;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.lp-search-context-notice p {
margin: 0;
    color: #5f737c;
    font-size: 13px;
    line-height: 1.55;
}

.lp-search-template .lp-search-position-card--historical .lp-search-card-button--details,
.lp-search-template .lp-search-position-card--historical .lp-search-card-button--details:visited,
.lp-search-template .lp-search-position-list--more .lp-search-position-card--historical .lp-search-card-button--details,
.lp-search-template .lp-search-position-list--more .lp-search-position-card--historical .lp-search-card-button--details:visited {
background: #1a3e49;
    border-color: #1a3e49;
    color: #ffffff;
}

.lp-search-template .lp-search-position-card--historical .lp-search-card-button--details:hover,
.lp-search-template .lp-search-position-card--historical .lp-search-card-button--details:focus {
background: #12313a;
    border-color: #12313a;
    color: #ffffff;
}

.lp-search-template .lp-search-results-section > .lp-search-result-group--sold .lp-search-position-card--historical .lp-search-position-image,
.lp-search-template .lp-search-results-section > .lp-search-result-group--sold .lp-search-position-card--historical .lp-search-position-image:visited {
aspect-ratio: 2.8 / 1 !important;
}

.lp-search-template .lp-search-results-section > .lp-search-result-group--sold .lp-search-position-card--historical .lp-search-position-body {
min-height: 116px !important;
}

/* Project detail — new architecture */
.lp-project-layout--hero .vc_column_container>.vc_column-inner{padding-left:0;padding-right:0}.lp-project-layout--hero .wpb_content_element{margin-bottom:0}.lp-project-hero{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;overflow:hidden}.lp-project-hero__item{display:block;aspect-ratio:4/3;overflow:hidden}.lp-project-hero__image{display:block;width:100%;height:100%;object-fit:cover}@media(max-width:767px){.lp-project-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-project-hero__item:nth-child(n+3){display:none}}

/* Project detail — header + logo (new architecture) */
.lp-project-layout--header{padding-top:20px;padding-bottom:22px}.lp-project-layout--header .wpb_content_element{margin-bottom:0}.lp-project-header{max-width:680px}.lp-project-header__eyebrow{margin-bottom:7px;color:#f19300;font-size:13px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase}.lp-project-header__title{margin:0 0 12px;color:#203943;font-size:38px!important;line-height:1.16;font-weight:400}.lp-project-header__highlights{max-width:620px;margin:0;color:#5f737c;font-size:14px;line-height:1.55}.lp-project-header__highlights strong{color:#203943;font-weight:700}.lp-project-header__highlights a,.lp-project-header__highlights a:visited{color:inherit;text-decoration:none}.lp-project-header__highlights a:hover{color:#f19300;text-decoration:none}.lp-project-layout__header-logo>.vc_column-inner{height:100%}.lp-project-layout__logo-content{height:100%;margin-bottom:0}.lp-project-layout__logo-content>.wpb_wrapper{height:100%;display:flex;align-items:center;justify-content:center}.lp-project-logo{width:100%;height:98px;display:flex;align-items:center;overflow:hidden}.lp-project-logo__image{display:block;width:100%;max-width:380px!important;max-height:98px!important;height:auto!important;object-fit:contain}@media(max-width:900px){.lp-project-header{max-width:none}.lp-project-layout__logo-content>.wpb_wrapper{justify-content:flex-start}.lp-project-logo{width:260px;height:70px;}.lp-project-logo__image{max-width:260px!important;max-height:70px!important}.lp-project-header__title{font-size:32px!important}}

/* Project detail — appraisal, sale + CTA (new architecture) */
.lp-project-layout--overview{padding-top:24px}.lp-project-layout__status .wpb_content_element,.lp-project-layout__aside-content{margin-bottom:0}.lp-project-status-card{position:relative;min-height:185px;padding:20px 22px;border:1px solid #e3e8ea;background:#fff}.lp-project-layout__status-appraisal .vc_column-inner{padding-right:7px}.lp-project-layout__status-sale .vc_column-inner{padding-left:7px}.lp-project-status-card__pill--current .fa-circle{font-size:7px}.lp-project-cta{padding:20px 22px 22px;background:#f5f7f8;border:1px solid #e3e8ea;text-align:left}.lp-project-cta__label{color:#829198;font-size:12px;line-height:1.3;text-transform:uppercase;letter-spacing:.06em}.lp-project-cta__date{margin-top:4px;color:#203943;font-size:21px;line-height:1.25;font-weight:600}.lp-project-cta__time{margin-top:2px;color:#5f737c;font-size:13px}.lp-project-cta__button,.lp-project-cta__button:visited{display:block;margin-top:16px;padding:12px 15px;background:#f19300;color:#fff;font-size:13px;line-height:1.2;font-weight:700;text-align:center;text-decoration:none}.lp-project-cta__button:hover{background:#f7a933;color:#fff}@media(max-width:767px){.lp-project-layout__status-appraisal .vc_column-inner,.lp-project-layout__status-sale .vc_column-inner{padding-left:15px;padding-right:15px}.lp-project-layout__status-sale{margin-top:12px}.lp-project-cta{margin-top:16px}}

/* Project detail — overview sidebar (new architecture) */
.lp-project-sidebar{margin-top:18px;padding:20px 22px;background:#f5f7f8;border:1px solid #e3e8ea}.lp-project-layout__aside-content .lp-project-sidebar:first-child{margin-top:0}

/* =========================================================
   Project detail tabs — Step 1687 — CSS-only
========================================================= */
.lp-project-tabs{width:100%}
.lp-project-tabs__nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.lp-project-tabs__input{position:absolute!important;left:-9999px!important}
.lp-project-tabs__button{display:inline-flex;align-items:center;gap:9px;min-height:50px;padding:0 20px;border:1px solid #d8dfe2;background:#e9edef;color:#65777e;cursor:pointer}
.lp-project-tabs__input:checked + .lp-project-tabs__button{background:#f5f7f8;color:#203943;border-top:3px solid #f19300}
.lp-project-tabs__panels{border:1px solid #d8dfe2;background:#f5f7f8;padding:22px}
.lp-project-tabs__panel{display:none}
.lp-project-tabs:has(.lp-project-tabs__input:nth-of-type(1):checked) .lp-project-tabs__panel:nth-child(1),
.lp-project-tabs:has(.lp-project-tabs__input:nth-of-type(2):checked) .lp-project-tabs__panel:nth-child(2),
.lp-project-tabs:has(.lp-project-tabs__input:nth-of-type(3):checked) .lp-project-tabs__panel:nth-child(3),
.lp-project-tabs:has(.lp-project-tabs__input:nth-of-type(4):checked) .lp-project-tabs__panel:nth-child(4){display:block}
.lp-project-tabs__panel p{margin:0 0 9px}
.lp-project-tabs__panel h3{margin:0 0 12px}
.lp-project-tabs__panel a{color:#f19300;text-decoration:none}

/* Project top positions: shared Search position cards, project-specific block layout.
   Migrated from the last working legacy project CSS; card styling stays canonical/shared. */
.lp-case-top-positions {
    margin-top: 44px;
}

.lp-case-section-header.lp-case-top-positions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin: 0 0 22px;
}

.lp-case-top-positions-header h2 {
    margin: 0 0 8px;
    color: #203943;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-case-top-positions-header p {
    margin: 0;
    color: #6f858d;
    font-size: 15px;
    line-height: 1.72;
}

.lp-case-top-positions-header p strong {
    color: #203943;
    font-weight: 700;
}

.lp-case-top-positions-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    text-align: right;
}

.lp-case-top-positions-summary strong {
    color: #203943;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-case-top-positions-summary a,
.lp-case-top-positions-summary a:visited,
.lp-case-top-positions-footer a,
.lp-case-top-positions-footer a:visited {
    display: inline-block;
    padding: 8px 12px;
    background: #2f9e44;
    border: 1px solid #2f9e44;
    border-radius: 4px;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.lp-case-top-positions-summary a:hover,
.lp-case-top-positions-footer a:hover {
    background: #55a965;
    border-color: #55a965;
    color: #ffffff;
}

/* Same card/list classes as Search; only the project grid density differs. */
.lp-case-top-positions .lp-search-position-list {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.lp-case-top-positions-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

@media (max-width: 1100px) {
    .lp-case-top-positions .lp-search-position-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .lp-case-section-header.lp-case-top-positions-header {
        display: block;
    }

    .lp-case-top-positions-summary {
        align-items: flex-start;
        margin-top: 14px;
        text-align: left;
    }

    .lp-case-top-positions .lp-search-position-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .lp-case-top-positions-footer {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .lp-case-top-positions .lp-search-position-list {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   Step 1691: Project market — same market component classes as Search
========================================================= */
.lp-case-market-stats {
    width: 100%;
    max-width: 100%;
    margin: 34px 0 40px;
}

.lp-case-market-stats .lp-search-market-stats-header {
    margin: 0 0 20px;
}

.lp-case-market-stats .lp-search-market-stats-header h2 {
    margin: 0 0 8px;
    color: #203943;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.lp-case-market-stats .lp-search-market-stats-header p {
    margin: 0;
    color: #6f858d;
    font-size: 14px;
    line-height: 1.45;
}

.lp-case-market-stats .lp-search-market-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    align-items: start;
}

.lp-case-market-stats .lp-search-market-card {
    background: transparent;
    border: 0;
    padding: 0;
    min-height: 0;
    box-shadow: none;
}

.lp-case-market-stats .lp-search-market-card h3 {
    margin: 0 0 14px;
    color: #203943;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.lp-case-market-stats .lp-search-market-card > p {
    margin: -7px 0 16px;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.25;
}

.lp-case-market-stats .lp-search-market-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-case-market-stats .lp-search-market-bar-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 8px;
    align-items: center;
    column-gap: 16px;
    row-gap: 6px;
}

.lp-case-market-stats .lp-search-market-bar-label {
    grid-column: 1;
    grid-row: 1;
    color: #203943;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.lp-case-market-stats .lp-search-market-bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 8px;
    background: #eef1f2;
    border-radius: 999px;
    overflow: hidden;
}

.lp-case-market-stats .lp-search-market-bar-track span {
    display: block;
    height: 100%;
    background: #143f49;
    border-radius: 999px;
}

.lp-case-market-stats .lp-search-market-bar-count {
    grid-column: 2;
    grid-row: 1;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .lp-case-market-stats .lp-search-market-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Project detail — related projects 2-column grid
   Migrated from legacy z_lp-components.css
========================================================= */

/* =========================================================
   Project detail — related project cards
   Exact legacy archive-card presentation, scoped to related projects.
   Migrated from z_lp-components.css steps 656, 659–662, 1082.
========================================================= */
.lp-case-related-projects.lp-archive-auctions--cases {
    margin-top: 0;
}

.lp-case-related-projects.lp-archive-auctions--cases .lp-case-related-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
    margin-top: 20px;
}

.lp-case-related-projects .lp-archive-case-card {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    column-gap: 18px !important;
    align-items: start;
    min-height: 164px !important;
    padding: 16px 18px 14px !important;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e1e7ea;
    border-radius: 6px;
    border-bottom: 1px solid #e1e7ea;
    background: #ffffff;
    color: #203943;
    box-shadow: 0 1px 2px rgba(32,57,67,0.035);
    box-sizing: border-box;
}

.lp-case-related-projects .lp-archive-case-main {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.lp-case-related-projects .lp-archive-case-title {
    margin: 0 0 10px;
    color: #143c49;
    font-size: 17px;
    line-height: 1.24;
    font-weight: 700;
}

.lp-case-related-projects .lp-archive-case-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 11px;
    color: #203943;
    font-size: 14px;
    line-height: 1.35;
}

.lp-case-related-projects .lp-archive-case-facts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lp-case-related-projects .lp-archive-case-facts i {
    color: #143c49;
    font-size: 14px;
}

.lp-case-related-projects .lp-archive-case-separator {
    color: #9aa7ac;
    gap: 0;
}

.lp-case-related-projects .lp-archive-case-summary-line {
    margin: 0 0 10px;
    color: #203943;
    font-size: 13px;
    line-height: 1.55;
}

.lp-case-related-projects .lp-archive-case-summary-line strong {
    display: inline;
    margin: 0;
    color: #102f3a;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

.lp-case-related-projects .lp-archive-case-summary-line span {
    display: inline;
}

.lp-case-related-projects .lp-archive-topic-link,
.lp-case-related-projects .lp-archive-topic-link:visited {
    color: inherit;
    text-decoration: none;
    border-bottom: 0;
}

.lp-case-related-projects .lp-archive-topic-link:hover,
.lp-case-related-projects .lp-archive-topic-link:focus {
    color: inherit;
    text-decoration: none;
}

.lp-case-related-projects .lp-archive-case-badge {
    display: none;
}

.lp-case-related-projects .lp-archive-case-card--has-logo .lp-archive-case-type {
    display: none;
}

.lp-case-related-projects .lp-archive-case-card:not(.lp-archive-case-card--has-logo) .lp-archive-case-type {
    grid-column: 1;
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
    padding-top: 92px !important;
}

.lp-case-related-projects .lp-archive-case-card:not(.lp-archive-case-card--has-logo) .lp-archive-case-icon {
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
    height: 62px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #f8f8f8;
    color: #143c49;
    font-size: 30px !important;
    line-height: 1;
}

.lp-case-related-projects .lp-archive-case-footer {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.lp-case-related-projects .lp-archive-case-actions {
    position: absolute;
    top: 16px !important;
    left: 18px !important;
    width: 94px;
    min-width: 94px;
    max-width: 94px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 7px;
    z-index: 2;
}

.lp-case-related-projects .lp-archive-action-link,
.lp-case-related-projects .lp-archive-action-link:visited,
.lp-case-related-projects .lp-case-related-project-link,
.lp-case-related-projects .lp-case-related-project-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 94px;
    min-width: 94px;
    max-width: 94px;
    min-height: 31px;
    margin: 0;
    padding: 7px 8px;
    border: 1px solid #1a3e49;
    border-radius: 4px;
    background: #1a3e49;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.lp-case-related-projects .lp-archive-action-link:hover,
.lp-case-related-projects .lp-case-related-project-link:hover {
    background: #12313a;
    border-color: #12313a;
    color: #ffffff;
}

.lp-case-related-projects .lp-archive-case-card--has-logo .lp-archive-case-logo-wrap {
    position: absolute;
    top: 92px !important;
    left: 18px !important;
    width: 94px !important;
    min-width: 94px !important;
    max-width: 94px !important;
    height: 62px !important;
    flex: 0 0 94px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-case-related-projects .lp-archive-case-card--has-logo .lp-archive-case-logo {
    display: block;
    max-width: 128% !important;
    max-height: 128% !important;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(1.24) !important;
    transform-origin: center center;
}

@media (max-width: 980px) {
    .lp-case-related-projects.lp-archive-auctions--cases .lp-case-related-project-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .lp-case-related-projects .lp-archive-case-card {
        grid-template-columns: 78px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        min-height: 150px !important;
        padding: 14px !important;
    }

    .lp-case-related-projects .lp-archive-case-actions,
    .lp-case-related-projects .lp-archive-action-link,
    .lp-case-related-projects .lp-archive-action-link:visited,
    .lp-case-related-projects .lp-case-related-project-link,
    .lp-case-related-projects .lp-case-related-project-link:visited {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
    }

    .lp-case-related-projects .lp-archive-case-actions {
        top: 14px !important;
        left: 14px !important;
    }

    .lp-case-related-projects .lp-archive-case-card--has-logo .lp-archive-case-logo-wrap {
        top: 84px !important;
        left: 14px !important;
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        height: 50px !important;
        flex-basis: 70px;
    }

    .lp-case-related-projects .lp-archive-case-card--has-logo .lp-archive-case-logo {
        max-width: 120% !important;
        max-height: 120% !important;
        transform: scale(1.14) !important;
    }

    .lp-case-related-projects .lp-archive-case-card:not(.lp-archive-case-card--has-logo) .lp-archive-case-type {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        padding-top: 84px !important;
    }

    .lp-case-related-projects .lp-archive-case-card:not(.lp-archive-case-card--has-logo) .lp-archive-case-icon {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        height: 50px !important;
        font-size: 26px !important;
    }
}

/* Projekt obere Hälfte: bewährtes ALT-Layout aus z_lp-components.css */
.lp-project-layout--overview .lp-project-status-card{min-height:245px;padding:22px 22px 20px;background:#fff;border:1px solid #dde5e8;border-top:4px solid #f19300;color:#203943;box-sizing:border-box}
.lp-project-layout--overview .lp-project-appraisal{border-top-color:#27a844!important}.lp-project-layout--overview .lp-project-sale{border-top-color:#2d74da!important}
.lp-project-status-card__kicker{margin:0 0 7px;color:#8a9aa1;font-size:11px;line-height:1.25;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.lp-project-status-card h2{margin:0 0 15px;color:#203943;font-size:19px;line-height:1.16;font-weight:400}
.lp-project-status-card__pill{display:inline-flex;align-items:center;gap:8px;min-height:30px;margin:0 0 16px;padding:6px 11px;border-radius:8px;font-size:13px;line-height:1.1;font-weight:700;box-sizing:border-box}
.lp-project-status-card__pill--done{background:#eaf8ee;border:1px solid #2eb85c;color:#168237}.lp-project-status-card__pill--current{background:#edf4ff;border:1px solid #2d74da;color:#1b62c8}
.lp-project-status-card p{position:relative;margin:0 0 7px;padding-left:15px;color:#5f737c;font-size:14px;line-height:1.42}.lp-project-status-card p:before{content:'';position:absolute;left:0;top:.68em;width:5px;height:5px;border-radius:50%;background:#f19300}
.lp-case-status-indicators--bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px;margin-top:16px}.lp-case-status-indicator-head{margin:0 0 6px}.lp-case-status-indicator-head span{display:block;color:#7d8f97;font-size:10px;line-height:1.2;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.lp-case-status-bar--continuous{position:relative!important;display:block;width:100%;height:8px;margin:0;overflow:hidden;background:#fff;border:1px solid #cfd9dd;border-radius:0;box-sizing:border-box}.lp-case-status-bar--continuous span{display:block;height:100%;min-width:2px;background:#bbb;border:0;border-radius:0}
.lp-project-cta.lp-case-sidebar-cta{height:245px;min-height:245px;max-height:245px;padding:20px 18px 22px;margin:0 0 36px;background:#f8f8f8;border:0;border-top:3px solid #bbb;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;text-align:center!important}.lp-case-sidebar-cta-icon{margin:0 0 10px;color:#203943;font-size:32px}.lp-case-sidebar-deadline{margin:0 0 20px;text-align:center!important}.lp-case-sidebar-deadline span{display:block;margin:0 0 4px;color:#6f858d;font-size:11px;line-height:1.25;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.lp-case-sidebar-deadline strong{display:block;color:#203943;font-size:30px;line-height:1.08;font-weight:400}.lp-case-sidebar-deadline em{display:block;margin-top:4px;color:#5f737c;font-size:13px;font-style:normal!important}.lp-case-sidebar-bid-button{display:block;width:100%;margin:0 0 14px;padding:10px 14px;background:#f19300;border:1px solid #f19300;color:#fff;text-align:center!important;text-decoration:none;font-weight:700;box-sizing:border-box}.lp-case-sidebar-register-link,.lp-case-sidebar-register-link:visited{margin:0;color:#203943;font-size:13px;line-height:1.25;text-decoration:none}
.lp-project-sidebar__title{margin:0 0 16px;color:#203943;font-size:18px;line-height:1.25;font-weight:600;text-transform:uppercase}.lp-project-sidebar__row{padding:11px 0;border:0;border-top:1px solid #dfe5e8}.lp-project-sidebar__row:first-child{padding-top:0;border-top:0}.lp-project-sidebar__head{display:flex;align-items:center;gap:8px;margin-bottom:4px;color:#829198;font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:.05em}.lp-project-sidebar__head i{width:15px;color:#8a9aa1;text-align:center!important}.lp-project-sidebar__value{padding-left:23px;color:#203943;font-size:13px;line-height:1.45}
.lp-project-contact{margin:14px 0 0;padding:0;border:0;background:transparent}.lp-project-contact__image{display:block;width:100%;height:auto;margin:0 0 18px;object-fit:cover}.lp-project-contact__body{padding:0!important}.lp-project-contact__heading{margin:0 0 12px;color:#203943;font-size:18px;line-height:1.25;font-weight:400;text-transform:uppercase}.lp-project-contact__body strong,.lp-project-contact__body span,.lp-project-contact__body a{display:block!important;color:#5f737c!important;font-size:13px!important;line-height:1.45!important;text-decoration:none!important}.lp-project-contact__body strong{color:#203943!important;font-weight:700!important}.lp-project-contact__save{margin-top:8px;color:#f19300;font-weight:700}
.lp-project-tabs{margin:10px 0 34px;color:#203943}.lp-project-tabs-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0}.lp-project-tab-label{display:inline-flex;align-items:center;gap:8px;padding:11px 15px 10px;border:1px solid #e5e5e5;border-bottom:0!important;background:#fff;color:#203943;font-size:14px;line-height:1.2;font-weight:400;cursor:pointer;box-sizing:border-box}.lp-project-tab-label i.fa{color:#f19300}.lp-project-tab-input:checked + .lp-project-tab-label{background:#f8f8f8;border-top:3px solid #f19300;padding-top:9px;color:#203943}.lp-project-tabs-panels{border:1px solid #e5e5e5;background:#f8f8f8;padding:24px 24px 22px!important;box-sizing:border-box}.lp-project-tab-panel{display:none}.lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(1),.lp-project-tabs:has(.lp-project-tab-input:nth-of-type(2):checked) .lp-project-tab-panel:nth-child(2),.lp-project-tabs:has(.lp-project-tab-input:nth-of-type(3):checked) .lp-project-tab-panel:nth-child(3),.lp-project-tabs:has(.lp-project-tab-input:nth-of-type(4):checked) .lp-project-tab-panel:nth-child(4){display:block}
@media(max-width:767px){.lp-case-status-indicators--bars{grid-template-columns:1fr!important}.lp-project-tab-label{width:100%;border-bottom:1px solid #e5e5e5!important}.lp-project-tabs-panels{padding:18px!important}}

/* =========================================================
   1699 — project overview parity with last working legacy page
   Layout, sidebar and tabs are the existing legacy visual system,
   adapted only to the new WPBakery wrappers / CSS-only tabs.
========================================================= */

/* WPBakery owns the project page column geometry.
   Do not turn the overview wrapper itself into a grid: on the live page this class
   sits inside the main WPBakery column, so doing so destroys the 2/3 + 1/3 layout.
   Only neutralise the unwanted separators here. */
.lp-project-layout--header {
    border-bottom: 0;
}
.lp-project-layout--overview {
    border: 0;
}
.lp-project-layout__main > .vc_column-inner,
.lp-project-layout__aside > .vc_column-inner,
.lp-project-layout__main-content,
.lp-project-layout__aside-content {
    border: 0;
    box-shadow: none;
}

/* The nested status row keeps the old 16px gap without WPBakery side drift. */
.lp-project-layout__status {
    margin-left: 0;
    margin-right: 0;
}
.lp-project-layout__status-appraisal,
.lp-project-layout__status-sale {
    padding: 0;
}
.lp-project-layout__status-appraisal > .vc_column-inner { padding: 0 8px 0 0; }
.lp-project-layout__status-sale > .vc_column-inner { padding: 0 0 0 8px; }

/* CTA: old box, but deadline is deliberately a little smaller so a German date stays on one line. */
.lp-project-cta.lp-case-sidebar-cta {
    width: 100%;
}
.lp-project-cta.lp-case-sidebar-cta .lp-case-sidebar-deadline strong {
    font-size: 24px !important;
    line-height: 1.08;
    white-space: nowrap;
}

/* Sidebar — last working legacy appearance: quiet grey column, no card/border treatment. */
.lp-project-sidebar.lp-case-meta-sidebar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 18px 28px;
    background: #f8f8f8;
    border: 0;
    box-shadow: none;
    color: #203943;
    box-sizing: border-box;
}

.lp-project-sidebar .lp-project-sidebar__title {
    margin: 0 0 16px;
    color: #203943;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
}

.lp-project-sidebar .lp-project-sidebar__row {
    margin: 0 0 9px;
    padding: 0;
    border: 0;
}
.lp-project-sidebar .lp-project-sidebar__row:last-child { margin-bottom: 0; }

.lp-project-sidebar .lp-project-sidebar__head {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #203943;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}
.lp-project-sidebar .lp-project-sidebar__head i {
    width: 15px;
    flex: 0 0 15px;
    margin-top: 2px;
    color: #203943;
    font-size: 13px;
    line-height: 1;
    text-align: center !important;
}
.lp-project-sidebar .lp-project-sidebar__value {
    margin-top: 1px;
    padding-left: 24px;
    color: #203943;
    font-size: 13px;
    line-height: 2;
}

/* Contact inside the sidebar follows the old full-width image + plain text block. */
.lp-project-sidebar .lp-project-contact {
    margin: 24px -18px 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.lp-project-sidebar .lp-project-contact__image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 0 26px;
    padding: 0;
    object-fit: cover;
}
.lp-project-sidebar .lp-project-contact__body {
    padding: 0 18px !important;
}
.lp-project-sidebar .lp-project-contact__heading {
    margin: 0 0 20px;
    color: #203943;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
}
.lp-project-sidebar .lp-project-contact__body strong,
.lp-project-sidebar .lp-project-contact__body span,
.lp-project-sidebar .lp-project-contact__body a {
    display: block !important;
    color: #203943 !important;
    font-size: 13px !important;
    line-height: 2 !important;
    text-decoration: none !important;
}
.lp-project-sidebar .lp-project-contact__body strong { font-weight: 700 !important; }

.lp-project-sidebar .lp-project-contact__save,
.lp-project-sidebar .lp-project-contact__save:visited {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    color: #203943;
}
.lp-project-sidebar .lp-project-contact__save img {
    width: 24px;
    height: 24px;
    margin: 0;
    object-fit: contain;
}

/* Tabs — old content/layout, interaction stays CSS-only. */
.lp-project-tabs.lp-case-project-tabs {
    margin: 26px 0 34px;
}
.lp-project-tabs .lp-case-project-tabs-nav {
    display: flex !important;
    align-items: stretch;
    gap: 8px;
    margin: 0 0 8px;
}
.lp-project-tabs .lp-project-tab-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 11px 19px;
    border: 1px solid #d8dee2;
    background: #e5e5e5;
    color: #777;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    cursor: pointer;
    box-sizing: border-box;
}
.lp-project-tabs .lp-project-tab-label i.fa {
    color: #8c989e;
}
.lp-project-tabs .lp-project-tab-input:checked + .lp-project-tab-label {
    padding-top: 11px;
    border: 1px solid #d8dee2;
    background: #f8f8f8;
    color: #203943;
}
.lp-project-tabs .lp-project-tab-input:checked + .lp-project-tab-label i.fa {
    color: #203943;
}
.lp-project-tabs .lp-case-project-tabs-panels {
    min-height: 220px;
    padding: 24px 20px 22px;
    border: 1px solid #d8dee2;
    background: #f8f8f8;
    box-sizing: border-box;
}
.lp-project-tabs .lp-case-tab-lines,
.lp-project-tabs .lp-case-tab-templatera,
.lp-project-tabs .lp-case-tab-links-content {
    color: #203943;
    font-size: 13px;
    line-height: 1.55;
}
.lp-project-tabs .lp-case-tab-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 7px;
}
.lp-project-tabs .lp-case-tab-line i.fa,
.lp-project-tabs .lp-case-tab-icon-spacer {
    width: 14px;
    flex: 0 0 14px;
    margin-top: 3px;
    color: #203943;
    text-align: center !important;
}
.lp-project-tabs .lp-case-tab-line a,
.lp-project-tabs .lp-case-tab-line a:visited {
    color: #f19300;
    text-decoration: none;
}
.lp-project-tabs .lp-case-tab-cta {
    margin: 30px 0 20px;
    text-align: center !important;
}
.lp-project-tabs .lp-case-tab-bid-button,
.lp-project-tabs .lp-case-tab-bid-button:visited {
    display: inline-block;
    min-width: 278px;
    padding: 10px 18px;
    background: #f19300;
    border: 1px solid #f19300;
    color: #fff;
    font-weight: 700;
    text-align: center !important;
    text-decoration: none;
    box-sizing: border-box;
}
.lp-project-tabs .lp-case-tab-link-block {
    margin-top: 4px;
}
.lp-project-tabs .lp-case-tab-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr) !important;
    gap: 22px;
    align-items: stretch;
}
.lp-project-tabs .lp-case-tab-address {
    margin-top: 18px;
}
.lp-project-tabs .lp-case-tab-map,
.lp-project-tabs .lp-case-tab-map iframe {
    width: 100%;
    min-height: 235px;
    height: 100%;
    border: 0;
}
.lp-project-tabs .lp-case-tab-links-content {
    margin-top: 12px;
}

@media (max-width: 760px) {
    .lp-project-layout__status-appraisal > .vc_column-inner,
    .lp-project-layout__status-sale > .vc_column-inner { padding: 0; }
    .lp-project-layout__status-sale { margin-top: 12px !important; }
    .lp-project-tabs .lp-case-project-tabs-nav { display: grid !important; grid-template-columns: 1fr 1fr; }
    .lp-project-tabs .lp-project-tab-label { width: 100%; }
    .lp-project-tabs .lp-case-tab-location-grid { grid-template-columns: 1fr !important; }
    .lp-project-cta.lp-case-sidebar-cta .lp-case-sidebar-deadline strong { font-size: 24px !important; }
}

/* final alignment for the tested LIKUM reference state */
/* Header logo: keep the existing size, but anchor it in the upper-right of its WPBakery column. */
.lp-project-layout__logo-content > .wpb_wrapper {
    align-items: flex-start !important;
    justify-content: flex-end !important;
}
.lp-project-logo {
    justify-content: flex-end !important;
    padding-top: 24px !important;
    box-sizing: border-box !important;
}
.lp-project-logo__image {
    object-position: right center !important;
}

/* Status trio: all three tiles share one height on desktop. */
@media (min-width: 768px) {
    .lp-project-layout--overview .lp-project-status-card,
    .lp-project-cta.lp-case-sidebar-cta {
        height: 262px;
        min-height: 262px;
        max-height: 262px;
    }
}

/* When there is no archive notice between intro and body copy, remove the WPBakery-sized visual gap. */
.lp-project-intro-text {
    margin-bottom: 10px;
}
.lp-project-main-text {
    margin-top: 0;
}
.wpb_content_element:has(.lp-project-intro-text) {
    margin-bottom: 10px !important;
}
.wpb_content_element:has(.lp-project-main-text) {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    .lp-project-layout__logo-content > .wpb_wrapper {
        justify-content: flex-start !important;
    }
    .lp-project-logo {
        padding-top: 0 !important;
        justify-content: flex-start !important;
    }
    .lp-project-logo__image {
        object-position: left center !important;
    }
}

/* restore the proven legacy header-logo geometry (z_lp-components.css Step 831), adapted to new classes. */
@media (min-width: 901px) {
    .lp-project-layout__logo-content > .wpb_wrapper {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
    }
    .lp-project-logo {
        width: 340px !important;
        max-width: 340px;
        min-width: 340px;
        height: 130px !important;
        max-height: 130px;
        padding: 0;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .lp-project-logo__image {
        width: 100% !important;
        min-width: 0;
        max-width: 340px !important;
        max-height: 130px !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        filter: none;
        opacity: 1;
    }
    /* Neutralise the experimental column shift from 1702. */
    .lp-project-layout__header-logo {
        transform: none !important;
    }
}

/* Empty archive shortcode: it sits between intro and portrait inside the SAME WPBakery text wrapper.
   Remove only the two wpautop <br> elements directly around its hidden marker. */
br:has(+ .lp-project-archive-row-empty),
.lp-project-archive-row-empty + br {
    display: none !important;
}

/* Never hide a WPBakery row merely because it contains the archive marker. */
.vc_row:has(> .wpb_column:only-child > .vc_column-inner > .wpb_wrapper > .lp-project-archive-row-empty:only-child) {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* project header logo layering.
   Keep the shared whitespace compensation, but slightly reduce the visual logo size.
   The logo layer sits behind both hero imagery and header text so long titles can never be covered. */
@media (min-width: 901px) {
    .lp-project-layout--hero {
        position: relative !important;
        z-index: 1 !important;
    }

    .lp-project-layout--header .wpb_column:not(.lp-project-layout__header-logo) {
        position: relative;
        z-index: 1;
    }

    .lp-project-layout__header-logo,
    .lp-project-layout__header-logo > .vc_column-inner,
    .lp-project-layout__logo-content,
    .lp-project-layout__logo-content > .wpb_wrapper,
    .lp-project-logo {
        z-index: 0 !important;
    }

    .lp-project-layout__header-logo,
    .lp-project-logo {
        position: relative !important;
    }

    .lp-project-logo {
        top: 10px !important;
    }

    .lp-project-logo__image {
        transform: scale(1.70) !important;
        transform-origin: center center !important;
    }
}

/* Project overview final polish. */
.lp-project-cta.lp-case-sidebar-cta {
    border-top-width: 4px !important;
}

/* Restore the proven legacy pulse for an active auction / Freiverkauf status pill. */
.lp-case-status-pill--pulse {
    background: #edf4ff;
    border-color: #2d74da;
    color: #1b62c8;
    animation: lpCaseStatusPulseBlue 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(45, 116, 218, .38);
    transform-origin: center center;
}
.lp-case-status-pill--pulse i.fa,
.lp-case-status-pill--pulse span {
    color: #1b62c8;
}
@keyframes lpCaseStatusPulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(45, 116, 218, .38); transform: scale(1); }
    48% { box-shadow: 0 0 0 9px rgba(45, 116, 218, 0); transform: scale(1.06); }
    100% { box-shadow: 0 0 0 0 rgba(45, 116, 218, 0); transform: scale(1); }
}

/* Contact: email is the accent action; use a vector address-card icon for vCard download. */
.lp-project-sidebar .lp-project-contact__email,
.lp-project-sidebar .lp-project-contact__email:visited {
    color: #f19300;
}
.lp-project-sidebar .lp-project-contact__save i.fa {
    width: 24px;
    flex: 0 0 24px;
    color: #203943;
    font-size: 20px;
    line-height: 1;
    text-align: center !important;
}

/* balance the three overview columns and finish contact actions.
   WPBakery keeps its original 2/3 + 1/3 columns. On desktop the sidebar
   content grows 30px to the left so the sale→CTA gap matches the 16px
   appraisal→sale gap. The long-form main content gives that space back as
   right padding; the status row itself is deliberately untouched. */
@media (min-width: 901px) {
    .lp-project-layout__aside-content {
        position: relative !important;
        left: -30px !important;
        width: calc(100% + 30px);
    }

    .lp-project-intro-text,
    .lp-project-main-text,
    .lp-project-tabs.lp-case-project-tabs {
        padding-right: 30px;
        box-sizing: border-box;
    }
}

/* Contact links need to outrank the older generic `.lp-project-contact__body a`
   rule (which carries !important and higher specificity). */
.lp-project-sidebar .lp-project-contact__body a.lp-project-contact__email,
.lp-project-sidebar .lp-project-contact__body a.lp-project-contact__email:visited {
    color: #f19300 !important;
}
.lp-project-sidebar .lp-project-contact__body a.lp-project-contact__save,
.lp-project-sidebar .lp-project-contact__body a.lp-project-contact__save:visited {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: #203943 !important;
}
.lp-project-sidebar .lp-project-contact__body a.lp-project-contact__save i.fa {
    margin-right: 2px !important;
}

/* project status metric footnote below GA + sale cards */
.lp-project-status-footnote{margin-top:7px;color:#6f858d;font-size:11px;line-height:1.35;font-weight:400;white-space:nowrap}
.lp-project-status-footnote--span-appraisal{position:relative!important;left:calc(-100% - 14px)!important;width:calc(200% + 14px)}
@media(max-width:767px){.lp-project-status-footnote,.lp-project-status-footnote--span-appraisal{left:auto!important;width:auto;white-space:normal}}

/* project-only position-card vertical rhythm.
   Search keeps its canonical card spacing unchanged. */
.lp-case-top-positions .lp-search-position-body {
    min-height: 172px !important;
}

.lp-case-top-positions .lp-search-position-body h3 {
    min-height: 2.36em;
}

.lp-case-top-positions .lp-search-position-facts--compact {
    min-height: 2.7em;
}

.lp-case-top-positions .lp-search-position-start-price {
    margin-top: auto;
}

.lp-case-top-positions .lp-search-position-start-price + .lp-search-position-actions {
    margin-top: 0;
}

/* GA-only overview alignment.
   WPBakery can inject an empty paragraph before the sidebar shortcode when the
   CTA shortcode renders nothing. Remove only that empty wrapper paragraph so
   the metadata sidebar starts level with the appraisal card. */
.lp-project-layout__aside-content > .wpb_wrapper > p:has(+ .lp-project-sidebar.lp-case-meta-sidebar) {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
}

/* In GA-only the sidebar is the right-hand counterpart to the appraisal card.
   A neutral grey top rule keeps the visual balance without implying a live state. */
.lp-project-layout__aside-content > .wpb_wrapper > .lp-project-sidebar.lp-case-meta-sidebar:first-of-type {
    border-top: 4px solid #bbb;
}

.lp-project-hero--rotating .lp-project-hero__item{position:relative}.lp-project-hero--rotating .lp-project-hero__image{position:absolute;inset:0}.lp-project-hero--rotating .lp-auto-current{opacity:1;z-index:1}.lp-project-hero--rotating .lp-auto-next{opacity:0;z-index:2}.lp-project-hero--rotating .lp-project-hero__item.is-crossfading .lp-auto-next{opacity:1;transition:opacity .7s ease}

/* project status visual semantics + legacy branch-card parity.
   Visual state follows lifecycle, not component type:
   current = blue, completed = green, context/neutral = grey. */
.lp-project-layout--overview .lp-project-status-card.lp-case-status-card--current {
    border-top-color: #2d74da !important;
}
.lp-project-layout--overview .lp-project-status-card.lp-case-status-card--done {
    border-top-color: #27a844 !important;
}
.lp-project-layout--overview .lp-project-status-card.lp-case-status-card--context {
    border-top-color: #bbb !important;
}

/* Legacy project-profile / branch chip styling. */
.lp-case-status-card--context .lp-case-status-pill--grey {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin: 0 8px 8px 0;
    padding: 6px 11px;
    background: #f2f4f5;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    color: #6f858d;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    vertical-align: top !important;
}
.lp-case-status-card--context .lp-case-status-pill--grey i.fa,
.lp-case-status-card--context .lp-case-status-pill--grey span {
    color: #6f858d;
}
.lp-case-status-card--context a.lp-case-status-pill--grey:hover,
.lp-case-status-card--context a.lp-case-status-pill--grey:focus {
    background: #dfe6e9;
    border-color: #b9c6cc;
    color: #6f858d;
    text-decoration: none;
}

/* Pills use the same lifecycle colours as their cards. */
.lp-case-status-pill--blue {
    background: #edf4ff;
    border: 1px solid #2d74da;
    color: #1b62c8;
}
.lp-case-status-pill--green {
    background: #eaf8ee;
    border: 1px solid #2eb85c;
    color: #168237;
}
.lp-case-status-pill--grey {
    background: #f2f4f5;
    border: 1px solid #cfd8dc;
    color: #6f858d;
}

/* CTA and metadata sidebar are neutral context components. */
.lp-project-cta.lp-case-sidebar-cta,
.lp-project-sidebar.lp-case-meta-sidebar {
    border-top: 4px solid #bbb;
}

/* Move CTA contents, not the tile itself. */
.lp-project-cta.lp-case-sidebar-cta > * {
    transform: translateY(-5px);
}

/* project detail finishing: sidebar branches, related grid. */
.lp-project-sidebar .lp-project-sidebar__value > a,
.lp-project-sidebar .lp-project-sidebar__value > a:visited,
.lp-project-sidebar .lp-project-sidebar__value > a:hover,
.lp-project-sidebar .lp-project-sidebar__value > a:focus {
    color: #203943;
}

.lp-case-related-projects.lp-archive-auctions--cases .lp-case-related-project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 980px) {
    .lp-case-related-projects.lp-archive-auctions--cases .lp-case-related-project-list {
        grid-template-columns: 1fr !important;
    }
}

/* Project CTA orange-button hover parity */
.lp-project-cta.lp-case-sidebar-cta .lp-case-sidebar-bid-button:hover,
.lp-project-cta.lp-case-sidebar-cta .lp-case-sidebar-bid-button:focus,
.lp-project-tabs .lp-case-tab-bid-button:hover,
.lp-project-tabs .lp-case-tab-bid-button:focus {
    background: #f7a933;
    border-color: #f7a933;
    color: #fff;
}

/* Canonical position-card rhythm: 2 title lines, 2 info lines, 1 price line. */
.lp-search-position-card .lp-search-position-body h3 {
    min-height: 2.48em !important;
    margin-bottom: 7px !important;
}

.lp-search-position-card .lp-search-position-facts--compact {
    min-height: 2.70em;
}

.lp-search-position-card .lp-search-position-start-price {
    min-height: 1.35em;
    margin-top: 0;
}

.lp-search-position-card .lp-search-position-actions {
    margin-top: auto;
}

/* Shared horizontal bar contract + viewport animation
 * 0% = no coloured bar; >0% = shared 4% minimum visual width.
 * Bars animate only when they enter the viewport, including AJAX-inserted bars.
 */
.lp-bar-fill {
    display: block;
    width: var(--lp-bar-width, 0%);
    min-width: 0;
    max-width: 100%;
    transform-origin: left center !important;
    transform: scaleX(0) !important;
    transition: transform 1.45s cubic-bezier(.22,.61,.36,1) !important;
}

.lp-bar-fill.lp-bar-visible {
    transform: scaleX(1) !important;
}

@media (prefers-reduced-motion: reduce) {
    .lp-bar-fill {
        transform: scaleX(1) !important;
        transition: none !important;
    }
}

/* Portal market-data subheaders */
.lp-price-ranges--portal .lp-price-range-description {
    margin: 0 0 18px;
    color: #718995;
    font-size: 13px;
    line-height: 1.45;
}

/* Project branches: always stack branch pills vertically. */
.lp-case-status-card--context .lp-case-status-pill--grey {
    display: flex;
    width: fit-content;
    margin-right: 0;
}

.lp-project-sidebar .lp-project-sidebar__value > a {
    display: block;
    width: fit-content;
}

/* Search: three worlds are the tabs and the explanation */
.lp-search-results-header--three-worlds .lp-search-results-countline {
    margin: 4px 0 18px;
}
.lp-search-worlds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}
.lp-search-world {
    min-width: 0;
    padding: 15px 16px 16px;
    border: 1px solid #d9e1e7;
    border-top: 3px solid transparent;
    border-radius: 4px 4px 0 0;
    background: #f8f8f8;
    transition: background-color .15s ease, border-color .15s ease;
}
.lp-search-world.is-active {
    border-top-color: #35a853;
    border-bottom-color: #fff;
    background: #fff;
}
.lp-search-world:not(.is-active) { cursor: pointer; }
.lp-search-world:not(.is-active):hover {
    background: #fff;
    border-color: #cbd6dd;
}
.lp-search-world--sold { border-top-color: #f28b20; }
.lp-search-world--valued { border-top-color: #1676c5; }
.lp-search-world-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0d3158;
}
.lp-search-world-title strong { font-size: 14px; }
.lp-search-world-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-radius: 50%;
    background: #35a853;
}
.lp-search-world--sold .lp-search-world-dot { background: #f28b20; }
.lp-search-world--valued .lp-search-world-dot { background: #1676c5; }
.lp-search-world-count {
    margin-left: auto;
    font-size: 16px;
    font-weight: 700;
    color: #0d3158;
}
.lp-search-world-subtitle {
    margin-top: 8px;
    padding-left: 19px;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.45;
}
@media (max-width: 760px) {
    .lp-search-worlds { grid-template-columns: 1fr; gap: 8px; }
    .lp-search-world { border-radius: 4px; }
    .lp-search-world.is-active { border-bottom-color: #d9e1e7; }
}

.lp-search-experience { background: #fff; padding: 28px; }
.lp-search-experience-header { max-width: 920px; margin-bottom: 22px; }
.lp-search-experience-header h2 { margin: 0 0 8px; }
.lp-search-experience-header p { margin: 0; }
.lp-search-experience-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lp-search-experience-metric { background: #f8f8f8; padding: 18px 16px; min-height: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #203943; }
.lp-search-experience-metric-icon { margin-bottom: 10px; font-size: 32px; line-height: 1; color: inherit; }
.lp-search-experience-metric strong { margin-top: 5px; font-size: 25px; line-height: 1.1; font-weight: 700; }
.lp-search-experience-metric span { margin: 0; color: #9aa6ab; font-size: 11px; line-height: 1.25; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 900px) { .lp-search-experience-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }  }
@media (max-width: 520px) { .lp-search-experience { padding: 20px; } .lp-search-experience-metrics { grid-template-columns: 1fr; } }

/* Search: active-search intro + immediate current offer */
.lp-search-template .lp-search-current-intro {
    margin: 0 0 22px;
    padding: 20px 0 0;
    background: #fff;
}
.lp-search-template .lp-search-current-intro h2 {
    margin: 0 0 7px;
    color: #203943;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}
.lp-search-template .lp-search-current-intro p {
    margin: 0;
    max-width: 980px;
    color: #5f737c;
    font-size: 14px;
    line-height: 1.6;
}
.lp-search-template .lp-search-layout-more--current-offer .lp-search-more-results {
    margin-top: 12px;
}

/* Search intro row: hide the legacy WPBakery subtitle row robustly. */
.lp-search-template [id*="lp_search_intro"],
.lp-search-template [id*="lp-search-intro"] {
    display: none !important;
}

/* Search: remove legacy WPBakery intro copy and restore normal top rhythm. */
.lp-search-template .vc_custom_1779788265193 {
    display: none !important;
}

.lp-search-template .lp-search-results-header--three-worlds {
    margin-top: 35px;
}

/* Search: summary icon */
.lp-search-results-countline .fa-bullhorn { margin-right: 8px; color: inherit; }

/* Search: curated current offer + attention intro */
.lp-search-template .vc_row[data-vc-full-width="true"]:has(.lp-search-box) {
    top: -9px;
}
.lp-search-template .lp-search-current-intro {
    margin: 0 0 22px;
    padding: 18px 20px;
    background: #eaf8ee;
    border-left: 4px solid #2eb85c;
}
.lp-search-template .lp-search-current-intro h2 {
    color: #168237;
}

.lp-search-template .lp-search-position-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    text-decoration: none;
}
.lp-search-template .lp-search-position-noimage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #829198;
    text-align: center;
}
.lp-search-template .lp-search-position-noimage i { font-size: 38px; line-height: 1; font-weight: 400; }
.lp-search-template .lp-search-position-noimage small { font-size: 10px; line-height: 1.25; letter-spacing: .05em; }

/* Search hit-state cleanup: keep all position cards in the same 4-column language. */
.lp-search-template .lp-search-results-section .lp-search-position-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lp-search-template .lp-search-results-section .lp-search-position-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.lp-search-template .lp-search-results-section .lp-search-card-button,
.lp-search-template .lp-search-results-section .lp-search-card-button:visited {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
}

/* Secondary LP action: established dark LP blue/teal, while bidding stays orange. */
.lp-search-template .lp-search-position-card--current .lp-search-card-button--project,
.lp-search-template .lp-search-position-card--current .lp-search-card-button--project:visited {
    background: #1a3e49;
    border-color: #1a3e49;
    color: #ffffff;
}

.lp-search-template .lp-search-position-card--current .lp-search-card-button--project:hover,
.lp-search-template .lp-search-position-card--current .lp-search-card-button--project:focus {
    background: #12313a;
    border-color: #12313a;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .lp-search-template .lp-search-results-section .lp-search-position-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .lp-search-template .lp-search-results-section .lp-search-position-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 540px) {
    .lp-search-template .lp-search-results-section .lp-search-position-list {
        grid-template-columns: 1fr !important;
    }
}

/* Suchwelten sind echte Tabs innerhalb derselben Suchseite. */
.lp-search-worlds a.lp-search-world { color: inherit; text-decoration: none; }
.lp-search-context-notice--sold { background:#fff3e8; border-left:4px solid #e77817; padding:22px 26px; margin:0 0 28px; }
.lp-search-context-notice--sold h2 { margin:0 0 8px; color:#c85f00; font-size:16px; }
.lp-search-context-notice--sold p { margin:0; }

/* Search-Tabs – Weltfarbe bleibt auch im aktiven Zustand erhalten. */
.lp-search-world--current,
.lp-search-world--current.is-active {
    border-top-color: #35a853;
}
.lp-search-world--sold,
.lp-search-world--sold.is-active {
    border-top-color: #f28b20;
}
.lp-search-world--valued,
.lp-search-world--valued.is-active {
    border-top-color: #1676c5;
}

/* Inaktive Tabs schweben wie Tabs: unten offen, Weltfarbe oben bleibt stehen. */
.lp-search-world:not(.is-active):hover {
    background: #fff;
    border-left-color: #cbd6dd;
    border-right-color: #cbd6dd;
    border-bottom: 0;
}

/* Gleicher vertikaler Takt zwischen Tabs und Statusbox in AKTUELL/VERKAUFT. */
.lp-search-template .lp-search-results-header--three-worlds {
    margin-bottom: 22px;
}
.lp-search-template .lp-search-current-intro,
.lp-search-template .lp-search-context-notice--sold {
    margin-top: 0;
}

/* Search tabs + context rhythm + linked experience pills. */
.lp-search-world:not(.is-active) {
    border-top-color: #d9e1e7 !important;
}
.lp-search-world--current.is-active,
.lp-search-world--current:not(.is-active):hover {
    border-top-color: #35a853 !important;
}
.lp-search-world--sold.is-active,
.lp-search-world--sold:not(.is-active):hover {
    border-top-color: #f28b20 !important;
}
.lp-search-world--valued.is-active,
.lp-search-world--valued:not(.is-active):hover {
    border-top-color: #1676c5 !important;
}
.lp-search-world:not(.is-active):hover {
    border-bottom: 0 !important;
}

/* Sold follows exactly the same tabs -> notice -> result-heading rhythm as Current. */
.lp-search-template .lp-search-context-notice--sold {
    margin: 0 !important;
}
.lp-search-template .lp-search-sold-world .lp-search-more-results {
    margin-top: 22px !important;
}

/* BEWERTET: existing LP components, no parallel design language. */
.lp-search-template .lp-search-context-notice--valued {
    margin: 0 0 24px !important;
    padding: 18px 20px !important;
    background: #edf5fb !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 4px solid #4d86b8 !important;
    box-shadow: none !important;
}
.lp-search-template .lp-search-context-notice--valued::before,
.lp-search-template .lp-search-context-notice--valued::after { content: none !important; display: none !important; }
.lp-search-template .lp-search-context-notice--valued h2 { margin: 0 0 7px !important; }

.lp-search-valued-world .lp-search-experience { padding-left: 0; padding-right: 0; }
.lp-search-valued-world .lp-search-layout-stats { display: none; }

.lp-search-valued-dashboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
    margin-top: 28px;
}
.lp-search-valued-chart {
    min-width: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.lp-search-valued-chart h3,
.lp-search-valued-register h3 {
    margin: 0 0 5px;
    color: #203943;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
}
.lp-search-valued-chart > p,
.lp-search-valued-register header > p {
    margin: 0 0 18px;
    color: #68777d;
}

.lp-search-valued-chart .lp-search-market-bar-label,
.lp-search-valued-chart .lp-search-market-bar-label:visited {
    color: #203943;
    text-decoration: none;
}
.lp-search-valued-chart .lp-search-market-bar-label:hover { color: #1a3e49; }

.lp-search-valued-register { margin-top: 36px; }
.lp-search-valued-register > header { margin-bottom: 16px; }
.lp-search-valued-maker-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.lp-search-valued-maker-card {
    min-width: 0;
    padding: 20px 22px;
    background: #f8f8f8;
}
.lp-search-valued-maker-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}
.lp-search-valued-maker-head > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #203943;
    font-size: 25px;
    line-height: 1;
}
.lp-search-valued-maker-head > div { min-width: 0; }
.lp-search-valued-maker-head > div > a,
.lp-search-valued-maker-head > div > a:visited {
    display: block;
    color: #203943;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}
.lp-search-valued-maker-head > div > a:hover { color: #1a3e49; }
.lp-search-valued-maker-head > div > span {
    display: block;
    margin-top: 4px;
    color: #6f858d;
    font-size: 11px;
    line-height: 1.35;
}
.lp-search-valued-maker-card .lp-search-valued-types {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}
.lp-search-valued-maker-card .lp-search-valued-types .lp-top-tag { margin: 0; }
.lp-search-valued-maker-card .lp-top-tag-count { font-style: normal; }
.lp-search-valued-maker-more,
.lp-search-valued-maker-more:visited {
    display: inline-block;
    margin-top: 12px;
    color: #203943;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
}
.lp-search-valued-maker-more:hover { color: #1a3e49; }

/* BEWERTET data rhythm: reuse the established two-column LP market-data layout. */
.lp-search-valued-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 44px !important;
    margin-top: 30px !important;
}
.lp-search-valued-dashboard .lp-search-valued-chart {
    grid-column: auto !important;
}
.lp-search-valued-dashboard .lp-search-valued-chart--wide {
    grid-column: 1 / -1 !important;
}
.lp-search-valued-dashboard .lp-search-market-bars {
    margin-top: 4px;
}
.lp-search-valued-dashboard .lp-search-market-bar-row {
    margin-bottom: 9px;
}
.lp-search-valued-dashboard .lp-search-market-bar-track {
    height: 6px;
}
.lp-search-valued-dashboard .lp-search-market-bar-track span {
    height: 6px;
}
.lp-search-valued-dashboard .lp-search-valued-year-bars {
    max-width: none;
}
@media (max-width: 760px) {
    .lp-search-valued-dashboard {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
    .lp-search-valued-dashboard .lp-search-valued-chart--wide {
        grid-column: auto !important;
    }
}

/* BEWERTET: three aligned compact bar cards + price/activity row. */
.lp-search-valued-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px 34px !important;
}
.lp-search-valued-dashboard .lp-search-valued-chart,
.lp-search-valued-dashboard .lp-search-valued-chart--wide {
    grid-column: auto !important;
}
.lp-search-valued-dashboard .lp-search-market-bar-label {
    min-width: 0;
}
.lp-search-valued-dashboard .lp-search-market-bar-row {
    grid-template-columns: minmax(92px, 0.9fr) minmax(52px, 1.15fr) 42px;
    column-gap: 8px;
}
.lp-search-valued-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 34px;
    margin-top: 34px;
}
.lp-search-valued-secondary-grid > .lp-search-market-card {
    min-width: 0;
    margin: 0;
}
.lp-search-valued-secondary-grid > .lp-search-market-card--activity {
    grid-column: span 2;
}
.lp-search-valued-secondary-grid .lp-search-market-activity-chart {
    min-height: 160px;
}

@media (max-width: 1050px) {
    .lp-search-valued-dashboard,
    .lp-search-valued-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .lp-search-valued-dashboard .lp-search-valued-chart:last-child,
    .lp-search-valued-secondary-grid > .lp-search-market-card--activity {
        grid-column: span 2 !important;
    }
}
@media (max-width: 760px) {
    .lp-search-valued-dashboard,
    .lp-search-valued-secondary-grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
    .lp-search-valued-dashboard .lp-search-valued-chart:last-child,
    .lp-search-valued-secondary-grid > .lp-search-market-card--activity {
        grid-column: auto !important;
    }
}

/* compact BEWERTET headings and aligned percentage labels. */
.lp-search-valued-dashboard .lp-search-valued-chart h3 {
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}
.lp-search-valued-dashboard .lp-search-valued-chart > p {
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
}
.lp-search-valued-dashboard .lp-search-market-bar-row {
    grid-template-columns: minmax(92px, 0.9fr) minmax(52px, 1.15fr) 34px;
}
.lp-search-valued-dashboard .lp-search-market-bar-count {
    text-align: right;
    justify-self: stretch;
}
@media (max-width: 1050px) {
    .lp-search-valued-dashboard .lp-search-valued-chart h3,
    .lp-search-valued-dashboard .lp-search-valued-chart > p { white-space: normal; }
}

/* BEWERTET: percentage labels at the true right edge of each card. */
.lp-search-valued-dashboard .lp-search-market-bar-row {
    grid-template-columns: minmax(0, 1fr) auto;
}
.lp-search-valued-dashboard .lp-search-market-bar-label {
    grid-column: 1;
}
.lp-search-valued-dashboard .lp-search-market-bar-count {
    grid-column: 2;
    justify-self: end;
    text-align: right;
}

/* market bars: load animation + subtle row hover. */
@keyframes lp-search-market-bar-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.lp-search-valued-dashboard .lp-search-market-bar-track span,
.lp-search-valued-secondary-grid .lp-search-market-bar-track span {
    transform-origin: left center;
    animation: lp-search-market-bar-grow 700ms ease-out both;
    transition: opacity 160ms ease, filter 160ms ease;
}

.lp-search-valued-dashboard .lp-search-market-bar-label,
.lp-search-valued-secondary-grid .lp-search-market-bar-label {
    transition: color 160ms ease, opacity 160ms ease;
}

.lp-search-valued-dashboard .lp-search-market-bar-row:hover .lp-search-market-bar-label,
.lp-search-valued-secondary-grid .lp-search-market-bar-row:hover .lp-search-market-bar-label {
    color: #5f737c;
}

.lp-search-valued-dashboard .lp-search-market-bar-row:hover .lp-search-market-bar-track span,
.lp-search-valued-secondary-grid .lp-search-market-bar-row:hover .lp-search-market-bar-track span {
    opacity: .72;
}

@media (prefers-reduced-motion: reduce) {
    .lp-search-valued-dashboard .lp-search-market-bar-track span,
    .lp-search-valued-secondary-grid .lp-search-market-bar-track span {
        animation: none;
        transition: none;
    }
}

/* Search header space: move the global search box upward; reserve room below for discovery pills. */
.lp-search-template .vc_row[data-vc-full-width="true"]:has(.lp-search-box) {
    padding-top: 0 !important;
}
.lp-search-template .wpb_text_column:has(.lp-search-box) {
    padding-top: 0 !important;
}
.lp-search-template .lp-search-context-notice--sold a,
.lp-search-template .lp-search-current-intro a {
    color: inherit;
    font-weight: 400;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

/* Search / Bewertet: manufacturer register and disclosure pills. */
.lp-search-valued-maker-card--more,
.lp-search-valued-type-pill--more { display: none; }
.lp-search-valued-maker-card.is-expanded .lp-search-valued-type-pill--more { display: inline-flex; }
.lp-search-valued-type-pill {
    cursor: default;
    text-decoration: none;
}
.lp-search-valued-maker-more,
.lp-search-valued-makers-more {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
.lp-search-valued-makers-more {
    display: inline-block;
    margin-top: 16px;
    color: #203943;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
}
.lp-search-valued-maker-head > div > span + span { margin-top: 1px; }

/* Search discovery pills + deterministic BEWERTET register grid. */
.lp-search-template .lp-search-box-discovery {
    width: 100%;
    max-width: 1070px;
    margin: 18px auto 0;
}
.lp-search-template .lp-search-box-discovery-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 27px;
}
.lp-search-template .lp-search-box-discovery-row + .lp-search-box-discovery-row {
    margin-top: 7px;
}
.lp-search-template .lp-search-box-discovery-label {
    flex: 0 0 82px;
    padding-top: 6px;
    color: #6f858d;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .035em;
}
.lp-search-template .lp-search-box-discovery .lp-search-chip-row {
    flex: 1 1 auto;
    gap: 5px 6px;
}
.lp-search-template .lp-search-box-discovery .lp-search-chip {
    min-height: 22px;
    padding: 0 8px;
    box-shadow: none;
}

.lp-search-template .lp-search-market-activity-axis {
    grid-template-columns: repeat(var(--lp-activity-axis-count, 9), minmax(0, 1fr));
}

.lp-search-valued-maker-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
}
.lp-search-valued-maker-card--full { grid-column: span 4; }
.lp-search-valued-maker-card--half { grid-column: span 2; }
.lp-search-valued-makers-more {
    display: table;
    margin: 18px 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #f19300;
    border-radius: 0;
    background: #f19300;
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    transition: background .18s ease, border-color .18s ease;
}
.lp-search-valued-makers-more:hover,
.lp-search-valued-makers-more:focus {
    background: #f7a933;
    border-color: #f7a933;
    color: #fff;
}

@media (max-width: 980px) {
    .lp-search-valued-maker-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-search-valued-maker-card--full { grid-column: span 2; }
    .lp-search-valued-maker-card--half { grid-column: span 1; }
}
@media (max-width: 719px) {
    .lp-search-template .lp-search-box-discovery-label { display: block; padding: 0; margin: 0 0 5px; }
}

/* Search discovery as three unlabeled mixed rows; sold cards tighter; image failure fallback. */
.lp-search-template .lp-search-box-discovery {
    margin-top: 12px;
}
.lp-search-template .lp-search-box-discovery-row {
    display: block;
    min-height: 0;
}
.lp-search-template .lp-search-box-discovery-row + .lp-search-box-discovery-row {
    margin-top: 6px;
}
.lp-search-template .lp-search-box-discovery .lp-search-chip-row {
    width: 100%;
    gap: 5px 6px;
}
.lp-search-template .lp-search-box-discovery-label {
    display: none !important;
}

.lp-search-template .lp-search-position-image .lp-search-position-noimage--fallback {
    display: none;
    width: 100%;
    height: 100%;
}
.lp-search-template .lp-search-position-image.is-image-missing img {
    display: none !important;
}
.lp-search-template .lp-search-position-image.is-image-missing .lp-search-position-noimage--fallback {
    display: flex;
}

.lp-search-template .lp-search-position-card--historical .lp-search-position-start-price {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
}
.lp-search-template .lp-search-result-group--sold .lp-search-position-card--historical .lp-search-position-body,
.lp-search-template .lp-search-sold-world .lp-search-position-card--historical .lp-search-position-body {
    min-height: 98px !important;
}

/* Disclosure CTA follows the normal LP orange action language and sits at the right edge. */
.lp-search-template .lp-search-valued-makers-more {
    display: block;
    width: max-content;
    margin: 18px 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #f19300;
    border-radius: 2px;
    background: #f19300;
    color: #fff;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}
.lp-search-template .lp-search-valued-makers-more:hover,
.lp-search-template .lp-search-valued-makers-more:focus {
    background: #f7a933;
    border-color: #f7a933;
    color: #fff;
}

/* Search-box discovery uses the regular Global Search chip styling. */
.lp-search-template .lp-search-box-discovery {
    width: 100%;
    max-width: 1070px;
    margin: 18px auto 0;
}
.lp-search-template .lp-search-box-discovery .lp-search-chip-row {
    width: 100%;
}
.lp-search-template .lp-search-box-discovery .lp-search-chip {
    min-height: initial;
    padding: 7px 11px;
    box-shadow: initial;
}

/* Search landing portal + centered Global-Search discovery pills. */
.lp-search-template .lp-search-box-discovery--query {
    width: 100%;
    max-width: 1070px;
    margin: 24px auto 0;
}
.lp-search-template .lp-search-box-discovery--query .lp-global-search-tags {
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
}

.lp-search-template .lp-search-box-discovery--landing {
    width: 100%;
    max-width: 1070px;
    margin: 28px auto 0;
}
.lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group {
    margin-top: 22px;
}
.lp-search-template .lp-search-box-discovery-group h3 {
    margin: 0 0 9px;
    color: #203943;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}
.lp-search-template .lp-search-box-discovery--landing .lp-global-search-tags {
    justify-content: center;
    max-width: 1070px;
    margin: 0 auto;
}

.lp-search-template .lp-search-landing-world-intro {
    margin: 34px 0 30px;
}
.lp-search-template .lp-search-worlds--landing .lp-search-world {
    cursor: default !important;
}
.lp-search-template .lp-search-worlds--landing .lp-search-world:not(.is-active):hover {
    background: #f8f8f8;
    border-left-color: #d9e1e7;
    border-right-color: #d9e1e7;
    border-bottom: 1px solid #d9e1e7 !important;
    border-top-color: #d9e1e7 !important;
}
.lp-search-template .lp-search-layout-more--landing-current {
    margin-top: 0;
}

@media (max-width: 719px) {
    .lp-search-template .lp-search-box-discovery--query,
    .lp-search-template .lp-search-box-discovery--landing {
        margin-top: 20px;
    }
    .lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group {
        margin-top: 18px;
    }
    .lp-search-template .lp-search-landing-world-intro {
        margin-top: 26px;
    }
}

/* Empty-search landing uses the same full-width results canvas as structured search. */
.lp-search-template .lp-search-results--landing {
    display: block;
    width: 1070px !important;
    max-width: calc(100vw - 40px) !important;
    margin: 0;
    clear: both !important;
    box-sizing: border-box;
    overflow: visible;
}

/* Search discovery spacing, landing guidance and BEWERTET type navigation. */
.lp-search-template .lp-search-box-discovery--query {
    margin-top: 32px;
}
.lp-search-template .lp-search-box-discovery--landing {
    margin-top: 34px;
}
.lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group {
    margin-top: 30px;
}
.lp-search-template .lp-search-box-discovery-group h3 {
    margin-bottom: 11px;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: .025em;
}

.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query {
    position: relative;
}
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query::after {
    content: attr(data-lp-search-hint);
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: 290px;
    padding: 8px 10px;
    border-radius: 3px;
    background: #203943;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:hover::after,
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.lp-search-template .lp-search-valued-maker-head > div > a:hover,
.lp-search-template .lp-search-valued-maker-head > div > a:focus {
    color: #f19300;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lp-search-template a.lp-search-valued-type-pill {
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 719px) {
    .lp-search-template .lp-search-box-discovery--query,
    .lp-search-template .lp-search-box-discovery--landing { margin-top: 26px; }
    .lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group { margin-top: 24px; }
}

/* Unified yellow speech-bubble hints + landing discovery polish. */
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query::after,
.lp-search-template a.lp-search-valued-type-pill::after {
    content: "\24D8  " attr(data-lp-search-hint);
    position: absolute;
    z-index: 40;
    left: 50%;
    bottom: calc(100% + 11px);
    width: max-content;
    max-width: 330px;
    padding: 10px 13px;
    border: 1px solid #e5cf79;
    border-radius: 5px;
    background: #fff4bf;
    color: #263238;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    text-align: left;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query::before,
.lp-search-template a.lp-search-valued-type-pill::before {
    content: "";
    position: absolute;
    z-index: 41;
    left: 50%;
    bottom: calc(100% + 5px);
    width: 11px;
    height: 11px;
    background: #fff4bf;
    border-right: 1px solid #e5cf79;
    border-bottom: 1px solid #e5cf79;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) rotate(45deg);
    transition: opacity .15s ease, visibility .15s ease;
}
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:hover::after,
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:focus::after,
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:hover::before,
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:focus::before,
.lp-search-template a.lp-search-valued-type-pill:hover::after,
.lp-search-template a.lp-search-valued-type-pill:focus::after,
.lp-search-template a.lp-search-valued-type-pill:hover::before,
.lp-search-template a.lp-search-valued-type-pill:focus::before {
    opacity: 1;
    visibility: visible;
}
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:hover::after,
.lp-search-template .lp-search-worlds--landing .lp-search-world--needs-query:focus::after,
.lp-search-template a.lp-search-valued-type-pill:hover::after,
.lp-search-template a.lp-search-valued-type-pill:focus::after {
    transform: translate(-50%, 0);
}
.lp-search-template a.lp-search-valued-type-pill {
    position: relative;
}

/* Search landing welcome orientation. */
.lp-search-template .lp-search-landing-welcome {
    margin: 34px 0 24px;
}
.lp-search-template .lp-search-landing-welcome p {
    max-width: 100%;
}
.lp-search-template .lp-search-landing-welcome + .lp-search-landing-world-intro {
    margin-top: 0;
}

/* Search input — visible, restrained focus state. */
.lp-search-box .lp-search-input {
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lp-search-box .lp-search-input:focus {
    border-color: #6f858d;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(32, 57, 67, 0.10);
    animation: lp-search-focus-throb 1.6s ease-in-out infinite;
}

@keyframes lp-search-focus-throb {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(32, 57, 67, 0.08);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(32, 57, 67, 0.14);
    }
}

/* Archive/portal search inputs — same focus language as main search. */
.lp-completed-auctions-search-input,
.lp-gutachten-archive-search-input,
.lp-portal-projects-search-input {
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lp-completed-auctions-search-input:focus,
.lp-gutachten-archive-search-input:focus,
.lp-portal-projects-search-input:focus {
    border-color: #6f858d;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(32, 57, 67, 0.10);
    animation: lp-search-focus-throb 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .lp-search-box .lp-search-input:focus,
    .lp-completed-auctions-search-input:focus,
    .lp-gutachten-archive-search-input:focus,
    .lp-portal-projects-search-input:focus {
        animation: none;
    }
}

/* BEWERTET final CSS after Search re-audit: consolidated 1950–1957 state, no visual changes. */
.lp-search-valued-dashboard .lp-search-market-bar-row:hover .lp-search-market-bar-label:not(a),
.lp-search-valued-secondary-grid .lp-search-market-bar-row:hover .lp-search-market-bar-label:not(a) {
    color: #203943;
}
.lp-search-valued-dashboard .lp-search-market-bar-label:not(a),
.lp-search-valued-secondary-grid .lp-search-market-bar-label:not(a) {
    transition: none;
}

.lp-search-valued-chart--histogram {
    display: flex;
    flex-direction: column;
}
.lp-search-template .lp-search-valued-dashboard .lp-search-valued-chart--histogram {
    grid-column: span 2 !important;
    min-height: 330px;
}
.lp-search-template .lp-search-valued-histogram {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 200px;
    margin-top: 4px;
    padding-top: 0;
    border-bottom: 1px solid #d7dfe2;
}
.lp-search-valued-histogram-bar {
    position: relative;
    flex: 1 1 0;
    min-width: 1px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}
.lp-search-template .lp-search-valued-histogram-bar i {
    display: block;
    width: 100%;
    height: max(2px, var(--lp-histogram-height));
    background: #1a3e49;
    transform: scaleY(0);
    transform-origin: bottom center;
    animation: none !important;
    transition: transform 1.45s cubic-bezier(.22,.61,.36,1);
}
.lp-search-template .lp-search-valued-histogram-bar i.lp-histogram-visible {
    transform: scaleY(1);
}
.lp-search-template .lp-search-valued-histogram-axis {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 18px;
    margin-top: 5px;
    color: #7b898e;
    font-size: 10px;
    line-height: 1.2;
}
.lp-search-template .lp-search-valued-histogram-axis span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}
.lp-search-template .lp-search-valued-histogram-axis span:first-child { transform: none; }
.lp-search-template .lp-search-valued-histogram-axis span:last-child { transform: translateX(-100%); }

.lp-search-valued-secondary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.lp-search-valued-secondary-grid > .lp-search-market-card--activity {
    grid-column: auto !important;
}
.lp-search-valued-frequency .lp-distribution-chart,
.lp-search-valued-age-frequency .lp-distribution-chart {
    margin-top: 4px;
}
.lp-search-valued-frequency .wpb_content_element,
.lp-search-valued-age-frequency .wpb_content_element {
    margin-bottom: 0;
}

.lp-search-valued-activity-wide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 34px;
    margin-top: 34px;
}
.lp-search-valued-activity-wide .lp-search-valued-age-frequency {
    grid-column: span 1;
    min-width: 0;
}
.lp-search-template .lp-search-valued-activity-wide .lp-search-market-card--activity {
    grid-column: span 2 !important;
    width: 100%;
    margin: 0;
}
.lp-search-valued-activity-wide .lp-search-market-activity-chart {
    height: 215px;
    min-height: 215px;
}
.lp-search-template .lp-search-valued-age-frequency .lp-distribution-chart {
    position: relative;
    top: -25px;
}

.lp-search-valued-maker-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    margin-top: 14px;
}
.lp-search-valued-maker-metric {
    display: grid;
    grid-template-columns: auto minmax(24px, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #6f858d;
    font-size: 10px;
    line-height: 1.2;
}
.lp-search-valued-maker-metric > span { white-space: nowrap; }
.lp-search-valued-maker-metric > strong {
    color: #526970;
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}
.lp-search-valued-maker-metric .lp-bar-track {
    height: 6px;
    background: #e1e6e8;
    overflow: hidden;
}
.lp-search-valued-maker-metric .lp-bar-fill {
    display: block;
    width: var(--lp-bar-width);
    height: 6px;
    background: #203943;
    transform-origin: left center;
}

/* The shared lp-bars.js viewport contract owns horizontal bar animation. */
.lp-search-template .lp-search-valued-dashboard .lp-search-market-bar-track .lp-bar-fill,
.lp-search-template .lp-search-valued-maker-metric .lp-bar-fill {
    animation: none !important;
}

.lp-search-template .lp-search-valued-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.lp-search-valued-dashboard .lp-search-valued-frequency,
.lp-search-valued-dashboard .lp-search-market-card--price {
    min-width: 0;
}

.lp-search-template .lp-search-valued-dashboard h3,
.lp-search-template .lp-search-valued-activity-wide h3 {
    margin: 0 0 8px;
    color: #203943;
    font-size: 22px;
    line-height: 1.24;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
    white-space: normal;
}
.lp-search-valued-register h2 {
    margin: 0 0 5px;
    color: #203943;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
}

/* Generic market labels clip long text; the BEWERTET type hint must be allowed outside the label box. */
.lp-search-template .lp-search-valued-chart a.lp-search-valued-type-pill {
    overflow: visible;
    text-overflow: clip !important;
    z-index: 5;
}
.lp-search-template .lp-search-valued-chart .lp-search-market-bar-row:has(a.lp-search-valued-type-pill:hover),
.lp-search-template .lp-search-valued-chart .lp-search-market-bar-row:has(a.lp-search-valued-type-pill:focus) {
    position: relative;
    z-index: 50;
}

.lp-completed-auctions-more,
.lp-gutachten-archive-more,
.lp-portal-projects-more,
.lp-search-template .lp-search-valued-makers-more {
    padding: 12px 22px;
    font-size: 16px;
    line-height: 1.2;
}

@media (max-width: 1050px) {
    .lp-search-template .lp-search-valued-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .lp-search-template .lp-search-valued-dashboard .lp-search-valued-chart--histogram {
        grid-column: span 2 !important;
    }
    .lp-search-valued-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .lp-search-valued-maker-metrics {
        grid-template-columns: 1fr;
    }
    .lp-search-valued-activity-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lp-search-valued-activity-wide .lp-search-valued-age-frequency,
    .lp-search-template .lp-search-valued-activity-wide .lp-search-market-card--activity {
        grid-column: span 1 !important;
    }
}

@media (max-width: 760px) {
    .lp-search-template .lp-search-valued-dashboard,
    .lp-search-valued-secondary-grid {
        grid-template-columns: 1fr !important;
    }
    .lp-search-template .lp-search-valued-dashboard .lp-search-valued-chart--histogram {
        grid-column: auto !important;
        min-height: 0;
    }
    .lp-search-template .lp-search-valued-histogram {
        height: 160px;
    }
    .lp-search-valued-activity-wide {
        grid-template-columns: 1fr;
    }
    .lp-search-valued-activity-wide .lp-search-valued-age-frequency,
    .lp-search-template .lp-search-valued-activity-wide .lp-search-market-card--activity {
        grid-column: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-search-template .lp-search-valued-histogram-bar i {
        transform: scaleY(1);
        transition: none;
    }
}

/* Project positions pagination: same centered pagination UI as Search. */
.lp-case-top-positions > .lp-search-pagination--top {
    width: 100%;
    justify-content: center !important;
    margin: 0 0 20px;
}

/* Search / Bewertet — align the upper frequency doughnut with the bar charts. */
.lp-search-template .lp-search-valued-dashboard .lp-search-valued-frequency .lp-distribution-chart {
    position: relative;
    top: -25px;
}


/* Shared market-data teaser: Home / Auctions / Gutachten ------------------ */
.lp-market-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    width: 100%;
    margin: 26px 0 42px;
}

.lp-market-stats__item {
    min-width: 0;
}

.lp-market-stats__item h3 {
    margin: 0 0 16px;
    color: #203943;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 400;
}

.lp-market-stats__item--pie {
    text-align: center;
}

.lp-market-stats__item--pie h3 {
    text-align: left;
}

.lp-market-stats__pie-layout {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lp-market-stats__item--pie .lp-distribution-chart {
    flex: 0 0 180px;
    margin: 0;
    max-width: 180px;
}

.lp-market-stats__item--pie .vc_chart,
.lp-market-stats__item--pie .vc_chart-with-legend {
    width: 100% !important;
    max-width: 180px;
    margin: 0;
}

.lp-market-stats__legend {
    display: grid;
    gap: 7px;
    flex: 1 1 auto;
    margin: 0;
    text-align: left;
    color: #203943;
    font-size: 12px;
    line-height: 1.3;
}

.lp-market-stats__legend-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.lp-market-stats__legend-item .lp-distribution-legend-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-top: 2px;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .lp-market-stats {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lp-market-stats__pie-layout {
        justify-content: center;
    }

    .lp-market-stats__item--pie .lp-distribution-chart,
    .lp-market-stats__item--pie .vc_chart,
    .lp-market-stats__item--pie .vc_chart-with-legend {
        max-width: 280px;
    }
}

/* 1987 — overview distributions: pull the two large charts closer to their headings. */
.lp-distribution-chart--source-auktionen.lp-distribution-chart--type-branchen,
.lp-distribution-chart--source-auktionen.lp-distribution-chart--type-regionen,
.lp-distribution-chart--source-gutachten.lp-distribution-chart--type-branchen,
.lp-distribution-chart--source-gutachten.lp-distribution-chart--type-regionen {
    margin-top: -90px;
}

/* 1987 — market-stats pie legend: native chart colors, square swatch and percentage. */
.lp-market-stats__legend-item {
    align-items: center;
}

.lp-market-stats__legend-item .lp-distribution-legend-dot {
    margin-top: 0;
    border-radius: 0;
}

.lp-market-stats__legend-item .lp-distribution-legend-dot--orange { background: #f7be68; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--blue { background: #5472d2; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--turquoise { background: #00c1cf; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--pink { background: #fe6c61; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--violet { background: #8d6dc4; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--chino { background: #cec2ab; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--mulled-wine { background: #50485b; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--vista-blue { background: #75d69c; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--black { background: #2a2a2a; }
.lp-market-stats__legend-item .lp-distribution-legend-dot--sandy-brown { background: #f79468; }

.lp-market-stats__legend-label {
    min-width: 0;
    flex: 1 1 auto;
}

.lp-market-stats__legend-value {
    flex: 0 0 auto;
    margin-left: 6px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .lp-distribution-chart--source-auktionen.lp-distribution-chart--type-branchen,
    .lp-distribution-chart--source-auktionen.lp-distribution-chart--type-regionen,
    .lp-distribution-chart--source-gutachten.lp-distribution-chart--type-branchen,
    .lp-distribution-chart--source-gutachten.lp-distribution-chart--type-regionen {
        margin-top: 22px;
    }
}


/* Search page: semantic H1 keeps the established compact search-box appearance. */
.lp-search-template .lp-search-box h1.lp-search-asset-count {
    margin: 0 auto 14px;
    color: #203943;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .055em;
    text-align: center !important;
    text-transform: uppercase;
}

/* Project market-data intro: align with project section subtitles. */
.lp-case-market-stats .lp-search-market-stats-header p {
    color: #203943;
    font-size: 16px;
    line-height: 1.5;
}


/* Project: historic auction-platform translation notice */
.lp-project-legacy-translation-notice {
    margin: 0 0 28px;
    padding: 18px 20px;
    background: #fff3e8;
    border-left: 4px solid #e77817;
    color: #5f737c;
    font-size: 14px;
    line-height: 1.55;
}
.lp-project-legacy-translation-notice strong {
    color: #c85f00;
    font-weight: 700;
}


/* EN Search: German-only appraisal CTA */
.lp-search-template .lp-search-world--appraisals {
    position: relative;
    background: #d8d8d8;
    border-color: #c9c9c9;
    border-top-color: #b7b7b7;
    cursor: pointer !important;
}
.lp-search-template .lp-search-world--appraisals:not(.is-active):hover {
    background: #d8d8d8;
    border-color: #bfbfbf;
}
.lp-search-template .lp-search-world--appraisals .lp-search-world-dot {
    background: #999;
}
.lp-search-template .lp-search-world--has-hint::after {
    content: attr(data-lp-search-hint);
    position: absolute;
    z-index: 30;
    right: 0;
    bottom: calc(100% + 17px);
    width: min(340px, calc(100vw - 40px));
    box-sizing: border-box;
    padding: 15px 17px;
    border: 1px solid #f28b20;
    border-radius: 5px;
    background: #fff7ef;
    color: #263f4b;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    white-space: normal;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.lp-search-template .lp-search-world--has-hint::before {
    content: '';
    position: absolute;
    z-index: 31;
    right: 28px;
    bottom: calc(100% + 8px);
    width: 16px;
    height: 16px;
    border-right: 1px solid #f28b20;
    border-bottom: 1px solid #f28b20;
    background: #fff7ef;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: rotate(45deg);
    transition: opacity .15s ease, visibility .15s ease;
}
.lp-search-template .lp-search-world--has-hint:hover::after,
.lp-search-template .lp-search-world--has-hint:focus::after,
.lp-search-template .lp-search-world--has-hint:hover::before,
.lp-search-template .lp-search-world--has-hint:focus::before {
    opacity: 1;
    visibility: visible;
}
.lp-search-template .lp-search-world--has-hint:hover::after,
.lp-search-template .lp-search-world--has-hint:focus::after {
    transform: translateY(0);
}
@media (max-width: 767px) {
    .lp-search-template .lp-search-world--has-hint::after {
        left: 0;
        right: auto;
        width: min(320px, calc(100vw - 32px));
    }
    .lp-search-template .lp-search-world--has-hint::before {
        left: 28px;
        right: auto;
    }
}

/* EN Search: appraisal CTA is always an explicit link affordance. */
.lp-search-template a.lp-search-world--appraisals,
.lp-search-template a.lp-search-world--appraisals * {
    cursor: pointer !important;
}

/* EN Search navigation hints: links use normal text weight. */
.lp-search-template .lp-search-en-navigation a {
    font-weight: 400;
}

/* ==========================================================================\n   HOME — mobile typography + compact facts\n   2229: presentation only; desktop unchanged.\n   ========================================================================== */
@media (max-width: 700px) {
    .lp-home-template h1,
    .lp-home-template .lp-home-title,
    .lp-home-template .lp-section-header h2,
    .lp-home-template .wpb_text_column h2 {
        font-size: 25px;
        line-height: 1.35;
    }

    .lp-home-facts {
        margin: 20px 0 34px;
    }

    .lp-home-facts-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lp-home-fact {
        min-height: 0;
        padding: 10px 8px 11px;
    }

    .lp-home-fact:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .lp-home-fact-label {
        margin-bottom: 4px;
        font-size: 8px;
        line-height: 1.15;
    }

    .lp-home-fact-number {
        font-size: 18px;
        line-height: 1.1;
    }
}

/* 2230 — Mobile homepage typography calibration */
@media screen and (max-width: 719px) {
    .lp-home-template h1,
    .lp-home-template .lp-home-content h1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .lp-home-template h2,
    .lp-home-template .lp-home-content h2 {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .lp-home-template p,
    .lp-home-template .lp-home-content p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }
}

/* 2231 — Mobile homepage H3 */
@media screen and (max-width: 719px) {
    .lp-home-template h3,
    .lp-home-template .lp-home-content h3 {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

/* ==========================================================================
   2244 — Mobile LP rows: consolidated shared component
   One base layout for all LP rows; AU/GA differences are variants only.
   Replaces the incremental 2232–2236 blocks.
   ========================================================================== */
@media screen and (max-width: 719px) {

    /* Shared LP-row geometry ------------------------------------------------ */
    .lp-current-auctions-mini .lp-mini-auction {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 108px !important;
        column-gap: 10px !important;
        row-gap: 2px !important;
        align-items: start !important;
        margin-bottom: 14px !important;
        padding-bottom: 14px !important;
    }

    .lp-current-auctions-mini .lp-mini-auction-main,
    .lp-current-auctions-mini .lp-mini-auction-side {
        display: contents !important;
    }

    .lp-current-auctions-mini .auction_header {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        margin: 0 0 4px !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .lp-current-auctions-mini .a_row.r1 {
        grid-column: 1;
        grid-row: 3;
        min-width: 0;
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .lp-current-auctions-mini .a_row.r1 > span {
        display: block !important;
        margin: 0 0 2px !important;
        white-space: normal !important;
    }

    .lp-current-auctions-mini .lp-mini-auction-side > .lp-auction-tile--image,
    .lp-current-auctions-mini .lp-mini-auction-side > .lp-auction-tile--placeholder {
        grid-column: 2;
        grid-row: 3;
        width: 108px !important;
        min-width: 108px !important;
        height: 76px !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        align-self: start !important;
    }

    .lp-current-auctions-mini .lp-mini-auction-side > .lp-auction-tile--image img {
        display: block;
        width: 108px !important;
        height: 76px !important;
        object-fit: cover !important;
    }

    /* Shared CTA geometry. One CTA keeps its renderer text; two CTAs use
       the compact mobile AU labels below. */
    .lp-current-auctions-mini .lp-auction-cta-row,
    .lp-current-auctions-mini .lp-gutachten-cta-row {
        grid-column: 1 / -1;
        grid-row: 4;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 4px !important;
        min-width: 0;
        margin: 4px 0 0 !important;
        line-height: normal !important;
    }

    .lp-current-auctions-mini .lp-auction-cta-row > *,
    .lp-current-auctions-mini .lp-gutachten-cta-row > * {
        flex: 1 1 0;
        min-width: 0;
        margin: 0 !important;
    }

    .lp-current-auctions-mini .lp-auction-cta-row a,
    .lp-current-auctions-mini .lp-gutachten-cta-row a,
    .lp-current-auctions-mini .lp-auction-cta-row a > span,
    .lp-current-auctions-mini .lp-gutachten-cta-row a > span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 38px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 1.15 !important;
    }

    .lp-current-auctions-mini .lp-auction-cta-row a > span,
    .lp-current-auctions-mini .lp-gutachten-cta-row a > span {
        padding: 0 6px !important;
        font-size: 12px !important;
    }

    /* AU variant ----------------------------------------------------------- */

    /* Countdown/status eyebrow above title. */
    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        gap: 5px;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        margin: 0 0 1px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: rgb(48, 71, 80) !important;
        text-align: left !important;
    }

    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown i.fa {
        margin: 0 !important;
        color: #f19300 !important;
        font-size: 11px !important;
    }

    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown span,
    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown strong {
        display: inline !important;
        color: rgb(48, 71, 80) !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown .lp-badge--overlay {
        display: none !important;
    }

    /* GA variant ----------------------------------------------------------- */

    .lp-current-gutachten-mini .auction_header {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        position: relative;
        z-index: 2;
    }

    .lp-current-gutachten-mini
    .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--branche {
        grid-column: 1 !important;
        grid-row: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        gap: 5px;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        margin: 0 0 2px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: rgb(48, 71, 80) !important;
        text-align: left !important;
        overflow: visible !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-tile--branche i.fa {
        margin: 0 !important;
        font-size: 13px !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-tile--branche span {
        display: none !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-tile--branche strong {
        display: block !important;
        width: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-wrap: anywhere;
        -webkit-line-clamp: unset !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .lp-current-gutachten-mini .a_row.r1 {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    .lp-current-gutachten-mini
    .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo {
        grid-column: 2 !important;
        grid-row: 2 / span 2 !important;
        position: relative !important;
        width: 108px !important;
        min-width: 108px !important;
        height: 76px !important;
        min-height: 76px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        align-self: start !important;
    }

    .lp-current-gutachten-mini
    .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 150% !important;
        height: 150% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        transform: translate(-50%, -50%) !important;
        transform-origin: center center !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-cta-row {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        margin-top: 5px !important;
    }
}


/* ==========================================================================
   2237 — Homepage mobile: six selected industry tiles
   Selection/order follows the canonical desktop tile order:
   Automotive, Construction, Services, Retail, Mechanical Engineering, Metalworking.
   ========================================================================== */
@media screen and (max-width: 719px) {
    .lp-branchen-tiles--home .lp-branchen-tile {
        display: none !important;
    }

    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(2),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(3),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(4),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(9),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(12),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(13) {
        display: flex !important;
    }
}


/* ==========================================================================
   2238 — Homepage mobile Global Search
   Full-width field, ten centered pills, tighter top spacing.
   ========================================================================== */
@media screen and (max-width: 719px) {
    .lp-home-template .lp-global-search-box {
        padding-top: 0 !important;
    }

    .lp-home-template .lp-global-search-box .lp-search-input {
        display: block;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .lp-home-template .lp-global-search-tags {
        justify-content: center !important;
        text-align: center;
    }

    .lp-home-template .lp-global-search-tags .lp-global-search-top-tag:nth-child(n+11) {
        display: none !important;
    }
}


/* ==========================================================================
   2239 — Homepage mobile: tighten Global Search section boundaries
   WPBakery search row only; U-Design footer remains untouched.
   ========================================================================== */
@media screen and (max-width: 719px) {

    /* Remove the excess space before the Global Search heading. */
    .lp-home-template .vc_custom_1789198678519 > .wpb_column > .vc_column-inner {
        padding-top: 10px !important;
    }

    /* Tighten the white tail after the pills before #bottom-bg begins. */
    .lp-home-template .vc_custom_1789198678519 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .lp-home-template .vc_custom_1789198678519 .lp-global-search-box {
        padding-bottom: 12px !important;
        margin-bottom: 0 !important;
    }
}


/* ==========================================================================
   2240 — Mobile footer: remove redundant top spacing
   Child override only; U-Design parent remains untouched.
   ========================================================================== */
@media screen and (max-width: 719px) {
    #bottom.container_24 {
        padding-top: 0 !important;
    }

    #bottom #bottom_1,
    #bottom #bottom_1 .column-content-wrapper,
    #bottom #bottom_1 .bottom-col-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}


/* ==========================================================================
   2242 — Overview pages: mobile content gutter
   Same shell geometry as .lp-home-template.
   ========================================================================== */
@media screen and (max-width: 719px) {
    .lp-overview-content {
        width: auto;
        max-width: none;
        margin-left: 20px;
        margin-right: 20px;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}


/* ==========================================================================
   2243 — L&P mobile base typography
   Promote the established homepage typography to L&P content sitewide.
   Component-specific typography remains untouched.
   ========================================================================== */



/* ==========================================================================
   2245 — Mobile distribution charts: bind heading to chart component
   Shared solution for Branchen / Regionen distributions (AU + GA).
   ========================================================================== */
@media screen and (max-width: 719px) {

    /* The desktop heading row sits immediately before the shared chart row.
       Hide it only when the following row is the Branchen/Regionen pair. */
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
           :is(h1, h2, h3, h4, h5, h6) {
        display: none !important;
    }

    /* Each distribution component owns its mobile heading. */
    .lp-distribution-chart--type-branchen::before,
    .lp-distribution-chart--type-regionen::before {
        display: block;
        margin: 0 0 12px;
        color: rgb(48, 71, 80);
        font-size: 15px;
        line-height: 1.5;
        font-weight: 400;
        text-transform: uppercase;
    }

    .lp-distribution-chart--type-branchen::before {
        content: "BRANCHEN";
    }

    .lp-distribution-chart--type-regionen::before {
        content: "REGIONEN";
    }
}


/* ==========================================================================
   2246 — Mobile distribution charts: collapse desktop spacing
   Shared AU + GA component spacing.
   ========================================================================== */
@media screen and (max-width: 719px) {

    /* The desktop-only heading row must consume no space on mobile. */
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
    > .wpb_column > .vc_column-inner,
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
    > .wpb_column > .vc_column-inner > .wpb_wrapper,
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
    .wpb_content_element {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    /* Normalize the stacked chart row and its columns. */
    .vc_row:has(.lp-distribution-chart--type-branchen)
           :is(.wpb_content_element, .wpb_wrapper) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .vc_row:has(.lp-distribution-chart--type-branchen)
    > .wpb_column > .vc_column-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .lp-distribution-chart--type-branchen,
    .lp-distribution-chart--type-regionen {
        margin-top: 0 !important;
        margin-bottom: 28px !important;
    }

    .lp-distribution-chart--type-regionen {
        margin-top: 8px !important;
    }
}


/* ==========================================================================
   2247 — Global Search mobile component
   Promote the approved homepage mobile treatment to every Global Search.
   ========================================================================== */
@media screen and (max-width: 719px) {
    .lp-global-search-box {
        padding-top: 0 !important;
        padding-bottom: 12px !important;
        margin-bottom: 0 !important;
    }

    .lp-global-search-box .lp-search-input {
        display: block;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .lp-global-search-box .lp-global-search-tags {
        justify-content: center !important;
        text-align: center !important;
    }

    .lp-global-search-box
    .lp-global-search-tags
    .lp-global-search-top-tag:nth-child(n+11) {
        display: none !important;
    }
}


/* ==========================================================================
   2248 — Overview mobile footer spacing
   Remove desktop bottom padding from the shared overview wrapper.
   ========================================================================== */
@media screen and (max-width: 719px) {
    .lp-overview-content {
        padding-bottom: 0 !important;
    }
}


/* ==========================================================================
   2252 — Branchen overview mobile: regional map before regional text
   Real DOM anchor: .lp-regionenkarte / .lp-regionenkarte--map-only
   ========================================================================== */
@media screen and (max-width: 719px) {

    /* Desktop row is [regional text] [Germany map].
       On mobile only, reverse that specific WPBakery row. */
    .lp-overview-content .vc_row:has(.lp-regionenkarte--map-only),
    .lp-overview-content .vc_row:has(.lp-regionenkarte) {
        display: flex !important;
        flex-direction: column-reverse !important;
        flex-wrap: nowrap !important;
    }

    .lp-overview-content .vc_row:has(.lp-regionenkarte--map-only) > .wpb_column,
    .lp-overview-content .vc_row:has(.lp-regionenkarte) > .wpb_column {
        width: 100% !important;
        float: none !important;
    }

    /* Normalize editorial typography in the two text columns surrounding
       the Branchen distribution / regional map section. */
    .lp-overview-content .vc_row:has(.lp-regionenkarte) h2,
    .lp-overview-content .vc_row:has(.lp-regionenkarte) h3,
    .lp-overview-content .vc_row:has(.lp-regionenkarte) h4 {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-top: 24px !important;
        margin-bottom: 10px !important;
    }

    .lp-overview-content .vc_row:has(.lp-regionenkarte) p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    /* Map is the visual separator/introduction to the regional block. */
    .lp-overview-content .lp-regionenkarte--map-only {
        margin-bottom: 20px !important;
    }
}


/* ==========================================================================
   2253 — EN mobile I18N corrections (CSS only)
   ========================================================================== */
@media screen and (max-width: 719px) {

    /* Shared distribution charts: override German synthetic mobile headings. */
    html[lang^="en"] .lp-distribution-chart--type-branchen::before {
        content: "SECTORS" !important;
    }

    html[lang^="en"] .lp-distribution-chart--type-regionen::before {
        content: "REGIONS" !important;
    }

    /* Homepage EN: keep the same six selected tiles, but order those existing
       DOM positions alphabetically by their English labels. */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(2)  { order: 1 !important; } /* Automotive */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(3)  { order: 2 !important; } /* Construction */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(12) { order: 3 !important; } /* Mechanical Engineering */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(13) { order: 4 !important; } /* Metalworking */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(9)  { order: 5 !important; } /* Retail & Consumer Goods */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(4)  { order: 6 !important; } /* Services */
}








/* ==========================================================================
   2259 — Industry portals mobile
   Audited selectors only:
   .lp-portal-intro
   .lp-branchen-subnav-grid--portal
   .lp-top-tags--portal .lp-top-tag-list > .lp-top-tag
   #breadcrumbs-container
   ========================================================================== */
@media screen and (max-width: 719px) {

    /* Portal-only breadcrumb removal. */
    body:has(.lp-portal-intro) #breadcrumbs-container {
        display: none !important;
    }

    /* Portal typography: approved mobile hierarchy.
       Scope is portal presence + existing overview content wrapper. */
    body:has(.lp-portal-intro) .lp-overview-content h1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    body:has(.lp-portal-intro) .lp-overview-content h2 {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    body:has(.lp-portal-intro) .lp-overview-content h3 {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    body:has(.lp-portal-intro) .lp-overview-content p,
    body:has(.lp-portal-intro) .lp-overview-content li {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    /* Existing portal intro had its own 767px desktop-ish type sizes. */
    .lp-portal-intro-title {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .lp-portal-intro-text {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    /* Important portal subnavigation: compact two-column contents index.
       Keep all destinations; reduce vertical footprint. */
    .lp-branchen-subnav-grid--portal {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 16px !important;
        row-gap: 0 !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item,
    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:visited {
        min-width: 0 !important;
        padding: 7px 0 !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-title {
        gap: 6px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-title i.fa {
        width: 14px !important;
        flex: 0 0 14px !important;
        font-size: 11px !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-clusters {
        margin: 3px 0 0 20px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    /* Portal generated chips: max 12 per actual tag group on mobile. */
    .lp-top-tags--portal .lp-top-tag-list > .lp-top-tag:nth-child(n+13) {
        display: none !important;
    }
}


/* ==========================================================================
   2260 — Portal subnav: compact mobile labels (CSS only)
   2260 PHP attempt discarded; this patch is based directly on accepted 2259.
   ========================================================================== */
@media screen and (max-width: 719px) {

    .lp-branchen-subnav-grid--portal
    .lp-branchen-subnav-title > span {
        font-size: 0 !important;
    }

    .lp-branchen-subnav-grid--portal
    .lp-branchen-subnav-title > span::after {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(1) .lp-branchen-subnav-title > span::after { content: "Agrar"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(2) .lp-branchen-subnav-title > span::after { content: "Automotive"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(3) .lp-branchen-subnav-title > span::after { content: "Bauwirtschaft"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(4) .lp-branchen-subnav-title > span::after { content: "Dienstleistungen"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(5) .lp-branchen-subnav-title > span::after { content: "Elektrotechnik"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(6) .lp-branchen-subnav-title > span::after { content: "Energie"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(7) .lp-branchen-subnav-title > span::after { content: "Gesundheit"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(8) .lp-branchen-subnav-title > span::after { content: "Handel"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(9) .lp-branchen-subnav-title > span::after { content: "IT"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(10) .lp-branchen-subnav-title > span::after { content: "Kunststoff"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(11) .lp-branchen-subnav-title > span::after { content: "Lebensmittel"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(12) .lp-branchen-subnav-title > span::after { content: "Maschinenbau"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(13) .lp-branchen-subnav-title > span::after { content: "Metall"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(14) .lp-branchen-subnav-title > span::after { content: "Druck"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(15) .lp-branchen-subnav-title > span::after { content: "Präzision"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(1) .lp-branchen-subnav-title > span::after { content: "Agriculture"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(2) .lp-branchen-subnav-title > span::after { content: "Automotive"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(3) .lp-branchen-subnav-title > span::after { content: "Construction"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(4) .lp-branchen-subnav-title > span::after { content: "Services"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(5) .lp-branchen-subnav-title > span::after { content: "Electrical"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(6) .lp-branchen-subnav-title > span::after { content: "Energy"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(7) .lp-branchen-subnav-title > span::after { content: "Healthcare"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(8) .lp-branchen-subnav-title > span::after { content: "Retail"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(9) .lp-branchen-subnav-title > span::after { content: "IT"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(10) .lp-branchen-subnav-title > span::after { content: "Plastics"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(11) .lp-branchen-subnav-title > span::after { content: "Food"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(12) .lp-branchen-subnav-title > span::after { content: "Mechanical Engineering"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(13) .lp-branchen-subnav-title > span::after { content: "Metalworking"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(14) .lp-branchen-subnav-title > span::after { content: "Printing"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(15) .lp-branchen-subnav-title > span::after { content: "Precision Engineering"; }
}




/* ==========================================================================
   2262 — Sitewide mobile typography + breadcrumbs removed
   ========================================================================== */

/* Breadcrumbs are no longer part of the LP frontend. */
#breadcrumbs-container,
.breadcrumbs {
    display: none !important;
}

@media screen and (max-width: 719px) {
    #page-content h1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    #page-content h2 {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    #page-content h3 {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    #page-content p,
    #page-content li {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }
}


/* ==========================================================================
   2263 — Lesser pages: remove legacy mobile top gap after page title
   ========================================================================== */
@media screen and (max-width: 719px) {
    body.page-template-default #page-content > #content-container.container_24 {
        padding-top: 10px !important;
    }
}


/* ==========================================================================
   2264 — Shared auction CTA text + portal current-auctions heading spacing
   ========================================================================== */
@media screen and (max-width: 719px) {
    .lp-portal-current-auctions > h2 {
        margin-bottom: 12px !important;
    }
}


/* EN current-card fallback: mark a German-only Hauptbez without changing card layout. */
.lp-search-position-language-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    border: 1px solid #f19300;
    border-radius: 50%;
    color: #f19300;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    vertical-align: 1px;
    cursor: help;
}

.lp-search-position-language-info:focus {
    outline: 2px solid #f19300;
    outline-offset: 2px;
}

/* 2271 — German-only EN Hauptbez: use the established Search speech-bubble language. */
.lp-search-position-language-info {
    position: relative;
}
.lp-search-position-language-info::after {
    content: attr(data-lp-search-hint);
    position: absolute;
    z-index: 40;
    left: 50%;
    bottom: calc(100% + 11px);
    width: max-content;
    max-width: 330px;
    padding: 10px 13px;
    border: 1px solid #e5cf79;
    border-radius: 5px;
    background: #fff4bf;
    color: #263238;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    text-align: left;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.lp-search-position-language-info::before {
    content: "";
    position: absolute;
    z-index: 41;
    left: 50%;
    bottom: calc(100% + 5px);
    width: 11px;
    height: 11px;
    background: #fff4bf;
    border-right: 1px solid #e5cf79;
    border-bottom: 1px solid #e5cf79;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) rotate(45deg);
    transition: opacity .15s ease, visibility .15s ease;
}
.lp-search-position-language-info:hover::after,
.lp-search-position-language-info:focus::after,
.lp-search-position-language-info:hover::before,
.lp-search-position-language-info:focus::before {
    opacity: 1;
    visibility: visible;
}
.lp-search-position-language-info:hover::after,
.lp-search-position-language-info:focus::after {
    transform: translate(-50%, 0);
}

/* 2272 — German-only title balloon must escape the card and sit above neighbouring cards. */
.lp-search-position-card--language-fallback {
    overflow: visible;
}
.lp-search-position-card--language-fallback:hover,
.lp-search-position-card--language-fallback:focus-within {
    z-index: 80;
}
.lp-search-position-card--language-fallback .lp-search-position-language-info::after {
    z-index: 82;
}
.lp-search-position-card--language-fallback .lp-search-position-language-info::before {
    z-index: 83;
}


/* Project detail @390: keep the established design, only tighten mobile density. */
.lp-project-tab-cta-label--mobile { display: none; }

@media (max-width: 760px) {
    /* Project logo: larger and centred on the narrow header. */
    .lp-project-layout__logo-content > .wpb_wrapper {
        justify-content: center !important;
    }
    .lp-project-logo {
        width: 100% !important;
        height: 120px !important;
        overflow: visible !important;
        justify-content: center !important;
    }
    .lp-project-logo__image {
        width: 100% !important;
        max-width: 340px !important;
        max-height: 120px !important;
        object-position: center center !important;
    }

    /* The long platform wording is redundant on mobile. */
    .lp-project-tab-cta-label--desktop { display: none; }
    .lp-project-tab-cta-label--mobile { display: inline; }

    /* Mobile project taxonomy: eight topics + eight manufacturers are enough. */
    .lp-case-tags .lp-top-tag-list > .lp-top-tag:nth-child(n+9) {
        display: none !important;
    }

    /* Avoid a 12-card flash while the viewport-aware AJAX page normalises to six. */
    [data-lp-project-positions="1"][data-positions-per-page="12"] .lp-case-position-card-grid > :nth-child(n+7) {
        display: none !important;
    }
}


/* 2278 — Project @390: three useful tabs in one row; legacy first Info is redundant on mobile. */
.lp-project-tab-title--mobile { display: none; }

@media (max-width: 760px) {
    .lp-project-tabs .lp-case-project-tabs-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px;
    }
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:first-of-type + .lp-project-tab-label {
        display: none !important;
    }
    .lp-project-tabs .lp-project-tab-label {
        min-width: 0;
        padding-left: 8px;
        padding-right: 8px;
    }
    .lp-project-tab-title--desktop { display: none; }
    .lp-project-tab-title--mobile { display: inline; }

    /* The hidden desktop-only Info tab is checked in the initial HTML. On mobile,
       Besichtigung is the visible initial tab without introducing JS tab state. */
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(1) {
        display: none !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(2) {
        display: block !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(2) + .lp-project-tab-label {
        background: #f8f8f8;
        color: #203943;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(2) + .lp-project-tab-label i.fa {
        color: #203943;
    }
}

/* 2279 — Project @390: compact mobile tab titles are text-only. */
@media (max-width: 760px) {
    .lp-project-tabs .lp-case-project-tabs-nav .lp-project-tab-label > i.fa {
        display: none !important;
    }
}


/* 2283 — project CTA deadline optical alignment; tile dimensions stay unchanged. */
.lp-project-cta.lp-case-sidebar-cta .lp-case-sidebar-deadline > span {
    position: relative;
    top: -3px;
}
.lp-project-cta.lp-case-sidebar-cta .lp-case-sidebar-deadline > strong {
    position: relative;
    top: 5px;
    font-size: 19px !important;
}
.lp-project-cta.lp-case-sidebar-cta .lp-case-sidebar-deadline > em {
    position: relative;
    top: 5px;
}

/* 2285: mobile live-auction CTA below the status footnote, outside the status card. */
.lp-project-status-mobile-cta{display:none}
@media(max-width:767px){
.lp-project-status-mobile-cta,.lp-project-status-mobile-cta:visited{display:block;width:100%;max-width:274px;margin:35px auto 18px;padding:9px 12px;background:#f19300;color:#fff;font-size:12px;line-height:1.3;font-weight:700;text-align:center;text-decoration:none;box-sizing:border-box}
.lp-project-status-mobile-cta:hover,.lp-project-status-mobile-cta:focus{background:#f7a933;color:#fff;text-decoration:none}
.lp-project-status-mobile-cta span{display:block}
.lp-project-status-mobile-cta + h2{margin-top:35px !important}
.lp-project-intro-text{margin-top:35px}
}

/* ==========================================================================\n   SEARCH MOBILE — compact information-first layout\n   2298: mobile-only presentation; Search data, URLs and state logic unchanged.\n   ========================================================================== */
@media (max-width: 719px) {
    /* Establish one real mobile canvas. */
    body.page-template-template-lp-search-php,
    body.page-template-templatestemplate-lp-search-php {
        overflow-x: hidden;
    }

    .lp-search-template,
    .lp-search-template .wpb-content-wrapper,
    .lp-search-template .vc_row,
    .lp-search-template .vc_row[data-vc-full-width="true"],
    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .wpb_column,
    .lp-search-template .vc_column-inner,
    .lp-search-template .wpb_wrapper {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    /* Full-bleed search head, but its contents stay safely inside the viewport. */
    .lp-search-template .lp-search-box {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 8px 20px 16px !important;
        overflow: hidden;
    }
    .lp-search-box .lp-search-asset-count {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.35;
    }
    .lp-search-box .lp-search-form {
        gap: 0;
    }
    .lp-search-box .lp-search-input {
        min-height: 42px;
        height: 42px;
        line-height: 40px;
        padding-left: 13px;
        font-size: 13px;
    }
    .lp-search-box .lp-search-button {
        min-height: 40px;
        height: 40px;
        margin-top: 6px;
        line-height: 38px;
        font-size: 12px;
    }

    /* Discovery keeps all content and links, but pills become a dense text index. */
    .lp-search-template .lp-search-box-discovery--query,
    .lp-search-template .lp-search-box-discovery--landing {
        width: 100% !important;
        margin-top: 14px !important;
    }
    .lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group {
        margin-top: 16px !important;
    }
    .lp-search-template .lp-search-box-discovery-group h3 {
        margin: 0 0 7px !important;
        font-size: 11px !important;
        text-align: left;
    }
    .lp-search-template .lp-search-box-discovery .lp-global-search-tags,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px !important;
        width: 100%;
        max-width: none;
        align-items: stretch;
    }
    .lp-search-template .lp-search-box-discovery .lp-search-chip,
    .lp-search-template .lp-search-box-discovery .lp-search-chip:visited,
    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag,
    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag:visited {
        display: flex !important;
        justify-content: space-between;
        align-items: baseline;
        min-width: 0;
        min-height: 0;
        padding: 5px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e2e7e9 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #203943 !important;
        font-size: 10px;
        line-height: 1.25;
        font-weight: 600;
        text-align: left;
    }
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count {
        flex: 0 0 auto;
        min-width: 0;
        height: auto;
        margin-left: 5px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: #6f858d;
        font-size: 9px;
        font-weight: 400;
    }

    /* Search worlds: retain all three data worlds, reduce stacked-card bulk. */
    .lp-search-template .lp-search-results-header--three-worlds {
        margin-top: 22px;
        margin-bottom: 14px;
    }
    .lp-search-template .lp-search-worlds {
        gap: 5px;
    }
    .lp-search-template .lp-search-world {
        padding: 9px 11px 10px;
    }
    .lp-search-template .lp-search-world-title {
        font-size: 11px;
    }
    .lp-search-template .lp-search-world-count {
        font-size: 12px;
    }
    .lp-search-template .lp-search-world-description {
        margin-top: 4px;
        font-size: 10px;
        line-height: 1.4;
    }

    /* Context boxes remain complete, but no longer dominate the first screen. */
    .lp-search-template .lp-search-current-intro,
    .lp-search-template .lp-search-context-notice--sold,
    .lp-search-template .lp-search-context-notice--valued {
        margin-bottom: 16px !important;
        padding: 12px 13px !important;
    }
    .lp-search-template .lp-search-current-intro h2,
    .lp-search-template .lp-search-context-notice--sold h2,
    .lp-search-template .lp-search-context-notice--valued h2 {
        margin-bottom: 5px !important;
        font-size: 12px !important;
        line-height: 1.3;
    }
    .lp-search-template .lp-search-current-intro p,
    .lp-search-template .lp-search-context-notice--sold p,
    .lp-search-template .lp-search-context-notice--valued p {
        font-size: 11px;
        line-height: 1.5;
    }

    /* Result heading, pagination and cards share the same compact rhythm. */
    .lp-search-template .lp-search-results-header {
        gap: 8px;
        margin-bottom: 14px;
    }
    .lp-search-template .lp-search-results-header-main h1,
    .lp-search-template .lp-search-results-header h1,
    .lp-search-template .lp-search-results-count {
        font-size: 16px !important;
        line-height: 1.3;
    }
    .lp-search-template .lp-search-results-countline {
        font-size: 11px;
        line-height: 1.45;
    }
    .lp-search-template .lp-search-pagination {
        margin-top: 8px;
    }
    .lp-search-template .lp-search-results-section .lp-search-position-list,
    .lp-search-template .lp-search-position-list,
    .lp-search-template .lp-search-position-list--more {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .lp-search-template .lp-search-position-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .lp-search-template .lp-search-position-image,
    .lp-search-template .lp-search-position-image:visited {
        aspect-ratio: 1.82 / 1 !important;
    }
    .lp-search-template .lp-search-position-body,
    .lp-search-template .lp-search-result-group--sold .lp-search-position-card--historical .lp-search-position-body,
    .lp-search-template .lp-search-sold-world .lp-search-position-card--historical .lp-search-position-body {
        min-height: 0 !important;
        padding: 10px 11px 11px !important;
    }
    .lp-search-template .lp-search-position-body h3,
    .lp-search-template .lp-search-position-card h3 {
        margin-bottom: 7px !important;
        font-size: 12px !important;
    }
    .lp-search-template .lp-search-position-facts {
        margin-bottom: 6px;
        font-size: 10px;
    }
    .lp-search-template .lp-search-position-actions {
        padding-top: 4px !important;
    }
    .lp-search-template .lp-search-card-button,
    .lp-search-template .lp-search-card-button:visited {
        min-height: 28px;
        padding: 6px 7px !important;
        font-size: 9px;
    }

    /* BEWERTET: preserve the analysis, but make the stacked dashboard economical. */
    .lp-search-template .lp-search-valued-dashboard,
    .lp-search-template .lp-search-valued-secondary-grid {
        gap: 16px !important;
    }
    .lp-search-template .lp-search-valued-dashboard h3,
    .lp-search-template .lp-search-valued-activity-wide h3 {
        margin-bottom: 8px !important;
        font-size: 12px !important;
    }
    .lp-search-template .lp-search-valued-chart,
    .lp-search-template .lp-search-market-card,
    .lp-search-template .lp-search-valued-age-frequency {
        padding-top: 0;
        padding-bottom: 0;
    }
    .lp-search-template .lp-search-valued-maker-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .lp-search-template .lp-search-valued-maker-card--full,
    .lp-search-template .lp-search-valued-maker-card--half {
        grid-column: auto !important;
    }
    .lp-search-template .lp-search-valued-maker-card .lp-search-valued-type-pills {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
    }
    .lp-search-template a.lp-search-valued-type-pill,
    .lp-search-template a.lp-search-valued-type-pill:visited {
        display: block;
        min-width: 0;
        margin: 0 !important;
        padding: 4px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e2e7e9 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #203943 !important;
        box-shadow: none !important;
        font-size: 9px;
        line-height: 1.3;
    }
    .lp-search-template .lp-search-valued-makers-more {
        margin-top: 12px;
        padding: 7px 9px;
        font-size: 9px;
    }
    .lp-search-template .lp-search-valued-register h2 {
        margin-top: 22px;
        margin-bottom: 12px;
        font-size: 15px;
    }
}

/* 2299: Search mobile width correction.
   Keep every Search block on the same viewport canvas; neutralize VC full-width offsets. */
@media (max-width: 719px) {
    .lp-search-template {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip;
    }

    .lp-search-template .vc_row[data-vc-full-width="true"],
    .lp-search-template .vc_row[data-vc-full-width="true"]:has(.lp-search-box) {
        width: 100% !important;
        max-width: 100% !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        transform: none !important;
    }

    .lp-search-template .lp-search-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: auto !important;
        max-width: none !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results,
    .lp-search-template .lp-search-position-list,
    .lp-search-template .lp-search-position-card {
        min-width: 0 !important;
    }
}

/* 2300: Search mobile canvas + compact comma-separated discovery links.
   Reset the shared overview mobile gutter first; Search owns its own 20px gutter. */
@media (max-width: 719px) {
    .lp-overview-content.lp-search-template {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .lp-search-template .lp-search-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-tags,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-row {
        display: block !important;
        width: 100% !important;
        line-height: 1.65 !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag,
    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag:visited,
    .lp-search-template .lp-search-box-discovery .lp-search-chip,
    .lp-search-template .lp-search-box-discovery .lp-search-chip:visited {
        display: inline !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #203943 !important;
        font-size: 10px !important;
        line-height: inherit !important;
        font-weight: 600 !important;
        white-space: normal !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag::after,
    .lp-search-template .lp-search-box-discovery .lp-search-chip::after {
        content: ", ";
        color: #6f858d;
        font-weight: 400;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag:last-child::after,
    .lp-search-template .lp-search-box-discovery .lp-search-chip:last-child::after {
        content: "";
    }

    .lp-search-template .lp-search-box-discovery .lp-top-tag-count,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count {
        display: inline !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #6f858d !important;
        font-size: 9px !important;
        line-height: inherit !important;
        font-weight: 400 !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-top-tag-count::before,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count::before {
        content: " (";
    }

    .lp-search-template .lp-search-box-discovery .lp-top-tag-count::after,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count::after {
        content: ")";
    }
}

/* 2301: Search mobile nested-gutter correction.
   The VC row already owns the 20px mobile gutter; result wrappers must not subtract it again. */
@media (max-width: 719px) {
    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* 2302: Search mobile density pass.
   Full-width form, compact world tabs, six-card mobile pagination and one-column market data. */
@media (max-width: 719px) {
    .lp-search-template .lp-search-box .lp-search-form,
    .lp-search-template .lp-search-box .lp-search-input,
    .lp-search-template .lp-search-box .lp-search-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* The world cards become the compact mobile state navigation; counts stay visible. */
    .lp-search-template .lp-search-worlds,
    .lp-search-template .lp-search-worlds--landing {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }
    .lp-search-template .lp-search-world {
        min-width: 0 !important;
        padding: 8px 6px !important;
        border-radius: 3px !important;
    }
    .lp-search-template .lp-search-world-title {
        display: flex !important;
        gap: 4px !important;
        min-width: 0 !important;
    }
    .lp-search-template .lp-search-world-title strong {
        min-width: 0 !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
    .lp-search-template .lp-search-world-dot {
        width: 7px !important;
        height: 7px !important;
        flex-basis: 7px !important;
    }
    .lp-search-template .lp-search-world-count {
        margin-left: auto !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    .lp-search-template .lp-search-world-subtitle {
        display: none !important;
    }

    /* Market data is readable only as a vertical mobile sequence. */
    .lp-search-template .lp-search-layout-stats .lp-search-market-stats-grid,
    .lp-search-template .lp-search-valued-dashboard,
    .lp-search-template .lp-search-valued-secondary-grid,
    .lp-search-template .lp-search-valued-activity-wide {
        grid-template-columns: 1fr !important;
    }
    .lp-search-template .lp-search-layout-stats .lp-search-market-card,
    .lp-search-template .lp-search-layout-stats .lp-search-market-card--activity,
    .lp-search-template .lp-search-valued-dashboard > *,
    .lp-search-template .lp-search-valued-secondary-grid > *,
    .lp-search-template .lp-search-valued-activity-wide > * {
        grid-column: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}


/* 2303: Mobile world navigation stays prominent: one compact full-width row per world. */
@media (max-width: 719px) {
    .lp-search-template .lp-search-worlds,
    .lp-search-template .lp-search-worlds--landing {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }
    .lp-search-template .lp-search-world {
        width: 100% !important;
        min-height: 42px !important;
        padding: 11px 12px !important;
    }
    .lp-search-template .lp-search-world-title strong,
    .lp-search-template .lp-search-world-count {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }
    .lp-search-template .lp-search-world-dot {
        width: 8px !important;
        height: 8px !important;
        flex-basis: 8px !important;
    }
}

/* 2305: Search mobile uses the original desktop world cards, stacked.
   Context copy remains unchanged and is presented as a collapsed mobile accordion. */
@media (max-width: 719px) {
    /* The generic landing explanation is redundant once the three worlds are visible. */
    .lp-search-template .lp-search-landing-welcome {
        display: none !important;
    }

    /* Undo the 2302/2303 compact-tab experiment: retain the desktop card language. */
    .lp-search-template .lp-search-worlds,
    .lp-search-template .lp-search-worlds--landing {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .lp-search-template .lp-search-world {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 15px 16px 16px !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }
    .lp-search-template .lp-search-world-title {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .lp-search-template .lp-search-world-title strong {
        font-size: 14px !important;
        line-height: normal !important;
    }
    .lp-search-template .lp-search-world-dot {
        width: 11px !important;
        height: 11px !important;
        flex: 0 0 11px !important;
    }
    .lp-search-template .lp-search-world-count {
        margin-left: auto !important;
        font-size: 16px !important;
        line-height: normal !important;
        white-space: nowrap !important;
    }
    .lp-search-template .lp-search-world-subtitle {
        display: block !important;
        margin-top: 8px !important;
        padding-left: 19px !important;
        color: #6f858d !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    /* Existing context notices: same copy and links, collapsed by default on mobile. */
    .lp-search-template .lp-search-mobile-info-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 10px;
        padding: 11px 13px;
        border: 1px solid #d9e1e7;
        border-radius: 3px;
        background: #fff;
        color: #0d3158;
        font: inherit;
        font-size: 11px;
        line-height: 1.3;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
        box-sizing: border-box;
    }
    .lp-search-template .lp-search-mobile-info-chevron {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform .15s ease;
    }
    .lp-search-template .lp-search-mobile-info-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron {
        transform: rotate(225deg) translate(-2px, -2px);
    }
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready.is-collapsed {
        display: none !important;
    }
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready {
        margin-top: 0 !important;
        margin-bottom: 14px !important;
    }
}

/* 2306: Mobile Search accordions keep their native visual containers.
   Only the body copy/links collapse; PHP/rendered content stays untouched. */
@media (max-width: 719px) {
    /* Search notice: the green/orange/blue notice itself remains visible. */
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready {
        display: block !important;
        margin-bottom: 14px !important;
    }
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready.is-collapsed > :not(h2),
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready.is-collapsed > :not(h2),
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready.is-collapsed > :not(h2) {
        display: none !important;
    }
    .lp-search-template .lp-search-mobile-info-ready > h2 {
        margin: 0 !important;
    }
    .lp-search-template .lp-search-mobile-info-toggle {
        display: flex !important;
        width: 100% !important;
        min-height: 0 !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: inherit !important;
        font: inherit !important;
        font-size: inherit !important;
        line-height: inherit !important;
        font-weight: inherit !important;
        text-align: left !important;
        cursor: pointer;
        box-sizing: border-box;
    }

    /* Landing discovery: same compact accordion language for both groups. */
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group {
        margin-top: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #d9e1e7;
    }
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group + .lp-search-box-discovery-group {
        margin-top: 0 !important;
    }
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group h3 {
        margin: 0 !important;
        padding: 0 !important;
    }
    .lp-search-template .lp-search-mobile-discovery-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        border: 0;
        background: transparent;
        color: #0d3158;
        font: inherit;
        font-size: 12px;
        line-height: 1.3;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
        cursor: pointer;
        box-sizing: border-box;
    }
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-global-search-tags,
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-search-chip-row {
        display: none !important;
    }
    .lp-search-template .lp-search-mobile-discovery-ready:not(.is-collapsed) .lp-global-search-tags,
    .lp-search-template .lp-search-mobile-discovery-ready:not(.is-collapsed) .lp-search-chip-row {
        padding-bottom: 12px !important;
    }
    .lp-search-template .lp-search-mobile-discovery-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron {
        transform: rotate(225deg) translate(-2px, -2px);
    }
}


/* 2307: one consistent mobile disclosure pattern across Search.
   Landing intro and state notices retain their native coloured container;
   query discovery receives a compact "Relevante Suchbegriffe" disclosure. */
@media (max-width: 719px) {
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready {
        display: block !important;
        margin-bottom: 14px !important;
    }
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready.is-collapsed > :not(h2) {
        display: none !important;
    }
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready > h2 {
        margin: 0 !important;
    }

    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        display: block !important;
        margin-top: 0 !important;
        margin-bottom: 14px !important;
        padding: 0 !important;
        border-bottom: 1px solid #d9e1e7;
    }
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed .lp-search-box-discovery-row {
        display: none !important;
    }
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready:not(.is-collapsed) .lp-search-box-discovery-row:last-child {
        padding-bottom: 12px !important;
    }
    .lp-search-template .lp-search-mobile-query-discovery-toggle {
        margin: 0 !important;
    }
    .lp-search-template .lp-search-mobile-query-discovery-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron {
        transform: rotate(225deg) translate(-2px, -2px);
    }
}

/* 2308: Keep query-state notice containers visible when their mobile body is collapsed.
   This explicitly supersedes the obsolete 2305 rule that hid the complete notice. */
@media (max-width: 719px) {
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready.is-collapsed {
        display: block !important;
    }
}

/* 2309: Search mobile spacing polish after accordion pass.
   Closed discovery groups collapse fully; info boxes use the regular 35px vertical rhythm. */
@media (max-width: 719px) {
    /* Closed discovery must not reserve the height of its expanded link content. */
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed,
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed {
        min-height: 0 !important;
        height: auto !important;
    }
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-global-search-tags,
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-search-chip-row,
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed .lp-search-box-discovery-row {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: 0 !important;
    }

    /* The discovery block ends with its disclosure rule, not expanded-state whitespace. */
    .lp-search-template .lp-search-box-discovery--landing,
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Query discovery gets the same breathing room below the search button as landing discovery. */
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        margin-top: 14px !important;
    }

    /* Landing explanation: regular WP-Bakery-like spacing above and below. */
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready {
        margin-top: 35px !important;
        margin-bottom: 35px !important;
    }
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready + .lp-search-landing-world-intro {
        margin-top: 0 !important;
    }

    /* Query-state explanation sits midway between world navigation and result content. */
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready {
        margin-top: 35px !important;
        margin-bottom: 35px !important;
    }
}

/* 2310: Search mobile final spacing pass.
   Query discovery collapses to its disclosure row; Current fallback/results use the same
   35px notice rhythm that already works in Sold. No Search logic or desktop rules changed. */
@media (max-width: 719px) {
    /* A collapsed query-discovery block must not leave WPBakery wrapper space behind. */
    .lp-search-template .lp-search-box:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed) {
        padding-bottom: 16px !important;
        min-height: 0 !important;
        height: auto !important;
    }
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed) > .wpb_wrapper,
    .lp-search-template .vc_column-inner:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed),
    .lp-search-template .vc_row:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed) {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Current/0-result replacement offer had its own extra top margin after the notice. */
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready + .lp-search-layout-more--current-offer .lp-search-more-results,
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready ~ .lp-search-layout-more--current-offer .lp-search-more-results {
        margin-top: 0 !important;
    }
}

/* 2311: Search mobile spacing corrections.
   Discovery separators stay state-specific; landing wrappers shrink to content;
   query notice rhythm is controlled by the notice margins, not the layout-grid gap. */
@media (max-width: 719px) {
    /* Query discovery: no divider below the disclosure, open or closed. */
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        border-bottom: 0 !important;
    }

    /* Landing discovery: keep the divider after "Oft gesucht", but not after
       the final "Häufige Hersteller" group. */
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group {
        border-bottom: 1px solid #d9e1e7 !important;
    }
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group:last-child {
        border-bottom: 0 !important;
    }

    /* The landing search head must end with the actual discovery content.
       Neutralize WPBakery row/column space around that landing discovery. */
    .lp-search-template .lp-search-box:has(.lp-search-box-discovery--landing),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--landing),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--landing) > .wpb_wrapper,
    .lp-search-template .vc_column-inner:has(.lp-search-box-discovery--landing),
    .lp-search-template .vc_row:has(.lp-search-box-discovery--landing) {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* A Search row containing a state notice must not add its desktop 44px grid gap.
       The notice itself already supplies the intended 35px rhythm above/below. */
    .lp-search-template .lp-search-layout-row:has(.lp-search-current-intro.lp-search-mobile-info-ready),
    .lp-search-template .lp-search-layout-row:has(.lp-search-context-notice--sold.lp-search-mobile-info-ready),
    .lp-search-template .lp-search-layout-row:has(.lp-search-context-notice--valued.lp-search-mobile-info-ready) {
        gap: 0 !important;
    }
}

/* 2312: Search mobile final two spacing fixes.
   Query discovery loses its remaining open-state grey tail; Current notice/result
   spacing follows the inspected layout-row margin, without touching Sold/Valued. */
@media (max-width: 719px) {
    /* Query discovery: its grey search-head background ends with the actual content,
       regardless of whether the relevant-search-terms disclosure is open or closed. */
    .lp-search-template .lp-search-box:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready) {
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready) > .wpb_wrapper,
    .lp-search-template .vc_column-inner:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready),
    .lp-search-template .vc_row:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready) {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Current: inspector confirms the residual notice -> results distance is the
       layout-row's desktop margin-bottom, not its grid gap. */
    .lp-search-template .lp-search-layout-row:has(.lp-search-current-intro.lp-search-mobile-info-ready) {
        margin-bottom: 0 !important;
    }
}

/* =========================================================
   2322 — mobile baseline for ordinary WPBakery "lesser pages"
   Scope: standard singular/default pages only.
   Collapse stacked U-Design / WPBakery horizontal gutters and
   establish one canonical 20px mobile page gutter.
========================================================= */
@media (max-width: 767px) {
    body.wp-singular.page-template-default .main-content-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.wp-singular.page-template-default .wpb_column.vc_column_container.vc_col-sm-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.wp-singular.page-template-default .vc_column-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.wp-singular.page-template-default #main-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   2335 — iPad portrait / narrow desktop overview shell gutter
   The visible overflow comes from WPBakery rows extending beyond the
   unpadded custom template shell. Put the inset on the shell itself.
   AU + GA + project only; Search/portals/home and <=959px stay untouched.
   ========================================================================== */
@media screen and (min-width: 960px) and (max-width: 1100px) {
    body:has(.lp-completed-auctions-archive):not(:has(.lp-portal-intro)) .lp-overview-content,
    body:has(.lp-gutachten-archive):not(:has(.lp-portal-intro)) .lp-overview-content,
    .lp-overview-content.lp-case-template {
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   2338 — Branchen overview iPad portrait shell gutter
   Same verified 24px overview-shell inset as AU/GA/project.
   Scope only the Branchen overview source; home/portal and <=959px untouched.
   ========================================================================== */
@media screen and (min-width: 960px) and (max-width: 1100px) {
    body:has(.lp-branchen-tiles--branchen) .lp-overview-content {
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   2343 — PROJECT TABLET SIDEBAR
   960–1100 only: meta | contact image | contact body = 40 | 30 | 30.
   Main project content stays full width. Mobile/390 and desktop untouched.
   ========================================================================== */
@media (min-width: 960px) and (max-width: 1100px) {
    .lp-project-layout--overview .lp-project-layout__main,
    .lp-project-layout--overview .lp-project-layout__aside {
        width: 100% !important;
        float: none !important;
    }

    .lp-project-layout--overview .lp-project-sidebar.lp-case-meta-sidebar {
        display: grid !important;
        grid-template-columns: 40% 30% 30%;
        grid-template-rows: auto;
        align-items: start;
        padding: 24px !important;
        box-sizing: border-box;
    }

    .lp-project-layout--overview .lp-project-sidebar > .lp-project-sidebar__title,
    .lp-project-layout--overview .lp-project-sidebar > .lp-project-sidebar__row {
        grid-column: 1;
        margin-left: 0;
        margin-right: 24px;
    }

    .lp-project-layout--overview .lp-project-sidebar > .lp-project-contact {
        grid-column: 2 / 4;
        grid-row: 1 / span 20;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0;
    }

    .lp-project-layout--overview .lp-project-sidebar .lp-project-contact__image {
        grid-column: 1;
        width: 100%;
        max-width: none;
        height: auto;
        margin: 0 !important;
        padding: 0;
        object-fit: cover;
    }

    .lp-project-layout--overview .lp-project-sidebar .lp-project-contact__body {
        grid-column: 2;
        padding: 0 0 0 24px !important;
        min-width: 0;
    }
}

/* ==========================================================================
   2344 — PROJECT TABLET TABS
   960–1100 only: hide redundant Info tab, put Links & Info first.
   If the hidden Info radio is initially checked, show Links & Info instead.
   The separate project CTA remains the single visible CTA.
   ========================================================================== */
@media (min-width: 960px) and (max-width: 1100px) {
    .lp-project-tabs .lp-case-project-tabs-nav {
        display: flex !important;
    }

    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:first-of-type + .lp-project-tab-label {
        display: none !important;
    }

    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        order: 1;
    }
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(2) + .lp-project-tab-label {
        order: 2;
    }
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(3) + .lp-project-tab-label {
        order: 3;
    }

    /* Initial desktop HTML checks Info. On tablet, substitute Links & Info. */
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(1) {
        display: none !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(4) {
        display: block !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        background: #f8f8f8;
        color: #203943;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label i.fa {
        color: #203943;
    }
}

/* ==========================================================================
   2348 — PROJECT @600: three-column sidebar
   480–719 only. 390 and iPad remain untouched.
   ========================================================================== */
@media (min-width: 480px) and (max-width: 719px) {
    .lp-project-layout--overview .lp-project-sidebar.lp-case-meta-sidebar {
        display: grid !important;
        grid-template-columns: 40% 30% 30%;
        grid-template-rows: auto;
        align-items: start;
        padding: 18px !important;
        box-sizing: border-box;
    }

    .lp-project-layout--overview .lp-project-sidebar > .lp-project-sidebar__title,
    .lp-project-layout--overview .lp-project-sidebar > .lp-project-sidebar__row {
        grid-column: 1;
        margin-left: 0;
        margin-right: 18px;
    }

    .lp-project-layout--overview .lp-project-sidebar > .lp-project-contact {
        grid-column: 2 / 4;
        grid-row: 1 / span 20;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0;
    }

    .lp-project-layout--overview .lp-project-sidebar .lp-project-contact__image {
        grid-column: 1;
        width: 100% !important;
        max-width: none;
        height: auto !important;
        margin: 0 !important;
        padding: 0;
        object-fit: cover;
    }

    .lp-project-layout--overview .lp-project-sidebar .lp-project-contact__body {
        grid-column: 2;
        padding: 0 0 0 18px !important;
        min-width: 0;
    }
}

/* ==========================================================================
   2349 — PROJECT contact image vertical alignment
   600 + iPad only; 390 remains untouched.
   ========================================================================== */
@media (min-width: 480px) and (max-width: 719px),
       (min-width: 960px) and (max-width: 1100px) {
    .lp-project-layout--overview .lp-project-sidebar .lp-project-contact__image {
        padding-top: 45px !important;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   2350 — PROJECT mobile: remove redundant second CTA
   390 + 600 only; iPad remains untouched.
   ========================================================================== */
@media (max-width: 719px) {
    a.lp-project-status-mobile-cta {
        display: none !important;
    }
}

/* ==========================================================================
   2351 — PROJECT mobile: hide redundant context-only status card
   390 + 600 only. AU/GA/FV status cards and iPad remain untouched.
   ========================================================================== */
@media (max-width: 719px) {
    .lp-project-status-card.lp-case-status-card--context {
        display: none !important;
    }
}

/* ==========================================================================
   2352 — PROJECT mobile tabs: Info | Besichtigung | Abholung
   390 + 600 only; redundant legacy first Info stays hidden.
   ========================================================================== */
@media (max-width: 719px) {
    .lp-project-tabs .lp-case-project-tabs-nav {
        display: flex !important;
    }

    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        order: 1;
    }
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(2) + .lp-project-tab-label {
        order: 2;
    }
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(3) + .lp-project-tab-label {
        order: 3;
    }

    /* Hidden legacy Info initially checked -> open visible Info panel instead. */
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(2) {
        display: none !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(4) {
        display: block !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(2) + .lp-project-tab-label {
        background: transparent;
        color: inherit;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        background: #f8f8f8;
        color: #203943;
    }
}

/* ==========================================================================
   2353 — PROJECT mobile tabs: restore three-column styling
   Keep 2352 order: Info | Besichtigung | Abholung.
   ========================================================================== */
@media (max-width: 719px) {
    .lp-project-tabs .lp-case-project-tabs-nav {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px;
    }
}

/* ==========================================================================
   2354 — PROJECT mobile tabs: neutral tabs white, active tab only grey
   390 + 600 only.
   ========================================================================== */
@media (max-width: 719px) {
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-label {
        background: #fff !important;
    }

    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:checked + .lp-project-tab-label {
        background: #f8f8f8 !important;
    }

    /* Hidden legacy Info is initially checked: visible Info tab is active. */
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        background: #f8f8f8 !important;
    }
}


/* ==========================================================================
   2358 — SEARCH BEWERTET 390: KPI cards 3 + 2
   Search only; <= 479px. No JS / no other responsive states touched.
   ========================================================================== */
@media (max-width: 479px) {
    .lp-search-template .lp-search-experience-metrics {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .lp-search-template .lp-search-experience-metric {
        grid-column: span 2;
        min-width: 0;
        min-height: 104px;
        padding: 12px 6px;
    }

    .lp-search-template .lp-search-experience-metric:nth-child(n+4) {
        grid-column: span 3;
    }

    .lp-search-template .lp-search-experience-metric-icon {
        margin-bottom: 7px;
        font-size: 25px;
    }

    .lp-search-template .lp-search-experience-metric strong {
        font-size: 20px;
    }

    .lp-search-template .lp-search-experience-metric span {
        font-size: 9px;
    }
}

/* 2359 — Search BEWERTET: restore compact phone manufacturer register. */
@media (max-width: 479px) {
    .lp-search-template .lp-search-valued-maker-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px 8px !important;
    }

    .lp-search-template .lp-search-valued-maker-metric {
        grid-template-columns: 1fr !important;
        gap: 3px !important;
    }

    .lp-search-template .lp-search-valued-maker-metric > span,
    .lp-search-template .lp-search-valued-maker-metric > strong {
        font-size: 9px !important;
    }

    .lp-search-template .lp-search-valued-maker-card--mobile-more {
        display: none !important;
    }

    .lp-search-template .lp-search-valued-maker-card:not(.is-expanded) .lp-search-valued-types {
        display: none !important;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-types {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        margin-top: 8px;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded a.lp-search-valued-type-pill,
    .lp-search-template .lp-search-valued-maker-card.is-expanded a.lp-search-valued-type-pill:visited {
        display: block !important;
        min-width: 0;
        margin: 0 !important;
        padding: 4px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e2e7e9 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #203943 !important;
        box-shadow: none !important;
        font-size: 9px;
        line-height: 1.3;
    }

    .lp-search-template .lp-search-valued-maker-more {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        margin-top: 8px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #6f858d !important;
        font-size: 10px !important;
        line-height: 1.35;
        font-weight: 400;
        cursor: pointer;
    }

    .lp-search-template .lp-search-valued-maker-more::after {
        content: "";
        width: 5px;
        height: 5px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-maker-more::after {
        transform: translateY(2px) rotate(225deg);
    }
}

/* 2362: Search 480–719 — market graphics use two columns.
   Keep the <=479 reference layout untouched. */
@media (min-width: 480px) and (max-width: 719px) {
    .lp-search-template .lp-search-layout-stats .lp-search-market-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .lp-search-template .lp-search-layout-stats .lp-search-market-card,
    .lp-search-template .lp-search-layout-stats .lp-search-market-card--activity {
        grid-column: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* 2363: Search query results 480–719 — keep current and sold cards at normal two-column width.
   <=479 remains the frozen single-column mobile reference. */
@media (min-width: 480px) and (max-width: 719px) {
    .lp-search-template .lp-search-results-section .lp-search-position-list,
    .lp-search-template .lp-search-position-list,
    .lp-search-template .lp-search-position-list--more {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* 2365 — Search BEWERTET 480–719: use the frozen 390 manufacturer register layout.
   CSS only. <=479 and >=720 remain untouched. */
@media (min-width: 480px) and (max-width: 719px) {
    .lp-search-template .lp-search-valued-maker-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px 8px !important;
    }

    .lp-search-template .lp-search-valued-maker-metric {
        grid-template-columns: 1fr !important;
        gap: 3px !important;
    }

    .lp-search-template .lp-search-valued-maker-metric > span,
    .lp-search-template .lp-search-valued-maker-metric > strong {
        font-size: 9px !important;
    }

    .lp-search-template .lp-search-valued-maker-card--mobile-more {
        display: none !important;
    }

    .lp-search-template .lp-search-valued-maker-card:not(.is-expanded) .lp-search-valued-types {
        display: none !important;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-types {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        margin-top: 8px;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded a.lp-search-valued-type-pill,
    .lp-search-template .lp-search-valued-maker-card.is-expanded a.lp-search-valued-type-pill:visited {
        display: block !important;
        min-width: 0;
        margin: 0 !important;
        padding: 4px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e2e7e9 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #203943 !important;
        box-shadow: none !important;
        font-size: 9px;
        line-height: 1.3;
    }

    .lp-search-template .lp-search-valued-maker-more {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        margin-top: 8px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #6f858d !important;
        font-size: 10px !important;
        line-height: 1.35;
        font-weight: 400;
        cursor: pointer;
    }

    .lp-search-template .lp-search-valued-maker-more::after {
        content: "";
        width: 5px;
        height: 5px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-maker-more::after {
        transform: translateY(2px) rotate(225deg);
    }
}

/* ==========================================================================
   2366 — real iPhone landscape / 480–719 overview shell gutter
   Extend the verified 24px AU/GA/project shell inset into the intermediate
   mobile range. Search, portals, home, <480 and >=720 remain untouched.
   ========================================================================== */
@media screen and (min-width: 480px) and (max-width: 719px) {
    body:has(.lp-completed-auctions-archive):not(:has(.lp-portal-intro)) .lp-overview-content,
    body:has(.lp-gutachten-archive):not(:has(.lp-portal-intro)) .lp-overview-content,
    .lp-overview-content.lp-case-template {
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }
}

/* 2367: real-phone landscape only — enforce the verified AU/GA/project shell gutter
 * without changing the finished 600px portrait or any Search layout. */
@media screen and (min-width: 600px) and (max-width: 719px) and (orientation: landscape) {
    body:has(.lp-completed-auctions-archive):not(:has(.lp-portal-intro)) .lp-overview-content,
    body:has(.lp-gutachten-archive):not(:has(.lp-portal-intro)) .lp-overview-content,
    .lp-overview-content.lp-case-template {
        width: calc(100% - 48px) !important;
        max-width: none !important;
        margin-left: 24px !important;
        margin-right: 24px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   2368 — Phone landscape inherits the complete frozen 390px phone UI.
   Additive only: portrait breakpoints and tablet/desktop modes are untouched.
   The low-height landscape gate identifies phones without widening existing
   width breakpoints.
   ========================================================================== */

/* 390 source: @media (max-width: 700px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-home-title {
        font-size: 30px;
    }

    .lp-section-header h2 {
        font-size: 24px;
    }

    .lp-home-facts {
        margin: 28px 0 44px;
    }

    .lp-home-facts-inner {
        grid-template-columns: 1fr;
    }

    .lp-branchen-tiles,
    .lp-branchen-tiles--home {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lp-branchen-tiles {
        margin-top: 32px;
    }

    .lp-branchen-tile {
        min-height: 0;
    }

    .lp-branchen-tile-image {
        height: 84px;
    }

    .lp-branchen-tile-body {
        min-height: 0;
        padding: 20px 20px 18px;
    }

    .lp-branchen-tile-title {
        font-size: 18px;
    }

    .lp-branchen-tiles--home .lp-branchen-tile-image {
        height: 112px;
    }

    .lp-top-tag-list {
        gap: 6px;
    }

    .lp-top-tag,
    .lp-top-tag:visited,
    .lp-top-tag--static {
        padding: 7px 9px;
        font-size: 11px;
    }

    .lp-global-search-tags {
        justify-content: flex-start;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-global-search-box {
        padding-left: 18px;
        padding-right: 18px;
    }

    .lp-global-search-box .lp-search-form {
        display: block;
    }

    .lp-global-search-box .lp-search-button {
        width: 100%;
        min-width: 0 !important;
        margin-top: 8px;
    }

}

/* 390 source: @media (max-width: 460px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-current-auctions-mini .lp-mini-auction-side,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side {
        flex-wrap: wrap;
    }

    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--branche,
    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image,
    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--placeholder,
    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--countdown {
        width: calc(50% - 3px);
        min-width: 0;
        height: auto;
        flex: 0 0 calc(50% - 3px);
        aspect-ratio: 5 / 4;
    }

    .lp-current-auctions-mini .lp-mini-auction-side:not(.lp-gutachten-side) > .lp-auction-tile--image img,
    .lp-current-gutachten-mini .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo img {
        width: 100%;
        height: 100%;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-form {
        flex-direction: column;
    }

    .lp-search-button {
        width: 100%;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

.lp-search-input {
min-height: 58px;
        font-size: 18px;
}

.lp-search-button {
min-width: 100%;
}

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


.lp-search-box .lp-search-input {
        border-right: 1px solid #d7dde1;
}


}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

.lp-search-box {
margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
}


}

/* 390 source: @media (max-width: 560px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

.lp-search-results-header-main h1 {
font-size:27px;
}

.lp-search-position-body h3 {
font-size:18px;
}

.lp-search-position-facts div {
grid-template-columns:78px minmax(0,1fr);
}

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

.lp-search-box {
padding-left: 18px;
        padding-right: 18px;
}

.lp-search-box .lp-search-form {
display: block;
}

.lp-search-box .lp-search-button {
width: 100%;
        min-width: 0 !important;
        margin-top: 8px;
}

.lp-search-results-header {
grid-template-columns: 1fr;
        gap: 14px;
}

.lp-search-position-list {
grid-template-columns: 1fr !important;
}

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

.lp-search-more-anchor,
.lp-search-more-anchor:visited {
width: 100%;
}

}

/* 390 source: @media (max-width: 540px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

.lp-search-template .lp-search-position-list--more {
grid-template-columns: 1fr !important;
}

.lp-search-template .lp-search-pagination--top {
justify-content: center !important;
}

}

/* 390 source: @media (max-width: 540px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

.lp-search-template .lp-search-layout-more .lp-search-position-list--more {
grid-template-columns: 1fr !important;
}

}

/* 390 source: @media (max-width: 700px) */
@media screen and (orientation: landscape) and (max-height: 500px) {



}

/* 390 source: @media (max-width: 520px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-case-top-positions .lp-search-position-list {
        grid-template-columns: 1fr !important;
    }

}

/* 390 source: @media (max-width: 560px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-case-related-projects .lp-archive-case-card {
        grid-template-columns: 78px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        min-height: 150px !important;
        padding: 14px !important;
    }

    .lp-case-related-projects .lp-archive-case-actions,
    .lp-case-related-projects .lp-archive-action-link,
    .lp-case-related-projects .lp-archive-action-link:visited,
    .lp-case-related-projects .lp-case-related-project-link,
    .lp-case-related-projects .lp-case-related-project-link:visited {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
    }

    .lp-case-related-projects .lp-archive-case-actions {
        top: 14px !important;
        left: 14px !important;
    }

    .lp-case-related-projects .lp-archive-case-card--has-logo .lp-archive-case-logo-wrap {
        top: 84px !important;
        left: 14px !important;
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        height: 50px !important;
        flex-basis: 70px;
    }

    .lp-case-related-projects .lp-archive-case-card--has-logo .lp-archive-case-logo {
        max-width: 120% !important;
        max-height: 120% !important;
        transform: scale(1.14) !important;
    }

    .lp-case-related-projects .lp-archive-case-card:not(.lp-archive-case-card--has-logo) .lp-archive-case-type {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        padding-top: 84px !important;
    }

    .lp-case-related-projects .lp-archive-case-card:not(.lp-archive-case-card--has-logo) .lp-archive-case-icon {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        height: 50px !important;
        font-size: 26px !important;
    }

}

/* 390 source: @media (max-width: 520px) */
@media screen and (orientation: landscape) and (max-height: 500px) {
 .lp-search-experience { padding: 20px; } .lp-search-experience-metrics { grid-template-columns: 1fr; } 
}

/* 390 source: @media (max-width: 540px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-results-section .lp-search-position-list {
        grid-template-columns: 1fr !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-box-discovery-label { display: block; padding: 0; margin: 0 0 5px; }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-box-discovery--query,
    .lp-search-template .lp-search-box-discovery--landing {
        margin-top: 20px;
    }
    .lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group {
        margin-top: 18px;
    }
    .lp-search-template .lp-search-landing-world-intro {
        margin-top: 26px;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-box-discovery--query,
    .lp-search-template .lp-search-box-discovery--landing { margin-top: 26px; }
    .lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group { margin-top: 24px; }

}

/* 390 source: @media (max-width: 700px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-home-template h1,
    .lp-home-template .lp-home-title,
    .lp-home-template .lp-section-header h2,
    .lp-home-template .wpb_text_column h2 {
        font-size: 25px;
        line-height: 1.35;
    }

    .lp-home-facts {
        margin: 20px 0 34px;
    }

    .lp-home-facts-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lp-home-fact {
        min-height: 0;
        padding: 10px 8px 11px;
    }

    .lp-home-fact:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .lp-home-fact-label {
        margin-bottom: 4px;
        font-size: 8px;
        line-height: 1.15;
    }

    .lp-home-fact-number {
        font-size: 18px;
        line-height: 1.1;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-home-template h1,
    .lp-home-template .lp-home-content h1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .lp-home-template h2,
    .lp-home-template .lp-home-content h2 {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .lp-home-template p,
    .lp-home-template .lp-home-content p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-home-template h3,
    .lp-home-template .lp-home-content h3 {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    /* Shared LP-row geometry ------------------------------------------------ */
    .lp-current-auctions-mini .lp-mini-auction {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 108px !important;
        column-gap: 10px !important;
        row-gap: 2px !important;
        align-items: start !important;
        margin-bottom: 14px !important;
        padding-bottom: 14px !important;
    }

    .lp-current-auctions-mini .lp-mini-auction-main,
    .lp-current-auctions-mini .lp-mini-auction-side {
        display: contents !important;
    }

    .lp-current-auctions-mini .auction_header {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        margin: 0 0 4px !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .lp-current-auctions-mini .a_row.r1 {
        grid-column: 1;
        grid-row: 3;
        min-width: 0;
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .lp-current-auctions-mini .a_row.r1 > span {
        display: block !important;
        margin: 0 0 2px !important;
        white-space: normal !important;
    }

    .lp-current-auctions-mini .lp-mini-auction-side > .lp-auction-tile--image,
    .lp-current-auctions-mini .lp-mini-auction-side > .lp-auction-tile--placeholder {
        grid-column: 2;
        grid-row: 3;
        width: 108px !important;
        min-width: 108px !important;
        height: 76px !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        align-self: start !important;
    }

    .lp-current-auctions-mini .lp-mini-auction-side > .lp-auction-tile--image img {
        display: block;
        width: 108px !important;
        height: 76px !important;
        object-fit: cover !important;
    }

    /* Shared CTA geometry. One CTA keeps its renderer text; two CTAs use
       the compact mobile AU labels below. */
    .lp-current-auctions-mini .lp-auction-cta-row,
    .lp-current-auctions-mini .lp-gutachten-cta-row {
        grid-column: 1 / -1;
        grid-row: 4;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 4px !important;
        min-width: 0;
        margin: 4px 0 0 !important;
        line-height: normal !important;
    }

    .lp-current-auctions-mini .lp-auction-cta-row > *,
    .lp-current-auctions-mini .lp-gutachten-cta-row > * {
        flex: 1 1 0;
        min-width: 0;
        margin: 0 !important;
    }

    .lp-current-auctions-mini .lp-auction-cta-row a,
    .lp-current-auctions-mini .lp-gutachten-cta-row a,
    .lp-current-auctions-mini .lp-auction-cta-row a > span,
    .lp-current-auctions-mini .lp-gutachten-cta-row a > span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 38px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 1.15 !important;
    }

    .lp-current-auctions-mini .lp-auction-cta-row a > span,
    .lp-current-auctions-mini .lp-gutachten-cta-row a > span {
        padding: 0 6px !important;
        font-size: 12px !important;
    }

    /* AU variant ----------------------------------------------------------- */

    /* Countdown/status eyebrow above title. */
    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        gap: 5px;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        margin: 0 0 1px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: rgb(48, 71, 80) !important;
        text-align: left !important;
    }

    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown i.fa {
        margin: 0 !important;
        color: #f19300 !important;
        font-size: 11px !important;
    }

    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown span,
    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown strong {
        display: inline !important;
        color: rgb(48, 71, 80) !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .lp-current-auctions-mini:not(.lp-current-gutachten-mini)
    .lp-mini-auction-side > .lp-auction-tile--countdown .lp-badge--overlay {
        display: none !important;
    }

    /* GA variant ----------------------------------------------------------- */

    .lp-current-gutachten-mini .auction_header {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        position: relative;
        z-index: 2;
    }

    .lp-current-gutachten-mini
    .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--branche {
        grid-column: 1 !important;
        grid-row: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        gap: 5px;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        margin: 0 0 2px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: rgb(48, 71, 80) !important;
        text-align: left !important;
        overflow: visible !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-tile--branche i.fa {
        margin: 0 !important;
        font-size: 13px !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-tile--branche span {
        display: none !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-tile--branche strong {
        display: block !important;
        width: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-wrap: anywhere;
        -webkit-line-clamp: unset !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .lp-current-gutachten-mini .a_row.r1 {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    .lp-current-gutachten-mini
    .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo {
        grid-column: 2 !important;
        grid-row: 2 / span 2 !important;
        position: relative !important;
        width: 108px !important;
        min-width: 108px !important;
        height: 76px !important;
        min-height: 76px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        align-self: start !important;
    }

    .lp-current-gutachten-mini
    .lp-mini-auction-side.lp-gutachten-side > .lp-gutachten-tile--logo img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 150% !important;
        height: 150% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        transform: translate(-50%, -50%) !important;
        transform-origin: center center !important;
    }

    .lp-current-gutachten-mini .lp-gutachten-cta-row {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        margin-top: 5px !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-branchen-tiles--home .lp-branchen-tile {
        display: none !important;
    }

    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(2),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(3),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(4),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(9),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(12),
    .lp-branchen-tiles--home .lp-branchen-tile:nth-child(13) {
        display: flex !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-home-template .lp-global-search-box {
        padding-top: 0 !important;
    }

    .lp-home-template .lp-global-search-box .lp-search-input {
        display: block;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .lp-home-template .lp-global-search-tags {
        justify-content: center !important;
        text-align: center;
    }

    .lp-home-template .lp-global-search-tags .lp-global-search-top-tag:nth-child(n+11) {
        display: none !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    /* Remove the excess space before the Global Search heading. */
    .lp-home-template .vc_custom_1789198678519 > .wpb_column > .vc_column-inner {
        padding-top: 10px !important;
    }

    /* Tighten the white tail after the pills before #bottom-bg begins. */
    .lp-home-template .vc_custom_1789198678519 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .lp-home-template .vc_custom_1789198678519 .lp-global-search-box {
        padding-bottom: 12px !important;
        margin-bottom: 0 !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    #bottom.container_24 {
        padding-top: 0 !important;
    }

    #bottom #bottom_1,
    #bottom #bottom_1 .column-content-wrapper,
    #bottom #bottom_1 .bottom-col-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-overview-content {
        width: auto;
        max-width: none;
        margin-left: 20px;
        margin-right: 20px;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    /* The desktop heading row sits immediately before the shared chart row.
       Hide it only when the following row is the Branchen/Regionen pair. */
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
           :is(h1, h2, h3, h4, h5, h6) {
        display: none !important;
    }

    /* Each distribution component owns its mobile heading. */
    .lp-distribution-chart--type-branchen::before,
    .lp-distribution-chart--type-regionen::before {
        display: block;
        margin: 0 0 12px;
        color: rgb(48, 71, 80);
        font-size: 15px;
        line-height: 1.5;
        font-weight: 400;
        text-transform: uppercase;
    }

    .lp-distribution-chart--type-branchen::before {
        content: "BRANCHEN";
    }

    .lp-distribution-chart--type-regionen::before {
        content: "REGIONEN";
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    /* The desktop-only heading row must consume no space on mobile. */
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
    > .wpb_column > .vc_column-inner,
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
    > .wpb_column > .vc_column-inner > .wpb_wrapper,
    .vc_row:has(+ .vc_row .lp-distribution-chart--type-branchen)
    .wpb_content_element {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    /* Normalize the stacked chart row and its columns. */
    .vc_row:has(.lp-distribution-chart--type-branchen)
           :is(.wpb_content_element, .wpb_wrapper) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .vc_row:has(.lp-distribution-chart--type-branchen)
    > .wpb_column > .vc_column-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .lp-distribution-chart--type-branchen,
    .lp-distribution-chart--type-regionen {
        margin-top: 0 !important;
        margin-bottom: 28px !important;
    }

    .lp-distribution-chart--type-regionen {
        margin-top: 8px !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-global-search-box {
        padding-top: 0 !important;
        padding-bottom: 12px !important;
        margin-bottom: 0 !important;
    }

    .lp-global-search-box .lp-search-input {
        display: block;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .lp-global-search-box .lp-global-search-tags {
        justify-content: center !important;
        text-align: center !important;
    }

    .lp-global-search-box
    .lp-global-search-tags
    .lp-global-search-top-tag:nth-child(n+11) {
        display: none !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-overview-content {
        padding-bottom: 0 !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    /* Desktop row is [regional text] [Germany map].
       On mobile only, reverse that specific WPBakery row. */
    .lp-overview-content .vc_row:has(.lp-regionenkarte--map-only),
    .lp-overview-content .vc_row:has(.lp-regionenkarte) {
        display: flex !important;
        flex-direction: column-reverse !important;
        flex-wrap: nowrap !important;
    }

    .lp-overview-content .vc_row:has(.lp-regionenkarte--map-only) > .wpb_column,
    .lp-overview-content .vc_row:has(.lp-regionenkarte) > .wpb_column {
        width: 100% !important;
        float: none !important;
    }

    /* Normalize editorial typography in the two text columns surrounding
       the Branchen distribution / regional map section. */
    .lp-overview-content .vc_row:has(.lp-regionenkarte) h2,
    .lp-overview-content .vc_row:has(.lp-regionenkarte) h3,
    .lp-overview-content .vc_row:has(.lp-regionenkarte) h4 {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-top: 24px !important;
        margin-bottom: 10px !important;
    }

    .lp-overview-content .vc_row:has(.lp-regionenkarte) p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    /* Map is the visual separator/introduction to the regional block. */
    .lp-overview-content .lp-regionenkarte--map-only {
        margin-bottom: 20px !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    /* Shared distribution charts: override German synthetic mobile headings. */
    html[lang^="en"] .lp-distribution-chart--type-branchen::before {
        content: "SECTORS" !important;
    }

    html[lang^="en"] .lp-distribution-chart--type-regionen::before {
        content: "REGIONS" !important;
    }

    /* Homepage EN: keep the same six selected tiles, but order those existing
       DOM positions alphabetically by their English labels. */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(2)  { order: 1 !important; } /* Automotive */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(3)  { order: 2 !important; } /* Construction */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(12) { order: 3 !important; } /* Mechanical Engineering */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(13) { order: 4 !important; } /* Metalworking */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(9)  { order: 5 !important; } /* Retail & Consumer Goods */
    html[lang^="en"] .lp-home-template .lp-branchen-tile:nth-child(4)  { order: 6 !important; } /* Services */

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    /* Portal-only breadcrumb removal. */
    body:has(.lp-portal-intro) #breadcrumbs-container {
        display: none !important;
    }

    /* Portal typography: approved mobile hierarchy.
       Scope is portal presence + existing overview content wrapper. */
    body:has(.lp-portal-intro) .lp-overview-content h1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    body:has(.lp-portal-intro) .lp-overview-content h2 {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    body:has(.lp-portal-intro) .lp-overview-content h3 {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    body:has(.lp-portal-intro) .lp-overview-content p,
    body:has(.lp-portal-intro) .lp-overview-content li {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    /* Existing portal intro had its own 767px desktop-ish type sizes. */
    .lp-portal-intro-title {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .lp-portal-intro-text {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    /* Important portal subnavigation: compact two-column contents index.
       Keep all destinations; reduce vertical footprint. */
    .lp-branchen-subnav-grid--portal {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 16px !important;
        row-gap: 0 !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item,
    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:visited {
        min-width: 0 !important;
        padding: 7px 0 !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-title {
        gap: 6px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-title i.fa {
        width: 14px !important;
        flex: 0 0 14px !important;
        font-size: 11px !important;
    }

    .lp-branchen-subnav-grid--portal .lp-branchen-subnav-clusters {
        margin: 3px 0 0 20px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    /* Portal generated chips: max 12 per actual tag group on mobile. */
    .lp-top-tags--portal .lp-top-tag-list > .lp-top-tag:nth-child(n+13) {
        display: none !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {


    .lp-branchen-subnav-grid--portal
    .lp-branchen-subnav-title > span {
        font-size: 0 !important;
    }

    .lp-branchen-subnav-grid--portal
    .lp-branchen-subnav-title > span::after {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(1) .lp-branchen-subnav-title > span::after { content: "Agrar"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(2) .lp-branchen-subnav-title > span::after { content: "Automotive"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(3) .lp-branchen-subnav-title > span::after { content: "Bauwirtschaft"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(4) .lp-branchen-subnav-title > span::after { content: "Dienstleistungen"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(5) .lp-branchen-subnav-title > span::after { content: "Elektrotechnik"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(6) .lp-branchen-subnav-title > span::after { content: "Energie"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(7) .lp-branchen-subnav-title > span::after { content: "Gesundheit"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(8) .lp-branchen-subnav-title > span::after { content: "Handel"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(9) .lp-branchen-subnav-title > span::after { content: "IT"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(10) .lp-branchen-subnav-title > span::after { content: "Kunststoff"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(11) .lp-branchen-subnav-title > span::after { content: "Lebensmittel"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(12) .lp-branchen-subnav-title > span::after { content: "Maschinenbau"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(13) .lp-branchen-subnav-title > span::after { content: "Metall"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(14) .lp-branchen-subnav-title > span::after { content: "Druck"; }
    html[lang^="de"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(15) .lp-branchen-subnav-title > span::after { content: "Präzision"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(1) .lp-branchen-subnav-title > span::after { content: "Agriculture"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(2) .lp-branchen-subnav-title > span::after { content: "Automotive"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(3) .lp-branchen-subnav-title > span::after { content: "Construction"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(4) .lp-branchen-subnav-title > span::after { content: "Services"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(5) .lp-branchen-subnav-title > span::after { content: "Electrical"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(6) .lp-branchen-subnav-title > span::after { content: "Energy"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(7) .lp-branchen-subnav-title > span::after { content: "Healthcare"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(8) .lp-branchen-subnav-title > span::after { content: "Retail"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(9) .lp-branchen-subnav-title > span::after { content: "IT"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(10) .lp-branchen-subnav-title > span::after { content: "Plastics"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(11) .lp-branchen-subnav-title > span::after { content: "Food"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(12) .lp-branchen-subnav-title > span::after { content: "Mechanical Engineering"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(13) .lp-branchen-subnav-title > span::after { content: "Metalworking"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(14) .lp-branchen-subnav-title > span::after { content: "Printing"; }
    html[lang^="en"] .lp-branchen-subnav-grid--portal .lp-branchen-subnav-item:nth-child(15) .lp-branchen-subnav-title > span::after { content: "Precision Engineering"; }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    #page-content h1 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    #page-content h2 {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    #page-content h3 {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    #page-content p,
    #page-content li {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    body.page-template-default #page-content > #content-container.container_24 {
        padding-top: 10px !important;
    }

}

/* 390 source: @media screen and (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-portal-current-auctions > h2 {
        margin-bottom: 12px !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    /* Establish one real mobile canvas. */
    body.page-template-template-lp-search-php,
    body.page-template-templatestemplate-lp-search-php {
        overflow-x: hidden;
    }

    .lp-search-template,
    .lp-search-template .wpb-content-wrapper,
    .lp-search-template .vc_row,
    .lp-search-template .vc_row[data-vc-full-width="true"],
    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .wpb_column,
    .lp-search-template .vc_column-inner,
    .lp-search-template .wpb_wrapper {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    /* Full-bleed search head, but its contents stay safely inside the viewport. */
    .lp-search-template .lp-search-box {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 8px 20px 16px !important;
        overflow: hidden;
    }
    .lp-search-box .lp-search-asset-count {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.35;
    }
    .lp-search-box .lp-search-form {
        gap: 0;
    }
    .lp-search-box .lp-search-input {
        min-height: 42px;
        height: 42px;
        line-height: 40px;
        padding-left: 13px;
        font-size: 13px;
    }
    .lp-search-box .lp-search-button {
        min-height: 40px;
        height: 40px;
        margin-top: 6px;
        line-height: 38px;
        font-size: 12px;
    }

    /* Discovery keeps all content and links, but pills become a dense text index. */
    .lp-search-template .lp-search-box-discovery--query,
    .lp-search-template .lp-search-box-discovery--landing {
        width: 100% !important;
        margin-top: 14px !important;
    }
    .lp-search-template .lp-search-box-discovery-group + .lp-search-box-discovery-group {
        margin-top: 16px !important;
    }
    .lp-search-template .lp-search-box-discovery-group h3 {
        margin: 0 0 7px !important;
        font-size: 11px !important;
        text-align: left;
    }
    .lp-search-template .lp-search-box-discovery .lp-global-search-tags,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px !important;
        width: 100%;
        max-width: none;
        align-items: stretch;
    }
    .lp-search-template .lp-search-box-discovery .lp-search-chip,
    .lp-search-template .lp-search-box-discovery .lp-search-chip:visited,
    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag,
    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag:visited {
        display: flex !important;
        justify-content: space-between;
        align-items: baseline;
        min-width: 0;
        min-height: 0;
        padding: 5px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e2e7e9 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #203943 !important;
        font-size: 10px;
        line-height: 1.25;
        font-weight: 600;
        text-align: left;
    }
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count {
        flex: 0 0 auto;
        min-width: 0;
        height: auto;
        margin-left: 5px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: #6f858d;
        font-size: 9px;
        font-weight: 400;
    }

    /* Search worlds: retain all three data worlds, reduce stacked-card bulk. */
    .lp-search-template .lp-search-results-header--three-worlds {
        margin-top: 22px;
        margin-bottom: 14px;
    }
    .lp-search-template .lp-search-worlds {
        gap: 5px;
    }
    .lp-search-template .lp-search-world {
        padding: 9px 11px 10px;
    }
    .lp-search-template .lp-search-world-title {
        font-size: 11px;
    }
    .lp-search-template .lp-search-world-count {
        font-size: 12px;
    }
    .lp-search-template .lp-search-world-description {
        margin-top: 4px;
        font-size: 10px;
        line-height: 1.4;
    }

    /* Context boxes remain complete, but no longer dominate the first screen. */
    .lp-search-template .lp-search-current-intro,
    .lp-search-template .lp-search-context-notice--sold,
    .lp-search-template .lp-search-context-notice--valued {
        margin-bottom: 16px !important;
        padding: 12px 13px !important;
    }
    .lp-search-template .lp-search-current-intro h2,
    .lp-search-template .lp-search-context-notice--sold h2,
    .lp-search-template .lp-search-context-notice--valued h2 {
        margin-bottom: 5px !important;
        font-size: 12px !important;
        line-height: 1.3;
    }
    .lp-search-template .lp-search-current-intro p,
    .lp-search-template .lp-search-context-notice--sold p,
    .lp-search-template .lp-search-context-notice--valued p {
        font-size: 11px;
        line-height: 1.5;
    }

    /* Result heading, pagination and cards share the same compact rhythm. */
    .lp-search-template .lp-search-results-header {
        gap: 8px;
        margin-bottom: 14px;
    }
    .lp-search-template .lp-search-results-header-main h1,
    .lp-search-template .lp-search-results-header h1,
    .lp-search-template .lp-search-results-count {
        font-size: 16px !important;
        line-height: 1.3;
    }
    .lp-search-template .lp-search-results-countline {
        font-size: 11px;
        line-height: 1.45;
    }
    .lp-search-template .lp-search-pagination {
        margin-top: 8px;
    }
    .lp-search-template .lp-search-results-section .lp-search-position-list,
    .lp-search-template .lp-search-position-list,
    .lp-search-template .lp-search-position-list--more {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .lp-search-template .lp-search-position-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .lp-search-template .lp-search-position-image,
    .lp-search-template .lp-search-position-image:visited {
        aspect-ratio: 1.82 / 1 !important;
    }
    .lp-search-template .lp-search-position-body,
    .lp-search-template .lp-search-result-group--sold .lp-search-position-card--historical .lp-search-position-body,
    .lp-search-template .lp-search-sold-world .lp-search-position-card--historical .lp-search-position-body {
        min-height: 0 !important;
        padding: 10px 11px 11px !important;
    }
    .lp-search-template .lp-search-position-body h3,
    .lp-search-template .lp-search-position-card h3 {
        margin-bottom: 7px !important;
        font-size: 12px !important;
    }
    .lp-search-template .lp-search-position-facts {
        margin-bottom: 6px;
        font-size: 10px;
    }
    .lp-search-template .lp-search-position-actions {
        padding-top: 4px !important;
    }
    .lp-search-template .lp-search-card-button,
    .lp-search-template .lp-search-card-button:visited {
        min-height: 28px;
        padding: 6px 7px !important;
        font-size: 9px;
    }

    /* BEWERTET: preserve the analysis, but make the stacked dashboard economical. */
    .lp-search-template .lp-search-valued-dashboard,
    .lp-search-template .lp-search-valued-secondary-grid {
        gap: 16px !important;
    }
    .lp-search-template .lp-search-valued-dashboard h3,
    .lp-search-template .lp-search-valued-activity-wide h3 {
        margin-bottom: 8px !important;
        font-size: 12px !important;
    }
    .lp-search-template .lp-search-valued-chart,
    .lp-search-template .lp-search-market-card,
    .lp-search-template .lp-search-valued-age-frequency {
        padding-top: 0;
        padding-bottom: 0;
    }
    .lp-search-template .lp-search-valued-maker-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .lp-search-template .lp-search-valued-maker-card--full,
    .lp-search-template .lp-search-valued-maker-card--half {
        grid-column: auto !important;
    }
    .lp-search-template .lp-search-valued-maker-card .lp-search-valued-type-pills {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
    }
    .lp-search-template a.lp-search-valued-type-pill,
    .lp-search-template a.lp-search-valued-type-pill:visited {
        display: block;
        min-width: 0;
        margin: 0 !important;
        padding: 4px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e2e7e9 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #203943 !important;
        box-shadow: none !important;
        font-size: 9px;
        line-height: 1.3;
    }
    .lp-search-template .lp-search-valued-makers-more {
        margin-top: 12px;
        padding: 7px 9px;
        font-size: 9px;
    }
    .lp-search-template .lp-search-valued-register h2 {
        margin-top: 22px;
        margin-bottom: 12px;
        font-size: 15px;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip;
    }

    .lp-search-template .vc_row[data-vc-full-width="true"],
    .lp-search-template .vc_row[data-vc-full-width="true"]:has(.lp-search-box) {
        width: 100% !important;
        max-width: 100% !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        transform: none !important;
    }

    .lp-search-template .lp-search-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: auto !important;
        max-width: none !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results,
    .lp-search-template .lp-search-position-list,
    .lp-search-template .lp-search-position-card {
        min-width: 0 !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-overview-content.lp-search-template {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .lp-search-template .vc_row:not([data-vc-full-width="true"]),
    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .lp-search-template .lp-search-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-tags,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-row {
        display: block !important;
        width: 100% !important;
        line-height: 1.65 !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag,
    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag:visited,
    .lp-search-template .lp-search-box-discovery .lp-search-chip,
    .lp-search-template .lp-search-box-discovery .lp-search-chip:visited {
        display: inline !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #203943 !important;
        font-size: 10px !important;
        line-height: inherit !important;
        font-weight: 600 !important;
        white-space: normal !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag::after,
    .lp-search-template .lp-search-box-discovery .lp-search-chip::after {
        content: ", ";
        color: #6f858d;
        font-weight: 400;
    }

    .lp-search-template .lp-search-box-discovery .lp-global-search-top-tag:last-child::after,
    .lp-search-template .lp-search-box-discovery .lp-search-chip:last-child::after {
        content: "";
    }

    .lp-search-template .lp-search-box-discovery .lp-top-tag-count,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count {
        display: inline !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #6f858d !important;
        font-size: 9px !important;
        line-height: inherit !important;
        font-weight: 400 !important;
    }

    .lp-search-template .lp-search-box-discovery .lp-top-tag-count::before,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count::before {
        content: " (";
    }

    .lp-search-template .lp-search-box-discovery .lp-top-tag-count::after,
    .lp-search-template .lp-search-box-discovery .lp-search-chip-count::after {
        content: ")";
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-results--structured,
    .lp-search-template .lp-search-results--landing,
    .lp-search-template .lp-search-more-results {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-box .lp-search-form,
    .lp-search-template .lp-search-box .lp-search-input,
    .lp-search-template .lp-search-box .lp-search-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* The world cards become the compact mobile state navigation; counts stay visible. */
    .lp-search-template .lp-search-worlds,
    .lp-search-template .lp-search-worlds--landing {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }
    .lp-search-template .lp-search-world {
        min-width: 0 !important;
        padding: 8px 6px !important;
        border-radius: 3px !important;
    }
    .lp-search-template .lp-search-world-title {
        display: flex !important;
        gap: 4px !important;
        min-width: 0 !important;
    }
    .lp-search-template .lp-search-world-title strong {
        min-width: 0 !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
    .lp-search-template .lp-search-world-dot {
        width: 7px !important;
        height: 7px !important;
        flex-basis: 7px !important;
    }
    .lp-search-template .lp-search-world-count {
        margin-left: auto !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    .lp-search-template .lp-search-world-subtitle {
        display: none !important;
    }

    /* Market data is readable only as a vertical mobile sequence. */
    .lp-search-template .lp-search-layout-stats .lp-search-market-stats-grid,
    .lp-search-template .lp-search-valued-dashboard,
    .lp-search-template .lp-search-valued-secondary-grid,
    .lp-search-template .lp-search-valued-activity-wide {
        grid-template-columns: 1fr !important;
    }
    .lp-search-template .lp-search-layout-stats .lp-search-market-card,
    .lp-search-template .lp-search-layout-stats .lp-search-market-card--activity,
    .lp-search-template .lp-search-valued-dashboard > *,
    .lp-search-template .lp-search-valued-secondary-grid > *,
    .lp-search-template .lp-search-valued-activity-wide > * {
        grid-column: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-worlds,
    .lp-search-template .lp-search-worlds--landing {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }
    .lp-search-template .lp-search-world {
        width: 100% !important;
        min-height: 42px !important;
        padding: 11px 12px !important;
    }
    .lp-search-template .lp-search-world-title strong,
    .lp-search-template .lp-search-world-count {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }
    .lp-search-template .lp-search-world-dot {
        width: 8px !important;
        height: 8px !important;
        flex-basis: 8px !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    /* The generic landing explanation is redundant once the three worlds are visible. */
    .lp-search-template .lp-search-landing-welcome {
        display: none !important;
    }

    /* Undo the 2302/2303 compact-tab experiment: retain the desktop card language. */
    .lp-search-template .lp-search-worlds,
    .lp-search-template .lp-search-worlds--landing {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .lp-search-template .lp-search-world {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 15px 16px 16px !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }
    .lp-search-template .lp-search-world-title {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .lp-search-template .lp-search-world-title strong {
        font-size: 14px !important;
        line-height: normal !important;
    }
    .lp-search-template .lp-search-world-dot {
        width: 11px !important;
        height: 11px !important;
        flex: 0 0 11px !important;
    }
    .lp-search-template .lp-search-world-count {
        margin-left: auto !important;
        font-size: 16px !important;
        line-height: normal !important;
        white-space: nowrap !important;
    }
    .lp-search-template .lp-search-world-subtitle {
        display: block !important;
        margin-top: 8px !important;
        padding-left: 19px !important;
        color: #6f858d !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    /* Existing context notices: same copy and links, collapsed by default on mobile. */
    .lp-search-template .lp-search-mobile-info-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 10px;
        padding: 11px 13px;
        border: 1px solid #d9e1e7;
        border-radius: 3px;
        background: #fff;
        color: #0d3158;
        font: inherit;
        font-size: 11px;
        line-height: 1.3;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
        box-sizing: border-box;
    }
    .lp-search-template .lp-search-mobile-info-chevron {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform .15s ease;
    }
    .lp-search-template .lp-search-mobile-info-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron {
        transform: rotate(225deg) translate(-2px, -2px);
    }
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready.is-collapsed {
        display: none !important;
    }
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready {
        margin-top: 0 !important;
        margin-bottom: 14px !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    /* Search notice: the green/orange/blue notice itself remains visible. */
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready {
        display: block !important;
        margin-bottom: 14px !important;
    }
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready.is-collapsed > :not(h2),
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready.is-collapsed > :not(h2),
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready.is-collapsed > :not(h2) {
        display: none !important;
    }
    .lp-search-template .lp-search-mobile-info-ready > h2 {
        margin: 0 !important;
    }
    .lp-search-template .lp-search-mobile-info-toggle {
        display: flex !important;
        width: 100% !important;
        min-height: 0 !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: inherit !important;
        font: inherit !important;
        font-size: inherit !important;
        line-height: inherit !important;
        font-weight: inherit !important;
        text-align: left !important;
        cursor: pointer;
        box-sizing: border-box;
    }

    /* Landing discovery: same compact accordion language for both groups. */
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group {
        margin-top: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #d9e1e7;
    }
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group + .lp-search-box-discovery-group {
        margin-top: 0 !important;
    }
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group h3 {
        margin: 0 !important;
        padding: 0 !important;
    }
    .lp-search-template .lp-search-mobile-discovery-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        border: 0;
        background: transparent;
        color: #0d3158;
        font: inherit;
        font-size: 12px;
        line-height: 1.3;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
        cursor: pointer;
        box-sizing: border-box;
    }
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-global-search-tags,
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-search-chip-row {
        display: none !important;
    }
    .lp-search-template .lp-search-mobile-discovery-ready:not(.is-collapsed) .lp-global-search-tags,
    .lp-search-template .lp-search-mobile-discovery-ready:not(.is-collapsed) .lp-search-chip-row {
        padding-bottom: 12px !important;
    }
    .lp-search-template .lp-search-mobile-discovery-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron {
        transform: rotate(225deg) translate(-2px, -2px);
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready {
        display: block !important;
        margin-bottom: 14px !important;
    }
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready.is-collapsed > :not(h2) {
        display: none !important;
    }
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready > h2 {
        margin: 0 !important;
    }

    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        display: block !important;
        margin-top: 0 !important;
        margin-bottom: 14px !important;
        padding: 0 !important;
        border-bottom: 1px solid #d9e1e7;
    }
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed .lp-search-box-discovery-row {
        display: none !important;
    }
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready:not(.is-collapsed) .lp-search-box-discovery-row:last-child {
        padding-bottom: 12px !important;
    }
    .lp-search-template .lp-search-mobile-query-discovery-toggle {
        margin: 0 !important;
    }
    .lp-search-template .lp-search-mobile-query-discovery-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron {
        transform: rotate(225deg) translate(-2px, -2px);
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready.is-collapsed,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready.is-collapsed {
        display: block !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    /* Closed discovery must not reserve the height of its expanded link content. */
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed,
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed {
        min-height: 0 !important;
        height: auto !important;
    }
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-global-search-tags,
    .lp-search-template .lp-search-mobile-discovery-ready.is-collapsed .lp-search-chip-row,
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed .lp-search-box-discovery-row {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: 0 !important;
    }

    /* The discovery block ends with its disclosure rule, not expanded-state whitespace. */
    .lp-search-template .lp-search-box-discovery--landing,
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Query discovery gets the same breathing room below the search button as landing discovery. */
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        margin-top: 14px !important;
    }

    /* Landing explanation: regular WP-Bakery-like spacing above and below. */
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready {
        margin-top: 35px !important;
        margin-bottom: 35px !important;
    }
    .lp-search-template .lp-search-landing-welcome.lp-search-mobile-info-ready + .lp-search-landing-world-intro {
        margin-top: 0 !important;
    }

    /* Query-state explanation sits midway between world navigation and result content. */
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready,
    .lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready {
        margin-top: 35px !important;
        margin-bottom: 35px !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    /* A collapsed query-discovery block must not leave WPBakery wrapper space behind. */
    .lp-search-template .lp-search-box:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed) {
        padding-bottom: 16px !important;
        min-height: 0 !important;
        height: auto !important;
    }
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed) > .wpb_wrapper,
    .lp-search-template .vc_column-inner:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed),
    .lp-search-template .vc_row:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready.is-collapsed) {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Current/0-result replacement offer had its own extra top margin after the notice. */
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready + .lp-search-layout-more--current-offer .lp-search-more-results,
    .lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready ~ .lp-search-layout-more--current-offer .lp-search-more-results {
        margin-top: 0 !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    /* Query discovery: no divider below the disclosure, open or closed. */
    .lp-search-template .lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready {
        border-bottom: 0 !important;
    }

    /* Landing discovery: keep the divider after "Oft gesucht", but not after
       the final "Häufige Hersteller" group. */
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group {
        border-bottom: 1px solid #d9e1e7 !important;
    }
    .lp-search-template .lp-search-box-discovery--landing .lp-search-box-discovery-group:last-child {
        border-bottom: 0 !important;
    }

    /* The landing search head must end with the actual discovery content.
       Neutralize WPBakery row/column space around that landing discovery. */
    .lp-search-template .lp-search-box:has(.lp-search-box-discovery--landing),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--landing),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--landing) > .wpb_wrapper,
    .lp-search-template .vc_column-inner:has(.lp-search-box-discovery--landing),
    .lp-search-template .vc_row:has(.lp-search-box-discovery--landing) {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* A Search row containing a state notice must not add its desktop 44px grid gap.
       The notice itself already supplies the intended 35px rhythm above/below. */
    .lp-search-template .lp-search-layout-row:has(.lp-search-current-intro.lp-search-mobile-info-ready),
    .lp-search-template .lp-search-layout-row:has(.lp-search-context-notice--sold.lp-search-mobile-info-ready),
    .lp-search-template .lp-search-layout-row:has(.lp-search-context-notice--valued.lp-search-mobile-info-ready) {
        gap: 0 !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    /* Query discovery: its grey search-head background ends with the actual content,
       regardless of whether the relevant-search-terms disclosure is open or closed. */
    .lp-search-template .lp-search-box:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready) {
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready),
    .lp-search-template .wpb_text_column:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready) > .wpb_wrapper,
    .lp-search-template .vc_column-inner:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready),
    .lp-search-template .vc_row:has(.lp-search-box-discovery--query.lp-search-mobile-query-discovery-ready) {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Current: inspector confirms the residual notice -> results distance is the
       layout-row's desktop margin-bottom, not its grid gap. */
    .lp-search-template .lp-search-layout-row:has(.lp-search-current-intro.lp-search-mobile-info-ready) {
        margin-bottom: 0 !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    a.lp-project-status-mobile-cta {
        display: none !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-project-status-card.lp-case-status-card--context {
        display: none !important;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-project-tabs .lp-case-project-tabs-nav {
        display: flex !important;
    }

    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        order: 1;
    }
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(2) + .lp-project-tab-label {
        order: 2;
    }
    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(3) + .lp-project-tab-label {
        order: 3;
    }

    /* Hidden legacy Info initially checked -> open visible Info panel instead. */
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(2) {
        display: none !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked) .lp-project-tab-panel:nth-child(4) {
        display: block !important;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(2) + .lp-project-tab-label {
        background: transparent;
        color: inherit;
    }
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        background: #f8f8f8;
        color: #203943;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-project-tabs .lp-case-project-tabs-nav {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px;
    }

}

/* 390 source: @media (max-width: 719px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-label {
        background: #fff !important;
    }

    .lp-project-tabs .lp-case-project-tabs-nav > .lp-project-tab-input:checked + .lp-project-tab-label {
        background: #f8f8f8 !important;
    }

    /* Hidden legacy Info is initially checked: visible Info tab is active. */
    .lp-project-tabs:has(.lp-project-tab-input:nth-of-type(1):checked)
    .lp-case-project-tabs-nav > .lp-project-tab-input:nth-of-type(4) + .lp-project-tab-label {
        background: #f8f8f8 !important;
    }

}

/* 390 source: @media (max-width: 479px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-experience-metrics {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .lp-search-template .lp-search-experience-metric {
        grid-column: span 2;
        min-width: 0;
        min-height: 104px;
        padding: 12px 6px;
    }

    .lp-search-template .lp-search-experience-metric:nth-child(n+4) {
        grid-column: span 3;
    }

    .lp-search-template .lp-search-experience-metric-icon {
        margin-bottom: 7px;
        font-size: 25px;
    }

    .lp-search-template .lp-search-experience-metric strong {
        font-size: 20px;
    }

    .lp-search-template .lp-search-experience-metric span {
        font-size: 9px;
    }

}

/* 390 source: @media (max-width: 479px) */
@media screen and (orientation: landscape) and (max-height: 500px) {

    .lp-search-template .lp-search-valued-maker-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px 8px !important;
    }

    .lp-search-template .lp-search-valued-maker-metric {
        grid-template-columns: 1fr !important;
        gap: 3px !important;
    }

    .lp-search-template .lp-search-valued-maker-metric > span,
    .lp-search-template .lp-search-valued-maker-metric > strong {
        font-size: 9px !important;
    }

    .lp-search-template .lp-search-valued-maker-card--mobile-more {
        display: none !important;
    }

    .lp-search-template .lp-search-valued-maker-card:not(.is-expanded) .lp-search-valued-types {
        display: none !important;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-types {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        margin-top: 8px;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded a.lp-search-valued-type-pill,
    .lp-search-template .lp-search-valued-maker-card.is-expanded a.lp-search-valued-type-pill:visited {
        display: block !important;
        min-width: 0;
        margin: 0 !important;
        padding: 4px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e2e7e9 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #203943 !important;
        box-shadow: none !important;
        font-size: 9px;
        line-height: 1.3;
    }

    .lp-search-template .lp-search-valued-maker-more {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        margin-top: 8px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #6f858d !important;
        font-size: 10px !important;
        line-height: 1.35;
        font-weight: 400;
        cursor: pointer;
    }

    .lp-search-template .lp-search-valued-maker-more::after {
        content: "";
        width: 5px;
        height: 5px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }

    .lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-maker-more::after {
        transform: translateY(2px) rotate(225deg);
    }

}

/* Overview template: no bottom content padding. */
.page-template-template-lp-overview .lp-overview-content,
.page-template-template-lp-overview #page-content {
    padding-bottom: 0;
}

/* 2394 — Search BEWERTET: compact type families instead of static type pills. */
.lp-search-template .lp-search-valued-type-families {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 16px 24px;
    margin-top: 16px;
}
.lp-search-template .lp-search-valued-type-family {
    min-width: 0;
}
.lp-search-template .lp-search-valued-type-family-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid #dfe5e7;
    color: #203943;
}
.lp-search-template .lp-search-valued-type-family-head strong {
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}
.lp-search-template .lp-search-valued-type-family-head > span {
    flex: 0 0 auto;
    color: #6f858d;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 600;
}
.lp-search-template .lp-search-valued-type-variants {
    padding-top: 3px;
}
.lp-search-template .lp-search-valued-type-variant {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
    color: #6f858d;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 400;
}
.lp-search-template .lp-search-valued-type-variant > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
.lp-search-template .lp-search-valued-type-variant > span:last-child {
    flex: 0 0 auto;
    color: #91a0a5;
    font-size: 9px;
}
.lp-search-template .lp-search-valued-maker-more {
    display: none;
}

@media (max-width: 719px) {
    .lp-search-template .lp-search-valued-maker-card:not(.is-expanded) .lp-search-valued-type-families {
        display: none !important;
    }
    .lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-type-families {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 10px;
    }
    .lp-search-template .lp-search-valued-maker-more {
        display: inline-flex !important;
    }
}


/* 2395 — Search BEWERTET: type variants comma-separated within each family. */
.lp-search-template .lp-search-valued-type-variants {
    padding-top: 4px;
    color: #6f858d;
    font-size: 10px;
    line-height: 1.6;
}
.lp-search-template .lp-search-valued-type-variant {
    display: inline;
    padding: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: 400;
}
.lp-search-template .lp-search-valued-type-variant > span:first-child {
    overflow-wrap: normal;
}
.lp-search-template .lp-search-valued-type-variant > span:last-child {
    color: #91a0a5;
    font-size: 9px;
}


/* 2396 — Search BEWERTET: three-column desktop family grid. */
@media (min-width: 720px) and (max-width: 1023px) {
    .lp-search-template .lp-search-valued-type-families {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* 2398 — Search BEWERTET: manufacturer type details are always collapsed by default. */
.lp-search-template .lp-search-valued-maker-card:not(.is-expanded) .lp-search-valued-type-families {
    display: none !important;
}
.lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-type-families {
    display: grid !important;
}
.lp-search-template .lp-search-valued-maker-more {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid #dfe5e7;
    background: transparent;
    color: #6f858d;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.lp-search-template .lp-search-valued-maker-more::after {
    content: '';
    width: 6px;
    height: 6px;
    margin: 0 3px 3px 12px;
    flex: 0 0 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}
.lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-maker-more::after {
    margin-bottom: -3px;
    transform: rotate(225deg);
}


/* 2399 — Search BEWERTET: restore four columns and keep the top type toggle visible. */
@media (min-width: 1024px) {
    .lp-search-template .lp-search-valued-type-families {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.lp-search-template .lp-search-valued-maker-more--bottom {
    display: none !important;
}
.lp-search-template .lp-search-valued-maker-card.is-expanded .lp-search-valued-maker-more--bottom {
    display: flex !important;
}

/* 2402 — Search BEWERTET: no separator above type expand/collapse controls. */
.lp-search-template .lp-search-valued-maker-more {
    border-top: 0 !important;
}

/* 2403: compact global navigation below query-context pills. */
.lp-search-template .lp-search-query-global-nav {
    max-width: 980px;
    margin: 10px auto 0;
}
.lp-search-template .lp-search-query-global-group {
    border: 0;
}
.lp-search-template .lp-search-query-global-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 7px 0;
    border: 0;
    border-bottom: 1px solid #d9e1e7;
    background: transparent;
    color: #607984;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.lp-search-template .lp-search-query-global-chevron {
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .15s ease;
}
.lp-search-template .lp-search-query-global-toggle[aria-expanded="true"] .lp-search-query-global-chevron {
    transform: rotate(225deg) translate(-2px, -1px);
}
.lp-search-template .lp-search-query-global-panel {
    padding: 10px 0 4px;
}
.lp-search-template .lp-search-query-global-panel .lp-global-search-tags {
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
}


/* 2404: three-part query discovery accordion; context starts open. */
.lp-search-template .lp-search-box-discovery--query.lp-search-query-accordion-ready {
    display: block;
}
.lp-search-template .lp-search-query-discovery-group {
    max-width: 980px;
    margin: 0 auto;
    border: 0;
}
.lp-search-template .lp-search-query-discovery-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 7px 0;
    border-bottom: 1px solid #d9e1e7;
    color: #607984;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    list-style: none;
}
.lp-search-template .lp-search-query-discovery-group > summary::-webkit-details-marker { display: none; }
.lp-search-template .lp-search-query-discovery-group[open] > summary .lp-search-query-global-chevron {
    transform: rotate(225deg) translate(-2px, -1px);
}
.lp-search-template .lp-search-query-discovery-group .lp-search-query-global-panel {
    padding: 10px 0 4px;
}
.lp-search-template .lp-search-query-discovery-group .lp-global-search-tags {
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
}

/* 2406 — Search header vertical spacing only. */
.lp-search-template .vc_row:has(.lp-search-box) > .wpb_column > .vc_column-inner {
    padding-top: 20px !important;
}
.lp-search-template .lp-search-box:has(.lp-search-query-accordion-ready) {
    padding-bottom: 10px;
}

/* Search head: compact WPBakery wrapper spacing. */
.lp-search-template .vc_custom_1779786427426 {
    margin-bottom: 10px !important;
}

/* 2408: Search result notices collapse to their coloured heading row on all viewports. */
.lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready,
.lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready,
.lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready {
    display: block !important;
}
.lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready.is-collapsed > :not(h2),
.lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready.is-collapsed > :not(h2),
.lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready.is-collapsed > :not(h2) {
    display: none !important;
}
.lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready > h2,
.lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready > h2,
.lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready > h2 {
    margin: 0 !important;
}
.lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready .lp-search-mobile-info-toggle,
.lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready .lp-search-mobile-info-toggle,
.lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready .lp-search-mobile-info-toggle {
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
    cursor: pointer !important;
    box-shadow: none !important;
}
.lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready .lp-search-mobile-info-chevron,
.lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready .lp-search-mobile-info-chevron,
.lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready .lp-search-mobile-info-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .15s ease;
}
.lp-search-template .lp-search-current-intro.lp-search-mobile-info-ready .lp-search-mobile-info-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron,
.lp-search-template .lp-search-context-notice--sold.lp-search-mobile-info-ready .lp-search-mobile-info-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron,
.lp-search-template .lp-search-context-notice--valued.lp-search-mobile-info-ready .lp-search-mobile-info-toggle[aria-expanded="true"] .lp-search-mobile-info-chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

/* 2409 — Project information: tabs become compact accordions. */
.lp-project-info-accordion {
    border: 0;
    background: transparent;
}
.lp-project-info-accordion .lp-project-info-accordion__group {
    margin: 0;
    border: 0;
}
.lp-project-info-accordion .lp-project-info-accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #d9e1e7;
    color: #203943;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.lp-project-info-accordion .lp-project-info-accordion__summary::-webkit-details-marker { display: none; }
.lp-project-info-accordion .lp-project-info-accordion__title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.lp-project-info-accordion .lp-project-info-accordion__title i.fa {
    width: 15px;
    color: #607984;
    text-align: center;
}
.lp-project-info-accordion .lp-project-info-accordion__chevron {
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .15s ease;
}
.lp-project-info-accordion .lp-project-info-accordion__group[open] > .lp-project-info-accordion__summary .lp-project-info-accordion__chevron {
    transform: rotate(225deg) translate(-2px, -1px);
}
.lp-project-info-accordion .lp-project-info-accordion__panel {
    padding: 18px 0 20px;
    border: 0;
    background: transparent;
}
.lp-project-info-accordion .lp-case-tab-location-grid {
    margin: 0;
}

/* 2411 — Keep the project auction CTA visible below the closed info accordions. */
.lp-project-info-accordion > .lp-project-info-accordion__cta {
    margin: 55px 0 0;
}

/* 2416 — iPhone portrait QA: portal subnav inset + avoid duplicate project CTA. */
@media screen and (max-width: 479px) and (orientation: portrait) {
    body:has(.lp-portal-intro) .lp-branchen-subnav-grid--portal {
        padding-left: 20px !important;
        box-sizing: border-box;
    }

    .lp-project-info-accordion > .lp-project-info-accordion__cta {
        display: none !important;
    }
}

/* 2417 — iPhone portrait QA: keep the project contact portrait secondary. */
@media screen and (max-width: 479px) and (orientation: portrait) {
    .lp-project-sidebar .lp-project-contact__image {
        width: 60% !important;
        max-width: 60% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

/* 2418 — iPhone portrait QA: clearer hierarchy and spacing in Search discovery accordions. */
@media screen and (max-width: 479px) and (orientation: portrait) {
    .lp-search-template .lp-search-query-discovery-group > summary {
        padding: 12px 0;
        font-size: 13px;
        line-height: 1.35;
        font-weight: 600;
    }

    .lp-search-template .lp-search-query-discovery-group + .lp-search-query-discovery-group {
        margin-top: 7px;
    }

    .lp-search-template .lp-search-query-discovery-group .lp-search-query-global-panel {
        padding: 18px 0 18px;
    }
}

/* Projects overview root -------------------------------------------------- */
.lp-projects-overview{max-width:1180px;margin:0 auto;padding:0 15px 60px}.lp-projects-overview__header{margin:0 0 28px}.lp-projects-overview__header h1{margin-bottom:10px}.lp-projects-overview__header p{max-width:780px;margin:0}.lp-projects-overview__search{margin-bottom:42px}.lp-projects-overview__columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:46px;margin-bottom:48px}.lp-projects-overview__column h2{margin:0 0 18px}.lp-projects-overview__list{border-top:1px solid #e4e7e9}.lp-projects-overview__item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #e4e7e9;text-decoration:none!important;color:inherit}.lp-projects-overview__item-main{display:flex;min-width:0;flex-direction:column;gap:3px}.lp-projects-overview__item-main strong{font-weight:600;line-height:1.35}.lp-projects-overview__item-main small{font-size:12px;color:#737b82}.lp-projects-overview__badge{flex:0 0 auto;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#203943}.lp-projects-overview__badge--current{color:#f19300}.lp-projects-overview__more{display:inline-block;margin-top:18px;font-weight:600}.lp-projects-overview__nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.lp-projects-overview__nav a{display:flex;min-height:72px;padding:18px 14px 17px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f8f8f8;text-align:center;text-decoration:none!important;color:#304750}.lp-projects-overview__nav i{font-size:13px;color:#607984}.lp-projects-overview__nav span{font-size:9px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:#7c8b92}@media(max-width:767px){.lp-projects-overview{padding-left:0;padding-right:0}.lp-projects-overview__columns{grid-template-columns:1fr;gap:38px}.lp-projects-overview__nav{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-projects-overview__item{align-items:flex-start}.lp-projects-overview__badge{margin-top:2px}}

/* Projects overview polish — 2429 */
.lp-projects-overview__meta{display:flex!important;flex-wrap:wrap;gap:4px 12px;align-items:center}.lp-projects-overview__meta span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.lp-projects-overview__meta i{width:11px;color:#87969d;font-size:10px;text-align:center}.lp-projects-overview__badge--preview,.lp-projects-overview__badge--completed{color:#7c8b92}.lp-projects-overview__more,.lp-projects-overview__more:visited{display:inline-block;margin-top:18px;padding:10px 16px;background:#f19300;color:#fff!important;font-size:12px;line-height:1.2;font-weight:700;text-decoration:none!important}.lp-projects-overview__more:hover,.lp-projects-overview__more:focus{background:#f7a933;color:#fff!important}.lp-projects-overview__nav span{font-size:15px;line-height:1.2;font-weight:400;letter-spacing:0;text-transform:none;color:#304750}.lp-projects-overview__nav i{font-size:13px;color:#607984}
@media(max-width:767px){.lp-projects-overview__meta{gap:3px 9px}.lp-projects-overview__nav span{font-size:14px}}

/* Projects overview mobile gutters + nav hover — 2431 */
.lp-projects-overview__nav a{transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}
.lp-projects-overview__nav a:hover,.lp-projects-overview__nav a:focus{transform:translateY(-2px);background:#f4f4f4;box-shadow:0 3px 10px rgba(32,57,67,.07)}
@media(max-width:767px){
    .lp-projects-overview__header,
    .lp-projects-overview__columns,
    .lp-projects-overview__nav{margin-left:15px;margin-right:15px}
}

/* 2452 — Home valuation facts + Home/Gutachten appraisal-volume chart. */
.lp-home-valuation-facts {
    margin: -42px 0 62px;
}

.lp-home-valuation-facts__heading {
    margin: 0 0 12px;
    color: #7c8b92;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}

.lp-home-valuation-facts__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lp-home-valuation-fact {
    padding: 22px 18px 20px;
    background: #f8f8f8;
    text-align: center;
}

.lp-home-valuation-fact__number {
    color: #203943;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lp-home-valuation-fact__label {
    margin-top: 10px;
    color: #7c8b92;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-market-stats__item--valuation h3 {
    margin-bottom: 6px;
}

.lp-market-stats__valuation-subtitle {
    min-height: 32px;
    margin: 0 0 12px;
    color: #7c8b92;
    font-size: 11px;
    line-height: 1.4;
}

.lp-market-stats__valuation-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 190px;
    padding-top: 24px;
    border-bottom: 1px solid #dfe4e6;
}

.lp-market-stats__valuation-column {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-width: 0;
    height: 100%;
    position: relative;
}

.lp-market-stats__valuation-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #7c8b92;
    font-size: 8px;
    line-height: 1;
    white-space: nowrap;
}

.lp-market-stats__valuation-bar {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: calc(100% - 20px);
}

.lp-market-stats__valuation-actual,
.lp-market-stats__valuation-forecast {
    display: block;
    width: 100%;
    height: 0;
    transition: height .85s cubic-bezier(.22,.61,.36,1);
}

.lp-market-stats__valuation-actual.lp-valuation-visible,
.lp-market-stats__valuation-forecast.lp-valuation-visible {
    height: var(--lp-valuation-height, 0%);
}

@media (prefers-reduced-motion: reduce) {
    .lp-market-stats__valuation-actual,
    .lp-market-stats__valuation-forecast {
        height: var(--lp-valuation-height, 0%);
        transition: none;
    }
}

.lp-market-stats__valuation-actual {
    background: #203943;
}

.lp-market-stats__valuation-forecast {
    order: -1;
    background: repeating-linear-gradient(
        135deg,
        #b8c1c5 0,
        #b8c1c5 4px,
        #e2e6e8 4px,
        #e2e6e8 8px
    );
}

.lp-market-stats__valuation-year {
    margin-top: 6px;
    color: #203943;
    font-size: 9px;
    line-height: 1;
    text-align: center;
}

.lp-market-stats__valuation-legend {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    color: #7c8b92;
    font-size: 10px;
}

.lp-market-stats__valuation-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lp-market-stats__valuation-swatch {
    display: inline-block;
    width: 12px;
    height: 8px;
}

.lp-market-stats__valuation-swatch--actual {
    background: #203943;
}

.lp-market-stats__valuation-swatch--forecast {
    background: repeating-linear-gradient(135deg,#b8c1c5 0,#b8c1c5 3px,#e2e6e8 3px,#e2e6e8 6px);
}

@media (max-width: 700px) {
    .lp-home-valuation-facts {
        margin: -24px 0 44px;
    }

    .lp-home-valuation-facts__inner {
        grid-template-columns: 1fr;
    }

    .lp-home-valuation-fact__number {
        font-size: 27px;
    }

    .lp-market-stats__valuation-chart {
        height: 180px;
        gap: 3px;
    }

    .lp-market-stats__valuation-value {
        display: none;
    }
}


/* 2453 — valuation fact hierarchy + restore valuation as third market-stat chart. */
.lp-home-valuation-facts__heading {
    display: none;
}

.lp-home-valuation-fact {
    padding: 17px 18px 16px;
}

.lp-home-valuation-fact__label {
    margin: 0 0 8px;
}

.lp-home-valuation-fact__value-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lp-home-valuation-fact__icon {
    flex: 0 0 auto;
    color: #203943;
    font-size: 20px;
    line-height: 1;
}

.lp-home-valuation-fact__context {
    margin-top: 9px;
    color: #7c8b92;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .lp-home-valuation-fact__value-row {
        gap: 9px;
    }

    .lp-home-valuation-fact__icon {
        font-size: 17px;
    }

    .lp-home-valuation-fact__context {
        font-size: 8px;
    }
}


/* 2454 — valuation chart: compact like the established appraisal histograms. */
.lp-market-stats__valuation-chart {
    height: 150px;
    padding-top: 8px;
    gap: 4px;
}

.lp-market-stats__valuation-bar {
    width: 68%;
    max-width: 20px;
    height: calc(100% - 20px);
    margin: 0 auto;
}

.lp-market-stats__valuation-value {
    display: none;
}

.lp-market-stats__valuation-legend {
    margin-top: 9px;
}

@media (max-width: 700px) {
    .lp-market-stats__valuation-chart {
        height: 145px;
        gap: 3px;
    }

    .lp-market-stats__valuation-bar {
        width: 64%;
        max-width: 18px;
    }
}


/* 2455 — valuation chart final visual alignment. */
.lp-market-stats__valuation-chart {
    height: 142px;
    gap: 6px;
    border-bottom: 1px solid #d9e0e3;
    padding-bottom: 0;
}

.lp-market-stats__valuation-bar {
    width: 50%;
    max-width: 14px;
    height: calc(100% - 19px);
}

.lp-market-stats__valuation-forecast {
    background: #6f8f9b;
    background-image: none;
}

.lp-market-stats__valuation-legend-swatch--forecast {
    background: #6f8f9b;
    background-image: none;
}

.lp-market-stats__valuation-year {
    bottom: 1px;
}

@media (max-width: 700px) {
    .lp-market-stats__valuation-chart {
        height: 138px;
        gap: 5px;
    }

    .lp-market-stats__valuation-bar {
        width: 48%;
        max-width: 13px;
    }
}


/* 2456 — valuation chart: final height/baseline/forecast legend alignment. */
.lp-market-stats__valuation-chart {
    height: 132px;
    border-bottom-color: #e8edef;
}

.lp-market-stats__valuation-forecast,
.lp-market-stats__valuation-legend-swatch--forecast {
    background: #6f8f9b !important;
    background-image: none !important;
}

.lp-market-stats__valuation-legend-swatch--forecast::before,
.lp-market-stats__valuation-legend-swatch--forecast::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 700px) {
    .lp-market-stats__valuation-chart {
        height: 128px;
    }
}


/* 2457 — valuation legend: use the actual swatch class; no hatch. */
.lp-market-stats__valuation-swatch--forecast {
    background: #6f8f9b !important;
    background-image: none !important;
}
.lp-market-stats__valuation-swatch--forecast::before,
.lp-market-stats__valuation-swatch--forecast::after {
    display: none !important;
    content: none !important;
}


/* 2458 — forecast blue from Böcker reference + stable valuation fact icons during count-up. */
.lp-market-stats__valuation-forecast,
.lp-market-stats__valuation-swatch--forecast {
    background: #436caa !important;
    background-image: none !important;
}

.lp-home-valuation-fact__value-row {
    display: grid;
    grid-template-columns: 24px 310px;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
}

.lp-home-valuation-fact__icon {
    width: 24px;
    text-align: center;
}

.lp-home-valuation-fact__number {
    width: 310px;
    min-width: 310px;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
    .lp-home-valuation-fact__value-row {
        grid-template-columns: 20px minmax(0, auto);
        column-gap: 9px;
    }

    .lp-home-valuation-fact__icon {
        width: 20px;
    }

    .lp-home-valuation-fact__number {
        width: auto;
        min-width: 0;
        text-align: center;
    }
}


/* 2459 — forecast uses the existing site LIVE / auction blue. */
.lp-market-stats__valuation-forecast,
.lp-market-stats__valuation-swatch--forecast {
    background: #2d74da !important;
    background-image: none !important;
}


/* 2460 — forecast uses established L&P orange. */
.lp-market-stats__valuation-forecast,
.lp-market-stats__valuation-swatch--forecast {
    background: #f19300 !important;
    background-image: none !important;
}

/* 2462 — Industry portal appraisal experience as KPI panel. */
.lp-experience-kpis__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 20px;
    background: #dde4e7;
}

.lp-experience-kpi {
    min-width: 0;
    padding: 18px 20px 17px;
    background: #f4f6f7;
}

.lp-experience-kpi__value {
    display: block;
    color: #203943;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.lp-experience-kpi__label {
    display: block;
    margin-top: 7px;
    color: #6f858d;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

@media (max-width: 479px) {
    .lp-experience-kpi {
        padding: 15px 14px 14px;
    }

    .lp-experience-kpi__value {
        font-size: 20px;
    }
}


/* 2463 — Portal appraisal KPI typography, icons and rounded estimates. */
.lp-experience-kpi {
    background: #f8f8f8;
}

.lp-experience-kpi__main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lp-experience-kpi__icon {
    flex: 0 0 22px;
    width: 22px;
    color: #203943;
    font-size: 18px;
    line-height: 1;
    text-align: center;
}

.lp-experience-kpi__value {
    display: block;
    min-width: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: 0;
}

.lp-experience-kpi__label {
    margin-left: 32px;
}

@media (max-width: 479px) {
    .lp-experience-kpi__value {
        font-size: 18px;
    }

    .lp-experience-kpi__icon {
        flex-basis: 19px;
        width: 19px;
        font-size: 16px;
    }

    .lp-experience-kpi__label {
        margin-left: 29px;
    }
}

/* 2464 — Portal appraisal KPIs: label, value, project-style relative bar. */
.lp-experience-kpi {
    padding: 17px 20px 18px;
}

.lp-experience-kpi__label {
    display: block;
    margin: 0 0 7px;
    color: #6f858d;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.lp-experience-kpi__value {
    display: block;
    margin: 0 0 10px;
    color: #203943;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

.lp-experience-kpi__track {
    position: relative;
    width: 100%;
    height: 8px;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #cbd6da;
    border-radius: 0;
}

.lp-experience-kpi__bar {
    height: 100%;
    background: #d6dee1;
    border-radius: 0;
}

@media (max-width: 479px) {
    .lp-experience-kpi {
        padding: 15px 14px 16px;
    }

    .lp-experience-kpi__value {
        font-size: 18px;
    }
}


/* 2471 — Portal appraisal KPI rank bars. */
.lp-experience-kpi__track {
    position: relative;
    width: 100%;
    height: 8px;
    overflow: hidden;
    box-sizing: border-box;
    background: #e9eef0;
    border: 0;
    border-radius: 0;
}
.lp-experience-kpi__bar {
    display: block;
    height: 100%;
    background: #203943;
    border-radius: 0;
}


/* 2472 — shared methodology note below the first portal stats row. */
.lp-stats-method-note {
    grid-column: 1 / -1;
    margin: -12px 0 0;
    color: #718995;
    font-size: 12px;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .lp-stats-method-note {
        margin-top: -10px;
    }
}


/* 2504 — Contact shortcode inside a WPBakery text element: neutralize only the
   editor container spacing so the generated contact uses the full column width. */
.wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-image),
.wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-text) {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-image) > .wpb_wrapper,
.wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-text) > .wpb_wrapper {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-image) .vcf_link,
.wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-text) .vcf_link {
    color: #1f3740 !important;
}

/* 2505 — Ansprechpartner: the WPBakery text element hosting LP_Contact must not
   inherit the page-specific horizontal text-column margins. */
.tightlinks .wpb_wrapper > .wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-image),
.tightlinks .wpb_wrapper > .wpb_text_column:has(> .wpb_wrapper > .lp-contact-inline-text) {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 2511 — valuation chart: liquidation + going-concern value side by side. */
.lp-market-stats__valuation-pair {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    height: calc(100% - 20px);
}

.lp-market-stats__valuation-bar {
    width: 8px;
    max-width: 8px;
    height: 100%;
    flex: 0 0 8px;
}

.lp-market-stats__valuation-actual--liqui,
.lp-market-stats__valuation-swatch--liqui {
    background: #203943;
}

.lp-market-stats__valuation-actual--going,
.lp-market-stats__valuation-swatch--going {
    background: #6f8f9b;
}

.lp-market-stats__valuation-legend {
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    .lp-market-stats__valuation-bar {
        width: 8px;
        max-width: 8px;
        flex-basis: 8px;
    }

    .lp-market-stats__valuation-pair {
        gap: 2px;
    }
}


/* 2512 — valuation chart v2: tight year pairs and compact two-level legend. */
.lp-market-stats__valuation-pair {
    gap: 1px;
}

.lp-market-stats__valuation-subtitle {
    min-height: 0;
    margin-bottom: 5px;
    white-space: nowrap;
}

.lp-market-stats__valuation-legend--values {
    flex-wrap: nowrap;
    margin: 0 0 8px;
    white-space: nowrap;
}

.lp-market-stats__valuation-legend--forecast {
    margin-top: 7px;
}

@media (max-width: 700px) {
    .lp-market-stats__valuation-pair {
        gap: 1px;
    }

    .lp-market-stats__valuation-subtitle,
    .lp-market-stats__valuation-legend--values {
        white-space: normal;
    }
}

/* 2513 — valuation chart: treat each year's two bars as one visual group. */
.lp-market-stats__valuation-chart {
    justify-content: space-between;
    gap: 0;
}

.lp-market-stats__valuation-column {
    flex: 0 0 17px;
    width: 17px;
}

.lp-market-stats__valuation-pair {
    gap: 1px;
}

/* 2514 — valuation legend: values above chart, forecast below right. */
.lp-market-stats__valuation-legend--values {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin: 0 0 7px;
}

.lp-market-stats__valuation-as-of {
    margin-left: -4px;
}

.lp-market-stats__valuation-legend--forecast {
    justify-content: flex-end;
    margin: 7px 0 0;
    text-align: right;
}
