/* Festival variant of the approved Sichuan page standard.
   Retains the original calendar, routes, photo focus and enquiry integration. */
.cham-standard .p-daychips { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cham-standard .p-festival-calendar { margin-top: 36px; padding-top: 32px; }
.cham-standard .p-festival-calendar h3 { font-size: 27px; line-height: 1.24; }
.cham-standard .p-festival-calendar > p:not(.p-kicker),
.cham-standard .p-festival-notes p:not(.p-kicker) { font-size: 16px; line-height: 1.75; }
.cham-standard .p-festival-calendar > .p-small { font-size: 14px !important; line-height: 1.7; }
.cham-standard .p-festival-buttons { gap: 14px; margin-block: 24px; }
.cham-standard .festival-day { min-width: 0; padding: 18px 16px; }
.cham-standard .festival-day .p-kicker { font-size: 12px; line-height: 1.55; }
.cham-standard .festival-day strong { font: 400 24px/1.25 Fraunces, Georgia, serif; margin: 10px 0 8px; }
.cham-standard .festival-day > span:last-child { font-size: 14px; line-height: 1.55; }
.cham-standard .p-festival-notes { gap: var(--route-gap); margin-top: 28px; padding-top: 24px; }
.cham-standard #picked-mode { font: 400 27px/1.25 Fraunces, Georgia, serif; letter-spacing: -.02em; }

@media (max-width: 760px) {
  .cham-standard .p-daychips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cham-standard .p-map-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; white-space: normal; }
  .cham-standard .p-map-tabs button { min-width: 0; overflow-wrap: anywhere; }
  .cham-standard .p-map-toolbar > span { flex: 1 1 100%; max-width: 100%; }
  .cham-standard .p-festival-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cham-standard .festival-day { padding: 16px 14px; }
  .cham-standard .p-festival-notes { grid-template-columns: 1fr; gap: 24px; }
  .cham-standard .p-festival-calendar h3 { font-size: 25px; }
}
