/* HepatoBurn Advertorial Styles */
body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: #f5f6fa;
    color: #333;
}

.main-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    padding: 20px;
}

.content {
    flex: 2;
    background: white;
    padding: 50px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.sidebar {
    flex: 1;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.widget-header {
    background: #2d7a79;
    color: white;
    padding: 15px;
    font-weight: bold;
    font-size: 1.1em;
}

.widget-content {
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 25px;
}

.publication {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5em;
    color: #2d7a79;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.headline-highlight {
    background: linear-gradient(120deg, #e5c100 0%, #d4b300 100%);
    padding: 4px 8px;
    border-radius: 4px;
    color: #2c3e50;
    font-weight: bold;
}

.subtitle {
    font-size: 1.2em;
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 25px;
    font-weight: bold;
}

.byline {
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #2d7a79;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.story-intro {
    font-size: 1.25em;
    color: #2d7a79;
    font-weight: bold;
    margin: 35px 0 25px 0;
    line-height: 1.4;
    text-align: center;
    background: #f0f7f7;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2d7a79;
}

.quote {
    background: #f8f9fa;
    border-left: 4px solid #2d7a79;
    padding: 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.05em;
    color: #555;
}

.section-header {
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: bold;
    margin: 45px 0 25px 0;
    border-bottom: 2px solid #2d7a79;
    padding-bottom: 12px;
}

.scientific-box {
    background: #f0f7f7;
    border: 1px solid #2d7a79;
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.highlight {
    background: #fffbeb;
    padding: 2px 6px;
    border-radius: 3px;
}

.article-image {
    text-align: center;
    margin: 25px 0;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-caption {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

.product-image {
    text-align: center;
    margin: 30px 0;
}

.product-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.cta-link {
    background: #e5c100;
    color: #2c3e50;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background: #d4b300;
    transform: translateY(-2px);
}

.results-timeline {
    background: #f8f9fa;
    padding: 30px;
    margin: 35px 0;
    border-radius: 8px;
    border-left: 4px solid #2d7a79;
}

.timeline-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.week {
    font-weight: bold;
    color: #2d7a79;
    font-size: 1.1em;
}

.guarantee-section {
    background: #f0f7f7;
    border: 2px solid #2d7a79;
    padding: 25px;
    margin: 40px 0;
    border-radius: 8px;
    text-align: center;
}

.warning-box {
    background: #fffbeb;
    border: 1px solid #d4b300;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
    text-align: center;
}

.ingredients-list {
    background: #f8f9fa;
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.final-cta {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #e5c100;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.9em;
    color: #bdc3c7;
}

.sidebar-widget a {
     color: #2d7a79;
     text-decoration: none;
}

/* Desktop (original layout) */
@media (min-width: 969px) {
    /* All default styles apply for desktop */
}

/* Mobile Optimizations */
@media (max-width: 968px) {
    .main-container {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }
    
    .content {
        padding: 25px 15px;
    }
    
    .sidebar {
        position: static;
        /* Sidebar appears AFTER content on mobile */
        order: 1;
    }
    
    .sidebar-widget {
        margin-bottom: 15px;
    }
    
    .widget-content {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8em;
        line-height: 1.3;
    }
    
    .section-header {
        font-size: 1.2em;
    }
    
    .byline {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-info {
        text-align: center;
    }
    
    .story-intro {
        font-size: 1.1em;
        padding: 15px;
    }
    
    .quote {
        padding: 15px;
        font-size: 1em;
    }
    
    .results-timeline {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 10px;
    }
    
    .content {
        padding: 20px 10px;
    }
    
    .widget-content {
        padding: 12px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .headline-highlight {
        display: block;
        margin-top: 5px;
    }
    
    .story-intro {
        font-size: 1em;
        padding: 12px;
    }
}

