.text-white {
    font-size: 34px;
    text-align: center;
    font-family: "BarlowSemiCondensed";
    font-weight: normal;


}

.support_cooperation_div{
    padding-bottom: 7rem;
}

div.support_cooperation_div div.talpo_web img{
    margin-top: 55px;
    /*height: 80%;*/
}

div.judo div.judo_logo img{
    /*height: 250px ;*/
    width: auto;
    margin-top: 60px;
}

div.container div.it_company img{
    /*width: 200%;*/
    /*height: auto;*/
}

@media (min-width: 1270px) {
    div.judo div.judo_logo img{
        margin-left: 150px;
    }
}

@media (min-width: 992px) {
    div.container.coop div.cooperation_1 div.csag img{
        margin-right: -5rem !important;
    }

    div.container.coop div.cooperation_1 img.ibm{
        margin-right: -3rem !important;
    }

    div.container.coop div.cooperation_1 div.artinit img.artinit{
        margin-left: -3rem !important;
    }
}


@media (max-width: 1300px) {
    div.judo div.judo_logo img{
        /*float: right;*/
        display: block;
        margin-left: auto;
        margin-right: 75px;
        width: 150px;
    }
    div.support_cooperation_div div.talpo_web img{
        float: right;
        width: 300px;
        margin-top: 65px;
        /*height: 20%;*/
    }
}

@media (max-width: 1100px) {
    div.container div.it_company img{
        /*margin-left: -50px;*/
    }
}

@media (max-width: 650px) {
    div.container div.it_company img{
        /*margin-left: 80px;*/
    }

    div.judo h2.judo{
        text-align: center;
        margin: 10px;
    }

    div.judo p.judo{
        text-align: left;
    }

    div.container h2.talpo{
        text-align: center;
        margin-top: 10px;
    }

    div.container p.talpo{
        text-align: left;
    }

    div.judo div.judo_logo img{
        float: inherit;
        display: block;
        margin-left: auto;
        margin-right: auto;
        /*width: 50%;*/
    }

    div.support_cooperation_div div.talpo_web img{
        float: inherit;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;

        margin-top: auto;
        height: auto;
    }


}


div.container.coop img{
    display: block;
    max-width: 200px;
    max-height: 400px;
    width: auto;
    height: auto;
}

div.container.coop div.cooperation_1{
    display: flex;
    align-items: flex-end;
}

div.container.coop div.cooperation_1 div.csag img{
    /*max-width: 200%;*/
}

div.container.coop div.cooperation_1 div.it img{
    max-width: 350px;
    width: 400px;
}

div.container.coop div.cooperation_1 div.artinit img{
    max-height: 100%;
    height: 105px;
}

@media (max-width: 767px) {
    div.container.coop div.col-md-4{
        margin-top: 40px;
    }

    div.container.coop div.col-md-3{
        margin-top: 40px;
    }

    div.container.coop div.it img{
        /*margin-right: 30px !important;*/
    }
}


/* ===========================================================
   Reference — stat block (modern cards, matches the homepage
   card design: white cards on a grey band, blue number).
   =========================================================== */
.ref-stats {
    background-color: #f1f1f1;
}

.ref-stat {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e3ebf6;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 45, 70, 0.06);
    padding: 44px 28px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ref-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(15, 45, 70, 0.12);
}

.ref-stat-num {
    display: block;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--evo-blue, #2f55b8);
}

.ref-stat-label {
    display: block;
    margin-top: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--evo-navy, #11213a);
}

/* ===========================================================
   Reference — client / partner logo wall, grouped by sector.
   White logo tiles on a white section (alternates with the grey
   stat band above). section-head/accent-line mirror the homepage
   flagship heading so the page reads consistently.
   =========================================================== */
.ref-clients {
    background: #ffffff;
}

.ref-clients .section-head {
    text-align: center;
    margin-bottom: 56px;
}

.ref-clients .section-head h2 {
    margin: 0;
}

