/* Jack Biography Page Styling */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:ital,wght@1,100..900&display=swap');


.jack-container {
    max-width: 1600px;
    background-color: #f8f9fa;
    margin: 0 auto;
    padding: 40px 50px;
}

.white-paper {
    background-color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 60px;
    margin-bottom: 80px;
    position: relative;
    font-family: 'Georgia', serif;
    /* Storytelling font */
    line-height: 1.8;
    color: #333;
}

.jack-header {
    text-align: center;
    margin-bottom: 60px;
}

.jack-header-text {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 40px;
    width: 100%;
    box-sizing: border-box;
}

.jack-header h1 {
    font-family: 'Playfair Display';
    font-size: clamp(2rem, 8vw, 3.5rem);
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.jack-header .life-dates {
    font-style: italic;
    color: #666;
    font-size: 1.2rem;
}

.jack-content section {
    margin-bottom: 40px;
    position: relative;
    /*display: flow-root;*/
    /* Clear floats without clipping shadows */
}

.jack-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    text-align: justify;
}

/* Image treatments */
.jack-image {
    background: #f0f0f0;
   /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    /*margin: 20px 0;*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    /* Ensure images don't overflow container */
    box-sizing: border-box;
    overflow: hidden;
}

    .jack-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: block;
    }

    .jack-image a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .jack-image:hover img {
        transform: scale(1.05);
    }


    .jack-image.float-left {
        float: left;
        margin-right: 40px;
        margin-bottom: 20px;
    }

    .jack-image.float-right {
        float: right;
        margin-left: 40px;
        margin-bottom: 20px;
    }

    .jack-image.large {
        width: 100%;
        margin-bottom: 40px;
    }

    .jack-image.selfportrait {
        width: 280px;
    }
    .jack-image.fotographer, .jack-image.cycladen {
        width: 330px;
    }
    .jack-image.cycladen {
        margin-top:20px;
    }
    .jack-image.portret {
        width: 130px;
        max-width:160px;
    }


.legacy-quote p {
    padding-top:20px;
    font-style: italic;
    color: var(--secondary-color);
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .white-paper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .jack-container {
        padding: 20px 0;
        background-color: transparent;
    }

    .white-paper {
        padding: 20px;
    }

    .jack-image.selfportrait,
    .jack-image.float-left,
    .jack-image.float-right {
        float: none;
        margin: 20px auto 40px auto;
        width: 100%;
    }

    .jack-header h1 {
        font-size: 3rem;
    }

    .jack-content p {
        text-align: left;
    }
    .legacy-quote p {
     text-align:center;
     padding:20px;
    }
}
