/*
 * Šampētera nams — theme styles.
 * Layout utilities (grid--*, gap--*, pad--*, margin--*, pad-section--*)
 * and design tokens come from acss.css (Automatic.css).
 */

/* ---------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------ */
body {
	font-family: 'Open Sans', sans-serif;
	background-image: url('../img/bg-shape.svg'), url('../img/bg-shape-small.svg');
	background-repeat: no-repeat;
	background-size: 70rem, 40rem;
	background-position-x: 100%, 0%;
	background-position-y: 23%, 60%;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	margin: 0;
}

a {
	color: #372348;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

sup,
sub {
	line-height: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 1000;
	padding: 1rem 2rem;
	background: #fff;
	color: var(--primary);
}

.skip-link:focus {
	top: 1rem;
}

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

/* ---------------------------------------------------------------------
 * Layout: section + centered container
 * ------------------------------------------------------------------ */
/* ACSS styles <section> and <section> > div as flex columns with a gap.
   <div class="section"> gets the same; <article class="section"> is a flex
   column without gap (as the former Oxygen article sections were). */
:where(.section) {
	width: 100%;
}

/* Sections carry no padding of their own; spacing lives on .wrap.
   .section--padded keeps inline padding on the section too (the news
   post was padded twice before the theme, visible on phones). */
.section {
	padding: 0 !important;
}

.section.section--padded {
	padding-inline: var(--section-padding-x) !important;
}

:where(div.section) {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--container-gap);
}

:where(div.section > .wrap) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--content-gap);
}

:where(article.section > .wrap) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

:where(.wrap) {
	box-sizing: border-box;
	width: 100%;
	max-width: 128rem;
	margin-inline: auto;
	padding-block: var(--section-space-m);
	padding-inline: var(--section-padding-x);
}

.wrap--tight {
	padding-block: 2rem;
}

.wrap--top {
	padding-top: 2rem;
}

.wrap--flush-top {
	padding-top: 2px;
}

.page-title {
	font-size: 3rem;
}

.section-title {
	font-size: 3rem;
}

/* Content: text blocks are centered across the site (former global
   Advanced Scripts rule ".ct-text-block .ct-span"). */
.entry-content {
	text-align: center;
}

/* Column containers behave like the former Oxygen div blocks: flex column,
   children aligned to the start and sized to their content. */
.layout-sidemenu__main,
.auction__description,
.auction__contacts,
.home-strategy__text,
.contacts__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.list-rows,
.file-list {
	width: 100%;
}

/* Content never gets wider than its column: long words and URLs wrap
   (a long link made the page scroll sideways on phones before the theme). */
.layout-sidemenu__main,
.layout-sidemenu__nav,
.wrap > *,
[class*="grid--"] > * {
	min-width: 0;
	max-width: 100%;
}

.contact-row,
.info-row,
.contact-item {
	overflow-wrap: break-word; /* breaks only words that do not fit at all */
}

.entry-content {
	max-width: 100%;
	overflow-wrap: anywhere;
}

/* Empty content still takes one line, as the Oxygen text blocks did. */
.entry-content {
	min-height: 25px;
	min-height: 1lh;
}

/* Inline dynamic values: centered when they wrap, like Oxygen spans. */
.title-span {
	display: inline-block; /* dynamic titles were inline-block spans; affects line wrapping */
	max-width: 100%;
	overflow-wrap: anywhere; /* only breaks words that would not fit at all */
}

.span-block {
	display: inline-block;
	line-height: 1.2;
	text-align: center;
}

.centered-action {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
}

/* ---------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------ */
.global-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid currentColor;
	border-radius: 2rem;
	padding: 1rem 2rem;
	color: #372348;
	transition-duration: 0.3s;
	transition-property: background-color, color;
}

body a.global-button:hover,
.global-button:hover {
	background-color: var(--primary);
	color: #fff;
}

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */
.site-header {
	position: relative;
	z-index: 100;
	height: 85px;
	background-color: #fff;
	box-shadow: 0 4px 16px rgba(125, 69, 184, 0.1);
}

@media (min-width: 1281px) {
	.site-header {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
	}

	.site-header.is-scrolled {
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	}
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	max-width: 128rem;
	height: 100%;
	margin-inline: auto;
	padding-inline: var(--section-padding-x);
}

