/* Independent homepage section: fixed-height image boxes and nested cards. */
.ts-vehicle-panels {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 20px;
 margin-block-start: 20px;
 direction: rtl;
}
.ts-vehicle-panel {
 position: relative;
 isolation: isolate;
 height: 450px;
 min-width: 0;
 overflow: hidden;
 border-radius: 32px;
 background: var(--ts-color-surface-muted, #ededee);
}
.ts-vehicle-panel__image {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
}
.ts-vehicle-panel__link { position: absolute; inset: 0; z-index: 1; }
.ts-vehicle-panel__link:focus-visible { outline: 3px solid #ed1024; outline-offset: -5px; }
.ts-vehicle-panel__cards {
 position: absolute;
 right: 24px;
 left: 24px;
 bottom: 28px;
 z-index: 2;
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 12px;
 max-height: 54%;
 overflow-y: auto;
 overscroll-behavior: contain;
 list-style: none;
 margin: 0;
 padding: 4px;
 pointer-events: none;
}
.ts-vehicle-panel__item { min-width: 0; margin: 0; padding: 0; pointer-events: auto; }
.ts-vehicle-card {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 18px;
 grid-template-rows: 18px auto;
 align-content: center;
 gap: 4px 8px;
 min-height: 66px;
 height: 100%;
 padding: 10px 12px;
 border-radius: 12px;
 background: #fff;
 color: var(--ts-color-text, #292929);
 text-decoration: none;
 font-family: "Yekan Bakh FaNum", Tahoma, sans-serif;
}
.ts-vehicle-card__icon { grid-column: 1; grid-row: 1; justify-self: start; }
.ts-vehicle-card__text { grid-column: 1; grid-row: 2; overflow-wrap: anywhere; font-size: 12px; font-weight: 600; line-height: 1.6; }
.ts-vehicle-card__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.ts-vehicle-card__icon, .ts-vehicle-card__arrow { width: 18px; height: 18px; object-fit: contain; }
a.ts-vehicle-card:hover { box-shadow: inset 0 0 0 2px var(--ts-color-accent, #ffc400); }
a.ts-vehicle-card:focus-visible { outline: 3px solid #ed1024; outline-offset: -3px; }
@media (min-width: 901px) and (max-width: 1200px) {
 .ts-vehicle-panel__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
 .ts-vehicle-panels { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 540px) {
 .ts-vehicle-panel { border-radius: 24px; }
 .ts-vehicle-panel__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); left: 12px; right: 12px; bottom: 16px; gap: 8px; max-height: 64%; }
 .ts-vehicle-card { padding: 8px 10px; min-height: 60px; }
}
