.lv-home {
    --lv-home-ink: var(--fp-ink, #172033);
    --lv-home-text: var(--fp-text, #344054);
    --lv-home-muted: var(--fp-muted, #667085);
    --lv-home-border: var(--fp-border, #e5e8ef);
    --lv-home-surface: var(--fp-surface, #ffffff);
    --lv-home-canvas: var(--fp-canvas, #f7f8fb);
    --lv-home-primary: var(--fp-primary, #ffac26);
    --lv-home-primary-dark: var(--fp-primary-dark, #a66300);
    --lv-home-primary-soft: var(--fp-primary-soft, #fff7e8);
    --lv-home-blue: var(--fp-secondary, #3557d4);
    --lv-home-blue-soft: var(--fp-secondary-soft, #eef2ff);
    color: var(--lv-home-text);
    background: #fff;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.lv-home-shell {
    box-sizing: border-box;
    width: min(calc(100% - 40px), 1500px);
    margin: 0 auto;
}

.lv-home-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 54px;
    background:
        radial-gradient(circle at 85% 18%, rgba(var(--fp-primary-rgb, 255, 172, 38), .12), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-bottom: 1px solid #edf0f6;
}

.lv-home-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -210px;
    bottom: -250px;
    border: 1px solid rgba(53, 87, 212, .1);
    border-radius: 50%;
    pointer-events: none;
}

.lv-home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .78fr);
    gap: clamp(46px, 7vw, 112px);
    align-items: center;
}

.lv-home-hero-copy {
    max-width: 760px;
}

.lv-home-eyebrow,
.lv-home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #56617a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.lv-home-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lv-home-primary);
    box-shadow: 0 0 0 5px rgba(var(--fp-primary-rgb, 255, 172, 38), .12);
}

.lv-home-hero h1 {
    max-width: 720px;
    margin: 16px 0 18px;
    color: var(--lv-home-ink);
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.07;
}

.lv-home-hero-lead {
    max-width: 660px;
    margin: 0;
    color: #5c667b;
    font-size: clamp(17px, 1.25vw, 19px);
    font-weight: 400;
    line-height: 1.75;
}

.lv-home-hero-actions,
.lv-home-final-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.lv-home-button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.lv-home-button:hover {
    transform: translateY(-1px);
}

.lv-home-button-primary {
    color: #fff;
    background: var(--lv-home-primary);
    border-color: var(--lv-home-primary);
    box-shadow: 0 10px 24px rgba(var(--fp-primary-rgb, 255, 172, 38), .2);
}

.lv-home-button-primary:hover {
    color: #fff;
    background: var(--fp-primary-hover, #e4961e);
    border-color: var(--fp-primary-hover, #e4961e);
    box-shadow: 0 14px 30px rgba(var(--fp-primary-rgb, 255, 172, 38), .24);
}

.lv-home-button-secondary {
    color: #3b4760;
    background: #fff;
    border-color: #dfe4ee;
}

.lv-home-button-secondary:hover {
    color: var(--lv-home-ink);
    border-color: #cbd3e2;
    background: #fafbfe;
}

.lv-home-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 34px 0 0;
}

.lv-home-stats > div {
    min-width: 145px;
    padding: 0 28px;
    border-left: 1px solid #e3e7ef;
}

.lv-home-stats > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.lv-home-stats dt {
    color: var(--lv-home-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.lv-home-stats dd {
    margin: 5px 0 0;
    color: #7a8396;
    font-size: 13px;
    font-weight: 400;
}

.lv-home-discovery {
    position: relative;
    padding: 24px;
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 22px;
    box-shadow: 0 22px 58px rgba(24, 38, 70, .1);
}

.lv-home-discovery::before {
    content: "";
    position: absolute;
    inset: 12px auto auto -7px;
    width: 4px;
    height: 56px;
    border-radius: 999px;
    background: var(--lv-home-primary);
}

.lv-home-discovery-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.lv-home-discovery-head span:first-child {
    display: block;
    margin-bottom: 5px;
    color: #8a93a4;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.lv-home-discovery-head h2 {
    margin: 0;
    color: var(--lv-home-ink);
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.3;
}

.lv-home-discovery-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background:
        linear-gradient(90deg, transparent 46%, rgba(53, 87, 212, .22) 46% 54%, transparent 54%),
        linear-gradient(0deg, transparent 46%, rgba(53, 87, 212, .22) 46% 54%, transparent 54%),
        var(--lv-home-blue-soft);
}

.lv-home-search-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #f4f6fa;
}

.lv-home-search-tab {
    min-height: 40px;
    padding: 6px 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #697386;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 550;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.lv-home-search-tab.is-active {
    color: #24304a;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 31, 57, .08);
}

.lv-home-search-row {
    display: grid;
    position: relative;
    grid-template-columns: 22px minmax(0, 1fr) auto auto;
    gap: 9px;
    align-items: center;
    min-height: 54px;
    margin-top: 10px;
    padding: 4px 5px 4px 14px;
    border: 1px solid #dfe4ed;
    border-radius: 13px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lv-home-search-row:focus-within {
    border-color: #b7c5e8;
    box-shadow: 0 0 0 3px rgba(53, 87, 212, .10);
}

.lv-home-search-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    color: #8b94a5;
}

.lv-home-search-icon svg,
.lv-home-quick-icon svg,
.lv-home-path-icon svg,
.lv-home-job-meta svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lv-home-search-row input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--lv-home-ink);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 400;
    outline: 0;
    box-shadow: none;
}

.lv-home-search-row input::placeholder {
    color: #9aa2b1;
}

.lv-home-search-submit {
    min-height: 42px;
    padding: 0 17px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--lv-home-primary);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.lv-home-search-clear {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.lv-home-search-clear:hover {
    background: #f2f4f8;
    color: #24304a;
}

.lv-home-search-clear[hidden] {
    display: none !important;
}

.lv-home-search-suggestions {
    top: calc(100% + 9px);
}

.lv-home-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.lv-home-quick-links a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e5e9f1;
    border-radius: 12px;
    color: var(--lv-home-text);
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.lv-home-quick-links a:hover {
    transform: translateY(-1px);
    border-color: #d2d9e8;
    background: #fbfcff;
}

.lv-home-quick-icon {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 10px;
    color: var(--lv-home-blue);
    background: var(--lv-home-blue-soft);
}

.lv-home-quick-links strong,
.lv-home-quick-links small {
    display: block;
}

.lv-home-quick-links strong {
    color: #2e3950;
    font-size: 14px;
    font-weight: 600;
}

.lv-home-quick-links small {
    margin-top: 2px;
    color: #8a93a4;
    font-size: 12.5px;
    line-height: 1.45;
}

.lv-home-link-arrow {
    color: #9aa3b2;
    font-size: 14px;
}

.lv-home-paths {
    padding: 28px 0 8px;
    background: #fff;
}

.lv-home-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lv-home-path-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 110px;
    padding: 18px 18px;
    overflow: hidden;
    color: var(--lv-home-text);
    background: #fff;
    border: 1px solid #e8ebf1;
    border-radius: 16px;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lv-home-path-card:hover {
    color: var(--lv-home-text);
    transform: translateY(-2px);
    border-color: #d5dce8;
    box-shadow: 0 12px 30px rgba(27, 40, 68, .07);
}

.lv-home-path-number {
    position: absolute;
    top: 10px;
    right: 14px;
    color: #eef1f6;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
}

.lv-home-path-icon {
    grid-column: 2;
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 12px;
    color: var(--lv-home-blue);
    background: var(--lv-home-blue-soft);
}

.lv-home-path-card:first-child .lv-home-path-icon {
    color: var(--lv-home-primary-dark);
    background: var(--lv-home-primary-soft);
}

.lv-home-path-copy {
    grid-column: 3;
    min-width: 0;
}

.lv-home-path-copy strong,
.lv-home-path-copy small {
    display: block;
}

.lv-home-path-copy strong {
    color: var(--lv-home-ink);
    font-size: 15px;
    font-weight: 650;
}

.lv-home-path-copy small {
    margin-top: 5px;
    color: #7a8496;
    font-size: 12.5px;
    line-height: 1.55;
}

.lv-home-path-arrow {
    grid-column: 4;
    color: #929baa;
    font-size: 16px;
}

.lv-home-portfolio-section,
.lv-home-work-section {
    padding: 62px 0 18px;
}

.lv-home-portfolio-section {
    background: #fff;
}

.lv-home-work-section {
    padding-top: 70px;
    padding-bottom: 70px;
    background: #f8f9fc;
    border-top: 1px solid #eef0f5;
    border-bottom: 1px solid #eef0f5;
}

.lv-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 22px;
}

.lv-home-section-head h2,
.lv-home-final-card h2 {
    margin: 7px 0 0;
    color: var(--lv-home-ink);
    font-size: clamp(26px, 2.2vw, 34px);
    font-weight: 650;
    letter-spacing: -.03em;
    line-height: 1.22;
}

.lv-home-section-head p,
.lv-home-final-card p {
    max-width: 690px;
    margin: 9px 0 0;
    color: #737d90;
    font-size: 14.5px;
    line-height: 1.7;
}

.lv-home-text-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 3px;
    color: #4f5d78;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}

.lv-home-text-link:hover {
    color: var(--lv-home-primary-dark);
}

.lv-home-portfolio-list {
    padding: 0;
}

main.lv-home .lv-home-portfolio-list > .lv-home-portfolio-shell {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
}

.lv-home-portfolio-controls {
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(29, 41, 67, .045);
}

.lv-home-result-count strong {
    color: var(--lv-home-ink);
    font-size: 15px;
    font-weight: 650;
}

.lv-home .portfolio-total-count {
    font-size: 15px;
}

.lv-home .control-group {
    flex-basis: 162px;
    min-height: 44px;
}

.lv-home .custom-select-trigger {
    min-height: 42px;
    font-size: 13.5px;
}

.lv-home .custom-select-option {
    min-height: 38px;
    font-size: 13.5px;
}

.lv-home .btn-control {
    min-height: 44px;
    padding: 10px 17px;
    font-size: 13.5px;
}

.lv-home-query-chip {
    display: inline-flex;
    align-items: center;
    max-width: 180px;
    margin-left: 7px;
    padding: 3px 8px;
    overflow: hidden;
    border-radius: 999px;
    color: #6b7280;
    background: #f1f3f7;
    font-size: 11.5px;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

main.lv-home .lv-home-portfolio-list .list-portfolio-inner {
    gap: 18px !important;
}

main.lv-home .lv-home-portfolio-list .portfolio-card {
    border-color: #e7eaf0;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(20, 31, 56, .055);
}

main.lv-home .lv-home-portfolio-list .portfolio-card:hover {
    transform: translateY(-3px);
    border-color: #d6dce7;
    box-shadow: 0 14px 30px rgba(20, 31, 56, .09);
}

main.lv-home .lv-home-portfolio-list .portfolio-card-meta {
    gap: 8px;
    padding: 11px 12px 12px;
}

main.lv-home .lv-home-portfolio-list .portfolio-author-avatar,
main.lv-home .lv-home-portfolio-list .portfolio-author-avatar img {
    width: 26px;
    height: 26px;
}

main.lv-home .lv-home-portfolio-list .portfolio-author-name {
    color: #27344e;
    font-size: 14px;
    font-weight: 600;
}

main.lv-home .lv-home-portfolio-list .portfolio-status {
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 550;
}

main.lv-home .lv-home-portfolio-list .portfolio-details-line,
main.lv-home .lv-home-portfolio-list .portfolio-skill,
main.lv-home .lv-home-portfolio-list .portfolio-stats span {
    font-size: 12.5px;
    line-height: 1.45;
}

main.lv-home .lv-home-portfolio-list .portfolio-stats {
    gap: 10px;
}

.lv-home-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 32px;
    border: 1px dashed #d9dee8;
    border-radius: 16px;
    text-align: center;
    background: #fafbfc;
}

.lv-home-empty-state > span {
    font-size: 30px;
    color: #99a2b2;
}

.lv-home-empty-state h3 {
    margin: 9px 0 0;
    color: var(--lv-home-ink);
    font-size: 17px;
    font-weight: 650;
}

.lv-home-empty-state p {
    margin: 7px 0 0;
    color: #7a8496;
    font-size: 13px;
}

.lv-home-empty-state a {
    margin-top: 14px;
    color: var(--lv-home-primary-dark);
    font-size: 13px;
    font-weight: 600;
}

.lv-home-pagination {
    margin-top: 26px;
}

.lv-home-job-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lv-home-job-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid #e3e7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(27, 39, 64, .04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lv-home-job-card:hover {
    transform: translateY(-2px);
    border-color: #d1d8e5;
    box-shadow: 0 14px 30px rgba(27, 39, 64, .075);
}

.lv-home-job-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 22px;
    gap: 10px;
}

.lv-home-job-type,
.lv-home-job-featured {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
}

.lv-home-job-type {
    color: #4057a6;
    background: #eef2ff;
}

.lv-home-job-featured {
    color: #84520b;
    background: var(--lv-home-primary-soft);
}

.lv-home-job-company {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    color: #687386;
    font-size: 12.5px;
    font-weight: 500;
}

.lv-home-job-company img,
.lv-home-job-initial {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
}

.lv-home-job-company img {
    object-fit: cover;
    border: 1px solid #edf0f5;
}

.lv-home-job-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #344a9a;
    background: #eef2ff;
    font-size: 12px;
    font-weight: 700;
}

.lv-home-job-card h3 {
    min-height: 48px;
    margin: 13px 0 0;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.48;
}

.lv-home-job-card h3 a {
    color: var(--lv-home-ink);
    text-decoration: none;
}

.lv-home-job-card h3 a:hover {
    color: #2f4cba;
}

.lv-home-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 14px;
    color: #7a8496;
    font-size: 12px;
}

.lv-home-job-meta span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 5px;
}

.lv-home-job-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.lv-home-job-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 32px;
    gap: 9px;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.lv-home-job-footer strong {
    overflow: hidden;
    color: #37445c;
    font-size: 12.5px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lv-home-job-footer > span {
    color: #9199a8;
    font-size: 11.5px;
    white-space: nowrap;
}

.lv-home-job-footer a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #566276;
    background: #f4f6f9;
    text-decoration: none;
}

.lv-home-job-footer a:hover {
    color: #fff;
    background: var(--lv-home-primary);
}

.lv-home-final-cta {
    padding: 64px 0 24px;
    background: #fff;
}

.lv-home-final-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 34px 38px;
    border: 1px solid #e3e7ef;
    border-radius: 20px;
    background:
        linear-gradient(110deg, rgba(var(--fp-primary-rgb, 255, 172, 38), .08), transparent 38%),
        #fbfcff;
}

