/* Full-width header with two equal-width grid columns */
.site-header {
  position: fixed;
  top:0px;
  left:0px;
  padding-top:27px;
  padding-left:27px;
  background-color: #cd122e;
  color: black;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  z-index: 5001;
}


.page-id-276 .site-header {
  background-color: white !important;
  height:138px;
  border-bottom: 1px #7E0000 solid;
}



.white-logo {
  display: block; /* Show by default */
}

.red-logo {
  display: none; /* Hide red logo by default */
}

/* On page 42, hide white logo */
.page-id-276 .white-logo {
  display: none;
}

/* On page 276, show red logo */
.page-id-276 .red-logo {
  display: block;
}

.page-id-276 .wp-block-navigation__responsive-container-open::before {
  background-image: url('/wp-content/uploads/2025/08/Nav-Bar-Red.svg'); 
}



/* Archive Page */


.page-id-272 .site-header {
  background-color: white !important;
  height:138px;
  border-bottom: 0px #7E0000 solid;
}


/* On page 272 , hide white logo */
.page-id-272 .white-logo {
  display: none;
}

/* On page 272 , show red logo */
.page-id-272  .red-logo {
  display: block;
}

.page-id-272 .wp-block-navigation__responsive-container-open::before {
  background-image: url('/wp-content/uploads/2025/08/Nav-Bar-Red.svg'); 
}




/* End Archive Page */





/* Search Page */


.page-id-274 .site-header {
  background-color: white !important;
  height:138px;
  border-bottom: 0px #7E0000 solid;
}


/* On page 272 , hide white logo */
.page-id-274 .white-logo {
  display: none;
}

/* On page 272 , show red logo */
.page-id-274  .red-logo {
  display: block;
}

.page-id-274 .wp-block-navigation__responsive-container-open::before {
  background-image: url('/wp-content/uploads/2025/08/Nav-Bar-Red.svg'); 
}




/* End Search Page */




/* Latest Brieging  Page */

.latest-breifing-title{
  font-family: 'Terza Display', sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 28px;
  color: black;
  margin-top: -20px;
}

.page-id-72 .site-header {
  background-color: white !important;
  height:138px;
  border-bottom: 1px #7E0000 solid;
}


/* On page 72, hide white logo */
.page-id-72 .white-logo {
  display: none;
}

/* On page 72, show red logo */
.page-id-72 .red-logo {
  display: block;
}

.page-id-72 .wp-block-navigation__responsive-container-open::before {
  background-image: url('/wp-content/uploads/2025/08/Nav-Bar-Red.svg'); 
}



/* END Latest Brieging  Page */


.extra-close-menu-button{
  display: relative;
  top:0px;
  right: 0px;
  height: 30px;
  width: 30px;;
}

.wp-block-navigation {
  z-index: 5; /* Lower than header */
}

.wp-block-navigation__responsive-container.is-menu-open {
  z-index: 5 !important;
}

/* Contains the blinking owl and sunday briefing logo */
.site-logo-link{
  /* background-color: pink;; */
    align-self: start; /* <-- This aligns the whole container to the top */
    display: flex;
    justify-content: flex-start;
    color:white !important;
    text-decoration: none;
    color: inherit;
    outline: none;
    box-shadow: none;
}

.site-logo-lottie-player{
    height:70px;
    width:70px;
}

/* No longer needed, but safe to keep if you use .header-inner elsewhere */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo container (left column) */
.site-logo-container {
  display: grid;
  grid-template-columns: 80px auto;
  align-items: center;
  opacity: 1;
}

/* Navigation container (right column) */
.site-navigation-container {
 align-self: start; /* <-- This aligns the whole container to the top */
  display: flex;
  justify-content: flex-start;
  margin-left: -30px;
  color:white !important;
  margin-top: 20px;
}


.wp-block-navigation-item__label .page-id-276 {
  color:#cd122e !important;
}


.site-logo-link:hover,
.site-logo-link:focus,
.site-logo-link:focus-visible,
.site-logo-link:active {
  text-decoration: none;
  color: inherit;
  outline: none;
  box-shadow: none;
}

/* Site title next to logo */
.site-title {
  font-size: 17px;
  font-family: Terza Display;
  font-weight: 400;
  color: white;
  margin: 0;
  line-height: 1.2;
  margin-left: -62px !important; /* optional, if you want it overlapping the logo */
  margin-top:-100px;
  white-space: pre-line;
}

/* Remove extra margin from nav block */
.wp-block-navigation {
  margin: 0;
}

.wp-block-navigation__responsive-container-open {
  outline: none;
  box-shadow: none;
  border: none; /* optional, if a border is being applied */
}


.wp-block-navigation__responsive-container-open svg {
  display: none !important;
}

.wp-block-navigation__responsive-container-open::before {
  content: "";
  display: inline-block;
  width: 72px;
  height: 19px;
  background-image: url('/wp-content/uploads/2025/08/BurgerMenu.svg'); 
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}



/* Optional: Responsive layout for mobile screens */
@media screen and (max-width: 768px) {
  .site-header {

  }

  .site-title{
    margin-top: -5px;
  }

.site-logo-container{
   margin-left: 0px;
}

  .site-navigation-container {
     margin-left: -10px;
  }

  /* This are needed to adjust the lottie file based on its white space / clipping */
  .site-logo-lottie-player{

  }
}
