/**
 * Standard profile differences: normal content flow and the selected tab.
 * Shared paper, header/footer, hiding, tables, and break utilities live elsewhere.
 */

@media print {
  body.bmcpc-print-active.bmcpc-print-profile-standard :is(
    .bmcpc-print-content,
    main,
    [role="main"]
  ) {
    width: 100%;
    max-width: none;
  }

  body.bmcpc-print-active.bmcpc-print-profile-standard [data-bmcpc-print-tab]:not(.bmcpc-print-active-tab) {
    display: none !important; /* The tab adapter marks the single printable panel. */
  }

  body.bmcpc-print-active.bmcpc-print-profile-standard .bmcpc-print-active-tab {
    display: block !important; /* Override tab widgets that hide panels inline. */
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  /* Latest-news post 11813 keeps its article title in the shared Elementor
   * Header template rather than in the post body. The shared Header print
   * rules intentionally retain only the logo branch, which otherwise removes
   * this title from the print snapshot. Restore only this article title in
   * print; normal screen rendering and every other post remain unchanged. */
  body.postid-11813.bmcpc-print-active.bmcpc-print-profile-standard
    header[data-elementor-type="header"]
    .elementor-element-afa0ee3,
  body.postid-11813.bmcpc-print-active.bmcpc-print-profile-standard
    header[data-elementor-type="header"]
    .elementor-element-afa0ee3
    .elementor-element-41e0c126,
  body.postid-11813.bmcpc-print-active.bmcpc-print-profile-standard
    header[data-elementor-type="header"]
    .elementor-element-afa0ee3
    .elementor-element-41e0c126
    .elementor-heading-title {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 4mm !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* The same source header widget also contains the article date. Keep it
   * visible in print together with the restored article title; screen output
   * and the article body are unchanged. */
  body.postid-11813.bmcpc-print-active.bmcpc-print-profile-standard
    header[data-elementor-type="header"]
    .elementor-element-afa0ee3
    .elementor-element-7f35e79,
  body.postid-11813.bmcpc-print-active.bmcpc-print-profile-standard
    header[data-elementor-type="header"]
    .elementor-element-afa0ee3
    .elementor-element-7f35e79
    .elementor-heading-title {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    color: #333 !important;
    font-size: 10pt !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  /* Post 11813 has two native two-column tables. Keep each table and its
   * WordPress figure together so lower rows cannot be split at a page edge. */
  body.postid-11813.bmcpc-print-active.bmcpc-print-profile-standard
    main.site-main.post-11813
    :is(figure.wp-block-table, table.has-fixed-layout) {
    break-inside: avoid-page !important;
    page-break-inside: avoid !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Festival Arrangement page 455 contains two Elementor containers with
   * duplicate tab ids in the live source and in the prepared print snapshot.
   * The shared inactive-panel rule can lose to the page's own important
   * flex-display rule for this legacy section. When #tab2 is the requested
   * print state, suppress only the duplicated Tab 1 panel in the snapshot;
   * the screen DOM and #tab1 print state remain unchanged. */
  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard.bmcpc-print-tab-tab2
    [data-bmcpc-print-snapshot-root="1"] #tab1 {
    display: none !important;
  }

  body.bmcpc-print-active.bmcpc-print-profile-standard :is(
    h1,
    h2,
    h3,
    h4,
    .elementor-heading-title
  ) {
    break-after: avoid-page;
    page-break-after: avoid;
  }

  /* The reviewed allocation-introduction pages use the desktop Elementor
     grid itself as a visual table. Their print mapping opts into screen
     fidelity explicitly, so retain the measured desktop colours, typography,
     alignment and spacing proportions. The physical font and vertical
     padding are capped only enough to fit the same wide table on A4 without a
     Footer-only sheet. Keeping the canonical grid atomic also prevents a
     grouped header from being stranded at the bottom of one sheet while its
     data rows begin on the next. */
  body.bmcpc-print-active.bmcpc-print-profile-standard
    .bmcpc-print-table[data-bmcpc-print-table-fidelity="screen"],
  body.bmcpc-print-active.bmcpc-print-profile-standard
    .bmcpc-print-table-grid[data-bmcpc-print-table-fidelity="screen"] {
    break-inside: avoid-page !important;
    page-break-inside: avoid !important;
    contain: none !important;
  }

  body.bmcpc-print-active.bmcpc-print-profile-standard
    .bmcpc-print-table-grid[data-bmcpc-print-table-fidelity="screen"]
    > [data-bmcpc-print-table-cell="1"] {
    padding: var(--bmcpc-print-cell-padding, 0) !important;
    padding-top: min(var(--bmcpc-print-cell-padding-top, 0px), 3mm) !important;
    padding-right: var(--bmcpc-print-cell-padding-right, 0) !important;
    padding-bottom: min(var(--bmcpc-print-cell-padding-bottom, 0px), 3mm) !important;
    padding-left: var(--bmcpc-print-cell-padding-left, 0) !important;
    color: var(--bmcpc-print-cell-color, #111) !important;
    font-family: var(--bmcpc-print-cell-font-family, inherit) !important;
    font-size: min(var(--bmcpc-print-cell-font-size, 8.5pt), 10pt) !important;
    font-style: var(--bmcpc-print-cell-font-style, normal) !important;
    font-weight: var(--bmcpc-print-cell-font-weight, 400) !important;
    letter-spacing: var(--bmcpc-print-cell-letter-spacing, normal) !important;
    line-height: 1.35 !important;
    text-transform: var(--bmcpc-print-cell-text-transform, none) !important;
    white-space: var(--bmcpc-print-cell-white-space, normal) !important;
    word-break: var(--bmcpc-print-cell-word-break, normal) !important;
    overflow-wrap: var(--bmcpc-print-cell-overflow-wrap, normal) !important;
  }

  /*
   * Native-preview safety net for the three reviewed introduction tables.
   *
   * Chrome can enter paged media before its beforeprint callback has painted
   * the controller state classes, particularly from an already-open tab. In
   * that narrow interval Elementor's print breakpoint changes the canonical
   * e-grid to block flow, producing the one-label-per-line output reported in
   * UAT. Keep the exact reviewed source grids in their desktop track geometry
   * even when the lifecycle class is late. These selectors use confirmed page
   * and Elementor IDs, so no other page or normal screen layout is affected.
   */
  body:is(.page-id-1653, .page-id-434, .page-id-1555, .page-id-549, .page-id-1566, .page-id-1584) :is(
    .elementor-element-890fd66.grid-table,
    .elementor-element-7b79925.grid-table,
    .elementor-element-4b5c25c.grid-table,
    .elementor-element-6cdf739.grid-table,
    .elementor-element-26287be7.grid-table
  ) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    contain: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.page-id-1653
    .elementor-element-890fd66.grid-table
    > .elementor-element-87fe169.e-grid,
  body.page-id-434
    .elementor-element-7b79925.grid-table
    > .elementor-element-05677e1.e-grid {
    display: grid !important;
    grid-template-columns:
      var(--bmcpc-print-grid-template, repeat(8, minmax(0, 1fr)))
      !important;
    /* Keep the two-level desktop header as two real print rows. Without a
     * minimum second-row height, white data cells can start before the lower
     * header band has finished in Chrome's paged-media layout. */
    grid-template-rows: 13mm 13mm repeat(7, minmax(0, auto)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    contain: none !important;
  }

  /* Intro fee tables: keep the source grid's measured row flow, but make
   * every printable cell a stable box. Elementor's mixed align-self values
   * otherwise let text sit at different vertical offsets in paged media and
   * the long cemetery labels wrap as if they were separate rows. */
  body.page-id-1653.bmcpc-print-active.bmcpc-print-profile-standard
    :is(.elementor-element-890fd66.grid-table, .bmcpc-print-table)
    > .elementor-element-87fe169.e-grid,
  body.page-id-434.bmcpc-print-active.bmcpc-print-profile-standard
    :is(.elementor-element-7b79925.grid-table, .bmcpc-print-table)
    > .elementor-element-05677e1.e-grid,
  body.page-id-1653.bmcpc-print-active.bmcpc-print-profile-standard
    [data-bmcpc-print-snapshot-root="1"]
    [data-bmcpc-print-table-grid-instance="table-0"],
  body.page-id-434.bmcpc-print-active.bmcpc-print-profile-standard
    [data-bmcpc-print-snapshot-root="1"]
    [data-bmcpc-print-table-grid-instance="table-0"] {
    align-items: stretch !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    overflow: visible !important;
    contain: none !important;
  }

  body.page-id-1653.bmcpc-print-active.bmcpc-print-profile-standard
    :is(.elementor-element-890fd66.grid-table, .bmcpc-print-table)
    > .elementor-element-87fe169.e-grid
    > [data-bmcpc-print-table-cell="1"],
  body.page-id-434.bmcpc-print-active.bmcpc-print-profile-standard
    :is(.elementor-element-7b79925.grid-table, .bmcpc-print-table)
    > .elementor-element-05677e1.e-grid
    > [data-bmcpc-print-table-cell="1"],
  body.page-id-1653.bmcpc-print-active.bmcpc-print-profile-standard
    [data-bmcpc-print-snapshot-root="1"]
    [data-bmcpc-print-table-grid-instance="table-0"]
    > [data-bmcpc-print-table-cell="1"],
  body.page-id-434.bmcpc-print-active.bmcpc-print-profile-standard
    [data-bmcpc-print-snapshot-root="1"]
    [data-bmcpc-print-table-grid-instance="table-0"]
    > [data-bmcpc-print-table-cell="1"] {
    box-sizing: border-box !important;
    align-self: stretch !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
  }

  body.page-id-1653.bmcpc-print-active.bmcpc-print-profile-standard
    :is(.elementor-element-890fd66.grid-table, .bmcpc-print-table)
    > .elementor-element-87fe169.e-grid
    > [data-bmcpc-print-table-cell="1"] :is(p, .elementor-widget-container),
  body.page-id-434.bmcpc-print-active.bmcpc-print-profile-standard
    :is(.elementor-element-7b79925.grid-table, .bmcpc-print-table)
    > .elementor-element-05677e1.e-grid
    > [data-bmcpc-print-table-cell="1"] :is(p, .elementor-widget-container),
  body.page-id-1653.bmcpc-print-active.bmcpc-print-profile-standard
    [data-bmcpc-print-snapshot-root="1"]
    [data-bmcpc-print-table-grid-instance="table-0"]
    > [data-bmcpc-print-table-cell="1"] :is(p, .elementor-widget-container),
  body.page-id-434.bmcpc-print-active.bmcpc-print-profile-standard
    [data-bmcpc-print-snapshot-root="1"]
    [data-bmcpc-print-table-grid-instance="table-0"]
    > [data-bmcpc-print-table-cell="1"] :is(p, .elementor-widget-container) {
    margin-block: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* The Burial Lot and Urn Lot introduction tables are the two reviewed
   * eight-column tables whose source content area is narrower than the
   * available A4 print box. Give only these print tables a small, balanced
   * horizontal extension so long cemetery labels and fee headings have more
   * room, while keeping the same columns, typography, colours and source
   * screen layout. The four-millimetre inset stays inside the page's normal
   * print-safe area and applies equally to the prepared snapshot and its
   * canonical grid. */
  body:is(.page-id-434, .page-id-1653).bmcpc-print-active.bmcpc-print-profile-standard
    :is(
      .elementor-element-7b79925.grid-table,
      .elementor-element-890fd66.grid-table,
      .bmcpc-print-table
    ) {
    box-sizing: border-box !important;
    width: calc(100% + 8mm) !important;
    max-width: none !important;
    margin-left: -4mm !important;
    margin-right: -4mm !important;
  }

  /*
   * The two reviewed fee tables use a continuous coloured two-level header
   * on screen.  The print adapter correctly captures the header cells'
   * positions, but Elementor's `align-self:flex-start` on the five lower
   * header cells lets their background stop at the text box in paged media.
   * Stretch only these confirmed header cells so the print band remains
   * continuous and the column boundaries stay visually aligned with the
   * desktop table.  This is print-only and page-scoped.
   */
  body:is(.page-id-1653, .page-id-434).bmcpc-print-active
    :is(
      .elementor-element-87fe169.e-grid,
      .elementor-element-05677e1.e-grid
    )
    > [data-bmcpc-print-table-cell="1"]:is(
      [data-bmcpc-print-cell-order="0"],
      [data-bmcpc-print-cell-order="1"],
      [data-bmcpc-print-cell-order="2"],
      [data-bmcpc-print-cell-order="3"],
      [data-bmcpc-print-cell-order="4"],
      [data-bmcpc-print-cell-order="5"],
      [data-bmcpc-print-cell-order="6"],
      [data-bmcpc-print-cell-order="7"],
      [data-bmcpc-print-cell-order="8"]
    ) {
    align-self: stretch !important;
    box-sizing: border-box !important;
    background: rgb(227, 234, 150) !important;
    min-height: 100% !important;
  }

  body.page-id-1566
    .elementor-element-6cdf739.grid-table
    > .elementor-element-5a4420a.e-grid,
  body.page-id-1584
    .elementor-element-26287be7.grid-table
    > .elementor-element-1ade983.e-grid {
    display: grid !important;
    grid-template-columns:
      var(--bmcpc-print-grid-template, repeat(4, minmax(0, 1fr)))
      !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    contain: none !important;
  }

  body.page-id-1555
    .elementor-element-4b5c25c.grid-table
    > .elementor-element-e7e57fb.e-grid {
    display: grid !important;
    grid-template-columns:
      var(--bmcpc-print-grid-template, repeat(5, minmax(0, 1fr)))
      !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    contain: none !important;
  }

  /*
   * Page 1555 places its canonical five-column desktop table inside an
   * `elementor-hidden-mobile` wrapper. An A4 print content box can satisfy
   * Elementor's max-width: 767px breakpoint, which hides that wrapper before
   * the table fallback above can take effect. Restore only this confirmed
   * desktop branch in print; the separate mobile duplicate remains suppressed
   * by the exact 6f15be2 rule below.
   */
  body.page-id-1555
    .elementor-element-9dea355.elementor-hidden-mobile {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    contain: none !important;
  }

  body:is(.page-id-1653, .page-id-434, .page-id-1555, .page-id-549, .page-id-1566, .page-id-1584) :is(
    .elementor-element-87fe169.e-grid,
    .elementor-element-05677e1.e-grid,
    .elementor-element-e7e57fb.e-grid,
    .elementor-element-5a4420a.e-grid,
    .elementor-element-1ade983.e-grid
  ) > * {
    display: block !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body:is(.page-id-1653, .page-id-434, .page-id-1555, .page-id-549, .page-id-1566, .page-id-1584)
    :is(
      .elementor-element-87fe169.e-grid,
      .elementor-element-05677e1.e-grid,
      .elementor-element-e7e57fb.e-grid,
      .elementor-element-5a4420a.e-grid,
      .elementor-element-1ade983.e-grid
    )
    > [data-bmcpc-print-table-cell="1"] {
    grid-column: var(--bmcpc-print-cell-grid-column, auto) !important;
    grid-row: var(--bmcpc-print-cell-grid-row, auto) !important;
    align-self: var(--bmcpc-print-cell-align-self, stretch) !important;
    padding: var(--bmcpc-print-cell-padding, 0) !important;
    padding-top: min(var(--bmcpc-print-cell-padding-top, 0px), 3mm) !important;
    padding-right: var(--bmcpc-print-cell-padding-right, 0) !important;
    padding-bottom: min(var(--bmcpc-print-cell-padding-bottom, 0px), 3mm) !important;
    padding-left: var(--bmcpc-print-cell-padding-left, 0) !important;
    border: var(--bmcpc-print-cell-border, 0) !important;
    background: var(--bmcpc-print-cell-background, transparent) !important;
    color: var(--bmcpc-print-cell-color, #111) !important;
    text-align: var(--bmcpc-print-cell-text-align, start) !important;
    font-family: var(--bmcpc-print-cell-font-family, inherit) !important;
    font-size: min(var(--bmcpc-print-cell-font-size, 8.5pt), 10pt) !important;
    font-style: var(--bmcpc-print-cell-font-style, normal) !important;
    font-weight: var(--bmcpc-print-cell-font-weight, 400) !important;
    line-height: 1.35 !important;
  }

  /*
   * Each reviewed page also contains one author-supplied mobile-only table.
   * It is correctly hidden on the normal desktop page but Elementor's print
   * breakpoint can expose it beside the canonical desktop grid. Suppress only
   * those three confirmed responsive duplicates; the canonical table above
   * remains the single printable source.
   */
  body.page-id-1653
    .elementor-element-41f347d.mobile-giant-table,
  body.page-id-434
    .elementor-element-a462f73.mobile-giant-table,
  body.page-id-1555
    .elementor-element-6f15be2.mobile-giant-table {
    display: none !important;
  }

  /* Page 2036 Tab2 contains a confirmed Elementor mobile duplicate directly
   * below the canonical desktop fee grid. It is part of the source tab for
   * responsive screen use, but must not become a second printable item when
   * the print breakpoint exposes `elementor-hidden-desktop`. Suppress only
   * this page's exact duplicate; the desktop two-column table remains the
   * single print source and the normal screen page is untouched. */
  body.page-id-2036.bmcpc-print-active.bmcpc-print-profile-standard
    #tab2 > .elementor-element-10cc0db.elementor-hidden-desktop {
    display: none !important;
  }

  body.bmcpc-print-active.bmcpc-print-profile-standard :is(
    .bmcpc-print-download-list,
    [data-bmcpc-print-download-list]
  ) {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body.bmcpc-print-active.bmcpc-print-profile-standard :is(
    .bmcpc-print-download-list,
    [data-bmcpc-print-download-list]
  ) > * {
    margin: 0 0 2.5mm;
    padding: 0 0 2.5mm;
    border-bottom: 1px solid var(--bmcpc-print-border);
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Page 593 keeps the section title and its download action in one
     Elementor flex row. Normalize that reviewed row explicitly so print-core
     width resets cannot place the two widgets on top of each other. */
  body.page-id-593.bmcpc-print-active.bmcpc-print-profile-standard
    .elementor-element-ad4eacf {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 3mm 8mm !important;
    width: 100% !important;
    margin: 0 0 5mm !important;
    padding: 0 !important;
    position: static !important;
  }

  body.page-id-593.bmcpc-print-active.bmcpc-print-profile-standard
    .elementor-element-ad4eacf > :is(
      .elementor-element-3c1d9cfa,
      .elementor-element-17f42a2
    ) {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: static !important;
  }

  body.page-id-593.bmcpc-print-active.bmcpc-print-profile-standard
    .elementor-element-1a3fb7ec.grid-table {
    margin-top: 0 !important;
    break-before: auto !important;
    page-break-before: auto !important;
  }

  /* Page 455 (Festival Arrangement) places the calendar and the notes in
     sibling Elementor flex containers. Chromium can fragment that nested
     flex flow by painting the notes label inside the calendar's final row.
     Keep the calendar and notes in normal paged block flow for Print only;
     the screen layout and the calendar content remain unchanged. */
  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1,
  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1 > .elementor-element-250f6b2,
  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1 > .elementor-element-5a5be81,
  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1 > .elementor-element-5a5be81 > .elementor-element-7408e48,
  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1 > .elementor-element-5a5be81 > .elementor-element-6e5fd49 {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
    contain: none !important;
    transform: none !important;
  }

  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1 > .elementor-element-5a5be81 {
    margin-top: 5mm !important;
    break-before: auto !important;
    page-break-before: auto !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1 > .elementor-element-5a5be81 > .elementor-element-7408e48 {
    margin: 0 0 4mm !important;
  }

  body.page-id-455.bmcpc-print-active.bmcpc-print-profile-standard
    #tab1 > .elementor-element-5a5be81 > .elementor-element-6e5fd49
    p {
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  /* Page 6161 (Cemetery Information > Video Collection) uses the same
     compact two-column video-card presentation as FGFA tab2.  Keep this
     override page-scoped so the rest of the standard profile is unchanged. */
  body.page-id-6161.bmcpc-print-active.bmcpc-print-profile-standard
    [data-id="1c6d3a5"] .bmcpc-print-video-card {
    grid-template-columns: 32mm minmax(0, 1fr) !important;
    gap: 2.5mm !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 2.5mm !important;
  }

  body.page-id-6161.bmcpc-print-active.bmcpc-print-profile-standard
    [data-id="1c6d3a5"] .bmcpc-print-video-thumb {
    display: block !important;
    width: 32mm !important;
    min-width: 32mm !important;
    height: 18mm !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  body.page-id-6161.bmcpc-print-active.bmcpc-print-profile-standard
    [data-id="1c6d3a5"] .bmcpc-print-video-title {
    margin: 0 0 1mm !important;
    font-size: 8.6pt !important;
    line-height: 1.25 !important;
  }

  body.page-id-6161.bmcpc-print-active.bmcpc-print-profile-standard
    [data-id="1c6d3a5"] .bmcpc-print-video-url {
    font-size: 7.2pt !important;
    line-height: 1.28 !important;
  }

  body.page-id-6161.bmcpc-print-active.bmcpc-print-profile-standard
    [data-id="1c6d3a5"] .bmcpc-print-video-note {
    margin-top: 0.8mm !important;
    font-size: 6.8pt !important;
    line-height: 1.25 !important;
  }

  /* Alpha.100: the two introduction pages contain an empty responsive
     Elementor container before the content and another copy in the source
     Footer area.  It is a screen-layout spacer only.  Collapse these known
     empty nodes in print so they cannot reserve a sheet by themselves; keep
     all content-bearing sections, notes and Footer content untouched. */
  body:is(.page-id-434, .page-id-1653).bmcpc-print-active
    :is(.elementor-element-1f856e48, .elementor-element-96e354e) {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    break-before: auto !important;
    break-after: auto !important;
    page-break-before: auto !important;
    page-break-after: auto !important;
  }

  /* Alpha.101: What's New > Cemetery News keeps the screen hero's 500px
     reservation and the active-panel's 128px bottom padding in the source
     layout.  They create a large print-only gap before the Footer.  Compact
     only this hash-selected print state; the category title, news cards and
     all other What's New categories remain in the shared flow. */
  body.page-id-605.bmcpc-print-active.bmcpc-print-profile-standard.bmcpc-print-tab-cemetery
    [data-id="657ce1be"] {
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-id-605.bmcpc-print-active.bmcpc-print-profile-standard.bmcpc-print-tab-cemetery
    [data-id="657ce1be"]::before,
  body.page-id-605.bmcpc-print-active.bmcpc-print-profile-standard.bmcpc-print-tab-cemetery
    [data-id="657ce1be"]::after {
    display: none !important;
    content: none !important;
  }

  body.page-id-605.bmcpc-print-active.bmcpc-print-profile-standard.bmcpc-print-tab-cemetery
    #cemetery.bmcpc-print-active-tab > .e-con-inner {
    padding-bottom: 0 !important;
  }

}
