.re-hero { position: relative; isolation: isolate; background: #071214; }
.re-hero > img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: min(100%, 1800px); height: 100%; object-fit: cover; object-position: 80% 40%; }
.re-hero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, #020c10b8, #020c1096 33%, #020c100a 78%), linear-gradient(0deg, #071214, transparent 28%); }
.re-hero-inner { display: flex; flex-direction: column; justify-content: flex-start; min-height: 490px; padding: 52px 0 38px; }
.re-eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; color: #cbd8dc; font-size: 13px; }
.re-eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--rh-red); }
.re-hero h1 { max-width: 650px; margin: 0 0 24px; color: #fff; font-size: 46px; font-weight: 700; line-height: 1.08; }
.re-hero p { max-width: 425px; color: #d0dce0; font-size: 16px; line-height: 1.6; }
.re-hero .rh-button { align-self: flex-start; margin-top: 28px; }
.re-catalog { padding: 18px 0 52px; background: #071214; }
.re-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.re-card { position: relative; display: flex; align-items: flex-end; min-width: 0; min-height: 390px; padding: 25px; overflow: hidden; isolation: isolate; border: 1px solid #ffffff38; border-radius: 5px; background: #0b1c20; color: #fff; }
.re-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.re-card::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, #020b0ff5 0%, #020b0fe5 17%, #020b0f3d 59%, transparent 82%); }
.re-card:hover > img { transform: scale(1.035); }
.re-card:hover { border-color: #ff293ba0; }
.re-card h2 { margin: 0 0 10px; color: #fff; font-size: 27px; font-weight: 600; line-height: 1.15; }
.re-card p { max-width: 290px; color: #d5dfe1; font-size: 14px; line-height: 1.45; }
.re-card-copy > .rh-icon { display: block; width: 27px; height: 27px; margin-top: 18px; color: var(--rh-red); stroke-width: 1.5; }
.re-card-link { position: absolute; inset: 0; z-index: 1; }
.re-card-link:focus-visible { outline-offset: -5px; }
.re-card:last-child:nth-child(3n + 1) { grid-column: 2; }
@media (max-width: 900px) {
    .re-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .re-card { min-height: 370px; padding: 23px; }
    .re-card h2 { font-size: 25px; }
    .re-card:last-child:nth-child(3n + 1) { grid-column: auto; }
    .re-card:last-child:nth-child(2n + 1) { grid-column: span 2; justify-self: center; width: calc(50% - 8px); }
    .re-hero h1 { max-width: 570px; font-size: 42px; }
}
@media (max-width: 540px) {
    .re-hero-inner { min-height: 490px; padding: 42px 0; }
    .re-hero::after { background: linear-gradient(90deg, #020c10bd, #020c1070), linear-gradient(0deg, #071214, transparent 40%); }
    .re-hero h1 { font-size: 36px; }
    .re-hero p { font-size: 15px; }
    .re-grid { grid-template-columns: minmax(0, 1fr); }
    .re-card, .re-card:last-child:nth-child(2n + 1), .re-card:last-child:nth-child(3n + 1) { grid-column: auto; width: 100%; min-height: 410px; padding: 25px; }
    .re-card h2 { font-size: 28px; }
    .re-card p { font-size: 15px; }
}
@media (max-width: 360px) {
    .re-hero h1 { font-size: 31px; }
    .re-card, .re-card:last-child:nth-child(2n + 1), .re-card:last-child:nth-child(3n + 1) { min-height: 370px; padding: 22px; }
    .re-card h2 { font-size: 25px; }
}
