
/* procednew2.php only — isolated responsive layout.
   Do not merge into procednew2.css.
   That file is also used by participate_democracy.php. */

/* =========================
   Base Layout
========================= */

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body.systemic-welcome-page,
body.systemic-welcome-page * {
    box-sizing: border-box;
}

body.systemic-welcome-page {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

/* Header */

body.systemic-welcome-page > .container.my-1 {
    flex: 0 0 auto;
    min-height: 0;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

body.systemic-welcome-page .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

body.systemic-welcome-page .img-container .desktop-logo {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: min(114px, 15dvh);
    object-fit: contain;
}

body.systemic-welcome-page .img-container .mobile-logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: min(94px, 13dvh);
    object-fit: contain;
}

/* Main content area */

body.systemic-welcome-page > .hero-container {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    /* Keep scrolling enabled while hiding the scrollbar on desktop and mobile. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.systemic-welcome-page > .hero-container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.systemic-welcome-page .systemic-welcome-section {
    flex: 0 0 auto;
    width: 100%;
    max-width: 1180px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 24px 16px;
    background: #fff;
    text-align: center;
}

/* Divider */

body.systemic-welcome-page .people-report-logo-divider {
    display: block;
    position: relative;
    left: 50%;
    width: 100vw;
    height: 2px;
    margin: 0 0 8px;
    padding: 0;
    transform: translateX(-50%);
    background: #000;
}

/* Main heading */

body.systemic-welcome-page .systemic-welcome-heading {
    width: min(80%, 760px);
    max-width: 100%;
    margin: 10px auto;
    padding: 10px 12px;
    border: 1px solid #172747;
    border-radius: 10px;
    background: #172747;
    box-shadow: 0 3px 10px rgba(23, 39, 71, 0.10);
    text-align: center;
}

body.systemic-welcome-page .systemic-welcome-heading .people-report-title {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: clamp(23px, 2.3vw, 28px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: normal;
    word-spacing: normal;
    text-align: center;
}

/* Subtitle */

body.systemic-welcome-page .systemic-welcome-subtitle {
    width: min(100%, 850px);
    margin: 0 auto 14px;
    padding: 4px 10px;
    color: #000;
    background: transparent;
    font-size: clamp(17px, 1.85vw, 22px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: normal;
    word-spacing: normal;
    text-align: center;
    overflow-wrap: break-word;
}

/* Content — justify paragraphs only */

body.systemic-welcome-page .systemic-welcome-content {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: 0 10px;
    color: #172747;
    text-align: left;
}

body.systemic-welcome-page .systemic-welcome-content p,
body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
    width: 100%;
    margin: 0 auto 16px;
    padding: 0;
    color: #172747;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: normal;
    word-spacing: normal;
    text-align: justify;
    text-justify: inter-word;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

body.systemic-welcome-page .systemic-welcome-content p:last-child {
    margin-bottom: 0;
}

/* Hidden placeholder */

body.systemic-welcome-page > .df-welcome {
    display: none;
}

/* Bottom CTA */

body.systemic-welcome-page > .btn-log {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 6px 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b87612;
    overflow: hidden;
}

body.systemic-welcome-page > .btn-log > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

body.systemic-welcome-page .people-project-image {
    display: block;
    width: 105px;
    max-width: 100%;
    max-height: min(100px, 12dvh);
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
}

/* Modal */

body.systemic-welcome-page .people-report-modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

body.systemic-welcome-page .people-report-modal-content .modal-header {
    background: #172747;
    color: #fff;
    border-bottom: 0;
}

body.systemic-welcome-page .people-report-modal-content .modal-title {
    font-weight: 700;
}

body.systemic-welcome-page .people-report-modal-content .btn-close {
    filter: brightness(0) invert(1);
}

body.systemic-welcome-page .uod-procednew2-inline-001 {
    width: 70px;
}

body.systemic-welcome-page .uod-procednew2-inline-002 {
    display: none;
}


/* =========================
   Extra Small Mobile: 320px–374px
========================= */

@media (max-width: 374px) {
    body.systemic-welcome-page > .container.my-1 {
        width: 100%;
        max-width: 100%;
        padding-right: 6px;
        padding-left: 6px;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }

    body.systemic-welcome-page .img-container .mobile-logo {
        max-height: min(65px, 10dvh);
    }

    body.systemic-welcome-page .systemic-welcome-section {
        padding: 0 9px 8px;
    }

    body.systemic-welcome-page .people-report-logo-divider {
        margin-bottom: 5px;
    }

    body.systemic-welcome-page .systemic-welcome-heading {
        width: 96%;
        margin: 5px auto 7px;
        padding: 6px 8px;
    }

    body.systemic-welcome-page .systemic-welcome-heading .people-report-title {
        font-size: clamp(17px, 5.2vw, 19px);
        line-height: 1.2;
    }

    body.systemic-welcome-page .systemic-welcome-subtitle {
        margin-bottom: 7px;
        padding: 2px;
        font-size: clamp(13px, 4vw, 15px);
        line-height: 1.3;
    }

    body.systemic-welcome-page .systemic-welcome-content {
        width: 100%;
        padding: 0;
    }

    body.systemic-welcome-page .systemic-welcome-content p,
    body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
        margin-bottom: 16px;
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.5;
        letter-spacing: normal;
        word-spacing: normal;
        text-align: justify;
        text-justify: inter-word;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    body.systemic-welcome-page > .btn-log {
        padding: 4px 0;
    }

    body.systemic-welcome-page .people-project-image {
        width: 95px;
        max-height: min(65px, 9dvh);
    }
}


/* =========================
   Mobile: 375px–575px
========================= */

@media (min-width: 375px) and (max-width: 575px) {
    body.systemic-welcome-page > .container.my-1 {
        width: 100%;
        max-width: 100%;
        padding-right: 8px;
        padding-left: 8px;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }

    body.systemic-welcome-page .img-container .mobile-logo {
        max-height: min(75px, 11dvh);
    }

    body.systemic-welcome-page .systemic-welcome-section {
        padding: 0 12px 9px;
    }

    body.systemic-welcome-page .people-report-logo-divider {
        margin-bottom: 5px;
    }

    body.systemic-welcome-page .systemic-welcome-heading {
        width: 94%;
        margin: 6px auto 8px;
        padding: 7px 9px;
    }

    body.systemic-welcome-page .systemic-welcome-heading .people-report-title {
        font-size: clamp(19px, 5vw, 24px);
        line-height: 1.2;
    }

    body.systemic-welcome-page .systemic-welcome-subtitle {
        margin-bottom: 8px;
        padding: 2px 4px;
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.3;
    }

    body.systemic-welcome-page .systemic-welcome-content {
        width: 100%;
        padding: 0 2px;
    }

    body.systemic-welcome-page .systemic-welcome-content p,
    body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
        margin-bottom: 16px;
        font-size: clamp(16px, 4vw, 18px);
        line-height: 1.5;
        letter-spacing: normal;
        word-spacing: normal;
        text-align: justify;
        text-justify: inter-word;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    body.systemic-welcome-page > .btn-log {
        padding: 4px 0 5px;
    }

    body.systemic-welcome-page .people-project-image {
        width: 105px;
        max-height: min(75px, 9dvh);
    }
}


/* =========================
   All Mobile Devices: Below 768px
========================= */

@media (max-width: 767.98px) {
    body.systemic-welcome-page .systemic-welcome-section {
        min-width: 0;
    }

    body.systemic-welcome-page .systemic-welcome-content {
        max-width: 100%;
    }

    /* Larger mobile text, clear paragraph spacing, and natural word spacing. */
    body.systemic-welcome-page .systemic-welcome-content p,
    body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
        font-size: clamp(14px, 4vw, 18px) !important;
        line-height: 1.5;
        margin-bottom: 16px !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        text-align: left !important;
        text-align-last: left;
        text-justify: auto;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
    }
}


/* =========================
   Tablet: 768px–991px
========================= */

@media (min-width: 768px) and (max-width: 991.98px) {
    body.systemic-welcome-page .systemic-welcome-section {
        padding-right: 18px;
        padding-left: 18px;
    }

    body.systemic-welcome-page .systemic-welcome-heading .people-report-title {
        font-size: clamp(22px, 2.8vw, 27px);
    }

    body.systemic-welcome-page .systemic-welcome-subtitle {
        font-size: clamp(17px, 2.2vw, 21px);
    }

    body.systemic-welcome-page .systemic-welcome-content {
        max-width: 850px;
    }

    body.systemic-welcome-page .systemic-welcome-content p,
    body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
        font-size: clamp(16px, 1.8vw, 17px);
        line-height: 1.45;
        text-align: justify;
        letter-spacing: normal;
        word-spacing: normal;
    }
}


/* =========================
   Laptop: 992px–1199px
========================= */

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.systemic-welcome-page .systemic-welcome-content {
        max-width: 850px;
    }

    body.systemic-welcome-page .systemic-welcome-content p,
    body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
        font-size: 14px;
        line-height: 1.45;
        text-align: justify;
    }
}


/* =========================
   Desktop: 1200px and above
========================= */

@media (min-width: 1200px) {
    body.systemic-welcome-page .systemic-welcome-content {
        max-width: 900px;
    }

    body.systemic-welcome-page .systemic-welcome-content p,
    body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
        font-size: 16px;
        line-height: 1.45;
        text-align: justify;
    }
}


/* =========================
   Large Desktop: 1400px and above
========================= */

@media (min-width: 1400px) {
    body.systemic-welcome-page .systemic-welcome-content {
        max-width: 900px;
    }
}


/* =========================
   Short Screens
========================= */

@media (max-height: 650px) {
    body.systemic-welcome-page .systemic-welcome-heading {
        margin-top: 4px;
        margin-bottom: 6px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    body.systemic-welcome-page .systemic-welcome-subtitle {
        margin-bottom: 7px;
    }

    body.systemic-welcome-page .systemic-welcome-content p,
    body.systemic-welcome-page .systemic-welcome-content .systemic-welcome-journey {
        margin-bottom: 7px;
    }
}
