.site-heading .site-heading-upper {
  display: block;
  font-size: 1.5rem;
  font-weight: 800 !important;
}

.site-heading .site-heading-lower {
  font-size: 5rem;
  font-weight: 500 !important;
  line-height: 4rem;
}



/* Remove background image and use solid color */
body {
    background-image: none !important;
    background-color: #f8f5f0 !important;
}

/* Change faded text color */
.text-faded {
    color: #2a2318 !important;
}

/* Title Chnage color */
.text-primary {
    color: #5a8a3c !important;
}


/* Navigation Bar Background */
#mainNav {
    background-color: #5a8a3c !important;
}

/* Navbar Brand */
#mainNav .navbar-brand {
    color: #faf3f5 !important;
}

/* Navigation Links */
#mainNav .navbar-nav .nav-item .nav-link {
    color: #faf3f5 !important;
    font-weight: 800;
}

/* Active Link */
#mainNav .navbar-nav .nav-item.active .nav-link {
    color: #faf3f5 !important;
}

/* Hover Effects */
@media (min-width: 992px) {

    #mainNav .navbar-nav .nav-item .nav-link:hover {
        color: #faf3f5 !important;
        opacity: 0.8;
    }

    #mainNav .navbar-nav .nav-item.active .nav-link:hover {
        color: #faf3f5 !important;
    }
}

/* Make intro image smaller */
.intro-img {
    max-width: 650px !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

.page-section {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.bg-faded {
    background-color:#d4e6c8 !important;
}

.bg-faded1 {
    background-color: #f8f5f0 
}

.cta {
  padding-top: 2rem !important;
  padding-bottom: 0.5rem !important;
  background-color: #5a8a3c !important;
}

.cta .cta-inner {
  position: relative;
  padding: 2rem !important;
  margin: 1rem;
}

.cta .cta-inner1 {
  position: relative;
  padding: 6rem;
  margin: 0.5rem;
}
.cta .cta-inner1:before {
  border-radius: 0.5rem;
  content: "";
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
  right: -0.5rem;
  border: 0.25rem solid rgba(255, 255, 255, 0.85);
  z-index: -1;
}

.section-heading .section-heading-upper {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic
}
.section-heading .section-heading-lower {
  display: block;
  font-size: 2.5rem;
  font-weight: 100;
}

.site-heading-lower {
    text-transform: none !important;
}

.section-heading-upper {
    font-style: italic
    font-family: var(--font-display);
    line-height: 1.5;
}

.mb-01 {
  margin-bottom: 0 !important;
  font-size: 0.90rem;
}

.section-heading-lower1 {
    font-size: 2rem;
    font-weight: 100;

}

/* FILTER WRAPPER */
.filter-wrapper {
    display: flex;
    gap: 28px;
    align-items: end;
    flex-wrap: wrap;
    background: #f8f5f0;
    border: 2px solid #d7d0c5;
    border-radius: 10px;
    padding: 20px 20px;
    margin-bottom: 10px;
}

/* EACH FILTER */
.filter-group {
    flex: 1;
    min-width: 100px;
}

/* LABELS */
.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #7d7367;
}

/* DROPDOWNS */
.filter-group select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 2px solid #cfc6ba;
    background-color: white;
    font-size: 1rem;
    color: #3d342d;
}

/* RESET BUTTON */
.filter-reset button {
    padding: 10px 14px;
    border-radius: 18px;
    border: 2px solid #cfc6ba;
    background: white;
    color: #7d7367;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.filter-reset button:hover {
    background: #f3eee8;
}

/* MOBILE */
@media (max-width: 992px) {

    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-reset button {
        width: 100%;
    }
}


