{% require_css %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
{% end_require_css %}

{% scope_css %}
/* ============================================
   AutomateNow Team Photo Middle Hero Module
   ============================================ */

/* Main Wrapper - Background Image Container */
.team-photo-middle-hero__wrapper {
  width: 100%;
  max-width: 1440px;
  height: 744px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

/* Overlay - Fixed black overlay with 40% opacity */
.team-photo-middle-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

/* Content Wrapper */
.team-photo-middle-hero__content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding: 40px 40px 100px 40px;
  box-sizing: border-box;
}

/* Text */
.team-photo-middle-hero__text {
  width: 1155px;
  max-width: 100%;
  height: auto;
  min-height: 144px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 125%;
  letter-spacing: 0%;
  text-align: center;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
}

.team-photo-middle-hero__text p {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 125%;
  letter-spacing: 0%;
  text-align: center;
  color: #FFFFFF;
}

.team-photo-middle-hero__text p:last-child {
  margin-bottom: 0;
}

/* Logo Wrapper */
.team-photo-middle-hero__logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo */
.team-photo-middle-hero__logo {
  width: 458px;
  max-width: 100%;
  height: 108px;
  object-fit: contain;
  display: block;
  opacity: 1;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 1200px) {
  .team-photo-middle-hero__wrapper {
    height: 600px;
    min-height: 600px;
    max-width: 100%;
  }

  .team-photo-middle-hero__content-wrapper {
    padding: 0 40px 50px 40px;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
  }

  .team-photo-middle-hero__text {
    width: 100%;
    max-width: 1155px;
    font-size: 32px;
    min-height: auto;
  }

  .team-photo-middle-hero__text p {
    font-size: 32px;
  }

  .team-photo-middle-hero__logo {
    width: 100%;
    max-width: 458px;
    height: auto;
    max-height: 108px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .team-photo-middle-hero__wrapper {
    height: 500px;
    min-height: 500px;
  }

  .team-photo-middle-hero__content-wrapper {
    padding: 0 20px 50px 20px;
    gap: 25px;
    justify-content: flex-end;
    align-items: center;
  }

  .team-photo-middle-hero__text {
    width: 100%;
    font-size: 24px;
    min-height: auto;
  }

  .team-photo-middle-hero__text p {
    font-size: 24px;
  }

  .team-photo-middle-hero__logo {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 80px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .team-photo-middle-hero__wrapper {
    height: 400px;
    min-height: 400px;
  }

  .team-photo-middle-hero__content-wrapper {
    padding: 0 15px 80px 15px;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
  }

  .team-photo-middle-hero__text {
    font-size: 20px;
  }

  .team-photo-middle-hero__text p {
    font-size: 20px;
  }

  .team-photo-middle-hero__logo {
    max-width: 280px;
    max-height: 65px;
  }
}
{% end_scope_css %}

