/*
 Update style.css version to update this script's version
*/

:root {
    --main-color: #2a353a;
    --button-color: #049cdb;
    --button-hover-color: #0ba6e6;
    --button-shadow-color: #a2c5e4;
    --text-color: #4a4a4a;
    --link-color: #049cdb;
    --quote-color: #85a1b1;
    --price-hover-color: #2c87b4;
    --first-price-color: #e1f8ff;
    --breadcrumbs-color: #ff2649;
    --main-font: "Work Sans", sans-serif;
    --head-font: "Poppins", sans-serif;
    --font-size: 1.1rem;
    --excerpt-font-size: 1.2rem;
    --mob-font-size: 1rem;
    --line-height: 1.55;
    --letter-spacing: -.04rem;
    --hamburger-width: 30px;
}

/* link style */
#mvp-content-main p a, .mvp-post-add-main p a, #mvp-content-main li a {
    border-bottom: 2px solid var(--button-color);
    box-shadow: none;
    font-weight: 600;
    color: var(--link-color);
}

/* link style on hover */
#mvp-content-main p a:hover, .mvp-post-add-main p a:hover, #mvp-content-main li a:hover {
    background: #f5fafc;
}

/* shadow under navbar */
#mvp-main-nav-small {
    box-shadow: 0 1px 16px 0 rgba(0, 0, 0, 0.3);
}

/* home titles */
div > .mvp-widget-home-title span.mvp-widget-home-title {
    font-weight: 700;
    background-color: transparent;
    transform: none;
    font-family: var(--head-font);
    width: 100%;
    font-size: 1.7rem;
    color: #000;
    text-transform: initial;
    text-align: left;
    padding-left: 0;
}

/* hide the side lines on widget titles */
div > .mvp-widget-home-title::before {
    display: none;
}

/* hide more news label, do not use on PC */
.mvp-main-blog-body div > .mvp-widget-home-title {
    display: none;
}

/* lighter titles in last news widget */
.mvp-flex-story-text h2 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1rem;
    font-family: var(--main-font);
}

/* fix font size on feat6 */
#mvp-feat6-text h2 {
    font-size: 2.5rem;
}

section.mvp-widget-home:nth-child(n+2) {
    margin-top: -0.5rem;
}

/* fix homepage text overlap on News widgets */
.home .mvp-widget-feat1-wrap {
    min-height: 300px;
}
