.leafometer-container {
    --widget-font-body: #54472c;
    --widget-font-family: futura-pt, sans-serif;
    --widget-yellow: #faa63d;
    position: relative;
    padding-top: 110px;
}

.leafometer-container img {
    max-width: 100%;
}

.leafometer-container > .content {
    position: relative;
    margin-bottom: 50px;
}

.leafometer-container > .content:before {
    content: "";
    position: absolute;
    background-image: url(../png/dark-background.png);
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.leafometer-container header {
    position: relative;
    padding: 0px 15px;
    text-align: center;
    margin-bottom: 5px;
}

.leafometer-container header:before {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    width: 50%;
    height: 120px;
    background-image: url(../png/funky-lines-white.png);
    background-size: auto;
    background-repeat: repeat;
    z-index: 0;
}

.leafometer-container header:after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 0;
    width: 65px;
    height: 65px;
    background-image: url(../svg/leaf.svg);
    background-repeat: no-repeat;
    z-index: 1;
    background-size: 100% 100%;
}

.leafometer-container header h3 {
    position: relative;
    color: var(--widget-font-body);
    font-size: 30px;
    /* font-size: calc(40px + (50 - 40) * ((100vw - 320px) / (641 - 320))); */
    font-family: var(--widget-font-family);
    text-transform: uppercase;
    background: transparent;
    display: inline-block;
    line-height: 1.2;
    z-index: 1;
}

.leafometer-container > .content > .inner {
    position: relative;
    margin: 0 auto;
    display: grid;
    grid-auto-flow: row;
    max-width: 1425px;
    grid-template-columns: 100%;
}

.leafometer-container .section-slider {
    position: relative;
    padding: 0px 25px;
    margin-bottom: 40px;
}

@media (min-width: 40.063em) {
    .leafometer-container header:after {
        bottom: 10px;
        right: auto;
        width: 65px;
        height: 65px;
    }
}

@media (min-width: 40.063em) and (max-width: 64.063em) {
    .leafometer-container header {
        margin-bottom: 15px;
    }
}

@media (min-width: 64.063em) {
    .leafometer-container {
        padding-top: 30px;
    }

    .leafometer-container > .content:before {
        top: 0;
        right: 0;
        bottom: 125px;
        left: auto;
        width: 72%;
    }

    .leafometer-container > .content > .inner.with-slider {
        padding: 30px;
        grid-auto-flow: column;
        grid-template-columns: 50% 50%;
        column-gap: 50px;
    }

    .leafometer-container header h3 {
        font-size: 30px;
        margin-right: 20px;
    }

    .leafometer-container .section-slider {
        padding: 0;
    }
}

/* Leaf-O-Meter Widget */
.widget-leafometer > .inner {
    padding: 15px 20px 15px 0px;
    text-align: center;

}

.widget-leafometer > .inner.with-slider {
    padding: 15px 20px 15px 0px;
    text-align: right;
}

.widget-leafometer .status-message {
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.inner.with-slider .widget-leafometer .status-message {
    position: relative;
    padding-bottom: 15px;
    text-align: right;
}

.widget-leafometer .image-container {
    position: relative;
    margin-bottom: 10px;
}

.widget-leafometer .image-container .leafometer-image {
    width: 100%;
    max-width: 550px;
}

.widget-leafometer .image-container .leafometer-needle {
    position: absolute;
    bottom: 5%;
    right: 45%;
    transform-origin: 94% 50%;
    transform: rotateZ(0deg);
    width: 35%;
}

.widget-leafometer .status-message {
    position: relative;
    padding-bottom: 15px;
    text-align: right;
}

.widget-leafometer .status-message {
    text-align: center;
}

.inner.with-slider .widget-leafometer .status-message:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background-color: var(--widget-yellow);
}

.widget-leafometer .status-message p {
    margin: 0;
    color: var(--widget-font-body);
    font-family: var(--widget-font-family);
    font-size: 20px;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
}

.widget-leafometer {
    text-align: center;
}
.widget-leafometer > .inner {
    max-width: 550px;
    margin: 0 auto;
}

@media (min-width: 64.063em) {
    .widget-leafometer {
        text-align: unset;
    }
    .widget-leafometer > .inner {
        display: block;
        padding: 0;
        max-width: none;
    }

    .inner.with-slider .widget-leafometer > .inner {
        padding: 15px 15px 15px 0;
    }

    .widget-leafometer .image-container {
        display: inline-block;
        display: flex;
        justify-content: center;
    }

    .inner.with-slider .widget-leafometer .inner .image-container {
        width: 85%;
    }

    .inner:not(.with-slider) .widget-leafometer .image-container .leafometer-needle {
        width: 14%;
        bottom: 2%;
        right: 48%;
    }

    .widget-leafometer .status-message {
        padding-bottom: 20px;
    }

    .widget-leafometer .status-message p {
        font-size: 20px;
    }
}

/* Leaf-O-Meter Slider */
.leafometer-slider .slider-title {
    margin-bottom: 25px;
}

.leafometer-slider .slider-title h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.leafometer-slider .slick-list {
    margin: 0 -10px;
}

.leafometer-slider .slick-slide > div {
    padding: 0px 10px;
}

.leafometer-slider .slick-dots {
    position: absolute;
    top: 100%;
    left: 0;
}

.leafometer-slider .slick-dots li {
    background: rgba(211 196 166 / 80%);
}

.leafometer-slider .item .img-cont {
    margin-bottom: 10px;
}

.leafometer-slider .item .img-cont img {
    width: 100%;
}

.leafometer-slider .item .title {
    position: relative;
    padding-bottom: 10px;
    color: var(--widget-font-body);
    font-size: 18px;
    font-family: var(--widget-font-family);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.leafometer-slider .item .title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 4px;
    background-color: var(--widget-yellow);
}

.leafometer-slider .item .title i {
    color: #b94127;
}

.leafometer-slider .item .category {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

@media (min-width: 40.063em) {
    .leafometer-slider .slider-title h4 {
        font-size: 28px;
    }
    .leafometer-slider .item .title {
        font-size: 20px;
    }
}

@media (min-width: 64.063em) {
    .leafometer-slider .slider-title h4 {
        font-size: 38px;
    }
    .leafometer-slider .slick-dots {
        justify-content: flex-start;
        padding-left: 0;
    }
}