/*
Theme Name: Reynan Minimal
Theme URI: https://reynanparico.com/
Author: Reynan Parico
Author URI: https://reynanparico.com/
Description: A lightweight, minimalist theme built for Elementor. Clean header and footer, one accent color, Inter Tight typography, and a one-click homepage setup (Appearance › Reynan Setup).
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reynan-minimal
Tags: one-column, custom-logo, custom-menu, custom-colors, translation-ready, accessibility-ready
*/

/* ---------- Tokens ---------- */
:root {
	--rp-accent: #2B50E8;
	--rp-ink: #0A0A0A;
	--rp-muted: #555555;
	--rp-subtle: #6B6B6B;
	--rp-line: #E5E5E5;
	--rp-soft: #F4F4F4;
	--rp-font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rp-max: 1200px;
	--rp-gutter: 32px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #FFFFFF;
	color: var(--rp-ink);
	font-family: var(--rp-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--rp-ink); text-underline-offset: 3px; }
a:hover { color: var(--rp-muted); }
:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }

.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;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 16px; top: 16px; z-index: 100000;
	padding: 12px 18px; background: var(--rp-ink); color: #FFFFFF; border-radius: 999px;
}

.rp-wrap {
	max-width: calc(var(--rp-max) + var(--rp-gutter) * 2);
	margin: 0 auto;
	padding-left: var(--rp-gutter);
	padding-right: var(--rp-gutter);
}

/* ---------- Header ---------- */
.rp-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 16px; padding-top: 32px; padding-bottom: 32px;
}
.rp-brand { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.rp-brand img { max-height: 40px; width: auto; display: block; }
.rp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.rp-nav a { font-size: 15px; color: var(--rp-muted); text-decoration: none; }
.rp-nav a:hover { color: var(--rp-ink); }
.rp-nav li:last-child a { color: var(--rp-ink); font-weight: 600; }

/* ---------- Footer ---------- */
.rp-footer__inner {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--rp-line);
	font-size: 14px; color: var(--rp-subtle);
}
.rp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.rp-footer a { color: var(--rp-subtle); text-decoration: none; }
.rp-footer a:hover { color: var(--rp-ink); }

/* ---------- Blog / default pages ---------- */
.rp-content { padding-top: 48px; padding-bottom: 120px; }
.rp-content .rp-wrap { max-width: calc(760px + var(--rp-gutter) * 2); }
.rp-entry + .rp-entry { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--rp-line); }
.rp-entry__title { font-size: clamp(36px, 5vw, 56px); margin: 0 0 12px; }
.rp-entry__title a { text-decoration: none; }
.rp-entry__meta { font-size: 14px; color: var(--rp-subtle); margin: 0 0 28px; }
.rp-entry__content > * + * { margin-top: 1.1em; }
.rp-pagination { margin-top: 72px; display: flex; gap: 16px; justify-content: space-between; }

/* ---------- Elementor helpers (used by the bundled homepage) ---------- */
.rp-accent { color: var(--rp-accent); }
.rp-dot {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	background: var(--rp-accent); margin-right: 10px; vertical-align: middle;
	position: relative; top: -1px;
}
.rp-btn .elementor-button {
	background-color: var(--rp-ink); color: #FFFFFF;
	border-radius: 999px; padding: 18px 30px; font-weight: 600;
}
.rp-btn .elementor-button:hover { background-color: #2A2A2A; color: #FFFFFF; }
.rp-project .elementor-heading-title a { color: inherit; text-decoration: none; }
.rp-shot img { display: block; width: 100%; }
.elementor-heading-title a:hover { color: var(--rp-muted); }

@media (max-width: 767px) {
	:root { --rp-gutter: 16px; }
	.rp-header__inner { padding-top: 20px; padding-bottom: 20px; }
	.rp-nav ul { gap: 20px; }
}
