
/* =========================================================
   MOEFCC - DBIM V3.0
   Prime Minister Quote Section
   ========================================================= */

/* Main Section */

.moefcc-pm-quote {
    width: 100%;
    background: #efeded;
    border-bottom: 1px solid #e2e2e2;
    font-family: "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

/* Main Layout */

.moefcc-pm-quote-container {
    width: 100%;
    max-width: 1320px;
    min-height: 350px;

    margin: 0 auto;
    padding: 45px 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 65px;
}

/* =========================================================
   LEFT - PM Circular Image
   ========================================================= */

.moefcc-pm-quote-image-wrap {
    flex: 0 0 280px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.moefcc-pm-quote-image-circle {
    width: 250px;
    height: 250px;

    border-radius: 50%;
    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    flex-shrink: 0;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/*
   Image fills the circle.
   object-fit: cover prevents distortion.
*/

.moefcc-pm-quote-image-circle img,
.moefcc-pm-quote-image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    border-radius: 50%;

    object-fit: cover;
    object-position: center top;
}

/* =========================================================
   RIGHT - Quote Content
   ========================================================= */

.moefcc-pm-quote-content {
    flex: 1;
    min-width: 0;
    max-width: 900px;
}

/* Optional Heading */

.moefcc-pm-quote-heading {
    margin: 0 0 15px;

    color: #163b70;

    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
}

/* Quote */

.moefcc-pm-quote-text {
    margin: 0;
    padding: 0;

    border: none;
    background: transparent;
}

/* Normal Quote Text */

.moefcc-pm-quote-text p {
    margin: 0 0 10px;

    color: #102e64;

    font-size: 22px;
    line-height: 1.48;
    font-weight: 600;
}

/* Opening Quote Symbol */

.moefcc-pm-quote-text p:first-child {
    margin: 0 0 -2px;

    color: #102e64;

    font-size: 38px;
    line-height: 0.8;
    font-weight: 700;
}

/* Closing Quote Symbol */

.moefcc-pm-quote-text p:last-child {
    margin: 0;

    color: #102e64;

    font-size: 38px;
    line-height: 0.8;
    font-weight: 700;
}

/* =========================================================
   BOTTOM - Event / Date / Link
   ========================================================= */

.moefcc-pm-quote-details {
    width: 100%;

    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid #163b70;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

/* Event Details */

.moefcc-pm-quote-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}

.moefcc-pm-quote-event,
.moefcc-pm-quote-date {
    margin: 0;

    color: #163b70;

    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

/* External Link Button */

.moefcc-pm-quote-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 44px;
    padding: 9px 14px;

    background: #ffffff;
    border: 1px solid #163b70;
    border-radius: 4px;

    color: #163b70;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
    white-space: nowrap;

    flex-shrink: 0;

    transition: background-color 0.2s ease,
                color 0.2s ease;
}

.moefcc-pm-quote-link:hover {
    background: #163b70;
    color: #ffffff;
    text-decoration: none;
}

.moefcc-pm-quote-link:focus-visible {
    outline: 3px solid #b78400;
    outline-offset: 3px;
}

.moefcc-pm-quote-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .moefcc-pm-quote-container {
        min-height: auto;

        padding: 35px 25px;

        gap: 35px;
    }

    .moefcc-pm-quote-image-wrap {
        flex: 0 0 210px;
    }

    .moefcc-pm-quote-image-circle {
        width: 200px;
        height: 200px;
    }

    .moefcc-pm-quote-text p {
        font-size: 19px;
        line-height: 1.5;
    }

    .moefcc-pm-quote-heading {
        font-size: 21px;
    }

    .moefcc-pm-quote-event,
    .moefcc-pm-quote-date {
        font-size: 14px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .moefcc-pm-quote-container {
        flex-direction: column;
        align-items: center;

        padding: 28px 18px;

        gap: 25px;
    }

    .moefcc-pm-quote-image-wrap {
        flex: none;
        width: 100%;
    }

    .moefcc-pm-quote-image-circle {
        width: 180px;
        height: 180px;
    }

    .moefcc-pm-quote-content {
        width: 100%;
        max-width: 100%;
    }

    .moefcc-pm-quote-heading {
        font-size: 20px;
    }

    .moefcc-pm-quote-text p {
        font-size: 18px;
        line-height: 1.55;
    }

    .moefcc-pm-quote-details {
        margin-top: 15px;
        padding-top: 15px;

        flex-direction: column;
        align-items: flex-start;

        gap: 16px;
    }

    .moefcc-pm-quote-link {
        white-space: normal;
        min-height: 44px;
    }
}

/* Small Mobile */

@media (max-width: 400px) {

    .moefcc-pm-quote-container {
        padding: 25px 14px;
    }

    .moefcc-pm-quote-image-circle {
        width: 160px;
        height: 160px;
    }

    .moefcc-pm-quote-text p {
        font-size: 17px;
    }
}

/* =========================================================
   HIGH CONTRAST ACCESSIBILITY
   ========================================================= */

body.dbim-high-contrast .moefcc-pm-quote {
    background: #000000 !important;
    border-color: #ffff00 !important;
}

body.dbim-high-contrast .moefcc-pm-quote-heading,
body.dbim-high-contrast .moefcc-pm-quote-text p,
body.dbim-high-contrast .moefcc-pm-quote-event,
body.dbim-high-contrast .moefcc-pm-quote-date,
body.dbim-high-contrast .moefcc-pm-quote-link {
    color: #ffff00 !important;
}

body.dbim-high-contrast .moefcc-pm-quote-details,
body.dbim-high-contrast .moefcc-pm-quote-link {
    border-color: #ffff00 !important;
}

body.dbim-high-contrast .moefcc-pm-quote-link {
    background: #000000 !important;
}

body.dbim-high-contrast .moefcc-pm-quote-link:hover {
    background: #ffff00 !important;
    color: #000000 !important;
}

/* =========================================================
   END
   ========================================================= */
.contentArea{
    height: 250px;
    overflow-x: auto;
}


/* footer */

 .moef-footer {
        background: #163b70;
        border-top: 3px solid #7192c1;
        color: #ffffff;
        font-family: inherit;
    }

    .moef-footer a {
        color: #ffffff;
        text-decoration: none;
    }

    .moef-footer a:hover,
    .moef-footer a:focus-visible {
        color: #f5bd60;
        text-decoration: underline;
    }

    .moef-footer-container {
        padding: 24px 5.5% 0;
    }

    .moef-footer-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 40px;
        min-height: 170px;
    }

    .moef-footer-heading {
        font-size: 14px;
        line-height: 20px;
        font-weight: 700;
        text-transform: uppercase;
        color: #ffffff;
        margin: 0 0 20px;
    }

    .moef-footer-links {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 13px;
        row-gap: 4px;
        padding: 0;
        margin: 0;
        list-style: none;
        max-width: 90%;
    }

    .moef-footer-links li {
        display: flex;
        align-items: baseline;
        gap: 9px;
        min-width: 0;
        font-size: 15px;
    }

    .moef-footer-links li::before {
        content: "›";
        color: #ffb45e;
        font-weight: 700;
        flex-shrink: 0;
    }

    .moef-footer-links a {
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .moef-footer-right {
        text-align: right;
    }

    .moef-footer-social {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 22px;
        margin: -3px 5px 16px 0;
        font-size: 15px;
    }

    .moef-footer-social i {
        color: #ffffff;
    }

    .moef-footer-badges {
        display: grid;
        grid-template-columns: repeat(2, 100px);
        justify-content: end;
        gap: 9px 10px;
        padding-right: 9px;
    }

    .moef-footer-badge {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 42px;
        padding: 5px;
        border-radius: 4px;
        background: #f5f5f5;
        color: #173d68 !important;
        text-align: center;
        font-size: 12px;
        font-weight: bold;
    }

    .moef-footer-badge img {
        display: block;
        max-width: 100%;
        max-height: 33px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .moef-footer-divider {
        height: 1px;
        background: rgba(255, 255, 255, .22);
        margin-top: 6px;
    }

    .moef-footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 12px 0 14px;
        font-size: 11px;
        line-height: 1.5;
    }

    .moef-footer-copyright {
        margin: 0;
    }

    .moef-footer-updated {
        margin: 0;
        text-align: right;
        white-space: nowrap;
    }

    .moef-footer-backtop {
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 43px;
        height: 43px;
        border: 0;
        border-radius: 4px;
        background: #5d92dd;
        color: #ffffff;
        cursor: pointer;
        z-index: 1000;
    }

    .moef-footer-backtop:hover {
        background: #5495f0;
    }

    @media (max-width: 991px) {
        .moef-footer-main {
            grid-template-columns: minmax(0, 1fr) 220px;
            gap: 20px;
        }

        .moef-footer-links {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 767px) {
        .moef-footer-container {
            padding: 25px 20px 0;
        }

        .moef-footer-main {
            grid-template-columns: 1fr;
            min-height: auto;
            gap: 30px;
        }

        .moef-footer-links {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .moef-footer-right {
            text-align: left;
        }

        .moef-footer-social {
            justify-content: flex-start;
        }

        .moef-footer-badges {
            justify-content: start;
        }

        .moef-footer-bottom {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .moef-footer-updated {
            text-align: left;
            white-space: normal;
        }
    }


.moefcc-announcements-inner {
    max-width: 100% !important;
    overflow: hidden !important;
}


.btnBox.b-panel a i {
    background: #5d92dd;
    padding: 8px 8px;
    color: #fff;
    border-radius: 10px;
}