.latam-home-screen.g_visual_img { object-fit: contain; }
.latam-home-card.g_visual_img { background-color: #eaf7fc; }

.home_header_bottom { width: min(95%, 95rem); margin-top: 0; }
.home_header_visual.u-visual-wrap {
  aspect-ratio: auto;
  overflow: visible;
  transform: none;
  padding-bottom: clamp(1.5rem, 4vw, 4.5rem);
}

.latam-hero-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(.8rem, 2.7vw, 3rem);
  margin-top: clamp(2rem, 4.6vw, 4.5rem);
  color: #163456;
}
.latam-hero-tile {
  position: relative;
  min-width: 0;
  container-type: inline-size;
  aspect-ratio: .87;
  border-radius: .8rem;
  background: #e9f8fc;
  animation: latam-rise .6s both ease-out;
}
.latam-hero-tile:nth-child(2n) { margin-top: clamp(1rem, 4vw, 4rem); }
.latam-hero-tile:nth-child(2) { animation-delay: .10s; }
.latam-hero-tile:nth-child(3) { animation-delay: .20s; }
.latam-hero-tile:nth-child(4) { animation-delay: .30s; }
.latam-hero-icon {
  position: absolute;
  z-index: 1;
  top: -.55rem;
  left: -.45rem;
  display: grid;
  place-items: center;
  width: clamp(1.85rem, 3.4vw, 3.25rem);
  aspect-ratio: 1;
  border-radius: .7rem;
  background: #fff;
  color: #008fc2;
}
.latam-icon-calendar, .latam-icon-clock {
  position: relative;
  display: grid;
  place-items: center;
  width: 51%;
  aspect-ratio: 1;
  border: 2px solid currentColor;
}
.latam-icon-calendar { border-radius: .2rem; font-weight: 800; font-size: .83rem; line-height: 1; }
.latam-icon-calendar::before { content: ""; position: absolute; top: 16%; inset-inline: 0; border-top: 2px solid currentColor; }
.latam-icon-clock { border-radius: 50%; }
.latam-icon-clock::after { content: ""; height: 33%; width: 29%; border: solid currentColor; border-width: 0 0 2px 2px; transform: translate(23%, -33%); }
.latam-icon-person { position: relative; padding-left: .75rem; font-size: 1.31rem; font-weight: 800; line-height: 1.4; }
.latam-icon-person::before, .latam-icon-person::after { content: ""; position: absolute; left: 0; border: 2px solid currentColor; }
.latam-icon-person::before { border-radius: 50%; width: .52rem; height: .52rem; top: .1rem; }
.latam-icon-person::after { width: .64rem; height: .46rem; bottom: .11rem; border-radius: .45rem .45rem 0 0; border-bottom: none; }

.latam-hero-phone, .latam-hero-shift, .latam-hero-add, .latam-hero-chart-card, .latam-hero-sheet-title,
.latam-hero-sheet, .latam-hero-hours, .latam-hero-approval {
  font-size: clamp(.68rem, 5.15cqw, 1rem);
  line-height: 1.24;
}

