/*
Theme Name: Rhode Review
Description: Independent shop-style review site for rhode skin products, built for the US market. Colors and type sourced from rhodeskin.com's live theme.css.
Author: bestbona
Version: 1.1
*/

:root {
	--bg: #ffffff;
	--ink: #67645e;
	--heading: #2b2924;
	--muted: #84827e;
	--line: #dddedc;
	--card: #f1f0ed;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-heading: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* Country select modal */
.rr-modal {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(43, 41, 36, 0.55);
	padding: 24px;
	cursor: pointer;
}

.rr-modal[hidden] { display: none; }

.rr-modal-card { cursor: default; }

body.rr-modal-open { overflow: hidden; }

.rr-modal-card {
	background: #fff;
	border-radius: 16px;
	max-width: 380px;
	width: 100%;
	padding: 36px 28px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.rr-modal-logo {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 800;
	color: var(--heading);
	margin: 0 0 20px;
}

.rr-modal-card h2 {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--heading);
	margin: 0 0 6px;
}

.rr-modal-sub {
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 24px;
}

.rr-modal-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rr-modal-option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--card);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--heading);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.rr-modal-option:hover {
	border-color: var(--ink);
	background: #fff;
}

.rr-flag { font-size: 22px; line-height: 1; }

/* Header */
.rr-header {
	text-align: center;
	padding: 32px 24px 24px;
	border-bottom: 1px solid var(--line);
}

.rr-logo {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 22px;
	letter-spacing: 0.01em;
	font-weight: 800;
	color: var(--heading);
}

.rr-tagline {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.02em;
}

/* Hero */
.rr-hero {
	text-align: center;
	padding: 56px 24px 40px;
	max-width: 640px;
	margin: 0 auto;
}

.rr-hero h1 {
	font-family: var(--font-heading);
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
	color: var(--heading);
}

.rr-hero p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* Grid */
.rr-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px 96px;
}

@media (max-width: 980px) {
	.rr-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px 64px; }
}

@media (max-width: 560px) {
	.rr-grid { grid-template-columns: 1fr; padding: 0 16px 48px; }
}

.rr-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--muted);
	padding: 40px 0;
}

/* Card */
.rr-card { display: block; }

.rr-card-image {
	display: block;
	position: relative;
	aspect-ratio: 6 / 7;
	background: var(--card);
	overflow: hidden;
	border-radius: 12px;
}

.rr-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.rr-card-image:hover img { transform: scale(1.03); }

.rr-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rr-placeholder span {
	font-size: 48px;
	font-weight: 300;
	color: #c4c4c4;
	text-transform: uppercase;
}

.rr-placeholder-lg span { font-size: 72px; }

.rr-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--heading);
	color: #fff;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 40px;
	z-index: 2;
}

.rr-shade {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 2;
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--heading);
	background: #fff;
	padding: 6px 16px;
	border-radius: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.rr-card-body { padding-top: 14px; position: relative; z-index: 1; }

@media (max-width: 560px) {
	.rr-shade { font-size: 15px; padding: 4px 12px; left: 10px; bottom: 10px; }
	.rr-badge { top: 10px; left: 10px; }
}

.rr-card-body h3 {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--heading);
}

.rr-stars {
	color: #c8a04a;
	font-size: 13px;
	letter-spacing: 1px;
}

.rr-excerpt {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
	margin: 8px 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rr-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}


.rr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid var(--ink);
	padding: 9px 18px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 40px;
	color: var(--ink);
	background: transparent;
	transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.rr-btn:hover { background: var(--ink); color: #fff; }

.rr-btn-lg { padding: 14px 30px; font-size: 12px; margin-top: 24px; }

/* Single product */
.rr-single { max-width: 1100px; margin: 0 auto; padding: 40px 24px 96px; }

.rr-back {
	display: inline-block;
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 24px;
}

.rr-single-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

@media (max-width: 760px) {
	.rr-single-grid { grid-template-columns: 1fr; gap: 24px; }
}

.rr-single-image {
	aspect-ratio: 6 / 7;
	background: var(--card);
	border-radius: 12px;
	overflow: hidden;
}

.rr-single-image img { width: 100%; height: 100%; object-fit: cover; }

.rr-single-info h1 {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--heading);
}

/* Generic article (comparison/guide posts, not tied to a product) */
.rr-single--article { max-width: 760px; }

.rr-article-title {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
	color: var(--heading);
}

.rr-article-hero {
	aspect-ratio: 16 / 9;
	background: var(--card);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 8px;
}

.rr-article-hero img { width: 100%; height: 100%; object-fit: cover; }

.rr-single-shade {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 14px;
}


.rr-single-content {
	margin-top: 20px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--ink);
}

.rr-single-content p { margin: 0 0 14px; }

