/*
  Broadsheet (working name): the refinements that go beyond tokens.

  Black on white, a slab serif with real weight, a plain grotesque, hairline
  rules and square corners all come from styles/broadsheet.json. This file is
  the typesetting, scoped to the style so the others are untouched.

  The idea: the page is ink and paper, and all the colour comes from the
  stills. So there are no boxes, pills or panels here. A caption is a rule, a
  name and one plain line; a session has one action, and everything else is
  text.
*/

.ff-style-broadsheet { font-synthesis: none; }
.ff-style-broadsheet h1,
.ff-style-broadsheet h2,
.ff-style-broadsheet h3 { font-weight: 400; }

/* Small capitals used for labels. 12px is the floor. */
.ff-style-broadsheet .fc-eyebrow,
.ff-style-broadsheet .ff-masthead .wp-block-navigation,
.ff-style-broadsheet .fc-section-head a,
.ff-style-broadsheet .fc-btn,
.ff-style-broadsheet .fc-tag,
.ff-style-broadsheet .fc-badge,
.ff-style-broadsheet .fc-facts dt,
.ff-style-broadsheet .fc-poster__type,
.ff-style-broadsheet .fc-slideshow__label {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

/* Masthead: a heavy wordmark, small capitals for the menu */
.ff-style-broadsheet .ff-masthead { padding-block: 0.875rem !important; }
.ff-style-broadsheet .ff-masthead .wp-block-site-title { font-weight: 900; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1; }
.ff-style-broadsheet .ff-masthead .wp-block-navigation a { color: var(--wp--preset--color--ink); }
.ff-style-broadsheet .ff-masthead .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.ff-style-broadsheet .ff-masthead .fc-my-link { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 0.3em; }

/* Buttons: one solid action, everything else is a link */
.ff-style-broadsheet .fc-btn { padding: 0.85em 1.4em; }
.ff-style-broadsheet .fc-btn--solid:hover { opacity: 1; background: var(--wp--preset--color--feature); border-color: var(--wp--preset--color--feature); color: #000; }
.ff-style-broadsheet .fc-btn--off { border: 0; padding-inline: 0; color: var(--fc-ink-3); background: none; }
.ff-style-broadsheet .fc-save { border: 0; background: none; padding: 0; font-size: 0.8125rem; color: var(--wp--preset--color--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.ff-style-broadsheet .fc-save:hover { color: var(--wp--preset--color--ink); text-decoration-color: var(--wp--preset--color--feature); text-decoration-thickness: 2px; }
.ff-style-broadsheet .fc-save.is-saved { background: none; color: var(--wp--preset--color--ink); font-weight: 600; text-decoration-color: var(--wp--preset--color--feature); text-decoration-thickness: 2px; }
.ff-style-broadsheet .fc-tags { gap: 0.25rem 1.1rem; }
.ff-style-broadsheet .fc-tag { border: 0; padding: 0; background: none; color: var(--fc-ink-3); font-weight: 400; }
.ff-style-broadsheet .fc-badge { color: var(--wp--preset--color--ink); }

/* Section headings: plain capitals over a black rule, as in a contents page */
.ff-style-broadsheet .fc-heading { font-family: var(--wp--preset--font-family--ui); font-size: 1.125rem; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; margin-top: var(--wp--preset--spacing--80); margin-bottom: var(--wp--preset--spacing--40); }
.ff-style-broadsheet .fc-section-head { align-items: baseline; justify-content: flex-start; gap: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--ink); margin-bottom: 0; }
.ff-style-broadsheet .fc-section-head .fc-heading { margin-bottom: var(--wp--preset--spacing--30); }
.ff-style-broadsheet .fc-section-head a { text-decoration: underline; text-underline-offset: 0.3em; }
.ff-style-broadsheet .fc-section-head + .fc-sessions { border-top: 0; }
.ff-style-broadsheet .fc-pagehead { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50); }
.ff-style-broadsheet .fc-pagehead__title,
.ff-style-broadsheet .ff-pagetitle { font-weight: 400; font-size: clamp(3rem, 6.5vw, 6rem); line-height: 0.96; letter-spacing: -0.03em; }

/* Home: the name set heavy and very large, a statement beneath, one still.
   The heavy weight is kept for the festival's name alone: here, in the
   masthead and in the footer. Every other heading is the regular weight. */
.ff-style-broadsheet .ff-hero { padding-top: var(--wp--preset--spacing--50); }
.ff-style-broadsheet .ff-hero .fc-eyebrow { color: var(--wp--preset--color--ink); }
.ff-style-broadsheet .ff-hero .fc-intro__name { font-weight: 900; font-size: clamp(3.25rem, 6.3vw, 6.75rem); line-height: 0.86; letter-spacing: -0.045em; margin-top: var(--wp--preset--spacing--30); }
.ff-style-broadsheet .ff-hero .fc-intro__name em { display: block; font-style: normal; font-weight: 400; font-size: 0.42em; line-height: 1.05; letter-spacing: -0.02em; margin-top: 0.35em; }
.ff-style-broadsheet .ff-hero .fc-intro__tagline { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.5rem, 2.2vw, 2.125rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--wp--preset--color--ink); text-indent: 2.5em; max-width: 22ch; margin-top: var(--wp--preset--spacing--50); }
.ff-style-broadsheet .fc-slideshow__frame { border-radius: 0; box-shadow: none; background: var(--wp--preset--color--paper-2); }
.ff-style-broadsheet .fc-slideshow__foot { border-top: 1px solid var(--wp--preset--color--ink); margin-top: 0.875rem; padding-top: 0.75rem; }
.ff-style-broadsheet .fc-slideshow__label { background: none; color: var(--wp--preset--color--ink); padding: 0; }
.ff-style-broadsheet .fc-slideshow__title { font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.015em; }
.ff-style-broadsheet .fc-slideshow__stand-in { font-size: 2rem; }
.ff-style-broadsheet .fc-slideshow__btn { border: 0; background: none; }
.ff-style-broadsheet .fc-slideshow__btn:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }

