body {
    background-color: #f7f7f7
}

.button {
    display: block!important;
    margin: 25px auto 0!important
}

/*#statistics,#quatro {
    background-color: #fff
}*/

.hero .content-box .carousel .carousel-inner{
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    overflow: hidden;
}

.hero-carousel {
    margin-top: 12px;
}

#content .hero-slide-photo {
    display: block;
    width: 100%;
    max-width: none !important;
    height: 430px !important;
    object-fit: cover;
}

.hero-photo-radost { object-position: 50% 40%; }
.hero-photo-pohyb { object-position: 48% 42%; }
.hero-photo-vzdelavani { object-position: 18% center; }
.hero-photo-zazitky { object-position: 42% 58%; }
.hero-photo-social { object-position: 16% center; }

.hero-slide-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-slide-left .hero-slide-shade {
    background: linear-gradient(90deg, rgba(7, 18, 40, .86) 0%, rgba(7, 18, 40, .62) 28%, rgba(7, 18, 40, .22) 52%, rgba(7, 18, 40, 0) 70%);
}

.hero-slide-right .hero-slide-shade {
    background: linear-gradient(270deg, rgba(5, 12, 28, .92) 0%, rgba(5, 12, 28, .72) 32%, rgba(5, 12, 28, .28) 56%, rgba(5, 12, 28, 0) 74%);
}

.hero-slide-copy {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    max-width: 640px;
    padding: 36px 68px 52px;
}

.hero-slide-left .hero-slide-copy {
    margin-right: auto;
}

.hero-slide-right .hero-slide-copy {
    max-width: 520px;
    margin-left: auto;
}

#content .hero-slide-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-align: left;
    text-shadow: none;
}

#content .hero-slide-copy p {
    margin: 0;
    max-width: 34em;
    color: rgba(255, 255, 255, .94);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.45;
    text-align: left;
    text-shadow: none;
}

#content .hero-btn,
#content .hero-btn:hover {
    color: #fff;
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-shadow: none;
}

.hero-btn-primary {
    background: #2f6ef5;
}

.hero-btn-primary:hover {
    background: #1d5ae0;
    color: #fff;
}

.hero-btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .9);
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 46px;
    opacity: .9;
    z-index: 3;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
    margin-bottom: 14px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border: 0;
    border-radius: 99px;
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .28);
}

.hero-carousel .carousel-indicators .active {
    width: 22px;
    background-color: #fff;
}

@media only screen and (max-width: 700px) {
    .hero .content-box {
        padding-left: 16px;
        padding-right: 16px;
    }

    #content .hero-slide-photo {
        height: 560px !important;
    }

    .hero-slide-left .hero-slide-shade,
    .hero-slide-right .hero-slide-shade {
        background: linear-gradient(180deg, rgba(6, 16, 36, .15) 10%, rgba(6, 16, 36, .55) 42%, rgba(6, 16, 36, .9) 100%);
    }

    .hero-slide-copy,
    .hero-slide-left .hero-slide-copy,
    .hero-slide-right .hero-slide-copy {
        width: 100%;
        max-width: none;
        margin: 0;
        justify-content: flex-end;
        padding: 24px 18px 46px;
    }

    .hero-slide-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        justify-content: center;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    #content .hero-slide-copy h2 {
        font-size: 30px;
    }
}

#main .content-box {
    padding: 100px 0 !important;
    min-width: 100%;
    z-index: 2;
    background-color: rgba(0,0,0,.25)
}

#main .content-box * {
    text-align: center
}

#main .content-box h2,#main .content-box p {
    font-size: 40px !important;
    color: #fff !important;
    text-shadow: 0 0 10px #000
}

#main .content-box p {
    font-size: 20px !important
}

.part-box {
    display: inline-block;
    padding-left: 30px !important;
    padding-right: 30px !important
}

#quatro {
    padding-bottom: 50px
}

#statistics .content-box .part-box,#quatro .part-box {
    padding: 50px 0
}

#statistics .part-box .statistics-text,#statistics .part-box .statistics-value {
    text-align: center;
    display: block
}

