/* tenant-local overrides. Loaded conditionally after the shared country surface. */

.ar-theme .pvs-pix-benefits li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("/sites/ar/assets/optimized/check.svg") center / contain no-repeat;
}

.ar-home-page .pvs-home-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(330px, 1.06fr);
}

.ar-theme :is(.country-ar .pvs-site-header, .site-header) .country-menu {
  min-width: 58px;
}

main.intl-home.ar-theme .intl-footer {
  --pvs-ar-footer-inline-gutter: max(28px, calc((100vw - var(--pvs-nd-container)) / 2));
  --pvs-ar-footer-bottom-gutter: 24px;
}

main.intl-home.ar-theme .intl-footer .footer-institutional-area {
  margin: 30px calc(0px - var(--pvs-ar-footer-inline-gutter)) calc(0px - var(--pvs-ar-footer-bottom-gutter));
  padding: 16px var(--pvs-ar-footer-inline-gutter) 14px;
  background: transparent;
}

main.intl-home.ar-theme .intl-footer .footer-institutional {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: max(8px, calc(clamp(18px, 3vw, 38px) * var(--fmis-scale, 1)));
  min-height: max(44px, calc(72px * var(--fmis-scale, 1)));
}

main.intl-home.ar-theme .intl-footer .footer-institutional-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--fmir, 6px);
  background: transparent;
}

main.intl-home.ar-theme .intl-footer .footer-institutional-link:is(:hover, :focus-visible) {
  outline: 3px solid var(--pvs-main-cyan);
  outline-offset: 3px;
}

main.intl-home.ar-theme .intl-footer .footer-institutional-link[data-institutional-id="data-fiscal"] img {
  --fmis: 54px;
}

main.intl-home.ar-theme .intl-footer .footer-institutional-link[data-institutional-id="usuarios-financieros"] img {
  --fmis: 46px;
}

