* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00bcd4;
    --primary-dark: #0097a7;
    --text-primary: #1f1f1f;
    --text-secondary: #5f6368;
    --text-muted: #80868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --border-color: #e8eaed;
    --accent-red: #ea4335;
    --accent-green: #34a853;
    --accent-blue: #1a73e8;
    --accent-purple: #9334e6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Top Disclosure Bar */
.top-disclosure-bar {
    background: var(--bg-tertiary);
    padding: 6px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.top-disclosure-bar span {
    font-weight: 500;
}

.top-disclosure-bar .pr-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
    padding: 0;
}

.top-disclosure-bar .pr-btn:hover {
    color: var(--primary-dark);
}

/* Header */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

/* Article Content */
.article-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.article-header {
    padding: 40px 48px 32px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-muted);
}

.category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.category-badge.health {
    background: var(--primary-color);
}

.article-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.article-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.share-btn:hover {
    background: var(--bg-tertiary);
}

.share-btn.facebook {
    color: #1877f2;
}

.share-btn.twitter {
    color: #1da1f2;
}

.share-btn.copy {
    color: var(--text-secondary);
}

/* Article Hero */
.article-hero {
    margin: 0;
}

.article-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.article-hero figcaption {
    padding: 12px 48px;
    background: var(--bg-tertiary);
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Article Body */
.article-body {
    padding: 40px 48px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body .lead {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.article-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--text-primary);
}

.article-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--text-primary);
}

