/* Reset basic browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Garamond', Garamond, serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 60px; 
}

/* Main layout wrapper */
.page-wrapper {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 120px; 
}

/* Row setup */
.row {
    display: flex;
    width: 100%;
    gap: 80px; 
    align-items: flex-start; 
}

/* Reverses layout structure for the second row */
.row.reverse {
    flex-direction: row-reverse;
}

/* Standard Columns (Row 1 configuration) */
.content-col {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

.image-col {
    flex: 1; 
    display: flex;
}

/* Custom Widths for Row 2 (Tighter text, wider image) */
.custom-ratio-row .wide-image {
    flex: 6; 
}

.custom-ratio-row .tight-text {
    flex: 4; 
}

/* Typography */
.title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 35px;
    color: #111;
    line-height: 1.2;
}

.text-group {
    margin-bottom: 30px;
}

.text-group p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #444;
}

/* Main Display Artwork Images */
.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 6px;
    background-color: #f0f0f0; 
    min-height: 550px; 
}

/* 4:6 Aspect Ratio for the second image box */
.ratio-4-6 {
    aspect-ratio: 6 / 4; 
    min-height: auto;    
}

/* ==========================================
   UPDATED: Navigation Blocks & Positioning
   ========================================== */

/* Main block wrapper holding the button and text */
.nav-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

/* Top Block Position: Shifted slightly to the right */
.top-placement {
    justify-content: flex-start;
    margin-left: 30px; /* Pushes the entire block right */
}

/* Bottom Block Position: Shifted slightly to the left */
.bottom-placement {
    justify-content: flex-end;
    margin-right: 30px; /* Pushes the entire block left */
}

/* The square interactive button link */
.nav-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border: 3px solid #111;
    border-radius: 8px;
    background-color: #fff;
    text-decoration: none; 
    color: #111;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    padding: 10px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    flex-shrink: 0; /* Prevents the box from shrinking if the text is long */
}

.nav-box:hover {
    background-color: #111;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* The new editable text style next to buttons */
.editable-nav-text {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

/* Responsive adjustments for smaller devices */
@media (max-width: 900px) {
    body {
        padding: 40px 24px; 
    }

    .page-wrapper {
        gap: 60px;
    }

    .row, .row.reverse {
        flex-direction: column; 
        gap: 40px; 
    }

    .title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .featured-image {
        min-height: 350px; 
    }
    
    .ratio-4-6 {
        aspect-ratio: 6 / 4; 
        min-height: auto;
    }

    /* Centers navigation items cleanly on phone screens */
    .top-placement, 
    .bottom-placement {
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        margin-top: 5px;
    }
}