/* HEADER SECTION - DESKTOP */
.mobile-header-section {
  display: flex;
  align-items: center;
  gap: 2em;
  margin-bottom: 2em;
}
.mobile-header-only {
  display: none;
}
.photo-mobile {
  display: none;
}
.photo-desktop {
  display: block;
}

@media (max-width: 600px) {
  .mobile-header-section {
    display: none !important;
  }
  .mobile-header-only {
    display: flex !important;
    flex-direction: column;
    width: 100%;
  }
  .photo-mobile {
    display: block !important;
    margin-top: 0.25em !important;
    margin-bottom: 0.25em !important;
    max-width: 200px;
    height: auto;
  }
  .photo-desktop {
    display: none !important;
  }
  .subtitle-role {
    font-size: 0.65em !important;
    letter-spacing: 0;
    white-space: nowrap;
  }
}
/* Gallery thumbnail styling */
.gallery-thumb {
  width: 120px;
  height: auto;
  margin: 4px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  object-fit: cover;
  transition: transform 0.2s;
}
.gallery-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
  align-items: center;
}
/* Custom logo sizes for education section */
.logo-coderslab { width: 100px; }
.logo-morska { width: 100px; }
.logo-pg { width: 100px; }

.edu-entry {
  display: flex;
  align-items: center;
  margin-bottom: 2em;
}
.edu-logo {
  flex: 0 0 auto;
  margin-right: 1.5em;
}
.edu-desc {
  flex: 1 1 0;
}

.photo-desktop {
  display: block;
}
.photo-mobile {
  display: none;
}

@media screen and (max-width: 600px) {
  .photo-desktop {
    display: none;
  }
  .photo-mobile {
    display: block;
    margin-top: 1rem;
    max-width: 200px;
    height: auto;
  }
}
