/* ===== PTJ New Homepage ===== */

/* Hide the decorative blue top strip on home/career/schools pages */
.top_header_area {
  display: none !important;
}

/* Suppress only the Google Translate banner iframe (not the whole container) */
#goog-te-banner-frame,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
  height: 0 !important;
}
html,
html body {
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Pin header to very top of viewport, match navbar background so no light strip shows */
.header_area.menu-sticky-on {
  top: 0 !important;
  margin-top: 0 !important;
  background-color: #424982 !important;
}

/* responsive-menu.css sets top:30px which creates white gap — override */
.navbar {
  top: 0 !important;
}

/* Google Translate wrapper — after nav items, pushed to far right on desktop */
#navbar-translate-wrap {
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 0.5rem;
}

/* Spacer on non-home pages to push content below fixed navbar */
.breadcrumb_spacer {
  height: 65px;
}

.ptj-home-wrapper {
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  padding-top: 65px; /* clear fixed navbar (no top bar) */
}

/* Tagline bar — sits just below the fixed navbar */

/* ============================================================
   TOP SECTION — people image + headline text
   ============================================================ */
.ptj-hero-top {
  position: relative;
  height: 0;
  padding-bottom: 40%; /* 793/1983 — new image aspect ratio */
  min-height: 360px;
  overflow: hidden;
}

.ptj-hero-top-bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

/* No fade — full image visible */
.ptj-hero-top-bg::after {
  content: none;
}

.ptj-hero-top-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 2.5rem 6rem;
  max-width: 560px;
}

/* "PathwaysToJobs.com / We've got you" */
.ptj-hero-tagline {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
}

/* "What can I be? ..." */
.ptj-hero-headline {
  font-size: 2.4rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.15;
  margin: 0 0 0.85rem 0;
}

/* "Explore careers, schools..." */
.ptj-hero-sub {
  font-size: 1rem;
  color: #2a2a3e;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   BOTTOM SECTION — path image
   Search panel: top-left
   What's New panel: bottom-right
   ============================================================ */
.ptj-hero-bottom {
  position: relative;
  height: 0;
  padding-bottom: 56.3%; /* 941/1672 image aspect ratio — shows full image */
  overflow: hidden;
}

.ptj-hero-bottom-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.ptj-hero-bottom-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
}

/* ---- Search Panel — top-left ---- */
.ptj-search-panel-wrap {
  position: absolute;
  z-index: 2;
  top: 1.75rem;
  left: 2rem;
}

.ptj-search-panel {
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.1rem 0.9rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  width: 280px;
}

.ptj-search-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.65rem;
}

.ptj-search-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.ptj-search-input {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  padding: 0.6rem 2.5rem 0.6rem 1rem;
  font-size: 0.9rem;
  color: #444;
  background: #fff;
}

.ptj-search-input:focus {
  outline: none;
  border-color: #1a4fa0;
}

.ptj-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 1rem;
}

/* Plain link rows */
.ptj-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
  color: #1a4fa0 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: none !important;
}

.ptj-panel-link:last-child {
  border-bottom: none;
}

.ptj-panel-link:hover,
.ptj-panel-link:focus {
  text-decoration: none !important;
  color: #1a4fa0 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  padding: 0.65rem 0 !important;
  transition: none !important;
}


.ptj-arrow {
  font-size: 1.05rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

/* ---- What's New Panel — bottom-right ---- */
.ptj-whatsnew-wrap {
  position: absolute;
  z-index: 2;
  bottom: 1.75rem;
  right: 2rem;
}

.ptj-whatsnew-panel {
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.75rem 0.3rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.20);
  width: 270px;
}

.ptj-whatsnew-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}

.ptj-whatsnew-icon {
  font-size: 0.95rem;
  color: #1a4fa0;
}

.ptj-whatsnew-header h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.ptj-whatsnew-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ptj-whatsnew-item {
  border-bottom: 1px solid #f0f0f0;
}

.ptj-whatsnew-item:last-child {
  border-bottom: none;
}

