/*
 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); }