/*
Theme Name: Long Run
Theme URI: https://long-run.gr
Author: Long Run Productions
Description: Light theme for Long Run Productions — completed films with availability, catalogue, news and about. Works with the Long Run Films plugin.
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: longrun
*/

:root {
	--bg: #0F1113;
	--panel: #1A1D20;
	--panel-2: #1C1F23;
	--line: #2A2D31;
	--line-2: #3A3E44;
	--text: #EDEBE6;
	--text-2: #CFCCC4;
	--muted: #9A9890;
	--faint: #6E6C66;
	--accent: #E68F26;
	--display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); }
a:hover { color: var(--accent); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Header */
.site-banner { display: block; background: #000; line-height: 0; }
.site-banner img { width: 100%; max-width: 980px; margin: 0 auto; }
.site-nav { border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 600; }
.site-nav .lang { color: var(--muted); font-weight: 400; }
.idfa-bar { background: var(--panel); color: var(--text-2); font-size: 14px; }
.idfa-bar .wrap { display: flex; justify-content: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.idfa-bar a { color: var(--accent); text-decoration: none; font-weight: 600; }

.compact-head { border-bottom: 1px solid var(--line); }
.compact-head .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.brand span b { font-weight: 500; color: var(--muted); }
.back-link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }

/* Type helpers */
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .95; margin: 0; }
.kicker { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.muted { color: var(--muted); }
.btn { display: inline-block; background: var(--accent); color: #0F1113; text-decoration: none; font-weight: 600; padding: 14px 22px; font-size: 15px; border: 0; }
.btn:hover { color: #0F1113; filter: brightness(1.08); }
.btn-line { display: inline-block; border: 1px solid var(--text); text-decoration: none; font-weight: 600; padding: 13px 22px; font-size: 15px; }
.tag { display: inline-block; align-self: flex-start; border: 1px solid var(--accent); color: var(--accent); padding: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.notice-box { margin: 0; padding: 16px 20px; border: 1px solid var(--accent); font-size: 16px; line-height: 1.5; }
.laurels { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.laurels img { height: 76px; width: auto; }

/* Availability */
.lr-avail { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 10px; margin: 0; font-size: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.lr-avail dt { color: var(--muted); }
.lr-avail dd { margin: 0; display: flex; align-items: flex-start; }
.lr-avail a { text-decoration: none; }
.lr-dot { flex: none; display: inline-block; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--faint); margin: 7px 7px 0 0; }
.lr-dot.is-on { background: var(--accent); border-color: var(--accent); }
.card .lr-avail { grid-template-columns: 76px minmax(0, 1fr); font-size: 13px; }

/* Home hero */
.home-hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; padding-top: 56px; padding-bottom: 40px; }
.home-hero .copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.home-hero h1 { font-size: 84px; }
.home-hero .logline { margin: 0; font-size: 19px; color: var(--text-2); max-width: 540px; }
.home-hero .meta { margin: 0; font-size: 14px; color: var(--muted); }
.home-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.home-hero .media { flex: 1 1 560px; min-width: 0; min-height: 420px; background: #000; }
.home-hero .media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.home-hero .laurels img { height: 64px; }

/* Sections */
.section .wrap { padding-top: 48px; padding-bottom: 24px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 28px; }
.section-head h2 { font-size: 48px; }
.section-head p { margin: 0; font-size: 15px; color: var(--muted); max-width: 440px; }
.subhead { margin: 56px 0 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card .poster { display: block; aspect-ratio: 2 / 3; background: var(--panel-2); }
.card .poster img, .card .still img { width: 100%; height: 100%; object-fit: cover; }
.card .still { display: block; aspect-ratio: 16 / 9; background: var(--panel-2); }
.card h3 { font-family: var(--display); font-size: 28px; text-transform: uppercase; line-height: 1; margin: 4px 0 0; }
.card h3 a { text-decoration: none; }
.card .line { margin: 0; font-size: 13px; color: var(--muted); }
.card .note { margin: 0; font-size: 13px; color: var(--text-2); }
.grid.catalogue .card h3 { font-size: 24px; }

/* IDFA block */
.idfa { background: var(--panel); padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.idfa h2 { font-size: 38px; margin-bottom: 10px; }
.idfa p { margin: 0; color: var(--text-2); }
.idfa .contact { display: flex; flex-direction: column; gap: 8px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; gap: 10px; }
.news-card .img { aspect-ratio: 4 / 3; background: var(--panel-2); }
.news-card .img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .k { font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.news-card a.more { font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600; }
.follow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.follow a { border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 14px; }

.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.strip .k { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.strip p { margin: 0; }

/* Film page */
.film-hero { position: relative; height: 560px; background: #000; }
.film-hero img { width: 100%; height: 100%; object-fit: cover; }
.film-hero .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 16px 26px; font-size: 16px; }
.film .wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 48px; padding-bottom: 56px; }
.film main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.film aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.film h1 { font-size: 72px; }
.film .orig { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.film .logline { margin: 0; font-size: 22px; line-height: 1.45; }
.film .entry h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-family: var(--body); }
.film .entry p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.film .entry section, .film .entry > div { margin-bottom: 28px; }
.film .stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.film .stills.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.film .stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.film .stills.n3 img { aspect-ratio: 4 / 3; }
.film .credit { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; font-size: 15px; margin: 0; }
.credits dt { color: var(--muted); }
.credits dd { margin: 0; }
.poster-side { max-width: 360px; }
.avail-box { background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.avail-box .t { font-family: var(--display); font-size: 26px; font-weight: 700; text-transform: uppercase; }
.avail-box .btn-line { text-align: center; padding: 13px; }
.avail-box .book { text-decoration: none; font-weight: 600; text-align: center; color: var(--accent); }
.specs { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 10px; font-size: 14px; margin: 0; padding: 0 4px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.contact-side { padding: 0 4px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.contact-side .k { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin: 14px 0 6px; }
.contact-side .k:first-child { margin-top: 0; }
.film-social { padding: 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.film-social .k { flex: 1 0 100%; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.film-social a { border: 1px solid var(--line); padding: 7px 12px; font-size: 13px; font-weight: 600; text-decoration: none; }
.film-social a:hover { border-color: var(--accent); color: var(--accent); }

/* Plain pages (About) */
.page-body .wrap { padding-top: 56px; padding-bottom: 64px; }
.page-body .entry > * + * { margin-top: 0; }
.entry h2 { font-family: var(--body); }
.lr-about-intro { display: flex; flex-wrap: wrap; gap: 48px; margin-bottom: 64px; }
.lr-about-intro > :first-child { flex: 1 1 360px; min-width: 0; }
.lr-about-intro > :last-child { flex: 2 1 560px; min-width: 0; }
.lr-about-intro h1 { font-size: 64px; }
.lr-lead { margin: 0 0 18px; font-size: 22px; line-height: 1.45; }
.entry p { color: var(--text-2); font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
.lr-h { margin: 0 0 16px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.lr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 64px; }
.lr-card { border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.lr-card.fill { background: var(--panel); border-color: var(--panel); }
.lr-card b { font-family: var(--display); font-size: 23px; font-weight: 700; text-transform: uppercase; line-height: 1.08; }
.lr-card span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.lr-card span.l { color: var(--text-2); }
.lr-person { display: flex; flex-wrap: wrap; gap: 48px; margin-bottom: 64px; }
.lr-person > :first-child { flex: 1 1 320px; min-width: 0; }
.lr-person > :last-child { flex: 2 1 560px; min-width: 0; }
.lr-person h2.name { font-family: var(--display); font-size: 40px; font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0; }
.lr-person .sub { margin: 10px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.lr-person figure { margin: 20px 0 0; max-width: 320px; }
.lr-person figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.lr-person figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.lr-contact { display: flex; flex-wrap: wrap; gap: 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.lr-contact > div { flex: 1 1 360px; min-width: 0; }
.lr-contact .big { font-size: 20px; line-height: 1.6; color: var(--text); }
.lr-reg { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 12px; font-size: 13px; color: var(--text-2); margin: 0; }
.lr-reg dt { color: var(--muted); }
.lr-reg dd { margin: 0; }
.lr-work-intro { max-width: 760px; margin-bottom: 56px; }
.lr-work-intro h1 { font-size: 64px; margin: 0 0 16px; }
.lr-section { margin-bottom: 64px; }
.lr-section > .lr-h { margin-bottom: 8px; }
.lr-section > p.lr-sub { margin: 0 0 20px; max-width: 760px; }
.lr-card .meta { font-size: 13px; color: var(--accent); letter-spacing: .04em; }
.lr-card a { color: var(--text); }
.lr-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 16px; }
.lr-quote { margin: 0; padding: 20px 22px; border-left: 3px solid var(--accent); background: var(--panel); }
.lr-quote p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; color: var(--text); font-style: italic; }
.lr-quote cite { font-style: normal; font-size: 13px; color: var(--muted); }
.lr-quote.is-empty { display: none; }
.lr-card .lr-laurel.lr-laurel-wide { max-width: 100%; max-height: none; width: 100%; }
.lr-card .lr-logo { height: 28px; width: auto; align-self: flex-start; margin: 4px 0 10px; }
.lr-laurel.lr-blend { mix-blend-mode: lighten; max-height: 52px; }
.lr-card .lr-laurel { width: auto; max-width: 170px; max-height: 80px; height: auto; margin: 0 0 6px; align-self: flex-start; }
.lr-section .lr-laurel:not(.lr-card .lr-laurel) { display: block; width: 140px; height: auto; margin: 0 0 12px; }
@media (max-width: 700px) { .lr-work-intro h1 { font-size: 48px; } }
.entry .wp-block-buttons, .entry .lr-book { margin-top: 16px; }

/* Footer */
.blue-band { background: #3B3A3C; line-height: 0; }
.blue-band img { width: 100%; max-width: 1280px; margin: 0 auto; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Phone */
@media (max-width: 700px) {
	.wrap { padding-left: 16px; padding-right: 16px; }
	.site-nav .wrap { gap: 18px; padding-top: 10px; padding-bottom: 10px; }
	.home-hero .wrap { padding-top: 24px; gap: 24px; }
	.home-hero h1 { font-size: 56px; }
	.home-hero .media, .home-hero .media img { min-height: 220px; }
	.section-head h2 { font-size: 38px; }
	.grid { grid-template-columns: 1fr; gap: 14px; }
	.grid .card { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; background: var(--panel); padding: 12px; align-items: start; }
	.grid .card > .poster, .grid .card > .still { grid-row: 1 / span 5; width: 88px; height: 132px; aspect-ratio: auto; }
	.grid.catalogue .card > .still { height: 60px; }
	.grid .card h3 { font-size: 22px; margin: 0; }
	.grid .card .note { display: none; }
	.grid .card .lr-avail { grid-template-columns: 62px minmax(0, 1fr); font-size: 12px; }
	.idfa { padding: 24px; }
	.film-hero { height: 260px; }
	.film h1 { font-size: 48px; }
	.film .logline { font-size: 19px; }
	.film .stills, .film .stills.n3, .credits { grid-template-columns: 1fr; }
	.lr-about-intro h1 { font-size: 48px; }
	.lr-reg { grid-template-columns: 120px minmax(0, 1fr); }
}
