/* =========================================
   THE TINY WALNUT - HOME
   ========================================= */


/* ---------- DESKTOP ---------- */

@media screen and (min-width: 769px) {

    /* Welkomstvlak */
.home-intro {
    position: relative;
    width: 500px;
    max-width: 38vw;

    margin: 40px 0 150px 3%;
    padding: 32px 38px;

    background: rgba(8, 15, 10, 0.62);
    border-radius: 8px;

    box-sizing: border-box;
    line-height: 1.4;
    z-index: 10;
}

    .home-intro p {
        margin: 0 0 18px 0;
    }


    /* Vier navigatiekaarten */
    .home-links {
        position: absolute;

        left: 3%;
        right: 3%;
        bottom: 18px;

        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px;

        margin: 0;
        padding: 0;

        z-index: 20;
    }

    .home-links p {
        margin: 0;
        padding: 0;
        min-width: 0;
    }

    .home-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-height: 86px;
        padding: 16px 24px;

        background: rgba(8, 15, 10, 0.90);
        border: 2px solid rgba(255,255,255,0.70);
        border-radius: 8px;

        box-sizing: border-box;

        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: bold;
        line-height: 1.2;
    }

    .home-links a::after {
        content: "\2192";
        color: #99cc00;
        font-size: 170%;
        margin-left: 15px;
        flex-shrink: 0;
    }

    .home-links a:hover {
        background: rgba(45,65,25,0.95);
        border-color: #99cc00;
    }
}
@media screen and (min-width: 769px) {

    #m1788071440.fullscreen {
        min-height: calc(100vh - 70px) !important;
    }

}
/* ---------- MOBIEL ---------- */

@media screen and (max-width: 768px) {

    .home-intro {
        position: relative;

        width: 92%;
        max-width: none;

        margin: 20px auto;
        padding: 28px 24px;

        background: rgba(10,18,12,0.62);
        border-radius: 8px;

        box-sizing: border-box;
        line-height: 1.4;
    }

    .home-intro p {
        margin: 0 0 16px 0;
    }


    /* Mobiel: knoppen onder elkaar */
    .home-links {
        position: static;

        width: 92%;
        margin: 20px auto 0;

        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .home-links p {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .home-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-height: 64px;
        padding: 14px 18px;

        background: rgba(10,18,12,0.86);
        border: 1px solid rgba(255,255,255,0.45);
        border-radius: 6px;

        box-sizing: border-box;

        color: #ffffff !important;
        text-decoration: none !important;
        font-size: 90% !important;
        line-height: 1.2;
    }

    .home-links a::after {
        content: "\2192";
        color: #99cc00;
        font-size: 125%;
        margin-left: 12px;
        flex-shrink: 0;
    }
}
/* =========================================
   FOTOALBUM OVERZICHT - THE TINY WALNUT
   ========================================= */

#album_container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;

    max-width: 1250px;
    margin: 40px auto;
    padding: 0 25px 40px;

    box-sizing: border-box;
    align-items: start;
}

/* Complete albumkaart */
#album_container .image_container {
    display: flex !important;
    flex-direction: column;
height: auto !important;

    width: 100% !important;
    margin: 0 !important;

    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
    box-sizing: border-box;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

#album_container .image_container:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.17);
}

/* Fotovak */
#album_container .alb_img {
    width: 100% !important;

    /* GEEN vaste aspect-ratio */
    height: auto !important;

    overflow: hidden;
    background: #f3f3f3;
}

/* Hele foto zichtbaar houden */
#album_container .alb_img img {
    display: block;

    width: 100% !important;
    height: auto !important;

    max-width: 100%;
    object-fit: contain !important;

    border-radius: 0;
}

/* Tekstgedeelte onder de foto */
#album_container .thumb_caption {
    position: relative;
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 20px 65px 20px 24px !important;

    box-sizing: border-box;
    line-height: 1.35;
    text-align: left !important;
}

/* Albumtitel */
#album_container .thumb_caption strong {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    padding: 0 !important;
    margin: 0 !important;

    font-size: 125%;
    line-height: 1.25;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    color: #17231b;
}

/* Aantal foto's */
#album_container .fotoos {
    display: block !important;

    width: 100% !important;
    margin-top: 10px !important;

    font-size: 95%;
    color: #777777;
}

/* Rond pijltje rechts */
#album_container .thumb_caption::after {
    content: "\203A";

    position: absolute;
    right: 20px;
    top: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;
    background: rgba(91,145,103,0.16);

    color: #4f8a60;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

/* Mobiel */
@media screen and (max-width: 768px) {

    #album_container {
        grid-template-columns: 1fr;
        gap: 24px;

        margin: 25px auto;
        padding: 0 16px 30px;
    }

    #album_container .thumb_caption {
        padding: 18px 20px 20px;
    }
}