﻿@media print {

    @page {
        size: A4 portrait;
        margin: 0;
    }

    html, body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        font-size: 10pt;
        line-height: 1.4;
    }

    /* Main wrapper */
    .container,
    .mid-container,
    .content,
    .two_right,
    .news-wrapper {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: scale(0.92);
        /*transform-origin: top left;*/
    }

    /* Header */
    .header,
    .topheader,
    .mid-header {
        width: 100% !important;
        margin: 10px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }


    .header, .mid-header {
        margin-bottom: 0 !important;
        padding-bottom: 15px !important;
    }
    /* Top blue bar */
    .topheader {
        background: #005bab !important;
        min-height: 30px;
        padding: 5px 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

        .topheader,
        .topheader a,
        .topheader span,
        .topheader li,
        .topheader p {
            color: #ffffff !important;
        }

            .topheader ul li {
                float: left;
                color: #fff !important;
            }

    .top-head {
        float: right;
        text-decoration: none;
        color: #fff !important;
    }

    /* Logo */
    .hudco-citylogo {
        margin-top: -0.2vw;
        height: 3.5vw;
        margin-left: 2.9vw;
    }

    /* Slider */
    .slider-css,
    .carousel {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slider-css {
        width: 100%;
        margin-top: 40px !important; /* GAP FIX */
    }


    /* ===== SLIDER IMAGE FULL WIDTH FIX ===== */

    .slider-css,
    .carousel,
    .owl-carousel {
        width: 100% !important;
        overflow: visible !important; /* hidden hata diya */
        text-align: center !important;
    }

        /* slider item */
        .slider-css .item,
        .carousel .item,
        .owl-carousel .item {
            width: 100% !important;
        }

        /* ONLY slider images */
        .slider-css img,
        .carousel img,
        .owl-carousel img {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            object-fit: contain !important;
            display: block !important;
            margin: 0 auto !important;
        }
    /* ===== MENU FIX ===== */

    #myLinks,
    .resTab,
    .disp-mob-only {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .themeTabList {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-top: 0 !important; /* GAP FIX */
        list-style: none !important;
    }

        .themeTabList li {
            flex: 1 1 auto !important;
            width: auto !important;
            float: none !important;
            text-align: center;
            margin: 0 2px !important;
            padding: 0 !important;
        }

            .themeTabList li a {
                display: block !important;
                font-size: 9pt !important;
                padding: 2px 4px !important;
                white-space: nowrap !important;
                text-decoration: none !important;
                color: black !important;
            }

    /* Sections */
    .section,
    .home_cat,
    .whats-holder li {
        page-break-inside: avoid;
    }

    /* Links */
    a {
        text-decoration: none !important;
        color: black !important;
    }

    .slider-controls {
        position: absolute;
        bottom: 8%;
        left: 3%;
        z-index: 10;
    }

    /* Images */
    img {
        width: auto;
        height: auto;
        max-width: 100%;
        vertical-align: middle;
        border: 0;
        margin-top: 5px;
        margin-left: 0px;
        -ms-interpolation-mode: bicubic;
    }

    /* padding fix */
    .pt-0, .py-0 {
        padding-top: 80px !important;
        width: auto;
        transform: scale(0.5);
        margin-left: -356px;
    }

    .owl-carousel.owl-loaded {
        display: block;
        margin-top: 10px !important;
        margin-right: -115px;
    }


    /* Section width */
    .section_six {
        width: 100% !important;
        position: relative;
        margin: 0 auto;
        padding: 0;
        margin-top: -9%;
    }

    .section_four {
        width: 100%;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        padding: 13px 0 0;
    }

    /* Header right items */
    .float-right {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .float-right li {
            display: flex !important;
            align-items: center;
            margin: 0 !important;
            padding: 0 !important;
        }

    /* Search box */
    .header-searchbox {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    #Header1_txtSearch {
        width: 180px !important;
        height: 34px !important;
        border-radius: 25px !important;
        border: 1px solid #ccc !important;
        padding: 0 12px !important;
        background: #eee !important;
        color: #000 !important;
        outline: none !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #Header1_btnRun {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        border: none !important;
        background: #ddd !important;
        cursor: pointer !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* ===== FINAL GAP FIX ===== */

    .header,
    .mid-header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .themeTabList {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .slider-css,
    .carousel,
    .owl-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* ===== VISION CMD MISSION PRINT FIX ===== */

    .vis-mis-wrapper {
        width: 100% !important;
        margin: 0 auto !important;
    }

    .vm-grid {
        display: grid !important;
        grid-template-columns: 33% 34% 33% !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .vision-block,
    .mission-block,
    .cmd-section {
        text-align: center !important;
        page-break-inside: avoid !important;
    }

    .cmd-photo {
        width: 140px !important;
        height: auto !important;
        display: block !important;
        margin: auto !important;
    }

    .cmd-heading {
        font-size: 14pt !important;
        margin-bottom: 10px !important;
    }

    .vm-title {
        font-size: 13pt !important;
        margin-bottom: 10px !important;
    }

    .vision-block, .mission-block {
        position: relative;
        padding: 54px;
        text-align: center;
    }

    /* ===== OWL SLIDER PRINT FIX ===== */

    .owl-carousel .owl-stage {
        transform: none !important;
        width: 100% !important;
    }

    .owl-carousel .owl-stage-outer {
        overflow: visible !important;
    }

    .owl-carousel .owl-item {
        width: 100% !important;
        float: none !important;
        display: block !important;
    }

        /* only first image print */
        .owl-carousel .owl-item:not(.active) {
            display: none !important;
        }

    .owl-carousel img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .owl-nav,
    .owl-dots,
    .slider-controls {
        display: none !important;
    }


   
   /* ===== MAJOR PROJECT PRINT FIX ===== */

     /* owl carousel logic remove */
    #ProjectShowcaselightgallery .owl-stage {
        transform: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
    }

    #ProjectShowcaselightgallery .owl-stage-outer {
        overflow: visible !important;
        width: 100% !important;
    }

    /* sab items hide */
    #ProjectShowcaselightgallery .owl-item {
        display: none !important;
    }

    /* sirf visible items */
    #ProjectShowcaselightgallery .owl-item.active {
        display: block !important;
        flex: 0 0 24% !important;
        max-width: 24% !important;
        margin: 0 !important;
    }

    /* image perfect size */
    #ProjectShowcaselightgallery .owl-item img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* text center */
    #ProjectShowcaselightgallery p {
        text-align: center !important;
        font-size: 9pt !important;
    }

    /* slider buttons hide */
    #ProjectShowcaselightgallery .owl-nav,
    #ProjectShowcaselightgallery .owl-dots {
        display: none !important;
    }

    #ProjectShowcaselightgallery span{
     display:block !important;
     width:100% !important;
       }

    .page-title,
