/**
 * Studio Balloo - Visual Photography Journal Fluid Grid Layout
 */

body .photo-journal {
    background: #255259 !important;
    padding: 180px 8% !important;
    color: #ffffff !important;
    font-family: 'Syne', sans-serif !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
}

body .journal-header {
    max-width: 900px !important;
    margin-bottom: 120px !important;
}

body .journal-label {
    color: #9CA485 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: block !important;
}

body .journal-header h1 {
    font-family: 'Syne', sans-serif !important;
    font-size: clamp(4rem, 10vw, 8rem) !important;
    text-transform: uppercase !important;
    line-height: .9 !important;
    font-weight: 800 !important;
    margin: 25px 0 !important;
    color: #ffffff !important;
}

body .journal-header p {
    max-width: 600px !important;
    font-size: 20px !important;
    line-height: 1.8 !important;
    color: #d7d7d7 !important;
    margin: 0 !important;
}

/* Base Two-Column Grid */
body .photo-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
}

body .photo-item {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    background: #1c3d42 !important;
    aspect-ratio: 3 / 4; /* Perfect continuous aspect ratio for portrait pairs */
}

/* Landscapes explicitly take up the full row space spans */
body .photo-grid .photo-item.wide {
    grid-column: span 2 !important;
    aspect-ratio: 16 / 9; /* Elegant widescreen format aspect layout ratio */
}

body .photo-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

body .photo-item:hover img {
    transform: scale(1.05) !important;
}

/* Footer Pagination View Components */
body .photo-more {
    margin-top: 80px !important;
    display: flex !important;
    justify-content: center !important;
}

body .more-btn {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Syne', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    transition: color .35s ease !important;
}

body .more-btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #9CA485 !important;
    stroke-width: 1.5 !important;
    transition: transform .35s ease !important;
}

body .more-btn:hover {
    color: #9CA485 !important;
}

body .more-btn:hover svg {
    transform: rotate(45deg) !important;
}

/* Responsive Mobile Rules Breakdowns */
@media(max-width: 991px) {
    body .photo-journal { padding: 100px 25px !important; }
    body .journal-header { margin-bottom: 60px !important; }
    body .photo-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    body .photo-grid .photo-item, 
    body .photo-grid .photo-item.wide { grid-column: auto !important; aspect-ratio: 4 / 3 !important; }
}