/* Scoped to the two requested homepage card lists. Typography/content elsewhere stays as-is. */
html body[data-design=nexo][data-page=home] :is(.nx-tile-row,.nx-kinds-list).v4-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:20px!important;align-items:stretch!important;margin:0!important;padding:0!important;list-style:none!important}
html body[data-design=nexo][data-page=home] .v4-card-grid>li{grid-column:auto!important;grid-row:auto!important;min-width:0!important;display:flex!important;margin:0!important;padding:0!important}
html body[data-design=nexo][data-page=home] .v4-card-grid>li a.v4-service-card{box-sizing:border-box!important;position:relative!important;isolation:isolate;display:flex!important;flex-flow:column nowrap!important;align-items:flex-start!important;width:100%!important;height:auto!important;min-height:var(--v4-card-height,480px)!important;padding:28px!important;margin:0!important;background:#f8f8f8!important;background-image:none!important;border:1px solid transparent!important;border-radius:28px!important;box-shadow:none!important;overflow:hidden!important;color:#1a1d27!important;text-decoration:none!important;transition:background-color .2s ease,border-color .2s ease!important}
html body[data-design=nexo][data-page=home] .v4-card-grid>li a.v4-service-card:hover{background:#f0f4fa!important;border-color:#d8e5f5!important}
html body[data-design=nexo][data-page=home] .v4-card-icon{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;flex:none;width:21px;height:21px;margin:0 0 18px!important;padding:0!important;border-radius:50%;background:#80b8fb;color:#1a1d27!important;position:relative;z-index:2}
html body[data-design=nexo][data-page=home] .v4-card-icon svg{width:10.5px;height:10.5px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
html body[data-design=nexo][data-page=home] .v4-card-title{box-sizing:border-box;flex:none!important;position:relative;z-index:2;width:100%;max-width:100%!important;min-height:var(--v4-title-height,0px);margin:0 0 14px!important;padding:0!important;font-family:Inter,system-ui,sans-serif!important;font-size:20px!important;line-height:1.23!important;font-weight:650!important;letter-spacing:-.035em!important;color:#1a1d27!important;text-wrap:pretty}
html body[data-design=nexo][data-page=home] .v4-card-copy{box-sizing:border-box;flex:none!important;position:relative;z-index:2;width:57%;max-width:none!important;min-height:0!important;margin:0 0 28px!important;padding:0!important;font-family:Inter,system-ui,sans-serif!important;font-size:14px!important;line-height:1.55!important;font-weight:400!important;letter-spacing:-.01em!important;color:#414650!important;overflow-wrap:anywhere!important;hyphens:manual;text-wrap:pretty}
html body[data-design=nexo][data-page=home] .v4-card-action{box-sizing:border-box;display:inline-flex!important;align-items:center!important;gap:9px!important;position:relative;z-index:2;flex:none!important;min-height:42px;margin:auto 0 0!important;padding:10px 15px!important;border:0!important;border-radius:999px!important;background:#e0e2e5!important;color:#1a1d27!important;font-family:Inter,system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap;transition:background .2s ease!important}
html body[data-design=nexo][data-page=home] .v4-card-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body[data-design=nexo][data-page=home] .v4-service-card:hover .v4-card-action{background:#c9dfff!important}
html body[data-design=nexo][data-page=home] .v4-card-media{position:absolute!important;z-index:1;right:0;bottom:0;width:40%;height:56%;min-height:210px;margin:0!important;padding:0!important;border:0!important;border-radius:24px 0 26px 0;overflow:hidden;background:#e9f0f7}
html body[data-design=nexo][data-page=home] .v4-card-media img{display:block!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:var(--v4-photo-position,center)!important;transform:none!important;border-radius:0!important;opacity:1!important;transition:transform .35s ease!important}
html body[data-design=nexo][data-page=home][data-card-art=illustration] .v4-card-media{width:43%;background:transparent;overflow:visible;border-radius:0}
html body[data-design=nexo][data-page=home][data-card-art=illustration] .v4-card-media img{box-sizing:border-box;object-fit:contain!important;object-position:center bottom!important;padding:0 10px 24px 0!important}
html body[data-design=nexo][data-page=home] .v4-service-card:hover .v4-card-media img{transform:scale(1.025)!important}
@media(max-width:1099px){html body[data-design=nexo][data-page=home] :is(.nx-tile-row,.nx-kinds-list).v4-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:679px){html body[data-design=nexo][data-page=home] :is(.nx-tile-row,.nx-kinds-list).v4-card-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}html body[data-design=nexo][data-page=home] .v4-card-grid>li a.v4-service-card{padding:24px!important;border-radius:24px!important}html body[data-design=nexo][data-page=home] .v4-card-title{font-size:20px!important}html body[data-design=nexo][data-page=home] .v4-card-copy{font-size:14px!important;width:57%}html body[data-design=nexo][data-page=home] .v4-card-media{border-radius:22px 0 22px 0}}
@media(prefers-reduced-motion:reduce){html body[data-design=nexo][data-page=home] :is(.v4-service-card,.v4-card-media img,.v4-card-action){transition:none!important;transform:none!important}}

/* Focus the photographed subject within the right-hand panel. */
.v4-service-card[data-card-key="arraigo"]{--v4-photo-position:78% 50%}
.v4-service-card[data-card-key="business"]{--v4-photo-position:65% 50%}
.v4-service-card[data-card-key="change-status"]{--v4-photo-position:24% 50%}
.v4-service-card[data-card-key="digital-nomad"]{--v4-photo-position:40% 50%}
.v4-service-card[data-card-key="dokumenty"]{--v4-photo-position:28% 50%}
.v4-service-card[data-card-key="longterm"]{--v4-photo-position:18% 50%}
.v4-service-card[data-card-key="nedvizhimost"]{--v4-photo-position:83% 50%}
.v4-service-card[data-card-key="no-lucrativa"]{--v4-photo-position:70% 50%}
.v4-service-card[data-card-key="prodlenie"]{--v4-photo-position:43% 50%}
.v4-service-card[data-card-key="rabota"]{--v4-photo-position:55% 50%}
.v4-service-card[data-card-key="semya"]{--v4-photo-position:62% 50%}
.v4-service-card[data-card-key="ucheba"]{--v4-photo-position:60% 50%}
.v4-service-card[data-card-key="auto-customs"]{--v4-photo-position:22% 50%}
