@charset "UTF-8";

/* -- ===== БЛОК ОЧИСТКИ СТИЛЕЙ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background-color: #d9d9d9;
    font-family: Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* -- ===== КАРКАС ===== */
.wrapper {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.site-canvas {
    width: 100%;
    max-width: 1000px;
    border: 2px solid #000;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

/* -- ===== ШАПКА ===== */
header {
    min-height: 120px;
    background-color: #cccccc;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 10;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* -- ===== СЕТКА И КОЛОНКИ ===== */
.main-grid {
    display: flex;
    align-items: stretch;
}

.col-side {
    width: 25%;
    background-color: #2b2b2b;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.col-news {
    width: 50%;
    border-left: 0px solid #000;
    border-right: 0px solid #000;
    padding: 10px;
    min-height: 480px;
}

/* -- ===== ЗАГОЛОВКИ ВНУТРИ КОЛОНОК ===== */
.col-title {
    width: calc(100% + 20px);
    margin: -10px -10px 15px -10px;
    color: #000000;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #000;
    font-family: sans-serif;
    text-transform: uppercase;
    background: linear-gradient(to right, rgb(51, 51, 51) 0%, rgb(203, 184, 85) 50%, rgb(51, 51, 51) 100%);
}

.center-title {
    background: linear-gradient(to right, rgb(51, 51, 51) 0%, rgb(233, 211, 98) 45%, rgb(233, 211, 98) 55%, rgb(51, 51, 51) 100%);
}

/* -- ===== МЕНЮ И ССЫЛКИ ===== */
.menu-item {
    font-family: "Tahoma", Gadget, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}

/* -- ===== ПОДВАЛ ===== */
footer {
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #000;
    font-size: 13px;
    background: linear-gradient(to right, rgb(128, 128, 128) 15%, rgb(221, 214, 214) 50%, rgb(128, 128, 128) 85%);
}

/* Перестроение колонок, когда окно сужается (для ПК при зуме или для широких телефонов) */
@media screen and (max-width: 650px) {
    .main-grid {
        flex-direction: column;
    }

    .col-side,
    .col-news {
        width: 100% !important;
        border: none;
        border-bottom: 2px solid #000;
        padding: 10px;
    }
}