/**
 * Theme Name: Spyhopmosaics Astra Child
 * Author: Bryan Cady
 * Author URI: https://listentothewindmedia.com
 * Description: Astra/Gutenberg conversion of the original Spyhop Mosaics site.
 * Version: 1.1.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: spyhopmosaics-astra-child
 * Template: astra
 */

@font-face {
	font-family: "Glass Antiqua";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/uploads/2025/03/GlassAntiqua-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Viaoda Libre";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/uploads/2025/03/ViaodaLibre-Regular.ttf") format("truetype");
}

:root {
	--spyhop-content-width: 1100px;
	--spyhop-body-color: #363636;
	--spyhop-body-font: "Viaoda Libre", serif;
	--spyhop-heading-font: "Glass Antiqua", serif;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	color: var(--spyhop-body-color);
	font-family: var(--spyhop-body-font);
	font-size: 23px;
	font-weight: 400;
	line-height: 1.7;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	color: var(--spyhop-body-color);
	font-family: var(--spyhop-heading-font);
	font-weight: 400;
}

/*
 * The original site is a single, borderless Gutenberg canvas. Astra remains
 * the framework, while these rules remove only the theme's container padding.
 */
.home #page,
.home .site-content,
.home .site-content > .ast-container,
.home #primary,
.home .site-main,
.home .ast-article-single,
.home .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.home .site-content > .ast-container {
	display: block;
}

.home .ast-article-single {
	width: var(--spyhop-content-width);
	margin-right: auto;
	margin-left: auto;
}

.home .entry-content > .parentgroup {
	width: 120%;
	max-width: 120%;
	margin: 0 0 0 -10%;
	padding: 0;
}

.home .parentgroup > .wp-block-group.alignfull {
	position: relative;
	left: 50%;
	width: 100vw !important;
	max-width: none;
	margin-right: -50vw !important;
	margin-left: -50vw !important;
}

.home .wp-block-cover {
	width: 100% !important;
	max-width: none;
	min-height: 430px;
	margin: 0;
	padding: 23px;
}

.home .wp-block-cover .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
}

.home h1.title {
	display: block;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	color: #fff !important;
	font-family: var(--spyhop-heading-font);
	font-size: 70px;
	font-weight: 400;
	line-height: 1.4;
}

.home h1.title + p {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	color: #fff !important;
	font-family: var(--spyhop-body-font);
	font-size: 36px;
	line-height: 1.7;
}

.home .resident {
	max-width: none;
	margin: 20px 180px 0 !important;
	padding-right: 0;
	padding-left: 0;
}

.home .resident .wp-block-columns {
	width: 100%;
	max-width: none !important;
	gap: 46px;
	margin: 0 0 40.25px !important;
}

.home .resident .wp-block-image {
	margin: 23px 40px;
	line-height: 0;
}

.home .resident .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.home .resident .bio h2 {
	margin: 0;
	font-family: var(--spyhop-heading-font);
	font-size: 48.3px;
	font-weight: 400;
	line-height: 1.4;
}

.home .resident .bio p {
	margin-top: 0;
}

.home .resident .bio p[style*="font-size:18px"] {
	margin-bottom: 21.6px;
	font-size: 18px !important;
	line-height: 1.7;
}

.home .resident .bio p:last-child {
	margin-bottom: 0;
	font-size: 23px;
	line-height: 1.7;
}

.home .wp-block-columns.alignfull.has-background {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none;
	gap: 46px;
	margin: 0 0 40.25px !important;
	padding: 28.75px 54.625px;
}

.home .wp-block-columns.alignfull.has-background > .wp-block-column {
	padding-top: 30px !important;
}

.home .wp-block-columns.alignfull.has-background .wp-block-columns {
	gap: 46px;
	margin-bottom: 40.25px;
}

.home .eic-container {
	margin-top: 0 !important;
	margin-bottom: 20px;
}

/*
 * Home collection gallery
 *
 * The content is composed of editable core Gutenberg Groups, Images, Headings,
 * Paragraphs, and Links. CSS supplies the four-up artwork grid and three cards.
 */
.home .spyhop-collection-section {
	box-sizing: border-box;
	margin: 0 !important;
	padding: clamp(34px, 4vw, 58px) clamp(24px, 5vw, 80px) clamp(42px, 5vw, 68px);
	border-bottom: 24px solid #17179b;
	background: #f7f2e8;
}

.home .spyhop-collection-inner {
	width: min(1440px, 100%);
	max-width: 1440px !important;
	margin: 0 auto;
}

