/* static/styles.css */
body {
    background-color: #1C4268;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}
header, nav, .nav-wrapper {
    background-color: #205583 !important;
    width: 100%;
    margin: 0;
    padding: 0;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.nav-content {
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.left-menu {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.left-menu ul {
    margin-left: 80px;
}
.right {
    display: flex;
    align-items: center;
}
.content {
    max-width: 70%;
    margin: 80px auto 20px;
    background-color: #E8EDF1;
    padding: 20px;
    border-radius: 5px;
}
footer {
    background-color: #1C4268;
    color: #E8EDF1;
    padding: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}
.btn-register, .btn-mirror {
    background-color: #7EAC2F;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    min-height: 36px;
}
.btn-register:hover, .btn-mirror:hover {
    background-color: #93C638;
}
.btn-login {
    background-color: #7EAC2F;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    min-height: 36px;
}
.btn-login:hover {
    background-color: #93C638;
}
.nav-content a {
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
}
.nav-content a:hover {
    color: #E8EDF1;
}
.lang-text {
    color: #FFFFFF;
    margin-right: 15px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
}
.lang-text i {
    margin-left: 5px;
    font-size: 12px;
}
.time {
    color: #FFFFFF;
    margin-right: 15px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
}
.settings-icon {
    color: #FFFFFF;
    font-size: 24px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    min-height: 36px;
}
.menu-item i {
    margin-left: 5px;
    font-size: 12px;
}
footer a {
    color: #7EAC2F;
    font-family: 'Roboto', sans-serif;
}
footer a:hover {
    color: #E8EDF1;
}
.brand-logo {
    width: auto;
    margin-right: 80px;
    flex-basis: 0;
}
.brand-logo img {
    height: 18px;
}
h1 {
    color: #1C4268;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
}
h2 {
    color: #E8EDF1;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    background-color: #205582;
    padding: 10px;
    margin-top: 2rem;
}
h3 {
    color: #E8EDF1;
    font-family: 'Roboto', sans-serif;
    font-size: 1.10rem;
    background-color: #205582;
    padding: 10px;
    margin-top: 2rem;
}
p {
    line-height: 1.6;
    color: #333;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 15px;
}
img.section-image {
    max-width: 100%;
    height: auto;
    margin: 15px auto;
    display: block;
    border-radius: 5px;
}
@media (max-width: 600px) {
    .content {
        max-width: 100%;
        padding: 10px;
    }
    .brand-logo img {
        height: 14px;
    }
    h1 {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 1rem;
    }
    .nav-content {
        flex-wrap: wrap;
    }
    .right {
        margin-left: auto;
    }
}
/* Обновлённый стиль для <p> — шрифт чуть меньше (16px базовый, но без перероста от flow-text) */
p {
    font-size: 1rem; /* 16px базовый, чуть меньше дефолтного Materialize на больших экранах */
    line-height: 1.6;
    color: #333;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px; /* чуть больше отступа для читаемости */
}

/* Если используешь class="flow-text" — это Materialize делает шрифт огромным на десктопе! */
/* Рекомендую убрать class="flow-text" со всех <p>, или переопределить: */
p.flow-text {
    font-size: 1.1rem !important; /* ограничиваем рост до 17-18px */
    line-height: 1.6 !important;
}

/* Для мобильки (если нужно ещё меньше) */
@media only screen and (max-width: 600px) {
    p {
        font-size: 0.95rem; /* ~15px на телефоне */
    }
}

/* Для заголовков, если они тоже большие */
h2 {
    font-size: 2rem; /* уменьшаем с дефолтных 2.5rem */
    margin-bottom: 20px;
}

.section-image {
    margin: 30px 0;
}

/* Уменьшаем шрифт и отступы в списках (ul/li) */
.browser-default li,
ul.browser-default li,
ol.browser-default li {
    font-size: 1rem !important;     /* 16px — как обычный текст */
    line-height: 1.6 !important;    /* нормальная высота строки */
    margin-bottom: 10px;            /* небольшой отступ между пунктами */
    padding-left: 5px;              /* чуть меньше отступ слева */
}

.browser-default {
    padding-left: 30px;             /* отступ всего списка */
    margin-bottom: 20px;
}

/* Если где-то остался flow-text в li — убиваем его рост */
li.flow-text {
    font-size: 1rem !important;
}

.tabs {
    background-color: #205582 !important;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.tabs .tab a {
    color: #E8EDF1 !important;
    font-weight: 500;
}

.tabs .tab a:hover {
    color: #7EAC2F !important;
}

.tabs .tab a.active,
.tabs .tab a:focus.active {
    background-color: #7EAC2F !important;
    color: #ffffff !important;
}

.tabs .indicator {
    background-color: #7EAC2F !important;
    height: 4px !important;
}
.breadcrumb {
  color: #7EAC2F !important;
}
.breadcrumb:last-child {
  color: #ffffff !important;
  font-weight: bold;
}