/* portal-crosspromo-v710
   The banner image is shown without stretching.
   Desktop uses the dedicated 3:1 artwork, mobile keeps the previous image.
   The image scales proportionally, stays fully inside the block and does not
   overflow or crop against the card boundaries.
*/

.portal-crosspromo-v704{
  width:min(1080px,calc(100% - 32px),calc(100vw - 32px))!important;
  max-width:1080px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:8px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border-radius:22px!important;
}

.portal-section-main-v685>.portal-crosspromo-v704,
.calc-ad-main-v112>.portal-crosspromo-v704,
.wrap>.portal-crosspromo-v704{
  width:min(1080px,calc(100% - 32px),calc(100vw - 32px))!important;
  max-width:1080px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.portal-crosspromo-v704__link{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  border-radius:16px!important;
  background:#edf3ef!important;
  line-height:0!important;
}

.portal-crosspromo-v704 picture{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}

.portal-crosspromo-v704__image{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}

.portal-crosspromo-ad-v704{
  width:min(1080px,calc(100% - 32px),calc(100vw - 32px))!important;
  max-width:1080px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

.portal-section-main-v685>.portal-crosspromo-ad-v704,
.calc-ad-main-v112>.portal-crosspromo-ad-v704,
.wrap>.portal-crosspromo-ad-v704{
  width:min(1080px,calc(100% - 32px),calc(100vw - 32px))!important;
  max-width:1080px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media (max-width:900px){
  .portal-crosspromo-v704,
  .portal-section-main-v685>.portal-crosspromo-v704,
  .calc-ad-main-v112>.portal-crosspromo-v704,
  .wrap>.portal-crosspromo-v704{
    width:min(100%,calc(100vw - 28px))!important;
    padding:7px!important;
    border-radius:18px!important;
  }
  .portal-crosspromo-v704__link{border-radius:13px!important}
  .portal-crosspromo-ad-v704,
  .portal-section-main-v685>.portal-crosspromo-ad-v704,
  .calc-ad-main-v112>.portal-crosspromo-ad-v704,
  .wrap>.portal-crosspromo-ad-v704{
    width:min(100%,calc(100vw - 28px))!important;
  }
}

@media (max-width:680px){
  .portal-crosspromo-v704,
  .portal-section-main-v685>.portal-crosspromo-v704,
  .calc-ad-main-v112>.portal-crosspromo-v704,
  .wrap>.portal-crosspromo-v704{
    width:min(100%,calc(100vw - 20px))!important;
    margin-top:14px!important;
    margin-bottom:30px!important;
    padding:6px!important;
    border-radius:16px!important;
  }
  .portal-crosspromo-v704__link{border-radius:11px!important}
  .portal-crosspromo-ad-v704,
  .portal-section-main-v685>.portal-crosspromo-ad-v704,
  .calc-ad-main-v112>.portal-crosspromo-ad-v704,
  .wrap>.portal-crosspromo-ad-v704{
    width:min(100%,calc(100vw - 20px))!important;
  }
}

@media (max-width:420px){
  .portal-crosspromo-v704,
  .portal-section-main-v685>.portal-crosspromo-v704,
  .calc-ad-main-v112>.portal-crosspromo-v704,
  .wrap>.portal-crosspromo-v704{
    width:min(100%,calc(100vw - 16px))!important;
    padding:5px!important;
  }
  .portal-crosspromo-ad-v704,
  .portal-section-main-v685>.portal-crosspromo-ad-v704,
  .calc-ad-main-v112>.portal-crosspromo-ad-v704,
  .wrap>.portal-crosspromo-ad-v704{
    width:min(100%,calc(100vw - 16px))!important;
  }
}

@media print{
  .portal-crosspromo-v704,.portal-crosspromo-ad-v704{display:none!important}
}
