/* case.css — стилі для кейсів FinCzech */

/* ── Split секції з різними фонами (блоки 2+3, 5.1, 8.1+8.2) ────────────── */
/* Ліва колонка — бежева, права — біла. Фони на повну висоту без container */

@media (min-width: 1280px) {
	section.page {
		padding: 1px 0;
	}
	.intro {
		min-height: 730px;
	}
	.slides {
		margin: 50px 0;
	}
}

.slide-arrow span {
    text-decoration: underline;
    color: #26292D;
    font-weight: 500;
}

.intro-text {
    max-width: 500px;
    padding: 260px 0 80px;
}

.case-split {
    overflow: hidden;
}
.case-split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}
.case-split__col {
    display: flex;
    align-items: flex-start;
}
.case-split__col--beige {
    background: #EBE8E0;
}
.case-split__col--white {
    background: #FFFFFF;
}
.case-split__inner {
    padding: 72px 60px;
    width: 100%;
    max-width: 600px;
}
/* Ліва колонка — inner притиснутий до правого краю */
.case-split__col--beige .case-split__inner {
    margin-left: auto;
}
/* Права колонка — inner від лівого краю */
.case-split__col--white .case-split__inner {
    margin-right: auto;
}
.case-split h2 {
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 28px;
    color: #2C3A49;
    line-height: 1.2;
}
.case-split .contact_button {
    margin-top: 32px;
}

@media (max-width: 900px) {
    .case-split__grid {
        grid-template-columns: 1fr;
    }
    .case-split__inner {
        padding: 48px 24px;
        max-width: 100%;
        margin: 0 !important;
    }
}
@media (min-width: 1280px) {
    .case-split__inner {
        padding: 96px 80px;
    }
}


/* ── Двоколонні секції (блоки 2+3, 5.1, 8.1+8.2) ─────────────────────────── */

.case-two-col {
    padding: 64px 0;
}
.case-two-col--light {
    background: #EBE8E0;
    color: #26292D;
}
.case-two-col__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.case-two-col h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    margin: 0 0 24px;
    color: #2C3A49;
}
.case-two-col__text {
    font-size: 15px;
    line-height: 1.7;
    color: #594D44;
}
.case-two-col__text p { margin: 0 0 14px; }
.case-two-col__text ul { padding-left: 20px; margin: 0 0 14px; }
.case-two-col__text li { margin-bottom: 8px; }
.case-two-col__text strong { color: color(srgb 0.4613 0.4707 0.4837); }
.case-two-col .contact_button { margin-top: 32px; }


.case-split .case-two-col__text p,
.case-split .case-two-col__text li {
    margin: 0;
}

@media (max-width: 900px) {
    .case-two-col__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
@media (min-width: 1280px) {
    .case-two-col { padding: 96px 0; }
}


/* ── Блок 4 — Analysis (світлий бежевий фон) ─────────────────────────────── */
.upcheg_case .service-intro-text p {
    font-size: 18px;
}

.upcheg_case .case-dark-section .content,
.upcheg_case .case-light-section .content { 
    margin: 0 150px;
}

.upcheg_case .case-light-section li,
.upcheg_case .case-split li,
.upcheg_case .case-light-section p,
.upcheg_case .case-split p {
    color: color(srgb 0.4618 0.4669 0.4625);
}

.case-light-section p {
    margin: 0;
    line-height: 1.65;
}

.case-light-section p strong {
    margin-top: 15px;
    display: block;
    color: color(srgb 0.4613 0.4707 0.4837);
}


.case-light-section ul {
    margin: 0px 0 10px 0;
}

.case-light-section {
    background: #EBE8E0;
    color: #26292D;
    padding: 64px 0;
}
.case-light-section .eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #2c3b49;
    margin-bottom: 30px;
}
.case-light-section h2 {
    font-size: 42px;
    font-weight: 600;
    max-width: 780px;
    line-height: 1.15;
    margin: 0 0 48px;
    color: #2C3A49;
}
.case-light-section h2 em {
    color: #CDAC6B;
    font-style: italic;
}

.case-light-section h2 i {
    font-style: italic;
    color: color(srgb 0.4375 0.4714 0.4883);
    font-weight: 400;
}

.case-light-section .contact_button { margin-top: 40px; }

@media (min-width: 1280px) {
    .case-light-section { padding: 96px 0; }
}


/* ── Блок 5 — Solution (темно-синій фон) ─────────────────────────────────── */

.case-dark-section {
    background: #2C3A49;
    color: #EBE8E0;
    padding: 64px 0;
}
.case-dark-section .eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #CDAC6B;
    margin-bottom: 16px;
}
.case-dark-section h2 {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 600;
    max-width: 780px;
    line-height: 1.15;
    margin: 0 0 48px;
    color: #EBE8E0;
}
.case-dark-section h2 em,
.case-dark-section h2 i {
    color: #CDAC6B;
    font-style: italic;
}
.case-dark-section .contact_button { margin-top: 40px; }

