/* ==========================================================================
   RoamSisters — main stylesheet
   Palette: Deep Navy + Terracotta, warm cream background
   ========================================================================== */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/montserrat-600.woff2') format('woff2');
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/montserrat-700.woff2') format('woff2');
}

@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/playfair-italic-600.woff2') format('woff2');
}

:root {
	--rs-primary: #1B2A41;
	--rs-primary-dark: #101A2B;
	--rs-accent: #D9643A;
	--rs-accent-dark: #C1502A;
	--rs-text: #23303F;
	--rs-text-muted: #5C6B7A;
	--rs-bg: #FDF8F3;
	--rs-bg-alt: #F6EEE4;
	--rs-border: #E8DCCB;

	--rs-font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
	--rs-font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
	--rs-font-serif: 'Playfair Display', Georgia, serif;

	--rs-radius: 12px;
	--rs-shadow: 0 1px 3px rgba(16, 26, 43, 0.08);
	--rs-shadow-hover: 0 10px 24px rgba(16, 26, 43, 0.14);
	--rs-max-width: 1200px;
	--rs-max-width-narrow: 760px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--rs-bg);
	color: var(--rs-text);
	font-family: var(--rs-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--rs-primary);
	text-decoration: none;
}

a:hover {
	color: var(--rs-accent-dark);
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--rs-font-heading);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 0.5em;
	color: var(--rs-primary);
}

button {
	font-family: inherit;
}

.wrap {
	max-width: var(--rs-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.wrap-narrow {
	max-width: var(--rs-max-width-narrow);
}

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--rs-primary-dark);
	color: #fff;
	padding: 10px 18px;
	z-index: 1000;
	border-radius: 0 0 6px 0;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--rs-accent);
	outline-offset: 2px;
}

.btn {
	display: inline-block;
	font-family: var(--rs-font-heading);
	font-weight: 600;
	font-size: 15px;
	padding: 12px 24px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-accent {
	background: var(--rs-accent);
	color: #fff;
}

.btn-accent:hover {
	background: var(--rs-accent-dark);
	color: #fff;
}

.btn-primary {
	background: var(--rs-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--rs-primary-dark);
	color: #fff;
}

/* ---------- Category overline ---------- */
.category-overline {
	display: inline-block;
	font-family: var(--rs-font-heading);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rs-accent-dark);
	border-bottom: 2px solid var(--rs-accent);
	padding-bottom: 6px;
	margin-bottom: 16px;
}

.category-overline:hover {
	color: var(--rs-primary);
	border-color: var(--rs-primary);
}

.post-card-body .category-overline {
	font-size: 11px;
	letter-spacing: 0.08em;
	padding-bottom: 4px;
	margin-bottom: 10px;
}

.dot-sep {
	margin: 0 6px;
	color: var(--rs-text-muted);
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
	border-bottom: 1px solid var(--rs-border);
	background: var(--rs-bg);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	padding-bottom: 16px;
	gap: 24px;
}

.rs-logo {
	font-family: var(--rs-font-heading);
	font-weight: 700;
	font-size: 24px;
	color: var(--rs-primary);
	letter-spacing: -0.01em;
}

.rs-logo-accent {
	color: var(--rs-accent);
}

.site-logo-text {
	display: inline-block;
}

.custom-logo-link img {
	max-height: 48px;
	width: auto;
}

.site-nav {
	display: flex;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.nav-menu .menu-item a,
.nav-menu li a {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	font-family: var(--rs-font-heading);
	font-weight: 500;
	font-size: 14.5px;
	color: var(--rs-text);
}

.nav-menu .menu-item a:hover,
.nav-menu li a:hover {
	background: var(--rs-bg-alt);
	color: var(--rs-primary);
}

.site-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-toggle,
.nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--rs-border);
	border-radius: 8px;
	color: var(--rs-primary);
	cursor: pointer;
}

.search-toggle:hover,
.nav-toggle:hover {
	border-color: var(--rs-primary);
	color: var(--rs-primary);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
}

.nav-toggle-bar {
	display: block;
	height: 2px;
	width: 20px;
	margin: 0 auto;
	background: var(--rs-primary);
	border-radius: 1px;
}

