.header {
    padding: 0;
    z-index: 10;
    background-image: url(/_resources/./themes/msd-webkit/dist/images/header-petal1.svg?41d618c1007905bf6828543aa5226a4a), url(/_resources/./themes/msd-webkit/dist/images/header-petal2.svg?c956760ce925fb42997f1600905d0e9c);
    background-position: top left, 100% 140px;
    background-repeat: no-repeat, no-repeat;
    background-color: rgb(0, 123, 196);
}

@media (min-width: 68.75rem) {
    .header {
        background-image: none;
    }
}

@media (forced-colors: active) {
    .header {
        background-image: none;
    }
}

.header .inner {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    padding: 0;
}

.header__internal-wrapper {
    margin: 0 auto;
    max-width: 1920px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media (min-width: 68.75rem) {
    .header .header__wrap > div {
        background-image: url(/_resources/./themes/msd-webkit/dist/images/header_bg2.svg?7a1b86cbc9b3417f41a4ab146efda3eb);
        background-repeat: no-repeat;
        background-position: right;
    }
}

.header .msd-icon__msd-webkit-logo {
    max-width: 21rem;
    width: 21rem;
    height: 9rem;
    margin-top: 0.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    padding: 1rem;
  }
  
  @media (min-width: 640px) {
    .header-left {
      display: block;
      padding-left: 0;
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
  }

.header .header-left .header__logotype {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    width: auto;
    margin-left: auto;
    padding-top: 0;
}

.header .header-left .header__logotype__heading {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0;
    line-height: 0;
    /* colour contrast */
}

.header .header-left .header__logotype__heading svg {
    fill: white;
    width: 14.75rem;
}

@media (min-width: 68.75rem) {
    .header .header-left .header__logotype__heading svg {
        width: auto;
    }
}

@media (forced-colors: active) {
    .header .header-left .header__logotype__heading svg {
        fill: windowText;
    }
}

.header .header-left .header__logotype a {
    text-decoration: none;
    color: inherit;
}

.header .header-left .header__logotype a:hover {
    background-color: transparent;
    cursor: pointer;
}

.header .header-left .header__logotype a[href^="https://"]::after,
.header .header-left .header__logotype a[href^="http://"]::after {
    background-image: none;
}

.header .header-left .header__sitetitle h1 {
    margin-bottom: 0;
}

.header .header-left .header__sitetitle a {
    text-decoration: none;
}

.header .header-logo {
    max-width: 20rem;
    display: block;
}

.header .header-logo__img {
    max-height: 4rem;
    max-width: 16.2rem;
}

.header .header-logo__link:focus img,
.header .header-logo__link:focus-visible img {
    outline: double 0.4rem #4C2C92;
    outline-offset: 0.5rem;
}

.header .header-center {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    width: auto;
}

.header .header-right {
    flex-flow: row;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

.header .header-right a.btn:active, 
.header .header-right a.btn:focus-visible {
    outline-color:#fff;
}

@media (min-width: 68.75rem) {
    .header .header-right {
        gap: 2rem;
    }
}

/* Base styles */
.header__container {
    display: flex;
    flex-direction: row;
    /* hm:flex-row */
    justify-content: center;
    /* justify-center */
    align-items: center;
    /* items-center */
    gap: 0.5rem;
    /* max-w-site (set your custom property or value) */
    margin-left: auto;
    /* mx-auto */
    margin-right: auto;
    max-width: 76rem;
}

/* Custom breakpoint for 'hm' (replace 768px with your 'hm' breakpoint) */
@media (min-width: 768px) {
    .header__container {
        display: flex;
        /* hm:flex */
        flex-direction: row;
        /* hm:flex-row */
        justify-content: space-between;
        /* hm:justify-between */
    }
}

/* Tailwind's 'lg' breakpoint is 1024px by default */
@media (min-width: 1024px) {
    .header__container {
        flex-direction: row;
        /* lg:flex-col */
    }
}

/* button */
a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 4px;  
    padding: 13px 22px;
  
    background-color: rgb(18, 31, 107);
    color: rgb(255, 255, 255);
    cursor: pointer;
    box-sizing: border-box;
  
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.25em;
    letter-spacing: 0.45px;
    text-decoration: none;
  
    border: 0 solid rgb(255, 255, 255);
    border-radius: 9999px;
  
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 0.1s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-size-adjust: 100%;
  }
  
  /* Maintain white text after visit */
  a.btn:visited {
    color: #ffffff;
  }
  
  /* Hover effects */
  a.btn:hover {
    background-color: #002244; /* workandincome-primary-dark-blue-1000 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* drop-shadow-md approximation */
    color: #ffffff;
    text-decoration: none!important;
  }
  
  /* Focus-visible outline */
  a.btn:focus-visible {
    outline: 2px solid #0a66c2; /* msd-component-building-blocks-border */
    outline-offset: 2px;
  }
  
  /* Active state */
  a.btn:active {
    background-color: #003366; /* primary-1000 */
    outline: 2px solid #0a66c2; /* msd-component-building-blocks-border */
    outline-offset: 2px;
  }
  