@charset "UTF-8";
/* Print styles. The project had NO @media print rule, so nothing removed the site
   chrome when printing — and the dark-teal themed nav bar (.theme-bg-primary =
   var(--nav-bg), ~#095a6f) printed as a solid black/dark line across the page.
   Here we hide the interactive chrome and neutralise themed dark bars for print. */
@media print {
    /* Interactive / navigational chrome — no place on a printed page, and the dark
       nav bar is the "black line" seen in print preview. */
    /* 26-Nov-2026 (department: "whatever is visible on screen after Ctrl+P must print, on
       every page"): the main menu (#mainNav, .horizontal-menu, .horizontal-sticky,
       .navbar-links) and the news ticker (.news-marquee-container, .news-screen-reader,
       .important-note, .marquee-*) were removed from this list - they print now, styled in
       the "Print what is on screen" block at the end of this file. What stays below is NOT
       visible page content: the hamburger (not shown on a desktop screen), floating
       position:fixed widgets that would repeat over the text on every sheet, loaders,
       overlays and toasts. */
    header,
    .sticky-fixed,
    .navbar-toggler,
    .scroll-to-top,
    #scroll-to-top-button,
    #scrollToTopBtn,
    .chatbot,
    .chat-bubble-container,
    #popup-area,
    #preloader,
    #divLoading,
    #ajax_loader,
    /* Read-aloud (text-to-speech) highlight bar — a position:fixed rgba(0,0,0,.85)
       overlay that otherwise prints as a black bar across the text on every page. */
    #tts-reading-overlay,
    /* Transient theme-change toast ("Theme changed to …"). */
    .theme-notification {
        display: none !important;
    }

    /* Any themed dark element (nav bar, the feedback Submit button, badges, etc.)
       otherwise prints as a solid dark/black bar. Neutralise the dark fill. The
       `html body` prefix raises specificity so it beats `.theme-bg-primary`
       (background-color: var(--nav-bg) !important) regardless of stylesheet order
       — _Layout re-loads styles.css AFTER this file, so a plain selector loses. */
    html body .theme-bg-primary,
    html body [class*="theme-bg-"],
    html body .btn-submit,
    html body .help-support-section,
    html body #help-support {
        background: transparent !important;
        background-color: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        border-color: #000 !important;
    }

    /* The Contact Us section uses white text on its dark fill; once we drop the fill,
       force its text dark so it stays readable on white paper. */
    html body .help-support-section *,
    html body #help-support * {
        color: #000 !important;
    }

    body {
        background: #fff !important;
    }
}

/* ------------------------------------------------------------------ *
 * GIGW 5.1.20 — the page must actually print on A4
 *
 * The rules above hide the chrome, but nothing ever told the browser what paper it was
 * printing on, and nothing stopped the fixed-width desktop layout from being carried into
 * a sheet far narrower than the screen. A4 is 210mm wide; at 12mm margins the printable
 * column is 186mm, roughly 700px. A container still laid out at 1272px is simply cut off
 * at the right edge - which is what "not printable on A4" means in practice.
 * ------------------------------------------------------------------ */
@media print {
    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    /* Let every layout container collapse to the paper width instead of holding a desktop
       width. Bootstrap's grid is float/flex based, so the floats and flex bases have to be
       released too or the columns keep their computed pixel widths. */
    html body .container,
    html body .container-fluid,
    html body .container-lg,
    html body .container-md,
    html body .container-sm,
    html body .container-xl,
    html body .container-xxl,
    html body [class*="col-"],
    html body .row {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Bootstrap 4's own print block (assets/css/style.css, assets/css/bootstrap.css, the
       horizontal/vertical-layout themes) sets body { min-width: 992px !important } - pages
       that load those sheets (Services, MahsulMahitTantranyan, RevenueWeek) printed 992px
       wide on a ~703px A4 column, cutting off the right side. Its @page { size: a3 } is
       overridden by the A4 @page rule above, which loads later. */
    html body {
        min-width: 0 !important;
    }

    /* Anything that carries its own intrinsic width and would otherwise run off the sheet. */
    html body img,
    html body svg,
    html body table,
    html body pre,
    html body iframe,
    html body video {
        max-width: 100% !important;
        height: auto !important;
    }

    /* A horizontal scroller has no meaning on paper - show the content instead of clipping
       it at the edge of a box the reader cannot scroll. */
    html body .table-responsive,
    html body [style*="overflow-x"] {
        overflow: visible !important;
    }

    /* Print-only body type. 11pt is the smallest size that stays comfortable on A4 and is
       well above the 12px floor this project holds itself to on screen. */
    html body {
        font-size: 11pt !important;
        line-height: 1.4 !important;
    }

    /* Keep a card, a row of a table or a heading from being split across two sheets. */
    html body .card,
    html body .about-card,
    html body .help-card,
    html body tr,
    html body figure,
    html body blockquote {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    html body h1,
    html body h2,
    html body h3,
    html body h4 {
        break-after: avoid;
        page-break-after: avoid;
    }

    /* 26-Nov-2026: the "controls that cannot be used on paper" list (#feedbackForm,
       .search-bar, #dictionarySearch/#micBtn/#searchBtn, .hero-motion-toggle, .scroll-btn,
       .btn-pill) was removed - the department wants the printout to match the screen. */
}

/* ------------------------------------------------------------------ *
 * GIGW 5.1.20 — horizontal strips lose their content on paper
 *
 * Measured under print media at A4 width: the external-links strip carries 14 cards and the
 * photo gallery 5, both in a `flex-wrap: nowrap` track inside a box with overflow hidden or
 * auto. On screen you scroll to the rest. On paper there is no scrolling, so everything past
 * the first three was silently clipped - the page printed, but incomplete, which is the part
 * of 5.1.20 that matters.
 *
 * The tracks are allowed to wrap and the clipping is released, so every card prints. The
 * transform that positions the links track has to be cleared too, or the wrapped rows are
 * still shifted sideways by whatever offset the carousel had reached.
 *
 * The hero image carousel is deliberately left alone: it is clipped to a single 280px frame
 * that sits well inside the sheet, so exactly one image prints, which is the right outcome
 * for a rotating decorative gallery.
 * ------------------------------------------------------------------ */
@media print {
    html body .links-track,
    html body #linksTrack,
    html body .photo-scroll-container {
        display: flex !important;
        flex-wrap: wrap !important;
        transform: none !important;
        overflow: visible !important;
    }

    html body .link-box-wrapper,
    html body .photo-scroll-container,
    html body #photoGallery {
        overflow: visible !important;
    }
}
/* GIGW 5.1.20 (STQC round 1, screenshot 8): News / Notices cards printed blank.
   Cards that use the scroll-reveal animation (class "wow", wow.js) start as
   visibility:hidden and are only revealed when scrolled into view on screen. Printing
   never scrolls them in, so every card the reader had not scrolled past printed as an
   empty box under its heading. In print everything is shown, unanimated. !important
   because wow.js writes visibility/animation as inline styles. */
