/* Font faces (identical in both blocks, kept one set) */
@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Regular-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Universal reset (identical in both blocks, kept one) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Body styles (combined: added min-height from first block) */
body {
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    overflow-x: hidden;
    min-height: 100vh; /* From first block; missing in second */
}

/* Navigation from first block */
nav {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-left {
    display: flex;
    align-items: center;
}
.nav-left picture img {
    max-width: 50px;
    height: auto;
    margin-right: 0.5rem;
    display: block;
}
.nav-left span {
    font-size: 1.5rem;
    font-weight: bold;
}
.nav-button {
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    margin-left: 1rem;
}
.nav-button:hover {
    color: #d1e9ff;
}

/* Header from second block */
header {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
}
header picture img {
    max-width: 250px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}
.tagline {
    color: #fff;
    font-size: 1.3rem;
    font-style: italic;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}
.section {
    margin: 0 0 4rem;
}
h1.header {
    font-size: 2.8rem;
    margin: 0 0 0.5rem;
}
h1.main {
    font-size: 2.8rem;
    color: #2e7d32;
    margin: 0 0 0.5rem;
}
h2.main {
    font-size: 2.2rem;
    color: #2e7d32;
    margin: 0 0 1.5rem;
}
.chart-title {
    margin-top: 2.4rem;
}
p.main {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

/* Link styles */
a:not(.no-a) {
    color: #007be7;
    text-decoration: none;
}
a:not(.no-a):visited {
    color: #05bfcc;
    text-decoration: none;
}
a:not(.no-a):hover {
    color: #007be7;
    text-decoration: underline;
}
a:not(.no-a):active {
    color: #005baa;
    text-decoration: none;
}

/* Articles section from first block */
.container-articles {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}
.articles-list {
    margin-top: 2rem;
    max-width: 1000px;
}
.article-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}
.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.article-header h2 {
    color: #4caf50;
    font-size: 1.4rem;
    margin: 0;
}
.article-header span {
    color: #666;
    font-size: 1rem;
}
.article-description p {
    font-size: 1rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Features section from second block */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2rem 0 0;
}
.feature-box {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.feature-box h3 {
    color: #4caf50;
    font-size: 1.4rem;
    margin: 0 0 0.75rem;
}

/* Images and charts from second block */
.section-image {
    display: block;
    max-width: 100%;
    width: calc(100% - 3rem);
    height: auto;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.section-image-chart {
    display: block;
    max-width: 70%;
    width: calc(70% - 3rem);
    height: auto;
    margin: 2rem auto;
}

/* Form and CTA from second block */
.form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}
.form-container input {
    width: 100%;
    padding: 0.8rem;
    margin: 0 0 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.cta {
    background: #4caf50;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}
.cta:hover,
.cta:focus {
    background: #2e7d32;
    outline: none;
}

/* Footer (identical in both blocks, kept one) */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    font-size: 1rem;
}
footer p {
    margin: 0;
}
footer a {
    color: #c4e4e6;
    text-decoration: none;
}
footer a:hover {
    color: #9ae0e6;
}

/* Media query */
@media (max-width: 768px) {
    h1.header,
    h1.main {
        font-size: 2.2rem;
    }
    h2.main {
        font-size: 1.8rem;
    }
    nav {
        flex-direction: column;
        text-align: center;
    }
    .nav-left {
        margin-bottom: 0.5rem;
    }
    .nav-right {
        margin-top: 0.5rem;
    }
    .article-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .article-header span {
        margin-top: 0.5rem;
    }
    .tagline {
        font-size: 1.1rem;
    }
    .container {
        padding: 2rem 1rem;
    }
    .section-image {
        width: 100%;
        margin: 1.5rem auto;
    }
    .section-image-chart {
        width: 100%;
        max-width: 100%;
        margin: 1.5rem auto;
    }
}