/*
 Theme Name:   GP DRx Medical
 Theme URI:    https://drxmedical.com
 Description:  DrX Medical GeneratePress Child Theme is designed for professional health, wellness, and supplement review websites designed by DrXMedical.com.
 Author:       Dr. Michael Anderson, MD
 Author URI:   https://drxmedical.com
 Template:     generatepress
 Version:      1.1.0
*/

/* GeneratePress Site CSS */
.main-navigation {
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.gb_estimated_reading_time {
    color: #ffffff;
}
hr {
    margin-top: 20px;
    margin-bottom: 20px !important;
}
hr.wp-block-separator {
    border-bottom: none;
    color: rgba(0,0,0,.1);
}	
#wp-block-search__input-1 {
	border: 0px;
}
/* social-sharing-icon */ 
.sticky-social-icons {
     position: fixed!important;
     right:0!important;
     top: 45%!important;
}
@media (max-width: 768px){
	.comments-area {
		margin-left: 15px;
		margin-right: 15px;
		margin-bottom: 40px !important; 
	}
}

.comments-area {
    border-radius: 7px;
    border: 1px solid var(--border-color);
    max-width: 768px; 
    margin: 20px auto 40px auto !important; 
    background-color: #ffffff !important; /* Changed from #f7fafc to pure white */
}

.comment-reply-title {
    margin-top: -35px;
    margin-bottom: 40px;
    border: 1.5px solid var(--text-1);
    background: var(--background);
    padding: 4px 30px;
    border-radius: 50px;
    font-size: 22px;
    color: var(--text-1);
}

/* Main Wrapper Styling */
.wp-block-rank-math-toc-block {
    background-color: #f8f9fa; 
    border: 1px solid #e1e4e8; 
    border-radius: 8px; 
    padding: 24px;
    margin: 32px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); 
}

/* ToC Title */
.wp-block-rank-math-toc-block h2,
.wp-block-rank-math-toc-block h3 {
    margin-top: 0;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
   	padding-bottom: 12px;
	  border-bottom: 1px solid #e5e7eb;
}

/* Main List Styling */
.wp-block-rank-math-toc-block nav ul {
    list-style-type: none !important;
    padding-left: 0;
    margin: 0;
}

/* List Items Spacing */
.wp-block-rank-math-toc-block nav ul li {
    margin-bottom: 12px;
    line-height: 1.5;
	  padding-left: 20px;
}

/* Nested Lists (Subheadings like H3, H4) */
.wp-block-rank-math-toc-block nav ul ul {
    padding-left: 24px;
    margin-top: 12px;
    border-left: 2px solid #e1e4e8; /* Optional: adds a vertical line for sub-items */
}

/* Link Styling */
.wp-block-rank-math-toc-block nav ul li a {
    text-decoration: none;
    color: #3b82f6; /* Adjust to match your theme's primary color */
    transition: color 0.2s ease-in-out;
}

/* Link Hover Effect */
.wp-block-rank-math-toc-block nav ul li a:hover {
    color: #1d4ed8; 
    text-decoration: underline;
}

.rank-math-breadcrumb p,
.rank-math-breadcrumb p a {
    padding: 20px auto 20px auto;
    font-size: 13px;
    color: #ffffff;
	transition: color 0.3s ease;
}

.rank-math-list-item {
    background: #fff;
    padding: 20px 20px 2px;
    box-shadow: 0px 0px 3px #d1d8dd, 0px 0px 3px #ffffff;
    margin-bottom: 1rem;
}

.rank-math-question {
    border-bottom: 1px solid #F0F4F8;
    padding-bottom: 0.825rem;
    margin-bottom: 0.825rem;
    position: relative;
    padding-right: 40px;
}
.sticky-social-icons {
    position: fixed !important;
    right: 0 !important;
    top: 45% !important;
}

.wpjankari-social-wrapper {
    margin: 20px auto 40px auto;
    font-size: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    width: 100%;          
    max-width: 768px;  
}

.wpjankari-social-sharing {
    padding: 8px;
    margin: 4px;
    border-radius: 3px;
    flex: 1;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
   
}

.wpjankari-social-sharing:hover {
    transform: translateY(-3px);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

@media only screen and (max-width: 600px) {
    .wpjankari-social-sharing {
        display: inline-block;
		max-width: 600px
    }
}

.wpjankari-social-sharing svg {
    position: relative;
    top: 0.15em;
    display: inline-block;
}

.wpjankari-social-facebook { fill: #fff; background-color: rgba(59, 89, 152, 1); }
.wpjankari-social-twitter { fill: #fff; background-color: rgba(0, 0, 0); }
.wpjankari-social-whatsapp { fill: #fff; background-color: rgba(37, 211, 102, 1); }
.wpjankari-social-telegram { fill: #fff; background-color: rgb(2, 126, 189); }
.wpjankari-social-more { fill: #fff; background-color: rgba(0, 0, 0); }

.wp-block-quote {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 32px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.wp-block-quote::before {
    content: "★★★★★";
    display: block;
    font-size: 22px;
    color: #f59e0b; /* Gold color */
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.wp-block-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    font-style: normal; /* Removes default quote italics */
    margin-bottom: 24px;
}

.wp-block-quote cite {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    font-style: normal;
}

.wp-block-quote cite::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: 50%;
    margin-right: 12px;
    /* Draws a simple gray user icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%239ca3af' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-position: center;
    background-size: 24px;
    background-repeat: no-repeat;
}

/* 5. Add a "Verified" Badge after the name */
.wp-block-quote cite::after {
    content: "✔ Verified";
    display: inline-block;
    margin-left: 10px;
    font-size: 0.75rem;
    color: #059669; /* Emerald green */
    font-weight: 600;
    background-color: #d1fae5;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}