.research-authors-container {
    margin-top: 0;
}
.research-authors-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #1a3d2f !important;
    margin-bottom: 8px;
}
.research-authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0px 20px;
    align-items: start;
}
.author-item {
    margin: 6px 0;
}
.author-link {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95em;
}
.author-icon {
    font-size: 1.1em;
    flex-shrink: 0;
}
.author-name {
    overflow: hidden;
    text-overflow: ellipsis;
}
.reviewed-section {
    display: none;
    background: #f7f7f7;
    margin: 0 -15px;
    padding: 20px 15px 0;
}
.reviewed-content {
    font-size: 1em;
    color: #2d4739;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}
.reviewed-by-container {
    flex: 0 0 auto;
    min-width: 250px;
}
.reviewer-section-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #1a3d2f !important;
    margin-bottom: 8px;
}
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.reviewer-image {
    flex-shrink: 0;
}
.reviewer-image img {
    width: 50px;
    height: auto;
    border-radius: 4px;
    display: block;
}
.reviewer-link {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 1.05em;
}
.reviewer-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}
.sidebar-navigation {
    display: none;
    width: 230px;
    margin: 24px 32px 24px 0;
    z-index: 20;
    position: absolute;
    top: 100px;
}
.sidebar-index-nav {
    /* Navigation styles can be added here if needed */
}
.sidebar-index-list {
    list-style: none;
    padding-left: 0;
}
.sidebar-section {
    font-size: 1.1em;
    margin-top: 3.5em;
    font-weight: 700;
    color: #1a3d2f !important;
    text-align: left;
}
.sidebar-section.last-update-section {
    margin-bottom: 6px !important;
}
.sidebar-section-content {
    margin-top: 8px;
}
.sidebar-reviewer {
    margin-bottom: 10px;
    text-align: left;
}
.sidebar-reviewer img {
    width: 50px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-bottom: 8px;
}
.sidebar-reviewer-name {
    font-weight: bold;
    font-size: 1.05em;
}
.sidebar-reviewer-title {
    font-size: 0.9em;
    color: #666;
    margin-top: 2px;
}
.researcher-list {
    /* Base styles for researcher list */
}
.researcher-item {
    margin-bottom: 2px;
}
.researcher-link {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}
.researcher-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    font-size: 1.1em;
}
.researcher-name {
    vertical-align: middle;
}
.researcher-name-part {
    display: block;
}
.researcher-name-indent {
    display: inline-block;
    text-indent: 1.8em;
}
.research-authors-sidebar {
    margin-top: 3.5em;
}
.research-authors-sidebar .section-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #1a3d2f !important;
    text-align: left;
}
.research-authors-sidebar .section-content {
    margin-top: 8px;
}
.error-message {
    color: #b00;
    font-size: 0.95em;
}
.no-researchers-message {
    color: #888;
    font-size: 0.95em;
}
.infographics-section {
    font-size: 1.1em;
    margin-top: 3.5em;
    font-weight: 700;
    color: #1a3d2f !important;
    text-align: center;
}
.infographics-content {
    margin-top: 8px;
}
.infographic-link {
    display: inline-block;
}
.infographic-image {
    max-width: 90px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.research-authors-container {
    flex: 1;
    min-width: 250px;
}
.research-authors-container .research-authors-content {
    margin-top: 15px;
}


:root {
    --primary-color: #1a3c34;
    --accent-color: #3d8f73;
    --bg-light: #f5f9f6;
    --font-family: 'Segoe UI', sans-serif;
}
.page h2, h2 a, #page  h2 {
    font-size: 20px ! important;
}
.lp-menu-bar, .lp-header-middle, .lp-menu-bar.lp-header-full-width-st, .header-bg-color-class {
    background: linear-gradient(to right, #d9ede5, #bfd8ce) ! important;
}
.lp-menu-bar {
    padding-bottom: 5px ! important;
}
.header-filter.pos-relative {
    margin-bottom: 0 ! important;
}
.logo {
    font-size: 20px;
    font-weight: bold;
    color: black;
  }
.lp-search-toggle {
    display: none;
}
.input-group.width-49-percent.margin-right-15 input.form-control {
    padding-left: 20px ! important;
}

body {
    margin: 0;
    font-family: var(--font-family) ! important;
    background-color: white;
    color: #222;
}
    
.search h3 span, h1, h2, h3, .h1-symptom, .search h3, h3 a, .search h2, h2 a {
  font-family: var(--font-family) ! important;
}

.trust-section h2 {
    text-align: left;
    font-size: 24px;
}
h2 {
    text-align: center;
    font-size: 20px;
}

.listing-second-view .post-meta-info {
    /*background-color: #c9efc7 ! important;*/
    background-color: white !important;
    border-bottom: none !important;
    position: relative !important;
}
.listing-second-view .post-meta-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px; /* thicker */
    background-color: #4c555b; /* original color */
}

