/*
Theme Name: Larry World
Theme URI: https://example.com
Author: Larry World
Description: First-party block theme for the Larry World WordPress rebuild.
 Version: 0.1.11
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.2
Text Domain: larry-world
*/

html {
	-webkit-text-size-adjust: 100%;
}

body {
	text-rendering: optimizeLegibility;
}

img,
video,
iframe {
	max-width: 100%;
}

img,
video {
	height: auto;
}

main {
	min-height: 60vh;
}

main :where(p, li, td, th, figcaption) {
	overflow-wrap: break-word;
}

main :where(p, ul, ol, blockquote, table, figure) {
	margin-block-start: 1.25rem;
}

main :where(h1, h2, h3, h4, h5, h6) {
	line-height: 1.1;
	margin-block-end: 0;
}

main :where(h2, h3, h4, h5, h6) {
	margin-block-start: 2.5rem;
}

main :where(ul, ol) {
	padding-inline-start: 1.35em;
}

main :where(li + li) {
	margin-block-start: 0.35rem;
}

.wp-block-site-title {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

.wp-block-site-title a {
	text-decoration: none;
}

.site-header {
	border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent);
}

.site-header__inner {
	align-items: center;
	row-gap: 1rem;
}

.site-header__nav {
	font-size: 0.95rem;
	font-weight: 650;
}

.wp-block-navigation a {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.wp-block-navigation a:hover {
	text-decoration: underline;
}

.wp-block-separator {
	background: color-mix(in srgb, currentColor 12%, transparent) !important;
	border: 0 !important;
	height: 1px !important;
	margin-block: 2rem !important;
	max-width: 100%;
	opacity: 1 !important;
	width: 100% !important;
}

.wp-block-separator.is-style-wide,
.wp-block-separator.has-background.is-style-wide {
	background: #e8e8e8 !important;
	height: 1px !important;
	margin-block: 1rem 1.5rem !important;
	width: 100% !important;
}

.wp-block-separator.is-style-dots {
	background: none !important;
	height: auto !important;
	width: auto !important;
}

.wp-block-image,
.wp-block-gallery,
.wp-block-video,
.wp-block-embed,
.wp-block-table {
	margin-block: 2rem;
}

.wp-block-image img,
.wp-block-gallery img,
.wp-block-video video {
	display: block;
}

.wp-block-image figcaption,
.wp-block-gallery figcaption,
.wp-block-video figcaption,
.wp-block-embed figcaption {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	margin-block-start: 0.65rem;
}

.wp-block-embed iframe,
.wp-block-html iframe {
	display: block;
	inline-size: 100%;
}

.wp-block-embed__wrapper {
	overflow: hidden;
}

.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	border-collapse: collapse;
	inline-size: 100%;
}

.wp-block-table :where(th, td) {
	border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	padding: 0.65rem 0.75rem;
	text-align: left;
	vertical-align: top;
}

.wp-block-table th {
	font-weight: 700;
}

.wp-block-quote {
	border-left: 3px solid var(--wp--preset--color--accent);
	margin-inline-start: 0;
	padding-inline-start: 1.25rem;
}

.wp-block-quote cite {
	color: var(--wp--preset--color--muted);
	display: block;
	font-size: var(--wp--preset--font-size--small);
	margin-block-start: 0.75rem;
}

.wp-block-columns {
	gap: clamp(1rem, 4vw, 2rem);
}

.wp-block-spacer {
	max-height: 4rem;
}

.wp-block-button__link {
	border-radius: 0;
	font-weight: 700;
}