.header-search {
	border-top: 1px solid var(--rs-border);
	background: var(--rs-bg-alt);
}

.header-search .wrap {
	padding: 16px 24px;
}

.header-search .search-form {
	max-width: 480px;
}

/* ==========================================================================
   Card grid
   ========================================================================== */

.site-main {
	padding-top: 40px;
	padding-bottom: 64px;
}

.archive-header {
	margin-bottom: 32px;
	max-width: 720px;
}

.archive-eyebrow {
	font-family: var(--rs-font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rs-accent-dark);
	margin: 0 0 6px;
}

.archive-title {
	font-size: clamp(28px, 4vw, 40px);
	margin-bottom: 8px;
}

.archive-description {
	color: var(--rs-text-muted);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 28px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--rs-bg);
	min-width: 0;
}

.post-card-media {
	position: relative;
	display: block;
}

.card-blob-wash {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 82%;
	height: 82%;
	background: var(--rs-bg-alt);
	border-radius: 48% 52% 60% 40% / 55% 45% 55% 45%;
	z-index: 0;
}

.post-card-photo {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 50% 50% 14px 14px;
	overflow: hidden;
	background: var(--rs-bg-alt);
	box-shadow: var(--rs-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card:hover .post-card-photo {
	box-shadow: var(--rs-shadow-hover);
	transform: translateY(-2px);
}

.post-card-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card-body {
	padding-top: 16px;
}

.post-card-title {
	font-size: 19px;
	margin-bottom: 8px;
}

.post-card-title a {
	color: var(--rs-primary);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-title a:hover {
	color: var(--rs-accent-dark);
}

.post-card-excerpt {
	color: var(--rs-text-muted);
	font-size: 15px;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-meta {
	font-size: 13px;
	color: var(--rs-text-muted);
}

/* ---------- Homepage hero — featured post ---------- */
.hero-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	margin-bottom: 56px;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--rs-border);
}

.hero-featured-body {
	max-width: 46ch;
}

.hero-pullquote {
	font-family: var(--rs-font-serif);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.32;
	color: var(--rs-primary);
	margin: 0 0 20px;
}

.hero-pullquote .quote-mark {
	color: var(--rs-accent);
}

.hero-featured-title {
	font-size: 21px;
	margin-bottom: 10px;
}

.hero-featured-title a {
	color: var(--rs-text);
}

.hero-featured-title a:hover {
	color: var(--rs-accent-dark);
}

.hero-featured-meta {
	font-size: 13.5px;
	color: var(--rs-text-muted);
}

.hero-featured-media {
	position: relative;
	display: block;
}

.hero-blob-wash {
	position: absolute;
	top: -28px;
	right: -28px;
	width: 78%;
	height: 78%;
	background: var(--rs-bg-alt);
	border-radius: 48% 52% 60% 40% / 55% 45% 55% 45%;
	z-index: 0;
}

.hero-featured-photo {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	border-radius: 120px 120px 20px 20px;
	overflow: hidden;
	box-shadow: var(--rs-shadow-hover);
	background: var(--rs-bg-alt);
}

.hero-featured-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-grid-related {
	margin-top: 20px;
}

.related-posts {
	max-width: var(--rs-max-width);
	margin: 64px auto 0;
	padding: 0 24px 64px;
	border-top: 1px solid var(--rs-border);
	padding-top: 40px;
}

.related-posts-title {
	font-size: 22px;
	margin-bottom: 24px;
}

/* ---------- No results / 404 ---------- */
.no-results {
	max-width: 480px;
	margin: 40px auto;
	text-align: center;
}

.no-results .search-form {
	margin: 24px 0;
	justify-content: center;
}

.error-code {
	font-family: var(--rs-font-heading);
	font-size: 72px;
	font-weight: 700;
	color: var(--rs-accent);
	margin: 0;
}

/* ---------- Search form ---------- */
.search-form {
	display: flex;
	gap: 8px;
}

.search-field {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--rs-border);
	border-radius: 999px;
	font-size: 15px;
	font-family: var(--rs-font-body);
}

.search-field:focus {
	border-color: var(--rs-primary);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.pagination ul,
.pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.pagination .page-numbers li {
	display: inline-flex;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--rs-border);
	font-family: var(--rs-font-heading);
	font-size: 14px;
	color: var(--rs-text);
}

.pagination span.page-numbers.current {
	background: var(--rs-primary);
	border-color: var(--rs-primary);
	color: #fff;
}

.pagination a.page-numbers:hover {
	border-color: var(--rs-primary);
	color: var(--rs-primary);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
	margin-bottom: 20px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: var(--rs-text-muted);
}

.breadcrumbs li {
	display: flex;
	align-items: center;
}

.breadcrumbs a {
	color: var(--rs-text-muted);
}

.breadcrumbs a:hover {
	color: var(--rs-primary);
}

.breadcrumbs [aria-current="page"] {
	color: var(--rs-text);
	font-weight: 500;
}

.breadcrumbs-sep {
	color: var(--rs-border);
}

/* ==========================================================================
   Single article
   ========================================================================== */

.single-article-header {
	max-width: 100%;
	margin-bottom: 24px;
}

.single-article-title {
	font-size: clamp(28px, 4.5vw, 42px);
	margin-bottom: 14px;
}

.single-article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--rs-text-muted);
	font-size: 14.5px;
}