.aff-top-link {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    margin-top: 30px;
}
.aff-top-link img {
    width: 120px;
}
.single-inner-container {
    padding-top: 10px ! important;
}
.symptom-can-help-header {
    font-size: 28px;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
}
.symptom-details-link {
    color: #337ab7;
    font-size: 12px;
}
.search h3 {
    font-size: 26px !important;
    text-align: center !important;;
    --font-family: 'Segoe UI', sans-serif ! important;
}
.search h3 span {
    font-size: 26px !important;
    --font-family: 'Segoe UI', sans-serif ! important;
    color: #1a3d2f !important;
}

.single h3 a {
    color: #337ab7;
}
.ing-box h3 {
    text-align: center;
}
.symptoms-intro {
  margin-top: 30px;
  text-align: center;
}
.symptom-link-items, .symptom-link-items:hover {
    display: contents;
    color: inherit;    
}
.symptom-header {
    /*text-align: center;*/
    margin-top: 40px;
}
#sidebar {
    display: none;
}
.listing-second-view .post-meta-info {
    padding-top: 40px ! important;
    padding-bottom: 20px ! important;
}
/* override symptom-can-help-header H1 color */
h1.symptom-can-help-header {
  color: #1a3d2f; /* e.g. #e74c3c */
}
h3, h3 a, .lp-h3, .lp-h3 a, #page  h2 {
    font-family: Quicksand;
    color: #1a3d2f !important;
}

/* Override link base colors and hover transition */
a {
    color: #2d5f5d !important;
    transition: color 0.2s ease;
}
a:hover {
    color: #3b807d !important;
}

#read-more-popup {
    align-items: center;
    /*background: #fff;*/
    display: none;
    /*display: flex;*/
    height: 100%;
    justify-content: center;
    left: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5999999;

    transition: display .2s ease;

}
#read-more-popup-mask {

    display: block;
    background-color: rgba(0,0,0,.5);
    /*display: none;*/
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

#read-more-popup-main {
    background-color: #fff;
    height: 100%;
    overflow: hidden;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 2;
    grid-gap: 0;
    grid-gap: var(--grid-gap,0);
    display: grid;
    border-radius: .5rem;
}
.read-more-popup-header-top {

}
#read-more-popup-header {
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    padding: 4rem 2rem 0;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
}
#read-more-popup-close-button-div {
    cursor: pointer;
    height: 1.125rem;
    line-height: 1.125rem;
    position: absolute;
    right: 1.188rem;
    top: 1.188rem;
    width: 1.125rem;
    z-index: 9999;
}
.read-more-popup-close-button {
    height: 1.125rem;
    width: 1.125rem;
}
.read-more-popup-content {
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    min-height: 220px;
}
.read-more-review-text-top {
    max-height: 220px;
    height: 100%;
    padding-bottom: 1rem;
}
#read-more-review-text {
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 10px 10px;
}
#load-more-reviews, #load-more-researches {
    margin-top: 20px;
    font-family: Open Sans;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.product-image {
    position: relative;
    /*display: flex; 
    align-items: center;
    justify-content: center;*/
    overflow: hidden;
    min-width: 70%;
}
.rel-product .product-image {
    height: 270px;
    max-height: 270px;
}
.top-product-image  {
    max-width: 350px;
    max-height: 400px;
    width: auto;
    height: auto;
    display: block; 
}
.top-product-image-an {
    margin-right: 20px;    
}
.product-supp-img {
    max-width: 350px;
    max-height: 400px;
    width: auto;
    height: auto;
    display: block;
}
.product-image-img {
    width: auto;
    max-height: 100%;
    max-width: 100%;
}
.amazon-product-image-wrapper {
    width: 100%;
    overflow: hidden;
    height: 100%;
    display: flex;
    justify-content: center;
    max-height: 400px;
  }
    