.latam-hero-phone {
  position: relative;
  width: 67%;
  margin: 9% auto;
  padding: 10% 3% 6%;
  border-radius: .85rem;
  background: #fff;
}
.latam-hero-phone::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 41%;
  width: 18%;
  height: .25em;
  border-radius: 1rem;
  background: #d5e3e9;
}
.latam-hero-onboarding-title { display: block; color: #0075a4; font-size: .95em; margin: 0 0 .65em; }
.latam-hero-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .42em;
  border-radius: .65rem;
  background: #007c9e;
  color: #fff;
  padding: .58em;
}
.latam-hero-avatar {
  display: grid;
  place-items: center;
  width: 2.25em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d9eef8;
  color: #083862;
  font-weight: 750;
  font-size: .85em;
}
.latam-hero-profile b, .latam-hero-profile small { display: block; font-size: .82em; }
.latam-hero-profile small { font-size: .75em; }
.latam-hero-status { grid-column: 1 / -1; justify-self: center; border-radius: 1rem; background: #f8b85b; color: #303237; padding: .16em .45em; font-size: .72em; font-weight: 700; }
.latam-hero-checks { list-style: none; padding: 0; margin: .45em -10% 0; }
.latam-hero-checks li { display: flex; align-items: center; justify-content: space-between; gap: .35em; margin-top: .24em; padding: .29em .45em; border-radius: .3rem; background: #f6fafc; font-size: .80em; }
.latam-hero-checks span { font-weight: 750; color: #507b28; }
.latam-hero-checks span.is-pending { color: #98591a; }

.latam-hero-shift { display: flex; align-items: stretch; width: 73%; margin: 16% auto 0; border-radius: .45rem; overflow: hidden; background: #e5f2cb; }
.latam-hero-initial { display: grid; place-items: center; padding: .4em .75em; color: #365c25; background: #aad54a; font-weight: 700; }
.latam-hero-shift > div { display: flex; flex-wrap: wrap; align-items: center; gap: .17em .25em; padding: .45em .60em; }
.latam-hero-shift b { flex-basis: 100%; font-size: .84em; }
.latam-hero-time { border-radius: .22rem; padding: .11em .27em; background: #fff; font-size: .76em; }
.latam-hero-add { display: block; width: 57%; margin: .15em auto .65em; padding: .45em; border: 1px dashed #abc3cf; border-radius: .35rem; color: #3d6074; text-align: center; font-size: clamp(.62rem, 4.3cqw, .8rem); }
.latam-hero-chart-card { width: 80%; margin: 0 auto 8%; padding: .55em .65em; border-radius: .5rem; background: white; transform: rotate(3deg); }
.latam-hero-chart-card strong { display: block; }
.latam-chart-legend { display: block; margin-top: .30em; font-size: .68em; color: #365872; }
.latam-hero-bars { display: flex; align-items: end; height: clamp(1.85rem, 24cqw, 5rem); gap: 2.5%; border-bottom: 1px solid #6f8ea3; }
.latam-hero-bars i { flex: 1; height: var(--bar); background: linear-gradient(#f3ac50 0 38%, #9fd1e4 38% 100%); }
.latam-hero-chart-hours { display: flex; justify-content: space-between; margin-top: .25em; font-size: .65em; }

.latam-hero-sheet-title { display: block; width: fit-content; max-width: 85%; margin: 18% auto 0; padding: .38em .65em; border-radius: .35rem; background: #fff; transform: rotate(-3deg); text-align: center; }
.latam-hero-sheet { width: 81%; margin: .2em auto 0; padding: .55em .6em; border-radius: .45rem; background: #fff; }
.latam-hero-sheet small { font-size: .76em; }
.latam-hero-timeline { height: .31em; margin: .38em 0; border-radius: .4em; background: linear-gradient(90deg, #eb8e2d 0 55%, #f9e4c7 55% 68%, #eb8e2d 68%); }
.latam-hero-time-row { display: flex; flex-wrap: wrap; gap: .24em; }
.latam-hero-time-row span { border: 1px solid #deebf1; border-radius: .18rem; padding: .17em .2em; font-size: .72em; }
.latam-hero-hours { position: relative; z-index: 1; width: 64%; margin: -.1em 8% .25em auto; padding: .45em .60em; border-radius: .4rem; background: #f6f9fb; }
.latam-hero-hours div { display: flex; justify-content: space-between; gap: .3em; font-size: .77em; }
.latam-hero-hours dd { margin: 0; white-space: nowrap; font-weight: 700; }
.latam-hero-approval { width: 78%; margin: 0 auto 8%; padding: .5em; border-radius: .4rem; background: #fff; text-align: center; }
.latam-hero-approval span { display: block; border-radius: .26rem; padding: .27em .35em; background: #a5cb58; color: #163c17; font-size: .78em; font-weight: 750; }

.latam-hero-leave-top { display: flex; align-items: center; justify-content: space-between; gap: .4em; padding: .35em .3em .68em; }
.latam-hero-leave-list { display: grid; gap: .42em; margin: 0 -13% .2em; padding: 0; list-style: none; }
.latam-hero-leave-list li { display: grid; grid-template-columns: max-content 1fr; align-items: stretch; border-radius: .4rem; overflow: hidden; background: #f3f8fc; font-size: .76em; }
.latam-hero-leave-list time { display: grid; place-items: center; padding: .48em .42em; background: #007d9e; color: #fff; white-space: nowrap; font-weight: 700; }
.latam-hero-leave-list li > div { padding: .30em .42em; }
.latam-hero-leave-list li :is(strong, small, b) { display: block; }
.latam-hero-leave-list li small { font-size: .88em; color: #406178; }
.latam-hero-leave-list li b { color: #376423; }

@keyframes latam-rise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
  .home_header_bottom { width: 92%; }
  .latam-hero-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(.7rem, 3vw, 1.6rem); row-gap: 1.25rem; max-width: 36rem; margin-inline: auto; }
  .latam-hero-tile:nth-child(2n) { margin-top: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .latam-hero-tile { animation: none; }
}

/* Match the label position to the contained attendance screenshot. */
.latam-attendance-overlay {
  position: absolute;
  inset: 0;
  container-type: size;
  pointer-events: none;
}
.latam-attendance-frame {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100cqw, 196.923cqh);
  aspect-ratio: 1280 / 650;
  container-type: inline-size;
}
.latam-attendance-frame span {
  position: absolute;
  top: 31.3%;
  left: 3.45%;
  display: flex;
  align-items: center;
  width: 13.4%;
  height: 3.7%;
  padding-left: .22cqw;
  background: #fdfdfd;
  color: #292929;
  font: 700 1.2cqw / 1 Arial, sans-serif;
  letter-spacing: normal;
  white-space: nowrap;
}

.seo-product-pitch {
  font-weight: 600;
  margin-block: 0 .8rem;
}