/* Sessions: a dated list, like a news column */
.ff-style-broadsheet .fc-session { grid-template-columns: 8.5rem 1fr auto; padding-block: var(--wp--preset--spacing--40); align-items: start; }
.ff-style-broadsheet .fc-session__when { font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; }
.ff-style-broadsheet .fc-session__when b { font-weight: 500; }
.ff-style-broadsheet .fc-session__time { font-weight: 400; color: var(--fc-ink-2); }
.ff-style-broadsheet b.fc-session__time { font-size: 1rem; color: var(--wp--preset--color--ink); }
.ff-style-broadsheet .fc-session__film { font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.015em; }
.ff-style-broadsheet .fc-session__film a,
.ff-style-broadsheet .fc-session__venue a { text-decoration: none; }
.ff-style-broadsheet .fc-session__film a:hover,
.ff-style-broadsheet .fc-session__venue a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ff-style-broadsheet .fc-session__book { display: flex; flex-direction: row-reverse; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0.5rem 1.25rem; }
.ff-style-broadsheet .fc-session__book .fc-btn--solid { min-width: 6rem; text-align: center; }
@media (max-width: 40rem) {
	.ff-style-broadsheet .fc-session { grid-template-columns: 1fr; gap: 0.5rem; }
	.ff-style-broadsheet .fc-session__book { flex-direction: row; justify-content: flex-start; margin-top: 0.5rem; }
}

