/* portfolio-sadik — самостоятельный стайлшит (без опоры на оригинальный Kids_Toys) */

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    color: #2c3e50;
    line-height: 1.55;
    font-size: 16px;
    background: #eaf6fb linear-gradient(180deg, #d3edf9 0%, #eaf6fb 300px, #eaf6fb 100%);
    min-height: 100vh;
}

img { max-width: 100%; height: auto; }
a { color: #2f8fd8; text-decoration: none; }
a:hover { text-decoration: underline; color: #d97706; }

.page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* Header */
.site-header {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(30,64,120,.08);
    padding: 16px 28px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    text-decoration: none;
    flex-wrap: wrap;
}
.site-logo-brand {
    color: #ff9c26;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.site-logo-tagline {
    color: #4a7ba6;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
}

/* Nav */
.site-nav {
    background: linear-gradient(180deg, #6fbcf0 0%, #4a97d8 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(74, 151, 216, .18);
}
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.site-nav li {
    flex: 1 1 auto;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.22);
}
.site-nav li:last-child { border-right: none; }
.site-nav a {
    display: block;
    padding: 12px 16px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
    transition: background .15s ease;
}
.site-nav a:hover,
.site-nav .current a {
    background: rgba(0,0,0,.16);
    text-decoration: none;
}

/* Main content */
.site-content {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(30,64,120,.06);
    padding: 32px;
    margin-bottom: 20px;
}

.page-title-block {
    padding: 18px 22px;
    margin: 0 0 30px;
    background: #fef4e1;
    border-left: 5px solid #ff9c26;
    border-radius: 10px;
}
.page-title-block h1 {
    margin: 0 0 8px;
    color: #d97706;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}
.page-title-block .lead {
    margin: 0;
    color: #4a5a70;
    font-size: 16px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px;
}
.content-main, .content-side { min-width: 0; }

.content-main h2 {
    color: #4a97d8;
    font-size: 24px;
    margin-top: 32px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0f2fe;
}
.content-main h3 {
    color: #d97706;
    font-size: 19px;
    margin-top: 22px;
}
.content-main h4 { color: #4a7ba6; font-size: 17px; }
.content-main p { margin: 14px 0; }
.content-main ul, .content-main ol { padding-left: 22px; margin: 12px 0; }
.content-main li { margin: 6px 0; }

/* Sidebar */
.side-box {
    background: #f0f9ff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
}
.side-box h3 {
    margin-top: 0;
    color: #4a97d8;
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #cfe4f7;
}
.side-box ul { list-style: none; padding: 0; }
.side-box .kids-list li { padding: 6px 0; border-bottom: 1px dashed #dbeafe; }
.side-box .kids-list li:last-child { border-bottom: none; }

/* Lists inside main */
ul.kids-list {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}
ul.kids-list li {
    padding: 8px 0 8px 22px;
    position: relative;
    border-bottom: 1px dashed #eef2f7;
}
ul.kids-list li:last-child { border-bottom: none; }
ul.kids-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 8px;
    color: #ff9c26;
    font-size: 13px;
}

/* Money block */
.money-block {
    margin: 26px 0;
    padding: 22px;
    background: #fdf5f5;
    border-left: 5px solid #c8102e;
    border-radius: 10px;
}
.money-block h3 { color: #c8102e; margin-top: 0; }
.money-block a { color: #c8102e; font-weight: 600; text-decoration: underline; }

.disclaimer {
    margin-top: 32px;
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7280;
}

/* Images */
.content-main img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 12px 0;
}
.imgleft { float: left; margin: 6px 18px 8px 0; max-width: 40%; }
.imgright { float: right; margin: 6px 0 8px 18px; max-width: 40%; }

/* Footer */
.site-footer {
    background: #ecf6fb;
    border-radius: 12px;
    padding: 22px 28px;
    text-align: center;
    color: #4a7ba6;
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: #4a97d8; }

/* Responsive */
@media (max-width: 820px) {
    .content-grid { grid-template-columns: 1fr; }
    .site-nav ul { flex-direction: column; }
    .site-nav li { border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); }
    .site-nav li:last-child { border-bottom: none; }
    .site-nav a { white-space: normal; }
    .site-header, .site-content, .site-footer { padding: 20px; }
    .page-title-block h1 { font-size: 22px; }
    .content-main h2 { font-size: 20px; }
    .site-logo { flex-direction: column; align-items: flex-start; gap: 2px; }
    .site-logo-brand { font-size: 26px; }
}