.amazon-product-image {
/*    position: absolute;
    top: 0;
    left: 0;*/
    max-width: 100%;
    max-height: 100%;
    visibility: hidden;
    margin-top: auto;
    margin-bottom: auto;
  }
    
.product-amazon-img {
    position: absolute;
    bottom: 0px;
    right: 30px;
    opacity: 0.75;
    width: 90px;
}
.serving-hdr {
    font-weight: bold;
}
.product-image-and-supp-no-score {
    width: max-content;
    margin-left: auto;
    margin-right: auto;    
}
.product-image-and-supp {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    justify-content: space-between;
}
.product-image-and-supp .product-image {
    min-width: 22vw;
    max-height: 400px;

}
.product-supp {
    margin-left: 40px;
    max-height: 400px;
    overflow-y: auto;
}

.product-supp-cont {
    width: 290px;
    border: 1px solid black;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: fit-content;
    border-radius: 10px;
}

.product-supp-border-down {
    border-bottom: 1px solid black;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 5px;
}

.product-supp-inner-line2 {
    border-bottom: 2px solid black;
    padding-bottom: 3px;
}

.product-supp-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid black;
    padding-bottom: 3px;
}
.single-review-box-smaller {
	min-height: 205px ! important;
}
  
.single-review-box-smaller .score-and-person {
	margin-bottom: 20px;
}

.product-supp-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid black;
    padding-bottom: 3px;
    gap: 10px;
}

.rel-product-3 {
    display: none;
}
.product-supp-row:last-child  {
    border-bottom: 0;
}

.product-supp-name {
    flex: 3;
}
.product-supp-amount, .product-supp-daily {
    flex: 1;
}
.product-supp-daily {
    margin-left: auto; 
    text-align: right; 
}

