/* Rentibles theme: pages WordPress serves outside the marketplace screens. */
body.rentibles-theme { margin: 0; background: #FAF6F0; color: #0F0F0F; font-family: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif; }
.rentibles.rb-theme { width: 100%; }
.rentibles .rbt-main { padding-top: 36px; padding-bottom: 72px; }

/* Article (posts and plain pages). */
.rentibles .rbt-article { max-width: 780px; margin: 0 auto; }
.rentibles .rbt-article-head { margin-bottom: 26px; }
.rentibles .rbt-article-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; margin: 8px 0 0; }
.rentibles .rbt-cover { margin: 0 0 30px; border: 3px solid var(--ink, #0F0F0F); box-shadow: 8px 8px 0 0 var(--ink, #0F0F0F); overflow: hidden; }
.rentibles .rbt-cover img { display: block; width: 100%; height: auto; }
.rentibles .rbt-prose { font-size: 18px; line-height: 1.7; }
.rentibles .rbt-prose > * + * { margin-top: 1.1em; }
.rentibles .rbt-prose h2 { font-family: 'Archivo Black', Impact, sans-serif; text-transform: uppercase; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin-top: 1.8em; }
.rentibles .rbt-prose h3 { font-family: 'Archivo Black', Impact, sans-serif; text-transform: uppercase; font-size: 21px; margin-top: 1.5em; }
.rentibles .rbt-prose h4, .rentibles .rbt-prose h5 { font-family: 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.rentibles .rbt-prose a { color: var(--ink, #0F0F0F); text-decoration: underline; text-decoration-color: var(--orange, #FF5A1F); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.rentibles .rbt-prose a:hover { background: var(--orange, #FF5A1F); }
.rentibles .rbt-prose ul, .rentibles .rbt-prose ol { padding-left: 1.3em; }
.rentibles .rbt-prose li + li { margin-top: .4em; }
.rentibles .rbt-prose ul li::marker { color: var(--orange, #FF5A1F); }
.rentibles .rbt-prose blockquote { margin-left: 0; padding: 18px 22px; border-left: 10px solid var(--orange, #FF5A1F); background: #fff; border-top: 2px solid var(--ink, #0F0F0F); border-right: 2px solid var(--ink, #0F0F0F); border-bottom: 2px solid var(--ink, #0F0F0F); font-size: 20px; }
.rentibles .rbt-prose blockquote cite { display: block; margin-top: 8px; font-family: 'Space Mono', monospace; font-size: 12px; font-style: normal; text-transform: uppercase; }
.rentibles .rbt-prose img, .rentibles .rbt-prose video { max-width: 100%; height: auto; }
.rentibles .rbt-prose figure { margin-left: 0; margin-right: 0; }
.rentibles .rbt-prose figure img { border: 2px solid var(--ink, #0F0F0F); }
.rentibles .rbt-prose figcaption { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--gray, #6B6B6B); margin-top: 6px; }
.rentibles .rbt-prose code { font-family: 'Space Mono', monospace; font-size: .88em; background: var(--cream-dark, #EFE8DD); padding: 1px 5px; }
.rentibles .rbt-prose pre { background: var(--ink, #0F0F0F); color: var(--cream, #FAF6F0); padding: 18px; overflow-x: auto; font-size: 14px; }
.rentibles .rbt-prose pre code { background: none; padding: 0; color: inherit; }
.rentibles .rbt-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.rentibles .rbt-prose th, .rentibles .rbt-prose td { border: 2px solid var(--ink, #0F0F0F); padding: 8px 12px; text-align: left; }
.rentibles .rbt-prose th { background: var(--cream-dark, #EFE8DD); font-family: 'Space Mono', monospace; text-transform: uppercase; font-size: 12px; }
.rentibles .rbt-prose hr { border: 0; border-top: 3px solid var(--ink, #0F0F0F); margin: 2em 0; }
.rentibles .rbt-prose .wp-block-button__link, .rentibles .rbt-prose .wp-element-button { display: inline-block; background: var(--orange, #FF5A1F); color: var(--ink, #0F0F0F); border: 2px solid var(--ink, #0F0F0F); box-shadow: 4px 4px 0 0 var(--ink, #0F0F0F); border-radius: 0; padding: 12px 22px; font-family: 'Archivo Black', Impact, sans-serif; text-transform: uppercase; font-size: 14px; text-decoration: none; }
.rentibles .rbt-prose .alignwide { margin-left: calc(-1 * min(12vw, 120px)); margin-right: calc(-1 * min(12vw, 120px)); }
.rentibles .rbt-prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.rentibles .rbt-article-foot { margin-top: 44px; padding-top: 20px; border-top: 3px solid var(--ink, #0F0F0F); }
.rentibles .rbt-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border: 2px solid var(--ink, #0F0F0F); font-family: 'Space Mono', monospace; font-size: 12px; text-transform: uppercase; text-decoration: none; color: var(--ink, #0F0F0F); }
.rentibles .rbt-prevnext { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-family: 'Archivo Black', Impact, sans-serif; text-transform: uppercase; font-size: 13px; }
.rentibles .rbt-prevnext a { text-decoration: none; }
.rentibles .rbt-next { margin-left: auto; text-align: right; }
.rentibles .rbt-comments { margin-top: 48px; }

/* Lists: blog, archives, search. */
.rentibles .rbt-list-head { max-width: 860px; margin: 0 0 30px; }
.rentibles .rbt-list-head h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 14px; }
.rentibles .rbt-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.rentibles .rbt-postcard { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink, #0F0F0F); box-shadow: 5px 5px 0 0 var(--ink, #0F0F0F); text-decoration: none; color: var(--ink, #0F0F0F); transition: transform .15s, box-shadow .15s; }
.rentibles .rbt-postcard:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 0 var(--ink, #0F0F0F); color: var(--ink, #0F0F0F); }
.rentibles .rbt-postcard-img { aspect-ratio: 16 / 10; border-bottom: 2px solid var(--ink, #0F0F0F); background-color: var(--orange, #FF5A1F); background-image: radial-gradient(rgba(15,15,15,.18) 1.4px, transparent 1.7px); background-size: 16px 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rentibles .rbt-postcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.rentibles .rbt-postcard:hover .rbt-postcard-img img { transform: scale(1.05); }
.rentibles .rbt-postcard-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.rentibles .rbt-postcard-title { font-family: 'Archivo Black', Impact, sans-serif; text-transform: uppercase; font-size: 19px; line-height: 1.15; }
.rentibles .rbt-postcard-body .rb-muted { flex: 1; }
.rentibles .rbt-postcard-go { font-family: 'Space Mono', monospace; font-weight: 700; text-transform: uppercase; font-size: 12px; }
.rentibles .rbt-paging { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.rentibles .rbt-paging .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 2px solid var(--ink, #0F0F0F); background: #fff; text-decoration: none; font-family: 'Archivo Black', Impact, sans-serif; color: var(--ink, #0F0F0F); }
.rentibles .rbt-paging .current { background: var(--orange, #FF5A1F); }
.rentibles .rbt-search { display: flex; gap: 10px; max-width: 620px; margin: 6px 0 4px; }
.rentibles .rbt-search input { flex: 1; min-width: 0; height: 48px; border: 2px solid var(--ink, #0F0F0F); padding: 0 14px; font-size: 16px; background: #fff; }
.rentibles .rbt-search .btn-primary { height: 48px; }
.rentibles .rbt-results { display: grid; gap: 14px; }
.rentibles .rbt-result { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; text-decoration: none; color: var(--ink, #0F0F0F); border-left: 10px solid var(--orange, #FF5A1F); }
.rentibles .rbt-result-title { font-family: 'Archivo Black', Impact, sans-serif; text-transform: uppercase; font-size: 18px; }

/* 404. */
.rentibles .rbt-404 { position: relative; text-align: center; max-width: 760px; margin: 10px auto 0; padding: 20px 0 10px; }
.rentibles .rbt-404-num { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(120px, 24vw, 260px); line-height: .9; color: var(--orange, #FF5A1F); -webkit-text-stroke: 4px var(--ink, #0F0F0F); text-shadow: 10px 10px 0 var(--ink, #0F0F0F); letter-spacing: -0.02em; animation: rbt-bob 4.5s ease-in-out infinite; }
@keyframes rbt-bob { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(1.5deg) translateY(-6px); } }
.rentibles .rbt-404 h1 { font-size: clamp(28px, 4.4vw, 46px); margin: 10px 0 10px; }
.rentibles .rbt-404 .rbt-search { margin: 18px auto 18px; }
.rentibles .rbt-404 .rb-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .rentibles .rbt-404-num { animation: none; } }

/* Without the Rentibles plugin: a simple header and footer. */
.rbt-fallback-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; border-bottom: 3px solid #0F0F0F; }
.rbt-fallback-logo { font-family: 'Archivo Black', Impact, sans-serif; font-size: 28px; text-transform: uppercase; color: #FF5A1F; text-decoration: none; text-shadow: 2px 2px 0 #0F0F0F; }
.rbt-fallback-head nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.rbt-fallback-head nav a { color: #0F0F0F; text-decoration: none; font-family: 'Archivo Black', Impact, sans-serif; text-transform: uppercase; font-size: 13px; }
.rbt-fallback-foot { padding: 30px 24px; background: #0F0F0F; color: #FAF6F0; text-align: center; }
.rentibles.rb-theme > .container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .rentibles .rbt-search { flex-direction: column; } .rentibles .rbt-prose { font-size: 17px; } }
