/* Shared banner scale for site pages. Vehicle detail heroes have their own layout. */
.toyota-home-concept .concept-hero,
.toyota-home-concept .concept-hero-inner { min-height: 640px; }
.toyota-home-concept .concept-hero-copy { padding-block: 48px; transform: translateY(-8px); }
.toyota-home-concept .concept-hero h1 { font-size: clamp(40px, 3.25vw, 50px); line-height: 1.15; text-wrap: balance; }

.toyota-about-page .about-hero,
.toyota-finance-page .finance-hero,
.toyota-drive-page .drive-hero,
.toyota-contact-page .contact-hero,
.toyota-news-page .news-hero,
.toyota-prices-page .prices-hero { min-height: 330px; }
.toyota-about-page .about-hero-content,
.toyota-finance-page .finance-hero-content,
.toyota-drive-page .drive-hero-content,
.toyota-contact-page .contact-hero-content,
.toyota-news-page .news-hero-content,
.toyota-prices-page .prices-hero-content { padding-block: 28px 36px; transform: translateY(-7px); }
.toyota-about-page .about-hero h1,
.toyota-finance-page .finance-hero h1,
.toyota-drive-page .drive-hero h1,
.toyota-contact-page .contact-hero h1,
.toyota-news-page .news-hero h1,
.toyota-prices-page .prices-hero h1 { font-size: clamp(38px, 3vw, 46px); line-height: 1.18; text-wrap: balance; }
.toyota-about-page .about-hero p,
.toyota-finance-page .finance-hero p,
.toyota-drive-page .drive-hero p,
.toyota-contact-page .contact-hero p,
.toyota-news-page .news-hero p,
.toyota-prices-page .prices-hero p { font-size: 16px; line-height: 1.6; }
.toyota-contact-page .contact-hero-content { padding-block: 17px 22px; transform: none; }
.toyota-contact-page .contact-breadcrumb { margin-bottom: 12px; }
.toyota-contact-page .contact-hero h1 { margin: 7px 0 9px; font-size: clamp(38px,3vw,46px); line-height: 1.08; }
.toyota-contact-page .contact-hero p { margin-bottom: 14px; line-height: 1.4; }
.toyota-contact-page .contact-hero-actions .contact-button { min-height: 45px; padding-block: 8px; }

