/*
 * Parto Khodro interior pages.
 * Sections: shared layout, catalog, vehicle details, magazine, video, company/contact, responsive.
 * All selectors are scoped to .pi-root. The calculator and admin are unaffected.
 */
.pi-root {
    background: #f7f9fd;
}
.pi-root .pi-main {
    min-height: 60vh;
}
.pi-root .pi-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}
.pi-root .pi-main h1 {
    font-size: clamp(27px, 2.7vw, 39px);
    line-height: 1.65;
    font-weight: 900;
}
.pi-root .pi-main h2 {
    font-size: 25px;
    line-height: 1.65;
}
.pi-root .pi-main h3 {
    font-size: 18px;
    line-height: 1.8;
}
.pi-root .pi-main p {
    font-size: 14px;
    line-height: 2;
}
.pi-root .pi-card {
    background: #fff;
    border: 1px solid #e1e7f0;
    border-radius: 17px;
    box-shadow: 0 8px 25px #102c4c07;
}
.pi-root .pi-panel {
    padding: 24px !important;
    margin-bottom: 22px;
}
.pi-root .pi-panel > h2 {
    font-size: 23px;
    margin-bottom: 16px;
}
.pi-root .pi-muted {
    color: #748198;
    font-size: 12px !important;
}
.pi-root .pi-center {
    text-align: center;
    justify-content: center !important;
}
.pi-root .pi-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 27px 0 22px;
}
.pi-root .pi-section-title h2,
.pi-root .pi-accent-title {
    position: relative;
    padding-right: 18px !important;
}
.pi-root .pi-section-title h2::before,
.pi-root .pi-accent-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.36em;
    width: 5px;
    height: 1.1em;
    border-radius: 5px;
    background: #ffcc44;
}
.pi-root .pi-section-title > span {
    color: #75829a;
    font-size: 12px;
}
.pi-root .pi-breadcrumb {
    font-size: 11px !important;
    color: #79859a;
    margin-bottom: 16px;
    line-height: 2;
}
.pi-root .pi-breadcrumb a:hover {
    text-decoration: underline;
}
.pi-root .pi-pill {
    display: inline-block;
    padding: 3px 14px !important;
    border-radius: 40px;
    background: #fff;
    color: #132944;
    font-size: 11px;
    line-height: 1.8;
    font-weight: 700;
}
.pi-root .pi-pill-gold {
    background: #ffcf51;
    color: #132742;
}
.pi-root .pi-pill-outline {
    background: #eef2f8;
    border: 1px solid #c7d2e1;
}
.pi-root .pi-eyebrow {
    color: #3c5574;
    font-weight: 700;
    font-size: 12px !important;
    margin-bottom: 10px;
}
.pi-root .pi-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 24px !important;
}
.pi-root .pi-empty > svg {
    width: 58px;
    height: 58px;
    color: #8da3bb;
    margin-bottom: 15px;
}
.pi-root .pi-empty h2 {
    font-size: 21px;
}
.pi-root .pi-empty p {
    color: #7b899c;
    margin: 10px 0 20px;
}
.pi-root .pi-empty .ph-button {
    display: inline-flex;
}
.pi-root .pi-empty-small {
    text-align: center;
    padding: 28px 16px !important;
    background: #f5f8fc;
    border-radius: 12px;
    margin: 15px 0;
}
.pi-root .pi-empty-small > svg {
    width: 44px;
    height: 44px;
    color: #8ba1bb;
    margin-bottom: 12px;
}
.pi-root .pi-empty-small h3 {
    font-size: 17px;
}
.pi-root .pi-empty-small p {
    font-size: 12px;
    color: #71829a;
}
.pi-root .pi-hero {
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 34px 0 48px !important;
    background:
        linear-gradient(270deg, #021d37 5%, #062644e8 46%, #06264455),
        url('../images/home-v3/hero.webp') left 53% / cover;
}
.pi-root .pi-hero > .ph-shell {
    position: relative;
    z-index: 2;
}
.pi-root .pi-hero h1 {
    max-width: 820px;
}
.pi-root .pi-hero strong {
    color: #ffcf48;
    font-weight: inherit;
}
.pi-root .pi-hero > .ph-shell > p:last-child {
    margin-top: 7px;
    font-size: 17px;
    color: #d3dfec;
}
.pi-root .pi-hero .pi-breadcrumb {
    color: #d5dfeb;
}
.pi-root .pi-hero-catalog {
    padding-top: 45px !important;
    padding-bottom: 86px !important;
    background-color: #041f3c;
}
.pi-root .pi-hero-catalog h1 {
    font-size: clamp(27px, 2.5vw, 36px);
    max-width: 810px;
}
.pi-root .pi-hero-catalog > .ph-shell > p:last-child {
    font-size: 20px;
}
.pi-root .pi-cta {
    margin-top: 22px;
    margin-bottom: 28px;
    padding: 27px 30px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
    border-radius: 17px;
    background:
        linear-gradient(90deg, #06233dcd, #041e38f5),
        url('../images/home-v3/hero.webp') left center / cover;
}
.pi-root .pi-cta h2 {
    font-size: 23px;
}
.pi-root .pi-cta p {
    color: #bdcde0;
    font-size: 12px;
    margin-top: 5px;
}
.pi-root .pi-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}
.pi-root .pi-actions .ph-button {
    font-size: 12px;
}
.pi-root .pi-actions .ph-outline {
    font-size: 11px;
}
.pi-root .pi-button-outline,
.pi-root .pi-button-navy {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 1px solid #18344f;
    border-radius: 8px;
    padding: 10px 20px !important;
    color: #173653;
    font-size: 13px;
    font-weight: 700;
}
.pi-root .pi-button-navy {
    color: #fff;
    background: #092840;
}
.pi-root .pi-button-outline:hover {
    background: #eaf1f9;
}
.pi-root .pi-button-outline svg {
    width: 20px;
    height: 20px;
}
.pi-root .pi-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    height: 100%;
    color: #9db0c6;
    background: linear-gradient(140deg, #edf2f8, #dfe7f0);
}
.pi-root .pi-image-fallback svg {
    width: 92px;
    height: 92px;
}

/* Forms and catalog filters. */
.pi-root .pi-form label {
    display: block;
    font-size: 13px;
    color: #233a57;
    margin-bottom: 16px;
    font-weight: 700;
}
.pi-root .pi-form :is(input:not([type='checkbox']):not([type='radio']), textarea),
.pi-root .pi-filters :is(input, select),
.pi-root .pi-video-filters :is(input, select) {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px !important;
    color: #1d3550;
    background: #fbfcfe;
    border: 1px solid #cbd5e3;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 400;
}
.pi-root .pi-form label > :is(input, textarea) {
    margin-top: 6px;
}
.pi-root .pi-form textarea {
    resize: vertical;
    min-height: 110px;
}
.pi-root .pi-form :is(input, textarea):focus,
.pi-root .pi-filters :is(input, select):focus {
    border-color: #b49a51;
    box-shadow: 0 0 0 3px #ffcb3d18;
}
.pi-root .pi-form .ph-button {
    width: 100%;
}
.pi-root .pi-form small {
    color: #7b889a;
    display: block;
    font-size: 10px;
    line-height: 1.9;
    margin-top: 13px;
}
.pi-root .pi-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
}
.pi-root .pi-form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.pi-root .pi-form-bottom .ph-button {
    width: auto;
    min-width: 145px;
}
.pi-root .pi-form-bottom small {
    margin: 0;
}
.pi-root .pi-required,
.pi-root .errorlist {
    color: #b62934;
}
.pi-root .errorlist {
    font-size: 11px;
    margin: 7px 0 0;
    padding-right: 16px !important;
    list-style: disc;
    line-height: 1.9;
}
.pi-root .pi-form-error {
    padding: 12px 15px !important;
    border: 1px solid #efc8cb;
    border-radius: 9px;
    background: #fff5f5;
    margin-bottom: 18px;
}
.pi-root .pi-form-status {
    font-size: 12px !important;
    margin-top: 12px;
}
.pi-root .pi-form-status:empty {
    display: none;
}
.pi-root .pi-form-status a {
    text-decoration: underline;
    color: #163e65;
}
.pi-root .pi-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.pi-root .pi-messages {
    padding-top: 18px !important;
}
.pi-root .pi-notice {
    padding: 13px 18px !important;
    background: #edf7ef;
    color: #23663a;
    border: 1px solid #c7e2cb;
    border-radius: 10px;
    font-size: 13px;
}
.pi-root .pi-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.7fr auto;
    gap: 15px;
    padding: 22px !important;
    position: relative;
}
.pi-root .pi-filters label {
    margin: 0;
}
.pi-root .pi-filter-raised {
    margin-top: -42px;
    z-index: 3;
}
.pi-root .pi-filters .ph-button {
    min-width: 110px;
}
.pi-root .pi-filter-secondary {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #edf0f5;
    padding-top: 12px !important;
    color: #74839b;
    font-size: 11px;
}
.pi-root .pi-filter-secondary select {
    width: auto;
    min-height: 32px;
    font-size: 11px;
    padding: 3px 10px !important;
    border-color: #e4e9f2;
}
.pi-root .pi-filter-secondary > a {
    margin-right: auto;
}
.pi-root .pi-car-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}
.pi-root .pi-car-card {
    min-width: 0;
    overflow: hidden;
    border: 2px solid transparent;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.pi-root .pi-car-card:hover,
.pi-root .pi-car-card:focus-within {
    border-color: #ffd05a;
    box-shadow: 0 9px 24px #14355712;
}
.pi-root .pi-car-image {
    position: relative;
    display: block;
    margin: 6px 6px 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1.9;
    background: #edf0f4;
}
.pi-root .pi-car-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pi-root .pi-car-image .pi-pill {
    position: absolute;
    top: 13px;
    right: 13px;
    background: #ffffffed;
}
.pi-root .pi-car-content {
    padding: 17px 22px 20px !important;
}
.pi-root .pi-car-name {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}
.pi-root .pi-car-name h3 {
    font-size: 22px;
}
.pi-root .pi-car-name > span {
    font-size: 12px;
    color: #7f8a9c;
    border-right: 1px solid #d2dbe7;
    padding-right: 14px !important;
}
.pi-root .pi-car-facts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    color: #3c4b63;
    font-size: 11px;
}
.pi-root .pi-car-facts > span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}
.pi-root .pi-car-facts svg {
    width: 22px;
    height: 22px;
}
.pi-root .pi-car-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    border-top: 1px solid #e4e9f1;
    padding-top: 17px !important;
}
.pi-root .pi-car-bottom > div {
    min-width: 0;
}
.pi-root .pi-car-bottom small {
    display: block;
    font-size: 11px;
    margin-bottom: 2px;
    color: #52617b;
}
.pi-root .pi-car-bottom strong {
    font-size: 14px;
    display: block;
    line-height: 1.9;
}
.pi-root .pi-car-bottom .ph-button {
    min-width: 140px;
    min-height: 40px;
    font-size: 12px;
    padding: 7px 13px !important;
}
.pi-root .pi-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
}
.pi-root .pi-pagination > :is(a, span) {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #dbe3ed;
    border-radius: 8px;
    font-size: 13px;
    padding-inline: 12px !important;
}
.pi-root .pi-pagination [aria-current='page'] {
    background: #092743;
    color: #fff;
    border-color: #092743;
}
.pi-root .pi-pagination a:hover {
    background: #ffcf4e;
    border-color: #ffcf4e;
}
.pi-root .pi-pagination .pi-pagination-gap {
    background: transparent;
    border: 0;
    padding: 0 !important;
    min-width: 20px;
}
.pi-root .pi-guide {
    padding: 18px 22px !important;
}
.pi-root .pi-guide summary {
    font-size: 21px;
    font-weight: 800;
    cursor: pointer;
}
.pi-root .pi-guide > div {
    padding-top: 16px !important;
}