.author-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	margin-right: 2px;
}

.single-article-hero {
	border-radius: 120px 120px 20px 20px;
	overflow: hidden;
	margin-bottom: 32px;
	box-shadow: var(--rs-shadow);
}

.single-article-hero img {
	width: 100%;
	display: block;
}

.single-article-content {
	font-size: 18px;
	line-height: 1.75;
	color: var(--rs-text);
}

.single-article-content > * + * {
	margin-top: 1.3em;
}

.single-article-content h2 {
	font-size: 27px;
	margin-top: 1.6em;
}

.single-article-content h3 {
	font-size: 22px;
	margin-top: 1.4em;
}

.single-article-content p,
.single-article-content li {
	max-width: 68ch;
}

.single-article-content ul,
.single-article-content ol {
	padding-left: 1.4em;
	list-style: revert;
}

.single-article-content blockquote {
	position: relative;
	margin: 1.8em 0;
	padding: 0 0 0 40px;
	border: none;
	font-family: var(--rs-font-serif);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.4;
	color: var(--rs-primary);
	max-width: 56ch;
}

.single-article-content blockquote p {
	margin: 0;
}

.single-article-content blockquote::before {
	content: '\201C';
	position: absolute;
	top: -0.28em;
	left: -6px;
	font-family: var(--rs-font-serif);
	font-style: normal;
	font-weight: 600;
	font-size: 2.6em;
	line-height: 1;
	color: var(--rs-accent);
}

/* ---------- SASWP FAQ shortcode ----------
   The plugin nests every question and answer for the whole FAQ block
   inside one outer, classless <h3> (question h3s and answer text all
   live inside it), so descendants inherit heading-sized bold text via
   normal CSS inheritance with nothing to target them individually.
   summary/section/.saswp_faq_tiny_content are specific enough within
   article content to scope this safely, and it applies to every
   article using the shortcode since it's keyed off .single-article-content. */
.single-article-content section {
	display: block;
	margin-top: 1.2em;
}

.single-article-content summary {
	display: block;
	font-family: var(--rs-font-heading);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--rs-primary);
}

.single-article-content summary h3 {
	font: inherit;
	color: inherit;
	margin: 0;
}

.single-article-content .saswp_faq_tiny_content,
.single-article-content .saswp_faq_tiny_content * {
	font-family: var(--rs-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.75;
	color: var(--rs-text);
}

.single-article-content img,
.single-article-content figure {
	border-radius: var(--rs-radius);
}

.single-article-content figcaption {
	font-size: 14px;
	color: var(--rs-text-muted);
	margin-top: 8px;
}

.single-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15.5px;
}

.single-article-content table th,
.single-article-content table td {
	border: 1px solid var(--rs-border);
	padding: 10px 12px;
	text-align: left;
}

.single-article-content table th {
	background: var(--rs-bg-alt);
	font-family: var(--rs-font-heading);
}

.single-article-content a {
	text-decoration: underline;
	text-decoration-color: rgba(217, 100, 58, 0.45);
	text-underline-offset: 3px;
}

.single-article-footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--rs-border);
}

