/*
Theme Name: Room & Muse Child
Theme URI: https://roomandmuse.com/
Description: Presentation layer for Room & Muse. Child of Sahifa; no business logic here.
Author: Room & Muse
Template: sahifa
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: roomandmuse-child
*/

/* Room & Muse Child — presentation foundation. */

.rm-home {
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

.rm-hero {
	text-align: center;
	padding: 48px 16px;
}

.rm-hero h1 {
	font-size: 2.4rem;
	margin: 0 0 12px;
}

.rm-hero p {
	font-size: 1.15rem;
	color: #50575e;
	margin: 0;
}

.rm-section {
	margin-top: 40px;
}

.rm-section h2 {
	font-size: 1.5rem;
	margin-bottom: 16px;
}

.rm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.rm-card {
	display: block;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	text-decoration: none;
	color: inherit;
	background: #fff;
}

.rm-card:hover {
	border-color: #b9b9b9;
}

.rm-card strong {
	display: block;
	margin-bottom: 6px;
}

.rm-card span {
	color: #50575e;
	font-size: 0.9rem;
}

.rm-chip {
	display: inline-block;
	border: 1px solid #e2e2e2;
	border-radius: 999px;
	padding: 6px 14px;
	margin: 0 8px 8px 0;
	text-decoration: none;
	color: inherit;
	background: #fff;
}

@media (max-width: 640px) {
	.rm-hero {
		padding: 32px 8px;
	}

	.rm-hero h1 {
		font-size: 1.8rem;
	}

	.rm-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 12px;
	}
}

/* Room & Muse article reading experience (single posts only). */

.single-post .post-inner .entry {
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.075rem;
	line-height: 1.75;
}

.single-post .post-inner .entry p {
	margin: 0 0 1.4em;
}

.single-post .post-inner .entry h2 {
	font-size: 1.6rem;
	line-height: 1.35;
	margin: 2.2em 0 1em;
}

.single-post .post-inner .entry figure {
	margin: 2em 0;
}

.single-post .post-inner .entry figure img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.single-post .post-inner .entry ul {
	margin: 0 0 1.4em 1.2em;
}

.single-post .post-inner .entry li {
	margin-bottom: 0.5em;
}

.single-post .post-inner .entry .rm-why,
.single-post .post-inner .entry .rm-tip {
	background: #faf7f2;
	border-left: 3px solid #c9a87a;
	border-radius: 0 8px 8px 0;
	padding: 1em 1.2em;
}

.single-post .post-inner .entry ul.rm-keys {
	list-style: disc;
	background: #fff;
	border: 1px solid #eee5d8;
	border-radius: 8px;
	padding: 1em 1.2em 1em 2.4em;
}

@media (max-width: 640px) {
	.single-post .post-inner .entry {
		font-size: 1rem;
		line-height: 1.7;
		padding-left: 4px;
		padding-right: 4px;
	}

	.single-post .post-inner .entry h2 {
		font-size: 1.35rem;
	}
}
