/* ============================================================================
   FOOTER NAVIGATION
   ============================================================================ */

/* Navigation */
.footer-top-navs {
	justify-content: space-between;	
}

.footer-primary {
	padding-top: var(--one-spacer);
	column-count: 2;
	column-gap: var(--four-spacer);
	column-fill: auto;
	height: 13rem;
}
.footer-primary li {
	margin-bottom:  var(--one-point-five-spacer);
}

.footer-primary li:first-child, .social-and-buttons nav:first-child {
	width: 50%;
}

.social-and-buttons {
	gap: var(--one-point-five-spacer) var(--four-spacer);
}

.social-and-buttons li {
	white-space: nowrap;
}

@media (min-width: 992px) {
	.footer-top-navs {
		padding-right: 8%;
	}
	body.logged-in .footer-top-navs {
		padding-right: 0;
	}
	.navs-column, .social-and-buttons {
		gap: 5rem;
	}
	.footer-primary {
		gap: var(--one-point-five-spacer) 5rem;
	}
	.footer-primary li:first-child, .social-and-buttons nav:first-child {
		width: auto;
	}
}

.footer-primary li a {
	font-size: 1.375rem;
	font-weight: 500;
	text-decoration: none;
	line-height: 80%;
	transition: all 0.2s;
}

.footer-primary li a:hover {
	opacity: 0.7;
}

.footer-social a, .footer-tertiary a {
	text-decoration: none;
}
.footer-social a:hover, .footer-tertiary a:hover {
	text-decoration: underline;
}

.footer-buttons a {
	border-radius: 5px;
	font-family: 'Centra Mono';
	padding: 6px 13px;
	transition: all 0.2s;
	display: inline-block;
	font-size: var(--wp--preset--font-size--medium);
	text-decoration: none;
	background-color: var(--wp--preset--color--lightest-gray);
	transition: all 0.2s;
}
.footer-buttons a:hover {
	background-color: var(--wp--preset--color--light-gray);
}

.footer-account-box {
	background-color: var(--wp--preset--color--lightest-gray);
	border-radius: 5px;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: var(--wp--preset--font-size--medium);
	width: 100%;
}

.footer-account-box span {
	font-family: 'Centra Mono';
	color: var(--color-darkgray);
	margin-bottom: 4px;
	font-size: var(--wp--preset--font-size--small);
}

.footer-account-box .footer-buttons a {
	font-family: 'Centra No2';
}

/* ============================================================================
   FOOTER RATINGS BAR COMPONENTS
   Ratings sections display in the footer (distinct from header bar in bits-and-pieces.css)
   ============================================================================ */

/* Container for all sections */
#ratings-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: sans-serif;
}

/* Each office */
.ratings-section {
  padding: 1rem;
  border: 2px solid #eee;
  border-radius: 8px;
  background: #fafafa;
}

/* Header link */
.ratings-section-header a {
  font-size: var(--wp--preset--font-size--large);
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.ratings-section-header a:hover {
  text-decoration: underline;
}

/* Bar of blocks */
.ratings-bar-container {
  display: flex;
  flex-wrap: nowrap;
  margin: 0.5rem 0;
  height: 24px;
}

.ratings-block {
  flex: 1 1 0;
  height: 10px;        /* or whatever fixed height you want */
  text-align: center;
}

/* Footer text */
.ratings-section-footer {
  font-size: var(--wp--preset--font-size--small);
  color: #666;
}

.footer-bar-button {
	position: absolute;
	left: max(var(--global--spacing-horizontal), calc((100vw - 1558px) / 2));
	top: 50%; transform: translateY(-50%);
	padding: 4px 12px;
	border-radius: 5px;
	font-family: var(--wp--preset--font-family--centra-mono), monospace;
	border: 1px solid var(--wp--preset--color--white);
	background: transparent !important;
	text-decoration: none;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	z-index: 20;
}
.footer-bar-button:hover {
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--black) !important;
}
/* style="    ;   text-decoration: none; border-radius: 5px; font-family: var(--wp--preset--font-family--centra-mono);  ; font-size: 0.9em;" */

/* ============================================================================
   MEMBERPRESS
   ============================================================================ */

.mepr-unauthorized footer {
	margin-bottom: 27%;
}