.product-supp-footer {
    padding-top: 5px;
    font-style: italic;
}
.product-supp-amount-per-serv {
    display: inline;
    font-weight: 600;
}
.product-supp-daily-val {
    float: right;
    font-weight: 600;
}
.product-supp {
    display: flex;
}
.final-scores {
    margin-left: 20px;
    width: 300px;
}
.final-scores.symptom-score {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
}
.science-score {
    display: flex;
}
.margin-top-1 {
    margin-top: 30px;
}
.users-score {
    display: flex;
}
.score-text {
    margin-right: auto;
}
.score-explanation-text {
    padding-top: 20px;
    font-size: 13px;
    text-align: justify;
}
.user-score-number {
    border-radius: 50%;                                
}
.missing {
    border-radius: 6px;
}
.score-11 {
    background-color: #ccc;
}
.score-8, .score-9, .score-10 {
    background-color: #73cf42;
}
.score-5, .score-6, .score-7 {
    background-color: #ffbd3f;
}
.score-0, .score-1, .score-2, .score-3, .score-4 {
    background-color: #ff6874;
}
.score-number {
    display: flex;
    height: 6rem;
    width: 6rem;
    min-height: 6rem;
    min-width: 6rem;
}
.score-number-subdiv {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.score-header {
    letter-spacing: .2rem;
}
.score-explanation {
    font-style: normal;
    font-weight: 700;
}
.score-base {

}
.science-and-user-detailed {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 50px;
}
.science-detailed, .user-detailed {
    width: 100%;
    flex: 1; 
}
.user-detailed {
    margin-left: 20px;
}
.rel-product.science-detailed, .rel-product.user-detailed {
    width: 92%;
    margin-left: 20px;
    margin-top: 45px;
}
.rel-product.science-detailed .review-text, .rel-product.user-detailed .review-text {
    min-height: 14rem;
}
.helpful-yes {
    font-weight: normal;
    font-size: 12px;
    margin-top: -10px;
}

.bottom-score, .symptom-score {
    border-radius: .375rem;
    box-shadow: 0 .1875rem .625rem rgba(0,0,0,.16);
    padding: 20px;
}
.single-review-box {
    padding: 20px 20px 10px;;
    background-color: #f7fbfe;
    border-radius: .375rem;
    min-height: 240px;
    margin-top: 20px;
}
.score-and-person {
    display: flex;
    margin-bottom: 25px;
}
.review-person {
    font-weight: bold;
    margin-left: 20px;
    display: grid;
    align-items: center;
}
.orig-title {
    display: none;
}
.relevance-summary {
    display:block;
    color: black;
    font-weight: normal;
    font-size: 13px;
}
#read-more-popup-header .relevance-summary {
    display: none;
}
#read-more-popup-header .orig-title {
    display: block;
    color: black;
    font-weight: normal;
    font-size: 13px;
}
#read-more-popup-header .review-person {
    width: 80%;
}
.review-text {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    line-height: 2rem;
    min-height: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;                                
}
.research-link {
    /*margin-top: 20px;*/
    font-size: 13px;
}
.top-reviews-line.top-reviews-line-1 {
    grid-auto-columns: 97%;
}
.top-reviews-line.top-reviews-line-2 {
    grid-auto-columns: 47%;
}
.top-reviews-line, .top-symptom-line {
    display: block;
    margin-bottom: 20px;
}
.single-top-review-box {
    min-height: 150px;
}
.single-top-review-box-no-symptom-page {
    margin-top: 10px;
}

.review-read-more {
    width: 100%;
    text-align: right;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    padding: 8px;
    margin-top: 10px;
    cursor: pointer;
    -ms-transition: all .3s span ease;
    transition: all #333 easblack !important
}
.review-read-more span {
    font-size: 0.88em;
}
.review-read-more:hover {
    /*background: #333  !important;*/
}
.review-read-more span:hover {
    color: #333 !important;
}
.rel-products-top {
}
.rel-products-line-2 {
    justify-content: center;
}
.rel-products-line {
    display: block;
    width: 100%;
}
.rel-product {
}
.rel-product-name {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    min-height: 40px;
}
.rel-product-image-and-scores {
    display: flex;
    justify-content: center;
}
.rel-product-scores {
    min-width: 90px;
}
.rel-product-scores .score-header {
    width: 90px;
    text-align: center;
    margin-bottom: 5px;
    color: #7f7f7f;
}
.rel-product-scores .score-number {
    margin-bottom: 20px;
}

.rel-product-scores .score-explanation {
    display: none;
}

.rel-product-scores .score-base {
    display: none;
}

.rel-product-scores .science-score {
    flex-direction: column;
  display: flex;
  align-items: center;
}
.rel-product-scores .users-score {
    flex-direction: column;
  display: flex;
  align-items: center;
}

.trust-section h2 {
    margin-bottom: 0.1em !important;
  }
  .trust-section div {
    margin-top: 0 !important;
  }
  
  /* Ensure area below .content-white-area is white */
  .listing-second-view > *:not(.content-white-area) {
    background: #fff !important;
    background-color: #fff !important;
  }
  
  .references-section {
    margin:20px auto 40px auto;
  }

  /* FAQ section styles */
  .faq-section {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 50px;
  }
  
.faq-title {
  text-align: center;
 /* font-size: 22px;
  margin-top: 25px;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #2d5f5d;*/
}

.references-container, .faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  
}

.references-card, .faq-card {
  background-color: #f6fafd;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.references-answer {
    display:block; 
    background:none; 
    border:none; 
    box-shadow:none;
    padding-top:0; 
    text-align:left;
}

