.tsl-loan-page,
.tsl-loan-page * {
    box-sizing: border-box;
}

.tsl-loan-page {
    color: var(--tsl-ink);
    font-family: var(--tsl-font);
}

.tsl-loan-hero {
    width: calc(100% - 128px);
    max-width: none;
    height: min(675px, calc((100vw - 128px) * .45));
    aspect-ratio: auto;
}

/* All four loan pages: align the desktop hero with the 1500px content blocks. */
@media (min-width: 1471px) {
    .tsl-loan-hero {
        width: min(100%, 1500px);
        max-width: 1500px;
    }
}

.tsl-loan-hero .tsl-hero-main-img {
    left: 50%;
    bottom: 0;
    width: 100cqw !important;
}

.tsl-loan-content > .tsl-section,
.tsl-loan-content > .tsl-loan-video-wrap {
    width: min(100%, 1550px);
    margin: 0 auto 16px;
}

.tsl-loan-content > .tsl-section {
    padding: clamp(52px, 5vw, 76px) 0;
}

.tsl-loan-content > .tsl-section:not(.tsl-loan-cta) > .tsl-container {
    padding-inline: clamp(34px, 4vw, 60px);
}

.tsl-loan-content h3 {
    margin: 0;
    color: var(--tsl-ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.tsl-loan-content p {
    text-wrap: pretty;
}

.tsl-loan-parameters {
    border-radius: var(--tsl-radius);
    background: var(--tsl-dark);
}

.tsl-loan-head--light .tsl-title {
    color: #fff;
}

.tsl-loan-head--light .tsl-lead {
    color: #a7afb3;
}

.tsl-loan-parameter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 42px 0 0;
    border: 1px solid #303538;
    border-radius: 12px;
    background: #303538;
}

.tsl-loan-parameter {
    min-height: 145px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1e2123;
}

.tsl-loan-parameter dt {
    color: #8f989c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tsl-loan-parameter dd {
    margin: 0;
    color: #fff;
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 650;
    line-height: 1.2;
}

.tsl-loan-ltv-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: 14px;
    padding: 22px 25px;
    border: 1px solid #303538;
    border-radius: 12px;
    background: #1e2123;
}

.tsl-loan-ltv-note__value {
    color: var(--tsl-accent);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.tsl-loan-ltv-note__content h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.tsl-loan-ltv-note__content p {
    margin: 7px 0 0;
    color: #a7afb3;
    font-size: 13px;
    line-height: 1.6;
}

.tsl-loan-scenarios {
    border: 1px solid var(--tsl-line);
    border-radius: var(--tsl-radius);
    background: #fff;
}

.tsl-loan-card-grid,
.tsl-loan-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tsl-loan-feature-card {
    min-height: 260px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.tsl-loan-feature-card .tsl-badge {
    margin-bottom: auto;
}

.tsl-loan-feature-card p,
.tsl-loan-object-list p,
.tsl-loan-factor-grid p,
.tsl-loan-benefit-grid p {
    margin: 10px 0 0;
    color: var(--tsl-text);
    font-size: 14px;
    line-height: 1.65;
}

.tsl-loan-collateral {
    border: 1px solid var(--tsl-line);
    border-radius: var(--tsl-radius);
    background: #fff;
}

.tsl-loan-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
}

.tsl-loan-visual {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: var(--tsl-radius);
    background: #d9dde0;
}

.tsl-loan-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .18));
}

.tsl-loan-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tsl-loan-object-list {
    margin-top: 35px;
    border-top: 1px solid var(--tsl-line);
}

.tsl-loan-object-list article {
    padding: 22px 0;
    border-bottom: 1px solid var(--tsl-line);
}

.tsl-loan-factors {
    border: 1px solid #303538;
    border-radius: var(--tsl-radius);
    background: var(--tsl-dark);
}

.tsl-loan-documents,
.tsl-loan-related {
    border: 1px solid var(--tsl-line);
    border-radius: var(--tsl-radius);
    background: #fff;
}

.tsl-loan-factor-layout {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(55px, 8vw, 130px);
}

.tsl-loan-factor-intro .tsl-title {
    color: #fff;
}

.tsl-loan-factor-intro .tsl-lead {
    color: #a7afb3;
}

