/* FAN responsive pass (12 Oct 2026, decisions applied 13 Oct 2026).
   One file, mostly media-query rules. Everything here is a reusable fix, not a one-off patch:
   inputs, tap targets, the booking widget's overflow, the mobile menu lock, the phone caption floor, one-link news cards.
   Page layouts (columns, heading sizes, body size on phones) are Elementor's own Tablet / Mobile controls, not this file. */

/* ---- 1. Form controls are 16px on phones, so iOS does not zoom the page when a field gets focus ---- */
@media (max-width: 767px) {
	input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=range]),
	select, textarea,
	.elementor-field-textual, .fan-search, .fan-select, .fb-input,
	.fan-form .elementor-field-textual, .fan-form select.elementor-field, .fan-form textarea.elementor-field {
		font-size: 16px !important;
	}
}

/* ---- 1b. Body copy that Elementor's typography controls cannot reach (html widgets, plugin cards) is 16px on phones ---- */
@media (max-width: 767px) {
	.elementor-widget-html p, .elementor-widget-html li, .elementor-widget-html .rc-body, .elementor-widget-html span.b,
	.elementor-widget-html a[href^="mailto:"], .fan-hours__foot, .fan-partner__desc, .fan-partner__desc .elementor-widget-container { font-size: 16px !important; line-height: 1.55; }
	.elementor-widget-text-editor a[style*="font-size"] { font-size: 16px !important; }
}

/* ---- 1c. Captions keep their mono style; on phones nothing is smaller than 11px ----
   Elementor-typography captions get a Mobile size in the page data. This covers what that cannot reach: classes defined in the
   Kit CSS and the plugin, and inline-styled markup from html widgets and the map. */
@media (max-width: 767px) {
	.fan-ctrl-label, .fan-sort, .fan-md-count, .fan-ns-label, .fan-dir-hq, .fan-form-demo-note, .fan-desks__head .mute, .fan-desks__foot,
	.fan-cat__num, .fan-country, .fan-partner__cat, .fan-partner__country, .rc-tag, .form-section-title,
	.fb-step-n, .fb-sc-when, .fb-sc-status, .fb-sub, .fb-modetag, .fb-kicker, .fb-pay-hl, .fb-pay-hr, .fb-pay-l, .fb-pay-what,
	.fb-sum-l, .fb-sum-head, .fb-sum-tl, .fb-sum-toggle, .fb-tk-label, .fb-ref, .fb-scanned, .fb-chip,
	.fan-summary span, .fan-desks__head, .fan-desks__head span, .fan-partner__a, .fan-partner__a .elementor-heading-title, .fan-partner__a a, .fan-route .c, .fan-hours__row span:first-child,
	.fan-step > .elementor-widget:nth-child(4), .fb-root button.fb-seat,
	[style*="font-size:8px"], [style*="font-size: 8px"], [style*="font-size:8.5px"], [style*="font-size: 8.5px"],
	[style*="font-size:9px"], [style*="font-size: 9px"], [style*="font-size:9.5px"], [style*="font-size: 9.5px"],
	[style*="font-size:10px"], [style*="font-size: 10px"], [style*="font-size:10.5px"], [style*="font-size: 10.5px"] { font-size: 11px !important; }
	fan-africa-map svg text { font-size: 11px !important; }
}
/* Caption colours: the third grey (#6F6A62) is 3.7 to 3.9 : 1 on the near-black panels, under the 4.5 : 1 floor. The palette's
   second grey (#8A8377) is 5.3 to 5.6 : 1 on the same panels. Elementor widgets and the plugin files were changed at the source;
   these are the classes the Kit CSS colours. */
