/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 0). */
body, table, tr, td, .leftbord, .leg, .homebuts, .corpbut, .content, .darkcontent, .corner, .marron {
    background-image: none;
}

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

body {
    background-color: #e9ecef;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 20px 0;
}

body > table {
    max-width: 1140px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
    width: 100%;
}

body > table,
body > table > tbody,
body > table > tbody > tr,
body > table > tbody > tr > td {
    display: block;
}

body > table > tbody > tr:first-child > td {
    display: block;
}

body > table > tbody > tr:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
}

body > table > tbody > tr:nth-child(2) > td.leftbord {
    flex: 0 0 250px;
    max-width: 250px;
}

body > table > tbody > tr:nth-child(2) > td.leg {
    flex: 1 1 auto;
    min-width: 0;
}

body > table > tbody > tr:first-child > td > table {
    width: 100%;
    border-collapse: collapse;
}

body > table > tbody > tr:first-child > td > table > tbody > tr:first-child {
    background-color: #1b2a47;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

body > table > tbody > tr:first-child > td > table > tbody > tr:first-child > td {
    padding: 15px 25px;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    white-space: nowrap;
}

body > table > tbody > tr:first-child > td > table > tbody > tr:first-child > td a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

body > table > tbody > tr:first-child > td > table > tbody > tr:first-child > td a:hover {
    color: #d4af37;
}

body > table > tbody > tr:first-child > td > table > tbody > tr:nth-child(2) {
    background: linear-gradient(135deg, #1b2a47 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
}

body > table > tbody > tr:first-child > td > table > tbody > tr:nth-child(2) > td {
    padding: 10px 20px;
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    border: none;
}

body > table > tbody > tr:first-child > td > table > tbody > tr:nth-child(2) > td:nth-child(2) {
    font-size: 2em;
    font-family: Georgia, "Times New Roman", serif;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.leftbord {
    background: linear-gradient(to bottom, #f9f9f9, #f0f0f0);
    padding: 20px 10px;
}

.homebuts,
.corpbut {
    width: 100%;
    border-collapse: collapse;
}

.homebuts td,
.corpbut td {
    padding: 0;
    border: none;
}

.homebuts tr,
.corpbut tr {
    margin-bottom: 5px;
}

.homebuts td,
.corpbut td {
    display: inline-block;
    vertical-align: middle;
}

.homebuts .content,
.corpbut .content {
    display: block;
    background-color: #ffffff;
    margin: 2px 0;
    padding: 12px 15px;
    border-left: 4px solid #1b2a47;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s, border-left-color 0.3s;
}

.homebuts .content a,
.corpbut .content a {
    display: block;
    color: #1b2a47;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
}

.homebuts .content:hover,
.corpbut .content:hover {
    background-color: #edf2f7;
    border-left-color: #d4af37;
}

.homebuts .content a:hover,
.corpbut .content a:hover {
    color: #6b2022;
}

.homebuts .darkcontent,
.corpbut .darkcontent {
    display: block;
    background-color: #1b2a47;
    color: #ffffff;
    margin: 2px 0;
    padding: 12px 15px;
    border-left: 4px solid #d4af37;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.homebuts .darkcontent a,
.corpbut .darkcontent a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.homebuts .darkcontent:hover,
.corpbut .darkcontent:hover {
    background-color: #2c3e50;
    border-left-color: #d4af37;
}

.leg {
    padding: 30px 40px;
    background-color: #ffffff;
}

.leg table {
    width: 100%;
    border-collapse: collapse;
}

.leg table td {
    padding: 10px;
    vertical-align: top;
    border: none;
}

.darkcontent {
    font-size: 1.4em;
    font-weight: bold;
    color: #1b2a47;
    margin-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 5px;
    display: inline-block;
    width: 100%;
}

.content {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
}

.corner {
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 10px;
}

.marron {
    color: #6b2022;
    font-weight: bold;
}

a {
    color: #6b2022;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.homebuts a:hover,
.corpbut a:hover,
body > table > tbody > tr:first-child > td > table a:hover {
    text-decoration: none;
}

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

table {
    border-collapse: collapse;
}

th,
td {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.homebuts,
.corpbut,
.leg table,
.homebuts td,
.corpbut td,
.leg td {
    border: none;
}

noscript {
    display: none;
}

@media (max-width: 768px) {
    body > table {
        max-width: 100%;
        margin: 0;
    }

    body > table > tbody > tr:nth-child(2) {
        flex-direction: column;
    }

    body > table > tbody > tr:nth-child(2) > td.leftbord {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    body > table > tbody > tr:nth-child(2) > td.leg {
        flex: 0 0 auto;
        width: 100%;
    }

    body > table > tbody > tr:first-child > td > table > tbody > tr:first-child {
        flex-direction: column;
        text-align: center;
    }

    body > table > tbody > tr:first-child > td > table > tbody > tr:first-child > td {
        padding: 10px;
    }

    body > table > tbody > tr:first-child > td > table > tbody > tr:nth-child(2) {
        flex-direction: column;
        padding: 15px;
    }

    body > table > tbody > tr:first-child > td > table > tbody > tr:nth-child(2) > td {
        padding: 5px;
    }

    .leg {
        padding: 20px;
    }

    .homebuts .content,
    .corpbut .content,
    .homebuts .darkcontent,
    .corpbut .darkcontent {
        padding: 10px;
    }
}