.wp-block-post-title a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.wp-block-post-date,
.wp-block-post-terms,
.wp-block-post-author-name {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.posts-feed-template .wp-block-post-template {
	display: grid;
	gap: 2rem;
}

.web-posts-listing-template .wp-block-post-template {
	display: grid;
	gap: 0;
}

.web-posts-listing-template__item {
	border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	padding-block: 0.85rem;
}

.web-posts-listing-template__item .wp-block-post-title {
	margin: 0;
}

.web-posts-listing-template__item .wp-block-post-date {
	color: var(--wp--preset--color--muted);
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}

.posts-feed-template .wp-block-post-title {
	margin-block-start: 0;
}

.posts-feed-template .wp-block-post-date {
	display: block;
	margin-block-start: 0.35rem;
}

.posts-feed-template .wp-block-post-excerpt {
	margin-block-start: 0.75rem;
}

.wp-block-query-pagination {
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	margin-block-start: 2.5rem;
	padding-block-start: 1rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
	color: inherit;
	font-weight: 650;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.wp-block-query-pagination .current {
	color: var(--wp--preset--color--muted);
}

.site-footer {
	background: #f3f4f1;
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.site-footer h2 {
	color: var(--wp--preset--color--muted);
	font-size: 0.82rem !important;
	letter-spacing: 0;
	margin-block-start: 0;
	text-transform: uppercase;
}

.site-footer__links {
	list-style: none;
	margin: 0.85rem 0 0;
	padding: 0;
}

.site-footer__links li + li {
	margin-block-start: 0.45rem;
}

.site-footer__links a {
	color: inherit;
	text-decoration: none;
}

.site-footer__links a:hover {
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.site-footer__meta {
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	color: var(--wp--preset--color--muted);
	margin-block-start: 2.5rem;
	padding-block-start: 1rem;
}

.lw-pattern {
	margin-block: var(--wp--preset--spacing--50);
}

.lw-pattern__eyebrow {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lw-pattern--editorial-intro,
.lw-pattern--meta-intro {
	border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	padding-bottom: var(--wp--preset--spacing--40);
}

.lw-pattern--project-grid .wp-block-image {
	margin-bottom: var(--wp--preset--spacing--30);
}

.lw-pattern--project-grid .wp-block-image img {
	aspect-ratio: 4 / 3;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.lw-pattern--note-callout {
	background: var(--wp--preset--color--base-2);
	border-left: 4px solid var(--wp--preset--color--contrast);
	padding: var(--wp--preset--spacing--40);
}

.photos-listing-template .wp-block-query {
	margin-block-start: 2.5rem;
}

.photos-listing-template .wp-block-post-template,
.scrapbook-listing-template .wp-block-post-template {
	gap: clamp(0.5rem, 2vw, 1rem);
}

.photos-listing-template .wp-block-post-featured-image,
.scrapbook-listing-template .wp-block-post-featured-image {
	margin: 0;
}

.photos-listing-template .wp-block-post-featured-image a,
.photos-listing-template .wp-block-post-featured-image img,
.scrapbook-listing-template .wp-block-post-featured-image a,
.scrapbook-listing-template .wp-block-post-featured-image img {
	display: block;
	inline-size: 100%;
}

.photos-listing-template .wp-block-post-featured-image img {
	aspect-ratio: 1;
	object-fit: cover;
}

.scrapbook-listing-template .wp-block-post-featured-image img {
	object-fit: cover;
}

.scrapbook-listing-template .wp-block-post-title {
	line-height: 1.2;
	margin-block-start: 0.6rem;
}

.single-photo-template__image {
	margin-block: 0 2.5rem;
}

.single-photo-template__image img {
	display: block;
	margin-inline: auto;
	max-height: 82vh;
	object-fit: contain;
	width: auto;
}

.single-photo-template__header {
	margin-block-start: 0;
}

.single-photo-template__header .wp-block-post-date {
	display: block;
	margin-block-start: 0.5rem;
}

.single-photo-template__footer {
	margin-block-start: 2.5rem;
}

.single-photo-template__nav {
	gap: 1rem;
}

.single-photo-template__nav a {
	color: inherit;
	font-weight: 650;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

@media (max-width: 700px) {
	main {
		font-size: 1rem;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) {
		gap: 1.5rem;
	}

	.site-header__inner {
		align-items: center;
		flex-wrap: nowrap;
	}

	.site-footer__columns {
		gap: 2rem;
	}

	.photos-listing-template .wp-block-post-template.wp-block-post-template-is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.scrapbook-listing-template .wp-block-post-template.wp-block-post-template-is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.web-posts-listing-template__item {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.25rem;
	}

	.single-photo-template__image img {
		max-height: none;
		width: 100%;
	}

	.single-photo-template__nav {
		align-items: flex-start;
		flex-direction: column;
	}
}
