.barf-calculator-main {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e5f6fb;
}

.barf-calculator-wrapper {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 30px;
    font-family: 'Helvetica Neue', sans-serif;
}

.barf-calculator-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.barf-calculator-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.barf-slider-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.barf-slider-label {
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.barf-value {
    color: #1860d9;
    font-weight: 600;
    margin-left: 2px;
}

input[type=range] {
    width: 100% !important;
    appearance: none !important;
    height: 6px !important;
	padding: 0 !important;
    background: #1860d9 !important;
    border-radius: 3px !important;
	border: 0 !important;
    outline: none !important;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none !important;
    height: 20px !important;
    width: 20px !important;
    background: #1860d9 !important;
    border-radius: 50% !important;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    height: 20px !important;
    width: 20px !important;
    background: #1860d9 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
}

.barf-calculator-result-heading {
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    margin-top: 60px;
    font-size: 16px;
}

.barf-calculator-result {
    background-color: #2A6CBC; /* Deep blue */
    color: #fff;
    border-radius: 80px;
    padding: 30px 40px;
    margin-top: 40px;
    display: flex;
    align-items: left;
    text-align: left;
    gap: 0;
    overflow: hidden;
}

.barf-calculator-row {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.barf-calculator-result-labels {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    padding: 0 10px;
}

.barf-calculator-result-amount {
    width: 35%;
    font-size: 56px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.barf-calculator-result-note {
    width: 40%;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

/* Vertical dividers */
.barf-calculator-result > div:not(:last-child) {
    border-right: 2px solid #fff;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .barf-calculator-result {
        flex-direction: column;
        border-radius: 30px;
        padding: 20px;
    }

    .barf-calculator-result > div {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 2px solid #fff;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .barf-calculator-result > div:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .barf-calculator-result-amount {
        font-size: 42px;
    }

    .barf-calculator-result-note {
        font-size: 14px;
        padding: 0 5px;
    }
}

/* Barf posts section */

.barf-calculator-results-container {
    display: none;
    margin: 60px 0 80px 0;
    padding: 0;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s;
}

.barf-calculator-results-container.barf-visible {
    opacity: 1;
    display: flex !important;
}

h2.barf-calculator-inspiration-title {
    font-size: 28px;
    font-weight: 900 !important;
    text-transform: uppercase;
    margin-bottom: 42px;
    text-align: center;
}

.barf-calculator-results {
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.barf-post {
    background: #fff;
    border: 1px solid #C0E4ED;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    min-height: 320px;
}

.barf-post-thumbnail {
    display: flex;
    flex: 1 1 0;
    width: 100%;
    max-height: 340px;
}

.barf-post-thumbnail img {
    width: 100%;
    max-height: 340px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0px;
    display: block;
}

.barf-post-content {
    padding: 16px 29px 10px 29px;
    flex: 1 1 auto;
}

.barf-post-content img {
    display: none;
}

.barf-post-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #000000;
}

.barf-post-content h3 a {
    color: #000000;
}

.barf-post-content h3 a:hover {
   color: #000000;
}


.barf-post-content p {
    font-size: 15px;
    color: #222;
    margin: 0;
}

.barf-post-read-more {
    margin-top: auto;
    text-align: center;
    width: 100%;
}

.barf-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: rgb(255, 130, 0);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 40px;
    border: 3px solid rgb(255, 130, 0);
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 32px;
}

@media (max-width: 950px) {
    .barf-calculator-results {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .barf-calculator-results {
        grid-template-columns: 1fr;
    }
    .barf-post-thumbnail img {
        height: 120px;
    }
}