.badge-green,
.badge-orange,
.badge-red,
.badge-blue {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.badge-green {
    background-color: #d8f0d2;
    color: #1f6b1f;
}

.badge-orange {
    background-color: #ffe6c7;
    color: #8a4b00;
}

.badge-red {
    background-color: #f8d7cf;
    color: #8a2a18;
}

.badge-blue {
    background-color: #d7ecfb;
    color: #0b5587;
}

/* Keep badge text on one line */
.badge-green,
.badge-orange,
.badge-red,
.badge-blue {
    white-space: nowrap;
    min-width: max-content;
}

/* Give badge columns more room */
table th:nth-child(3),
table td:nth-child(3),
table th:nth-child(4),
table td:nth-child(4),
table th:nth-child(5),
table td:nth-child(5) {
    min-width: 130px;
}

.chart-card {
    background: #f8f5f0;
    border: 2px solid #d7d0c5;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    max-width: 850px;
    margin: 0 auto;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-header h2 {
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.chart-header p {
    color: #9b9287;
    font-size: 1rem;
    margin-bottom: -20px;
}

#chartDropdown {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #cfc6ba;
}

#donutChart {
    width: 100%;
    height: 420px;
    margin-top: -40px;
}

#map {
    width: 100%;
    height: 550px;
    border-radius: 22px;
    border: 2px solid #d7d0c5;
    overflow: hidden;
}

.map-legend {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #7d7367;
}

.legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-dot.green {
    background-color: #5a8a3c;
}

.legend-dot.orange {
    background-color: #d19a00;
}

.legend-dot.red {
    background-color: #c95f2b;
}

.custom-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    width: 250px !important;
}

.map-popup {
    padding: 5px;
    font-family: "Raleway", sans-serif;
}

.map-popup h3 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 750;
    color: #2a2318;
}

.popup-subtitle {
    margin: 0 0 5px 0;
    color: #7d7367;
    font-size: 0.80rem;
    line-height: 1;
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.popup-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 900px;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.2;
}

.tag-green {
    background-color: #d8f0d2;
    color: #1f6b1f;
}

.tag-orange {
    background-color: #ffe6c7;
    color: #8a4b00;
}

.tag-red {
    background-color: #f8d7cf;
    color: #8a2a18;
}

.tag-blue {
    background-color: #d7ecfb;
    color: #0b5587;
}

.popup-note {
    color: #6f675f;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.popup-link {
    color: #5a8a3c;
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.95rem;
}


.oils-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.oil-card {
    background: #f8f6f2;
    border-radius: 24px;
    padding: 10px;
    border: 2px solid #d8d1c8;
}

.bad-card {
    border-left: 5px solid #c95f2b;
}

.good-card {
    border-left: 5px solid #5a8a3c;
}

.oil-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 25px;
    font-style: normal;
    color: #2a2318;
}

.oil-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oil-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 19px;
    line-height: 1.5;
    font-size: 1rem;
    color: #3f382f;
}

.bad-icon,
.good-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 1rem;
}

.bad-icon {
    background: #f6ddd6;
    color: #8a2a18;
}

.good-icon {
    background: #d8f0d2;
    color: #1f6b1f;
}

.oil-image {
    width: 100%;
    max-width: 640px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    margin-top: 28px;
}

@media (max-width: 992px) {
    .oils-grid {
        grid-template-columns: 1fr;
    }
}

/* Pull oil images closer to the lists */
.oil-list {
    margin-bottom: 0 !important;
}

.oil-list li:last-child {
    margin-bottom: 0 !important;
}

.oil-image {
    margin-top: 12px !important;
}

.science-card {
    max-width: 950px;
    background: #f8f6f2;
    border: 2px solid #d8d1c8;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.science-title {
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 500;
    color: #2a2318;
    margin-bottom: 28px;
}

.science-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #7d7367;
    margin-bottom: 24px;
}

.voices-intro {
    font-size: 1.25rem;
    color: #7d7367;
    margin-bottom: 28px;
}

.voices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.voice-card {
    background: #f8f6f2;
    border: 2px solid #d8d1c8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.voice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eee8df;
    padding: 13px 16px;
    border-bottom: 1px solid #d8d1c8;
}

.voice-icon {
    width: 48px;
    height: 48px;
    background: #d8f0d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #2a2318;
    font-style: normal;
}

.voice-header p {
    margin: 4px 0 0;
    color: #7d7367;
    font-size: 0.95rem;
}

.voice-body {
    padding: 26px;
}

