:root {
    --bg: #f6f7fb;
    --panel: #fff;
    --muted: #6b7280;
    --text: #0b1220;
    --br: #e9ecf4;
    --red1: #d63b33;
    --red2: #8e0f0f;
    --accent: #c51111;
    --shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body.site {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: var(--shadow);
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}
.brand-logo {
    width: 28px;
    height: 28px;
}
.brand-title {
    font-weight: 800;
}
.top-strip {
    background: linear-gradient(90deg, #f7dede, #fef3f3);
    border-top: 1px solid var(--br);
    border-bottom: 1px solid var(--br);
}
.top-strip__inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
}
.back-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--accent);
    background: #fff;
    border: 1px solid var(--br);
}

/* Layout */
.page-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin: 22px 0;
}
@media (max-width: 1024px) {
    .page-grid {
        grid-template-columns: 1fr;
    }
    .right {
        order: -1;
    }
}
.lead {
    background: var(--panel);
    border: 1px solid var(--br);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}

/* Acc */
.acc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 900px) {
    .acc-grid {
        grid-template-columns: 1fr;
    }
}
.acc {
    background: var(--panel);
    border: 1px solid var(--br);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.acc__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    border: 0;
    background: #fff;
    cursor: pointer;
}
.acc__head__left {
    flex: 1;
}
.acc__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, var(--red1), var(--red2));
}
.acc__icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    padding: 2px;
}
.acc__chev {
    color: #fff;
    margin-right: 14px;
    transition: transform 0.18s;
}
.acc[aria-expanded="true"] .acc__chev,
.acc__head[aria-expanded="true"] .acc__chev {
    transform: rotate(180deg);
}
.acc__body {
    padding: 14px;
    background: #fff;
    border-top: 1px solid var(--br);
    border-radius: 0 0 16px 16px;
    display: none;
}
.acc__list {
    margin: 0;
    padding-left: 18px;
}
.acc__list li {
    margin: 6px 0;
}
.acc__empty {
    color: var(--muted);
}
.muted {
    color: var(--muted);
}

/* Aside */
.right {
    align-self: start;
}
.aside-img {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
    margin: 12px auto 8px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.aside-caption {
    text-align: center;
    font-weight: 700;
    color: #111;
}

/* Footer */
.site-footer {
    margin: 24px 0 40px;
    color: var(--muted);
    text-align: center;
}
.flag-icon{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}
