
/* =========================================================
   SPONZA.cz – čistá homepage
   ========================================================= */

:root {
    --sponza-blue: #1B263B;
    /* --sponza-orange: #E6A08D; */
    --sponza-white: #ffffff;
    --sponza-dark: #1B263B;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(
        90deg,
        var(--sponza-blue) 0%,
        var(--sponza-blue) 50%,
        var(--sponza-orange) 50%,
        var(--sponza-orange) 100%
    );
}

/* schovat výchozí WP hlavičku a footer */
body.home .wp-block-template-part,
body.home header.wp-block-template-part,
body.home footer.wp-block-template-part,
body.home .wp-block-site-title,
body.home .wp-block-navigation {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
/* schovat horní wrapper s titulkem stránky */
body.home main.wp-block-group > .wp-block-group.has-global-padding:not(.entry-content) {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* zrušit WP mezery */
.wp-site-blocks,
.entry-content,
.wp-block-post-content,
main.wp-block-group {
    margin-top: 0;
    padding-top: 0;
}

.entry-content {
    max-width: none;
}

/* =========================================================
   Logo
   ========================================================= */

.sponza-logo-top {
    position: fixed;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 80;
    pointer-events: none;
}

.sponza-logo-top img {
    display: block;
    width: clamp(220px, 20vw, 360px);
    height: auto;
    filter:
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.55))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.38))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.22));
}

/* =========================================================
   Hlavní plocha
   ========================================================= */

