.site-header {
background-color: var(--color-bg-primary);
box-shadow: var(--shadow-light);
position: sticky;
top: 0;
z-index: 1000;
padding: 1rem 0;
transition: all 0.3s ease;
}
.header-container {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
} .site-branding-inner {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: nowrap;
min-height: 60px;
}
.custom-logo-link {
display: block;
flex-shrink: 0;
line-height: 0;
}
.custom-logo-link .round-logo,
.site-logo .custom-logo {
border-radius: 50%;
object-fit: cover;
display: block;
width: 55px;
height: 55px;
box-shadow: var(--shadow-light);
border: 2px solid var(--color-sky-light);
transition: transform 0.3s ease, box-shadow 0.3s ease;
background-color: var(--color-bg-primary);
}
.custom-logo-link:hover .round-logo {
transform: scale(1.05);
box-shadow: var(--shadow-medium);
}
.custom-logo-link:focus {
outline: 2px solid var(--color-sky-base);
outline-offset: 2px;
border-radius: 50%;
}
.custom-logo-link:focus .round-logo {
transform: scale(1.05);
}
.site-title-wrapper {
flex: 1;
min-width: 0;
}
.site-title {
font-size: 1.75rem;
margin: 0;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.site-title a {
color: var(--color-sky-dark);
text-decoration: none;
}
.site-title a:hover {
color: var(--color-sky-base);
text-decoration: none;
}
.site-description {
color: var(--color-text-secondary);
font-size: 0.875rem;
margin: 0.25rem 0 0;
line-height: 1.3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} @media (max-width: 992px) {
.site-branding-inner {
gap: 0.875rem;
min-height: 55px;
}
.custom-logo-link .round-logo,
.site-logo .custom-logo {
width: 45px;
height: 45px;
}
.site-title {
font-size: 1.5rem;
}
.site-description {
font-size: 0.8125rem;
}
}
@media (max-width: 768px) {
.header-container {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 1rem;
position: relative;
}
.site-branding {
flex: 1;
min-width: 0;
display: flex;
align-items: center;
}
.site-branding-inner {
gap: 0.75rem;
min-height: 50px;
flex-wrap: nowrap;
width: 100%;
}
.custom-logo-link .round-logo,
.site-logo .custom-logo {
width: 40px;
height: 40px;
border-width: 1.5px;
}
.site-title {
font-size: 1.25rem;
white-space: normal;
line-height: 1.3;
overflow: visible;
}
.site-description {
display: none;
}
.main-navigation {
display: flex;
align-items: center;
justify-content: flex-end;
flex-shrink: 0;
width: auto;
margin: 0;
order: 2;
} .primary-menu {
animation: none !important;
}
}
@media (max-width: 480px) {
.site-branding-inner {
gap: 0.625rem;
min-height: 45px;
}
.custom-logo-link .round-logo,
.site-logo .custom-logo {
width: 36px;
height: 36px;
}
.site-title {
font-size: 1.125rem;
line-height: 1.25;
}
.header-container {
gap: 0.75rem;
}
}
@media (max-width: 768px) and (orientation: landscape) {
.site-branding-inner {
min-height: 40px;
}
.custom-logo-link .round-logo,
.site-logo .custom-logo {
width: 35px;
height: 35px;
}
.site-title {
font-size: 1.125rem;
}
.primary-menu {
max-height: 60vh;
overflow-y: auto;
}
} @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.custom-logo-link .round-logo,
.site-logo .custom-logo {
border-width: 1px;
}
}