/* Schedule */
.ff-style-broadsheet .fc-daybar { gap: 0; border: 0; border-bottom: 1px solid var(--wp--preset--color--ink); padding: 0; }
.ff-style-broadsheet .fc-daybar a { border: 0; border-radius: 0; min-width: 4.5rem; padding: 0.75rem 0.75rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.ff-style-broadsheet .fc-daybar a span { font-weight: 400; letter-spacing: 0.04em; }
.ff-style-broadsheet .fc-daybar a[aria-current] { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }
.ff-style-broadsheet .fc-daybar a[aria-current] span { color: inherit; }
.ff-style-broadsheet .fc-viewswitch a { border: 0; padding: 0; margin-left: 1.25rem; font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; background: none; color: var(--fc-ink-3); }
.ff-style-broadsheet .fc-viewswitch a[aria-current="true"] { color: var(--wp--preset--color--ink); text-decoration: underline; text-underline-offset: 0.3em; background: none; }
.ff-style-broadsheet .fc-venuegroup { margin-top: var(--wp--preset--spacing--70); }
.ff-style-broadsheet .fc-venuegroup h3,
.ff-style-broadsheet .fc-daygroup h3 { font-size: 2rem; letter-spacing: -0.02em; margin-bottom: var(--wp--preset--spacing--20); }

/* Films: a still, a rule, a name, one line */
.ff-style-broadsheet .fc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40); }
.ff-style-broadsheet .fc-poster { border: 0; border-radius: 0; }
.ff-style-broadsheet .fc-poster--blank { background: var(--wp--preset--color--paper-2); }
.ff-style-broadsheet .fc-poster--blank .fc-poster__title { font-size: 1.75rem; letter-spacing: -0.02em; }
.ff-style-broadsheet .fc-card__body { border-top: 1px solid var(--wp--preset--color--ink); margin-top: 0.875rem; padding-top: 0.625rem; }
.ff-style-broadsheet .fc-card:hover .fc-card__body { border-top-color: var(--wp--preset--color--feature); box-shadow: 0 -1px 0 var(--wp--preset--color--feature); }
.ff-style-broadsheet .fc-card__title { font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.015em; }
.ff-style-broadsheet .fc-card__title a { text-decoration: none; }
.ff-style-broadsheet .fc-filters { background: none; border: 0; border-block: 1px solid var(--wp--preset--color--ink); border-radius: 0; padding: var(--wp--preset--spacing--40) 0; }
.ff-style-broadsheet .fc-filters select { border: 0; border-bottom: 1px solid var(--wp--preset--color--ink); border-radius: 0; background-color: transparent; padding-left: 0; }
.ff-style-broadsheet .fc-chip { border-radius: 0; }

/* Film page: facts and quotes as ruled text, never boxes */
.ff-style-broadsheet .fc-title { font-weight: 400; font-size: clamp(2.75rem, 5.4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.03em; }
.ff-style-broadsheet .fc-byline__orig { font-style: italic; font-size: 1.5rem; color: var(--fc-ink-2); }
.ff-style-broadsheet .fc-byline__dir a { text-decoration: none; }
.ff-style-broadsheet .fc-content > p { font-size: var(--wp--preset--font-size--md); line-height: 1.6; color: var(--wp--preset--color--ink); }
.ff-style-broadsheet .fc-quote { background: none; border: 0; border-top: 1px solid var(--wp--preset--color--ink); border-radius: 0; padding: var(--wp--preset--spacing--40) 0 0; margin-top: var(--wp--preset--spacing--60); }
.ff-style-broadsheet .fc-quote p { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; text-indent: 2em; }
.ff-style-broadsheet .fc-quote cite { font-style: normal; font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fc-ink-2); }
.ff-style-broadsheet .fc-facts { grid-template-columns: 1fr; gap: 0; background: none; border: 0; border-top: 1px solid var(--wp--preset--color--ink); padding: 0; }
.ff-style-broadsheet .fc-facts div { border-top: 0; display: flex; justify-content: space-between; gap: var(--wp--preset--spacing--50); align-items: baseline; padding-block: 0.7rem; border-bottom: 1px solid var(--fc-rule-2); }
.ff-style-broadsheet .fc-facts dt { color: var(--fc-ink-3); }
.ff-style-broadsheet .fc-facts dd { margin: 0; text-align: right; }

/* The still and title open the page on a grey field, the still unframed */
.ff-style-broadsheet .ff-filmhead { background: var(--wp--preset--color--paper-2); color: var(--wp--preset--color--ink); padding-block: var(--wp--preset--spacing--60); }
@media (min-width: 900px) {
	.ff-style-broadsheet .ff-filmhead__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: var(--wp--preset--spacing--60); }
}
.ff-style-broadsheet .ff-filmhead .fc-poster { box-shadow: none; aspect-ratio: 16 / 9; }
.ff-style-broadsheet .ff-filmhead .fc-poster--blank { background: var(--wp--preset--color--paper); }
.ff-style-broadsheet .ff-filmhead .fc-poster--blank .fc-poster__title { font-style: normal; }
body.ff-style-broadsheet.ff-dropcap .fc-content > p:first-of-type::first-letter,
body.ff-style-broadsheet.ff-dropcap .ff-article > p:first-of-type::first-letter { font-style: normal; font-weight: 400; color: var(--wp--preset--color--ink); }