.rr-single-content h2 {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 700;
	color: var(--heading);
	margin: 36px 0 14px;
}

.rr-single-content h3 {
	font-family: var(--font-heading);
	font-size: 17px;
	font-weight: 700;
	color: var(--heading);
	margin: 24px 0 10px;
}

.rr-single-content ul,
.rr-single-content ol {
	margin: 0 0 16px;
	padding-left: 20px;
}

.rr-single-content li { margin-bottom: 6px; }

.rr-single-content blockquote {
	margin: 0 0 16px;
	padding: 14px 18px;
	border-left: 3px solid var(--line);
	background: var(--card);
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: var(--muted);
}

.rr-single-content a { text-decoration: underline; text-underline-offset: 2px; }

.rr-single-content table {
	display: block;
	overflow-x: auto;
	border-collapse: collapse;
	width: 100%;
	margin: 0 0 20px;
	font-size: 14px;
}

.rr-single-content th,
.rr-single-content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
	white-space: nowrap;
}

.rr-single-content th {
	background: var(--card);
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--heading);
}

.rr-single-content figure {
	margin: 0 0 24px;
}

.rr-single-content figure img {
	width: 100%;
	border-radius: 12px;
}

.rr-single-content figcaption {
	margin-top: 8px;
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}

/* Generic page */
.rr-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; line-height: 1.7; }

/* Footer */
.rr-footer {
	border-top: 1px solid var(--line);
	margin-top: 40px;
	padding: 56px 24px 0;
}

.rr-footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}

@media (max-width: 640px) {
	.rr-footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

.rr-footer-logo {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 800;
	color: var(--heading);
	margin-bottom: 10px;
}

.rr-footer-col p {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}

.rr-footer-col h4 {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--heading);
	margin: 0 0 12px;
}

.rr-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rr-footer-col li { margin-bottom: 8px; }

.rr-footer-col a {
	font-size: 13px;
	color: var(--muted);
}

.rr-footer-col a:hover { color: var(--ink); }

.rr-footer-bottom {
	border-top: 1px solid var(--line);
	padding: 20px 0 32px;
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}

.rr-footer-bottom p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.6;
	margin: 0 0 6px;
}

.rr-footer-bottom a { color: var(--muted); text-decoration: underline; }

/* === Hub homepage (Multisite network root - lists every brand sub-site) === */
.rr-hub-hero {
	text-align: center;
	padding: 56px 24px 32px;
	max-width: 640px;
	margin: 0 auto;
}

.rr-hub-hero h1 {
	font-family: var(--font-heading);
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
	color: var(--heading);
}

.rr-hub-hero p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

.rr-hub-trust {
	display: flex;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
	padding: 8px 24px 48px;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.rr-hub-trust-item strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: 700;
	color: var(--heading);
}

.rr-hub-trust-item span {
	display: block;
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
}

.rr-hub-brands {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 40px 64px;
}

.rr-hub-brands h2 {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 700;
	color: var(--heading);
	text-align: center;
	margin: 0 0 28px;
}

.rr-hub-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 760px) {
	.rr-hub-brands { padding: 0 20px 48px; }
	.rr-hub-grid { grid-template-columns: 1fr; }
}

.rr-hub-card {
	display: block;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rr-hub-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(43, 41, 36, 0.08);
}

.rr-hub-card-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--card);
}

.rr-hub-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rr-hub-card-body {
	padding: 18px 20px 20px;
}

.rr-hub-card-body h3 {
	font-family: var(--font-heading);
	font-size: 17px;
	font-weight: 700;
	color: var(--heading);
	margin: 0 0 6px;
}

.rr-hub-card-body p {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.5;
	margin: 0 0 10px;
}

.rr-hub-card-count {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--heading);
	background: var(--card);
	padding: 4px 10px;
	border-radius: 20px;
}

.rr-hub-about {
	max-width: 640px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	border-top: 1px solid var(--line);
	text-align: center;
}

.rr-hub-about h2 {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--heading);
	margin: 32px 0 12px;
}

.rr-hub-about p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.7;
	margin: 0;
}

/* Byline, hộp tác giả */
.rr-byline { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.rr-byline-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rr-byline-text a { color: var(--heading); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rr-author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 20px; background: var(--card); border-radius: 12px; }
.rr-author-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rr-author-name { margin: 0 0 4px; font-family: var(--font-heading); font-weight: 700; color: var(--heading); }
.rr-author-name a { color: inherit; }
.rr-author-bio { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.rr-author-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.rr-author-page h1 { font-family: var(--font-heading); font-size: 30px; color: var(--heading); margin: 0 0 8px; }
.rr-author-page ul { padding-left: 20px; line-height: 1.8; }

.rr-aff-note { margin: 24px 0 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.rr-aff-note a { color: var(--heading); text-decoration: underline; text-underline-offset: 2px; }