.lv-home-final-card h2 {
    font-size: clamp(24px, 2vw, 31px);
}

.lv-home-final-actions {
    margin-top: 0;
    justify-content: flex-end;
}

.lv-home .lv-home-search-row > input[type="search"][data-lv-search-input],
.lv-home .lv-home-search-row > input[type="search"][data-lv-search-input]:focus,
.lv-home .lv-home-search-row > input[type="search"][data-lv-search-input]:focus-visible,
.lv-home .lv-home-search-row > input[type="search"][data-lv-search-input]:active {
    border: 0 !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    -webkit-appearance: none;
    appearance: none;
}

/* Theme-wide controls use the primary/orange focus ring. The discovery field
   owns its focus treatment at the container level, so the input itself must
   never inherit the global orange/yellow ring. */

.lv-home a:focus-visible,
.lv-home button:focus-visible,
.lv-home select:focus-visible {
    outline: 2px solid rgba(53, 87, 212, .42);
    outline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .lv-home-shell {
        width: min(calc(100% - 32px), 1320px);
    }

    .lv-home-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr);
        gap: 44px;
    }

    .lv-home-hero h1 {
        font-size: clamp(38px, 4.4vw, 54px);
    }

    .lv-home-stats > div {
        min-width: 130px;
        padding: 0 20px;
    }
}

