/*
Theme Name: RedyGigs
Theme URI: https://redygigs.com
Author: RedyGigs
Description: A modern, professional freelance-marketplace theme. Designed to pair with the RedyGigs Marketplace Core plugin (gigs, orders, escrow, wallet, messaging, reviews and dashboards). Fully editable through the Customizer, the block editor, block patterns and template overrides.
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: redygigs
Tags: e-commerce, blog, one-column, two-columns, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, block-patterns, wide-blocks
*/

/* --------------------------------------------------------------------------
   Tokens
   ----------------------------------------------------------------------- */
:root {
	--rg-primary: #d92d3a;
	--rg-primary-600: #b91f2b;
	--rg-primary-50: #fdeeef;
	--rg-ink: #0f172a;
	--rg-text: #334155;
	--rg-muted: #64748b;
	--rg-line: #e5e7eb;
	--rg-soft: #f6f7f9;
	--rg-radius: 14px;
	--header-h: 72px;
	--font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--rg-text); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--rg-primary); text-underline-offset: 3px; }
a:hover { color: var(--rg-primary-600); }
h1, h2, h3, h4, h5, h6 { color: var(--rg-ink); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font-family: inherit; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px !important; }
::selection { background: var(--rg-primary); color: #fff; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--rg-primary) 40%, transparent); outline-offset: 2px; }
.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; left: 12px; top: 12px; z-index: 100000; background: #fff; padding: 12px 16px; border-radius: 8px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.container--content { max-width: 880px; }
.rg-container { max-width: 1280px; }

/* Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--rg-primary); color: #fff !important; }
.btn--primary:hover { background: var(--rg-primary-600); box-shadow: 0 8px 22px color-mix(in srgb, var(--rg-primary) 30%, transparent); }
.btn--outline { background: transparent; border-color: currentColor; color: var(--rg-ink) !important; }
.btn--outline:hover { background: var(--rg-ink); color: #fff !important; border-color: var(--rg-ink); }
.btn--light { background: #fff; color: var(--rg-ink) !important; }
.btn--light:hover { background: #f1f5f9; }
.btn--ghost-light { color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--rg-ink); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--rg-primary); }
.link-arrow .rg-ico { transition: transform .2s; }
.link-arrow:hover .rg-ico { transform: translateX(3px); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--rg-primary); margin-bottom: 12px; }
.eyebrow--light { color: #fecaca; }

/* --------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--rg-line); z-index: 100; transition: box-shadow .2s; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .07); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-logo, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.custom-logo { max-height: 44px; width: auto; }
.site-logo-mark { color: var(--rg-primary); display: flex; }
.site-logo-text { font-size: 1.55rem; font-weight: 800; color: var(--rg-ink); letter-spacing: -.04em; line-height: 1; }
.site-logo-text i { color: var(--rg-primary); font-style: normal; }
.header-search { flex: 1; max-width: 560px; }
.is-home .header-search { opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.is-home.show-header-search .header-search { opacity: 1; visibility: visible; }
.header-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; font-weight: 600; font-size: .95rem; color: var(--rg-text); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px; white-space: nowrap; }
.nav-link:hover { color: var(--rg-ink); background: var(--rg-soft); }
.primary-menu .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-menu .menu > li { position: relative; }
.primary-menu .menu > li > a { display: block; padding: 8px 12px; font-weight: 600; font-size: .95rem; color: var(--rg-text); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.primary-menu .menu > li > a:hover, .primary-menu .current-menu-item > a { color: var(--rg-ink); background: var(--rg-soft); }
.primary-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--rg-line); border-radius: 12px; box-shadow: 0 20px 50px rgba(15, 23, 42, .12); min-width: 220px; z-index: 50; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--rg-text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.primary-menu .sub-menu a:hover { background: var(--rg-soft); }
.icon-link { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--rg-text); background: none; border: 0; cursor: pointer; text-decoration: none; }
.icon-link:hover { background: var(--rg-soft); color: var(--rg-ink); }
.rg-dot { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--rg-primary); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; line-height: 1; }
.avatar-btn { background: none; border: 0; padding: 2px; border-radius: 50%; cursor: pointer; margin-left: 4px; display: flex; }
.avatar-btn:hover { box-shadow: 0 0 0 3px var(--rg-soft); }
.nav-drop { position: relative; }
.drop-panel { position: absolute; top: calc(100% + 10px); right: 0; background: #fff; border: 1px solid var(--rg-line); border-radius: 14px; box-shadow: 0 24px 60px rgba(15, 23, 42, .16); padding: 8px; min-width: 260px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-drop.is-open .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--rg-text); font-weight: 600; font-size: .92rem; }
.drop-panel a:hover { background: var(--rg-soft); color: var(--rg-ink); }
.drop-panel--mega { left: 0; right: auto; width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; }
.drop-panel--mega a { align-items: flex-start; }
.drop-panel--mega b { display: block; color: var(--rg-ink); font-size: .93rem; }
.drop-panel--mega small { display: block; color: var(--rg-muted); font-weight: 500; font-size: .8rem; line-height: 1.4; }
.drop-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--rg-primary-50); color: var(--rg-primary); display: grid; place-items: center; flex-shrink: 0; }
.drop-all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--rg-line); border-radius: 0 0 9px 9px !important; margin-top: 6px; color: var(--rg-ink) !important; }
.drop-panel--notes { width: 360px; padding: 0; overflow: hidden; }
.drop-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--rg-line); }
.drop-head b { color: var(--rg-ink); }
.drop-head a { padding: 0; font-size: .85rem; color: var(--rg-primary); }
.drop-head a:hover { background: none; }
.drop-panel--notes > a { border-radius: 0; border-bottom: 1px solid var(--rg-line); align-items: flex-start; font-weight: 500; line-height: 1.45; padding: 12px 16px; }
.drop-panel--notes > a.is-unread { background: color-mix(in srgb, var(--rg-primary) 5%, #fff); color: var(--rg-ink); }
.drop-panel--notes .drop-ico { width: 32px; height: 32px; background: var(--rg-soft); color: var(--rg-ink); }
.drop-panel--notes small { display: block; color: var(--rg-muted); font-size: .76rem; margin-top: 2px; }
.drop-empty { padding: 24px 16px; text-align: center; color: var(--rg-muted); margin: 0; }
.drop-panel--account { width: 270px; }
.drop-user { display: flex; gap: 12px; align-items: center; padding: 10px 12px 14px; border-bottom: 1px solid var(--rg-line); margin-bottom: 6px; }
.drop-user b { display: block; color: var(--rg-ink); line-height: 1.3; }
.drop-user small { color: var(--rg-muted); }
.drop-logout { border-top: 1px solid var(--rg-line); border-radius: 0 0 9px 9px !important; margin-top: 6px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; color: var(--rg-ink); cursor: pointer; border-radius: 8px; }
.catbar { border-top: 1px solid var(--rg-line); background: #fff; }
.catbar-scroll { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
.catbar-scroll::-webkit-scrollbar { display: none; }
.catbar a { padding: 12px 6px; font-size: .9rem; font-weight: 600; color: var(--rg-muted); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.catbar a:hover, .catbar a.is-active { color: var(--rg-ink); border-bottom-color: var(--rg-primary); }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 1000; opacity: 0; transition: opacity .25s; }
.mobile-nav.is-open { opacity: 1; }
.mobile-nav-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 18px; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.menu-close { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--rg-ink); }
.mobile-auth { display: grid; gap: 8px; margin: 14px 0 6px; }
.mobile-link, .mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 9px; text-decoration: none; color: var(--rg-ink); font-weight: 600; }
.mobile-link:hover, .mobile-menu a:hover { background: var(--rg-soft); }
.mobile-link .rg-ico { color: var(--rg-muted); }
.mobile-menu { list-style: none; padding: 0; margin: 0; }
.mobile-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--rg-muted); margin: 18px 8px 4px; }
.mobile-nav .rg-search { margin-top: 4px; }

/* --------------------------------------------------------------------------
   Homepage
   ----------------------------------------------------------------------- */
.hero { position: relative; background: var(--rg-ink); background-image: var(--hero-bg, none); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, color-mix(in srgb, var(--rg-primary) 45%, transparent) 0%, transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(59, 130, 246, .18) 0%, transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--rg-ink) 70%, transparent), var(--rg-ink)); }
.hero-glow { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 70% 30%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 0%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; color: #fff; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--rg-primary); border-radius: 4px; z-index: -1; opacity: .9; }
.hero-sub { font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 30px; }
.hero .rg-search { max-width: 620px; border: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.hero-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; font-size: .88rem; }
.hero-tags span { color: rgba(255, 255, 255, .7); font-weight: 600; margin-right: 4px; }
.hero-tags a { color: #fff; text-decoration: none; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; transition: background .15s, border-color .15s; }
.hero-tags a:hover { background: #fff; color: var(--rg-ink); border-color: #fff; }
.hero-img { border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); width: 100%; object-fit: cover; }
/* Mock UI */
.mock { position: relative; height: 470px; max-width: 520px; margin-left: auto; }
.mock-card { position: absolute; background: #fff; border-radius: 18px; color: var(--rg-text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.mock-card--main { width: 330px; left: 50%; top: 50%; transform: translate(-50%, -52%) rotate(-2deg); overflow: hidden; animation: float 7s ease-in-out infinite; }
.mock-cover { height: 180px; background: radial-gradient(120% 120% at 0% 0%, #ff8a5b 0%, var(--rg-primary) 50%, #6b1020 100%); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden; }
.mock-cover::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .12); right: -50px; bottom: -80px; }
.mock-cover-ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.mock-cover-txt { font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.mock-body { padding: 16px 18px 18px; }
.mock-seller { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--rg-ink); }
.mock-av { width: 28px; height: 28px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 800; flex-shrink: 0; }
.mock-level { margin-left: auto; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #ecfeff; color: #0e7490; }
.mock-body p { margin: 10px 0 12px; font-size: .92rem; line-height: 1.45; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--rg-line); padding-top: 10px; }
.mock-star { color: #f5a524; font-weight: 800; font-size: .9rem; }
.mock-foot b { color: var(--rg-ink); font-size: 1.1rem; }
.mock-foot small { font-size: .65rem; color: var(--rg-muted); text-transform: uppercase; font-weight: 700; }
.mock-chip { position: absolute; background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); color: var(--rg-ink); font-size: .85rem; }
.mock-chip b { display: block; line-height: 1.2; }
.mock-chip small { color: var(--rg-muted); font-size: .75rem; }
.mock-chip-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--rg-primary-50); color: var(--rg-primary); display: grid; place-items: center; }
.mock-chip-ico.ok { background: #e8f6ee; color: #15803d; }
.mock-chip--paid { left: -10px; top: 40px; animation: float 6s ease-in-out infinite .5s; }
.mock-chip--delivered { right: -14px; top: 150px; animation: float 6.5s ease-in-out infinite 1s; }
.mock-chip--earn { left: -30px; bottom: -6px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; min-width: 210px; animation: float 7.5s ease-in-out infinite 1.4s; }
.mock-chip--earn b { font-size: 1.35rem; letter-spacing: -.02em; }
.mock-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 6px; width: 100%; }
.mock-bars i { flex: 1; background: linear-gradient(180deg, var(--rg-primary), #fb923c); border-radius: 4px 4px 2px 2px; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .mock-card, .mock-chip { animation: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }

.values { border-bottom: 1px solid var(--rg-line); background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px !important; padding-bottom: 26px !important; }
.values-grid > div { display: flex; gap: 14px; align-items: center; }
.values-grid .rg-ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--rg-primary-50); color: var(--rg-primary); }
.values-grid b { display: block; color: var(--rg-ink); font-size: .95rem; }
.values-grid small { color: var(--rg-muted); font-size: .85rem; }

.section { padding: 80px 0; }
.section--tight { padding: 40px 0; }
.section--soft { background: var(--rg-soft); }
.section--dark { background: var(--rg-ink); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0; letter-spacing: -.025em; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center p { margin: 8px 0 0; font-size: 1.05rem; }

.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; gap: 18px; padding: 22px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--rg-line); text-decoration: none; color: var(--rg-ink); transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 150px; justify-content: space-between; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15, 23, 42, .1); border-color: transparent; color: var(--rg-ink); }
.cat-tile-ico { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: var(--rg-primary); background: var(--rg-primary-50); transition: background .2s, color .2s; }
.cat-tile:hover .cat-tile-ico { background: var(--rg-primary); color: #fff; }
.cat-tile b { font-size: 1rem; line-height: 1.3; }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 28px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.why-list li { display: flex; gap: 16px; }
.why-list li > span { width: 44px; height: 44px; border-radius: 12px; background: var(--rg-ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.why-list h3 { font-size: 1.05rem; margin: 0 0 4px; }
.why-list p { margin: 0; color: var(--rg-muted); }
.why-visual img { border-radius: 22px; width: 100%; object-fit: cover; }
.why-art { border-radius: 24px; padding: 48px 40px; background: radial-gradient(120% 120% at 100% 0%, var(--rg-primary-50) 0%, #fff 55%), var(--rg-soft); border: 1px solid var(--rg-line); position: relative; overflow: hidden; }
.why-art::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: color-mix(in srgb, var(--rg-primary) 14%, transparent); right: -80px; bottom: -100px; }
.why-art-order { position: relative; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(15, 23, 42, .12); }
.why-art-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.why-art-head b { color: var(--rg-ink); }
.why-art-head span { font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: #e8efff; color: #1d4ed8; }
.why-art ol { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.why-art li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; color: var(--rg-muted); }
.why-art li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rg-line); flex-shrink: 0; }
.why-art li.done { color: var(--rg-ink); }
.why-art li.done::before { background: #15803d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: #15803d; }
.why-art li.now { color: var(--rg-ink); }
.why-art li.now::before { border-color: var(--rg-primary); box-shadow: inset 0 0 0 4px #fff; background: var(--rg-primary); }
.why-art-bubble { display: flex; gap: 10px; align-items: flex-start; background: var(--rg-soft); border-radius: 4px 14px 14px 14px; padding: 12px; }
.why-art-bubble p { margin: 0; font-size: .9rem; color: var(--rg-ink); }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-step { position: relative; padding: 32px 28px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.how-step .rg-ico { color: #fff; width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--rg-primary); }
.how-no { position: absolute; top: 22px; right: 26px; font-size: 2.6rem; font-weight: 800; color: rgba(255, 255, 255, .08); line-height: 1; }
.how-step h3 { margin: 20px 0 8px; font-size: 1.2rem; }
.how-step p { margin: 0; }

.seller-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 26px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--rg-primary) 80%, #fff) 0%, var(--rg-primary) 40%, color-mix(in srgb, var(--rg-primary) 55%, #000) 100%); position: relative; overflow: hidden; }
.seller-cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .07); left: -120px; bottom: -220px; }
.seller-cta > * { position: relative; z-index: 1; }
.seller-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; }
.seller-cta p { opacity: .9; font-size: 1.08rem; margin-bottom: 26px; }
.seller-cta-points { list-style: none; padding: 26px; margin: 0; display: grid; gap: 14px; background: rgba(0, 0, 0, .14); border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16); }
.seller-cta-points li { display: flex; gap: 10px; align-items: center; font-weight: 700; }

.final-cta { text-align: center; padding: 64px 24px; border-radius: 26px; background: var(--rg-soft); border: 1px solid var(--rg-line); }
.final-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 10px; }
.final-cta p { font-size: 1.08rem; color: var(--rg-muted); margin-bottom: 26px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.cat-tile.reveal { transition-delay: calc(var(--i, 0) * 40ms); }

/* --------------------------------------------------------------------------
   Pages & blog
   ----------------------------------------------------------------------- */
.page-hero { background: var(--rg-soft); border-bottom: 1px solid var(--rg-line); padding: 64px 0 52px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rg-primary) 14%, transparent), transparent); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin: 0 0 10px; position: relative; z-index: 1; }
.page-hero p, .page-hero-desc { font-size: 1.1rem; color: var(--rg-muted); margin: 0; max-width: 720px; position: relative; z-index: 1; }
.page-hero--sm { padding: 36px 0 30px; }
.page-hero--sm h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-body { padding-top: 40px; padding-bottom: 72px; }
.is-system-page .page-body { padding-top: 28px; }
.is-dashboard .page-body { padding-top: 0; }
.entry-content { font-size: 1.05rem; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.5em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 4px solid var(--rg-primary); margin: 1.6em 0; padding: 6px 0 6px 22px; font-size: 1.15rem; color: var(--rg-ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content td, .entry-content th { border: 1px solid var(--rg-line); padding: 10px 12px; }
.entry-content .alignwide { max-width: 1280px; margin-left: auto; margin-right: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content--landing > * { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.entry-content--landing > .alignfull { max-width: none; padding-left: 0; padding-right: 0; margin-left: 0; width: 100%; }
.is-system-page .entry-content { font-size: 1rem; line-height: 1.6; }
.is-system-page .entry-content > * + * { margin-top: 0; }
.wp-block-button__link { border-radius: 10px; font-weight: 700; padding: 13px 24px; }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--rg-ink); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--rg-line); background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 20px 44px rgba(15, 23, 42, .1); transform: translateY(-3px); }
.post-card-img { aspect-ratio: 16 / 9; display: block; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 50) 60% 35%)); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.12rem; line-height: 1.35; margin: 8px 0 8px; }
.post-card-body h3 a { color: var(--rg-ink); text-decoration: none; }
.post-card-body h3 a:hover { color: var(--rg-primary); }
.post-card-body p { color: var(--rg-muted); font-size: .94rem; flex: 1; }
.post-card-date { font-size: .82rem; color: var(--rg-muted); font-weight: 600; }
.post-cat { display: inline-block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--rg-primary); text-decoration: none; }
.post-head { padding-top: 56px; padding-bottom: 28px; }
.post-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.03em; line-height: 1.12; }
.post-lead { font-size: 1.2rem; color: var(--rg-muted); }
.post-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .88rem; color: var(--rg-muted); margin-bottom: 16px; font-weight: 600; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-cover { margin: 0 auto 40px; }
.post-cover img { border-radius: 20px; width: 100%; }
.post-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { padding: 6px 12px; border-radius: 8px; background: var(--rg-soft); color: var(--rg-text); text-decoration: none; font-size: .86rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0; }
.post-nav a { display: block; padding: 18px; border: 1px solid var(--rg-line); border-radius: 12px; text-decoration: none; color: var(--rg-ink); font-weight: 700; }
.post-nav small { display: block; color: var(--rg-muted); font-weight: 600; font-size: .8rem; }
.post-nav .next { text-align: right; grid-column: 2; }
.comments-area { margin: 40px 0 80px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--rg-line); }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--rg-line); border-radius: 10px; font: inherit; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--rg-line); border-radius: 10px; font: inherit; }
.nothing-found { text-align: center; padding: 60px 0; }
.error-404 { text-align: center; padding: 96px 24px; max-width: 680px; }
.error-code { display: block; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--rg-primary), var(--rg-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 h1 { font-size: 2rem; margin-top: 10px; }
.error-404 p { color: var(--rg-muted); font-size: 1.08rem; }
.error-404 .rg-search { margin: 28px 0 22px; }
.widget { margin-bottom: 30px; }

/* Block pattern styles ----------------------------------------------------- */
.rgp-hero { background: var(--rg-ink); color: rgba(255, 255, 255, .8); padding: 96px 24px; text-align: center; background-image: radial-gradient(60% 80% at 80% 0%, color-mix(in srgb, var(--rg-primary) 45%, transparent), transparent 60%); }
.rgp-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; }
.rgp-hero .wp-block-buttons { justify-content: center; }
.rgp-hero .is-style-outline .wp-block-button__link { color: #fff; }
.rgp-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fecaca; }
.rgp-lead { font-size: 1.15rem; max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.rgp-section { padding: 64px 0; }
.rgp-dark { background: var(--rg-ink); color: rgba(255, 255, 255, .78); padding: 72px 24px; }
.rgp-dark h2, .rgp-dark h3 { color: #fff; }
.rgp-cards { gap: 20px !important; }
.rgp-card { padding: 28px; border-radius: 16px; border: 1px solid var(--rg-line); background: #fff; }
.rgp-card h3 { margin-top: 0; font-size: 1.15rem; }
.rgp-step { padding: 28px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.rgp-step-no { font-size: 2.4rem; font-weight: 800; color: var(--rg-primary); margin: 0; line-height: 1; }
.rgp-cta { text-align: center; padding: 56px 28px; border-radius: 24px; background: var(--rg-primary); color: #fff; margin: 48px auto; }
.rgp-cta h2 { color: #fff; }
.rgp-cta .wp-block-buttons { justify-content: center; }
.rgp-cta .wp-block-button__link { background: #fff; color: var(--rg-ink); }
.rgp-faq { border-bottom: 1px solid var(--rg-line); padding: 6px 0; }
.rgp-faq summary { font-weight: 700; color: var(--rg-ink); cursor: pointer; padding: 14px 0; list-style-position: outside; }
.rgp-faq p { color: var(--rg-text); }
.rgp-split { gap: 40px; }
.rgp-split .wp-block-media-text__media img { border-radius: 18px; }
.rgp-contact { gap: 28px !important; align-items: flex-start !important; }
.entry-content .wp-block-columns > .wp-block-column { margin-top: 0 !important; }
.entry-content .wp-block-column > :first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
.site-footer { background: var(--rg-ink); color: rgba(255, 255, 255, .65); padding: 72px 0 0; margin-top: 40px; font-size: .94rem; }
.home + .site-footer, .landing + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand .site-logo-text { color: #fff; }
.footer-brand p { margin: 18px 0 20px; max-width: 340px; line-height: 1.65; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s; }
.footer-social a:hover { background: var(--rg-primary); }
.footer-title { color: #fff; font-size: .95rem; margin: 6px 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); flex-wrap: wrap; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-bottom-right span { display: inline-flex; align-items: center; gap: 6px; }
.legal-links { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.legal-links a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.site-footer .widget { color: rgba(255, 255, 255, .65); }
.site-footer .widget a { color: #fff; }

/* --------------------------------------------------------------------------
   Marketplace integration tweaks
   ----------------------------------------------------------------------- */
.rg-archive-head { background: var(--rg-soft); }
.is-login .page-body, .is-register .page-body { padding-top: 12px; padding-bottom: 40px; background: none; }

/* --------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.header-inner { gap: 16px; }
	.hide-md { display: none !important; }
	.cat-tiles { grid-template-columns: repeat(4, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 64px; }
	.hero-visual { display: none; }
	.why, .seller-cta { grid-template-columns: minmax(0, 1fr); }
	.why { gap: 40px; }
	.how-grid { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.values-grid { grid-template-columns: 1fr 1fr; }
	.cat-tiles { grid-template-columns: repeat(3, 1fr); }
	.seller-cta { padding: 36px; }
	.drop-panel--mega { width: 480px; }
}
@media (max-width: 860px) {
	.header-search { display: none; }
	.menu-toggle { display: inline-flex; }
	.hide-sm { display: none !important; }
	.header-nav > .nav-drop:first-child { display: none; }
	.drop-panel--notes { width: min(360px, calc(100vw - 32px)); right: -60px; }
}
@media (max-width: 640px) {
	:root { --header-h: 62px; }
	.container { padding-left: 16px; padding-right: 16px; }
	.site-logo-text { font-size: 1.3rem; }
	.site-logo-mark svg { width: 26px; height: 26px; }
	.header-nav .nav-link { padding: 8px; font-size: .9rem; }
	.header-nav .btn--sm { padding: 7px 12px; }
	.icon-link { width: 38px; height: 38px; }
	.section { padding: 56px 0; }
	.section--tight { padding: 28px 0; }
	.cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cat-tile { min-height: 0; padding: 16px; gap: 12px; }
	.cat-tile-ico { width: 46px; height: 46px; }
	.values-grid { grid-template-columns: 1fr; gap: 14px; }
	.post-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.seller-cta { padding: 28px 22px; border-radius: 20px; }
	.final-cta { padding: 44px 20px; }
	.hero .rg-search input[type=search] { padding: 14px 10px 14px 44px; font-size: .95rem; }
	.hero-tags a { padding: 5px 11px; }
	.page-hero { padding: 40px 0 32px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: auto; }
	.drop-panel--mega { display: none; }
}
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 0; } }