.ref-clients .section-head .accent-line {
    display: block;
    width: 46px;
    height: 4px;
    margin: 18px auto 0;
    background-color: var(--evo-blue, #2f55b8);
    border-radius: 2px;
}

.ref-client-group {
    margin-bottom: 48px;
}

.ref-client-group:last-child {
    margin-bottom: 0;
}

.ref-client-group-title {
    margin: 0 0 22px;
    padding-left: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--evo-navy, #11213a);
    border-left: 4px solid var(--evo-blue, #2f55b8);
}

.ref-client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Cooperation page uses the same tiles but a flex grid, so a short last row of
   logos (e.g. the trailing 2 of 8) is centred instead of left-aligned. */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partners-grid .ref-client {
    flex: 0 1 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
}

@media (max-width: 991px) {
    .partners-grid .ref-client {
        flex-basis: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 575px) {
    .partners-grid {
        gap: 14px;
    }
    .partners-grid .ref-client {
        flex-basis: calc((100% - 14px) / 2);
        max-width: calc((100% - 14px) / 2);
    }
}

.ref-client {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 170px;
    padding: 26px 30px;
    background: #ffffff;
    border: 1px solid #e3ebf6;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 45, 70, 0.05);
    /* Elevate on hover with shadow + border only — NO transform. A hover
       `transform` promotes the card to a GPU compositing layer, and Safari/
       WebKit re-samples the down-scaled logos onto that layer at a slightly
       different scale, so the block visibly "grows" on hover. box-shadow and
       border-color are software-painted (no compositing layer), so the logo is
       always painted at its display size and never jumps. */
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.ref-client:hover {
    box-shadow: 0 18px 44px rgba(15, 45, 70, 0.16);
    border-color: #cdddf3;
}

.ref-client img {
    max-width: 280px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Neutralise the site-wide `transition: all` on <img> — logos must not
       animate. (No compositing hints here: with the card's hover transform
       removed, the logos are never re-rasterised, so they don't need pinning
       to their own layer.) */
    transition: none;
}

.ref-client--text .ref-client-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--evo-navy, #11213a);
}

@media (max-width: 991px) {
    .ref-client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ref-client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .ref-client {
        min-height: 120px;
        padding: 16px;
    }
    .ref-client img {
        max-width: 150px;
        max-height: 84px;
    }
}

/* ===========================================================
   Podporujeme (supports) — Český svaz juda project page.
   =========================================================== */
.sup-hero { background: #ffffff; text-align: center; }
.sup-hero .csju-logo { display: block; width: 132px; height: auto; margin: 0 auto 22px; }
.sup-hero h2 { color: var(--evo-navy, #11213a); margin: 0; }

.sup-lead {
    max-width: 820px;
    margin: 18px auto 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--evo-text, #44546a);
}

.sup-band { background: #f1f1f1; }

.sup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.sup-row.reverse .sup-text { order: 2; }
.sup-row.reverse .sup-media { order: 1; }

.sup-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--evo-blue, #2f55b8);
}
.sup-text h3 { color: var(--evo-navy, #11213a); margin: 0 0 16px; }
.sup-text p { color: var(--evo-text, #44546a); font-size: 1.05rem; line-height: 1.65; }
.sup-text a:not(.sup-link) { color: var(--evo-blue, #2f55b8); font-weight: 600; }

.sup-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    color: var(--evo-blue, #2f55b8) !important;
    text-decoration: none;
}
.sup-link:hover { text-decoration: underline; }

.sup-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 45, 70, 0.12);
}

/* Browser-window frame for the app screenshots. Clickable — opens the full
   screenshot in the site lightbox (bound globally via [light-href]). Hover uses
   shadow only (no transform) so Safari never re-samples the down-scaled image. */
.sup-window {
    display: block;
    margin: 0;
    background: #fff;
    border: 1px solid #e3ebf6;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 44px rgba(15, 45, 70, 0.12);
    transition: box-shadow 0.25s ease;
}
.sup-window:hover { box-shadow: 0 24px 58px rgba(15, 45, 70, 0.22); }
.sup-window .dots { display: flex; gap: 7px; padding: 12px 16px; background: #f4f7fb; border-bottom: 1px solid #e9eef6; }
.sup-window .dots i { display: block; width: 11px; height: 11px; border-radius: 50%; background: #cfd9e6; }
.sup-window img { display: block; width: 100%; height: auto; }

/* Hajime — highlighted sponsorship block. */
.sup-highlight {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 140% at 12% 0%, #1b3358 0%, var(--evo-navy, #11213a) 58%);
    color: #fff;
    border-radius: 22px;
    padding: 46px 50px;
    box-shadow: 0 24px 60px rgba(15, 45, 70, 0.25);
}
.sup-highlight h3 { color: #fff; margin: 14px 0 16px; font-size: 1.85rem; }
.sup-highlight p { color: rgba(255, 255, 255, 0.88); font-size: 1.06rem; line-height: 1.65; }
.sup-highlight p:last-child { margin-bottom: 0; }
.sup-highlight strong { color: #fff; }
.sup-badge {
    display: inline-block;
    background: var(--evo-blue-light, #5b8def);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}

.sup-diagram { max-width: 920px; margin: 0 auto; }
.sup-diagram svg { width: 100%; height: auto; display: block; }

@media (max-width: 767px) {
    .sup-row { grid-template-columns: 1fr; gap: 28px; }
    .sup-row.reverse .sup-text, .sup-row.reverse .sup-media { order: 0; }
    .sup-highlight { padding: 32px 24px; }
    .sup-highlight h3 { font-size: 1.5rem; }
}

/* Two client groups sharing the first row (Finance a investice + Elektronika).
   Headings live in a 3-column grid parallel to the tile grid, so each label
   aligns above its own tiles while all three tiles stay equal width. */
.ref-client-heads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
}
.ref-client-heads .ref-client-group-title { margin: 0; }
.ref-heads-main { grid-column: 1 / span 2; }
.ref-heads-side { grid-column: 3; }

@media (max-width: 991px) {
    .ref-client-heads { grid-template-columns: repeat(2, 1fr); }
    .ref-heads-main { grid-column: 1 / span 1; }
    .ref-heads-side { grid-column: 2; }
}
@media (max-width: 575px) {
    .ref-client-heads { grid-template-columns: 1fr; gap: 6px; }
    .ref-heads-main, .ref-heads-side { grid-column: auto; }
}
