/* Full portrait: no image crop. Live HTML text remains selectable and accessible. */
.rr-holiday {
  --rr-cream: #fff5df;
  --rr-gold: #e9c88a;
  position: fixed; inset: 0; margin: auto; padding: 0;
  width: min(520px, calc(100vw - 24px)); max-width: none;
  max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
  border: 1px solid rgba(233,200,138,.65); border-radius: 10px;
  background: #241e19; color: var(--rr-cream);
  box-shadow: 0 24px 100px rgba(20,17,14,.4);
  font-family: var(--serif, Georgia, serif); font-size: 14px; line-height: 1.45;
}
.rr-holiday:not([open]) { display: none; }
.rr-holiday::backdrop { background: rgba(34,27,23,.66); }
.rr-holiday *, .rr-holiday *::before, .rr-holiday *::after { box-sizing: border-box; }
.rr-holiday__layout { position: relative; display: grid; isolation: isolate; }
.rr-holiday__layout::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(255,245,223,.45); border-radius: 4px; pointer-events: none; z-index: 2; }
.rr-holiday__photo { grid-area: 1/1; display: block; width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; align-self: start; }
.rr-holiday__brand { grid-area: 1/1; align-self: start; justify-self: start; position: relative; margin: 22px 25px; font: 500 22px/1 var(--display, Georgia, serif); letter-spacing: .06em; color: #fff8e9; text-shadow: 0 1px 5px #211910, 0 0 15px #211910; }
.rr-holiday__body { grid-area: 1/1; position: relative; align-self: end; text-align: center; padding: 52px 30px 22px; background: linear-gradient(to bottom, transparent 0, rgba(25,23,18,.68) 68px, rgba(25,23,18,.93) 160px, rgba(25,23,18,.95) 100%); text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.rr-holiday__ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--rr-gold); font-size: 18px; line-height: 1; margin: 0 0 8px; }
.rr-holiday__ornament::before, .rr-holiday__ornament::after { content: ''; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--rr-gold)); }
.rr-holiday__ornament::after { transform: rotate(180deg); }
.rr-holiday__title { font-family: var(--serif, Georgia, serif); font-weight: 400; font-style: italic; color: var(--rr-cream); font-size: 38px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 17px; text-wrap: balance; }
.rr-holiday__dates { margin: 0 0 14px; }
.rr-holiday__dates dt { font: 500 9px/1.5 var(--grotesk, Arial, sans-serif); letter-spacing: .13em; text-transform: uppercase; color: var(--rr-gold); }
.rr-holiday__dates dd { color: var(--rr-cream); font-size: 16px; line-height: 1.45; margin: 3px 0 10px; }
.rr-holiday__dates dd:last-child { margin-bottom: 0; }
.rr-holiday__signature { font-size: 13px; font-style: italic; color: var(--rr-cream); margin: 0 0 13px; }
.rr-holiday__continue { display: block; width: min(210px, 100%); margin-inline: auto; border: 1px solid var(--rr-gold); border-radius: 3px; min-height: 44px; padding: 10px 16px; background: rgba(112,40,34,.82); color: #fff5df; font: 500 12px/1.4 var(--grotesk, Arial, sans-serif); cursor: pointer; }
.rr-holiday__continue:hover { background: #8b3933; }
.rr-holiday__close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,245,223,.8); border-radius: 50%; background: rgba(28,23,19,.78); color: #fff5df; font: 27px/1 Arial, sans-serif; cursor: pointer; z-index: 3; }
.rr-holiday button:focus-visible { outline: 3px solid #fff5df; outline-offset: 3px; }
.rr-holiday__preview { margin: 10px 0 0; font: 400 9px/1.4 var(--grotesk, Arial, sans-serif); color: #eddfc6; }
html.rr-holiday-open { overflow: hidden; }
@media (min-width: 601px) and (min-height: 600px) {
  .rr-holiday { width: min(520px, calc((100dvh - 28px) * .666667)); }
}
@media (max-width: 600px), (max-height: 820px) {
  .rr-holiday__body { padding: 38px 22px 18px; background: linear-gradient(to bottom, transparent 0, rgba(25,23,18,.68) 65px, rgba(25,23,18,.93) 140px, rgba(25,23,18,.96) 100%); }
  .rr-holiday__brand { margin: 22px; font-size: 19px; }
  .rr-holiday__title { font-size: 31px; margin-bottom: 12px; }
  .rr-holiday__ornament { font-size: 15px; margin-bottom: 7px; }
  .rr-holiday__dates { margin-bottom: 10px; }
  .rr-holiday__dates dd { font-size: 14px; margin-bottom: 8px; }
  .rr-holiday__signature { font-size: 12px; margin-bottom: 10px; }
}
@media (max-width: 350px) {
  .rr-holiday__body { padding-inline: 16px; }
  .rr-holiday__title { font-size: 27px; }
  .rr-holiday__dates dd { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rr-holiday[open] { animation: rr-holiday-appear 180ms ease-out; }
  @keyframes rr-holiday-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