#content h2,#statistics .part-box .statistics-value {
    font-size: 35px;
    color: #01357e
}

#statistics .part-box .statistics-text {
    font-size: 20px
}

#quatro .content-box .part-box .picture {
    color: #01357e;
    font-size: 60px;
    display: block;
    text-align: center
}

#quatro .content-box .part-box .picture.picture-stretch {
    width: 60px;
    height: auto;
    margin: 0 auto;
    display: block
}

#quatro .part-box .title {
    color: #000;
    font-weight: 400;
    font-size: 25px;
    text-align: center;
    margin-top: 20px
}

.part-box.third {
    width: calc(100%/3 - 60px)
}

.part-box.quater {
    width: calc(100%/4 - 64px)
}

#content h2 {
    font-size: 30px;
    font-weight: 300;
    margin-top: 25px;
    margin-bottom: 10px
}
@media only screen and (max-width: 900px) { 
	.part-box.quater {
		width: calc(50% - 64px);
	}
}
@media only screen and (max-width: 480px) { 
	.part-box.quater {
		width: calc(100% - 64px);
	}
}

.home-offer-wrap {
    overflow: visible;
    padding-top: 8px;
    padding-bottom: 8px;
}

.home-offer {
    margin: 10px 10px 0;
    padding: 8px 28px 4px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.12);
    text-align: left;
}

.offer-section {
    padding: 22px 0 8px;
    border-top: 1px solid #e4e4e4;
}

.offer-section:first-child {
    border-top: 0;
    padding-top: 16px;
}

.home-offer h2 {
    margin: 0 0 6px !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.25;
    color: #01357e !important;
    text-align: left;
}

.offer-lead,
.offer-aside {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.45;
    color: #444;
}

.offer-aside {
    margin: 10px 0 0;
    font-size: 15px;
    color: #666;
}

.offer-catalog {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.4;
}

.offer-catalog a {
    color: #01357e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.offer-catalog span {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    color: #666;
}

.offer-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
    gap: 28px 40px;
    border-top: 1px solid #e4e4e4;
}

.offer-split .offer-section {
    border-top: 0;
}

.offer-columns {
    display: grid;
    gap: 8px 32px;
}

.offer-columns-3 {
    grid-template-columns: 1.15fr 1.15fr 0.9fr;
}

.offer-columns-edu {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
}

.offer-section-compact {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 4px 32px;
    align-items: center;
}

.offer-section-compact .offer-lead {
    margin-bottom: 0;
}

.offer-section-compact .offer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

#content .offer-section-compact .offer-links li {
    margin: 0;
}

.offer-columns-2 {
    grid-template-columns: 1fr 1fr;
}

.offer-block h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #5c6b80;
}

#content .offer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

#content .offer-links li {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    font-weight: 400;
    line-height: 1.4;
    color: #444;
}

.offer-links a {
    color: #01357e;
    font-size: 17px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#content .offer-links a.offer-paused,
#content .offer-links a.offer-paused:hover,
#content .offer-links a.offer-paused:focus-visible {
    color: #c0392b;
}

.offer-links a:hover,
.offer-links a:focus-visible,
.offer-catalog a:hover,
.offer-catalog a:focus-visible {
    color: #0270d6;
}

.offer-note {
    display: inline;
    margin-left: 6px;
    font-size: 14px;
    color: #8a4b00;
    text-decoration: none;
}

.offer-extra {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 22px 10px 8px;
    padding: 0;
}

.offer-extra-rule {
    height: 3px;
    margin: 18px 10px 8px;
    border: 0;
    background: #01357e;
}

#content .offer-extra a {
    display: inline-block;
    min-width: 180px;
    padding: 12px 22px;
    border: 2px solid #01357e;
    border-radius: 6px;
    background: #fff;
    color: #01357e;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

#content .offer-extra a:hover,
#content .offer-extra a:focus-visible {
    background: #01357e;
    color: #fff;
}

