:root {
    --tl-red: #d9000c;
    --tl-ink: #151515;
    --tl-line: #d7d9dc;
    --tl-font: Arial, 'Segoe UI', sans-serif;
}
.tl-header, .tl-home, .tl-footer { color: var(--tl-ink); }
.tl-header *, .tl-home *, .tl-footer * { box-sizing: border-box; font-family: var(--tl-font); }
.tl-home [hidden], .tl-header [hidden] { display: none !important; }
.tl-header a, .tl-home a, .tl-footer a { color: inherit; }
.tl-wrap { width: min(calc(100% - 48px), 1200px); margin-inline: auto; }
.tl-header { background: #fff; border-bottom: 1px solid #eee; }
.tl-header-inner { min-height: 66px; display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.tl-logo { display: inline-flex; align-items: center; min-width: 0; }
.tl-logo img { display: block; max-width: 100%; width: clamp(140px, 21vw, 265px); height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
.tl-nav { margin-left: auto; display: flex; align-items: center; justify-content: space-between; gap: clamp(10px, 2vw, 30px); }
.tl-nav a { white-space: nowrap; font: 600 15px var(--tl-font); padding-block: 8px; }
.tl-nav a:hover, .tl-contact-phone:hover { color: var(--tl-red); }
.tl-menu-toggle { display: none; }
.tl-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 19px; background: var(--tl-red); border: 1px solid var(--tl-red); border-radius: 8px; color: #fff !important; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.tl-button:hover { background: #b0000a; border-color: #b0000a; }
.tl-button:disabled { opacity: .6; cursor: default; }
.tl-outline { background: #fff; color: var(--tl-red) !important; }
.tl-outline:hover { background: #fff1f2; }
.tl-phone { white-space: nowrap; border-radius: 99px; padding: 6px 12px; }
.tl-hero { background: #f8f8f8; position: relative; isolation: isolate; }
.tl-hero::before { content: ''; position: absolute; inset: 0 0 0 36%; z-index: -1; background: linear-gradient(90deg,#f8f8f8,transparent 36%), url('../images/trustland/hero.webp') center right / cover no-repeat; }
.tl-hero-copy { max-width: min(55%, 600px); padding: clamp(32px, 4.6vw, 66px) 0; }
.tl-hero h1, .tl-advice h2, .tl-section-title, .tl-tile strong, .tl-article h3, .tl-footer h2, .tl-social strong { font-family: var(--tl-font); line-height: 1.22; font-weight: 700; letter-spacing: normal; word-break: normal; }
.tl-hero h1 { font-size: clamp(30px, 3.45vw, 48px); margin: 0; }
.tl-hero h1::after { content: ''; display: block; width: 52px; height: 2px; margin: 14px 0; background: var(--tl-red); }
.tl-hero p { font-family: var(--tl-font); font-size: clamp(16px, 1.55vw, 20px); margin: 0; }
.tl-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 21px; }
.tl-search { position: relative; padding: 0 0 10px; }
.tl-modes { display: flex; align-items: stretch; gap: 7px; padding-left: 16px; margin-top: -5px; }
.tl-modes button { background: #fff; border: 1px solid var(--tl-line); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 9px 24px; font: 700 15px var(--tl-font); cursor: pointer; }
.tl-modes button[aria-pressed='true'] { color: #fff; background: var(--tl-red); border-color: var(--tl-red); }
#tl-search-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; border: 1px solid var(--tl-line); border-radius: 8px; background: white; padding: 14px 16px; }
#tl-search-form label { flex: 1 1 160px; min-width: 0; color: inherit; }
#tl-search-form label span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
#tl-search-form select { display: block; width: 100%; height: 42px; background: #fff; border: 1px solid var(--tl-line); border-radius: 6px; padding: 0 8px; color: inherit; }
#tl-search-form [type='submit'] { min-height: 42px; }
.tl-search-status { flex-basis: 100%; font-size: 14px; margin: 0; }
.tl-section { padding-block: 21px 28px; }
.tl-section-title { display: flex; align-items: center; gap: 14px; font-size: clamp(23px, 2.6vw, 32px); margin: 0 0 18px; }
.tl-section-title::before { content: ''; width: clamp(20px, 3vw, 40px); height: 2px; background: var(--tl-red); flex: none; }
.tl-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.tl-tile, .tl-article, .tl-social { border: 1px solid var(--tl-line); border-radius: 9px; background: #fff; overflow: hidden; }
.tl-tile:hover, a.tl-social:hover { border-color: var(--tl-red); }
.tl-tile-photo { display: block; aspect-ratio: 16 / 9; background: center / cover no-repeat; }
.tl-townhouse { background-image: url('../images/trustland/townhouse.webp'); }
.tl-building { background-image: url('../images/trustland/building.webp'); }
.tl-income { background-image: url('../images/trustland/income.webp'); }
.tl-tile strong { display: block; font-size: clamp(17px, 1.6vw, 21px); padding: 13px 16px; }
.tl-tile strong::before { content: '◇'; margin-right: 10px; color: var(--tl-red); }
.tl-advice { display: grid; width: min(calc(100% - 48px), 1200px); grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); background: #f6f6f6; margin: 0 auto; border-radius: 10px; overflow: hidden; }
.tl-advice-photo { background: url('../images/trustland/skyline.webp') center / cover no-repeat; clip-path: polygon(0 0,100% 0,81% 100%,0 100%); }
.tl-advice-copy { padding: 23px clamp(16px, 2.3vw, 35px); text-align: center; }
.tl-advice h2 { font-size: clamp(22px, 2.5vw, 30px); margin: 0 0 18px; }
.tl-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; padding: 0; margin: 0 0 20px; list-style: none; text-align: left; }
.tl-steps li { display: flex; align-items: start; gap: 9px; }
.tl-steps i, .tl-steps svg { color: var(--tl-red); background: #ffe4e5; border-radius: 50%; }
.tl-steps strong { font-family: var(--tl-font); }
.tl-steps p { font-size: 13px; margin: 5px 0 0; }
article.tl-article { clear: none; float: none; }
.tl-article > a { display: block; }
.tl-article img { width: 100%; display: block; aspect-ratio: 16 / 7; object-fit: cover; background: #f5f5f5; }
.tl-article > div { padding: 13px 14px; }
.tl-article h3 { font-size: 18px; margin: 0 0 8px; }
.tl-article p { font-size: 14px; margin: 0 0 10px; }
.tl-home a.tl-read { color: var(--tl-red); font-weight: 700; }
.tl-social { display: flex; align-items: center; gap: 12px; min-height: 67px; padding: 12px 16px; }
.tl-social strong { display: block; font-size: 17px; }
.tl-social small { display: block; margin-top: 3px; }
.tl-social i, .tl-social svg { color: var(--tl-red); text-align: center; }
.tl-social > span:last-child:not(:nth-child(2)) { margin-left: auto; color: var(--tl-red); }
.tl-footer { background: #f8f8f8; border-top: 1px solid var(--tl-line); }
.tl-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .9fr; padding-block: 22px; gap: 18px; }
.tl-footer-grid > div + div { border-left: 1px solid var(--tl-line); padding-left: 22px; }
.tl-footer p { margin-top: 10px; }
.tl-footer h2 { font-size: 18px; margin-bottom: 7px; }
.tl-footer a.tl-contact-phone { display: block; color: var(--tl-red); font-weight: 700; }
.tl-site-link { display: inline-block; margin-top: 5px; }
.tl-footer-social { display: flex; flex-wrap: wrap; gap: 12px; font-size: 20px; color: var(--tl-red); }
.tl-footer-bar { background: var(--tl-red); color: #fff; text-align: center; padding: 9px 12px; font-weight: 700; font-size: 13px; }
/* Font Awesome can inject SVGs after the page has loaded. */
.tl-header svg, .tl-home svg, .tl-footer svg {
    display: inline-block;
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    position: static !important;
    flex: 0 0 auto;
    vertical-align: middle;
}
.tl-steps li > i, .tl-steps li > svg {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    font-size: 16px;
}
.tl-steps li > svg { padding: 8px; }
#goc-tu-van .tl-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
@media (max-width: 900px) {
    .tl-wrap, .tl-advice { width: calc(100% - 28px); }
    .tl-header-inner { min-height: 60px; position: relative; }
    .tl-logo { margin-right: auto; }
    .tl-logo img { width: min(240px, 43vw); }
    .tl-menu-toggle { display: inline-block; order: 3; border: 1px solid var(--tl-line); border-radius: 6px; padding: 7px; color: var(--tl-ink); background: #fff; cursor: pointer; white-space: nowrap; }
    .tl-nav { display: none; position: absolute; right: 0; top: 100%; z-index: 50; background: #fff; padding: 12px 20px; border: 1px solid var(--tl-line); border-radius: 8px; }
    .tl-menu-toggle[aria-expanded='true'] + .tl-nav { display: grid; gap: 4px; }
    .tl-nav a { display: block; padding-block: 10px; }
    .tl-advice-copy { padding-right: 14px; }
}
@media (max-width: 620px) {
    .tl-header-inner { gap: 6px; }
    .tl-phone { font-size: 12px; padding: 6px; }
    .tl-phone i, .tl-phone svg { display: none !important; }
    .tl-hero::before { inset: auto 0 0; height: 160px; background: url('../images/trustland/hero.webp') center / cover no-repeat; }
    .tl-hero-copy { padding-block: 29px 184px; max-width: none; }
    .tl-hero h1 { font-size: clamp(26px, 7vw, 36px); }
    #goc-tu-van .tl-grid, .tl-grid, .tl-steps, .tl-advice, .tl-footer-grid { grid-template-columns: 1fr; }
    .tl-grid, .tl-steps { gap: 10px; }
    .tl-advice-photo { min-height: 135px; clip-path: none; }
    .tl-advice-copy { padding: 18px 14px; }
    .tl-footer-grid > div + div { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
    body:has(.tl-home) .tl-footer { padding-bottom: 58px; }
    body:has(.tl-home) .suntory-alo-phone {
        left: auto;
        right: 12px;
        bottom: 10px;
        width: 42px;
        height: 42px;
    }
    body:has(.tl-home) .suntory-alo-ph-circle,
    body:has(.tl-home) .suntory-alo-ph-circle-fill { display: none; }
    body:has(.tl-home) .suntory-alo-ph-img-circle {
        width: 42px;
        height: 42px;
        right: 0;
        top: 0;
        opacity: 1;
    }
    body:has(.tl-home) .chat-zalo {
        left: auto;
        right: 12px;
        bottom: 61px;
        width: 42px;
        height: 42px;
    }
    body:has(.tl-home) .chat-zalo .phone-vr-img-circle,
    body:has(.tl-home) .chat-zalo img {
        width: 42px;
        height: 42px;
    }
}