main.intl-home.ar-theme .intl-footer .footer-year {
  margin: 10px 0 0;
  color: var(--pvs-main-white);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

@media (width < 641px) {
  main.intl-home.ar-theme .intl-footer {
    --pvs-ar-footer-inline-gutter: 22px;
    --pvs-ar-footer-bottom-gutter: 26px;
  }

  main.intl-home.ar-theme .intl-footer .footer-institutional-area {
    margin-top: 26px;
    padding-block: 14px 12px;
  }

  main.intl-home.ar-theme .intl-footer .footer-institutional {
    gap: max(8px, calc(12px * var(--fmis-scale, 1)));
    min-height: max(44px, calc(68px * var(--fmis-scale, 1)));
  }

  main.intl-home.ar-theme .intl-footer .footer-institutional-link img {
    --fmis: 42px;
  }

  main.intl-home.ar-theme .intl-footer .footer-institutional-link[data-institutional-id="data-fiscal"] img {
    --fmis: 46px;
  }

  main.intl-home.ar-theme .intl-footer .footer-institutional-link[data-institutional-id="usuarios-financieros"] img {
    --fmis: 38px;
  }
}

@media (641px <= width < 1024px) {
  .ar-theme :is(.country-ar .pvs-site-header, .site-header).is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .ar-theme :is(.country-ar .pvs-site-header, .site-header).is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .ar-theme :is(.country-ar .pvs-site-header, .site-header).is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

.ar-theme :is(.country-ar .pvs-site-header, .site-header) .country-selector {
  flex: 0 1 auto;
  overflow: visible;
}

.ar-theme :is(.country-ar .pvs-site-header, .site-header) .country-selector .flag:not(.flag-intl) {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  height: 15px;
  visibility: visible;
  opacity: 1;
}

.ar-home-page .pvs-hero-media {
  align-self: center;
}

.ar-home-page .pvs-hero-carousel {
  width: min(100%, 590px);
  max-width: 590px;
  margin-left: auto;
}

.ar-home-page .pvs-hero-carousel .pvs-media-slide img,
.ar-home-page .pvs-benefit-carousel .pvs-media-slide img {
  aspect-ratio: 16 / 10;
  max-height: 390px;
  object-fit: cover;
}

.ar-home-page .pvs-benefit-carousel {
  max-width: 960px;
}

.ar-home-page .pvs-benefit-carousel .pvs-media-slide img {
  height: auto;
}

.ar-home-page .pvs-app-grid article {
  min-height: 0;
  border: 1px solid var(--pvs-main-line);
}

.ar-home-page .pvs-app-grid img {
  height: auto;
  max-height: 380px;
}

.ar-home-page .pvs-app-grid article:nth-child(2) img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ar-home-page .pvs-cert-grid {
  max-width: 920px;
}

.ar-home-page .pvs-cert-grid img {
  max-height: 78px;
}

@media (width < 1024px) {
  .ar-home-page .pvs-home-hero {
    grid-template-columns: 1fr;
  }

  .ar-home-page .pvs-hero-carousel {
    max-width: 620px;
    margin: 0;
  }
}

@media (width < 641px) {
  .ar-home-page .pvs-hero-carousel .pvs-media-slide img,
  .ar-home-page .pvs-benefit-carousel .pvs-media-slide img {
    max-height: 260px;
  }
}

.ar-hero-ar .pvs-country-hero-image {
  object-position: 62% center;
}

.ar-theme .pvs-page-hero::before {
  z-index: 0;
  inset: -92px 0;
  background-image: url("/sites/ar/assets/optimized/FOTO-2-CARRUSEL-INICIO-1884x1256.jpg");
  background-size: cover;
  background-position: 58% center;
  filter: saturate(1.05) contrast(1.04);
  transform: translate3d(0, var(--pvs-page-hero-y), 0) scale(var(--pvs-page-hero-scale));
  will-change: transform;
}

.ar-theme .pvs-product-detail-hero::before,
.ar-theme .pvs-page-hero.pvs-pix-hero::before {
  background-image: url("/sites/ar/assets/optimized/pix-image-1884x1256.jpg");
  background-position: 64% center;
}

.ar-theme .pvs-job-detail-hero::before,
.ar-theme.pvs-job-detail-body .pvs-page-hero::before {
  background-image: url("/sites/ar/assets/optimized/FOTO-3-CARRUSEL-INICIO-1884x1256.jpg");
  background-position: 52% center;
}

@media (width < 1024px) {
  .ar-hero-ar .pvs-country-hero-image {
    object-position: 68% center;
  }
}

@media (width < 641px) {
  .ar-hero-ar .pvs-country-hero-image {
    object-position: 68% center;
  }
}

/* Editable Argentina-only Flex bands. */
.ar-home-page #medios-de-pago {
  position: relative;
  z-index: 3;
  background: var(--pvs-main-white);
}

.ar-home-page #medios-de-pago .intl-client-marquee:is([data-cms-logos-motion="static"], [data-cms-logos-motion="proximity"]) {
  overflow: visible;
}

.ar-home-page #medios-de-pago .intl-flex-logos-proximity {
  overflow: visible;
}

.ar-home-page #medios-de-pago .intl-client-marquee:is([data-cms-logos-motion="static"], [data-cms-logos-motion="proximity"]) .intl-client-track {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(18px, 3.2vw, 44px);
  animation: none;
  transform: none;
}

.ar-home-page #medios-de-pago .intl-flex-logos-proximity .intl-client-track {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(18px, 3.2vw, 44px);
  animation: none;
  transform: none;
}

.ar-home-page #medios-de-pago .intl-client-logo {
  display: grid;
  justify-content: normal;
  place-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.ar-home-page #medios-de-pago .intl-client-logo:not(:where([data-cms-logos-motion="marquee"] *)) {
  width: 100%;
  min-width: 0;
  min-height: 38px;
}

.ar-home-page #medios-de-pago .intl-client-marquee:is([data-cms-logos-motion="static"], [data-cms-logos-motion="proximity"]) .intl-client-logo[aria-hidden="true"] {
  display: none;
}

.ar-home-page #medios-de-pago .intl-client-marquee[data-cms-logos-motion="marquee"] {
  overflow: hidden;
}

.ar-home-page #medios-de-pago .intl-client-marquee[data-cms-logos-motion="marquee"] .intl-client-track {
  width: max-content;
  min-width: max-content;
  display: flex;
  grid-template-columns: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Recipe gap, cell and image of the moving strip, without the section anchor's
   weight: logoGap, logoHeight and logoWidth of the exact Logos block
   (cmsLogoMarqueeSizeContract) win per screen. Fixed modes keep their weight. */