.faq-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: none;
  border: none;
  font-size: inherit;
  font-weight: bold;
  color: #2d5f5d;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: color 0.3s, text-decoration 0.3s;
  outline: none;
}
.faq-question:hover, .faq-question.open {
  color: #54afac;}

.faq-container > div:only-child {
  text-align: center;
  color: #888;
  font-style: italic;
}

.overview-section-title {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.35rem;
  font-weight: bold;
  color: #2d5f5d;
}

.faq-section-title {
  color: #1a3d2f !important;
}
.faq-review, .faq-research {
    display: none;
}
.faq-read-more {
    color: #2d5f5d;
    font-size: 13px;
    padding: 0;
}

.open-filter {
    display: inline-block !important;
}   
.app-view-filter-open .open-filter {
    display: none !important;
}
.close-filter {
    display: none ! important;
}
.app-view-filter-open .close-filter {
    display: inline-block !important;
}

@media (min-width: 1500px) {   /* desktop */
    #sidebar-navigation-index {
        display:block ! important;
    }
    
    /* Hide the reviewed-by content when sidebar is visible */
    .reviewed-by-content {
        display: none !important;
    }
}


@media (min-width: 769px) {   /* tablet horiz and desktop */
    .faq-section, .references-section {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        /*padding-left: 50px;
        padding-right: 50px;*/
      }
    
    .search h1 {
        padding-top: 60px;
        font-size: 30px;
        text-align: center;
    }
    #read-more-popup-main {
        box-shadow: 0 2px 16px 0 rgba(0,0,0,.15);
        grid-template-rows: min-content 1fr min-content;
        height: auto;
        max-height: calc(100% - 12.5rem);
        max-width: calc(100% - 12.5rem);
        opacity: 0;
        transition: opacity .2s ease;
        width: 680px;
        /*opacity: 1;*/
        grid-template-rows: none;
    }

    #read-more-popup-close-button-div {
        height: .75rem;
        line-height: .75rem;
        right: 1.875rem;
        top: 1.875rem;
        width: .75rem;
    }
    .read-more-popup-close-button {
        height: .75rem;
        width: .75rem;
    }
}


