/* 1. LOCK SCROLLBAR TRACK */
body:has(.flicgal-gallery-wrapper .blueimp-gallery-display) {
  overflow: hidden;
}

/* 2. THE LIGHTBOX OVERLAY */
.flicgal-gallery-wrapper .blueimp-gallery-display {
  height: 100vh;
  
/* BIND DIRECTLY TO THE GLOBAL VIEWPORT AXIS TRACK */
  animation: lock-to-screen linear both;
  animation-timeline: scroll(root block); /* Native cross-browser scroll tracker */
}

/* 3. CALCULATE VISIBLE TOP LAYER */
@keyframes lock-to-screen {
  from { top: 0px; }
  to   { top: calc(100% - 100vh); } /* Evaluates the maximum bottom-scroll depth */
}



#page {
	position: relative;
  left: 50%;
  transform: translateX(-50%);
}

#infinite-footer {
  left: 50%;
  transform: translateX(-50%);
	max-width: 1260px;
}

.featured-content .post-thumbnail img {
	width: 100%;
}

.entry-content .more-link {
	font-size: 150%;
	text-decoration-line: none;
	display: block;
	padding-top: 1%;
}

.entry-content .more-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 0px;
    background-color: #ccc;
    margin-top: 5%;
    margin-bottom: 6%;
}

.home .entry-content .wp-block-image:first-of-type,
.home .entry-content img:first-of-type,
.archive .entry-content .wp-block-image:first-of-type,
.archive .entry-content img:first-of-type {
    display: none !important;
}

.home .wp-element-caption,
.blog .wp-element-caption,
.archive .wp-element-caption {
    display: none !important;
}


/* Force Twenty Fourteen featured images to span 100% width and crop height naturally */
.post-thumbnail img {
    width: 100% !important;
    max-width: 100% !important;
    /* height: 350px !important;  Adjust this value to whatever height you want it cut at */
    object-fit: cover !important;
    object-position: center !important; /* Keeps the middle portion of the image visible */
}

.flicgal-spinner-wrapper {
	position: absolute;
}

.wp-block-coblocks-posts__content {
	border-bottom: solid 1px #ddd;
	padding-bottom: 8px;
	padding-top:8px;
}

.page-links {
	font-size: 20px;
	line-height: 30px
}

.page-links a {
	width: 30px;
	height: 30px;
}