/* ========================================
   JOURNAL SECTION STYLING
   ======================================== */

.journal-section {
    background: #BB2901;
    border-radius: 100px;
    margin: 15px 0;
    padding: 20px;
}

.journal-container {
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 100px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative; /* Required for absolute positioning */
}

.journal-title {
    font-family: 'Marcellus', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
    max-width: 770px;
}

.journal-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.journal-photo {
    width: 238px;
    height: 338px;
    object-fit: contain;
    display: block;
}

.journal-subtitle {
    font-family: 'Marcellus', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

/* Journal GIF Positioning */
.gif-container-right {
    position: absolute;
    right: 10%;
    bottom: 30%;
    transform: rotate(90deg);
}

.gif-container-left {
    position: absolute;
    left: 10%;
    bottom: 30%;
    transform: rotate(-90deg);
}

.journal-gif {
    width: 74px;
    height: 74px;
    display: block;
}

/* Desktop */
@media (min-width: 769px) {
    .journal-gif {
        width: 250px;
        height: 250px;
    }
    
    .gif-container {
        right: 14%;
        bottom: 18%;
    }
}

/* Mobile Responsive - 768px */
@media (max-width: 768px) {
    .journal-container {
        border-radius: 60px;
        padding: 40px 20px;
    }
    
    .journal-section {
        margin: 20px 0 0;
        border-radius: 60px;
        padding: 15px;
    }   

    .journal-title {
        font-size: 20px;
        text-align: center; 
    }

    .journal-subtitle {
        font-size: 16px;
        text-align: center;
        max-width: 305px;
        margin-bottom: 10px;
    }
    
    .journal-photo {
        width: 100%;
        max-width: 310px;
        height: auto;
    }
    
    .gif-container-right {
        right: 0%;
        bottom: 72%;
        transform: rotate(45deg);
    }

    .gif-container-left {
        left: 0;
        bottom: 10%;
        transform: rotate(-145deg);
    }
}

/* Mobile Responsive - 400px */
@media (max-width: 400px) {
    .journal-photo {
        width: 100%;
        max-width: 190px;
        height: auto;
    }

    .gif-container-left {
        left: 10%;
        bottom: 15%;
    }

    .gif-container-right {
        right: 10%;
        bottom: 63%;
    }
}

/* Mobile Responsive - 360px */
@media (max-width: 360px) {
    .journal-photo {
        width: 100%;
        max-width: 170px;
        height: auto;
    }

    .gif-container-right {
        right: 10%;
        bottom: 58%;
    }
}

