body {
    margin: 0;
    background: #dfe7ef;
    font-family: Arial, Helvetica, sans-serif;
}

/* Legacy utility classes that are still used in the migrated Twig templates. */
.svetlemodrepozadi {
    background-color: #cffbb3;
    color: #000;
}

.tmavemodra {
    color: #055c18;
}

.ramecekdolesvetlemodrepozadi {
    border-bottom: 1px solid #8be64f;
}

img.obrazek,
div.obrazek {
    border: 1px solid #000;
}

.migration-shell {
    width: min(100%, 1000px);
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 18px 40px rgba(31, 48, 71, 0.15);
}

.migration-topbar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 14px 0;
    font-size: 12px;
}

.migration-topbar a {
    color: #22527f;
    text-decoration: none;
    font-weight: bold;
}

.migration-logo {
    position: relative;
    width: 100%;
    text-align: center;
}

.migration-logo-image {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

.migration-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px 14px;
    background: linear-gradient(180deg, #5e7ea3 0%, #486887 100%);
}

.migration-menu a {
    padding: 8px 12px;
    color: #f4f9ff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
}

.migration-menu a.is-active,
.migration-menu a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.migration-content {
    padding: 24px 28px 30px;
}

.migration-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 28px 24px;
    border-top: 1px solid #d5dee7;
    background: linear-gradient(180deg, #f8fbfe 0%, #edf3f8 100%);
    color: #486073;
    font-size: 12px;
    line-height: 1.6;
}

.migration-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.migration-footer a {
    color: #22527f;
    font-weight: bold;
    text-decoration: none;
}

.migration-footer a:hover {
    text-decoration: underline;
}

.migration-content ul,
.migration-content ol,
.migration-content li {
    text-align: left;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.panel-card {
    border: 1px solid #cdd8e3;
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f2f7fb 100%);
}

.panel-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1f4f77;
    font-size: 18px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.action-row a {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
}

.action-primary {
    background: #1f5f93;
    color: #fff;
}

.action-secondary {
    background: #edf3f8;
    color: #1f5f93;
}

.status-banner {
    margin: 18px 0 6px;
    padding: 14px 16px;
    border-left: 5px solid #d88d00;
    background: #fff6de;
    color: #694800;
    font-weight: bold;
}

.migration-section-title {
    font-size: 12px;
    padding: 7px 10px 2px;
    font-weight: bold;
    line-height: 1.45;
    text-align: center;
}

.section-copy {
    line-height: 1.65;
    color: #24384b;
}

.cookie-banner,
.cookie-settings {
    border: 1px solid #c9d6e1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(31, 48, 71, 0.22);
    color: #24384b;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1400;
    width: min(calc(100vw - 24px), 760px);
    transform: translateX(-50%);
    padding: 18px 20px;
}

.cookie-banner p,
.cookie-settings p {
    margin: 0;
    line-height: 1.7;
}

.cookie-banner-actions,
.cookie-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cookie-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px;
    border: 0;
    border-radius: 999px;
    background: #edf3f8;
    color: #1f5f93;
    text-decoration: none;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.cookie-button.is-primary {
    background: #1f5f93;
    color: #fff;
}

.cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1490;
    background: rgba(18, 30, 44, 0.42);
}

.cookie-settings {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1500;
    width: min(calc(100vw - 24px), 760px);
    transform: translateX(-50%);
    padding: 22px 22px 20px;
}

.cookie-settings h2 {
    margin: 0 0 12px;
    color: #1f4f77;
    font-size: 22px;
}

.cookie-settings-grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.cookie-settings-card {
    border: 1px solid #d4dee7;
    border-radius: 14px;
    padding: 14px 15px;
    background: linear-gradient(180deg, #fbfdff 0%, #f0f6fb 100%);
}

.cookie-settings-card strong {
    display: block;
    margin-bottom: 6px;
    color: #1f4f77;
}

@media (max-width: 720px) {
    .migration-content {
        padding: 20px 18px 24px;
    }

    .migration-footer {
        padding: 16px 18px 20px;
    }

    .cookie-banner,
    .cookie-settings {
        width: min(calc(100vw - 16px), 760px);
    }
}