@media ((min-width: 769px) and (max-width: 1150px)) { /* tablet horiz */
    .single-inner-container.single_listing {
        width: 95vw;

    }
    .lp-menu-bar .lp-logo-container {
        width: 33.33% ! important;
        float: left !important;
    }
    .header-right-panel {
        width: 66.66% ! important;
        float: left !important;
    }
    header.lp-header-full-width .lp-menu-bar .header-filter {
        width: 100% !important;
    }
    h1.symptom-can-help-header {
        margin-bottom: 30px;
    }
    .product-image-and-supp .product-image {
        max-width: 33%;
        /*min-width: 30vw;*/
    }
    .final-scores {
        margin-left: 5px;
        width: 270px;
        max-width: 26%;    
    }
    .final-scores.symptom-score {
        width: 100%;
        max-width: 100%;
    }
    .top-symptom-line {
        grid-auto-columns: 32% 32% 32%;
    }
    .rel-products-line {
        width: 95%;
    }
    #read-more-review-text {
        margin: 0 10px;
    }
    .product-supp {
        margin-left: 20px;
        max-width: 25%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {  /* small tablet vert */

    .products-comparison-table .score-text,
    .products-comparison-table .score-header,
    .products-comparison-table .score-explanation,
    .products-comparison-table .score-base,
    .products-table-view .score-text,
    .products-table-view .score-header,
    .products-table-view .score-explanation,
    .products-table-view .score-base {
        display: none !important;
    }

    .product-table-img-override {
        width: 16px !important;
        height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
        object-fit: cover !important;
        vertical-align: middle !important;
        display: inline-block !important;
    }

    .top-reviews-line, .top-symptom-line {
        /*width: 95%;*/
    }


    .lp-menu-bar .row .lp-logo-container {
        width: 40% ! important;
        float: left !important;
    }
    .header-right-panel {
        width: 60% ! important;
        float: left !important;
    }
    header.lp-header-full-width .lp-menu-bar .header-filter {
        width: 95% !important;
    }

    .lp-menu-bar.header-bg-color-class .fullwidth-header .header-filter .search-form-field.input-group.width-49-percent.margin-right-15.hide-where {
        width: 95% !important;
    }

    .review-filter li {

    }
    .science-detailed, .user-detailed {
        width: 48%;
    }
    .science-and-user-detailed {
        /*padding: 0 2vw;*/
    }
    h1, h3 {
        text-align: center !important;
    }
    h1.symptom-can-help-header {
        margin-bottom: 30px;
    }
    .final-scores {
        margin-left: 5px;
        width: 270px;
        max-width: 28%;    
    }
    .top-product-image {
        /*max-width: 100%;*/
    }
    .product-image-and-supp {
        max-width: 100%;
    }
    .product-image-and-supp .product-image {
        max-width: 33%;
        /* min-width: 35vw; */
    }
    .final-scores {
        margin-left: 5px;
    }
    .review-person {
        font-size: 13px;
        min-height: 50px;
    }
    .relevance-summary {
        display: none;
    }    
    .score-number {
        height: 5rem;
        width: 5rem;
        min-height: 5rem;
        min-width: 5rem;
    }
    .product-supp {
        margin-left: 10px;
    }
    .symptom-score {
        border: 0;
        padding: 0;
        box-shadow: none;
        display: grid;
        width: 95vw;
        grid-auto-flow: column;
        grid-auto-columns: 45% 45%;
        gap: 3rem;
    }
    .symptom-score .users-score, .symptom-score .science-score {
        border-radius: .375rem;
        box-shadow: 0 .1875rem .625rem rgba(0,0,0,.16);
        padding: 20px;
        margin-top: 0 ! important;
    }

    .top-symptom-line {
        grid-template-columns: 1fr 1fr; /* Two columns for the bottom row */
        grid-template-rows: auto auto; /* Two rows */
        grid-auto-flow: row; /* Stack elements in rows */
    }

    .top-symptom-line > div:first-child {
        grid-column: span 2; /* Make the first div take the full row */
    }
    .read-more-review-text-top {
        max-height: 100%;
    }
    .rel-products-line {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: repeat(2, auto);
        grid-auto-columns: initial;
        grid-gap: 5px;
    }
    .rel-product-3 {
        display: block;
    }
    .rel-product-scores {
        min-width: 100px;
    }        
    .score-text {
        margin-right: 0;
    }
    .bottom-score .score-number, .final-scores .score-number {
        margin-left: auto;
    }
    #read-more-popup {
        top: 65px;
    }
    #read-more-popup {
        height: 50%;
        top: 25%;
        width: 80%;
        left: 10%;
    }
    #read-more-review-text {
        margin: 20px 20px;
    }
}

