/**
 * Header row swap for single project & single post templates,
 * plus the Projektarchiv page (page-id-308).
 *
 * The Oxygen header wrapper (#_header-1-35) contains two rows:
 *   - #_header_row-2-35       : large hero header (visible by default)
 *   - #_header_row-196-19     : compact sticky header (visible only when sticky)
 *
 * On these targets we flip them: hide the hero, always show the compact row.
 */

body.project-template-default #_header-1-35 #_header_row-2-35,
body.post-template-default    #_header-1-35 #_header_row-2-35,
body.page-id-308              #_header-1-35 #_header_row-2-35 {
	display: none !important;
}

/* Chained with the parent #_header-1-35 ID to outrank Oxygen's
 * `#_header-1-35.oxy-header.oxy-header .oxygen-show-in-sticky-only`
 * rule that hides the sticky row above 768px. */
body.project-template-default #_header-1-35 #_header_row-196-19,
body.post-template-default    #_header-1-35 #_header_row-196-19,
body.page-id-308              #_header-1-35 #_header_row-196-19 {
	display: block !important;
}

/* Tighten the hamburger position on these pages — the sticky row is the
 * primary header here, so the 20px top margin Oxygen sets for the scroll-in
 * sticky variant is too much. Default on other pages stays untouched. */
@media (max-width: 767px) {
	body.project-template-default #_nav_menu-8-35,
	body.post-template-default    #_nav_menu-8-35,
	body.page-id-308              #_nav_menu-8-35 {
		margin-top: 5px;
	}
}