.evnt-mp,
.major-project-title,
.section-title {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    margin: 20px auto !important;
    font-size: 18pt !important;
    font-weight: bold !important;
}
    /* footer*/

    .top-footer,
    .top-footer a,
    .top-footer li,
    .top-footer span,
    .top-footer p {
        color: #ffffff !important;
    }


 .footer-add,
.footer-add a,
.footer-add span,
.footer-add b {
    color: #ffffff !important;
}


 /* ===== EVENT GALLERY BACKGROUND + ALIGN FINAL FIX ===== */



/* ===== RESET ===== */
* {
    box-sizing: border-box !important;
}

/* ===== REMOVE EXTRA GAP ===== */
.page-container,
.container-x,
.card-x {
    margin: 0 !important;
    padding: 10px !important;
}

/* ===== REMOVE FAALTU MARGIN ===== */
.inner-box {
    margin-top: 0 !important;
}

/* ===== BACKGROUND FIX ===== */
.card-x {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

/* hidden image use to hold layout */
.card-x > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: -70% !important; /* adjust if needed */
}

/* ===== MAIN LAYOUT ===== */
.row.clearfix {
    display: block !important;
}

/* LEFT + RIGHT */
.column.col-lg-8,
.column.col-lg-4 {
    display: inline-block !important;
    vertical-align: top !important;
}

.column.col-lg-8 {
    width: 65% !important;
}

.column.col-lg-4 {
    width: 34% !important;
}

/* ===== LEFT GRID ===== */
#MediaNewslightgallery,
#Div1 {
    display: inline-block !important;
    width: 49% !important;
    vertical-align: top !important;
}

#MediaNewslightgallery .item,
#Div1 .item {
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* ===== RIGHT SIDE ===== */
.table-responsive {
    height: auto !important;
    overflow: visible !important;
}

.table-responsive .item {
    margin-bottom: 10px !important;
}

/* ===== IMAGE FIX ===== */
.item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ===== TEXT FIX ===== */
.item p {
    text-align: center !important;
    font-size: 10pt !important;
}

/* ===== REMOVE BUTTON ===== */
#scrollPlayPauseBtn,
.bttnevent {
    display: none !important;
}

/* ===== PAGE BREAK SAFE ===== */
.item {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}
.card-x > img {
    margin-bottom: -60% !important;  /* कम overlap */
    /* ya */
}



/* ❌ sabse bada culprit fix */
.inner-box {
    margin-top: 0 !important;
    padding-top: 20px !important; /* safe spacing */
}

/* row ko stable banao */
.row.clearfix {
    display: flex !important;
    flex-wrap: nowrap !important;
}

/* dono blocks side by side */
.news-block {
    width: 50% !important;
    padding: 5px !important;
}

/* item ko stack hone se roko */
.item {
    position: relative !important;
    display: block !important;
    margin-bottom: 15px !important;
}

/* image fix */
.item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* text niche fix */
.item p {
    margin-top: 8px !important;
    text-align: center !important;
}

/* extra shift remove */
.demo-gallery,
#MediaNewslightgallery,
#Div1 {
    transform: none !important;
}

/* margin-left hatao */
.item[style*="margin-left"] {
    margin-left: 0 !important;
}

.news-block:nth-child(odd) {
    background: none;
    margin-top: 10px;
   margin-left: -155px;
        
}

.news-block:nth-child(even) {
    /* background: #fff; */
    margin-top: 10px;
    margin-left: -290px;
}
/* parent ko visible rakho */
    .container-x,
    .bg-card,
    .evnt-cntainr {
        display: block !important;
    }

   

    /* ✅ sirf ye show hoga */
    .card-x.height-mob {
        display: block !important;
    }
 /* parent full width */
.container-x,
.page-container {
    width: 100% !important;
    text-align: center !important;
}

/* main card center */
.card-x {
    width: 90% !important;        /* thoda chhota */
    margin: 0 auto !important;   /* center */
}

/* inner content bhi center */
.row.clearfix {
    margin: 0 auto !important;
}

/* left + right balance */
.column.col-lg-8 {
    width: 65% !important;
    display: inline-block !important;
    vertical-align: top;
}

.column.col-lg-4 {
    width: 34% !important;
    display: inline-block !important;
    vertical-align: top;
}

/*

.vision-block,
    .mission-block {
        position: relative;
    }

    .vision-block::before,
    .mission-block::before {
        content: "“";
        position: absolute;
        top: 0;
        left: 20px;
        font-size: 60pt;
        color: #ccc;
    }

    .vision-block::after,
    .mission-block::after {
        content: "”";
        position: absolute;
        bottom: 0;
        right: 20px;
        font-size: 60pt;
        color: #ccc;
    }
    */
}

