/*
Theme Name: Déjà Visité
Theme URI: https://deja-visite.com
Author: Déjà Visité Games
Description: Holding site theme for Déjà Visité Games. Vintage map palette, Fraunces headings, Jost text.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deja-visite
*/

/* Most styling lives in theme.json. These rules cover what it can't express. */

.dv-lockup {
	display: flex;
	gap: 12px;
	align-items: center;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.dv-lockup__words {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.dv-lockup__name {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 23px;
	font-weight: 500;
	line-height: 1;
}
.dv-lockup__games {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 10px;
	letter-spacing: 0.32em;
	color: var(--wp--preset--color--muted);
}
.dv-lockup--small .dv-lockup__name {
	font-size: 17px;
	font-weight: 400;
}

.dv-eyebrow {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.dv-hero {
	overflow: hidden;
}
.dv-hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1500 / 672;
	object-fit: cover;
}

/* Underlined nav links with a 44px+ touch target. */
.dv-nav a {
	display: inline-block;
	padding: 12px 0;
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Outline button on the dark hero band. */
.dv-hero .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--paper);
}

/* Link cards: make the whole card the click target. */
.dv-card {
	position: relative;
}
.dv-card a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.dv-card a:focus-visible {
	outline: none;
}
.dv-card:focus-within {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}

/* Footer privacy link: muted like the rest of the line. */
.privacy-policy-link {
	color: inherit;
	text-underline-offset: 3px;
}