/* Vehicle details: gallery, two-column layout and genuine installment records. */
.pi-root .pi-detail-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.pi-root .pi-detail-title h1 {
    font-size: 32px;
}
.pi-root .pi-vehicle-overview {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}
.pi-root .pi-navy-card {
    color: #fff;
    background: linear-gradient(140deg, #0a3458, #031c34);
    border: 1px solid #244966;
    border-radius: 16px;
}
.pi-root .pi-vehicle-summary {
    padding: 24px 21px !important;
    text-align: center;
}
.pi-root .pi-vehicle-summary > h2 {
    font-size: 28px;
    margin: 0 0 7px;
}
.pi-root .pi-vehicle-summary > p {
    color: #c3d2e2;
    font-size: 12px;
}
.pi-root .pi-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 22px 0;
}
.pi-root .pi-spec-grid > div {
    padding: 15px 8px !important;
    border: 1px solid #56738c60;
    border-radius: 11px;
}
.pi-root .pi-spec-grid svg {
    color: #c5d5e8;
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}
.pi-root .pi-spec-grid dt {
    font-size: 11px;
    font-weight: 400;
    color: #c1cede;
    margin-bottom: 3px;
}
.pi-root .pi-spec-grid dd {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}
.pi-root .pi-vehicle-summary > a + a {
    margin-top: 12px;
}
.pi-root .pi-vehicle-summary .ph-button {
    font-size: 13px;
}
.pi-root .pi-gallery {
    min-width: 0;
}
.pi-root .pi-gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #e4e7ed, #f4f5f7);
    aspect-ratio: 1.6;
}
.pi-root .pi-gallery-main > a {
    display: block;
    height: 100%;
}
.pi-root .pi-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pi-root .pi-gallery-arrow {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    border: 1px solid #d8e1e9;
    background: #fffffff2;
    color: #254c6e;
    position: absolute;
    top: calc(50% - 20px);
    font-size: 29px;
    line-height: 1;
    box-shadow: 0 3px 12px #08203920;
}
.pi-root .pi-gallery-previous {
    right: 14px;
}
.pi-root .pi-gallery-next {
    left: 14px;
}
.pi-root .pi-gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 5px !important;
}
.pi-root .pi-gallery-thumbnails button {
    flex: 0 0 calc((100% - 36px) / 4);
    padding: 0 !important;
    background: #edf0f5;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
}
.pi-root .pi-gallery-thumbnails button[aria-pressed='true'] {
    border-color: #ffca3a;
    box-shadow: 0 0 0 2px #ffca3a20;
}
.pi-root .pi-gallery-thumbnails img {
    width: 100%;
    height: 85px;
    object-fit: contain;
}
.pi-root .pi-gallery-status {
    font-size: 10px !important;
    color: #8794a7;
    margin-top: 4px;
}
.pi-root .pi-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 26px;
    margin-top: 32px;
    direction: ltr;
}
.pi-root .pi-detail-grid > * {
    direction: rtl;
    min-width: 0;
}
.pi-root .pi-anchor-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #d9e1ed;
    margin-bottom: 23px;
}
.pi-root .pi-anchor-nav a {
    padding: 9px 8px 12px !important;
    color: #74829a;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.pi-root .pi-anchor-nav a:first-child,
.pi-root .pi-anchor-nav a:hover {
    border-color: #ffcf48;
    color: #132f4c;
}
.pi-root .pi-table-scroll {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #e4e8ee;
    border-radius: 11px;
    margin-top: 17px;
    scrollbar-width: thin;
}
.pi-root .pi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.pi-root .pi-table :is(td, th) {
    padding: 13px 10px !important;
    line-height: 2;
    border-bottom: 1px solid #e2e7ef;
    text-align: center;
}
.pi-root .pi-table th {
    background: #ffebaf;
    color: #24374f;
    white-space: nowrap;
    font-size: 11px;
}
.pi-root .pi-table td {
    min-width: 80px;
}
.pi-root .pi-table td:nth-child(n + 3):nth-child(-n + 5) {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.pi-root .pi-table tbody tr:nth-child(2n) {
    background: #f2f5f9;
}
.pi-root .pi-table tbody tr:last-child td {
    border-bottom: 0;
}
.pi-root .pi-offer-note {
    text-align: right !important;
    font-size: 11px;
    color: #60718b;
}
.pi-root .pi-table-heading {
    margin-top: 20px;
    font-size: 14px;
}
.pi-root .pi-spec-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.pi-root .pi-spec-row > div {
    border: 1px solid #e0e6ef;
    border-radius: 10px;
    background: #f8faff;
    padding: 14px 7px !important;
    text-align: center;
}
.pi-root .pi-spec-row dt {
    color: #61738d;
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 7px;
}
.pi-root .pi-spec-row dd {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}
.pi-root .pi-detail-sidebar > section {
    margin-bottom: 22px;
}
.pi-root .pi-detail-sidebar h2 {
    font-size: 20px;
}
.pi-root .pi-phone-card {
    text-align: center;
    padding: 25px 20px !important;
}
.pi-root .pi-phone-card > svg {
    border: 1px solid #8ba2bb;
    padding: 9px !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin-bottom: 13px;
}
.pi-root .pi-phone-card p {
    font-size: 11px;
    color: #bdcde1;
    margin: 10px 0;
}
.pi-root .pi-phone-card > a {
    display: inline-block;
    color: #ffcf4b;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.pi-root .pi-comments {
    margin-top: 20px;
}
.pi-root .pi-comments .pi-section-title {
    margin-top: 0;
}
.pi-root .pi-comment {
    border-bottom: 1px solid #e5eaf1;
    padding: 17px 0 !important;
}
.pi-root .pi-comment > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.pi-root .pi-comment strong {
    font-size: 14px;
}
.pi-root .pi-comment time {
    color: #8291a5;
    font-size: 10px;
}
.pi-root .pi-comment p {
    margin-top: 8px;
    font-size: 13px;
    color: #52647d;
}
.pi-root .pi-admin-reply {
    background: #eef4fc;
    border-radius: 9px;
    padding: 12px 16px !important;
    margin-top: 14px;
}
.pi-root .pi-comment-form {
    padding-top: 22px !important;
}
.pi-root .pi-comment-form h3 {
    margin-bottom: 16px;
}

/* Magazine and article typography. Editor-created HTML is never replaced. */
.pi-root .pi-category-grid {
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 35px;
}
.pi-root .pi-category-grid > a {
    grid-column: span 4;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    background: #fff;
    padding: 16px 9px !important;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 3px 12px #14324c04;
    font-size: 13px;
    font-weight: 700;
}
.pi-root .pi-category-grid > a:nth-child(-n + 4) {
    grid-column: span 5;
}
.pi-root .pi-category-grid > a[aria-current='page'] {
    background: #082a49;
    color: #ffcf47;
    border-color: #082a49;
}
.pi-root .pi-category-grid svg {
    width: 28px;
    height: 28px;
}
.pi-root .pi-editorial-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
    margin-bottom: 32px;
}
.pi-root .pi-editorial-card {
    border: 1px solid #e1e7ef;
    border-radius: 15px;
    box-shadow: 0 7px 22px #0e2d4908;
    overflow: hidden;
    min-width: 0;
    background: #fff;
}
.pi-root .pi-editorial-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.pi-root .pi-editorial-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.pi-root .pi-editorial-card > a > div {
    padding: 13px 17px !important;
}
.pi-root .pi-editorial-card h2 {
    font-size: 18px;
}
.pi-root .pi-editorial-arrow {
    color: #ffc72f;
    display: block;
    font-size: 28px;
    margin-top: 7px;
}
.pi-root .pi-editorial-card:not(.pi-editorial-main) .pi-pill {
    display: none;
}
.pi-root .pi-editorial-main {
    grid-row: span 2;
    min-height: 490px;
}
.pi-root .pi-editorial-main img,
.pi-root .pi-editorial-main .pi-image-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.pi-root .pi-editorial-main > a > div {
    margin-top: auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(0deg, #031d35f5, #031d3500);
    padding: 80px 27px 23px !important;
    color: #fff;
}
.pi-root .pi-editorial-main h2 {
    font-size: 30px;
    margin-top: 10px;
}
.pi-root .pi-editorial-grid:has(> article:only-child) {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}
.pi-root .pi-editorial-grid:has(> article:last-child:nth-child(2)) {
    grid-template-rows: auto;
}
.pi-root .pi-editorial-grid:has(> article:last-child:nth-child(2)) .pi-editorial-main {
    grid-row: auto;
}
.pi-root .pi-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}
.pi-root .pi-article-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pi-root .pi-article-image {
    position: relative;
    display: block;
    aspect-ratio: 1.6;
    background: #e7edf4;
}
.pi-root .pi-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pi-root .pi-article-image .pi-pill {
    position: absolute;
    bottom: 11px;
    right: 12px;
    font-size: 10px;
}
.pi-root .pi-article-content {
    padding: 16px 17px 18px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pi-root .pi-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: #62738c;
    font-size: 10px;
}
.pi-root .pi-article-meta > :is(span, time) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pi-root .pi-article-meta svg {
    width: 16px;
    height: 16px;
}
.pi-root .pi-article-content h3 {
    font-size: 18px;
    margin-top: 12px;
}
.pi-root .pi-article-content > p {
    color: #66758d;
    font-size: 12px;
    margin: 9px 0 15px;
}
.pi-root .pi-read-more {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-top: auto;
    padding-top: 10px !important;
}
.pi-root .pi-read-more > span {
    color: #e9ae15;
    font-size: 22px;
    line-height: 1;
}
.pi-root .pi-hero-article {
    padding-top: 30px !important;
    padding-bottom: 92px !important;
}
.pi-root .pi-hero-article h1 {
    max-width: 900px;
    font-size: 35px;
    margin-top: 13px;
}
.pi-root .pi-hero-article .pi-article-meta {
    justify-content: flex-start;
    color: #cfdaea;
    margin-top: 15px;
}
.pi-root .pi-article-cover {
    margin: -58px 0 30px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 15px;
    background: #e7edf5;
}
.pi-root .pi-article-cover img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}
.pi-root .pi-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 30px;
}
.pi-root .pi-article-body,
.pi-root .pi-article-sidebar {
    min-width: 0;
}
.pi-root .pi-article-body > .pi-cta {
    width: 100%;
    max-width: none;
    margin: 30px 0 20px;
    display: block;
    padding: 24px !important;
}
.pi-root .pi-article-body > .pi-cta .pi-actions {
    margin-top: 16px;
}
.pi-root .pi-article-body > .pi-cta h2 {
    font-size: 20px;
}
.pi-root .pi-summary {
    padding: 18px 22px !important;
    border: 1px solid #f2d889;
    background: #fff6dc;
    border-radius: 12px;
    margin-bottom: 25px;
}
.pi-root .pi-summary h2 {
    font-size: 17px;
    margin-bottom: 8px;
}
.pi-root .pi-summary p {
    font-size: 13px;
}
.pi-root .pi-richtext {
    color: #2d3a4d;
    line-height: 2.15;
    font-size: 14px;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.pi-root .pi-richtext :is(h1, h2, h3, h4) {
    color: #0b2747;
    margin: 28px 0 14px;
    line-height: 1.8;
}
.pi-root .pi-richtext h1,
.pi-root .pi-richtext h2 {
    font-size: 25px;
}
.pi-root .pi-richtext h3 {
    font-size: 21px;
}
.pi-root .pi-richtext p {
    margin: 0 0 17px;
    font-size: 14px;
    line-height: 2.15;
}
.pi-root .pi-richtext ul {
    list-style: disc outside;
    padding-inline-start: 1.6em;
    margin: 12px 0 20px;
}
.pi-root .pi-richtext ol {
    list-style: decimal outside;
    padding-inline-start: 1.8em;
    margin: 12px 0 20px;
}
.pi-root .pi-richtext li {
    display: list-item;
    margin: 6px 0;
    padding-right: 3px !important;
}
.pi-root .pi-richtext li > :is(ul, ol) {
    margin-top: 7px;
    margin-bottom: 10px;
}
.pi-root .pi-richtext a {
    color: #15547e;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.pi-root .pi-richtext :is(img, video) {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.pi-root .pi-richtext iframe {
    max-width: 100%;
    width: 100%;
    border: 0;
    aspect-ratio: 16/9;
}
.pi-root .pi-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 12px;
}
.pi-root .pi-richtext :is(th, td) {
    border: 1px solid #dce4ee;
    padding: 12px !important;
    min-width: 95px;
    vertical-align: top;
}
.pi-root .pi-richtext th {
    background: #e7edf6;
    font-weight: 800;
}
.pi-root .pi-richtext tr:nth-child(2n) td {
    background: #f0f4f9;
}
.pi-root .pi-richtext pre {
    max-width: 100%;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    padding: 15px !important;
    border-radius: 9px;
    background: #edf3f9;
}
.pi-root .pi-richtext blockquote {
    border-right: 4px solid #ffcb3c;
    background: #f0f5fb;
    padding: 16px 22px !important;
    margin: 20px 0;
    border-radius: 9px 0 0 9px;
}
.pi-root .pi-toc {
    padding: 17px !important;
    margin-bottom: 22px;
    position: sticky;
    top: 18px;
}
.pi-root .pi-toc[hidden] {
    display: none;
}
.pi-root .pi-toc summary {
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}
.pi-root .pi-toc ol {
    list-style: none;
    padding: 12px 0 0 !important;
    margin: 0;
}
.pi-root .pi-toc li + li {
    border-top: 1px solid #e6ecf4;
}
.pi-root .pi-toc a {
    display: block;
    font-size: 12px;
    padding: 9px 2px !important;
    color: #506883;
}
.pi-root .pi-toc a[aria-current='location'] {
    color: #102e4d;
    border-right: 3px solid #ffca3e;
    padding-right: 9px !important;
    font-weight: 700;
}
.pi-root .pi-toc .pi-toc-sub a {
    font-size: 11px;
    padding-right: 12px !important;
}
.pi-root .pi-sidebar-promo {
    padding: 24px 20px !important;
    margin-bottom: 23px;
}
.pi-root .pi-sidebar-promo h2 {
    font-size: 24px;
}
.pi-root .pi-sidebar-promo strong {
    color: #ffcb3e;
}
.pi-root .pi-sidebar-promo p {
    color: #c4d3e4;
    font-size: 12px;
    margin-top: 12px;
}
.pi-root .pi-sidebar-promo .ph-button {
    font-size: 11px;
    margin-top: 23px;
}
.pi-root .pi-recent-posts {
    padding: 18px !important;
}
.pi-root .pi-recent-posts h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.pi-root .pi-recent-posts > a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 0 !important;
    border-top: 1px solid #e4eaf2;
    font-size: 12px;
    line-height: 1.8;
}
.pi-root .pi-recent-posts img {
    width: 74px;
    height: 62px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
}
.pi-root .pi-recent-posts small {
    display: block;
    color: #8592a6;
    font-size: 10px;
    margin-top: 5px;
}
.pi-root .pi-share {
    border: 1px solid #d8e2ef;
    border-radius: 9px;
    background: #edf4fc;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 13px 20px !important;
    font-size: 12px;
    margin: 25px 0 15px;
}
.pi-root .pi-share > a,
.pi-root .pi-share button {
    background: #fff;
    border: 1px solid #d3deec;
    border-radius: 7px;
    color: #214b70;
    font-size: 11px;
    padding: 5px 11px !important;
}
.pi-root .pi-share [data-copy-status] {
    font-size: 10px;
    color: #53718e;
}