.tsl-loan-factor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tsl-loan-factor-grid article {
    min-height: 230px;
    padding: 24px;
    border: 1px solid #34393c;
    border-radius: 12px;
    background: #1e2123;
}

.tsl-loan-factor-grid article > span {
    display: block;
    margin-bottom: 55px;
    color: var(--tsl-accent);
    font-size: 12px;
    font-weight: 800;
}

.tsl-loan-factor-grid h3 {
    color: #fff;
}

.tsl-loan-document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tsl-loan-document-grid article {
    min-height: 270px;
    padding: 28px;
}

.tsl-loan-document-grid ul {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.tsl-loan-document-grid li {
    position: relative;
    padding: 13px 0 13px 25px;
    border-bottom: 1px solid var(--tsl-line);
    color: var(--tsl-text);
    font-size: 14px;
    line-height: 1.5;
}

.tsl-loan-document-grid li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tsl-accent);
}

.tsl-loan-process {
    overflow: hidden;
    border: 1px solid var(--tsl-line);
    border-radius: var(--tsl-radius-lg);
    background: var(--tsl-surface-soft);
}
.tsl-loan-process-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 42px 0 0;
    padding: 0;
    border-top: 1px solid #d5dade;
    list-style: none;
}

.tsl-loan-process-list li {
    min-height: 270px;
    padding: 28px 25px;
    border-right: 1px solid #d5dade;
}

.tsl-loan-process-list li:last-child {
    border-right: 0;
}

.tsl-loan-process-list li > span {
    display: block;
    margin-bottom: 70px;
    color: var(--tsl-accent-dark);
    font-size: 12px;
    font-weight: 800;
}

.tsl-loan-process-list p {
    margin: 10px 0 0;
    color: var(--tsl-text);
    font-size: 13px;
    line-height: 1.6;
}

.tsl-loan-example {
    border-radius: var(--tsl-radius);
    background: #eaf5fa;
}

.tsl-loan-example-inner {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr) minmax(260px, .8fr);
    gap: clamp(35px, 5vw, 75px);
    align-items: start;
}

.tsl-loan-example-values {
    margin: 0;
    border-top: 1px solid rgba(39, 152, 197, .25);
}

.tsl-loan-example-values div {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(39, 152, 197, .25);
}

.tsl-loan-example-values dt {
    color: var(--tsl-text);
    font-size: 13px;
}

.tsl-loan-example-values dd {
    margin: 0;
    color: var(--tsl-ink);
    font-size: 15px;
    font-weight: 750;
    text-align: right;
}

.tsl-loan-example-actions {
    display: grid;
    gap: 14px;
}

.tsl-loan-benefit-grid article {
    min-height: 220px;
    padding: 28px 0;
    border-top: 2px solid var(--tsl-ink);
}

.tsl-loan-faq {
    border: 1px solid var(--tsl-line);
    background: var(--tsl-surface-soft);
    border-radius: var(--tsl-radius);
}

.tsl-loan-faq .tsl-faq__answer ul {
    max-width: 820px;
    margin: 0;
    padding: 0 0 0 20px;
    color: #687075;
    font-size: 14px;
    line-height: 1.72;
}

.tsl-loan-faq .tsl-faq__answer li + li {
    margin-top: 5px;
}

.tsl-loan-faq-list {
    border-top: 1px solid #d5dade;
}

.tsl-loan-faq-list details {
    border-bottom: 1px solid #d5dade;
}

.tsl-loan-faq-list summary {
    position: relative;
    padding: 25px 60px 25px 0;
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--tsl-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.tsl-loan-faq-list summary::-webkit-details-marker {
    display: none;
}

.tsl-loan-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 8px;
    color: var(--tsl-accent-dark);
    font-size: 26px;
    font-weight: 400;
    transform: translateY(-50%);
}

.tsl-loan-faq-list details[open] summary::after {
    content: "−";
}

.tsl-loan-faq-list summary span {
    color: var(--tsl-accent-dark);
    font-size: 11px;
}

.tsl-loan-faq-list details > div {
    max-width: 900px;
    padding: 0 60px 25px 42px;
}

.tsl-loan-faq-list details p {
    margin: 0;
    color: var(--tsl-text);
    font-size: 14px;
    line-height: 1.75;
}

.tsl-loan-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.tsl-loan-related-grid a {
    min-height: 105px;
    padding: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--tsl-ink) !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    transition: border-color .2s ease, color .2s ease;
}

