/* Turbine 2026 — Company (NEW) responsive. Clone of company-responsive.css, scoped
   under .company-page-new. Loaded only on front-company-new.php. */

@media (max-width: 1399px) {
  .company-page-new .company-hero__text {
    font-size: 18px;
  }

  .company-page-new .company-about__lead {
    font-size: 26px;
  }

  .company-page-new .company-about__text p {
    font-size: 18px;
  }

}

@media (max-width: 1279px) {
  .company-page-new .company-hero__container {
    padding-inline: 15px;
  }

  .company-page-new .company-about__inner {
    gap: 40px;
  }

  .company-page-new .company-team-grid--board,
  .company-page-new .company-team-grid--advisors {
    column-gap: 22px;
  }
}

@media (max-width: 991px) {
  .company-page-new .company-hero__container {
    padding-inline: 15px;
  }

  .company-page-new .company-hero__card {
    width: min(520px, 70%);
    min-height: 0;
    padding: 32px;
  }

  .company-page-new .company-hero__title {
    font-size: 42px;
  }

  .company-page-new .company-hero__text {
    margin-top: 22px;
    font-size: 18px;
  }

  .company-page-new .company-about {
    padding-block: 90px 80px;
  }

  .company-page-new .company-about__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 28px;
  }

  .company-page-new .company-about__inner::before {
    top: -75px;
  }

  .company-page-new .company-about__title {
    font-size: 43px;
  }

  .company-page-new .company-about__lead {
    font-size: 24px;
  }

  .company-page-new .company-about__text p {
    font-size: 17px;
  }

  .company-page-new .company-join {
    margin-top: 90px;
    margin-bottom: 30px;
  }

  .company-page-new .company-team {
    padding-block: 45px 75px;
  }

  .company-page-new .company-team-grid--leadership {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-page-new .company-team-grid--board,
  .company-page-new .company-team-grid--advisors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-page-new .company-team__inner,
  .company-page-new .company-partners__swiper {
    margin-inline: 0;
  }

  .company-page-new .company-modal__dialog {
    grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
    padding: 44px 30px;
    gap: 24px;
  }

  .company-page-new .company-modal__image,
  .company-page-new .company-modal__image--placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 767px) {
  /* Hero: copy overlaid on the media (like the home hero), not stacked below it. */
  .company-page-new .company-hero {
    height: auto;
    min-height: 520px;
    padding: 0;
    display: block;
    overflow: hidden;
  }

  .company-page-new .company-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .company-page-new .company-hero__background,
  .company-page-new .company-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .company-page-new .company-hero__container {
    display: block;
    padding-inline: 15px;
  }

  .company-page-new .company-hero__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 123px 0 45px;
    padding: 28px 22px 32px;
    background: rgba(15, 10, 38, 0.5);
    backdrop-filter: blur(5px);
    text-align: left;
  }

  .company-page-new .company-hero__title {
    font-size: 30px;
    line-height: 1.06;
  }

  .company-page-new .company-hero__title span {
    display: inline;
  }

  .company-page-new .company-hero__text {
    max-width: 500px;
    margin: 22px 0 0;
    font-size: 16px;
  }

  .company-page-new .company-hero__button {
    min-width: 0;
    height: 46px;
    margin-top: 26px;
    padding-inline: 30px;
    font-size: 14px;
  }

  .company-page-new .company-about {
    padding-block: 60px 95px;
  }

  .company-page-new .company-about__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    min-height: 0;
  }

  .company-page-new .company-about__inner::before {
    top: 0;
    left: 60%;
    width: min(120vw, 520px);
    height: 440px;
    background-size: contain;
  }

  .company-page-new .company-about__intro,
  .company-page-new .company-about__text {
    text-align: center;
  }

  .company-page-new .company-about__title {
    /* keep max-width: min-content from the base so each word stays on its own
       line; just centre the box (intro is text-align:center on mobile). */
    margin: 0 auto;
    font-size: 30px;
  }

  .company-page-new .company-about__lead {
    max-width: 450px;
    margin: 20px auto 0;
    font-size: 24px;
  }

  .company-page-new .company-about__text p {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .company-page-new .company-working__title,
  .company-page-new .company-section-title {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .company-page-new .company-working__feed {
    max-width: 100%;
  }

  .company-page-new .company-working::after {
    -webkit-mask-image: radial-gradient(60% 87% at 29% -3%, #000 46%, transparent 72%);
            mask-image: radial-gradient(60% 87% at 29% -3%, #000 46%, transparent 72%);
  }

  .company-page-new .company-join {
    height: auto;
    min-height: 0;
    margin-block: 60px 30px;
    background-size: auto 310px;
    background-image: url("../images/join_bg_mobil.svg");
  }

  .company-page-new .company-join__container {
    height: auto;
    min-height: 0;
    padding-block: 70px 140px;
  }

  .company-page-new .company-join__inner {
    width: min(100%, 410px);
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 15px;
    margin-top: 20px;
  }

  .company-page-new .company-join__title {
    font-size: 35px;
  }

  .company-page-new .company-join__text {
    font-size: 14px;
  }

  .company-page-new .company-join__button {
    margin-top: 13px;
    padding-inline: 18px;
    height: 39px;
  }

  .company-page-new .company-team {
    padding-block: 0px 70px;
  }

  .company-page-new .company-team-group + .company-team-group {
    margin-top: 63px;
  }

  .company-page-new .company-team-group__title {
    margin-bottom: 29px;
    font-size: 35px;
    text-align: center;
  }

  .company-page-new .company-team-grid--leadership {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .company-page-new .company-team-grid--board,
  .company-page-new .company-team-grid--advisors {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 27px 18px;
  }

  .company-page-new .company-team-grid--leadership .company-member {
    max-width: 500px;
  }

  .company-page-new .company-member__name {
    margin-top: 16px;
    font-size: 25px;
  }

  .company-page-new .company-team-grid--board .company-member__name,
  .company-page-new .company-team-grid--advisors .company-member__name {
    font-size: 30px;
    /* single column on phones — no sibling to align with, so drop the
       reserved two-line height to avoid a gap under one-line names */
    min-height: 0;
  }

  .company-page-new .company-member__name small {
    font-size: 0.65em;
  }

  .company-page-new .company-member__role,
  .company-page-new .company-member__read-more {
    font-size: 16px;
    line-height: 1.5;
  }

  .company-page-new .company-modal {
    align-items: flex-start;
    padding: 12px;
  }

  .company-page-new .company-modal__dialog {
    grid-template-columns: minmax(0, 1fr);
    max-height: calc(100dvh - 24px);
    padding: 52px 20px 24px;
    gap: 19px;
  }

  .company-page-new .company-modal__image-wrap {
    width: min(100%, 240px);
  }

  .company-page-new .company-modal__content {
    padding: 0;
  }

  .company-page-new .company-modal__name {
    font-size: 27px;
  }

  .company-page-new .company-partners {
    padding-block: 35px;
  }

  .company-page-new .company-partners__logo {
    max-height: 47px;
  }

  .company-page-new .company-partners-content {
    margin: 0;
  }

  .company-page-new .company-partners .company-partners-content::before,
  .company-page-new .company-partners .company-partners-content::after {
    width: 30px;
  }
}

/* Buttons — match the home / virtual-lab global button (teal, uppercase, 6px).
   Placed at the end so it overrides the base button styles. */
.company-page-new .company-hero__button,
.company-page-new .company-join__button {
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 11px 15px;
  font-family: "Poppins", sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #0f0b25;
  background: #33c6cc;
  border: 0;
  border-radius: 6px;
}

.company-page-new .company-hero__button:hover,
.company-page-new .company-join__button:hover {
  background: #33c6cc;
  color: #ffffff;
}
