/*
Theme Name: R2R World
Theme URI: https://r2rworld.com/
Author: R2R World Development
Description: A responsive, accessible WordPress theme for Rent2Rent World. Includes Elementor Theme Builder compatibility and WooCommerce support; companion R2R World Core plugin provides pages and interactive tools.
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: r2r-world
License: GPL-2.0-or-later
*/
:root{--r2r-forest:#1A3D2B;--r2r-green:#2C5F45;--r2r-gold:#B8860B;--r2r-gold-mid:#E8C56A;--r2r-charcoal:#1C1C1E;--r2r-light:#F5F4F0;--r2r-line:#E2DDD5;--r2r-muted:#626c65;--r2r-serif:'Playfair Display',Georgia,serif;--r2r-sans:'DM Sans',Arial,sans-serif}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#253029;font-family:var(--r2r-sans);line-height:1.65;font-size:16px;overflow-x:hidden}img{max-width:100%;height:auto}a{color:var(--r2r-forest)}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3,h4{font-family:var(--r2r-serif);line-height:1.22}h1,h2,h3,h4,p{overflow-wrap:break-word}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--r2r-gold);outline-offset:3px}
.r2r-skip{position:absolute;left:-9999px;top:0;background:#fff;padding:12px;z-index:999999}.r2r-skip:focus{left:10px}
.r2r-announcement{padding:8px 16px;text-align:center;background:var(--r2r-gold);color:#fff;font-size:13px;font-weight:600}.r2r-announcement a{color:#fff;text-decoration:underline}.r2r-site-header{position:sticky;top:0;z-index:1000;background:var(--r2r-charcoal);color:#fff;border-bottom:1px solid rgba(255,255,255,.1)}.admin-bar .r2r-site-header{top:32px}.r2r-header-inner{max-width:1220px;padding:0 26px;min-height:73px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.r2r-logo{display:inline-flex;align-items:center;gap:2px;text-decoration:none;color:#fff!important;font-family:var(--r2r-serif);font-weight:700;font-size:25px;letter-spacing:-1.5px;white-space:nowrap}.r2r-logo .gold{color:var(--r2r-gold-mid)}.r2r-logo small{font-family:var(--r2r-sans);font-size:10px;letter-spacing:0;display:block;font-weight:500;opacity:.8}.r2r-logo img{display:block;max-height:47px;width:auto;max-width:185px;object-fit:contain}.r2r-nav-list{display:flex;list-style:none;gap:1px;align-items:center;margin:0;padding:0}.r2r-nav-list a{color:#f1f4f1;text-decoration:none;display:block;padding:10px 11px;border-radius:7px;font-size:13px;font-weight:600}.r2r-nav-list a:hover,.r2r-nav-list .current-menu-item>a,.r2r-nav-list .current_page_item>a{color:var(--r2r-gold-mid);background:rgba(255,255,255,.07)}.r2r-header-cta{display:inline-flex;text-decoration:none;color:#fff;background:var(--r2r-gold);font-weight:700;font-size:13px;padding:10px 16px;border-radius:8px;white-space:nowrap}.r2r-mobile-toggle{display:none;background:transparent;border:1px solid #63736a;color:#fff;border-radius:8px;padding:6px 12px;font-size:22px;line-height:1.5}.r2r-overlay{position:fixed;inset:0;background:#0009;z-index:1098;display:none}.r2r-mobile-drawer{position:fixed;top:0;right:0;bottom:0;width:min(340px,90vw);background:#fff;color:#202c23;z-index:1099;padding:65px 24px 25px;overflow-y:auto;transform:translateX(105%);transition:transform .26s ease;visibility:hidden}.r2r-mobile-drawer.is-open{transform:translateX(0);visibility:visible}.r2r-overlay.is-open{display:block}.r2r-close{position:absolute;right:16px;top:15px;background:#f1f5f2;border:0;border-radius:100px;padding:4px 13px;font-size:27px}.r2r-mobile-drawer ul{list-style:none;padding:0;margin:0}.r2r-mobile-drawer li a{display:block;border-bottom:1px solid #e4e9e5;padding:13px 2px;color:#203a2a;text-decoration:none;font-weight:600}.r2r-mobile-drawer .r2r-header-cta{margin-top:20px;color:#fff;padding:13px 20px}.r2r-wrap{width:min(1200px,calc(100% - 44px));margin:0 auto}.r2r-page-wrap{padding:72px 0 85px}.r2r-page-title{font-size:clamp(30px,5vw,48px);margin:0 0 28px}.r2r-page-content{min-width:0}.r2r-page-content:after{content:"";display:table;clear:both}.r2r-entry{max-width:830px;margin:0 auto}.r2r-entry-meta{font-size:13px;color:var(--r2r-muted);margin:10px 0 26px}.r2r-entry-content{font-size:17px}.r2r-entry-content h2{margin-top:36px}.r2r-entry-content p,.r2r-entry-content ul{margin-bottom:22px}.r2r-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.r2r-post-card{border:1px solid var(--r2r-line);border-radius:14px;overflow:hidden;background:#fff}.r2r-post-card img{display:block;width:100%;height:205px;object-fit:cover}.r2r-post-card-body{padding:22px}.r2r-post-card h2{font-size:21px;margin:4px 0 12px}.r2r-post-card h2 a{text-decoration:none}.r2r-post-card p{font-size:14px;color:var(--r2r-muted)}.r2r-post-card .r2r-entry-meta{margin:0;font-size:12px}.r2r-pagination{margin-top:35px}.r2r-pagination .page-numbers{padding:7px 12px;border:1px solid var(--r2r-line);border-radius:6px;margin:2px;display:inline-block}.r2r-pagination .current{background:var(--r2r-forest);color:#fff}.r2r-footer{background:#1c1c1e;color:#b8c3b9;padding:66px 0 0}.r2r-footer-grid{display:grid;grid-template-columns:minmax(250px,1.8fr) repeat(3,minmax(120px,1fr));gap:40px;padding-bottom:44px}.r2r-footer .r2r-logo{font-size:26px}.r2r-footer h3{font:700 13px var(--r2r-sans);text-transform:uppercase;letter-spacing:.09em;color:#fff;margin:3px 0 19px}.r2r-footer p{font-size:14px;max-width:345px;color:#bdc6bf}.r2r-footer ul{list-style:none;margin:0;padding:0}.r2r-footer li{margin-bottom:10px}.r2r-footer li a{font-size:14px;color:#bbc6be;text-decoration:none}.r2r-footer li a:hover{color:var(--r2r-gold-mid)}.r2r-footer-bottom{border-top:1px solid #ffffff20;padding:22px 0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:#97a49a}.r2r-footer-bottom a{color:#b8c6bc}.r2r-wa{position:fixed;bottom:22px;right:22px;width:54px;height:54px;background:#25D366;color:#fff!important;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;text-decoration:none;z-index:970;box-shadow:0 5px 20px #0002}.r2r-woocommerce{padding:55px 0 85px}.woocommerce .button,.woocommerce a.button,.woocommerce button.button{background:var(--r2r-forest);color:#fff;border-radius:7px}.woocommerce .button:hover{background:var(--r2r-green);color:#fff}
@media(max-width:1000px){.r2r-nav-list{display:none}.r2r-mobile-toggle{display:inline-flex}.r2r-header-cta.desktop{display:none}.r2r-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r2r-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.admin-bar .r2r-site-header{top:46px}}
@media(max-width:620px){.r2r-header-inner{padding:0 18px;min-height:64px}.r2r-logo img{max-height:40px}.r2r-post-grid,.r2r-footer-grid{grid-template-columns:1fr}.r2r-page-wrap{padding:45px 0 60px}.r2r-wrap{width:min(100% - 36px,1200px)}.r2r-footer{padding-top:46px}.r2r-footer-bottom{flex-direction:column}.r2r-post-card img{height:190px}}

/* v1.1: full-width unified global navigation on ALL templates. */
.r2r-site-header,.r2r-announcement{width:100%;max-width:none}
.r2r-header-inner{width:100%;max-width:none;padding-left:clamp(20px,3.4vw,72px);padding-right:clamp(20px,3.4vw,72px);min-height:72px}
.r2r-logo img{max-height:52px;max-width:210px}
.r2r-nav-list{gap:clamp(2px,.45vw,11px)}
.r2r-nav-list a{font-size:clamp(12px,.9vw,14px);padding:10px clamp(7px,.75vw,14px)}
@media(max-width:1180px){.r2r-header-inner{gap:12px}.r2r-nav-list a{padding:9px 7px;font-size:12px}}
@media(max-width:980px){.r2r-header-inner{padding:0 20px}.r2r-logo img{max-height:42px}}
/* Restored legacy sections — avoid Elementor container paddings/margins */
.r2r-fullwidth-entry,.r2r-page-content{width:100%;max-width:none;min-width:0}
.r2rw-legacy-page{--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif;--gold:#B8860B;--gold-mid:#E8C56A;--forest:#1A3D2B;--forest-mid:#2C5F45;--forest-light:#3E7D5E;--forest-pale:#EBF4EE;--charcoal:#1C1C1E;--warm-gray:#6B6B6B;--light-gray:#F5F4F0;--border:#E2DDD5;--white:#FEFEFE}
.r2rw-legacy-page a{text-decoration:none}
.r2rw-legacy-page-book .r2rw-book-feature{margin-top:42px;max-width:900px;margin-left:auto;margin-right:auto}
.r2rw-legacy-page-book .r2rw-main-book-product{display:grid;grid-template-columns:minmax(170px,260px) minmax(0,1fr);align-items:center;gap:32px;max-width:850px;padding:26px;border:1px solid #B8860B70;border-radius:16px;background:#ffffff08;color:#fff;text-align:left}
.r2rw-legacy-page-book .r2rw-main-book-product h3{color:#fff;font-size:25px;margin:0 0 12px}
.r2rw-legacy-page-book .r2rw-main-book-product p{color:#ddd;line-height:1.6}
.r2rw-legacy-page-book .r2rw-main-book-product .r2rw-main-book-price{font-size:24px;color:#E8C56A;font-weight:700;margin:16px 0}
.r2rw-legacy-page-book .r2rw-main-book-product .r2rw-main-book-cover{width:100%;max-height:335px;object-fit:contain}
.r2rw-legacy-page-book .r2rw-main-book-product .r2rw-button{display:inline-block;background:#B8860B;color:#fff;padding:14px 20px;border-radius:8px}
.r2rw-legacy-page-book .r2rw-muted{color:#ddd;text-align:center}
.r2rw-legacy-page-learn .r2rw-legacy-resources{margin-top:35px}
.r2rw-legacy-page-learn .r2rw-legacy-resources .r2rw-core{background:transparent}
.r2rw-legacy-page-learn .r2rw-legacy-resources .r2rw-resource-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:950px){.r2rw-legacy-page-learn .r2rw-legacy-resources .r2rw-resource-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.r2rw-legacy-page-learn .r2rw-legacy-resources .r2rw-resource-list{grid-template-columns:1fr}.r2rw-legacy-page-book .r2rw-main-book-product{grid-template-columns:1fr;text-align:center}.r2rw-legacy-page-book .r2rw-main-book-product .r2rw-main-book-cover{max-width:210px;margin:auto}}

.r2rw-legacy-page-book .r2rw-main-cover-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;perspective:800px}
.r2rw-legacy-page-book .r2rw-main-cover-image{display:block;max-height:390px;width:auto;object-fit:contain;filter:drop-shadow(15px 16px 27px #0007);transform:perspective(800px) rotateY(-8deg)}
.r2rw-legacy-page-learn .cat-card{text-decoration:none;display:block;color:inherit}
.r2rw-legacy-page-learn .cat-card:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
