/*
Theme Name: Made In LA
Theme URI: https://madeinla.film
Description: Everything for MadeInLA.film in one theme: Proposals with candidate positions, letters to the candidates, the Pitch Line, the seal checker and the Made In LA project database. No plugins needed.
Version: 0.3.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: madeinla
*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: #FFFEF5; color: #120B33; font: 19px/1.55 'Newsreader', Georgia, serif; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: #4014E1; }
a:hover { color: #120B33; }
:focus-visible { outline: 3px solid #FFD500; outline-offset: 3px; box-shadow: 0 0 0 6px #120B33; }
[id] { scroll-margin-top: 88px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #120B33; color: #FFFEF5; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.site-hd { font-family: 'Archivo', 'Arial Black', sans-serif; font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #FFFEF5; border-bottom: 3px solid #120B33; }
.site-header__inner, .site-footer__inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #120B33; }
.site-brand .mila-logo { width: 56px; height: 56px; }
.site-brand__name { font-size: 24px; white-space: nowrap; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-nav a { font: 700 14px 'Archivo', sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #120B33; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: #4014E1; }
@media (max-width: 860px) {
	.site-header__inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
	.site-brand .mila-logo { width: 44px; height: 44px; }
	.site-brand__name { font-size: 20px; }
	.site-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.site-nav ul { flex-wrap: nowrap; padding-bottom: 6px; }
	.site-nav li { white-space: nowrap; }
}

/* Plain pages, archives, single projects */
.site-main--page { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.site-main--page h1 { font-family: 'Archivo', sans-serif; font-weight: 900; font-stretch: 112%; text-transform: uppercase; line-height: .98; font-size: clamp(38px, 6vw, 64px); margin: 0 0 28px; }
.site-main--page h2 { font-family: 'Archivo', sans-serif; font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1.05; }
.site-main--page article + article { border-top: 3px solid #120B33; padding-top: 12px; }
.back-link { font: 700 14px 'Archivo', sans-serif; text-transform: uppercase; letter-spacing: .08em; }

/* Footer */
.site-footer { background: #120B33; color: #FFFEF5; padding: 40px 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; }
.site-footer a { color: #FFFEF5; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.site-footer__name { font-size: 22px; }
