/* Scoped to Union 72 drinks: existing lunch/dinner menu styles are untouched. */
.union-drinks { --ud-ink:#242521; --ud-accent:#515447; --ud-rule:#cbc8be; color:var(--ud-ink); font-family:Cambria,Georgia,serif; }
.union-drinks-web { display:grid; grid-template-columns:minmax(0,1fr); gap:2.5rem; max-width:1000px; margin:auto; padding:1rem 0 3rem; }
.union-drinks-panel { min-width:0; }
.union-drinks-panel-title { font:700 clamp(2rem,4.5vw,3.2rem)/1.05 "Roboto Condensed",Arial,sans-serif; text-transform:uppercase; letter-spacing:.025em; margin:0 0 1rem; }
.union-drinks-section { margin:2.1rem 0 .7rem; padding-bottom:.22rem; border-bottom:1px solid var(--ud-rule); color:var(--ud-accent); font:700 clamp(1.3rem,2.4vw,1.7rem)/1.1 "Roboto Condensed",Arial,sans-serif; text-transform:uppercase; }
.union-drinks-subsection { margin:1.1rem 0 .45rem; font:700 1.08rem/1.2 "Roboto Condensed",Arial,sans-serif; }
.union-drinks-note { color:var(--ud-accent); font:500 .84rem/1.35 Arial,sans-serif; letter-spacing:.03em; margin:.2rem 0 .75rem; }
.union-drinks-item { margin:0 0 1.15rem; break-inside:avoid; page-break-inside:avoid; }
.union-drinks-item-top { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; }
.union-drinks-leader { flex:1 1 0; min-width:8px; height:1px; margin:0 .45rem .17rem; border-bottom:1px dotted #888; }
.union-drinks-name { font:700 1.07rem/1.23 Cambria,Georgia,serif; }
.union-drinks-price { flex:0 0 auto; font:500 1rem/1.2 Arial,sans-serif; white-space:nowrap; }
.union-drinks-meta { margin:.2rem 0 .25rem; color:var(--ud-accent); font:italic .92rem/1.4 Cambria,Georgia,serif; }
.union-drinks-description p { margin:.2rem 0 0; font:normal .95rem/1.48 Cambria,Georgia,serif; }
.union-drinks-print-controls { margin:1rem auto 2rem; text-align:center; font-family:Arial,sans-serif; }
.union-drinks-print-controls button { padding:.7rem 1.3rem; background:#333; color:#fff; border:0; cursor:pointer; }
.union-drinks-print-controls p { font-size:.8rem; margin:.65rem 0; }
.union-drinks-booklet { max-width:680px; margin:auto; }
.union-drinks-booklet-cover { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; min-height:300px; border-top:2px solid var(--ud-ink); border-bottom:1px solid var(--ud-rule); margin-bottom:2rem; }
.union-drinks-booklet-cover span { font:900 3rem/1 "Roboto Condensed",Impact,Arial,sans-serif; letter-spacing:-.06em; }
.union-drinks-booklet-cover .union-drinks-logo { display:block; width:180px; height:auto; object-fit:contain; margin-top:auto; margin-bottom:20px; }
.union-drinks-booklet-cover .union-drinks-cover-title-image { display:block; width:220px; max-width:75%; height:auto; object-fit:contain; margin:1.25rem auto .5rem; }
.union-drinks-booklet-cover h1 { margin:1.5rem 0 .4rem; font:400 italic 2.2rem/1 Cambria,Georgia,serif; }
.union-drinks-booklet-cover p { font:.8rem/1.3 Arial,sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.union-drinks-booklet .union-drinks-panel { margin-bottom:2rem; }
@media (min-width:760px) { .union-drinks-web:has(.union-drinks-panel:nth-child(2)) { grid-template-columns:repeat(2,minmax(0,1fr)); } .union-drinks-web .union-drinks-panel-reserve-wines { grid-column:span 2; } }
@media (max-width:540px) { .union-drinks-web { padding:.4rem .35rem 2rem; } .union-drinks-item-top { gap:.5rem; } .union-drinks-name { font-size:1.02rem; } .union-drinks-description p { font-size:.91rem; } }

/* Booklet-only print. The rule is isolated to pages containing the booklet shortcode. */
/* Page size is supplied after theme CSS by the [union_drinks_booklet] shortcode. */
@media print {
  body:has(.union-drinks-booklet) { background:white!important; }
  body:has(.union-drinks-booklet) :is(#wpadminbar,.site-header,.site-footer,.main-navigation,.footer-widgets,.site-info,.generate-back-to-top,.fl-builder-content:not(:has(.union-drinks-booklet))) { display:none!important; }
  body:has(.union-drinks-booklet) :is(.site,.site-content,.content-area,.site-main,.inside-article,.entry-content,.fl-row-content,.fl-row-content-wrap,.fl-col-content,.fl-module-content) { width:100%!important; max-width:none!important; padding:0!important; margin:0!important; border:0!important; box-shadow:none!important; }
  body:has(.union-drinks-booklet) :is(.entry-header,.entry-title,.page-header) { display:none!important; }
  .union-drinks-booklet { max-width:none!important; width:100%!important; margin:0!important; color:#000!important; }
  .union-drinks-booklet .union-drinks-print-controls { display:none!important; }
  .union-drinks-booklet-cover { display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:flex-start!important; height:7.75in; min-height:0; margin:0; border:0; break-after:page; page-break-after:always; }
  .union-drinks-booklet-cover .union-drinks-logo { width:.86in!important; height:auto!important; position:static!important; top:auto!important; margin-top:auto!important; margin-bottom:.12in!important; }
  .union-drinks-booklet-cover .union-drinks-cover-title-image { width:2.15in!important; max-width:85%!important; height:auto!important; margin:.10in auto .35in!important; }
  .union-drinks-booklet-cover h1 { font-size:34pt; }
  .union-drinks-booklet .union-drinks-panel { margin:0; break-before:page; page-break-before:always; }
  .union-drinks-booklet .union-drinks-panel:first-of-type { break-before:auto; page-break-before:auto; }
  .union-drinks-booklet .union-drinks-panel-title { font-size:22pt!important; margin:0 0 .13in!important; }
  .union-drinks-booklet .union-drinks-section-start { break-inside:avoid!important; page-break-inside:avoid!important; }
  /* Chrome sometimes orphans these headings despite break-inside:avoid. */
  .union-drinks-booklet .union-drinks-section-start-red,
  .union-drinks-booklet .union-drinks-section-start-rose { break-before:page!important; page-break-before:always!important; }
  .union-drinks-booklet .union-drinks-section { font-size:13pt!important; margin:.16in 0 .07in!important; break-after:avoid-page!important; page-break-after:avoid!important; }
  .union-drinks-booklet .union-drinks-subsection { font-size:9.5pt!important; margin:.11in 0 .05in!important; break-after:avoid-page!important; }
  .union-drinks-booklet .union-drinks-item { margin:0 0 .085in!important; }
  .union-drinks-booklet .union-drinks-item-top { display:flex!important; align-items:baseline!important; justify-content:flex-start!important; gap:0!important; }
  .union-drinks-booklet .union-drinks-item-top::after { content:none!important; display:none!important; }
  .union-drinks-booklet .union-drinks-name { order:1!important; flex:0 1 auto!important; min-width:min-content!important; overflow-wrap:normal!important; word-break:normal!important; hyphens:none!important; font-size:10pt!important; font-weight:400!important; line-height:1.18!important; }
  .union-drinks-booklet .union-drinks-leader { order:2!important; display:block!important; flex:1 1 0!important; width:0!important; min-width:8px!important; margin:0 .08in!important; height:12px!important; border:0!important; background:none!important; overflow:hidden!important; white-space:nowrap!important; font:12px/10px Georgia,serif!important; letter-spacing:6px!important; }
  .union-drinks-booklet .union-drinks-leader::before { content:"· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·"!important; }
  .union-drinks-booklet .union-drinks-price { order:3!important; flex:0 0 auto!important; font-size:10pt!important; margin-left:auto!important; }
  .union-drinks-booklet .union-drinks-meta { font-size:9.5pt!important; line-height:1.27!important; margin:.03in 0!important; }
  .union-drinks-booklet .union-drinks-description p { font-size:10pt!important; line-height:1.32!important; margin:.035in 0 0!important; }
  .union-drinks-booklet .union-drinks-note { font-size:9pt!important; margin:.05in 0 .09in!important; }

  /* Spirits & Digestifs only: compact two-column print layout. */
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-entries {
    column-count:2!important;
    column-gap:.24in!important;
    column-fill:auto!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-section-start {
    break-inside:avoid-column!important;
    page-break-inside:avoid!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-section,
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-subsection {
    break-after:avoid-column!important;
    page-break-after:avoid!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-item {
    margin-bottom:0!important;
    break-inside:avoid-column!important;
    page-break-inside:avoid!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-name {
    font-size:9.2pt!important;
    font-weight:600!important;
    line-height:1.06!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-price {
    font-size:9.2pt!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-leader {
    min-width:4px!important;
    margin-left:.035in!important;
    margin-right:.035in!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-section {
    font-size:11pt!important;
    margin:.065in 0 .022in!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-subsection {
    font-size:9pt!important;
    margin:.035in 0 .015in!important;
  }
  .union-drinks-booklet .union-drinks-panel-spirits .union-drinks-note {
    margin:.015in 0 .025in!important;
    font-size:8.5pt!important;
  }

}