@media (max-width: 480px) {  /* mobile vert */
    .amazon-product-image, .product-image-and-supp .product-image {
        max-height: 280px;
    
    }
    
    .reviewed-section {
        display: block;
    }
    .product-image-and-supp {
        flex-direction: column;
        width: 100%;
    }
    .product-image-and-supp .product-image,
    .product-image-and-supp .product-supp {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    .lp-logo {
        display: flex;
        align-items: center;
        min-height: 50px;
        width: 100% ! important;
    }
    .lp-header-full-width .lp-menu-bar .lp-logo-container {
        padding: 0 ! important;
    }
    .lp-menu-bar {
        padding-bottom: 5px ! important;
    }
    .lp-menu-bar .row .lp-logo-container {
        width: 40vw ! important;
        float: left !important;
        padding-top: 0 !important;
    }
    .listing-second-view .post-meta-info {
        padding-top: 75px !important;
    }
    .lp-search-toggle {
        display: block;
    }
    .header-right-panel {
        display: none;
        padding: 0 !important;
        width: 100%;
    }
    .page .page-container-second {
        padding-top: 130px ! important;
    }
    .listing-app-view .post-meta-info.meta_info_top_40 {
        margin-top: 0 ! important;
        padding-top: 80px ! important;
    }
    .fullwidth-header {
        min-height: 50px !important;
    }
    .header-normal.pos-relative.lp-header-full-width {
        position: fixed;
        z-index: 5;
    }
    section.aliceblue {
        z-index: initial ! important;
    }
    .aff-top-link {
        position: fixed;
        top: 2px;
        margin-top: 7px;
        right: 50px;
        z-index: 10;
        opacity: 0.9;
    }
    .aff-top-link img {
        width: 95px;
    }
        
    .product-image-and-supp .amazon-product-image-wrapper {
        aspect-ratio: initial ! important;
    }
    .top-product-image {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;      
        transform: none ! important;  
        position: initial  ! important;;
    }
    .product-image-and-supp {
        flex-direction: column;
    }
    .product-image {
        justify-content: center; 
        margin-bottom: 20px;
    }
    .lp-h4 {
        margin-bottom: 0;
    }
    ::after, ::before {
        -webkit-box-sizing: border-box;
      
        -moz-box-sizing: border-box;
      
        box-sizing: border-box;
      
      }
      .top-reviews-line, .rel-products-line, .top-symptom-line {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important; /* Ensure container is full width */
        gap: 20px !important;
      }
      .rel-product {
        width: 100% !important; /* Make sure individual products take full width */
        margin-bottom: 15px; /* Add some spacing if gap isn't sufficient */
      }

      .product-image-and-supp,
      .lp-grid-box-left .product-image-and-supp {
        display: block !important;
        flex-direction: column !important;
        width: 100% !important;
      }
      
      .lp-grid-box-left .product-image,
      .lp-grid-box-left .product-supp,
      .product-image-and-supp .product-image,
      .product-image-and-supp .product-supp {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        margin-left: 0 !important;
        display: block !important;
      }
      .product-supp {
        margin: 25px 0 0;
        width: 90vw;
      }
      .product-supp-cont {
        /*max-width: 290px;*/
        width: 100%;
    }    
    .final-scores {
        margin-left: 0;
        width: 100%;
    }
    .bottom-score .score-number, .final-scores .score-number {
        margin-left: auto;
    }
    .score-number {
        font-size: 13px;
        height: 55px;
        width: 55px;
        min-width: 55px;
        min-height: 55px;
    }    
    .read-more-review-text-top {
        max-height: 100%;
    }

    h1.symptom-can-help-header, h3 {
        text-align: center !important;
    }
    h1.symptom-can-help-header {
        font-size: 22px;
    }
    .lp-logo svg {
        max-width: 200px;
        max-height: 40px;
        width: 100%;
        height: 100%;
        aspect-ratio: 5;
    }

    .single h1 {
        text-align: left;
    }

    .search h1 {
        font-size: 24px;
        text-align: center;
    }
    .science-and-user-detailed {
        display: block;
    }
    .score-text {
        margin-right: 0;
    }
    .rel-product-image-and-scores {
        padding-left: 5vw;
    }
    #read-more-popup {
        height: 70%;
        top: 15%;
    }

    h1.orcid-profile-name {
        margin-top: 55px;
    }
}

/* Mobile Last update styles */
.mobile-last-update-section {
    display: none;
}

@media (max-width: 991px) {
    .mobile-last-update-section {
        display: block;
        margin: 0 0 15px 0;
        padding: 0;
        text-align: left;
    }
    .mobile-last-update-title {
        font-size: 1.1em;
        font-weight: 700;
        color: #1a3d2f !important;
        margin-bottom: 4px;
    }
    .mobile-last-update-date {
        font-size: 0.9em;
        color: #666;
        margin-top: 2px;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .mobile-last-update-section {
        display: none !important;
    }
}

.citation-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-clamp: 2;
  cursor: pointer;
}

.header-fixed {
    z-index: 9999 ! important;
}

@media (min-width: 768px) {
    .rel-products-line,
    .top-reviews-line, 
    .top-symptom-line {
        display: grid;
        grid-auto-columns: 33%;
        grid-auto-flow: column;
        gap: 1rem; /* Using a more common grid gap value */
    }
}