@media (max-width: 991.98px) {
    .lv-home-hero {
        padding: 46px 0 40px;
    }

    .lv-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lv-home-hero-copy {
        max-width: 820px;
    }

    .lv-home-discovery {
        max-width: 720px;
    }

    .lv-home-path-grid,
    .lv-home-job-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lv-home-path-card:last-child,
    .lv-home-job-card:last-child {
        grid-column: 1 / -1;
    }

    .lv-home-section-head {
        align-items: flex-start;
    }

    .lv-home-final-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lv-home-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .lv-home-shell {
        width: min(calc(100% - 24px), 720px);
    }

    .lv-home-hero {
        padding: 34px 0 30px;
    }

    .lv-home-hero h1 {
        margin-top: 13px;
        font-size: clamp(33px, 9.5vw, 46px);
    }

    .lv-home-hero-lead {
        font-size: 15.5px;
    }

    .lv-home-stats {
        row-gap: 18px;
    }

    .lv-home-stats > div {
        min-width: 33.333%;
        padding: 0 14px;
    }

    .lv-home-stats dt {
        font-size: 18px;
    }

    .lv-home-stats dd {
        font-size: 11.5px;
    }

    .lv-home-discovery {
        padding: 18px;
        border-radius: 18px;
    }

    .lv-home-search-tabs {
        overflow-x: auto;
        grid-template-columns: repeat(3, minmax(105px, 1fr));
    }

    .lv-home-quick-links,
    .lv-home-path-grid,
    .lv-home-job-grid {
        grid-template-columns: 1fr;
    }

    .lv-home-path-card:last-child,
    .lv-home-job-card:last-child {
        grid-column: auto;
    }

    .lv-home-paths {
        padding-top: 18px;
    }

    .lv-home-portfolio-section,
    .lv-home-work-section {
        padding-top: 46px;
    }

    .lv-home-section-head {
        flex-direction: column;
        gap: 9px;
        margin-bottom: 17px;
    }

    .lv-home-section-head h2 {
        font-size: 26px;
    }

    .lv-home-text-link {
        min-height: 30px;
    }

    .lv-home-final-cta {
        padding-top: 46px;
    }

    .lv-home-final-card {
        padding: 25px 22px;
        border-radius: 17px;
    }
}

