/*
Theme Name: Fintech Week
Theme URI: https://fintech-week.co/
Author: AScaleX
Author URI: https://ascalex.com/
Description: Custom theme for Fintech Week city landing pages (FTW San Francisco, New York, …). Content is managed entirely through ACF (registered in code) and the Activation / Agenda / Host / Speaker CPTs, scoped by the City taxonomy.
Version: 3.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fintech-week
*/

:root {
	--ftw-bg: #180F38;
	--ftw-bg-2: #120b2c;
	--ftw-accent: #f4b740;
	--ftw-text: #ffffff;
	--ftw-muted: #b9b3d6;
	--ftw-maxw: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ftw-bg);
	color: var(--ftw-text);
	font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
}
a { color: var(--ftw-accent); }
img { max-width: 100%; height: auto; }

.ftw-container { max-width: var(--ftw-maxw); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--ftw-accent); color: #2a2150; padding: 8px 14px; border-radius: 6px; z-index: 1000; }

/* ---------- Site header / nav ---------- */
.site-header {
	position: absolute; top: 0; left: 0; right: 0; z-index: 50;
	padding: 22px 0;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand img { max-height: 52px; width: auto; }
.site-header__brand .site-title { color: #fff; font-weight: 700; text-decoration: none; font-size: 20px; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; }
.site-nav a { color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.site-nav a:hover { color: var(--ftw-accent); opacity: 1; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; padding: 8px 10px; cursor: pointer; }

/* ---------- Site footer ---------- */
.site-footer { background: var(--ftw-bg-2); padding: 56px 0 28px; margin-top: 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer__brand img { max-height: 48px; width: auto; }
.site-footer__brand .site-title { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer__col h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ftw-muted); margin: 0 0 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a { color: #fff; text-decoration: none; font-size: 14px; }
.site-footer__col a:hover { color: var(--ftw-accent); }
.site-footer__social { display: flex; gap: 14px; margin-top: 10px; }
.site-footer__social a { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; color: var(--ftw-muted); font-size: 13px; }

/* ---------- Generic content (non-template pages, posts) ---------- */
.site-main--default { max-width: var(--ftw-maxw); margin: 0 auto; padding: 120px 24px 64px; }
.site-main--default a { color: var(--ftw-accent); }

@media (max-width: 860px) {
	.nav-toggle { display: inline-block; }
	.site-nav { display: none; flex-basis: 100%; }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 14px; padding-top: 14px; }
	.site-header__inner { flex-wrap: wrap; }
}
