/*
Theme Name: Slow Abroad
Theme URI: https://example.com/slow-abroad
Author: Slow Abroad
Author URI: https://example.com
Description: A playful editorial travel journal theme with scrapbook details, flexible Gutenberg content, and a customizable home page.
Version: 1.2.2
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slow-abroad
Tags: blog, travel, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, editor-style
*/

/* WordPress requires this file. The public-facing styles live in assets/css/main.css. */

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

body {
	margin: 0;
	background: #fbfaf6;
	color: #1b2a4a;
}

a {
	color: inherit;
	text-underline-offset: 0.18em;
}

.wrap {
	width: min(100% - 2rem, 1240px);
	margin-inline: auto;
}

.archive-main,
.singular-main,
.error-main {
	min-height: 60vh;
	padding-block: clamp(4rem, 8vw, 8rem);
}

.archive-header {
	max-width: 760px;
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.archive-title,
.page-title,
.entry-title {
	margin-block: 0 1rem;
	font-size: clamp(2.5rem, 6vw, 5.5rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.archive-description,
.entry-deck {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(1.5rem, 3vw, 2.75rem);
}

.entry-shell,
.comments-area,
.post-navigation {
	width: min(100% - 2rem, 760px);
	margin-inline: auto;
}

.entry-header {
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.entry-hero {
	margin-block: 0 clamp(2rem, 5vw, 4rem);
}

.entry-hero img {
	display: block;
	width: 100%;
	border-radius: 1rem;
}

.entry-content > * {
	margin-block: 0 1.5em;
}

.entry-content > :where(.alignwide, .alignfull) {
	width: auto;
	max-width: none;
}

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid currentcolor;
}

.navigation.pagination,
.post-navigation {
	margin-top: clamp(3rem, 6vw, 6rem);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
}

.comments-area {
	margin-top: clamp(3rem, 6vw, 6rem);
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	list-style: none;
}

.comment-body {
	margin-block: 1.5rem;
	padding: 1.25rem;
	border: 1px solid rgba(24, 53, 42, 0.2);
	border-radius: 0.75rem;
}

.error-404 {
	max-width: 760px;
	text-align: center;
}

.error-404__actions {
	display: grid;
	justify-items: center;
	gap: 2rem;
	margin-top: 2rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #fff;
	color: #17281f;
}