.home .spyhop-collection-eyebrow {
	margin: 0 0 8px;
	color: #17179b;
	font-family: var(--spyhop-heading-font);
	font-size: clamp(17px, 1.35vw, 22px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
}

.home .spyhop-collection-heading {
	margin: 0;
	color: #10224b;
	font-family: var(--spyhop-heading-font);
	font-size: clamp(46px, 4.4vw, 68px);
	line-height: 1.08;
	text-align: center;
	font-weight: 400;
}

.home .spyhop-collection-intro {
	max-width: 760px;
	margin: 14px auto 28px;
	color: #363636;
	font-size: clamp(19px, 1.5vw, 24px);
	line-height: 1.45;
	text-align: center;
}

.home .spyhop-collection-artworks {
	display: flex;
	align-items: stretch;
	gap: clamp(14px, 1.6vw, 24px);
	margin: 0 0 20px;
}

.home .spyhop-collection-artworks > .wp-block-column {
	min-width: 0;
	margin: 0 !important;
}

.home .spyhop-collection-artworks .wp-block-image {
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	background: #e5e0d7;
}

.home .spyhop-collection-artworks .wp-block-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.home .spyhop-collection-artworks .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 200ms ease;
}

.home .spyhop-collection-artworks .wp-block-image a:hover img,
.home .spyhop-collection-artworks .wp-block-image a:focus img {
	transform: scale(1.025);
}

.home .spyhop-collection-cards {
	display: flex;
	align-items: stretch !important;
	gap: clamp(16px, 1.8vw, 26px);
	margin: 0;
}

.home .spyhop-collection-card {
	box-sizing: border-box;
	min-height: 250px;
	margin: 0 !important;
	padding: 30px clamp(20px, 2vw, 34px);
	background: #e2e8f8;
	text-align: center;
}

.home .spyhop-collection-card::before {
	display: block;
	margin: 0 0 10px;
	color: #b28a3a;
	font-family: Georgia, serif;
	font-size: 44px;
	line-height: 1;
}

.home .spyhop-collection-card-original::before {
	content: "⚓";
}

.home .spyhop-collection-card-porthole::before {
	content: "◉";
}

.home .spyhop-collection-card-custom::before {
	content: "☆";
}

.home .spyhop-collection-card h3 {
	margin: 0 0 10px;
	color: #17179b;
	font-family: var(--spyhop-heading-font);
	font-size: clamp(25px, 2vw, 32px);
	line-height: 1.2;
}

.home .spyhop-collection-card p {
	margin: 0 0 16px;
	color: #363636;
	font-size: 18px;
	line-height: 1.45;
}

.home .spyhop-collection-card .spyhop-collection-link {
	margin-top: auto;
	margin-bottom: 0;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.home .spyhop-collection-card .spyhop-collection-link a {
	color: #17179b;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 921px) {
	body {
		font-size: 20px;
		line-height: 1.6;
	}

	.home .ast-article-single,
	.home .entry-content > .parentgroup {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.home .parentgroup > .wp-block-group.alignfull {
		position: static;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.home .wp-block-cover {
		min-height: 430px;
	}

	.home h1.title {
		font-size: clamp(50px, 12vw, 70px);
		line-height: 1.15;
	}

	.home h1.title + p {
		font-size: clamp(27px, 7vw, 36px);
		line-height: 1.45;
	}

	.home .resident {
		margin: 30px 20px 0 !important;
	}

	.home .resident .wp-block-columns {
		gap: 24px;
	}

	.home .resident .wp-block-image {
		max-width: 520px;
		margin: 0 auto;
	}

	.home .resident .bio h2 {
		font-size: 42px;
		line-height: 1.2;
	}

	.home .wp-block-columns.alignfull.has-background {
		padding: 24px 20px;
	}

	.home .spyhop-collection-section {
		padding-right: 28px;
		padding-left: 28px;
	}
}

@media (max-width: 781px) {
	.home .resident .wp-block-columns,
	.home .wp-block-columns.alignfull.has-background .wp-block-columns {
		gap: 24px;
	}

	.home .wp-block-columns.alignfull.has-background {
		margin-bottom: 24px;
	}

	.home .spyhop-collection-artworks {
		display: flex;
		flex-wrap: wrap !important;
	}

	.home .spyhop-collection-artworks > .wp-block-column {
		flex-basis: calc(50% - 8px) !important;
		flex-grow: 0;
	}

	.home .spyhop-collection-cards {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.home .spyhop-collection-section {
		padding: 30px 16px 42px;
		border-bottom-width: 18px;
	}

	.home .spyhop-collection-heading {
		font-size: 41px;
	}

	.home .spyhop-collection-artworks {
		gap: 12px;
	}

	.home .spyhop-collection-artworks > .wp-block-column {
		flex-basis: 100% !important;
	}

	.home .spyhop-collection-card {
		min-height: 0;
	}
}
