/* ===== 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) {

  /* 1. Compact single-row navbar */
  .navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    min-height: 44px;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* Logo: icon only, no text, stays left */
  .navbar-brand {
    flex: 0 0 auto;
    padding: 0;
    margin-right: 0;
  }
  .navbar-brand img,
  .navbar-brand #u9_img {
    max-height: 24px !important;
    width: auto !important;
  }
  #u9 { width: auto !important; top: 0 !important; }

  /* Bring back the wordmark, scaled down so it doesn't crowd the hamburger/translate */
  #u19 {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    vertical-align: middle;
    margin-left: 4px;
    max-width: 140px;
    overflow: hidden;
  }
  #u19 .text { position: static !important; top: auto !important; padding: 0 !important; }
  #u19_text { line-height: 1.1 !important; }
  #u19_text p { margin: 0 !important; white-space: nowrap; font-size: 15px !important; }
  #u19_text p:first-child span { font-size: 15px !important; }
  #u19_text p:last-child { font-size: 9px !important; }
  #u19_text p:last-child span { font-size: 9px !important; }

  /* Collapse stretches to fill remaining space, controls flush right */
  .navbar-expand-lg .navbar-collapse {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* Hamburger sits right before translate */
  #u8 {
    display: flex !important;
    align-items: center;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }

  #navbar-translate-wrap {
    margin-left: 0;
    margin-right: 0.25rem;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  /* Constrain the translate gadget so it doesn't overflow */
  #navbar-translate-wrap .goog-te-gadget-simple {
    font-size: 0.65rem !important;
    padding: 1px 3px !important;
    white-space: nowrap;
    max-width: 110px;
    overflow: hidden;
  }

  #navbar-translate-wrap .goog-te-gadget-simple span,
  #navbar-translate-wrap .goog-te-gadget-simple .goog-te-menu-value span {
    font-size: 0.65rem !important;
  }

  /* Wrapper clears the compacted single-row navbar (navbar min-height 44px + 2px border) */
  .ptj-home-wrapper {
    padding-top: 46px;
  }

  /* Force the fixed header block itself to fill the same height so its navy
     background covers the full reserved space — no gap can show through,
     even if the navbar's own content height varies slightly. */
  .header_area.menu-sticky-on {
    min-height: 46px;
  }

  /* 4. Hide floating share button */
  #menu-share,
  .float#menu-share,
  .my-float-ul {
    display: none !important;
  }

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

  .ptj-hero-top-bg {
    overflow: hidden;
    border-radius: inherit;
  }

  /* 2. Hero text readability — frosted background hugs the text only, image stays visible */
  .ptj-hero-top-content {
    position: absolute;
    inset: 0;
    padding: 22rem 1rem 1rem;
    max-width: 65%;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .ptj-hero-top-content-inner {
    display: inline-block;
    padding: 0.6rem 0.75rem;
  }

  .ptj-hero-headline {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    color: #1a1a2e;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
  }

  .ptj-hero-sub {
    font-size: 0.75rem;
    color: #2a2a3e;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
  }

  /* --- 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 {
    content: none;
  }

  /* 3. Gap between cards */
  .ptj-hero-panels {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7rem;
    padding: 1.25rem 0.75rem 1.5rem;
    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: 46%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  /* Offset left/right like the desktop layout instead of stacking centered */
  .ptj-search-panel {
    margin: 0 auto 0 0.5rem;
  }

  .ptj-whatsnew-panel {
    margin: 0 0.5rem 0 auto;
  }

  .ptj-search-panel {
    padding: 0.55rem 0.75rem 0.4rem;
  }

  .ptj-search-input-wrap {
    margin-bottom: 0.4rem;
  }

  .ptj-panel-link {
    padding: 0.3rem 0 !important;
    font-size: 0.78rem !important;
  }

  .ptj-whatsnew-panel {
    padding: 0.3rem 0.6rem 0.2rem;
    border-left: 3px solid #1a4fa0;
  }

  .ptj-search-title {
    display: none;
    font-size: 1.0rem;
    margin-bottom: 0.35rem;
  }

  .ptj-whatsnew-header {
    margin-bottom: 0.1rem;
  }

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

  .ptj-whatsnew-row-link {
    padding: 0.08rem 0;
  }

  .ptj-search-input {
    font-size: 0.72rem;
    padding: 0.08rem 1.6rem 0.08rem 0.55rem;
    line-height: 1.3;
  }

  .ptj-search-icon {
    font-size: 0.85rem;
  }
}

/* ============================================================
   Responsive — mobile (≤ 575px)
   ============================================================ */
@media (max-width: 575px) {
  .ptj-hero-top {
    height: auto;
    min-height: 260px;
    overflow: visible;
  }

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

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

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

  .ptj-hero-headline {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
  }

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

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

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

  /* Shrink cards on phone widths */
  .ptj-search-panel,
  .ptj-whatsnew-panel {
    width: 52%;
  }

  .ptj-search-panel {
    padding: 0.65rem 0.75rem 0.5rem;
  }

  .ptj-search-title {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
  }

  .ptj-search-input-wrap {
    margin-bottom: 0.4rem;
  }

  .ptj-search-input {
    font-size: 0.7rem;
    padding: 0.4rem 1.8rem 0.4rem 0.7rem;
  }

  .ptj-search-icon {
    font-size: 0.8rem;
    right: 10px;
  }

  .ptj-panel-link {
    font-size: 0.7rem !important;
    padding: 0.35rem 0 !important;
  }

  .ptj-arrow {
    font-size: 0.85rem;
  }

  .ptj-whatsnew-panel {
    padding: 0.25rem 0.5rem 0.2rem;
  }

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

  .ptj-whatsnew-icon {
    font-size: 0.8rem;
  }

  .ptj-whatsnew-thumb {
    width: 26px;
    height: 20px;
  }

  .ptj-whatsnew-icon-thumb .fa {
    line-height: 20px;
    font-size: 0.75rem;
  }

  .ptj-badge-new,
  .ptj-badge-updated {
    font-size: 0.52rem;
  }

  .ptj-whatsnew-name {
    font-size: 0.62rem;
  }

  .ptj-whatsnew-arrow {
    font-size: 0.68rem;
  }
}
