/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.2.0
*/

.wp-site-blocks {
	min-height: 100%;
	border-left: 1rem #00b267 solid;
}

@media (max-width: 780px) {
	.vertical-header {
		flex-basis: 4rem !important;
	}
	.wp-block-table td {
		font-size: 11px !important;
		line-height: 16px !important;
	}
}

.main-content {
	margin: 0 auto;
	max-width: 1400px;
}

.single-post .entry-content {
	p {
		max-width: 60ch;
	}
}

.single-post .entry-content p.has-accent-5-background-color {
	max-width: 100%;
}

.wp-block-table td {
	vertical-align: top;
}

.wp-block-table td.table-heading {
	font-weight: 400;
}

.archive-with-grid {
	.is-layout-flow li, .is-layout-constrained {
		margin-block-start: 0 !important;
	}
	.archive-grid {
		display: grid;
		grid-template-columns: 57px 1fr;
		gap: 1rem;
	}
	li:first-child .archive-grid {
		padding-top: 2rem;
	}
	li:last-child .entry-content {
		padding-bottom: 1.5rem;
	}
	.post-date {
		padding: 2rem 0 0;
		time {
			display: inline-block;
		}
	}
	.post-date__month {
		text-transform: uppercase;
		padding: 0 .5rem 0 0;
		font-size: 1.1rem;
		color: rgb(17, 17, 17);
	}
	.post-date__year {
		display: block;
		margin-block-start: 0 !important;
		font-size: 1rem;
		line-height: 1;
		color: rgb(204, 204, 204);
	}
	.entry-content {
		border-left: 1px #444 solid;
		padding: 2rem 1rem 0 2rem;
		position: relative;
		p:last-child {
			margin-bottom: 0;
		}
	}
	.entry-content::before {
		content: '';
		position: absolute;
		top: 2.8rem;
		left: -1rem;
		height: 1px;
		width: 2rem;
		background: #444;
	}
}

@media ( min-width: 780px ) {
	.archive-with-grid {
		.archive-grid {
			grid-template-columns: 77px 1fr;
		}
	}
}

body,
html {
	height: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
  scroll-behavior: smooth;
}

.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;

  /* hit area */
  width: 44px;
  height: 44px;

  /* clickable even with no visible text */
  display: block;

  /* hide by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 160ms linear, visibility 0s linear 160ms;
}

/* the arrow icon */
.back-to-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: 12px;
  height: 12px;

  border: solid currentColor;
  border-width: 0 3px 3px 0;

  transform: translate(-50%, -35%) rotate(-135deg);
}

/* show it when JS toggles the class */
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition: opacity 160ms linear;
}

/* keyboard focus should always be visible */
.back-to-top:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* if a keyboard user tabs to it, show it even if it would be hidden */
.back-to-top:focus,
.back-to-top:focus-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .back-to-top {
    transition: none;
  }
}

@media (max-width: 600px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 36px;
    height: 36px;
  }

  .back-to-top::before {
    width: 10px;
    height: 10px;
    border-width: 0 2px 2px 0;
  }
}

@media (max-width: 780px) {
	.meep-column {
		padding-left: 0 !important;
	}
}