.single-article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-pill {
	font-size: 13px;
	padding: 6px 12px;
	border: 1px solid var(--rs-border);
	border-radius: 999px;
	color: var(--rs-text-muted);
}

.tag-pill:hover {
	border-color: var(--rs-primary);
	color: var(--rs-primary);
}

/* ---------- Author / "About RoamSisters" box ---------- */
.author-box {
	display: flex;
	gap: 18px;
	margin-top: 32px;
	padding: 24px;
	background: var(--rs-bg-alt);
	border-left: 4px solid var(--rs-accent);
	border-radius: 0 var(--rs-radius) var(--rs-radius) 0;
}

.author-box-avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.author-box-title {
	font-size: 17px;
	margin-bottom: 8px;
}

.author-box-bio {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--rs-text-muted);
	margin: 0 0 10px;
	max-width: 62ch;
}

.author-box-link {
	font-family: var(--rs-font-heading);
	font-weight: 600;
	font-size: 14.5px;
}

@media (max-width: 480px) {
	.author-box {
		flex-direction: column;
		gap: 12px;
	}
}

/* ---------- Comments ---------- */
.comments-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--rs-border);
}

.comments-title {
	font-size: 22px;
}

.comment-list .comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--rs-border);
}

.comment-reply-title {
	font-size: 20px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--rs-border);
	border-radius: 8px;
	font-family: var(--rs-font-body);
	font-size: 15px;
	margin-top: 4px;
}

.comment-form p {
	margin: 14px 0;
}

.comment-form .form-submit input {
	font-family: var(--rs-font-heading);
	font-weight: 600;
	background: var(--rs-primary);
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 999px;
	cursor: pointer;
}

.comment-form .form-submit input:hover {
	background: var(--rs-primary-dark);
}

/* ==========================================================================
   Static pages (About / Privacy / Contact / Cookie Policy)
   ========================================================================== */

.static-page-title {
	font-size: clamp(28px, 4.5vw, 40px);
	margin-bottom: 24px;
}

.static-page-content {
	font-size: 17.5px;
	line-height: 1.75;
}

.static-page-content > * + * {
	margin-top: 1.2em;
}

.static-page-content h2 {
	font-size: 24px;
	margin-top: 1.4em;
}

.static-page-content ul,
.static-page-content ol {
	padding-left: 1.4em;
	list-style: revert;
}

/* ==========================================================================
   Footer — single minimal row (blog.google-style bar)
   ========================================================================== */

.site-footer {
	background: var(--rs-primary-dark);
	color: #fff;
	margin-top: 64px;
}

.site-footer-inner {
	padding: 20px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
}

.footer-logo {
	display: inline-block;
	flex-shrink: 0;
}

.footer-logo .rs-logo {
	font-size: 18px;
}

.site-footer .rs-logo {
	color: #fff;
}

.site-footer .rs-logo-accent {
	color: var(--rs-accent);
}

.footer-nav {
	flex: 1 1 auto;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.footer-nav a {
	color: #D7DEE7;
	font-size: 14px;
}

.footer-nav a:hover {
	color: var(--rs-accent);
}

.footer-copyright {
	margin: 0 0 0 auto;
	flex-shrink: 0;
	font-size: 13px;
	color: #A8B3C2;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.hero-featured {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.hero-featured-photo {
		aspect-ratio: 16 / 10;
		border-radius: 24px;
	}

	.hero-blob-wash {
		display: none;
	}

	.hero-featured-body {
		max-width: none;
	}
}

@media (max-width: 782px) {
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--rs-bg);
		border-bottom: 1px solid var(--rs-border);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.2s ease;
	}

	.site-nav.is-open {
		max-height: 480px;
	}

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		padding: 8px 24px 20px;
		gap: 0;
	}

	.nav-menu .menu-item a,
	.nav-menu li a {
		padding: 12px 8px;
		border-radius: 0;
		border-bottom: 1px solid var(--rs-border);
	}
}

@media (max-width: 600px) {
	.post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-article-hero {
		border-radius: 24px;
	}

	body {
		font-size: 16px;
	}

	.single-article-content {
		font-size: 17px;
	}

	.site-footer-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-menu {
		justify-content: center;
	}

	.footer-copyright {
		margin: 0;
	}
}
