/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fff;
    font-size: 16px;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    background-color: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

.logo h1 a {
    color: #fff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #34495e;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Calculator Widget */
.calculator-widget {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.calculator-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calc-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.calc-inputs input,
.calc-inputs select {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 120px;
}

.calc-inputs button {
    padding: 0.8rem 1.5rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.calc-inputs button:hover {
    background-color: #c0392b;
}

.result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.result h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.result p {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.result strong {
    font-weight: bold;
}

.result em {
    font-style: italic;
    font-size: 1rem;
}

.result small {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-top: 0.5rem;
}

/* Calculator Section in Articles */
.calculator-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.calculator-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calculator-section .calc-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.calculator-section .calc-inputs input,
.calculator-section .calc-inputs select {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 120px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
}

.calculator-section .calc-inputs button {
    padding: 0.8rem 1.5rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.calculator-section .calc-inputs button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.calculator-section .result {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 80px;
}

/* Article Styles */
.main-article,
.article-page {
    padding: 3rem 0;
}

.article-page {
    max-width: 1000px;
    margin: 0 auto;
}

.main-article h1,
.article-page h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.2;
}

.article-meta {
    color: #7f8c8d;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.article-content h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    color: #2c3e50;
}

.article-content em {
    color: #7f8c8d;
}

.article-content a {
    color: #3498db;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
    font-size: 1rem;
    line-height: 1.5;
}

th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

tr:hover {
    background-color: #f8f9fa;
}

td {
    color: #2c3e50;
}

.ideal-weight,
.ideal-range {
    background-color: #d5f4e6;
}

/* Special Content Boxes */
.highlight-box {
    background-color: #ebf3fd;
    border-left: 5px solid #3498db;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
}

.highlight-box h3 {
    color: #2980b9;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.highlight-box p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2c3e50;
}

blockquote {
    background-color: #f8f9fa;
    border-left: 5px solid #e74c3c;
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

blockquote p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
}

/* Myths and Facts */
.myths-facts {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.myth,
.fact {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.myth {
    background-color: #fdf2f2;
    border-left-color: #e74c3c;
}

.fact {
    background-color: #f0f9f0;
    border-left-color: #27ae60;
}

.myth h4,
.fact h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Exercise and Diet Content */
.pillars-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #3498db;
}

.pillar h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Exercise Types */
.exercise-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.exercise-type {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.exercise-type h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.exercise-type ul {
    margin-bottom: 0;
}

/* Food Groups */
.food-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.food-group {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #27ae60;
}

.food-group h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Meal Plans */
.meal-plan {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.meal {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 5px;
    border-left: 4px solid #27ae60;
}

.meal h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.meal ul {
    margin-bottom: 0;
}

/* Related Articles */
.related-articles {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.related-articles h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.related-articles ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #3498db;
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.related-articles a:hover {
    background-color: #e3f2fd;
}

/* Sources */
.article-sources {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-sources h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.article-sources ol {
    padding-left: 1.5rem;
}

.article-sources li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

/* About Page Styles */
.about-hero,
.contact-hero,
.privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.about-hero h1,
.contact-hero h1,
.privacy-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-content,
.contact-content,
.privacy-content {
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #3498db;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border-left: 4px solid #27ae60;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-box,
.team-box,
.contact-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.stats-box h3,
.team-box h3,
.contact-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #fff;
    border-radius: 5px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
}

.stat-label {
    color: #7f8c8d;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-card ul {
    margin-bottom: 0;
}

/* Privacy Page Styles */
.privacy-text {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-text h2 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.privacy-text h3 {
    color: #34495e;
    margin: 1.5rem 0 0.8rem;
}

.privacy-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.privacy-text ul {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.privacy-text li {
    margin-bottom: 0.5rem;
}

.cookies-table {
    margin: 1.5rem 0;
}

.privacy-summary {
    background-color: #e8f5e8;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #27ae60;
}

.privacy-summary h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* GDPR Consent */
.gdpr-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    max-width: 300px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.gdpr-consent.hidden {
    display: none;
}

.gdpr-consent p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.gdpr-consent a {
    color: #3498db;
}

.gdpr-consent button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.gdpr-consent button:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2c3e50;
        gap: 0;
        display: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 1.2rem;
        border-bottom: 1px solid #34495e;
        font-size: 1.1rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #34495e;
        min-width: auto;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .calculator-widget,
    .calculator-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .calc-inputs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .calc-inputs input,
    .calc-inputs select,
    .calc-inputs button {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .result {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .main-article h1,
    .article-page h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .article-content {
        padding: 0 10px;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem;
    }

    .article-content h4 {
        font-size: 1.2rem;
        margin: 1.2rem 0 0.6rem;
    }

    .article-content p {
        font-size: 1.05rem;
        line-height: 1.7;
        text-align: left;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.95rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 12px 8px;
    }

    .highlight-box,
    blockquote {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .highlight-box p,
    blockquote p {
        font-size: 1rem;
    }

    .about-sidebar {
        order: -1;
    }

    .pillars-section,
    .exercise-types,
    .food-groups,
    .values-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9rem;
    }

    th,
    td {
        padding: 8px;
    }

    .gdpr-consent {
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .back-to-top {
        bottom: 100px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .calculator-widget {
        padding: 1rem;
    }

    .main-article h1,
    .article-page h1 {
        font-size: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .about-hero h1,
    .contact-hero h1,
    .privacy-hero h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    table {
        font-size: 0.8rem;
    }

    th,
    td {
        padding: 6px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .gdpr-consent,
    .related-articles {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .article-content {
        max-width: none;
    }

    h1 {
        font-size: 18pt;
    }

    h2 {
        font-size: 16pt;
    }

    h3 {
        font-size: 14pt;
    }

    .hero {
        background: none;
        color: #333;
    }

    blockquote {
        background: none;
        border-left: 2px solid #333;
    }

    .highlight-box {
        background: none;
        border-left: 2px solid #333;
    }

    table {
        border-collapse: collapse;
    }

    th,
    td {
        border: 1px solid #333;
    }

    th {
        background-color: #f0f0f0;
        color: #333;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }

    .calculator-widget {
        background-color: rgba(255, 255, 255, 0.9);
        color: #000;
    }

    .calc-inputs button {
        background-color: #000;
        color: #fff;
        border: 2px solid #fff;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #3498db;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}
