* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #F1F0E8;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


header {
    background-color: #89A8B2;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    border-radius: 5px;
}

.horizontal-nav ul {
    display: flex;
    list-style: none;
}

.horizontal-nav a {
    color: #E5E1DA;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.horizontal-nav a:hover,
.horizontal-nav a.active {
    background-color: #E5E1DA;
    color: #89A8B2;
}

.main-content {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 200px);
}

.vertical-nav {
    width: 250px;
    background-color: #B3C8CF;
    padding: 2rem 1rem;
    position: sticky;
    top: 0;
    height: fit-content;
}

.vertical-nav h3 {
    color: #E5E1DA;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.vertical-nav ul {
    list-style: none;
}

.vertical-nav li {
    margin-bottom: 0.5rem;
}

.vertical-nav a {
    color: #E5E1DA;
    text-decoration: none;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 5px;
}

.vertical-nav a:hover {
    background-color: #89A8B2;
    padding-left: 1.5px;
}


main {
    flex: 1;
    padding: 2px;
    background-color: #E5E1DA;
}


.hero-section {
    position: relative;
    margin-bottom: 3px;
    border-radius: 10px;
    overflow: hidden;
}

.hero-section img {
    width: 100%;
    height: 400px;
}

.hero-text {
    position: absolute;
    bottom: 2px;
    left: 2px;
    background: rgba(137, 168, 178, 0.9);
    color: #E5E1DA;
    padding: 1.5px;
    border-radius: 8px;
}

.hero-text h1 {
    font-size: 2.5px;
    margin-bottom: 0.5px;
}


.content-row {
    display: flex;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.card h2 {
    color: #89A8B2;
    margin-bottom: 1rem;
}


.news-section h2 {
    color: #89A8B2;
    margin-bottom: 2px;
    font-size: 2px;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
}

.news-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 1px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 1px;
}

.news-card h3 {
    color: #89A8B2;
    margin-bottom: 1rem;
}

footer {
    background-color: #B3C8CF;
    padding: 2px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-content p {
    color: #E5E1DA;
    font-size: 0.9px;
}


@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .vertical-nav {
        width: 100%;
        position: static;
    }
    
    .horizontal-nav ul {
        flex-wrap: wrap;
    }
    
    .content-row,
    .news-grid {
        flex-direction: column;
    }
}