.ptj-whatsnew-row-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.ptj-whatsnew-row-link:hover {
  text-decoration: none;
  background: #f7f9ff;
  border-radius: 4px;
  color: inherit;
}

.ptj-whatsnew-thumb {
  width: 34px;
  height: 26px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ptj-whatsnew-thumb-img {
  object-fit: cover;
  object-position: center;
}

.ptj-whatsnew-icon-thumb {
  background: #eef2fa;
  display: flex;
  align-items: center;
  justify-content: center !important;
  color: #1a4fa0;
  font-size: 1rem;
  text-align: center;
}

.ptj-whatsnew-icon-thumb .fa {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 26px;
}

.ptj-whatsnew-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.ptj-badge-new,
.ptj-badge-updated {
  font-size: 0.6rem;
  font-weight: 700;
  color: #1a4fa0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ptj-whatsnew-name {
  font-size: 0.7rem;
  color: #1a1a2e;
  font-weight: 500;
  line-height: 1.25;
}

.ptj-whatsnew-arrow {
  color: #1a4fa0;
  font-size: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* ---- Footer ---- */
.ptj-footer {
  background: #0a1a4a;
  color: #fff;
  padding: 0.85rem 2rem;
}

.ptj-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ptj-footer-social {
  display: flex;
  gap: 0.85rem;
}

.ptj-footer-social a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.ptj-footer-social a:hover {
  color: #f5d87a;
}

.ptj-footer-copy p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.ptj-footer-copy a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}

/* ============================================================
   Responsive — tablet (panels stack)
   ============================================================ */
/* ============================================================
   Responsive — tablet + mobile (≤ 991px)
   ============================================================ */
@media (max-width: 991px) {

  /* On mobile keep translate compact — it sits in the flex row after the hamburger */
  #navbar-translate-wrap {
    margin-left: 0.5rem;
    margin-right: 0.25rem;
  }

  /* Navbar is taller on mobile (logo + hamburger + translate in one row) */
  .ptj-home-wrapper {
    padding-top: 100px;
  }

  /* --- Top hero --- */
  .ptj-hero-top {
    height: 280px;
    min-height: unset;
    padding-bottom: 0;
  }

  .ptj-hero-top-content {
    position: absolute;
    inset: 0;
    padding: 1rem 1rem 1rem;
    max-width: 58%;
    justify-content: center;
  }

  .ptj-hero-headline {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
  }

  .ptj-hero-sub {
    font-size: 0.75rem;
  }

  /* --- Bottom: image in background, height follows content --- */
  .ptj-hero-bottom {
    height: auto;
    padding-bottom: 0;
    overflow: visible;
  }

  .ptj-hero-bottom-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    z-index: 0;
  }

  .ptj-hero-bottom-bg::after {
    background: rgba(0,0,0,0.4);
  }

  .ptj-hero-panels {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12rem;
    padding: 1.25rem 0.75rem;
    overflow: visible;
  }

  .ptj-search-panel-wrap,
  .ptj-whatsnew-wrap {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    width: 100%;
  }

  .ptj-search-panel,
  .ptj-whatsnew-panel {
    width: 75%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .ptj-search-title {
    font-size: 1.2rem;
  }

  .ptj-whatsnew-header h3 {
    font-size: 1.1rem;
  }

  .ptj-panel-link {
    font-size: 0.9rem !important;
  }
}

/* ============================================================
   Responsive — mobile (≤ 575px)
   ============================================================ */
@media (max-width: 575px) {
  .ptj-home-wrapper {
    padding-top: 100px;
  }

  .ptj-hero-top {
    height: auto;
    min-height: 260px;
  }

  .ptj-hero-top-bg {
    background-size: cover;
    background-position: 72% top;
  }

  .ptj-hero-top-content {
    max-width: 55%;
    padding: 1rem 0.75rem 0.5rem;
  }

  .ptj-hero-tagline {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .ptj-hero-headline {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .ptj-hero-sub {
    font-size: 0.78rem;
  }

  .ptj-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .ptj-footer-social a {
    font-size: 1.5rem;
  }
}
