/* Unity Gala 2027 Program Book — first editorial design pass.
   Preserve 5.5 x 8.5 in artwork, trim-size booklet and original content. */
body.ugpb-program-page .ugle-proof-banner,
body.ugpb-program-page .ugpb-editorial-contents,
body.ugpb-manager-page .ugle-manager-readiness,
.ugpb-editorial-contents {
  box-sizing: border-box;
}
body.ugpb-program-page .ugle-proof-banner *,
body.ugpb-program-page .ugpb-editorial-contents *,
body.ugpb-manager-page .ugle-manager-readiness *,
.ugpb-editorial-contents * {
  box-sizing: border-box;
}
body.ugpb-program-page .ugle-proof-banner {
  width: min(calc(100% - 30px), 1160px);
  margin: 20px auto 14px;
  padding: 17px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 22px;
  border-radius: 13px;
  border: 1px solid #c9b07d;
  background: linear-gradient(120deg,#142f49 0%,#192d45 57%,#4a2a37 100%);
  color: #fff9e9 !important;
  box-shadow: 0 8px 25px rgba(6,20,38,.16);
}
body.ugpb-program-page .ugle-proof-banner h2 {
  color: #fff5db !important;
  font-family: Georgia,serif;
  font-size: clamp(19px,2.6vw,25px) !important;
  margin: 4px 0 5px !important;
  line-height: 1.22 !important;
}
body.ugpb-program-page .ugle-proof-kicker {
  display: block;
  color: #f1d38f !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
body.ugpb-program-page .ugle-proof-banner p {
  margin: 0 0 6px;
  color: #e0e7ec !important;
  font-size: 12px;
  line-height: 1.45;
}
body.ugpb-program-page .ugle-proof-warning,
body.ugpb-program-page .ugle-proof-ok {
  display: inline-block;
  color: #ffe4a5 !important;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
}
body.ugpb-program-page .ugle-proof-ok { color: #cef1d6 !important; }
body.ugpb-program-page a.ugle-proof-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid #b99656;
  border-radius: 9px;
  background: #f5dfad !important;
  color: #152f49 !important;
  -webkit-text-fill-color: #152f49 !important;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none !important;
}
body.ugpb-program-page a.ugle-proof-edit:hover,
body.ugpb-program-page a.ugle-proof-edit:focus-visible {
  background: #ffe8bb !important;
  outline-offset: 2px;
}

/* A typographic, print-ready contents leaf after inside-front artwork. */
.ugpb-book section.ugpb-editorial-contents {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: min(850px, 94vh);
  padding: clamp(26px,4.5vw,61px) clamp(23px,6vw,70px);
  border: 0;
  border-top: 5px solid #cfaa64;
  border-bottom: 5px solid #cfaa64;
  background: radial-gradient(ellipse at top left,rgba(218,179,100,.13),transparent 49%),#fcfaf5 !important;
  color: #182f45 !important;
  position: relative;
}
.ugpb-book .ugpb-editorial-contents:before {
  content: "";
  display: block;
  position: absolute;
  inset: 17px;
  border: 1px solid rgba(160,126,72,.24);
  pointer-events: none;
}
.ugpb-book .ugle-editorial-top,
.ugpb-book .ugle-editorial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  width: 100%;
  color: #52647a;
  font-size: clamp(9px,1.1vw,11px);
  letter-spacing: .12em;
  font-weight: 850;
  text-transform: uppercase;
  position: relative;
}
.ugpb-book .ugle-editorial-top span:first-child {
  color: #7d2837;
  font-weight: 950;
}
.ugpb-book .ugle-editorial-intro {
  margin: 15px 0 23px;
  text-align: center;
  position: relative;
}
.ugpb-book .ugle-editorial-kicker {
  margin: 0 0 7px !important;
  font-size: clamp(9px,1.3vw,12px);
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.6;
  color: #9d7330 !important;
  text-transform: uppercase;
}
.ugpb-book .ugle-editorial-intro > h2 {
  color: #263f58 !important;
  font-family: "Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-size: clamp(33px,5vw,58px) !important;
  line-height: 1.04 !important;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 2px 0 11px !important;
}
.ugpb-book .ugle-editorial-intro > p:last-child {
  color: #526579 !important;
  font-family: Georgia,serif;
  font-size: clamp(12px,1.45vw,15px) !important;
  font-style: italic;
  line-height: 1.55;
  margin: 0 auto !important;
}
.ugpb-book .ugle-contents-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-content: center;
  gap: 0 22px;
  width: 100%;
  min-width: 0;
  position: relative;
}
.ugpb-book .ugle-contents-item {
  display: grid;
  grid-template-columns: 25px minmax(0,1fr) 13px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 55px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid #ddd2be;
  background: none !important;
  color: #20374d !important;
  -webkit-text-fill-color: #20374d !important;
  text-decoration: none !important;
}
.ugpb-book .ugle-contents-item:hover,
.ugpb-book .ugle-contents-item:focus-visible {
  background: rgba(215,180,106,.13) !important;
}
.ugpb-book .ugle-contents-number {
  display: block;
  font-family: Georgia,serif;
  font-size: 12px;
  font-weight: 750;
  color: #9d762f !important;
  -webkit-text-fill-color: #9d762f !important;
}
.ugpb-book .ugle-contents-copy {
  display: block;
  min-width: 0;
}
.ugpb-book .ugle-contents-copy strong {
  display: block;
  margin: 0 0 2px;
  font-size: clamp(12px,1.35vw,15px);
  font-weight: 850;
  color: #1a3046 !important;
  -webkit-text-fill-color: #1a3046 !important;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.ugpb-book .ugle-contents-copy small {
  display: block;
  font-size: clamp(10px,1.05vw,12px);
  font-weight: 500;
  line-height: 1.38;
  color: #667588 !important;
  -webkit-text-fill-color: #667588 !important;
  overflow-wrap: anywhere;
}
.ugpb-book .ugle-contents-arrow {
  color: #9a763d !important;
  -webkit-text-fill-color: #9a763d !important;
  font-size: 15px;
}
.ugpb-book .ugle-editorial-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #d9c7a7;
  color: #695f51 !important;
  letter-spacing: .065em;
}

