/* Pojištění bytu: original Boot4 appearance, native Joomla 4/5/6 markup. */
:root { color-scheme: light; --link-color: #007bff; }
*, *::before, *::after { box-sizing: border-box; }
html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #5a5a5a;
    background: #fff;
}
a { color: var(--link-color); text-decoration: none; }
a:hover { color: #0056b3; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #0056b3; outline-offset: 3px; }
h1, h2, h3, h4, h5, h6, .site-title {
    margin: 0 0 .5rem;
    font-family: Oswald, "Arial Narrow", sans-serif;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}
h1, .site-title { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { margin: 0 0 1rem; }
small, .small { font-size: 80%; font-weight: 400; }
img { vertical-align: middle; border-style: none; max-width: 100%; }
.container { width: 100%; padding: 0 15px; margin: 0 auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
.navbar-brand { display: inline-block; padding: .3125rem 0; margin-right: 1rem; font-size: 1.25rem; line-height: inherit; }
.navbar-brand:hover { text-decoration: none; }
.site-title { display: block; }
.navbar-brand img { max-width: 160px; }
.main { margin-top: 1rem; }
.content-layout, main, aside { min-width: 0; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.text-primary { color: var(--link-color) !important; }
.text-muted { color: #6c757d !important; }
.text-smaller { font-size: 80%; }
.text-center { text-align: center; }
.card-deck { display: flex; flex-direction: column; }
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
    background: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}
.card-deck .card { margin-bottom: 15px; }
.card-body { flex: 1 1 auto; padding: 1.25rem; }
.card-title { margin-bottom: .75rem; }
.card-text:last-child { margin-bottom: 0; }
.card-footer { padding: .75rem 1.25rem; background: rgba(0, 0, 0, .03); border-top: 1px solid rgba(0, 0, 0, .125); }
.card-footer:last-child { border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px); }
.card-img-top { width: 100%; border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0; }
@media (min-width: 576px) {
    .card-deck { flex-flow: row wrap; margin: 0 -15px; }
    .card-deck .card { flex: 0 0 calc(25% - 30px); margin-right: 15px; margin-bottom: 0; margin-left: 15px; }
}
/* Preserve the original 2 / 3 / 4 column breakpoints. */
@media (min-width: 576px) and (max-width: 767.98px) {
    .links.card-deck .card { flex: 0 0 calc(50% - 30px); }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .links.card-deck .card { flex: 0 0 calc(33.3333333333% - 30px); }
}
.site-footer { width: 100%; min-height: 250px; margin-top: 2.5rem; padding: 30px 0 45px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 0 30px; align-items: start; }
.footer-row p { font-size: 13px; margin-bottom: 8px; }
.footer-menu { flex: 1; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.site-navigation ul { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
button, .btn { cursor: pointer; }
button, .btn, input, select, textarea { padding: .5rem .75rem; border: 1px solid #6c757d; border-radius: .25rem; }
label { display: inline-block; margin-bottom: .5rem; }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 15px; top: -100px; z-index: 10; padding: .5rem 1rem; background: #fff; }
.skip-link:focus { top: 10px; }
[hidden] { display: none !important; }
@media (min-width: 768px) {
    .content-layout.has-left { display: grid; grid-template-columns: 1fr 3fr; gap: 30px; }
    .content-layout.has-right { display: grid; grid-template-columns: 7fr 5fr; gap: 30px; }
    .content-layout.has-left.has-right { grid-template-columns: 1fr 2fr 1fr; }
}
@media (max-width: 575.98px) {
    .footer-row { flex-direction: column; }
    .site-navigation ul { flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
