* {
    box-sizing: border-box;
}

header {
    background: white;
    border-bottom: 2px solid #1e3a8a;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* фиксированная высота */
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.logo {
    font-weight: 600;
    font-size: 1.8rem;
}

main, .page-content {
  padding-top: 80px; /* равное высоте шапки */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    align-items: left;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.main-nav a:hover {
    background: #e0f2ff;
}

.dropdown-content {
    position: absolute;
    top: 2rem;
    left: 0;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border-radius: 6px;
    display: flex;
    flex-direction: column; /* вертикальное направление */
}
.dropdown-content li {
    padding: 0;
}
.dropdown-content a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border-radius: 0; /* чтобы фон полностью заполнял контейнер */
}
.dropdown:hover .dropdown-content {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-content a:hover {
    background: #61bdff;
}

#mobileMenuToggle {
  display: none !important;
}
#mobileMenu {
  display: none;
}