/*
Theme Name: RentRevive
Theme URI: https://rentrevive.com/
Author: RentRevive
Author URI: https://rentrevive.com/
Description: A warm, editorial WordPress theme for practical, renter-friendly home living.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rentrevive
Tags: blog, custom-logo, featured-images, one-column, two-columns, translation-ready
*/

:root {
	--rr-cream: #f7f4ee;
	--rr-cream-deep: #eeebe3;
	--rr-sage: #8a9a83;
	--rr-sage-dark: #667862;
	--rr-terracotta: #c98268;
	--rr-ink: #252525;
	--rr-muted: #696962;
	--rr-border: #e8e5de;
	--rr-white: #fff;
	--rr-radius: 18px;
	--rr-shadow: 0 18px 60px rgba(37, 37, 37, .08);
	--rr-content: 1180px;
	--rr-reading: 780px;
	--rr-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--rr-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--rr-cream);
	color: var(--rr-ink);
	font-family: var(--rr-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .17em; }
a:hover { color: var(--rr-sage-dark); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--rr-white);
	clip: auto !important;
	clip-path: none;
	color: var(--rr-ink);
	display: block;
	font-weight: 700;
	height: auto;
	left: 12px;
	padding: 12px 16px;
	top: 12px;
	width: auto;
	z-index: 100000;
}

.rr-container { width: min(calc(100% - 48px), var(--rr-content)); margin-inline: auto; }
.rr-reading { width: min(calc(100% - 48px), var(--rr-reading)); margin-inline: auto; }
.rr-section { padding: 88px 0; }
.rr-section--tight { padding: 54px 0; }
.rr-eyebrow {
	color: var(--rr-sage-dark);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.rr-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}
.rr-section-heading h2,
.rr-page-title {
	font-family: var(--rr-serif);
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.05;
	margin: 8px 0 0;
}
.rr-section-heading p { color: var(--rr-muted); margin: 0; max-width: 480px; }