.fan-ctrl-label, .fan-sort, .fan-md-count, .fan-ns-label, .fan-dir-hq, .fan-form-demo-note, .fan-desks__head .mute, .fan-desks__foot, .fan-cat__num { color: #8A8377 !important; }
.fan-search::placeholder, .fan-form .elementor-field::placeholder { color: #8A8377 !important; }
/* Partner cards: the category and country lines were picking up the dark body colour (1.2 : 1 on black). */
.fan-partner__cat, .fan-partner__cat .elementor-widget-container { color: #F1C24B !important; }
.fan-partner__country, .fan-partner__country .elementor-widget-container { color: #8A8377 !important; }

/* ---- 2. Tap targets: at least 44px on touch widths ---- */
@media (max-width: 1024px) {
	.elementor-widget-button .elementor-button { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
	summary { min-height: 44px; box-sizing: border-box; }
	.elementor-menu-toggle { min-width: 44px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
	.elementor-widget-button .elementor-button { min-width: 44px; }
	/* filter chips, clear / load-more buttons */
	.fan-pill, .fan-clear, .fan-loadmore button, .fan-loadmore, .e-filter-item, .fan-details-toggle { min-height: 44px; box-sizing: border-box; }
	/* a stand-alone text link in a text widget (breadcrumb, "Explore all films →", e-mail line): a bigger hit area, same layout */
	.elementor-widget-text-editor .elementor-widget-container > a { display: inline-block; padding: 20px 8px; margin: -20px -8px; }
	.elementor-heading-title a, .fan-ask-link { display: inline-flex; align-items: center; padding: 14px 0; margin: -14px 0; min-height: 44px; box-sizing: border-box; }
	/* links inside html widgets (brand, country chips) and the map's side panel */
	.fan-brand-compact a, #country-map-sidebar a, #fan-map-chips a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
	.elementor-widget-html a[href^="mailto:"], .elementor-widget-html a[href^="tel:"] { display: inline-block; padding: 14px 0; margin: -14px 0; }
	/* footer link lists */
	.elementor-location-footer .elementor-nav-menu a { padding-top: 11px; padding-bottom: 11px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; }
}

@media (max-width: 1024px) {
	#fan-map-chips a { min-height: 44px !important; box-sizing: border-box; }
}

/* Hamburger header (below 1180px): the menu icon's right edge lines up with the logo's left edge (both 24px from the screen edge).
   The 44px tap box stays; only the empty space inside it moves out into the header's padding. */
@media (max-width: 1179px) {
	.fan-header .elementor-menu-toggle { margin-right: -11px; }
}

/* ---- 3. The booking widget: nothing may force the page wider than the screen ---- */
.fb-root .fb-sub, .fb-root .fb-sc-when, .fb-root .fb-sc-venue, .fb-root .fb-sc-film { white-space: normal; overflow-wrap: anywhere; }
.fb-root, .fb-panel, .fb-grid { min-width: 0; max-width: 100%; }
@media (max-width: 1024px) {
	.fb-chip { min-width: 44px; min-height: 44px; }
	.fb-link { display: inline-flex; align-items: center; min-height: 44px; }
	.fb-consent input[type=checkbox], .elementor-field-type-acceptance input[type=checkbox] { width: 24px; height: 24px; }
}

/* ---- 4. Mobile menu open: the page behind it does not scroll (see fan-nav.js) ---- */
html.fan-nav-open, html.fan-nav-open body { overflow: hidden; }
html.fan-nav-open .elementor-nav-menu--dropdown { max-height: calc(100vh - 66px); overflow-y: auto; overscroll-behavior: contain; }

/* ---- 5. Long words, addresses and links never push a box wider than the screen ---- */
.elementor-heading-title { overflow-wrap: break-word; hyphens: manual; }
.elementor-widget-text-editor .elementor-widget-container, .elementor-widget-html p, .elementor-widget-html li { overflow-wrap: anywhere; }

/* ---- 6. News cards, the lead story and the "Earlier" rows: one link per card, the article title ----
   The title is the only <a> that is the card. Its ::after stretches over the whole card, so a tap anywhere opens the article, and
   the article title is the link's name. The category link inside the card sits above the stretch and keeps working. Before this the
   whole card was an <a> with the category <a> inside it; browsers split such markup into empty link fragments. */
.fan-news-card, .fan-news-row { position: relative; }
.fan-news-card .elementor-heading-title a, .fan-news-row .elementor-heading-title a {
	display: inline; padding: 0; margin: 0; min-height: 0; color: inherit; text-decoration: none; outline: 0;
}
.fan-news-card .elementor-heading-title a::after, .fan-news-row .elementor-heading-title a::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
}
/* every box between the title and the card must not be positioned, or the stretch would stop at that box */
.fan-news-card .e-con:has(.elementor-heading-title a), .fan-news-row .e-con:has(.elementor-heading-title a),
.fan-news-card .elementor-widget:has(.elementor-heading-title a), .fan-news-row .elementor-widget:has(.elementor-heading-title a) { position: static !important; }
.fan-news-card .elementor-element-nwcreadlnk { white-space: nowrap; flex: 0 0 auto; }
.fan-news-card:has(.elementor-heading-title a:focus-visible), .fan-news-row:has(.elementor-heading-title a:focus-visible) { outline: 2px solid #F1C24B; outline-offset: 2px; }
.fan-news-card .elementor-widget-text-editor a, .fan-news-row .fan-row-meta a { position: relative; z-index: 2; }
@media (max-width: 1024px) {
	.fan-news-card .elementor-widget-text-editor .elementor-widget-container > a, .fan-news-row .fan-row-meta .elementor-widget-container > a { padding: 14px 6px; margin: -14px -6px; }
}
/* the "Earlier" rows were styled in the Kit CSS as a.fan-news-row; the row is a div now, same look */
.elementor-3488 .fan-news-row.fan-news-row {
	display: grid !important;
	grid-template-columns: 180px minmax(0, 1fr) auto;
	gap: clamp(10px, 1.4vw, 20px);
	align-items: baseline;
	padding: clamp(14px, 1.6vw, 18px) 0;
	border-bottom: 1px solid #1A1A1A;
	color: #F5F3EF;
	text-decoration: none;
	transition: color 160ms ease;
}
.elementor-3488 .fan-news-row .elementor-widget-heading .elementor-heading-title { min-width: 0; overflow-wrap: break-word; }
.elementor-3488 .fan-news-row .fan-row-meta.fan-row-meta { justify-self: end; flex-wrap: nowrap !important; white-space: nowrap; }
.elementor-3488 .fan-news-row .fan-row-meta a { color: inherit; text-decoration: none; }
.elementor-3488 .fan-news-row .fan-row-date { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em; color: #8A8377 !important; }
.elementor-3488 .fan-news-row .fan-row-title { font-family: "IBM Plex Sans", sans-serif; font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.elementor-3488 .fan-news-row .fan-row-meta, .elementor-3488 .fan-news-row .fan-row-meta * { color: #8A8377; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; }
.elementor-3488 .fan-news-row .fan-row-meta .fan-row-arrow, .elementor-3488 .fan-news-row .fan-row-meta .fan-row-arrow * { color: #F1C24B !important; }
.elementor-3488 .fan-news-row .fan-row-arrow { display: inline-block; transition: transform 0.2s; }
.elementor-3488 .fan-news-row:hover .fan-row-arrow { transform: translateX(3px); }
@media (max-width: 767px) {
	.elementor-3488 .fan-news-row.fan-news-row { grid-template-columns: 1fr; gap: 4px; }
	.elementor-3488 .fan-news-row .fan-row-meta.fan-row-meta { justify-self: start; white-space: normal; }
	.elementor-3488 .fan-news-row .fan-row-date, .elementor-3488 .fan-news-row .fan-row-meta, .elementor-3488 .fan-news-row .fan-row-meta * { font-size: 11px; }
}

/* ---- 7. Home map: the map, its panel and the country chips work at every width; on phones and tablets the country list under the map is a second way in ---- */

/* ---- 8. Text that had no colour of its own fell back to the dark Kit "Text" colour (#1A1A1A on near-black, about 1.2 : 1) ---- */
.fan-partner__desc, .fan-partner__desc .elementor-widget-container { color: #CFC9C0 !important; }
.fan-partner__ph, .fan-partner__ph .elementor-widget-container { color: #8A8377 !important; }
/* ---- 9. Short caption labels in a label | value row (country cards: "Cities", "Tickets") keep their word whole once the 11px floor applies ---- */
@media (max-width: 767px) {
	.elementor-element-91146fd, .elementor-element-7c80aa7 { white-space: nowrap; flex: 0 0 auto; }
}
/* Tickets: the ticket-policy link inside the grey note is told apart by more than colour (axe link-in-text-block) */
.elementor-element-5a10024 a { text-decoration: underline; text-underline-offset: 2px; }
/* Accordion heading buttons (Submit FAQ): a real button inside the heading, reset so it looks like the old heading text.
   The icon sits at the start edge (absolute) and the text keeps the room it had beside the old floated icon, so wrapping and heights are unchanged. */
.elementor-accordion .elementor-tab-title .fan-acc-btn {
	-webkit-appearance: none; appearance: none; position: relative; display: block; width: 100%; margin: 0 !important;
	padding: 0 !important; padding-inline-start: 1.5em !important; border: 0 !important; border-radius: 0; box-shadow: none;
	font: inherit !important; letter-spacing: inherit; text-transform: inherit; text-align: inherit; line-height: inherit;
	white-space: normal; cursor: pointer;
}
.elementor-accordion .elementor-tab-title .fan-acc-btn,
.elementor-accordion .elementor-tab-title .fan-acc-btn:hover,
.elementor-accordion .elementor-tab-title .fan-acc-btn:focus { background: none !important; color: inherit !important; }
.elementor-accordion .elementor-tab-title .fan-acc-btn .elementor-accordion-icon { position: absolute; inset-inline-start: 0; top: 0; float: none; }
.elementor-accordion .elementor-tab-title .fan-acc-btn:focus-visible { outline: 2px solid #F1C24B; outline-offset: 4px; }
@media (max-width: 767px) { .elementor-accordion .elementor-tab-title .fan-acc-btn { padding-inline-start: 1.2em !important; } } /* Elementor narrows the icon to 1.2em here */
/* Page not found: the headline starts below the (overlaid) header and keeps a side margin on phones */
body.error404 .site-main { padding: 150px 24px 96px; }

/* Back to top link in the footer's bottom bar: the footer link look, at least 44px tall; right-aligned on desktop, centred on phones (set on the text widget) */
.fan-backtop { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #CFC9C0; text-decoration: none; font-weight: 600; }
.fan-backtop:hover, .fan-backtop:focus-visible { color: #F1C24B; }
.fan-backtop:focus-visible { outline: 2px solid #F1C24B; outline-offset: 2px; }
header[tabindex="-1"]:focus, .elementor-location-header[tabindex="-1"]:focus { outline: none; }

/* News article: on a computer the overlaid header sat on the article's label and title; start the article header below it */
@media (min-width: 768px) { .single-post .elementor-element-4bbced3 { padding-top: 140px !important; } }
