@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    min-height: 100vh;
    line-height: 1.6;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}
.container {
    max-width: 800px;
    margin: 0 auto;
}
.main-page{
    display: flex;
    flex-direction: column;
}
.header {
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}
.main-nav{
    max-width: 800px;
    margin: auto;
    margin-bottom: 24px;
    
}
.main-nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.main-nav ul li{
    list-style: none;
}
.breadcrumbs {
    padding: 0 0 12px 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.breadcrumbs ul li {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumbs ul li a {
    color: #6c757d;
    transition: color 0.2s ease;
}

.breadcrumbs ul li a:hover {
    color: #0469a7;
}

.breadcrumbs ul li:not(:last-child)::after {
    content: " / ";
    margin: 0 6px;
    color: #adb5bd;
}
.footer{
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    color: #ecf0f1;
    padding: 30px 10px;
    font-family: inherit;
    line-height: 1.6;
    margin-top: 44px;
}
.footer-inner{
    max-width: 800px;
    margin: auto;
}
.footer-about{
    text-align: center;
    color: #cfcfcf;
    font-size: 13px;
    margin-bottom: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(236, 240, 241, 0.2);
}
.footer-about p{
    margin-bottom: 8px;
}
.footer-legal{
    padding-right: 20px;
    padding-top: 32px;
    min-width: 230px;
}
.footer .footer-legal ul li{
    font-size: 12px;
}
.footer-columns{
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}
.footer-articles{
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
    justify-content: space-between;
}
.footer-articles h4, .footer-nav h4{
    flex-grow: 1;
    width: 100%;
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 8px;
}
.footer-nav{
    min-width: 142px;
}
.footer-columns ul li{
    list-style: none;
    font-size: 14px;
}
.footer-columns ul li a{
    color: #cfcfcf;
}
.footer-columns ul li a:hover{
    text-decoration: none;
}
.footer-copyright{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(236, 240, 241, 0.2); 
    padding-top: 20px;
    font-size: 14px;
    align-items: center;
}
.footer-logo img{
    max-width: 200px;
    height: auto;
}
@media screen and (max-width: 780px) {
    .footer-nav{
        min-width: 220px;
    }
    .footer-logo img{
        max-width: 170px;
        height: auto;
    }
}
@media screen and (max-width: 680px) {
    .footer-nav{
        min-width: 180px;
    }
    .footer-copyright{
        flex-direction: column;
    }
        .footer-logo img{
        max-width: 200px;
        height: auto;
    }
}
@media screen and (max-width: 660px) {
    .footer-columns{
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-legal{
        min-width: 270px;
        padding-left: 8px;
    }
}
@media screen and (max-width: 480px) {
    .footer-columns{
        flex-direction: column;
        justify-content: center;
    }
    .footer-legal{
        text-align: center;
        padding-left: 0;
        margin-bottom: 20px;
        padding-right: 0;
    }
    .footer-nav{
        text-align: center;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 440px) {
    .footer-articles{
        flex-direction: column;
        text-align: center;
        padding-left: 0;
    }
}