.article-body ul,
.article-body ol {
    margin-bottom: 24px;
    padding-left: 0;
    list-style: none;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

/* Font Awesome icons in lists */
.article-body ul li > i.fa-solid {
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    font-size: 15px;
    text-align: center;
}

/* Food list colors */
.article-body .food-list .fa-lemon { color: #ffc107; }
.article-body .food-list .fa-seedling { color: #8bc34a; }
.article-body .food-list .fa-pepper-hot { color: #ff9800; }
.article-body .food-list .fa-leaf { color: #4caf50; }
.article-body .food-list .fa-jar { color: #fff8e1; background: #f5f5f5; border-radius: 3px; padding: 1px; }

/* Activity list colors */
.article-body .activity-list .fa-person-walking { color: #2196f3; }
.article-body .activity-list .fa-person-swimming { color: #00bcd4; }
.article-body .activity-list .fa-bicycle { color: #ff5722; }
.article-body .activity-list .fa-spa { color: #9c27b0; }
.article-body .activity-list .fa-music { color: #e91e63; }

/* Supplement list colors */
.article-body .supplement-list .fa-sun { color: #ff9800; }
.article-body .supplement-list .fa-lemon { color: #ffc107; }
.article-body .supplement-list .fa-capsules { color: #607d8b; }
.article-body .supplement-list .fa-bacteria { color: #4caf50; }

/* Ordered list - numbered circles */
.article-body ol {
    counter-reset: list-counter;
}

.article-body ol li {
    counter-increment: list-counter;
}

.article-body ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: #00bcd4;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-body strong {
    color: var(--text-primary);
}

.article-body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #e0f7fa 0%, #f0f9ff 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body blockquote p {
    font-size: 17px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.article-body blockquote cite {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-style: normal;
    color: var(--text-muted);
}

.inline-image {
    margin: 32px 0;
}

.inline-image img {
    width: 100%;
}

.inline-image figcaption {
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

.info-box {
    background: #e8f5e9;
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
}

.info-box.warning {
    background: #fff3e0;
}

.info-box h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.info-box ol,
.info-box ul {
    margin-bottom: 0;
}

.info-box p {
    margin-bottom: 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 24px 48px;
    border-top: 1px solid var(--border-color);
}

.tag-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.tag {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 32px 48px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.author-box-role {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.author-box-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.author-social {
    display: flex;
    gap: 16px;
}

.author-social a {
    font-size: 14px;
    color: var(--accent-blue);
    text-decoration: none;
}

.author-social a:hover {
    text-decoration: underline;
}

/* Related Articles */
.related-articles {
    padding: 32px 48px;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-content {
    padding: 16px;
    background: var(--bg-primary);
}

.related-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.related-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 8px 0;
    line-height: 1.4;
}

.related-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* News Feed */
.news-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 400px;
    overflow-y: auto;
}

.news-feed::-webkit-scrollbar {
    width: 4px;
}

.news-feed::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.news-feed::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.news-feed::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.feed-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
    cursor: pointer;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item:hover {
    background: var(--bg-secondary);
    margin: 0 -20px;
    padding: 14px 20px;
}

.feed-image {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.feed-content {
    flex: 1;
    min-width: 0;
}

.feed-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Feed States */
.feed-loading,
.feed-error,
.feed-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.feed-loading::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.feed-error {
    color: var(--accent-red);
}

.feed-error button {
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
}

.feed-error button:hover {
    background: var(--primary-dark);
}

/* Top Articles */
.top-articles {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-article {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.2s ease;
    pointer-events: none;
    cursor: default;
}

.top-article:last-child {
    border-bottom: none;
}

.top-article:hover {
    background: var(--bg-secondary);
    margin: 0 -20px;
    padding: 14px 20px;
}

.rank {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.top-article p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    flex: 1;
}

.top-article:hover p {
    color: var(--primary-color);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
}

.newsletter-widget .sidebar-title {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.newsletter-text {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: 2px solid rgba(255,255,255,0.5);
}

.newsletter-form button {
    padding: 12px 16px;
    background: white;
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.newsletter-form button:hover {
    background: var(--bg-tertiary);
}

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    pointer-events: none;
    cursor: default;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background: var(--bg-secondary);
    margin: 0 -20px;
    padding: 12px 20px;
}

.category-item span:first-child {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    margin-top: 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
}

.footer-text {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    color: var(--text-muted);
}

.footer-links .pr-btn {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.footer-links .pr-btn:hover {
    color: white;
}

.footer-disclaimer {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-disclaimer p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto;
}

/* Privacy Modals */
.modals-wrapper {
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 1001;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateY(-100px);
    overflow: hidden;
    max-height: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.5);
    padding: 40px 10px;
}

.modals-wrapper.active {
    opacity: 1;
    min-height: 100%;
    max-height: 100%;
    transform: translateY(0);
    overflow-y: auto;
}

.block_more_info {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 40px 40px;
    border-radius: var(--radius-md);
    line-height: 1.6;
    position: relative;
}

.block_more_info h1 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8em;
}

.block_more_info h2 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: var(--text-primary);
}

.block_more_info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.block_more_info ul {
    padding-left: 25px;
    margin: 15px 0;
}

.block_more_info li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    list-style-type: disc;
}

.pr-modal {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: 0.3s;
}

.pr-modal.active {
    display: block;
    opacity: 1;
}

.close-pr-modal {
    position: sticky;
    top: 0;
    float: right;
    background: rgba(0,0,0,0.1);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-secondary);
    transition: background 0.2s;
}

.close-pr-modal:hover {
    background: rgba(0,0,0,0.2);
}

body.modal-active {
    overflow: hidden;
}

.sub-h2-text {
    text-align: center;
    font-weight: 600;
}

@media (max-width: 800px) {
    .modals-wrapper {
        padding: 10px;
    }
    .block_more_info {
        padding: 15px 20px 30px;
    }
    .block_more_info h1 {
        font-size: 1.4em;
    }
    .pr-modal {
        max-height: calc(100vh - 20px);
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
    .footer-disclaimer p {
        font-size: 10px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }

    .article-header,
    .article-body,
    .article-tags,
    .author-box,
    .related-articles {
        padding-left: 32px;
        padding-right: 32px;
    }

    .article-title {
        font-size: 32px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sidebar-section:first-child {
        grid-column: span 2;
    }

    .news-feed {
        max-height: 300px;
    }

    .nav {
        display: none;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-disclosure-bar {
        display: none;
    }

    .header-container {
        padding: 0 16px;
    }

    .main-container {
        padding: 0;
    }

    .article-header,
    .article-body,
    .article-tags,
    .author-box,
    .related-articles {
        padding-left: 20px;
        padding-right: 20px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-subtitle {
        font-size: 17px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body .lead {
        font-size: 18px;
    }

    .article-hero img {
        height: 300px;
    }

    .article-hero figcaption {
        padding: 12px 20px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        width: 100%;
        flex-wrap: wrap;
    }

    .share-btn {
        flex: 1;
        justify-content: center;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-section:first-child {
        grid-column: span 1;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .article-body h3 {
        font-size: 18px;
    }
}

/* ===================== */
/* Share Popup (Facebook Style) */
/* ===================== */
.share-popup {
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 280px;
    z-index: 1000;
    overflow: hidden;
    animation: sharePopupIn 0.2s ease;
}

@keyframes sharePopupIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.share-popup-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.share-popup-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.share-popup-close svg {
    width: 16px;
    height: 16px;
}

.share-popup-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.share-popup-options {
    padding: 8px 0;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    color: var(--text-primary);
}

.share-option:hover {
    background: var(--bg-secondary);
}

.share-option-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.share-option-icon.facebook {
    background: #1877f2;
    color: white;
}

.share-option-icon.messenger {
    background: linear-gradient(180deg, #00b2ff 0%, #006aff 100%);
    color: white;
}

.share-option-icon.whatsapp {
    background: #25d366;
    color: white;
}

.share-option-icon.twitter {
    background: #000000;
    color: white;
}

.share-option-icon.copy {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.share-option-icon svg {
    width: 20px;
    height: 20px;
}

.share-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.share-option-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.share-option-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

/* Action buttons container - position relative for popups */
.action-buttons {
    position: relative;
}

.action-btn {
    position: relative;
}

/* ========================================
   QUIZ SECTION STYLES
======================================== */

.quiz-section {
    margin: 3rem 0;
    padding: 0;
}

.quiz-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.quiz-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.quiz-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.quiz-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.quiz-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Quiz Progress */
.quiz-progress {
    margin-bottom: 1.5rem;
}

.quiz-progress-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.quiz-steps {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.quiz-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.quiz-step-num.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quiz-step-num.completed {
    border-color: var(--accent-green);
    background: var(--accent-green);
    color: white;
}

/* Quiz Body */
.quiz-body {
    padding: 0;
    color: var(--text-primary);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Quiz Options */
.quiz-options {
    display: grid;
    gap: 0.5rem;
}

.quiz-option {
    cursor: pointer;
}

.quiz-option input {
    display: none;
}

.quiz-option-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    background: var(--bg-primary);
}

.quiz-option:hover .quiz-option-box {
    border-color: var(--primary-color);
}

.quiz-option input:checked + .quiz-option-box {
    border-color: var(--primary-color);
    background: rgba(0, 188, 212, 0.05);
}

.quiz-option-icon {
    font-size: 1.25rem;
}

.quiz-option-text {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Quiz Form Step */
.quiz-form-step {
    text-align: center;
}

.quiz-success {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.quiz-success-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.quiz-success h4 {
    font-size: 1.1rem;
    color: var(--accent-green);
    margin-bottom: 0.25rem;
}

.quiz-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Quiz Timer */
.quiz-timer-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-red);
    border-radius: var(--radius-sm);
    background: rgba(234, 67, 53, 0.05);
}

.quiz-timer-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.quiz-timer {
    display: flex;
    align-items: center;
    gap: 2px;
}

.quiz-timer-num {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1rem;
    min-width: 24px;
    text-align: center;
}

.quiz-timer-sep {
    font-weight: 700;
    color: var(--accent-red);
}

/* Quiz Prices */
.quiz-prices {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.quiz-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.quiz-price-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

/* Quiz Form */
.quiz-order-form {
    max-width: 280px;
    margin: 0 auto;
}

.quiz-form-group {
    margin-bottom: 0.5rem;
}

.quiz-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.quiz-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quiz-input::placeholder {
    color: var(--text-muted);
}

.quiz-submit-btn {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
    margin-top: 0.75rem;
}

.quiz-submit-btn:hover {
    background: var(--primary-dark);
}

/* Quiz Stock */
.quiz-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quiz-stock strong {
    color: var(--accent-red);
}

/* Diagram / Chart */
.diagram-wrap {
    max-width: 500px;
    margin: 30px auto;
}

.diagram-title {
    border-radius: 8px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #00bcd4, #26c6da);
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}

.diagram-description {
    margin: 20px 0;
    font-weight: 400;
    text-align: center;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.diagram {
    padding-left: 40px;
}

.diagram table {
    display: block;
    width: 100%;
    height: 280px;
    position: relative;
}

.diagram table::before,
.diagram table::after {
    position: absolute;
    left: -40px;
    width: 35px;
    font-weight: 500;
    text-align: right;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.diagram table::before {
    content: "100%";
    top: -9px;
}

.diagram table::after {
    content: "0%";
    bottom: -9px;
}

.diagram table tbody {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10%;
    height: 100%;
    padding: 0 30px;
    margin: 0;
    border-bottom: 2px solid var(--border-color);
    background: repeating-linear-gradient(180deg, transparent 0, var(--border-color) 0 1px, transparent 1px, transparent 20%);
}

.diagram table tbody tr {
    background: linear-gradient(180deg, #e0e0e0 0%, #9e9e9e 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    align-self: end;
    min-height: 30px;
}

.diagram table tbody tr:first-child {
    background: linear-gradient(180deg, #b2ebf2 0%, #00bcd4 100%);
}

.diagram table tbody tr::after {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.diagram table tbody tr:first-child::after {
    top: 8px;
    color: white;
}

.diagram table tbody tr:nth-child(1)::after {
    content: '92%';
}

.diagram table tbody tr:nth-child(2)::after {
    content: '5%';
}

.diagram table tbody tr:nth-child(3)::after {
    content: '8%';
}

.diagram .diagram-data {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10%;
    height: auto;
    padding: 0 30px;
    margin: 0;
    text-align: center;
}

.diagram .diagram-data div {
    width: 100%;
    font-style: normal;
    font-weight: 600;
    text-align: center;
    padding: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-primary);
}

@media screen and (max-width: 600px) {
    .diagram-wrap {
        margin: 25px auto;
    }

    .diagram-title {
        padding: 12px 16px;
        font-size: 14px;
    }

    .diagram-description {
        margin: 15px 0;
        padding: 0 10px;
        font-size: 13px;
    }

    .diagram {
        padding-left: 35px;
    }

    .diagram table {
        height: 200px;
    }

    .diagram table::before,
    .diagram table::after {
        left: -35px;
        width: 32px;
        font-size: 11px;
    }

    .diagram table tbody {
        column-gap: 8%;
        padding: 0 20px;
    }

    .diagram .diagram-data {
        column-gap: 8%;
        padding: 0 20px;
    }

    .diagram .diagram-data div {
        font-size: 12px;
    }
}

/* Product image in article - smaller */
.product-image-small {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.product-image-small img {
    width: 100%;
    height: auto;
}

/* Product image in quiz form */
.quiz-product-image {
    max-width: 200px;
    margin: 0 auto;
}

.quiz-product-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* Quiz Responsive */
@media (max-width: 640px) {
    .quiz-container {
        padding: 1.25rem 1rem;
    }

    .quiz-title {
        font-size: 1.1rem;
    }

    .quiz-question {
        font-size: 1rem;
    }

    .quiz-option-box {
        padding: 0.75rem;
    }

    .quiz-price-new {
        font-size: 1.35rem;
    }

    .quiz-product-image {
        max-width: 150px;
    }

    .product-image-small {
        max-width: 220px;
    }
}

/* ===================== */
/* Mobile Form Input Improvements */
/* ===================== */
@media (max-width: 768px) {
    /* Quiz form inputs - larger for mobile */
    .quiz-input {
        padding: 1rem 1.25rem;
        font-size: 16px; /* Prevents iOS zoom on focus */
        min-height: 52px;
        border-radius: var(--radius-md);
    }

    .quiz-submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 52px;
    }

    .quiz-option-box {
        padding: 1rem 1.25rem;
        min-height: 56px;
    }

    .quiz-option-text {
        font-size: 1rem;
    }

    /* Newsletter form inputs */
    .newsletter-form input {
        padding: 1rem 1.25rem;
        font-size: 16px;
        min-height: 52px;
        border-radius: var(--radius-md);
    }

    .newsletter-form button {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    /* Even larger inputs for small phones */
    .quiz-input {
        padding: 1.125rem 1.25rem;
        font-size: 17px;
        min-height: 56px;
    }

    .quiz-submit-btn {
        padding: 1.125rem 1.5rem;
        font-size: 1.05rem;
        min-height: 56px;
    }

    .quiz-option-box {
        padding: 1.125rem 1.25rem;
        min-height: 60px;
    }

    .newsletter-form input {
        padding: 1.125rem 1.25rem;
        font-size: 17px;
        min-height: 56px;
    }

    .newsletter-form button {
        padding: 1.125rem 1.25rem;
        font-size: 1.05rem;
        min-height: 56px;
    }
}

select {
    appearance: none;
    -webkit-appearance: none;
}