/* Values follow the existing equipment and news blocks (local/frontend/_vars.scss). */
.content .engines-home { margin: 5rem 0; padding: 3rem 0; background: #f2f2fa; }
.engines-heading { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 3rem; }
.content .engines-heading h2.heading { margin: 0; }
.content a.engines-all { display: flex; align-items: center; gap: .5rem; color: #5d5f60; text-decoration: none; white-space: nowrap; }
.content a.engines-all:hover { color: #004a99; }
.engines-lead { max-width: 95rem; margin: 0 0 2.5rem; font-size: 1.6rem; line-height: 1.7; }
.engines-page { padding-bottom: 3rem; min-width: 0; }
.engines-intro { margin-bottom: 3rem; }
.engines-section { margin: 4rem 0; scroll-margin-top: 10rem; }
.engines-page #engine-selection { margin-top: 0; }
.engines-page h2 { margin: 0 0 2rem; }
.engines-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.engine-card { margin: 0; overflow: hidden; background: #fff; border: .1rem solid #f2f2fa; border-radius: .5rem; box-shadow: 0 0 1.5rem rgba(0, 0, 0, .05); }
.content .engine-card__link { display: flex; flex-direction: column; height: 100%; color: #5d5f60; text-decoration: none; }
.engine-card__photo { display: block; width: 100%; height: 22rem; object-fit: cover; }
.engine-card__model { display: flex; justify-content: center; align-items: center; height: 22rem; background: #f2f2fa; font-size: 3.2rem; font-weight: 700; }
.engine-card__body { display: flex; flex: 1; flex-direction: column; padding: 2rem; }
.content .engine-card__body h3 { min-height: 2.8em; margin: 0 0 2rem; color: #5d5f60; font-size: 1.8rem; line-height: 1.4; transition: color .3s; }
.content .engine-card__link:hover h3 { color: #004a99; }
.content .engine-card__body dl { margin: 0; font-size: 1.4rem; }
.engine-card dl div, .engine-detail__key div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: .1rem solid #d9dfec; }
.engine-card dl div:last-child { border-bottom: 0; }
.engine-card dt { color: #5d5f60; }
.engine-card dd, .engine-detail__key dd { margin: 0; text-align: right; font-weight: 600; }
.engines-table-wrap { max-width: 100%; overflow-x: auto; }
.engines-table { width: 100%; border-collapse: collapse; font-size: 1.6rem; }
.engines-table th, .engines-table td { padding: 1.5rem; border-bottom: .1rem solid #d9dfec; text-align: left; line-height: 1.5; vertical-align: top; }
.engines-table thead { background: #f2f2fa; }
.content .engines-table thead a { color: #004a99; text-decoration: none; }
.content .engines-table thead a:hover { color: #2b2d2f; text-decoration: none; }
.engines-table tbody th { font-weight: 500; }
.engines-table--specs { max-width: 90rem; }
.engines-table--specs th { width: 50%; }
.engines-table--specs tr:nth-child(odd) { background: #f2f2fa; }
.engines-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.engines-terms h3 { margin: 0 0 1.5rem; font-size: 1.8rem; }
.engines-terms p, .engines-help p, .engines-faq p, .engine-detail__text p { font-size: 1.6rem; line-height: 1.75; }
.engines-help { display: flex; align-items: center; gap: 3rem; padding: 3rem; border-radius: .5rem; background: #f2f2fa; }
.engines-help > div { flex: 1; }
/* Match the live FAQ in the parts catalog (news/parts-2026/style.css). */
.content .engines-faq { box-sizing: border-box; padding: 26px; border: 1px solid #dfe3e8; border-radius: 5px; background: #fff; }
.content .engines-faq h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.content .engines-faq details { padding: 0; border-top: 1px solid #dfe3e8; }
.content .engines-faq details:first-of-type { margin-top: 18px; }
.content .engines-faq summary { display: block; position: relative; padding: 15px 24px 15px 0; color: #2b2d2f; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; line-height: 1.4; }
.content .engines-faq summary::-webkit-details-marker { display: none; }
.content .engines-faq summary::marker { content: ''; }
.content .engines-faq summary::after { content: '+'; position: absolute; top: 50%; right: 2px; color: #0055a6; font-size: 20px; font-weight: 400; transform: translateY(-50%); }
.content .engines-faq details[open] summary::after { content: '−'; }
.content .engines-faq p { max-width: 95rem; margin: -3px 24px 15px 0; color: #737679; font-size: 14px; line-height: 1.5; }
.engines-faq summary:focus-visible { outline: .2rem solid #5d5f60; outline-offset: .3rem; }
.engine-detail__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.engine-detail__photo { display: block; width: 100%; height: 38rem; object-fit: contain; background: #fff; border-radius: .5rem; }
.engine-detail__thumbs { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.engine-detail__thumbs img { width: 8rem; height: 7rem; object-fit: cover; border: .1rem solid #d9dfec; border-radius: .3rem; }
.engine-model-plate { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 38rem; gap: 1rem; padding: 2rem; background: #f2f2fa; border-radius: .5rem; }
.engine-model-plate strong { font-size: 4rem; }
.engine-detail__key { margin: 0 0 2rem; font-size: 1.6rem; }
.engine-tabs { margin-top: 4rem; }
.engine-tabs [hidden] { display: none !important; }
.engine-tabs__list { display: flex; gap: 4rem; border-bottom: .1rem solid #d9dfec; }
.content .engine-tabs__tab { position: relative; flex: 0 0 auto; min-height: 4.8rem; padding: 1.2rem .2rem; border: 0; border-radius: 0; background: transparent; color: #2b2d2f; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.engine-tabs__tab::after { position: absolute; right: 0; bottom: -.1rem; left: 0; height: .3rem; background: transparent; content: ''; }
.content .engine-tabs__tab[aria-selected="true"], .content .engine-tabs__tab:hover { color: #004a99; }
.engine-tabs__tab[aria-selected="true"]::after { background: #004a99; }
.engine-tabs__panels { padding-top: 2.5rem; }
.engine-tabs__panel { margin: 0 0 3rem; }
.engine-tabs[data-ready] .engine-tabs__panel { margin-bottom: 0; }
.engine-tabs__panel > .engines-section { margin: 0; }
.engine-tabs__panel:focus-visible, .engine-tabs__tab:focus-visible { outline: .2rem solid #5d5f60; outline-offset: .3rem; }
.engine-detail__text { max-width: 95rem; }
.engine-detail__text h2:not(:first-child) { margin-top: 3.5rem; }
.engines-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.engines-catalog-download { margin-top: 2.5rem; }
.engines-page .engine-action, .engine-kp-dialog .engine-action { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 4.8rem; padding: 1.5rem 2.5rem; border: 0; border-radius: .5rem; background: #004a99; color: #fff; font: inherit; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.engines-page .engine-action--secondary { color: #5d5f60; background: #f2f2fa; }
.engines-page .engine-action--secondary:hover { color: #fff; background: #004a99; }
.engines-help .engine-action { flex-shrink: 0; }
.engine-kp-dialog { width: min(56rem, calc(100vw - 3rem)); max-height: calc(100dvh - 4rem); overflow-y: auto; padding: 4rem; border: 0; border-radius: .5rem; color: #5d5f60; }
.engine-kp-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.engine-kp-dialog__close { position: absolute; right: 1.2rem; top: .7rem; border: 0; background: none; color: #5d5f60; font-size: 3rem; cursor: pointer; }
.engine-kp-form { display: block !important; }
.engine-kp-form .form__title { margin: 0 0 1.5rem; font-size: 2.5rem; line-height: 1.3; }
.engine-kp-form p { margin: 1.5rem 0; font-size: 1.5rem; line-height: 1.6; }
.engine-kp-form__field { display: block; margin: 1.8rem 0; font-size: 1.5rem; }
.engine-kp-form__field input { display: block; width: 100%; margin-top: .7rem; padding: 1.2rem; border: .1rem solid #d9dfec; border-radius: .5rem; font: inherit; }
.engine-kp-form .engine-action { width: 100%; margin-top: 1.5rem; }
.engine-kp-form [data-engine-error] { color: #c04b1e; }
.engine-kp-form [data-engine-success] { color: #245c31; }
.engine-kp-form [hidden] { display: none !important; }
.engine-kp-form button:disabled { opacity: .6; cursor: wait; }
.engines-page a:focus-visible, .engines-home a:focus-visible, .engines-page button:focus-visible, .engine-kp-dialog button:focus-visible { outline: .2rem solid #5d5f60; outline-offset: .3rem; }
@media (min-width: 701px) and (max-width: 1000px) {
    .content .engine-card__body h3 { min-height: 4.2em; }
}
@media (max-width: 1000px) {
    .engines-cards { gap: 1.5rem; }
    .engine-card__body { padding: 1.5rem; }
    .engines-terms { grid-template-columns: 1fr; gap: 2rem; }
    .engines-help { flex-direction: column; align-items: flex-start; }
    .engine-detail__hero { gap: 2.5rem; }
}
@media (max-width: 767.9px) {
    .content .engines-faq { padding: 18px; }
}
@media (max-width: 700px) {
    .engines-heading { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .engines-cards { grid-template-columns: 1fr; }
    .engine-card__photo { height: auto; aspect-ratio: 1.75; }
    .content .engine-card__body h3 { min-height: 0; }
    .engines-section { margin: 3rem 0; }
    .engines-help { padding: 2rem; }
    .engines-actions > .engine-action, .engines-help .engine-action { width: 100%; }
    .engines-table { font-size: 1.4rem; }
    .engines-table th, .engines-table td { padding: 1.2rem; }
    .engines-table-wrap .engines-table { min-width: 65rem; }
    .engine-detail__hero { grid-template-columns: 1fr; }
    .engine-detail__photo { height: 30rem; }
    .engine-tabs__list { flex-direction: column; gap: 0; }
    .content .engine-tabs__tab { width: 100%; padding: 1.4rem 1rem; border-left: .3rem solid transparent; }
    .content .engine-tabs__tab[aria-selected="true"] { border-left-color: #004a99; background: #f2f2fa; }
    .engine-tabs__tab::after { display: none; }
    .engine-model-plate { min-height: 26rem; }
    .engine-kp-dialog { padding: 3.5rem 2rem 2rem; }
}
