/*
 * Secondary column on page
 * --------------------------------------------------
 */

.col-second-inner {
  padding-left: (@grid-gutter-width / 2);
  border-left: solid 2px @brand;
  overflow: hidden;
}

.col-with-second {
  margin-top: 2em;
  margin-bottom: 2em;
}

/* Reset box shadows inside so not doubled-up */
.col-second-media {
  figure,
  figure img {
    .box-shadow(none);
  }

  margin-left: .px-rem(-15px)[];
  .shade;
}

.col-second-media img {
  width: 100%;
  height: auto;
}

/* Page header modifier style for when there's a second column */
.page-header-with-second {
  margin-bottom: 0;
  border-bottom: .px-rem(10px)[] solid @brand;
}

/* Reset last child padding applied to panels so left border doesn't overrun */
.col-second-inner .panel:last-child {
  margin-bottom: 0;
}
