/* Micro Festival : photographie sans superposition, composition en deux colonnes. */
html:has(.mf27-body) { margin-top: 0 !important; }
body.mf27-body { margin: 0; padding: 0; background: #fff; color: #1a1a1a; }
.mf27, .mf27-preview { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4; letter-spacing: normal; text-align: left; }
.mf27 *, .mf27 *::before, .mf27 *::after, .mf27-preview, .mf27-preview * { box-sizing: border-box; }
.mf27 h1, .mf27 h2, .mf27 p { margin: 0; padding: 0; }
.mf27 a { color: inherit; }
.mf27 svg { display: block; max-width: none; }
.mf27-preview { min-height: 34px; background: #1a1a1a; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 8px 24px; font-size: 11px; line-height: 1.5; }
.mf27-poster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr); align-items: stretch; min-height: 100svh; }
.mf27-preview ~ .mf27 .mf27-poster { min-height: calc(100svh - 34px); }
.mf27-scene { position: sticky; top: 0; height: 100svh; min-height: 620px; background: #20100d; overflow: hidden; }
.mf27-photo { width: 100%; height: 100%; }
.mf27-info { display: flex; flex-direction: column; background: #fff; min-width: 0; }
.mf27-info-inner { width: 100%; max-width: 800px; margin: 0 auto; flex: 1; padding: clamp(32px, 3.5vw, 64px); display: flex; flex-direction: column; gap: 52px; }
.mf27-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.mf27 .mf27-logo { width: 52%; max-width: 270px; flex-shrink: 0; font-size: inherit; line-height: 1; }
.mf27-logo svg { width: 100%; height: auto; aspect-ratio: 738 / 585; }
.mf27-date { display: flex; flex-direction: column; font-weight: 900; letter-spacing: -.055em; line-height: .94; }
.mf27-days { font-size: clamp(42px, 4.2vw, 68px); white-space: nowrap; }
.mf27-month { margin-top: 7px; font-size: clamp(32px, 3.3vw, 54px); }
.mf27-booking { min-width: 0; width: 100%; }
.mf27-booking-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; padding-top: 26px; border-top: 2px solid #1a1a1a; margin-bottom: 22px; }
.mf27 .mf27-booking-heading h2 { font: 900 clamp(25px, 2.4vw, 36px)/1 Arial, Helvetica, sans-serif; letter-spacing: -.045em; }
.mf27 .mf27-booking-heading p { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.mf27-booking pretix-widget { display: block; min-height: 110px; }
.mf27-booking .pretix-widget { font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5; color: #1a1a1a; }
.mf27-booking .pretix-widget button, .mf27-booking .pretix-widget input, .mf27-booking .pretix-widget select { font-family: inherit; border-radius: 0; box-shadow: none; }
.mf27-booking .pretix-widget button { font-weight: 700; }
.mf27-booking .pretix-widget { border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; background: transparent; }
.mf27-booking .pretix-widget-category-name { margin: 0 0 20px; padding: 0; font: 400 12px/1.5 Arial, Helvetica, sans-serif; color: #555; }
.mf27-booking .pretix-widget-item { padding: 0 0 22px; margin: 0; }
.mf27-booking .pretix-widget-main-item-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 16px; }
.mf27-booking .pretix-widget-main-item-row > .pretix-widget-item-info-col { grid-column: 1 / -1; float: none; width: auto; padding: 0; }
.mf27-booking .pretix-widget-main-item-row > .pretix-widget-item-price-col,
.mf27-booking .pretix-widget-main-item-row > .pretix-widget-item-availability-col { float: none; width: auto; min-width: 0; padding: 0; }
.mf27-booking .pretix-widget-item-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.mf27-booking .pretix-widget-item-description { padding-top: 8px; font-size: 13px; line-height: 1.6; color: #555; }
.mf27-booking .pretix-widget-pricebox { text-align: left; }
.mf27-booking .pretix-widget-pricebox-currency { font-size: 12px; }
.mf27-booking .pretix-widget-pricebox-price-input { width: 90px; max-width: calc(100% - 34px); min-height: 44px; padding: 5px 8px; border: 1px solid #777; background: #fff; color: #1a1a1a; font-size: 20px; font-weight: 700; }
.mf27-booking .pretix-widget-pricebox-tax { display: block; margin-top: 6px; color: #555; font-size: 11px; text-align: left; }
.mf27-booking .pretix-widget-item-count-group { display: flex; width: 144px; max-width: 100%; margin-left: auto; }
.mf27-booking .pretix-widget-item-count-group button { width: 42px; min-width: 42px; min-height: 44px; padding: 8px; border-color: #777; background: #fff; color: #1a1a1a; flex: 0 0 42px; }
.mf27-booking .pretix-widget-item-count-group input { width: 60px; min-width: 0; min-height: 44px; border-color: #777; background: #fff; color: #1a1a1a; font-size: 16px; flex: 1 1 auto; }
.mf27-booking .pretix-widget-action { margin-top: 4px; padding-top: 0; }
.mf27-booking .pretix-widget-action button { min-height: 52px; padding: 15px 24px; border: 1px solid #1a1a1a; border-radius: 0; background: #1a1a1a; color: #fff; font-size: 15px; font-weight: 700; box-shadow: none; }
.mf27-booking .pretix-widget-action button:hover { background: #fff18b; border-color: #1a1a1a; color: #1a1a1a; }
.mf27-booking .pretix-widget-attribution { margin-top: 14px; font-size: 10px; line-height: 1.5; color: #666; }
.mf27 .mf27-booking-fallback { margin-top: 24px; font-size: 12px; line-height: 1.5; color: #555; }
.mf27-booking-fallback a { text-underline-offset: 3px; }
.mf27 .mf27-button { display: block; width: 100%; padding: 18px 20px; border: 1px solid #1a1a1a; border-radius: 0; background: #1a1a1a; color: #fff; text-align: center; font-size: 15px; font-weight: 700; text-decoration: none; }
.mf27 a:focus-visible, .mf27 button:focus-visible, .mf27 select:focus-visible, .mf27 input:focus-visible, .mf27-skip:focus-visible { outline: 3px solid #990c40; outline-offset: 3px; }
.mf27-ticket-unconfigured { font-size: 14px; }
.mf27 .mf27-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding-top: 18px; border-top: 1px solid #dedede; margin-top: auto; background: transparent; color: #555; font-size: 11px; line-height: 1.5; }
.mf27-footer > span { color: #1a1a1a; font-weight: 700; }
.mf27-colors { height: 10px; display: grid; grid-template-columns: repeat(4, 1fr); flex-shrink: 0; }
.mf27-colors > span:nth-child(1) { background: #fff18b; }
.mf27-colors > span:nth-child(2) { background: #f2a2ce; }
.mf27-colors > span:nth-child(3) { background: #ff0030; }
.mf27-colors > span:nth-child(4) { background: #850e3c; }
.mf27-sr, .mf27-skip { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mf27-skip:focus { position: fixed; z-index: 50; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 14px; background: #fff; color: #111; }
@media (max-width: 900px) {
    .mf27-poster, .mf27-preview ~ .mf27 .mf27-poster { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .mf27-info { grid-row: 1; }
    .mf27-info-inner { max-width: 680px; padding: 32px 28px; gap: 36px; }
    .mf27 .mf27-logo { max-width: 240px; }
    .mf27-header { gap: 22px; }
    .mf27-days { font-size: clamp(38px, 8.7vw, 64px); }
    .mf27-month { font-size: clamp(30px, 7vw, 50px); }
    .mf27-booking-heading { padding-top: 23px; margin-bottom: 18px; }
    .mf27 .mf27-booking-heading h2 { font-size: 27px; }
    .mf27-scene { position: relative; min-height: 0; height: auto; aspect-ratio: 1520 / 1005; }
    .mf27-preview { flex-wrap: wrap; gap: 1px 20px; padding: 8px 16px; font-size: 10px; }
}
@media (max-width: 360px) {
    .mf27-info-inner { padding: 27px 20px; }
    .mf27 .mf27-booking-heading h2 { font-size: 25px; }
    .mf27 .mf27-booking-heading p { font-size: 10px; }
}