/* Videos: same posters, links and files as the database. */
.pi-root .pi-hero-customers {
    background: linear-gradient(270deg, #041f39 15%, #072848 100%);
}
.pi-root .pi-hero-database-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    mask-image: linear-gradient(90deg, #000, #000 40%, transparent);
}
.pi-root .pi-video-feature {
    display: grid;
    grid-template-columns: 0.85fr 1.6fr;
    gap: 36px;
    align-items: center;
    padding: 10px 0 30px !important;
}
.pi-root .pi-video-feature h2 {
    font-size: 28px;
}
.pi-root .pi-video-feature p {
    color: #687d97;
    font-size: 14px;
    margin: 15px 0 22px;
}
.pi-root .pi-feature-cover,
.pi-root .pi-video-image {
    position: relative;
    display: block;
    background: #e5ecf4;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 14px;
}
.pi-root .pi-feature-cover img,
.pi-root .pi-video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pi-root .pi-video-play {
    position: absolute;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    color: #092b4a;
    background: #fff;
    border: 4px solid #ffcd43;
    border-radius: 50%;
    box-shadow: 0 3px 15px #001b3420;
}
.pi-root .pi-video-play svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    stroke: none;
}
.pi-root .pi-feature-cover .pi-video-play {
    background: #ffcc40;
    border-color: #ffcc40;
    width: 74px;
    height: 74px;
    left: calc(50% - 37px);
    top: calc(50% - 37px);
}
.pi-root .pi-feature-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e1e7f0;
    padding-top: 20px !important;
    margin-top: 22px;
}
.pi-root .pi-feature-labels > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
}
.pi-root .pi-feature-labels > span + span {
    border-right: 1px solid #e1e7f0;
}
.pi-root .pi-feature-labels svg {
    width: 29px;
    height: 29px;
}
.pi-root .pi-video-filters {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 25px;
    padding: 15px !important;
    border-radius: 12px;
    background: #edf3fa;
    flex-wrap: wrap;
}
.pi-root .pi-video-filters label:first-child {
    flex: 1;
}
.pi-root .pi-video-filters label {
    margin: 0;
    min-width: 150px;
}
.pi-root .pi-video-filters > a {
    font-size: 11px;
    color: #56708b;
}
.pi-root .pi-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}
.pi-root .pi-video-card {
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.pi-root .pi-video-card:hover,
.pi-root .pi-video-card:focus-within {
    border-color: #ffcf4b;
}
.pi-root .pi-video-image {
    border-radius: 12px 12px 0 0;
}
.pi-root .pi-video-content {
    padding: 17px 20px 19px !important;
}
.pi-root .pi-video-content h3 {
    font-size: 19px;
}
.pi-root .pi-video-content > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-top: 9px;
}
.pi-root .pi-video-content p {
    color: #7d8ba0;
    font-size: 11px;
}
.pi-root .pi-video-content > div > a {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.pi-root .pi-player {
    overflow: hidden;
    padding: 10px !important;
    margin-top: 22px;
}
.pi-root .pi-player :is(video, iframe) {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    border: 0;
    border-radius: 10px;
    background: #051f37;
}
.pi-root .pi-player img {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border-radius: 10px;
}
.pi-root .pi-player .ph-button {
    margin: 17px;
    display: inline-flex;
}
.pi-root .pi-player-caption {
    padding: 16px 10px 10px !important;
    justify-content: flex-start;
}
.pi-root .pi-page-title {
    margin-bottom: 18px;
}

/* Company and contact pages. Existing company text and image files are retained. */
.pi-root .pi-hero-about {
    min-height: 280px;
}
.pi-root .pi-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.pi-root .pi-hero-about::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, #031e39, #031e39cc 50%, #031e3900);
}
.pi-root .pi-about-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 45px;
    align-items: center;
}
.pi-root .pi-about-text > h2 {
    font-size: 31px;
    margin-bottom: 15px;
}
.pi-root .pi-about-text .pi-richtext p {
    font-size: 13px;
}
.pi-root .pi-about-collage {
    position: relative;
    padding: 0 15px 60px 45px !important;
}
.pi-root .pi-about-image-primary {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 17px;
    box-shadow: 0 10px 25px #11385812;
}
.pi-root .pi-about-image-secondary {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 66%;
    height: 180px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 15px;
    box-shadow: 0 8px 22px #11385818;
}
.pi-root .pi-value-strip {
    padding: 25px 0 !important;
    background: #06243e;
    color: #fff;
}
.pi-root .pi-value-strip > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pi-root .pi-value-strip > div > div {
    padding: 2px 20px !important;
    text-align: center;
}
.pi-root .pi-value-strip > div > div + div {
    border-right: 1px solid #ffffff38;
}
.pi-root .pi-value-strip svg {
    width: 39px;
    height: 39px;
    color: #ffcf4a;
    margin-bottom: 8px;
}
.pi-root .pi-value-strip h2 {
    font-size: 16px;
}
.pi-root .pi-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.pi-root .pi-services-grid article {
    padding: 22px 18px !important;
    text-align: center;
}
.pi-root .pi-services-grid article > span {
    display: grid;
    place-items: center;
    width: 61px;
    height: 61px;
    background: #ffedba;
    border-radius: 50%;
    margin: 0 auto 12px;
}
.pi-root .pi-services-grid svg {
    width: 35px;
    height: 35px;
}
.pi-root .pi-services-grid h3 {
    font-size: 19px;
}
.pi-root .pi-services-grid p {
    color: #63738b;
    font-size: 12px;
    margin-top: 8px;
}
.pi-root .pi-about-approach {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 45px;
    align-items: center;
}
.pi-root .pi-about-approach > img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    border-radius: 16px;
}
.pi-root .pi-about-approach p {
    font-size: 13px;
    margin-top: 12px;
}
.pi-root .pi-check-list {
    list-style: none;
    padding: 0 !important;
    margin: 18px 0 0;
}
.pi-root .pi-check-list li {
    position: relative;
    padding-right: 28px !important;
    margin-bottom: 10px;
    font-size: 13px;
}
.pi-root .pi-check-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    background: #ffcf4b;
    color: #12344e;
}
.pi-root .pi-quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.pi-root .pi-quotes-grid blockquote {
    padding: 22px !important;
    margin: 0;
}
.pi-root .pi-quotes-grid blockquote > span {
    float: left;
    font-family: Georgia, serif;
    font-size: 45px;
    line-height: 1;
    color: #ffca3a;
}
.pi-root .pi-quotes-grid strong {
    display: block;
    font-size: 16px;
}
.pi-root .pi-quotes-grid small {
    display: block;
    color: #8190a4;
    font-size: 10px;
    margin: 4px 0 12px;
}
.pi-root .pi-quotes-grid p {
    font-size: 13px;
}
.pi-root .pi-about-reviews {
    text-align: center;
}
.pi-root .pi-about-reviews p {
    color: #75859a;
    margin: 8px 0 18px;
}
.pi-root .pi-contact-heading {
    text-align: center;
    margin: 10px 0 34px;
}
.pi-root .pi-contact-heading h1 {
    position: relative;
    padding-bottom: 17px !important;
    margin-bottom: 12px;
    font-size: 34px;
}
.pi-root .pi-contact-heading h1::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    bottom: 0;
    left: calc(50% - 24px);
    background: #ffcd41;
}
.pi-root .pi-contact-heading p {
    color: #75849a;
    font-size: 13px;
}
.pi-root .pi-contact-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 45px;
    align-items: start;
}
.pi-root .pi-contact-info > h2 {
    font-size: 27px;
    margin-bottom: 15px;
}
.pi-root .pi-contact-info dl {
    margin-bottom: 20px;
}
.pi-root .pi-contact-info dl > div {
    position: relative;
    border-bottom: 1px solid #d6dfeb;
    padding: 15px 43px 16px 0 !important;
}
.pi-root .pi-contact-info dl > div > svg {
    position: absolute;
    right: 0;
    top: 18px;
    width: 28px;
    height: 28px;
}
.pi-root .pi-contact-info dt {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}
.pi-root .pi-contact-info dd {
    font-size: 13px;
    margin: 0;
    line-height: 1.9;
}
.pi-root .pi-contact-info dd strong {
    color: #bd8711;
}
.pi-root .pi-social-links {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 43px !important;
    font-size: 12px;
}
.pi-root .pi-social-links svg {
    width: 25px;
    height: 25px;
}
.pi-root .pi-contact-form-panel {
    padding: 29px !important;
    background: linear-gradient(135deg, #f1f4f9, #f7f9fc);
    box-shadow: none;
}
.pi-root .pi-contact-form-panel h2 {
    margin-bottom: 23px;
    font-size: 26px;
}
.pi-root .pi-contact-map {
    position: relative;
    min-height: 255px;
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    background: #e5edf5;
    border: 1px solid #dce4ed;
}
.pi-root .pi-contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.pi-root .pi-map-address {
    position: relative;
    display: inline-block;
    width: 275px;
    padding: 18px !important;
    margin: 25px;
    background: #fffffff7;
    box-shadow: 0 8px 25px #14334b20;
}
.pi-root .pi-map-address h2 {
    font-size: 20px;
}
.pi-root .pi-map-address p {
    font-size: 12px;
    margin: 6px 0 15px;
}
.pi-root .pi-map-address a {
    display: flex;
    padding: 8px 15px !important;
    font-size: 12px;
}
.pi-root .pi-faq-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.pi-root .pi-faq-list {
    padding: 12px 24px !important;
}
.pi-root .pi-faq-list details + details {
    border-top: 1px solid #e1e7f0;
}
.pi-root .pi-faq-list summary {
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 18px 0 !important;
    line-height: 1.9;
}
.pi-root .pi-faq-list details > div {
    padding: 0 0 16px !important;
    font-size: 13px;
    color: #61738c;
}
.pi-root .pi-faq-page aside h2 {
    font-size: 22px;
}
.pi-root .pi-faq-page aside p {
    color: #c3d2e4;
    font-size: 12px;
    margin: 10px 0 20px;
}

/* Tablet. */
@media (max-width: 1000px) {
    .pi-root .pi-filters {
        grid-template-columns: repeat(3, 1fr);
    }
    .pi-root .pi-filter-search {
        grid-column: span 2;
    }
    .pi-root .pi-vehicle-overview {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 20px;
    }
    .pi-root .pi-vehicle-summary {
        padding: 19px 16px !important;
    }
    .pi-root .pi-vehicle-summary > h2 {
        font-size: 24px;
    }
    .pi-root .pi-detail-grid {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 20px;
    }
    .pi-root .pi-panel {
        padding: 19px !important;
    }
    .pi-root .pi-panel > h2 {
        font-size: 21px;
    }
    .pi-root .pi-car-name h3 {
        font-size: 19px;
    }
    .pi-root .pi-car-content {
        padding: 15px 17px !important;
    }
    .pi-root .pi-car-bottom {
        gap: 10px;
    }
    .pi-root .pi-car-bottom .ph-button {
        min-width: 120px;
    }
    .pi-root .pi-car-bottom strong {
        font-size: 12px;
    }
    .pi-root .pi-spec-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .pi-root .pi-article-layout {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 23px;
    }
    .pi-root .pi-article-grid {
        gap: 16px;
    }
    .pi-root .pi-article-content h3 {
        font-size: 16px;
    }
    .pi-root .pi-article-meta {
        gap: 8px;
    }
    .pi-root .pi-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    .pi-root .pi-category-grid > a,
    .pi-root .pi-category-grid > a:nth-child(-n + 4) {
        grid-column: auto;
    }
    .pi-root .pi-editorial-main {
        min-height: 460px;
    }
    .pi-root .pi-editorial-main h2 {
        font-size: 25px;
    }
    .pi-root .pi-editorial-card h2 {
        font-size: 17px;
    }
    .pi-root .pi-services-grid {
        gap: 15px;
    }
    .pi-root .pi-services-grid h3 {
        font-size: 16px;
    }
    .pi-root .pi-services-grid article {
        padding: 18px 12px !important;
    }
    .pi-root .pi-about-intro {
        gap: 25px;
    }
    .pi-root .pi-about-text > h2 {
        font-size: 28px;
    }
    .pi-root .pi-contact-grid {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 24px;
    }
    .pi-root .pi-contact-form-panel {
        padding: 22px !important;
    }
    .pi-root .pi-contact-form-panel h2 {
        font-size: 23px;
    }
    .pi-root .pi-form-grid {
        gap: 0 16px;
    }
    .pi-root .pi-cta {
        gap: 20px;
        padding: 25px !important;
    }
    .pi-root .pi-cta h2 {
        font-size: 21px;
    }
    .pi-root .pi-cta .pi-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Small tablet. */
@media (max-width: 800px) {
    .pi-root .pi-detail-grid {
        grid-template-columns: 1fr;
    }
    .pi-root .pi-detail-sidebar {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 20px;
        align-items: start;
    }
    .pi-root .pi-article-layout {
        display: flex;
        flex-direction: column-reverse;
    }
    .pi-root .pi-article-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        align-items: start;
    }
    .pi-root .pi-toc {
        position: static;
        margin: 0;
        grid-column: 1 / -1;
    }
    .pi-root .pi-recent-posts {
        height: 100%;
    }
    .pi-root .pi-sidebar-promo {
        margin: 0;
        height: 100%;
    }
    .pi-root .pi-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pi-root .pi-editorial-grid {
        gap: 16px;
        grid-template-columns: 1.4fr 1fr;
    }
    .pi-root .pi-editorial-main h2 {
        font-size: 22px;
    }
    .pi-root .pi-editorial-main > a > div {
        padding-inline: 20px !important;
    }
    .pi-root .pi-vehicle-overview {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 17px;
    }
    .pi-root .pi-spec-grid {
        gap: 9px;
    }
    .pi-root .pi-spec-grid > div {
        padding: 11px 7px !important;
    }
    .pi-root .pi-vehicle-summary > h2 {
        font-size: 22px;
    }
    .pi-root .pi-gallery-main {
        aspect-ratio: 1.25;
    }
    .pi-root .pi-gallery-thumbnails img {
        height: 65px;
    }
    .pi-root .pi-about-intro {
        grid-template-columns: 1fr;
    }
    .pi-root .pi-about-collage {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    .pi-root .pi-about-approach {
        gap: 25px;
    }
    .pi-root .pi-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pi-root .pi-quotes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pi-root .pi-video-feature {
        grid-template-columns: 1fr 1.3fr;
        gap: 23px;
    }
    .pi-root .pi-video-feature h2 {
        font-size: 24px;
    }
    .pi-root .pi-video-feature p {
        font-size: 12px;
    }
    .pi-root .pi-contact-grid {
        display: flex;
        flex-direction: column;
    }
    .pi-root .pi-contact-info,
    .pi-root .pi-contact-form-panel {
        width: 100%;
    }
    .pi-root .pi-contact-info dl {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 22px;
    }
    .pi-root .pi-faq-page {
        grid-template-columns: 1fr;
    }
}

/* Mobile: no fixed-width cards, no loss of form/table access. */
@media (max-width: 600px) {
    .pi-root .pi-section {
        padding-top: 23px !important;
        padding-bottom: 23px !important;
    }
    .pi-root .pi-main h1 {
        font-size: 25px;
    }
    .pi-root .pi-main h2 {
        font-size: 21px;
    }
    .pi-root .pi-main h3 {
        font-size: 17px;
    }
    .pi-root .pi-main p {
        font-size: 13px;
    }
    .pi-root .pi-hero {
        padding-top: 25px !important;
        padding-bottom: 33px !important;
    }
    .pi-root .pi-hero > .ph-shell > p:last-child {
        font-size: 13px;
    }
    .pi-root .pi-hero-catalog {
        padding-bottom: 65px !important;
    }
    .pi-root .pi-filter-raised {
        margin-top: -35px;
    }
    .pi-root .pi-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 17px !important;
        gap: 12px;
        border-radius: 13px;
    }
    .pi-root .pi-filters > label:first-child {
        grid-column: 1 / -1;
    }
    .pi-root .pi-filter-search {
        grid-column: 1 / -1;
    }
    .pi-root .pi-filters > .ph-button {
        grid-column: 1 / -1;
    }
    .pi-root .pi-filter-secondary {
        flex-wrap: wrap;
        gap: 8px;
    }
    .pi-root .pi-filter-secondary select {
        flex: 1;
        min-width: 120px;
    }
    .pi-root .pi-filter-secondary > a {
        width: 100%;
        text-align: center;
        margin-top: 3px;
    }
    .pi-root .pi-section-title {
        margin: 22px 0 17px;
        gap: 12px;
    }
    .pi-root .pi-section-title > span {
        font-size: 10px;
        white-space: nowrap;
    }
    .pi-root .pi-car-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pi-root .pi-car-name h3 {
        font-size: 21px;
    }
    .pi-root .pi-car-content {
        padding: 15px 16px 17px !important;
    }
    .pi-root .pi-car-facts {
        margin: 15px 0;
        font-size: 10px;
        gap: 9px;
    }
    .pi-root .pi-car-facts svg {
        width: 19px;
        height: 19px;
    }
    .pi-root .pi-car-bottom {
        align-items: stretch;
        gap: 12px;
    }
    .pi-root .pi-car-bottom strong {
        font-size: 11px;
    }
    .pi-root .pi-car-bottom .ph-button {
        min-width: 115px;
        font-size: 11px;
        padding: 7px 11px !important;
    }
    .pi-root .pi-pagination {
        gap: 7px;
        margin: 25px 0;
    }
    .pi-root .pi-pagination > :is(a, span) {
        min-width: 35px;
        height: 37px;
        font-size: 12px;
        padding-inline: 10px !important;
    }
    .pi-root .pi-cta {
        display: block;
        padding: 23px 19px !important;
        margin-bottom: 23px;
    }
    .pi-root .pi-cta h2 {
        font-size: 21px;
    }
    .pi-root .pi-cta p {
        font-size: 11px;
    }
    .pi-root .pi-cta .pi-actions {
        flex-direction: row;
        margin-top: 17px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .pi-root .pi-cta .ph-button {
        font-size: 11px;
        padding: 9px 13px !important;
    }
    .pi-root .pi-guide {
        padding: 16px !important;
    }
    .pi-root .pi-guide summary {
        font-size: 17px;
    }
    .pi-root .pi-detail-title {
        display: block;
    }
    .pi-root .pi-detail-title > .pi-pill {
        margin-top: 10px;
    }
    .pi-root .pi-vehicle-overview {
        display: flex;
        flex-direction: column-reverse;
        gap: 18px;
    }
    .pi-root .pi-vehicle-summary {
        padding: 22px !important;
    }
    .pi-root .pi-vehicle-summary > h2 {
        font-size: 25px;
    }
    .pi-root .pi-spec-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        margin: 18px 0;
    }
    .pi-root .pi-spec-grid svg {
        width: 24px;
        height: 24px;
    }
    .pi-root .pi-spec-grid > div {
        padding: 12px 5px !important;
    }
    .pi-root .pi-spec-grid dt {
        font-size: 9px;
    }
    .pi-root .pi-spec-grid dd {
        font-size: 10px;
    }
    .pi-root .pi-gallery-main {
        aspect-ratio: 1.5;
    }
    .pi-root .pi-gallery-thumbnails {
        gap: 8px;
        margin-top: 10px;
    }
    .pi-root .pi-gallery-thumbnails button {
        flex-basis: calc((100% - 24px) / 4);
    }
    .pi-root .pi-gallery-thumbnails img {
        height: 60px;
    }
    .pi-root .pi-gallery-arrow {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }
    .pi-root .pi-gallery-previous {
        right: 9px;
    }
    .pi-root .pi-gallery-next {
        left: 9px;
    }
    .pi-root .pi-detail-grid {
        margin-top: 20px;
        gap: 0;
    }
    .pi-root .pi-anchor-nav {
        gap: 0;
        overflow-x: auto;
        white-space: nowrap;
    }
    .pi-root .pi-anchor-nav a {
        padding-inline: 7px !important;
        font-size: 11px;
    }
    .pi-root .pi-panel {
        padding: 18px 15px !important;
        border-radius: 13px;
        margin-bottom: 17px;
    }
    .pi-root .pi-panel > h2 {
        font-size: 19px;
    }
    .pi-root .pi-table-scroll {
        margin-top: 14px;
    }
    .pi-root .pi-table :is(td, th) {
        font-size: 10px;
        padding: 11px 9px !important;
    }
    .pi-root .pi-spec-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .pi-root .pi-detail-sidebar {
        display: block;
    }
    .pi-root .pi-comments {
        margin-top: 0;
    }
    .pi-root .pi-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .pi-root .pi-form label {
        font-size: 12px;
    }
    .pi-root .pi-form-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }
    .pi-root .pi-form-bottom .ph-button {
        width: 100%;
    }
    .pi-root .pi-comment > div:first-child {
        flex-wrap: wrap;
        gap: 4px;
    }
    .pi-root .pi-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 23px;
    }
    .pi-root .pi-category-grid > a {
        font-size: 11px;
        padding: 13px 8px !important;
    }
    .pi-root .pi-category-grid svg {
        width: 24px;
        height: 24px;
    }
    .pi-root .pi-editorial-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 23px;
    }
    .pi-root .pi-editorial-main {
        min-height: 330px;
    }
    .pi-root .pi-editorial-main h2 {
        font-size: 23px;
    }
    .pi-root .pi-editorial-card:not(.pi-editorial-main) img {
        height: 170px;
    }
    .pi-root .pi-article-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .pi-root .pi-article-content {
        padding: 16px !important;
    }
    .pi-root .pi-article-content h3 {
        font-size: 19px;
    }
    .pi-root .pi-article-content > p {
        font-size: 12px;
    }
    .pi-root .pi-article-meta {
        font-size: 10px;
    }
    .pi-root .pi-hero-article {
        padding-bottom: 70px !important;
    }
    .pi-root .pi-hero-article h1 {
        font-size: 27px;
    }
    .pi-root .pi-hero-article .pi-article-meta {
        gap: 13px;
        font-size: 9px;
    }
    .pi-root .pi-article-cover {
        margin-top: -43px;
        margin-bottom: 20px;
        border-radius: 11px;
    }
    .pi-root .pi-article-layout {
        gap: 22px;
    }
    .pi-root .pi-article-sidebar {
        display: flex;
        flex-direction: column;
    }
    .pi-root .pi-article-sidebar > * {
        width: 100%;
    }
    .pi-root .pi-article-sidebar .pi-sidebar-promo {
        display: none;
    }
    .pi-root .pi-article-sidebar .pi-recent-posts {
        display: none;
    }
    .pi-root .pi-toc {
        padding: 15px 18px !important;
    }
    .pi-root .pi-toc summary {
        font-size: 17px;
    }
    .pi-root .pi-richtext,
    .pi-root .pi-richtext p {
        font-size: 13px;
    }
    .pi-root .pi-richtext :is(h1, h2) {
        font-size: 22px;
    }
    .pi-root .pi-richtext h3 {
        font-size: 19px;
    }
    .pi-root .pi-richtext :is(td, th) {
        font-size: 11px;
    }
    .pi-root .pi-summary {
        padding: 15px 18px !important;
    }
    .pi-root .pi-summary h2 {
        font-size: 17px;
    }
    .pi-root .pi-summary p {
        font-size: 12px;
    }
    .pi-root .pi-share {
        padding: 13px 15px !important;
        gap: 10px;
    }
    .pi-root .pi-video-feature {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding-bottom: 10px !important;
    }
    .pi-root .pi-video-feature > div {
        order: 2;
    }
    .pi-root .pi-video-feature h2 {
        font-size: 23px;
    }
    .pi-root .pi-video-feature p {
        margin: 10px 0 16px;
    }
    .pi-root .pi-feature-labels {
        margin-top: 18px;
        padding-top: 16px !important;
    }
    .pi-root .pi-video-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }
    .pi-root .pi-video-content h3 {
        font-size: 18px;
    }
    .pi-root .pi-video-content > div {
        gap: 10px;
    }
    .pi-root .pi-video-content > div > a {
        font-size: 10px;
    }
    .pi-root .pi-video-filters {
        padding: 13px !important;
        gap: 10px;
    }
    .pi-root .pi-video-filters label:first-child {
        flex-basis: 100%;
    }
    .pi-root .pi-video-filters label:nth-child(2) {
        flex: 1;
        min-width: 0;
    }
    .pi-root .pi-player {
        padding: 6px !important;
        border-radius: 12px;
    }
    .pi-root .pi-hero-about {
        min-height: 240px;
    }
    .pi-root .pi-about-text > h2 {
        font-size: 26px;
    }
    .pi-root .pi-about-collage {
        padding: 0 0 55px 25px !important;
    }
    .pi-root .pi-about-image-primary {
        height: 240px;
    }
    .pi-root .pi-about-image-secondary {
        height: 145px;
    }
    .pi-root .pi-value-strip {
        padding: 20px 0 !important;
    }
    .pi-root .pi-value-strip > div {
        grid-template-columns: 1fr 1fr;
        gap: 23px 10px;
    }
    .pi-root .pi-value-strip > div > div {
        padding-inline: 10px !important;
    }
    .pi-root .pi-value-strip > div > div:nth-child(2n + 1) {
        border-right: 0;
    }
    .pi-root .pi-value-strip h2 {
        font-size: 12px;
    }
    .pi-root .pi-value-strip svg {
        width: 31px;
        height: 31px;
    }
    .pi-root .pi-services-grid {
        gap: 13px;
    }
    .pi-root .pi-services-grid article {
        padding: 17px 10px !important;
        border-radius: 12px;
    }
    .pi-root .pi-services-grid article > span {
        width: 52px;
        height: 52px;
    }
    .pi-root .pi-services-grid svg {
        width: 29px;
        height: 29px;
    }
    .pi-root .pi-services-grid h3 {
        font-size: 15px;
    }
    .pi-root .pi-services-grid p {
        font-size: 11px;
    }
    .pi-root .pi-about-approach {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pi-root .pi-about-approach > img {
        height: 235px;
    }
    .pi-root .pi-quotes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pi-root .pi-contact-heading {
        margin-top: 0;
        margin-bottom: 25px;
    }
    .pi-root .pi-contact-heading h1 {
        font-size: 29px;
    }
    .pi-root .pi-contact-heading p {
        font-size: 12px;
    }
    .pi-root .pi-contact-info dl {
        display: block;
    }
    .pi-root .pi-contact-info dd {
        font-size: 13px;
    }
    .pi-root .pi-contact-form-panel {
        padding: 21px 17px !important;
    }
    .pi-root .pi-contact-form-panel h2 {
        font-size: 22px;
    }
    .pi-root .pi-contact-map {
        min-height: 355px;
    }
    .pi-root .pi-map-address {
        width: calc(100% - 32px);
        margin: 180px 16px 16px;
        padding: 16px !important;
    }
    .pi-root .pi-map-address h2 {
        font-size: 18px;
    }
    .pi-root .pi-map-address p {
        font-size: 11px;
    }
    .pi-root .pi-faq-list {
        padding: 5px 17px !important;
    }
    .pi-root .pi-faq-list summary {
        font-size: 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pi-root *,
    .pi-root *::before,
    .pi-root *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .pi-root .pi-hero-video {
        display: none;
    }
}
.pi-root .ph-nav-list > li.pi-current > a,
.pi-root .ph-nav-list > li.pi-current .ph-nav-parent > a {
    color: #ffcf4b;
}
