/* Hand-written styling for ai-devops-talent.html, layered over the hashed
 * bundles (like testimonials.css / home-hero.css).
 *
 * Covers the bespoke pieces of this page:
 *   1. The single hero block in #find-remote. The home page shows two blocks
 *      (freelancers + companies) side by side; here there is one companies-
 *      styled block that spans the space both used to.
 *   2. #talent-proposal - an alternating text/image layout echoing the
 *      "Quality tech work when you need it" section on companies.html, built
 *      here without loading the companies stylesheet.
 *   3. The "Build a flexible workforce" section (#company-benefits-slides) is
 *      copied verbatim from index.html, including its Splide markup, and is
 *      styled entirely by index-*.css / the bundle - no overrides needed here.
 *   4. #companies-map + #freelancer-categories, copied from companies.html
 *      (title only, no image), is styled entirely by the global "narrow"
 *      class and by index-*.css / the bundle that renders the category
 *      picker into #freelancer-categories - no overrides needed here either.
 */

/* 1. Single, wider hero block (keeps the purple companies styling and the
 *    #find-remote banner from index-*.css). */
#find-remote > .block {
  max-width: none;
  width: 100%;
}
@media only screen and (min-width: 700px) {
  #find-remote > .block {
    max-width: 560px;
  }
}
@media only screen and (min-width: 1024px) {
  #find-remote > .block {
    max-width: 660px;
  }
}

/* 2. "Quality AI and DevOps talent" alternating rows. */
#talent-proposal {
  background-color: #fafafc;
  padding: 40px 15px 20px;
}
#talent-proposal > h1.medium {
  text-align: center;
  margin-bottom: 30px;
}
#talent-proposal .tp-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 45px;
}
#talent-proposal .tp-text {
  display: flex;
  align-items: flex-start;
}
#talent-proposal .tp-text > .gr-icon {
  font-size: 50px;
  margin-right: 20px;
  color: #8d227f;
  flex-shrink: 0;
}
#talent-proposal .tp-text h4 {
  margin: 0 0 12px;
}
#talent-proposal .tp-text p {
  margin: 0;
}
#talent-proposal .tp-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  height: 62vw;
  max-height: 340px;
}
#talent-proposal .tp-image-1 { background-image: url("./companies_s5_1_700.jpg"); background-position: 70% center; }
#talent-proposal .tp-image-2 { background-image: url("./coffee-fun.png"); }
#talent-proposal .tp-image-3 { background-image: url("./companies_s5_2_700.jpg"); }
#talent-proposal .tp-image-4 { background-image: url("./companies_s1.jpg"); }
#talent-proposal .tp-image-5 { background-image: url("./companies_s5_3_700.jpg"); }
#talent-proposal .tp-cta {
  text-align: center;
  margin-top: 10px;
}

.talent-final-cta {
  text-align: center;
  padding: 50px 15px 60px;
}

@media only screen and (min-width: 1024px) {
  #talent-proposal {
    padding: 70px 50px 40px;
  }
  #talent-proposal .tp-row {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 70px;
  }
  #talent-proposal .tp-image {
    height: auto;
    min-height: 320px;
    max-height: none;
  }
  #talent-proposal .tp-row.reverse .tp-text {
    order: 2;
  }
  #talent-proposal .tp-row.reverse .tp-image {
    order: 1;
  }
  .talent-final-cta {
    padding: 70px 15px 90px;
  }
}
