/* Research Article Template Styles */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Article container */
.research-article {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    padding: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Article header */
.article-header {
    margin-bottom: 40px;
    border-bottom: 3px solid #005a31;
    padding-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #005a31;
    line-height: 1.2;
}

/* Article content */
.article-content {
    font-size: 1.1rem;
}

.article-section {
    margin-bottom: 30px;
}

.lead-paragraph {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #005a31;
    margin-bottom: 20px;
    margin-top: 10px;
}

p {
    margin-bottom: 16px;
    text-align: justify;
}

li {
    padding-left: 5%;
}

/* Article figures */
.article-figure {
    margin: 40px 0;
    text-align: center;
}

.article-figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

figcaption {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

/* Links */
a {
    color: #005a31;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

a:hover {
    border-bottom-color: #005a31;
}

/* Footer text */
.article-footer-text {
    font-style: italic;
    color: #555;
}

/* Back button */
.back-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 12px 24px;
    background-color: #005a31;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 90, 49, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: none;
}

.back-button:hover {
    background-color: #004a28;
    box-shadow: 0 4px 12px rgba(0, 90, 49, 0.4);
    transform: translateY(-2px);
    border-bottom: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .research-article {
        padding: 30px 20px;
        margin: 20px;
    }

    .article-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .lead-paragraph {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .research-article {
        padding: 20px 15px;
        margin: 10px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    p {
        text-align: left;
    }

    .back-button {
        bottom: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}