﻿.weblogHighlight {
    overflow: hidden;
    position: relative;
    margin: var(--mbase-spacer-xs) 0;
}

.articles--weblog---noHeader .weblogHighlight__header .weblogHighlight__thumbnail {
    display: none;
}

.articles--weblog---noHeader main {
    padding-top: var(--mbase-spacer-lg);
}

.articles--weblog---noHeader .weblogHighlight__type {
    background-color: var(--mbase-clr-theme);
    border-color: var(--mbase-clr-theme);
    margin-left: 0;
    bottom: inherit;
    top: -4px;
    z-index: 3;
}

.weblogHighlight__type {
    transition: all 0.25s ease-in-out;
    background-color: var(--mbase-clr-theme);
    border-color: var(--mbase-clr-theme);
    font-weight: var(--mbase-txt-medium);
    color: var(--mbase-clr-white);
    margin-left: calc(var(--mbase-spacer-lg) + 30%);
}

.weblogHighlight__imageWrapper {
    position: relative;
}

.weblogHighlight__imageWrapper::after {
    background: var(--mbase-clr-theme);
    background: -webkit-linear-gradient(-180deg, var(--mbase-clr-theme) 0%, var(--mbase-clr-theme-intense) 100%);
    background: linear-gradient(270deg, var(--mbase-clr-theme) 0%, var(--mbase-clr-theme-intense) 100%);
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 5px;
    z-index: 2;
}

.weblogHighlight__footerDate {
    transition: all 0.25s ease-in-out;
    font-size: var(--mbase-txtSize-7);
    line-height: var(--mbase-lnHeight-sm);
    color: var(--mbase-clr-txt-date);
}

.weblogHighlight__footerDate::before {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e007";
}

li:hover .weblogHighlight__footerDate,
a:hover .weblogHighlight__footerDate {
    color: var(--mbase-clr-link-hover);
}

.weblogHighlight__footerDate::before {
    display: inline-block;
    margin-right: var(--mbase-spacer-xxs);
}

.weblogHighlight__actions {
    display: flex;
    justify-content: space-between;
}

.weblogHighlight__actions .weblogHighlight__cta {
    transition: all 0.25s ease-in-out;
    border: 1px solid var(--mbase-clr-btn-brdr-80);
    height: var(--mbase-btn-default-height);
    border-radius: var(--mbase-btn-brdr-radius);
    font-weight: var(--mbase-txt-semibold);
    font-family: var(--mbase-fam-regular);
    font-size: var(--mbase-txtSize-6);
    color: var(--mbase-clr-link);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--mbase-spacer-reg);
    line-height: var(--mbase-lnHeight-xxs);
    text-decoration: none;
    background-color: transparent;
    border-color: transparent;
    padding: 0;
}

.weblogHighlight__actions .weblogHighlight__cta:hover {
    color: var(--mbase-clr-link-hover);
    border-color: var(--mbase-clr-btn-brdr-hover);
}

.weblogHighlight__actions .weblogHighlight__cta span {
    line-height: var(--mbase-lnHeight-xxs);
}

.weblogHighlight__actions .weblogHighlight__cta::after {
    display: none;
}

.weblogHighlight__actions .weblogHighlight__cta:hover {
    background-color: transparent;
    border-color: transparent;
}

.weblogHighlight__actions .weblogHighlight__cta::after {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e004";
}

.weblogHighlight__actions .weblogHighlight__cta::after {
    transition: all 0.25s ease-in-out;
    display: inline-block;
    margin-left: var(--mbase-spacer-xs);
}

.weblogHighlight__actions .weblogHighlight__cta:hover::after {
    margin-left: var(--mbase-spacer-sm);
}

@media (max-width: 47.98em) {
    .articles--weblog---noHeader main {
        padding-top: 0;
    }
}

@media (min-width: 48em) {
    .weblogHighlight {
        margin-right: 3%;
        flex: 0 0 calc((100% - 3% * (3 - 1)) / 3);
        max-width: calc((100% - 3% * (3 - 1)) / 3);
    }

    .weblogHighlight:nth-child(3n),
    .weblogHighlight:last-child {
        margin-right: 0;
    }

    .weblogHighlight__header {
        position: relative;
    }

    .weblogHighlight__type {
        height: 27px;
        margin-bottom: 0;
        margin-left: 0;
        bottom: 0;
        box-shadow: var(--mbase-lbl-shadow);
    }
}
