/* Crown Pavilions French site, October 2026 revisions (bin/apply-fr-revisions-2026-10.py).
   Loaded after crown-revisions.css on every French page. Only what differs from the English pages. */

/* 1. Product cards: France shows no monthly figure, so the price line keeps the CMS markup
      (bin/apply-prices.py relies on it) and takes the size of the English main price line. */
.product-card-tall.rv-card .font-montserrat.text-h5.font-semibold.text-forest { font: 700 1.5rem/1.1 var(--rv-mont); letter-spacing: -.01em; }

/* 1b. Card actions: "Prendre rendez-vous" is wider than "Visit showsite". On a four-column grid the link and
      the button no longer fit side by side, so the button takes a full row of its own; where they do fit, the
      button fills the space to the right of the link. Either way every card in a grid lays out the same. */
.product-card-tall.rv-card .rv-card-actions { flex-wrap: wrap; }
.product-card-tall.rv-card .rv-card-view { white-space: nowrap; }
.product-card-tall.rv-card .rv-card-visit { flex: 1 1 auto; justify-content: center; }
/* 19 Nov run 3: "Prendre rendez-vous" nowrap overflowed the card at 1024/1440 (page scrolled sideways); stack the pair, same in every card. */
@media (min-width: 640px) { .product-card-tall.rv-card .rv-card-actions { grid-template-columns: minmax(0, 1fr) !important; } }
.rv-card-actions > a { min-width: 0; }

/* 2. Mobile bar: "Prendre rendez-vous" is longer than "Book a visit". */
@media (max-width: 1023px) {
  .rv-mbar { grid-template-columns: auto 1fr 1.7fr; }
  .rv-mbar a { padding-left: 6px; padding-right: 6px; }
}

/* 3. Menu: the French range cards carry no monthly line, so the price sits on one line at the card foot. */
.rv-mm-pr:empty { padding-top: 0; }

/* 6. Phones: price tables never wrap a figure; padded include-lists use the card's width (19 Nov 2026) */
td.tabular-nums, th.tabular-nums { white-space: nowrap; }
@media (max-width: 479px) {
  td.tabular-nums { font-size: .8125rem; letter-spacing: 0; }
  main div.reveal.border-gold > div.p-6 { padding: 1rem !important; }
}

/* 7. Sweep fixes (19 Nov 2026): no mid-word breaks in 2-up show-site cards, finance and price tables; footer email on one line; odd last tile spans the row on phones */
@media (max-width: 479px) {
  main .grid.sm\:grid-cols-2 > a.group > div.p-6 { padding: .75rem !important; }
  main .grid.sm\:grid-cols-2 > a.group > div.p-6 h3 { font-size: 1.05rem; line-height: 1.25; overflow-wrap: normal; }
  main .grid.sm\:grid-cols-2 > a.group > div.p-6 p { overflow-wrap: anywhere; }
  main td.px-6 { padding-left: .75rem; padding-right: .75rem; }
  main td.px-6.text-right { font-size: .875rem; }
  main .grid.grid-cols-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