.voice-body h4 {
    color: #5a8a3c;
    font-size: 0.95rem;
    letter-spacing: 3px;
    font-weight: 750;
    margin-bottom: 12px;
}

.voice-body p {
    color: #7d7367;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .voices-grid {
        grid-template-columns: 1fr;
    }
}

.voice-source {
    margin-top: 24px;
    font-size: 0.95rem;
    color: #7d7367;
}

.voice-source a {
    color: #5a8a3c;
    text-decoration: underline;
}

.voice-source a:hover {
    color: #3f6d29;
}

.instagram-video {
    text-align: center;
    margin-top: 30px;
}

.local-video {
    width: 100%;
    max-width: 420px;
    border-radius: 22px;
    display: block;
    margin: 0 auto 18px auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.video-caption {
    color: #5a8a3c;
    text-decoration: underline;
    font-size: 1rem;
}

.video-description { 
    color: #7d7367; 
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 30px; 
    font-family: "Lora", serif;
    max-width: 1400px;
}

.video-title { 
    font-size: 2rem; 
    font-style: normal; 
    font-weight: 600; 
    color: #2a2318; 
    margin-bottom: 10px; 
}


.site-footer {
    background: #f5f2ed;
    padding: 50px 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    font-size: 1.2rem;
    color: #2a2318;
    margin-bottom: 15px;
    font-family: "Lora", serif;
}

.footer-text {
    color: #7d7367;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 35px;
}

.footer-email {
    color: #5a8a3c;
    font-size: 1rem;
    text-decoration: none;
}

.footer-email:hover {
    color: #3f6d29;
}

.footer-heading {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #8d8273;
    margin-bottom: 30px;
    font-weight: 300;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 22px;
}

.footer-links a {
    text-decoration: none;
    color: #7d7367;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #5a8a3c;
}

/* Mobile */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.sources-intro {
    color: #7d7367;
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 1300px;
    margin-bottom: 30px;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.source-card {
    display: block;
    background: #f8f6f2;
    border: 2px solid #d8d1c8;
    border-radius: 18px;
    padding: 18px;
    min-height: 155px;
    text-decoration: none;
    transition: 0.2s ease;
}

.source-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.source-card h3 {
    color: #5a8a3c;
    font-size: 1.20rem;
    line-height: 1.3;
    margin-bottom: 18px;
}

.source-card p {
    color: #b1a89c;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .sources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sources-grid {
        grid-template-columns: 1fr;
    }
}

.story-intro-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.story-intro-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    flex-shrink: 0;
}

.story-intro-text {
    max-width: 900px;
}

.story-intro-text h2 {
    font-family: "Lora", serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 200;
    color: #2a2318;
    margin-bottom: 22px;
}

.story-intro-text p {
    font-family: "Raleway", sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2a2318;
    margin-bottom: 25px;
}

/* Mobile */
@media (max-width: 992px) {
    .story-intro-section .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .story-intro-img {
        max-width: 200px;
    }

    .story-intro-text h2 {
        font-size: 2.5rem;
    }

    .story-intro-text p {
        font-size: 1.1rem;
    }
}

.surgery-section {
    background: transparent !important;
     margin-bottom: 0.5rem !important;
}

.surgery-card {
    background: #f8f5f0;
    border: 2px solid #d7d0c5;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.surgery-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.surgery-card h2 {
    font-family: "Lora", serif;
    font-size: 2rem;
    font-weight: 300;
    color: #2a2318;
    margin-bottom: 20px;
}

.surgery-card p {
    font-size: 1.20rem;
    line-height: 1.7;
    color: #7d7367;
    margin: 0;
}

.quote-card {
    background: #d4e6c8;
    border-left: 6px solid #5a8a3c;
    border-radius: 0 20px 20px 0;
    padding: 35px;
    
    height: auto;       /* removes giant empty space */
    display: inline-block;
}

.quote-text {
    font-family: "Lora", serif;
    font-size: 1.5rem;
    line-height: 1.35;
    font-style: italic;
    color: #2a2318;
    margin-bottom: 26px;
}

.quote-source {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 2px;
    color: #7d7367;
    margin: 0;
}