/* Lists: streams, venues */
.ff-style-broadsheet .fc-linklist h3 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.05; letter-spacing: -0.02em; }
.ff-style-broadsheet .fc-linklist a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--wp--preset--color--feature); text-underline-offset: 0.15em; }
.ff-style-broadsheet .ff-panelband { background: none; }

/* People: the alphabet as plain letters */
.ff-style-broadsheet .fc-azbar a { border: 0; padding: 0.25rem 0.5rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.07em; }
.ff-style-broadsheet .fc-azbar a:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }

/* Partners */
.ff-style-broadsheet .fc-partners__name { font-size: 1.25rem; letter-spacing: -0.015em; }

/* Footer: the wordmark again, heavy */
.ff-style-broadsheet .ff-footer { border-top: 1px solid var(--wp--preset--color--ink); padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60) !important; }
.ff-style-broadsheet .ff-footer .wp-block-site-title a { color: var(--wp--preset--color--ink); }
.ff-style-broadsheet .ff-footer .wp-block-site-title { color: var(--wp--preset--color--ink); font-weight: 900; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 0.9; letter-spacing: -0.04em; }
.ff-style-broadsheet .ff-browse a,
.ff-style-broadsheet .ff-pages a { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }

/* Journal and articles */
.ff-style-broadsheet .ff-journal .wp-block-post-title { font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.015em; }
.ff-style-broadsheet .ff-article-title { font-weight: 400; font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 0.98; letter-spacing: -0.03em; }
.ff-style-broadsheet .ff-lede { font-family: var(--wp--preset--font-family--display); font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.015em; text-indent: 2.5em; }
.ff-style-broadsheet .ff-article .wp-block-pullquote { border-block: 1px solid var(--wp--preset--color--ink); padding-block: var(--wp--preset--spacing--50); }

/* Phone menu: white page, heavy slab links */
.ff-style-broadsheet .ff-masthead .wp-block-navigation .is-menu-open .wp-block-navigation-item__content { font-weight: 400; letter-spacing: -0.02em; text-transform: none; }

/* Empty stills keep the same height as photographs in the same row. */
.ff-style-broadsheet .fc-poster { box-sizing: border-box; }

/* Book is black; it turns to the feature colour under the pointer or on focus. */
.ff-style-broadsheet.ff-book-solid .fc-session__book .fc-btn:not(.fc-btn--off):hover,
.ff-style-broadsheet.ff-book-solid .fc-session__book .fc-btn:not(.fc-btn--off):focus-visible,
.ff-style-broadsheet.ff-book-solid .fc-card .fc-btn:not(.fc-btn--off):hover,
.ff-style-broadsheet.ff-book-solid .fc-card .fc-btn:not(.fc-btn--off):focus-visible {
	background: var(--wp--preset--color--feature);
	border-color: var(--wp--preset--color--feature);
	color: #000;
	opacity: 1;
}

/* Streams with images: the same card as a film. A still, a rule, a name, one line. */
.ff-style-broadsheet .fc-linklist--images { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40); border: 0; }
.ff-style-broadsheet .fc-linklist--images li { border: 0; }
.ff-style-broadsheet .fc-linklist--images a { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: 0.25rem; align-items: baseline; padding: 0; }
.ff-style-broadsheet .fc-linklist--images .fc-linklist__img { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; border-radius: 0; background: var(--wp--preset--color--paper-2); margin-bottom: 0.875rem; box-shadow: 0 1px 0 0 transparent; }
.ff-style-broadsheet .fc-linklist--images h3 { border-top: 1px solid var(--wp--preset--color--ink); padding-top: 0.625rem; font-size: 1.5rem; grid-column: 1 / -1; }
.ff-style-broadsheet .fc-linklist--images a:hover h3 { border-top-color: var(--wp--preset--color--feature); box-shadow: 0 -1px 0 var(--wp--preset--color--feature); text-decoration: none; }
.ff-style-broadsheet .fc-linklist--images p { grid-column: 1; max-width: none; }
.ff-style-broadsheet .fc-linklist--images .fc-count { grid-column: 2; grid-row: 3; white-space: nowrap; }
.ff-style-broadsheet .fc-pagehead__image { border-radius: 0; margin-top: var(--wp--preset--spacing--50); }

.ff-style-broadsheet .fc-section-head + .fc-linklist--images { margin-top: var(--wp--preset--spacing--50); }
