/* ==========================================================================
   Kinderplezier — Homepage Desktop (page-specific)
   Shared components (header, footer, cards, etc.) are in shared.css.
   ========================================================================== */

/* ---------- Hero orange box -------------------------------------------- */
.kph-hero {
    background: var(--color-primary);
    border-radius: var(--radius-card);
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    min-height: 478px;
    overflow: hidden;
}

.kph-hero__books {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kph-hero__books-pile {
    position: relative;
    width: 480px;
    height: 400px;
}

.kph-hero__book {
    position: absolute;
    border-radius: 6px;
    object-fit: cover;
    filter: drop-shadow(3px 4px 6px rgba(0,0,0,0.3));
}

.kph-hero__book--1 { width: 155px; top: 20px;  left: 10px;  z-index: 2; }
.kph-hero__book--2 { width: 115px; top: 35px;  left: 150px; z-index: 1; }
.kph-hero__book--3 { width: 135px; top: 50px;  left: 235px; z-index: 3; }
.kph-hero__book--4 { width: 125px; top: 15px;  left: 355px; z-index: 2; }
.kph-hero__book--5 { width: 110px; top: 220px; left: 35px;  z-index: 4; }
.kph-hero__book--6 { width: 125px; top: 205px; left: 140px; z-index: 5; }
.kph-hero__book--7 { width: 105px; top: 230px; left: 265px; z-index: 4; }
.kph-hero__book--8 { width: 100px; top: 215px; left: 365px; z-index: 5; }

.kph-hero__content {
    width: 50%;
    padding: 64px 60px 48px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kph-hero__heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 28px;
    color: var(--color-white);
    line-height: 36px;
    margin: 0;
}

/* H2 (Willem, email 2): one WYSIWYG text field replaces the two category columns.
   Styled for the orange hero box (white, bold) and supports the paragraphs / bullet
   lists / links Willem can add in the editor. */
.kph-hero__text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 17px;
    color: var(--color-white);
    line-height: 25px;
}
.kph-hero__text p { margin: 0 0 12px; }
.kph-hero__text p:last-child { margin-bottom: 0; }
.kph-hero__text ul {
    list-style: disc;
    margin: 0;
    padding: 0 0 0 20px;
}
.kph-hero__text a { color: var(--color-white); text-decoration: underline; }

.kph-hero__cta {
    align-self: flex-start;
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff3f00;
    border: 4px solid var(--color-white);
    border-radius: 40px;
    width: 420px;
    height: 72px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 24px;
    color: var(--color-bg);
    text-decoration: none;
    transition: background 0.2s;
}

.kph-hero__cta:hover { background: #e63500; }

/* ---------- Specials --------------------------------------------------- */
/* ---------- Main CTA section ------------------------------------------- */
.kph-main-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    padding: 48px 0 80px;
}

.kph-main-cta__note {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
    text-align: center;
    margin: 0;
}

/* How it works uses shared .kph-how__* classes from shared.css */

/* ---------- Info section (yellow band + two cards) --------------------- */
.kph-info-section {
    background: var(--color-accent);
    position: relative;
    padding: 60px 0 120px;
    overflow: visible;
    max-width: var(--max-width);
    margin: 72px auto 0;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.kph-info-cards {
    display: flex;
    gap: 24px;
    max-width: 80%;
    margin: 0 auto;
    padding: 0;
    align-items: stretch;
    overflow: visible;
}

.kph-info-card--white {
    background: var(--color-white);
    border-radius: 16px;
    flex: 1;
    min-height: unset;
    padding: 48px 48px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: -120px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.15);
    z-index: 3;
}

.kph-info-card--orange {
    background: var(--color-primary);
    border-radius: 16px;
    flex: 1;
    min-height: unset;
    padding: 48px 40px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: -120px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.15);
    z-index: 3;
}

.kph-info-card h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 32px;
    margin: 0 0 16px;
}

.kph-info-card--white h3 { color: var(--color-text); }
.kph-info-card--orange h3 { color: var(--color-bg); }

.kph-info-card__body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
}

.kph-info-card__body p { margin: 0 0 12px; }

.kph-info-card--white .kph-info-card__body { color: var(--color-text); }
.kph-info-card--orange .kph-info-card__body { color: var(--color-bg); }

.kph-info-card__btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    align-self: flex-end;
    margin-top: auto;
    transition: opacity 0.2s;
}

.kph-info-card__btn:hover { opacity: 0.9; }

.kph-info-card__btn--white { background: var(--color-primary); color: var(--color-white); }
.kph-info-card__btn--orange { background: var(--color-white); color: var(--color-primary); }

/* Stappen section must allow orange card to stick up above yellow band */
.kph-how { overflow: visible; }


/* ---------- Wij geloven ------------------------------------------------ */
.kph-geloven {
    position: relative;
    overflow: hidden;
    max-width: var(--max-width);
    margin: -60px auto 60px;
    z-index: 1;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.kph-geloven__photo-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.kph-geloven__photo {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -10%;
    margin-bottom: -10%;
}

.kph-geloven__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
}

.kph-geloven__text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 140px 60px;
}

.kph-geloven__text p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 30px;
    color: var(--color-white);
    line-height: 42px;
    max-width: 1000px;
    margin: 0 auto;
}

.kph-geloven__btn {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22px;
    padding: 8px 40px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 3;
    transition: opacity 0.2s;
}

.kph-geloven__btn:hover { opacity: 0.9; }

/* ============================================================================
   Item 4 (Willem 2026-06-13, Dick-approved): nijntje collectie op de homepage
   toont 4 GROTERE covers ipv 6 kleine. Alleen de grootte hier; het aantal (4)
   wordt in parts/shared-specials.php gesliced. De basisregels staan in shared.css
   (eerder geladen) — deze override is home-only (de specials-markup bestaat
   alleen op de homepage via [kp_specials]) en raakt shared.css niet aan.
   ============================================================================ */
.kph-special-card--nijntje .kph-nijntje-inner-books img {
    height: 100px !important;
    max-height: 100px !important;
    max-width: 90px !important;
    margin-right: -14px;
}
