/* ======================================================================
   RESPONSIVE FIX FOR KE.NL – GENERATED BASED ON ORIGINAL KE-EXPEDITIE.NL
   ====================================================================== */

/* Ensure all images scale */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Make all containers fluid */
.dmLayout, .dmRespRow, .dmRespCol, .u_*, section, article, div {
    box-sizing: border-box;
    max-width: 100%;
}

/* ========================
   TABLET VIEW (max 1024px)
   ======================== */
@media (max-width: 1024px) {

    body {
        margin: 0;
        padding: 0;
        font-size: 16px;
    }

    .dmRespRow {
        width: 100% !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .dmRespCol {
        float: none !important;
        width: 100% !important;
        margin-bottom: 25px !important;
    }

    header, footer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Fix top menu overflow */
    #dmNavBar, .dmHeader {
        width: 100% !important;
        overflow: hidden;
    }
}

/* =======================
   MOBILE VIEW (max 768px)
   ======================= */
@media (max-width: 768px) {

    body {
        font-size: 15px;
        line-height: 1.45;
        padding: 0;
    }

    .dmRespRow {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .dmRespCol {
        width: 100% !important;
        padding: 0 !important;
    }

    /* Images inside columns */
    .dmRespCol img {
        width: 100% !important;
        height: auto !important;
    }

    /* Center text blocks */
    .dmNewParagraph, .dmNewParagraph span {
        text-align: left !important;
    }

    /* Footer stacking */
    .footer-columns, #dmFooter, .dmFooter {
        display: block !important;
        text-align: center !important;
    }
}

/* ==========================
   SMALL MOBILE (max 480px)
   ========================== */
@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    h1, h2, h3 {
        font-size: 1.4em !important;
    }

    .dmRespRow {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .dmRespCol {
        margin-bottom: 20px !important;
    }
}
