/*
Theme Name: Paladore
Theme URI: https://paladore.org
Author: Paladore
Author URI: https://paladore.org
Description: Contorno di poker sportivo in Liguria, un martedì alla volta.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paladore
Tags: travel, events
*/

@font-face {
	font-family: "Libre Baskerville";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/libre-baskerville-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Libre Baskerville";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/libre-baskerville-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Karla";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/karla-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Karla";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/karla-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Karla";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/karla-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Karla";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/karla-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bruma: #e8eef1;
	--lastra: #d5e1e7;
	--inchiostro: #142026;
	--nebbia: #3d4c54;
	--ottone: #8a4e28;
	--abisso: #1c4f5a;
	--allarme: #8e2f2a;
	--filetto: #4e5c64;
	--trama: #c5d2d8;
	--crema: #f7f4ee;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--bruma);
	color: var(--inchiostro);
	font-family: "Karla", "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 1.05rem;
	line-height: 1.55;
}

h1,
h2,
h3 {
	font-family: "Libre Baskerville", Georgia, serif;
	font-weight: 400;
	line-height: 1.25;
	color: var(--inchiostro);
}

p,
li,
a,
button,
input,
select,
textarea,
label,
figcaption,
dd,
dt {
	font-family: "Karla", "Segoe UI", sans-serif;
}

.plg-cifre,
.plg-cifre span {
	font-family: "Karla", "Segoe UI", sans-serif;
	font-weight: 600;
}

a {
	color: var(--abisso);
}

a:hover {
	color: var(--ottone);
}

img {
	max-width: 100%;
}

.plg-cornice {
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
	padding: 0;
	border: 0;
	display: block;
	overflow: hidden;
	line-height: 0;
}

.plg-cornice--eroe {
	aspect-ratio: 16 / 9;
}

.plg-cornice--facciata {
	aspect-ratio: 14 / 9;
}

.plg-cornice--lastra {
	aspect-ratio: 3 / 2;
}

.plg-cornice img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.rada {
	width: min(72rem, calc(100% - 2rem));
	margin-inline: auto;
}

.frontone {
	position: sticky;
	top: 0;
	background: var(--bruma);
	border-bottom: 1px solid var(--trama);
	/* z-index solo sulla testata appiccicosa */
	z-index: 4;
}

.bollo {
	margin: 0;
	padding: 0.4rem 1rem;
	background: var(--allarme);
	color: var(--crema);
	text-align: center;
}

.plg-testa {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.1rem;
	padding-block: 0.8rem;
}

.plg-marca {
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 1.45rem;
	text-decoration: none;
	color: var(--inchiostro);
}

.plg-tel {
	font-weight: 600;
	white-space: nowrap;
}

.rotta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.9rem;
	margin-left: auto;
}

.rotta a {
	text-decoration: none;
	font-weight: 600;
}

.plg-salta {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.plg-salta:focus {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.4rem 0.8rem;
	background: var(--ottone);
	color: var(--crema);
}

.sottovoce,
.muto {
	color: var(--nebbia);
}

.ormeggio {
	height: 0.55rem;
	margin: 1.6rem 0;
	border: 0;
	background: repeating-linear-gradient(
		90deg,
		var(--filetto) 0 1.1rem,
		transparent 1.1rem 1.6rem,
		var(--filetto) 1.6rem 2.7rem,
		transparent 2.7rem 3.2rem,
		var(--ottone) 3.2rem 3.7rem,
		transparent 3.7rem 4.6rem
	);
}

.banchina,
.scalo,
.quaderno,
.tovaglia,
.gradino,
.plg-lastra {
	background: var(--lastra);
	padding: 1rem;
}

.plg-fermate,
.plg-corredo,
.plg-due {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

.tovaglia {
	margin: 0 0 0.8rem;
	border-top: 1px solid var(--trama);
}

.zoccolo {
	margin-top: 2rem;
	padding: 1.4rem 0 5.5rem;
	background: var(--abisso);
	color: var(--crema);
}

.zoccolo a {
	color: var(--crema);
}

.filo {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1rem;
	padding: 0.8rem 1rem;
	background: var(--abisso);
	color: var(--crema);
	border-top: 1px solid var(--filetto);
	/* z-index solo sulla striscia dei cookie */
	z-index: 8;
}

.filo[hidden],
.esito[hidden] {
	display: none;
}

button,
.plg-invio {
	font-family: "Karla", "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: 1rem;
	background: var(--ottone);
	color: var(--crema);
	border: 1px solid var(--ottone);
	padding: 0.5rem 0.85rem;
	cursor: pointer;
}

button[data-scelta="no"] {
	background: transparent;
	color: var(--crema);
	border-color: var(--crema);
}

label {
	display: block;
	margin-top: 0.7rem;
	font-weight: 600;
}

input,
select,
textarea {
	display: block;
	width: 100%;
	max-width: 36rem;
	margin-top: 0.25rem;
	padding: 0.45rem 0.55rem;
	border: 1px solid var(--filetto);
	background: var(--bruma);
	color: var(--inchiostro);
	font-size: 1rem;
}

.plg-esca {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.esito {
	margin-top: 1rem;
	padding: 0.8rem;
	background: var(--lastra);
	border: 1px solid var(--filetto);
}

.smarrito h1 {
	margin-top: 0.4rem;
}

:focus-visible {
	outline: 2px solid var(--ottone);
	outline-offset: 2px;
}

@media (min-width: 800px) {
	.plg-corredo,
	.plg-due {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.plg-due {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.plg-fermate {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