/* Make all booklet section jump targets land below the sticky site header. */
.ugpb-book section[id^="ugle-"] { scroll-margin-top: 115px; }

/* Special manager overview checkpoint, no changes to existing forms. */
body.ugpb-manager-page .ugle-manager-readiness {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 17px;
  padding: 16px 18px;
  border: 1px solid #d3b57a;
  border-radius: 12px;
  background: linear-gradient(112deg,#fff9ed,#f4ebd9) !important;
  color: #223a52 !important;
}
body.ugpb-manager-page .ugle-manager-readiness span {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: .13em;
  font-weight: 900;
  color: #9a6c25 !important;
}
body.ugpb-manager-page .ugle-manager-readiness h2 {
  margin: 0 0 5px !important;
  color: #223c56 !important;
  font-family: Georgia,serif;
  font-size: clamp(18px,2vw,23px) !important;
  line-height: 1.2 !important;
}
body.ugpb-manager-page .ugle-manager-readiness p {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  color: #6e4425 !important;
}
body.ugpb-manager-page .ugle-manager-readiness small {
  display: block;
  color: #50677a !important;
  font-size: 11px;
  line-height: 1.45;
}
body.ugpb-manager-page .ugle-manager-readiness > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #b9924f;
  border-radius: 8px;
  background: #183851 !important;
  color: #fff5dc !important;
  -webkit-text-fill-color: #fff5dc !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 850;
}
body.ugpb-manager-page .ugle-manager-readiness > a:hover {
  background: #27536f !important;
}
@media (max-width: 720px) {
  body.ugpb-program-page .ugle-proof-banner { padding: 14px 15px; margin-top: 9px; }
  body.ugpb-program-page a.ugle-proof-edit { width: 100%; }
  .ugpb-book section.ugpb-editorial-contents {
    min-height: auto;
    padding: 29px 23px;
  }
  .ugpb-book .ugle-editorial-intro { margin: 20px 0 18px; }
  .ugpb-book .ugle-contents-list { grid-template-columns: 1fr; }
  .ugpb-book .ugle-contents-item { min-height: 57px; }
  .ugpb-book .ugle-editorial-bottom { margin-top: 25px; }
  body.ugpb-manager-page .ugle-manager-readiness > a { width: 100%; }
}
@media print {
  body.ugpb-program-page .ugle-proof-banner,
  body.ugpb-manager-page .ugle-manager-readiness { display: none !important; }
  @page { size: 5.5in 8.5in; margin: 0; }
  .ugpb-book section.ugpb-editorial-contents {
    width: 5.5in !important;
    height: 8.5in !important;
    min-height: 8.5in !important;
    max-height: 8.5in !important;
    margin: 0 !important;
    padding: .47in .44in .48in !important;
    border-top: 5pt solid #b89357 !important;
    border-bottom: 5pt solid #b89357 !important;
    overflow: hidden !important;
    break-before: page !important;
    break-after: page !important;
    page-break-before: always !important;
    page-break-after: always !important;
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
  .ugpb-book .ugpb-editorial-contents:before { inset: .17in; }
  .ugpb-book .ugle-editorial-intro {
    margin: .11in 0 .14in !important;
  }
  .ugpb-book .ugle-editorial-kicker {
    font-size: 7.4pt !important;
    line-height: 1.35 !important;
    margin-bottom: 4pt !important;
    letter-spacing: .12em !important;
  }
  .ugpb-book .ugle-editorial-intro > h2 {
    font-size: 30pt !important;
    line-height: 1 !important;
    margin: 2pt 0 7pt !important;
  }
  .ugpb-book .ugle-editorial-intro > p:last-child {
    font-size: 8.2pt !important;
    line-height: 1.35 !important;
  }
  .ugpb-book .ugle-editorial-top,
  .ugpb-book .ugle-editorial-bottom { font-size: 7pt !important; }
  .ugpb-book .ugle-contents-list {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 0 .16in !important;
  }
  .ugpb-book .ugle-contents-item {
    min-height: .50in !important;
    max-height: .57in !important;
    padding: .06in 0 !important;
    gap: .055in !important;
    grid-template-columns: .20in minmax(0,1fr) .11in !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .ugpb-book .ugle-contents-number { font-size: 8pt !important; }
  .ugpb-book .ugle-contents-copy strong {
    font-size: 8.4pt !important;
    line-height: 1.16 !important;
    margin: 0 0 1pt !important;
  }
  .ugpb-book .ugle-contents-copy small {
    font-size: 6.9pt !important;
    line-height: 1.2 !important;
  }
  .ugpb-book .ugle-contents-arrow { font-size: 8pt !important; }
  .ugpb-book .ugle-editorial-bottom {
    margin-top: .10in !important;
    padding-top: .09in !important;
    gap: .07in !important;
    font-size: 6.8pt !important;
  }
}