.site-header__logo {
	display: flex;
	align-self: flex-start;
}

.site-header__logo img {
	display: block;
	width: 136px;
	height: 79px;
}

.site-header__right {
	display: flex;
	align-items: center;
}

/* Main navigation */
.main-nav {
	padding-left: 32px;
}

.main-nav__list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav__list li {
	position: relative;
	list-style: none;
}

.main-nav__list > li {
	white-space: nowrap;
}

.main-nav__list a {
	display: flex;
	padding-right: 34px;
	font-family: 'Inter', sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.9;
	text-transform: uppercase;
	color: var(--primary);
	transition: color 0.3s;
}

body .main-nav__list a:hover {
	color: var(--primary);
}

/* "Home" menu item shows a house icon instead of text. */
.main-nav__list .home-menu-link > a {
	font-size: 0 !important;
	line-height: 0;
}

.main-nav__list .home-menu-link > a::before {
	content: url('../img/home.svg');
	line-height: 0;
}

.main-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	list-style: none;
	border-radius: 1rem;
	box-shadow: 2px 2px 10px #333;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s, visibility 0.4s;
}

.main-nav__list .sub-menu a {
	padding: 0.5rem 1rem;
	background-color: #fff;
}

.main-nav__list .sub-menu > li:first-child > a {
	border-radius: 1rem 1rem 0 0;
}

.main-nav__list .sub-menu > li:last-child > a {
	border-radius: 0 0 1rem 1rem;
}

.main-nav__list .menu-item-has-children:hover > .sub-menu,
.main-nav__list .menu-item-has-children.is-focused > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.main-nav__toggle,
.main-nav__close {
	display: none;
	padding: 15px;
	border: 0;
	background: none;
	color: var(--primary);
	cursor: pointer;
}

@media (max-width: 991px) {
	.main-nav__toggle {
		display: inline-flex;
	}

	.main-nav__panel {
		position: fixed;
		inset: 0;
		z-index: 2147483642;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: auto;
		background-color: #fff;
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.3s, visibility 0.3s;
	}

	.main-nav.is-open .main-nav__panel {
		visibility: visible;
		opacity: 1;
	}

	.main-nav.is-open .main-nav__toggle {
		display: none;
	}

	/* The open menu covers everything, including the WordPress admin bar. */
	.has-open-nav .site-header {
		z-index: 2147483642;
	}

	.main-nav__close {
		position: absolute;
		top: 20px;
		left: 20px;
		display: inline-flex;
		padding: 0;
		color: #000;
	}

	.main-nav__list li {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 32px;
	}

	.main-nav__list .menu-item-has-children {
		justify-content: flex-start;
	}

	.main-nav__list {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Sub-menus follow the panel's visibility: "visible" here would make
	   the hidden panel's links clickable on top of the page. */
	.main-nav__list .sub-menu {
		position: static;
		padding: 0;
		border-radius: 0;
		opacity: 1;
		visibility: inherit;
		box-shadow: none;
	}

	.main-nav__list .sub-menu a,
	.main-nav__list .sub-menu > li > a {
		padding: 0 34px 0 0;
		border-radius: 0;
		background: transparent;
	}
}

/* Header search */
.header-search__toggle,
.header-search__close {
	display: flex;
	align-items: center;
	padding: 1px 6px;
	border: 0;
	background: none;
	color: #372348;
	cursor: pointer;
}

.header-search__form {
	position: absolute;
	inset: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 1rem;
	box-sizing: border-box;
	padding-inline: var(--section-padding-x);
	background-color: #fff;
}

.header-search__form[hidden] {
	display: none;
}

.header-search__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	color: #372348;
	font: inherit;
	font-size: 2rem;
}

.header-search__input:focus {
	outline: none;
}

/* Hide the browser's own clear button; the form has its own close button. */
.header-search__input::-webkit-search-cancel-button,
.header-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

/* ---------------------------------------------------------------------
 * Breadcrumbs
 * ------------------------------------------------------------------ */
.breadcrumbs {
	margin-top: 0.5rem;
	font-size: 1.3rem;
	color: rgba(76, 76, 76, 0.65);
}

/* ---------------------------------------------------------------------
 * Audio ("Atskaņot tekstu")
 * ------------------------------------------------------------------ */
