.made-usa-content {
  background-color: #0053FF;
  display: flex;
  color: #fff;
  column-gap: clamp(1em, 3cqi, 3em);
  row-gap: 1em;
  align-items: center;
  padding-left: var(--spacing-horizontal);
  padding-right: var(--spacing-horizontal);
  margin: var(--spacing-vertical) 0;
  flex-wrap: wrap;
  position: relative;
  border-radius: 1em;

  container: made-usa / inline-size;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .6);

  padding-top: .75rem;
  padding-bottom: .75rem;
  text-align: center;
}
.made-usa-content > * {
  position: relative;
}

.flag-wrapper {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.flag {
  background-image: url(flag.png);
  aspect-ratio: 2.420765027;
  height: 100%;

  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  rotate: -8deg;
  translate: -12% -10%;
  transform: translateZ(0);
  -webkit-mask-image: linear-gradient(to top, black -40%, transparent 90%);
  mask-image: linear-gradient(to right, black -40%, transparent 90%);
  background-position: left center;
  opacity: .5;
  min-height: 380px;
}

.made-usa-content .title {
  text-transform: uppercase;
  font-size: clamp(1.75em, 4cqi, 2.625em);
  font-weight: 900;
  line-height: 1;
  flex-shrink: 1;
  /*padding: 1rem;*/
  flex-grow: 1;
  text-wrap: balance;
}


.made-usa-content .sub-title {
  font-size: clamp(1.25em, 2cqi, 1.5em);
  font-weight: 800;
  flex-basis: 55%;
  /*padding: 1rem;*/
  flex-shrink: 0;
  flex-grow: 2;
  line-height: normal;
}

.made-usa-content .img-wrapper {
  flex: 1 30%;
  min-width: 220px;
}
.made-usa-content .img-wrapper img {
  display: block;
  margin: auto;
  filter: drop-shadow(0px 2px 10px black);
  max-width: 70% !important;
}

.made-usa-content .button-links {
  flex-grow: 3;
  display: flex;
  justify-content: center;
  --btn-color-bg: transparent;
  --btn-hover-color-bg: var(--color-light);
  --btn-hover-color: var(--color-accent);
}

.made-usa-content .button-links > a {
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}


@container made-usa (width > 400px) {
  .made-usa-content .title {
    flex-basis: 40%;
  }
}
@container made-usa (width > 850px) {
  .made-usa-content .title {
    max-width: 7ch;
  }

  .made-usa-content .sub-title {
    flex-basis: 20%;
    text-align: left;
    margin-left: 2em;
  }
  .made-usa-content .img-wrapper img {
    max-width: 100% !important;
    margin-top: -1.25em;
  }
}
@container made-usa (width > 916px) {
  .made-usa-content .img-wrapper img {
    margin-bottom: -1.25em;
  }
}


@container made-usa (width < 940px) {
  .flag {
    translate: -15% 0;
  }
}

@container made-usa (width < 690px) {
  .flag {
    translate: -15% 0;
  }
}
@container made-usa (width < 600px) {
  .flag {
    translate: -40% 0;
  }
}
