/* -------------------------------
   Image main container for credits
---------------------------------*/

/* position the container so the credit can be absolutely positioned */
#main .inner .image.main {
  position: relative;
}

/* bottom right overlay credit */
#main .inner .image.main > .img-credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1;
  color: #333;
  z-index: 1;
  pointer-events: none; /* so clicks pass through, optional */
}

/* -------------------------------
   Page-scoped heading overrides
---------------------------------*/
.page-consortium #main .inner h2,
.page-consortium #main .inner h3 { 
  text-transform: none !important; 
  letter-spacing: normal !important; 
}

/* -------------------------------
   Title with inline logo (old)
---------------------------------*/
.titlewithlogo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
}

.h1logo {
  width: 1.8em;
  height: 1.8em;
  transform: translateY(0.0em); /* raise or lower slightly until it looks right */
}

/* -------------------------------
   Job sticker
---------------------------------*/
.jobSticker {
  position: fixed;
  top: 100px;
  right: 100px;
  z-index: 9999;
  display: inline-block;
  transform: rotate(10deg);
  transform-origin: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, #6bc1ff 0%, #d6e4ec 100%);
  color: white; 
  -webkit-text-fill-color: white; 
  mix-blend-mode: normal; 
  text-shadow: none; 
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(9, 4, 83, 0.79);
  transition: transform 120ms ease, box-shadow 120ms ease;
  will-change: transform; 
  backface-visibility: hidden;
}

.jobSticker .jobStickerText {
  display: inline-block;
  transform: none;
  line-height: 1;
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.jobSticker:hover,
.jobSticker:focus {
  background: linear-gradient(135deg, #a7d9ff 0%, #e3eef3 100%);
  color: black !important;
  -webkit-text-fill-color: black !important;
  transform: rotate(8deg) scale(1.03);
  box-shadow: 0 14px 36px rgba(9, 47, 172, 0.62);
  outline: none;
}

.jobSticker:hover .jobStickerText,
.jobSticker:focus .jobStickerText {
  transform: rotate(0deg);
}

.jobSticker:focus {
  box-shadow: 0 0 0 4px rgba(84, 115, 200, 0.2), 0 14px 36px rgba(60, 75, 186, 0.32);
}

@media (max-width: 680px) {
  .jobSticker {
    top: 10px;
    right: 10px;
    font-size: 0.85rem;
    padding: 8px 12px;
    display: inline-block; 
  }
}

/* -------------------------------
   Header logo
---------------------------------*/
.headerlogo {
  display: block !important;       /* neutral block */
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  align-self: flex-start !important; /* stops flex centering from .inner */
}

.headerlogo img.logoimg {
  display: block !important;       
  margin: 0 auto !important;       /* horizontal centering */
  padding: 0 !important;
  width: 100%;                    
  max-width: 800px;                /* your desired max width */
  height: auto !important;
  vertical-align: top !important;  /* remove inline spacing */
}

/* -------------------------------
   Optional: logo container if needed
---------------------------------*/
.logo-container {
  display: block !important;  
  min-height: auto !important; 
  margin: 0;
  padding: 0;
}

/* -------------------------------
   Other defensive rules
---------------------------------*/
.headerlogo,
.headerlogo * {
  box-sizing: border-box !important;
}


