/**
 * CSS File: interview-nav.css
 * 2026-06-16 | Final checked
 */

.p-int-hero-hdr__content {
  width: 100%;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 60px 40px 60px 20px;
  box-sizing: border-box;
}

.p-int-hero-hdr__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(0, 178, 169, 1) 0%,
    rgba(0, 178, 169, 0.95) 30%,
    rgba(0, 178, 169, 0.3) 65%,
    rgba(0, 178, 169, 0) 90%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: block;
  overflow-y: auto;
  transition: none;
  padding: 100px 0 60px;
}

.p-int-hero-hdr__nav.is-open {
  right: 0;
  visibility: visible;
  transition: right 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.p-int-hero-hdr__title {
  position: relative;
  top: -150px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 175px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.p-int-hero-hdr__lead {
  display: none;
}

.p-int-hero-hdr__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.p-int-hero-hdr__grid > p,
.p-int-hero-hdr__grid > br,
.p-int-hero-hdr__grid > a:empty,
.p-int-hero-hdr__btn > p {
  display: none;
  position: absolute;
  pointer-events: none;
  visibility: hidden;
}

.p-int-hero-hdr__btn {
  width: 85%;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: block;
}

.p-int-hero-hdr__btn-thumb {
  display: none;
}

.p-int-hero-hdr__btn-label {
  font-size: 0.75rem;
  display: block;
  margin-bottom: 2px;
  opacity: 0.9;
}

.p-int-hero-hdr__btn-name {
  font-size: 1.2rem;
  font-weight: bold;
  display: block;
}

@media screen and (min-width: 768px) {
  .p-int-hero-hdr__content {
    text-align: left;
    justify-content: flex-end;
    padding-right: 5%;
  }

  .p-int-hero-hdr__nav {
    position: relative;
    top: auto;
    right: -10px;
    width: auto;
    height: auto;
    visibility: visible;
    border-radius: 20px;
    padding: 5px;
    overflow: visible;
  }

  .p-int-hero-hdr__title {
    font-size: 4.8rem;
    margin-bottom: 0px;
    top: -50px;
    text-align: left;
    line-height: 1.1;
  }

  .p-int-hero-hdr__lead {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
    text-align: left;
    margin: 0;
    padding: 20px;
  }

  .p-int-hero-hdr__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
    padding: 30px 40px;
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
    border-radius: 20px;
    visibility: visible;
    opacity: 1;
  }

  .p-int-hero-hdr__grid > p {
    display: block;
    position: static;
    pointer-events: auto;
    visibility: visible;
  }

  .p-int-hero-hdr__btn {
    width: auto;
    padding: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    transition:
      transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      opacity 0.3s ease;
  }

  .p-int-hero-hdr__btn:hover {
    transform: translateX(12px);
    opacity: 0.85;
  }

  .p-int-hero-hdr__btn-thumb {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
  }

  .p-int-hero-hdr__btn-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .p-int-hero-hdr__btn:hover .p-int-hero-hdr__btn-thumb img {
    transform: scale(1.15);
  }

  .p-int-hero-hdr__btn-label {
    font-size: 0.85rem;
  }

  .p-int-hero-hdr__btn-name {
    font-size: 1.2rem;
  }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  .p-int-hero-hdr__title {
    top: 10px;
  }
}
