/* Layout: top bar, masthead, navigation, content grid, footer */

.c-nuor {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.c-iato {
	flex: 1 0 auto;
	width: 100%;
}

/* top bar ---------------------------------------------------------------- */

.c-fenunu {
	background: var(--xk7);
	color: var(--q3b2);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
}

.c-salo {
	max-width: var(--fbfbg);
	margin: 0 auto;
	padding: 0.5rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.c-fedanu p {
	margin: 0;
}

.c-fedanu a {
	color: inherit;
}

.c-rive ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.25rem;
}

.c-rive li + li {
	margin: 0;
}

.c-rive a {
	display: block;
	padding: 0.15rem 0.6rem;
	border: 1px solid transparent;
	border-radius: 99px;
	color: inherit;
	text-decoration: none;
	opacity: 0.75;
}

.c-rive a:hover {
	opacity: 1;
	border-color: currentColor;
}

.c-rive .c-nusa a {
	opacity: 1;
	border-color: currentColor;
}

/* masthead --------------------------------------------------------------- */

.c-fefe {
	background: var(--k470);
	border-bottom: var(--xtht) var(--py8t2) var(--x8wxv);
	position: relative;
	z-index: 20;
}

.c-pedave {
	max-width: var(--fbfbg);
	margin: 0 auto;
	padding: 1.1rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.c-saorve {
	margin: 0;
	font-family: var(--xgha);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1;
}

.c-saorve a {
	color: var(--xk7);
	text-decoration: none;
}

.c-saen {
	width: auto;
	height: 52px;
	max-width: 220px;
	object-fit: contain;
}

.c-risaia .c-nufeor {
	list-style: none;
	margin: 0;
	padding: 0;
}

.c-risaia li + li {
	margin-top: 0;
}

.c-risaia a {
	display: block;
	color: var(--xk7);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.c-risaia .c-saloul > a {
	color: var(--crvv);
}

.c-zofeen {
	list-style: none;
	padding: 0;
	margin: 0;
}

.c-pemipe {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.9rem;
	background: transparent;
	border: 1px solid var(--x8wxv);
	border-radius: var(--f8rj);
	color: var(--xk7);
	font: 700 0.75rem/1 var(--e7a92);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}

.c-rien,
.c-rien::before,
.c-rien::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform .25s ease, opacity .2s ease;
}

.c-rien {
	position: relative;
}

.c-rien::before,
.c-rien::after {
	content: "";
	position: absolute;
	left: 0;
}

.c-rien::before { top: -6px; }
.c-rien::after { top: 6px; }

.toggled .c-rien { background: transparent; }
.toggled .c-rien::before { transform: translateY(6px) rotate(45deg); }
.toggled .c-rien::after { transform: translateY(-6px) rotate(-45deg); }

/* phone menu: collapsed only when the toggle script runs */
@media (max-width: 899px) {
	.c-risaia {
		display: contents;
	}

	.js .c-risaia .c-nufeor {
		display: none;
	}

	.c-ferive .c-pemipe {
		display: none;
	}

	.c-risaia .c-nufeor,
	.js .c-risaia.toggled .c-nufeor {
		display: block;
		flex-basis: 100%;
		order: 3;
		border-top: 1px solid var(--vh9ub);
		padding-top: 0.4rem;
	}

	.c-risaia .c-nufeor a {
		padding: 0.85rem 0.1rem;
		border-bottom: 1px solid var(--vh9ub);
	}

	.c-zofeen a {
		padding-left: 1rem !important;
	}
}

@media (min-width: 900px) {
	.c-pemipe {
		display: none;
	}

	.c-risaia .c-nufeor {
		display: flex;
		flex-wrap: wrap;
		gap: 0.2rem 2rem;
	}

	.c-risaia a {
		padding: 0.4rem 0;
		background-image: linear-gradient(var(--crvv), var(--crvv));
		background-size: 0 1px;
		background-position: 0 100%;
		background-repeat: no-repeat;
		transition: background-size .3s ease, color .2s ease;
	}

	.c-risaia a:hover,
	.c-risaia .c-saloul > a {
		background-size: 100% 1px;
		color: var(--crvv);
	}

	.c-nuka {
		position: relative;
	}

	.c-zofeen {
		position: absolute;
		top: 100%;
		left: -1rem;
		min-width: 12rem;
		padding: 0.6rem 1rem;
		background: var(--q3b2);
		border: 1px solid var(--vh9ub);
		box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .35);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}

	.c-nuka:hover > .c-zofeen,
	.c-nuka:focus-within > .c-zofeen {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	/* centered masthead: logo over a ruled navigation band */
	.c-zozo .c-pedave {
		flex-direction: column;
		padding-top: 2rem;
		padding-bottom: 0;
		gap: 1.4rem;
	}

	.c-zozo .c-saen {
		height: 74px;
		max-width: 300px;
	}

	.c-zozo .c-saorve {
		font-size: 2.6rem;
	}

	.c-zozo .c-risaia {
		width: 100%;
		border-top: 1px solid var(--vh9ub);
	}

	.c-zozo .c-risaia .c-nufeor {
		justify-content: center;
		padding: 0.8rem 0;
	}

	/* banner masthead: navigation sits on its own accent band */
	.c-nuzove .c-pedave {
		padding-bottom: 0;
		row-gap: 1rem;
	}

	.c-nuzove .c-risaia {
		width: calc(100% + 2.5rem);
		margin: 0 -1.25rem;
		background: var(--xk7);
	}

	.c-nuzove .c-risaia .c-nufeor {
		padding: 0.55rem 1.25rem;
	}

	.c-nuzove .c-risaia a {
		color: var(--q3b2);
		background-image: linear-gradient(var(--q3b2), var(--q3b2));
	}

	.c-nuzove .c-risaia a:hover,
	.c-nuzove .c-risaia .c-saloul > a {
		color: var(--q3b2);
	}

	.c-nuzove .c-zofeen a {
		color: var(--xk7);
	}
}

/* breadcrumbs ------------------------------------------------------------ */

.c-feulen {
	max-width: var(--fbfbg);
	margin: 0 auto;
	padding: 1.1rem 1.25rem 0;
}

.c-fefeka ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8rem;
	color: var(--kga0);
}

.c-fefeka li + li {
	margin: 0;
}

.c-fefeka li + li::before {
	content: "/";
	margin: 0 0.6em;
	color: var(--x8wxv);
	opacity: .5;
}

.c-fefeka a {
	color: var(--p1w3);
	text-decoration: none;
}

.c-fefeka a:hover {
	color: var(--crvv);
}

.c-fefeka [aria-current] {
	display: inline-block;
	max-width: 32ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

/* content + sidebar ------------------------------------------------------ */

.c-nunuto {
	max-width: var(--fbfbg);
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
	display: grid;
	gap: 3.5rem;
}

@media (min-width: 960px) {
	.c-nunuto {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 4rem;
	}

	.c-enlosa .c-nunuto {
		grid-template-columns: 300px minmax(0, 1fr);
	}

	.c-enlosa .c-nunuto .c-peka {
		order: -1;
	}

	.c-nunuto .c-peka {
		border-left: 1px solid var(--vh9ub);
		padding-left: 2.25rem;
	}

	.c-enlosa .c-nunuto .c-peka {
		border-left: 0;
		padding-left: 0;
		border-right: 1px solid var(--vh9ub);
		padding-right: 2.25rem;
	}
}

/* sections --------------------------------------------------------------- */

.c-sanuen {
	position: relative;
	padding: clamp(2.75rem, 2rem + 3vw, 5rem) 0;
	background-size: cover;
	background-position: center;
}

.c-sanuen + .c-sanuen:not(.c-miorsa) {
	border-top: 1px solid var(--vh9ub);
}

.c-iaveto {
	max-width: var(--fbfbg);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.c-iaveto > :first-child > :first-child,
.c-loenul > :first-child > :first-child {
	margin-top: 0;
}

.c-enkami {
	color: #fbf6ee;
}

.c-enkami h1, .c-enkami h2, .c-enkami h3, .c-enkami h4, .c-enkami h5, .c-enkami h6,
.c-enkami a:not(.c-nuveve) {
	color: #fff;
}

.c-enkami .c-nuveve {
	background: #fff;
	border-color: #fff;
	color: #1c1612;
}

.c-enkami .c-nuveve.c-mikazo {
	background: transparent;
	color: #fff;
}

.c-loenul.c-sari {
	max-width: var(--uejj);
}

.c-loenul + .c-sasa,
.c-sasa + .c-loenul,
.c-sasa + .c-sasa {
	margin-top: 2.25rem;
}

.c-sasa {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.c-sasa > .c-nuen > :last-child {
	margin-bottom: 0;
}

.c-sasa > .c-nuen > :first-child {
	margin-top: 0;
}

@media (min-width: 760px) {
	.c-sasa {
		grid-template-columns: var(--zwtg);
		gap: 2.75rem;
	}

	.c-sasa.c-iave {
		gap: 1.25rem;
	}
}

@media (min-width: 560px) and (max-width: 759px) {
	.c-sasa.c-iave {
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}
}

/* footer ------------------------------------------------------------------ */

.c-ororda {
	background: var(--xk7);
	color: #e9e1d6;
	font-size: 0.93rem;
	margin-top: auto;
	border-top: 4px solid var(--crvv);
}

.c-ororda.c-nunu {
	background: var(--uvjb);
	color: var(--xk7);
}

.c-daor {
	max-width: var(--fbfbg);
	margin: 0 auto;
	padding: 3.5rem 1.25rem 2rem;
}

.c-ororda a {
	color: inherit;
}

.c-ororda h1, .c-ororda h2, .c-ororda h3, .c-ororda h4, .c-ororda h5, .c-ororda h6 {
	color: inherit;
	margin: 0 0 0.8rem;
	font-size: 1.25rem;
}

.c-riri {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-bottom: 1.6rem;
	margin-bottom: 2.2rem;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.c-nunu .c-riri {
	border-color: var(--vh9ub);
}

.c-loka {
	font-family: var(--xgha);
	font-size: 1.9rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.1;
}

.c-kadazo {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.5rem;
}

.c-kadazo li + li {
	margin: 0;
}

.c-kadazo a {
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: .8;
}

.c-kadazo a:hover {
	opacity: 1;
	text-decoration: underline;
}

.c-saulia {
	display: grid;
	gap: 1.75rem 3rem;
}

.c-saulia + .c-saulia {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 0.84rem;
	opacity: .85;
}

.c-nunu .c-saulia + .c-saulia {
	border-color: var(--vh9ub);
}

.c-sanuto p {
	margin-bottom: 0.5rem;
}

@media (min-width: 760px) {
	.c-saulia.c-tori { grid-template-columns: 1fr 1fr; }
	.c-saulia.c-peda { grid-template-columns: 1.3fr 1fr 1fr; }
	.c-saulia.c-orfe { grid-template-columns: repeat(4, 1fr); }
}

.c-iada .c-riri {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.c-iada .c-saulia {
	text-align: center;
}

.c-iada .c-peor {
	justify-content: center;
}

.c-rive a {
	white-space: nowrap;
}

@media (max-width: 599px) {
	.c-salo {
		flex-direction: column;
		gap: 0.35rem;
		text-align: center;
		padding-top: 0.45rem;
		padding-bottom: 0.45rem;
	}

	.c-fedanu {
		font-size: 0.76rem;
		line-height: 1.45;
	}

	.c-saen {
		height: 42px;
		max-width: 190px;
	}
}
