/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 2.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
.adsbygoogle {
    min-height: 250px;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}
.contact-link:hover {
    text-decoration: underline;
}
.medic-author-box {
    background-color: #f0f4f8; 
    border-left: 4px solid #2c3e50;
    padding: 20px;
    margin-top: 30px; 
    margin-bottom: 20px;
    border-radius: 4px;
}
.medic-source-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #2c3e50; 
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.medic-author-box p {
    font-size: 14px !important;
    margin-bottom: 5px !important;
    color: #555;
    line-height: 1.5em;
}
.medic-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.medic-section h2 {
    color: #822cea; 
    font-size: 19px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    display: inline-block;
}
.medic-section p {
    font-size: 16px;
    color: #333;
    line-height: 1.6em;
    margin-bottom: 0 !important; 
}
.medic-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.medic-section li {
    border-bottom: 1px dashed #e2e8f0;
    padding: 6px 0;
    margin-bottom: 0 !important;
    line-height: 1.5em;
}
.medic-section li:last-child {
    border-bottom: none;
}
.medic-section li p {
    margin: 0 !important;
    padding: 0 !important;
}
.medic-tree li {
    white-space: pre-wrap; 
}
.medic-section ul.clean-tree {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.medic-section ul.clean-tree li {
    list-style: none !important;
    list-style-type: none !important;
    display: block !important; 
}
.medic-section ul.clean-tree li::before,
.medic-section ul.clean-tree li::after,
.medic-section ul.clean-tree li::marker {
    content: none !important;
    display: none !important;
}
.medic-similar-list {
    column-count: 1;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
@media only screen and (min-width: 768px) {
    .medic-similar-list {
        column-count: 2;
        column-gap: 40px;
    }
}
.medic-similar-list li {
    break-inside: avoid; 
    border-bottom: 1px dashed #e2e8f0;
    padding: 6px 0;
    margin: 0 !important;
    line-height: 1.4em;
    transition: all 0.2s ease; 
}
.medic-similar-list li a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #2c3e50;
}
.medic-similar-list li:hover {
    background-color: #ffffff;   
    padding-left: 10px;          
    border-radius: 6px;          
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); 
    border-bottom-color: transparent; 
}
.medic-similar-list li:hover a {
    color: #822cea; 
    text-decoration: none;
}
.medic-price {
    font-size: 12px;
    color: #969696;
}
.medic-scroll-list { 
    max-height: 400px; 
    overflow-y: auto; 
    border: 1px solid #eee; 
    padding: 10px; 
    border-radius: 8px; 
    list-style: none; 
} 
.medic-scroll-list::-webkit-scrollbar { width: 6px; } 
.medic-scroll-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.medic-nav-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;       
    margin-bottom: 25px;
}
.medic-pill {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px; 
    color: #555;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.medic-pill:hover {
    background-color: #822cea; 
    border-color: #822cea;
    color: #ffffff !important; 
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(130, 44, 234, 0.3); 
}
.medic-pill:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(130, 44, 234, 0.2);
}
.medic-rcp-pill {
    color: #319795 !important; 
    border-color: #b2f5ea !important;
}
a.medic-pill.medic-rcp-pill:hover {
    background-color: #319795 !important; 
    border-color: #319795 !important;
    color: #ffffff !important; 
    box-shadow: 0 5px 12px rgba(49, 151, 149, 0.3) !important;
    transform: translateY(-3px); 
}
.medic-compare-pill {
    color: #dd6b20 !important;   
    border-color: #fbd38d !important; 
}
a.medic-pill.medic-compare-pill:hover {
    background-color: #dd6b20 !important; 
    border-color: #dd6b20 !important;
    color: #ffffff !important;            
    box-shadow: 0 5px 12px rgba(221, 107, 32, 0.3) !important;
    transform: translateY(-3px);
}
a.medic-pill.medic-disabled,
.medic-pill.medic-disabled {
    background-color: #f8f9fa !important;   
    color: #cbd5e0 !important;              
    border-color: #edf2f7 !important;       
    cursor: not-allowed !important;         
    box-shadow: none !important;            
    position: relative;
    pointer-events: auto; 
}
a.medic-pill.medic-disabled:hover,
.medic-pill.medic-disabled:hover {
    transform: none !important;             
    background-color: #f8f9fa !important;   
    color: #cbd5e0 !important;              
    border-color: #edf2f7 !important;       
    box-shadow: none !important;            
}
.medic-pill.medic-disabled:hover::after {
    content: attr(data-tooltip); 
    position: absolute;
    bottom: 130%;                
    left: 50%;
    transform: translateX(-50%); 
    background-color: #333;      
    color: #fff;                 
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;         
    z-index: 100;
    pointer-events: none;        
    opacity: 0;
    animation: medicFadeIn 0.2s forwards;
}
.medic-pill.medic-disabled:hover::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;      
    opacity: 0;
    animation: medicFadeIn 0.2s forwards;
}
@keyframes medicFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.medic-scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999; 
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    background-color: #822cea; 
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(130, 44, 234, 0.3);
    border: 2px solid white; 
}
.medic-scroll-btn:hover {
    background-color: #6b21c4; 
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(130, 44, 234, 0.4);
}
.medic-scroll-btn.show-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .medic-scroll-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
.medic-disclaimer {
    background-color: #fcf5ee; 
    border: 1px solid #fae6b1; 
    border-left: 4px solid #f59e0b; 
    border-radius: 6px;
    padding: 20px 25px;
    margin-top: 40px; 
    margin-bottom: 20px;
    font-size: 14px; 
}
.medic-disclaimer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #b45309; 
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.medic-disclaimer-header svg {
    min-width: 20px;
}
.medic-disclaimer-body p {
    color: #555;
    line-height: 1.6em;
    margin-bottom: 12px !important;
}
.medic-disclaimer-body p:last-child {
    margin-bottom: 0 !important;
}
.medic-disclaimer-body strong {
    color: #333;
    font-weight: 600;
}
.medic-divider {
    border: 0;
    height: 1px;
    background: #fae6b1;
    margin: 15px 0;
    opacity: 0.6;
}
.medic-feedback-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
}
.medic-content-wrap {
    position: relative;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out; 
}
.medic-content-wrap.is-collapsed {
    max-height: 280px; 
}
.medic-content-wrap.is-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(248,249,250,0), rgba(248,249,250,1));
    pointer-events: none;
}
.medic-read-more-btn {
    display: block;
    margin-top: 15px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #822cea; 
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.medic-read-more-btn:hover {
    background: #822cea;
    color: #fff;
    border-color: #822cea;
}
.medic-read-more-btn::before {
    content: "... ";
    font-weight: 800;
    letter-spacing: 1px;
}
.medic-photo-pill {
    color: #2b6cb0; 
    border-color: #bee3f8;
}
.medic-photo-pill:hover {
    background-color: #2b6cb0 !important;
    border-color: #2b6cb0 !important;
    box-shadow: 0 5px 12px rgba(43, 108, 176, 0.3) !important;
}
.medic-modal {
    display: none; 
    position: fixed; 
    z-index: 2147483647 !important; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: rgba(0,0,0,0.7); 
    backdrop-filter: blur(4px);
    justify-content: center; 
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.medic-modal.show-modal {
    display: flex !important;
    opacity: 1;
}
.medic-modal-content {
    position: relative;
    background-color: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 90%;
    animation: medicZoom 0.3s ease;
}
#medic-modal-img {
    max-width: 500px;
    max-height: 80vh;
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;

    -webkit-user-drag: none;        
    user-select: none;              
    -webkit-user-select: none;      
    -webkit-touch-callout: none;    
    pointer-events: auto;           
}
.medic-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.medic-close:hover {
    transform: scale(1.1);
    color: #c0392b;
}
@keyframes medicZoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}
.medic-section {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 16px;
    max-width: 100%;
}
.medic-section .medic-text-bold { 
    font-weight: 700; 
    color: #2c3e50; 
}
.medic-section .medic-text-underline { 
    border-bottom: 2px solid #e0e0e0; 
    text-decoration: none; 
}
.medic-section .medic-text-italic { 
    font-style: italic; 
    color: #555; 
}
.medic-section .medic-text-red { 
    color: #e74c3c; 
    font-weight: 600; 
    background-color: #fdedec;
    padding: 0 4px; 
    border-radius: 4px;
}
.medic-section .medic-title-main {
    display: block;
    font-size: 1.15em;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 2px solid #73BD1F; 
    padding-bottom: 5px;
}
.medic-section .medic-section-title {
    display: block;
    font-size: 1.1em;
    font-weight: 700;
    color: #6f29b9; 
    margin-top: 20px;
    margin-bottom: 10px;
}
.medic-section .medic-title-h1 {
    display: block;
    font-size: 1.05em;
    font-weight: 700;
    color: #2980b9; 
    margin-top: 15px;
    margin-bottom: 8px;
}
.medic-section .medic-title-h2 {
    display: block;
    font-size: 1em;
    font-weight: 600;
    color: #34495e;
    margin-top: 12px;
}
.medic-section .medic-title-h3 {
    font-weight: 700;
    text-decoration: underline;
    color: #2c3e50;
    font-size: 1em;
}
.medic-section .medic-title-h4 {
    font-weight: 600;
    color: #555;
    font-size: 0.95em;
    font-style: italic;
}
.medic-section .medic-table-wrapper {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}
.medic-section .medic-table-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
}
.medic-section th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 700;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #e1e4e8;
    text-transform: uppercase;
    font-size: 0.9em;
}
.medic-section td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}
.medic-section tr:last-child td {
    border-bottom: none;
}
.medic-section tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}
.medic-section tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}
.medic-section .medic-table-center {
    text-align: center;
}
.medic-section tr:nth-child(even) { background-color: #f3f0ff; }
.medic-section .medic-text {
    margin: 0 0 12px 0;
    padding-left: 0;
    text-align: left;
    font-size: 1em;
}
.medic-section ul {
    margin: 10px 0 20px 20px;
    padding: 0;
}
.medic-section .medic-list-item {
    padding-left: 5px;
    margin-bottom: 6px;
    position: relative;
    list-style-type: disc;
    margin-left: 20px;
    display: list-item; 
}
.medic-section .medic-list-item-level2 { 
    list-style-type: circle; 
    margin-left: 40px; 
    display: list-item;
}
.medic-section .medic-list-item-level3 { 
    list-style-type: square; 
    margin-left: 60px; 
    display: list-item;
}
.medic-section .medic-list-item-first { margin-top: 10px; margin-left: 20px; }
.medic-section .medic-list-item-last { margin-bottom: 12px; margin-left: 20px; }
.medic-section .medic-hero-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    text-align: center;
    font-size: 1.25em;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: block;
}
.medic-section .medic-composition-wrapper {
    padding-left: 0;
    font-weight: 500;
}
.medic-section .medic-composition-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding: 4px 0;
}
.medic-section .medic-inline {
    display: inline-block;
}
.medic-section .medic-link {
    color: #2980b9;
    text-decoration: none;
    font-weight: 500;
}
.medic-section .medic-link:hover {
    text-decoration: underline;
}
.medic-section ul.clean-tree {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.medic-section ul.clean-tree li {
    list-style: none !important;
    display: block !important;
}
.medic-section ul.clean-tree li::before,
.medic-section ul.clean-tree li::marker {
    content: none !important;
}
.medic-section .medic-text-sup {
    vertical-align: super;
    font-size: 0.75em;
    line-height: 0;
}
.medic-section .medic-image {
    display: block; max-width: 100%;
    height: auto;
    margin: 15px auto;
    border-radius: 4px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}