.audio-trigger {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.audio-trigger__button {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	font: inherit;
	cursor: pointer;
}

.audio-trigger__icon {
	box-sizing: border-box;
	width: 55px;
	height: 55px;
	padding: 5px 4px 5px 6px;
	border: 1px solid var(--primary);
	fill: currentColor;
}

/* ---------------------------------------------------------------------
 * Cards
 * ------------------------------------------------------------------ */
.card {
	border-radius: 1rem 1rem 0 0;
}

.card[hidden] {
	display: none;
}

.card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	border-radius: 1rem;
	background-color: #fff;
	text-align: left;
	transition: transform 0.3s;
}

.card--strong .card__link {
	box-shadow: 0 0 20px 0 rgba(38, 38, 38, 0.43);
}

.card--soft .card__link {
	box-shadow: 0 0 10px 0 rgba(38, 38, 38, 0.2);
}

.card__link:hover {
	transform: scale(1.05);
}

.card__media {
	width: 100%;
}

.card__img {
	display: block;
	width: 100%;
	height: 25rem;
	border-radius: 1rem 1rem 0 0;
	object-fit: cover;
	object-position: center center;
}

.card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
	width: 100%;
	text-align: left;
}

.card__date {
	font-size: 1.3rem;
}

.card__title {
	font-size: 1.8rem;
}

.card--semibold .card__title {
	font-weight: 600;
}

.card--home .card__body {
	color: var(--action);
}

.card--home .card__title,
.card--home .card__date {
	color: var(--body-color, var(--black));
}

.card__more {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	box-sizing: border-box;
	width: 100%;
	padding: 0 2rem 2rem 0;
	font-size: 1.5rem;
	color: var(--action);
}

.card__more img {
	margin-left: 1.1rem;
}

.card__more--static {
	position: static;
	padding: 0;
}

/* Horizontal card: image left, text right */
.card--horizontal .card__row {
	width: 100%;
	height: 100%;
}

.card--horizontal .card__media {
	height: 100%;
}

.card--horizontal .card__img {
	height: 100%;
	border-radius: 1rem 0 0 1rem;
}

/* Lead news card (Aktualitātes page) */
.news-lead-wrap {
	padding-top: 3rem;
}

.news-lead {
	width: 100%;
	border-radius: 1rem;
	background-color: #fff;
	box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.31);
	transition: transform 0.3s;
}

.news-lead:hover {
	transform: scale(1.05);
}

.news-lead__link {
	display: block;
	height: 100%;
}

.news-lead__row,
.news-lead__media {
	width: 100%;
	height: 100%;
}

.news-lead__img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 1rem 0 0 1rem;
	object-fit: cover;
}

.news-lead__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	text-align: left;
}

/* "Lasīt vairāk" sits bottom right but stays in the flow, so a long excerpt
   makes the card taller instead of running under the link (it overlapped
   on narrow screens before the theme). */
.news-lead .card__more {
	position: static;
	width: auto;
	margin: auto -1rem -1rem auto;
	padding: 1rem 0 0;
}

.news-lead__date,
.news-lead__excerpt {
	font-size: 1.5rem;
}

.news-lead__excerpt {
	text-align: justify;
}

.news-lead__title {
	font-size: 2rem;
}



@media (max-width: 767px) {
	.news-lead,
	.news-lead__row,
	.news-lead__media {
		border-radius: 1rem 1rem 0 0;
	}

	.news-lead__img {
		border-radius: 1rem 1rem 0 0;
	}
}

/* Pagination: rendered as the last cell of the card grid (as before the theme) */
.pagination {
	font-size: 12px;
}

.pagination .page-numbers {
	margin-inline: 0.3rem;
}

.pagination .prev {
	margin-right: 1rem;
}

.pagination .next {
	margin-left: 1rem;
}

/* ---------------------------------------------------------------------
 * Front page
 * ------------------------------------------------------------------ */
.hero__carousel {
	width: 100%;
	margin-top: 2rem;
	margin-bottom: 25px; /* the former carousel reserved one line below the slides */
}

.hero__slide {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	width: 100%;
	height: 23em;
	border-radius: 10px;
	background-position: 50% 50%;
	background-size: cover;
	text-align: left;
}

.hero__caption {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	box-sizing: border-box;
	width: 31.1rem;
	margin: 0 2rem 3rem 0;
	padding: 1.3rem 1.75rem 1.5rem 6rem;
	border-radius: 10px;
	background-color: #372348;
	color: #fff;
	opacity: 0.5;
	text-align: left;
}