.sponza-home-v2 {
    width: 100vw;
    max-width: none;
    min-height: 100vh;

    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    display: grid;
    grid-template-columns: 50vw 50vw;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

/* postavy jako vrstva nad pozadím, ale pod textem */
.sponza-image-top {
    position: absolute;
    left: 45%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 18;
    pointer-events: none;
}

.sponza-image-top img {
    display: block;
    width: min(92vw, 1320px);
    max-width: none;
    height: auto;
    opacity: 0.42;
}

/* levá modrá polovina */
.sponza-home-left-v2 {
    grid-column: 1;
    grid-row: 1;
    min-height: 100vh;
    background: var(--sponza-blue);
    color: var(--sponza-white);

    padding: 120px 100px 90px 70px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    position: relative;
    z-index: 10;
}

/* pravá oranžová polovina */
.sponza-home-right-v2 {
    grid-column: 2;
    grid-row: 1;
    min-height: 100vh;
    background: var(--sponza-orange);

    padding: 90px 90px 90px 110px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    position: relative;
    z-index: 10;
}

/* text a bloky nad postavami */
.sponza-home-left-inner-v2,
.sponza-home-blocks-v2 {
    position: relative;
    z-index: 30;
}

.sponza-home-left-inner-v2 {
    width: 100%;
    max-width: 430px;
}

.sponza-home-left-v2 h1 {
    margin: 0 0 28px;
    color: var(--sponza-white);

    font-size: clamp(42px, 4vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.sponza-home-left-v2 p {
    margin: 0;
    max-width: 390px;

    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 1.25vw, 22px);
    line-height: 1.55;
}

/* pravé bloky */
.sponza-home-blocks-v2 {
    width: 100%;
    max-width: 500px;
}

.sponza-home-block-v2 {
    width: 100%;
    padding: 30px 34px 34px;
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 48px rgba(27, 38, 59, 0.13);
}

.sponza-home-block-v2 + .sponza-home-block-v2 {
    margin-top: 24px;
}

.sponza-home-block-v2 span {
    display: inline-block;
    margin-bottom: 18px;

    color: rgba(27, 38, 59, 0.62);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.sponza-home-block-v2 h2 {
    margin: 0 0 12px;
    color: var(--sponza-dark);

    font-size: clamp(32px, 2.45vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 850;
}

.sponza-home-block-v2 p {
    margin: 0;
    color: rgba(27, 38, 59, 0.86);

    font-size: 18px;
    line-height: 1.5;
}

/* =========================================================
   Notebook
   ========================================================= */

@media (max-width: 1200px) {
    .sponza-home-left-v2 {
        padding: 100px 70px 80px 40px;
    }

    .sponza-home-left-inner-v2 {
        max-width: 360px;
    }

    .sponza-home-left-v2 h1 {
        font-size: clamp(38px, 3.8vw, 58px);
    }

    .sponza-home-left-v2 p {
        max-width: 340px;
    }

    .sponza-home-right-v2 {
        padding: 80px 44px 80px 70px;
    }

    .sponza-home-blocks-v2 {
        max-width: 430px;
    }

    .sponza-home-block-v2 p {
        font-size: 17px;
    }

    .sponza-image-top {
        left: 38%;
    }

    .sponza-image-top img {
        width: min(82vw, 1050px);
        opacity: 0.32;
    }
}

/* =========================================================
   Mobil
   ========================================================= */

@media (max-width: 820px) {
    body {
        background: var(--sponza-blue);
    }

    .sponza-logo-top {
        top: 24px;
    }

    .sponza-logo-top img {
        width: clamp(180px, 48vw, 260px);
    }

    .sponza-home-v2 {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        left: auto;
        overflow: hidden;
    }

    .sponza-image-top {
        position: absolute;
        left: 50%;
        top: 150px;
        bottom: auto;
        z-index: 18;
    }

    .sponza-image-top img {
        width: 120vw;
        opacity: 0.18;
    }

    .sponza-home-left-v2 {
        min-height: auto;
        padding: 120px 24px 52px;
        justify-content: flex-start;
    }

    .sponza-home-left-inner-v2,
    .sponza-home-left-v2 p {
        max-width: none;
    }

    .sponza-home-right-v2 {
        min-height: auto;
        padding: 52px 24px 64px;
    }

    .sponza-home-blocks-v2 {
        max-width: none;
    }

    .sponza-home-block-v2 {
        padding: 26px 24px 28px;
        border-radius: 22px;
    }
}
/* SPONZA – finální pozice lidí na homepage */

body.home .sponza-image-top {
    left: 45% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
}

body.home .sponza-image-top img {
    width: min(96vw, 1420px) !important;
    opacity: 0.42 !important;
}
/* SPONZA – homepage: výrazně větší postavy */

body.home .sponza-image-top img {
    width: min(125vw, 1850px) !important;
    opacity: 0.42 !important;
}

body.home .sponza-image-top {
    left: 46% !important;
}
/* SPONZA – čistý mobil homepage */
@media (max-width: 700px) {

    body.home .sponza-home-left-v2 {
        padding-top: 38px !important;
        padding-bottom: 10px !important;
    }

    body.home .sponza-home-left-v2 h1 {
        font-size: 24px !important;
        line-height: 1.02 !important;
        letter-spacing: -0.04em !important;
        margin-bottom: 18px !important;
    }

    body.home .sponza-home-left-v2 p {
        font-size: 14px !important;
        line-height: 1.52 !important;
        margin-top: 0 !important;
    }

    body.home .sponza-image-top {
        margin-top: 70px !important;
        transform: translateY(70px) !important;
    }

    body.home .sponza-home-right-v2 {
        margin-top: 70px !important;
        transform: translateY(70px) !important;
    }
}

@media (max-width: 700px) {
    body.home .sponza-home-left-v2 {
        outline: 6px solid red !important;
    }
}
@media (max-width: 700px) {
    body.home .sponza-home-left-v2 h1 {
        font-size: 50% !important;
        line-height: 1.05 !important;
    }
}
@media (max-width: 700px) {
    body.home .sponza-home-left-v2 h1 {
        font-size: 24px !important;
        line-height: 1.05 !important;
    }
}
@media (max-width: 700px) {
    .sponza-hero-text h1 {
        font-size: 28px !important;
        line-height: 1.08 !important;
        margin-bottom: 14px !important;
    }
}
@media (max-width: 700px) {
    .sponza-hero-text p {
        margin-top: -10px !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }
}
@media (max-width: 700px) {
    body.home .sponza-hero-text h1 {
        font-size: 26px !important;
        line-height: 1.08 !important;
        -2: 0px !important;
    }

    body.home .sponza-hero-text p {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-top: -10px !important;
    }

    body.home .sponza-people {
        transform: translateY(35px) !important;
    }

    body.home .sponza-hero-left {
        transform: translateY(-50px) !important;
    }
}
@media (max-width: 700px) {
    .sponza-cards-wrap {
        position: relative !important;
        z-index: 1 !important;
        margin-top: 40px !important;
    }

    .sponza-hero {
        position: relative !important;
        z-index: 5 !important;
        overflow: hidden !important;
    }

    .sponza-people {
        position: relative !important;
        z-index: 20 !important;
    }
}

/* Stylování koncové uvozovky */
.sponza-card-quote q::after {
    content: close-quote;
    color: #ff4b4b;       /* Stejná barva jako na začátku */
    font-size: 1.4em;
    font-weight: bold;
    line-height: 0;
    margin-left: 2px;
}
/* SPONZA – mobil: menší dekorativní kruh/měsíc v hero */
@media (max-width: 760px) {
    .sponza-hero-left::after {
        left: -70px !important;
        bottom: -85px !important;
        width: 180px !important;
        height: 180px !important;
        border-color: rgba(224, 122, 95, 0.18) !important;
        box-shadow:
            24px 24px 0 -1px rgba(20, 33, 54, 1),
            24px 24px 0 0 rgba(224, 122, 95, 0.12) !important;
    }
}
/* SPONZA – footer homepage */
.spz-footer {
    margin-top: 90px;
    padding: 46px 24px;
    background: #1b263b;
    color: #fff;
}

.spz-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.spz-footer-brand img {
    display: block;
    max-width: 180px;
    height: auto;
    margin-bottom: 12px;
}

.spz-footer-brand p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
}

.spz-footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.spz-footer-links a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
}

.spz-footer-links a:hover {
    color: #e9855f !important;
}

@media (max-width: 760px) {
    .spz-footer-inner {
        display: grid;
        text-align: center;
    }

    .spz-footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .spz-footer-links {
        justify-content: center;
    }
}
body.archive .spz-archive-card .wp-block-post-title,
body.category .spz-archive-card .wp-block-post-title,
body.tag .spz-archive-card .wp-block-post-title {
    position: static !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    overflow: visible !important;
}
body.home .wp-block-navigation__container.items-justified-center:not(.spz-topnav) {
    display: none !important;
}
body.home header.wp-block-template-part,
body.home footer.wp-block-template-part,
body.home .wp-block-site-logo,
body.home .wp-block-site-title,
body.home .wp-block-navigation:not(.spz-topnav),
body.home .wp-block-post-title {
    display: none !important;
}