/* Standard CMS pages share the compact showroom banner. */
body:not([class]) .page-hero { display:flex; align-items:center; min-height:300px; padding-block:28px 34px; background:linear-gradient(90deg,rgb(15 18 23 / 94%),rgb(20 22 26 / 75%) 60%,rgb(18 19 22 / 35%)),url('/uploads/wp/2026/06/showroom-toyota-quan-1-phong-trung-bay.jpg') center 55% / cover; color:#fff; }
body:not([class]) .page-hero h1 { font-size:clamp(38px,3vw,46px); line-height:1.18; text-wrap:balance; }
body:not([class]) .page-hero .breadcrumb { color:#e3e6e9; }

/* Home banners */
.home-banner { position:relative; height:clamp(470px,42.5vw,640px); overflow:hidden; background:#14191e; }
.site-header .brand img { width:68px; height:53px; }
.site-header .brand strong { font-size:21px; line-height:1.19; }
.home-banner-intro-slide { isolation:isolate; color:#fff; background:linear-gradient(112deg,#11161d 0%,#191c23 38%,#8e0010 67%,#d60018 100%); }
.home-banner-intro-slide::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(145deg,transparent 36%,#ffffff0b 36.2%,transparent 59%),radial-gradient(circle at 76% 50%,#f53c4c80,transparent 38%); }
.home-banner-intro-slide::after { content:""; position:absolute; right:-8%; bottom:-35%; width:50vw; height:50vw; border:1px solid #ffffff25; border-radius:50%; box-shadow:0 0 0 80px #ffffff08,0 0 0 170px #ffffff05; }
.home-banner-intro-inner { position:relative; display:flex; align-items:center; height:100%; }
.home-banner-intro-copy { position:relative; z-index:2; width:58%; padding:0 0 32px 64px; }
.home-banner-intro-kicker { display:block; margin-bottom:20px; color:#ff7b86; font-size:14px; font-weight:800; letter-spacing:.18em; }
.home-banner-intro-copy :is(h1,h2) { margin:0 0 21px; font:800 clamp(44px,4.4vw,74px)/1.18 "Barlow Condensed",sans-serif; letter-spacing:.005em; }
.home-banner-intro-copy :is(h1,h2) em { color:#ff4b5b; font-style:normal; }
.home-banner-intro-copy p { max-width:480px; margin:0 0 28px; color:#e9e9eb; font-size:17px; line-height:1.55; }
.home-banner-intro-actions { display:flex; flex-wrap:wrap; gap:12px; }
.home-banner-intro-actions a { display:inline-flex; align-items:center; justify-content:center; gap:15px; min-height:52px; padding:12px 20px; border:2px solid #e60019; background:#e60019; color:#fff; font-size:13px; font-weight:800; transition:background .2s ease,color .2s ease,transform .2s ease; }
.home-banner-intro-actions a:nth-child(2) { border-color:#fff; background:#ffffff12; }
.home-banner-intro-actions a:hover { transform:translateY(-2px); background:#fff; color:#c50018; }
.home-banner-intro-visual { position:absolute; inset:0 0 0 43%; }
.home-banner-intro-visual img { position:absolute; z-index:2; right:-5%; bottom:8%; width:min(100%,840px); height:auto; filter:drop-shadow(0 26px 34px #130006b3); }
.home-banner-intro-ring { position:absolute; right:5%; top:7%; width:min(52vw,620px); aspect-ratio:1; border:1px solid #ffffff3b; border-radius:50%; box-shadow:inset 0 0 0 54px #ffffff0c,0 0 0 57px #ffffff12; }
.home-banner-intro-number { position:absolute; z-index:1; right:1%; bottom:8%; color:#ffffff8a; font-size:12px; font-weight:800; letter-spacing:.22em; writing-mode:vertical-rl; }
.home-banner-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.home-banner-slide { position:absolute; inset:0; visibility:hidden; opacity:0; transition:opacity .45s ease, visibility .45s ease; }
.home-banner-slide.is-active { visibility:visible; opacity:1; z-index:1; }
.home-banner-image-slide > a { display:block; width:100%; height:100%; }
.home-banner-image-slide > a img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.home-banner-mobile-caption { display:none; }
.home-banner-red-slide { color:#fff; background:linear-gradient(115deg,#910011 0%,#c60016 48%,#eb182c 100%); }
.home-banner-red-slide::before { content:""; position:absolute; inset:0; background:linear-gradient(130deg,transparent 38%,#ffffff17 38.2%,transparent 59%),radial-gradient(circle at 80% 110%,#ff9f9955,transparent 45%); }
.home-banner-red-inner { position:relative; display:flex; align-items:center; height:100%; }
.home-banner-red-copy { position:relative; z-index:2; width:55%; padding:0 0 20px 64px; text-shadow:0 2px 15px #5a000b55; }
.home-banner-red-copy > span { display:block; margin-bottom:18px; color:#ffc5cc; font-size:15px; font-weight:800; letter-spacing:.18em; }
.home-banner-red-copy :is(h1,h2) { margin:0 0 18px; color:#fff; font-size:clamp(42px,4.3vw,70px); font-weight:800; line-height:1.02; text-wrap:balance; }
.home-banner-red-copy p { max-width:510px; margin:0 0 28px; color:#ffe7e9; font-size:17px; line-height:1.6; }
.home-banner-red-copy a { display:inline-flex; align-items:center; gap:16px; min-height:50px; padding:12px 22px; border:2px solid #fff; background:#fff; color:#b00015; font-size:14px; font-weight:800; }
.home-banner-red-copy a:hover { background:transparent; color:#fff; }
.home-banner-red-cars { position:absolute; inset:0 0 0 47%; pointer-events:none; }
.home-banner-red-cars img { position:absolute; height:auto; filter:drop-shadow(0 24px 24px #4b000a66); }
.home-banner-car-cross { width:65%; right:35%; bottom:14%; opacity:.93; }
.home-banner-car-veloz { width:78%; right:-5%; bottom:8%; }
.home-banner-car-vios { width:37%; right:-4%; bottom:0; }
.home-banner-controls { position:absolute; z-index:3; inset:0; pointer-events:none; }
.home-banner-controls button { display:grid; place-items:center; flex:none; border:0; color:#fff; cursor:pointer; pointer-events:auto; }
.home-banner-arrow { position:absolute; top:50%; width:48px; height:48px; border-radius:50%; background:#11161db3; font:400 38px/1 Arial,sans-serif; transform:translateY(-50%); transition:background .2s ease,color .2s ease; }
.home-banner-arrow[data-banner-prev] { left:20px; }
.home-banner-arrow[data-banner-next] { right:20px; }
.home-banner-arrow:hover { background:#e50019; color:#fff; }
.home-banner-dots { position:absolute; left:50%; bottom:18px; display:flex; align-items:center; gap:8px; padding:10px 14px; border-radius:30px; background:#14191e94; backdrop-filter:blur(8px); transform:translateX(-50%); }
.home-banner-dots button { width:27px; height:5px; padding:0; background:#ffffff80; transition:background .2s ease, width .2s ease; }
.home-banner-dots button.is-active { width:38px; background:#e50019; }
.home-banner-controls button:focus-visible { outline:2px solid #fff; outline-offset:4px; }
@media (prefers-reduced-motion: reduce) { .home-banner-slide { transition:none; } }

@media (max-width: 1050px) and (min-width: 768px) {
  .toyota-home-concept .concept-hero,
  .toyota-home-concept .concept-hero-inner { min-height: 540px; }
}

@media (max-width: 767px) {
  .home-banner { height:392px; }
  .site-header .brand img { width:55px; height:44px; }
  .home-banner-intro-inner { align-items:flex-start; padding-top:28px; }
  .home-banner-intro-copy { width:100%; padding:0; }
  .home-banner-intro-kicker { margin-bottom:10px; font-size:10px; letter-spacing:.12em; }
  .home-banner-intro-copy :is(h1,h2) { max-width:370px; margin-bottom:10px; font-size:clamp(32px,9vw,44px); line-height:1.16; }
  .home-banner-intro-copy p { max-width:340px; margin-bottom:14px; font-size:12px; line-height:1.4; }
  .home-banner-intro-actions { gap:7px; }
  .home-banner-intro-actions a { min-height:38px; padding:8px 10px; font-size:10px; gap:5px; }
  .home-banner-intro-visual { inset:auto 0 0 20%; height:150px; }
  .home-banner-intro-visual img { right:-5%; bottom:4px; width:min(95%,390px); }
  .home-banner-intro-ring { right:5%; top:-40px; width:220px; }
  .home-banner-intro-number { display:none; }
  .home-banner-image-slide { background:#dcecf7; }
  .home-banner-hilux-slide { background:#11151b; }
  .home-banner-image-slide > a { height:260px; }
  .home-banner-image-slide > a img { object-fit:contain; }
  .home-banner-mobile-caption { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-height:132px; padding:18px 20px 54px; background:#fff; color:#171a20; }
  .home-banner-hilux-slide .home-banner-mobile-caption { background:#171a20; color:#fff; }
  .home-banner-mobile-caption strong { font-size:20px; line-height:1.2; }
  .home-banner-mobile-caption a { color:#c60016; font-size:14px; font-weight:800; }
  .home-banner-red-inner { align-items:flex-start; padding-top:30px; }
  .home-banner-red-copy { width:100%; padding:0 0 0 0; }
  .home-banner-red-copy > span { margin-bottom:9px; font-size:11px; }
  .home-banner-red-copy :is(h1,h2) { max-width:330px; margin-bottom:9px; font-size:clamp(28px,8vw,38px); }
  .home-banner-red-copy p { max-width:330px; margin-bottom:12px; font-size:12px; line-height:1.45; }
  .home-banner-red-copy a { min-height:39px; padding:8px 12px; font-size:11px; }
  .home-banner-red-cars { inset:auto 0 0 12%; height:150px; }
  .home-banner-car-cross,.home-banner-car-vios { display:none; }
  .home-banner-car-veloz { width:min(75%,330px); right:0; bottom:-7px; }
  .home-banner-arrow { display:none !important; }
  .home-banner-dots { bottom:10px; gap:6px; padding:8px 10px; }
  .home-banner-dots button { width:18px; }
  .home-banner-dots button.is-active { width:28px; }
  .toyota-home-concept .concept-hero,
  .toyota-home-concept .concept-hero-inner { min-height: 0; }
  .toyota-home-concept .concept-hero-copy { padding-block: 43px; transform: none; }
  .toyota-home-concept .concept-hero h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.16; }

  .toyota-about-page .about-hero,
  .toyota-finance-page .finance-hero,
  .toyota-drive-page .drive-hero,
  .toyota-contact-page .contact-hero,
  .toyota-news-page .news-hero,
  .toyota-prices-page .prices-hero { min-height: 0; }
  .toyota-about-page .about-hero-content,
  .toyota-finance-page .finance-hero-content,
  .toyota-drive-page .drive-hero-content,
  .toyota-contact-page .contact-hero-content,
  .toyota-news-page .news-hero-content,
  .toyota-prices-page .prices-hero-content { padding-block: 30px 38px; transform: none; }
  .toyota-about-page .about-hero h1,
  .toyota-finance-page .finance-hero h1,
  .toyota-drive-page .drive-hero h1,
  .toyota-contact-page .contact-hero h1,
  .toyota-news-page .news-hero h1,
  .toyota-prices-page .prices-hero h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.2; }
  .toyota-about-page .about-hero p,
  .toyota-finance-page .finance-hero p,
  .toyota-drive-page .drive-hero p,
  .toyota-contact-page .contact-hero p,
  .toyota-news-page .news-hero p,
  .toyota-prices-page .prices-hero p { font-size: 15px; }
  .toyota-contact-page .contact-hero-content { padding-block:22px 28px; }
  .toyota-contact-page .contact-breadcrumb { margin-bottom:19px; }
  .toyota-contact-page .contact-hero h1 { font-size:clamp(28px,8vw,36px); }
  .toyota-contact-page .contact-hero p { margin-bottom:18px; }
  body:not([class]) .page-hero { min-height:0; padding-block:30px 38px; }
  body:not([class]) .page-hero h1 { font-size:clamp(28px,8vw,36px); line-height:1.2; }
}

@media (max-width: 640px) {
  .site-header .brand strong { font-size:19px; line-height:1.16; }
}

/* Inner pages: align hero copy and the following sections to one rhythm. */
.toyota-about-page .about-hero,
.toyota-finance-page .finance-hero,
.toyota-drive-page .drive-hero,
.toyota-contact-page .contact-hero,
.toyota-news-page .news-hero,
.toyota-prices-page .prices-hero { align-items:flex-start; }

.toyota-about-page .about-hero-content,
.toyota-finance-page .finance-hero-content,
.toyota-drive-page .drive-hero-content,
.toyota-contact-page .contact-hero-content,
.toyota-news-page .news-hero-content,
.toyota-prices-page .prices-hero-content { padding-block:26px 30px; transform:none; }

.toyota-about-page .about-breadcrumb,
.toyota-finance-page .finance-breadcrumb,
.toyota-drive-page .drive-breadcrumb,
.toyota-contact-page .contact-breadcrumb,
.toyota-news-page .news-breadcrumb,
.toyota-prices-page .prices-breadcrumb { margin-bottom:18px; }

.toyota-about-page .about-section,
.toyota-about-page .about-consult,
.toyota-finance-page .finance-section,
.toyota-finance-page .finance-consult,
.toyota-drive-page .drive-section,
.toyota-drive-page .drive-consult,
.toyota-contact-page .contact-section,
.toyota-contact-page .contact-final,
.toyota-news-page .news-section,
.toyota-news-page .news-consult,
.toyota-prices-page .prices-list,
.toyota-prices-page .prices-consult { padding-block:40px 64px; }

.toyota-about-page .about-welcome > .wrap,
.toyota-finance-page .finance-intro > .wrap { align-items:start; }

@media (max-width:767px) {
  .toyota-about-page .about-hero-content,
  .toyota-finance-page .finance-hero-content,
  .toyota-drive-page .drive-hero-content,
  .toyota-contact-page .contact-hero-content,
  .toyota-news-page .news-hero-content,
  .toyota-prices-page .prices-hero-content { padding-block:24px 30px; }

  .toyota-about-page .about-breadcrumb,
  .toyota-finance-page .finance-breadcrumb,
  .toyota-drive-page .drive-breadcrumb,
  .toyota-contact-page .contact-breadcrumb,
  .toyota-news-page .news-breadcrumb,
  .toyota-prices-page .prices-breadcrumb { margin-bottom:16px; }

  .toyota-about-page .about-section,
  .toyota-about-page .about-consult,
  .toyota-finance-page .finance-section,
  .toyota-finance-page .finance-consult,
  .toyota-drive-page .drive-section,
  .toyota-drive-page .drive-consult,
  .toyota-contact-page .contact-section,
  .toyota-contact-page .contact-final,
  .toyota-news-page .news-section,
  .toyota-news-page .news-consult,
  .toyota-prices-page .prices-list,
  .toyota-prices-page .prices-consult { padding-block:32px 48px; }
}

/* Reserve the red underline for the current page. */
.site-header .nav-link:not(.active):hover{color:#4b5563}.site-header .nav-link:not(.active):hover::after{transform:scaleX(0)}

.toyota-category-links{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 30px}.toyota-category-links a{padding:8px 14px;border:1px solid #dce0e5}.toyota-category-links a[aria-current]{background:#c60016;color:white}
