/* Making Deconstructions page white with black text */
.page-id-1039 {
	background-color: #FAF9F6 !important;
}

.page-id-1039 {
	color: #000000 !important;
}

/* Making Blog pages white with black text. rn this is one at a time */
.page-id-1344 {
	background-color: #FAF9F6 !important;
}

.page-id-1344 {
	color: #000000 !important;
}

/* For mobile phones: */
[class*="col-"] {
	width: 100%;
}

@media only screen and (min-width: 600px) {
	/* For tablets: */
	.col-s-1 {
		width: 8.33%;
	}
	
	.col-s-2 {
		width: 16.66%;
	}
	
	.col-s-3 {
		width: 25%;
	}
	
	.col-s-4 {
		width: 33.33%;
	}
	
	.col-s-5 {
		width: 41.66%;
	}
	
	.col-s-6 {
		width: 50%;
	}
	
	.col-s-7 {
		width: 58.33%;
	}
	
	.col-s-8 {
		width: 66.66%;
	}
	
	.col-s-9 {
		width: 75%;
	}
	
	.col-s-10 {
		width: 83.33%;
	}
	
	.col-s-11 {
		width: 91.66%;
	}
	
	.col-s-12 {
		width: 100%;
	}
}

@media only screen and (min-width: 768px) {
	/* For desktop: */
	.col-1 {
		width: 8.33%;
	}
	
	.col-2 {
		width: 16.66%;
	}
	
	.col-3 {
		width: 25%;
	}
	
	.col-4 {
		width: 33.33%;
	}
	
	.col-5 {
		width: 41.66%;
	}
	
	.col-6 {
		width: 50%;
	}
	
	.col-7 {
		width: 58.33%;
	}
	
	.col-8 {
		width: 66.66%;
	}
	
	.col-9 {
		width: 75%;
	}
	
	.col-10 {
		width: 83.33%;
	}
	
	.col-11 {
		width: 91.66%;
	}
	
	.col-12 {
		width: 100%;
	}
}

figure.caption-on-hover {
	position: relative;
	overflow: hidden;
}

figure.caption-on-hover > figcaption {
	position: absolute;
	left: 0;
	right: 0;
	height: 45px;
	line-height: 21px;
	bottom: -60px;
	text-align: center;
	background: rgba(256,256,256,.8);
	color: #000;
	transition: bottom 500ms;
}

figure.caption-on-hover:hover > figcaption {
	bottom: 40%;
	transition: bottom 500ms;
}

/* Default styles for headers */
h1, h2, h3, h4, h5, h6 {
	font-size: 1.5rem;
/* Example base font size */
/* Adjust other properties as needed */
}

/* Default style for paragraphs */
p {
	font-size: 1rem;
/* Example base font size */
/* Adjust other properties as needed */
}

/* Media queries for responsive design */
/* Small screens */
@media only screen and (max-width: 600px) {
	h1, h2, h3, h4, h5, h6 {
		font-size: 1.2rem;
	/* Smaller font size for headers */
	}
	
	p {
		font-size: .9rem;
	/* Smaller font size for paragraphs */
	}
}

/* Medium screens */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
	h1, h2, h3, h4, h5, h6 {
		font-size: 1.3rem;
	}
	
	p {
		font-size: 1rem;
	/* Adjust as necessary */
	}
}

/* Large screens */
@media only screen and (min-width: 1025px) {
	h1, h2, h3, h4, h5, h6 {
		font-size: 1.1rem;
	/* Adjust as necessary */
	}
	
	p {
		font-size: 1rem;
	/* Adjust as necessary */
	}
}

h1, h2, h3, h4, h5, h6 {
	overflow-wrap: anywhere;
}

/* Media query for small screens */
@media only screen and (max-width: 600px) {
	h1, h2, h3, h4, h5, h6 {
		font-size: .5em;
	}
}

/* Medium screens */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
	h1, h2, h3, h4, h5, h6 {
		font-size: .5em;
	}
}

/* Basic styles for the gallery */
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gallery-item {
	position: relative;
	cursor: pointer;
	overflow: hidden;
}

.gallery-image {
	width: 100%;
	transition: transform .3s ease;
}

/* Hide caption initially */
.caption {
	display: none;
	position: absolute;
	bottom: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	text-align: center;
	padding: 10px;
}

/* Enlarged image and show caption */
.gallery-item.active .gallery-image {
	transform: scale(1.5);
	z-index: 10;
}

.gallery-item.active .caption {
	display: block;
}