:where(.ar-home-page #medios-de-pago) .intl-client-marquee[data-cms-logos-motion="marquee"] .intl-client-track {
  gap: 57.6px;
}

:where(.ar-home-page #medios-de-pago) .intl-client-marquee[data-cms-logos-motion="marquee"] .intl-client-logo {
  width: 151.2px;
  min-width: 0;
  min-height: 38px;
}

:where(.ar-home-page #medios-de-pago) .intl-client-marquee[data-cms-logos-motion="marquee"] .intl-client-logo img:not(:where(.pvs-logo-crop *)) {
  width: auto;
  height: auto;
  max-width: min(104px, 100%);
  max-height: 38px;
  object-fit: contain;
}

.ar-home-page #medios-de-pago .intl-client-logo img:not(:where(.pvs-logo-crop *, [data-cms-logos-motion="marquee"] *)) {
  width: auto;
  height: auto;
  max-width: min(104px, 100%);
  max-height: 38px;
  object-fit: contain;
}

.ar-home-page #medios-de-pago .intl-client-logo img[src$="cuota-simpe_logo-01.svg"] {
  content: url("/sites/ar/assets/optimized/cuota-simple.png");
}

.intl-home.ar-theme:not(.intl-blog-page)
  .intl-flex-source-blogPosts:has(.intl-flex-blog-cards[data-cms-blog-feed-source="site"])
  .intl-blog-card {
  --intl-body: var(--intl-on-dark-body, var(--pvs-main-white));

  border: 0;
  border-radius: 30px;
  background: var(--pvs-main-blue-deep, var(--pvs-main-blue));
  color: var(--intl-on-dark-body, var(--pvs-main-white));
}

.intl-home.ar-theme:not(.intl-blog-page)
  .intl-flex-source-blogPosts:has(.intl-flex-blog-cards[data-cms-blog-feed-source="site"])
  .intl-blog-card h3 {
  color: var(--intl-on-dark-heading, var(--pvs-main-white));
}

.intl-home.ar-theme:not(.intl-blog-page)
  .intl-flex-source-blogPosts:has(.intl-flex-blog-cards[data-cms-blog-feed-source="site"])
  .intl-blog-card :is(.intl-blog-copy, .intl-blog-date) {
  color: var(--intl-on-dark-body, var(--pvs-main-white));
}

.ar-home-page .pvs-app-scene {
  padding-top: clamp(84px, 9vw, 118px);
  padding-bottom: clamp(82px, 9vw, 118px);
}

.ar-home-page .pvs-benefits-scene {
  min-height: clamp(620px, 62vw, 760px);
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
  padding-top: clamp(84px, 9vw, 118px);
  padding-bottom: clamp(84px, 9vw, 118px);
}

.ar-home-page .pvs-certifications {
  background: linear-gradient(180deg, var(--pvs-main-white) 0%, var(--pvs-main-panel) 100%);
}

.ar-home-page .pvs-certifications .pvs-section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ar-home-page .pvs-cert-grid img {
  background: var(--pvs-main-white);
  border: 1px solid var(--pvs-main-line);
}

@media (width < 1024px) {
  .ar-home-page .pvs-country-photo-hero {
    min-height: 650px;
  }

  .ar-home-page .pvs-benefits-scene {
    grid-template-columns: 1fr;
  }
}

@media (width < 641px) {
  .ar-home-page .pvs-country-photo-hero {
    min-height: 690px;
  }

  :where(.ar-home-page #medios-de-pago) .intl-client-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 22px;
  }

  :where(.ar-home-page #medios-de-pago) .intl-client-marquee[data-cms-logos-motion="marquee"] .intl-client-logo img:not(:where(.pvs-logo-crop *)) {
    max-width: min(84px, 100%);
    max-height: 34px;
  }

  .ar-home-page #medios-de-pago .intl-client-logo img:not(:where(.pvs-logo-crop *, [data-cms-logos-motion="marquee"] *)) {
    max-width: min(84px, 100%);
    max-height: 34px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ar-home-page .pvs-country-hero-image,
  .ar-home-page .pvs-country-photo-hero .pvs-hero-copy {
    transform: none;
    will-change: auto;
  }

  .ar-theme .pvs-page-hero::before {
    transform: none;
    will-change: auto;
  }
}