@media (max-width: 992px) {
    .surgery-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .surgery-card p {
        font-size: 1rem;
    }

    .quote-text {
        font-size: 1rem;
    }
}

.project-story-text {
    max-width: 1100px;
    margin: 0 auto;
}

.project-story-text h2 {
    font-family: "Lora", serif;
    font-size: 2rem;
    font-weight: 300;
    color: #2a2318;
    margin-bottom: 20px;
}

.project-story-text p {
    font-family: "Raleway", sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2a2318;
    margin-bottom: 18px;
}

.project-story-text a {
    color: #5a8a3c;
    text-decoration: underline;
}

.project-story-text em {
    font-style: italic;
}

@media (max-width: 768px) {
    .project-story-text h2 {
        font-size: 2rem;
    }

    .project-story-text p {
        font-size: 1rem;
    }
}

.project-story-section {
    margin-top: 0 !important;
}

/* Move ONLY the second heading lower */
.project-story-text h2:nth-of-type(2) {
    margin-top: 50px;
}

.checklist-section {
    background: transparent !important;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.checklist-card {
    background: #f8f5f0;
    border: 2px solid #d7d0c5;
    border-radius: 24px;
    padding: 26px 32px;
    min-height: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.checklist-card h2 {
    font-family: "Lora", serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #2a2318;
    margin-bottom: 20px;
}

.checklist-card p {
    font-family: "Raleway", sans-serif;
    font-size: 1.18rem;
    color: #7d7367;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.x-icon {
    color: #b64b1f;
    font-weight: 700;
    font-size: 1.3rem;
}

.check-icon {
    color: #5a8a3c;
    font-weight: 700;
    font-size: 1.4rem;
}

.checklist-card a {
    color: #5a8a3c;
    text-decoration: underline;
}

@media (max-width: 980px) {
    .checklist-grid {
        grid-template-columns: 1fr;
    }
}

.data-intro-section {
    margin-top: 2.5rem !important;
    margin-bottom: 0.4rem !important;
    padding-bottom: 0 !important;
}

.data-intro-text {
    font-family: "Raleway", sans-serif;
    font-size: 1.24rem;
    line-height: 1.7;
    color: #7d7367;
    margin: 0;
    max-width: 1300px;
}

.map-intro-section {
    margin-top: 2.5rem !important;
    margin-bottom: 0.4rem !important;
}

.map-intro-text {
    font-family: "Raleway", sans-serif;
    font-size: 1.24rem;
    line-height: 1.7;
    color: #7d7367;
    margin: 0;
    max-width: 1300px;
}

.site-heading {
    text-align: left !important;
    padding: 1rem 0 0.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.site-heading .site-heading-upper {
    display: block;
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    font-weight: 800 !important;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #5a8a3c !important;
    margin-bottom: 1rem !important;
}

.site-heading .site-heading-lower {
    display: block;
    font-family: "Lora", serif;
    font-size: 3.5rem;
    font-weight: 300 !important;
    line-height: 0.95;
    color: #2a2318;
    text-transform: none !important;
    margin-bottom: 1.6rem !important;
}

.interview-section {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.interview-content {
    max-width: 1300px;
    margin: 0 auto;
}

.interview-title {
    font-family: "Lora", serif;
    font-size: 2.1rem;
    font-weight: 300;
    color: #2a2318;
    margin-bottom: 10px;
}

.interview-intro {
    font-family: "Raleway", sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #7d7367;
    margin-bottom: 28px;
}

.interview-video-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.interview-video {
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.interview-card {
    background: #f8f5f0;
    border: 2px solid #d7d0c5;
    border-radius: 24px;
    padding: 35px;
}

.interview-card h3 {
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #5a8a3c;
    margin-bottom: 14px;
    margin-top: 25px;
}

.interview-card h3:first-child {
    margin-top: 0;
}

.interview-card p {
    font-family: "Raleway", sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2a2318;
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .interview-title {
        font-size: 2rem;
    }

    .interview-card {
        padding: 28px;
    }

    .interview-card p {
        font-size: 1rem;
    }
}