.hero__title {
	width: 100%;
	font-size: 2.1rem;
	font-weight: 600;
	text-align: right;
}

.hero__text {
	min-height: 25px; /* an empty field still takes one line, as before */
	min-height: 1lh;
	font-size: 1.6rem;
}

.hero .flickity-page-dots {
	bottom: -44px;
	/* Dots centred at 95% of the slider width, where the former Oxygen
	   slider showed them (without its horizontal overflow). */
	left: 95%;
	display: inline-flex;
	width: auto;
	transform: translateX(-50%);
}

.hero .flickity-page-dots .dot {
	border-radius: 6px;
}

@media (max-width: 991px) {
	.hero .flickity-page-dots {
		bottom: -42px;
		left: 0;
		width: 100%;
		justify-content: center;
		transform: none;
	}
}

.home-news__title {
	margin-bottom: 5rem;
	font-size: 3rem;
	font-weight: 600;
}

.home-news__more {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	text-align: left;
}

.home-strategy .wrap {
	padding-top: 75px;
}

.home-strategy__title {
	font-size: 3rem;
	font-weight: 600;
}

.home-strategy__body {
	margin-top: 2rem;
}

.home-strategy__media img {
	display: block;
}

/* ---------------------------------------------------------------------
 * Side navigation layout (Par mums + subpages, Izsoles)
 * ------------------------------------------------------------------ */
.layout-sidemenu {
	padding-top: 2rem;
}

.layout-sidemenu__nav {
	padding-left: 2rem;
	border-right: 1px solid rgba(0, 0, 0, 0.19);
}

.layout-sidemenu__nav > .sidenav__first {
	font-size: 1.4rem;
	line-height: 18.2px;
}

@media (max-width: 767px) {
	.layout-sidemenu__nav {
		border-right: 0;
	}
}

.sidenav__first {
	margin: 0;
	padding: 0;
}

.sidenav__first li {
	list-style: none;
}

.sidenav__first a {
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 2.3;
	color: #100f10;
}

body .sidenav__first a:hover {
	text-decoration: underline;
	color: var(--primary);
}

.sidenav__first .current-menu-item > a::before {
	content: '';
	width: 3px;
	height: 100%;
	margin-right: 1rem;
	border: 1px solid var(--primary);
}

/* Documents / procurements list */
.list-row--boxed {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	border-radius: 1rem;
	background-color: #fff;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.59);
}

.list-row--boxed .list-row__title {
	margin-left: 2rem;
	font-size: 2rem;
}

/* Vacancies, real estate */
.vacancy-grid,
.card-grid--spaced {
	margin-top: 2rem;
}

/* Staff */
.staff {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.staff__name {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
}

.staff__role {
	font-size: 1.5rem;
	color: #777;
}

.staff__contact {
	font-size: 1.5rem;
}

/* ---------------------------------------------------------------------
 * Auctions
 * ------------------------------------------------------------------ */
.auctions-spacer {
	height: 2rem;
}

.izsoles-category-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	text-align: left;
}

.izsole_category-title {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	font: inherit;
	font-size: 1.8rem;
	text-align: left;
	cursor: pointer;
}

.izsole_category-title img {
	flex-shrink: 0;
	width: auto;
	height: auto;
	margin-right: 1rem;
}

.izsole_category-title span {
	display: block;
	padding-block: 1rem;
}

.izsole_category-title-active {
	font-weight: 900;
}

/* Single auction */
.auction__wrap {
	padding-block: 2rem;
}

.auction__audio {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
}

.auction__top {
	margin-top: 0.5rem;
}

/* Without images the gallery still takes one line, as before the theme. */
.auction__gallery {
	min-height: 23px;
}

.auction__carousel {
	width: 100%;
	margin-bottom: 25px; /* the former carousel reserved one line below the images */
}

.flickity-page-dots:has(.dot:only-child) {
	display: none;
}

.auction__slide {
	width: 100%;
	height: 40rem;
}

.auction__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.auction__info {
	display: flex;
	flex-direction: column;
}

.info-row {
	align-items: center;
	width: 100%;
	padding-block: 2rem;
	border-bottom: 1px solid #e7e7e7;
}

.info-row--plain {
	padding-block: 0;
	border-bottom: 0;
}