@media print {
    .wow,
    .wow * {
        visibility: visible !important;
        animation: none !important;
        opacity: 1 !important;
    }
}
/* GIGW 5.1.20 follow-up (23-Oct-2026: "everything must print, nothing hidden or out of
   place"), measured in print emulation at A4 width (794px):

   1. Services: the detail panel beside the service list (video + description of the
      selected service, .col-md-5 in .sevices-list1) did not wrap under the list - it sat
      at x=797-1549, entirely off the paper, and widened the page to 1549px, which makes
      browsers shrink the whole printout to fit. Stacked: list first, details below.

   2. Important notice / News rows were removed from print altogether (list at the top of
      this file). Their content is now printed as an ordinary list - no animation, no
      pause button, label in dark text because this file strips the themed dark bars. */
@media print {
    .sevices-list1 {
        flex-wrap: wrap !important;
    }

    .sevices-list1 > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .news-screen-reader {
        display: flex !important;
        flex-wrap: wrap !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .news-screen-reader > .important-note {
        display: block !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        background: none !important;
        border-bottom: 1px solid #999 !important;
    }

    .news-screen-reader > .important-note p {
        color: #000 !important;
        font-weight: 700;
    }

    .news-screen-reader > .marquee-container {
        display: block !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        white-space: normal !important;
        padding: 4px 0 !important;
    }

    .news-screen-reader .marquee-text {
        display: block !important;
        animation: none !important;
        transform: none !important;
        width: auto !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    .news-screen-reader .marquee-text > li {
        display: list-item !important;
        list-style: disc inside !important;
        white-space: normal !important;
        margin: 0 0 4px 0 !important;
    }

    /* 26-Nov-2026: the ticker's pause button prints too (was display:none). */
    .news-screen-reader .marquee-container > button {
        position: static !important;
    }
}
/* 3. The service detail panel is white text on a dark themed card on screen; with the
      themed backgrounds stripped for print (top of this file) its heading and description
      printed white-on-white. Text inside it prints dark; the button keeps its own colours. */
@media print {
    .sevices-list1 > .col-md-5 :is(h1, h2, h3, h4, h5, h6, p, li, span, div, a:not(.btn)) {
        color: #1b1b1b !important;
        opacity: 1 !important;
        -webkit-text-fill-color: #1b1b1b !important;
    }
}
/* "View more" in that panel is an absolutely positioned on-screen control; once its text
   was made printable it sat on top of the description. 26-Nov-2026: it prints now (screen
   parity) - placed in normal flow under the description instead of on top of it. */
@media print {
    html body .sevices-list1 .viewMoreBtn {
        position: static !important;
        display: inline-block !important;
        margin-top: 6px !important;
        transform: none !important;
    }
}
/* 4. The feedback form is already left off paper (above), but its heading "Feedback /
      अभिप्राय" and the empty white card around it still printed - a heading over nothing.
   5. External links: the slider script appends a copy of every link to make the loop
      seamless (marked .link-clone in _FooterPartial.cshtml); on paper each printed twice. */
@media print {
    /* 26-Nov-2026: .footer-feedback-section prints again (screen parity) - the form inside
       it is no longer hidden either. */
    .links-track > .link-clone {
        display: none !important;
    }
}
/* GIGW 5.1.1 / 5.1.2 / 5.1.20 follow-up (26-Oct-2026, Ctrl+P check of the home page):
   1. `header` was hidden whole (top of this file), so a printout started with no logo, no
      "BHUMI ABHILEKH" and no department name - the ownership a printed page must still carry.
      The brand row prints; only the controls inside the header stay off paper.
   2. "Contact Us" keeps its on-screen glow (a dark text-shadow for white-on-image text); on
      white paper that printed as a black smudge.
   3. Employee of the Month banner filled a whole A4 sheet - capped.
   4. What's New keeps its fixed 350px scroll box, printing a block of empty space under two
      items - height released. */
@media print {
    html body header {
        display: block !important;
    }

    html body header #adhd-container,
    html body header #customCursor,
    html body header #districtPopoverContent {
        /* 26-Nov-2026: header .horizontal-menu (main menu) removed from this list - it prints. */
        display: none !important;
    }

    html body header section.header .bg-white {
        box-shadow: none !important;
    }

    /* State emblem beside the brand: 162px on a narrow sheet - kept to the brand row's height.
       Main and district header alike (the district logo otherwise printed 656px wide). */
    html body header .bg-white img {
        max-height: 22mm !important;
        width: auto !important;
    }

    html body .help-support-title {
        text-shadow: none !important;
    }

    /* The photo is positioned over the banner in % of .emp-wrapper, so the wrapper is the
       thing to shrink - capping the banner alone left the photo at full size beside it. */
    html body .emp-wrapper {
        max-width: 75mm !important;
        margin: 0 auto !important;
    }

    html body .tab-section,
    html body #pills-home > .auto-scroll-container,
    html body #pills-tabContent,
    html body #pills-home {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* 26-Oct-2026 (department, after a Ctrl+P check): the top bar - Skip to main content, Sitemap,
   the national emblem, the phone number - and the header's quick links (District Websites,
   RTI, RTS, EODB, Dashboard) print too.
   25-Nov-2026 (testing, Ankush Fuse: "if we print this on A4 the button and symbol missing"):
   the top-bar controls - language toggle EN/म, read-aloud, cart, theme, Sign In / नोंदणी करा,
   accessibility - were left off paper as "controls that do nothing on paper". The printed
   page must show the header as it appears on screen, so they print now (as they look; only
   their open dropdown menus stay hidden, which is their normal closed state anyway).
   The A4 rules above make every column 100% wide; the top bar is put back on one line. */
@media print {
    html body header .top-bar .row.d-md-flex {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    html body header .top-bar .row.d-md-flex > [class*="col-"] {
        flex: 0 1 auto !important;
        width: auto !important;
    }

    html body header .top-bar .row.d-md-flex > [class*="col-"]:first-child {
        display: flex !important;
        gap: 12px !important;
    }

    /* The right-hand group (phone, EN/म, read-aloud, cart, theme, Sign In, accessibility):
       A4 print width (~703px) is under the 768px phone breakpoint, where these flex boxes
       turn into columns - the controls printed stacked one under another down the right edge.
       One row, as on screen. */
    html body header .top-bar .row.d-md-flex > [class*="col-"]:last-child,
    html body header .top-bar .row.d-md-flex > [class*="col-"]:last-child > .d-flex {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 6px !important;
    }

    /* On screen the accessibility icon sits on the bar's right padding (margin-right -12px,
       accessibility-bar-inline.css); on paper that pushed it 2px past the sheet edge. */
    html body header .top-bar #userway-accessibility-container {
        margin-right: 0 !important;
        margin-left: 6px !important;
    }

    /* These controls are white on a themed fill on screen. Chrome prints with "Background
       graphics" OFF by default, so the fill is dropped: text ones are turned black by
       print-ready.js, but icon-only ones (theme palette, the accessibility figure - a white
       image) printed white on white paper, i.e. "missing". Dark icon, no fill, and a thin
       outline so each still reads as a button - identical with background graphics on or off. */
    html body header .top-bar .theme-menu-btn,
    html body header .top-bar .theme-menu-btn i,
    html body header .top-bar .dropdown-hover > button,
    html body header .top-bar .language-toggle,
    html body header .top-bar .language-toggle *,
    html body header .top-bar .screen-reader-btn,
    html body header .top-bar .screen-reader-btn i {
        background: none !important;
        background-color: transparent !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        box-shadow: none !important;
    }

    html body header .top-bar .theme-menu-btn,
    html body header .top-bar .dropdown-hover > button,
    html body header .top-bar .language-toggle,
    html body header .top-bar .uw-trigger {
        border: 1px solid #000 !important;
    }

    html body header .top-bar .uw-trigger {
        background: none !important;
        background-color: transparent !important;
    }

    /* body_wh.svg is a white figure; inverted it prints black. */
    html body header .top-bar .uw-trigger .uw-trigger-img {
        filter: invert(1) !important;
    }

    html body header .top-bar .nav-link {
        width: auto !important;
        padding: 0 !important;
    }

    html body header .top-bar .emblem-logo-img {
        max-height: 14mm !important;
        width: auto !important;
    }

    html body header nav.d-none.d-lg-flex {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        column-gap: 14px !important;
        row-gap: 2px !important;
    }
}

/* 26-Oct-2026, second Ctrl+P review (department screenshots, real Chrome print, background
   graphics OFF). A4 at 12mm margins leaves ~703 CSS px, which is BELOW the 768px phone
   breakpoint - so the printout was getting the phone layout. Fixes, in page order:
   1. Header: the phone copy of the top row (logo, UserWay circle, hamburger) is dropped; the
      desktop row is used. The brand logo, hidden on phones, is shown again beside the name.
   2. Text that is white on a coloured fill vanishes when backgrounds are not printed
      (What's New / Map tabs, the selected quick-service bubble, the selected service button).
      Interactive tabs become a plain heading; Map is a button and is left off.
   3. What's New / Important Notice / News were centred lists, so bullets and lines zig-zagged
      and the three blocks ran together. Left-aligned, each under a clear underlined heading.
   4. About Us branch cards reserved a ~385px image frame - a big blank box whenever the
      picture is missing or slow. Capped at 45mm.
   5. News cards split across sheets - kept whole. */
@media print {
    html body header .a11y-mobile-row,
    html body header .a11y-mobile-row[hidden] {
        display: none !important;
    }

    html body header .header-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    html body header .header-brand {
        flex-direction: row !important;
        text-align: left !important;
        gap: 10px !important;
    }

    html body header .header-org-name {
        flex: 1 1 auto !important;
        width: auto !important;
        text-align: left !important;
    }

    html body header .brand-logo {
        display: block !important;
        height: auto !important;
        max-height: 20mm !important;
        width: auto !important;
    }

    html body header .header-actions {
        flex: 1 1 100% !important;
        justify-content: center !important;
    }

    /* 2 - #openMapBtn is no longer hidden (26-Nov-2026); styled in the block at the end. */

    html body #pills-tab {
        justify-content: flex-start !important;
    }

    /* #pills-tab + .nav-link.active: home-index.css paints it with an ID + 2 classes, !important. */
    html body #pills-tab #whats-new-heading.nav-link.active,
    html body #whats-new-heading,
    html body .news-screen-reader > .important-note p {
        color: #000 !important;
        background: none !important;
        font-size: 13pt !important;
        font-weight: 700 !important;
        text-align: left !important;
        padding: 0 0 2px 0 !important;
        border: 0 !important;
        border-bottom: 2px solid #000 !important;
        border-radius: 0 !important;
        width: 100% !important;
    }

    html body .glass-box,
    html body .quick-services .glass-box * {
        color: #0b3d4a !important;
        -webkit-text-fill-color: #0b3d4a !important;
    }

    html body .service-btn.active-service {
        color: #000 !important;
        font-weight: 700 !important;
        border: 2px solid #000 !important;
    }

    /* 3 */
    html body #pills-home,
    html body #pills-home *,
    html body .news-screen-reader,
    html body .news-screen-reader * {
        text-align: left !important;
    }

    html body .news-screen-reader > .important-note {
        justify-content: flex-start !important;
        margin-top: 10px !important;
        padding: 0 !important;
        border-bottom: 0 !important;
    }

    html body #pills-home ul,
    html body .news-screen-reader .marquee-text {
        list-style: disc outside !important;
        padding-left: 18px !important;
        margin: 4px 0 0 0 !important;
    }

    html body .news-screen-reader .marquee-text > li {
        list-style: disc outside !important;
        padding: 0 !important;
        transform: none !important;
    }

    /* 4 */
    html body .about-card-img {
        height: auto !important;
        max-height: 45mm !important;
        object-fit: contain !important;
    }

    html body .about-us-cards > a.about > div {
        height: auto !important;
        min-height: 0 !important;
    }

    /* 5 */
    html body .news-card,
    html body .news-card-wrapper,
    html body .about-us-cards > a.about {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* 26-Oct-2026, third pass (A4 width, background graphics ON and OFF):
   - Important Notice / News lines ran past the right edge: index-home.css keeps the marquee
     list at width:max-content (it has to on screen, to scroll). On paper it fits the sheet.
   - The selected quick-service bubble and the selected service button are white text on a
     dark fill on screen. With backgrounds OFF that text vanished; forcing it dark then made it
     dark-on-dark with backgrounds ON. Their fill is dropped in print, so dark text reads in
     both modes; the selection is still shown by a heavier border. */
@media print {
    html body .news-screen-reader .marquee-container > .marquee-text,
    html body .news-screen-reader .marquee-container > ul.marquee-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .news-screen-reader .marquee-container > .marquee-text > li {
        width: auto !important;
        margin-right: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    html body .quick-services .glass-box,
    html body .sevices-list1 .service-btn.active-service,
    html body .sevices-list1 .service-btn.active {
        background: #fff !important;
        background-color: #fff !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    html body .sevices-list1 .service-btn.active-service {
        border: 2px solid #000 !important;
    }
}

/* The first News line wraps; its link is a block box, so the bullet dropped to the second
   line. Inline content keeps the bullet beside the first line. */
@media print {
    html body .news-screen-reader .marquee-container > .marquee-text > li > * {
        display: inline !important;
    }
}

/* 26-Oct-2026, fourth pass - checked on a REAL Chrome PDF (Page.printToPDF, A4, background
   graphics off), not a screenshot. Chrome does not move a whole card to the next sheet when
   that card is a flex/grid item: it slices it at the page edge. That is what cut the Services
   circle in half, reduced "Divisional District and Taluka officers" to a thin line, stacked
   News cards on top of each other and split the Citizen Corner, Employee and External Links
   cards. In print the page's Bootstrap rows become ordinary block flow (cards are stacked one
   per line anyway at A4 width), and every card is told not to break. */
@media print {
    /* Not a row the page has hidden: the News "Archive" tab (#rules) is display:none inline. */
    html body #home .row:not([style*="display: none"]):not(.d-none),
    html body #home .row:not([style*="display: none"]):not(.d-none) > [class*="col-"]:not(.d-none) {
        display: block !important;
    }

    html body .quick-services {
        margin: 0 auto !important;
    }

    html body .quick-services,
    html body .about-card,
    html body .citizen-options,
    html body .news-card,
    html body .employee-card,
    html body .help-card,
    html body .photo-item,
    html body .link-item,
    html body .faq-category,
    html body .sevices-list1 > .col-md-5,
    html body .tab-section {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    html body .about-card,
    html body .citizen-options,
    html body .news-card {
        margin-bottom: 10px !important;
    }

    /* Wrapped strips: cards side by side, a row never sliced between two sheets. */
    html body .links-track,
    html body #linksTrack,
    html body .photo-scroll-container {
        display: block !important;
    }

    html body .links-track > .link-item:not(.link-clone),
    html body .photo-scroll-container > .photo-item {
        display: inline-flex !important;
        vertical-align: top !important;
        width: 31% !important;
        margin: 4px 1% !important;
    }
}

/* Fourth pass, continued: the photo strip kept white-space:nowrap (screen carousel), so the
   inline cards ran off the sheet and Chrome shrank the WHOLE printout to fit them. The links
   box and strip kept their fixed screen heights (blank band under the cards). Contact cards
   centred like the heading above them. */
@media print {
    html body .photo-scroll-container,
    html body .links-track {
        white-space: normal !important;
        height: auto !important;
        min-height: 0 !important;
    }

    html body #photoGallery,
    html body .link-box-wrapper {
        height: auto !important;
        min-height: 0 !important;
    }

    html body .contact-us-cards {
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
        justify-items: center !important;
    }
}

/* District pages at A4 width (~703px, phone breakpoint): the header's department logo and the
   Government of Maharashtra logo are display:none on phones - the printout lost both. And the
   section headings ("नाविन्यपूर्ण योजना", "फोटो गॅलरी") and "आणखी पहा" buttons are white on a
   themed fill, faint or invisible without background graphics. Fill dropped, text dark. */
@media print {
    html body header .bg-white a:has(> img) {
        display: inline-block !important;
    }

    html body header .bg-white a > img {
        display: block !important;
    }

    html body .card-title1.heading,
    html body .grid-margin > .heading {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
        background-color: transparent !important;
        border-bottom: 2px solid #000 !important;
        border-radius: 0 !important;
    }

    html body .btn-scheme-more {
        color: #000 !important;
        background: none !important;
        background-color: transparent !important;
        border: 1px solid #000 !important;
    }
}

/* District banner caption: white on var(--nav-bg) on screen (banner-caption.css, all themes);
   without background graphics the white text alone printed near-invisible. */
@media print {
    html body #carousel .card-img-overlay,
    html body #carousel .card-img-overlay .btn-link {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
        background-color: transparent !important;
        text-shadow: none !important;
    }
}

/* Site-wide, light text made for a dark fill is handled at print time by print-ready.js (see the note there) - no per-page rule is needed for new cases. */

/* Text must stay inside its card on paper (29-Oct-2026, RTI printed with its paragraph
   running ~10px past the card's right border). The English RTI text holds
   "25/09/2008,03/08/12,11/08/2014" - one 30-character word with no space - and a word can
   neither wrap nor shrink, so with enlarged text (UserWay "Bigger Text", or print Scale) it can
   set the column's minimum width and widen every justified line with it. `anywhere` only
   breaks a word that would otherwise overflow; ordinary text wraps exactly as before. Table
   cells are left out so columns keep their sizing. */
@media print {
    html body p,
    html body li,
    html body dd,
    html body dt,
    html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
    html body a,
    html body span,
    html body label,
    html body .card-body {
        overflow-wrap: anywhere !important;
    }

    /* ...and no box inside a card may be wider than the room its parent gives it, padding
       included. The paragraph still ran ~10px past the card's right border in the department's
       own print (text enlarged in that browser); this holds every level of the card to its
       parent, so the text can only wrap inside it. Not reproducible here at any text size, so
       this is a guarantee rather than a fix for one measured cause. */
    html body .card *:not(img):not(svg):not(table):not(table *) {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Schemes & Projects (/Home/Project), Ctrl+P, 29-Oct-2026.
   - The open category panel (.ccard-body.active) gets an inline max-height from the page
     script, measured at SCREEN width where the cards sit three across. In print they stack
     one per line, the content is several times taller, and everything past that height was
     cut off by overflow:hidden - "Digitization of survey maps" was sliced mid-sentence and
     E-MOJANI 2.0 lost its text. !important beats the inline (non-important) max-height.
   - Each card is h-100 ("as tall as my column"). Moved whole to the next sheet it kept a
     height measured from the space left on the previous one, so "Read More" printed on top
     of the description. On paper the card's own content sets its height (same fix as the
     About Us cards in about-us.css). Collapsed panels stay collapsed: only the open tab prints. */
@media print {
    html body .ccard-body.active {
        max-height: none !important;
        overflow: visible !important;
    }

    html body .ccard-body.active .card.h-100 {
        height: auto !important;
    }

    html body .ccard-body.active .col {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* EODB (and any page built from .card.accordion sections), Ctrl+P, 29-Oct-2026.
   The site-wide "don't split a .card" rule above is right for small cards but wrong for a
   card that holds a whole page of text: the EoDB section is one .card several sheets long,
   so Chrome first pushed it whole to sheet 2 - leaving sheet 1 with only the page title -
   and then had to split it anyway. A long accordion card may break; its header stays with
   the start of its body. Paragraphs and pictures inside still keep themselves whole. */
@media print {
    html body .card.accordion,
    html body .card.accordion > .card-body,
    html body .card.accordion .collapse {
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    html body .card.accordion > .card-header,
    html body .card.accordion > [class*="header"] {
        break-after: avoid !important;
        page-break-after: avoid !important;
    }

    /* The picture | text row inside the card is a flex row. Chrome would not start the
       text column until it could fit "enough" of it, so it jumped to the next sheet and left
       the rest of sheet 1 blank under the picture. As plain blocks the text simply flows on
       from where the picture ends (the columns stack at A4 width anyway). */
    html body .card.accordion .card-body .row,
    html body .card.accordion .card-body .row > [class*="col-"] {
        display: block !important;
    }

    html body .card.accordion img {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    /* The section picture stretched to the full sheet width and was ~485px tall - most of
       sheet 1, so the text began on sheet 2 (and where the file is missing, as on a dev
       machine, sheet 1 looked empty). A modest, ratio-kept picture leaves room for the text. */
    html body .card.accordion .image-container img {
        width: auto !important;
        max-width: 60% !important;
        max-height: 220px !important;
        height: auto !important;
    }
}

/* RTI / RTS / EODB section headings:`.btn-contrast` is var(--nav-text) on a var(--nav-bg)
   fill inside `.breadcrumb-header` (also var(--nav-bg)). With background graphics off the fill
   is dropped and Chrome only partly darkens the light text, so the headings printed as faint
   grey (29-Oct-2026, Ctrl+P on /RTI). Dark text, no fill, and a rule under each heading so it
   still separates the sections. */
@media print {
    html body .breadcrumb-header,
    html body .breadcrumb-header h2,
    html body .btn-contrast {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
        background-color: transparent !important;
        text-shadow: none !important;
    }

    html body .breadcrumb-header {
        border-bottom: 1px solid #000 !important;
    }
}

/* External Links: three cards a row (31% + the gaps between inline boxes overflowed, leaving
   two a row), and the whole box on one sheet - it was split with a blank band left on the
   first page. Its heading stays with it. */
@media print {
    html body .links-track > .link-item:not(.link-clone) {
        width: 30% !important;
    }

    html body .link-box-wrapper {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* ...and its heading travels with it: heading + box share one .container (~400px). */
@media print {
    html body .container:has(> .link-box-wrapper) {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* 26-Oct-2026, fifth pass - blank space at the foot of sheets. Large blocks that may not
   break (rightly) jumped whole to the next sheet and left the rest of a page empty:
   - the Services circle (500px) - printed at 70%, it fits under the logo on page 1;
   - Employee of the Month (564px, photo stacked over text) - photo and text side by side,
     and the "Employee Corner" heading kept with its card instead of orphaned;
   - the News list was 'avoid' as a whole - only its lines need to stay whole;
   - the notyf toast container printed as a 900px empty block at the end. */
@media print {
    html body .quick-services {
        zoom: 0.7;
    }

    html body .container:has(.employee-card) {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    html body .news-screen-reader {
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    html body .news-screen-reader li,
    html body #pills-home li {
        break-inside: avoid !important;
    }

    html body .news-screen-reader > .important-note {
        break-after: avoid !important;
        page-break-after: avoid !important;
    }

    html body .notyf,
    html body .notyf-announcer {
        display: none !important;
    }
}

/* Fifth pass, continued. Employee card: side by side left the right half empty (the text
   sits under the photo), so it stays stacked with a smaller photo. Section padding (48px top
   and bottom on screen) and the tall link cards are what pushed External Links off a sheet
   with room to spare; the Gallery heading is kept with its photos. */
@media print {
    html body .emp-wrapper {
        max-width: 50mm !important;
    }

    html body section.py-5,
    html body section#external-link,
    html body section.mahabhumi-footer {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    html body .links-track > .link-item:not(.link-clone) {
        height: auto !important;
        min-height: 0 !important;
        padding: 6px !important;
    }

    html body .links-track > .link-item img {
        max-height: 40px !important;
        width: auto !important;
    }

    /* 29-Oct-2026 (Ctrl+P, home page): the card inside each link kept its fixed screen width
       (205px at the ~703px print width) inside a 30% item (~190px), so each card ran over the
       next one and the white of its 18px shadow covered the box border and the next card's
       name. The card fills its own item, prints flat with a thin border, and a long logo
       name (shown when the image is missing) wraps inside it. */
    html body .links-track > .link-item:not(.link-clone) .link-card {
        width: 100% !important;
        height: auto !important;
        min-height: 14mm !important;
        padding: 4px !important;
        box-shadow: none !important;
        transform: none !important;
        border: 1px solid #999 !important;
        border-radius: 6px !important;
        text-align: center !important;
    }

    html body .links-track > .link-item:not(.link-clone) .link-card img {
        max-width: 100% !important;
        height: auto !important;
        overflow-wrap: anywhere !important;
    }

    html body section#gallery {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* Footer kept whole (its icon row was cut between two sheets); Gallery four photos a row and
   capped at 30mm, so the section fits the space left under Services instead of leaving it
   blank. */
@media print {
    html body .theme-bg-light.footer {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    html body .photo-scroll-container > .photo-item {
        width: 23% !important;
    }

    html body .photo-scroll-container > .photo-item img {
        max-height: 30mm !important;
        object-fit: cover !important;
    }
}

/* Gallery measured 345px against ~355px left under Services - a few px short. */
@media print {
    html body section#gallery .text-center.mb-4 {
        margin-bottom: 6px !important;
    }

    html body .photo-scroll-container > .photo-item img {
        max-height: 25mm !important;
    }
}

/* Contact Us: the section keeps a fixed 400px screen height around 433px of content (last
   card printed over the section rule) and its heading was cut between two sheets. */
@media print {
    html body section#help-support {
        height: auto !important;
        min-height: 0 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}

/* ...the real cause: on screen the heading column is pulled up (margin-top:-24px) and the
   cards column overlaps both edges (-28px / -29px). On paper that put the heading above the
   section - cut at the top of a sheet - and the last card over the section rule. */
@media print {
    html body section#help-support .row > [class*="col-"] {
        margin: 0 !important;
    }

    html body section#help-support .help-support-title {
        margin: 0 0 8px 0 !important;
    }
}


/* 26-Nov-2026 - Search box + Map tab (Ankush Fuse, UAT home page saved as PDF: "search box,
   mapas not show in pdf"). Both were hidden on purpose for print; the department wants the
   printout to show what the screen shows. Backgrounds are usually OFF when printing, so each
   control gets dark text and a 1px border instead of its themed fill - same treatment as the
   top-bar buttons (25-Nov). */
@media print {
    /* Search box: its wrapper .horizontal-sticky is in the hide list at the top of this file. */
    html body .horizontal-sticky.search-bar-sticky {
        display: block !important;
        position: static !important;
        height: auto !important;
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body .search-bar-sticky #globalSearchBar {
        position: static !important;
        display: flex !important;
        width: 100% !important;
        justify-content: flex-end !important;
        padding: 4px 0 !important;
    }

    html body .search-bar-sticky .navbar,
    html body .search-bar-sticky form,
    html body .search-bar-sticky .input-group {
        display: flex !important;
        width: auto !important;
        background: none !important;
        flex-wrap: nowrap !important;
    }

    html body .search-bar-sticky .navbar {
        margin-left: auto !important;
    }

    html body #dictionarySearch,
    html body #micBtn,
    html body #searchBtn {
        display: inline-flex !important;
        align-items: center !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    html body #dictionarySearch {
        display: block !important;
        width: 60mm !important;
        flex: 0 0 auto !important;
    }

    html body #dictionarySearch::placeholder {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        opacity: 1 !important;
    }

    html body #micBtn i,
    html body #searchBtn i {
        color: #000 !important;
    }

    /* Map tab: printed beside the What's New heading, as on screen. */
    html body #pills-tab {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    html body #pills-tab #whats-new-heading.nav-link.active,
    html body #whats-new-heading {
        flex: 1 1 auto !important;
        width: auto !important;
    }

    html body #pills-tab #openMapBtn.map-toggle-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex: 0 0 auto !important;
        width: auto !important;
        color: #000 !important;
        background: none !important;
        border: 1px solid #000 !important;
        border-radius: 6px !important;
        padding: 3px 10px !important;
        font-weight: 700 !important;
        transform: none !important;
    }

    /* "New" badge: white text on a red fill, so it vanished without backgrounds. */
    html body #pills-tab #openMapBtn .map-new-badge {
        position: static !important;
        animation: none !important;
        color: #000 !important;
        background: none !important;
        border: 1px solid #000 !important;
        border-radius: 10px !important;
        padding: 0 5px !important;
        font-size: 9pt !important;
    }
}

/* 26-Nov-2026 - Pill tabs and buttons (Ankush Fuse, UAT home saved as PDF: "vartaman,
   sangrahit etc highlighted portion not display in pdf"). Every .btn-pill was in the
   "controls that cannot be used on paper" list, so the News tabs (वर्तमान / संग्रहित), the
   अधिक बातम्या button, the services tabs (निशुल्क / सशुल्क सेवा) and the gallery tabs all
   dropped out. They print now. Their fills are not printed (Background graphics off), so the
   white-on-dark active pill would vanish: dark text + border for every pill, and the active
   one marked by a heavier border and bold text instead of its fill. */
@media print {
    html body .btn-pill {
        display: inline-flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    html body .btn-pill.active {
        border-width: 2px !important;
        font-weight: 700 !important;
    }

    html body .btn-pill i {
        color: #000 !important;
    }

    /* A4 (~703px) is below the 768px breakpoint, so the phone layout stacked the pills in a
       column and stretched the active one to full width. Keep them side by side, as on screen. */
    /* .d-flex repeated: SCDLR styles.css forces justify-content: stretch !important on
       .d-flex.justify-content-center.mb-4 below 768px (specificity 0,3,0). */
    html body .d-flex.d-flex:has(> .btn-pill) {
        display: flex !important;
        width: 100% !important;
        overflow: visible !important;
        padding: 3px 0 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    html body .d-flex > .btn-pill {
        width: auto !important;
        height: auto !important;
        padding: 4px 14px !important;
        flex: 0 0 auto !important;
    }

    /* Inactive pills keep their theme text colour from a more specific rule - force black. */
    html body .gallery-toggle.btn-pill:not(.active),
    html body .gallery-toggle.btn-pill.theme-btn-primary {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
}

/* 26-Nov-2026 - Print what is on screen (department: "Ctrl+P must print everything that is
   visible on the page, on every page"). Items that this file used to hide on purpose now
   print. Background graphics are off by default when printing, so anything that was white
   on a themed fill gets dark text (and a border where it is a control) instead of its fill. */
@media print {
    /* Main menu. At A4 width (~703px) the page is in its phone layout, where the menu is
       collapsed behind the hamburger; on a desktop screen it is a row of links - print that. */
    html body .horizontal-menu,
    html body .horizontal-menu.horizontal-sticky,
    html body :is(#mainNav, #districtNav) {
        display: block !important;
        position: static !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
    }

    html body :is(#mainNav, #districtNav) .container-fluid,
    html body :is(#mainNav, #districtNav) .navbar-links,
    html body :is(#mainNav, #districtNav) .navbar-collapse,
    html body :is(#mainNav, #districtNav) .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        position: static !important;
        width: 100% !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        background: none !important;
        box-shadow: none !important;
        padding: 2px 0 !important;
        column-gap: 4px !important;
        row-gap: 0 !important;
        border-bottom: 1px solid #000 !important;
    }

    html body :is(#mainNav, #districtNav) .container-fluid {
        border-bottom: 0 !important;
    }

    html body :is(#mainNav, #districtNav) .nav-link,
    html body :is(#mainNav, #districtNav) .navbar-links > a,
    html body :is(#mainNav, #districtNav) .nav-item > a {
        display: inline-block !important;
        width: auto !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
        border: 0 !important;
        padding: 2px 6px !important;
    }

    html body :is(#mainNav, #districtNav) .nav-link.active {
        font-weight: 700 !important;
        text-decoration: underline !important;
    }

    /* The national emblem in the district top bar is display:none at phone width. */
    html body header .top-bar .emblem-logo-img {
        display: block !important;
    }

    /* Dropdown sub-menus are closed on screen - they stay closed on paper. */
    html body :is(#mainNav, #districtNav) .dropdown-menu,
    html body :is(#mainNav, #districtNav) .submenu {
        display: none !important;
    }

    /* Form fields (feedback form and the like): their light borders/fills can vanish. */
    html body #feedbackForm .form-control,
    html body #feedbackForm .form-select,
    html body #feedbackForm textarea,
    html body .footer-feedback-section .form-control,
    html body .footer-feedback-section textarea {
        background: none !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }

    html body #feedbackForm .btn,
    html body .footer-feedback-section .btn,
    html body .hero-motion-toggle,
    html body .scroll-btn,
    html body .video-scroll-btn,
    html body .news-screen-reader .marquee-container > button {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    html body #feedbackForm .btn i,
    html body .hero-motion-toggle i,
    html body .scroll-btn i,
    html body .video-scroll-btn i,
    html body .news-screen-reader .marquee-container > button i {
        color: #000 !important;
    }
}

/* 26-Nov-2026 - Discussion & Talks: the table header ("चर्चा समूह") is display:none below 768px
   (DiscussionAndTalks/Index.cshtml phone card layout); A4 width is below that, so it dropped
   off the printout although the desktop screen shows it. */
@media print {
    html body #discussionAndTalksTable thead {
        display: block !important;
    }
}

/* 27-Nov-2026 - district page Ctrl+P (tester screenshot, DistrictSCLR?districtId=20).
   1. The EN / म language switch shrank in the A4 row, so "EN" broke into "E" / "N" on two
      lines. The phone number and "नोंदणी करा" wrapped too. Keep each on one line, as on screen.
      With background graphics off the white "selected" pill is lost - the selected language
      gets its own thin border so the reader can still see which one is active.
   2. District header: the row holding the district name, quick links and Maharashtra emblem
      kept its content width, leaving an empty block at the right of the sheet. It now spans
      the full width - links on the left, emblem at the right edge - and the department name
      sits next to the logo instead of far off in the middle. */
@media print {
    html body header .top-bar .language-toggle {
        flex: 0 0 auto !important;
        height: auto !important;
        flex-wrap: nowrap !important;
        margin-bottom: 0 !important;
    }

    html body header .top-bar .language-toggle label {
        display: inline-block !important;
        white-space: nowrap !important;
        padding: 1px 7px !important;
        border: 1px solid transparent !important;
    }

    html body header .top-bar .language-toggle input[type="radio"]:checked + label {
        border-color: #000 !important;
        font-weight: 700 !important;
    }

    html body header .top-bar span,
    html body header .top-bar button,
    html body header .top-bar label {
        white-space: nowrap !important;
    }

    html body header .district-header-row.district-header-row {
        flex-wrap: wrap !important;
    }

    html body header .district-header-row > .district-header-brand.district-header-brand {
        flex: 1 1 100% !important;
        justify-content: flex-start !important;
    }

    html body header .district-header-row .district-header-brand > .header-org-name {
        flex: 0 1 auto !important;
        margin-left: 12px !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    html body header .district-header-row > .d-flex:not(.district-header-brand) {
        flex: 1 1 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    html body header .district-header-row nav.district-quick-links.district-quick-links {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        column-gap: 14px !important;
        row-gap: 2px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* The emblem's link was stretched to ~340px with the image at its left - the blank box. */
    html body header .district-header-row > .d-flex > a.nav-link {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: 12px !important;
        padding: 0 !important;
    }
}

/* 27-Nov-2026 - district page Ctrl+P, rest of the page ("purn page chi design pn nit disli
   pahije"). 8 sheets, most of them blank or one card per sheet:
   1. नाविन्यपूर्ण योजना / योजना आणि प्रकल्प: .scheme-grid is three cards a row on screen, but
      its own @media (max-width:768px) rule makes it one column at A4 width - every card ran
      the full sheet width and the two sections took six sheets. Three a row, as on screen,
      and a card never splits between sheets.
   2. फोटो गॅलरी (district): printed as one empty box. The external-links print rules
      (.links-track img max-height:40px) shrank every photo to a thumbnail, and the card's
      overflow:hidden made Chrome drop the strip once it ran onto the next sheet. Photos now
      print four a row at their screen proportions, each with its caption. */
@media print {
    html body .scheme-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 8px 0 !important;
    }

    html body .scheme-grid > .scheme-card {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #999 !important;
    }

    html body .scheme-grid .scheme-card-content {
        padding: 8px 10px !important;
    }

    html body .scheme-grid .scheme-card-title {
        font-size: 11pt !important;
        margin-bottom: 6px !important;
    }

    html body #photoGalleryBody .card.custom-card,
    html body #photoGalleryWrapper {
        overflow: visible !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    html body #photoGalleryWrapper > #photoLinksTrack {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 8px 36px !important;
    }

    html body #photoGalleryWrapper > #photoLinksTrack > .link-item:not(.link-clone) {
        display: block !important;
        width: auto !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    html body #photoGalleryWrapper > #photoLinksTrack > .link-item img {
        width: 100% !important;
        max-height: none !important;
        height: auto !important;
        aspect-ratio: 24 / 17 !important;
        object-fit: cover !important;
    }

    html body #photoGalleryWrapper > #photoLinksTrack .list-quotes {
        padding: 4px !important;
        box-shadow: none !important;
        border: 1px solid #999 !important;
        border-radius: 8px !important;
        height: 100% !important;
    }

    html body #photoGalleryWrapper > #photoLinksTrack .quotes h3 {
        font-size: 9.5pt !important;
        line-height: 1.3 !important;
    }

    html body #photoGalleryWrapper > #photoLinksTrack .quotes p {
        font-size: 8.5pt !important;
        line-height: 1.3 !important;
    }

    /* ‹ › arrows: full-height bordered strips on paper - print them as plain arrows at the
       sides, vertically centred, as on screen. */
    html body #photoGalleryWrapper > .scroll-btn.prev,
    html body #photoGalleryWrapper > .scroll-btn.next {
        top: 50% !important;
        bottom: auto !important;
        height: auto !important;
        transform: translateY(-50%) !important;
        border: 0 !important;
    }
}