/* ============================================================
   SKAPPI ISLE - DEVELOPER LOG
   ============================================================ */


/* ============================================================
   MAIN DEVLOG
   ============================================================ */

.devlog {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 24px 90px;
}


/* ============================================================
   GAME TITLE
   ============================================================ */

.devlog-title {
    margin: 0 0 55px;

    text-align: center;

    font-family: "Cinzel", serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;

    letter-spacing: 0.08em;
}


/* ============================================================
   DEVELOPMENT GIFS
   ============================================================ */

.devlog-gifs {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 24px;

    margin-bottom: 75px;
}


.devlog-gifs img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 6px;
}


/* ============================================================
   DEVELOPER POSTS
   ============================================================ */

.devlog-posts {
    max-width: 850px;

    margin: 0 auto;
}


.devlog-post {
    padding: 30px 32px;
    margin-bottom: 30px;

    /* Slightly lighter than the black page background */
    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}


/* ============================================================
   POST TITLE
   ============================================================ */

.devlog-post h3 {
    margin: 0 0 18px;

    font-family: "Cinzel", serif;

    font-size: 1.7rem;
    font-weight: 600;
}


/* ============================================================
   POST TEXT
   ============================================================ */

.devlog-post p {
    margin: 0 0 18px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.25rem;
    line-height: 1.7;
}


/* Remove extra spacing after the final paragraph */

.devlog-post p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   DEVLOG LINKS
   ============================================================ */

.devlog-post a {
    color: #c9a86a;

    font-weight: 500;

    text-decoration: underline;
    text-decoration-color: rgba(201, 168, 106, 0.5);
    text-underline-offset: 3px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}


.devlog-post a:hover {
    color: #e0c58a;

    text-decoration-color: #e0c58a;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .devlog {
        padding: 45px 18px 65px;
    }


    .devlog-title {
        margin-bottom: 40px;
    }


    .devlog-gifs {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 55px;
    }


    .devlog-post {
        padding: 24px 20px;

        margin-bottom: 22px;
    }


    .devlog-post h3 {
        font-size: 1.45rem;
    }


    .devlog-post p {
        font-size: 1.15rem;
    }

}