@media (max-width: 800px) {
  .main-image {
    width: 25% !important;
    max-width: 25vw !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }
}
.mobile-nav .mobile-lang-switcher .lang-link,
.mobile-nav .mobile-lang-switcher .lang-link:visited,
.mobile-nav .mobile-lang-switcher .lang-link:active,
.mobile-nav .mobile-lang-switcher .lang-link:hover {
  color: #fff !important;
}
/* Hide desktop lang-switcher on mobile */
@media (max-width: 800px) {
  .desktop-lang-switcher { display: none !important; }
}
/* Style the language switcher in the mobile menu */
.mobile-nav .mobile-lang-switcher {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 0 0;
  padding: 0.5rem 0;
  border-top: 1px solid #eee;
  gap: 0.5rem;
}
.mobile-nav .mobile-lang-switcher .lang-link {
  font-size: 1.1rem;
  color: ##fff;
  background: none;
  padding: 0.2rem 0.7rem;
}
.mobile-nav .mobile-lang-switcher .lang-link.active {
  font-weight: bold;
  color: #fff;
}
/* Copied from www/style.mobile.css for mobile hamburger menu and improved layout */
/* Always hide mobile-nav by default, only show on mobile via media query */
.mobile-nav {
  display: none;
}
/* style.mobile.css - Mobile-specific styles for Jekyll site with hamburger menu */

/* Hide the default navigation and show hamburger on small screens */
@media (max-width: 800px) {
  .site-nav {
    display: none;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    z-index: 1101;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 2.5rem;
    height: 0.4rem;
    background: #333;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
    left: 0;
  }
  .hamburger span:nth-child(1) {
    top: 0.4rem;
  }
  .hamburger span:nth-child(2) {
    top: 1.05rem;
  }
  .hamburger span:nth-child(3) {
    top: 1.7rem;
  }
  .hamburger.active span:nth-child(1) {
    top: 1.05rem;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 1.05rem;
    transform: rotate(-45deg);
  }
  /* Overlay for menu */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
  }
  .menu-overlay.open {
    display: block;
  }
  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    overflow-y: auto;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-nav li {
    margin-bottom: 1.2rem;
  }
  .mobile-nav a {
    color: #222;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }
  .mobile-nav a:hover {
    color: #0077ff;
  }
}
