.krystal-page {
    background-color: #ffffff;
}

.page-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    overflow: hidden;
}

.hero-layout-wrapper {
    display: grid;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Układ dzielony (z obrazkiem) */
.page-hero-split .hero-layout-wrapper {
    grid-template-columns: 1fr 1fr;
}

/* Układ centrowany (bez obrazka) */
.page-hero-centered {
    text-align: center;
    padding: 120px 0 120px;
}
.page-hero-centered .hero-layout-wrapper {
    grid-template-columns: 1fr;
}

/* Tytuł i Breadcrumbs */
.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--ks-navy);
    line-height: 1.1;
    margin-top: 15px;
}

.breadcrumb-nav {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ks-slate);
}
.breadcrumb-nav a {
    color: var(--ks-blue);
    text-decoration: none;
}
.breadcrumb-nav i {
    font-size: 0.7rem;
    margin: 0 8px;
    opacity: 0.5;
}

/* Obrazek w ramce */
.image-glass-frame {
    background: rgba(255, 255, 255, 0.4);
    padding: 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.image-glass-frame img {
    border-radius: 20px;
    width: 100%;
}

/* --- CONTENT SECTION --- */
.page-body-container {
    padding: 80px 0 120px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.page-content-card {
    background: #fff;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
}

/* Stylizacja standardowych elementów wewnątrz strony */
.entry-content h2 { margin-top: 1.8em; margin-bottom: 0.8em; }
.entry-content p { margin-bottom: 1.5em; }

.page-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
.page-hero-wave svg {
    height: 80px;
    width: 100%;
}

/* Responsywność */
@media (max-width: 991px) {
    .page-hero-split .hero-layout-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .page-hero-image {
        order: -1; /* Obrazek nad tekstem na mobile */
        max-width: 400px;
        margin: 0 auto;
    }
    .page-content-card {
        padding: 30px 20px;
    }
}



/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
    .krystal-hero-split-header {
        padding: 100px 0 120px;
    }
    .hero-grid-split {
        gap: 40px;
    }
    /* Na mobile obrazek nad tekstem (lub odwrotnie, zależy od preferencji) */
    .hero-image-wrapper {
        order: -1; 
    }
    .entry-content-card {
        padding: 30px;
    }
}
/* Stylizacja sekcji */
.krystal-features {
    padding: 100px 0 60px;
    background: #fff; /* Bardzo jasny błękit/szarość */
    position: relative;
    overflow: hidden;
}

/* Fala na górze */
.wave-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider .shape-fill {
    fill: #ffffff; /* Kolor sekcji powyżej (np. slidera) */
}


