.votings-header{ margin-bottom: $margin-sm; @include breakpoint(medium){ margin-bottom: $margin-m; } .heading2{ font-weight: bold; } } .votings-header__main{ background-size: cover; position: relative; z-index: 0; display: flex; flex-direction: column; &::after{ content: ""; display: block; position: absolute; z-index: -1; top: 0; width: 100%; height: 100%; background-color: rgba($black, .6); } } .votings-header__container{ position: relative; z-index: 1; padding: 0 0 0 1rem; @include breakpoint(mediumlarge){ display: flex; align-items: stretch; .columns{ > *{ height: 100%; display: flex; flex-direction: column; justify-content: center; } } } } .votings-header__info{ padding: 1rem 1.5rem 1rem 1rem; text-align: center; @include breakpoint(medium){ padding: 1rem 1.5rem 1rem 1rem; } @include breakpoint(mediumlarge){ padding-left: 2rem; text-align: left; } } .votings-header__extra{ background: rgba($dark-gray, .8); color: $white; text-align: center; margin-left: auto; margin-right: auto; max-width: 16rem; padding: 1rem; margin-bottom: 1.5rem; @include breakpoint(medium){ margin-left: -1rem; margin-right: 0; margin-bottom: 0; max-width: 150%; padding: 2rem 1rem; } } .votings-header__extra-title{ display: block; font-weight: 600; font-size: 1rem; @include breakpoint(medium){ font-size: 1.1rem; } line-height: 1; } .votings-header__extra-date{ font-weight: 900; }