/* Seoul Finds — WordPress layer on top of the SEOUL_EDIT_v13 stylesheet.
   assets/seoul.css is the mockup's own CSS, served unchanged. This file only
   adds what the mockup never had: post prose, archives, pagination, WP forms. */

/* --- Reading column ------------------------------------------------------ */
.entry-meta {
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--muted);
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.guide-body h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(27px, 2.4vw, 33px);
	line-height: 1.25;
	letter-spacing: -.3px;
	margin: 42px 0 14px;
}

.guide-body h3 {
	font-size: 19px;
	font-weight: 600;
	margin: 28px 0 8px;
}

.guide-body h4 {
	font-size: 16px;
	font-weight: 600;
	margin: 22px 0 6px;
}

.guide-body p + p {
	margin-top: 0;
}

.guide-body ol {
	padding-left: 24px;
	margin: 10px 0;
}

.guide-body li > ul,
.guide-body li > ol {
	margin: 6px 0;
}

.guide-body strong {
	font-weight: 600;
}

.guide-body hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 34px 0;
}

.guide-body blockquote {
	margin: 24px 0;
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--accent);
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.55;
	color: var(--ink);
}

.guide-body img,
.guide-body .wp-caption,
.guide-body figure {
	max-width: 100%;
	height: auto;
	margin: 24px 0;
}

.guide-body figcaption,
.guide-body .wp-caption-text {
	font-size: 12px;
	color: var(--muted);
	margin-top: 8px;
}

/* Tables: the mockup keeps guide tables to quiet bottom rules. */
.guide-body .table-scroll {
	overflow-x: auto;
	margin: 22px 0;
	-webkit-overflow-scrolling: touch;
}

.guide-body .table-scroll table {
	margin: 0;
}

.guide-body table {
	border-collapse: collapse;
	width: 100%;
	font-size: 14px;
	line-height: 1.65;
	margin: 22px 0;
}

.guide-body th,
.guide-body td {
	text-align: left;
	vertical-align: top;
	padding: 12px 10px;
	border-bottom: 1px solid var(--line);
}

.guide-body th {
	font-weight: 500;
	color: var(--muted);
}

@media (min-width: 900px) {
	.guide-body thead th,
	.guide-body tr:first-child > th:not(:first-child) {
		white-space: nowrap;
	}
}

.guide-body tr:first-child th,
.guide-body thead th {
	color: var(--ink);
	font-weight: 600;
}

/* Callouts used by the existing guides. */
.guide-body .note,
.guide-body .guide-callout {
	background: var(--sage);
	padding: 16px 20px;
	margin: 24px 0;
	font-size: 15px;
	line-height: 1.75;
	border-left: 2px solid var(--accent);
}

.guide-body .note.amber {
	background: #f6eee0;
}

.guide-body .note.green {
	background: #edf0e6;
}

.guide-body .note > :first-child {
	margin-top: 0;
}

.guide-body .note > :last-child {
	margin-bottom: 0;
}

.guide-body > :first-child {
	margin-top: 0;
}

/* --- Archives, search and pagination ------------------------------------ */
.archive-page {
	padding-block: 34px 80px;
}

.archive-head {
	margin: 26px 0 38px;
	max-width: 760px;
}

.archive-title {
	font-family: var(--serif);
	font-size: clamp(38px, 4.2vw, 57px);
	line-height: 1.17;
	font-weight: 400;
	letter-spacing: -.6px;
	margin-top: 14px;
	text-wrap: balance;
}

.archive-head .section-description {
	margin-top: 18px;
	font-size: 17px;
	line-height: 1.7;
}

.archive-head .section-description p {
	margin: 0;
}

.breadcrumb {
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.breadcrumb ol {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 0;
	padding: 0;
	margin: 0;
	list-style: none;
}

.breadcrumb li {
	display: inline-flex;
	align-items: baseline;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.breadcrumb li + li::before {
	content: "/";
	flex: 0 0 auto;
	margin-inline: 10px;
	color: var(--muted);
	opacity: .65;
}

.breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.breadcrumb a:hover {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.breadcrumb li[aria-current="page"] {
	color: var(--ink);
}

.pagination {
	margin-top: 54px;
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	font-size: 14px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 3px;
	color: var(--muted);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.pagination .page-numbers.dots {
	border: 0;
}

/* --- Post navigation ----------------------------------------------------- */
.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 58px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.post-nav-link {
	display: block;
	padding: 6px 0;
}

.post-nav-next {
	text-align: right;
}

.post-nav-link strong {
	display: block;
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	margin-top: 8px;
}

.post-nav-link:hover strong {
	color: var(--accent);
}

/* --- Illustrations on cards --------------------------------------------- */
.find-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	height: 100%;
	font-family: var(--serif);
	font-size: 27px;
	line-height: 1.22;
	color: #6d5c4c;
	padding: 20px;
}

.find-cover em {
	color: var(--accent);
	font-style: italic;
}

/* --- Hero layers ---------------------------------------------------------
   The mockup stacks real product photography; our original illustrations sit
   smaller inside their frame, so they are scaled up and the focus card is
   lifted above the small photo. */
.hero-main-photo > .hero-image-link img {
	transform: scale(1.38);
	transform-origin: 50% 62%;
}

.hero-main-photo .hero-product-caption {
	z-index: 2;
}

.hero-small-photo {
	z-index: 1;
}

.hero-small-photo img {
	transform: scale(1.05);
	transform-origin: center 55%;
}

/* --- Product page additions --------------------------------------------- */
/* The mockup's amber note lived inside buying-note prose; on a product page it
   sits in the story column, so it is styled here for that context. */
.product-story .note {
	background: #f6eee0;
	border-left: 2px solid var(--accent);
	padding: 18px 22px;
	margin: 20px 0 0;
}

.product-story .note ul {
	margin: 0;
	padding-left: 20px;
	display: grid;
	gap: 9px;
}

.product-story .note li {
	font-size: 15px;
	line-height: 1.7;
}

.product-story .signal-list strong {
	font-weight: 600;
	color: var(--ink);
}

.product-story .signal-list .text-link {
	font-size: 13px;
	min-height: 30px;
}

.product-story .section-note {
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
	margin-top: 18px;
}

.buying-context .note + * {
	margin-top: 0;
}

/* --- WordPress chrome ---------------------------------------------------- */
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

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

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	margin-inline: auto;
}

.guide-body .wp-block-image img,
.guide-body img.alignleft,
.guide-body img.alignright {
	max-width: 50%;
}

/* --- Mobile -------------------------------------------------------------- */
@media (max-width: 760px) {
	.guide-body {
		font-size: 16px;
		line-height: 1.85;
	}

	.guide-body h2 {
		font-size: 25px;
		margin-top: 34px;
	}

	.post-nav {
		grid-template-columns: 1fr;
	}

	.post-nav-next {
		text-align: left;
	}

	.find-cover {
		font-size: 21px;
	}

	.archive-page {
		padding-block: 18px 60px;
	}

	.archive-head {
		margin: 18px 0 26px;
	}
}
