@import "../../resources/scss/util/colours";
@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";
.block-featured-expert {
padding-top: rem-calc(80);
padding-bottom: rem-calc(80);
.e-profile-block {
margin-top: rem-calc(32);
margin-bottom: 0;
}
.e-profile-block__image {
flex: 0 1 35%;
}
.e-card--split {
margin-bottom: rem-calc(20);
.e-card__tags {
margin-top: 0;
}
}
.heading {
@include fluid-type(24, 32);
}
&__articles {
margin-top: rem-calc(32);
.e-card {
border-bottom: 1px solid $lightBlue;
padding-bottom: rem-calc(30);
margin-bottom: rem-calc(30);
&:last-of-type {
border-bottom: none;
padding-bottom: 0;
margin-bottom: 0;
}
}
}
}
class FeaturedExpert {
constructor() {
this.blocks = document.querySelectorAll('.block-featured-expert');
this.init();
}
init() {
this.blocks.forEach((block) => {
});
}
}
new FeaturedExpert();