.tsl-loan-related-grid a:hover {
    border-color: var(--tsl-accent);
    color: var(--tsl-accent-dark) !important;
}

.tsl-loan-cta {
    padding: 0 !important;
}

.tsl-loan-cta-inner {
    padding: clamp(42px, 5vw, 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    border-radius: var(--tsl-radius);
    background: var(--tsl-dark);
}

.tsl-loan-cta .tsl-title {
    color: #fff;
}

.tsl-loan-cta .tsl-lead {
    color: #a7afb3;
}

.tsl-loan-cta-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

@media (max-width: 1470px) and (min-width: 768px) {
    .tsl-loan-hero {
        width: calc(100% - 48px);
        height: auto;
    }

    .tsl-loan-hero .tsl-hero-main-img {
        left: 61%;
        bottom: 1%;
        width: 82cqw !important;
    }

    .tsl-loan-content > .tsl-section {
        padding-inline: 0;
    }

    .tsl-loan-content > .tsl-section:not(.tsl-loan-cta) > .tsl-container {
        padding-inline: 40px;
    }

    .tsl-loan-parameter-grid,
    .tsl-loan-card-grid,
    .tsl-loan-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsl-loan-split,
    .tsl-loan-factor-layout,
    .tsl-loan-example-inner {
        grid-template-columns: 1fr;
    }

    .tsl-loan-visual {
        min-height: 480px;
    }

    .tsl-loan-document-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tsl-loan-process-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tsl-loan-process-list li:nth-child(3) {
        border-right: 0;
    }

    .tsl-loan-process-list li:nth-child(n + 4) {
        border-top: 1px solid #d5dade;
    }

    .tsl-loan-related-grid {
        grid-template-columns: 1fr;
    }

    .tsl-loan-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .tsl-loan-hero {
        width: 100%;
        height: auto;
    }

    .tsl-loan-hero .tsl-hero-main-img {
        bottom: auto;
        width: 88vw !important;
    }

    .tsl-loan-content > .tsl-section {
        width: calc(100% - 20px);
        margin-bottom: 14px;
        padding: 46px 18px;
        border-radius: 12px;
    }

    .tsl-loan-content > .tsl-loan-video-wrap {
        width: calc(100% - 20px);
        margin-bottom: 14px;
    }

    .tsl-loan-content > .tsl-section:not(.tsl-loan-cta) > .tsl-container {
        padding-inline: 0;
    }

    .tsl-loan-parameter-grid,
    .tsl-loan-card-grid,
    .tsl-loan-factor-grid,
    .tsl-loan-document-grid,
    .tsl-loan-benefit-grid,
    .tsl-loan-related-grid {
        grid-template-columns: 1fr;
    }

    .tsl-loan-parameter {
        min-height: 105px;
    }

    .tsl-loan-ltv-note {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .tsl-loan-feature-card,
    .tsl-loan-document-grid article,
    .tsl-loan-benefit-grid article {
        min-height: 0;
    }

    .tsl-loan-feature-card .tsl-badge {
        margin-bottom: 50px;
    }

    .tsl-loan-split,
    .tsl-loan-factor-layout,
    .tsl-loan-example-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .tsl-loan-visual {
        min-height: 390px;
    }

    .tsl-loan-factor-grid article {
        min-height: 190px;
    }

    .tsl-loan-process-list {
        grid-template-columns: 1fr;
    }

    .tsl-loan-process-list li,
    .tsl-loan-process-list li:nth-child(3) {
        min-height: 0;
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid #d5dade;
    }

    .tsl-loan-process-list li > span {
        margin-bottom: 28px;
    }

    .tsl-loan-faq-list summary {
        gap: 15px;
        padding-right: 42px;
        font-size: 16px;
    }

    .tsl-loan-faq-list details > div {
        padding-left: 28px;
        padding-right: 35px;
    }

    .tsl-loan-cta {
        padding: 0 14px !important;
    }

    .tsl-loan-cta-inner {
        padding: 35px 20px;
    }

    .tsl-loan-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .tsl-loan-cta-actions .tsl-hero-btn {
        width: 100%;
    }
}
.tsl-loan-video-wrap {
    padding: 0;
}

@media (max-width: 767px) {
    .tsl-loan-video-wrap {
        padding: 0;
    }
}