.rr-site-header {
	background: rgba(247, 244, 238, .96);
	border-bottom: 1px solid var(--rr-border);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(12px);
}
.rr-header-inner { align-items: center; display: flex; gap: 28px; min-height: 78px; }
.rr-brand { align-items: center; display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.rr-brand img { height: 43px; width: auto; }
.rr-brand-mark { color: var(--rr-ink); font-family: var(--rr-serif); font-size: 1.55rem; letter-spacing: -.04em; }
.rr-brand-mark span { color: var(--rr-sage-dark); }
.rr-primary-nav { margin-left: auto; }
.rr-primary-nav ul { align-items: center; display: flex; flex-wrap: wrap; gap: 17px; list-style: none; margin: 0; padding: 0; }
.rr-primary-nav a { color: var(--rr-ink); font-size: .78rem; font-weight: 700; text-decoration: none; }
.rr-primary-nav a:hover, .rr-primary-nav .current-menu-item > a { color: var(--rr-sage-dark); }
.rr-header-actions { align-items: center; display: flex; gap: 12px; }
.rr-icon-button {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 50%;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 42px;
}
.rr-icon-button:hover { background: var(--rr-cream-deep); border-color: var(--rr-border); }
.rr-icon-button svg { height: 19px; width: 19px; }
.rr-menu-toggle { display: none; }
.rr-mobile-panel { display: none; }

.rr-hero { padding: 84px 0 96px; }
.rr-hero-grid { align-items: center; display: grid; gap: clamp(36px, 6vw, 92px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.rr-hero h1 { font-family: var(--rr-serif); font-size: clamp(3.4rem, 7vw, 6.9rem); font-weight: 500; letter-spacing: -.065em; line-height: .95; margin: 14px 0 24px; max-width: 670px; }
.rr-hero p { color: var(--rr-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 500px; }
.rr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rr-button {
	align-items: center;
	background: var(--rr-ink);
	border: 1px solid var(--rr-ink);
	border-radius: 999px;
	color: var(--rr-white);
	display: inline-flex;
	font-size: .8rem;
	font-weight: 800;
	gap: 10px;
	justify-content: center;
	padding: 13px 21px;
	text-decoration: none;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.rr-button:hover { background: var(--rr-sage-dark); border-color: var(--rr-sage-dark); color: var(--rr-white); transform: translateY(-2px); }
.rr-button--sage { background: var(--rr-sage); border-color: var(--rr-sage); color: var(--rr-white); }
.rr-button--light { background: transparent; border-color: var(--rr-border); color: var(--rr-ink); }
.rr-button--light:hover { background: var(--rr-white); border-color: var(--rr-white); color: var(--rr-ink); }
.rr-hero-media { border-radius: 130px 22px 22px 22px; box-shadow: var(--rr-shadow); overflow: hidden; position: relative; }
.rr-hero-media img { aspect-ratio: 1.05 / 1; object-fit: cover; width: 100%; }
.rr-hero-media::after { border: 1px solid rgba(255, 255, 255, .7); border-radius: 110px 14px 14px 14px; content: ""; inset: 14px; pointer-events: none; position: absolute; }

.rr-category-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.rr-category-card { background: var(--rr-white); border-radius: var(--rr-radius); overflow: hidden; text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
.rr-category-card:hover { box-shadow: var(--rr-shadow); color: var(--rr-ink); transform: translateY(-4px); }
.rr-category-card:nth-child(1) { grid-column: span 2; }
.rr-category-card:nth-child(2) { grid-column: span 2; }
.rr-category-card img { aspect-ratio: 1.65 / 1; object-fit: cover; width: 100%; }
.rr-category-copy { padding: 19px 20px 22px; }
.rr-category-copy h3 { font-family: var(--rr-serif); font-size: 1.65rem; font-weight: 500; line-height: 1.1; margin: 0 0 5px; }
.rr-category-copy p { color: var(--rr-muted); font-size: .85rem; margin: 0; }

.rr-article-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.rr-article-card { min-width: 0; }
.rr-article-card a { text-decoration: none; }
.rr-article-card-image { background: var(--rr-cream-deep); border-radius: var(--rr-radius); margin-bottom: 17px; overflow: hidden; }
.rr-article-card-image img { aspect-ratio: 1.3 / 1; object-fit: cover; transition: transform .45s ease; width: 100%; }
.rr-article-card:hover .rr-article-card-image img { transform: scale(1.04); }
.rr-article-meta { color: var(--rr-sage-dark); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rr-article-card h3 { font-family: var(--rr-serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin: 8px 0; }
.rr-article-card p { color: var(--rr-muted); font-size: .88rem; margin: 0; }
.rr-article-details { color: var(--rr-muted); font-size: .72rem; margin-top: 11px; }
.rr-article-details span + span::before { content: "·"; margin: 0 8px; }

.rr-topics { background: var(--rr-sage); color: var(--rr-white); }
.rr-topics .rr-eyebrow { color: rgba(255,255,255,.75); }
.rr-topics h2 { color: var(--rr-white); }
.rr-topic-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.rr-topic-list a { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: var(--rr-white); font-size: .85rem; padding: 10px 16px; text-decoration: none; }
.rr-topic-list a:hover { background: var(--rr-white); color: var(--rr-sage-dark); }

.rr-feature { background: var(--rr-ink); color: var(--rr-white); overflow: hidden; }
.rr-feature-grid { align-items: center; display: grid; gap: 60px; grid-template-columns: 1fr 1fr; }
.rr-feature h2 { font-family: var(--rr-serif); font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.05em; line-height: .97; margin: 10px 0 22px; }
.rr-feature p { color: rgba(255,255,255,.72); max-width: 470px; }
.rr-feature .rr-eyebrow { color: #d5c5a6; }
.rr-feature .rr-button { background: var(--rr-white); border-color: var(--rr-white); color: var(--rr-ink); margin-top: 18px; }
.rr-feature .rr-button:hover { background: var(--rr-terracotta); border-color: var(--rr-terracotta); color: var(--rr-white); }
.rr-feature-media { border-radius: 22px; overflow: hidden; transform: rotate(2deg); }
.rr-feature-media img { aspect-ratio: 1.15 / 1; object-fit: cover; width: 100%; }

.rr-pinterest { background: var(--rr-white); }
.rr-pinterest-intro { align-items: end; display: flex; justify-content: space-between; gap: 24px; }
.rr-pinterest-intro p { color: var(--rr-muted); margin: 0; max-width: 480px; }
.rr-pinterest-grid { columns: 4 180px; column-gap: 18px; margin-top: 30px; }
.rr-pin { break-inside: avoid; display: inline-block; margin: 0 0 18px; position: relative; width: 100%; }
.rr-pin a { display: block; overflow: hidden; border-radius: 14px; }
.rr-pin img { width: 100%; transition: transform .35s ease; }
.rr-pin a:hover img { transform: scale(1.04); }
.rr-pin-caption { background: var(--rr-white); border-radius: 0 0 12px 12px; bottom: 0; font-family: var(--rr-serif); font-size: 1rem; left: 0; margin: 0; padding: 10px 12px; position: absolute; right: 0; transform: translateY(100%); transition: transform .25s ease; }
.rr-pin:hover .rr-pin-caption { transform: translateY(0); }
.rr-pinterest-cta { margin-top: 28px; text-align: center; }
.rr-pinterest-empty { background: var(--rr-cream); border-radius: var(--rr-radius); color: var(--rr-muted); margin-top: 28px; padding: 30px; text-align: center; }

.rr-newsletter { background: var(--rr-terracotta); color: var(--rr-white); }
.rr-newsletter-grid { align-items: center; display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.rr-newsletter h2 { font-family: var(--rr-serif); font-size: clamp(2.4rem, 4vw, 4.3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin: 8px 0 14px; }
.rr-newsletter p { color: rgba(255,255,255,.85); margin: 0; max-width: 500px; }
.rr-newsletter-form { display: flex; gap: 8px; }
.rr-newsletter-form input { background: var(--rr-white); border: 0; border-radius: 999px; min-width: 0; padding: 15px 18px; width: 100%; }
.rr-newsletter-form .rr-button { background: var(--rr-ink); border-color: var(--rr-ink); flex: 0 0 auto; }
.rr-newsletter .rr-eyebrow { color: rgba(255,255,255,.72); }

.rr-site-footer { background: var(--rr-ink); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.rr-footer-grid { display: grid; gap: 40px; grid-template-columns: 1.5fr repeat(3, 1fr); }
.rr-site-footer h2, .rr-site-footer h3 { color: var(--rr-white); }
.rr-site-footer h2 { font-family: var(--rr-serif); font-size: 2rem; font-weight: 500; margin: 0 0 11px; }
.rr-site-footer h3 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.rr-site-footer p { font-size: .85rem; max-width: 300px; }
.rr-footer-links { list-style: none; margin: 0; padding: 0; }
.rr-footer-links li { margin: 8px 0; }
.rr-footer-links a { font-size: .85rem; text-decoration: none; }
.rr-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.rr-footer-social a { border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: inline-flex; height: 35px; justify-content: center; padding-top: 7px; text-align: center; width: 35px; }
.rr-footer-bottom { border-top: 1px solid rgba(255,255,255,.14); display: flex; font-size: .75rem; justify-content: space-between; margin-top: 50px; padding-top: 21px; }

.rr-page-hero { background: var(--rr-cream-deep); padding: 72px 0; }
.rr-page-hero p { color: var(--rr-muted); max-width: 660px; }
.rr-archive-layout { display: grid; gap: 54px; grid-template-columns: minmax(0, 1fr) 280px; }
.rr-sidebar { border-left: 1px solid var(--rr-border); padding-left: 28px; }
.rr-widget { border-bottom: 1px solid var(--rr-border); margin-bottom: 28px; padding-bottom: 24px; }
.rr-widget-title { font-size: .72rem; letter-spacing: .12em; margin: 0 0 13px; text-transform: uppercase; }
.rr-widget ul { list-style: none; margin: 0; padding: 0; }
.rr-widget li { margin: 7px 0; }
.rr-widget a { font-size: .85rem; text-decoration: none; }
.rr-pagination { display: flex; gap: 8px; margin-top: 48px; }
.rr-pagination .page-numbers { align-items: center; border: 1px solid var(--rr-border); border-radius: 50%; display: inline-flex; height: 38px; justify-content: center; text-decoration: none; width: 38px; }
.rr-pagination .current, .rr-pagination a:hover { background: var(--rr-sage); border-color: var(--rr-sage); color: var(--rr-white); }

.rr-single-header { padding: 75px 0 42px; text-align: center; }
.rr-single-header h1 { font-family: var(--rr-serif); font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 500; letter-spacing: -.055em; line-height: 1; margin: 14px auto 22px; max-width: 950px; }
.rr-single-intro { color: var(--rr-muted); font-size: 1.1rem; margin: 0 auto 22px; max-width: 700px; }
.rr-byline { color: var(--rr-muted); font-size: .78rem; }
.rr-single-image { margin: 20px auto 42px; max-width: 1120px; }
.rr-single-image img { border-radius: 24px; max-height: 680px; object-fit: cover; width: 100%; }
.rr-prose { font-size: 1.08rem; }
.rr-prose > * { margin-bottom: 1.35em; }
.rr-prose h2, .rr-prose h3 { font-family: var(--rr-serif); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: 2em; }
.rr-prose h2 { font-size: 2.2rem; }
.rr-prose h3 { font-size: 1.6rem; }
.rr-prose blockquote { border-left: 4px solid var(--rr-terracotta); font-family: var(--rr-serif); font-size: 1.65rem; font-style: italic; margin-inline: 0; padding: 12px 28px; }
.rr-prose img { border-radius: 15px; }
.rr-prose table { border-collapse: collapse; display: block; max-width: 100%; overflow-x: auto; width: 100%; }
.rr-prose th, .rr-prose td { border: 1px solid var(--rr-border); padding: 10px; text-align: left; }
.rr-prose code { background: var(--rr-cream-deep); border-radius: 4px; padding: 2px 5px; }
.rr-toc { background: var(--rr-cream-deep); border-radius: 15px; margin: 0 0 34px; padding: 18px 22px; }
.rr-toc summary { cursor: pointer; font-weight: 800; }
.rr-toc ol { margin: 12px 0 0; padding-left: 22px; }
.rr-author-box { align-items: center; background: var(--rr-cream-deep); border-radius: var(--rr-radius); display: flex; gap: 18px; margin-top: 58px; padding: 24px; }
.rr-author-box img { border-radius: 50%; height: 70px; object-fit: cover; width: 70px; }
.rr-author-box h3 { font-family: var(--rr-serif); font-size: 1.4rem; font-weight: 500; margin: 0; }
.rr-author-box p { color: var(--rr-muted); font-size: .86rem; margin: 3px 0 0; }
.rr-comments { margin-top: 60px; }
.rr-comments h2 { font-family: var(--rr-serif); font-size: 2rem; font-weight: 500; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { border-bottom: 1px solid var(--rr-border); padding: 20px 0; }
.comment-meta { font-size: .78rem; }
.comment-content { font-size: .9rem; }
.comment-respond input, .comment-respond textarea, .rr-search-form input { background: var(--rr-white); border: 1px solid var(--rr-border); border-radius: 8px; padding: 12px 14px; width: 100%; }
.comment-form-author, .comment-form-email { display: inline-block; margin-right: 2%; vertical-align: top; width: 48%; }
.comment-form-url { width: 98%; }
.comment-form-comment { margin-top: 15px; }
.comment-form .submit { background: var(--rr-ink); border: 0; border-radius: 999px; color: var(--rr-white); padding: 12px 19px; }

.rr-search-form { display: flex; gap: 8px; margin-top: 24px; max-width: 620px; }
.rr-search-form .rr-button { border: 0; flex: 0 0 auto; }
.rr-empty { background: var(--rr-white); border-radius: var(--rr-radius); padding: 36px; text-align: center; }
.rr-empty h2 { font-family: var(--rr-serif); font-size: 2rem; font-weight: 500; }
.rr-404 { padding: 110px 0; text-align: center; }
.rr-404 h1 { font-family: var(--rr-serif); font-size: clamp(3rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.06em; line-height: .92; margin: 12px 0 20px; }
.rr-404 p { color: var(--rr-muted); margin: 0 auto 28px; max-width: 480px; }

.rr-ad-slot { border-block: 1px solid var(--rr-border); color: var(--rr-muted); font-size: .65rem; letter-spacing: .12em; margin: 0 auto 28px; max-width: 970px; padding: 11px; text-align: center; text-transform: uppercase; }
.rr-skip-ad { margin-top: 0; }

.alignwide { margin-left: auto; margin-right: auto; max-width: 1180px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-block-button__link { background: var(--rr-sage); border-radius: 999px; }
.wp-block-quote { border-left-color: var(--rr-terracotta); }

@media (max-width: 1050px) {
	.rr-primary-nav { display: none; }
	.rr-header-actions { margin-left: auto; }
	.rr-menu-toggle { display: inline-flex; }
	.rr-mobile-panel { border-top: 1px solid var(--rr-border); padding: 15px 24px 24px; }
	.rr-mobile-panel.is-open { display: block; }
	.rr-mobile-panel ul { list-style: none; margin: 0; padding: 0; }
	.rr-mobile-panel li { border-bottom: 1px solid var(--rr-border); }
	.rr-mobile-panel a { display: block; font-weight: 700; padding: 11px 0; text-decoration: none; }
}
@media (max-width: 800px) {
	.rr-container, .rr-reading { width: min(calc(100% - 36px), var(--rr-content)); }
	.rr-section { padding: 64px 0; }
	.rr-hero { padding: 58px 0 64px; }
	.rr-hero-grid, .rr-feature-grid, .rr-newsletter-grid { grid-template-columns: 1fr; }
	.rr-hero-media { max-width: 650px; }
	.rr-category-grid { grid-template-columns: repeat(2, 1fr); }
	.rr-category-card:nth-child(1), .rr-category-card:nth-child(2) { grid-column: span 1; }
	.rr-article-grid { grid-template-columns: repeat(2, 1fr); }
	.rr-archive-layout { grid-template-columns: 1fr; }
	.rr-sidebar { border-left: 0; border-top: 1px solid var(--rr-border); padding: 28px 0 0; }
	.rr-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.rr-container, .rr-reading { width: min(calc(100% - 28px), var(--rr-content)); }
	.rr-header-inner { min-height: 67px; }
	.rr-brand-mark { font-size: 1.35rem; }
	.rr-brand img { height: 37px; }
	.rr-header-actions { gap: 3px; }
	.rr-category-grid, .rr-article-grid { grid-template-columns: 1fr; }
	.rr-section-heading, .rr-pinterest-intro { align-items: start; flex-direction: column; }
	.rr-newsletter-form { flex-direction: column; }
	.rr-newsletter-form .rr-button { width: 100%; }
	.rr-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
	.rr-footer-grid > :first-child { grid-column: span 2; }
	.rr-footer-bottom { align-items: start; flex-direction: column; gap: 7px; }
	.rr-author-box { align-items: start; flex-direction: column; }
	.comment-form-author, .comment-form-email, .comment-form-url { display: block; margin-right: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}