@media (max-width: 575.98px) {
    .lv-home-hero-actions,
    .lv-home-final-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .lv-home-button {
        width: 100%;
    }

    .lv-home-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .lv-home-stats > div {
        min-width: 0;
        padding: 0 9px;
    }

    .lv-home-search-row {
        grid-template-columns: 19px minmax(0, 1fr);
        padding: 8px 12px;
    }

    .lv-home-search-submit {
        grid-column: 1 / -1;
        width: 100%;
    }

    .lv-home-path-card {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        min-height: 104px;
        padding: 16px;
    }

    .lv-home-path-icon {
        grid-column: 1;
        width: 40px;
        height: 40px;
    }

    .lv-home-path-copy {
        grid-column: 2;
    }

    .lv-home-path-arrow {
        grid-column: 3;
    }

    .lv-home-portfolio-controls {
        box-shadow: none;
    }

    .lv-home-job-card {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lv-home *,
    .lv-home *::before,
    .lv-home *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Keep the custom clear control only; browser-native search cancel buttons
   create a duplicate X and do not align with FolioPool's discovery field. */
.lv-home-search-row input[type="search"]::-webkit-search-cancel-button,
.lv-home-search-row input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.lv-home-search-row input[type="search"]::-ms-clear,
.lv-home-search-row input[type="search"]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.lv-home-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: Arial, sans-serif;
    font-weight: 400;
}
