* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #f5f5f0;
    color: #333;
    line-height: 2;
}

header {
    background: #123c30;
    color: white;
    padding: 20px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    color: #e2c47d;
    font-size: 19px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    color: #e2c47d;
}

.hero {
    background: linear-gradient(135deg, #123c30, #205d47);
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.hero h1 {
    color: #e2c47d;
    font-size: 34px;
    margin-bottom: 15px;
}

.hero p {
    max-width: 750px;
    margin: auto;
}

.search-box {
    max-width: 650px;
    margin: 25px auto 0;
}

.search-box input {
    width: 100%;
    padding: 15px;
    border: 2px solid #d5b46a;
    border-radius: 8px;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: 45px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    color: #123c30;
    font-size: 27px;
}

.section-title span {
    display: block;
    width: 75px;
    height: 4px;
    background: #c7a45b;
    margin: 12px auto;
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filters button {
    padding: 10px 18px;
    border: 1px solid #c7a45b;
    border-radius: 25px;
    background: white;
    color: #123c30;
    cursor: pointer;
    font-size: 14px;
}

.filters button.active,
.filters button:hover {
    background: #123c30;
    color: white;
}

.articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border-bottom: 4px solid #c7a45b;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 23px;
}

.category {
    display: inline-block;
    background: #e9f0eb;
    color: #16513e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.card h3 {
    color: #123c30;
    font-size: 19px;
    margin: 12px 0;
    line-height: 1.8;
}

.card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}

.read-more,
.back {
    display: inline-block;
    background: #123c30;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.read-more:hover,
.back:hover {
    background: #c7a45b;
    color: #123c30;
}

.about {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-right: 5px solid #c7a45b;
    margin-top: 50px;
}

.about h2 {
    color: #123c30;
    margin-bottom: 12px;
}

.article-page {
    width: 90%;
    max-width: 900px;
    margin: 35px auto;
}

.article-content {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.07);
}

.article-content h1 {
    color: #123c30;
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content h2 {
    color: #123c30;
    font-size: 21px;
    margin: 28px 0 12px;
    padding-right: 12px;
    border-right: 4px solid #c7a45b;
}

.article-content h3 {
    color: #205d47;
    margin-top: 18px;
}

.article-content p {
    margin: 12px 0;
}

.article-content ul {
    padding-right: 25px;
}

.article-content li {
    margin: 8px 0;
}

.note {
    background: #f5f0e4;
    border-right: 4px solid #c7a45b;
    padding: 18px;
    margin-top: 30px;
}

footer {
    background: #123c30;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
}

footer strong {
    color: #e2c47d;
}

.no-results {
    display: none;
    text-align: center;
    padding: 25px;
}

@media(max-width:600px) {

    header {
        justify-content: center;
        text-align: center;
    }q

    nav {
        justify-content: center;
    }

    .hero h1 {
        font-size: 25px;
    }

    .container,
    .article-page {
        width: 93%;
    }

    .article-content {
        padding: 20px;
    }

    .article-content h1 {
        font-size: 23px;
    }

    .article-content h2 {
        font-size: 19px;
    }

}