// Partials / Block Header

.block{
  .header{
    max-width:$desktop-max-width;
    margin-left:auto;
    margin-right:auto;
    padding:0 $desktop-gutter 50px $desktop-gutter;

    &.snug{
      padding-bottom:40px;
    }

    &.full{
      p,
      li{
        max-width:100%;
      }
    }

    .title{
      max-width:550px;
      font-size:41px;
      line-height:49px;
      font-weight:500;
      margin-bottom:18px;
      color:$white;
    }

    p,
    li{
      max-width:550px;
      font-size:21px;
      line-height:32px;
      color:$blue-light;

      &.white{
        color:$white;
      }
    }
  }
}

@include breakpoint($tablet-landscape){
  .block{
    .header{
      padding-left:$desktop-gutter-tablet-landscape;
      padding-right:$desktop-gutter-tablet-landscape;

      & + .thirds{
        margin-top:-30px;
      }

      .title{
        font-size:29px;
        line-height:39px;
        max-width:400px;
      }
    }
  }
}

@include breakpoint($tablet-portrait){
  .block{
    .header{
      padding-left:$desktop-gutter-tablet-portrait;
      padding-right:$desktop-gutter-tablet-portrait;
    }
  }
}

@include breakpoint($phone){
  .block{
    .header{
      padding-left:$desktop-gutter-phone;
      padding-right:$desktop-gutter-phone;

      .title{
        font-size:29px;
        line-height:33px;
        font-weight:500;
        margin-bottom:0;
      }
    }
  }
}