.info-row__label {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

.info-row__label img {
	margin-right: 1rem;
}

.info-row__label span {
	margin-right: 2rem;
}

.info-row__value {
	color: var(--primary);
	font-weight: 600;
}

.auction__details {
	width: 100%;
	padding-top: 3rem;
}

.auction__contacts {
	padding-left: 2rem;
}

.auction__contact-list {
	padding-top: 2rem;
}

.contact-row__label {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	color: #757575;
}

.contact-row__label img {
	margin-right: 1rem;
}

.contact-row__value {
	color: var(--primary);
	font-weight: 700;
}

/* File download rows (auctions, documents) */
.file-row {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	margin-bottom: 1rem;
}

.file-row__link {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
}

.file-row__link img {
	flex-shrink: 0;
	height: auto;
	margin-right: 2rem;
}

/* ---------------------------------------------------------------------
 * Projects / news archive
 * ------------------------------------------------------------------ */
.search-results > .wrap {
	min-height: 50vh;
}

.projects-head {
	padding-block: 2rem 0;
}

.news-archive {
	padding-block: 3rem;
}

/* ---------------------------------------------------------------------
 * Contacts page
 * ------------------------------------------------------------------ */
body.page-template-contacts {
	background: no-repeat url('../img/bg-shape-contacts.svg');
	background-position: 0 30%;
}

.contacts__wrap {
	padding-block: 4rem 5rem;
}

.contacts__list {
	width: 100%;
	height: 100%;
	border-right: 2px solid #e7e7e7;
}

@media (max-width: 479px) {
	.contacts__list {
		border-right: 0;
	}
}

.contact-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	margin-bottom: 2rem;
}

.contact-item__head {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	width: 100%;
	margin-bottom: 1rem;
}

.contact-item__label {
	margin-left: 1rem;
	color: #757575;
}

/* Empty contact fields still take one line, as before the theme. */
.contact-item__head,
.contact-item__value {
	min-height: 1lh;
}

.contacts__details {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.contacts__content {
	position: relative;
	top: -18px;
}

.contacts__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-top: 8rem;
}

/* ---------------------------------------------------------------------
 * Site map
 * ------------------------------------------------------------------ */
.sitemap {
	font-size: 1.4rem;
}

.sitemap-spacer {
	margin-bottom: 5rem;
}

.sitemap .home-menu-link > a {
	font-size: 0 !important;
	line-height: 0;
}

.sitemap .home-menu-link > a::before {
	content: url('../img/home.svg');
	line-height: 0;
}

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */
.site-footer {
	padding-block: var(--section-space-xs);
	padding-inline: var(--section-padding-x);
	background-color: #372348;
	background-image: url('../img/footer-pattern.svg');
	background-size: 27rem 57rem;
	color: #f7f2d2;
	font-size: 14px;
}

.site-footer__cols {
	padding-bottom: 3rem;
	border-bottom: 1px solid #f0e6c0;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
}

.site-footer__col:not(.site-footer__details) {
	padding-right: 5rem;
}

.site-footer__heading {
	margin-bottom: 1rem;
	font-size: 1.4rem;
	font-weight: 600;
	color: inherit;
}

.footer-menu {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu li {
	list-style: none;
}

.site-footer a,
body .site-footer a:hover {
	color: #f7f2d2;
}

.footer-menu a {
	display: flex;
	padding-top: 1rem;
	font-size: 1.4rem;
	text-transform: uppercase;
}

.site-footer__text {
	font-size: 1.5rem;
	text-align: center;
}

.site-footer__bottom {
	font-size: 1.3rem;
}

.site-footer__copy {
	font-size: 1.2rem;
}

.site-footer__legal {
	text-align: right;
}

.site-footer__legal a {
	font-size: 1.2rem;
}

.site-footer__legal a + a {
	margin-left: 3rem;
}

@media (max-width: 767px) {
	.site-footer__spacer {
		display: none;
	}
}

@media (max-width: 479px) {
	.site-footer__details {
		margin-top: 2rem;
	}
}

/* Accessibility toolbar toggle (pojo-accessibility) on phones */
@media (max-width: 768px) {
	#pojo-a11y-toolbar.pojo-a11y-toolbar-right .pojo-a11y-toolbar-toggle {
		top: 25rem;
	}
}