@media only screen and (max-width: 860px) {
    .home-offer {
        margin-left: 0;
        margin-right: 0;
        padding: 4px 18px 8px;
    }

    .offer-split,
    .offer-columns-3,
    .offer-columns-edu,
    .offer-columns-2,
    .offer-section-compact {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .offer-section-compact .offer-lead {
        margin-bottom: 14px;
    }

    .offer-section-compact .offer-links {
        display: block;
    }

    #content .offer-section-compact .offer-links li {
        margin: 0 0 8px;
    }

    .offer-extra,
    .offer-extra-rule {
        margin-left: 0;
        margin-right: 0;
    }

    #content .offer-extra a {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }
}

.it-courses-content-box {
    overflow: visible;
}

.it-courses-banner {
    margin: 10px 10px 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #01357e 0%, #0152b8 55%, #0270d6 100%);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.25);
    color: #fff;
}

.it-courses-banner-inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

.it-courses-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 88px;
    height: 88px;
    border-radius: 18px;
    background: rgba(255,255,255,.14);
    font-size: 28px;
    line-height: 1;
}

.it-courses-copy {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.it-courses-title {
    font-size: 26px !important;
    color: #fff !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-weight: 400;
}

.it-courses-text {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #fff !important;
}

.it-courses-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.it-courses-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 12px 16px;
    border-radius: 6px;
    background-color: #fff;
    color: #01357e !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 0 rgba(0,0,0,.12);
    transition: background-color .15s ease, transform .15s ease;
}

.it-courses-btn:hover,
.it-courses-btn:focus-visible {
    background-color: #e8f1ff;
    color: #012558 !important;
    transform: translateY(-1px);
}

.it-courses-btn-outline {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.75);
    box-shadow: none;
}

.it-courses-btn-outline:hover,
.it-courses-btn-outline:focus-visible {
    background-color: rgba(255,255,255,.14);
    color: #fff !important;
}

@media only screen and (max-width: 700px) {
    .it-courses-banner {
        padding: 24px 20px;
    }

    .it-courses-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .it-courses-icon {
        width: 72px;
        height: 72px;
        font-size: 24px;
        align-self: center;
    }

    .it-courses-title {
        font-size: 22px !important;
    }

    .it-courses-actions {
        width: 100%;
    }

    .it-courses-btn {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    .it-courses-btn {
        flex: 1 1 100%;
    }
}

.donation-content-box {
    overflow: visible;
}

.donation-section {
    margin: 20px 10px 10px;
    padding: 28px 32px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.25);
    overflow: visible;
}

.donation-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.donation-copy {
    flex: 1 1 auto;
    text-align: left;
    min-width: 0;
}

.donation-title {
    font-size: 26px !important;
    color: #01357e !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.donation-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 18px;
}

.donation-payment {
    margin: 0;
}

.donation-payment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 8px;
}

.donation-payment-row:last-child {
    margin-bottom: 0;
}

.donation-payment dt {
    margin: 0;
    font-size: 14px;
    color: #666;
    min-width: 140px;
}

.donation-payment dd {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #01357e;
    letter-spacing: 0.02em;
}

.donation-qr {
    flex: 0 0 auto;
}

.donation-qr-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.donation-qr-btn img {
    display: block;
    width: 160px;
    max-width: 160px;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform .2s ease;
}

.donation-qr-btn:hover img,
.donation-qr-btn:focus-visible img {
    transform: scale(1.04);
}

.donation-qr-btn:focus-visible {
    outline: 2px solid #01357e;
    outline-offset: 4px;
    border-radius: 10px;
}

.donation-qr-hint {
    font-size: 13px;
    color: #666;
}

.donation-qr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,.72);
}

.donation-qr-lightbox[hidden] {
    display: none !important;
}

.donation-qr-lightbox img {
    display: block;
    width: min(90vw, 420px);
    height: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    padding: 16px;
    box-shadow: none;
}

.donation-qr-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #01357e;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

body.donation-qr-open {
    overflow: hidden;
}

@media only screen and (max-width: 700px) {
    .donation-section {
        padding: 24px 20px;
    }

    .donation-body {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .donation-copy {
        text-align: center;
    }

    .donation-payment-row {
        justify-content: center;
    }

    .donation-payment dt {
        min-width: 0;
        width: 100%;
    }
}