@media (min-width: 1280px) {
    .case-dark-section { padding: 96px 0; }
}


/* ── Список вимірів (блоки 4 і 5) ───────────────────────────────────────── */

.case-dims-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.case-dims-list__item {
    padding-left: 20px;
    border-left: 2px solid rgba(205, 172, 107, 0.5);
}
.case-dims-list__item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}
.case-dims-list__item p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    opacity: .8;
}


/* ── Блок 6 — Quote ─────────────────────────────────────────────────────── */
.service-intro-path {
    top: 120px;
}

.case-quote {
    background: #26292D;
    color: #EBE8E0;
    padding: 100px 0;
    text-align: center;
}
.case-quote .eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 32px;
}
.case-quote__inner {
    max-width: 800px;
    margin: 0 auto;
}
.case-quote__text {
    font-size: clamp(26px, 4vw, 42px);
    font-style: italic;
    /* font-weight: 500; */
    /* line-height: 1.3; */
    margin: 0 0 10px;
    color: #EBE8E0;
    border: none;
    padding: 0;
}
.case-quote__author {
    display: block;
    font-size: 37px;
    font-style: italic;
    color: #CDAC6B;
    /* font-weight: 500; */
}

@media (min-width: 1280px) {
    .case-quote { padding: 140px 0; }
}


/* ── Блок 7 — Results ───────────────────────────────────────────────────── */

.case-results {
    background: #26292D;
    color: #EBE8E0;
}
.case-results__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}
.case-results__image {
    background: center center / cover no-repeat;
}
.case-results__content {
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.case-results__content .eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 32px;
}
.case-results__item {
    margin-bottom: 40px;
}
.case-results__item:last-child {
    margin-bottom: 0;
}
.case-results__item h2 {
    font-size: 55px;
    /* font-weight: 600; */
    line-height: 1.25;
    margin: 0 0 16px;
    color: #EBE8E0;
}
.case-results__text {
    font-size: 14px;
    line-height: 1.7;
    opacity: .75;
}
.case-results__text p { margin: 0 0 8px; }
.case-results__text ul { padding-left: 18px; margin: 0; }
.case-results__text li { margin-bottom: 6px; }

.upcheg_case .service-intro {
    background-color: color(srgb 0.1705 0.228 0.2878);
}

.upcheg_case .upcheg_client_strategic_1 {
    background-color: color(srgb 0.9187 0.91 0.8795);
}

.upcheg_case .upcheg_client_strategic_2 {
    background-color: color(srgb 0.9999 1 1);
}


.upcheg_case .case-dark-section li,
.upcheg_case .case-dark-section p {
    color: color(srgb 0.6873 0.7061 0.7321);
    margin: 0;
}

.upcheg_cases .slide-date,
.upcheg_case .case-dark-section .contact_button,
.upcheg_case .service-intro .contact_button {
    display: none;
}

.upcheg_case .service-intro .service-intro-text h1 {
    color: color(srgb 0.8637 0.7717 0.5904);
    font-style: italic;
    font-size: 44px;
}

.upcheg_case .service-intro-text {
    padding: 48px 0 16px;
    max-width: 100%;
    z-index: 9;
	max-width: 500px;
}

.upcheg_case .service-intro-text em {
    font-size: 46px;
    font-style: normal;
}

.upcheg_case .service-intro-path {
	max-width: 400px;
}

@media (max-width: 900px) {
    .case-results__grid { grid-template-columns: 1fr; }
    .case-results__image { height: 320px; }
    .case-results__content { padding: 40px 24px; }
}
@media (min-width: 1280px) {
    .case-results__content { padding: 80px 64px; }
}


/* ── Hero image ─────────────────────────────────────────────────────────── */

.case-hero-image {
    height: 440px;
    background: center center / cover no-repeat;
}

.upcheg_cases .wp-pagenavi span.first, 
.upcheg_cases .wp-pagenavi span.last, 
.upcheg_cases .wp-pagenavi span.previouspostslink, 
.upcheg_cases .wp-pagenavi span.nextpostslink, 
.upcheg_cases .wp-pagenavi a.first, 
.upcheg_cases .wp-pagenavi a.last, 
.upcheg_cases .wp-pagenavi a.previouspostslink, 
.upcheg_cases .wp-pagenavi a.nextpostslink {
    background: #ffffff;
    border-color: #ffffff;
    color: #CDAC6B;
    position: relative;
    overflow: hidden;
    padding-top: 36px;
}

#contact-form {
    scroll-margin-top: 100px; /* висота вашого хедера */
}

@media (min-width: 1280px) {
    .case-hero-image {
        height: auto;
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        right: 0;
    }
}


@media (max-width: 768px) {
    .upcheg_case .service-intro .service-intro-text h1,
    .upcheg_case .service-intro-text em {
        font-size: 39px;
    }
    .upcheg_case .case-dark-section .content, 
    .upcheg_case .case-light-section .content {
        margin: 0px;
    }
}