/* Give the resource sidebar room for longer text and translated labels. */
#home-equipment-categories .equipment-card-copy .powered { display: block; margin: 0 0 18px; font-size: 18px; line-height: 1.65; font-weight: 600; color: #244b74; }
#home-equipment-categories .equipment-card-copy .brand-inline { display: inline-block; max-width: 100%; font-weight: 800; }
#home-equipment-categories .equipment-card:first-child .powered { font-size: 20px; }
@media (max-width: 760px) {
    #home-equipment-categories .equipment-card-copy .powered,
    #home-equipment-categories .equipment-card:first-child .powered { font-size: 17px; line-height: 1.65; }
}
.resources-section{height:auto;padding-bottom:80px}
.resources-layout{height:auto;grid-template-columns:minmax(300px,.95fr) minmax(0,2fr);gap:28px}
.technical-card{display:block;padding:30px;align-self:start}
.technical-card h2{margin:0 0 22px;font-size:25px;line-height:1.4}
.technical-card>a{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:16px;height:auto;min-height:0;padding:22px 18px;margin:0;text-align:start}
.technical-card>a>i{display:block;width:28px;margin-top:3px;font-size:25px;line-height:28px;text-align:center}
.technical-card>a>span{min-width:0;width:100%}
.technical-card strong{margin:0;font-size:18px;font-weight:600;line-height:1.45}
.technical-card small{margin-top:8px;font-size:14px;line-height:1.7;white-space:normal;overflow-wrap:break-word;word-break:normal}
.technical-card .resource-contact-line{display:block;max-width:100%;line-height:1.7;text-align:start;unicode-bidi:isolate}
.technical-card .resource-contact-line+.resource-contact-line{margin-top:4px}
.technical-card>a:hover,.technical-card>a:focus-visible{transform:none}
@media(max-width:1080px){.resources-layout{grid-template-columns:1fr}.technical-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:28px}.technical-card h2{grid-column:1/-1;margin-bottom:8px}.technical-card>a,.technical-card>a:last-child{border:1px solid #e6e6e6}}
@media(max-width:600px){.resources-section{padding-bottom:48px}.technical-card{display:block;padding:24px 20px}.technical-card h2{font-size:23px;margin-bottom:20px}.technical-card>a{padding:20px 16px;gap:14px;border-bottom:0}.technical-card>a:last-child{border-bottom:1px solid #e6e6e6}.technical-card strong{font-size:17px}.technical-card small{font-size:14px;line-height:1.7}}

/* Keep the original edge-to-edge photo with a tint behind the copy only. */
.hero--localized-shade .hero-product-image { position: absolute; inset: 0; }
.hero--localized-shade .hero-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero--localized-shade .hero-copy { position: relative; z-index: 1; }
.hero--localized-shade .hero-shade {
    inset: 0 auto 0 -100vw;
    width: calc(100vw + 455px);
    background: rgba(3, 20, 37, .8);
    pointer-events: none;
}
.hero--localized-shade .hero-actions .button { color: #fff; }
.hero--localized-shade .hero-copy:has(.benefit-label-ru) .hero-benefits { max-width: 100%; }
.hero--localized-shade .hero-copy:has(.benefit-label-ru) h1 span { font-size: .94em; overflow-wrap: anywhere; }
.hero--localized-shade .benefit .benefit-label-ru { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }

@media (min-width: 1025px) {
    .hero--localized-shade .hero-copy:has(.benefit-label-ru) h1 { line-height: 1.05; }
    .hero--localized-shade .hero-copy:has(.benefit-label-ru) .hero-benefits { margin-top: 24px; }
    .hero--localized-shade .hero-copy:has(.benefit-label-ru) .hero-actions { margin-top: 20px; }
}

@media (max-width: 1024px) {
    .hero.hero--localized-shade { height: auto; min-height: 540px; }
    .hero--localized-shade .hero-inner { height: auto; padding-bottom: 32px; }
    .hero--localized-shade .hero-copy { width: min(100%, 540px); transform: none; }
    .hero--localized-shade h1 { font-size: clamp(32px, 7vw, 58px); line-height: 1.1; overflow-wrap: anywhere; }
    .hero--localized-shade .hero-benefits { margin-top: 24px; }
    .hero--localized-shade .hero-actions { flex-wrap: wrap; margin-top: 24px; }
    .hero--localized-shade .hero-actions .button { width: auto; gap: 10px; }
    .hero--localized-shade .hero-shade { display: block; inset: 0 -100vw; width: auto; background: rgba(3, 20, 37, .62); }
    .hero--localized-shade .hero-product-image img { object-position: right center; }
}

/* Keep the fields on each row aligned even if a translated label wraps. */
.daf-solution-form .daf-form-grid > label:not(.solution-honeypot) { display: flex !important; flex-direction: column; }
.daf-solution-form .daf-form-grid input { margin-top: auto; }
.daf-solution-form .enquiry-file-field input[type="file"] { height: auto; min-height: 47px; padding: 8px !important; }
.daf-solution-form .enquiry-file-field small { display: block; margin-top: 7px; color: #607286; font-size: 12px; line-height: 1.5; }
.daf-solution-form input[type="file"]::file-selector-button { padding: 7px 10px; margin-inline-end: 10px; border: 0; background: #eaf1fc; color: #17457a; cursor: pointer; }

.model-table th { color: #173b61; font-size: 14px; font-weight: 700; }
.model-table td { color: #2b435c; font-size: 15px; font-weight: 600; }
.model-table .model-link { color: #0759cb; font-size: 16px; font-weight: 800; }
.catalog-content > .table-hint { margin: 16px 0 20px; padding: 12px 16px; background: #edf5ff; color: #17457a; border-inline-start: 3px solid #1062fd; font-size: 15px; font-weight: 600; line-height: 1.55; }

/* Preserve equipment and layout orientation while Arabic copy reads RTL. */
html[dir="rtl"] .hero--localized-shade .hero-inner,
html[dir="rtl"] .hero--localized-shade .hero-benefits,
html[dir="rtl"] .hero--localized-shade .hero-actions,
html[dir="rtl"] .site-header .utility-inner,
html[dir="rtl"] .site-header .utility-contact,
html[dir="rtl"] .site-header .utility-social,
html[dir="rtl"] .site-header .nav-inner,
html[dir="rtl"] .site-header .primary-menu { direction: ltr; }

html[dir="rtl"] .hero--localized-shade .hero-copy { direction: rtl; text-align: right; }
html[dir="rtl"] .hero--localized-shade h1 { font-size: 76px; line-height: 1.2; letter-spacing: normal; overflow-wrap: anywhere; }
html[dir="rtl"] .hero--localized-shade .hero-subtitle { line-height: 1.6; }
html[dir="rtl"] .hero--localized-shade .hero-benefits { max-width: 100%; margin-top: 28px; }
html[dir="rtl"] .hero--localized-shade .benefit { border-right: 1px solid rgba(255,255,255,.24); }
html[dir="rtl"] .hero--localized-shade .benefit:last-child { border-right: 0; }
html[dir="rtl"] .hero--localized-shade .benefit span { direction: rtl; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
html[dir="rtl"] .hero--localized-shade .hero-actions { margin-top: 24px; }
html[dir="rtl"] .hero--localized-shade .button > span { direction: rtl; }

html[dir="rtl"] .site-header .menu-main,
html[dir="rtl"] .site-header .primary-menu > a,
html[dir="rtl"] .site-header .submenu { direction: rtl; text-align: right; }
html[dir="rtl"] .utility-contact a[href^="tel:"],
html[dir="rtl"] .utility-contact a[href^="mailto:"],
html[dir="rtl"] .footer-links a[href^="tel:"],
html[dir="rtl"] .footer-links a[href^="mailto:"],
html[dir="rtl"] .daf-solution-form input[type="tel"],
html[dir="rtl"] .daf-solution-form input[type="email"],
html[dir="rtl"] .model-table,
html[dir="rtl"] .model-table-wrap,
html[dir="rtl"] .catalog-specs dd,
html[dir="rtl"] .powered,
html[dir="rtl"] .partner-track { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .model-table th { direction: rtl; text-align: right; }
html[dir="rtl"] .model-table td { text-align: left; }
html[dir="rtl"] .technical-card,
html[dir="rtl"] .content-card-copy,
html[dir="rtl"] .story-detail-copy,
html[dir="rtl"] .case-detail-copy { text-align: right; }
html[dir="rtl"] .home-equipment-layout,
html[dir="rtl"] .equipment-cards,
html[dir="rtl"] .resources-layout,
html[dir="rtl"] .information-card,
html[dir="rtl"] .engineer-grid { direction: ltr; }
html[dir="rtl"] .home-generator-finder,
html[dir="rtl"] .equipment-card,
html[dir="rtl"] .resources-layout > *,
html[dir="rtl"] .information-card > *,
html[dir="rtl"] .engineer-grid > * { direction: rtl; text-align: right; }
html[dir="rtl"] .equipment-description { unicode-bidi: plaintext; }

@media (max-width: 1280px) {
    html[dir="rtl"] .hero--localized-shade h1 { font-size: 65px; }
}
@media (max-width: 1024px) {
    html[dir="rtl"] .hero--localized-shade h1 { font-size: clamp(36px, 7vw, 58px); }
    html[dir="rtl"] .hero--localized-shade .hero-copy { max-width: 540px; }
    html[dir="rtl"] .hero--localized-shade .benefit:nth-child(2) { border-right: 0; }
}

