/* Custom overrides for senior-engineer polish (resume site) */

/* ----- Mobile: profile picture in navbar ----- */
.img-profile-mobile {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
}
@media (max-width: 991.98px) {
  #sideNav .navbar-brand {
    display: flex;
    align-items: center;
  }
  #sideNav .navbar-brand .img-profile-mobile {
    border: 2px solid rgba(255, 255, 255, 0.8);
  }
}
/* Profile in About section (mobile only, via d-block d-lg-none in HTML) */
.img-profile-about-mobile {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 0.35rem solid rgba(73, 80, 87, 0.2);
}

/* ----- About: one-line key stats ----- */
.at-a-glance {
  font-family: 'Saira Extra Condensed', serif !important;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* ----- Links: subtle underline on hover ----- */
.resume-section a:not(.btn):not(.nav-link) {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.resume-section a:not(.btn):not(.nav-link):hover {
  border-bottom-color: currentColor;
}
.resume-section a:not(.btn):not(.nav-link):focus {
  outline: 2px solid #495057;
  outline-offset: 2px;
}

/* Skip link: visible when focused (keyboard nav) */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #343a40;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  outline: 2px solid #495057;
  outline-offset: 2px;
}

/* ----- Print: clean PDF/print output ----- */
@media print {
  body {
    padding-top: 0 !important;
    padding-left: 0 !important;
    color: #000;
  }
  #sideNav {
    display: none !important;
  }
  .resume-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom-color: #dee2e6;
    min-height: auto !important;
    page-break-inside: avoid;
  }
  .resume-section:last-of-type {
    border-bottom: none;
  }
  a[href^="http"]:not([href*="andrian-hubencu"]):after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #666;
  }
  .skip-link {
    display: none !important;
  }
  .btn {
    border: 1px solid #333;
  }
}

/* ----- Footer ----- */
.resume-footer {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #868e96;
  border-top: 1px solid #dee2e6;
  text-align: center;
}
.resume-footer a {
  color: #495057;
}

/* ----- Education & Reading: combined section ----- */
#education .resume-item .resume-date {
  min-width: 0;
}
@media (min-width: 768px) {
  #education .resume-item .resume-date {
    min-width: 5rem;
  }
}
#education h3.text-uppercase {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
#education #lectures {
  border-left: 1px solid #dee2e6;
}
@media (max-width: 991.98px) {
  #education #lectures {
    border-left: none;
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
  }
}
